summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-03-13be silent about explicitly unhandled mouse modesLauri Tirkkonen
2019-03-03simplify (greedy) font caching allocating a bitHiltjo Posthuma
POSIX says: "If ptr is a null pointer, realloc() shall be equivalent to malloc() for the specified size."
2019-03-03style: remove double empty newlinesHiltjo Posthuma
2019-03-03fix use after free in font caching algorithmmagras
Current font caching algorithm contains a use after free error. A font removed from `frc` might be still listed in `wx.specbuf`. It will lead to a crash inside `XftDrawGlyphFontSpec()`. Steps to reproduce: $ st -f 'Misc Tamsyn:scalable=false' $ curl https://www.cl.cam.ac.uk/~mgk25/ucs/examples/UTF-8-demo.txt Of course, result depends on fonts installed on a system and fontconfig. In my case, I'm getting consistent segfaults with different fonts. I replaced a fixed array with a simple unbounded buffer with a constant growth rate. Cache starts with a capacity of 0, gets increments by 16, and never shrinks. On my machine after `cat UTF-8-demo.txt` buffer reaches a capacity of 192. During casual use capacity stays at 0.
2019-02-12better Input Method Editor (IME) supportIvan Tham
Features: - Allow input methods swap with hotkey (E.g. left ctrl + left shift). - Over-the-spot pre-editing style, pre-edit data placed over insertion point. - Restart IME without segmentation fault. TODO: - Automatically pickup IME if st started before IME
2019-02-09bump version to 0.8.2Hiltjo Posthuma
2019-02-02readme updatesLuke Smith
2019-01-13Merge pull request #43 from codingCoffee/ignoreLuke Smith
chore: 🤖 added built files in .gitignore
2019-01-14chore: 🤖 added built files in .gitignoreAmeya Shenoy
2019-01-10config: add Shift+Insert as selpaste() againHiltjo Posthuma
This was changed before in: commit 20f713548de451b67db3306cf8cf7b2f38fee05c on Wed Jan 25 19:17:38 2017
2019-01-10Let the user specify CPPFLAGSParide Legovini
This complements the work done in d4928ed, allowing the user to specify the preprocessor flags with the CPPFLAGS environment variable. This is useful for example to specify preprocessor macros with -D. CFLAGS could be used instead, but CPPFLAGS is more correct and is expected to be honored in some cases. For example, the helper scripts to build Debian packages make use of CPPFLAGS, but the variable is currently being ignored unless manually appended to CFLAGS.
2019-01-08Merge pull request #40 from iamdiogo/patch-1Luke Smith
Fixed typo in README.md
2019-01-08Fixed typo in README.mdDiogo Silva
2019-01-04Set the path of pkg-config in a variable instead of hardcoding itParide Legovini
In this way the path of pkg-config can be overridden from the command line. This is useful for example when cross-compiling.
2019-01-04Makefile: fix dependencies on config.hHiltjo Posthuma
patch by Younes Khoudli (changed slightly). Thanks
2018-12-18cursorColor removedLuke Smith
2018-12-18just use xdg-openLuke Smith
2018-12-18Merge pull request #33 from hexinal/patch-1Luke Smith
Updated shortcut for zoomreset
2018-12-18Updated shortcut for zoomresethexinal
2018-12-16remove adjacent identical links from url pickerLuke Smith
2018-12-16Merge pull request #31 from terriblephrases/masterLuke Smith
Upstream updates
2018-12-16small code-style fixHiltjo Posthuma
2018-12-16output child WEXITSTATUS/WTERMSIG on abnormal terminationLauri Tirkkonen
2018-12-16st: small typofix in commentHiltjo Posthuma
2018-12-16fix memory leak in xloadcols()Hiltjo Posthuma
reported by Avi Halachmi (:avih)" <avihpit@yahoo.com> patch slightly changed by me.
2018-12-16Fix crash on resizeJules Maselbas
Prevent to realloc xw.specbuc with a negative number of col. Add proper hints for the minimal size, for one character.
2018-12-13revert to normal size now just alt-homeLuke Smith
2018-12-13ctrl-l chooses urls with xurls and dmenuLuke Smith
2018-12-11output child WEXITSTATUS/WTERMSIG on abnormal terminationLauri Tirkkonen
2018-12-03Merge pull request #25 from terriblephrases/masterLuke Smith
corrects color and font size info
2018-12-03corrects color and font size infoterriblephrases
2018-12-03Merge pull request #24 from terriblephrases/masterLuke Smith
Correct gruvbox defaultfg and cursor colors
2018-12-03sets correct gruvbox defaultfg and cursor colors, restores poss. to use 257+ ↵terriblephrases
colors
2018-12-01gruvboxLuke Smith
2018-11-24openbsd compilation noteLuke Smith
2018-11-14alpha/transparency read from xresourcesLuke Smith
2018-11-04fix memory leak in xloadcols()Hiltjo Posthuma
reported by Avi Halachmi (:avih)" <avihpit@yahoo.com> patch slightly changed by me.
2018-11-04st: small typofix in commentHiltjo Posthuma
2018-10-16mouse bindings and documentationLuke Smith
2018-10-16default font largerLuke Smith
2018-10-16man fixesLuke Smith
2018-10-04copy/paste fixesLuke Smith
2018-10-04bgcolor to 0Luke Smith
2018-09-14readme color updateLuke Smith
2018-09-11small code-style fixHiltjo Posthuma
2018-09-11Remove the ISO 14755 featureQuentin Rameau
And move it to the patches section. Keeping it would force to add an exec pledge on OpenBSD, and some people think it's bloated, so bye!
2018-09-01Revert "Update LICENSE"Luke Smith
This reverts commit 85d8621d8c423ea1addcfdbf2fc892cb5e86acc2.
2018-08-27Merge branch 'master' of github.com:LukeSmithxyz/stLuke Smith
2018-08-27bg fix on some graphical systemsLuke Smith
2018-08-02Update LICENSELuke Smith