Commit Graph

7188 Commits

Author SHA1 Message Date
Carsten Haitzler 3eb7dfc04e fix on hold events for selection by scrollframe in e if thumbscroll is
off.



SVN revision: 78674
2012-10-30 16:12:20 +00:00
Tom Hacohen a9bdc983b4 E entry: Move to edje_entry and remove e_editable.
This should reduce the number of issues in the long run and reduced the
amount of code we have to maintain."

SVN revision: 78663
2012-10-30 14:06:13 +00:00
Tom Hacohen 25ee210ef8 E scrolled_entry: Set evas min size. Should probably be in e_widget_size_min_set.
SVN revision: 78662
2012-10-30 14:06:08 +00:00
Tom Hacohen 00698b999e E srcollframe: Added a mode to disable key navigation + fixed show region.
Show region now doesn't move if the requested region is inside of the
already visible region.

SVN revision: 78661
2012-10-30 14:05:50 +00:00
Mike Blumenkrantz 5a20be6915 fsel no longer changes entry text when changing directory
ticket #1695


SVN revision: 78656
2012-10-30 13:28:05 +00:00
Mike Blumenkrantz 91fc9e6634 remove some old fsel comments
SVN revision: 78650
2012-10-30 13:02:17 +00:00
Mike Blumenkrantz 3fc68c6c43 fix old FIXME regarding handling of NET_ACTIVE_WINDOW hint: new window focus option allows ignoring, animating, activating (current behavior is activating) on hint
right now this uses the "urgent" signal for the animate state, may want to change it to something else if separate theming is desired
ticket #1642


SVN revision: 78647
2012-10-30 11:57:35 +00:00
Mike Blumenkrantz 6657834714 formatting
SVN revision: 78643
2012-10-30 11:44:54 +00:00
Cedric BAIL ab5767eac7 e: add gdb support to enlightenment_sys to work around Ubuntu crappy kernel patch.
SVN revision: 78640
2012-10-30 08:36:26 +00:00
Mike Blumenkrantz ab6d671328 fix box item finding as spotted by Igor Murzov
SVN revision: 78613
2012-10-29 11:59:55 +00:00
Mike Blumenkrantz 676c71a2a1 efm now checks (on startup) for stale device links on desktop and tries to remove them
ticket #1689


SVN revision: 78608
2012-10-29 09:52:23 +00:00
Mike Blumenkrantz d957dbc0c4 better fix for ilist item delete sizing bug
SVN revision: 78604
2012-10-29 08:13:00 +00:00
Mike Blumenkrantz 1f552955a7 fix shelf magic fail
SVN revision: 78601
2012-10-29 08:01:25 +00:00
Christopher Michael 2d6a796007 E: Fix warning: variable ‘output’ set but not used. Add unused to argv.
Signed-off-by: Christopher Michael <cpmichael1@comcast.net>

SVN revision: 78581
2012-10-28 10:29:02 +00:00
Mike Blumenkrantz a200832b4f fix box crash
SVN revision: 78575
2012-10-28 08:40:03 +00:00
Carsten Haitzler 0bb52eb9ed adjust efm fwin setup and popup to be... better theme friendly!
SVN revision: 78565
2012-10-28 07:45:48 +00:00
Carsten Haitzler fa5cd0bc12 and actually explicitly make toolbooks scrollable by default.
SVN revision: 78560
2012-10-27 10:43:54 +00:00
Carsten Haitzler 5458b95b24 fix toolbar/toolbook sizing issue and also make toolbar emit signals
to say if icons are there or not.



SVN revision: 78559
2012-10-27 10:40:16 +00:00
Mike Blumenkrantz 70ed9168e2 and F2 for rename
SVN revision: 78536
2012-10-26 13:37:55 +00:00
Mike Blumenkrantz eeb071c819 efm now supports F5 for refresh
SVN revision: 78535
2012-10-26 13:35:30 +00:00
Mike Blumenkrantz a04b500c36 only display mount type for filepreview if volume is mounted
SVN revision: 78533
2012-10-26 13:30:30 +00:00
Mike Blumenkrantz 80ff1bdcb6 efm also listens to efreet cache build events just in case
SVN revision: 78516
2012-10-26 10:05:17 +00:00
Mike Blumenkrantz cbcc5eb129 efm now listens to efreet cache update events
ticket #1580


