1. 05 Dec, 2014 2 commits
    • Eli Zaretskii's avatar
      Reduce memory footprint of struct bidi_it by a factor of 5. · fcc4da3e
      Eli Zaretskii authored
       src/dispextern.h (enum bidi_dir_t): Force NEUTRAL_DIR to be zero.
       (struct bidi_stack): Reduce size by using bit fields and by
       packing sos, override, and isolate_status into a single 8-bit
       byte called 'flags'.
       src/bidi.c (ISOLATE_STATUS, OVERRIDE): New macros.
       (bidi_push_embedding_level): Construct flags from individual
       bits.  Adapt to changes in prev_for_neutral and next_for_neutral
       members.
       (bidi_pop_embedding_level): Use ISOLATE_STATUS.  Extract 'sos'
       from flags.  Adapt to changes in prev_for_neutral,
       next_for_neutral, and last_strong members.
       (bidi_line_init): Initialize flags to zero.
       (bidi_resolve_explicit, bidi_resolve_weak, bidi_resolve_brackets)
       (bidi_resolve_neutral): Use ISOLATE_STATUS and OVERRIDE.
      fcc4da3e
    • Juri Linkov's avatar
      Compare with the most recently used window by default. · 96e6fd3c
      Juri Linkov authored
      * lisp/vc/compare-w.el (compare-windows-get-window-function):
      New defcustom.
      (compare-windows-get-recent-window)
      (compare-windows-get-next-window): New functions.
      (compare-windows, compare-windows-sync-default-function):
      Use `compare-windows-get-window-function' instead of `next-window'.
      (compare-windows): Add diff/match messages with region boundaries.
      Fixes: debbugs:19170
      96e6fd3c
  2. 04 Dec, 2014 6 commits
  3. 03 Dec, 2014 10 commits
  4. 02 Dec, 2014 11 commits
  5. 01 Dec, 2014 11 commits
    • Eric S. Raymond's avatar
      Remove could-register from the set of public VC backend methods, · b7fd432d
      Eric S. Raymond authored
      * vc/vc.el and all backends: API simplification; could-register
      is no longer a public method.  (vc-cvs.el still has a private
      implementation.)
      b7fd432d
    • Eric S. Raymond's avatar
      Document a trap for the unwary. · d788058c
      Eric S. Raymond authored
      d788058c
    • Eric S. Raymond's avatar
      Terminate vc-disable-async-diff with extreme prejudice. · ed6ce56e
      Eric S. Raymond authored
      * vc/vc.el, and all backends: API cleanup; the backend diff method
      takes an explicit async flag.  This eliminates a particularly ugly
      global.
      ed6ce56e
    • Glenn Morris's avatar
      4f54f7b3
    • Glenn Morris's avatar
    • Stefan Monnier's avatar
      Merge some of the differences from the standalone CC-mode. · 51750532
      Stefan Monnier authored
      The main change is to only use the `category' text-property only when
      available.  For that many calls are changed to use c-get-char-property,
      c-next-single-property-change, c-sc-scan-lists,
      c-sc-parse-partial-sexp, c-unmark-<->-as-paren.
      
      * lisp/progmodes/cc-align.el (c-lineup-respect-col-0): New function.
      
      * lisp/progmodes/cc-cmds.el (c-forward-into-nomenclature)
      (c-backward-into-nomenclature): Use cc-subword if subword-mode is
      not available.
      (c-beginning-of-defun, c-end-of-defun, c-mark-function)
      (c-indent-line-or-region): Use c-region-is-active-p.
      
      * lisp/progmodes/cc-defs.el (c-version): Bump up to 5.33.
      (c-use-category): New const.
      (c-next-single-property-change): New macro.
      (c-region-is-active-p): Prefer region-active-p when available.
      (c-search-backward-char-property): Fix old min/max typo; probably
      a copy/paste error.
      (c-mark-<-as-paren, c-mark->-as-paren, c-unmark-<->-as-paren):
      Turn them into macros that obey c-use-category.
      (c-sc-scan-lists-no-category+1+1, c-sc-scan-lists-no-category+1-1)
      (c-sc-scan-lists-no-category-1+1, c-sc-scan-lists-no-category-1-1)
      (c-sc-scan-lists, c-sc-parse-partial-sexp)
      (c-looking-at-non-alphnumspace): New macros.
      (c-sc-parse-partial-sexp-no-category): New function.
      (c-emacs-features): Add `category-properties' element.
      
      * lisp/progmodes/cc-engine.el (c-invalidate-state-cache, c-parse-state):
      Handle the case where categories are not available.
      (c-record-parse-state-state, c-replay-parse-state-state):
      Handle marker values.
      (c-before-change-check-<>-operators): Look for the `syntax-table'
      property rather than for the corresponding `category'.
      (c-looking-at-decl-block): Remove unused var
      `c-disallow-comma-in-<>-arglists'.
      (c-forward-<>-arglist-recur): Remove unused var
      `orig-record-found-types'.
      
      * lisp/progmodes/cc-langs.el (c-modified-constant): New lang var.
      (c-known-type-key): Don't make a list just to throw it away.
      
      * lisp/progmodes/cc-bytecomp.el (cc-bytecomp-unbound-variables)
      (cc-bytecomp-original-functions, cc-bytecomp-original-properties)
      (cc-bytecomp-loaded-files): Re-set each time the file is loaded.
      (cc-bytecomp-obsolete-var, cc-bytecomp-ignore-obsolete)
      (cc-bytecomp-obsolete-fun): Delete unused functions.
      
      * lisp/progmodes/cc-mode.el (c-just-done-before-change): New var.
      (c-basic-common-init): Initialize it.
      (c-common-init): Only use mode-require-final-newline when available.
      (c-before-change): Check and set c-just-done-before-change.
      (c-after-change): Re-set c-just-done-before-change.
      (c-advise-fl-for-region): New macro.
      (lazy-lock-defer-rest-after-change, lazy-lock-defer-line-after-change)
      (font-lock-after-change-function, jit-lock-after-change):
      Advise if needed.
      51750532
    • Eric S. Raymond's avatar
    • Lars Magne Ingebrigtsen's avatar
      shr-dom-print dom.el changes · 6d80f26a
      Lars Magne Ingebrigtsen authored
      * net/shr.el (shr-dom-print): Fix up `shr-dom-print' after the
      dom.el changes.
      6d80f26a
    • Glenn Morris's avatar
      ChangeLog fix · 92c856e8
      Glenn Morris authored
      92c856e8
    • Glenn Morris's avatar
      Auto-commit of loaddefs files. · 857f7dff
      Glenn Morris authored
      857f7dff
    • Glenn Morris's avatar
      ChangeLog fixes. · 4bc1cdd5
      Glenn Morris authored
      4bc1cdd5