Commit Graph

234 Commits

Author SHA1 Message Date
Mike Blumenkrantz 5d11130dad size debugging now also prints object names when available 2013-04-17 08:36:54 +01:00
Mike Blumenkrantz 85a06058ce e_util_size_debug_set now displays delete events
SVN revision: 84088
2013-02-19 09:14:46 +00:00
Mike Blumenkrantz 41058ea8e2 e_util_size_debug_set now prints on show/hide events
SVN revision: 84057
2013-02-18 13:43:34 +00: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 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 fc31710fff add some debugging functions for comp
SVN revision: 83746
2013-02-07 13:19:50 +00:00
Mike Blumenkrantz 01257a8acc optimize use of edje_file_collection_list in various e things, also remove erroneous changelog/news entries
SVN revision: 83584
2013-02-04 08:38:46 +00:00
Mike Blumenkrantz c48fd0b06d giant commit that wipes all bindi^W^W^Wsplits out binding configs into a separate config domain so they can be more easily copied and so they won't be wiped in the event that primary config is wiped
also splits all binding lists out of e_config: they are now conveniently located in the global "e_bindings" struct


SVN revision: 83544
2013-02-01 10:21:54 +00:00
Igor Murzov 505278789d Fix incorrect usage of gettext for plural forms.
This commit is almost the same as r78716. Déjà vu!


SVN revision: 82788
2013-01-14 23:43:40 +00:00
Igor Murzov 2b2335fc0b Translate messages in configuration checker error dialog.
SVN revision: 82787
2013-01-14 23:42:40 +00:00
Mike Blumenkrantz 9e8e755cdf formatting: all at once
SVN revision: 82625
2013-01-11 10:34:29 +00:00
Mike Blumenkrantz 66aaa87c49 warn--
SVN revision: 81634
2012-12-22 10:33:45 +00:00
Mike Blumenkrantz 0f01a6b279 in a move which will make me tremendously unpopular, config versioning has been changed from hex to dec across the whole tree, including helper functions and modules
PS. HAHAHAHAHAHAHAHA


SVN revision: 81624
2012-12-21 23:57:05 +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 91aad68829 e_util_strcmp now checks if ptrs are equal before running strcmp
SVN revision: 81336
2012-12-19 09:39:35 +00:00
Sebastian Dransfeld 5986618d0a e: remove cruft
SVN revision: 79480
2012-11-20 21:18:30 +00:00
Massimo Maiurana db489a2338 patch from Igor Murzov for a correct use of plural forms with gettext
SVN revision: 78716
2012-10-31 18:44:14 +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 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 bdab9a3b16 fix typo which prevented gnome-terminal from ever being run by Open Terminal Here menu item
EFL: we don't just hate our competition, we break support for them


SVN revision: 76182
2012-09-05 09:41: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 b011625092 update module util version check message
SVN revision: 75848
2012-08-30 07:57:07 +00:00
Carsten Haitzler 54b0ff4251 quick layer to pos mapper - copy from container.
SVN revision: 75775
2012-08-28 10:26:31 +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 e2a7ada4b3 null check which hasn't affected anything yet
SVN revision: 75464
2012-08-20 12:37: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 1edee7df77 make enlightenment_open use the same terminals config as e and sync
the code.



SVN revision: 75301
2012-08-16 03:36:50 +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
Carsten Haitzler 3f1c68dbd0 tile not title!
:)



SVN revision: 74991
2012-08-08 06:09:50 +00:00
Chidambar Zinnoury ed4325d510 e utils: don't store signed integers in unsigned arrays.
This will make file previews use better sized icons.


SVN revision: 74598
2012-07-30 20:30:26 +00:00
Christopher Michael e816b7b432 Formatting.
SVN revision: 74222
2012-07-20 08:58:35 +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 fd133e4410 fix format string type warning
SVN revision: 74036
2012-07-18 06:47:03 +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
Chidambar Zinnoury 116f994126 e: use standard units for file sizes and use helpers instead of duplicating code.
SVN revision: 73858
2012-07-14 20:50:21 +00:00
Mike Blumenkrantz bf387320f0 update time modified strings to be more grammatically accurate
SVN revision: 73815
2012-07-13 14:18:39 +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
Carsten Haitzler 6188192e4e 1. no more strip/unstrip of path/ld_library_paht - i think we no
longer need or want it.
2. prepend e's bin dir to PATH and lib dir to LD_LIBRARY_PATH for
better "it just works" usability. :)



SVN revision: 73430
2012-07-07 01:41:28 +00:00
Mike Blumenkrantz afa152690c formatting
SVN revision: 72941
2012-06-27 12:19:00 +00:00
Vincent Torri c3b0637802 e17: whitespaces--
SVN revision: 72561
2012-06-21 06:19:43 +00:00
Mike Blumenkrantz f784bff213 replace e17 logging "system" with custom eina log domain
SVN revision: 72089
2012-06-13 15:17:23 +00:00
Cedric BAIL daa7935e0f e: fix potential segv.
SVN revision: 71578
2012-05-31 10:17:31 +00:00
Vincent Torri c30aaf8dde e17: remove some shadow variables
SVN revision: 70190
2012-04-15 08:09:56 +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 c3595e9d2b e17:e_util_icon_theme_icon_add return icon of requested size when possible
SVN revision: 62517
2011-08-16 22:47:48 +00:00
Christopher Michael 1a13f8c26f E: Make E work with the new XCB stuffs. This breaks out e_alert into
it's own utility (as per raster's request/idea). Remove explicit
x_clags in Makefile.am(s) as they are no longer needed.

