Commit Graph

360 Commits

Author SHA1 Message Date
Carsten Haitzler df575ea51a ibar - add iconify provider 2014-01-29 22:42:54 +09:00
Mike Blumenkrantz 2e9c1e383d don't add/reset ibar menu hide timer when menu is active
T815
2014-01-18 15:19:42 -05:00
Carsten Haitzler 35640f88b4 debug remove - sorry. 2014-01-18 19:57:39 +09:00
Carsten Haitzler 0ca6bd8b9d ibar icon menu - set pass events on bg obj until it is fully shown
this needs an elm theme update fyi.
2014-01-18 19:52:58 +09:00
Mike Blumenkrantz e757c67b31 hide ibar menu when its gadget menu is opened
one menu at a time.

T744 maybe?
2014-01-17 19:07:11 -05:00
Mike Blumenkrantz a93880ade2 ibar menu now dynamically adds new clients
T744
2014-01-17 19:04:48 -05:00
Mike Blumenkrantz 49b9a2ea2a break out ibar menu population into separate function 2014-01-17 18:27:55 -05:00
Mike Blumenkrantz 312a53e44a further reduce ibar menu hide delay, make delay even shorter when leaving menu
it seems that I always have this thing stuck open for a long period of time after moving my mouse out through it. I suspect that most times when a user moves the cursor out of the menu and does not immediately move it back or to the icon, the menu probably shouldn't hang around. likewise, when it moves out of the icon, maybe we give a little extra time to reach the menu, but not so much that it hangs around if the icon was exited through the side
2014-01-17 18:21:13 -05:00
Mike Blumenkrantz c9d71e4044 add slight delay to ibar menu mouseover showing
this gets really annoying when mousing over the bar quickly and menus start flying all over
2014-01-17 18:19:00 -05:00
Mike Blumenkrantz 92b65633a4 hide mouseover ibar menu after mouse has left
T744
2014-01-17 18:13:03 -05:00
Mike Blumenkrantz 34988ff214 pass events on ibar menu during hide 2014-01-17 18:09:35 -05:00
Mike Blumenkrantz 8f99680994 fix ibar menu mouseover crash when dragging 2014-01-16 11:36:13 -05:00
Mike Blumenkrantz a148402b45 reduce ibar mouse out timer length
also since this wasn't done correctly in the original message

feature: ibar now optionaly triggers its menu on mouse in
2014-01-16 11:15:28 -05:00
Carsten Haitzler f2a5a5f570 ibar - fix collection of segvs dealing with ibar icon menu invalid refs 2014-01-16 21:30:56 +09:00
Mike Blumenkrantz 86656e4df9 compositor rewrite / charlie-foxtrot situation
huge fustercluck commit because there wasn't really a way to separate out the changes. better to just rip it all out at once.

* compositor and window management completely rewritten. this was the goal for E19, but it pretty much required everything existing to be scrapped since it wasn't optimized, streamlined, or sensible. now instead of having the compositor strapped to the window manager like an outboard motor, it's housed more like an automobile engine.

** various comp structs have been merged into other places (eg. E_Comp_Zone is now just part of E_Zone where applicable), leading to a large deduplication of attributes

** awful E_Comp_Win is totally dead, having been replaced with e_comp_object smart objects which work just like normal canvas objects

** protocol-specific window management and compositor functionality is now kept exclusively in backend files

** e_pixmap api provides generic client finding and rendering api

** screen/xinerama screens are now provided directly by compositor on startup and re-set on change

** e_comp_render_update finally replaced with eina_tiler

** wayland compositor no longer creates X windows

** compositor e_layout removed entirely

* e_container is gone. this was made unnecessary in E18, but I kept it to avoid having too much code churn in one release. its sole purpose was to catch some events and handle window stacking, both of which are now just done by the compositor infra

* e_manager is just for screensaver and keybind stuff now, possibly remove later?

