Christoph Lohmann
5406e655da
Add the new selection shortcuts to the manpage.
2015-03-14 08:52:37 +01:00
Christoph Lohmann
72d2accc22
Glibc wants me to use _DEFAULT_SOURCe. I do obey.
2015-03-14 08:43:57 +01:00
Christoph Lohmann
2fcfea1bf1
Add Mod + Shift + c/v and no selclear.
...
Thanks to Alex Pilon <alp@alexpilon.ca >!
Now there is a distinction between the primary and clipboard selection. With
Mod + Shift + c/v the clipboard is handled. The old Insert behavious does
reside.
2015-03-14 07:41:59 +01:00
Christoph Lohmann
c87d45466b
Merge branch 'master' of ssh://suckless.org/gitrepos/st
2015-03-10 21:59:41 +01:00
Christoph Lohmann
28259f5750
St now does only set PRIMARY on selection.
...
http://standards.freedesktop.org/clipboards-spec/clipboards-latest.txt
2015-03-10 21:58:32 +01:00
Christoph Lohmann
9494362d0b
Fixing the C reading test.
...
This was a test to see if anyone actually reads what is submitted. The list of
people not contributing will be valuable in the future.
2015-03-10 21:11:04 +01:00
Christoph Lohmann
cf1fcc4d96
Change the FAQ for the new Backspace behaviour.
2015-03-10 00:20:28 +01:00
Christoph Lohmann
230d0c8428
Finally resolving the backspace problem.
...
The majority now using the Linux behaviour. Minorities have to live in their
ghettos.
2015-03-10 00:00:44 +01:00
Christoph Lohmann
b0bddc694a
Add a hack to handle unknown chars in fontconfig.
...
The unicode long is added to the cache. So when fontconfig does fall back to
the default font (where there is no easy way to find this out from the
pattern) it isn't reloaded.
2015-03-09 23:16:03 +01:00
Christoph Lohmann
cd159883d1
Reverting smacs and rmacs to the xterm defaults.
...
These are needed by ncurses to correctly handle the switch between line
drawing. The changes to the alternative characterset code already fixed the
urwid hack.
2014-10-21 16:36:01 +02:00
Christoph Lohmann
a7eef8f230
Removing an extra space.
2014-09-29 15:41:10 +02:00
Christoph Lohmann
63a07eb19c
Minor style changes for the last patch.
2014-09-29 15:40:37 +02:00
Christoph Lohmann
dc8c5c82aa
Implementing xzoomreset.
...
Thanks mvdan@mvdan.cc for proposing this.
2014-09-29 15:38:21 +02:00
Christoph Lohmann
0015e198bf
Making surf compile again with rt.
...
The clock_gettime patch needs librt to be linked to surf.
Thanks _odie for the hint.
2014-06-30 17:33:43 +02:00
Christoph Lohmann
587b443592
Style police.
2014-06-07 13:49:04 +02:00
Christoph Lohmann
c6fcb78b3a
Fixing color and refactor xsetcolorname.
...
By the recommendation of FRIGN I refactored xsetcolorname to remove the
unnecessary r, g, b variables when allocating a new color. Colors are
now freed and set to the new color. A die() should not happen here. Oth‐
erwise it is easy for applications to kill st. St should be resilent to
malicious input.
Second this patch standardises the naming of »color«. There is no
»colour« here. Maybe in some parts of the world.
2014-06-01 17:08:16 +02:00
Christoph Lohmann
8b4cfcea73
Revert "Refactor xsetcolorname()"
...
This reverts commit a32c5f5726 .
2014-06-01 16:52:19 +02:00
Christoph Lohmann
ede83bd08b
Fixing italic bold.
...
Thanks Felipe Spychalski <spychalski@gmail.com > for the patch!
2014-06-01 15:54:28 +02:00
Christoph Lohmann
d03aa8d20b
Fix some more LICENSE changes.
2014-05-24 21:27:54 +02:00
Christoph Lohmann
488977c8ef
Brightening is again on the TODO list.
2014-05-24 13:52:24 +02:00
Christoph Lohmann
f4ebb3180f
Fixing trailing whitespaces.
2014-05-24 13:48:44 +02:00
Christoph Lohmann
bdb850a16a
Redraw needs all dirty lines to have flash etc. work.
2014-05-09 17:12:58 +02:00
Christoph Lohmann
fe31a3f634
Conformity in the -g geometry handling.
...
Thanks to Yuri Karaban for suggesting this!
These changes make -g correspond to <cols>x<rows> and honor it so non-tiling
window managers can work with the size hints afterwards. It also adds a -i
flag to force the window size. This is needed so -g keeps being useful in dwm.
2014-04-25 22:34:24 +02:00
Christoph Lohmann
87abc7cd59
It's 2014 now.
2014-04-22 19:22:58 +02:00
Christoph Lohmann
f27b44b7c2
Removing two unnecessary gettimeofday().
2014-04-11 18:11:25 +02:00
Christoph Lohmann
0baf2d8be5
0.5 release.
2014-04-05 20:40:11 +02:00
Christoph Lohmann
62f9142478
Updating the TODO in preparating for 0.5.
2014-04-05 20:39:46 +02:00
Christoph Lohmann
a495fce128
There is no need for a full dirt redraw.
2014-04-05 20:34:57 +02:00
Christoph Lohmann
6f4cfa5136
Fixing a compiler warning with the assignment.
2014-04-02 09:26:28 +02:00
Christoph Lohmann
1584956a60
Style cleanup.
...
Add some note about the main reason why st is still that big.
2014-03-01 11:04:03 +01:00
Christoph Lohmann
d2ec39f0ef
Style matters.
2014-03-01 09:22:57 +01:00
Christoph Lohmann
c2026a4950
Removing the w3img support.
...
The patch to add w3img support destroys our way to handle fps and so stop
wasting resources on fast scrolling. Due to w3img being a hack to display
images in an ugly way, is there no need to support this. Use some real way to
display images.
2014-02-03 20:54:25 +01:00
Christoph Lohmann
c5c2365ab7
People, learn to keep to styles. Thanks.
2013-10-02 21:06:50 +02:00
Christoph Lohmann
cc2ea3147a
Default volume of the bell is 0.
2013-09-12 20:52:10 +02:00
Christoph Lohmann
210dda9570
Wide character support.
...
Thanks "Eon S. Jeon" <esjeon@hyunmu.am >!
2013-09-07 12:41:36 +02:00
Christoph Lohmann
a4358a1fbd
Adding some contributors. Thanks to you all!
2013-09-07 12:29:44 +02:00
Christoph Lohmann
587bc939f6
Tmux is using C-b by default.
...
Thanks for noticing Fidel Barrera Cruz!
2013-08-22 19:32:49 +02:00
Christoph Lohmann
8d21ced085
Correcting the bitmask value check.
2013-08-20 18:18:48 +02:00
Christoph Lohmann
5d3318c0c7
Fixing title setting with the title argument.
2013-06-09 15:52:35 +02:00
Christoph Lohmann
369734c80c
Adding xterm behaviour to setting the title.
...
Thanks Airwave!
2013-06-06 19:09:18 +02:00
Christoph Lohmann
2cf4f366d6
Bumping up the xfps so mouse motion won't reap the CPU.
2013-06-01 14:39:13 +02:00
Christoph Lohmann
7530694987
Adding true mouse motion support.
2013-06-01 14:37:30 +02:00
Christoph Lohmann
d743b93fda
This is a shorter bit handling in MODE_MOUSE.
2013-06-01 13:17:20 +02:00
Christoph Lohmann
317b785921
Add some comments about the other mouse reporting modes.
2013-06-01 13:13:01 +02:00
Christoph Lohmann
405fd89ac1
Implementing mouse focus and all events.
2013-06-01 13:06:53 +02:00
Christoph Lohmann
8315dc4179
Fixing bad highlighting on first SNAP_WORD multiline select.
2013-06-01 12:23:55 +02:00
Christoph Lohmann
b5144100a5
Fixing the selection in a single line again.
...
Thanks p37sitdu@lavabit.com !
2013-05-26 16:10:22 +02:00
Christoph Lohmann
8f1bef0502
Fixing the selection scrolling and the selection naming.
...
Thanks p37sitdu@lavabit.com !
2013-05-26 13:07:26 +02:00
Christoph Lohmann
8f47c4a4de
Lazy font unloading too.
2013-05-11 21:59:55 +02:00
Christoph Lohmann
62502a88e9
Lazy fontset loading.
...
Thanks Johannes Hofmann <Johannes.Hofmann@gmx.de >!
2013-05-11 08:54:26 +02:00
Christoph Lohmann
678eff6e18
Removing an old select() regression.
2013-05-06 19:50:14 +02:00
Christoph Lohmann
8e968739c3
Allow more complex delimiters for word selections.
...
Thanks Alexander Rezinsky <alexrez@gmail.com >!
2013-05-04 19:04:20 +02:00
Christoph Lohmann
0c2b513d01
Expand the last line with '\n' in case of overselection.
...
Thanks Alexander Rezinsky <alexrez@gmail.com >!
2013-05-04 19:00:32 +02:00
Christoph Lohmann
634c247fa7
Select to the end of row if end of line is reached.
...
Thanks Alexander Rezinsky <alexrez@gmail.com >!
2013-05-04 08:05:11 +02:00
Christoph Lohmann
5938fa9d32
Better comments for the snapping code.
2013-05-04 08:01:17 +02:00
Christoph Lohmann
8618386de9
More stable blinking.
2013-05-01 13:14:46 +02:00
Christoph Lohmann
e1458ef467
Explaining blinking for the dummies.
2013-04-28 21:32:42 +02:00
Christoph Lohmann
911ba5674b
Selection snapping is now considering wrapping.
...
Thanks Alexander Rezinsky <alexrez@gmail.com > for mentioning this!
2013-04-28 18:14:15 +02:00
Christoph Lohmann
a53017c8b4
Add a possibility to modify the string sent by mouse buttons.
...
Thanks Alexander Rezinsky <alexrez@gmail.com > for the suggestion!
2013-04-28 17:42:30 +02:00
Christoph Lohmann
a77b01176a
Be more efficient in blinking.
2013-04-26 18:55:40 +02:00
Christoph Lohmann
1e09726518
Enable blinking in st.
2013-04-26 18:41:54 +02:00
Christoph Lohmann
1b2751f5c2
Fixing the selection handling to allow one char selection.
...
Thanks Alexander Sedov <alex0player@gmail.com > for suggesting the fix!
2013-04-25 06:28:11 +02:00
Christoph Lohmann
0851f2be2a
Fixing the selection issue in altscreens.
2013-04-24 21:30:59 +02:00
Christoph Lohmann
6b03bb769a
Now clipping is more clear.
2013-04-23 19:37:28 +02:00
Christoph Lohmann
db6f796ecf
Removing the overdrawing of some fonts.
2013-04-23 19:17:50 +02:00
Christoph Lohmann
7ea6863208
Yes, rs2 != is2.
2013-04-23 15:38:48 +02:00
Christoph Lohmann
8037dac847
There is no 8bit by default and reset 8bit too.
2013-04-23 15:33:21 +02:00
Christoph Lohmann
2bd6afd1c9
Implementing 8 bit mode for meta.
2013-04-23 15:22:14 +02:00
Christoph Lohmann
b596d6ba3c
Adding wrap handling in selection.
2013-04-21 13:01:16 +02:00
Christoph Lohmann
3c546ae739
0.4.1 release.
2013-04-20 15:29:39 +02:00
Christoph Lohmann
645c1b0afc
Making st compile on OpenBSD again.
2013-04-19 21:11:29 +02:00
Christoph Lohmann
da182612b7
Removing trailing whitespace.
2013-04-18 06:51:18 +02:00
Christoph Lohmann
3ae0299064
Removing unneeded comments.
2013-04-18 06:41:54 +02:00
Christoph Lohmann
c371fe58a3
Enable BCE everywhere.
2013-04-14 18:30:10 +02:00
Christoph Lohmann
44db38a5f8
Fix the geometry handling.
2013-04-13 15:24:26 +02:00
Christoph Lohmann
4de64fa4d2
\033 should be used in printf in the FAQ.
...
Never apply patches of Apple users without shouting at them. The basic rule of
nature is that when you apply Appl users patches without shouting at them that
something will go horribly wrong.
2013-04-13 12:26:17 +02:00
Christoph Lohmann
de4cd2f6af
Resize now uses xclear().
2013-04-13 09:49:11 +02:00
Christoph Lohmann
1e7816c202
Drawing a more visible rectangle as cursor on unfocus.
...
To have a more visible cursor on unfocused windows this patch makes st draw a
rectangle around the terminal cell.
Thanks Mark Hills <mark@xwax.org > for the suggestion!
2013-04-13 09:44:00 +02:00
Christoph Lohmann
5dc48af29e
Patching while not really woken up.
2013-04-13 08:51:30 +02:00
Christoph Lohmann
5984657c00
Minor naming issue fixed.
2013-04-13 08:50:38 +02:00
Christoph Lohmann
4018b2c507
Making the copy and pasting consistent.
...
The copying and pasting in the terminald and GUI world is flawed. Due to the
discussion on the mailinglist it seems that sending '\n' is what GUIs expect
and '\r' what terminal applications want. St now implements that behaviour.
2013-04-13 08:48:17 +02:00
Christoph Lohmann
684cf55a0d
Make st work with a plain -e command.
2013-04-10 17:48:32 +02:00
Christoph Lohmann
b1813b14d9
Adopting arg.h with more flexible cmd handling.
2013-04-03 21:00:38 +02:00
Christoph Lohmann
580c8bbd46
Add an option to disable alternative screens.
2013-04-03 20:42:27 +02:00
Christoph Lohmann
502911e554
Updating the TODO file for after 0.4.
2013-03-29 19:44:37 +01:00
Christoph Lohmann
a3a5b8e15e
Releasing 0.4.
2013-03-29 19:13:26 +01:00
Christoph Lohmann
7e7760c2ed
Add the possibility to have default highlight colors.
...
Thanks to stargrave@stargrave.org for the suggestion!
2013-03-29 19:01:24 +01:00
Christoph Lohmann
adde5c6d9d
Adding PgUp + Ctrl.
...
Thanks stargrave@stargrave.org !
2013-03-29 18:45:09 +01:00
Christoph Lohmann
f876810626
Adding PgUp and PgDown + Ctrl to config.def.h
...
Thanks stargrave@stargrave.org !
2013-03-29 18:43:32 +01:00
Christoph Lohmann
a1e3b94b37
Removing an undefined case. just do regular selections.
2013-03-29 18:39:01 +01:00
Christoph Lohmann
4b17dddb10
Making rectangular selection work again.
...
People sending me patches against strange revisions and basing on their own
revisions make me having to reapply them. Then such errors appear.
Thanks Alexander Sedov <alex0player@gmail.com > for noticing this.
2013-03-20 21:19:28 +01:00
Christoph Lohmann
55adf0aad1
Pange seems to use ascent + descent instead of height.
...
Thanks Bobby Powers <bobbypowers@gmail.com > for noticing this!
2013-03-10 21:16:51 +01:00
Christoph Lohmann
82494f248d
Making st compile on OS X.
2013-03-05 22:12:11 +01:00
Christoph Lohmann
c6b89f23e7
Using strsep and fixing null termination in csiparse.
...
Thanks for the hint from Alexander Sedov <alex0player@gmail.com >!
2013-02-26 21:43:40 +01:00
Christoph Lohmann
1c1621da69
Changing the way how paste is handled, just for the nano people.
2013-02-26 19:08:51 +01:00
Christoph Lohmann
1aa26b4ecd
Fixing a bug while parsing empty arguments in csiparse.
2013-02-26 19:07:23 +01:00
Christoph Lohmann
7d32471eff
Fixing bugs in the strtol and strtok_r replacements.
...
Thanks "Roberto E. Vargas Caballero" <k0ga@shike2.com > for the comments!
2013-02-26 18:19:44 +01:00
Christoph Lohmann
7cb0d95509
Using strtok_r for the string parsing.
2013-02-25 13:36:40 +01:00
Christoph Lohmann
37863356b0
Using strtol with overflow checking.
2013-02-25 13:23:56 +01:00
Christoph Lohmann
be7c6d7fb0
Add insert for the primary clipboard to MOD + Shift + Ins.
...
Thanks Mantas Mikulėnas <grawity@gmail.com > for the patch!
2013-02-23 21:50:13 +01:00