1. 14 Aug, 2011 2 commits
  2. 13 Aug, 2011 1 commit
    • 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
  3. 12 Aug, 2011 1 commit
    • Eli Zaretskii's avatar
      Fix bug #9284 with line/wrap-prefix property on display strings. · 08fff70c
      Eli Zaretskii authored
       src/xdisp.c (iterate_out_of_display_property): xassert that
       IT->position is set to within IT->object's boundaries.  Break from
       the loop as soon as EOB is reached; avoids infloops in redisplay
       when IT->position is set up wrongly due to some bug.  Set
       IT->current to match the bidi iterator unconditionally.
       (push_display_prop): Allow GET_FROM_STRING as IT->method on
       entry; avoids crashes when line/wrap-prefix is set on a display
       string.  Force push_it to save on the stack the current
       buffer/string position, to be restored by pop_it.  Fix flags in
       the iterator structure wrt the object coming from a display
       property, as `line-prefix' and `wrap-prefix' are not ``replacing''
       properties.
      08fff70c
  4. 08 Aug, 2011 4 commits
  5. 07 Aug, 2011 2 commits
    • Chong Yidong's avatar
      * composite.c (autocmp_chars): Don't reset point. · 58872834
      Chong Yidong authored
      That is done by restore_point_unwind (Bug#5984).
      58872834
    • Juri Linkov's avatar
      Minor doc fixes. Remove duplicate ChangeLog entries. · 75bfc667
      Juri Linkov authored
      * doc/emacs/dired.texi (Operating on Files): Rewrite according to the fact
      that `dired-do-chmod' doesn't use the `chmod' program anymore.
      
      * lisp/faces.el (list-faces-display): Remove extra angle bracket
      from `help-mode-map'.
      
      * lisp/info.el (Info-history-toc-nodes): Doc fix.
      
      * lisp/longlines.el (longlines-mode): Doc fix.
      
      * src/editfns.c (Fformat_time_string): Doc fix, add tag `usage:'
      to show the arg `TIME' instead of `TIMEVAL'.
      75bfc667
  6. 06 Aug, 2011 2 commits
  7. 05 Aug, 2011 4 commits
    • 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 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
  8. 04 Aug, 2011 4 commits
  9. 03 Aug, 2011 4 commits
  10. 02 Aug, 2011 5 commits
  11. 01 Aug, 2011 1 commit
    • Eli Zaretskii's avatar
      Fix bug #9212 with selective-display under bidi. · 525d5e6e
      Eli Zaretskii authored
       src/xdisp.c (forward_to_next_line_start): Accept additional argument
       BIDI_IT_PREV, and store into it the state of the bidi iterator had
       on the newline.
       (reseat_at_next_visible_line_start): Use the bidi iterator state
       returned by forward_to_next_line_start to restore the state of
       it->bidi_it after backing up to previous newline.  (Bug#9212)
      525d5e6e
  12. 30 Jul, 2011 1 commit
  13. 29 Jul, 2011 1 commit
  14. 28 Jul, 2011 8 commits
    • Andreas Schwab's avatar
      Implement ## reader macro · 9a79b20c
      Andreas Schwab authored
      * src/lread.c (read1): Read ## as empty symbol.
      
      * src/print.c (print_object): Print empty symbol as ##.
      9a79b20c
    • Alp Aker's avatar
      Fix for raise display property on NS (Bug#8913). · d55e9c53
      Alp Aker authored
      * src/nsfont.m (nsfont_open): Remove assignment to voffset and
      unnecessary vars hshink, expand, hd, full_height, min_height.
      (nsfont_draw): Use s->ybase as baseline for glyph drawing.
      
      * src/nsterm.h (nsfont_info): Remove voffset field.
      d55e9c53
    • Alp Aker's avatar
      Fix display artifacts from ns_dumpglyphs_stretch (Bug#8470). · bf3492a5
      Alp Aker authored
      * src/nsterm.m (ns_dumpglyphs_stretch): Avoid overwriting left fringe
      or scroll bar.
      bf3492a5
    • Alp Aker's avatar
      Fix tooltip dimensions on NS (Bug#9176). · ffe57a7a
      Alp Aker authored
      * src/nsmenu.m (-setText): Size tooltip dimensions precisely to
      contents.
      (EmacsTooltip -init): Remove bezels and add shadows to
      tooltip windows.
      ffe57a7a
    • Alp Aker's avatar
      Fix image fg and bg colors on NS (Bug#9175). · d8c2fa78
      Alp Aker authored
      * nsfns.m (x_set_foreground_color): Set f->foreground_pixel when
      setting frame foreground color.
      (x_set_background_color): Likewise.
      d8c2fa78
    • Alp Aker's avatar
      Implement strike-through and overline on NextStep (Bug#8863). · 4843aac3
      Alp Aker authored
      * src/nsfont.m (nsfont_open): Use underline position provided by font,
      instead of hard-coded value of 2.
      (nsfont_draw): Call ns_draw_text_decoration instead.
      
      * src/nsterm.h: Add declaration for ns_draw_text_decoration.
      
      * src/nsterm.m (ns_draw_text_decoration): New function for drawing
      underline, overline, and strike-through.
      (ns_dumpglyphs_image, ns_dumpglyphs_stretch): Add call to
      ns_draw_text_decoration.  Change treatment of cursor drawing to
      accomodate underlining, etc.
      4843aac3
    • Eli Zaretskii's avatar
      src/buffer.c: Fix last change. · bc7ece87
      Eli Zaretskii authored
      bc7ece87
    • Eli Zaretskii's avatar
      Turn on bidi-display-reordering by default. · 4cc60b9b
      Eli Zaretskii authored
       src/buffer.c (init_buffer_once, syms_of_buffer): Set
       bidi-display-reordering to t by default.
       doc/emacs/mule.texi (Bidirectional Editing): Document the fact that
       bidi-display-reordering is t by default.
       lispref/display.texi (Bidirectional Display): Document the fact that
       bidi-display-reordering is t by default.
      4cc60b9b