* e_border is gone along with a lot of its api. e_client has replaced it, and e_client has been rewritten completely; some parts may be similar, but the design now relies upon having a functional compositor

** window configuration/focus functions are all removed. all windows are now managed solely with evas_object_X functions on the "frame" member of a client, just as any other canvas object can be managed.

*** do NOT set interceptors on a client's comp_object. seriously.

* startup order rewritten: compositor now starts much earlier, other things just use attrs and members of the compositor

* ecore_x_pointer_xy_get usage replaced with ecore_evas_pointer_xy_get

* e_popup is totally gone, existing usage replaced by e_comp_object_util_add where applicable, otherwise just placed normally on the canvas

* deskmirror is (more) broken for now

* illume is totally fucked

* Ecore_X_Window replaced with Ecore_Window in most cases

* edge binding XWindows replaced with regular canvas objects

* some E_Win functionality has changed such that delete callbacks are now correctly called in ALL cases. various dialogs have been updated to not crash as a result

comp files and descriptions:

e_comp.c - overall compositor functions, rendering/update loop, shape cutting

e_comp_x.c - X window management and compositor functionality

e_comp_wl.c - Wayland surface management and compositor functionality

e_comp_canvas.c - general compositor canvas functions and utilities

e_comp_object.c - E_Client->frame member for managing clients as Evas_Objects, utility functions for adding objects to the compositor rendering systems

additional authors: ivan.briano@intel.com

feature: new compositor

removal: e_border, e_container, e_popup
2014-01-14 20:22:02 -05:00
Mike Blumenkrantz a0b07b9df7 fix ibar mouse in/out animations
previous operation resulted in repeated show/hide signals which looked bad.

