diff options
author | Marcus Brinkmann <marcus@gnu.org> | 2002-06-13 23:13:10 +0000 |
---|---|---|
committer | Marcus Brinkmann <marcus@gnu.org> | 2002-06-13 23:13:10 +0000 |
commit | 48f9afdbfaf498a849e6882feb6441940b9d5e73 (patch) | |
tree | 37f2733575cbe020259bed760c6989ea1cfecb15 /Makeconf | |
parent | 4e71681f97b368a532f9bf287786dc83bf1aae2c (diff) |
2002-06-14 Marcus Brinkmann <marcus@gnu.org>
* display.c (struct changes): New structure to temporarily hold
changes to the display.
(struct display): New member CHANGES.
(display_flush_filechange): New function.
(display_record_filechange): Likewise.
(screen_fill): Use display_record_filechange instead
display_notice_filechange.
(display_output_one): Likewise.
(screen_shift_left): Flush pending filechanges before scrolling.
(screen_shift_right): Likewise.
(display_output_one): Don't notice changes here ...
(display_output_some): ... but here.
* display.c (struct user_pager_info): Add members MEMOBJ_NPAGES
and MEMOBJ_PAGES to hold the allocated and returned pages.
(struct display): Remove member MEMOBJ_SIZE.
(pager_clear_user_data): Deallocate returned pages for this pager
object.
(pager_read_page): Add an assertion to check that we don't create
new pages for already allocated and returned pages.
(pager_write_page): Implement by just holding to the page and
storing its address in the pager object for later deallocation.
(pager_report_extent): Implement using new member MEMOBJ_NPAGES
rather than MEMOBJ_SIZE.
(user_create): Allocate extra storage for the returned pages in
UPI.
Diffstat (limited to 'Makeconf')
0 files changed, 0 insertions, 0 deletions