Commit Graph

511 Commits

Author SHA1 Message Date
Derek Foreman 4cf555f36e Replace all timer_reset with timer_loop_reset
Another sed bomb - didn't occur to me first time around to
check for this.  Cleans up more clock_gettime calls.
2017-02-06 15:59:25 -06:00
Derek Foreman 73aecd73ab Replace all timer_add with timer_loop_add
So yeah, I've literally used sed to replace every occurrence of
ecore_time_add() with ecore_timer_loop_add() because I'm reasonably
confident that no part of E has a legitimate need for timer based on the
exact current time.

It would be really nice if I'm not wrong. :)

The reason for this is the incredible spew of clock_gettime() calls I'm
seeing on an ARM system (that should have a vdso for gettime, but...)
This can amount to thousands of system calls per second.

 #YOLO
2017-02-03 15:52:28 -06:00
Stephen 'Okra' Houston 4070ced965 Enlightenment: Pager gadget - Add a button to configure virtual desktops.
This fixes T5060
2017-01-08 19:11:31 -06:00
Carsten Haitzler 3903d44666 e - BLOODY BUILD AGAIN - DAMN FLOAT WARNINGS...
i swear ... all of this shit over a warning that CAUSED more bugs than
it eveer fixed? sersiously...

ARGH!
2017-01-07 14:05:17 +09:00
Stephen 'Okra' Houston 501ea95e2c E gadgets: Prepare for sysinfo to arrive. 2017-01-06 16:16:51 -06:00
Mike Blumenkrantz 0bbdd76469 resolve misc module float-equal warnings
Reviewed-by: Derek Foreman <derekf@osg.samsung.com>
2017-01-06 12:57:34 -05:00
Stephen okra Houston cf1d253c56 Pager Gadget: Don't recalculate the pager if the zone is NULL.
This fixes https://phab.enlightenment.org/T4960
2016-12-02 11:28:10 -06:00
Stephen okra Houston 51772d1596 Luncher/Pager gadgets: Make sure to lock/unlock the gadget site on dnd. 2016-11-08 11:20:07 -06:00
Stephen okra Houston 1cbba1232c Gadcon Pager: Don't show popup if no gadcon pagers exist. 2016-11-08 10:48:15 -06:00
Stephen okra Houston 8540e6b99b Pager Gadget: Use the current zone for popups. 2016-11-08 10:04:48 -06:00
Stephen okra Houston ec326b304b Luncher/Pager Gadgets: Fix coverity warnings for CID 1365330, CID 1365332 and CID 1365405
This commit also fixes T4831
2016-11-07 09:35:34 -06:00
Stephen okra Houston b0fd89ac04 Pager Gadget: Use the correct value for the popup checkbox when config window is opened. 2016-11-05 12:00:30 -05:00
Chris Michael 99e89b708f cleanup unused variables and parameters for pager module
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2016-11-03 11:27:28 -04:00
Mike Blumenkrantz 602b01b8b2 use only aspect hints for new pager gadget
ref T4809
2016-11-02 11:31:59 -04:00
Stephen okra Houston df0c4cf658 Pager Gadget: Respect HOLD flag as well as modifiers on mouse events. 2016-11-02 10:22:50 -05:00
Stephen okra Houston ef8d86d7f3 Luncher/Pager Gadget: Fix coverity issues. 2016-11-02 09:36:03 -05:00
Stephen okra Houston 9d33d6c15b Pager Gadget: Only empty/fill pager if zone has changed. 2016-11-01 16:56:26 -05:00
Stephen okra Houston 96f328b7ff Pager: Fix gadget zone. 2016-11-01 16:31:41 -05:00
Stephen okra Houston c3b5c4a1bf Luncher and Pager gadgets: Handle multi head and use the correct zone.
This fixes T4807 and T4787
2016-11-01 15:16:06 -05:00
Mike Blumenkrantz 692b394617 do not apply pager rotation when placed on desktop
fix T4786
2016-10-31 13:40:13 -04:00
Mike Blumenkrantz 491b18b920 set ON_HOLD flag when triggering gadget mouse buttion actions
allow detection that this event is being consumed
2016-10-17 12:42:28 -04:00
Stephen Houston 5b2f952c85 Introduce pager gadget using new gadget api. 2016-09-23 10:17:54 -04:00
Mike Blumenkrantz 9a50f6b218 disallow pager window drags for popups and ignored windows 2016-06-23 12:13:24 -04:00
Carsten Haitzler ac101eeef5 e pagers - fix full desktop ddnd (eg middle mouse) to finish the drag
drag state was not properly shut down on mouse up

