Commit Graph

1646 Commits

Author SHA1 Message Date
Boris Faure f05a9187b0 Revert "wip"
This reverts commit 487c54b4e1.
2016-03-03 13:30:14 +01:00
Boris Faure 2c5568c933 Revert "wip"
This reverts commit 02db084b27.
2016-03-03 13:30:00 +01:00
Boris Faure 815dddd880 refocus other split when closing one. Closes T3239 2016-03-03 13:01:19 +01:00
Boris Faure 02db084b27 wip 2016-02-10 23:56:59 +01:00
Boris Faure 487c54b4e1 wip 2016-02-10 00:34:39 +01:00
Boris Faure e1be15fa89 tiny cleanup 2016-02-09 20:59:32 +01:00
Boris Faure c4f7d0a18c remove "tabclose" icon on tabs on the back 2016-02-09 19:39:51 +01:00
Boris Faure b74cfc752a do not append \n at end of box selection 2016-02-07 18:15:00 +01:00
Boris Faure 91842fee8a we're in 2016! 2016-02-07 16:29:43 +01:00
Boris Faure 089bcbbc2b update README to 0.9.1 2016-02-07 16:28:19 +01:00
Boris Faure bed1532e19 remove callbacks early when pty exists 2016-02-02 23:34:54 +01:00
Boris Faure 1100f4d964 do not use edje cb when term quits. Closes T3105
Also reorganize the code a bit
2016-02-02 23:15:50 +01:00
Boris Faure e8c4f080ed fix tabbar not working after tab is closed. Closes T3105 2016-01-31 16:25:39 +01:00
Andy Williams fbf61bf815 [zoom] fix crash fix.
Sorry to anyone who lost character selection this morning...
2016-01-31 15:01:00 +00:00
Andy Williams 459cf7383d [zoom] Fix some potential crashes when zooming.
Generally just being a little more defensive against
potential errors.
2016-01-31 09:01:44 +00:00
Andy Williams ca96a35da7 [zoom] Smooth the scaling of fonts when zooming
Capture font size when gesture begins and correctly
update scale based off that until gesture ends.

Test plan:
1) hold Ctrl and scroll the mouse wheel in then out
in a single motion
2) notice zooming continues in initial direction
and accelerates towards the min or max

With patch it will adjust more smoothly and also
match the current zoom of the gesture.

2016-01-29 14:27:26 +00:00
Andy Williams 55ac83465b [options] size options list according to scale 2016-01-29 11:23:08 +00:00
Boris Faure 4367b4ceb6 fix selections (again and again) of single-char words 2016-01-27 21:08:45 +01:00
Boris Faure 84c1c77757 oops. Always use curly braces… 2016-01-27 20:17:15 +01:00
Boris Faure 98671b2493 fix one-char selections 2016-01-27 12:49:24 +01:00
Boris Faure 157eff8d6a fix CID1347402 Pointer to local outside scope 2016-01-07 22:56:53 +01:00
Boris Faure 8fbd1242fb fix CID1347401 Pointer to local outside scope 2016-01-07 22:55:42 +01:00
Boris Faure 2163bbb775 fix CID1347400 Pointer to local outside scope 2016-01-07 22:54:54 +01:00
Stanislav Baiduzhyi 33d20a1f98 Option to disable cd to current tab dir.
Summary: Adding option to disable cd to current tab dir.

Test Plan:
1. Start unpatched version of Terminology.
2. Change some Behaviour options.
3. Close unpatched version of Terminology.
4. Start patched version of Terminology.
5. cd /usr/bin
6. Open new tab and verify that previous behaviour persists, new tab working directory is /usr/bin
7. Go to Settings Behaviour and uncheck "Start in the same directory..." checkbox.
8. Optn new tab and verify that new tab working directory is ~ (or any other directory from which the Terminology was launched).
9. Restart Terminology.
10. Go to Settings Behaviour and verify that options persisted.

Reviewers: #terminology, billiob

Subscribers: godfath3r, #terminology

Projects: #terminology

Differential Revision:
2015-12-26 12:07:55 +01:00
Stanislav Baiduzhyi 2f3d2a9447 Passing KP_ keys to pty
KP_Home and KP_End were ignored, skipped because _handle_key_to_pty only checked for Kk keys.
It does not look like that was a typo, so handling for both Kk and KP now in place.

