820 Commits (475a0a36cb4fda1da30f014da65988e99b222876)

Author SHA1 Message Date
suigin 89cf0fc597 Small bugfix for makeglyphfontspecs call in drawregion
10 years ago
Christoph Lohmann 980991fa6e Fix the new -e handling. An empty cmd has to work for backwards compatibility.
10 years ago
suigin ae1923d275 Clean up xdraws and optimize glyph drawing with non-unit kerning values
10 years ago
suigin 38af006b5e Changed type for UTF-32 codepoints from long to uint_least32_t
10 years ago
noname c990abfedf Fix empty selection highlighting bug.
10 years ago
noname 3cb7f27afe Fix indentation.
10 years ago
noname 1811b6030c Add enumeration for sel.mode
10 years ago
noname 22571ea4e8 selnormalize: make special case explicit
10 years ago
noname 8751809aff selsnap: simplify SNAP_LINE case
10 years ago
noname 765bb0fd14 Remove first argument of selsnap.
10 years ago
Jochen Sprickerhof 07ce96a3a0 Fix sigchld
10 years ago
mvdan@mvdan.cc 190b94c7a2 len assignment is never used
10 years ago
mvdan@mvdan.cc 4f21c41a1c Clarify calculation precedence for '&' and '?'
10 years ago
mvdan@mvdan.cc 3a5053f6c1 Use %u for uint
10 years ago
suigin 7ab6c92e18 Optimize memory footprint of line buffers
10 years ago
noname@inventati.org 0622ad9bad Make tputc, tsetchar and techo accept unicode
10 years ago
noname@inventati.org 21f765426c Change internal character representation.
10 years ago
noname@inventati.org 753fe862b1 Remove last parameter of utf8encode
10 years ago
noname@inventati.org 61c35cd246 Use utf8len instead of utf8decode.
10 years ago
alp@alexpilon.ca 742a41d655 Make build shut up about system() without return value check.
10 years ago
Roberto E. Vargas Caballero f36dd277a2 Merge remote-tracking branch 'origin/master'
10 years ago
Roberto E. Vargas Caballero 0d7448dabc Fix segmentation fault in strhandle()
10 years ago
Roberto E. Vargas Caballero b17aa18f7c Uses a &[] pointer loop instead of + pointer loop
10 years ago
noname@inventati.org 736685d641 Do not set terminal title based on stty arguments.
10 years ago
noname@inventati.org 89807ed453 Move common code to xloadcolor
10 years ago
noname@inventati.org 84c756b97e Use LEN(dc.col) instead of LEN(colorname).
10 years ago
noname@inventati.org 2fdcc5e5f6 Remove WIN_REDRAW flag.
10 years ago
noname@inventati.org ab69ea89b7 Place memset arguments in the correct order.
10 years ago
noname@inventati.org 5528280fae Remove explicit 'return' from 'void' functions.
10 years ago
noname@inventati.org 6dc2b546ec Increment accuaracy in drawtime calculation
10 years ago
noname@inventati.org c27c731b9f Monotonic clock cannot jump backwards.
10 years ago
noname@inventati.org 6ee56d6590 Place tlinelen type on separate line.
10 years ago
Roberto E. Vargas Caballero 215bdb2da3 Add tty line support
10 years ago
sin 56abffb4b6 Fix memmove() invocation with src/dst being NULL
10 years ago
noname@inventati.org aff35af275 Use as command arguments the remaining parameters
10 years ago
Roberto E. Vargas Caballero 83e73c6242 Merge branch 'master' of ssh://suckless.org/gitrepos/st
10 years ago
Markus Wichmann 42fa1f5ce4 Implement most ICCCM rules for selection handling.
10 years ago
Roberto E. Vargas Caballero 23ed12857f Merge branch 'master' of ssh://suckless.org/gitrepos/st
10 years ago
noname@inventati.org 9eb70a2d3e Do not use tmoveto in tputtab.
10 years ago
noname@inventati.org 9619760e12 tresize: remove unnecessary if
10 years ago
noname@inventati.org b94ad75e5d Remove 'titles' variable.
10 years ago
noname@inventati.org e6dd0f825d Remove useless if in tstrsequence.
10 years ago
noname@inventati.org b0310fba5d Simplify tmoveto.
10 years ago
noname@inventati.org 9d1495f9ee Fix typo.
10 years ago
noname@inventati.org c569e3146e Remove 'slide' variable in tresize.
10 years ago
noname@inventati.org 39ae1a4de5 Move tresize comments around.
10 years ago
noname@inventati.org 6352502d64 tresize: move for loop outside if
10 years ago
noname@inventati.org b9390a5496 Simplify loop condition.
10 years ago
noname@inventati.org d2937b05ae Remove unnecessary XFilterEvent call.
10 years ago
noname@inventati.org d3e0f3444b Use do..while in window mapping loop.
10 years ago
Omar Sandoval ecac5ee35e Make DECSCUSR thickness configurable
10 years ago
noname 93b54cfcc4 Use MAX macro where possible.
10 years ago
noname 6f5f770186 Remove 'xloadfontset' function.
10 years ago
noname 6524f022f7 Remove keywords from function definitions.
10 years ago
noname 9305f3c184 Remove variable names from function declarations.
10 years ago
Roberto E. Vargas Caballero 5bb90125c8 Remove redundant control check
10 years ago
noname 69d1fe06a9 Fixed STR sequence termination condition
10 years ago
Roberto E. Vargas Caballero 288f80cb06 Remove strsep() call
10 years ago
Roberto E. Vargas Caballero c9357a8edf Merge remote-tracking branch 'origin/master'
10 years ago
LemonBoy 580302f317 Support the DECSCUSR CSI escape sequence
10 years ago
Alex Pilon b341e51351 Handle pasting of empty selection.
10 years ago
Roberto E. Vargas Caballero 86d1e432a8 Support XA_STRING in notify request
10 years ago
Christoph Lohmann 2fcfea1bf1 Add Mod + Shift + c/v and no selclear.
10 years ago
Christoph Lohmann 28259f5750 St now does only set PRIMARY on selection.
10 years ago
Christoph Lohmann 9494362d0b Fixing the C reading test.
10 years ago
Christoph Lohmann b0bddc694a Add a hack to handle unknown chars in fontconfig.
10 years ago
Ivan Delalande 1b514048b2 Let curses do the dirty work for flash
10 years ago
Nils Reuße c5f1d74fd8 Update year in usage()
10 years ago
Nils Reuße 7dd24bfb4c Fix crash on font resize resize
10 years ago
Rian Hunter aba6c292af Correct shift amount on MODE_INSERT in tputc()
10 years ago
Rian Hunter 4d14d97547 Fix crash due to wide characters
10 years ago
Ivan Delalande 708b697ed7 Fix crash due to invalid timespec given to pselect
10 years ago
Ivan Delalande 09f5d98251 Trim trailing whitespaces in every selection case
10 years ago
sin 4418939dd9 Call _exit() instead of exit() if exec*() fails
10 years ago
Eric Pruitt bafbba56cd Check for presence of SHELL environment variable
10 years ago
czarkoff@gmail.com 11625c7166 Replace character with U+FFFD if wcwidth() is -1
10 years ago
Quentin Rameau 008aae541b Avoid failing when embedding with a Window id of 0
10 years ago
Roberto E. Vargas Caballero f9fb620914 Do not set SHELL to utmp ever
10 years ago
CustaiCo 86633ada91 patch for bell in st
10 years ago
Roberto E. Vargas Caballero 88429cdcbf Add LS2 and LS3
10 years ago
Roberto E. Vargas Caballero 0c8feecbf7 Fix SI and SO
10 years ago
Christoph Lohmann 63a07eb19c Minor style changes for the last patch.
10 years ago
Christoph Lohmann dc8c5c82aa Implementing xzoomreset.
10 years ago
Roberto E. Vargas Caballero c7a945c408 Add missed names of charset sequences
10 years ago
Roberto E. Vargas Caballero 5afb3862ba Add support for utmp in st
10 years ago
Roberto E. Vargas Caballero 0392d165d0 Remove indentation level in xdrawcursor
10 years ago
Ben Hendrickson 98a1085d0e Removing wrapping newlines from selection
10 years ago
Ivan Delalande 51466e019a Change the behavior of word snapping on delimiters
10 years ago
Ivan Delalande c490a60b80 Move calls to selsnap into selnormalize
10 years ago
Alexander Huemer 83dea7fd7b Improve readability of enum members
10 years ago
Roberto E. Vargas Caballero e5f6736ee0 Add eschandle()
10 years ago
Roberto E. Vargas Caballero a3549c2eec Improve execsh() and don't allow anonymous shells
10 years ago
Roberto E. Vargas Caballero 8342036f98 Fix definition of CONTROLC0
10 years ago
Quentin Carbonneaux 177d888dff reset the alt screen in treset
10 years ago
Quentin Carbonneaux fa04911c91 simplify loop in tresize
10 years ago
Roberto E. Vargas Caballero 8f3e6a577d Fix man page and usage()
11 years ago
Roberto E. Vargas Caballero f8b4998b32 Convert VT102ID to a config variable
11 years ago
Roberto E. Vargas Caballero 6530025bca Fix portability problem in techo()
11 years ago
noname d4a17316d3 Don't set dirty all lines because tswapcreen do it
11 years ago
noname 20c4f12254 tresize return value is not used
11 years ago
Roberto E. Vargas Caballero 8de8ae3923 Unset mode when clearing regions
11 years ago
Roberto E. Vargas Caballero ec3268961d Add error message when child exits whit error
11 years ago
Roberto E. Vargas Caballero 769d481807 Remove difference between fast and slow blinking
11 years ago
Michael Forney b4dfa18124 Fix disabling of bold and fastblink
11 years ago
Weng Xuetian 84ceefe089 Fix st with input method.
11 years ago
Eric Pruitt b5d0a13c10 Changed inconsistent indent
11 years ago
Roberto E. Vargas Caballero 984c12d2a6 Add 8 bit version of DCS, APC, PM, OSC
11 years ago
Roberto E. Vargas Caballero da78629cf5 Add 8 bit version of HTS
11 years ago
Roberto E. Vargas Caballero f5356d0185 Add 8 bit version of NEL
11 years ago
Roberto E. Vargas Caballero bcbaf5d9be Add 8 bit version of DECID
11 years ago
Anders Eurenius f796533b1b Render faint attribute
11 years ago
Ivan Delalande 955923b38b Remove all strcmp and strlen calls on Glyph.c[]
11 years ago
Anders Eurenius 1fc4afd1e6 Render struck-out attribute
11 years ago
Anders Eurenius 21bd4f4f9d Render invisible attribute
11 years ago
Anders Eurenius 50e6355e0d Reorder and extend glyph attributes
11 years ago
Roberto E. Vargas Caballero 77569526c0 Remove CEIL macro
11 years ago
Ivan Delalande 19d095717f Fixed wrong nanosecond factor 10E6.
11 years ago
FRIGN 5edeec1b20 Use monotonic clock to prevent timing issues
11 years ago
Troy Sankey 58eaa998b3 update size hints on zoom
11 years ago
Silvan Jegen c2fd2754eb Refactor the innermost loop of the xdraws function
11 years ago
Christoph Lohmann 587b443592 Style police.
11 years ago
Roberto E. Vargas Caballero 93661042a2 Simplify tdeftrans
11 years ago
FRIGN 18a05fdf43 Remove unnecessary typedef
11 years ago
Colona 5159d55c63 Refactor selsnap SNAP_WORD.
11 years ago
Colona 6fd887077e Fix rectangular selection.
11 years ago
Hiltjo Posthuma bb6dc33206 tiny cleanup
11 years ago
Colona 2323e962e6 Make selection consistent over line breaks.
11 years ago
Christoph Lohmann c6fcb78b3a Fixing color and refactor xsetcolorname.
11 years ago
Christoph Lohmann 8b4cfcea73 Revert "Refactor xsetcolorname()"
11 years ago
FRIGN a32c5f5726 Refactor xsetcolorname()
11 years ago
Balazs Kezes ba36d1394b Don't report release events for mouse wheel
11 years ago
Christoph Lohmann ede83bd08b Fixing italic bold.
11 years ago
Alexander 2411308bd2 Fixed copying empty lines inside selection.
11 years ago
Christoph Lohmann f4ebb3180f Fixing trailing whitespaces.
11 years ago
FRIGN 3544e354b2 Fix colour-model and simplify xloadcols()
11 years ago
Hiltjo Posthuma cf890e5bf0 Allow mouse selection override using ShiftMask
11 years ago
Christoph Lohmann bdb850a16a Redraw needs all dirty lines to have flash etc. work.
11 years ago
Colona e31829f659 End a sequence only on CAN, SUB, \a and C1s.
11 years ago
Colona 5e917ab287 Also clears ESC_START on interrupt characters during sequences.
11 years ago
noname 99fb365aa3 Consistent FALLTHROUGH comments.
11 years ago
Roberto E. Vargas Caballero 870f961c49 Fix displaying control code
11 years ago
Roberto E. Vargas Caballero 1629363f2d Remove ATTR_GFX and tselcs
11 years ago
noname 6b315558f8 Do not save cursor in tresize.
11 years ago
noname 5f91983541 Simplify selected().
11 years ago
noname 0e439e5624 Simplify xunloadfonts.
11 years ago
noname 74962bf566 Remove one indentation level in getsel().
11 years ago
noname 6681af165b Remove unused dump() function.
11 years ago
noname 1ae2745fd1 Add missing function prototypes.
11 years ago
noname a48f2be7f5 Use MODBIT in xseturgency.
11 years ago
noname 17fa1493ee Compute ena_sel as one expression.
11 years ago
Roberto E. Vargas Caballero a8a9e66a7d Simplify expressions in tputc()
11 years ago
Roberto E. Vargas Caballero 17290f493b Fix misplaced break
11 years ago
Roberto E. Vargas Caballero 43d74ef362 Create a function for DEC test
11 years ago
Roberto E. Vargas Caballero 3764f38fc8 Fix tputc control code handling
11 years ago
Roberto E. Vargas Caballero 53105cf74f Remove repeated initialisation of term.esc
11 years ago
Roberto E. Vargas Caballero aa35bbd7a1 Cancel DCS with SUB, CAN, ESC or any CC1 code
11 years ago
Markus Teich 704d12442e add break;s for last cases in switch statements
11 years ago
noname 02d2df5790 Do not eat ESC character if control string is not properly terminated.
11 years ago
noname c4b79b055d Fix for multibyte characters in techo.
11 years ago
noname 7f1e02e4db s/DSC/DCS/ DCS stands for DEVICE CONTROL STRING
11 years ago
noname 84f6dbffa5 Use xwrite instead of write.
11 years ago
noname 2d67f99d28 Remove unnecessary break
11 years ago
noname 4a8574b439 Comment fix.
11 years ago
Colona 8f11e1cd03 On terminal resize, clear the alt screen with its own cursor.
11 years ago
noname 844c503c80 Optimize tputtab.
11 years ago
noname 1b0b9759dc Use != instead of ^ for logical values.
11 years ago
noname 99d2d6007a Use BETWEEN macro in xsetcolorname and fix style.
11 years ago
Christoph Lohmann fe31a3f634 Conformity in the -g geometry handling.
11 years ago
Roberto E. Vargas Caballero 6b7f63bac5 Simplify a bit more tdeletechar and tinsertblank
11 years ago
noname 80b32af794 Simplify tdeletechar and tinsertblank and fix memory corruption.
11 years ago
noname 16ac85bf54 Style fixes in tscrollup.
11 years ago
noname fe527aa508 Do not set dirty flag twice in tscrollup and tscrolldown.
11 years ago
noname 3afdb4ff04 Use tsetdirt in tscrollup and tscrolldown.
11 years ago
noname f9dc374ea0 Fix techo handling of control and multibyte characters.
11 years ago
noname fa19f241a3 Make xrealloc and xstrdup style consistent.
11 years ago
noname df1810dd8f Use BETWEEN in tsetchar.
11 years ago
noname ed855ea432 Use uint and uchar instead of unsigned int and unsigned char.
11 years ago
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