Commit Graph

11623 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
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
Mike Blumenkrantz b4e713d4b7 unify ilist item creation
SVN revision: 76887
2012-09-20 07:21:36 +00:00
Mike Blumenkrantz 15df380846 damn xkb module breaking autohide on shelf!
ticket #1539


SVN revision: 76886
2012-09-20 07:07:40 +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
Tom Hacohen 9f779e01a4 E keyboard: Sort the layouts by name, not code.
Thanks a lot to CharlesWaldman for reminding me about this.

SVN revision: 76873
2012-09-19 15:20:47 +00:00
Hannes Janetzek dfa7856b06 e17/modules/evry: this should be more correct, but i need to look into this again...
SVN revision: 76872
2012-09-19 15:17:02 +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 5aaa5c44eb disable font lists in fonts config unless enable custom classes is enabled
SVN revision: 76862
2012-09-19 13:02:26 +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 c4585baf60 I guess we only have to free these lists for evry config? if only someone who knew what the hell this was could fix its leaks
ticket #1530


SVN revision: 76858
2012-09-19 12:41:36 +00:00
Mike Blumenkrantz 79545f4e3c delete gadman drop handlers
SVN revision: 76855
2012-09-19 12:40:37 +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
Mike Blumenkrantz baaf4b7c75 tired of this stupid efm tooltip bug, fix it once and for all with event handlers
SVN revision: 76816
2012-09-18 13:04:13 +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
Mike Blumenkrantz cbb742a7cc patch from Sergei Kabanov to fix possible crash in efm with udisks/hal backends
ticket #1529


SVN revision: 76814
2012-09-18 12:16:16 +00:00
Mike Blumenkrantz c162da2523 fix annoying warning
SVN revision: 76813
2012-09-18 11:55:59 +00:00
Mike Blumenkrantz b041db3c1a make this operate the same but be slightly less confusing
SVN revision: 76812
2012-09-18 11:54:38 +00:00
Mike Blumenkrantz 82e08ce5e4 the author(s) of the bluez module should probably check this to ensure that this line wasn't somehow important
SVN revision: 76811
2012-09-18 11:52:11 +00:00
Mike Blumenkrantz bd8545dafd test for path length accurately here
SVN revision: 76810
2012-09-18 11:51:27 +00:00
Mike Blumenkrantz 03a578abae initialize variable
SVN revision: 76808
2012-09-18 11:44:24 +00:00
Mike Blumenkrantz ea61755d98 fix a bunch of questionably valid null derefs from clang
SVN revision: 76807
2012-09-18 11:42:44 +00:00
Doyoun Kang f9b872ab6a From: Doyoun Kang <doyoun.kang@samsung.com>
Subject: [E-devel] [Patch][e] add code to handle the floating mode

I added code to handles the floating mode in e. 
I added the structure for floating mode in E_Border structure. If an
application sets the floating mode using elm_win_floating_mode_set(),
e gets this event - ECORE_X_EVENT_WINDOW_PROPERTY (atom:
ECORE_X_ATOM_E_ILLUME_WINDOW_STATE) - and sets floating mode
information to added structure in E_Border.



SVN revision: 76806
2012-09-18 11:41:55 +00:00
Mike Blumenkrantz 87ad874972 initialize variable
SVN revision: 76802
2012-09-18 11:31:11 +00:00
Mike Blumenkrantz cd430d113f s/strcmp/e_util_strcmp/g
SVN revision: 76801
2012-09-18 11:30:26 +00:00
Mike Blumenkrantz 028ca489f7 missing consts
SVN revision: 76800
2012-09-18 11:28:15 +00:00
Mike Blumenkrantz ce2186f31c ilist widget custom edje setting thingy also sets scrollframe theme
SVN revision: 76799
2012-09-18 11:26:36 +00:00
Mike Blumenkrantz 31052004d0 add method for setting a custom theme for ilist
SVN revision: 76797
2012-09-18 10:28:02 +00:00
Carsten Haitzler c30571b623 lets add prototype too in .h :)
SVN revision: 76796
2012-09-18 10:19:29 +00:00
Carsten Haitzler ec80ac1802 add executor indirection setter.
SVN revision: 76795
2012-09-18 10:10:19 +00:00
Mike Blumenkrantz 806502f4e5 break out ilist item theme setting into separate function for consistency; this fixes a bug where even/odd header themes were not applied
SVN revision: 76794
2012-09-18 10:07:33 +00:00
Carsten Haitzler e574adfed7 add single-instance launching infra support for e17 as well as launch
tracking for ibar.



