1. 21 Jun, 2012 1 commit
  2. 11 Jun, 2012 1 commit
  3. 01 Jun, 2012 1 commit
  4. 30 May, 2012 2 commits
  5. 29 May, 2012 1 commit
  6. 28 May, 2012 1 commit
    • Eli Zaretskii's avatar
      Avoid buffer text relocations in calls to STRING_CHAR_* macros. · 291d430f
      Eli Zaretskii authored
       src/charset.c (maybe_unify_char): Inhibit relocation of buffer text
       for the duration of call to load_charset, to avoid problems with
       callers of maybe_unify_char that access buffer text through C
       pointers.
       src/ralloc.c (r_alloc_inhibit_buffer_relocation): Increment and
       decrement the inhibition flag, instead of just setting or
       resetting it.
      
      Fixes: debbugs:11519
      291d430f
  7. 24 May, 2012 1 commit
  8. 23 May, 2012 1 commit
    • Eli Zaretskii's avatar
      Fix bug #11519 with relocation of buffer text during regex search. · 52c55cc7
      Eli Zaretskii authored
       src/lisp.h [REL_ALLOC]: Add prototypes for external functions
       defined on ralloc.c.
       src/buffer.c [REL_ALLOC]: Remove prototypes of
       r_alloc_reset_variable, r_alloc, r_re_alloc, and r_alloc_free,
       they are now on lisp.h.
       src/ralloc.c (r_alloc_inhibit_buffer_relocation): New function.
       src/search.c (search_buffer): Use it to inhibit relocation of buffer
       text while re_search_2 is doing its job, because re_search_2 is
       passed C pointers to buffer text.
      52c55cc7
  9. 21 May, 2012 1 commit
  10. 19 May, 2012 1 commit
    • Eli Zaretskii's avatar
      A better fix for bug #11464 with pos-visible-in-window-p and R2L text. · 44e27368
      Eli Zaretskii authored
       src/xdisp.c (move_it_to): Under MOVE_TO_Y, when restoring iterator
       state after an additional call to move_it_in_display_line_to, keep
       the values of it->max_ascent and it->max_descent found for the
       entire line.
       (pos_visible_p): Revert the comparison against bottom_y to what it
       was in 2012-05-13T18:22:35Z!eliz@gnu.org.
      44e27368
  11. 15 May, 2012 1 commit
  12. 13 May, 2012 2 commits
    • Eli Zaretskii's avatar
      Fix bug #11464 with pos-visible-in-window-p and R2L text in L2R paragraph. · c8fb9dc6
      Eli Zaretskii authored
       src/xdisp.c (pos_visible_p): Don't report a position visible when move_it_to
       stopped at the last line of window, which happens to be scanned
       backwards by the bidi iteration.
      c8fb9dc6
    • Eli Zaretskii's avatar
      Fix bug #11417 with infloop when left-fringe/right-fringe spec is used on TTY. · ac268e67
      Eli Zaretskii authored
       src/xdisp.c (handle_stop): Don't call get_overlay_strings_1 if we
       already have overlays loaded.
       (handle_single_display_spec): Before returning without displaying
       fringe bitmap, synchronize the bidi iterator with the main display
       iterator, by calling iterate_out_of_display_property.
       (iterate_out_of_display_property): Detect buffer iteration by
       testing that it->string is a Lisp string.
       (get_next_display_element): When the current object is exhausted,
       and there's something on it->stack, call set_iterator_to_next to
       proceed with what's on the stack, instead of returning zero.
       (set_iterator_to_next): If called at the end of a Lisp string,
       proceed to consider_string_end without incrementing string
       position.  Don't increment display vector index past the end of
       the display vector.
      ac268e67
  13. 11 May, 2012 1 commit
    • Eli Zaretskii's avatar
      Fix display when left-fringe/right-fringe display spec is invalid. · 82f9b393
      Eli Zaretskii authored
       src/xdisp.c (handle_single_display_spec): Return 1 for left-margin
       and right-margin display specs even if the spec is invalid or we
       are on a TTY, and thus unable to display on the fringes.  That's
       because the text with the property will not be displayed anyway,
       so we need to signal to the caller that this is a "replacing"
       display spec.  This fixes display when the spec is invalid or we
       are on a TTY.
      82f9b393
  14. 09 May, 2012 1 commit
  15. 05 May, 2012 1 commit
  16. 02 May, 2012 1 commit
  17. 29 Apr, 2012 1 commit
  18. 24 Apr, 2012 1 commit
  19. 23 Apr, 2012 2 commits
    • Eli Zaretskii's avatar
      Avoid assertion violation when scrolling minibuffer windows. · f0ee99a0
      Eli Zaretskii authored
       src/xdisp.c (pos_visible_p): If the window start position is beyond
       ZV, start the display from buffer beginning.  Prevents assertion
       violation in init_iterator when the minibuffer window is scrolled
       via the scroll bar.
       src/window.c (window_scroll_pixel_based): Likewise.
      f0ee99a0
    • Chong Yidong's avatar
      Doc fixes for where-is-internal. · 9ec7751f
      Chong Yidong authored
      * doc/lispref/keymaps.texi (Scanning Keymaps): Fix description of
      NO-REMAP arg to where-is-internal.
      
      * src/keymap.c (where_is_internal): Doc fix (Bug#10872).
      9ec7751f
  20. 20 Apr, 2012 3 commits
    • Glenn Morris's avatar
      fileio.c fix for bug#11245 · 24c51a09
      Glenn Morris authored
      * src/fileio.c (Fcopy_file, Fset_file_selinux_context):
      Ignore ENOTSUP failures from setfilecon functions.
      24c51a09
    • Eli Zaretskii's avatar
      Fix bug #11288 with overrunning array limits. · 73055685
      Eli Zaretskii authored
       src/dispnew.c (swap_glyph_pointers, copy_row_except_pointers): Don't
       overrun array limits of glyph row's used[] array.
      73055685
    • Chong Yidong's avatar
      Fixes for pty handling in gdb-mi.el and process.c. · f30d612a
      Chong Yidong authored
      * lisp/progmodes/gdb-mi.el (gdb): Revert 2012-04-19 change.
      (gdb-inferior-io--init-proc): New function.
      (gdb-init-1): Use it.
      (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
      responsible for allocating a new pty and hooking it to gdb when
      the old pty gets an EIO due to process exit.
      (gdb-delchar-or-quit): New command.  Bind it in gdb-mi buffers.
      (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
      (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
      
      * src/process.c (wait_reading_process_output): If EIO occurs on a pty,
      set the status to "failed" and ensure that sentinel is run.
      
      * doc/lispref/processes.texi (Asynchronous Processes): Mention nil
      argument to start-process.
      f30d612a
  21. 18 Apr, 2012 2 commits
    • Glenn Morris's avatar
      More small doc and lispref edits related to processes · 4373fd43
      Glenn Morris authored
      * doc/lispref/processes.texi (Serial Ports, Byte Packing, Bindat Spec)
      (Bindat Functions): Copyedits.
      
      * src/process.c (Fset_process_inherit_coding_system_flag)
      (Fset_process_query_on_exit_flag): Doc fix (mention return value).
      (Fmake_network_process, Fmake_serial_process): Doc fix.
      
      * admin/FOR-RELEASE: Related markup.
      4373fd43
    • Glenn Morris's avatar
      More process-related doc and manual small edits · 016a35df
      Glenn Morris authored
      * doc/lispref/processes.texi (Output from Processes, Filter Functions):
      Mention waiting-for-user-input-p.
      (Sentinels, Query Before Exit, System Processes, Transaction Queues):
      (Network Servers, Datagrams, Network Processes, Network Options)
      (Network Feature Testing, Serial Ports): Copyedits.
      (Network): Add encrypted network overview paragraph.
      Cross-reference the Emacs-GnuTLS manual.  Use @acronym.
      
      * lisp/net/network-stream.el (open-network-stream): Doc fix.
      
      * src/process.c (Fset_process_inherit_coding_system_flag)
      (Fset_process_query_on_exit_flag): Doc fix (mention return value).
      (Fmake_network_process): Doc fix.
      016a35df
  22. 17 Apr, 2012 1 commit
    • Eli Zaretskii's avatar
      Fix bug #11261 with cursor movement in a continued line when header line is present. · 20a68157
      Eli Zaretskii authored
       src/xdisp.c (string_buffer_position_lim): Limit starting position to BEGV.
       (set_cursor_from_row): If called for a mode-line or header-line
       row, return zero immediately.
       (try_cursor_movement): If inside continuation line, don't back up
       farther than the first row after the header line, if any.  Don't
       consider the header-line row as "partially visible", even if
       MATRIX_ROW_PARTIALLY_VISIBLE_P returns non-zero.
      20a68157
  23. 13 Apr, 2012 1 commit
  24. 09 Apr, 2012 2 commits
  25. 06 Apr, 2012 1 commit
  26. 04 Apr, 2012 1 commit
    • Chong Yidong's avatar
      Several miscellaneous doc changes. · 3d439cd1
      Chong Yidong authored
      * doc/lispref/display.texi (Delayed Warnings): New node.
      
      * doc/misc/gnus-faq.texi (FAQ 8-2): Mention EasyPG.
      
      * doc/misc/gnus.texi: Reduce references to obsolete pgg library.
      (Security): Note that epg is now the default.
      
      * doc/misc/message.texi (Using PGP/MIME): Note that epg is now the default.
      
      * doc/misc/nxml-mode.texi (Completion): C-RET is no longer bound to
      nxml-complete.
      
      * lisp/subr.el (delayed-warnings-hook): Doc fix.
      
      * src/keyboard.c (Vdelayed_warnings_list): Doc fix.
      3d439cd1
  27. 01 Apr, 2012 2 commits
  28. 31 Mar, 2012 4 commits
  29. 30 Mar, 2012 1 commit
    • Eli Zaretskii's avatar
      Fix bug #11068 with window display when default face was remapped. · 65a0a738
      Eli Zaretskii authored
       src/xdisp.c (append_space_for_newline): If the default face was
       remapped, use the remapped face for the appended newline.
       (extend_face_to_end_of_line): Use the remapped default face for
       extending the face to the end of the line.
       (display_line): Call extend_face_to_end_of_line when the default
       face was remapped.
      65a0a738