Commit Graph

295 Commits

Author SHA1 Message Date
Mike Blumenkrantz 70d68a30e0 giant comp rejiggering commit #4
* dnd canvas removed, dnd objects now drawn directly on compositor canvas

* dnd now correctly picks the top-most dnd-receiver location as its drop target instead of just using the first one in the list

* various other small changes to go along with this
2013-02-22 13:18:30 +00:00
Mike Blumenkrantz 19f79acb45 add e_gadcon_repopulate
this allows unpopulate+repopulate calls to occur while the layout is frozen, providing a substantial speedup
2013-02-22 13:18:30 +00:00
Mike Blumenkrantz 536254e2ce start drag if gadget has been moved the size of the gadget
when a gadget is at the edge of its gadcon, it can't move more than this amount, so we have to start the drag immediately
2013-02-22 13:18:30 +00:00
Mike Blumenkrantz 56fdcf1faa use e_gadcon_zone_get for dnd-related functions to ensure we get the right zone: fixes toolbar dnd 2013-02-22 13:18:30 +00:00
Mike Blumenkrantz 4b9113f3ba use new comp layer functions to correctly set layer for gadget mover objects...this needs to be redone entirely along with the rest of gadcon 2013-02-22 13:18:30 +00:00
Mike Blumenkrantz bf9933a336 E_FN_DEL macro renamed to E_FREE_FUNC with param order swapped for consistency 2013-02-22 13:18:30 +00:00
Mike Blumenkrantz 88f00310d7 e toolbar gadgets no longer crash when trying to display a popup
SVN revision: 84258
2013-02-20 09:13:03 +00:00
Mike Blumenkrantz 32157d8fe5 fix gadget event object layering for dnd
SVN revision: 84239
2013-02-19 14:29:57 +00:00
Mike Blumenkrantz 2297f7d071 gadcon now correctly freezes its container object when unpopulating
SVN revision: 84058
2013-02-18 13:43:37 +00:00
Mike Blumenkrantz 32bcde16af add e_gadcon_client_visible_get()
SVN revision: 84055
2013-02-18 13:43:29 +00:00
Mike Blumenkrantz aa6a2d173d giant comp rejiggering commit because anything smaller would have broken something:
* remove xwin for container canvas: now drawn directly on the compositor canvas

* added SHAPE_DEBUG define for bored developers

* bindings now use new e struct for mouse/wheel events

* container+zone now get mouse events from smart callbacks instead of x events

* rename comp api namespace

* change comp underlay theme to have a swallow for the wallpaper

* add names to all zone/container/comp objects to make debugging much easier

* some minor related updates to go along with this

SVN revision: 83752
2013-02-07 13:20:07 +00:00
Mike Blumenkrantz 6dc0f1f64e delete gadget evas objects on delete to prevent crash on restart now that comp is merged into core
SVN revision: 83505
2013-01-31 10:53:50 +00:00
Mike Blumenkrantz 9e8e755cdf formatting: all at once
SVN revision: 82625
2013-01-11 10:34:29 +00:00
Massimo Maiurana c4058ca063 Make some error dialogs translatable (patch from Igor Murzov)
SVN revision: 81394
2012-12-19 17:45:04 +00:00
Mike Blumenkrantz aa35b742c5 don't stop filling a gadcon if one (systray) fails to create
SVN revision: 81331
2012-12-19 09:17:05 +00:00
Mike Blumenkrantz a658db2782 use e_util_strcmp, set current gadcon style menu item to disabled, only use default style as menu item if current style not set
ticket #2023


SVN revision: 81226
2012-12-18 09:30:35 +00:00
Mike Blumenkrantz 558894792f fix gadcon stringshare usage
SVN revision: 81225
2012-12-18 09:25:48 +00:00
Mike Blumenkrantz 006a014982 gadcon positioning leak
SVN revision: 80850
2012-12-13 13:41:35 +00:00
Mike Blumenkrantz fbc12f2e3f only save gcc during edit end if the gcc has a config
SVN revision: 79875
2012-11-30 08:50:12 +00:00
Mike Blumenkrantz 6600e453ec delete gcc drag object if it exists when gcc is deleted
SVN revision: 79836
2012-11-29 15:19:24 +00:00
Mike Blumenkrantz c21b0240ba don't show gcc drag object when dragging desktop icons on same zone
SVN revision: 79833
2012-11-29 13:42:42 +00:00
Mike Blumenkrantz d7a5385b2b only run a gadcon populate event after module init end
SVN revision: 79829
2012-11-29 12:15:50 +00:00
Mike Blumenkrantz 25853a0c2a fix possible null deref crash when deleting gadcon client config
SVN revision: 79827
2012-11-29 11:48:34 +00:00
Mike Blumenkrantz af38ddf0a6 delete any invalid gadcon clients for custom gadcons since we don't validate as much here
SVN revision: 79823
2012-11-29 10:09:28 +00:00
Mike Blumenkrantz 011b6c7b02 NULL check gadcon dnd enter events so we don't crash on efm drag operations
ticket #1820


