Commits


0.5 release.


Updating the TODO in preparating for 0.5.


There is no need for a full dirt redraw.


Fixing a compiler warning with the assignment.


Fix segfault when pressing PrintScr without a selection


new utf decoder This patch replaces current utf decoder with a new one, which is ~50 lines shorter and should be easier to understand. Parsing 5 and 6 sequences, if necessary, requires trivial modification of UTF_SIZ constant and utfbyte, utfmask, utfmin, utfmax arrays.


Merge branch 'master' of ssh://suckless.org/gitrepos/st


Add terminfo entries for printer These capabilities inform to programs how print in local printer of the terminal.


Style cleanup. Add some note about the main reason why st is still that big.


Add sequence for printing the current selection This is very usefull in order to can select what is sent to the plumber.


Style matters.


Add key definition for printer sequences These new combinations generate the same behaviour (basically) of vt102. It is a good way of communicating st with other programs. [0] http://www.vt100.net/docs/vt102-ug/chapter2.html


Add xstrdup function Since we are using xmalloc, xrealloc ..., then it is not logical call directly to strdup. Signed-off-by: Roberto E. Vargas Caballero <k0ga@shike2.com>


Add MC for the full screen This sequence is very useful because allows comunicate the content of the terminal to another program.


Merge remote-tracking branch 'origin/master'


Add MC for a single line This sequence print the current line. It is different to the 'printer on' sequence, where all the characters that arrive to the terminal are printer. Here only the ascii characters are printed.


Removing the w3img support. The patch to add w3img support destroys our way to handle fps and so stop wasting resources on fast scrolling. Due to w3img being a hack to display images in an ugly way, is there no need to support this. Use some real way to display images.


Remove non defined behaviour in selcopy It is not defined when lateral effects of expressions are calculated, so an expression as: --last >= gp && !(selected(last - gp, y) is non portable.


Add MC sequence This sequence control when the printer is enabled or disabled. This sequence control the behaviour of the -o option.


Remove duplicated code in strhandle The error condition was duplicated in two different switches. This new version centralized the error handling in only one place.


Fix SHIFT+DEL definition The AppMode and AsciiMode were inverted in the definition of this combination. Signed-off-by: Christoph Lohmann <20h@r-36.net>


Make Shift+Home equal to CLS in ascii mode


Use character scaling in XCopyArea


Make CONTROL + DELETE delete a line If CONTROL + INSERT inserts a line then it seems natural CONTROL + DELETE removes a line.


Make w3mimgdisplay work with st Before this patch draw() calls drawregion which calls xdraws and then updates whole window in one call thus overdrawing anything drawn by w3mimgdisplay. After moving XCopyArea to xdraws it only updates the regions which are being updated by XftDraw* functions. It may do a few more calls to XCopyArea with this patch. Signed-off-by: Amadeusz Sławiński <amade@asmblr.net>