SVN revision: 78515
2012-10-26 10:00:44 +00:00
Mike Blumenkrantz c23cdad3b4 add widget playground dialog to main menu for easy access to testing e widgets in future
SVN revision: 78509
2012-10-26 08:33:02 +00:00
Mike Blumenkrantz 2adbe0567d when removing items from ilist, autoresize the ilist if it's in a scroller to prevent item sizes from becoming larger
ticket #1678


SVN revision: 78508
2012-10-26 08:30:24 +00:00
Mike Blumenkrantz ef7cd7af5f prevent attempts to remove negative number ilist items
SVN revision: 78507
2012-10-26 08:10:08 +00:00
Mike Blumenkrantz 85a60baa96 add e_box function to return item size
SVN revision: 78506
2012-10-26 07:51:38 +00:00
Christopher Michael 68e70b0131 E: Fix bug. The "Look" submenu of a gadget would not have any item
selected (Plain/Inset) if no style was previously selected for this
gadget. This adds code that also checks the Client Class default style
if no gadget style has been assigned yet.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 78505
2012-10-26 07:20:59 +00:00
Christopher Michael 8894fb5f50 E: Fix formatting for 80 columns
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 78504
2012-10-26 07:20:51 +00:00
Vincent Torri a0bf30b75c E17:
I. Simplification, andif we cannot stat(), the best
thing to do is toswitch to a copy-delete operation.

II.Just stuff...

III. There is a problem with _e_fm_op_random_char().
When wewant to randomize a string we do srand(time())
foreachcharacter, so if the file is small enough
to be deleted inless than a second, it's not randomized.
And even if it's bigger, it's not goodly randomized.Sorry.

Patch by Maxime Villard rustyBSD


SVN revision: 78469
2012-10-25 17:43:52 +00:00
Mike Blumenkrantz c31c8e2a0b revert attempt to fix PrinceAMD's mess
SVN revision: 78449
2012-10-25 12:19:29 +00:00
Carsten Haitzler e00d110a4b lets emit a signal to dialog to know if icon is there or not so it can
more sensibly lay itself out :)



SVN revision: 78446
2012-10-25 11:40:40 +00:00
Mike Blumenkrantz 48524c6cbe fix screen limit border drag thingy
ticket #1680


SVN revision: 78441
2012-10-25 10:55:32 +00:00
Mike Blumenkrantz 3dcddf8e29 update filepreview when file is changed
ticket #1666


SVN revision: 78440
2012-10-25 10:55:03 +00:00
Mike Blumenkrantz 33ed9e3699 add alignment states for dialog text and use left align for text preview
ticket #1655


SVN revision: 78438
2012-10-25 09:59:49 +00:00
Mike Blumenkrantz dffa617793 ctrl+shift drag in efm now also invokes ASK state
SVN revision: 78429
2012-10-25 09:19:17 +00:00
Mike Blumenkrantz bf11ffc2e7 fix efm file position moving in same directory
SVN revision: 78427
2012-10-25 08:54:50 +00:00
Mike Blumenkrantz ce6d2534cc desklock popup now sets its own title and class
ticket #1653


SVN revision: 78423
2012-10-25 07:54:51 +00:00
Mike Blumenkrantz 04d594af98 wherever cedric commits, b0rks will follow
SVN revision: 78422
2012-10-25 07:53:38 +00:00
Mike Blumenkrantz 10903ffc60 formatting
SVN revision: 78421
2012-10-25 07:47:26 +00:00
Mike Blumenkrantz ebef167dab improve shelf gadget dragging
ticket #1658


SVN revision: 78420
2012-10-25 07:37:53 +00:00
Cedric BAIL 1d2b6034b0 e: don't drop cache if icon is animated.
We want to use the scale cache and drop the source icon
for all static icon on screen. But for the few of them that
do resize and animate, we need to keep that data or it will
slow a us down a lot. So now we play nicely with our SCALE_HINT.


SVN revision: 78419
2012-10-25 07:28:24 +00:00
Stefan Schmidt 338a0e2d65 e17: Remove unused variable
SVN revision: 78410
2012-10-24 19:50:35 +00:00
Carsten Haitzler 595ddfd3c9 fix emit of maximize signal handling for border maximization when not
a fullscreen one.



SVN revision: 78394
2012-10-24 09:48:34 +00:00
Carsten Haitzler 6ce5bb59ef gaaaarh! long standing shelf bug - dont emit signal to right obvject
for orientation of shelf gadget frame! fix!



SVN revision: 78368
2012-10-23 14:20:19 +00:00
Cedric BAIL 0f87c35a7b e: add a tool to gather statistic.
NOTE: The goal of this tool is to gather statistic about
our user base so we could know what to improve and optimize
in the futur. We don't gather personnal information only
hardware and software configuration, so we know more about
the real use of Enlightenment.

