Commit Graph

55 Commits

Author SHA1 Message Date
Koichi Murase 2e5e0a5b67 *.{h,c}: do not use the C reserved identifiers for tag names 2022-03-07 07:45:57 +09:00
Boris Faure 93da3f87b7
theme: have only one theme_apply function
No more one about theming an elm_layout, nor using only the default theme.
Also, be able to chose which color scheme to use
2020-10-18 22:35:27 +02:00
Boris Faure b7bf2cb8f2
improve translation strings
mostly by remove extra dots
2020-09-15 21:46:22 +02:00
Boris Faure 19fb6afd73
mv src/bin/col.{c,h} src/bin/colors.{c,h} 2020-08-20 16:21:51 +02:00
Boris Faure 26e91924d9
Get rid of trailing whitespaces
Summary: Remove trailing whitespaces

Reviewers: billiob

Reviewed By: billiob

Differential Revision: https://phab.enlightenment.org/D12025
2020-06-24 22:49:17 +02:00
Boris Faure ab35c9b7dd
mv utils.{c,h} theme.{c,h} 2020-06-23 12:48:27 +02:00
Boris Faure 0b48853597
reduce scope of variables 2020-04-17 23:09:07 +02:00
Boris Faure cf80e70faf
backlog: move related functions to that file 2019-11-24 16:12:26 +01:00
Boris Faure 2f432dcd33 tyfuzz: stub functions from termio 2019-02-06 23:19:29 +01:00
Boris Faure 7834bede86 include coverity fix as first header 2018-09-29 18:06:41 +02:00
Boris Faure 6f1a2dd452 constify 2017-07-06 21:37:56 +02:00
Boris Faure 76f1bf4342 prefix EINA_UNUSED parameters with an underscore
and fix related issues
2016-10-05 22:00:22 +02:00
Boris Faure 8b6036a8f7 miniview: add checks on termio_pty_get(). Closes CID1356203 and CID1356204 2016-06-04 15:44:17 +02:00
Boris Faure 7af60a58c8 BACKLOG_ROW_GET() should not be called with a "screen" value
the backlog is independent of the screen size. Thus a single line in the
backlog can span many lines on the screen.
2015-08-09 14:10:12 +02:00
godfath3r c2e1c2c3fa Fix crash when split is too small and miniview is shown.
Summary: Fixes T2450

Reviewers: billiob

Maniphest Tasks: T2450

Differential Revision: https://phab.enlightenment.org/D2919
2015-08-05 22:02:09 +02:00
Boris Faure 8fbffdd869 renames to make the code more consistant 2015-08-03 20:44:55 +02:00
Boris Faure 35c8fd79c0 speed up browsing backlog
have a "beacon": single point where the link between an offset in the
backlog and one in screen coordinates
2015-08-03 20:44:55 +02:00
Boris Faure 34592ab5b3 new resize/backlog implementation. Closes T2461
idea: store full lines in the backlog. No need to change them on resize
2015-08-03 20:43:17 +02:00
Boris Faure be62d87f89 separate "termstate" from cursor state and screens. Closes T725 2015-04-23 20:02:53 +02:00
Boris Faure aece218cf3 fix segfault in miniview due to large codepoints 2014-10-28 20:52:35 +01:00
godfath3r 564d78ce93 miniview.c: Remove _do_configure() call from smart_show
Summary:
Strangelly enough, _do_configure() call from smart_show() is not necessary.
So, let's clean that up.

Test Plan: Miniview works and resizes as expected without that function call.

Reviewers: billiob

Differential Revision: https://phab.enlightenment.org/D1539
2014-10-15 20:41:43 +02:00
Boris Faure 0fe0007e42 grr, fix previous commit. Thanks again to Godfath3r 2014-09-23 22:10:12 +02:00
Boris Faure 4c6b7c0c61 fix delta position on miniview. Thanks to Godfath3r 2014-09-23 22:03:15 +02:00
Boris Faure 4b425b9054 constify key_down event in termio 2014-08-19 23:09:50 +02:00
godfath3r 31da027aef miniview: scroll position indicator when jump on change isn't checked.
Summary:
Fix indicators position when your are at some place in scrollback
and terminal outputs some new lines (say from a running command). It
now scrolls to where it should be.

