summaryrefslogtreecommitdiff
path: root/src/layer.c
Commit message (Collapse)AuthorAgeFilesLines
* Get rid of several minor gcc warnings.Jan Christoph Nordholz2014-04-251-1/+1
| | | | Signed-off-by: Amadeusz Sławiński <amade@asmblr.net>
* Support non-BMP utf8 charactersMichael Schroeder2013-04-091-1/+2
|
* Fix various issues (compile warnings etc.)Amadeusz Sławiński2012-01-271-1/+1
| | | | | | | | | The fixes include: * Add missing return values for some functions, * Initialize some variables * Fix data declaration to match struct's definition * Appropriate casting where needed * Forward declaration for some functions
* Fix updating paused regions (in split mode).Sadrul Habib Chowdhury2010-05-101-1/+7
| | | | | Adding a multi-cell character in a split region doesn't always refresh properly. Fix that problem.
* Mark the right-side of a region with '|'s.Sadrul Habib Chowdhury2010-03-171-0/+10
| | | | | | When a layer displayed within a canvas is smaller than the available area, we show '-' at the bottom, and now '|' on the right to mark the actual size of the layer in the canvas.
* Fix refresh when double-cell characters end a lineSadrul Habib Chowdhury2010-03-081-0/+15
| | | | | | | | Double cell characters that end a line are not properly displayed when there are split regions. Takeshi Banse detected the problem and a fix for it in Savannag bug #29106. A better fix for this was applied in the unicode++ branch, but that won't work in 'master'. This is approximately the same fix, in a slightly different way.
* Use intelligent screen refresh only in split regions.Sadrul Habib Chowdhury2010-03-041-56/+44
| | | | | | | | When there are no splits, pausing output on a layer isn't necessary, since it doesn't hit the performance. But we do want to continue to pause output when there are splits to improve scrolling performance. Fixes savannah bug #29055. Thanks to Kazuo Teramoto for reporting the bug and testing the fix.
* Sanity check line numbers for non-negative value.Sadrul Habib Chowdhury2010-03-031-0/+2
| | | | | | It looks like 'ys' can be negative at times, which results in invalid memory reads, and possibly writes. Valgrind log from Friedrich Delgado Friedrichs in savannah bug #29050.
* Some more fixes for the list management.Sadrul Habib Chowdhury2010-02-261-1/+5
| | | | | Make sure the allocated memory is always freed. Also, do not reference freed memory. Thank you valgrind.
* Re-optimize screen updates.Sadrul Habib Chowdhury2009-12-241-23/+57
| | | | | | | In only the top line and the bottom line had to be updated, we were updating the entire region in between as well! This clearly is bad. So instead of doing that, just update the lines that need changing. Thanks to Chris Jones for reporting the bug.
* Remember to update the region containing the cursor.Sadrul Habib Chowdhury2009-12-081-1/+4
|
* Refresh cleverly to improve scrolling speed.Sadrul Habib Chowdhury2009-12-071-0/+148
| | | | | | | | | | This should fix a lot of complaints about slow scrolling in vertical splits. The idea is to update the display once at the end of a screen write, rather than a lot of time during the write, which was the root of the slowness. It is possible that LayPauseUpdateRegion needs to be called in a few more places, but this works for now for the tests I have done.
* Revamp the display list.Sadrul Habib Chowdhury2009-12-051-0/+24
| | | | | | Revamp the display list (in works). The future changes are expected to add full mouse control, and perhaps some other utility functions (e.g. detaching a display, changing permissions perhaps? etc.)
* Add __noreturn__ attribute to some functions.Sadrul Habib Chowdhury2009-09-231-2/+2
| | | | | Setting the __noreturn__ attribute to a function helps analyzers such as clang-analyzer to not report false positives.
* Copyright for 2009Sadrul Habib Chowdhury2009-02-071-1/+1
|
* Do not crash when terminal height is zero.Sadrul Habib Chowdhury2009-01-211-0/+4
| | | | Fixes savannah bug #25338, ubuntu launchpad bug #315237.
* Update copyright messages some more.Sadrul Habib Chowdhury2008-10-211-1/+6
|
* Replace malloc+bzero with calloc.Emanuele Giaquinta2008-10-211-2/+1
|
* Start converting to GPL v3+ (ref: ticket #23900)Sadrul Habib Chowdhury2008-10-131-4/+4
| | | | I decided to leave the doc/ directory alone for the moment.
* Get rid of a bunch of compile warningsSadrul Habib Chowdhury2008-08-081-1/+0
|
* - new concepts: layouts, groupsmls2007-02-061-50/+55
| | | | - new resize code, we now use weights
* first stab at vertical splitmls2006-10-231-11/+2
|
* screen-4.0.1 Sep 18 2003jnweiger2005-12-161-3/+0
|
* old version screen-4.0.0 Jul 21 2003jnweiger2005-12-161-65/+103
|
* old version screen-3.9.11 Feb 14 2002jnweiger2005-12-161-9/+98
|
* old version screen-3.9.9 May 17 2001jnweiger2005-12-161-11/+38
|
* old version screen-3.9.8 Sep 1 2000jnweiger2005-12-161-39/+64
|
* old version screen-3.9.5 Aug 21 1999jnweiger2005-12-161-1/+6
|
* old version screen-3.9.4 Aug 5 1999jnweiger2005-12-161-0/+933
|
* go to ATTIC now.jnweiger2005-12-161-1114/+0
|
* Initial checkin of screen-4.0.2 as found on SUSE 10.0jnweiger2005-12-151-0/+1114