1. 24 Aug, 2012 1 commit
  2. 15 Aug, 2012 1 commit
  3. 14 Aug, 2012 2 commits
  4. 13 Aug, 2012 2 commits
  5. 12 Aug, 2012 1 commit
    • Jan Djärv's avatar
      Backports for 1995-05-29T20:16:10Z!kwzh@gnu.org,... · c17d5a38
      Jan Djärv authored
      Backports for 1995-05-29T20:16:10Z!kwzh@gnu.org, 1995-05-03T21:38:13Z!rms@gnu.org and 1995-05-31T19:46:12Z!kwzh@gnu.org.
      
      * nsmenu.m (ns_update_menubar): Add braces to ambigous if-else.
      
      * nsmenu.m (Popdown_data): New struct.
      (pop_down_menu): p->pointer is Popdown_data.  Release the pool and
      free Popdown_data.
      (ns_popup_dialog): Use NSAutoreleasePool and pass it to pop_down_menu.
      (initWithContentRect): Make imgView and contentView non-static
      and autorelease them.  Also autorelease img and matrix.
      (dealloc): Remove (Bug#1995-05-29T20:16:10Z!kwzh@gnu.org).
      
      * nsterm.m (keyDown:): Interpret flags without left/right bits
      as the left key (Bug#1995-05-03T21:38:13Z!rms@gnu.org).
      
      * nsterm.m (ns_read_socket): Return early if there is a modal
      window (Bug#1995-05-31T19:46:12Z!kwzh@gnu.org).
      c17d5a38
  6. 08 Aug, 2012 1 commit
  7. 07 Aug, 2012 1 commit
  8. 19 Jul, 2012 1 commit
  9. 14 Jul, 2012 1 commit
    • Eli Zaretskii's avatar
      Don't use FILE_SYSTEM_CASE in MS-DOS, or anywhere else. · fbf31a9c
      Eli Zaretskii authored
       src/s/msdos.h (FILE_SYSTEM_CASE): Don't define.
       src/fileio.c (FILE_SYSTEM_CASE): Don't define.
       (Ffile_name_directory, Fexpand_file_name): Don't use FILE_SYSTEM_CASE.
       Fixes problems on MS-DOS with Vtemp_file_name_pattern when
       call-process-region passes it through expand-file-name.
       src/dired.c (file_name_completion): Don't use FILE_SYSTEM_CASE.
       admin/CPP-DEFINES: Remove FILE_SYSTEM_CASE.
      fbf31a9c
  10. 12 Jul, 2012 1 commit
    • Andreas Schwab's avatar
      Fixes: debbugs:11917 · 8a05d57a
      Andreas Schwab authored
      Fix crash when creating indirect buffer
      * buffer.c (buffer_lisp_local_variables): Add argument CLONE.
      Don't handle unbound variables specially if non-zero.
      (Fbuffer_local_variables): Pass zero.
      (clone_per_buffer_values): Pass non-zero.
      8a05d57a
  11. 28 Jun, 2012 1 commit
  12. 26 Jun, 2012 1 commit
  13. 23 Jun, 2012 1 commit
  14. 21 Jun, 2012 1 commit
  15. 11 Jun, 2012 1 commit
  16. 01 Jun, 2012 1 commit
  17. 30 May, 2012 2 commits
  18. 29 May, 2012 1 commit
  19. 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
  20. 24 May, 2012 1 commit
  21. 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
  22. 21 May, 2012 1 commit
  23. 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
  24. 15 May, 2012 1 commit
  25. 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
  26. 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
  27. 09 May, 2012 1 commit
  28. 05 May, 2012 1 commit
  29. 02 May, 2012 1 commit
  30. 29 Apr, 2012 1 commit
  31. 24 Apr, 2012 1 commit
  32. 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
  33. 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