Commit Graph

5882 Commits

Author SHA1 Message Date
Cedric BAIL 46e8efcd8c Let me introduce you to Ecore_Input. The idea is to share as much as possible event
between all ecore graphic engine to ease porting of application and reduce the amount of
specific code per engine. This patch does just that.
	All your application should continu to work has previously, if it's not the case
please report any new behaviour regarding mouse and keyboard.


SVN revision: 39505
2009-03-16 16:24:43 +00:00
Christopher Michael 9ca1aa9525 Fix missing declaration in header.
SVN revision: 39500
2009-03-15 19:29:11 +00:00
Christopher Michael 590137f924 Fix up some formatting
SVN revision: 39499
2009-03-15 19:26:09 +00:00
Christopher Michael 30936df4a3 Fix "return with no value in function returning non-void"
SVN revision: 39498
2009-03-15 19:22:37 +00:00
Christopher Michael be28e1636b Formatting & Whitespace fixes. Also, don't segfault when removing menus.
SVN revision: 39497
2009-03-15 19:12:50 +00:00
Davide Andreoli eb2d1db1dc Icon rename finished. Now we have a fully compliant icon theme :)
now I'm going to fix E-MODULE-EXTRA...


SVN revision: 39495
2009-03-15 17:41:46 +00:00
Hannes Janetzek 2422e04b20 delete submenus of main menu afterwards. this fixes the issue with borders
not getting unreffed


SVN revision: 39494
2009-03-15 17:06:18 +00:00
Carsten Haitzler e5b8458c21 fix splash on xinerama!
SVN revision: 39457
2009-03-13 07:54:04 +00:00
Hannes Janetzek d2c7479e37 delete the keybinding not something out of anywhere
SVN revision: 39455
2009-03-12 21:34:31 +00:00
Christopher Michael f7ad8fce82 no reason to set the text of o_holder as it contains no text part.
SVN revision: 39454
2009-03-12 20:55:10 +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
Cedric BAIL c979b3f9d5 * e_widget_ilist_add now expect a stringshare.
SVN revision: 39447
2009-03-11 15:13:42 +00:00
Cedric BAIL 3c9f7d712c * e_ilist.c: Reduce list walk.
SVN revision: 39446
2009-03-11 15:12:33 +00:00
Cedric BAIL 72d23b4b0c * e_widget_ilist.c: Ok, this is a quick fix (disable queue for now). A better fix would
be to propagate the delete operation to e_ilist.c and mark the selected entry to be
	deleted and update code listing selected item to not return to be deleted item.

	NOTE: Is it really usefull ? Doesn't evas/edje delay the destruction of Evas_Object anyway ?



SVN revision: 39445
2009-03-11 13:16:01 +00:00
Viktor Kojouharov 4c31250530 this option is more suitable for all actions, not just the desk flip one
SVN revision: 39442
2009-03-10 21:34:41 +00:00
Cedric BAIL 8eef516595 * e_configure.c: Use EINA_LIST_FOREACH.
SVN revision: 39433
2009-03-10 16:19:02 +00:00
Cedric BAIL 65e6e035c0 * e_configure.c: White space removal and more indent.
SVN revision: 39432
2009-03-10 16:16:42 +00:00
Cedric BAIL 1117cb228d * e_configure.c: Fix indentation.
SVN revision: 39431
2009-03-10 16:14:24 +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 408a00d7c2 debug --
SVN revision: 39417
2009-03-08 14:13:40 +00:00
Davide Andreoli ea90154e61 Show progress from the slave process in every efm windows.
All the graphics need to be done! For now just a red rectangle, 5 labels and
a really simple progress bar. ... (toma: ping)

You can change the position of the info box from e_fwin.c line  329. A configuration will come soon....
The configuration will also let you choose on witch window you want to see the info box
(every window, just on the source of copy operation, just on the dest or both)



SVN revision: 39416
2009-03-08 14:11:24 +00:00
Viktor Kojouharov 4d1fea4705 add fullscreen state remember
SVN revision: 39414
2009-03-08 10:35:05 +00:00
Davide Andreoli 19761ce78b Fix syscon icons.
Note that you need a fresh config to correctly see the icons in syscon.