At the moment this tool is not uploading anything on a website
nor is it ready at all. I am just pushing it early so that
people using other OS than Linux, can contribute to it. If that
tool is ready for the release, we will use the gathered statistic
for all our futur plan. If your OS is not in, we will basically
not see it and so not take it into account. That's why I highly
encourage those using E on other OS to contribute to this tool.



SVN revision: 78247
2012-10-19 11:10:28 +00:00
Mike Blumenkrantz 04c72fa6a1 remove zone move/resize handler for shelf, triggers crazy autohide behavior
also fixes ticket #1644


SVN revision: 78174
2012-10-18 09:14:13 +00:00
Mike Blumenkrantz fb4d32599d fix dnd into favorites views
ticket #1638


SVN revision: 78158
2012-10-18 08:07:17 +00:00
Mike Blumenkrantz 46d2653dbc e dnd xds handler now passes type string param as well as data
SVN revision: 78157
2012-10-18 08:04:03 +00:00
Mike Blumenkrantz 57d8dd8f9b fix cross-device cut+paste
ticket #1638


SVN revision: 78154
2012-10-18 07:55:34 +00:00
Mike Blumenkrantz bc52fd4269 remove unnecessary variable, fix file pasting with blank clipboard to not hammer the efm daemon
SVN revision: 78153
2012-10-18 07:51:18 +00:00
Mike Blumenkrantz 23f35193cf fix shelf crash from ticket #1635
SVN revision: 78152
2012-10-18 07:39:02 +00:00
Mike Blumenkrantz 68270ed5e8 uchar -> Eina_Bool
SVN revision: 78150
2012-10-18 07:28:12 +00:00
Cedric BAIL 0c356af7e2 e: make it less anoying. Now E17 also remember you tainted it.
SVN revision: 78148
2012-10-18 06:26:57 +00:00
Carsten Haitzler 90b6406b04 add module whitelist with complaints about modules that are not e's
set. after yet more repords of bugs from modules not in core.



SVN revision: 78045
2012-10-16 10:42:01 +00:00
Carsten Haitzler a192bd1e1a lets just make buf 4096 to ensure it can hold enough of a nutty path
if it needs to.



SVN revision: 78004
2012-10-15 15:45:01 +00:00
Carsten Haitzler 53ad992c31 pointed out by Igor Murzov - fixed backlight thing, gadcon is cleaner.
SVN revision: 77980
2012-10-15 07:05:00 +00:00
Cedric BAIL 76dc9409d5 e: prevent infinite call loop. If someone has a better fix than me, you are welcome.
SVN revision: 77975
2012-10-15 06:25:26 +00:00
Eric Schuele 2d173a6ae2 Much more appropriate fix for TRAC#1222.
SVN revision: 77960
2012-10-13 20:38:49 +00:00
Christopher Michael d421af2a0b E: Really no need to fetch Container here (just to fetch the current
zone). Use e_util_zone_current_get.

Add missing parens around eina_list_data_get.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 77938
2012-10-12 13:49:19 +00:00
Christopher Michael 5b03a2bf37 E: Remove extra call to eina_list_data_get. Not really needed as we
make the call above to get the list data anyway.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 77937
2012-10-12 13:38:35 +00:00
Eric Schuele 46870c46b5 TRAC#1222 Resolve sticky windows not offering resistance on window_push for desktops other than that which they belong.
SVN revision: 77927
2012-10-12 01:21:24 +00:00
Mike Blumenkrantz 6134584e47 formatting for seb
SVN revision: 77880
2012-10-11 13:23:14 +00:00
Mike Blumenkrantz c094541aef patch from PrinceAMD which adds config options to warp lost windows back to center screen when enabled
video: http://dl.dropbox.com/u/7371269/lost_window_feature_2.ogv


SVN revision: 77878
2012-10-11 12:53:15 +00:00
Mike Blumenkrantz e92d150180 shelves now watch for zone move/resize events and check their locations upon any changes to ensure that they don't move off screen with the randr dialog. note that this will also cause shelves to re-hide themselves when toggling autohide
SVN revision: 77875
2012-10-11 12:49:13 +00:00
Mike Blumenkrantz 455b878e70 some optimizations for e_box_item_at_xy_get
SVN revision: 77864
2012-10-11 12:27:13 +00:00
Mike Blumenkrantz 37ce2b80ef enable dnd for toolbars
SVN revision: 77863
2012-10-11 11:54:40 +00:00
Mike Blumenkrantz 512c561ca8 fix dnd for toolbar gadcons
SVN revision: 77862
2012-10-11 11:53:04 +00:00
Mike McCormack 90e5189ca4 e: Fix warning
Signed-off-by: Mike McCormack <mikem@atratus.org>

