+2009-12-19 Eli Zaretskii <eliz@gnu.org>
+
+ * buffer.c (Fbuffer_swap_text): Swap the values of
+ bidi_display_reordering and bidi_paragraph_direction.
+
+ * bidi.c (bidi_resolve_weak): Fix nesting of conditions for Wn
+ processing. Move W3 after W1 and W2. Simplify W4 because it is
+ now always after W1.
+
+ * .gdbinit (pbiditype): New command.
+ (pgx): Use it to display bidi level and type of the glyph.
+
+2009-12-12 Eli Zaretskii <eliz@gnu.org>
+
+ * dispextern.h (struct it): New members prev_stop and
+ base_level_stop.
+
+ * xdisp.c (handle_stop_backwards): New function.
+ (next_element_from_buffer): Handle the situation where we
+ overstepped stop_charpos due to non-linearity of the bidi
+ iteration. Likewise for when we back up beyond the previous
+ stop_charpos.
+ (reseat_1, pop_it, push_it): Set prev_stop and base_level_stop.
+
+ * dispextern.h (BIDI_AT_BASE_LEVEL): New macro.
+
+ * bidi.c (bidi_copy_it): Fix compiler warning due to cast of a
+ pointer to `int'. Don't preserve the first_elt member, as it is
+ no longer copied, because its position in the structure was
+ changed, see below.
+
+ * dispextern.h (struct bidi_it): Move first_elt, new_paragraph,
+ separator_limit, and paragraph_dir to after bidi_stack. Add a
+ note that anything beyond the level stack is not preserved when
+ the bidi iterator state is copied/saved.
+
+2009-11-21 Eli Zaretskii <eliz@gnu.org>
+
+ * xdisp.c (set_cursor_from_row): Fix cursor positioning on empty
+ lines when integer values of `cursor' property is used on display
+ strings.
+
+2009-11-14 Eli Zaretskii <eliz@gnu.org>
+
+ * xdisp.c (init_iterator, text_outside_line_unchanged_p)
+ (try_window_id): Rename paragraph_direction to
+ bidi_paragraph_direction.
+ (set_cursor_from_row): Handle integer values of `cursor' property
+ on display strings.
+
+ * buffer.c (init_buffer_once, syms_of_buffer): Rename
+ paragraph_direction to bidi_paragraph_direction.
+
+ * buffer.h (struct buffer): Rename paragraph_direction to
+ bidi_paragraph_direction.
+
+2009-11-07 Eli Zaretskii <eliz@gnu.org>
+
+ * bidi.c (bidi_paragraph_init): Don't overstep end of buffer.
+ Treat end of buffer as a NEUTRAL_B character.
+ (bidi_resolve_explicit): Don't special-case ZV when bidi_it->type
+ is NEUTRAL_B, since bidi_set_paragraph_end no longer sets the
+ new_paragraph flag.
+
+2009-10-31 Eli Zaretskii <eliz@gnu.org>
+
+ * xdisp.c (display_line): Always extend reversed_p rows to the end
+ of line.
+ (set_cursor_from_row): In R2L rows that don't display text, put
+ the cursor on the rightmost glyph.
+
2009-10-24 Eli Zaretskii <eliz@gnu.org>
* xdisp.c (set_cursor_from_row): Fix off-by-one error when