Commit Graph

13861 Commits

Author SHA1 Message Date
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
Tom Hacohen 58cb4c2426 E: Remove deleted files from POTFILES.in - #1549.
Many thanks to sb.

SVN revision: 76993
2012-09-21 18:42:55 +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 e7f840ddc0 completely remove exchange support since this is no longer supported/available
SVN revision: 76957
2012-09-21 10:16:28 +00:00
Mike Blumenkrantz 82bb2e8329 same cleanups for physics module
SVN revision: 76956
2012-09-21 10:04:20 +00:00
Mike Blumenkrantz 051920ea50 macroify comp init/shutdown
SVN revision: 76955
2012-09-21 10:02:44 +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 55ffb7c063 clock now resets on resume
SVN revision: 76948
2012-09-21 09:17:30 +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 546d83c6ba clock now uses timerfd_create() to receive updates when the system clock has changed to ensure proper sync
SVN revision: 76946
2012-09-21 08:55:22 +00:00
Mike Blumenkrantz 17f3ddae83 clock module now updates immediately on timezone change
SVN revision: 76942
2012-09-21 08:37:04 +00:00
Carsten Haitzler 84fe2c9fcc comp now works in 16/15bpp - in theory even in 8bpp and monochrome :)
SVN revision: 76941
2012-09-21 08:35:24 +00:00
Mike Blumenkrantz af16f102d0 formatting
SVN revision: 76939
2012-09-21 08:16:50 +00:00
Mike Blumenkrantz 426f96b8f8 kill fileman tooltips on dnd positioning too
SVN revision: 76937
2012-09-21 08:00:04 +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 a33ab2cf3e fix bug where configuring shelf contents from the shelves config dialog was disallowed when a shelf settings dialog was open
SVN revision: 76935
2012-09-21 07:42:12 +00:00
Mike Blumenkrantz 8d97adf900 bring back the fwin event handlers and add more handlers to fix tooltip hiding when dragging gadgets over files
SVN revision: 76934
2012-09-21 07:34:11 +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
Carsten Haitzler deb9e2ddd4 disable limit framerate as the code doesnt respect it atm so its
misleading.



SVN revision: 76922
2012-09-20 23:58:24 +00:00
Mike Blumenkrantz 5519096a0e ibox now has an option which allows it to expand freely on the desktop
ticket #718


SVN revision: 76914
2012-09-20 13:52:38 +00:00
Carsten Haitzler e5ff736fc7 this has improvements to the "dont composite fullscreen windows"
feature in e17's comp or "nocomp" for short.

1. when nocomp is active actually undirect ALL windows (saves memory
on pixmaps)
2. remove damage tracking for ALL windows (not just fullscreen one).
3. reduce compositor canavs to 1x1 pixels to save buffer memory eg for
gl (1 pixel only :))
4. flush AND dump the engine data when nocomp hits to remove unneeded
engine data from memory.
5. free up all softqre comp xim image buffers and shm segs when in
nocomp
6. force canvas into manual render mode (and never render) when in
nocomp mode
7. for suspend/blank etc. effects er-enable comp for these



SVN revision: 76913
2012-09-20 13:40:19 +00:00
Mike Blumenkrantz e5b4f91c5c fix style application for new gadman gadgets
SVN revision: 76910
2012-09-20 13:29:14 +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 791ec69614 fix bug where newly-added desktop gadgets wouldn't initiate edit mode correctly and would be undeletable
SVN revision: 76906
2012-09-20 12:27:00 +00:00
Mike Blumenkrantz 21c3a90d88 use EINA_LIST_FREE iterators so we don't needlessly loop lists twice, also fixes a leak
SVN revision: 76905
2012-09-20 10:58:05 +00:00
Mike Blumenkrantz f6bbc2e9b3 simplify ibox init/shutdown
SVN revision: 76904
2012-09-20 10:53:31 +00:00
Mike Blumenkrantz dabb75af17 improve usage of eina list
SVN revision: 76903
2012-09-20 10:49:19 +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 8947bac7fe if xkbd module is loaded with no config, a very basic, generic config will be applied
ticket #1534


SVN revision: 76890
2012-09-20 07:45:30 +00:00
Mike Blumenkrantz 95e28d5c4c fix stringshare usage
SVN revision: 76889
2012-09-20 07:34:07 +00:00
Mike Blumenkrantz 27e182fb59 formatting
SVN revision: 76888
2012-09-20 07:30:07 +00:00