1. 29 Jul, 2012 9 commits
    • Dmitry Antipov's avatar
      Cleanup statistics calculation in Fgarbage_collect. · dbcf001c
      Dmitry Antipov authored
      * alloc.c (Fgarbage_collect): Rename t1 to meaningful start.  Fix
      zombies percentage calculation.  Simplify elapsed time calculation.
    • Dmitry Antipov's avatar
      Generalize marker debugging code under MARKER_DEBUG and use eassert. · e2688e4a
      Dmitry Antipov authored
      * insdel.c (CHECK_MARKERS, check_markers_debug_flag): Remove.
      (gap_left, gap_right, adjust_markers_for_delete, insert_1_both)
      (insert_from_string_1, insert_from_gap, insert_from_buffer_1)
      (replace_range, replace_range_2, del_range_2): Change to eassert.
      * marker.c (byte_char_debug_check): Adjust style.
    • Glenn Morris's avatar
      Auto-commit of generated files. · 93131e11
      Glenn Morris authored
    • Paul Eggert's avatar
      inaccessable -> inaccessible spelling fix · 1cd64625
      Paul Eggert authored
      * semantic/wisent/comp.el (wisent-inaccessible-symbols):
      Rename from wisent-inaccessable-symbols, fixing a misspelling.
      Caller changed.
      Fixes: debbugs:10052
    • Paul Eggert's avatar
      Don't use the abbreviation "win" to refer to Windows (Bug#10421). · b46a6a83
      Paul Eggert authored
      * lisp/org/ob-lilypond.el (ly-w32-ly-path): Rename from ly-win32-ly-path.
      (ly-w32-pdf-path): Rename from ly-win32-pdf-path.
      (ly-w32-midi-path): Rename from ly-win32-midi-path.
      (ly-determine-ly-path, ly-determine-pdf-path, ly-determine-midi-path):
      Check for "windows-nt", not "win32", in system-type.
      * src/regex.c (MAX_BUF_SIZE): Remove some incorrect and
      long-ago-commented-out code that talks about "WIN32".
      * src/w32heap.h (OS_WINDOWS_95): Rename from OS_WIN95.
      All uses changed.
    • Paul Eggert's avatar
      deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150) · 72b255c7
      Paul Eggert authored
      * NEWS: Document these changes.
      * leim/quail/uni-input.el (ucs-input-deactivate):
      Rename from ucs-input-inactivate.
      * leim/quail/hangul.el (hangul-input-method-deactivate):
      Rename from hangul-input-method-inactivate.
      * emulation/viper-init.el (viper-deactivate-input-method-action):
      Rename from viper-inactivate-input-method-action.
      Rename from viper-inactivate-input-method.
      * lisp/follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
      * lisp/international/mule-cmds.el (deactivate-input-method):
      Rename from inactivate-input-method.
      Also run input-method-deactivate-hook.
      Rename from inactivate-current-input-method-function.
      (input-method-deactivate-hook): New hook.
      (input-method-inactivate-hook): Mark obsolete.
      * lisp/international/quail.el (quail-activate):
      Also run quail-deactivate-hook.
      (quail-deactivate): Rename from quail-inactivate.
      * lisp/international/robin.el (robin-activate):
      Also run robin-deactivate-hook.
      (robin-deactivate): Rename from robin-inactivate.
    • Chong Yidong's avatar
      Deactivate the mark on more copy operations, and indicate the copied region. · 2549c068
      Chong Yidong authored
      * lisp/simple.el (indicate-copied-region): New function.
      (kill-ring-save): Split off from here.
      * lisp/rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
      (kill-rectangle): Set deactivate-mark to t on read-only error.
      * lisp/register.el (copy-to-register, copy-rectangle-to-register):
      Deactivate the mark, and use indicate-copied-region.
      (append-to-register, prepend-to-register): Call
      Fixes: debbugs:10056
    • Juri Linkov's avatar
      * test/automated/occur-tests.el (occur-test-case): Use predefined · d8efda90
      Juri Linkov authored
      buffer name " *test-occur*" instead of a random buffer name.
    • Juri Linkov's avatar
      * lisp/simple.el (async-shell-command-buffer): New defcustom. · 17711ed9
      Juri Linkov authored
      (shell-command): Use it.
      Fixes: debbugs:4719
  2. 28 Jul, 2012 14 commits
    • Paul Eggert's avatar
      Use Gnulib stdalign and environ modules (Bug#9772, Bug#9960). · e32a5799
      Paul Eggert authored
      * .bzrignore: Add lib/stdalign.h.
      * config.bat: Do not set NO_DECL_ALIGN; no longer needed.
      Copy lib/stdalign.in.h to lib/stdalign.in-h as needed.
      * configure.ac (HAVE_ATTRIBUTE_ALIGNED): Remove the code that
      fiddles with this, as gnulib now does this for us.
      * admin/merge-gnulib: Add environ, stdalign.
      * m4/environ.m4: New file, from gnulib.
      * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate.
      * lib/stdalign.in.h, m4/stdalign.m4: New files, from gnulib.
      * sed2v2.inp (HAVE_ATTRIBUTE_ALIGNED): Remove edit.
      * sedlibmk.inp (STDALIGN_H, @GL_GENERATE_STDALIGN_H_TRUE@)
      * nt/config.nt (HAVE_ATTRIBUTE_ALIGNED): Remove.
      * src/alloc.c (XMALLOC_BASE_ALIGNMENT, GC_POINTER_ALIGNMENT, pure_alloc):
      Simplify by using alignof.
      (pure_alloc) [! USE_LSB_TAG]: Don't over-align EMACS_INT values.
      * src/lisp.h: Include <stdalign.h>.
      (GCALIGNMENT): New macro and constant.
      (DECL_ALIGN): Remove.  All uses replaced by alignas (GCALIGNMENT).
      (USE_LSB_TAG): ifdef on alignas, not on DECL_ALIGN.
      (stdalign): New macro, if not already defined.
    • Eli Zaretskii's avatar
      Fix non-ASCII input in non-GUI frames on MS-Windows. (Bug#12055) · 01bd1b0d
      Eli Zaretskii authored
       src/w32inevt.c: Include w32inevt.h.
       (w32_read_console_input): New inline function, calls either
       ReadConsoleInputA or ReadConsoleInputW, depending on the value of
       (fill_queue): Call w32_read_console_input instead of ReadConsoleInput.
       (w32_kbd_patch_key, key_event): Use the codepage returned by
       GetConsoleCP, rather than the ANSI codepage returned by GetLocaleInfo.
       (key_event): use uChar.UnicodeChar only if
       w32_console_unicode_input is non-zero.
       src/w32console.c: Include w32heap.h.
       <w32_console_unicode_input>: New global variable.
       (initialize_w32_display): Set w32_console_unicode_input to 1 on NT
       family of Windows, zero otherwise.
       src/w32inevt.h: Declare w32_console_unicode_input.
       lisp/international/mule-cmds.el (set-locale-environment): In a
       console session on MS-Windows, set up keyboard and terminal
       encoding from the OEM codepage, not the ANSI codepage.
    • Juanma Barranquero's avatar
      etc/NEWS: Fix typo. · a5c66610
      Juanma Barranquero authored
    • Chong Yidong's avatar
    • Chong Yidong's avatar
      Fix bogus code in gdb-place-breakpoints. · a55739d3
      Chong Yidong authored
      * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
    • Chong Yidong's avatar
      In C-x v L and C-x v D, prompt for directory if there is no default backend. · 1eee6341
      Chong Yidong authored
      * lisp/vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
      directory if vc-deduce-backend returns nil.
      Fixes: debbugs:7350
    • Julien Danjou's avatar
    • Eli Zaretskii's avatar
      More fixes in lisp/ for parallel builds on MS-Windows. · 20329d73
      Eli Zaretskii authored
       lisp/makefile.w32-in (custom-deps, finder-data, updates, compile)
       (compile-always, compile-first)
       ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
       ($(lisp)/net/tramp-loaddefs.el, bootstrap)
       ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
       instead of on update-subdirs.
       (bootstrap-clean): Delete $(lisp)/subdirs.el.
    • David Engster's avatar
      Fix various issues with url-dav package (Bug#11916). · 7fa20d96
      David Engster authored
      * url-dav.el (url-dav-supported-p): Added doc-string and remove
      check for feature `xml' and function `xml-expand-namespace' which
      never existed in Emacs proper.
      (url-dav-process-response): Remove all indentation and newlines
      from XML before parsing.  Change call to `xml-parse-region' to do
      namespace expansion with simple qualified names (Bug#11916).
      (url-dav-request): Add autoload.
      (url-dav-directory-files): Properly deal with empty directories.
      Unhex URL before generating relative URLs.
      (url-dav-file-directory-p): Fix check for 'DAV:collection.
    • Chong Yidong's avatar
      * simple.el (delete-trailing-lines): New option. · 345a2258
      Chong Yidong authored
      (delete-trailing-whitespace): Obey it.
      Fixes: debbugs:11879
    • David Engster's avatar
      Maybe return expanded XML qnames as plain symbols (Bug#11916). · 049a0936
      David Engster authored
      * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
      Explanation of new 'symbol-qnames feature in doc-strings.
      (xml-maybe-do-ns): Return expanded names as plain symbols if
      'symbol-qnames was provided in XML-NS argument (Bug#11916).
      (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
    • Eli Zaretskii's avatar
      Fix --without-x build. · df81cd29
      Eli Zaretskii authored
       src/xdisp.c (init_iterator): Don't reference tip_frame in a build
       --without-x.  (Bug#11742)
    • Eli Zaretskii's avatar
      Fix bug #12062 with a typo in Elisp manual. · 73e0cbc0
      Eli Zaretskii authored
       doc/lispref/nonascii.texi (Character Sets): Fix a typo.
    • Eli Zaretskii's avatar
      Fix bug #12073 with outdated FAQ entry. · 77472261
      Eli Zaretskii authored
       doc/misc/faq.texi (Right-to-left alphabets): Update for Emacs 24.
  3. 27 Jul, 2012 17 commits