Test Plan:
1. start terminology
2. type 'echo "the quick brown fox jumps over the lazy dog"'
3. press keypad Home key
4. on unpatched terminology nothing happens
5. on patched terminology the behaviour is identical to normal Home

Reviewers: billiob, #terminology, godfath3r

Reviewed By: #terminology, godfath3r

Subscribers: #terminology, godfath3r, billiob

Differential Revision:
2015-12-26 11:53:32 +01:00
Boris Faure 904f49ccc4 remove statement with no effect 2015-12-26 11:52:31 +01:00
Mike Blumenkrantz 7f53f4daf7 do not force full textgrid width update if preedit_str is ""
in many cases this will be the value which has been set, so ignoring it
will yield moderate performance improvements

Reviewed-by: Boris Faure <>
2015-12-15 17:30:02 -05:00
Boris Faure f731ff6ada tybg: fix indentation 2015-12-12 15:58:10 +01:00
Boris Faure 3091a4e479 Closes T2911. fix reflow
- correctly set `autowrapped`
- reflow the top line when part of its content is in backlog
2015-12-10 21:15:17 +01:00
Boris Faure 66d05abb11 fix text reflow. Closes T2911
I should write unit tests on that someday
2015-12-07 22:05:49 +01:00
Jerome Pinot 003c850377 autotools: add a required image in EXTRA_DIST 2015-11-28 18:10:29 +09:00
Boris Faure 3799c924dc fix wrong assert. Closes T2858 2015-11-21 14:57:05 +01:00
Boris Faure f8831d9c6a config: fix CID 1339831: Null pointer dereference 2015-11-19 21:08:16 +01:00
Boris Faure 93d7c8cb29 options_theme: fix CID 1339832: Null pointer dereference 2015-11-19 21:07:18 +01:00
Boris Faure 8190ddd605 options_font: fix CID 1339833 2015-11-19 21:06:14 +01:00
Boris Faure a29dbe45a7 options_wallpaper: fix CID 1339834: Null pointer dereference 2015-11-19 21:04:17 +01:00
Boris Faure bb2d7c4250 options_wallpaper: fix CID 1339835: Null pointer dereference 2015-11-19 21:02:21 +01:00
Boris Faure 224173f88d win: fix CID 1339836: Null pointer dereference 2015-11-19 21:00:22 +01:00
Boris Faure 04089d1e11 lz4: fix CID 1339837: Null pointer dereference 2015-11-19 20:58:17 +01:00
Boris Faure d558930d01 lz4: fix CID 1339838: Null pointer dereference 2015-11-19 20:55:10 +01:00
Boris Faure eae5306942 lz4: fix CID 1339839: Null pointer dereference 2015-11-19 20:53:52 +01:00
Boris Faure ac3dd67109 fix startup split and commands 2015-11-19 20:24:36 +01:00
Boris Faure a0c249e6ca fix crash when running tyfuzz. not in terminology 2015-11-14 21:26:37 +01:00
Carsten Haitzler 5a5b80ebec fix fuzzing so terminology works at all again
if (len <= 0)

in _cb_fd_read() is ALWAYS coming up with len < 0 for me and that'd
be LOGICAL... eg if read() returns an error (something ok to allow us
to continue) and so my terminal content NEVER appears - because
terminology is returning false from the fb handler asking it to be
deleted. this is wrong so put it inside #ifdef of fuzzing so it
doesn't affect "normal people". i still think it is broken tho... but
at least i have my terminal back now.
2015-11-12 09:53:32 +09:00
Boris Faure e2c244f0c6 fuzz: shorten again the test case 2015-11-08 22:48:24 +01:00
Boris Faure 4913364a22 fix int overflow 2015-11-08 13:06:13 +01:00
Boris Faure bbd9f66d1e fuzz: shorten test case 2015-11-08 13:06:13 +01:00
Boris Faure a925de13dc tyfuzz: read from stdin but write to /dev/null 2015-11-08 13:06:13 +01:00
Boris Faure bbb60799f4 ugly code to log to syslog 2015-11-08 13:06:13 +01:00
Boris Faure 28965e6601 fix typo/bug spotted by afl-fuzz 2015-11-08 13:06:09 +01:00