SVN revision: 39401
2009-03-06 22:45:36 +00:00
Davide Andreoli 49fecd25b7 More icons renamed
SVN revision: 39400
2009-03-06 22:18:15 +00:00
Davide Andreoli dea8871acd Fix icon in dialogs
SVN revision: 39398
2009-03-06 19:30:29 +00:00
Davide Andreoli 1101c58d9f more icons renamed
SVN revision: 39396
2009-03-06 19:17:12 +00:00
Hannes Janetzek ee1a0e9220 remove redundant case from last commit
SVN revision: 39390
2009-03-06 08:32:57 +00:00
Hannes Janetzek 72b7a4bff1 shelf: fix autohide bug in last commit
SVN revision: 39389
2009-03-06 08:25:33 +00:00
Hannes Janetzek 2270cc87bd hide shelf also on mouse out triggered by deskflip
SVN revision: 39388
2009-03-06 07:48:27 +00:00
Hannes Janetzek 3966901163 shrink the shelf dialog a little
SVN revision: 39387
2009-03-06 02:07:51 +00:00
Hannes Janetzek 71458465fb shelf: fixed size of style selector, better fitting var name
SVN revision: 39386
2009-03-06 01:56:09 +00:00
Hannes Janetzek 640e4c6d55 shelf: small update to last commit
SVN revision: 39385
2009-03-06 00:33:49 +00:00
Hannes Janetzek e94484b0d1 refactored shelf autohide animation code
SVN revision: 39384
2009-03-05 23:49:01 +00:00
Hannes Janetzek 079041f2d6 use 'e_fwin' as window class for fileman windows
SVN revision: 39375
2009-03-05 14:04:57 +00:00
Davide Andreoli fc66fc7c73 More icon renamed, for more info look at default.edc (around line 22650). I'm keeping there a mapping between e old names and fdo ones.
SVN revision: 39374
2009-03-05 02:39:50 +00:00
Davide Andreoli 2904ca6d46 ICON: enlightenment/themes -> preferences-desktop-theme
SVN revision: 39373
2009-03-04 23:53:28 +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
Hannes Janetzek 1f986f4b28 use argb window for drag object when composite is enabled
SVN revision: 39365
2009-03-04 13:04:35 +00:00
Viktor Kojouharov 2c3c2e955c its useful to know if setting a theme has failed
SVN revision: 39361
2009-03-04 12:12:13 +00:00
Gustavo Sverzut Barbieri 8e66ce8605 symlink icons back!
SVN revision: 39357
2009-03-04 03:25:40 +00:00
Gustavo Sverzut Barbieri 003a843d2a fileman bookmarks now respect icon theme overrides setting.
SVN revision: 39356
2009-03-04 03:02:01 +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 b51d4787b9 cleanup icon themes configuration, make startup look faster.
SVN revision: 39354
2009-03-04 01:51:16 +00:00
Gustavo Sverzut Barbieri beaf395663 fdo menu icons now scales.
SVN revision: 39353
2009-03-04 00:39:49 +00:00
Gustavo Sverzut Barbieri ad65729d12 fileman menu: fix separator adding.
while testing with no ~/.gtk-bookmarks and no volume, I was getting a
trailing separator. The new code should just add separators in correct
situations.



SVN revision: 39351
2009-03-03 22:53:39 +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
Gustavo Sverzut Barbieri 43a27176be Fix edje thumbnails.
Please add the following to your /etc/mime.types:

   application/x-edje edj

And the following to your ~/.e/e/config/$PROFILE/e.cfg (see hint below):

   group "mime_icons" list {
     group "E_Config_Mime_Icon" struct {
       value "mime" string: "application/x-edje";
       value "icon" string: "THUMB";
     }
   }

or just remove your settings and choose a newly installed profile.

How to edit your ~/.e/e/config/$PROFILE/e.cfg:

   PROFILE=`eet -x ~/.e/e/config/profile.cfg config /dev/stdout`
   eet -d ~/.e/e/config/$PROFILE/e.cfg config ~/.e/e/config/$PROFILE/e.src
   $EDITOR ~/.e/e/config/$PROFILE/e.src
   eet -e ~/.e/e/config/$PROFILE/e.cfg config ~/.e/e/config/$PROFILE/e.src 1




