Commit Graph

  • 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
  • 9c04eb529f Call XSync in redraw It is necessary call to XSync if you want a good tput flash, because in other way you can not be sure that white screen will be shown. --- st.c | 1 + 1 file changed, 1 insertion(+) Roberto E. Vargas Caballero 2012-09-16 10:46:08 +0200
  • 15cc8754c2 Call XSync in redraw Roberto E. Vargas Caballero 2012-09-16 10:46:08 +0200
  • 6b42002e1a Call XdbeQueryExtension before of calling any Xdbe function XdbeQueryExtension() tells to the caller if the Xdbe extension is present in the X server, so it should be called for sanity. But like is said in XdbeQueryExtension(3): Roberto E. Vargas Caballero 2012-09-16 10:45:36 +0200
  • ba1e9daeef Call XdbeQueryExtension before of calling any Xdbe function Roberto E. Vargas Caballero 2012-09-16 10:45:36 +0200
  • dccba949b5 Implementing italic-bold. This will require an increase of the avgWdth. Christoph Lohmann 2012-09-14 19:46:07 +0200
  • a62789788c Implementing italic-bold. This will require an increase of the avgWdth. Christoph Lohmann 2012-09-14 19:46:07 +0200
  • 30e167c457 Ignore NUL character as a padding character. Telnet may use this. Patch of Roberto Vargas. Christoph Lohmann 2012-09-13 23:21:40 +0200
  • b156352656 Ignore NUL character as a padding character. Telnet may use this. Patch of Christoph Lohmann 2012-09-13 23:21:40 +0200
  • 184c38c88b Importing the patch of Roberto Vargas to inherit signal handlers. Christoph Lohmann 2012-09-13 23:19:57 +0200
  • 776a022e39 Importing the patch of Roberto Vargas to inherit signal handlers. Christoph Lohmann 2012-09-13 23:19:57 +0200
  • 12516e2181 Reset window title on terminal reset too. Christoph Lohmann 2012-09-13 07:16:38 +0200
  • fe2ba95b3d Reset window title on terminal reset too. Christoph Lohmann 2012-09-13 07:16:38 +0200
  • 81283df211 Adding a statemant on legacy support. Christoph Lohmann 2012-09-13 07:04:59 +0200
  • 977c5d9089 Adding a statemant on legacy support. Christoph Lohmann 2012-09-13 07:04:59 +0200
  • 42ebd8ef7f Adding another bold off sequence. Christoph Lohmann 2012-09-13 07:04:34 +0200
  • d018c9c8ef Adding another bold off sequence. Christoph Lohmann 2012-09-13 07:04:34 +0200
  • d254935875 Remove buffering to fileio instead of calling fflush By default text files are line buffered, and this means that -f option will not write the line until a \n is printed. This is not very useful for debugging, so a call to fflush was added. This patch substitute this call (which will be done by each character painted) by the full remove of the buffering in the file. --- st.c | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) Roberto E. Vargas Caballero 2012-09-12 21:51:55 +0200
  • 720cb816dc Remove buffering to fileio instead of calling fflush Roberto E. Vargas Caballero 2012-09-12 21:51:55 +0200
  • adc4631574 Add xmalloc and xrealloc wrappers If malloc or realloc fail they return NULL. Theorically this condition should be tested in the code, but it's a strange condition today (basically if this is hapenning thenyou have a big problem), and even Linux never returns NULL in the default configuration (only if the process don't have room in the space address, something a bit impossible in the case of st). But stis enough small for being executed in low resources computers where this can be a real problem. So the easy way is creating a wrappers function for them and call to die in case of error. --- st.c | 44 +++++++++++++++++++++++++++++++------------- 1 file changed, 31 insertions(+), 13 deletions(-) Roberto E. Vargas Caballero 2012-09-12 21:25:35 +0200
  • b9d5fec4f2 Add xmalloc and xrealloc wrappers Roberto E. Vargas Caballero 2012-09-12 21:25:35 +0200
  • 91d32161fc Make nyancat(1) work. Important release feature! Christoph Lohmann 2012-09-12 13:20:10 +0200
  • 8f1144edee Make nyancat(1) work. Important release feature! Christoph Lohmann 2012-09-12 13:20:10 +0200
  • 04b6bee980 Add preliminary blink stubs. Real implementation is still missing. Christoph Lohmann 2012-09-12 13:08:26 +0200
  • 121d9109e8 Add preliminary blink stubs. Real implementation is still missing. Christoph Lohmann 2012-09-12 13:08:26 +0200
  • 1e334a1469 Add another obscure way to set a window title. Christoph Lohmann 2012-09-12 13:00:39 +0200
  • c092bce366 Add another obscure way to set a window title. Christoph Lohmann 2012-09-12 13:00:39 +0200
  • 10cb169ede Fixing the too small window in non-tiling window managers. Christoph Lohmann 2012-09-10 13:39:41 +0200
  • af29fb2a50 Fixing the too small window in non-tiling window managers. Christoph Lohmann 2012-09-10 13:39:41 +0200
  • e5588098c0 Making the selection work again. Christoph Lohmann 2012-09-06 08:02:56 +0200
  • 122ed57702 Making the selection work again. Christoph Lohmann 2012-09-06 08:02:56 +0200
  • 25cdfc8483 Allow simpler stdout -f handling. Christoph Lohmann 2012-09-06 00:00:50 +0200
  • a1cd28f809 Allow simpler stdout -f handling. Christoph Lohmann 2012-09-06 00:00:50 +0200
  • b576d2c551 Adding instantenous debug output and fixing italic with a reset. Christoph Lohmann 2012-09-05 23:38:57 +0200
  • f2da43a0b6 Adding instantenous debug output and fixing italic with a reset. Christoph Lohmann 2012-09-05 23:38:57 +0200
  • f48c2b1484 Adding the removal of the timeouts to the TODO. Christoph Lohmann 2012-09-05 23:06:59 +0200
  • 86cf8e3073 Adding the removal of the timeouts to the TODO. Christoph Lohmann 2012-09-05 23:06:59 +0200
  • fd7f78f2c7 Removing masks for unhandled enter and leaving events. Christoph Lohmann 2012-09-05 22:39:09 +0200
  • 4a4ae19158 Removing masks for unhandled enter and leaving events. Christoph Lohmann 2012-09-05 22:39:09 +0200
  • 001b0152a4 If the selection is cleared, draw() and do it on button press too. Christoph Lohmann 2012-09-05 22:17:42 +0200
  • dd0b7a077f If the selection is cleared, draw() and do it on button press too. Christoph Lohmann 2012-09-05 22:17:42 +0200
  • 62c5abf2a7 Unhighlight selection when selection is owner by other window st marks the active selection using reverse colors in the box selection, but once that another window becomes owner of the selection, it is very confusing that st keeps highlight the old selection. Usually terminal emulators remove the highlight when it is not valid anymore. Roberto E. Vargas Caballero 2012-09-05 21:55:45 +0200
  • f471a32d29 Unhighlight selection when selection is owner by other window Roberto E. Vargas Caballero 2012-09-05 21:55:45 +0200
  • a683de5364 Forcing the parameter limit to xcopy() and selpaste(). Thanks to Rob Pilling. Christoph Lohmann 2012-09-05 21:54:52 +0200
  • 017af76f5c Forcing the parameter limit to xcopy() and selpaste(). Thanks to Rob Pilling. Christoph Lohmann 2012-09-05 21:54:52 +0200
  • d0973d19da Removing unneeded arguments to copy(). Thanks to Andrew Hills. Christoph Lohmann 2012-09-05 21:52:01 +0200
  • 42505c5215 Removing unneeded arguments to copy(). Thanks to Andrew Hills. Christoph Lohmann 2012-09-05 21:52:01 +0200
  • f5c6bcf03a Implement italic font support. Christoph Lohmann 2012-09-05 21:48:26 +0200
  • 462a966ee2 Implement italic font support. Christoph Lohmann 2012-09-05 21:48:26 +0200
  • 0e0a7f9130 Add to TODO to make function keys work. Christoph Lohmann 2012-09-05 01:32:42 +0200
  • 56c551e4f4 Add to TODO to make function keys work. Christoph Lohmann 2012-09-05 01:32:42 +0200
  • c238dbae5f Enable keypad set and unset commands. Christoph Lohmann 2012-09-05 01:25:37 +0200
  • a61b9ea82e Enable keypad set and unset commands. Christoph Lohmann 2012-09-05 01:25:37 +0200
  • 245a6418b4 Disable BCE again. Christoph Lohmann 2012-09-05 00:58:17 +0200
  • da4a77edbe Disable BCE again. Christoph Lohmann 2012-09-05 00:58:17 +0200
  • 1afbb7799f Removing the resize issue from the TODO file. Christoph Lohmann 2012-09-05 00:09:13 +0200
  • 98dc91eb82 Removing the resize issue from the TODO file. Christoph Lohmann 2012-09-05 00:09:13 +0200
  • 76a86e1612 Fixing the resizing behaviour. Christoph Lohmann 2012-09-05 00:08:13 +0200
  • 67c1a23053 Fixing the resizing behaviour. Christoph Lohmann 2012-09-05 00:08:13 +0200
  • a9550744b5 Forgot one line. It's late. Christoph Lohmann 2012-09-04 22:51:29 +0200
  • e09709d92d Forgot one line. It's late. Christoph Lohmann 2012-09-04 22:51:29 +0200
  • b9567a9b18 Cleaning up the fixed window size and the resizing of clients. Christoph Lohmann 2012-09-04 22:44:33 +0200
  • b1d383a0a3 Cleaning up the fixed window size and the resizing of clients. Christoph Lohmann 2012-09-04 22:44:33 +0200
  • 6cd52d6c2f Another thing for TODO – resize. Christoph Lohmann 2012-09-04 22:06:54 +0200
  • e02d72441a Another thing for TODO – resize. Christoph Lohmann 2012-09-04 22:06:54 +0200