NB: I added some additional libs to the precache stuffs (even tho it's
not used right now). Also a newer e_main (more optimized).

NB: IF you are brave and want to test this, build evas w/ xcb, build
ecore w/ xcb, then rebuild E. Also, disable building opengl in both
evas & ecore (it's not ready for public consumption when paired w/ xcb).



SVN revision: 61680
2011-07-25 09:40:18 +00:00
Christopher Michael 95075ba49d E17: Revert fdo icon searching in different themes. Apparently it
breaks efreet cache (tho I saw no side effects here).



SVN revision: 59332
2011-05-11 13:55:22 +00:00
Christopher Michael 4fb22f6eb3 E17: When searching for an icon in the fdo theme, if we do not find it
in the current theme, check some fallback icon themes (so there is
less chance of a menu item having no icon).



SVN revision: 59314
2011-05-11 05:06:08 +00:00
Hannes Janetzek adccf26b7a e_util_icon_theme_set: use e_icon_scale_size_set to request fdo icon size
SVN revision: 57136
2011-02-17 20:21:02 +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
Hannes Janetzek 27915b9db3 set preferred size when loading svg icons
SVN revision: 57018
2011-02-14 14:05:45 +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 3d1a299e06 Let efreet icon return const
We return a pointer to an internal cache, so no need to do strdup. I we
implement a cache, the pointer will be a return from a mmap'ed file, so
no need to do strdup.

A bit late to do an API break, but must be done.

SVN revision: 54372
2010-11-09 20:15:55 +00:00
Sebastian Dransfeld 3c12d4daba __UNUSED__ last
SVN revision: 54193
2010-11-05 18:40:31 +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
Carsten Haitzler 62862fa56f dont use evas_imaging anymore... and... do svg test the right way.
SVN revision: 51708
2010-08-29 02:25:57 +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
Cedric BAIL c6a118d738 * e: remove warning due to Ecore API change.
SVN revision: 49833
2010-06-24 16:19:12 +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
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 286988f003 Fix compiler warnings
SVN revision: 45178
2010-01-15 11:59:58 +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
Christopher Michael 8dbdeb73da Check event handlers are valid before trying to delete them.
Use PATH_MAX.
Fix formatting/whitespace.



SVN revision: 44990
2010-01-08 20:17:07 +00:00
Christopher Michael a245fb11cf e_utils - Use PATH_MAX, not 4096.
e_fm.c - An idler is not a timer. Use proper variable type. Formatting.



SVN revision: 44700
2009-12-23 21:29:36 +00:00
Samuel F. Baggen 6b03d701d5 do not return if we dont have prev_ld_library_path, sometimes we still need to do the next thing
SVN revision: 44658
2009-12-22 16:09:17 +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
Sebastian Dransfeld bda24a1f0d Make clang happy
SVN revision: 44230
2009-12-06 19:42:41 +00:00
Sebastian Dransfeld 0058ebbc82 Remove unused variables
SVN revision: 43542
2009-11-08 20:27:32 +00:00
Carsten Haitzler 88d2d262e5 1. for some reason the po's needed a lot of updates - msgmerge thiks so
2. use preload for icons a lot.



SVN revision: 43191
2009-10-22 06:47:02 +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
Hannes Janetzek 460402d3f8 dont use EINA_LIST_REVERSE_FOREACH here
SVN revision: 42638
2009-09-23 06:12:53 +00:00
Hannes Janetzek 327e6d0085 prefer 24px icons for menus. downscaling looks less worse then upscaling. if ok
for everyone, bug http://trac.enlightenment.org/e/ticket/355 can be closed.


SVN revision: 42388
2009-09-10 20:03:17 +00:00
Cedric BAIL f8c05999e4 * e: Cleanup use of Eina data structure.
Patch from Peter van de Werken <pwerken-e@a-eskwadraat.nl>.


SVN revision: 41916
2009-08-21 15:08:49 +00:00
Davide Andreoli 6efe302d22 * Also load icons from a given full path, not only by the theme-name.
This fix some (not showed) icons, expecially with the configmenu module.

SVN revision: 41177
2009-06-23 20:52:04 +00:00
Gustavo Sverzut Barbieri b5d5b3378c do not segfault on empty filename to escape.
Avoid case where e_exec (and possible others) gives
e_util_filename_escape() a NULL parameter, actually another bug, but
does not hurt to safe guard this one.

By: manio



SVN revision: 40979
2009-06-09 10:25:25 +00:00
Gustavo Sverzut Barbieri b045f6a244 fix typo.
SVN revision: 40388
2009-04-25 22:12:13 +00:00
Gustavo Sverzut Barbieri be6a6ba639 improvements to e_border positioning.
* e_border_center() will center window in a better way, accounting
   the shelves/panels instead of just centering on the screen. This is
   better and most noticeable if screens are small and a big shelf on
   just one edge.

 * e_border_move_without_border(), e_border_resize_without_border()
   and e_border_move_resize_without_border() will assume the given
   values do not acount border/decorations (client_inset) and will do
   automatically. As stated in documentation, this is specially useful
   when it is a new client and thus have no decorations when it is
   positioned, when decorations are added window would be placed at
   wrong position. One can try this by adding efwin window overflowing
   the bottom-right corner, closing it and when reopen fileman would
   try to make it inside the screen, this would not work well with
   part of the window still being outside.

 * e_win_move(), e_win_resize() and e_win_move_resize() will now use
   new e_border functions.



SVN revision: 40307
2009-04-23 02:24:59 +00:00
Gustavo Sverzut Barbieri 855f5080af export function to get useful area of zone.
This should be used by other parts of e17, like window placement.


SVN revision: 40197
2009-04-18 21:44:21 +00:00
Gustavo Sverzut Barbieri 99eb6ec409 better way to calculate good window size.
Instead of blindly use 1/3 of zone, now it will account shelf sizes
and will try some proportions before giving up.



SVN revision: 40179
2009-04-18 18:16:02 +00:00
Gustavo Sverzut Barbieri 1532f064cb use scaled icon size.
SVN revision: 39843
2009-04-03 21:45:33 +00:00
Davide Andreoli 7e1d04f5d0 * Fix e_util_dialog_internal() icon
* Scale better the efm progress



SVN revision: 39784
2009-03-28 22:16:12 +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
Davide Andreoli 3d669d1177 * Rename the new function:
e_util_menu_item_fdo_icon_set to e_util_menu_item_theme_icon_set
As it looks for icons in e theme AND in fdo icon themes.
* Use the new function everywere instead of e_util_menu_item_edje_icon_set,
that is now marked as DEPRECATED

You should not see any difference with this commit. With the next few commit I'm
going to rename all the icons in the theme following fdo standard. I will not change
any icons, just rename them to match fdo ones.



SVN revision: 39370
2009-03-04 20:46:05 +00:00
Gustavo Sverzut Barbieri cb629d5a56 More FDO icons work, now able to choose which one has precedence.
SVN revision: 39355
2009-03-04 02:56:27 +00:00
Gustavo Sverzut Barbieri beaf395663 fdo menu icons now scales.
SVN revision: 39353
2009-03-04 00:39:49 +00:00
Davide Andreoli 0a61c86043 New function e_util_menu_item_fdo_icon_set() and use it
SVN revision: 39349
2009-03-03 20:17:41 +00:00
Cedric BAIL db419867dd * estickies,
* etk,
	* PROTO/exalt,
	* E-MODULES-EXTRA/diskio,
	* E-MODULES-EXTRA/drawer,
	* E-MODULES-EXTRA/penguins,
	* E-MODULES-EXTRA/slideshow,
	* E-MODULES-EXTRA/mail,
	* E-MODULES-EXTRA/forecasts,
	* E-MODULES-EXTRA/iiirk,
	* E-MODULES-EXTRA/places,
	* e,
	* ewl,
	* ecore,
	* elitaire,
	* entrance,
	* e_dbus,
	* efreet: Here we go, move from Ecore_List to Eina_List.

	NOTE: This patch is huge, I did test it a lot, and I hope nothing is
	broken. But if you think something change after this commit, please
	contact me ASAP.


SVN revision: 39200
2009-02-25 11:03:47 +00:00
Carsten Haitzler 620a5f8989 auto-resize windows up from min size to 1/3rd of screen.
SVN revision: 37729
2008-11-21 13:40:56 +00:00
Sebastian Dransfeld 27849f76d6 Correct usage of e_util_dialog_show.
SVN revision: 37173
2008-10-26 20:49:32 +00:00
Sebastian Dransfeld f8b9241dd8 Remove unused functions.
SVN revision: 37172
2008-10-26 20:49:21 +00:00
Carsten Haitzler 307d52edfd major changes!!!
init splash now merged with theme - default theme has both. saves space on
disk and just in the end is cleaner. can still select spash separately - but
now themes should provide splashes. you can have just splash files in the
theme dir - but won't be much good for full themes.

default theme now is b&w - all moved over and building. it's now default.
default splash is just default theme etc. etc.

this may cause some problems - so i'd just check your settigns and maybe
re-selct your init splash as it may not exist anymore or be found and thus a
blank splash until u fix it in config.

hmm... there is a bug thoug - i think fileman related. will check. missing
something in theme.



SVN revision: 37006
2008-10-23 00:32:48 +00:00
Cedric BAIL 1087de2397 Remove Evas list and replace them with Eina list.
No change for ->next and ->data access right now, as the patch is already
big enough.



SVN revision: 36962
2008-10-22 11:49:33 +00:00