SVN revision: 77861
2012-10-11 11:22:58 +00:00
Mike Blumenkrantz a978a17ddd efm string functions are now EAPI util functions
SVN revision: 77860
2012-10-11 10:19:03 +00:00
Mike Blumenkrantz ac722b9145 expose efm move/copy/link functions
SVN revision: 77859
2012-10-11 10:12:16 +00:00
Mike Blumenkrantz d4aabc7dbf make e_fm2_drop_menu an EAPI and further clean up drop menu code
SVN revision: 77858
2012-10-11 09:57:55 +00:00
Mike Blumenkrantz eaac4857d5 improve some extremely crufty efm dnd menu code
SVN revision: 77857
2012-10-11 09:43:54 +00:00
Mike Blumenkrantz 1e94e79e2c remove some efm symlink cruft
SVN revision: 77856
2012-10-11 09:34:53 +00:00
Mike Blumenkrantz dcc5be6e3e _e_fm2_uri_path_list_get is now e_fm2_uri_path_list_get with EAPI
SVN revision: 77855
2012-10-11 08:42:19 +00:00
Mike Blumenkrantz 2b9b6eeb79 add box function for returning the child at a point inside the box
SVN revision: 77850
2012-10-11 08:07:01 +00:00
Mike Blumenkrantz 04cc83c4e5 add menu item to enable shelf autohiding
SVN revision: 77848
2012-10-11 07:56:16 +00:00
Mike Blumenkrantz 28319d410b box also now uses inlists
SVN revision: 77847
2012-10-11 07:28:44 +00:00
Mike Blumenkrantz 3aa882684f e_box now keeps its child list by box item data, also stores item geometry to trivially reduce overhead in box reconfiguring and allow me to continue my dastardly plan of implementing ticket #1603
SVN revision: 77846
2012-10-11 06:57:23 +00:00
Mike Blumenkrantz 4e3677932a add getter for efm drop object
SVN revision: 77758
2012-10-10 12:47:04 +00:00
Mike Blumenkrantz 0bf84a49b0 fix hard to trigger threaded menu crash
SVN revision: 77755
2012-10-10 12:09:35 +00:00
Carsten Haitzler bdf8471cd5 try not do anything with screensaver interval except setting it to 0
SVN revision: 77748
2012-10-10 10:40:21 +00:00
Mike Blumenkrantz 5e4ccca27b fix e randr code to not block randr update events from other listeners and to properly delete poller on failure
SVN revision: 77739
2012-10-10 09:42:05 +00:00
Mike Blumenkrantz b8677593fc remove all LD_LIBRARY_PATH shenanigans from e17
ticket #1542


SVN revision: 77735
2012-10-10 09:27:24 +00:00
Mike Blumenkrantz e32b918e43 send xkb update event any time e_xkb_update() is called with a real value
SVN revision: 77728
2012-10-10 09:06:21 +00:00
Mike Blumenkrantz 5923846e24 remove e17 preload/precache hacks
SVN revision: 77705
2012-10-10 07:39:08 +00:00
Mike Blumenkrantz 1cdf725b70 formatting
SVN revision: 77704
2012-10-10 07:31:26 +00:00
Mike Blumenkrantz c5e5f1e5fb set config (min) limit for move/resize windows with keyboard
SVN revision: 77701
2012-10-10 07:18:03 +00:00
Mike Blumenkrantz 55899b0917 don't set border kbd move timeout timer if there's no timeout set, also ensure that kbd moving moves at least 1px when moving
ticket #1480


SVN revision: 77700
2012-10-10 07:11:29 +00:00
Sebastian Dransfeld 0a24d3194d e: remove unused variables
SVN revision: 77625
2012-10-09 08:40:14 +00:00
Sebastian Dransfeld 9b436d3c26 e: if 0 to disable code
SVN revision: 77624
2012-10-09 08:28:18 +00:00
Mike Blumenkrantz 5f4f3c2cb4 e finally remembers the module config dialog and reopens it on restart
SVN revision: 77563
2012-10-08 07:36:17 +00:00
Mike Blumenkrantz 7a3eb421ff spellcheck hooooooooooooooooooooooo
SVN revision: 77562
2012-10-08 06:59:58 +00:00
Carsten Haitzler 35773a3241 add config for disabling delayed modules. this actually drastically
speeds up e startup - but this i mean the shelf comes up instantly
populated rather than taking 2 or 3 seconds to figure its life out.



