Commit Graph

97 Commits

Author SHA1 Message Date
Mike Blumenkrantz 4deb313dd6 e_util_comp_desk_count_get() -> e_desks_count()
also wtf is this double loop counting
2015-03-13 17:58:48 -04:00
Mike Blumenkrantz fe2bc2346f remove e_util_zone_current_get() 2015-03-13 17:58:48 -04:00
Mike Blumenkrantz b7f2777809 remove e_util_comp_current_get() 2015-03-13 16:28:49 -04:00
Mike Blumenkrantz 091142b032 remove E_Client->comp 2015-03-13 15:41:21 -04:00
Mike Blumenkrantz c8fcff8109 remove e_util_comp_zone_id_get() and e_util_comp_zone_number_get() 2015-03-13 15:20:41 -04:00
Mike Blumenkrantz 922af2c52f remove e_comp_list(), deprecate all related functions for pending removal
there is only one E_Comp which can now be accessed by the e_comp global.

if you're editing a file with some uses of these deprecated functions, replace their usages with appropriate references to this variable

pass -Wno-deprecated-declarations to ignore these warnings during build
2015-01-05 15:39:15 -05: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
Mike Blumenkrantz a69a5a1796 add dblequal() util function to be used for addressing the infinite comparison warnings 2014-09-07 23:02:32 -04:00
Mike Blumenkrantz fd6f686467 move isedje() e_util and simplify/inline 2014-07-03 10:45:59 -04:00
Mike Blumenkrantz ba3ffcf029 remove a bunch of unused e_util edje icon functions
CID 1039948, 1039946

removals: e_util_*edje_icon_list*
2014-04-04 15:04:28 -04:00
Mike Blumenkrantz 4eae850861 e_util_client_shadow_state_get() -> e_client_util_shadow_state_get()
removals: e_util_client_shadow_state_get
2014-02-05 10:48:31 -05:00
Mike Blumenkrantz 4d07ec2c00 remove black_ecore_evas
this was used in illume, which is now dead.
2014-01-14 20:28:57 -05:00
Mike Blumenkrantz 1b22c40555 move e_util_icon_save to e_desktop_editor for better waylanding 2014-01-14 20:28:57 -05: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 c6f0c79b61 add e_util_string_list_free 2013-05-28 15:05:32 +01:00
Mike Blumenkrantz 3a983e8d59 move border shadow checks to e_util 2013-04-23 17:10:20 +01:00
Mike Blumenkrantz 257a7d58c9 add e_util_evas_objects_above_print_smart() to print smart heirarchy
SVN revision: 84056
2013-02-18 13:43:32 +00:00
Mike Blumenkrantz fc31710fff add some debugging functions for comp
SVN revision: 83746
2013-02-07 13:19:50 +00:00
Mike Blumenkrantz a978a17ddd efm string functions are now EAPI util functions
SVN revision: 77860
2012-10-11 10:19:03 +00:00
Mike Blumenkrantz b8677593fc remove all LD_LIBRARY_PATH shenanigans from e17
ticket #1542


SVN revision: 77735
2012-10-10 09:27:24 +00:00
Mike Blumenkrantz 7a3eb421ff spellcheck hooooooooooooooooooooooo
SVN revision: 77562
2012-10-08 06:59:58 +00:00
Mike Blumenkrantz f90abcdf4b add util function for returning current container without needing to pass manager
SVN revision: 77501
2012-10-05 06:43:13 +00:00
Mike Blumenkrantz 97c96f891a add menu item variant of gadcon icon orient function
SVN revision: 76310
2012-09-07 13:43:44 +00:00
Mike Blumenkrantz 10a6ce56f6 move gadcon orientation icon setting code to e_util function
SVN revision: 76305
2012-09-07 13:11:45 +00:00
Mike Blumenkrantz a8bc4ea2eb e_util_dialog_internal() now returns the dialog created
SVN revision: 76010
2012-09-03 12:51:30 +00:00
Mike Blumenkrantz a8beb0950c fix usage of PATH_MAX when not working with files
SVN revision: 75518
2012-08-22 07:02:41 +00:00
Mike Blumenkrantz 6896025d1a break out keybind matching and replace original usage
SVN revision: 75458
2012-08-20 09:10:31 +00:00
Carsten Haitzler 6efc2eb976 abstract the "get terminal desktop" code into util code and now use
from e_exec AND in efm - open terminal here menu item is there with
code to set your default terminal in default applications too.