SVN revision: 76793
2012-09-18 10:00:37 +00:00
Mike Blumenkrantz 34c247ee40 escape textblock styles for file labels if label is a textblock
ticket #1527


SVN revision: 76792
2012-09-18 09:28:26 +00:00
Mike Blumenkrantz d18751ac7f set fwin border info before changing path to avoid race condition where icon info may be freed
SVN revision: 76791
2012-09-18 09:20:49 +00:00
Mike Blumenkrantz 8239fa1514 use gadcon popup for rare gadman error
SVN revision: 76790
2012-09-18 09:05:00 +00:00
Mike Blumenkrantz 267ed562ab properly set edge binding delay when toggling clickable during modification
ticket #1526


SVN revision: 76786
2012-09-18 08:27:37 +00:00
Mike Blumenkrantz c7e373f26f fix entry dialog text sizing
SVN revision: 76784
2012-09-18 07:45:25 +00:00
Mike Blumenkrantz 4fba696db9 fix bug where canceling the add of a new shelf failed to re-enable the add new shelf button
SVN revision: 76783
2012-09-18 07:35:36 +00:00
Mike Blumenkrantz b7cff28128 base shelf menu now has option to begin/end moving gadgets
SVN revision: 76781
2012-09-18 07:08:41 +00:00
Mike Blumenkrantz c60be515e8 fix e_exec crash
ticket #1525


SVN revision: 76778
2012-09-18 04:36:01 +00:00
Vincent Torri 8d8f697a3f E17: useless header, useless 'else' and 2 times the same check
Patch by Maxime Villard (rustyBSD)


SVN revision: 76773
2012-09-17 17:25:44 +00:00
Mike Blumenkrantz 03dda786da with massive hacks and huge other hacks, it's finally possible to seamlessly drag icons from the desktop to a shelf and vice versa
ticket #113


SVN revision: 76765
2012-09-17 14:49:48 +00:00
Mike Blumenkrantz 3f9ccd5176 prevent dnd from dropping on an infinite number of targets
SVN revision: 76764
2012-09-17 14:35:04 +00:00
Mike Blumenkrantz 523847cd2f fix magic fail
SVN revision: 76763
2012-09-17 14:25:54 +00:00
Mike Blumenkrantz eaf43b6717 patch from ticket #1522 for fixing volume added before storage
SVN revision: 76762
2012-09-17 13:56:05 +00:00
Mike Blumenkrantz 95ac2fdc8a show/hide gadget drag object when leaving/entering gadcons
SVN revision: 76761
2012-09-17 13:10:19 +00:00
Mike Blumenkrantz 916d997c81 adapt gadman dnd to non-global variables
SVN revision: 76760
2012-09-17 13:06:06 +00:00
Mike Blumenkrantz d153808e3d I hate localization.
ticket #1524


SVN revision: 76759
2012-09-17 12:28:01 +00:00
Mike Blumenkrantz 59d33a4a8b remove debug info
SVN revision: 76758
2012-09-17 12:24:17 +00:00
Mike Blumenkrantz 040b87a604 clean up gadcon dnd code to not use static variables
SVN revision: 76757
2012-09-17 12:23:55 +00:00
Carsten Haitzler 7a59e58273 add support for X-Enlightenment-Single-Instance :)
SVN revision: 76756
2012-09-17 11:51:04 +00:00
Carsten Haitzler 84bd5f65fc fix executing executables directly in efm.
SVN revision: 76753
2012-09-17 10:33:42 +00:00
Mike Blumenkrantz fbc50eee75 prevent gadcon callbacks from being added multiple times
SVN revision: 76749
2012-09-17 09:50:49 +00:00
Mike Blumenkrantz 8bea4f9411 check for existence BEFORE getting geom
SVN revision: 76744
2012-09-17 09:27:05 +00:00
Mike Blumenkrantz 404d6b2ea5 gadman static variables--
SVN revision: 76743
2012-09-17 09:14:52 +00:00
Mike Blumenkrantz 9093ac38ab work around stupid evas mouse event bug
ticket #1324


SVN revision: 76742
2012-09-17 08:45:13 +00:00
Mike Blumenkrantz a5713023e5 only create thumbs for files evas has loaders for
ticket #1520