going to have to investigate timer settings on this, current behavior, while a step in the right direction, seems unusable for me with the mismatch of no delay to show, LOOOOOOONG delay to hide
2014-01-05 23:51:47 -05:00
Carsten Haitzler 86f4dc82d5 ibar - add option to show icon menu on mousover 2014-01-06 13:19:56 +09:00
Mike Blumenkrantz 64b8da15a4 don't crash when ibar mouse rolling
T666 (wtf)
2013-12-15 13:36:55 -05:00
discomfitor 3694ec8a4c force autoscroll on ibar when allowing random apps to dock
T379
2013-09-20 15:35:01 +01:00
discomfitor f7e8dee23c when clicking an ibar icon for a non-order icon that has only one window, activate the window
T375
2013-09-20 15:08:06 +01:00
discomfitor b75f10b68b block ibar client adds for .desktops without icons
T388 probably
2013-09-19 20:09:40 +01:00
Mike Blumenkrantz 0775d755fa formatting 2013-08-22 11:34:45 +01:00
Mike Blumenkrantz 2679063067 send ibar icon signals even when app instances exist 2013-08-15 09:46:44 +01:00
Mike Blumenkrantz 84dc539ddf ibar obeys max size hint 2013-08-13 11:04:55 +01:00
Mike Blumenkrantz 0bb7ceb97c ibar now sets min size on init and then sets ASPECT on resize, since this is how we get correct sizing without being unable to ensmallen the gadget 2013-08-13 11:02:50 +01:00
Yossi Kantor ea8a5adad2 Bugfix: ibar popup doent show on additional screens just on main 2013-07-30 10:17:22 +09:00
Mike Blumenkrantz fa7744b4de fix ibar client menu to track multiple windows per exe 2013-07-26 14:42:48 +01:00
Mike Blumenkrantz 46babfef1a hide ibar menu when last instance window is closed 2013-07-02 08:34:44 +01:00
Mike Blumenkrantz 445ae27fad fix ibar task appearance when dragging off the bar 2013-06-24 05:40:03 +01:00
Mike Blumenkrantz 57549acc75 activating ibar tasks always pops the window menu 2013-06-24 05:40:03 +01:00
Mike Blumenkrantz 2bee74044f clarify ibar add/remove icon menu item text 2013-06-19 10:39:34 +01:00
Mike Blumenkrantz 6d9c4c0b4c add some safety checks for borders without execs 2013-06-19 07:09:43 +01:00
Mike Blumenkrantz fa8e976540 ibar tasks are now restricted by NETWM skip taskbar state 2013-06-19 06:42:39 +01:00
Mike Blumenkrantz cf0ea3e9fd BY THE POWER OF GRAYSKULL, IBAR IS NOW ALSO A TASKBAR
...optionally
2013-06-18 15:44:57 +01:00
Mike Blumenkrantz a054dc059c move ibar icon appending into ibar icon new function 2013-06-18 15:44:56 +01:00
Mike Blumenkrantz f8448c071a use new e_exec events to track/add/del new exes which are not launched from ibar 2013-06-18 15:44:56 +01:00
Mike Blumenkrantz 8f83d4d3aa fix ibar deletion list removal 2013-06-18 15:44:56 +01:00
Mike Blumenkrantz 18057e5a11 use event handler list macro for ibar handlers 2013-06-18 15:44:56 +01:00
Mike Blumenkrantz 527e5ef49a more ibar inlist conversions 2013-06-18 10:32:34 +01:00
Mike Blumenkrantz 48050a3d7d remove old TODO from ibar 2013-06-18 10:26:18 +01:00
Mike Blumenkrantz d9b5a6b82f convert ibar icons list to use inlist 2013-06-17 08:21:01 +01:00
Thomas Gstädtner 4e2dd06861 ibar exec list: allow fast application switching by scrollwheel 2013-06-17 07:49:22 +01:00
Thomas Gstädtner 1daf85faa5 rename ibar timer_cb to menu_cb, as it isn't used only for the timer 2013-06-15 10:14:48 +01:00
Thomas Gstädtner 934bae833d add middle mouse binding for ibar exec menu
this allows for quick, timer-less, access to the menu
2013-06-15 10:14:09 +01:00
Carsten Haitzler 02d9596178 fix ibar exe watcher segv hole.
i got a segv with ibar and exe instance watching. a watcher was still
active even tho ic was freed (i think)... i don't know the
reproduction steps, but i think this is a hole.. so plug it.
2013-06-04 19:18:43 +09:00
Mike Blumenkrantz c3bfd72525 delete ibar menu timer on mouse move to prevent interference when dragging icons 2013-05-30 07:49:53 +01:00
Carsten Haitzler 74d23ebd80 when an exe is removed from ibar icon exes, del watcher to avoid segv. 2013-05-20 22:24:30 +09:00
Carsten Haitzler 75f8470839 just in case - set list of exe's to null on freeing it in ibar 2013-05-20 21:49:53 +09:00
Mike Blumenkrantz d208926bdf fix crash when deleting icon menu 2013-05-20 12:02:34 +01:00
Carsten Haitzler 5548e4afa7 ... improve that popup box from ibar to not scale all over the place... but.. comp mirrors are full of garbage for me. 2013-05-19 23:34:10 +09:00
discomfitor 9ef130a6da ibar now conceals a terrible power. the first person who can figure it out without reading the commit gets a surprise! 2013-05-18 19:39:52 +01:00
Mike Blumenkrantz 2d55999aad reuse comp canvas for ibar grab win 2013-05-07 13:11:05 +01:00
Miculcy Brian bb375592d3 IBar fixes when using other sources than 'default'.
SVN revision: 83442
2013-01-29 16:33:16 +00:00
Mike Blumenkrantz fbd2efaf46 fix crash when changing ibar source
ticket #2101


SVN revision: 81682
2012-12-24 13:12:47 +00:00
Massimo Maiurana 72bff90279 Use gettext correctly to translate the "Icon %s" message (patch from Igor Murzov)
SVN revision: 81051
2012-12-16 17:01:31 +00:00
Massimo Maiurana 9f1d6e067e Store and handle action names correctly. (patch from Igor Murzov)
SVN revision: 81049
2012-12-16 16:58:17 +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
Mike Blumenkrantz 15b668e01a more build fixes: MAX into e.h if not defined, remove other definitions as pointed out by Robert David
ticket #1757 (2/3)


