693 Commits (9984ad4ba730b043d064095dca42b490904e38f3)

Author SHA1 Message Date
noname 68d97457ec Remove argument names from function prototypes.
11 years ago
noname 49672dac7b Style fix in tdumpsel.
11 years ago
noname f21e47f44a Use BETWEEN in tinsertblankline and tdeleteline.
11 years ago
Christoph Lohmann 87abc7cd59 It's 2014 now.
11 years ago
noname@inventati.org 1388870331 move MODBIT to Macros section
11 years ago
noname@inventati.org 6b56cbf9cc misplaced parenthesis in LEN macro
11 years ago
Markus Teich 3269bf213d remove confusing SERRNO macro
11 years ago
noname@inventati.org 4ad2fc7f18 Simplify techo
11 years ago
noname@inventati.org dc74c4f729 typedefs instead of #defines
11 years ago
q@c9x.me b8d6171cb0 fix cursor handling when alt screen is disabled
11 years ago
Roberto E. Vargas Caballero ebb6e03201 Merge remote-tracking branch 'origin/master' into omaster
11 years ago
Christoph Lohmann f27b44b7c2 Removing two unnecessary gettimeofday().
11 years ago
Toaster Toaster 3cb80840db Increment XSync consistency
11 years ago
Christoph Lohmann a495fce128 There is no need for a full dirt redraw.
11 years ago
Christoph Lohmann 6f4cfa5136 Fixing a compiler warning with the assignment.
11 years ago
Rafa Garcia Gallego 672e4e4b03 Fix segfault when pressing PrintScr without a selection
11 years ago
Damian Okrasa 45b808b88e new utf decoder
11 years ago
Roberto E. Vargas Caballero 71328cbcdc Merge branch 'master' of ssh://suckless.org/gitrepos/st
11 years ago
Roberto E. Vargas Caballero 78f8843bc7 Add sequence for printing the current selection
11 years ago
Roberto E. Vargas Caballero 96c230e476 Add key definition for printer sequences
11 years ago
Roberto E. Vargas Caballero 6166a1afc8 Add MC for the full screen
11 years ago
Roberto E. Vargas Caballero cf332a325d Add MC for a single line
11 years ago
Christoph Lohmann 1584956a60 Style cleanup.
11 years ago
Christoph Lohmann d2ec39f0ef Style matters.
11 years ago
Roberto E. Vargas Caballero 1f0d981bd7 Add MC sequence
11 years ago
Roberto E. Vargas Caballero cdb3b1892a Add xstrdup function
11 years ago
Roberto E. Vargas Caballero 315b7ee9ce Merge remote-tracking branch 'origin/master'
11 years ago
Christoph Lohmann c2026a4950 Removing the w3img support.
11 years ago
Roberto E. Vargas Caballero 6521b5dc32 Remove non defined behaviour in selcopy
11 years ago
Roberto E. Vargas Caballero a8d5870073 Remove duplicated code in strhandle
11 years ago
Eric Pruitt 9559100130 Use character scaling in XCopyArea
11 years ago
Amadeusz Sławiński c0a56ef4be Make w3mimgdisplay work with st
11 years ago
Amadeusz Sławiński 9df9a4723d Fix truecolor escapes, when both bg and fg are set
11 years ago
Eon S. Jeon e8dba89164 query pixel size from matched font
11 years ago
Eon S. Jeon d60ee7337b Prevent resizing stdin
11 years ago
Eric Pruitt 39f28b18b7 Set _NET_WM_PID attribute
11 years ago
René Rietz 08a3eea571 Add stdint include
11 years ago
Roberto E. Vargas Caballero 53474391bc Fix stupid bug in tdefcolor returning -1 in unsigned function
11 years ago
Johannes Hofmann 1fe0a5f39a Use int instead of long for color
11 years ago
Carlos J. Torres 4435e0ee67 add _NET_WM_NAME
11 years ago
Mark Edgar 7263820759 Simplify logic in kmap().
11 years ago
Mark Edgar 1fa27b93f9 Simplify logic in match().
11 years ago
Roberto E. Vargas Caballero 3d3c37bc70 Merge remote-tracking branch 'origin/master' into omaster
11 years ago
Rob Pilling 489982d4b8 Fixed lock up when system time jumps backwards
11 years ago
Mark Edgar 297c886b72 Ignore numlock (Mod2Mask) for button events too.
11 years ago
Mark Edgar 0f6942cdf6 Avoid buffer overrun in bpress()
11 years ago
Mark Edgar 8e577322a3 New ttysend() function calls ttywrite() and techo(). Honor MODE_ECHO when pasting in selnotify().
11 years ago
Mark Edgar 939e149544 Avoid buffer overrun in kpress() and remove limit on shortcut strings.
11 years ago
Mark Edgar 02ae3ce6fd Simplify Mod1 logic in kpress(), eliminating locals and a memcpy.
11 years ago
Roberto E. Vargas Caballero 7a4eefe87c Add support for multiple charset definitions
11 years ago
Christoph Lohmann c5c2365ab7 People, learn to keep to styles. Thanks.
11 years ago
Mihail Zenkov 62ab938965 Fix save/restore cursor
11 years ago
Mihail Zenkov 2b1bc8087f Add DSR cursor position sequence
11 years ago
Maurice Quennet eeae9b0cee Fix core in multi-line selection on OpenBSD
11 years ago
Egmont Koblinger 8ac0a5f872 Add bracketed paste mode
11 years ago
Michael Forney eae31a532e Fix some bugs in mouse tracking logic
11 years ago
Roberto E. Vargas Caballero bef599bb27 Add audible bell
11 years ago
Christoph Lohmann 210dda9570 Wide character support.
11 years ago
Mark Edgar 4245ba0d12 Correctly initialize altscreen when defaultbg is not 0.
11 years ago
Eon S. Jeon f3d438b101 Regarding commit 7e3cff3
11 years ago
Christoph Lohmann 8d21ced085 Correcting the bitmask value check.
12 years ago
Eon S. Jeon 347a45c352 Fix signess of tdefcolor
12 years ago
Alexander Sedov 22eeda56b7 Fixed memory leak in xsettitle().
12 years ago
Michael Forney 86c03ddc82 Fix blink mode check
12 years ago
Eric Pruitt 7e3cff33ff Use character size scaling factors
12 years ago
Roberto E. Vargas Caballero aaee0e8b28 Reload colors in reset
12 years ago
Roberto E. Vargas Caballero 8dde8cde41 Add RGB color definition
12 years ago
Eon S. Jeon 33ad83d492 Improved font caching
12 years ago
Markus Teich 40e4d76d22 fix: whitespace
12 years ago
Alexander Sedov fbc589d506 Remove long text being cropped/wrapped to standard 80x24 on launch.
12 years ago
Markus Teich 6fc471ccc6 fix: consistent usage of bitmask operations on unicode functions
12 years ago
Markus Teich 8b602a37a6 fix: do not need an extra variable for a single read
12 years ago
Roberto E. Vargas Caballero 6e1c7c8afc Fix match function bugs
12 years ago
Roberto E. Vargas Caballero 90c6f055b6 Remove unneded call to draw
12 years ago
Roberto E. Vargas Caballero ebbac77d74 Fix selection clearing
12 years ago
Christoph Lohmann 5d3318c0c7 Fixing title setting with the title argument.
12 years ago
Christoph Lohmann 369734c80c Adding xterm behaviour to setting the title.
12 years ago
Christoph Lohmann 7530694987 Adding true mouse motion support.
12 years ago
Christoph Lohmann d743b93fda This is a shorter bit handling in MODE_MOUSE.
12 years ago
Christoph Lohmann 317b785921 Add some comments about the other mouse reporting modes.
12 years ago
Christoph Lohmann 405fd89ac1 Implementing mouse focus and all events.
12 years ago
Christoph Lohmann 8315dc4179 Fixing bad highlighting on first SNAP_WORD multiline select.
12 years ago
Christoph Lohmann b5144100a5 Fixing the selection in a single line again.
12 years ago
Christoph Lohmann 8f1bef0502 Fixing the selection scrolling and the selection naming.
12 years ago
Christoph Lohmann 8f47c4a4de Lazy font unloading too.
12 years ago
Christoph Lohmann 62502a88e9 Lazy fontset loading.
12 years ago
Christoph Lohmann 678eff6e18 Removing an old select() regression.
12 years ago
Christoph Lohmann 8e968739c3 Allow more complex delimiters for word selections.
12 years ago
Christoph Lohmann 0c2b513d01 Expand the last line with '\n' in case of overselection.
12 years ago
Christoph Lohmann 634c247fa7 Select to the end of row if end of line is reached.
12 years ago
Christoph Lohmann 5938fa9d32 Better comments for the snapping code.
12 years ago
Christoph Lohmann 8618386de9 More stable blinking.
12 years ago
Christoph Lohmann 911ba5674b Selection snapping is now considering wrapping.
12 years ago
Christoph Lohmann a53017c8b4 Add a possibility to modify the string sent by mouse buttons.
12 years ago
Christoph Lohmann a77b01176a Be more efficient in blinking.
12 years ago
Christoph Lohmann 1e09726518 Enable blinking in st.
12 years ago
Christoph Lohmann 1b2751f5c2 Fixing the selection handling to allow one char selection.
12 years ago
Christoph Lohmann 0851f2be2a Fixing the selection issue in altscreens.
12 years ago
Alexander Sedov 011c0f9e5b Removed redundant check in draw code.
12 years ago
Roberto E. Vargas Caballero 048c54fd5b Fix selecting clearing and BCE
12 years ago
Christoph Lohmann 6b03bb769a Now clipping is more clear.
12 years ago
Christoph Lohmann db6f796ecf Removing the overdrawing of some fonts.
12 years ago
Christoph Lohmann 2bd6afd1c9 Implementing 8 bit mode for meta.
12 years ago
Christoph Lohmann b596d6ba3c Adding wrap handling in selection.
12 years ago
Alexander Sedov 872a7f18ea Added support for double/triple click+dragging.
12 years ago
Alexander Sedov e5ff746430 Selection now handles empty lines less counter-intuitively.
12 years ago
Christoph Lohmann da182612b7 Removing trailing whitespace.
12 years ago
Alexander Sedov b7e6a5c825 Got rid of redundant Glyph state.
12 years ago
Christoph Lohmann 3ae0299064 Removing unneeded comments.
12 years ago
Alexander Sedov fed9968ba5 Got rid of code duplication in tnew() and tresize().
12 years ago
Alexander Sedov 0ca0dd8b11 Strip trailing spaces from lines when copying selection.
12 years ago
Christoph Lohmann c371fe58a3 Enable BCE everywhere.
12 years ago
Christoph Lohmann 44db38a5f8 Fix the geometry handling.
12 years ago
Christoph Lohmann de4cd2f6af Resize now uses xclear().
12 years ago
Christoph Lohmann 1e7816c202 Drawing a more visible rectangle as cursor on unfocus.
12 years ago
Christoph Lohmann 5dc48af29e Patching while not really woken up.
12 years ago
Christoph Lohmann 5984657c00 Minor naming issue fixed.
12 years ago
Christoph Lohmann 4018b2c507 Making the copy and pasting consistent.
12 years ago
Christoph Lohmann 684cf55a0d Make st work with a plain -e command.
12 years ago
Christoph Lohmann b1813b14d9 Adopting arg.h with more flexible cmd handling.
12 years ago
Christoph Lohmann 580c8bbd46 Add an option to disable alternative screens.
12 years ago
Christoph Lohmann 7e7760c2ed Add the possibility to have default highlight colors.
12 years ago
Christoph Lohmann a1e3b94b37 Removing an undefined case. just do regular selections.
12 years ago
Christoph Lohmann 4b17dddb10 Making rectangular selection work again.
12 years ago
Christoph Lohmann 55adf0aad1 Pange seems to use ascent + descent instead of height.
12 years ago
Christoph Lohmann c6b89f23e7 Using strsep and fixing null termination in csiparse.
12 years ago
Christoph Lohmann 1c1621da69 Changing the way how paste is handled, just for the nano people.
12 years ago
Christoph Lohmann 1aa26b4ecd Fixing a bug while parsing empty arguments in csiparse.
12 years ago
Christoph Lohmann 7d32471eff Fixing bugs in the strtol and strtok_r replacements.
12 years ago
Christoph Lohmann 7cb0d95509 Using strtok_r for the string parsing.
12 years ago
Christoph Lohmann 37863356b0 Using strtol with overflow checking.
12 years ago
Christoph Lohmann be7c6d7fb0 Add insert for the primary clipboard to MOD + Shift + Ins.
12 years ago
Christoph Lohmann e40d8da194 Removing dbe and introducing umlauts to titles.
12 years ago
Christoph Lohmann efaf1c2a94 Add umlaut support for title change.
12 years ago
Christoph Lohmann 1b6c6535c1 Replace parse_int with atoi().
12 years ago
Alexander Sedov 800800a3bb Added basic xterm-ish palette swap support.
12 years ago
Christoph Lohmann 3865e9eaaf Implement rectangular mouse selection.
12 years ago
joe9 e5295629cd ensure that the italic font has the same weight as the normal font
12 years ago
Christoph Lohmann 0e738c3d72 Style inquisition.
12 years ago
Christoph Lohmann 7f297e297c Fixing the reverse mode of st colors.
12 years ago
Christoph Lohmann f4a6c20f46 Adding a way to ignore bits in the state.
12 years ago
Christoph Lohmann e0ec2cf984 Style inquisition.
12 years ago
Christoph Lohmann 086cd61511 Doing it like the new run() was proposed.
12 years ago
Christoph Lohmann 95033753be Adding a more efficient drawing code.
12 years ago
Christoph Lohmann b7261c84aa Tmux wants this to be mutually exclusive.
12 years ago
Christoph Lohmann 05a1ff03e9 Adding mor explict font patterns.
12 years ago
Christoph Lohmann eeffbe11ab Making st not activate the cursor in case of Mod + k in dwm.
12 years ago
Christoph Lohmann 8a9475a0dd Setting the surrounding border to defaultbg.
12 years ago
Christoph Lohmann ce3efa9e9b Removing some debug messages.
12 years ago
Christoph Lohmann efd04ccad6 Fixing the menus in mc.
12 years ago
Christoph Lohmann 26c101b706 Fixing the black remaining lines in mc and dialog.
12 years ago
Christoph Lohmann 384fabdb5b Adding extended mouse reporting in st.
12 years ago
Christoph Lohmann deb720af7f Removing the debug messages again.
12 years ago
Christoph Lohmann 57f39defaf Fixing the clipboard copying to st itself.
12 years ago
Christoph Lohmann 3036051fb1 St is in 2013 now.
12 years ago
Christoph Lohmann b78c5085f7 Implementing Back Color Erase (BCE).
12 years ago
Christoph Lohmann b4b513c791 Make line drawing work again.
12 years ago
Christoph Lohmann 15c2bff9fa Yes, xft should be on the buffer. Thanks Mihail Zenkov.
12 years ago
Christoph Lohmann c7b033b8f0 Trying out the double buffering without dbe.
12 years ago
Christoph Lohmann 0e232a4115 Dbe is not required anymore.
12 years ago
Christoph Lohmann ed90afb743 The title can now be set with UTF-8 characters.
12 years ago
Christoph Lohmann 1827e0643f Standout mode has changed. Thanks p37sitdu@lavabit.com!
12 years ago
Christoph Lohmann b3326ab63b A different double buffering strategy so the background is default set.
12 years ago
Christoph Lohmann b233007e0f Damn, my fault. The cache should have at least some entries.
12 years ago
Christoph Lohmann c772a6e571 Applying the changes to the docs; by Peter Hartman.
12 years ago
Christoph Lohmann 4e14a4a97f A fix for the XopenIM() errors.
12 years ago
Christoph Lohmann c99db5b017 Increasing font cache for speeding up UTF8 demos.
12 years ago
Christoph Lohmann 44e1b79abf Removing the warning about extents.
12 years ago
Christoph Lohmann 08e06ef079 Fixing the font unloading in case of zoom.
12 years ago
Christoph Lohmann addc848345 Speeding up the drawing, then all characters are known.
12 years ago
Christoph Lohmann 9c44229c62 Adding fallback support to st.
12 years ago
Christoph Lohmann 082bab29f3 Fixing a compile error.
12 years ago
Christoph Lohmann ac4c6da4ef Fixing a off-by-one error in the penultimate row drawing.
12 years ago
Christoph Lohmann 4d37763ee7 Fixing a precedence problem. Thanks tridactyla!
12 years ago
Christoph Lohmann fc2b366968 Checking for the lower X11 special keys too. Thanks Benjamin R. Haskell!
12 years ago
Christoph Lohmann 3c6ec1995d Adding error checks for XCreateIC and XOpenIM.
12 years ago
Christoph Lohmann 2696f81875 Be careful about mar77i's patches.
12 years ago
Christoph Lohmann 78215c8ee0 Fixing the nasty selection bug. Thanks p37sitdu@lavabit.com!
12 years ago
Christoph Lohmann 373a8f5628 The style inquisition was here.
12 years ago
Roberto E. Vargas Caballero 172f65436c Add key for toogling numlock handling
12 years ago
Christoph Lohmann b26df1d0d3 Fixing the calculation of the base tty pixel size.
12 years ago
Christoph Lohmann 440a19a662 Getbuttoninfo is always used the same and just a helper function. Shrinking it
12 years ago
Roberto E. Vargas Caballero 6312f76ca4 Fix speech error in comment
12 years ago
Roberto E. Vargas Caballero 0df350cd0b Remove unused fields in cursor_movement
12 years ago
Christoph Lohmann 1cea02be8d Removing my debug fprintf().
12 years ago
Christoph Lohmann 2b6521f5d2 Optimizing the key lookup to the X11 function key. It is still possible to
12 years ago
Roberto E. Vargas Caballero 90e1427632 Fix Shift + Insert shortcut
12 years ago
Christoph Lohmann d5640c7729 Fixing the return and keypad enter sent characters. Terminals produce \r. And
12 years ago
Christoph Lohmann 801ea034b6 Import the patch of Eckehard Berns to add insert mode. Thanks!
12 years ago
Roberto E. Vargas Caballero 88bb76c1bc Fix XK_NO_MOD and XK_ANY_MOD behavior
12 years ago
Roberto E. Vargas Caballero 16ccf344de Fix tab key
12 years ago
Christoph Lohmann 461aac159c Fixing the tab key, when no mask is wanted.
12 years ago
Christoph Lohmann 7474a2fc37 The style inquisition was here again.
12 years ago
Roberto E. Vargas Caballero ea782bfc5d Remove hardcoded keys form kpress
12 years ago
Roberto E. Vargas Caballero 93f31166bf Move Shift + Insert to shortcut
12 years ago
Roberto E. Vargas Caballero 69ee3ba3a7 Fix keypad mode and cursor mode
12 years ago
Roberto E. Vargas Caballero 73177ba366 Add SRM sequence
12 years ago
Christoph Lohmann ace789a79f Gc is not used anymore.
12 years ago
Christoph Lohmann c4a9ccec19 Removing some xft naming cruft.
12 years ago
Christoph Lohmann 5d5a7c627a Moving the alt declaration to the beginning of the function.
12 years ago
Roberto E. Vargas Caballero 8665905216 Move unsupported sequences to ignored.
12 years ago
Roberto E. Vargas Caballero 27468403cc Ignore DECARM sequence
12 years ago
Roberto E. Vargas Caballero d5b80e05e8 Fix VPR sequence
12 years ago
Roberto E. Vargas Caballero 5260a9ea22 Add DECOM sequence
12 years ago
Roberto E. Vargas Caballero ee3e0a9fd0 Save cursor position in terminal reset
12 years ago
Roberto E. Vargas Caballero ba9d0365ac Clarify some or exclusive expressions
12 years ago
Roberto E. Vargas Caballero 950ff21e17 Fix bug restoring cursor position
12 years ago
Christoph Lohmann 5d39afc902 Adding scrollwheel support. Thanks Brandon Invergo!
12 years ago
Christoph Lohmann 0fbe1559c8 Fixing meta+return. Thanks Szabolcs Nagy!
12 years ago
Christoph Lohmann 86261187ab Removing the debugging for the last fix too.
12 years ago
Christoph Lohmann 9888c5064b Fixing a resize bug, if a smaller amount than the lineheight is resized.
12 years ago
Christoph Lohmann f8db65439a Fixing bold fonts in reverse mode.
12 years ago
Christoph Lohmann 76a8e5f72b Now italic and bold works.
12 years ago
Christoph Lohmann abe85c0e99 Fixing an out-of-bound bug in the selection code. Thanks Szabolczs Nagy!
12 years ago
Christoph Lohmann 091ae143ce Fixing the italic-bold font check. Thanks nsz.
12 years ago
Christoph Lohmann c631e9bb91 Make it possible to use the corefont font description too. It is not very
12 years ago
Christoph Lohmann 393825f9f8 Moving to the dwm config.h variable usage.
12 years ago
Christoph Lohmann c5dd7fb377 Applying the patch of the little girl <yui@blekksprut.net> to make cjk input
12 years ago
Christoph Lohmann b56a0da283 Applying the tab expansion patch from koga.
12 years ago
Christoph Lohmann 71b09ec4f1 Adding a more flexible fontstring handling, shortcuts and a zoom function.
12 years ago
Christoph Lohmann 6d4e525ed9 Applying the patch of Roberto Caballero to set WINDOWID and all the pwuid()
12 years ago
Christoph Lohmann 35421371ca Applying the patch of Rafa Garcia Gallega <rafael.garcia.gallego@gmail.com> to
12 years ago
Roberto E. Vargas Caballero ee3fbeb6c8 Add error control to iofile
12 years ago
Christoph Lohmann 2e38ab7afd Well, I was confused. Damn state exams. Instead of discussing this shit I
12 years ago
Christoph Lohmann eb6713acf1 If there is really someone without SHELL set, help him/her.
12 years ago
Roberto E. Vargas Caballero 9e813947cf Add DEC alignment test
12 years ago
Roberto E. Vargas Caballero b7a7f171ef Avoid initialization of vt100_0 in each call to tsetchar
12 years ago
Roberto E. Vargas Caballero 25f47cb83a Fix Identification sequences
12 years ago
Roberto E. Vargas Caballero ffeeb678c5 Add DA and DECID sequences
12 years ago
Christoph Lohmann bffa6e5cc6 Fixing a typo.
12 years ago
Christoph Lohmann b16b5d77d3 Fixing a off-by-one error in the new border clearing code.
12 years ago
Roberto E. Vargas Caballero 2bd0c23fa7 Print control codes only in graphic mode
12 years ago
Roberto E. Vargas Caballero 034dc71fb8 Add SI and SO control codes
12 years ago
Roberto E. Vargas Caballero fbfa1f83eb Add SUB and CAN control codes
12 years ago
Roberto E. Vargas Caballero ac8f05c45a Add documentation to control codes
12 years ago
Christoph Lohmann 02f3b37a2d Forgot to remove the xclearborders() definition from the last commit.
12 years ago
Christoph Lohmann 0cc7ee5e73 Removing the xclearborders() hack. St now cleans up the parts of the border,
12 years ago
Christoph Lohmann 4eddf19fdc The style inquisition was here. Yes, making it a unified style. The last
12 years ago
Christoph Lohmann 7efa4514d1 Adding the patch of David Dufberg Töttrup to implement WM_DELETE_WINDOW. Thank you!
12 years ago
Christoph Lohmann bf6cf05ba5 Fixing the brightening on bold. For the 256 colors and greyscale I assumed a
12 years ago
Christoph Lohmann 0b489c4a6a When the drawing behaviour was changed underline was not corrected.
12 years ago
Christoph Lohmann 2752018e27 This adds the fontcache dependency to try something out. Additionally the
12 years ago
Christoph Lohmann 0d88f1ef75 Thanks to c00kiemon5ter. Not changing bold to bright colors seems to be the
12 years ago
Christoph Lohmann 5dfd5df4fe This changes -f to be the parameter for the font. Now -f is -o.
12 years ago
Christoph Lohmann 9cae1eb0de Remove the cruft of the user to have to define the different font styles.
12 years ago
Christoph Lohmann ed5b8700a6 We need all the colors to be available, so die() on some not available.
12 years ago
Christoph Lohmann d7b1e31eec All xcolors are not Xft colors and the clearing of the borders has been
12 years ago
Christoph Lohmann 29b209f5f5 Vt escape sequences allow escape sequences in escape sequences and escape
12 years ago
Roberto E. Vargas Caballero 3af49e34f6 Allow control characters inside escape sequences
12 years ago
Roberto E. Vargas Caballero a7d7e29300 Ignore all control characters not handled
12 years ago