SVN revision: 76739
2012-09-17 07:32:13 +00:00
Mike Blumenkrantz 85c099e91e cleanup ethumb on failures
SVN revision: 76738
2012-09-17 07:28:31 +00:00
Mike Blumenkrantz 228b5a4701 outdent e_thumb so it's readable
SVN revision: 76737
2012-09-17 07:23:19 +00:00
Mike Blumenkrantz 7031ce46b4 fix bug where gadgets could not be dragged left on shelf at the expected level of dragging, also increase drag threshold for moving gadgets to the right
SVN revision: 76736
2012-09-17 07:09:21 +00:00
Mike Blumenkrantz 9ccf1d988f don't delete gadgets when drag is done if new gadget is dropped gadget
SVN revision: 76735
2012-09-17 06:10:49 +00:00
Mike Blumenkrantz 894054e542 fileman menu no longer shows symlinks unless the option to show files in menu is enabled
SVN revision: 76734
2012-09-17 06:07:48 +00:00
Mike Blumenkrantz 4036e9a3c5 need to unlock gadcon BEFORE checking whether gadcon is still editing, otherwise we never unlock and always break shelf autohide
SVN revision: 76731
2012-09-17 05:26:22 +00:00
Mike Blumenkrantz 092b37f981 hmm it seems that attempting to be clever and show/hide when leaving and entering the same gadcon during a drag is at least part of the problem with ticket #1462...
SVN revision: 76730
2012-09-17 05:25:15 +00:00
Mike Blumenkrantz d181a362c6 fix gadget dnd bug where repeatedly dragging gadgets around from shelf to desktop to shelf to desktop to shelf to desktop would confuse gadman and prevent it from injecting gadgets properly
SVN revision: 76729
2012-09-17 05:02:23 +00:00
Mike Blumenkrantz 6cf37f95bf delete newly-created gcc here if it isn't our current gcc since we won't be using it
SVN revision: 76728
2012-09-17 04:44:41 +00:00
Mike Blumenkrantz 46afc57359 check null here even though it SEEMS impossible to prevent jokers from injecting bad configs
SVN revision: 76727
2012-09-17 04:41:09 +00:00
Mike Blumenkrantz 194dbb13a3 fix rare gadget dnd crash
SVN revision: 76726
2012-09-17 04:29:49 +00:00
Mike Blumenkrantz 134bed522c only generate submenu for file properties if both file and application properties are available, otherwise just show file properties
SVN revision: 76725
2012-09-17 04:17:35 +00:00
Mike Blumenkrantz 87ab5d8968 add "current directory" to fileman menu browser when activating it from an fwin
SVN revision: 76724
2012-09-17 04:11:27 +00:00
Mike Blumenkrantz 0f35a6bf3c block xds drops completely when they should be blocked, also reorder drop tests to avoid unnecessary ecore_file call
SVN revision: 76723
2012-09-17 04:03:18 +00:00
Mike Blumenkrantz da524d6d91 kill off dnd operation if drop cb returns false
SVN revision: 76722
2012-09-17 04:01:30 +00:00
Maxime Villard 3dc989c695 From: Maxime Villard <rustyBSD@gmx.fr>
There is a problem with the realpath() call. When moving
a symlink, realpath() gets the path of the pointed file,
and the name assigned to the copied link is the name of
this file.

So we shouldn't use realpath(), but I don't know an equivalent
which doesn't take care of symlinks.

Here is an example patch.


SVN revision: 76721
2012-09-17 03:57:04 +00:00
Mike Blumenkrantz e406dbd435 possibly fix headphones crash from massimo
SVN revision: 76719
2012-09-17 03:03:02 +00:00
Boris Faure 40adabe9ad e: tiling: add "send to corner" actions
As requested in #1457.

SVN revision: 76714
2012-09-16 19:59:08 +00:00
Carsten Haitzler 6669ca71a3 provide a way to select backlight device or output and then use it.
SVN revision: 76709
2012-09-16 10:43:17 +00:00
Carsten Haitzler 45ded3832b THIS was the dnd bug i saw! that i couldnt reproduce easily... THIS...
heisenbug... ptr stuff wrong. :)



SVN revision: 76708
2012-09-16 03:27:34 +00:00
Mike McCormack b5436997b8 e: Fix unused parameter warning
SVN revision: 76706
2012-09-15 21:46:38 +00:00
Boris Faure 57f1273aae e: fix Move to the left/right/up/down window
Closes #1488