Reviewers: billiob

Differential Revision: https://phab.enlightenment.org/D1335
2014-08-16 18:45:14 +02:00
Boris Faure 06bdb882db gettextify m*.c 2014-07-26 11:37:26 +02:00
godfath3r 620802fb69 Remove some unnesecarry from _smart_show
Reviewers: billiob

Differential Revision: https://phab.enlightenment.org/D1212
2014-07-21 22:18:59 +02:00
godfath3r c029c9fe9b Miniview: Fix indicators initial position
Summary:
  When you scrollback to history and miniview is disable,
  when you enable it, it doesn't really know the correct
  position to show. Now it does!

Reviewers: billiob

Reviewed By: billiob

Differential Revision: https://phab.enlightenment.org/D1206
2014-07-20 21:33:38 +02:00
Godfath3r 5db4ef8519 Terminology: Miniview: add position indicator
Summary: Merge branch 'miniview_indicator'

Reviewers: raster, billiob

Maniphest Tasks: T1417

Differential Revision: https://phab.enlightenment.org/D1150
2014-07-15 12:27:27 +02:00
Boris Faure 651cbfa08c fix possible segfault detected as CID1224396. 2014-07-03 20:56:36 +02:00
Jean-Philippe Andre 4fa040fccb Miniview: Fix crash due to miniview render after deletion
_deferred_renderer() could be called after object del because the
timer was renewed even though it was invalid (marked as NULL).
2014-07-03 12:10:46 +09:00
Carsten Haitzler 40b7eaf09f fix continual wakeups with miniview every 0.1 sec
as pointed out by GKH:

https://plus.google.com/u/0/111049168280159033135/posts
2014-07-03 08:54:10 +09:00
Carsten Haitzler 153956bfd5 fix segv in isspace() if value not in unicode range 2014-05-16 17:57:12 +09:00
Carsten Haitzler 2aeeaa4589 major color correctness and sizing correctness fixes to miniview
and that's only a start. they whole smart object is wrong.
2014-05-16 17:44:11 +09:00
Carsten Haitzler 4df9246db0 fix indenting 2014-05-16 16:52:31 +09:00
Carsten Haitzler 9ca44463f6 miniview - improve formatting 2014-05-16 16:36:23 +09:00
Boris Faure 2f851eb9a0 miniview: (shift/ctrl/alt)PgUp/Down to scroll 2014-05-14 23:17:24 +02:00
Boris Faure 46a85b4962 miniview: increase scrolling step 2014-05-13 23:10:10 +02:00
Boris Faure d72a0cbec3 miniview: close from edj 2014-05-13 23:09:59 +02:00
Boris Faure 8d04ae955e miniview: use edje 2014-05-13 22:23:34 +02:00
Boris Faure b38defd518 miniview: display correct colors 2014-05-13 22:23:34 +02:00
Boris Faure 42cbf2f0ed miniview: fix with splits 2014-05-13 22:23:34 +02:00
Boris Faure 2e2862dd22 miniview: click on it to scroll to that position 2014-05-13 22:23:34 +02:00
Boris Faure ec8d5ac98e miniview: deferred rendering 2014-05-13 22:23:34 +02:00
Boris Faure 73930a6712 miniview: have only one buffer 2014-05-13 22:23:34 +02:00
Boris Faure 7fbc02b7c6 miniview: toggle miniview from miniview 2014-05-13 22:23:34 +02:00
Boris Faure e5c8da2cbd miniview: correctly handle resizing 2014-05-13 22:23:34 +02:00
Boris Faure c311cbf8da miniview: handle redrawing when scrolling 2014-05-13 22:23:34 +02:00
Boris Faure f96ef2f240 miniview: scroll with mouse wheel 2014-05-13 22:23:34 +02:00
Boris Faure 37f4ac15bb miniview: also draw current screen 2014-05-13 22:23:33 +02:00