SVN revision: 75290
2012-08-15 09:59:37 +00:00
Mike Blumenkrantz f6af7bd8d2 remove all traces of old and unused bg import dialog. whoever put a separate import dialog into e_utils.c, and the person who committed r44556 with the id "barbieri" on 2009-12-18 shall indeed remain nameless, decided to leave the other one hanging around. as a result, the one that he copied from the original sat around without being modified, and now ended up being removed instead of being properly integrated
SVN revision: 75052
2012-08-09 13:58:51 +00:00
Mike Blumenkrantz a427ed3e82 add e_util_size_debug_set() to allow easier size debugging of objects in e
SVN revision: 74221
2012-07-20 08:54:14 +00:00
Mike Blumenkrantz e0a8fffedf add e_util_time_str_get() to convert a time value in seconds to a string approximation
SVN revision: 73976
2012-07-17 12:10:18 +00:00
Mike Blumenkrantz 97659ccb79 add e_util_strcasecmp
SVN revision: 73908
2012-07-16 07:21:33 +00:00
Mike Blumenkrantz 464e311e6c filepreview widget now attempts to show a thumb for file's mime type if file is not an image
SVN revision: 73802
2012-07-13 09:19:35 +00:00
Vincent Torri c3b0637802 e17: whitespaces--
SVN revision: 72561
2012-06-21 06:19:43 +00:00
Hannes Janetzek f276811f8a e17: fix e_utils_config_check, no need to pass both epoch and version
SVN revision: 63029
2011-08-31 12:57:07 +00:00
Hannes Janetzek c4401dec20 - remove deprecated e_util_menu_item_edje_icon_set
- change default icon lookup order from 
  user theme > default theme > fdo theme to
  user theme > fdo theme > default theme


SVN revision: 57105
2011-02-16 23:47:06 +00:00
Gustavo Sverzut Barbieri d374b7ccb8 utility to query for fullscreen in current/all zones.
keeping local count of borders is too error prone, instead query
it. Right now the count is being done for the current zone only, I
guess this is the best policy.



SVN revision: 54793
2010-11-22 15:21:17 +00:00
Sebastian Dransfeld 5c5e1b82e6 Remove file_set commands
Use fdo icons in e_icon directly instead

SVN revision: 54178
2010-11-05 13:11:41 +00:00
Sebastian Dransfeld 7edb27b105 update ibar icon to match shelf size
SVN revision: 53852
2010-10-25 10:21:14 +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
Christopher Michael 4b6f42d16b Add util function to return count of desktops from a container (used
in wallpaper2 dialog to disable radios).



SVN revision: 50725
2010-08-01 03:15:00 +00:00
Hannes Janetzek d62eb96fb4 added utility function to check module config version and show dialog when required. works with the common VERSION macros.
SVN revision: 48742
2010-05-10 23:44:53 +00:00
Hannes Janetzek 9ffab8f5e6 fix last commit. those shouldnt have slipped in..
SVN revision: 48192
2010-04-20 23:42:57 +00:00
Hannes Janetzek 26127d523f removing exebuf, left exebuf_terminal_cmd as it's used in other places
SVN revision: 48191
2010-04-20 23:25:42 +00:00
Sebastian Dransfeld f098d9df85 Only create edge windows which have bindings
Previously all windows always existed, and edge bindings showed/hided
windows as needed. And e_zone_flip_win_disable/ e_zone_flip_win_restore
f**k'ed this up.

Will fix bug #483 soon.

SVN revision: 45366
2010-01-20 21:30:17 +00:00
Christopher Michael 1bc2b829f2 Use PATH_MAX in e_utils.
Add function in e_utils to get a zone by Ecore_X_Window (black_win).
No need to check for locked in illume-indicator.
Add client message handler for quickpanel to handle zone request changes on
quickpanel borders.
Remove some printfs.
Minor formatting in illume2 e_kbd.
Easier check for focused_vkbd_state.



SVN revision: 45233
2010-01-16 18:40:03 +00:00
Sebastian Dransfeld 4ebf5160ec Make param const
We never change path, so make it const.

SVN revision: 45051
2010-01-11 20:35:01 +00:00
Gustavo Sverzut Barbieri 0900c11347 'Set as background' mime handler moved to core, refactored.
* Remove 'Set as background' from conf_wallpaper and add it to e_bg
   together with the other code that already was handling
   '*.edj'. This makes more sense and will enable the action in
   presence of both versions of wallpaper dialog;

 * e_utils got pieces required by e_bg that could be used elsewhere,
   one is the dialog to query for options to import, the other is what
   really generates the conversion (import) of image->edj.

 * conf_wallpaper: import thing is way too messy, needs cleaning or
   removal. I don't care much about it as I plan to improve wallpaper2
   instead.



SVN revision: 44556
2009-12-18 22:20:08 +00:00
Viktor Kojouharov b6ec16d97e hide edge event windows that are not used by any action
put the edge windows on the correct layers
allow edge click bindings
use actions for auto-hide shelves
toggling auto-hide will cause edge event windows to show/hide if necessary


SVN revision: 42864
2009-10-02 20:53:05 +00:00
Davide Andreoli f64a04ec46 Make a new function:
e_util_icon_theme_set(Evas_Object *obj, const char *icon)
to use in place of e_util_edje_icon_set.
The new function (as it works for menu) search the icon in E theme and FDO themes
according to the config option.

SVN revision: 39371
2009-03-04 22:29:23 +00:00