1
0
mirror of git://git.suckless.org/st synced 2025-04-18 19:24:46 +01:00

Commit Graph

  • f8db65439a Fixing bold fonts in reverse mode. Christoph Lohmann 2012-11-03 13:43:20 +01:00
  • 76a8e5f72b Now italic and bold works. Christoph Lohmann 2012-11-03 08:35:32 +01:00
  • abe85c0e99 Fixing an out-of-bound bug in the selection code. Thanks Szabolczs Nagy! Christoph Lohmann 2012-11-03 03:24:22 +01:00
  • 091ae143ce Fixing the italic-bold font check. Thanks nsz. Christoph Lohmann 2012-11-02 23:19:56 +01:00
  • cd90969cab Added tag 0.3 for changeset 9d54ce4daf34 Christoph Lohmann 2012-11-02 20:08:51 +01:00
  • df62d3dab8 0.3 release. 0.3 Christoph Lohmann 2012-11-02 20:08:27 +01:00
  • b0ed3e2897 0.3 release. Christoph Lohmann 2012-11-02 20:08:27 +01:00
  • d92ad64017 Make it possible to use the corefont font description too. It is not very useful, but easy to implement. Christoph Lohmann 2012-11-02 20:07:11 +01:00
  • c631e9bb91 Make it possible to use the corefont font description too. It is not very Christoph Lohmann 2012-11-02 20:07:11 +01:00
  • dcf0955466 Moving to the dwm config.h variable usage. Christoph Lohmann 2012-11-02 19:56:02 +01:00
  • 393825f9f8 Moving to the dwm config.h variable usage. Christoph Lohmann 2012-11-02 19:56:02 +01:00
  • 48389be574 Adding a FAQ to reference utmp(1). Christoph Lohmann 2012-10-31 20:36:32 +01:00
  • e5d7c5a69e Adding a FAQ to reference utmp(1). Christoph Lohmann 2012-10-31 20:36:32 +01:00
  • d84e2978c2 Cleaning up the TODO file. Christoph Lohmann 2012-10-31 20:35:07 +01:00
  • 784765ca35 Cleaning up the TODO file. Christoph Lohmann 2012-10-31 20:35:07 +01:00
  • cb9d92ce51 Removing the now senseless comment in config.def.h. Thanks to bnwe! Christoph Lohmann 2012-10-28 14:13:39 +01:00
  • 1d378227c0 Removing the now senseless comment in config.def.h. Thanks to bnwe! Christoph Lohmann 2012-10-28 14:13:39 +01:00
  • 32173a11b4 Applying the patch of the little girl <yui@blekksprut.net> to make cjk input possible. Thanks! Christoph Lohmann 2012-10-28 13:37:11 +01:00
  • c5dd7fb377 Applying the patch of the little girl <yui@blekksprut.net> to make cjk input Christoph Lohmann 2012-10-28 13:37:11 +01:00
  • 7168d85f97 Applying the tab expansion patch from koga. Christoph Lohmann 2012-10-28 13:35:00 +01:00
  • b56a0da283 Applying the tab expansion patch from koga. Christoph Lohmann 2012-10-28 13:35:00 +01:00
  • 53eda6d525 Adding a more flexible fontstring handling, shortcuts and a zoom function. Christoph Lohmann 2012-10-28 13:25:53 +01:00
  • 71b09ec4f1 Adding a more flexible fontstring handling, shortcuts and a zoom function. Christoph Lohmann 2012-10-28 13:25:53 +01:00
  • 91804d7227 Applying the patch of Roberto Caballero to set WINDOWID and all the pwuid() variables. Thanks! xinit() and ttynew() had to be switched in their call-appearance. Otherwise xw.win is not set. Christoph Lohmann 2012-10-28 06:54:08 +01:00
  • 6d4e525ed9 Applying the patch of Roberto Caballero to set WINDOWID and all the pwuid() Christoph Lohmann 2012-10-28 06:54:08 +01:00
  • 4abecf9ce4 Applying the patch of Rafa Garcia Gallega <rafael.garcia.gallego@gmail.com> to not emulate the vt100 behaviour of selecting all whitespaces. Thanks! Christoph Lohmann 2012-10-28 06:32:54 +01:00
  • 35421371ca Applying the patch of Rafa Garcia Gallega <rafael.garcia.gallego@gmail.com> to Christoph Lohmann 2012-10-28 06:32:54 +01:00
  • 5de1468554 Add error control to iofile write can write less bytes than we request, so it is necessary check the return value, in case of error print a message and don't continnue writing in the file. --- st.c | 39 ++++++++++++++++++++++++++++++--------- 1 file changed, 30 insertions(+), 9 deletions(-) Roberto E. Vargas Caballero 2012-10-28 06:27:42 +01:00
  • ee3fbeb6c8 Add error control to iofile Roberto E. Vargas Caballero 2012-10-28 06:27:42 +01:00
  • ab40392d08 Well, I was confused. Damn state exams. Instead of discussing this shit I should really learn opthalmology instead. :O Christoph Lohmann 2012-10-09 19:40:37 +02:00
  • 2e38ab7afd Well, I was confused. Damn state exams. Instead of discussing this shit I Christoph Lohmann 2012-10-09 19:40:37 +02:00
  • fa952e1901 If there is really someone without SHELL set, help him/her. Christoph Lohmann 2012-10-09 19:33:26 +02:00
  • eb6713acf1 If there is really someone without SHELL set, help him/her. Christoph Lohmann 2012-10-09 19:33:26 +02:00
  • 5967a7c0db Add DEC alignment test This sequence was used by DEC personal in to for verifying the screen adjust of terminals. It is the unique test sequence implemented by all the emulators, and I think it is because they want be conforms with vttest which uses this sequence in some tests. --- st.c | 31 +++++++++++++++++++++++-------- 1 file changed, 23 insertions(+), 8 deletions(-) Roberto E. Vargas Caballero 2012-10-07 11:06:17 +02:00
  • 9e813947cf Add DEC alignment test Roberto E. Vargas Caballero 2012-10-07 11:06:17 +02:00
  • d627351429 Avoid initialization of vt100_0 in each call to tsetchar If vt100_0 is a automatic variable then it is initializated in each call to tsetchar, but if the variable is static it is initializated only in compile time. --- st.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Roberto E. Vargas Caballero 2012-10-07 11:06:08 +02:00
  • b7a7f171ef Avoid initialization of vt100_0 in each call to tsetchar Roberto E. Vargas Caballero 2012-10-07 11:06:08 +02:00
  • 976b34d1fc Fix Identification sequences Do not send NUL character in the identification (use (sizeof(VT102ID) - 1), and finish the sequence once you execute it. --- st.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) Roberto E. Vargas Caballero 2012-10-07 11:06:00 +02:00
  • 25f47cb83a Fix Identification sequences Roberto E. Vargas Caballero 2012-10-07 11:06:00 +02:00
  • f0ee36878c Add DA and DECID sequences These sequences are used by the host in order to can detect which kind of terminal is connected. St will answer like a vt102 terminal with this patch. --- st.c | 9 +++++++++ 1 file changed, 9 insertions(+) Roberto E. Vargas Caballero 2012-10-06 21:19:56 +02:00
  • ffeeb678c5 Add DA and DECID sequences Roberto E. Vargas Caballero 2012-10-06 21:19:56 +02:00
  • a90662fdcf Fixing a typo. Christoph Lohmann 2012-10-06 21:02:25 +02:00
  • bffa6e5cc6 Fixing a typo. Christoph Lohmann 2012-10-06 21:02:25 +02:00
  • 852db9e9b0 Fixing a off-by-one error in the new border clearing code. Christoph Lohmann 2012-10-06 20:52:22 +02:00
  • b16b5d77d3 Fixing a off-by-one error in the new border clearing code. Christoph Lohmann 2012-10-06 20:52:22 +02:00
  • a9092bc48b Print control codes only in graphic mode Non handled codes must be ignored, except in graphic mode. Also STR sequences have higher priority than control codes, so they must be handled before of them. --- st.c | 160 ++++++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 87 insertions(+), 73 deletions(-) Roberto E. Vargas Caballero 2012-10-06 19:15:30 +02:00
  • 2bd0c23fa7 Print control codes only in graphic mode Roberto E. Vargas Caballero 2012-10-06 19:15:30 +02:00
  • 506b8ea0c6 Add SI and SO control codes SI and SO allows change the G0 and G1 selection. This implementation is not full vt100 compatible, but it is complatible with linux virtual terminal implementation. For full vt100 compatibility we need remake a lot of stuff relate to the different charmaps. --- st.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) Roberto E. Vargas Caballero 2012-10-06 19:13:36 +02:00
  • 034dc71fb8 Add SI and SO control codes Roberto E. Vargas Caballero 2012-10-06 19:13:36 +02:00
  • 3fce3392ac Add SUB and CAN control codes These control codes reset any escape sequence already initialised. --- st.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) Roberto E. Vargas Caballero 2012-10-06 19:13:08 +02:00
  • fbfa1f83eb Add SUB and CAN control codes Roberto E. Vargas Caballero 2012-10-06 19:13:08 +02:00
  • 70aeaf7f2f Add documentation to control codes Add the documentation from the vt100 manual programmer: Roberto E. Vargas Caballero 2012-10-06 19:12:46 +02:00
  • ac8f05c45a Add documentation to control codes Roberto E. Vargas Caballero 2012-10-06 19:12:46 +02:00
  • ec9fe428b8 Forgot to remove the xclearborders() definition from the last commit. Christoph Lohmann 2012-10-06 13:45:14 +02:00
  • 02f3b37a2d Forgot to remove the xclearborders() definition from the last commit. Christoph Lohmann 2012-10-06 13:45:14 +02:00
  • 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 +02:00
  • 0cc7ee5e73 Removing the xclearborders() hack. St now cleans up the parts of the border, Christoph Lohmann 2012-10-06 13:43:01 +02:00
  • 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 +02:00
  • 4eddf19fdc The style inquisition was here. Yes, making it a unified style. The last Christoph Lohmann 2012-10-06 09:58:45 +02:00
  • b9f239abe6 Adding the patch of David Dufberg Töttrup to implement WM_DELETE_WINDOW. Thank you! Christoph Lohmann 2012-10-05 22:59:08 +02:00
  • 7efa4514d1 Adding the patch of David Dufberg Töttrup to implement WM_DELETE_WINDOW. Thank you! Christoph Lohmann 2012-10-05 22:59:08 +02:00
  • 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 +02:00
  • bf6cf05ba5 Fixing the brightening on bold. For the 256 colors and greyscale I assumed a Christoph Lohmann 2012-10-05 22:51:08 +02:00
  • 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 +02:00
  • 5caa46cf57 Turning on antialias by default really makes it more unreadable. Maybe if once Christoph Lohmann 2012-10-05 11:07:55 +02:00
  • c1ef12591b When the drawing behaviour was changed underline was not corrected. Thanks to Peter A. Shevtsov! Christoph Lohmann 2012-10-05 09:38:10 +02:00
  • 0b489c4a6a When the drawing behaviour was changed underline was not corrected. Christoph Lohmann 2012-10-05 09:38:10 +02:00
  • 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 +02:00
  • 2752018e27 This adds the fontcache dependency to try something out. Additionally the Christoph Lohmann 2012-10-04 22:59:45 +02:00
  • 5ef7457266 Thanks to c00kiemon5ter. Not changing bold to bright colors seems to be the right choice. Christoph Lohmann 2012-10-02 12:48:55 +02:00
  • 0d88f1ef75 Thanks to c00kiemon5ter. Not changing bold to bright colors seems to be the Christoph Lohmann 2012-10-02 12:48:55 +02:00
  • b5982e284d Removing the now obsolete definitions from the config.def.h file. Christoph Lohmann 2012-09-30 20:23:45 +02:00
  • af9e248f97 Removing the now obsolete definitions from the config.def.h file. Christoph Lohmann 2012-09-30 20:23:45 +02:00
  • 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 +02:00
  • 5dfd5df4fe This changes -f to be the parameter for the font. Now -f is -o. Christoph Lohmann 2012-09-30 20:23:10 +02:00
  • 4497d2125c Remove the cruft of the user to have to define the different font styles. Christoph Lohmann 2012-09-30 20:10:58 +02:00
  • 9cae1eb0de Remove the cruft of the user to have to define the different font styles. Christoph Lohmann 2012-09-30 20:10:58 +02:00
  • 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 +02:00
  • ed5b8700a6 We need all the colors to be available, so die() on some not available. Christoph Lohmann 2012-09-29 11:23:34 +02:00
  • 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 +02:00
  • d7b1e31eec All xcolors are not Xft colors and the clearing of the borders has been Christoph Lohmann 2012-09-29 11:17:16 +02:00
  • 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 +02:00
  • 29b209f5f5 Vt escape sequences allow escape sequences in escape sequences and escape Christoph Lohmann 2012-09-27 19:28:44 +02:00
  • bcbf5156be Allow control characters inside escape sequences Taken from vt100 manual programmer: Roberto E. Vargas Caballero 2012-09-26 20:55:18 +02:00
  • 3af49e34f6 Allow control characters inside escape sequences Roberto E. Vargas Caballero 2012-09-26 20:55:18 +02:00
  • 18e2def342 Ignore all control characters not handled Taken from vt100 programmer manual: Roberto E. Vargas Caballero 2012-09-26 20:53:46 +02:00
  • a7d7e29300 Ignore all control characters not handled Roberto E. Vargas Caballero 2012-09-26 20:53:46 +02:00
  • 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 +02:00
  • 375b6e5b17 Switching to Liberation Mono as default solely because of line drawing. A next Christoph Lohmann 2012-09-26 20:21:59 +02:00
  • 23d1b03d4e Implementing line drawing right. Christoph Lohmann 2012-09-26 20:21:08 +02:00
  • 3a095984b0 Implementing line drawing right. Christoph Lohmann 2012-09-26 20:21:08 +02:00
  • d8cf33c207 A reset should reset the line drawing too. Christoph Lohmann 2012-09-25 21:39:25 +02:00
  • c3b0e2202b A reset should reset the line drawing too. Christoph Lohmann 2012-09-25 21:39:25 +02:00
  • efe3937183 Enabling enacs and adding compatibility to xterm and urxvt for alternative charsets. Christoph Lohmann 2012-09-25 21:17:43 +02:00
  • 980c5956ed Enabling enacs and adding compatibility to xterm and urxvt for alternative Christoph Lohmann 2012-09-25 21:17:43 +02:00
  • 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 +02:00
  • eb360e5fd1 Fix bug in tputc writing to io file Roberto E. Vargas Caballero 2012-09-25 21:04:35 +02:00
  • 33eaeacaa4 Changing the default font to DejaVu Sans Mono, which is more appealing and activating antialiasing. Christoph Lohmann 2012-09-24 14:01:59 +02:00
  • 246d704ba0 Changing the default font to DejaVu Sans Mono, which is more appealing and Christoph Lohmann 2012-09-24 14:01:59 +02:00
  • 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 +02:00