SVN revision: 79138
2012-11-12 09:16:23 +00:00
Carsten Haitzler e574adfed7 add single-instance launching infra support for e17 as well as launch
tracking for ibar.



SVN revision: 76793
2012-09-18 10:00:37 +00:00
Mike Blumenkrantz 4c0fa2d381 big roundup commit fixing leaky submenus
SVN revision: 75973
2012-09-03 08:30:39 +00:00
Mike Blumenkrantz 94e2fc5257 clean up gadget right click menus to stop leaking
SVN revision: 75285
2012-08-15 07:22:04 +00:00
Carsten Haitzler 76788535e2 ibar now has an action to be able to focus it and its kbd navigable. :)
SVN revision: 74835
2012-08-03 10:10:23 +00:00
Mike Blumenkrantz 98601e4198 sed -i 's/(E_Gadcon_Client_Class/(const E_Gadcon_Client_Class/g'
SVN revision: 74474
2012-07-27 08:25:22 +00:00
doyoun.kang 5ac9b0d111 From: doyoun.kang@samsung.com
Subject: [E-devel] [Patch][e][ibar] Add a configuration for locking icon movement


Dear all.

I added a configuration value which (un)locks icon movement in ibar module. This will be usefull if the user doesn't want to move an icon in iBar on the Shelf.
You can (un)set this value "iBar -> Settings -> Icon Movement field -> Lock Icon Move checkbox".
Please review this patch.

Thanks.
--
Doyoun Kang


SVN revision: 73910
2012-07-16 07:31:12 +00:00
Mike Blumenkrantz e0df3ac375 fix super long-standing ibar bug where multiple ibars using the same source would never be updated until restart when changes were made
also consolidate E_Order objects per source


SVN revision: 72693
2012-06-22 08:27:10 +00:00
Mike Blumenkrantz 21d37fcbbc formatting
SVN revision: 72691
2012-06-22 07:28:13 +00:00
Mike Blumenkrantz f715dc41fe missed this ibar config item function, fix fix!
SVN revision: 72690
2012-06-22 07:24:31 +00:00
Mike Blumenkrantz 74edef9f46 fix memory leak spotted by seb in gc_id_new. this whole thing is pretty confusing; I'm glad we don't have docs for it
SVN revision: 72689
2012-06-22 07:21:51 +00:00
Mike Blumenkrantz 7dbd2e8de9 fix the same instance id bug as in pager, this will likely delete configs for a large number of modules
SVN revision: 72592
2012-06-21 11:03:50 +00:00
Boris Faure 27264671d0 e/gadcon: label() returns a const char*
Original patch by Fabien Romano from OpenBSD

SVN revision: 65204
2011-11-14 21:46:57 +00:00
Hannes Janetzek 950f9cd729 e17: use GADCON_CLIENT_CONFIG_GET, remove old transitional code to remove config items without id
SVN revision: 63125
2011-09-03 14:39:28 +00:00
Sebastian Dransfeld 0a0c4d5209 efreet: Revert changed flag
Only send event when cache is actually updated.

SVN revision: 62548
2011-08-18 07:34:02 +00:00
Sebastian Dransfeld 70ed1d3def e: Ignore efreet cache update on no change
SVN revision: 62507
2011-08-16 12:46:47 +00:00
Hannes Janetzek 7f457f1911 e17: add option to have gadcon client settings menu in toplevel again.
added e_menu_item_new_relative(E_Menu, E_Menu_Item *rel) which appends 
 new item to rel or prepends it when rel is NULL.

changed e_gadcon_util_client_menu_append to to take only the gadget menu
 and returns the new toplevel menu that should be shown by gcc
 depending on the setting this is a new menu with gadget menu as submenu
 or the gadet_menu with gadget menu items appended

