Commit Graph

  • 70aeaf7f2f Add documentation to control codes Add the documentation from the vt100 manual programmer: Roberto E. Vargas Caballero 2012-10-06 19:12:46 +0200
  • ac8f05c45a Add documentation to control codes Roberto E. Vargas Caballero 2012-10-06 19:12:46 +0200
  • ec9fe428b8 Forgot to remove the xclearborders() definition from the last commit. Christoph Lohmann 2012-10-06 13:45:14 +0200
  • 02f3b37a2d Forgot to remove the xclearborders() definition from the last commit. Christoph Lohmann 2012-10-06 13:45:14 +0200
  • 82437818c5 Removing the xclearborders() hack. St now cleans up the parts of the border, if something needs to be drawn close to it. Christoph Lohmann 2012-10-06 13:43:01 +0200
  • 0cc7ee5e73 Removing the xclearborders() hack. St now cleans up the parts of the border, Christoph Lohmann 2012-10-06 13:43:01 +0200
  • b86451bf74 The style inquisition was here. Yes, making it a unified style. The last infidels will be squashed too! Christoph Lohmann 2012-10-06 09:58:45 +0200
  • 4eddf19fdc The style inquisition was here. Yes, making it a unified style. The last Christoph Lohmann 2012-10-06 09:58:45 +0200
  • b9f239abe6 Adding the patch of David Dufberg Töttrup to implement WM_DELETE_WINDOW. Thank you! Christoph Lohmann 2012-10-05 22:59:08 +0200
  • 7efa4514d1 Adding the patch of David Dufberg Töttrup to implement WM_DELETE_WINDOW. Thank you! Christoph Lohmann 2012-10-05 22:59:08 +0200
  • 2549840ed7 Fixing the brightening on bold. For the 256 colors and greyscale I assumed a reasonable solution. Christoph Lohmann 2012-10-05 22:51:08 +0200
  • bf6cf05ba5 Fixing the brightening on bold. For the 256 colors and greyscale I assumed a Christoph Lohmann 2012-10-05 22:51:08 +0200
  • 0ddbb0c6cc Turning on antialias by default really makes it more unreadable. Maybe if once the majority has bigger screens, this can be turned on by default again. Thanks pancake, for the hint. Christoph Lohmann 2012-10-05 11:07:55 +0200
  • 5caa46cf57 Turning on antialias by default really makes it more unreadable. Maybe if once Christoph Lohmann 2012-10-05 11:07:55 +0200
  • c1ef12591b When the drawing behaviour was changed underline was not corrected. Thanks to Peter A. Shevtsov! Christoph Lohmann 2012-10-05 09:38:10 +0200
  • 0b489c4a6a When the drawing behaviour was changed underline was not corrected. Christoph Lohmann 2012-10-05 09:38:10 +0200
  • 639104946a This adds the fontcache dependency to try something out. Additionally the invert mode now works as expected. In the config.def.h autohint is set to false, so the fonts are drawn correctly, without any overlapping. Christoph Lohmann 2012-10-04 22:59:45 +0200
  • 2752018e27 This adds the fontcache dependency to try something out. Additionally the Christoph Lohmann 2012-10-04 22:59:45 +0200
  • 5ef7457266 Thanks to c00kiemon5ter. Not changing bold to bright colors seems to be the right choice. Christoph Lohmann 2012-10-02 12:48:55 +0200
  • 0d88f1ef75 Thanks to c00kiemon5ter. Not changing bold to bright colors seems to be the Christoph Lohmann 2012-10-02 12:48:55 +0200
  • b5982e284d Removing the now obsolete definitions from the config.def.h file. Christoph Lohmann 2012-09-30 20:23:45 +0200
  • af9e248f97 Removing the now obsolete definitions from the config.def.h file. Christoph Lohmann 2012-09-30 20:23:45 +0200
  • a07db5787a This changes -f to be the parameter for the font. Now -f is -o. The parameters were reordered according to the alphabet too. Christoph Lohmann 2012-09-30 20:23:10 +0200
  • 5dfd5df4fe This changes -f to be the parameter for the font. Now -f is -o. Christoph Lohmann 2012-09-30 20:23:10 +0200
  • 4497d2125c Remove the cruft of the user to have to define the different font styles. Christoph Lohmann 2012-09-30 20:10:58 +0200
  • 9cae1eb0de Remove the cruft of the user to have to define the different font styles. Christoph Lohmann 2012-09-30 20:10:58 +0200
  • e496602135 We need all the colors to be available, so die() on some not available. This is a new opportunity to see if X11 somewhen handled colors in a strange way. Christoph Lohmann 2012-09-29 11:23:34 +0200
  • ed5b8700a6 We need all the colors to be available, so die() on some not available. Christoph Lohmann 2012-09-29 11:23:34 +0200
  • 15cd4ff84a All xcolors are not Xft colors and the clearing of the borders has been optimized. There is a speedup when resizing windows. Christoph Lohmann 2012-09-29 11:17:16 +0200
  • d7b1e31eec All xcolors are not Xft colors and the clearing of the borders has been Christoph Lohmann 2012-09-29 11:17:16 +0200
  • 5e5c3b8cf3 Vt escape sequences allow escape sequences in escape sequences and escape sequences, so we have to support escape sequences in escape sequences that escape sequences in escape sequences – setting a title won't notify you anymore. Christoph Lohmann 2012-09-27 19:28:44 +0200
  • 29b209f5f5 Vt escape sequences allow escape sequences in escape sequences and escape Christoph Lohmann 2012-09-27 19:28:44 +0200
  • bcbf5156be Allow control characters inside escape sequences Taken from vt100 manual programmer: Roberto E. Vargas Caballero 2012-09-26 20:55:18 +0200
  • 3af49e34f6 Allow control characters inside escape sequences Roberto E. Vargas Caballero 2012-09-26 20:55:18 +0200
  • 18e2def342 Ignore all control characters not handled Taken from vt100 programmer manual: Roberto E. Vargas Caballero 2012-09-26 20:53:46 +0200
  • a7d7e29300 Ignore all control characters not handled Roberto E. Vargas Caballero 2012-09-26 20:53:46 +0200
  • 1ad0b11415 Switching to Liberation Mono as default solely because of line drawing. A next patch to fix the font symbols in all fonts should make it easier to choose a better font. Christoph Lohmann 2012-09-26 20:21:59 +0200
  • 375b6e5b17 Switching to Liberation Mono as default solely because of line drawing. A next Christoph Lohmann 2012-09-26 20:21:59 +0200
  • 23d1b03d4e Implementing line drawing right. Christoph Lohmann 2012-09-26 20:21:08 +0200
  • 3a095984b0 Implementing line drawing right. Christoph Lohmann 2012-09-26 20:21:08 +0200
  • d8cf33c207 A reset should reset the line drawing too. Christoph Lohmann 2012-09-25 21:39:25 +0200
  • c3b0e2202b A reset should reset the line drawing too. Christoph Lohmann 2012-09-25 21:39:25 +0200
  • efe3937183 Enabling enacs and adding compatibility to xterm and urxvt for alternative charsets. Christoph Lohmann 2012-09-25 21:17:43 +0200
  • 980c5956ed Enabling enacs and adding compatibility to xterm and urxvt for alternative Christoph Lohmann 2012-09-25 21:17:43 +0200
  • 2ca5d9463d Fix bug in tputc writing to io file If -f options is enabled then tputc() writes all the data to a file. Actual code assumes that all the strings in 'c' parameters have always 1 byte length, but this is not always true, because due to utf-8 encoding some characters can have a diferent length. So it is necessary pass string length to tputc in order it can call to write() correctly. --- st.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) Roberto E. Vargas Caballero 2012-09-25 21:04:35 +0200
  • eb360e5fd1 Fix bug in tputc writing to io file Roberto E. Vargas Caballero 2012-09-25 21:04:35 +0200
  • 33eaeacaa4 Changing the default font to DejaVu Sans Mono, which is more appealing and activating antialiasing. Christoph Lohmann 2012-09-24 14:01:59 +0200
  • 246d704ba0 Changing the default font to DejaVu Sans Mono, which is more appealing and Christoph Lohmann 2012-09-24 14:01:59 +0200
  • d68253ec75 The xinit() call needs to be behind all the tty init, otherwise all the allocated structures are wrong. The xclear() is now done on purpose. Please keep X11 calls out of the way of pure tty-related calls. Christoph Lohmann 2012-09-24 11:04:26 +0200
  • 055a4f6d2c The xinit() call needs to be behind all the tty init, otherwise all the Christoph Lohmann 2012-09-24 11:04:26 +0200
  • 71fc293de2 Adding a TODO for xft fallback. Christoph Lohmann 2012-09-24 10:31:35 +0200
  • e9c677816c Adding a TODO for xft fallback. Christoph Lohmann 2012-09-24 10:31:35 +0200
  • 656c43b4c7 Add some documentetion to tsetmode The names of the terminal modes supported by vt102 are (taken from the VT220 programmer reference manual): Roberto E. Vargas Caballero 2012-09-24 10:29:37 +0200
  • 74d6abfee5 Add some documentetion to tsetmode Roberto E. Vargas Caballero 2012-09-24 10:29:37 +0200
  • 448a25dbc8 Fix LNM sequence LNM sequence is a standard ANSI mode, not a DEC private mode. --- st.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) Roberto E. Vargas Caballero 2012-09-24 10:28:35 +0200
  • c3b6345595 Fix LNM sequence Roberto E. Vargas Caballero 2012-09-24 10:28:35 +0200
  • 4dfbf487bf Add KAM sequence This sequence lock/unlock the keyboard ignoring all the key pressing events from X server. --- st.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) Roberto E. Vargas Caballero 2012-09-24 10:28:05 +0200
  • 2f215654a4 Add KAM sequence Roberto E. Vargas Caballero 2012-09-24 10:28:05 +0200
  • e2fbd25f51 Remove unused parameters in ttyresize --- st.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) Roberto E. Vargas Caballero 2012-09-24 10:27:22 +0200
  • 11bec67875 Remove unused parameters in ttyresize Roberto E. Vargas Caballero 2012-09-24 10:27:22 +0200
  • 57e9f03059 Clear X window in tsetreset() tsetreset() is called when it is necessary a full initialization of the terminal, so it also should clean the full X window and not only the terminal content. It is necessary change the order of the initialization in main(), and put xinit before of tnew(), because tnew() calls to tsetreset(), and this can cause a call to xreset() with incorrect values. --- st.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) Roberto E. Vargas Caballero 2012-09-24 10:26:50 +0200
  • b6cfff1625 Clear X window in tsetreset() Roberto E. Vargas Caballero 2012-09-24 10:26:50 +0200
  • 61ffa628ff Merging xft and current st heads. Christoph Lohmann 2012-09-24 10:24:36 +0200
  • 21a0c4a2e0 Merging xft and current st heads. Christoph Lohmann 2012-09-24 10:24:36 +0200
  • a0b0b8f694 Initial Xft support for st. More to follow. Christoph Lohmann 2012-09-24 10:20:45 +0200
  • 2b3c1219c8 Initial Xft support for st. More to follow. Christoph Lohmann 2012-09-24 10:20:45 +0200
  • eb837afafa use typedef'd unsigned type and regular bool type. Aurélien Aptel 2012-09-19 16:03:16 +0200
  • 816a70c01b use typedef'd unsigned type and regular bool type. Aurélien Aptel 2012-09-19 16:03:16 +0200
  • 3f482f4758 config.def.h: typo in comment. Aurélien Aptel 2012-09-18 19:13:19 +0200
  • 1ba5f4172f config.def.h: typo in comment. Aurélien Aptel 2012-09-18 19:13:19 +0200
  • d181afe094 LEGACY: typo. Aurélien Aptel 2012-09-18 19:08:03 +0200
  • 50a619cee3 LEGACY: typo. Aurélien Aptel 2012-09-18 19:08:03 +0200
  • 9c7579deea Redrawing is fixed. Christoph Lohmann 2012-09-17 23:14:40 +0200
  • 0eaed8f085 Redrawing is fixed. Christoph Lohmann 2012-09-17 23:14:40 +0200
  • 8b0167b596 Fixing the redrawing patch of k0ga, so it's using xclear() in redraw() too. Christoph Lohmann 2012-09-17 22:44:27 +0200
  • e4bf2679c1 Fixing the redrawing patch of k0ga, so it's using xclear() in redraw() too. Christoph Lohmann 2012-09-17 22:44:27 +0200
  • 5e32f3c2f4 Clean windows display after resizing Some times the size after a resizing is not an exact multiply of a number of characters, so redrawn the screen using the lines and columns of the neww size can cause that some old graphics keep in the screen. Solution is clean all the windows with the background color. --- st.c | 3 +++ 1 file changed, 3 insertions(+) Roberto E. Vargas Caballero 2012-09-17 22:13:17 +0200
  • 4876d6e05b Clean windows display after resizing Roberto E. Vargas Caballero 2012-09-17 22:13:17 +0200
  • 40be64cff8 Copy non set positions as spaces st selection don't insert in the selection position whose value is not set. This is correct for the positions in the end of the line, but cause some problems in the beginning. For example echo -e 'a\tb' will print in the screen: Roberto E. Vargas Caballero 2012-09-17 22:13:09 +0200
  • 88a8f85a8a Copy non set positions as spaces Roberto E. Vargas Caballero 2012-09-17 22:13:09 +0200
  • 63cab32d05 Add newline in error messages --- st.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Roberto E. Vargas Caballero 2012-09-17 22:11:28 +0200
  • 111199cf22 Add newline in error messages Roberto E. Vargas Caballero 2012-09-17 22:11:28 +0200
  • cf7edb2641 Add xcalloc wrapper malloc and realloc are called through xmalloc and xrealloc, so calloc should be called through xcalloc. --- st.c | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) Roberto E. Vargas Caballero 2012-09-17 22:11:20 +0200
  • e3671006db Add xcalloc wrapper Roberto E. Vargas Caballero 2012-09-17 22:11:20 +0200
  • 8a9c8b7502 Applying a shortening proposal for the run loop of k0ga. Christoph Lohmann 2012-09-16 20:43:51 +0200
  • 426887ccec Applying a shortening proposal for the run loop of k0ga. Christoph Lohmann 2012-09-16 20:43:51 +0200
  • 7d54d35a95 Remove call to draw in resize In previous commits draw was removed from all the X events, but I forgot do it in resize. --- st.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) Roberto E. Vargas Caballero 2012-09-16 14:02:35 +0200
  • 58a57a2305 Remove call to draw in resize Roberto E. Vargas Caballero 2012-09-16 14:02:35 +0200
  • 1c316bedce Adding some more fields to the manpage, like authors, license etc. Christoph Lohmann 2012-09-16 13:59:10 +0200
  • 2257932261 Adding some more fields to the manpage, like authors, license etc. Christoph Lohmann 2012-09-16 13:59:10 +0200
  • 851b15293a Remove some solved issues and add some new. Christoph Lohmann 2012-09-16 13:50:07 +0200
  • b93741e34d Remove some solved issues and add some new. Christoph Lohmann 2012-09-16 13:50:07 +0200
  • d41d383aad Preliminary solution to the stuttering problem. Christoph Lohmann 2012-09-16 13:22:23 +0200
  • 9fbafe55c9 Preliminary solution to the stuttering problem. Christoph Lohmann 2012-09-16 13:22:23 +0200
  • 6bf6ef46f2 Fix selection bug After the commit named "Remove timeout in the main loop", selection is not working in the proper way. After selecting something, press mouse button in a line outside of selection causes an incorrect highlight. This patch fix the problem forcing a draw after the press event, but this is only a fast hack. Real solution means rewriting selection code. --- st.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) Roberto E. Vargas Caballero 2012-09-16 10:49:12 +0200
  • d81250e5f9 Fix selection bug Roberto E. Vargas Caballero 2012-09-16 10:49:12 +0200
  • c624bb5703 Render only once in each main loop iteration draw() runs over all lines of the screen and renders only the dirty lines, this avoids render lines which are not modified since last draw() call. In this moment the main loop is something like: Roberto E. Vargas Caballero 2012-09-16 10:48:38 +0200
  • c5a9b799d4 Render only once in each main loop iteration Roberto E. Vargas Caballero 2012-09-16 10:48:38 +0200
  • f3704e6553 Remove timeout in the main loop The main loop waits until there is some data to read in file descriptors of the X server or the pseudo tty. But it uses a timeout in select(), which causes that st awake each 20 ms, even it doesn't have something to do. This patch removes this problem removing the timeout, which is not needed. --- TODO | 1 - st.c | 27 +++------------------------ 2 files changed, 3 insertions(+), 25 deletions(-) Roberto E. Vargas Caballero 2012-09-16 10:47:21 +0200
  • 85849ce72a Remove timeout in the main loop Roberto E. Vargas Caballero 2012-09-16 10:47:21 +0200