SVN revision: 39348
2009-03-03 20:17:17 +00:00
Gustavo Sverzut Barbieri a9a0752791 efreet mime types icon cache.
This cache is very simple and should work fine when system does not
change, it keeps a direct association of mime-types and found icons,
remembering theme and icon size. Search is very fast since it uses
stringshared strings and thus direct pointer comparison in hash
search. We could optimize it even more if we assumed stringshared
strings to come in, so no need to eina_stringshare_add() (which is a
hash per se), using just eina_stringshare_ref().

Cache population is limited to compile-time value and just values
older than a given threshold are deleted. I do not keep a LRU explicit
list, so you might have some old but unused items always alive. I
don't find this too bad, sure it will consume more memory, but will
not hurt performance. We can change this to purge all expired items by
not checking for number of items to remove, removing all that match.

Next I plan to find out a good way to cache and speed up file->mime
discovery. I plan to do auto-generated state-machine to match
extensions, so you don't need to check the same extension character
more than once. Example:

   Input: bla.edc
   Extensions: edc edj eps png bmp

It would first try to match against 'e', 'p' and 'b'. It will match
'e' and then check for 'd' (edc or edj) or 'p' (eps). It will match
'd' and then check for 'c' or 'j'. This will reduce number of
comparisons considerably.

As I'm running out of time (4am, not much time left on this month), I
could use some help here.



SVN revision: 39343
2009-03-03 07:20:21 +00:00
Gustavo Sverzut Barbieri 9bc2ce0678 Invert view_flags logic, make it easier to use.
Now flags do not negate, rather specify if things should be used. This
will help us be compatible with original behavior and actually just
e_fwin is using that.



SVN revision: 39340
2009-03-03 04:40:58 +00:00
Davide Andreoli 3200fe1b84 Better use of label and icon for volumes, now everyone (inside e)
can use the same label and the same icon.

Atm the icons in the menu are taken from efreet and thus from
your icon theme...maybe icons found in the E17 theme should
override the system one?



SVN revision: 39337
2009-03-03 01:04:09 +00:00
Davide Andreoli b19ee965ee First step to merge Places module with efm.
* Make the fileman menu as it is in Places module (still need to fix icons)

Just a doubt:
why efm was called using ecore_idle_enterer_add ? it is necessary ? I need to reenable it?

SVN revision: 39335
2009-03-02 22:46:40 +00:00
Viktor Kojouharov 64d51112ed never a good idea to place the popup origin at negative coordinates
SVN revision: 39332
2009-03-02 15:18:42 +00:00
Gustavo Sverzut Barbieri ee2ab9506b fix problem with double directories in virtual devices.
oops, were using realpath and not path!

PS: still segfaults on some cases, related to mouse up callback being
called on already deleted icons, that should not happen as objects are
unrealized before being deleted. Need to investigate.



SVN revision: 39329
2009-03-02 11:55:57 +00:00
Gustavo Sverzut Barbieri 155495866f add e_fm2_view_flags_{get,set}
with these you can opt to ignore things like custom directory options,
very useful for widgets to choose files (e_widget_fsel) since you
don't want them to show your items as 128x128 :-)



SVN revision: 39322
2009-03-02 03:12:43 +00:00
Viktor Kojouharov 2a1c4aaa9c reduce the count on del
SVN revision: 39317
2009-03-01 21:32:09 +00:00
Gustavo Sverzut Barbieri e88de35176 efm: use freedesktop icons from icon theme.
This almost remove need of e_fm_mime.c since it will use efreet, but
may bring some slowdowns due efreet. In this case let's try to
optimize efreet and improve everything.



