1. 13 Aug, 2011 2 commits
    • Jan Djärv's avatar
      Fix network-interface-list|info on newer BSD derived OS:es. · 377538cb
      Jan Djärv authored
      * configure.in: Add header check: sys/socket.h,
      ifaddrs.h, net/if_dl.h.  Check for getifaddrs and freeifaddrs.
      Check for sa_len in struct ifreq.ifr_addr (Bug#8477).
      
      * src/process.c: Include ifaddrs.h and net/if_dl.h if available (Bug#8477).
      (Fnetwork_interface_list): Allocate in increments of bytes instead
      of sizeof (struct ifreq).  Iterate over ifconf.ifc_req by counting
      bytes (Bug#8477).  Count bytes correctly when ifr_addr is a struct
      sockaddr.
      (struct ifflag_def): notrailers is smart on OSX.
      (Fnetwork_interface_info): Handle case when ifr_flags is negative.
      Get hardware address with getifaddrs if available.
      377538cb
    • Andreas Schwab's avatar
  2. 12 Aug, 2011 9 commits
  3. 11 Aug, 2011 1 commit
  4. 10 Aug, 2011 2 commits
  5. 09 Aug, 2011 3 commits
  6. 08 Aug, 2011 7 commits
    • Chong Yidong's avatar
      * image-dired.el: Don't use find-file for temporary work. · 839dde57
      Chong Yidong authored
      (image-dired--with-db-file): New macro.
      (image-dired-write-tags, image-dired-remove-tag)
      (image-dired-create-gallery-lists, image-dired-write-comments)
      (image-dired-get-comment, image-dired-mark-tagged-files)
      (image-dired-list-tags, image-dired-gallery-generate): Use it.
      (image-dired-gallery-generate): Use insert-file-contents.
      
      Fixes: debbugs:7895
      839dde57
    • Eli Zaretskii's avatar
      Improve on previous change in xdisp.c. · 757664a4
      Eli Zaretskii authored
      757664a4
    • Eli Zaretskii's avatar
      Speed up bidi redisplay with selective-display. · 97bb72a6
      Eli Zaretskii authored
       src/xdisp.c (forward_to_next_line_start): Allow to use the
       no-display-properties-and-no-overlays under bidi display.
      97bb72a6
    • Chong Yidong's avatar
      Fix explanation about setting the time zone in Lisp manual. · 51a714e1
      Chong Yidong authored
      * doc/lispref/os.texi (Time of Day): Remove set-time-zone-rule, and
      recommend using setenv instead.
      51a714e1
    • Chong Yidong's avatar
      Lisp code shouldn't use set-time-zone-rule except through setenv. · 37e11a63
      Chong Yidong authored
      * time.el (display-time-world-list, display-time-world-display):
      * time-stamp.el (time-stamp-string):
      * vc/add-log.el (add-change-log-entry): Use setenv instead of
      set-time-zone-rule.
      
      * src/editfns.c (Fset_time_zone_rule): Document relationship with the
      setenv function.
      
      Fixes: debbugs:7337
      37e11a63
    • Chong Yidong's avatar
      Don't lose extra font info when using the Fontconfig font cache. · d5617611
      Chong Yidong authored
      * src/ftfont.c (ftfont_pattern_entity): Copy the extras argument to
      the font entity extracted from the cache.
      
      Fixes: debbugs:8109
      d5617611
    • Daiki Ueno's avatar
      Format GPG errors (bug#9255). · 0b4946c4
      Daiki Ueno authored
      * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
      (epg-error-to-string, epg-errors-to-string): New function.
      (epg-wait-for-completion): Reverse errors list.
      (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
      (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
      (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
      (epg-sign-keys, epg-generate-key-from-file)
      (epg-generate-key-from-string): Format errors by using
      epg-errors-to-string (bug#9255).
      (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
      0b4946c4
  7. 07 Aug, 2011 3 commits
  8. 06 Aug, 2011 3 commits
  9. 05 Aug, 2011 10 commits
    • Andrew Cohen's avatar
      gnus-sum.el (gnus-summary-refer-article): Warp to article. This allows... · d747b53f
      Andrew Cohen authored
      gnus-sum.el (gnus-summary-refer-article): Warp to article.  This allows article-referral to work from an nnir group.
      d747b53f
    • Stefan Monnier's avatar
      * lisp/progmodes/js.el (js--regexp-literal): Accept regexps at the beginning · 4640dd88
      Stefan Monnier authored
      of statements and in a few more cases.
      
      Fixes: debbugs:9183
      4640dd88
    • Stefan Monnier's avatar
      * lisp/emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args): · 673e08bb
      Stefan Monnier authored
      New functions.
      (cl-transform-lambda): Use them.
      
      Fixes: debbugs:9239
      673e08bb
    • Eli Zaretskii's avatar
      412b6358
    • Eli Zaretskii's avatar
      Make bidi_cache_total_alloc static. · ec7cc85b
      Eli Zaretskii authored
       src/bidi.c <bidi_cache_total_alloc>: Now static.
       (bidi_initialize): Initialize bidi_cache_total_alloc.
      ec7cc85b
    • Eli Zaretskii's avatar
      Fix bug #9221 with memory leak in bidi display. · 5009803b
      Eli Zaretskii authored
      Add code to monitor memory allocation for bidi cache shelving.
      
       src/xdisp.c (display_line): Release buffer allocated for shelved bidi
       cache.
       src/bidi.c (bidi_shelve_cache, bidi_unshelve_cache): Track total
       amount allocated this far in `bidi_cache_total_alloc'.
       (bidi_unshelve_cache): Accept an additional argument JUST_FREE; if
       non-zero, only free the data buffer without restoring the cache
       contents.  All callers changed.
       src/dispextern.h (bidi_unshelve_cache): Update prototype.
       src/xdisp.c (SAVE_IT, pos_visible_p, move_it_in_display_line_to)
       (move_it_in_display_line, move_it_to)
       (move_it_vertically_backward, move_it_by_lines): Replace the call
       to xfree to an equivalent call to bidi_unshelve_cache.
       (move_it_in_display_line_to): Fix logic of returning
       MOVE_POS_MATCH_OR_ZV in the bidi case.
      5009803b
    • Eli Zaretskii's avatar
      Fix bug #9221 with resource allocation under word-wrap. · 35928349
      Eli Zaretskii authored
      Add diagnostic facility for monitoring memory allocated for cache shelving.
      
       src/xdisp.c (display_line): Release buffer allocated for shelved bidi
       cache.  (Bug#9221)
       src/bidi.c (bidi_shelve_cache, bidi_unshelve_cache): Track total
       amount allocated this far in `bidi_cache_total_alloc'.
       (bidi_unshelve_cache): Accept an additional argument JUST_FREE; if
       non-zero, only free the data buffer without restoring the cache
       contents.  All callers changed.
       src/dispextern.h (bidi_unshelve_cache): Update prototype.
       src/xdisp.c (SAVE_IT, pos_visible_p, move_it_in_display_line_to)
       (move_it_in_display_line, move_it_to)
       (move_it_vertically_backward, move_it_by_lines): Replace the call
       to xfree to an equivalent call to bidi_unshelve_cache.
       (move_it_in_display_line_to): Fix logic of returning
       MOVE_POS_MATCH_OR_ZV in the bidi case.
      35928349
    • Eli Zaretskii's avatar
      Fix bug #9229 with cursor positioning on display strings. · e2e2423b
      Eli Zaretskii authored
       src/xdisp.c (set_cursor_from_row): Prefer the candidate glyph that
       came from a string character with a `cursor' property.
      e2e2423b
    • Glenn Morris's avatar
      Auto-commit of generated files. · 1abfdc54
      Glenn Morris authored
      1abfdc54
    • Martin Rudalics's avatar
      Turn some defsubsts into defuns and revert part of last switch-to-buffer fix. · 89b3f019
      Martin Rudalics authored
      * window.el (display-buffer-same-window)
      (display-buffer-same-frame, display-buffer-other-window)
      (pop-to-buffer-same-window, pop-to-buffer-same-frame)
      (pop-to-buffer-other-window)
      (pop-to-buffer-same-frame-other-window)
      (pop-to-buffer-other-frame): Make them defuns.
      (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
      89b3f019