Commit Graph

6860 Commits

Author SHA1 Message Date
Vincent Torri a7f6c22f5d E17: Added secure delete option (experimental !). Wait for discomfitor to add it to EFM conf panel
When removing a file, we store a E_FM_OP_DESTROY task,
which overwrites file with 3 passes of (~)randomized
data, and when we store a E_FM_OP_REMOVE task, to remove
the randomized file.

If it's a dir, skip E_FM_OP_DESTROY.

Patch by Maxime Villard (rustyBSD)


SVN revision: 77020
2012-09-22 18:29:03 +00:00
Vincent Torri d5e3385fd9 E17: avoid seg fault when the string passed to strlen() is NULL
Patch by Maxime Villard (rustyBSD)


SVN revision: 77016
2012-09-22 12:07:49 +00:00
Vincent Torri 7f93d7305b E17: Patch from Maxime Villard (rustyBSD)
I.
    (strncmp(p, p2, PATH_MAX) == 0) &&
    ((p[p2_len] == '/') || (p[p2_len] == '\0')))

Here we want to know if p and p2 are the same.
It's easier to do a simple 'strcmp(p, p2)', and it's
useless to check the value of p[p2_len], because if
p = p2, p[p2_len] will always be \0.

II. Check the string as for E_FM_OP_MOVE.

III. Just a simplification.
it was something like:
    if (type == E_FM_OP_COPY)
        X;
    if (type == E_FM_OP_COPY)
        Y;
    else ...

I just replaced by
    if (type == E_FM_OP_COPY)
    {
        X;
        Y;
    }
    else ...


SVN revision: 77015
2012-09-22 12:04:42 +00:00
Gustavo Sverzut Barbieri 0698d74a6a efm: have a sane click-to-rename behavior.
Delaying rename entry by 0.75s makes absolutely no sense. As well
there is no sense in always rename if you click the label and the icon
was unselected (quite common in list views).

The proper behavior is to just rename the icon if it was selected, but
ignore the initial click used to select the icon, even if on
label. This is done by remembering the time it was selected, no need
for timer.



SVN revision: 77002
2012-09-21 21:35:17 +00:00
Gustavo Sverzut Barbieri 921d88a8e0 efm preview: better expand policy for properties table fields.
the label shouldn't try to expand, just fill the space. Also align
labels to right so they are closer to the contents.



SVN revision: 76999
2012-09-21 20:53:49 +00:00
Vincent Torri 4a9dce6477 E17: gettext translation ++
patch by Maxime Villard


SVN revision: 76994
2012-09-21 19:00:28 +00:00
Carsten Haitzler 5349fd4bbb don't know about you.. but video thumbnails do work - i'm staring at
them right here. a whole window full of them. they take longer to gen
than images - but they work. evas_generic_loaders load them and gen
them if u have gstreamer support etc. sure - they are slower, but they
work. only thing we don't have is a timeout for a slow generic loader.
should add that to evas.



SVN revision: 76963
2012-09-21 12:40:36 +00:00
Mike Blumenkrantz eec8553b5f ah whoops, forgot to press play. video previews working great now
SVN revision: 76960
2012-09-21 11:11:13 +00:00
Mike Blumenkrantz c135778f5f add optional emotion support for filepreview widget. this doesn't work on my machine, I think because I have a broken vlc library so the generic player doesn't work.
CEDRIC, THIS FEATURE NEEDS YOU!


SVN revision: 76959
2012-09-21 11:10:04 +00:00
Mike Blumenkrantz ac3aadc71a check mime type for disabling file thumbnails too
SVN revision: 76958
2012-09-21 10:40:04 +00:00
Mike Blumenkrantz d436b086c9 refresh device links when new device is added
SVN revision: 76954
2012-09-21 09:55:11 +00:00
Mike Blumenkrantz eace74147d add timers to shelves which still haven't shown at module_init_end to show after 1s
SVN revision: 76953
2012-09-21 09:39:26 +00:00
Mike Blumenkrantz 5e9c699e97 efm now attempts to unmount mounted volumes on suspend
SVN revision: 76952
2012-09-21 09:33:22 +00:00
Mike Blumenkrantz 4e779975f9 rename E_LIST_HANDLERS_APPEND to E_LIST_HANDLER_APPEND, also add E_LIST_FOREACH
SVN revision: 76951
2012-09-21 09:23:07 +00:00
Mike Blumenkrantz 016445a0ab simplify EFM_SMART_CHECK
SVN revision: 76950
2012-09-21 09:20:36 +00:00
Mike Blumenkrantz 210fbb147e update FIXME at top of efm
SVN revision: 76949
2012-09-21 09:19:36 +00:00
Mike Blumenkrantz 5b385d91ca add new events for suspend/hibernate/resume
SVN revision: 76947
2012-09-21 09:16:37 +00:00
Mike Blumenkrantz da42dfa979 add shelf menu option to refresh shelf contents
SVN revision: 76936
2012-09-21 07:45:39 +00:00
Mike Blumenkrantz 6f79521d41 better autohide fix
SVN revision: 76933
2012-09-21 07:27:33 +00:00
Mike Blumenkrantz 8b12df9a4a increase shelf size when checking to see if pointer is inside to ensure autohide picks it up properly
SVN revision: 76932
2012-09-21 07:18:53 +00:00
Mike Blumenkrantz 709c740a27 add configurable max file size to generate thumbnails for, also block thumbnail generation for movie files entirely since this isn't even possible
ticket #1545


