1. 23 Aug, 2013 13 commits
  2. 22 Aug, 2013 4 commits
    • Paul Eggert's avatar
      * process.c (flush_pending_output): Remove stub. · 26495794
      Paul Eggert authored
      All uses removed.
    • Paul Eggert's avatar
      * configure.ac (EMACS_CONFIG_OPTIONS): Quote systematically. · 917c483a
      Paul Eggert authored
      This improves on the patch already installed, by quoting options
      that contain spaces and suchlike systematically, so that
      EMACS_CONFIG_OPTIONS is no longer ambiguous when options contain
      these characters.
      Fixes: debbugs:13274
    • Stefan Monnier's avatar
      * lisp/erc/erc.el: Use lexical-binding. · d0fcaff5
      Stefan Monnier authored
      (erc-user-full-name): Minor CSE simplification.
      (erc-mode-map): Assume command-remapping is available.
      (erc-once-with-server-event): Replace `forms' arg with a function arg.
      (erc-once-with-server-event-global): Remove.
      (erc-ison-p): Adjust to change in erc-once-with-server-event.
      (erc-get-buffer-create): Remove arg `proc'.
      (iswitchb-make-buflist-hook): Declare.
      (erc-setup-buffer): Use pcase; avoid ((lambda ..) ..).
      (read-passwd): Assume it exists.
      (erc-display-line, erc-cmd-IDLE): Avoid add-to-list, adjust to change
      in erc-once-with-server-event.
      (erc-cmd-JOIN, erc-set-channel-limit, erc-set-channel-key)
      (erc-add-query): Minor CSE simplification.
      (erc-cmd-BANLIST, erc-cmd-MASSUNBAN): Adjust to change
      in erc-once-with-server-event.
      (erc-echo-notice-in-user-and-target-buffers): Avoid add-to-list.
      * lisp/erc/erc-track.el: Use lexical-binding.
      (erc-make-mode-line-buffer-name): Use closures instead of `(lambda...).
      (erc-faces-in): Avoid add-to-list.
      * lisp/erc/erc-notify.el: Use lexical-binding.
      (erc-notify-timer): Adjust to change in erc-once-with-server-event.
      (erc-notify-QUIT): Use a closure instead of `(lambda...).
      * lisp/erc/erc-list.el: Use lexical-binding.
      (erc-list-install-322-handler, erc-cmd-LIST): Adjust to change in
      * lisp/erc/erc-button.el: Use lexical-binding.
      (erc-button-next-function): Use a closure instead of `(lambda...).
    • Stefan Monnier's avatar
      * lisp/calendar/timeclock.el: Minor cleanups. · 8352b530
      Stefan Monnier authored
      (timeclock-ask-before-exiting, timeclock-use-display-time): Use `symbol'.
      (timeclock-modeline-display): Define as alias before the actual definition.
      (timeclock-mode-line-display): Use define-minor-mode.
      (timeclock-day-list-template): Make it a function, add an argument.
      (timeclock-day-list-required, timeclock-day-list-length)
      (timeclock-day-list-debt, timeclock-day-list-span)
      (timeclock-day-list-break): Adjust calls accordingly.
  3. 21 Aug, 2013 8 commits
  4. 20 Aug, 2013 8 commits
  5. 19 Aug, 2013 7 commits
    • Paul Eggert's avatar
      * image.c: Shrink memory needed for animation cache. · bb566cea
      Paul Eggert authored
      (SIGNATURE_DIGESTSIZE): New constant.
      (struct animation_cache): Make 'signature' a fixed size array of bytes.
      (imagemagick_create_cache): Copy the signature.  This saves
      several KB of memory that ImageMagick wastes per signature.
      Don't bother updating the update_time, as the caller does that now.
      (imagemagick_prune_animation_cache): Don't destroy the signature, as
      it's a fixed size struct member now.
      (imagemagick_get_animation_cache): Always destroy the signature,
      as it's now imagemagick_create_cache's responsibility to copy it.
      Avoid duplicate calls to strcmp and to imagemagick_create_cache,
      and use memcmp rather than strcmp.
      eassert that ImageMagick returns a signature of the specified length.
    • Lars Magne Ingebrigtsen's avatar
    • Paul Eggert's avatar
      * image.c: Space before paren. · 824a2fa7
      Paul Eggert authored
    • Lars Magne Ingebrigtsen's avatar
      Fix previous commit. · 2a42bbce
      Lars Magne Ingebrigtsen authored
      (imagemagick_get_animation_cache): Revert to previous definition
      so that it actually works.  But keep the memory leak fix.
    • Lars Magne Ingebrigtsen's avatar
      * image.c (imagemagick_get_animation_cache): Don't segfault on each invocation. · 6da26928
      Lars Magne Ingebrigtsen authored
      Bug introduced by 2013-08-19T07:01:37Z!eggert@cs.ucla.edu, which obviously hadn't even been
      tested once.
    • Glenn Morris's avatar
      Auto-commit of generated files. · 6e64a12b
      Glenn Morris authored
    • Paul Eggert's avatar
      * image.c: Fix animation cache signature memory leak. · d0139df5
      Paul Eggert authored
      Fix some other minor performance problems while we're at it.
      (imagemagick_create_cache): Clear just the members that
      need clearing.  Don't set update_time, as caller does that now.
      (imagemagick_prune_animation_cache, imagemagick_get_animation_cache):
      Simplify by using pointer-to-pointer instead of a prev pointer.
      (imagemagick_prune_animation_cache): Use make_emacs_time rather
      than EMACS_TIME_FROM_DOUBLE, and DestroyString rather than free.
      (imagemagick_get_animation_cache): Don't xstrdup the image signature;
      it's already a copy.  Free the signature probe unless it's cached.