SVN revision: 76703
2012-09-15 09:57:38 +00:00
Mike Blumenkrantz affc6d8d25 another efm_op patch from Maxime Villard, I don't even know what it does
SVN revision: 76686
2012-09-14 17:00:41 +00:00
Mike Blumenkrantz c1fc3c7ed5 even more not-asked-for fileman features: clone window and copy path
SVN revision: 76684
2012-09-14 16:51:38 +00:00
Mike Blumenkrantz 92621f4987 dear e menus,
please stop randomly crashing when I unref you correctly.
your pal,
the release manager


SVN revision: 76682
2012-09-14 16:28:05 +00:00
Mike Blumenkrantz eed83ff084 split off gtk bookmarks into their own submenu so the navigate menu doesn't get too huge
SVN revision: 76681
2012-09-14 16:00:24 +00:00
Mike Blumenkrantz e58b6f199b move Go To Parent Directory to Navigate submenu
SVN revision: 76679
2012-09-14 15:48:35 +00:00
Mike Blumenkrantz 29b23540ee delete thread data after creating new file to prevent messing up the path when creating subsequent new files in other directories
SVN revision: 76678
2012-09-14 15:30:25 +00:00
Mike Blumenkrantz 066fbdcc0e actually use new config and operation to perform mv operations, fix another case where dnd would trigger file rename, dragging a file around in its own directory is now a no-op as far as the daemons are concerned
SVN revision: 76677
2012-09-14 15:17:14 +00:00
Mike Blumenkrantz c9f7684c02 add fileman config option for new mv setting, also implement necessary backend features in efm slave for using mv operations
SVN revision: 76676
2012-09-14 15:14:41 +00:00
Mike Blumenkrantz 542501a85a e_config has a new option that can be enabled to switch file moving to use the old behavior of cp->rm instead of the new mv behavior
SVN revision: 76675
2012-09-14 15:13:51 +00:00
Mike Blumenkrantz 80c6165036 with the work of Maxime Villard <rustyBSD@gmx.fr>, efm_op can now move files directly when they're on the same device instead of copying then deleting the original
SVN revision: 76674
2012-09-14 15:09:05 +00:00
Mike Blumenkrantz 5f17904e58 forgot this file
SVN revision: 76668
2012-09-14 13:27:35 +00:00
Mike Blumenkrantz 023248ca67 Open Terminal Here menu item is now a directory mime action located in the Actions menu
SVN revision: 76666
2012-09-14 12:46:23 +00:00
Mike Blumenkrantz 751ef7b127 call directory mime handlers when bringing up ctx menu not on icons
SVN revision: 76665
2012-09-14 12:45:15 +00:00
Mike Blumenkrantz 0eafd902f7 mime handlers now properly handle icons where the full path is given
SVN revision: 76664
2012-09-14 11:03:26 +00:00
Mike Blumenkrantz baed804727 argh, another case of someone making callbacks with the data param last! fix fix! ABI borked again!
SVN revision: 76663
2012-09-14 10:52:08 +00:00
Mike Blumenkrantz e5a75c2b6d eina is probably already initialized by the time fileman starts
SVN revision: 76662
2012-09-14 10:40:12 +00:00
Mike Blumenkrantz 745d731695 ensure fileman navigation menu items are always added
SVN revision: 76661
2012-09-14 10:38:32 +00:00
Mike Blumenkrantz fbd5297cc9 okay, call icon menu extend callbacks for non-icon menus
SVN revision: 76660
2012-09-14 10:35:56 +00:00
Mike Blumenkrantz 0bf1e15adb don't call icon menu end extensions in non-icon menus
SVN revision: 76659
2012-09-14 10:31:39 +00:00
Mike Blumenkrantz fb98544c37 move "go to parent directory" to top of icon menus next to navigate
SVN revision: 76658
2012-09-14 10:29:23 +00:00
Mike Blumenkrantz 1477628c13 only show parent directory for desktop icon menus if going to the parent directory is allowed
SVN revision: 76657
2012-09-14 10:25:30 +00:00
Mike Blumenkrantz 4c9de587c9 directories without parents enjoy having terminals opened in them as well
SVN revision: 76656
2012-09-14 10:22:40 +00:00
Mike Blumenkrantz 660ee97666 I don't know who thought it was a good idea to have a separate header file for exactly ONE function prototype, but it's not. it's a terrible idea, and you should feel terrible for having it.
SVN revision: 76655
2012-09-14 10:19:51 +00:00
Mike Blumenkrantz 33746eeffe split out fileman menu functions into separate file, put icon navigate menu into different callback to simplify menu creation
SVN revision: 76654
2012-09-14 10:17:31 +00:00
Mike Blumenkrantz 4d5911644a unset mixer gadget configs when the backend changes, also don't delete the gadget instances; this should fix the last of the mixer crashing issues
SVN revision: 76653
2012-09-14 10:00:13 +00:00
Mike Blumenkrantz c9c92d24e8 restart the entire pulse connection when we get a disconnect and can't reconnect to refresh the socket location, also only send pulse ready when sinks have been fetched and the default sink is known
SVN revision: 76652
2012-09-14 09:57:45 +00:00
Mike Blumenkrantz d43a195c7d ensure we unset a pulse connection's server when it gets deleted
SVN revision: 76651
2012-09-14 09:55:39 +00:00
Mike Blumenkrantz 1a7737d5a1 fix mixer stringshare usage (fixes looooooooots of crashes), also shutdown pulse integration when unloading the module
SVN revision: 76649
2012-09-14 08:17:11 +00:00
Mike Blumenkrantz 6a53321e5c not sure why I was deleting port info strings for pulseaudio, but stop it because this breaks the world
SVN revision: 76648
2012-09-14 08:14:50 +00:00
Christopher Michael fdf581a87e Illume: Fix ticket 1486 (Illume Home Key Button no longer works). Fix
some layering issues with Back/Forward also.