SVN revision: 39315
2009-03-01 21:06:51 +00:00
Gustavo Sverzut Barbieri efc8391314 fix segv if missing icon_theme.
SVN revision: 39314
2009-03-01 19:48:30 +00:00
Gustavo Sverzut Barbieri 82a8ab89df Major refactor of e_fm2_icon_get() and minor optimizations.
* split e_fm2_icon_get() to make it reuse more code paths.

 * lots of new internal functions with _e_fm2_icon_ prefix are born,
   try to reuse them as much as possible so we have less places to
   change if we move to something else (hint: using FreeDesktop.Org
   icons)

 * optimize e_fm2_icons_update() and few others to do not copy
   sd->realpath all the time, it is loop invariant there.

 * comparison of mime icon "DESKTOP" and "THUMB" are now fast pointer
   comparison since they're all eina_stringshare'd.

 * themes can now differentiate between file types, like 'fifo',
   'socket' or even 'executable'.

 * common extension comparisons are bit faster, not using glob pattern
   matching but rather reusing code to find out last '.' and then
   comparing them in optimal way. I added E_FM2_SIMPLE_STRCASE_FILES
   to make it even faster if one wants, left disabled by now.




SVN revision: 39313
2009-03-01 18:15:44 +00:00
Massimo Maiurana 311291d19c updating french and italian translations
SVN revision: 39305
2009-03-01 11:36:50 +00:00
Eric Schuele fcc03a2173 Action to center the focused border.
SVN revision: 39301
2009-03-01 05:15:54 +00:00
Viktor Kojouharov 82404b049e option to restrict mouse desktop flipping if there are fullscreen windows
SVN revision: 39271
2009-02-27 18:36:08 +00:00
Cedric BAIL 6053a421dc * e_fwin.c: Fix wrong list walk.
SVN revision: 39264
2009-02-27 11:10:28 +00:00
Gustavo Sverzut Barbieri b0c84e2215 Fix problems reported by clang.
By: Luis Felipe Strano Moraes



SVN revision: 39263
2009-02-26 22:47:20 +00:00
Cedric BAIL 549f978ed7 * e_fwin.c: Fix mistake.
SVN revision: 39248
2009-02-26 17:50:43 +00:00
Cedric BAIL ccc884e6a8 * e_fwin: Automatically add %U for an easier to guess command line if needed.
SVN revision: 39247
2009-02-26 16:26:51 +00:00
Gustavo Sverzut Barbieri 19de236fd0 cleanup list usage and move to eina macros.
SVN revision: 39229
2009-02-26 03:57:10 +00:00
Carsten Haitzler 089917d8c1 use new efreet api fo extra icon dirs.
SVN revision: 39227
2009-02-26 03:46:59 +00:00
Viktor Kojouharov 9bbc8158bd edge and corner binding infrastructure. If you have an old config, enable the conf_edgebindings module and hit 'Reset to defaults' to get edge desktop switching.
The edge/corner picker needs some love from someone who is not artistically challenged.  And a proper module icon as well.


SVN revision: 39220
2009-02-25 22:21:46 +00:00
Gustavo Sverzut Barbieri 5b0166b41e Enable per-dir theme of rubberband as well.
SVN revision: 39219
2009-02-25 21:06:21 +00:00
Cedric BAIL 9316d6af91 * e: Remove some more evas data type user.
SVN revision: 39212
2009-02-25 17:05:46 +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
Gustavo Sverzut Barbieri 59cde6a762 fm: handle symbolic links.
Symbolic links are handled similar to "paste". If you "Copy" you'll
get the "Link" menu item that will create a symbolic link instead of
real copying the file.

Drag and Drop works similarly, use "Alt" in order to get a popup and
select "Link" there.

Toma: we do miss icons for it!

Mekius & Ptomaine: please review as I'm not that familiar with e_fm_op.c



SVN revision: 39170
2009-02-24 05:22:14 +00:00
Gustavo Sverzut Barbieri 51c9730c91 mixer: better button label, use "Controls" instead of "Mixer"
SVN revision: 39112
2009-02-20 17:33:36 +00:00
Carsten Haitzler 46c12b6d22 and revert original utf8 fixes - just too slow.
SVN revision: 39096
2009-02-19 13:53:42 +00:00
Carsten Haitzler f9ad3fdb34 quickly fix some ilist sizes.
SVN revision: 39095
2009-02-19 13:44:17 +00:00
Jonathan Atton 2ce3410d57 Fixed a bug, the callback was add 2 times in the list -> segfault when the list was destroy
SVN revision: 39061
2009-02-17 17:40:24 +00:00
Jonathan Atton 06e0157912 revert relative and use_relative
SVN revision: 39050
2009-02-16 22:32:34 +00:00
Gustavo Sverzut Barbieri ca8587a631 Oops, fix some bugs introduced with past commits.
SVN revision: 39032
2009-02-16 00:28:51 +00:00
Gustavo Sverzut Barbieri 815441ef2e e_fm: remember directory settings.
e_fm2_custom_file now remembers directory settings, it will save 
position on screen (horizontal and vertical pan percentage), view mode, 
icon size, if to remember ordering and if it should show hidden files.