SVN revision: 79676
2012-11-26 08:29:22 +00:00
Carsten Haitzler 92d53b87a5 and remvoe debugging.
SVN revision: 79670
2012-11-26 06:40:35 +00:00
Carsten Haitzler 7277ce21b1 fix segv where menus are not actually popped down on deletion of gcc.
SVN revision: 79669
2012-11-26 06:38:43 +00:00
Carsten Haitzler 108b985e87 valgrind complain-- :
SVN revision: 79665
2012-11-26 03:49:55 +00:00
Mike Blumenkrantz e5903f4740 add support for and use eina_list_last_data_get
SVN revision: 79144
2012-11-12 10:05:09 +00:00
Christopher Michael 68e70b0131 E: Fix bug. The "Look" submenu of a gadget would not have any item
selected (Plain/Inset) if no style was previously selected for this
gadget. This adds code that also checks the Client Class default style
if no gadget style has been assigned yet.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 78505
2012-10-26 07:20:59 +00:00
Christopher Michael 8894fb5f50 E: Fix formatting for 80 columns
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 78504
2012-10-26 07:20:51 +00:00
Mike Blumenkrantz ebef167dab improve shelf gadget dragging
ticket #1658


SVN revision: 78420
2012-10-25 07:37:53 +00:00
Carsten Haitzler 53ad992c31 pointed out by Igor Murzov - fixed backlight thing, gadcon is cleaner.
SVN revision: 77980
2012-10-15 07:05:00 +00:00
Carsten Haitzler 35773a3241 add config for disabling delayed modules. this actually drastically
speeds up e startup - but this i mean the shelf comes up instantly
populated rather than taking 2 or 3 seconds to figure its life out.



SVN revision: 77558
2012-10-07 10:01:14 +00:00
Mike Blumenkrantz 43fb89ddb7 gadcon "Move to" menu no longer shows the gadget's current gadcon
SVN revision: 77523
2012-10-05 10:07:22 +00:00
Mike Blumenkrantz 71f57bb52d gadcon location gadget_add callbacks now have a gadcon client param so the config can be retrieved since these callbacks are (currently) only used for changing locations of gadgets
also the related gcc param in gadget_del can now have a NULL config to signify that the gadget has been moved to a new gadcon

this means that moving a gadget to a new location will no longer cause it to lose its gadget config

ticket #1594


SVN revision: 77521
2012-10-05 09:57:34 +00:00
Mike Blumenkrantz 817bec21b1 prevent DND for systray gadgets in all cases
SVN revision: 77357
2012-10-03 09:19:26 +00:00
Mike Blumenkrantz 54d1715e58 debug printf--
SVN revision: 77272
2012-10-01 14:07:37 +00:00
Mike Blumenkrantz 4c09bb330f yet another gadget overhaul, this time fixing:
* gadget dragging over windows (ticket #1563)
* gadget dragging/resizing on the hover layer
* yet another gadget refcount bug
* lots of annoying inconsistencies when dragging around new desktop gadgets


SVN revision: 77271
2012-10-01 14:02:24 +00:00
Mike Blumenkrantz 8a7477d9a8 reflow some code
SVN revision: 77254
2012-10-01 08:54:36 +00:00
Mike Blumenkrantz 37f4478e0a add last resort fix for an extremely rare corner case in gadman which causes objects to be undeletable at this point, preventing shutdown due to an infinite loop
SVN revision: 76930
2012-09-21 06:45:11 +00:00
Mike Blumenkrantz 8233970853 fix nulling of gadcon populate idler
SVN revision: 76908
2012-09-20 12:54:11 +00:00
Mike Blumenkrantz 5e0b6fd200 reorder shelf startup slightly, add gadcon populate event, only show created shelf after it's been populated, populate gadcons incrementally instead of all at once
this commit reduces my startup time by 0.5-1.0 seconds on average when using two shelves


SVN revision: 76894
2012-09-20 08:44:30 +00:00
Mike Blumenkrantz 03a578abae initialize variable
SVN revision: 76808
2012-09-18 11:44:24 +00:00
Mike Blumenkrantz ea61755d98 fix a bunch of questionably valid null derefs from clang
SVN revision: 76807
2012-09-18 11:42:44 +00:00
Mike Blumenkrantz 03dda786da with massive hacks and huge other hacks, it's finally possible to seamlessly drag icons from the desktop to a shelf and vice versa
ticket #113


SVN revision: 76765
2012-09-17 14:49:48 +00:00
Mike Blumenkrantz 95ac2fdc8a show/hide gadget drag object when leaving/entering gadcons
SVN revision: 76761
2012-09-17 13:10:19 +00:00
Mike Blumenkrantz 59d33a4a8b remove debug info
SVN revision: 76758
2012-09-17 12:24:17 +00:00
Mike Blumenkrantz 040b87a604 clean up gadcon dnd code to not use static variables
SVN revision: 76757
2012-09-17 12:23:55 +00:00
Mike Blumenkrantz fbc50eee75 prevent gadcon callbacks from being added multiple times
SVN revision: 76749
2012-09-17 09:50:49 +00:00