Implement a "hide_above" function to hide anything above Home window.



SVN revision: 76646
2012-09-14 07:40:31 +00:00
Mike Blumenkrantz 5070b96b9e efm options menu now contains efm config panel menu items if fileman module is loaded
SVN revision: 76642
2012-09-14 07:17:17 +00:00
Mike Blumenkrantz 626505bdae stringshare class before iterating through remembers since the remembers list can be quite long
SVN revision: 76641
2012-09-14 07:02:06 +00:00
Mike Blumenkrantz 121c7d4a7a prevent efm window resizing on directory change, actually use default efm window geometry instead of making weird/wrong calculations based on scaling and icon size
SVN revision: 76640
2012-09-14 06:53:21 +00:00
Bruno Dilly 867d205ef6 e/connman: add check to show / hide password
Configuring default behavior on module settings later could
be nice.



SVN revision: 76633
2012-09-14 01:25:54 +00:00
Bruno Dilly 54d3dcd794 e/connman: fix code style
SVN revision: 76632
2012-09-14 01:24:36 +00:00
Carsten Haitzler 4acc7c4eb9 well then.. let's not segv if card is null... yes - this is new
behaviour in mixer... at leats i'm not stuck with e crashing almost
instantly on start :)



SVN revision: 76631
2012-09-14 00:33:36 +00:00
Mike Blumenkrantz f7e3736068 only disallow drop on link_drop targets when there's no icon selected
SVN revision: 76624
2012-09-13 17:01:55 +00:00
Mike Blumenkrantz 57424d18a4 improve spring-loaded drag windows to allow springing from the sidebar and avoid closing when dragging past a sidebar
SVN revision: 76623
2012-09-13 16:35:08 +00:00
Mike Blumenkrantz 6c04fe6fea fix link_drop targets to allow dropping into subdirs
this exposes a very strange and rare bug where things seem to get recursively symlinked instead of just symlinking the dragged icon


