1. 27 Mar, 2014 11 commits
  2. 26 Mar, 2014 15 commits
    • Daniel Colascione's avatar
    • Paul Eggert's avatar
      More backward-compatible fix to char-equal core dump. · 3fd3e736
      Paul Eggert authored
      * editfns.c (Fchar_equal): In unibyte buffers, assume values in
      range 128-255 are raw bytes.  Suggested by Eli Zaretskii.
      
      Fixes: debbugs:17011
      3fd3e736
    • Juanma Barranquero's avatar
    • Juanma Barranquero's avatar
      * lisp/emacs-lisp/package.el: Fix bug#16733 (again). · 196716cf
      Juanma Barranquero authored
        (url-http-parse-response, url-http-end-of-headers, url-recreate-url)
        (url-http-target-url): Remove unused declarations.
        (package-handle-response): Remove.
        (package--with-work-buffer): Use url-insert-file-contents and simplify.
        (package--download-one-archive): Use current-buffer instead of
        dynamic binding of `buffer'.
        (describe-package-1): Do not decode readme-string.
      
      * lisp/url/url-handlers.el (url-http-parse-response): Add autoload.
        (url-insert-file-contents): Signal file-error in case of HTTP error.
      196716cf
    • Michael Albinus's avatar
      Fix wrong timestamp. · 589d1988
      Michael Albinus authored
      589d1988
    • Juanma Barranquero's avatar
      src/*.c: Silence a few warnings about unused vars and functions. · 5af73b0f
      Juanma Barranquero authored
      * src/image.c (x_bitmap_height, x_bitmap_width) [HAVE_X_WINDOWS]:
      * src/sysdep.c (reset_sigio) [!DOS_NT]: Declare conditionally.
      
      * src/keyboard.c (read_decoded_event_from_main_queue): #ifdef out
        variables on Windows.
      
      * src/w32.c (unsetenv): Remove unused var `retval'.
        (emacs_gnutls_pull): Remove unused vars `fdset' and `timeout'.
      
      * src/w32fns.c (Ffile_system_info): Use parenthesis in and/or expression.
      
      * src/w32notify.c (watch_worker): Remove unnecesary var sleep_result.
        (start_watching): Remove unused var `thr'.
      
      * src/w32proc.c (sys_spawnve): Comment out unused vars `first', `last'.
        (find_child_console): Remove unnecesary var `thread_id'.
      
      * src/w32term.c (w32_read_socket): Comment out unused vars `row', `columns'.
        (x_focus_frame): #ifdef 0 unused variable `dpyinfo'.
      5af73b0f
    • Paul Eggert's avatar
      Fix core dump in char-equal. · 05b250c2
      Paul Eggert authored
      * editfns.c (Fchar_equal): Do not use MAKE_CHAR_MULTIBYTE in
      unibyte buffers, as we can't tell whether the characters are
      actually unibyte.
      
      Fixes: debbugs:17011
      05b250c2
    • Paul Eggert's avatar
      Merge from gnulib. · cefcfbcc
      Paul Eggert authored
      This incorporates:
      2014-03-26 strftime: wrap macros in "do {...} while(0)"
      * lib/strftime.c, doc/misc/texinfo.tex: Update from gnulib.
      cefcfbcc
    • Paul Eggert's avatar
    • Glenn Morris's avatar
      Fix previous ChangeLog entry · c1e6bc0a
      Glenn Morris authored
      c1e6bc0a
    • Reto Zimmermann's avatar
      Sync with upstream vhdl mode v3.35.1 · fb3deac8
      Reto Zimmermann authored
      * lisp/progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
      (vhdl-compiler-alist): Doc fix.
      (vhdl-goto-line): Remove.
      (vhdl-mode-abbrev-table-init): Add XEmacs compat.
      (vhdl-mode) <paragraph-start>: Fix value.
      (vhdl-fix-statement-region): Not `for' in wait-statement.
      (vhdl-beautify-region): Also (un)tabify.
      (vhdl-get-visible-signals):
      Scan declarative part of generate statements.
      (vhdl-template-record): Fix indentation for record type declaration.
      (vhdl-expand-abbrev, vhdl-expand-paren): FIXME.
      (vhdl-scan-directory-contents): Tweak.
      (vhdl-speedbar-find-file, vhdl-speedbar-port-copy)
      (vhdl-compose-components-package):
      Replace vhdl-goto-line with forward-line.
      (top-level): Tweak speedbar frame selection.
      (vhdl-generate-makefile-1): Support for compilers with no
      unit-to-file name mapping (create directory with dummy files).
      fb3deac8
    • Wilson Snyder's avatar
      Sync with upstream verilog-mode revision 702457d · 511df08c
      Wilson Snyder authored
      * lisp/progmodes/verilog-mode.el (verilog-mode-version): Update.
      (create-lockfiles): Declare.
      (verilog-read-decls): Fix module header imports, bug709.
      Reported by Victor Lau.
      Fix parsing 'var' in AUTOs, msg1294.  Reported by Dominique Chen.
      (verilog-auto-inout-module): Fix AUTOINOUTMODULE not inserting
      interface-only modules, bug721.  Reported by Dean Hoyt.
      511df08c
    • Glenn Morris's avatar
      Make gulp.el obsolete · b4aca021
      Glenn Morris authored
      * lisp/obsolete/gulp.el: Move here from emacs-lisp/.
      
      * doc/emacs/ack.texi (Acknowledgments): Remove reference to obsolete file.
      b4aca021
    • Glenn Morris's avatar
      Doc tweaks related to file locking · 0b4fe078
      Glenn Morris authored
      * doc/lispref/files.texi (File Locks): All systems support locking.
      
      * src/filelock.c (Flock_buffer): Doc tweak.
      0b4fe078
    • Glenn Morris's avatar
      Remove the build-time option CLASH_DETECTION · 11ee65af
      Glenn Morris authored
      Every platform supports it, and the runtime option `create-lockfiles'
      replaces it.
      
      * configure.ac (CLASH_DETECTION): Remove option.
      
      * lisp/files.el (lock-buffer, unlock-buffer, file-locked-p):
      Remove fallback aliases, since they are always defined now.
      
      * src/buffer.c (Frestore_buffer_modified_p, Fkill_buffer):
      * src/emacs.c (shut_down_emacs):
      * src/fileio.c (Finsert_file_contents, write_region):
      * src/filelock.c (top-level, syms_of_filelock):
      * src/insdel.c (prepare_to_modify_buffer_1):
      CLASH_DETECTION is always defined now.
      
      * admin/CPP-DEFINES: Remove CLASH_DETECTION.
      11ee65af
  3. 25 Mar, 2014 8 commits
    • Barry O'Reilly's avatar
      Addendum to: Undo in region after markers in undo history relocated · 657e54f7
      Barry O'Reilly authored
      * simple.el (primitive-undo): Correction to 2014-03-24 change.
      
      Fixes: debbugs:16818
      657e54f7
    • Eli Zaretskii's avatar
      Improve doc of file-symlink-p per bug #17073. · 75b7e407
      Eli Zaretskii authored
       doc/lispref/files.texi (Kinds of Files): Improve documentation of
       file-symlink-p.  Add cross-references.
      75b7e407
    • Eli Zaretskii's avatar
      Speed up thread startup on MS-Windows. · defd53bd
      Eli Zaretskii authored
       src/w32.c (w32_delayed_load): Call DisableThreadLibraryCalls on the
       DLL handle, to speed up thread startup.
      defd53bd
    • Paul Eggert's avatar
      Handle sigmask better with nested signal handlers. · 1e952f0a
      Paul Eggert authored
      * atimer.c (sigmask_atimers): Remove.
      Remaining use rewritten to use body of this function.
      * atimer.c (block_atimers, unblock_atimers):
      * callproc.c (block_child_signal, unblock_child_signal):
      * sysdep.c (block_tty_out_signal, unblock_tty_out_signal):
      New arg OLDSET.  All callers changed.
      * atimer.c (block_atimers, unblock_atimers):
      * callproc.c (block_child_signal, unblock_child_signal):
      * keyboard.c (handle_interrupt):
      * sound.c (vox_configure, vox_close):
      Restore the old signal mask rather than unilaterally clearing bits
      from the mask, in case a handler is running within another
      handler.  All callers changed.
      * lisp.h, process.c, process.h, term.c:
      Adjust decls and callers to match new API.
      * sysdep.c (emacs_sigaction_init): Don't worry about masking SIGFPE;
      signal handlers aren't supposed to use floating point anyway.
      (handle_arith_signal): Unblock just SIGFPE rather than clearing mask.
      
      Fixes: debbugs:15561
      1e952f0a
    • Michael Albinus's avatar
      * net/tramp-sh.el (tramp-do-copy-or-rename-file-directly): In the · 08cf935b
      Michael Albinus authored
      `rename' case, check whether source directory has set the sticky bit.
      08cf935b
    • Michael Albinus's avatar
      * net/tramp.el (tramp-methods, tramp-connection-timeout): Fix docstring. · 1f73d6c6
      Michael Albinus authored
      * net/tramp-sh.el (tramp-sh-handle-vc-registered): Revert change
      from 2014-03-07, it decreases performance unnecessarily.  Let-bind
      `remote-file-name-inhibit-cache' to nil in the second pass.
      (tramp-find-executable): Do not call "which" on SunOS.
      (tramp-send-command-and-check): Fix docstring.
      1f73d6c6
    • Michael Albinus's avatar
      Fix last ChangeLog entry. · c7d0e04c
      Michael Albinus authored
      c7d0e04c
    • 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
  4. 24 Mar, 2014 6 commits