updated e-modules-extra comes in a minute


SVN revision: 57826
2011-03-17 17:08:36 +00:00
Christopher Michael 59ea0baaec Use PATH_MAX.
Add UNUSED where needed.



SVN revision: 55200
2010-12-03 16:49:20 +00:00
Sebastian Dransfeld 8769f96b0e listen to icon cache changes
SVN revision: 55146
2010-12-02 08:34:18 +00:00
Sebastian Dransfeld 6d1de4d853 remove weird unneeded hack
SVN revision: 54387
2010-11-09 21:32:04 +00:00
Sebastian Dransfeld 32a8f5160d Fix dnd working with reference coords.
SVN revision: 54383
2010-11-09 21:14:38 +00:00
Sebastian Dransfeld 2a048b5005 gadcon helper functions
SVN revision: 54348
2010-11-08 20:11:45 +00:00
Sebastian Dransfeld 7ec3dd0f41 Right drop target size
If we are in an autoscroll container, use it's size as drop target

SVN revision: 54328
2010-11-08 14:05:29 +00:00
Sebastian Dransfeld 1ba2fd77a0 Set fdo icon directly in e_icon
This makes it simple to find the right icon size for current view size

SVN revision: 54177
2010-11-05 13:11:31 +00:00
Sebastian Dransfeld 7edb27b105 update ibar icon to match shelf size
SVN revision: 53852
2010-10-25 10:21:14 +00:00
Christopher Michael 5e2543b7de Use PATH_MAX for variable handling a file location.
Don't declare variables in the middle of code.
Comment out unused function.
Use the Application's icon for the menu item that is displayed when
you right-click an icon in ibar.



SVN revision: 52104
2010-09-09 20:20:24 +00:00
Christopher Michael 55c0358bb2 Only declare this variable if it will be used.
SVN revision: 52077
2010-09-09 15:08:36 +00:00
Miculcy Brian b485216e82 separator fix
SVN revision: 52076
2010-09-09 15:04:36 +00:00
Miculcy Brian 2f8f31fbf5 This commit will change the shelf menu completly:
If you have a Gadget and open the menu over it, all gadget specific options are under a separate submenu. The menu items which the Gadget sets theirself can be put on the main menu tree or on the Gadget submenu.
If you don't see a reason for this, check the ibar menu _before_ and _after_. :)

This api change broke all modules but i already fixed them all. Hope everything works... I also shortend text strings, etc, etc.
Hope you like it! :)


SVN revision: 52041
2010-09-09 14:44:21 +00:00
Miculcy Brian a324194bdf remove duplicated entry
SVN revision: 51756
2010-08-30 16:04:02 +00:00
Christopher Michael d7b096fb53 Fix compiler warning about signed & unsigned comparison.
SVN revision: 51446
2010-08-19 20:17:01 +00:00
Christopher Michael 68c0bf230c Add UNUSED where needed.
SVN revision: 51375
2010-08-19 00:00:56 +00:00
Lucas De Marchi 6638a10e20 FORMATTING
* Remove vim modelines:
 find . -name '*.[chx]' -exec sed -i '/\/\*$/ {N;N;/ \* vim:ts/d}' \{\} \;
 find . -name '*.[chx]' -exec sed -i '/\/[\*\/] *vim:/d' \{\} \;

* Remove leading blank lines:
 find . -name '*.[cxh]' -exec sed -i '/./,$!d'

