1. 17 Apr, 2014 3 commits
  2. 16 Apr, 2014 2 commits
    • Stefan Monnier's avatar
      * src/window.c (save_window_save): Lookup window_point_insertion_type in · 63032a0e
      Stefan Monnier authored
      the right buffer.
      (Qwindow_point_insertion_type): New var.
      (syms_of_window): Initialize it.
      
      Fixes: debbugs:15457
      63032a0e
    • Eli Zaretskii's avatar
      Fix the MSDOS build. · bf6b4923
      Eli Zaretskii authored
       src/unexcoff.c [MSDOS]: Include libc/atexit.h.
       (copy_text_and_data): Zero out the atexit chain pointer before
       dumping Emacs.
       src/termhooks.h (encode_terminal_code): Update prototype.
       src/term.c (encode_terminal_code) [DOS_NT]: Make it externally
       visible for all DOS_NT ports, not just WINDOWSNT.
       (syms_of_term) [!MSDOS]: Don't define 'tty-menu-*' symbols on MSDOS.
       src/sysdep.c (emacs_sigaction_init, init_signals): Don't use SIGCHLD
       unless it is defined.
       (emacs_pipe) [MSDOS]: Redirect to 'pipe'.
       src/process.c (close_on_exec, accept4, process_socket): Move into
       the "ifdef subprocesses" part.
       (catch_child_signal): Condition by "ifdef subprocesses".
       (syms_of_process) <Qinternal_default_process_sentinel>
       <Qinternal_default_process_filter>: Condition by "ifdef subprocesses".
       src/msdos.h: Add prototypes for new functions.
       (EINPROGRESS): Define.
       (O_CLOEXEC): Define to zero.
       src/msdos.c (check_window_system): Remove unnecessary an
       incompatible duplicate function.
       (sys_opendir, readlinkat, faccessat, fstatat, unsetenv): New
       functions in support of new functionality.
       src/menu.c (single_menu_item): Add visual indication  of submenu
       also for menus on MSDOS frames.
       (Fx_popup_menu) [!MSDOS]: Do not call tty_menu_show on MSDOS.
       src/lisp.h (CHECK_PROCESS) [!subprocesses]: Do not define
       when async subprocesses aren't supported.
       src/font.h (FONT_WIDTH) [MSDOS]: MSDOS-specific definition.
       src/emacs.c (close_output_streams): Zero out errno before calling
       close_stream.
       src/dired.c [MSDOS]: Include msdos.h.
       src/conf_post.h (opendir) [MSDOS]: Redirect to sys_opendir.
       (DATA_START) [MSDOS]: Define.
       (SYSTEM_PURESIZE_EXTRA) [MSDOS]: Enlarge by 25K.
       src/callproc.c (block_child_signal, unblock_child_signal) [MSDOS]:
       Ifdef away for MSDOS.
       (record_kill_process) [MSDOS]: Ifdef away the entire body for MSDOS.
       (call_process_cleanup) [MSDOS]: Ifdef away portions not relevant
       for MSDOS.
       (call_process) [MSDOS]: Fix call sequence of dostounix_filename.
       Use temporary file template that is compatible with mkostemp.
       Move vfork-related portions under #ifndef MSDOS.
       (syms_of_callproc): Unify templates of MSDOS and WINDOWSNT.
      
       lisp/term/pc-win.el (x-list-fonts, x-get-selection-value): Provide
       doc strings, as required by snarf-documentation.
      
       msdos/sedlisp.inp:
       msdos/sedlibmk.inp:
       msdos/sedleim.inp:
       msdos/sed3v2.inp:
       msdos/sed2v2.inp:
       msdos/sed1v2.inp: Update Sed scripts for Emacs 24.4.
       msdos/inttypes.h: Add PRIdMAX.
       msdos/INSTALL: Update for Emacs 24.4.
       msdos/sedadmin.inp: New file.
      bf6b4923
  3. 15 Apr, 2014 4 commits
  4. 14 Apr, 2014 1 commit
  5. 13 Apr, 2014 4 commits
    • Paul Eggert's avatar
      Port to IRIX 6.5. · 13a5993b
      Paul Eggert authored
      This port requires IRIX cc, as I did not have time to get
      undump working with the old GCC on the system I had access to,
      but that's better than nothing.
      * configure.ac (gl_GCC_VERSION_IFELSE): Remove unused macro
      that wouldn't have worked anyway, with IRIX cc.
      (emacs_cv_clang, emacs_cv_sanitize_address)
      (ns_osx_have_104, ns_osx_have_105):
      Don't assume '#error' makes the compiler fail,
      as this doesn't work with IRIX cc.
      (CFLAGS, LIBS): Don't let the GnuTLS results infect later 'configure'
      checks.  This runs afoul of an IRIX configuration where GnuTLS is
      in an optional library that also contains getdelim, and causes
      a later 'configure' to incorrectly think getdelim is supported.
      * src/alloc.c (TAGGABLE_NULL): New constant,
      for porting to hosts with nontrivial DATA_SEG_BITS settings.
      (next_vector, set_next_vector): Use it.
      * src/conf_post.h (INET6) [IRIX6_5]: Define.
      (HAVE_GETADDRINFO) [IRIX6_5]: Undef.
      * src/data.c (BITS_PER_ULL): Don't assume ULLONG_MAX is defined.
      * src/lisp.h (lisp_h_XPNTR): Don't OR in bits that aren't masked out,
      for consistency with how TAGGABLE_NULL is computed.
      
      Fixes: debbugs:9684
      13a5993b
    • Eli Zaretskii's avatar
      Fix open-dribble-file's treatment of non-ASCII file names. · ced78c5a
      Eli Zaretskii authored
       src/keyboard.c (Fopen_dribble_file): Encode the dribble file-name
       before passing it to system APIs.
      ced78c5a
    • Eli Zaretskii's avatar
      Fix bug #17255 with insufficient pure space on 32-bit Posix builds. · ff252be0
      Eli Zaretskii authored
       src/puresize.h (BASE_PURESIZE): Bump by 1K.
      ff252be0
    • Stefan Monnier's avatar
      * src/bytecode.c (exec_byte_code): Rework the volatiles. Most importantly, · 285d6d5d
      Stefan Monnier authored
      make sure stack.byte_string_start is not de-adjusted by pushhandler.
      285d6d5d
  6. 12 Apr, 2014 2 commits
  7. 11 Apr, 2014 2 commits
  8. 09 Apr, 2014 1 commit
  9. 07 Apr, 2014 1 commit
    • Stefan Monnier's avatar
      * src/alloc.c: Keep track of symbols referenced from pure space (bug#17168). · e3b83880
      Stefan Monnier authored
      (symbol_block_pinned): New var.
      (Fmake_symbol): Initialize `pinned'.
      (purecopy): New function, extracted from Fpurecopy.  Mark symbols as
      pinned and signal an error for un-purifiable objects.
      (pure_cons): Use it.
      (Fpurecopy): Use it, except for objects that can't be purified.
      (mark_pinned_symbols): New function.
      (Fgarbage_collect): Use it.
      (gc_sweep): Remove hack made unnecessary.
      * src/lisp.h (struct Lisp_Symbol): New bitfield `pinned'.
      e3b83880
  10. 05 Apr, 2014 1 commit
    • Glenn Morris's avatar
      Minor doc updates related to dribble files · 50ea0f87
      Glenn Morris authored
      * doc/emacs/trouble.texi (Checklist):
      * doc/lispref/os.texi (Recording Input): Dribble files may contain passwords.
      
      * lisp/help.el (view-lossage): Doc tweak.
      
      * src/keyboard.c (Fopen_dribble_file): Doc tweak.
      50ea0f87
  11. 04 Apr, 2014 1 commit
    • Jan Djärv's avatar
      Backport from trunk. · 11a9c72f
      Jan Djärv authored
             * nsmenu.m (update_frame_tool_bar): Return early if view or toolbar
      is nil.  If waiting for toolbar to complete, force a redraw.
      (free_frame_tool_bar): Set wait_for_tool_bar = NO
      
             * nsterm.h (EmacsView): Add wait_for_tool_bar.
      
      * nsterm.m (updateFrameSize:): If waiting for the tool bar and tool
             bar is zero height, just return (Bug#16976).
             (initFrameFromEmacs:): Initialize wait_for_tool_bar.
      11a9c72f
  12. 03 Apr, 2014 2 commits
  13. 02 Apr, 2014 1 commit
  14. 30 Mar, 2014 1 commit
  15. 28 Mar, 2014 2 commits
  16. 27 Mar, 2014 1 commit
  17. 26 Mar, 2014 3 commits
  18. 25 Mar, 2014 1 commit
    • Barry O'Reilly's avatar
      Undo in region after markers in undo history relocated · 37ea8275
      Barry O'Reilly authored
      * simple.el (primitive-undo): Only process marker adjustments
      validated against their corresponding (TEXT . POS).  Issue warning
      for lone marker adjustments in undo history.  (Bug#16818)
      (undo-make-selective-list): Add marker adjustments to selective
      undo list based on whether their corresponding (TEXT . POS) is in
      the region.  Remove variable adjusted-markers, which was unused
      and only non nil during undo-make-selective-list.
      (undo-elt-in-region): Return nil when passed a marker adjustment
      and explain in function doc.
      
      Have (MARKER . ADJUSTMENT) undo records always be immediately
      after their corresponding (TEXT . POS) record in undo list.
      (Bug#16818)
      * lisp.h (record-delete): New arg record_markers.
      (record_marker_adjustment): No longer needed outside undo.c.
      * insdel.c (adjust_markers_for_delete): Move calculation of marker
      adjustments to undo.c's record_marker_adjustments.  Note that
      fileio.c's decide_coding_unwind is another caller to
      adjust_markers_for_delete.  Because it has undo list bound to t,
      it does not rely on adjust_markers_for_delete to record marker
      adjustments.
      (del_range_2): Swap call to record_delete and
      adjust_markers_for_delete so as undo marker adjustments are
      recorded before current deletion's adjustments, as before.
      (adjust_after_replace):
      (replace_range): Pass value for new record_markers arg to
      delete_record.
      * undo.c (record_marker_adjustment): Renamed to
      record_marker_adjustments and made static.
      (record_delete): Check record_markers arg and call
      record_marker_adjustments.
      (record_change): Pass value for new record_markers arg to
      delete_record.
      (record_point): at_boundary calculation no longer needs to account
      for marker adjustments.
      
      * undo-tests.el (undo-test-marker-adjustment-nominal):
      (undo-test-region-t-marker): New tests of marker adjustments.
      (undo-test-marker-adjustment-moved):
      (undo-test-region-mark-adjustment): New tests to demonstrate
      bug#16818, which fail without the fix.
      
      * markers.texi (Moving Marker Positions): The 2014-03-02 doc
      change mentioning undo's inability to handle relocated markers no
      longer applies.  See bug#16818.
      * text.texi (Undo): Expand documentation of (TEXT . POS) and
      (MARKER . ADJUSTMENT) undo elements.
      37ea8275
  19. 24 Mar, 2014 1 commit
  20. 23 Mar, 2014 6 commits