1. 25 Apr, 2012 6 commits
    • Leo Liu's avatar
    • Chong Yidong's avatar
      Fix whitespace highlighting of context diffs. · 07875ee7
      Chong Yidong authored
      * lisp/vc/diff-mode.el (diff-setup-whitespace): New function.
      (diff-mode): Use it.
      * lisp/vc/diff.el (diff-sentinel):
      * lisp/vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
      Whitespace mode variables based on diff style.
      Fixes: debbugs:8612
    • Leo Liu's avatar
    • Alex Harsanyi's avatar
      Sync with soap-client repository. Support SOAP simpleType. (Bug#10331) · db9b177b
      Alex Harsanyi authored
      * soap-client.el (soap-resolve-references-for-sequence-type)
      (soap-resolve-references-for-array-type): hack to prevent self
      references, see Bug#9.
      (soap-parse-envelope): report the contents of the 'detail' node
      when receiving a fault reply.
      (soap-parse-envelope): report the contents of the entire 'detail' node.
      * soap-inspect.el (soap-sample-value-for-simple-type)
      (soap-inspect-simple-type): new function
      * soap-client.el (soap-simple-type): new struct
      (soap-default-xsd-types, soap-default-soapenc-types)
      (soap-decode-basic-type, soap-encode-basic-type): support
      unsignedInt and double basic types
      (soap-parse-simple-type, soap-encode-simple-type): new function
      (soap-parse-schema): parse xsd:simpleType declarations
      * soap-client.el (soap-default-xsd-types)
      (soap-default-soapenc-types): add integer, byte and anyURI types
      (soap-parse-complex-type-complex-content): use `soap-wk2l' to find
      the local name of "soapenc:Array"
      (soap-decode-basic-type, soap-encode-basic-type): support encoding
      decoding integer, byte and anyURI xsd types.
    • Chong Yidong's avatar
    • Eli Zaretskii's avatar
      Force interactive-mode in GDB on MS-Windows. · afc6df87
      Eli Zaretskii authored
       lisp/progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
       settings on 'system-type', not on 'window-system'.  On MS-Windows,
       set interactive-mode on in GDB.
  2. 24 Apr, 2012 16 commits
  3. 23 Apr, 2012 14 commits
    • Juanma Barranquero's avatar
      src/gnutls.c (init_gnutls_functions): Fix bug#11311. · 02fd101b
      Juanma Barranquero authored
      The value of :loaded-from is now a cons.
    • Paul Eggert's avatar
      Do not create empty overlays with the evaporate property (Bug#9642). · 89a438bd
      Paul Eggert authored
      * buffer.c (Fmove_overlay): Delete an evaporating overlay
      if it becomes empty after its bounds are adjusted to fit within
      its buffer.  Without this fix, in a nonempty buffer (let ((o
      (make-overlay 1 2))) (overlay-put o 'evaporate t) (move-overlay o 0 1))
      yields an empty overlay that has the evaporate property, which is
      not supposed to happen.
    • Chong Yidong's avatar
      * subr.el (accept-change-group): Fix arg usage. · 7511ded8
      Chong Yidong authored
      Fixes: debbugs:6095
    • Chong Yidong's avatar
      Use proper faces in apropos.el. · 46c71e23
      Chong Yidong authored
      * lisp/apropos.el (apropos-symbol, apropos-keybinding, apropos-label)
      (apropos-property, apropos-function-button)
      (apropos-variable-button, apropos-misc-button): New faces.
      (apropos-symbol-face, apropos-keybinding-face)
      (apropos-label-face, apropos-property-face, apropos-match-face):
      Variables removed.
      (apropos-library-button, apropos-format-plist, apropos-print)
      (apropos-print-doc, apropos-describe-plist): Callers changed.
      Fixes: debbugs:8396
    • Chong Yidong's avatar
      * apropos.el (apropos-read-pattern): Fix word list splitting. · 922d37d3
      Chong Yidong authored
      Fixes: debbugs:11132
    • Chong Yidong's avatar
      Remove non-option variable handling from customize-apropos · 775c916b
      Chong Yidong authored
      and enable use of word lists for customize-apropos-options etc.
      * lisp/apropos.el (apropos-read-pattern): Make prompt less cryptic.
      * lisp/cus-edit.el (customize-apropos, customize-apropos-options):
      Disable matching of non-option variables.
      (customize-option, customize-option-other-window)
      (customize-changed-options): Doc fix.
      (customize-apropos-options, customize-apropos-faces)
      (customize-apropos-groups): Use apropos-read-pattern.
      Fixes: debbugs:11176
    • Michael Albinus's avatar
      * net/xesam.el (xesam-mode-map): Use let-bound map in · 2df41f9c
      Michael Albinus authored
      initialization.  (Bug#11292)
    • Agustín Martín's avatar
      ispell.el,flyspell.el: Preserve session localwords when switching back buffers. · da00640a
      Agustín Martín authored
      Once a word is declared valid for a session and a buffer it should
      stay valid for that buffer regardless buffer switches unless ispell
      process is explicitly killed or dictionary changed for that buffer. 
      However, it is currently lost when we switch to a different buffer
      that triggers a new ispell process and then switch back to the
      original buffer (triggering a  new ispell restart). 
      These changes try to keep buffer session localwords accepted in above
    • Glenn Morris's avatar
      Auto-commit of generated files. · ca0294bb
      Glenn Morris authored
    • Agustín Martín's avatar
      Remove obsolete usage of (ispell-insert-word) · f621ccf5
      Agustín Martín authored
      `ispell-insert-word' is a plain `insert' together with word filtering
      through `translation-table-for-input' for character code unification.
      This was useful in Emacs 22, but is not needed for Emacs 23 and above
      since unification is now direct.
      Since XEmacs does not have `translation-table-for-input' there is no
      need at all to keep this old code, but use (insert) directly.
    • Paul Eggert's avatar
      Fix minor GTK3 problems found by static checking. · 1068fe4d
      Paul Eggert authored
      * emacsgtkfixed.c (EMACS_TYPE_FIXED, EMACS_FIXED, EmacsFixed)
      (EmacsFixedPrivate, EmacsFixedClass, struct _EmacsFixed)
      (struct _EmacsFixedClass, emacs_fixed_get_type):
      Move decls here from emacsgtkfixed.h, since they needn't be public.
      (emacs_fixed_get_type): Now static.
      (emacs_fixed_class_init): Omit unused local.
      (emacs_fixed_child_type): Remove; unused.
      * emacsgtkfixed.h (EMACS_TYPE_FIXED, EMACS_FIXED, EmacsFixed)
      (EmacsFixedPrivate, EmacsFixedClass, struct _EmacsFixed)
      (struct _EmacsFixedClass): Move to emacsgtkfixed.c.
      (EMACS_FIXED_GET_CLASS): Remove; unused.
      * gtkutil.c (xg_create_frame_widgets) [!HAVE_GTK3]: Omit unused local.
    • Paul Eggert's avatar
      Spelling fixes. · 0ba2624f
      Paul Eggert authored
    • Paul Eggert's avatar
    • Paul Eggert's avatar
      * keyboard.c (handle_async_input): Define only if SYNC_INPUT || SIGIO. · 888bec30
      Paul Eggert authored
      Problem reported by Juanma Barranquero for Windows -Wunused-function.
  4. 22 Apr, 2012 4 commits
    • Paul Eggert's avatar
      Modernize and clean up gmalloc.c to assume C89 (Bug#9119). · d0baac98
      Paul Eggert authored
      * gmalloc.c: (_MALLOC_INTERNAL, _MALLOC_H, _PP, __ptr_t)
      (__malloc_size_t, __malloc_ptrdiff_t):
      Remove.  All uses removed, replaced by the definiens if needed,
      since we can assume C89 or better now.
      Include <stdint.h>, for PTRDIFF_MAX, uintptr_t.
      (protect_malloc_state, align, get_contiguous_space)
      (malloc_atfork_handler_prepare, malloc_atfork_handler_parent)
      (malloc_atfork_handler_child, malloc_enable_thread)
      (malloc_initialize_1, __malloc_initialize, morecore_nolock)
      (_malloc_internal_nolock, _malloc_internal, malloc, _malloc)
      (_free, _realloc, _free_internal_nolock, _free_internal, free, cfree)
      (special_realloc, _realloc_internal_nolock, _realloc_internal)
      (realloc, calloc, __default_morecore, memalign, valloc, checkhdr)
      (freehook, mallochook, reallochook, mabort, mcheck, mprobe):
      Define using prototypes, not old style.
      (align, _malloc_internal_nolock, _free_internal_nolock, memalign):
      Don't assume ptrdiff_t and uintptr_t are no wider than unsigned long.
      (align): Don't assume that signed integer overflow wraps around.
      Omit unused local var.
      (malloc_initialize_1, morecore_nolock, _malloc_internal_nolock)
      (_free_internal_nolock, memalign, mallochook, reallochook):
      Omit no-longer-needed casts.
      (valloc): Use getpagesize, not __getpagesize.
      (MAGICWORD, MAGICFREE): Now randomish size_t values, not 32-bit.
      (struct hdr): The 'magic' member is now size_t, not unsigned long.
    • Chong Yidong's avatar
    • Chong Yidong's avatar
      Make the "reset-saved" Custom operation reset to default if there is no saved value. · c2d1019e
      Chong Yidong authored
      * lisp/cus-edit.el (custom-variable-menu)
      (custom-variable-reset-saved, custom-face-menu)
      (custom-face-reset-saved): If there is no saved value, make the
      "reset-saved" operation bring back the default.
      (custom-face-state): Properly detect themed faces.
      Fixes: debbugs:9509
    • Paul Eggert's avatar