Boris Faure
4144170cfc
termiointernals: use a switch/case
...
and let the compiler do the optimization and unroll the binary search
itself.
I wrote a micro benchmark:
1. switch_fallthrough: 9597502784 ns
2. switch_return: 8921069697 ns
3. binary_search: 18403018625 ns
The results are pretty consistent over multiple runs.
1st is switch case with one return at the end and lots of
fallthrough.
2nd is a return of each case,
3rd is the original code.
3 years ago
Boris Faure
eba80af2ea
sb: extract tests
3 years ago
Boris Faure
745b93e95b
termiointernals: _codepoint_is_wordsep() is const
3 years ago
Boris Faure
abdef9786c
have define BINARY_TYFUZZ/BINARY_TYTEST
3 years ago
Boris Faure
1702931b1b
mv src/bin/md5/md5.{c,h} src/bin/
3 years ago
Boris Faure
4703e374b9
sb: add some more tests
3 years ago
Boris Faure
c2c324c497
sb: fix error: applying zero offset to null pointer
...
Found by UndefinedBehaviorSanitizer
3 years ago
Boris Faure
04a47e0e19
sb: add unit tests + fix a few issues
3 years ago
Boris Faure
15ee3702db
sb: add ty_sb_spaces_ltrim()
3 years ago
Boris Faure
4a12891493
ci: run "tytest dummy" to ensure finding a test works
3 years ago
Boris Faure
a18b482bf0
run unit tests in ci
3 years ago
Boris Faure
63815156aa
dumb framework to run unit tests in terminology
3 years ago
Boris Faure
392bfdb4a7
tests: rework tytest.c/tyfuzz.c to no longer #include one in the other
3 years ago
Boris Faure
bb09c80ab4
Merge branch 'terminology-1.7'
3 years ago
Boris Faure
5cae99eee1
options: word-wrap some labels
3 years ago
Boris Faure
ec344090aa
scale wizard: word-wrap the labels
3 years ago
Boris Faure
7e737564c8
tests: add one about '-' not being a word separator
3 years ago
Boris Faure
13fce0866c
Merge branch 'terminology-1.7'
3 years ago
Boris Faure
446823b6ea
options_elm: fix original _find_binary
3 years ago
Boris Faure
1b88cd96e6
snap efl patch: remove useless assignment
3 years ago
Boris Faure
6836f16ee6
Merge branch 'terminology-1.7'
3 years ago
Boris Faure
4745752fab
snap: make embedded efl able to start efreetd
...
+ add new dependencies + reorder deps
+ Also change the source for efl to my own that I find way more reliable
than efl's server (might only be because I'm closer)
3 years ago
Boris Faure
29cce7e73e
termiointernals.c: do not consider '-' as a word separator
3 years ago
Boris Faure
e082daa6c1
snap: use efl-1.24.1
3 years ago
Boris Faure
de969e7cef
Merge branch 'terminology-1.7'
3 years ago
Boris Faure
1d5eee0e60
focus validator: be less strict when changing tabs
...
Closes T8722
3 years ago
Boris Faure
3be858b09b
termiointernals: handle EM (end of medium) as word separator
3 years ago
Boris Faure
8c410d0e1d
on the road again
...
Ok, I need to be more creative on commit messages after releases
3 years ago
Boris Faure
73fd0ab649
1.7.0 is now!
3 years ago
Boris Faure
26ff40651b
update AUTHORS file
3 years ago
Boris Faure
876036f009
termptyesc: randomize new entry in the true color cache
3 years ago
Boris Faure
b088592f79
update Changelog/NEWS with updated translations
3 years ago
milotype
e94b14f49c
Updagte Croatian translation hr.po
...
While translating German, I realized I need to make some corrections in the Croatian translation. Sorry!
3 years ago
milotype
abd834be67
Update complete German translation de.po
3 years ago
Boris Faure
9316652127
tests: reuse one of 32 TrueColors over the terminal
3 years ago
Boris Faure
1bd27081c3
tests: on true color cache thrashing
...
when new items are added to the cache and entries there are never reused
3 years ago
Boris Faure
850ffa30d6
changelog/news: about new escape code on term program + version
...
+ env variables
3 years ago
Boris Faure
52ab21783a
test: test escape code to get term name + version
...
obviously will have to change that on each new version…
3 years ago
Boris Faure
9977b8a63b
termpty: set TERM_PROGRAM/TERM_PROGRAM_VERSION env variables
3 years ago
Boris Faure
106f8b5c9a
termptyesc: handle terminal query
...
New, still debated on https://gitlab.freedesktop.org/terminal-wg/specifications/issues/8
3 years ago
Boris Faure
914e440863
update ChangeLog/NEWS with new croatian translation
3 years ago
milotype
88f2c38e9e
Release of Croatian translation hr.po
3 years ago
milotype
56b2877188
Update LINGUAS with hr
...
- update for Croatian
3 years ago
Boris Faure
d7fe122dc1
ChangeLog: of course, the next release is 1.7.0
...
Thanks to thrice!
3 years ago
Boris Faure
732d6e9381
tests: box selection scrolls down
3 years ago
Boris Faure
8550d87ecf
tests: selection to the bottom scrolls down
3 years ago
Boris Faure
422ef9f67e
tests: add box selection that scrolls up
3 years ago
Boris Faure
197d407b76
tests: add one making a box selection in the backlog
3 years ago
Boris Faure
218b2fb4d0
tests: add one when selection scrolls up
3 years ago
Boris Faure
144db18649
termiointernals: no timer in tests
3 years ago