Commit Graph

1378 Commits

Author SHA1 Message Date
rjl6789
e0005c695e corrected colorname declaration 2019-05-09 07:42:21 +01:00
rjl6789
9aa7f38187 Merge remote-tracking branch 'upstream/master' 2019-05-09 07:37:21 +01:00
Luke Smith
da13ef1246
external pipe eternal 2019-05-08 15:29:33 -04:00
Luke Smith
ca12440fa9
Merge pull request #70 from YusufAktepe/master
get version from config.mk
2019-05-08 15:24:47 -04:00
yusufaktepe
19c95dd96c
get version from config.mk 2019-05-08 22:03:05 +03:00
Luke Smith
2087ab9c6d
forgot which markdown 2019-05-08 11:38:15 -04:00
Luke Smith
84d49f527d
copy output of command with alt-o 2019-05-08 11:26:11 -04:00
Luke Smith
140c6b0a3f
Merge pull request #69 from YusufAktepe/master
Updated st to 0.8.2
2019-05-07 21:53:37 -04:00
yusufaktepe
3cd91894ec
Updated st to 0.8.2
Updated to latest git (20190414.f1546cf) & updated patches.

Changes:
. Upstream fixes.
. Alpha: Opacity value is now typed in float (0-1).
  Also "-A" cmd option added as alternative opacity changing method.
. Clipboard: middle click pastes from clipboard.
. Organized shortcuts.
2019-05-08 04:05:57 +03:00
rjl6789
e99aa29eef test2 2019-05-07 22:28:40 +01:00
rjl6789
25f59984da test 2019-05-07 22:28:04 +01:00
Luke Smith
35506b44ad
Merge pull request #68 from kajzersoze/master
include links with & in URLs
2019-05-06 08:25:49 -04:00
kajzersoze
8844764bc7
include links with & in URLs 2019-05-06 14:11:50 +02:00
Luke Smith
36eb185897
Merge pull request #66 from ijacquez/feature/set-install-prefix
Use conditional variable assignment for PREFIX
2019-05-04 18:48:01 -04:00
Israel Jacquez
252fba32be Use conditional variable assignment for PREFIX 2019-05-04 15:09:58 -07:00
Luke Smith
d9575acb88
copy urls with alt-y 2019-05-03 20:11:37 -04:00
Luke Smith
e196d09b86
Merge pull request #65 from g-mips/master
Added Xresource border to adjust the internal border.
2019-04-28 18:15:01 -04:00
g-mips
84480af682 Added Xresource border to adjust the internal border. 2019-04-27 12:59:14 -06:00
Luke Smith
05cc5be681
urls over lines 2019-04-26 20:40:39 -04:00
otlin100
f7c138b8cb read multiline URLs and URLs without 'http://' from mutt 2019-04-27 03:05:31 +02:00
Luke Smith
a36768bfa1
aur note 2019-04-23 12:45:03 -04:00
Rob
b919e7dde9
Merge pull request #1 from LukeSmithxyz/master
update april 2019
2019-04-22 19:55:52 +01:00
Avi Halachmi (:avih)
f1546cf9c1 selection: fix view to match actual selection on first cell 2019-04-14 13:50:20 +02:00
Luke Smith
30a6a001fe
dumb 2019-04-05 15:50:28 -04:00
Luke Smith
3b6bf70d87
gitignore and desc change for aur 2019-04-05 15:50:11 -04:00
Luke Smith
1cd0b79004
Merge pull request #57 from YusufAktepe/master
PKGBUILD added for easier management with pacman.
2019-04-04 22:58:09 -04:00
yusufaktepe
7923599f52
PKGBUILD added for easier management with pacman. 2019-04-05 04:38:48 +03:00
Luke Smith
7af0421674
xurls no longer required 2019-04-04 18:36:38 -04:00
Luke Smith
44a6c377b1
xdef example added 2019-04-02 12:29:17 -04:00
Rob
d6863bfede add simple script to uninstall->clean->rebuild->install 2019-03-31 18:52:07 +01:00
Rob
502c57de2f change bg and fg colors to 256 257 respectivly 2019-03-31 18:51:31 +01:00
Hiltjo Posthuma
21367a040f revert part of commit add0211522
"use iswspace()/iswpunct() to find word delimiters

    this inverts the configuration logic: you no longer provide a list of
    delimiters -- all space and punctuation characters are considered
    delimiters, unless listed in extrawordchars."

Feedback from IRC and personal preference.
2019-03-15 20:40:16 +01:00
Hiltjo Posthuma
b650256044 dont print color warning on color reset OSC 104 without parameter
also print explicitly "(null)" when printf "%s" p=NULL.

noticed when exiting mutt: printf '\x1b]104\x07'
2019-03-15 14:47:08 +01:00
Hiltjo Posthuma
9acec468fb minor code-style, initialize var at the top of function 2019-03-15 14:42:50 +01:00
Hiltjo Posthuma
927621f6da config.def.h: tweak extra worddelimiters
This changes the selection more like xterm.
To test try: "find /" and select a path.
2019-03-15 12:31:54 +01:00
Lauri Tirkkonen
add0211522 use iswspace()/iswpunct() to find word delimiters
this inverts the configuration logic: you no longer provide a list of
delimiters -- all space and punctuation characters are considered
delimiters, unless listed in extrawordchars.
2019-03-15 12:25:13 +01:00
Lauri Tirkkonen
d5efd256aa replace utf8strchr with wcschr 2019-03-15 12:24:13 +01:00
Lauri Tirkkonen
75b4ba4b4b be silent about explicitly unhandled mouse modes 2019-03-13 17:51:58 +01:00
Hiltjo Posthuma
ed68fe7dce simplify (greedy) font caching allocating a bit
POSIX says:
"If ptr is a null pointer, realloc() shall be equivalent to malloc() for the
 specified size."
2019-03-03 11:29:43 +01:00
Hiltjo Posthuma
4e0135afec style: remove double empty newlines 2019-03-03 11:23:54 +01:00
magras
a8cb8e9454 fix use after free in font caching algorithm
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-03-03 11:18:31 +01:00
Ivan Tham
e85b6b6466 better Input Method Editor (IME) support
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-12 18:45:15 +01:00
Hiltjo Posthuma
75f92eb348 bump version to 0.8.2 2019-02-09 12:48:39 +01:00
Luke Smith
cd4a194063
readme updates 2019-02-02 11:10:43 -05:00
Luke Smith
99c9031b89
Merge pull request #43 from codingCoffee/ignore
chore: 🤖 added built files in .gitignore
2019-01-13 14:12:22 -05:00
Ameya Shenoy
5b039bacce
chore: 🤖 added built files in .gitignore 2019-01-14 00:37:03 +05:30
Hiltjo Posthuma
3be4cf11d7 config: add Shift+Insert as selpaste() again
This was changed before in:
commit 20f713548d on Wed Jan 25 19:17:38 2017
2019-01-10 18:16:17 +01:00
Paride Legovini
16d98738e7 Let the user specify CPPFLAGS
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-10 18:13:13 +01:00
Luke Smith
661e82f937
Merge pull request #40 from iamdiogo/patch-1
Fixed typo in README.md
2019-01-08 20:22:14 -05:00
Diogo Silva
a839a90485
Fixed typo in README.md 2019-01-08 22:50:19 +00:00