Commit Graph

102 Commits

Author SHA1 Message Date
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
Sebastian Dransfeld 5779307e13 EAPI
SVN revision: 29493
2007-04-13 15:59:28 +00:00
rephorm c228e16d44 Re-enable create/edit icon from border menu.
SVN revision: 29487
2007-04-13 00:49:24 +00:00
Sebastian Dransfeld e8590e0357 - Add flag to indicate when main loop has ended.
- Don't allow (some) events during shutdown, as events wont be processed.
- Don't remove drop handlers on dnd shutdown, they should be removed by
  their creators.
- init/shutdown fwin
- Delete fwins on shutdown.
- Remove weird ipc wrapper function.
- Don't do additional shutdown functions on restart.


SVN revision: 29366
2007-04-05 06:59:02 +00:00
Sebastian Dransfeld 1384cb7ef4 Formatting.
Remove debug printf.


SVN revision: 29322
2007-04-03 18:46:54 +00:00
rephorm 73850bfc73 add function to add an icon given an icon path or theme name
use this for desktop_icon_add()


SVN revision: 29207
2007-03-28 05:52:33 +00:00
Sebastian Dransfeld 6c349751a0 efreet
SVN revision: 29144
2007-03-25 19:05:05 +00:00
Sebastian Dransfeld 47ad22217e Convert borders to efreet.
SVN revision: 29131
2007-03-25 17:23:49 +00:00
Sebastian Dransfeld c7872bf9f7 Use efreet to get information about .desktop files.
SVN revision: 29038
2007-03-24 19:18:20 +00:00
Sebastian Dransfeld b150b36b93 Formatting.
SVN revision: 29008
2007-03-24 12:55:30 +00:00
Sebastian Dransfeld 464bd07fa3 *** empty log message ***
SVN revision: 28991
2007-03-24 09:25:32 +00:00
Carsten Haitzler 087af991d6 patches applied as per emails :)
SVN revision: 28302
2007-02-10 17:23:09 +00:00
Sebastian Dransfeld 887704533b Remove stupid cast.
SVN revision: 27927
2007-01-12 13:24:53 +00:00
Carsten Haitzler 29b6afd096 1. remove ld_lib_path from all things e17 executes EXCEPT its own specific
tools.
2. custom screensaver patches


SVN revision: 27628
2006-12-29 02:56:26 +00:00
Stafford Mitchell Horne 577618bf99 If finally go around to adding the advanced conf dialog for input methods.
* Note: input methods are stored as full path now, meaning most people have to update their configs


SVN revision: 27492
2006-12-17 11:24:59 +00:00
Carsten Haitzler 79c8864f92 working on file properties dialog.
SVN revision: 27359
2006-12-05 14:28:48 +00:00
David Walter Seikel ad7fae8091 Two functionss for checking for the existance of icons in the E theme.
SVN revision: 26278
2006-10-01 18:21:31 +00:00