1. 27 Aug, 2011 2 commits
  2. 26 Aug, 2011 1 commit
  3. 25 Aug, 2011 4 commits
    • Eli Zaretskii's avatar
      Fix last change for text terminals. · e25be792
      Eli Zaretskii authored
       src/xdisp.c (try_cursor_movement): Don't advance `row' beyond the
       last row of the window.
      e25be792
    • Eli Zaretskii's avatar
      Fix cursor motion with long continued lines near window bottom. · fee65a97
      Eli Zaretskii authored
       src/xdisp.c (try_cursor_movement): Check for the need to scroll more
       accurately, and prefer exact match for point under bidi.
      fee65a97
    • Eli Zaretskii's avatar
      Handle `(space ...)' display spec as paragraph separator. · 0c95fcf7
      Eli Zaretskii authored
       src/xdisp.c (compute_display_string_pos): Return 2 in DISP_PROP when
       the display spec is of the form `(space ...)'.
       (handle_display_spec): Return the value returned by
       handle_single_display_spec, not just 1 or zero.
       (handle_single_display_spec): If the display spec is of the form
       `(space ...)', and specifies display in the text area, return 2
       rather than 1.
       src/dispextern.h (struct bidi_it): Rename the disp_prop_p member
       into disp_prop; all users changed.
       src/bidi.c (bidi_fetch_char): If compute_display_string_pos returns
       DISP_PROP = 2, substitute the u+2029 PARAGRAPH SEPARATOR character
       for the text covered by the display property.
       lisp/buff-menu.el (Buffer-menu-buffer+size): Remove calls to
       bidi-string-mark-left-to-right; they are unnecessary now.
       doc/lispref/display.texi (Specified Space): Mention that `space' specs
       influence bidi reordering.
       (Bidirectional Display): Explain how to use `(space . PROPS)' for
       separating fields with bidirectional content.
      0c95fcf7
    • Chong Yidong's avatar
      Delete record-buffer, and rename unrecord-buffer to bury-buffer-internal. · e4ed06f1
      Chong Yidong authored
      * lisp/window.el (bury-buffer, quit-window): Use bury-buffer-internal.
      
      * src/buffer.c (Fbury_buffer_internal): Rename from Funrecord_buffer.
      Change return value to nil.
      (Frecord_buffer): Delete unused function.
      e4ed06f1
  4. 24 Aug, 2011 3 commits
    • Eli Zaretskii's avatar
      Fix cursor movement in R2L text within L2R paragraphs. · 8610fe8b
      Eli Zaretskii authored
       src/xdisp.c (set_cursor_from_row): Consider candidate row a win if its
       glyph represents a newline and point is on that newline.  Fixes cursor
       positioning on the newline at EOL of R2L text within L2R
       paragraph, and vice versa.
       (try_cursor_movement): Check continued rows, in addition to
       continuation rows.  Fixes unwarranted scroll when point enters a
       continued line of R2L text within an L2R paragraph, or vice versa.
       (cursor_row_p): Consider the case of point being equal to
       MATRIX_ROW_END_CHARPOS.  Prevents cursor being stuck when moving
       from the end of a short line to the beginning of a continued line
       of R2L text within L2R paragraph.
       (RECORD_MAX_MIN_POS): For max_pos, use IT_CHARPOS even for
       composed characters.
      8610fe8b
    • Eli Zaretskii's avatar
      Fix current-bidi-paragraph-direction and its doc. · 5980d4c6
      Eli Zaretskii authored
       src/xdisp.c (Fcurrent_bidi_paragraph_direction): For unibyte
       buffers, return left-to-right.
       doc/lispref/display.texi (Bidirectional Display): Document return value in
       buffers that are not bidi-reordered for display, and in unibyte
       buffers.
      5980d4c6
    • Eli Zaretskii's avatar
      Minor changes in bidi.c. · f67cdd7f
      Eli Zaretskii authored
       src/bidi.c (bidi_check_type): Use xassert.
       (bidi_cache_iterator_state): Update the disp_pos and disp_prop_p
       members.
      f67cdd7f
  5. 23 Aug, 2011 7 commits
  6. 22 Aug, 2011 2 commits
  7. 20 Aug, 2011 2 commits
  8. 19 Aug, 2011 3 commits
  9. 18 Aug, 2011 4 commits
  10. 17 Aug, 2011 2 commits
  11. 16 Aug, 2011 4 commits
    • Ken Brown's avatar
      * src/gmalloc.c: Expand comment. · db76dd85
      Ken Brown authored
      db76dd85
    • Paul Eggert's avatar
      Simplify previous changes. · a69fbedb
      Paul Eggert authored
      * image.c (x_allocate_bitmap_record, cache_image):
      * xselect.c (Fx_register_dnd_atom):
      Simplify previous changes by using xpalloc.
      a69fbedb
    • Eli Zaretskii's avatar
      Fix cursor positioning at end of buffer under bidi display. · b215eee5
      Eli Zaretskii authored
       src/xdisp.c (set_cursor_from_row): Don't accept a previous candidate
       if it fails the cursor_row_p test.  Fixes cursor positioning at ZV.
      b215eee5
    • Ken Brown's avatar
      Fix memory allocation problems in Cygwin build (Bug#9273). · a4579d33
      Ken Brown authored
      * src/gmalloc.c [CYGWIN] (bss_sbrk_heapbase, bss_sbrk_heapinfo): New
      variables.
      (malloc_initialize_1) [CYGWIN]: Prepare for reinitializing the
      dumped emacs.
      (_free_internal_nolock) [CYGWIN]: Ignore requests to free storage
      in the static heap.
      [CYGWIN] (special_realloc): New function.
      (_realloc_internal_nolock) [CYGWIN]: Use the new function on
      requests to realloc storage in the static heap.
      
      * src/unexcw.c ( __malloc_initialized): Declare external variable.
      (fixup_executable): Force the dumped emacs to reinitialize malloc.
      a4579d33
  12. 15 Aug, 2011 5 commits
  13. 14 Aug, 2011 1 commit