SVN revision: 76622
2012-09-13 16:34:19 +00:00
Mike Blumenkrantz d86de48c74 always return true for dnd events
SVN revision: 76621
2012-09-13 16:15:18 +00:00
Mike Blumenkrantz 1726d79fa3 fix autoscrolling bug where it would scroll randomly or inconsistently
SVN revision: 76620
2012-09-13 16:04:28 +00:00
Mike Blumenkrantz 1d64e8144b null check fwin when dnd ends
SVN revision: 76618
2012-09-13 15:40:03 +00:00
Mike Blumenkrantz 14157cd05b even more not-asked-for features: dnd scrolling for efm
SVN revision: 76617
2012-09-13 15:21:41 +00:00
Mike Blumenkrantz 6361dbf41a allow only one spring window per window, close others as necessary
SVN revision: 76616
2012-09-13 15:19:06 +00:00
Mike Blumenkrantz 67d7e09a32 dnd of files with efm, when initiated by clicking the file's label, will no longer trigger a rename after the drag
SVN revision: 76613
2012-09-13 14:05:35 +00:00
Mike Blumenkrantz cf539e40fd efm no longer shows the drop target animation for targets that are not valid for dropping onto
SVN revision: 76612
2012-09-13 14:02:28 +00:00
Mike Blumenkrantz 097e570c03 by the power of the mixer code that I reused, the clock gadget popup will now hide whenever you do anything other than quietly admire its majesty
SVN revision: 76609
2012-09-13 13:21:31 +00:00
Mike Blumenkrantz 153079e8bd rename icon mouse in/out smart callbacks to use underscores instead of commas
SVN revision: 76603
2012-09-13 10:51:50 +00:00
Mike Blumenkrantz 684694fa11 yet another not-awaited efm feature: spring-loaded folders! just drag onto a directory and wait for the spring
SVN revision: 76602
2012-09-13 10:49:22 +00:00
Mike Blumenkrantz 9323db03ff add dnd begin smart callback for efm
SVN revision: 76601
2012-09-13 10:40:46 +00:00
Mike Blumenkrantz e1d3294c00 whoops, need to put the drop smart cb after teh drop
SVN revision: 76599
2012-09-13 10:26:45 +00:00
Christopher Michael 981be2c92d E (Illume_Kbd_Toggle): Some apps are using states greater than "ON"
(such as STATE_TERMINAL, or STATE_ALPHA), to indicate their
"STATE_ON", so we need to check for states >= Off or <= OFF to set
toggle icon correctly.



SVN revision: 76594
2012-09-13 09:24:06 +00:00
Mike Blumenkrantz 1cdea8bab9 block XDS drops in link_drop targets
SVN revision: 76593
2012-09-13 08:53:18 +00:00
Christopher Michael 5b80ad77d9 E (Illume): Fix border_show_below also (and remove some printfs).
SVN revision: 76592
2012-09-13 08:51:45 +00:00
Maxime Villard 0d45c19468 From: Maxime Villard <rustyBSD@gmx.fr>
$ mkdir /home/test/EMPTY
 $ mkdir /home/test/FULL
 $ cd /home/test
 $ ln -s EMPTY link

 Now move (with EFM) the 'FULL' folder to the 'link' (without
 opening it), and 'FULL' diseappear.

 As the symlink points directly to 'EMPTY', we have not the
 full path. So the 'FULL' directory is moved to ~/, instead
 of the desired dest.

 Here is a quickly-made a patch.


SVN revision: 76591
2012-09-13 08:34:24 +00:00
Christopher Michael 3ed9034661 E (Illume): Fix borders not iconifying in mobile profile when you
launch new apps or switch focus.



SVN revision: 76590
2012-09-13 08:33:14 +00:00
Mike Blumenkrantz 3114b3a2af default desktop view should be custom icons, not grid
SVN revision: 76588
2012-09-13 08:23:45 +00:00
Mike Blumenkrantz 1f2762db90 add efm smart callbacks for dnd events, function for getting current dnd target
SVN revision: 76587
2012-09-13 08:10:00 +00:00
Mike Blumenkrantz b51bf4a6c7 set hint for mixer gadgets that user is using the default card so that if it changes, pulseaudio can adjust appropriately
SVN revision: 76586
2012-09-13 07:43:33 +00:00
Mike Blumenkrantz d62d619774 emit pulse failure event when server connection fails
SVN revision: 76585
2012-09-13 07:19:07 +00:00
Mike Blumenkrantz 457152dc16 fix desktop path storing to be more successful, also now store desktop view modes for all desktops
SVN revision: 76584
2012-09-13 07:18:13 +00:00
Mike Blumenkrantz 8140c6fa8d free qa edds correctly
SVN revision: 76580
2012-09-13 06:36:53 +00:00
Bruno Dilly 7373927847 e/connman: focus first mandatory entry
SVN revision: 76579
2012-09-13 06:25:06 +00:00
Bruno Dilly a8ef12a337 e/connman: mark dialog as NULL for every case of delete
It was missing delete when user close the windows, so later
it would try to double free dialog.



