diff options
| author | Dmitry Antipov | 2013-08-08 18:51:07 +0400 |
|---|---|---|
| committer | Dmitry Antipov | 2013-08-08 18:51:07 +0400 |
| commit | 656202640dc8857da0373ba690ea193394352ddb (patch) | |
| tree | 98e88c8e6142a2fc2b0e3fc21f7b31521f870a41 /src/ChangeLog | |
| parent | 04263d23c5890d728cc62fd64873f687adff620c (diff) | |
| download | emacs-656202640dc8857da0373ba690ea193394352ddb.tar.gz emacs-656202640dc8857da0373ba690ea193394352ddb.zip | |
Redesign redisplay interface to drop global variable updated_window.
Always pass currently updated window as a parameter to update routines.
* dispextern.h (updated_window): Remove declaration.
(struct redisplay_interface): Pass window parameter to
write_glyphs, insert_glyphs, clear_end_of_line, cursor_to
and after_update_window_hook.
(x_write_glyphs, x_insert_glyphs, x_clear_end_of_line, x_cursor_to):
Adjust prototypes.
* dispnew.c (updated_window): Remove.
(redraw_overlapped_rows, update_marginal_area, update_text_area)
(update_window_line): Adjust to match redisplay interface changes.
* nsterm.m (ns_update_window_begin, ns_update_window_end)
(ns_scroll_run, ns_after_update_window_line):
* w32term.c (x_update_window_begin, x_update_window_end)
(x_after_update_window_line, x_scroll_run):
* xterm.c (x_update_window_begin, x_update_window_end)
(x_after_update_window_line, x_scroll_run):
* xdisp.c (x_write_glyphs, x_insert_glyphs, x_clear_end_of_line):
Likewise. Adjust comments where appropriate.
(x_cursor_to): Simplify because this is always called during window
update (but install debugging check anyway).
(expose_window): Check must_be_updated_p flag to see whether this
function is called during window update.
Diffstat (limited to 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 6cb69f776f1..caf7b034401 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,5 +1,31 @@ | |||
| 1 | 2013-08-08 Dmitry Antipov <dmantipov@yandex.ru> | 1 | 2013-08-08 Dmitry Antipov <dmantipov@yandex.ru> |
| 2 | 2 | ||
| 3 | Redesign redisplay interface to drop global variable updated_window. | ||
| 4 | Always pass currently updated window as a parameter to update routines. | ||
| 5 | * dispextern.h (updated_window): Remove declaration. | ||
| 6 | (struct redisplay_interface): Pass window parameter to | ||
| 7 | write_glyphs, insert_glyphs, clear_end_of_line, cursor_to | ||
| 8 | and after_update_window_hook. | ||
| 9 | (x_write_glyphs, x_insert_glyphs, x_clear_end_of_line, x_cursor_to): | ||
| 10 | Adjust prototypes. | ||
| 11 | * dispnew.c (updated_window): Remove. | ||
| 12 | (redraw_overlapped_rows, update_marginal_area, update_text_area) | ||
| 13 | (update_window_line): Adjust to match redisplay interface changes. | ||
| 14 | * nsterm.m (ns_update_window_begin, ns_update_window_end) | ||
| 15 | (ns_scroll_run, ns_after_update_window_line): | ||
| 16 | * w32term.c (x_update_window_begin, x_update_window_end) | ||
| 17 | (x_after_update_window_line, x_scroll_run): | ||
| 18 | * xterm.c (x_update_window_begin, x_update_window_end) | ||
| 19 | (x_after_update_window_line, x_scroll_run): | ||
| 20 | * xdisp.c (x_write_glyphs, x_insert_glyphs, x_clear_end_of_line): | ||
| 21 | Likewise. Adjust comments where appropriate. | ||
| 22 | (x_cursor_to): Simplify because this is always called during window | ||
| 23 | update (but install debugging check anyway). | ||
| 24 | (expose_window): Check must_be_updated_p flag to see whether this | ||
| 25 | function is called during window update. | ||
| 26 | |||
| 27 | 2013-08-08 Dmitry Antipov <dmantipov@yandex.ru> | ||
| 28 | |||
| 3 | Do not reset window modification event counters excessively. | 29 | Do not reset window modification event counters excessively. |
| 4 | These leftovers and poor man's tricky methods to catch extra | 30 | These leftovers and poor man's tricky methods to catch extra |
| 5 | redisplay's attention are no longer needed. | 31 | redisplay's attention are no longer needed. |