SVN revision: 77558
2012-10-07 10:01:14 +00:00
Carsten Haitzler 7bb9376863 disable sigusr1 for config dialog - thsi is actually a race cond that
never was hit before - but e's start uses a pause() to wait for init
splash to be ready and a sigusr1 is used to do the waking up.



SVN revision: 77557
2012-10-07 10:00:24 +00:00
Sebastian Dransfeld ec752e9394 e: formatting
SVN revision: 77552
2012-10-07 06:08:56 +00:00
Mike Blumenkrantz 43fb89ddb7 gadcon "Move to" menu no longer shows the gadget's current gadcon
SVN revision: 77523
2012-10-05 10:07:22 +00:00
Mike Blumenkrantz 71f57bb52d gadcon location gadget_add callbacks now have a gadcon client param so the config can be retrieved since these callbacks are (currently) only used for changing locations of gadgets
also the related gcc param in gadget_del can now have a NULL config to signify that the gadget has been moved to a new gadcon

this means that moving a gadget to a new location will no longer cause it to lose its gadget config

ticket #1594


SVN revision: 77521
2012-10-05 09:57:34 +00:00
Mike Blumenkrantz c008654175 block mouse in/out events for iconified borders to fix case where iconifying a window using the border menu would prevent it from becoming iconified
SVN revision: 77520
2012-10-05 09:17:47 +00:00
Mike Blumenkrantz 9114d0d02a blank text previews during read
ticket #1601


SVN revision: 77516
2012-10-05 09:03:27 +00:00
Mike Blumenkrantz c2077bb6c0 add desktop menu category
SVN revision: 77515
2012-10-05 09:01:45 +00:00
Christopher Michael 0d3c51e8bc And format for 80 columns again.
SVN revision: 77504
2012-10-05 06:45:05 +00:00
Mike Blumenkrantz 46702481d6 simplify worst case shelf visibility check
SVN revision: 77503
2012-10-05 06:44:53 +00:00
Mike Blumenkrantz 832be52b04 check for shelf visibility on init before showing
ticket #1595


SVN revision: 77502
2012-10-05 06:43:44 +00:00
Mike Blumenkrantz f90abcdf4b add util function for returning current container without needing to pass manager
SVN revision: 77501
2012-10-05 06:43:13 +00:00
Mike Blumenkrantz 615f2e9137 use list handler macro
SVN revision: 77500
2012-10-05 06:36:00 +00:00
Christopher Michael 551d84d4aa Format for 80 columns.
SVN revision: 77497
2012-10-05 06:04:34 +00:00
Sebastian Dransfeld 80b0b615b8 e: Cleanup
Fixes potential invalid memory reads.

Patch by Igor Murzov

SVN revision: 77491
2012-10-04 23:27:01 +00:00
Sebastian Dransfeld 427b6c34df e: Cleanup
Removes unused variables, drops duplicate return or break
     statements and drops unnecessary checks.

Patch by Igor Murzov

SVN revision: 77490
2012-10-04 23:26:48 +00:00
Mike Blumenkrantz 0ec2181291 also set icon for single click menu item
SVN revision: 77437
2012-10-04 13:09:14 +00:00
Mike Blumenkrantz 6abb7dee36 set icon for secure delete menu item
SVN revision: 77436
2012-10-04 13:07:14 +00:00
Mike Blumenkrantz 62ac047ebe add menu option to enable/disable secure deletion in efm when global setting is not enabled
SVN revision: 77435
2012-10-04 13:04:50 +00:00
Mike Blumenkrantz c310836bb3 add gui option for secure deletion in efm
SVN revision: 77434
2012-10-04 12:58:18 +00:00
Mike Blumenkrantz c88eda533f and the gettext
SVN revision: 77430
2012-10-04 11:52:30 +00:00
Mike Blumenkrantz 9683a3565d format string whoops
SVN revision: 77428
2012-10-04 11:50:15 +00:00
Mike Blumenkrantz b0df4fc70f move shelf visible detection code from e_desk to e_shelf
SVN revision: 77416
2012-10-04 09:53:52 +00:00
Mike Blumenkrantz ae68c2d7a9 when loading a .desktop file with fprev which is a link but NOT a link to removable media, set the link target as the new file to be previewed and update (fixes previews of .desktop files pointing to directories)
SVN revision: 77414
2012-10-04 09:15:22 +00:00
Mike Blumenkrantz 641e1f92fc fix magic fail with remember idler
SVN revision: 77413
2012-10-04 09:13:48 +00:00
Mike Blumenkrantz d2714fd77f show desktop filename in icon selection dialog
ticket #1237