If you use vim, use this in your .vimrc:
set ts=8 sw=3 sts=8 expandtab cino=>5n-3f0^-2{2(0W1st0



SVN revision: 50816
2010-08-04 16:57:32 +00:00
Cedric BAIL c6a118d738 * e: remove warning due to Ecore API change.
SVN revision: 49833
2010-06-24 16:19:12 +00:00
Sebastian Dransfeld 02b6e4db39 Ecore_Str.h -> Eina
SVN revision: 45740
2010-01-30 22:11:11 +00:00
Sebastian Dransfeld f2c243f91e make clang happy
SVN revision: 45191
2010-01-15 19:36:00 +00:00
semernin 2f76dd5d99 List of changes:
1. Gadcon sities:
      -- 'E_Gadcon_Site' enum to list all available sities,
      -- added 'is_site' callback for distinguish gadcon sities,
      -- 'e_gadcon_site_is_*' helpers written to use in gadget modules,
      -- gadcon config dialogs modified to show only gadgets that appropriate
         to selected gadcon site,
      -- all gadget modules updated for using new callback.
      
      When callback is not provided in module, then gadget can be used in 
      any gadcon site.
      
   2. Filemanager:
      -- added error icon to unexisting path dialog,
      -- added callback 'func.abort' to 'E_Fm2_Op_Registry_Entry' to specify
         abort operation sequence (if not provided, then operation is not
         cancelable),
      -- added parameter to 'e_fm2_op_registry_entry_add' to specify abort
         method on construct 'E_Fm2_Op_Registry_Entry' or make non-cancelable
         operation if this function is not provided,
      -- added 'e_fm2_operation_abort' call to cancel efm2 operation,
      -- added method '_e_fm2_operation_abort_internal' that represent efm2
         default handler of operation cancelling,
      -- 'done' and 'total' fields of 'E_Fm2_Op_Registry_Entry' changed to
         off_t type, also all message handlers modified to work with it
         (to show progress for large files correctly),
      -- improved file operation progress processing,
      -- added cancel button to operation progress gadget in filemanager window,
      -- added delete file glyph to operation progress gadget,
      -- improved status message for efm2 operation progress.

   3. Filemanager slave:
      -- fixed critical bug in message handling via stdin/stdout,
      -- fixed critical bug in removing task from list,
      -- improved 'E_FM_OP_ABORT' handling,
      -- fix rollback counting on moving files.

   4. Fileman_opinfo module:
      -- a new theme writed: status string and gadget for view operation status
         in summary and detail modes,
      -- summary mode: operation glyph, state message, progressbar, abort button,
      -- detail mode: all for summary + from filename, to filename,
      -- summary/detailed button works as trigger,
      -- added source of module theme and used images.
      
   4. Pathbar module:
      -- non-critical fix, just for safety.

   Also patch contains several minor updates to serve main task.


SVN revision: 41224
2009-06-29 14:38:03 +00:00
Christopher Michael 56c5dda8e5 Lots of formatting, & Whitespace Removal
SVN revision: 40752
2009-05-19 22:50:35 +00:00
Massimiliano Calamelli 829d452e55 Fix missing MAX for OpenSolaris
SVN revision: 40061
2009-04-14 21:41:59 +00:00
Gustavo Sverzut Barbieri e0040cefb9 major cleanup of path creation to $DATADIR and $HOME/.e/e
This cleanup replaces snprintf() usage with specific calls, they have
the benefit of being cleaner (so easier to grep), typing less and also
marginal speed up compared to the other (specially concat_static),
although those are rarely used in critical paths.

I'm testing it for some time and seems to not break anything, but let
me know of any problem. If you can review the patch and try to spot
incorrect names, please do.




SVN revision: 40014
2009-04-13 14:56:38 +00:00
Christopher Michael bade03f209 no reason to set text of o_holder as it contains no text part.
SVN revision: 39453
2009-03-12 20:54:46 +00:00
Davide Andreoli 3d41cbb20d More icon works, this commit include changes to the icons on the desktop.
You will probably loose desktop icons until you get a fresh profile. Or you can edit the
.desktop files in .e/e/fileman/favorites (new icons name are: user-desktop, user-home, computer and user-temp)

Sorry for bothering... the next commit should be the last ;)



SVN revision: 39419
2009-03-08 23:09:48 +00:00
Davide Andreoli 49fecd25b7 More icons renamed
SVN revision: 39400
2009-03-06 22:18:15 +00:00