Commit Graph

2496 Commits

Author SHA1 Message Date
Boris Faure 6ee735a94d tests: update results file to reflect changes on double-width handling 2019-06-23 22:30:27 +02:00
Boris Faure ba980a594c termptydbl: oops 2019-06-23 22:16:47 +02:00
Boris Faure ef483dba0d termptydbl: add special case for emoji that were single width before 2019-06-23 22:02:50 +02:00
Boris Faure 50f4f6308d termptyops: skip variation selectors
We should take into account VS1, 15 and 16…
2019-06-23 22:02:50 +02:00
Boris Faure 7b3110d4a2 termpty: attach a Config * to Termpty 2019-06-23 22:02:50 +02:00
Boris Faure 7cc1197a53 config: add option to treat emojis as double-width 2019-06-23 22:02:49 +02:00
Boris Faure cdaae389aa utf8: only encode codepoints ≤ U+10FFFF. Closes T8022 2019-06-23 16:44:28 +02:00
Alastair Poole 18bff78895 build: Fix build and behaviour on OpenBSD.
Summary:
OpenBSD does not have strchrnul. Also, fix range
issue with window size.

The geometry is broken on OpenBSD and DragonFlyBSD.
A previous patch solved this issue. Range was
changed to <= 0, but needs to be <= 1 to  ensure
the terminal opens and displays content.

Reviewers: billiob

Reviewed By: billiob

Differential Revision: https://phab.enlightenment.org/D9157
2019-06-23 16:39:17 +02:00
Boris Faure 253446db49 debug: remove some 2019-06-18 22:09:29 +02:00
Boris Faure cf060d2a04 focus: block focus manager from getting key inputs when they are consumed 2019-06-18 22:06:44 +02:00
Boris Faure c151c3c0a0 termio: use term_is_focused() since it is now more reliable
sd->self is not the evas object that is being focused
2019-06-17 22:13:39 +02:00
Boris Faure ff136b78f1 win: export term_is_focused() 2019-06-17 22:12:59 +02:00
Boris Faure b464932d2d Revert "Revert "win: let elm handle focus""
This reverts commit 8354e83726.
2019-06-17 21:22:17 +02:00
Boris Faure 8354e83726 Revert "win: let elm handle focus"
This reverts commit 113bf27619.

Not yet fully working. Previous behaviour was better.
2019-06-14 11:19:30 +02:00
Boris Faure 113bf27619 win: let elm handle focus 2019-06-13 20:45:53 +02:00
Boris Faure 5f19ccb841 win: use elm_layout funcs on base object in About 2019-06-13 20:45:33 +02:00
Carsten Haitzler 5c74541206 config - font size - go back to 10 as default
so a whole back terminology moved from the shipepd nexus bitmap font
to system monospace fonts and 12 pt. it has always looked wrong as
efl's default theme is 10 and relies on a system-wide scale factor to
do this. 12 has looked totally out of place for a long time and it's
time that this not be hacked around in terminology but be solved at
the system level - maybe efl. if you use e then you will have selected
the scaling factor already and it will affect efl apps and all work.
outside of e is "not solved". to date it's been "other desktosp have
to support efl - up to them". perhaps looking at some level of "well
user has no config so let's guess what scale factor should maybe be
based on dpy and other toolkit configs we can find etc." in EFL... not
terminology.
2019-06-11 11:57:24 +01:00
Carsten Haitzler 049a847475 Revert "themes: make blue more readable"
This reverts commit 5c0167c5e1.

Porkepix on IRC pointed this out and it actually does the reverse of make
blue more readable. compare:

before:
https://framapic.org/EvV0cVyAUKUm/OZIdkLB4pOCn.png

after:
https://framapic.org/hX2gczT1jGMU/jtu3mJ3eQE2E.png

