Commit Graph

2764 Commits

Author SHA1 Message Date
Carsten Haitzler bcb4e27bed close fd's from the host terminal so shell doesnt inherit them all
only inherit the fd's we need/want. use eina_file_close_from()
2019-12-06 08:49:40 +00:00
Boris Faure cfbbe60164
Merge branch 'terminology-1.6' 2019-12-05 19:59:44 +01:00
Boris Faure 0eb8948d67
tycommon: add ty_write() to handle EINTR/EAGAIN on write() 2019-12-05 19:58:25 +01:00
Boris Faure a782ce61e2
test return of ty_sb_add(). Closes CID1408482 2019-12-05 19:08:05 +01:00
Boris Faure 20b656d1f4
Merge branch 'terminology-1.6' 2019-12-04 23:16:30 +01:00
Boris Faure b76bbbe455
termpty: better handle writes
- Use the event loop
- Check for EINTR/EAGAIN

This fixes pasting large amount of data.

Closes T4712
2019-12-04 23:13:30 +01:00
Boris Faure e1f3a4d486
sb: when skipping buffer on the left and the buffer is empty, remove gap 2019-12-04 23:10:39 +01:00
Boris Faure 6bfd508a58
tyfuzz: instead of writing to /dev/null, just do not write 2019-12-04 21:44:37 +01:00
Boris Faure 0ca3ba38c1
README: add snap badge 2019-12-03 11:32:17 +01:00
Boris Faure 1eb9b4cb80
Merge branch 'terminology-1.6' 2019-12-02 23:45:49 +01:00
Boris Faure 99d8436f5a
termpty: retry read() on EINTR 2019-12-02 23:42:38 +01:00
Boris Faure 992936d156
termptyesc: add title/icon stack + tests 2019-11-29 23:31:18 +01:00
Boris Faure a5aaeefc18
remove condition on if (X) eina_stringshare_del(X) 2019-11-29 23:31:14 +01:00
Boris Faure 2e75539fb9
termptyesc: handle invalid values for OSC + test
- missing value is as if 0
- overflow
- hex
- negative value
2019-11-25 20:07:00 +01:00
Boris Faure bde94adf21
termptyesc: rename csi_arg_error to esc_arg_error 2019-11-25 19:44:30 +01:00
Boris Faure 1488b41342
backlog: cleanup 2019-11-24 19:57:48 +01:00
Boris Faure 787e16f215
backlog: simplify code. Closes CID1407754 2019-11-24 19:50:08 +01:00
Boris Faure e16505f5f7
backlog: take alignement into account for memory accounting 2019-11-24 19:00:31 +01:00
Boris Faure 9f58d68371
options_behavior: display current memory usage of the backlog 2019-11-24 18:06:21 +01:00
Boris Faure 77ab1efb9d
backlog: be smarter when changing backlog's size 2019-11-24 16:14:00 +01:00
Boris Faure e6b78bd406
backlog: take the size of backlog into account 2019-11-24 16:13:43 +01:00
Boris Faure cf80e70faf
backlog: move related functions to that file 2019-11-24 16:12:26 +01:00
Boris Faure 0c87de9f5e
backlog: early work to have memory accounting of the backlogs 2019-11-23 23:06:34 +01:00
Boris Faure 62302496dc
git mv src/bin/termptysave.{c,h} src/bin/backlog.{c,h} 2019-11-23 18:31:23 +01:00
Boris Faure b2ff5f3ccd
Merge branch 'terminology-1.6' 2019-11-21 21:51:54 +01:00
Boris Faure 1333e80866
tests: add one about selecting over empty lines 2019-11-21 21:50:18 +01:00
Boris Faure 7461c9896d
Merge branch 'terminology-1.6' 2019-11-20 23:09:57 +01:00
Boris Faure 8e3263d42a
snap: no plugs with classic confinement 2019-11-20 23:09:16 +01:00
Boris Faure a120692339
terminology.desktop.in: add french translation
Thanks to Philippe Jean Guillaumie
2019-11-20 23:09:00 +01:00
Boris Faure 631aeeda97
terminology.desktop: set full path of icon 2019-11-20 23:08:50 +01:00
Boris Faure 35391f4c5e
snap: add libwayland-egl1 as dependency 2019-11-20 23:08:39 +01:00
Boris Faure b5fdc13990
mv data/snap / 2019-11-20 23:06:49 +01:00
Boris Faure beafe2d226
add first version of snapcraft.yaml 2019-11-20 23:06:09 +01:00
Boris Faure 79dfb0f287 snap: no plugs with classic confinement 2019-11-19 23:00:21 +01:00
Boris Faure 3e0f20c61a terminology.desktop.in: add french translation
Thanks to Philippe Jean Guillaumie
2019-11-19 22:59:35 +01:00
Boris Faure 06bdea5142 terminology.desktop: set full path of icon 2019-11-18 19:00:08 +01:00
Boris Faure b53dad69cc snap: add libwayland-egl1 as dependency 2019-11-16 18:00:43 +01:00
Boris Faure f6c15410dc Merge branch 'terminology-1.6' 2019-11-16 17:36:34 +01:00
Boris Faure b14ca5b4eb start work on possible 1.6.1 2019-11-16 17:33:55 +01:00
Boris Faure abefcdcca1 mv data/snap / 2019-11-16 17:23:28 +01:00
Boris Faure a8479528db add first version of snapcraft.yaml 2019-11-16 16:56:26 +01:00
Boris Faure c0d84ff738 back on the road again 2019-11-16 12:11:22 +01:00
Boris Faure 6019e0ee07 1.6.0 release is now \o/ 2019-11-16 10:59:17 +01:00
Boris Faure dcf31cf140 main: do not set config as temporary by default 2019-11-14 12:57:59 +01:00
Boris Faure 2a02a03625 config: add error message if config is from a new Terminology
Also mark it as temporary
2019-11-12 10:57:01 +01:00
Boris Faure b327ff2f19 config: add error messages when saving config 2019-11-12 10:56:41 +01:00
Boris Faure 02f4173387 build: detect whether there is strchrnul
This should help compiling on macosx
2019-11-07 20:43:47 +01:00
Boris Faure 6f8997d194 Prepare release 1.6.0 2019-11-06 23:20:04 +01:00
Boris Faure 998f25ba77 termio: only the TEXT case shouldn't happen in that switch-case 2019-10-28 09:56:03 +01:00
Boris Faure 6148707ee7 tests: works better with the file being committed xD 2019-10-27 16:21:03 +01:00