There is a menu option to remove these settings and inherit settings 
from parent.



SVN revision: 39031
2009-02-15 23:09:09 +00:00
Gustavo Sverzut Barbieri b6e158989f Remove some warnings I introduced with past commits.
SVN revision: 39029
2009-02-15 17:06:49 +00:00
Gustavo Sverzut Barbieri df17ed3ca2 Minor refactor of interfaces, split code and menu callbacks.
Let's make real code interfaces to take a single Evas_Object and menu 
items callbacks should call them.



SVN revision: 39028
2009-02-15 15:25:27 +00:00
Gustavo Sverzut Barbieri 73ed3f89b3 keyboard shortcuts: ^X, ^C and ^V now works.
http://trac.enlightenment.org/e/wiki/Release



SVN revision: 39027
2009-02-15 14:50:30 +00:00
Gustavo Sverzut Barbieri 68461812b1 DONE: fm2 "delete" key needs to... delete.
http://trac.enlightenment.org/e/wiki/Release



SVN revision: 39026
2009-02-15 14:31:09 +00:00
Gustavo Sverzut Barbieri 03d457c65f Restore "view mode" menu in fileman.
This was added in a commit by cedric (r38185) saying it was doing efreet 
and eina_hash changes, so I expect it to be erroneous change.

If view mode has any problems, let me know.



SVN revision: 39025
2009-02-15 14:02:28 +00:00
Carsten Haitzler 116d7f7a4f look in PREFIX/etc for menu files too
SVN revision: 38991
2009-02-10 11:56:56 +00:00
toma c6224edd2f Fix aspect ratio.
SVN revision: 38969
2009-02-08 03:55:04 +00:00
toma 8df63ada45 Battery module gets a better battery.
SVN revision: 38968
2009-02-08 03:20:20 +00:00
toma 8402adb4b9 New for cursor and its module
SVN revision: 38959
2009-02-06 13:25:44 +00:00
toma b00b69c435 Module icons... most of them. Some still need some love, but Ill get around to that. Shout out to Sachiel!
SVN revision: 38953
2009-02-05 14:34:01 +00:00
Viktor Kojouharov 6866042369 exec priority configuration
SVN revision: 38952
2009-02-05 13:32:24 +00:00
Massimo Maiurana 0b27fdd5eb updating french translations
SVN revision: 38951
2009-02-05 12:59:11 +00:00
Gustavo Sverzut Barbieri 465f232867 Remove compiler warnings.
SVN revision: 38947
2009-02-05 02:35:46 +00:00
Gustavo Sverzut Barbieri 82edc2c6da Remove annoyance.
When e starts in systems under heavy load, it might not get reply from
HAL before we need it, so detect batteries that still do not have
filled properties and avoid calling _battery_update() if nothing is
known.



SVN revision: 38946
2009-02-05 02:34:20 +00:00
Massimo Maiurana d6e765033d french translations for desktop files
SVN revision: 38943
2009-02-04 17:57:22 +00:00
toma c86bc4c87b Stop dialogs module from setting the wrong icon. Sneeky sneeky\!
SVN revision: 38939
2009-02-04 11:40:30 +00:00
Carsten Haitzler 9d5f16e451 and build without exchange too! (exchange is still in proto!)
SVN revision: 38931
2009-02-04 00:05:04 +00:00
toma 4e84360012 Fix window border icons for wallpaper
SVN revision: 38930
2009-02-03 23:08:16 +00:00
Davide Andreoli 79504873c0 * Make the wallpaper online dialog use exchange :)
* Update theme online dialog to recent exchange change

SVN revision: 38928
2009-02-03 21:12:50 +00:00
Massimo Maiurana 5c91fbaeef french translations for desktop files
SVN revision: 38923
2009-02-03 17:26:54 +00:00