@fix
2015-08-28 13:14:27 +09:00
Mike Blumenkrantz 4e37a94d50 remove pager mirror delete callback during pager win delete 2015-08-20 21:55:19 -04:00
Mike Blumenkrantz 2edd687800 make pager kbd/mouse grabs more effective in wayland compositors
use the same codepaths as x11 compositors, but explicitly grab the
compositor canvas
2015-08-17 14:56:17 -04:00
Mike Blumenkrantz 442d63d8d6 track button mask for all drags, only end drag when mask has depopulated
previously, beginning a drag with the left button, then pressing and
releasing another button would result in the drag terminating without
the original button being released
2015-08-12 15:39:42 -04:00
Mike Blumenkrantz 29312e1216 make pager popups only trigger on urgency hint if client is not currently visible
the annoyance of having this popup constantly triggered while a window is visible
cannot be understated.
2015-07-06 12:47:00 -04:00
Mike Blumenkrantz 8f2d8748e1 add gadcon visibility handling, send hide signal to pager desks on hide
this (in combination with elm changes) should greatly reduce cpu usage
2015-06-08 14:53:31 -04:00
Chris Michael 0a94e8ba71 enlightenment: Make E build again with EFL from git
sed -i 's/EAPI/E_API/g'

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-05-07 15:13:10 -04:00
Mike Blumenkrantz 5ae00e6525 redo drop handlers to take an E_Object and Evas_Object
temp change to fix crashing when closing fwins with ctrl+w
2015-04-27 15:39:43 -04:00
Mike Blumenkrantz 471dcb24cb __UNUSED__ -> EINA_UNUSED
this has been bugging me forever. __UNUSED__ is no longer a valid macro here.
2015-03-18 18:09:09 -04:00
Mike Blumenkrantz 09ec213a31 remove e_util_zone_current_get() usage 2015-03-13 17:58:45 -04:00
Mike Blumenkrantz ba7c1ac49c remove E_Zone->comp member 2015-03-13 17:44:24 -04:00
Mike Blumenkrantz bacf638d73 remove E_Drag->comp and E_Comp param from e_drag_new() 2015-03-13 16:21:15 -04:00
Mike Blumenkrantz 2a9296e0ec remove E_Event_Compositor_Resize struct
corresponding event no longer sends event info
2015-03-13 16:12:35 -04:00
Mike Blumenkrantz 091142b032 remove E_Client->comp 2015-03-13 15:41:21 -04:00
Mike Blumenkrantz 3fc96af2dd Revert "revert all the ui breakes in e - going the wrong direction in the"
This reverts commit 3ea6a3569d.
2015-01-15 03:04:42 -05:00
Carsten Haitzler 3ea6a3569d revert all the ui breakes in e - going the wrong direction in the
first place anyway. shoudl replace the entire dialgo one at a time by
an elm version not try and stuff elm widgets into where e widgets used
to be. this doesnt improve e's config dialogs, just makes them buggy
as all hell in the name of a move to elm.

Revert "e_widget_button -> elm_button conversion"
This reverts commit b1c976d80d.

Revert "update widget size hints when setting a resize object"
This reverts commit fdab0218b2.

Revert "remove no-longer-necessary size hinting in list widgets"
This reverts commit 21479f5019.

Revert "e_widget_textblock -> elm_entry conversion"
This reverts commit 8fe2f00f75.

Revert "e frame -> elm_frame conversion"
This reverts commit e9da6a02fc.

Revert "remove unnecessary size hinting"
This reverts commit b596623efd.

Revert "e_label -> elm_label conversion"
This reverts commit 049b318679.

Revert "set evas size hint min in widget min size"
This reverts commit 2f09aa2fda.

Revert "e_table -> elm_table conversion"
This reverts commit 6434012982.

Revert "remove unused vars"
This reverts commit b19e706b23.
2015-01-15 12:13:53 +09:00
Mike Blumenkrantz 6434012982 e_table -> elm_table conversion
if rebases were monopoly money, this commit would be able to buy mediterranean ave.

 #teamborker
2015-01-13 22:44:55 -05:00
Carsten Haitzler 6510e8bd0e Revert "all dialogs are now resizable"
This reverts commit 9157ca8ca7.

this also makes all dialogs that have content in a toolbar that goes
off window at min size resizable - this is actually what you wanted ..
bgut this previous "all dialogs are resizable" thing was uber-lazy.

Conflicts:
	src/modules/bluez4/e_mod_main.c
	src/modules/conf_bindings/e_int_config_signalbindings.c
	src/modules/conf_theme/e_int_config_theme.c
	src/modules/mixer/conf_gadget.c
	src/modules/shot/e_mod_main.c
2014-12-22 23:02:05 +09:00
Mike Blumenkrantz 99589eb5af remove E_Win+e_canvas, convert all internal wins to use elm_win
known issues:

* keybindings for efm windows (eg. ctrl+w) are broken until the rest of the conversion is completed
2014-11-20 15:26:21 -05:00
Stefan Schmidt 4e98f7cb18 modules/pager: We already dereferenced pw->desk before, no need to check now
We already dereferenced it a few lines before thus we could never reach this
here when it would be NULL.

CID: 1039809
2014-09-19 11:30:04 +02:00
maxerba fac4e89dfa Updating desktop files, eo.po and fr.po 2014-09-11 21:14:58 +02:00
Carsten Haitzler c70c334792 Revert "redo pager modules to use more accurately named edje groups"
This reverts commit 9488fddc59.

no - this breaks theme api. AGAIN ... like e18. see email to e-devel.
2014-09-11 16:24:54 +09:00
Mike Blumenkrantz 9488fddc59 redo pager modules to use more accurately named edje groups 2014-09-10 09:02:03 -04:00
Carsten Haitzler e2ec390021 rename pager16 to pager and pager to pager_plain
this will mean all users upgrading from e18 to e19 get the new preview
pager. thoose wanting the older plain pager can switch ti pager_plain.
anyon using git will find pager16 remove (or if still installed not
updated) so switch back to pager from pager16. :)
2014-08-05 12:01:22 +09:00
Cedric BAIL 3f9af38da2 edje: remove use of deprecated functions. 2014-06-07 21:10:55 +02:00
maxerba 9f19d5a676 Updating translations 2014-05-19 22:04:38 +02:00
Wonguk Jeong 142829e819 pager/pager16: fix wrong min values.
Summary:
currently, if we shrink pager gadget horizontally, the resize guide (blue rectangle) became smaller (16x16, pager16: 4x4) than real pager size.
There was hard-coded min value.

calculate min value base on aspect ratio for real.

@fix

Test Plan: pager -> begin move/resize -> make it small horizontally as much as possible -> check whether the guide is fit on real size.

Reviewers: raster, zmike

CC: seoz, cedric

Differential Revision: https://phab.enlightenment.org/D793
2014-05-11 12:30:00 -04:00