1. 08 Jun, 2010 1 commit
  2. 18 May, 2010 1 commit
    • Eli Zaretskii's avatar
      Initial reimplementation of calculating line edge positions in bidi lines. · d36fe237
      Eli Zaretskii authored
       dispextern.h (struct glyph_row): New members minpos and maxpos.
       (MATRIX_ROW_START_CHARPOS, MATRIX_ROW_START_BYTEPOS)
       (MATRIX_ROW_END_CHARPOS, MATRIX_ROW_END_BYTEPOS): Reference minpos
       and maxpos members instead of start.pos and end.pos, respectively.
       xdisp.c (display_line): Compare IT_CHARPOS with the position in
       row->start.pos, rather than with MATRIX_ROW_START_CHARPOS.
       (cursor_row_p): Use row->end.pos rather than MATRIX_ROW_END_CHARPOS.
       (try_window_reusing_current_matrix, try_window_id): Use
       ROW->minpos rather than ROW->start.pos.
       (init_from_display_pos, init_iterator): Use EMACS_INT for
       character and byte positions.
       (find_row_edges): Renamed from find_row_end.  Accept additional
       arguments for minimum and maximum buffer positions seen by
       display_line for this row.  Don't use iterator to find the
       position following the maximum one; instead, increment the
       position found by display_line directly.
       (display_line): Record minimum and maximum buffer positions for
       glyphs in this row.  Record the position of the newline that
       terminates the line.
       dispnew.c (increment_row_positions, check_matrix_invariants):
       Increment and check row->start.pos and row->end.pos, in addition
       to MATRIX_ROW_START_CHARPOS and MATRIX_ROW_END_CHARPOS.
      d36fe237
  3. 10 Apr, 2010 1 commit
    • Eli Zaretskii's avatar
      Implement cursor on the left fringe for R2L lines. · f951a506
      Eli Zaretskii authored
       xdisp.c (IT_OVERFLOW_NEWLINE_INTO_FRINGE): For R2L lines,
       consider the left fringe, not the right one.
       (set_cursor_from_row): Don't reverse pos_before and pos_after for
       reversed glyph rows.  Set cursor.x to negative value when the
       cursor might be on the left fringe.
       (extend_face_to_end_of_line): Append the stretch glyph only if its
       width is positive.
       (notice_overwritten_cursor, draw_phys_cursor_glyph)
       (erase_phys_cursor): For reversed cursor_row, support cursor on
       the left fringe.
       w32term.c (w32_draw_window_cursor): For reversed glyph rows,
       draw cursor on the left fringe.
       xterm.c (x_draw_window_cursor): For reversed glyph rows, draw
       cursor on the left fringe.
       fringe.c (draw_fringe_bitmap): For reversed glyph rows, allow
       cursor on the left fringe.
       dispnew.c (update_text_area): Handle reversed desired rows when
       the cursor is on the left fringe.
       (set_window_cursor_after_update): Limit cursor's hpos by -1 from
       below, not by 0, for when the cursor is on the left fringe.
      f951a506
  4. 02 Apr, 2010 1 commit
    • Dan Nicolaescu's avatar
      Remove extern errno declarations. · 42a2c622
      Dan Nicolaescu authored
      * xterm.c:
      * xrdb.c:
      * w32term.c:
      * unexec.c:
      * unexaix.c:
      * sysdep.c:
      * process.c:
      * lread.c:
      * keyboard.c:
      * floatfns.c:
      * filelock.c:
      * fileio.c:
      * emacs.c (main):
      * ecrt0.c:
      * dispnew.c:
      * callproc.c:
      * buffer.c: Remove errno extern declarations.
      * s/netbsd.h (NEED_ERRNO): Remove.
      
      * movemail.c:
      * etags.c:
      * emacsclient.c: Remove extern errno declarations.
      42a2c622
  5. 31 Mar, 2010 1 commit
    • Stefan Monnier's avatar
      Get rid of the direct_output optimizations. · 855a0da7
      Stefan Monnier authored
      * keyboard.c (nonundocount): Remove extern declaration.
      (command_loop_1): Remove brittle optimisation for cheap and common operations.
      * xdisp.c (redisplay_internal): Don't bother checking
      redisplay_performed_directly_p any more.
      * sysdep.c (init_sys_modes): Don't call direct_output_forward_char any more.
      * dispnew.c (redisplay_performed_directly_p)
      (direct_output_for_insert, direct_output_forward_char):
      * dispextern.h (redisplay_performed_directly_p)
      (direct_output_for_insert, direct_output_forward_char): Remove.
      * cmds.c (nonundocount): Make it static.
      855a0da7
  6. 20 Feb, 2010 1 commit
    • Eli Zaretskii's avatar
      Continue work on continuation lines. · 918f4159
      Eli Zaretskii authored
       xdisp.c (set_cursor_from_row): Compare candidate cursor
       positions only in rows whose buffer positions occlude point.
       (display_line): Fix computation of row->start and row->end for
       empty lines.
       dispnew.c (row_equal_p): Compare the reversed_p attributes as well.
      918f4159
  7. 25 Jan, 2010 1 commit
    • Eli Zaretskii's avatar
      Finish and debug display of invisible text. · 5009f85e
      Eli Zaretskii authored
       xdisp.c (handle_invisible_prop): If we are `reseat'ed, init the
       paragraph direction and set the `reversed_p' flag in the IT's
       glyph row.  Fix exit conditions of the loop that skips invisible
       text.  Update IT->prev_stop after skipping invisible text.  Check
       for additional overlays at IT->stop_charpos, not at start_pos.
      
      Clean up the mess with setting the glyph row reversed_p flag.
       dispnew.c (prepare_desired_row): Preserve the reversed_p flag.
      
       bidi.c (bidi_cache_find): Use bidi_copy_it instead of copying
       the whole struct (which includes uninitialized parts).
       (bidi_init_it): Don't initialize bidi_it->paragraph_dir.
      
       xdisp.c (display_line): Remove misplaced setting of
       row->reversed_p flags.  Copy the reversed_p flag to the next glyph
       row.
       (next_element_from_buffer): Check bidi_it.paragraph_dir rather
       than level_stack[0].level.  Reset the reversed_p flag for non-R2L
       paragraphs.
      5009f85e
  8. 13 Jan, 2010 1 commit
  9. 08 Jan, 2010 1 commit
  10. 01 Jan, 2010 1 commit
  11. 31 Dec, 2009 4 commits
    • Eli Zaretskii's avatar
      Retrospective commit from 2009-09-12. · d8300a8a
      Eli Zaretskii authored
      Undo changes from 2009-09-11.  Set row->end and row->start in
      xdisp.c:display_line.
      
       dispnew.c (direct_output_for_insert): Give up if we are
       reordering bidirectional text.
       dispextern.h (IT_STACK_SIZE): Enlarge to 5.
       xdisp.c (display_line): Set row->end and it->start for the next
       row to the next character in logical order.  If we are reordering
       bidi text, push and pop the iterator before and after momentarily
       iterating in logical order.
      d8300a8a
    • Eli Zaretskii's avatar
      Retrospective commit from 2009-08-12. · 90fcfd71
      Eli Zaretskii authored
      An (unsuccessful) attempt to solve the issue with row->start and row->end.
      
       xdisp.c (set_iterator_to_next, reseat, reseat_1)
       (reseat_at_next_visible_line_start): Accept additional argument
       force_logical_p; all callers changed.  If force_logical_p is
       non-zero, force iteration in buffer's logical order even in bidi
       buffers.
       dispnew.c (direct_output_for_insert): Call set_iterator_to_next
       with additional argument zero.
       dispextern.h (set_iterator_to_next): Now accepts an additional
       argument.
      90fcfd71
    • Eli Zaretskii's avatar
      Retrospective commit from 2009-08-15. · f44e260c
      Eli Zaretskii authored
      Start of work on bidi Emacs 23/24.
      
       bidi.c (bidi_initialize): Fix initialization of bidi_type_table.
      
       xdisp.c (set_iterator_to_next): Fix position setting after call
       to bidi_get_next_char_visually.
      
       bidi.c: Include stdio.h unconditionally.  Fix and elaborate
       commentary.  Add Copyright blurb.
      f44e260c
    • Eli Zaretskii's avatar
      Retrospective commit. · b7b65b15
      Eli Zaretskii authored
      These are the original changes made by Kenichi Handa on the old
      pre Emacs 22 emacs-bidi branch.
      b7b65b15
  12. 06 Nov, 2009 1 commit
    • Dan Nicolaescu's avatar
      * xterm.c (syms_of_xterm): · d67b4f80
      Dan Nicolaescu authored
      * xselect.c (syms_of_xselect):
      * xmenu.c (syms_of_xmenu):
      * xfns.c (syms_of_xfns):
      * xfaces.c (syms_of_xfaces):
      * xdisp.c (syms_of_xdisp):
      * window.c (syms_of_window):
      * w32fns.c (syms_of_w32fns):
      * undo.c (syms_of_undo):
      * textprop.c (syms_of_textprop):
      * terminal.c (syms_of_terminal):
      * syntax.c (syms_of_syntax):
      * sound.c (syms_of_sound):
      * search.c (syms_of_search):
      * print.c (syms_of_print):
      * minibuf.c (syms_of_minibuf):
      * macros.c (syms_of_macros):
      * keymap.c (syms_of_keymap, initial_define_key)
      (initial_define_lispy_key):
      * keyboard.c (syms_of_keyboard):
      * insdel.c (syms_of_insdel):
      * image.c (syms_of_image):
      * fringe.c (syms_of_fringe):
      * frame.c (syms_of_frame):
      * fontset.c (syms_of_fontset):
      * fns.c (syms_of_fns):
      * fns.c (syms_of_fns):
      * fileio.c (syms_of_fileio):
      * fileio.c (syms_of_fileio):
      * eval.c (syms_of_eval):
      * doc.c (syms_of_doc):
      * dispnew.c (syms_of_display):
      * dired.c (syms_of_dired):
      * dbusbind.c (syms_of_dbusbind):
      * data.c (syms_of_data):
      * composite.c (syms_of_composite):
      * coding.c (syms_of_coding):
      * cmds.c (syms_of_cmds):
      * charset.c (define_charset_internal, syms_of_character):
      * ccl.c (syms_of_ccl):
      * category.c (syms_of_category, init_category_once):
      * casetab.c (syms_of_casetab):
      * casefiddle.c (syms_of_casefiddle):
      * callint.c (syms_of_callint):
      * bytecode.c (syms_of_bytecode):
      * buffer.c (keys_of_buffer, syms_of_buffer):
      * alloc.c (syms_of_alloc):
      * process.c (syms_of_process, init_process):
      * lread.c (syms_of_lread, init_obarray):
      * font.c (build_style_table):
      * emacs.c (syms_of_emacs, main): Replace calls to intern with
      intern_c_string, calls to make_pure_string with
      make_pure_c_string.  Use pure_cons instead of Fcons.
      
      * process.c (socket_options): Make it const.
      (set_socket_option, init_process): Use a const pointer.
      
      * lread.c (intern_c_string): New function.
      (defvar_kboard, defvar_lisp, defvar_lisp_nopro, defvar_bool)
      (defvar_int): Uset it.  Make the name const char*.
      
      * font.c (struct table_entry): Remove unused member.  Make NAMES
      constant.
      (weight_table, slant_table, width_table): Make constant.
      
      * emacs.c (struct standard_args): Make name and longname constant.
      d67b4f80
  13. 19 Oct, 2009 1 commit
    • Dan Nicolaescu's avatar
      * alloc.c: Do not define struct catchtag. · d7306fe6
      Dan Nicolaescu authored
      * eval.c: Move struct catchtag definition ...
      * lisp.h: ... here.
      
      * image.c: Move png.h #include earlier to avoid warnings.
      
      * xterm.c:
      * xsmfns.c:
      * xselect.c:
      * xrdb.c:
      * xmenu.c:
      * xftfont.c:
      * xfont.c:
      * xfns.c:
      * xfaces.c:
      * xdisp.c:
      * window.c:
      * widget.c:
      * w32xfns.c:
      * w32uniscribe.c:
      * w32term.c:
      * w32select.c:
      * w32reg.c:
      * w32proc.c:
      * w32menu.c:
      * w32inevt.c:
      * w32heap.c:
      * w32font.c:
      * w32fns.c:
      * w32console.c:
      * w32.c:
      * w16select.c:
      * vm-limit.c:
      * unexsol.c:
      * unexec.c:
      * unexcw.c:
      * unexaix.c:
      * undo.c:
      * tparam.c:
      * textprop.c:
      * terminfo.c:
      * terminal.c:
      * termcap.c:
      * term.c:
      * syntax.c:
      * sound.c:
      * sheap.c:
      * search.c:
      * scroll.c:
      * region-cache.c:
      * regex.c:
      * ralloc.c:
      * process.c:
      * print.c:
      * msdos.c:
      * minibuf.c:
      * menu.c:
      * marker.c:
      * macros.c:
      * keymap.c:
      * keyboard.c:
      * intervals.c:
      * insdel.c:
      * indent.c:
      * gtkutil.c:
      * ftxfont.c:
      * ftfont.c:
      * fringe.c:
      * frame.c:
      * fontset.c:
      * font.c:
      * fns.c:
      * floatfns.c:
      * filelock.c:
      * fileio.c:
      * emacs.c:
      * editfns.c:
      * dosfns.c:
      * doprnt.c:
      * doc.c:
      * dispnew.c:
      * dired.c:
      * dbusbind.c:
      * data.c:
      * composite.c:
      * coding.c:
      * cmds.c:
      * cm.c:
      * chartab.c:
      * charset.c:
      * character.c:
      * ccl.c:
      * category.c:
      * casetab.c:
      * casefiddle.c:
      * callproc.c:
      * callint.c:
      * bytecode.c:
      * buffer.c:
      * atimer.c: Include setjmp.h.  (Bug#4643)
      
      * xlwmenu.c:
      * lwlib.c:
      * lwlib-utils.c:
      * lwlib-Xm.c:
      * lwlib-Xlw.c:
      * lwlib-Xaw.c: Include setjmp.h.
      d7306fe6
  14. 11 Sep, 2009 1 commit
  15. 03 Sep, 2009 1 commit
  16. 26 Jul, 2009 1 commit
  17. 22 Apr, 2009 1 commit
    • Chong Yidong's avatar
      * keyboard.c (Fset_input_meta_mode): Doc fix. · 708e05dc
      Chong Yidong authored
      * dispnew.c (Fsend_string_to_terminal): Doc fix.
      
      * data.c (Fterminal_local_value, Fset_terminal_local_value): Doc
      fixes.
      
      * coding.c (Fterminal_coding_system): Doc fix.
      
      * xfns.c (Fx_display_grayscale_p, Fx_display_pixel_width)
      (Fx_display_pixel_height, Fx_display_planes)
      (Fx_display_color_cells, Fx_server_max_request_size)
      (Fx_server_vendor, Fx_server_version, Fx_display_screens)
      (Fx_display_mm_height, Fx_display_mm_width)
      (Fx_display_backing_store, Fx_display_visual_class)
      (Fx_display_save_under, Fx_close_connection, Fx_synchronize): Doc
      fixes, replacing "terminal id" with "terminal object".
      (check_x_display_info): Handle terminal objects instead of
      terminal ids.
      708e05dc
  18. 08 Apr, 2009 1 commit
  19. 30 Jan, 2009 1 commit
  20. 25 Jan, 2009 1 commit
  21. 08 Jan, 2009 1 commit
  22. 28 Oct, 2008 1 commit
  23. 09 Oct, 2008 1 commit
  24. 04 Oct, 2008 2 commits
  25. 30 Sep, 2008 1 commit
  26. 28 Sep, 2008 1 commit
  27. 24 Sep, 2008 1 commit
  28. 30 Aug, 2008 1 commit
  29. 23 Aug, 2008 1 commit
  30. 31 Jul, 2008 1 commit
    • Dan Nicolaescu's avatar
      * bitmaps/README: · 7c2fb837
      Dan Nicolaescu authored
      * xfns.c:
      * termcap.c:
      * term.c:
      * syswait.h:
      * systty.h:
      * systime.h:
      * syssignal.h:
      * sysdep.c:
      * process.h:
      * process.c:
      * print.c:
      * ndir.h:
      * lread.c:
      * keyboard.c:
      * getpagesize.h:
      * floatfns.c:
      * fileio.c:
      * emacs.c:
      * doc.c:
      * dispnew.c:
      * dired.c:
      * data.c:
      * callproc.c:
      * buffer.c:
      * README:
      * Makefile.in:
      * s/template.h:
      * s/msdos.h:
      * m/vax.h: Remove VMS support.
      * s/vms.h:
      * vlimit.h:
      * uaf.h:
      * temacs.opt:
      * param.h:
      * ioctl.h: Remove file.
      
      * descrip.mms:
      * compile.com: Remove file.
      * Create.c: Remove VMS support.
      
      * message.el (Module):
      
      * gnus-start.el (Module):
      
      * gnus-registry.el (Module):
      
      * textmodes/texinfmt.el:
      * nxml/nxml-enc.el:
      * mail/feedmail.el:
      * international/mule.el:
      * international/latexenc.el:
      * emulation/viper-util.el:
      * emulation/viper-init.el:
      * emulation/viper-ex.el:
      * emacs-lisp/bytecomp.el:
      * version.el:
      * subr.el:
      * startup.el:
      * sort.el:
      * shadowfile.el:
      * recentf.el:
      * printing.el:
      * paths.el:
      * minibuffer.el:
      * ls-lisp.el:
      * loadup.el:
      * hippie-exp.el:
      * finder.el:
      * files.el:
      * ediff-util.el:
      * ediff-ptch.el:
      * ediff-init.el:
      * ediff-diff.el:
      * dired.el:
      * dired-aux.el:
      * cus-edit.el:
      * bindings.el:
      * arc-mode.el:
      * add-log.el: Remove VMS support.
      * obsolete/vmsproc.el:
      * obsolete/vms-pmail.el:
      * obsolete/vms-patch.el: Remove file.
      
      * etags.c:
      * emacsclient.c: Remove VMS support.
      
      * termcap.src: Remove file.
      * README:
      * PROBLEMS:
      * MACHINES: Remove VMS info.
      
      * ediff.texi: Remove VMS support.
      
      * os.texi:
      * intro.texi:
      * files.texi: Remove VMS support.
      
      * emacs.texi: Remove VMS support.
      
      * make-dist:
      * README: Remove VMS support.
      * vms: Remove directory.
      7c2fb837
  31. 27 Jul, 2008 1 commit
    • Dan Nicolaescu's avatar
      Remove support for Mac Carbon. · 9e2a2647
      Dan Nicolaescu authored
      * mactoolbox.c:
      * macterm.h:
      * macterm.c:
      * macselect.c:
      * macmenu.c:
      * macgui.h:
      * macfns.c:
      * mac.c: Remove file.
      * s/darwin.h:
      * m/intel386.h:
      * xfaces.c:
      * xdisp.c:
      * window.c:
      * tparam.c:
      * termhooks.h:
      * termcap.c:
      * term.c:
      * syssignal.h:
      * sysselect.h:
      * sysdep.c:
      * process.c:
      * lread.c:
      * lisp.h:
      * keyboard.c:
      * image.c:
      * fringe.c:
      * frame.h:
      * frame.c:
      * fontset.c:
      * font.h:
      * font.c:
      * fns.c:
      * fileio.c:
      * emacs.c:
      * dispnew.c:
      * dispextern.h:
      * config.in:
      * atimer.c:
      * Makefile.in: Remove code for Carbon
      
      * erc.el: Remove code for Carbon.
      
      Remove support for Mac Carbon.
      * term/mac-win.el: Remove file
      * international/mule-cmds.el:
      * version.el:
      * startup.el:
      * simple.el:
      * mwheel.el:
      * mouse.el:
      * loadup.el:
      * isearch.el:
      * info.el:
      * frame.el:
      * faces.el:
      * disp-table.el:
      * cus-start.el:
      * cus-face.el:
      * cus-edit.el:
      * Makefile.in: Remove code for Carbon.
      
      Remove support for Mac Carbon.
      * makefile.w32-in:
      * emacsclient.c: Remove code for Carbon.
      
      * PROBLEMS:
      * MACHINES: Remove mentions of Mac Carbon.
      
      * ns-emacs.texi:
      * faq.texi: Remove mentions of Mac Carbon.
      
      * os.texi:
      * frames.texi:
      * display.texi: Remove mentions of Mac Carbon.
      
      * xresources.texi: Remove mentions of Mac Carbon.
      
      * make-tarball.txt:
      * admin.el:
      * FOR-RELEASE:
      * CPP-DEFINES: Remove mentions of Mac Carbon.
      
      Remove support for Mac Carbon.
      * mac: Remove directory.
      * make-dist:
      * configure.in:
      * README:
      * Makefile.in:
      * INSTALL:  Remove code for Carbon.
      * configure: Regenerate.
      9e2a2647
  32. 22 Jul, 2008 1 commit
  33. 15 Jul, 2008 1 commit
  34. 24 Jun, 2008 1 commit
  35. 07 Jun, 2008 1 commit
  36. 05 Jun, 2008 1 commit
    • Stefan Monnier's avatar
      * window.el (display-buffer-function, special-display-p) · 87478b52
      Stefan Monnier authored
      (special-display-buffer-names, special-display-regexps)
      (special-display-function, same-window-p, same-window-buffer-names)
      (same-window-regexps, pop-up-frames, display-buffer-reuse-frames)
      (pop-up-frame-function, pop-up-windows)
      (split-window-preferred-function, split-height-threshold)
      (split-width-threshold, window--splittable-p)
      (window--try-to-split-window, window--frame-usable-p)
      (even-window-heights, window--even-window-heights)
      (window--display-buffer-1, window--display-buffer-2, display-buffer)
      (pop-to-buffer): Move from window.c and buffer.c.
      (split-window-preferred-horizontally): Remove.
      * cus-start.el: Remove corresponding declarations.
      
      * window.c (pop_up_windows, pop_up_frames)
      (display_buffer_reuse_frames, Vpop_up_frame_function)
      (Vdisplay_buffer_function, Veven_window_heights)
      (Vspecial_display_buffer_names, Vspecial_display_regexps)
      (Vspecial_display_function, Vsame_window_buffer_names)
      (Vsame_window_regexps, split_height_threshold)
      (Vsplit_window_preferred_function): Move those vars to window.el.
      (display_buffer_1, Fspecial_display_p, Fsame_window_p)
      (Fdisplay_buffer): Move those functions to window.el.
      (syms_of_window): Remove corresponding declarations.
      (display_buffer): New function.
      (temp_output_buffer_show, Fother_window_for_scrolling): Use it.
      * dispnew.c (Flast_nonminibuf_frame): New function.
      * buffer.c (Fpop_to_buffer): Move to window.el.
      87478b52