Mike Blumenkrantz
1902befc92
Revert "force recalc on bryce scroller when doing recalc on gadget site"
...
This reverts commit 87515abd2a
.
this breaks scaling since the min size must be reset in order to trigger a
resize
2017-08-25 14:47:10 -04:00
Mike Blumenkrantz
175c614838
add spacer gadgets for bryces
...
this is a rectangle which dynamically resizes based on the available space
in the bar. it can only be added when autosize is disabled, and setting
autosize will remove all spacers
fix T5914
2017-08-25 14:47:10 -04:00
Mike Blumenkrantz
a72b88c0e7
handle bryce setup when theme is broken
...
fix T5889
2017-08-25 14:47:10 -04:00
Mike Blumenkrantz
3271efaba4
capture zone for newly-added bryces based on name
...
the last number is always the zone number
2017-08-16 10:58:51 -04:00
Mike Blumenkrantz
6d5bb4ac5c
use explicit rounding for bryce scaling
2017-08-04 16:05:15 -04:00
Mike Blumenkrantz
7eba1a99ed
track zone states and modify bryces accordingly
2017-08-04 16:05:15 -04:00
Mike Blumenkrantz
4ced6d8591
clamp vertical bryce size to useful zone geometry
...
this should improve layouts when vertical and horizontal layouts are mixed
2017-08-04 16:05:15 -04:00
Mike Blumenkrantz
24ae5b53fb
perform immediate move on bryce during autosize
...
ensure that positioning doesn't animate across zones and break config
fix T5666
2017-07-21 14:43:36 -04:00
Mike Blumenkrantz
638657f043
always use jobs to create bryce menus
...
ensure that menus can never be created during a post event callback in
order to avoid crashes
ref T3144
fix T5262
2017-03-17 13:16:59 -04:00
Stephen 'Okra' Houston
4510e474f6
Revert "Bryce: Don't proceed to process the mouse down event structure if it is null in the post callback."
...
This reverts commit 25950ccfa9
.
Rever this commit to allow a more proper fix.
2017-02-21 11:27:52 -06:00
Stephen 'Okra' Houston
25950ccfa9
Bryce: Don't proceed to process the mouse down event structure if it is null in the post callback.
2017-02-21 11:06:45 -06:00
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
Mike Blumenkrantz
3bae673848
null out bryce and site pointers when deleting bryce object
...
fixes handling of bryces when changing screen setup
2016-12-09 11:52:03 -05:00
Mike Blumenkrantz
7d29dbf4ec
send orientation signal to bryce scroller theme
2016-11-10 11:52:04 -05:00
Mike Blumenkrantz
7911827a21
keep bryce starting size unscaled
2016-11-09 11:21:15 -05:00
Mike Blumenkrantz
464eded3a3
handle e_scale correctly in bryces
2016-11-09 10:48:47 -05:00
Mike Blumenkrantz
a08654f773
force bryce repositioning onto target zone during startup
...
ensure that subsequent operations do not accidentally the bryce's zone
fix T4784
2016-11-07 11:38:34 -05:00
Mike Blumenkrantz
353ad6be11
move bryces to E_LAYER_DESKTOP_TOP when not above windows
...
moderately sure this won't conflict with anything important...
fix T4819
2016-11-03 12:54:53 -04:00
Mike Blumenkrantz
33740ca306
return correct values from bryce post event callbacks
...
I referenced elm scrollable for this when writing it. past me was a moron
for using reference code instead of reading the underlying implementation.
fixes scrolling
2016-11-03 11:45:35 -04:00
Mike Blumenkrantz
4d86c98ce7
do not return early from _bryce_position()
...
this causes the returned coords to be garbage values, likely leading to
the bryce being positioned or animating off to the upper-right corner
of the universe that exists beyond the canvas
2016-11-01 13:56:08 -04:00
Mike Blumenkrantz
6e39997ad1
add smart callback for when gadgets get reparented
...
this can be useful for gadgets which (inexplicably) need to set min size hints
2016-11-01 13:29:45 -04:00
Mike Blumenkrantz
5d2028a300
do not modify bryce zone/name during startup
...
this breaks bryce init by moving all bryces to zone 0
fix T4784
2016-10-31 12:34:29 -04:00
Mike Blumenkrantz
349fc5e910
avoid potential divide by zero during bryce startup
2016-10-31 12:34:29 -04:00
Mike Blumenkrantz
bf1075ff4b
clamp bryce position to its parent zone
...
fixes case where large bryces could overflow their zones
ref T4784
2016-10-31 12:34:29 -04:00
Mike Blumenkrantz
f8ddfd3245
fix use after free when renaming a bryce
...
fix T4784
2016-10-29 11:36:48 -04:00
Mike Blumenkrantz
87515abd2a
force recalc on bryce scroller when doing recalc on gadget site
...
should have no functional change
2016-10-26 11:33:12 -04:00
Mike Blumenkrantz
41f5a3e1fd
loop bryce autosize recalc when gadget site has not yet calculated its size
...
fixes moving of autosizing bryces
2016-10-20 12:12:27 -04:00
Mike Blumenkrantz
fb94f1e069
rename bryces when changing anchors
2016-10-20 12:11:39 -04:00
Mike Blumenkrantz
2c4316633b
avoid extra recalc when resizing a bryce on its oriented axis
2016-10-19 11:38:04 -04:00
Mike Blumenkrantz
39d561c8b4
fix bryce upgrade path from 0 -> 2 re:naming
2016-10-18 10:59:04 -04:00
Mike Blumenkrantz
7a06a6b661
trigger bryce menus from right click if event has not been consumed
2016-10-17 12:44:32 -04:00
Mike Blumenkrantz
b9afecde41
remove unused attribute from used param
2016-10-17 12:44:08 -04:00
Mike Blumenkrantz
d0e21c912a
add gadget_site_(un)locked smart callbacks for forcing gadget site visibility
...
useful for cases where the gadget site has no popups to manage but visibility must
be maintained
ref T4732
2016-10-17 11:55:23 -04:00
Mike Blumenkrantz
ae628b214b
force bryce visibility during editor activity
...
ref T4732
2016-10-17 11:25:43 -04:00
Mike Blumenkrantz
dece6a5514
also do full bryce rename when moving between zones
2016-10-14 08:10:43 -04:00
Mike Blumenkrantz
b86efbe301
further improve bryce portability across zones
...
also fix typo from yesterday which broke everything and was definitely not
noticed by anyone
2016-10-14 08:03:43 -04:00
Mike Blumenkrantz
afa358fa9e
add zone number to bryce names
...
fixes usage of bryces in identical setups on different zones
2016-10-13 11:27:40 -04:00
Mike Blumenkrantz
d5ada5c1d5
fix bryce check for shelf existence on orientation/anchor to break when expected
...
restores missing anchor points when adding/moving bryces
2016-10-13 11:27:40 -04:00
Mike Blumenkrantz
a9bab812ec
enforce bryce resizing when orientation changes
...
screens are not square, so this would never have worked
2016-10-13 11:20:21 -04:00
Mike Blumenkrantz
509443af55
do not update bryce layer when restacking to a higher layer than CLIENT_ABOVE
2016-09-20 12:46:48 -04:00
Mike Blumenkrantz
9313121e79
clamp bryces to a lower canvas layer
...
note to self: if you remember why you had these at POPUP, annotate the reason
here...
2016-09-19 09:54:21 -04:00
Mike Blumenkrantz
e662138af4
track current bryce geom, force recalc on gadget site upon change
...
elm scroller is very resistant to recalc, so it's necessary to trigger it
manually by resizing the scroller's contents
fix T4339
2016-08-19 12:15:31 -04:00
Carsten Haitzler
59e2eb40f8
warnings - silence some theoreitcal wranings in build
...
a bunch of "potentially uninitialized variable" warnings fixed.
2016-05-15 23:14:15 +09:00
Mike Blumenkrantz
5494ddd424
enforce bryce zone setting and clip setting
...
resolves issues where non-primary screens would have differing behaviors
2016-03-14 14:27:15 -04:00
Mike Blumenkrantz
15a918d3c7
during bryce moveresize callback, return if no zone could be located
...
probably some crazy animation going on, ignore this case
CID 1352828
2016-03-10 11:59:58 -05:00
Mike Blumenkrantz
69fe80959b
manually calc bryce center-screen coords
...
e_comp_object_util_center_pos_get() uses zone useful geometry
2016-03-08 13:00:43 -05:00
Mike Blumenkrantz
b3cda14e1b
add bryce autohide/size getters, pull related values into wizard
2016-03-08 12:43:35 -05:00
Mike Blumenkrantz
82a4dbda8d
enforce accurate resizing/orienting when changing the location of a bryce
2016-03-08 12:31:10 -05:00
Mike Blumenkrantz
6e032ce35d
add bryces: new shelf replacement
...
see e_bryce.h
2016-03-04 14:23:44 -05:00