Commit Graph

2021 Commits

Author SHA1 Message Date
Boris Faure 00f08812be
win: avoid div by 0. CID1421876 2020-03-19 09:27:57 +01:00
Boris Faure 901e9692c1
win: simplify horizontal drag code 2020-03-18 23:31:06 +01:00
Boris Faure c338286195
win: ensure the term has a container when dragging it 2020-02-25 21:01:33 +01:00
Boris Faure 6f48f706f5
win: have only one tab drag at a time 2020-02-23 21:52:24 +01:00
Boris Faure 3d6a9e1bf5
Merge branch 'terminology-1.6' 2020-02-16 18:53:50 +01:00
Boris Faure 2a3a34f503
termptyesc: handle zero-width spaces, with test 2020-02-16 18:51:36 +01:00
Carsten Haitzler da88dd1128 scale - dont use nan as unsed but < 0.0 because this messes up
i found that the isnan messes up... and even tho it's nan it says its
not thus forcing tmp to be on all the time. using < 0 will be more
reliable for sure as scaling valuses <= 0 are just "invalid" anyway.
2020-02-16 13:11:46 +00:00
Boris Faure 1a7df68b84
win: test calloc()
Closes CID1419432
2020-02-15 23:09:32 +01:00
Boris Faure 2316b92d67
win: reinsert the tab when the mouse is 2020-02-15 22:33:51 +01:00
Boris Faure 82aa688f97
win: attach/detach term from structure to be able to move them 2020-02-15 21:28:15 +01:00
Boris Faure 033840c4c4
main: add --scale option to set scale factor
Useful for my tests :)
2020-02-15 21:27:57 +01:00
Boris Faure daf5e03406
win: no need to set "tabs" in object data 2020-02-13 19:24:32 +01:00
Boris Faure 9dc5249224
win: handle drag on tab shown in splits 2020-02-13 19:24:32 +01:00
Boris Faure 300ddee81a
win: remove animation on long press on tab 2020-02-13 19:24:32 +01:00
Boris Faure ee2c3e5ae9
theme: add active style to tabbar_back when tab is being dragged 2020-02-13 19:24:31 +01:00
Boris Faure ef29315736
drag tabs to reinsert them 2020-02-13 19:24:31 +01:00
Boris Faure 756e5d63a1
Merge branch 'terminology-1.6' 2020-02-09 23:12:25 +01:00
Boris Faure 91e6ae31fc
ipc/main: restore ability to set multiple commands at startup.
Closes T8563
2020-02-09 23:10:39 +01:00
Boris Faure 941328d3f2
win: remove useless elm_layout_content_unset() 2020-02-03 21:56:53 +01:00
Boris Faure 2051978591
win: fix sizing 2020-02-03 21:00:09 +01:00
Boris Faure d3147b1880
win: current tab shouldn't count for missed bell 2020-01-29 00:09:24 +01:00
Boris Faure bee2482fe7
win: add _tabcount_refresh() to simplify tabcount handling 2020-01-29 00:06:12 +01:00
Boris Faure dc2bcc94a1
win: remove unused variable 2020-01-27 23:53:59 +01:00
Boris Faure 5b8d6bd30d
win: add assert to close CID1412739 2020-01-19 18:51:27 +01:00
Boris Faure a90cb8e84e
win: be able to drag'n'drop tabs over the tabbar 2020-01-19 18:17:53 +01:00
Boris Faure 15e2921b14
win: rework tab management to ease tab drag'n'drop 2020-01-19 18:16:48 +01:00
Boris Faure 4e651fc647
win: add vim markers 2020-01-19 18:16:48 +01:00
Boris Faure da372bd1c8
win: use elm_layout for term->bg 2020-01-19 18:16:47 +01:00
Boris Faure 2526fc1cab
win: use term->core to manage edj group "terminology/core" 2020-01-19 18:16:47 +01:00
Carsten Haitzler 0420b20ef6 exe fd handling - make bsd handling same on linux ... as it must
now i've seen this on linux... so no more ifdef

@fix
2020-01-19 12:27:53 +00:00
Carsten Haitzler 53a484bc48 tytools - fix ty_write to return lenght written and not 0 on success
the change to ty_write from write broke a bunch of tytools... this
fixes that. fix change broke it:

0eb8948d67
2020-01-07 10:48:08 +00:00
Alastair Poole bbf556f9b0 termptyesc: Add missing header.
We need to include utils.h for strchrnul if it doesn't exist on
the build system.
2020-01-03 12:56:28 +00:00
Alastair Poole bae700587e
settings: Improve UI 2020-01-01 19:05:26 +01:00
Boris Faure 43dc54e1f1
tyls: add audio icon for flac files 2019-12-09 20:30:52 +01:00
Boris Faure dbc618ed0b
options_elm: launch elementary_config or terminology.elementaryConfig
Lookup into $PATH to know which one is available.

Also use ecore_exe_run() instead of ecore_exe_pipe_run()
2019-12-08 23:10:02 +01:00
Boris Faure e6d3a848ef
utils: mv strchrnul() to utils.h from termptyesc.c 2019-12-08 20:51:23 +01:00
Boris Faure 2bffe3c078
main: add option --no-wizard 2019-12-08 17:02:02 +01:00
Boris Faure 7e3de5fad9
main: figure early whether the scale wizard needs to be shown 2019-12-08 16:46:49 +01:00
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