Cedric BAIL [Thu, 19 Mar 2009 13:06:16 +0000 (13:06 +0000)]
* Ecore_Input: Make it generic.
SVN revision: 39577
Gustavo Sverzut Barbieri [Thu, 19 Mar 2009 02:08:09 +0000 (02:08 +0000)]
have all exits and restarts to use e_sys_action_do()
SVN revision: 39569
Gustavo Sverzut Barbieri [Thu, 19 Mar 2009 01:45:58 +0000 (01:45 +0000)]
fix drag&drop of multiple files and reduce variables scopes.
SVN revision: 39568
Gustavo Sverzut Barbieri [Thu, 19 Mar 2009 00:50:35 +0000 (00:50 +0000)]
move loop invariant sprintf() outside loop.
SVN revision: 39567
Gustavo Sverzut Barbieri [Thu, 19 Mar 2009 00:36:12 +0000 (00:36 +0000)]
enjoy stringshare benefits.
SVN revision: 39566
Gustavo Sverzut Barbieri [Thu, 19 Mar 2009 00:19:12 +0000 (00:19 +0000)]
proper cleanup of drop_handlers.
SVN revision: 39565
Gustavo Sverzut Barbieri [Thu, 19 Mar 2009 00:14:57 +0000 (00:14 +0000)]
cleanup memory usage, add stringshare, fix bug.
* h->active_type was referring to xdnd->type, that could be freed
already. Now it's a reference to that string.
* strcmp() are now direct pointer comparison since strings are shared.
* no more extra "types" allocated member, make it a variable array at
the end of the structure.
SVN revision: 39564
Gustavo Sverzut Barbieri [Wed, 18 Mar 2009 23:39:03 +0000 (23:39 +0000)]
constness
SVN revision: 39562
Gustavo Sverzut Barbieri [Wed, 18 Mar 2009 23:34:29 +0000 (23:34 +0000)]
move loops to eina macros.
SVN revision: 39561
Cedric BAIL [Wed, 18 Mar 2009 16:52:49 +0000 (16:52 +0000)]
* e_int_config_theme: Use more eina macro, remove some memory leak,
reduce memory allocation and memory comparison.
SVN revision: 39552
Cedric BAIL [Wed, 18 Mar 2009 16:49:20 +0000 (16:49 +0000)]
* e_theme: Cleanup and use sorted list for faster looking.
SVN revision: 39551
Gustavo Sverzut Barbieri [Wed, 18 Mar 2009 14:07:34 +0000 (14:07 +0000)]
e_fm_op: fix simpe operations report.
SVN revision: 39549
Gustavo Sverzut Barbieri [Wed, 18 Mar 2009 14:06:22 +0000 (14:06 +0000)]
e_fm_op: cleanup and fix memory leaks.
* reduce variable scope to avoid bugs.
* add missing free(d)
* move invariant snprintf() out of loop
SVN revision: 39548
Gustavo Sverzut Barbieri [Wed, 18 Mar 2009 14:00:45 +0000 (14:00 +0000)]
less noise/debug.
SVN revision: 39547
Gustavo Sverzut Barbieri [Wed, 18 Mar 2009 01:33:06 +0000 (01:33 +0000)]
add filemanager operation registry.
This huge commit will add e_fm2_op_registry, a central place that will
store all on-going operations. You will find that it will report when
operations are added, remove and when they change, for example when
they change progress.
Please notice that the recommended way to present information is to
add listener to specific entries, as opposed to use
E_EVENT_FM_OP_REGISTRY_CHANGED since it will be called immediately and
you do not have to filter which entry is being changed.
Entries will be associated with the e_fm object that originated
it. With that one can get the Ecore_X_Window and request the window to
be raised from somewhere else (ie: gadman/gadget). If object is
deleted (ie: window is closed), the pointer will be made NULL and it
will be a "windowless operation".
TO DO (I need someone to do those):
- e_fwin: windows should present on-going operations as an overlay,
Dave Andreolli already started such work, it's just a matter of
using the new infrastructure.
- create a new gadget that present all on-going operations and maybe
a history. It would be nice to show the e_fwin of if the entry is
clicked, as well as a cancel button and a progress bar. See
"places" module, make them similar.
SVN revision: 39541
Hannes Janetzek [Tue, 17 Mar 2009 21:55:33 +0000 (21:55 +0000)]
use ECORE_EVENT_MODIFIER
SVN revision: 39538
Hannes Janetzek [Tue, 17 Mar 2009 19:49:12 +0000 (19:49 +0000)]
added: _e_fm2_icon_next_find function used in _e_fm2_icon_sel_prev/next and _e_fm2_typebuf_match
- _e_fm2_typebuf_match has the new argument 'next'; one can now go to the prev/next match with up/down keys while typebuffer is active
SVN revision: 39534
Viktor Kojouharov [Tue, 17 Mar 2009 19:39:14 +0000 (19:39 +0000)]
sorted exehist
SVN revision: 39533
Cedric BAIL [Tue, 17 Mar 2009 18:12:19 +0000 (18:12 +0000)]
* gadman: Fix wrong use of swallow.
SVN revision: 39530
Cedric BAIL [Tue, 17 Mar 2009 13:58:38 +0000 (13:58 +0000)]
e/keybinding: Some cleanup using more Eina feature.
SVN revision: 39527
Hannes Janetzek [Tue, 17 Mar 2009 01:40:50 +0000 (01:40 +0000)]
some efm work:
- up/down key navigation for grid mode
- fixed next/prev functions for custom grid
- use 'key' instead of keyname
SVN revision: 39514
Cedric BAIL [Mon, 16 Mar 2009 18:01:55 +0000 (18:01 +0000)]
* exebuf: Use event_window instead of window.
SVN revision: 39508
Cedric BAIL [Mon, 16 Mar 2009 16:24:43 +0000 (16:24 +0000)]
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
Davide Andreoli [Mon, 16 Mar 2009 11:02:24 +0000 (11:02 +0000)]
Make syscon accept mouse click also on button icons.
SVN revision: 39503
Christopher Michael [Sun, 15 Mar 2009 19:29:11 +0000 (19:29 +0000)]
Fix missing declaration in header.
SVN revision: 39500
Christopher Michael [Sun, 15 Mar 2009 19:26:09 +0000 (19:26 +0000)]
Fix up some formatting
SVN revision: 39499
Christopher Michael [Sun, 15 Mar 2009 19:22:37 +0000 (19:22 +0000)]
Fix "return with no value in function returning non-void"
SVN revision: 39498
Christopher Michael [Sun, 15 Mar 2009 19:12:50 +0000 (19:12 +0000)]
Formatting & Whitespace fixes. Also, don't segfault when removing menus.
SVN revision: 39497
Hannes Janetzek [Sun, 15 Mar 2009 17:48:07 +0000 (17:48 +0000)]
authors++
SVN revision: 39496
Davide Andreoli [Sun, 15 Mar 2009 17:41:46 +0000 (17:41 +0000)]
Icon rename finished. Now we have a fully compliant icon theme :)
now I'm going to fix E-MODULE-EXTRA...
SVN revision: 39495
Hannes Janetzek [Sun, 15 Mar 2009 17:06:18 +0000 (17:06 +0000)]
delete submenus of main menu afterwards. this fixes the issue with borders
not getting unreffed
SVN revision: 39494
Massimo Maiurana [Sat, 14 Mar 2009 08:30:35 +0000 (08:30 +0000)]
updating french and italian translations
SVN revision: 39475
Carsten Haitzler [Fri, 13 Mar 2009 07:54:04 +0000 (07:54 +0000)]
fix splash on xinerama!
SVN revision: 39457
Hannes Janetzek [Thu, 12 Mar 2009 21:34:31 +0000 (21:34 +0000)]
delete the keybinding not something out of anywhere
SVN revision: 39455
Christopher Michael [Thu, 12 Mar 2009 20:55:10 +0000 (20:55 +0000)]
no reason to set the text of o_holder as it contains no text part.
SVN revision: 39454
Christopher Michael [Thu, 12 Mar 2009 20:54:46 +0000 (20:54 +0000)]
no reason to set text of o_holder as it contains no text part.
SVN revision: 39453
Cedric BAIL [Wed, 11 Mar 2009 15:13:42 +0000 (15:13 +0000)]
* e_widget_ilist_add now expect a stringshare.
SVN revision: 39447
Cedric BAIL [Wed, 11 Mar 2009 15:12:33 +0000 (15:12 +0000)]
* e_ilist.c: Reduce list walk.
SVN revision: 39446
Cedric BAIL [Wed, 11 Mar 2009 13:16:01 +0000 (13:16 +0000)]
* 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
Viktor Kojouharov [Tue, 10 Mar 2009 21:34:41 +0000 (21:34 +0000)]
this option is more suitable for all actions, not just the desk flip one
SVN revision: 39442
Cedric BAIL [Tue, 10 Mar 2009 16:19:02 +0000 (16:19 +0000)]
* e_configure.c: Use EINA_LIST_FOREACH.
SVN revision: 39433
Cedric BAIL [Tue, 10 Mar 2009 16:16:42 +0000 (16:16 +0000)]
* e_configure.c: White space removal and more indent.
SVN revision: 39432
Cedric BAIL [Tue, 10 Mar 2009 16:14:24 +0000 (16:14 +0000)]
* e_configure.c: Fix indentation.
SVN revision: 39431
Massimo Maiurana [Mon, 9 Mar 2009 18:28:28 +0000 (18:28 +0000)]
updating french and italian translations
SVN revision: 39426
Davide Andreoli [Sun, 8 Mar 2009 23:09:48 +0000 (23:09 +0000)]
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
Davide Andreoli [Sun, 8 Mar 2009 14:13:40 +0000 (14:13 +0000)]
debug --
SVN revision: 39417
Davide Andreoli [Sun, 8 Mar 2009 14:11:24 +0000 (14:11 +0000)]
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
Viktor Kojouharov [Sun, 8 Mar 2009 10:35:05 +0000 (10:35 +0000)]
add fullscreen state remember
SVN revision: 39414
Massimo Maiurana [Sat, 7 Mar 2009 13:11:01 +0000 (13:11 +0000)]
updating greek translations
SVN revision: 39408
Davide Andreoli [Fri, 6 Mar 2009 22:45:36 +0000 (22:45 +0000)]
Fix syscon icons.
Note that you need a fresh config to correctly see the icons in syscon.
SVN revision: 39401
Davide Andreoli [Fri, 6 Mar 2009 22:18:15 +0000 (22:18 +0000)]
More icons renamed
SVN revision: 39400
Davide Andreoli [Fri, 6 Mar 2009 19:30:29 +0000 (19:30 +0000)]
Fix icon in dialogs
SVN revision: 39398
Davide Andreoli [Fri, 6 Mar 2009 19:22:10 +0000 (19:22 +0000)]
wops...remove debug code
SVN revision: 39397
Davide Andreoli [Fri, 6 Mar 2009 19:17:12 +0000 (19:17 +0000)]
more icons renamed
SVN revision: 39396
Massimo Maiurana [Fri, 6 Mar 2009 16:15:58 +0000 (16:15 +0000)]
updating turkish translation
SVN revision: 39394
Massimo Maiurana [Fri, 6 Mar 2009 11:42:41 +0000 (11:42 +0000)]
updating french and italian translations
SVN revision: 39391
Hannes Janetzek [Fri, 6 Mar 2009 08:32:57 +0000 (08:32 +0000)]
remove redundant case from last commit
SVN revision: 39390
Hannes Janetzek [Fri, 6 Mar 2009 08:25:33 +0000 (08:25 +0000)]
shelf: fix autohide bug in last commit
SVN revision: 39389
Hannes Janetzek [Fri, 6 Mar 2009 07:48:27 +0000 (07:48 +0000)]
hide shelf also on mouse out triggered by deskflip
SVN revision: 39388
Hannes Janetzek [Fri, 6 Mar 2009 02:07:51 +0000 (02:07 +0000)]
shrink the shelf dialog a little
SVN revision: 39387
Hannes Janetzek [Fri, 6 Mar 2009 01:56:09 +0000 (01:56 +0000)]
shelf: fixed size of style selector, better fitting var name
SVN revision: 39386
Hannes Janetzek [Fri, 6 Mar 2009 00:33:49 +0000 (00:33 +0000)]
shelf: small update to last commit
SVN revision: 39385
Hannes Janetzek [Thu, 5 Mar 2009 23:49:01 +0000 (23:49 +0000)]
refactored shelf autohide animation code
SVN revision: 39384
Massimo Maiurana [Thu, 5 Mar 2009 16:50:41 +0000 (16:50 +0000)]
updating greek and italian translations
SVN revision: 39376
Hannes Janetzek [Thu, 5 Mar 2009 14:04:57 +0000 (14:04 +0000)]
use 'e_fwin' as window class for fileman windows
SVN revision: 39375
Davide Andreoli [Thu, 5 Mar 2009 02:39:50 +0000 (02:39 +0000)]
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
Davide Andreoli [Wed, 4 Mar 2009 23:53:28 +0000 (23:53 +0000)]
ICON: enlightenment/themes -> preferences-desktop-theme
SVN revision: 39373
Davide Andreoli [Wed, 4 Mar 2009 22:29:23 +0000 (22:29 +0000)]
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
Davide Andreoli [Wed, 4 Mar 2009 20:46:05 +0000 (20:46 +0000)]
* 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
Hannes Janetzek [Wed, 4 Mar 2009 13:04:35 +0000 (13:04 +0000)]
use argb window for drag object when composite is enabled
SVN revision: 39365
Viktor Kojouharov [Wed, 4 Mar 2009 12:12:13 +0000 (12:12 +0000)]
its useful to know if setting a theme has failed
SVN revision: 39361
Gustavo Sverzut Barbieri [Wed, 4 Mar 2009 03:25:40 +0000 (03:25 +0000)]
symlink icons back!
SVN revision: 39357
Gustavo Sverzut Barbieri [Wed, 4 Mar 2009 03:02:01 +0000 (03:02 +0000)]
fileman bookmarks now respect icon theme overrides setting.
SVN revision: 39356
Gustavo Sverzut Barbieri [Wed, 4 Mar 2009 02:56:27 +0000 (02:56 +0000)]
More FDO icons work, now able to choose which one has precedence.
SVN revision: 39355
Gustavo Sverzut Barbieri [Wed, 4 Mar 2009 01:51:16 +0000 (01:51 +0000)]
cleanup icon themes configuration, make startup look faster.
SVN revision: 39354
Gustavo Sverzut Barbieri [Wed, 4 Mar 2009 00:39:49 +0000 (00:39 +0000)]
fdo menu icons now scales.
SVN revision: 39353
Gustavo Sverzut Barbieri [Tue, 3 Mar 2009 22:53:39 +0000 (22:53 +0000)]
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
Davide Andreoli [Tue, 3 Mar 2009 20:17:41 +0000 (20:17 +0000)]
New function e_util_menu_item_fdo_icon_set() and use it
SVN revision: 39349
Gustavo Sverzut Barbieri [Tue, 3 Mar 2009 20:17:17 +0000 (20:17 +0000)]
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
Massimo Maiurana [Tue, 3 Mar 2009 11:27:15 +0000 (11:27 +0000)]
updating french and italian translations
SVN revision: 39344
Gustavo Sverzut Barbieri [Tue, 3 Mar 2009 07:20:21 +0000 (07:20 +0000)]
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
Gustavo Sverzut Barbieri [Tue, 3 Mar 2009 04:40:58 +0000 (04:40 +0000)]
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
Davide Andreoli [Tue, 3 Mar 2009 01:04:09 +0000 (01:04 +0000)]
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
Davide Andreoli [Mon, 2 Mar 2009 22:46:40 +0000 (22:46 +0000)]
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
Viktor Kojouharov [Mon, 2 Mar 2009 15:18:42 +0000 (15:18 +0000)]
never a good idea to place the popup origin at negative coordinates
SVN revision: 39332
Gustavo Sverzut Barbieri [Mon, 2 Mar 2009 11:55:57 +0000 (11:55 +0000)]
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
Massimo Maiurana [Mon, 2 Mar 2009 11:50:38 +0000 (11:50 +0000)]
updating fr.po
SVN revision: 39328
Carsten Haitzler [Mon, 2 Mar 2009 05:47:14 +0000 (05:47 +0000)]
more glow fix.
SVN revision: 39324
Carsten Haitzler [Mon, 2 Mar 2009 05:46:37 +0000 (05:46 +0000)]
make press glow easier to see
SVN revision: 39323
Gustavo Sverzut Barbieri [Mon, 2 Mar 2009 03:12:43 +0000 (03:12 +0000)]
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
Miculcy Brian [Mon, 2 Mar 2009 02:41:53 +0000 (02:41 +0000)]
Changed about dialog size and AUTHORS cleanup.
SVN revision: 39321
Viktor Kojouharov [Sun, 1 Mar 2009 21:32:09 +0000 (21:32 +0000)]
reduce the count on del
SVN revision: 39317
Gustavo Sverzut Barbieri [Sun, 1 Mar 2009 21:06:51 +0000 (21:06 +0000)]
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
Gustavo Sverzut Barbieri [Sun, 1 Mar 2009 19:48:30 +0000 (19:48 +0000)]
fix segv if missing icon_theme.
SVN revision: 39314
Gustavo Sverzut Barbieri [Sun, 1 Mar 2009 18:15:44 +0000 (18:15 +0000)]
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
Massimo Maiurana [Sun, 1 Mar 2009 11:36:50 +0000 (11:36 +0000)]
updating french and italian translations
SVN revision: 39305
Massimo Maiurana [Sun, 1 Mar 2009 11:35:54 +0000 (11:35 +0000)]
new file to translate
SVN revision: 39304
Eric Schuele [Sun, 1 Mar 2009 05:15:54 +0000 (05:15 +0000)]
Action to center the focused border.
SVN revision: 39301
Viktor Kojouharov [Fri, 27 Feb 2009 18:36:08 +0000 (18:36 +0000)]
option to restrict mouse desktop flipping if there are fullscreen windows
SVN revision: 39271
Cedric BAIL [Fri, 27 Feb 2009 11:10:28 +0000 (11:10 +0000)]
* e_fwin.c: Fix wrong list walk.
SVN revision: 39264