SVN revision: 77411
2012-10-04 08:43:50 +00:00
Mike Blumenkrantz 4f4e5c2daa remember window restore cb is now an idler so we don't get a giant block of time where we're restoring dialogs without the user being able to do anything
SVN revision: 77410
2012-10-04 08:31:35 +00:00
Mike Blumenkrantz bdd879e7fc add new flag for preventing a window from being opened on restart by its remember, apply this to both the desktop editor and shelf config dialogs
SVN revision: 77407
2012-10-04 08:11:51 +00:00
Mike Blumenkrantz 282ac0777e fix filepreview when reusing same fprev and switching between txt and dir
SVN revision: 77406
2012-10-04 07:23:38 +00:00
Gustavo Sverzut Barbieri f683812053 fm preview: fix alignment and formatting string.
SVN revision: 77383
2012-10-03 18:40:59 +00:00
Mike Blumenkrantz 491c50d8a5 filepreview now does a partial preview of text files and shell scripts
SVN revision: 77370
2012-10-03 14:21:02 +00:00
Mike Blumenkrantz 0521c799fa next/prev xkb layout switch actions now properly set the current/selected kbd layout name
SVN revision: 77369
2012-10-03 13:46:11 +00:00
Mike Blumenkrantz 3a6943ce26 hide some file preview lines for directories
ticket #1585


SVN revision: 77366
2012-10-03 12:01:05 +00:00
Sebastian Dransfeld d9a641020c E: remove duplicate variable setting
It is set to 1 again just below.

SVN revision: 77365
2012-10-03 11:54:03 +00:00
Mike Blumenkrantz 42ff355bde use printf for this macro so we don't get log domain failures
SVN revision: 77364
2012-10-03 11:43:26 +00:00
Sebastian Dransfeld cf35adade9 E: Fix window hide
The idea of not deleting the borders of unmapped windows started with
r12777 to fix problems when changing virtual desktops. A lot of stuff
was added later to fix this problem, but this original fix has lived on.

When hunting down a mplayer bug raster commented in r14744:
"we need to re-enable the above. when clients hide windows they often
dont destory - keep around to do somethign else with. if we dont unmanage
then we have all sorts of problems believeing it still exists. bigger
problems than mplayer. :)"

So I guess the right thing to do is to destroy the borders of hidden
windows, fixes #917

SVN revision: 77363
2012-10-03 11:40:14 +00:00
Mike Blumenkrantz ac67283ec2 fix stringshare usage
SVN revision: 77360
2012-10-03 09:44:12 +00:00
Mike Blumenkrantz 3bf711b529 block going to parent directory on desktop using backspace key when desktop navigation is not enabled
SVN revision: 77359
2012-10-03 09:41:10 +00:00
Mike Blumenkrantz acdf03fecd this fixme isn't going to happen and our typebufs don't work like this
SVN revision: 77358
2012-10-03 09:23:12 +00:00
Mike Blumenkrantz 817bec21b1 prevent DND for systray gadgets in all cases
SVN revision: 77357
2012-10-03 09:19:26 +00:00
Mike Blumenkrantz b247496406 ton of xkb fixes:
* e will no longer lose your currently selected layout on restart
* desklock layout switching now works real güd
* new e_config values to determine current and current user-selected kbd layout
* wasted my entire morning doing this

ticket #1538



SVN revision: 77356
2012-10-03 09:00:12 +00:00
Stefan Schmidt 07d8a49d00 e17: Fix memory corruption in e_remember.
Inspired by Daniels ecore mem corruption patch I fixed our coccinelle support
scripts. This one was found by bad-alloc.cocci for example.

SVN revision: 77353
2012-10-03 08:45:40 +00:00
Sebastian Dransfeld cd7260094e e: remove trailing whitespace
SVN revision: 77350
2012-10-03 08:03:50 +00:00
Sebastian Dransfeld 6b479fae34 e: No need for was_fullscreen anymore
Fixed the issue with unfullscreen on desk change, and fullscreen on
focus is confusing.

