Commit Graph

1983 Commits

Author SHA1 Message Date
Boris Faure 37d622752a
utils: ensure an elementary config exists 2019-12-08 16:46:29 +01:00
Carsten Haitzler 4f75b58d6a cmdbox - allow multiple + or -'s for font command to go up or down more
so f+++ will increase font size 3 times in a row within a single
command, as will f--- do the reverse etc. ... use as many +'s and -'s
and needed.
2019-12-06 09:55:50 +00:00
Carsten Haitzler 557ad82e8d cmdbox - make font size up/down jump by larger steps 2019-12-06 09:46:24 +00:00
Carsten Haitzler 908fa7ee61 term cmd - font big - multiple size by 2 not set to fixed 20 size
this is a more sensible way to size up a scaleable font...
2019-12-06 09:32:53 +00:00
Carsten Haitzler 374d1b3e29 cmbox - fix focus handling to work again
alt+home opens the "command box" for terminology. this is an extended
control system where we can add lots of commands. it's been there for
a while. look at termcmd.c and termcmd_do() for current commands like:

f <- set font to normal size
fb <- set font to big size
f+ <- increase font size
f- <- decrease font size
/string <- search for "string" (not implemented yet but recognized)
g0 <- set geometry to 80x24
g1 <- set geometry to 80x40
g2 <- set geometry to 80x60
g3 <- set geometry to 80x80
g4 <- set geometry to 120x24
g5 <- set geometry to 120x40
g6 <- set geometry to 120x60
g7 <- set geometry to 120x80
g8 <- set geometry to 120x120
b <- clear backgorund
b/file/path.jpg <- set background to /file/path.jpg

you get the idea ... it's a command character (or set of chars)
followed by paramters, then hit enter to finish.
2019-12-06 09:14:40 +00:00
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 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 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 998f25ba77 termio: only the TEXT case shouldn't happen in that switch-case 2019-10-28 09:56:03 +01:00
Boris Faure e197c04f65 termiointernals: be able to select tabs + test 2019-10-27 16:14:28 +01:00
Boris Faure e1ff4d877e termptyesc: store when tab are inserted and where they stop 2019-10-27 16:04:43 +01:00
Boris Faure 7dcb9e4e43 termio_selection_get(): simplify by using macros 2019-10-27 12:06:18 +01:00
Boris Faure 7634b61283 termio: allow \t to be pasted 2019-10-27 11:32:51 +01:00
Boris Faure 1195c022f3 default.edc: move tab selector on the tab line 2019-10-26 18:18:03 +02:00
Boris Faure c130c6f683 main: change prototype for main_new() 2019-10-26 18:13:25 +02:00
Boris Faure 0f5e928e37 Revert "wip"
This reverts commit fc865e97b0.
2019-10-21 23:28:42 +02:00
Boris Faure fc865e97b0 wip 2019-10-20 23:01:10 +02:00
Boris Faure 9b23e02b4e win: clean up tabs list asap 2019-10-20 20:05:02 +02:00
Boris Faure 9ce403d29b media: remove useless condition 2019-10-20 18:32:35 +02:00
Boris Faure 71ee21af32 main: only one place to configure a running instance 2019-10-20 18:16:10 +02:00
Boris Faure 984d7e07c6 ipc: set theme on new instance 2019-10-19 10:57:57 +02:00
Boris Faure 98787cfc2d main: unsetenv("DESKTOP_STARTUP_ID") when it won't ever be used again
Also remove one as it might be used by apps
2019-10-17 09:58:40 +02:00
Boris Faure e9b2d22ff7 main: putenv() can't use stack mem as it might become part of env
and use later.

Avoid stack-use-after-scope.
2019-10-17 09:58:40 +02:00
Boris Faure 5e5ac579b5 win: cleanup windows_free() 2019-10-17 09:58:40 +02:00
Boris Faure cd84ce0a34 main: fix execv() usage 2019-10-17 09:58:40 +02:00
Boris Faure 3e40f46f9b Revert "Revert "main: better handle stalled unix socket used to spawn multiple instances""
This reverts commit e716ad5812.
2019-10-17 09:58:40 +02:00