SVN revision: 76931
2012-09-21 07:08:21 +00:00
Mike Blumenkrantz 37f4478e0a add last resort fix for an extremely rare corner case in gadman which causes objects to be undeletable at this point, preventing shutdown due to an infinite loop
SVN revision: 76930
2012-09-21 06:45:11 +00:00
Mike Blumenkrantz 170c6d97c3 tweak from previous shelf draw optimizing commit: now add a handler for module init end to more accurately check gadcon populate requests so we can determine if a shelf is "empty" and then show it. fixes case where a shelf has gadgets but none are populated because the modules are all unloaded
SVN revision: 76909
2012-09-20 13:06:15 +00:00
Mike Blumenkrantz 8233970853 fix nulling of gadcon populate idler
SVN revision: 76908
2012-09-20 12:54:11 +00:00
Mike Blumenkrantz 28eabf7ef0 only block shelf drawing when shelf has none of its clients drawn, not when it has no clients
SVN revision: 76907
2012-09-20 12:35:29 +00:00
Mike Blumenkrantz 008c555ad2 fix focus bug where changing desks would not properly unset focus in all cases
ticket #1519


SVN revision: 76902
2012-09-20 09:26:04 +00:00
Mike Blumenkrantz 1adb477ad1 chuckleheads at it again with the pointer sliding on sloppy focus
ticket #1540


SVN revision: 76896
2012-09-20 09:06:28 +00:00
Mike Blumenkrantz 523597cdcb create default apps menu on init, don't free efreet menus on shutdown to prevent race condition triggered by people with superhuman menu navigation abilities
SVN revision: 76895
2012-09-20 08:57:36 +00:00
Mike Blumenkrantz 5e0b6fd200 reorder shelf startup slightly, add gadcon populate event, only show created shelf after it's been populated, populate gadcons incrementally instead of all at once
this commit reduces my startup time by 0.5-1.0 seconds on average when using two shelves


SVN revision: 76894
2012-09-20 08:44:30 +00:00
Mike Blumenkrantz b4e713d4b7 unify ilist item creation
SVN revision: 76887
2012-09-20 07:21:36 +00:00
Mike Blumenkrantz 4c7010aba0 switch order of desklock wallpaper finding when desklock is set to use "current desktop's wallpaper" so that it uses the default wallpaper AFTER checking if there's a custom one set for the current desk
SVN revision: 76885
2012-09-20 06:57:33 +00:00
Carsten Haitzler 07afc25add add send of sigchld to apps e things are efl apps to wake them up if
they are sleep()ing :)



SVN revision: 76877
2012-09-19 23:50:27 +00:00
Mike Blumenkrantz 19566b810f fix bug where desklock background would not be correctly set when using "current desk's wallpaper" setting
SVN revision: 76867
2012-09-19 13:51:19 +00:00
Mike Blumenkrantz 913e0493f7 register and unregister desklock backgrounds on init/shutdown
SVN revision: 76864
2012-09-19 13:31:35 +00:00
Mike Blumenkrantz 3742212f98 move desklock bg enum to desklock header
SVN revision: 76863
2012-09-19 13:22:45 +00:00
Mike Blumenkrantz 33b4036d91 check for file:// when adding to .order file to ensure efreet desktop creation succeeds; fixes dnd with ibar
SVN revision: 76860
2012-09-19 12:58:01 +00:00
Mike Blumenkrantz 26ec69b213 formatting
SVN revision: 76859
2012-09-19 12:54:08 +00:00
Mike Blumenkrantz 07cec2cf57 null check before previewing mount points
SVN revision: 76854
2012-09-19 12:37:48 +00:00
Mike Blumenkrantz 9e9745812b with the joint debugging efforts of devilhorns, efm tooltips now receive proper hiding events and don't hang around when switching desktops
SVN revision: 76853
2012-09-19 12:16:33 +00:00
Mike Blumenkrantz c9c90db86b remove confusing and nonexistent struct typedef
SVN revision: 76851
2012-09-19 10:34:19 +00:00
Mike Blumenkrantz cf3e5f811f reset app menu cache every time a successful lookup occurs
SVN revision: 76850
2012-09-19 10:22:33 +00:00
Mike Blumenkrantz 52c94bac89 app menus now generate themselves (top-most menu anyway) in threads to eliminate annoying stutter when scrolling through main menu
SVN revision: 76849
2012-09-19 10:15:03 +00:00
Mike Blumenkrantz 491c03fcfe prevent menus without any items from realizing at all
SVN revision: 76848
2012-09-19 10:05:41 +00:00
Mike Blumenkrantz 9574de56de fix stringshare usage in menu items
SVN revision: 76846
2012-09-19 07:20:26 +00:00
Mike Blumenkrantz 0baad3fe70 simplify extension checking
SVN revision: 76845
2012-09-19 07:16:54 +00:00
Mike Blumenkrantz 295798af41 e's xsettings now prepends ~/.icons to XCURSOR_PATH if this directory exists to (hopefully) prevent ticket #1103 from resurfacing
SVN revision: 76844
2012-09-19 06:58:50 +00:00
Mike Blumenkrantz ad7cd0677e formatting
SVN revision: 76842
2012-09-19 06:44:39 +00:00
Mike Blumenkrantz 0472fcd1ba don't fail custom ilist setting if base ilist doesn't exist, this is a stupid theme anyway
SVN revision: 76819
2012-09-18 13:55:31 +00:00
Mike Blumenkrantz 053c02b070 ignore the completed flag on dnd-finished events since this (SHOULD be) always true; fixes bug where windows could be stuck in a never-ending drag and no longer respond to user input
SVN revision: 76818
2012-09-18 13:20:11 +00:00
Christopher Michael 13615eaba8 E: Fix up ilist_custom_edje set to properly set theme for scrollframe
also.



SVN revision: 76815
2012-09-18 12:52:38 +00:00