Commits
- Commit:
6f0f2b7ec3713351de274707672fbadb6cc727a2- From:
- Hiltjo Posthuma <hiltjo@codemadness.org>
- Date:
bump version to 0.8.1
- Commit:
f4020b2cc4fe45c9e8bfe47fc73deccd867cf9de- From:
- Hiltjo Posthuma <hiltjo@codemadness.org>
- Date:
fix regression by selecting clipboard text
"restore the old behaviour that the primary doesn't get deleted by a simple
left click"
Patch by Daniel Tameling <tamelingdaniel@gmail.com>, thanks!
- Commit:
a5a928bfc1dd049780a45e072cb4ee42de7219bf- From:
- Hiltjo Posthuma <hiltjo@codemadness.org>
- Date:
don't modify argv, use a counter
on some platforms (OpenBSD) this changes the exposed argv in tools using
the kvm_* interface, such as ps and pgrep.
- Commit:
6ac8c8aa50d521f82d491ab54eb972660fdf3207- From:
- Hiltjo Posthuma <hiltjo@codemadness.org>
- Date:
selextend: clarify: !sel.mode == SEL_IDLE
- Commit:
5345db3c9be1a22ca19202035b881b951c2f0f9e- From:
- Hiltjo Posthuma <hiltjo@codemadness.org>
- Date:
clipcopy: no need to check for free(NULL), set to NULL after free
- Commit:
7648697f711d5ae336af142e9cd464d943341b24- From:
- Hiltjo Posthuma <hiltjo@codemadness.org>
- Date:
minor code-style: whitespace fixes
- Commit:
0b507bb73138c636fd0ad6f2321624aae1346d58- From:
- Quentin Rameau <quinq@fifth.space>
- Via:
- Hiltjo Posthuma <hiltjo@codemadness.org>
- Date:
Fix title initialization
- Commit:
e7ef3c4ce95a21cfcd0988d493f636e1d0115871- From:
- Quentin Rameau <quinq@fifth.space>
- Via:
- Hiltjo Posthuma <hiltjo@codemadness.org>
- Date:
Fix regression from 69e32a6 when setting title.
- Commit:
8ab629031bd958d93deee9203fea32c38fe8ac30- From:
- Hiltjo Posthuma <hiltjo@codemadness.org>
- Date:
LICENSE: fix a few years
- Commit:
a712c2dd1815f83a56be33e8055eee29e05dfef7- From:
- Hiltjo Posthuma <hiltjo@codemadness.org>
- Date:
update LICENSE: major contributors
- Commit:
0f245dfeb9bb4e87a005da2ecdcd7a88ba6e7f32- From:
- Hiltjo Posthuma <hiltjo@codemadness.org>
- Date:
Makefile: add all files to make dist
- Commit:
49a4f91fc5caf4b8b64f2b73a6be506fa06917b9- From:
- Hiltjo Posthuma <hiltjo@codemadness.org>
- Date:
bump version to 0.8
- Commit:
c5ba9c025b7ebc34979e839453528f6e4a18712d- From:
- Hiltjo Posthuma <hiltjo@codemadness.org>
- Date:
use math.h for ceilf
- Commit:
b81888ee7d95d9ecb7b1749630b09a96065a8fea- From:
- Hiltjo Posthuma <hiltjo@codemadness.org>
- Date:
xhints: no need to initialize sizeh
- Commit:
8b8255ac0e188445f6904ff16272e9e93093cbde- From:
- Hiltjo Posthuma <hiltjo@codemadness.org>
- Date:
regression: include termios.h for tcsendbreak etc
- Commit:
20e0da7f14cc5f30863e0b8014fa223fbaff1e30- From:
- Devin J. Pohly <djpohly@gmail.com>
- Date:
General cleanup
Simplifies logic in a couple places and removes a redundant function
call.
Signed-off-by: Devin J. Pohly <djpohly@gmail.com>
- Commit:
403c57ebb5b3745ff93e49b87e526c49dc59a5b9- From:
- Devin J. Pohly <djpohly@gmail.com>
- Date:
Clean up #includes
Signed-off-by: Devin J. Pohly <djpohly@gmail.com>
- Commit:
e0215d53770a9b6bc6e5d7b9a603ecd34dbd7100- From:
- Devin J. Pohly <djpohly@gmail.com>
- Date:
Reduce visibility wherever possible
When possible, declare functions/variables static and move struct
definitions out of headers. In order to allow utf8decode to become
internal, use codepoint for DECSCUSR extension directly.
Signed-off-by: Devin J. Pohly <djpohly@gmail.com>
- Commit:
30683c70ab62fd37b5921cf72077b9aef2cb842e- From:
- Devin J. Pohly <djpohly@gmail.com>
- Date:
Limit usage of extern to config.h globals
Prefer passing arguments to declaring external global variables. The
only remaining usage of extern is for config.h variables which are
needed in st.c instead of x.c (where it is now included).
Signed-off-by: Devin J. Pohly <djpohly@gmail.com>
- Commit:
a3beb626d2dae9d4d0883c7c8cb6ba58b0609105- From:
- Devin J. Pohly <djpohly@gmail.com>
- Date:
Remove x.c dependency on term
The xinit function only needs to the rows/cols, so pass those in rather
than accessing term directly. With a bit of arithmetic, we are able to
avoid the need for term.row and term.col in x2col, y2row, and
xdrawglyphfontspecs as well, completing the removal.
Term is now fully internal to st.c.
Signed-off-by: Devin J. Pohly <djpohly@gmail.com>
- Commit:
a5dc1b46976b2252f9d7bb68f126c4b0f351dd1a- From:
- Devin J. Pohly <djpohly@gmail.com>
- Date:
Pull term references out of xdrawcursor
Gradually reducing x.c dependency on Term object. Old and new cursor
glyph/position are passed to xdrawcursor. (There may be an opportunity
to refactor further if we can unify "clear old cursor" and "draw new
cursor" functionality.)
Signed-off-by: Devin J. Pohly <djpohly@gmail.com>
- Commit:
88d8293fb4ba150a5f19d58d133b5db93d9dcfa5- From:
- Devin J. Pohly <djpohly@gmail.com>
- Date:
Move win-agnostic parts of draw/drawregion to st.c
Introduces three functions to encapsulate X-specific behavior:
* xdrawline: draws a portion of a single line (used by drawregion)
* xbegindraw: called to prepare for drawing (will be useful for e.g.
Wayland) and returns true if drawing should happen
* xfinishdraw: called to finish drawing (used by draw)
Signed-off-by: Devin J. Pohly <djpohly@gmail.com>
- Commit:
05c66cb37d9ff278a3e0c45682c4b5e7945deb42- From:
- Devin J. Pohly <djpohly@gmail.com>
- Date:
Split mode bits between Term and TermWindow
Moves the mode bits used by x.c from Term to TermWindow, absorbing
UI/input-related mode bits (visible/focused/numlock) along the way.
This is gradually reducing external references to Term. Since
TermWindow is already internal to x.c, we add xsetmode() to allow st to
modify window bits in accordance with escape sequences.
IS_SET() is redefined accordingly (term.mode in st.c, win.mode in x.c).
Signed-off-by: Devin J. Pohly <djpohly@gmail.com>
- Commit:
33201ac65f74e45b4fa60822ba9a538c3cfa9b25- From:
- Devin J. Pohly <djpohly@gmail.com>
- Date:
Move CRLF input processing into ttywrite
This also allows us to remove the crlf field from the Key struct, since
the only difference it made was converting "\r" to "\r\n" (which is now
done automatically in ttywrite). In addition, MODE_CRLF is no longer
referenced from x.c.
Signed-off-by: Devin J. Pohly <djpohly@gmail.com>
- Commit:
52d6fb1ab1f7d41839edebb63c3408578cd44e3c- From:
- Devin J. Pohly <djpohly@gmail.com>
- Date:
Move terminal echo logic into st.c
The only thing differentiating ttywrite and ttysend was the potential
for echo; make this a parameter and remove ttysend.
Signed-off-by: Devin J. Pohly <djpohly@gmail.com>
