Commit Graph

118 Commits

Author SHA1 Message Date
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
Carsten Haitzler b370f8315f remove/comment out printfs and remove fixme (to be removed) fake mouse up funcs
SVN revision: 36229
2008-09-25 01:34:39 +00:00
Sebastian Dransfeld 3199439ed8 fix against efreet API breakage
SVN revision: 35492
2008-08-14 20:49:37 +00:00
Carsten Haitzler 85bdd7b5b8 use the cancel and turn off fakes... leave code - just complain.
SVN revision: 34609
2008-05-19 04:15:47 +00:00
Carsten Haitzler 5551c78397 revert patch. never tested by submiter.
SVN revision: 33950
2008-03-07 10:35:58 +00:00
Carsten Haitzler d904f1eb5c alvo's patch for efm - fix escaping.
SVN revision: 33926
2008-03-05 04:00:17 +00:00
Carsten Haitzler b70f5a0ecc e:
1. configure/build changes to allow cross-compiling painlessly
2. pager module namespace changes - this was still dirty afdter the namespace
cleanup, so clean it up
3. add a powersave subsystem - doesnt have an "automatic" way to turn on and
off right now, this i think is best provided by modules (that do things like
monitor acpi status's (eg close lid of laptop), AC power status etc. etc.
this allows e to nicely defer "power" expensive actions to avoid disk
spinups etc.
4. move to use the new ecore poller system  - discussed long ago as part of
power management/saving issues. now it exists
5. add a canvas idle flush call that helsp cope with the new shm greedy
software x11 engine stuff
6. use the new powersave subsystem where appropriate
7. fix non-zeroed/initted memory access in e_fm_main
8. fix mem leak for e menus
9. remove ipc handlers for changed/removed config values
10. use animaotr not timer for menu scrolls - then menu scrolls obey the fps
config
11. fix up timer/poll happienss of cursor idle stuff
12. remove avoid damage from popups for now - causing problems
13. change battery and temp readouts to b e shorter so they fit
14. pager can emit signals on focus change for mini-windows now
15. temperature module now uses a slave process and uses stdin/out to talk to
it and get output - this makes e smoother as in my expereicne i found getting
the temp on my laptop actually took like 200ms so e "hang" for 200ms while
reading the acpi files - so now the subprocess does it and just writesa back
to e when it gets it.

ecore:
1. add ecore_pollers. see the documentation on them in doxygen comments :)
2. fix timers to only go off when they have to - bug there that made e's
select time out a LOT more than it needed to. defensive coding hid the
problem. now fixed. e should be much more power friendly now.
3. formatting/niceness in ecore_exe stuff
4. some comments on comments with SIGIO ideas vs. select
5. add call to be able to add an idle enterer at the start of the list of
them, not just the end (as has been the default)
6. fix ecore_evas to support auto evas idler calls after 0.5 secs of idle in
all canvases - and to do it right
7. if argb destination - set the shape EVENT shape (to mask out events in
transparent regions much like shape does withotu translucency)
8. in ecore_x add support for the event shape

evas:
1. fix cache to work properly and not just always fill up (as it seemed to
like to think cahce useage dropped below 0 when it didnt and thus just
over-fill)
2. software x11 engine now ONLY uses shm segments - no ximages over the
socket. this ximage hack was there to avoid the 2 round trips involved in
setting up an shm image - now i mitigated that wih an shm image cache pool.
it keeps shm images around and repurposes them for new update regions if
appropriate. this means many fewer shm creates (about 1/100th the number) and
since we recycle the memory less 0 memory page filling by the kernel - in the
end, i recorded about a 10-20% speedup over the old software x11 engine.
simple tests i have seen up to 120% speedups. idle flush now does something -
it frees all the cached shm segments. it has a hard-coded limit of 4mb worth
of shm segments (or 32 segments - whichever comes first) to keep around. once
can never complain much about speedups methinks :). also evas will defer sync
until the NEXT frame is written - this means evas can calculate the next
frame of data while x dma's/copies the images to the screen at the same time
(if you hve a dual core or multi-cpu machnike or your xserver is able to use
DMA to copy image data to the screen/video ram then this should see a decent
speedup).


SVN revision: 33448
2008-01-11 07:33:57 +00:00
Christopher Michael 0c7f4eb2c9 Add missing function proto in header file.
Fix minor formatting in C file.


SVN revision: 32218
2007-10-30 20:01:41 +00:00
Carsten Haitzler d2027e5fd3 and fully handle dynamic screen add/del with xinerama (xrandr 1.2). seems to
work for me adding/removing screens. e moves windows from the old screen to
existing one(s) and creates new zones and any shelves etc. for that zone if
needed etc. etc.


SVN revision: 32111
2007-10-18 09:06:30 +00:00
Christopher Michael bf4118f350 Since most things will not be using XDG_*, reduce the number of strcmp's by
first checking that we are NOT using XDG_*. Should provide a speedup for
evaluating.


SVN revision: 32034
2007-10-10 10:53:09 +00:00
Christopher Michael c999ac8a20 Allow evaluating env vars from FDO specs (menus, trash, etc).
Uses efreet calls to get value of these vars.


SVN revision: 32033
2007-10-10 09:41:58 +00:00
Sebastian Dransfeld f89368f089 Update for changes in efreet.
SVN revision: 30987
2007-07-26 11:34:09 +00:00
Sebastian Dransfeld 5f82f68ff5 buf isn't a dynamic allocated buffer.
SVN revision: 30960
2007-07-24 17:50:12 +00:00
Carsten Haitzler cad2457e10 patches for imlib2 and e.
SVN revision: 30157
2007-05-30 14:35:26 +00:00
Sebastian Dransfeld f1c45e6dff Only defer object deletion if we are in the main loop.
SVN revision: 30054
2007-05-22 18:54:58 +00:00
Sebastian Dransfeld dca84398d8 No need to duplicate this function.
SVN revision: 29907
2007-05-07 18:01:43 +00:00
Carsten Haitzler 941d1d56f7 fix valgrind issues on frees of evas screwing deletions of widgets - this
might fix a slew of bugs on dialog close.


SVN revision: 29846
2007-05-04 15:55:24 +00:00