Commit Graph

1297 Commits

Author SHA1 Message Date
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 4913364a22 fix int overflow 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
Boris Faure 4b4a5e84d4 config: add config_new() to create a new default config 2015-11-08 13:05:43 +01:00
Boris Faure 7d46ee5062 add tyfuzz utility used for fuzzing the escape code parsing routines 2015-11-08 13:05:43 +01:00
Boris Faure e81097ccf7 comment unused code to remove dependency 2015-11-08 13:05:43 +01:00
Boris Faure 01421754ec make termpty_handle_buf() public to ease fuzzing 2015-11-08 13:05:43 +01:00
Boris Faure 755a4c3f2f enable fuzzing with --enable-fuzzing
Only enable it if you know what you're doing
2015-11-08 13:05:43 +01:00
Boris Faure d11ebd1247 add code to fuzz terminology (wip) 2015-11-08 13:05:43 +01:00
Boris Faure 88c4ce46b0 add (ugly) cross to close tabs 2015-11-07 15:59:55 +01:00
Boris Faure 86a596d946 fix --split option 2015-09-26 12:01:42 +02:00
Boris Faure 81a8118c03 fix focus issue when creating a new tab in a split 2015-09-20 15:51:57 +02:00
Boris Faure 4c53f10bf0 do not right trim "." on word selection
this makes double click on "../foobar"
2015-09-20 15:42:28 +02:00
Boris Faure 9c4167f74f always support double-width 2015-09-19 16:23:41 +02:00
Boris Faure 2b3eda694f always support italic 2015-09-19 16:18:17 +02:00
Boris Faure e6b924a215 correctly set working dir on split 2015-09-19 14:49:40 +02:00
Boris Faure e8bd673f20 send ctrl[1-0] to term if "going to tab#" is not possible. Closes T2723 2015-09-14 23:01:32 +02:00
Boris Faure d844278723 ctrl-[2-8] are now handled by terminology. Ref T2723 2015-09-14 00:01:01 +02:00
Boris Faure a334bf6554 termpty: fix resizing
do not add a useless newline
do not copy the same content few times
2015-09-13 23:17:17 +02:00
Boris Faure 386cf11b19 fix backlog locking 2015-09-13 23:17:03 +02:00
Boris Faure 78cb50c7a3 fix line length computation 2015-09-13 23:16:30 +02:00
Boris Faure 3a7238978e turn error messages about unhandled escape codes into warnings 2015-09-08 21:59:11 +02:00
Boris Faure cb531b5d9b correctly set bold, even if textgrid do not support it (yet) 2015-09-06 23:52:43 +02:00
Boris Faure 02a7a4e4d5 update contributors 2015-09-05 14:06:30 +02:00
Boris Faure 6f898d5ebe fix typop no longer working for still images. Add some error messages
Thanks to dassify for noticing
2015-09-04 20:30:29 +02:00
Boris Faure 4c00bec4d6 cleanup window callbacks 2015-09-02 21:40:03 +02:00
Boris Faure 22ae02127b fix copy/paste bug. CID1316546 2015-09-01 23:45:18 +02:00
Boris Faure ede0abb245 fix tab selector segfault
Thanks to Yomi for the help in finding this
2015-08-29 15:23:50 +02:00
Boris Faure 45b7d20425 trim selection before trying to open it as url 2015-08-24 23:45:14 +02:00
Boris Faure cf58c1ee76 add context menu to open a selection as an url. Closes T584 2015-08-24 23:09:24 +02:00
Boris Faure 144e0b5068 add option to disable terminology escape codes that could be considered
security issues by some

They are enabled by default.
2015-08-23 20:57:49 +02:00
Boris Faure 5c9d98cf22 add error handlers on textblocks. Should fix T2672 2015-08-23 16:41:15 +02:00
Boris Faure 1400b122ec bad copy/paste. CID1316546 2015-08-18 22:37:10 +02:00
Boris Faure 7fd86d8968 warn about window operations' escape codes being not supported 2015-08-17 23:18:50 +02:00
Boris Faure b80bedc7c2 do not report unsanitized input. See CVE-2003-0063 2015-08-17 23:18:49 +02:00
Boris Faure a33a937ab7 add powerlines to word separators 2015-08-16 21:48:22 +02:00
Boris Faure 716cb03b5b fix small issue on word selection and simplify code 2015-08-16 21:40:58 +02:00
godfath3r 8e8207dae1 Dont use : as a separator but trim it from selected word. Fixes T2602
Reviewers: billiob

Maniphest Tasks: T2602

Differential Revision: https://phab.enlightenment.org/D2931
2015-08-16 20:36:38 +02:00
Mike Blumenkrantz 8d4b06617f use event length instead of strlen() when dropping something into a terminal
the data member of Elm_Selection_Data may not be nul terminated, so
any string operation on this is liable to crash
2015-08-13 14:46:02 -04:00
Carsten Haitzler 4b25721a1d terminology themes - use theme in home dir over system one always
checking modified time between user and system themes is just not a
good idea - we never do this anywhere in e. user installed theme
alwasy overrides system one. modified time is not relevant.
2015-08-11 13:15:16 +09:00