notice the bg of the bar at the bottom now become a lighter blue
making numbers hard to read. the darker blue was chosen because that
is actually the blue color used in xterm and the linux console (or
closer to it with a bit of a muted coloring to it rather than totally
pure). :( so sorry - this IMHO goes backwards and Porkepix did point
it out too.
2019-06-11 11:44:31 +01:00
maxerba 8f0cc2f7aa Updating italian translation 2019-06-06 20:30:02 +02:00
Boris Faure 417cf716c6 termptyesc: handle some OSC where there's nothing to do 2019-05-27 19:20:28 +02:00
Boris Faure 16db713a44 termptyesc: just ignore screen mode 2019-05-27 19:20:09 +02:00
Boris Faure 50e1371006 termptyesc: osc 11's format is weird 2019-05-27 00:13:22 +02:00
Boris Faure 33b2d68aa9 termptyesc: handle OSC 11 that reports background color
It can also be used to set background color but that's not implemented
2019-05-26 23:02:53 +02:00
Boris Faure 7e677abfb9 termpty: add termpty_color_class_get() 2019-05-26 22:55:22 +02:00
Boris Faure f6d6ce481e termpty: fix unsigned comparison 2019-05-26 22:54:38 +02:00
Boris Faure 82dec43611 themes: use a color_class BG to set background color 2019-05-26 22:54:12 +02:00
Boris Faure d29533e341 win: add term_bg_get() 2019-05-26 22:52:57 +02:00
Boris Faure 372893297b options_behavior: remove unused variable 2019-05-26 22:41:26 +02:00
Boris Faure fff087bead use layout api in controls/options 2019-05-26 19:25:44 +02:00
Boris Faure b963622c5d Merge remote-tracking branch 'origin/terminology-1.4' 2019-05-25 11:35:46 +02:00
Boris Faure 49d9eb52a5 Terminology release 1.4.1 2019-05-24 22:18:11 +02:00
Boris Faure 3c12162dcf win: use elm_layout for the base objects 2019-05-24 21:47:25 +02:00
Boris Faure 5c0167c5e1 themes: make blue more readable 2019-05-22 10:26:11 +02:00
Boris Faure b6545c0bbf Merge branch 'terminology-1.4' 2019-05-21 21:29:39 +02:00
Marcel Hollerbach 70561160a6 terminology: call donecb later
donecb must be called after the settings objects have been deleted.
Otherwise focus manager will detect that a focused object is deleted,
and performe recoverty things. Those recovery things end up in
terminology in focusing nothing, since the terminal object is not a
elementary widget. Not beeing a elementery widget here means that it is
not visible from the POV of the focus manager.

However, when we emit donecb later on, then the focus is restored (in
the callback) after focus manager has performed its voodoo.

This fixes focus disappearing after going into the settings and going
out of them again.

Reviewed-by: Boris Faure <billiob@gmail.com>
Differential Revision: https://phab.enlightenment.org/D8932
2019-05-21 21:26:06 +02:00
Carsten Haitzler 82291544e3 terminology - fix initial size hints to be stepped right
@fix
2019-05-21 21:25:29 +02:00
Carsten Haitzler 7cf8ab2c8b theme - fix theme min sizing that is causing a default 81x24 not 80x24
the bg min size calcs as 8x8 - it shouldnt be. more like 2x2 with no
content (the padding of 1 pixel at the dges).
2019-05-21 21:25:06 +02:00
Carsten Haitzler e1e2a20d71 fix sign compare warn - no real bug to see here 2019-05-21 21:24:39 +02:00
Marcel Hollerbach 2168e6a85f terminology: call donecb later
donecb must be called after the settings objects have been deleted.
Otherwise focus manager will detect that a focused object is deleted,
and performe recoverty things. Those recovery things end up in
terminology in focusing nothing, since the terminal object is not a
elementary widget. Not beeing a elementery widget here means that it is
not visible from the POV of the focus manager.

However, when we emit donecb later on, then the focus is restored (in
the callback) after focus manager has performed its voodoo.

This fixes focus disappearing after going into the settings and going
out of them again.

Reviewed-by: Boris Faure <billiob@gmail.com>
Differential Revision: https://phab.enlightenment.org/D8932
2019-05-21 21:07:53 +02:00
Boris Faure 85372bfd27 Merge branch 'terminology-1.4' 2019-05-21 11:23:49 +02:00
Boris Faure c7d92ecc6c ci: build with different versions of EFL (1.20.7, 1.21.1, 1.22.2) 2019-05-21 11:19:26 +02:00
Carsten Haitzler 40ea16d995 terminology - fix initial size hints to be stepped right
@fix
2019-05-18 02:41:16 +01:00
Carsten Haitzler 396041a741 theme - fix theme min sizing that is causing a default 81x24 not 80x24
the bg min size calcs as 8x8 - it shouldnt be. more like 2x2 with no
content (the padding of 1 pixel at the dges).
2019-05-17 13:53:01 +01:00
Carsten Haitzler 811753d7d9 buildtype - move to plain by default like efl
meson uses debug by default... let's use plain shall we?
2019-05-15 14:38:27 +01:00
Carsten Haitzler 03d15389a5 fix sign compare warn - no real bug to see here 2019-05-13 15:03:32 +01:00
Boris Faure 43224731e0 Merge branch 'terminology-1.4' 2019-05-05 12:57:28 +02:00
Boris Faure 67de5e75b2 termio: do replace \n by \r when pasting 2019-05-05 12:56:23 +02:00
Boris Faure daa4f1bae0 Merge branch 'terminology-1.4' 2019-05-05 11:41:58 +02:00
Boris Faure f1837dbc0c termio: fix buffer overflow if too many \n 2019-05-05 11:41:10 +02:00
Boris Faure 766c3bfebc Merge branch 'terminology-1.4' 2019-05-03 23:28:34 +02:00