Commit Graph

1983 Commits

Author SHA1 Message Date
Benjamin Jacobs e55fd61208 popmedia: NULL dereferencing prevented in error path.
Summary:
If the execution of _popmedia flows in the goto error path, then the
 term pointer member might not assigned and reference counted. However
 _ty_http_head_delete and term_unref unconditionaly deference it, resulting
 in a NULL access.
 This patch add guards to prevent the dereference of the term pointer
 in _ty_http_head_delete.

Reviewers: billiob

Reviewed By: billiob

Subscribers: billiob

Differential Revision: https://phab.enlightenment.org/D5865
2018-04-05 22:28:27 +02:00
Carsten Haitzler 0f24619dfa selection handling - donmt use null string selections if they are
fix a corner case where string selection is null when selection is
requested (empty selection). @fix
2018-04-05 13:36:01 +09:00
Boris Faure c87c78ca8c options_theme.c: fix CID 1388097 2018-04-04 20:21:18 +02:00
Boris Faure 75689087ae build: add fix for coverity 2018-04-04 20:21:10 +02:00
maxerba 0c5b868cc2 Update po and pot files 2018-04-01 18:29:01 +02:00
maxerba 4cd01fb9e4 Removed an entry in POTFILES pointing to non-existent file, this way po update works again 2018-04-01 18:14:55 +02:00
Carsten Haitzler 1a55a67654 termpty - set ty_hand to null if returning cancel which dels the fdhand
this avoids later accidentally accessing an invlid hd handler.

@fix
2018-03-26 23:18:31 +09:00
Carsten Haitzler 5824d668af win - imf - fix small typo that was not checking the imf ptr...
it was checking the address of the imf ptr which is always true.