SVN revision: 77349
2012-10-03 08:03:39 +00:00
Sebastian Dransfeld 5c97097053 e: Move variables to correct scope
SVN revision: 77348
2012-10-03 08:03:28 +00:00
Sebastian Dransfeld 32dc338e1a e: move check for border on desk
We only want to check if the border is on desk to handle
allow_above_fullscreen so move check here. Other code should always be
executed.

SVN revision: 77347
2012-10-03 08:03:17 +00:00
Sebastian Dransfeld 7cc4d1e501 e: Check allow_above_fullscreen earlier
SVN revision: 77346
2012-10-03 08:02:35 +00:00
Mike Blumenkrantz 4f93b748ac add max thumbnail size setting back, improve fileman config slider unit display
SVN revision: 77343
2012-10-03 06:41:32 +00:00
Mike Blumenkrantz f5dd030696 patch from rustyBSD fixing file moving to other devices
ticket #1581


SVN revision: 77342
2012-10-03 06:27:40 +00:00
Mike Blumenkrantz bec99c1d87 straggler from last commit
SVN revision: 77325
2012-10-02 14:04:38 +00:00
Mike Blumenkrantz 7aaa4e554c add another tab in desklock config to allow changing keyboard layout on desklock. EXPERIMENTAL!
ticket #1538


SVN revision: 77324
2012-10-02 14:04:04 +00:00
Sebastian Dransfeld e14715ca32 E: Adjust fullscreen layers
Always set fullscreen on top in presentation mode, ignore
allow_above_fullscreen.
Honour allow_above_fullscreen on mode change.

SVN revision: 77323
2012-10-02 13:11:46 +00:00
Sebastian Dransfeld 23c2d4ad14 e: Honour mode presentation on fullscreen set
SVN revision: 77322
2012-10-02 13:02:43 +00:00
Mike Blumenkrantz bb5380c3da add new language config dialog for setting a desklock language (NOT keyboard layout)
part of ticket #1538


SVN revision: 77321
2012-10-02 13:00:25 +00:00
Sebastian Dransfeld beb76614ac e: Adjust fullscreen stacking
Allow popups above fullscreen, unless presentation mode is set.

SVN revision: 77317
2012-10-02 12:53:38 +00:00
Mike Blumenkrantz 74909a465b formatting
SVN revision: 77313
2012-10-02 12:14:53 +00:00
Mike Blumenkrantz 42c7aa5975 avoid setting xkb variant as ',', just set as '' instead
SVN revision: 77311
2012-10-02 12:12:03 +00:00
Sebastian Dransfeld 4735da0b0c E: Revert change in layer to pos map
Seems there is a lot of code which is connected to the current mapping,
and no need to create a lot of fuzz because of one unused layer.

SVN revision: 77309
2012-10-02 12:02:02 +00:00
Mike Blumenkrantz 591a74834d video preview slider is now fully functional, and non-tooltip file previews for videos allow use of the slider to change position at any time
SVN revision: 77308
2012-10-02 11:53:00 +00:00
Mike Blumenkrantz 1b398f6a0c fix video preview slider position setting, still broken with at least ogv files
SVN revision: 77305
2012-10-02 11:46:03 +00:00
Mike Blumenkrantz 6cd52da692 only try to get resolution for thumbnails if the file is actually a loadable image
ticket #1582


SVN revision: 77301
2012-10-02 10:57:12 +00:00
Sebastian Dransfeld 744ec42648 e: Fix off by one.
pos can be 10, and we access window in pos + 1 == 11

