1. 06 Aug, 2011 1 commit
    • Eli Zaretskii's avatar
      Fix bug #9254 with crash and cursor positioning under longlines-mode. · d1410150
      Eli Zaretskii authored
       src/xdisp.c (set_cursor_from_row): Fix cursor positioning when a
       display property strides EOL and includes a newline, as in
       src/bidi.c (bidi_unshelve_cache): Don't reset the cache if JUST_FREE
       is non-zero, even if the data buffer is NULL.  Fixes a crash in
       vertical-motion with longlines-mode.
  2. 05 Aug, 2011 4 commits
    • Eli Zaretskii's avatar
    • 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.
    • 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.
    • 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.
  3. 04 Aug, 2011 4 commits
  4. 03 Aug, 2011 3 commits
  5. 02 Aug, 2011 5 commits
  6. 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)
  7. 30 Jul, 2011 1 commit
  8. 29 Jul, 2011 1 commit
  9. 28 Jul, 2011 13 commits
  10. 27 Jul, 2011 1 commit
  11. 25 Jul, 2011 2 commits
  12. 24 Jul, 2011 2 commits
  13. 23 Jul, 2011 2 commits