@fix
2018-03-26 23:18:31 +09:00
Boris Faure 8308514420 termptyesc: document Media Copy 2018-03-19 23:54:00 +01:00
Boris Faure 4e1beca3f8 termptyesc: handle Horizontal Position Absolute (HPA) 2018-03-19 23:24:31 +01:00
Boris Faure 33eb5261e6 termio: force refocus after ctx popup is deleted. Closes T6782 2018-03-19 22:12:28 +01:00
Boris Faure 189d138d03 win: expose term_focus(); 2018-03-19 22:11:53 +01:00
Boris Faure f03b84b869 options: select default cursor 2018-03-15 21:59:43 +01:00
Boris Faure 740e96da66 handle DECSCUSR (changing cursor shape). Closes T6338 2018-03-15 19:20:09 +01:00
Boris Faure 71c1b37675 termptyesc: sort CSI escape code by ascii value 2018-03-15 17:58:41 +01:00
Boris Faure c4c769651c config: add cursor shape 2018-03-15 14:43:51 +01:00
Boris Faure 2c8a4cc3b3 ChangeLog.theme: add about terminology/{cursor_bar,cursor_underline} groups 2018-03-15 14:43:08 +01:00
Boris Faure 1920c86095 default.edc: add terminology/cursor_bar and terminology/cursor_underline groups 2018-03-15 14:41:56 +01:00
Boris Faure e2e197877f default.edc: add images for bar/underline cursors 2018-03-14 21:44:13 +01:00
Boris Faure dad9e0db58 remove compatibility #ifs to work with EFL < 1.16 2018-03-13 18:58:41 +01:00
Boris Faure e8214d1da2 tabs: on tab selector, be sure only one tab is focused 2018-03-13 18:15:57 +01:00
Boris Faure bc6ed7ac92 termptygfx: fix stupid bug when printing encircled numbers 2018-03-13 11:23:03 +01:00
Boris Faure 9e0243d9f1 support encircled escape code. Closes T6769 2018-03-13 09:15:32 +01:00
Boris Faure deaadfeb01 shift-selection: reduce timeout to 5s, seems enough. Ref T2254 2018-03-12 20:11:28 +01:00
Boris Faure bf110393b6 meson: detect 'offscale' support in edje_cc. Closes T6770 2018-03-12 15:00:08 +01:00
Boris Faure 0a0f3605e4 termptyesc: handle CMY/CMYK in SGR38/SGR48. Ref T746 2018-03-11 22:38:45 +01:00
Boris Faure c7c054bf0d termptyesc: handle transparent in SGR38/SGR48 2018-03-11 22:35:41 +01:00
Boris Faure 91ced6390f termptyesc: skip colorspace id if present. Ref T746 2018-03-11 20:31:56 +01:00
Boris Faure 0eb223f1b8 termptyesc: approximate true color. Ref T746 2018-03-11 19:51:11 +01:00
Boris Faure a5d8a89c32 readme: now require EFL>=1.20 2018-03-11 14:59:41 +01:00
Boris Faure 8da7e9b3ed man: add missing entries + fix typos 2018-03-11 14:55:39 +01:00
Boris Faure 20f15e1a86 convert README to markdown 2018-03-11 14:55:39 +01:00
Boris Faure e59b7fbd80 man: add terminology companion tools 2018-03-11 14:55:39 +01:00
Boris Faure e5650c320e README: add doc on companion tools. Closes T6767 2018-03-11 14:55:39 +01:00
Boris Faure 428860ba4a README: reorganize 2018-03-11 14:55:39 +01:00
Carsten Haitzler 0fcd99cda5 do a thaw eval after thaw to ensure we dont miss any events
freeze stops events (in/out/down/up and so on, not del etc.) and thaw
does the oppostie. the thing is thawing to 0 freeze level never
re-evaluated everything. it was an optimization and simpler. so to
re-evaluate state and not lose thngs like in and out evets you do have
to do a thaw eval after thaw that will evaluate that state and produce
in and out events if you thaw back to 0. i don't know if this
fixes T4194 or not, but it does dot an i and cross a t.
2018-03-11 18:30:06 +09:00
Boris Faure 6bf2116206 shift-selection: reduce timeout to 15s. Closes T2254 2018-03-10 21:10:34 +01:00
Boris Faure 2d5bc93780 win: handle title popup like the options popups. Closes T6727 2018-03-10 19:40:13 +01:00
Boris Faure 71d9bc2f68 win: do not force focus when on options. Closes T4769 2018-03-10 17:22:52 +01:00
Boris Faure 1a5384b19e options: default is the behaviour tab. Closes T2130 2018-03-10 17:13:10 +01:00
Boris Faure 9aeae783b5 options_behavior: expect EFL > 1.8 2018-03-10 16:14:40 +01:00
Carsten Haitzler 1ea0818f2b close terminal button - pass ctx ptr to callback so it doesnt seg 2018-02-26 15:42:16 +09:00
Boris Faure 73bd76c97e solarized: slightly better by switching base02 and base03 2018-02-14 23:08:34 +01:00
Boris Faure 67fb28a67c solarized: set faint/dim colors for black
It was previously invisible
2018-02-14 22:32:50 +01:00
Carsten Haitzler a1d9dba1d0 terminology efl version bump 1.8 to 1.20
efl 1.8 is ancient by now (december 2013 ... like over 4 years ago).
time to bump to 1.20, so any future releases of terminology will need
a bump in efl version too whicn IMHO is sensible.
2018-02-13 15:12:18 +09:00
Boris Faure ce11630457 win: do not show win too early 2018-02-12 22:40:50 +01:00
Boris Faure d52afe1a73 win: shot in the dark about the positioning issue
If it fixes the issue, I'm clueless!
2018-02-12 22:23:05 +01:00
Boris Faure 802ed4b2eb win: removes that blue focus animation 2018-02-12 22:09:34 +01:00
Boris Faure 3aac7976b7 termio: fix key bindings for scrolling 2018-02-12 22:03:02 +01:00
Boris Faure efb6df10b7 win: fix focus after editing title 2018-02-11 12:14:39 +01:00