SVN revision: 76578
2012-09-13 06:24:58 +00:00
Bruno Dilly e89801c6ec e/connman: avoid double free on dialog delete
SVN revision: 76577
2012-09-13 06:24:49 +00:00
Carsten Haitzler c2bbda53ee make it the exact same disable comment too.
SVN revision: 76568
2012-09-13 00:43:26 +00:00
Carsten Haitzler 56ebc29f14 fix morning discomfitor b0rks.
SVN revision: 76567
2012-09-13 00:41:30 +00:00
Carsten Haitzler e469686e14 disable saving of desktop path until such a time as it isnt broken in
multiple ways :)



SVN revision: 76566
2012-09-13 00:30:57 +00:00
Mike Blumenkrantz 1ba91398ee efm now saves your first screen's desktop directory when desktop navigation is enabled so that it can display that directory on subsequent startups
SVN revision: 76547
2012-09-12 16:42:29 +00:00
Mike Blumenkrantz 5193de5919 finally fix moving (dragging) gadgets from a shelf to the desktop in a super hackish way that will hopefully be fixable in e18 with a complete rewrite of gadcon/gadman
note: this will look really bad (giant black rectangle) if you have "Use ARGB instead of shaped" checked in Engine config


SVN revision: 76543
2012-09-12 16:23:02 +00:00
Mike Blumenkrantz 55bb34aa02 moving a gadget off the desktop using the menu now properly deletes the gadget from the desktop
SVN revision: 76537
2012-09-12 15:14:03 +00:00
Mike Blumenkrantz 8f0aa351f8 reflow some code
SVN revision: 76536
2012-09-12 15:02:12 +00:00
Mike Blumenkrantz 027cd7fdc9 more const cleanup
SVN revision: 76531
2012-09-12 13:42:11 +00:00
Mike Blumenkrantz 2b41e37c30 const cleanup
SVN revision: 76530
2012-09-12 13:39:43 +00:00
Carsten Haitzler 83191bb795 and add wifi powered on/off check for connman otherwise the gagdte is
basically useles to people as connman starts by being powered off
first time.



SVN revision: 76529
2012-09-12 13:35:32 +00:00
Mike Blumenkrantz 3436f52edc refresh at the end of deleting gadgets, not during; prevents infinite loop
SVN revision: 76527
2012-09-12 13:29:46 +00:00
Mike Blumenkrantz 2747cba221 deleting multiple gadgets in advanced gadget config will now actually delete multiple gadgets
SVN revision: 76525
2012-09-12 13:12:43 +00:00
Mike Blumenkrantz 0a66fa4671 ilist_items_get() now returns a const list
SVN revision: 76524
2012-09-12 13:03:04 +00:00
Mike Blumenkrantz 567a996222 rename variable to be more like e_gadcon
SVN revision: 76523
2012-09-12 12:28:19 +00:00
Maxime Villard eb5cd99f6b From: Maxime Villard <rustyBSD@gmx.fr>
Hi,
 we should check the permissions of the conf file.

 For example (really stupid situation):
 If the user mischmoded his conf file, a guy who have
 physical access could obtain root access by launching
 a program in root (after having modified paths in conf
 file); or a guy with ssh access, ...


SVN revision: 76519
2012-09-12 11:49:46 +00:00
Mike Blumenkrantz e81c385e57 break out gadcon drop handler add into separate function to make it reusable
SVN revision: 76516
2012-09-12 10:37:29 +00:00
Mike Blumenkrantz 60b109786e no longer guess randomly what the default (current) pulseaudio output sink is, fetch this info from the server
SVN revision: 76513
2012-09-12 09:49:17 +00:00
Mike Blumenkrantz 0ccd179ab8 update pa interface to allow fetching server info
SVN revision: 76511
2012-09-12 09:46:37 +00:00
Mike Blumenkrantz 8a004228af actually allocate the correct length when merging notifications, fixes case where the last character gets cut off
SVN revision: 76508
2012-09-12 08:47:59 +00:00
Mike Blumenkrantz 057a874039 winlist now only shows windows on other screens when the option for it is checked and (the window is from the current desk on the other screen || the option to show windows from all desks is set)
ticket #1494


SVN revision: 76500
2012-09-12 07:53:57 +00:00
Christopher Michael 36e807aaee E: We don't need to run this comparison twice.
SVN revision: 76496
2012-09-12 07:29:41 +00:00
Mike Blumenkrantz 4337d5cea5 improve efm's xds support to allow dragging onto directories to drop within, also rename the "drop" handler to selection_notify since this is actually what it's called from
SVN revision: 76495
2012-09-12 07:10:43 +00:00
Mike Blumenkrantz cfca3d8897 whoops, forgot to add in the xds check for dnd yesterday to make it actually work
SVN revision: 76494
2012-09-12 07:08:44 +00:00
Gustavo Sverzut Barbieri 7dc448c56f fsel: if file name starts with "/" then it's an absolute path.
not handling "../" and "./" cases here, maybe worth?