SVN revision: 77300
2012-10-02 10:52:50 +00:00
Mike Blumenkrantz b262da0198 add video size to tooltip, fix video tooltip geometry, add a (broken because of ticket #1587) slider to show the current playback progress of the current video
SVN revision: 77299
2012-10-02 10:34:48 +00:00
Mike Blumenkrantz 9971b20cdb tweak video preview layout and attempt to set video length; currently broken because of ticket #1587
SVN revision: 77296
2012-10-02 10:03:53 +00:00
Sebastian Dransfeld 5969b88a6a e: cleanup env var setting
Return early if there is nothing to append/prepend.
Only add ':' if there are two elements to join.

SVN revision: 77295
2012-10-02 09:26:30 +00:00
Sebastian Dransfeld 436323bf59 e: cleanup layer handling
It seems people put random numbers as layers, so it is better to define
available layer numbers.

This patch also puts popups below fullscreen windows, as it sucks to get
popups during presentations. A better solution is maybe to put popups
above fullscreen, but have a presentation mode to put fullscreen windows
above popups?

SVN revision: 77293
2012-10-02 08:54:35 +00:00
Mike Blumenkrantz 2c950e2441 fix efm even/odd theming in directories with lots of files
ticket #1579


SVN revision: 77286
2012-10-02 08:31:09 +00:00
Mike Blumenkrantz 93d3c5f598 use correct format string here too
SVN revision: 77285
2012-10-02 08:05:47 +00:00
Mike Blumenkrantz ec28b54c4d greatly improve efm performance when loading large directories by reducing offscreen icon scan rate
SVN revision: 77284
2012-10-02 08:00:19 +00:00
Sebastian Dransfeld f2ac4219af e: correct layer for edge windows
Need a layer above fullscreen if fullscreen flip is to be able to work.

SVN revision: 77283
2012-10-02 07:23:27 +00:00
Mike Blumenkrantz 54d1715e58 debug printf--
SVN revision: 77272
2012-10-01 14:07:37 +00:00
Mike Blumenkrantz 4c09bb330f yet another gadget overhaul, this time fixing:
* gadget dragging over windows (ticket #1563)
* gadget dragging/resizing on the hover layer
* yet another gadget refcount bug
* lots of annoying inconsistencies when dragging around new desktop gadgets


SVN revision: 77271
2012-10-01 14:02:24 +00:00
Mike Blumenkrantz 45a916177f fix crash in e bindings from not using safe list iterator
SVN revision: 77268
2012-10-01 13:14:31 +00:00
Sebastian Dransfeld f2b9c969af e: Fix fullscreen and focus
iconifying fullscreen windows during focus change seems to be a bad
idea, as it triggers new focus events.

- Make window fullscreen
- Alt+Tab to new window
- Alt+Tab back
-> Window is still iconified
Can only get fullscreen window back by doing uniconify

Also switching desktops will result in a iconified window which the user
must hunt down (ticket #1550).

This should fix those issues.

SVN revision: 77259
2012-10-01 10:15:09 +00:00
Mike Blumenkrantz 8a7477d9a8 reflow some code
SVN revision: 77254
2012-10-01 08:54:36 +00:00
Mike Blumenkrantz 121fe0f8c7 remove some e_sys code which prevented umounting user-mounted devices when devices were not mounted as /media/$dev
SVN revision: 77252
2012-10-01 08:35:03 +00:00
Mike Blumenkrantz f810de58ff the "Slide pointer to newly-focused window" option now also slides pointer when closing a window changes focus
ticket #1551


SVN revision: 77245
2012-10-01 07:38:46 +00:00
Mike Blumenkrantz 2c53d5b46f ensure e modules end in .so before trying to open them
SVN revision: 77242
2012-10-01 07:30:06 +00:00
Vincent Torri 0f76b94fc8 E17:
some trivial changes.

I.   _e_fm_op_stdin_handler is unused, so -> removed.

II.  if we cannot malloc _e_fm_op_stdin_buffer, we
     are in big shit, so nullcheck.

III. Formatting.

IV.  if argc < 4 we quit, so we don't need to check
     if argc >= 4.

V.   removed 'ret' variables. They are useless and
     they were not in old revisions.

VI.  _e_fm_op_copy_atom always returns 1, so we don't
     need to always check and return 1.

Patch by Maxime Villard (rustyBSD)


SVN revision: 77221
2012-09-30 08:47:07 +00:00
rustyBSD 1093c09cab From: rustyBSD <rustyBSD@gmx.fr>
Subject: Re: [E-devel] E SVN: caro trunk/e/src/bin



SVN revision: 77216
2012-09-29 02:22:43 +00:00
Sebastian Dransfeld 336b70d246 e: unshade in shade direction
SVN revision: 77203
2012-09-28 12:25:30 +00:00
Sebastian Dransfeld 82f094feaa e: Apply styles to gtk application font
SVN revision: 77200
2012-09-28 12:04:34 +00:00
Sebastian Dransfeld 7c4fa48ab6 e: fix missing xcursor in e17
I discovered that at least for 1 week xcursor is not shown if it was
installed in system directory (/usr/share/icons), so i guess i will fix
a fix.

Fixes #1556

Patch by Sergei Kabanov

SVN revision: 77153
2012-09-27 13:02:18 +00:00
Carsten Haitzler dfb8541aad allow secure remove to be able to write multiple times... in theory...
but for now it's once. :)



SVN revision: 77147
2012-09-27 10:10:20 +00:00
Carsten Haitzler 17ce568685 lets "secure rm" with buffers of 64k per write and handle dangling
tail too.



SVN revision: 77146
2012-09-27 09:59:36 +00:00
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