This allows screenshots to be saved typing "/tmp/bla.png" (see
previous commit, to shot module)



SVN revision: 76481
2012-09-11 23:06:25 +00:00
Gustavo Sverzut Barbieri 9022690ed6 shot: be loud about saving errors.
everytime I type "/tmp/bla.png" as save file I get errors and it's silent.



SVN revision: 76480
2012-09-11 23:01:32 +00:00
Massimo Maiurana 016392e5d4 updating portuguese and italian translations
SVN revision: 76470
2012-09-11 17:43:32 +00:00
Mike Blumenkrantz 20f84d3cee this took waaaaayyyyyyyyyyyyyy longer than I expected, but we now have support for XDS in efm, which will allow you to drag things from many other applications TO efm windows (eg. dragging a file from an archive in file-roller to an efm window will now extract the dragged file to the location of the window)
SVN revision: 76465
2012-09-11 16:17:24 +00:00
Mike Blumenkrantz 414db11d31 add some hacks to prevent spurious mouse movement events from breaking the universe when generating menus
ticket #1492


SVN revision: 76459
2012-09-11 11:55:08 +00:00
Mike Blumenkrantz 0ecafb75e5 unset top gc in gadman to ensure it gets set properly later on
SVN revision: 76453
2012-09-11 10:38:09 +00:00
Mike Blumenkrantz 0922fa95c5 formatting
SVN revision: 76450
2012-09-11 09:07:54 +00:00
Mike Blumenkrantz ec95e5e0b0 re-set gadman bg when updating zones
SVN revision: 76447
2012-09-11 07:56:00 +00:00
Mike Blumenkrantz 96d2436b76 fix color calc for gadman hover layer
SVN revision: 76446
2012-09-11 07:38:52 +00:00
Carsten Haitzler 7bed18f089 add action to enable/disable and toggle a module... useufl for... eg
togling comp on and off :)



SVN revision: 76442
2012-09-11 06:59:46 +00:00
Bruno Dilly cf5ffd3309 e/connman: delete networks list popup when launching config
app




SVN revision: 76434
2012-09-11 04:42:08 +00:00
Mike Blumenkrantz 6588ae2d08 fix super old, but mostly harmless bug where already-mounted volumes would not be correctly detected and set up during e startup; fixes move source option from previous commit
SVN revision: 76418
2012-09-10 16:28:55 +00:00
Mike Blumenkrantz 7c16c33ed5 add option to error dialog that occurs when trying to move/make a symlink onto a device: move source - moves the source of the link instead of the link
ticket #93


SVN revision: 76417
2012-09-10 16:28:07 +00:00
Mike Blumenkrantz 3e1bb5843c send initial progress from efm slave to set src and dest paths in efm
SVN revision: 76416
2012-09-10 15:46:38 +00:00
Mike Blumenkrantz f8e5e23135 fix hilarious crash startups when using enlightenment_start
SVN revision: 76415
2012-09-10 15:30:48 +00:00
Mike Blumenkrantz ca107c609c ensure that efm widget does set path in the case of removable devices, fixes random crash when opening removable media
SVN revision: 76414
2012-09-10 15:04:31 +00:00
Mike Blumenkrantz 7335a904ce finally implement file renaming when an overwrite is detected
ticket #1269


SVN revision: 76413
2012-09-10 14:40:29 +00:00
Mike Blumenkrantz f59fa03035 send progress of 0% when overwrite warning is sent to ensure that we have the src and dest accessible in efm
SVN revision: 76412
2012-09-10 14:39:07 +00:00
Mike Blumenkrantz 0e1b4f5322 formatting
SVN revision: 76407
2012-09-10 14:06:17 +00:00
Mike Blumenkrantz c11dd0704b don't need to get the current container all the time, e_dialog does this for us
SVN revision: 76405
2012-09-10 13:22:51 +00:00
Mike Blumenkrantz 55b1cd1e09 don't need to be allocating ints here, we can just use the correct cast and things will be a-okay
SVN revision: 76404
2012-09-10 13:13:04 +00:00