Vincent Torri [Sat, 21 Jul 2012 18:20:19 +0000 (18:20 +0000)]
E17: fix race condition when copying a file
during the copy, the file can be accessed by users.
See http://cwe.mitre.org/data/definitions/689.html
So we apply the access rights after the creation of
the dest file.
Patch by Maxime Villard
SVN revision: 74284
Vincent Torri [Sat, 21 Jul 2012 18:02:07 +0000 (18:02 +0000)]
E17: fix typo
Patch by Maxime Villard
SVN revision: 74281
Vincent Torri [Sat, 21 Jul 2012 13:53:54 +0000 (13:53 +0000)]
check if the name has a 'file' part
SVN revision: 74266
Vincent Torri [Sat, 21 Jul 2012 13:51:04 +0000 (13:51 +0000)]
whitespaces--
SVN revision: 74265
Vincent Torri [Sat, 21 Jul 2012 13:48:35 +0000 (13:48 +0000)]
E17: symlink fixes
when copying symlinks, it creates a symlink to the
destination but with the name of the pointed file/folder.
It causes problems, ex: we can't copy two symlinks
pointing to the same file, because they will have the
same name.
Also when copying, if it's a link, we fill the destination
in the struct task, then, after we check overwrite with
_e_fm_op_handle_overwrite()
Here is a patch which corrects this.
Patch by Maxime Villard (rustyBSD), modified a bit by me (add 2 free() + formatting)
SVN revision: 74264
Carsten Haitzler [Sat, 21 Jul 2012 09:11:39 +0000 (09:11 +0000)]
dont look for socket file - just connect to see if eeze scanner is
ther. no need for delay as we are polling anyway to try run it every N
polls (i reduced to 8 as once it runs it no longer polls).
SVN revision: 74262
Mike Blumenkrantz [Sat, 21 Jul 2012 07:24:03 +0000 (07:24 +0000)]
add strdupa/strndupa definitions for vtorri
SVN revision: 74260
Carsten Haitzler [Fri, 20 Jul 2012 14:40:34 +0000 (14:40 +0000)]
update radial grad.
SVN revision: 74253
Carsten Haitzler [Fri, 20 Jul 2012 14:40:19 +0000 (14:40 +0000)]
that is bad code as rusty says - though fix it a different way.
SVN revision: 74252
Mike Blumenkrantz [Fri, 20 Jul 2012 13:30:58 +0000 (13:30 +0000)]
desklock now properly supports ctrl+a for those times when you know you mistyped your password
SVN revision: 74246
Mike Blumenkrantz [Fri, 20 Jul 2012 12:40:28 +0000 (12:40 +0000)]
add some basic window manipulation methods to enlightenment_remote + e
ticket #201
SVN revision: 74242
Mike Blumenkrantz [Fri, 20 Jul 2012 10:53:33 +0000 (10:53 +0000)]
I suppose this is a better way to ensure all the configs get properly updated, also remove the related FIXME
SVN revision: 74234
Mike Blumenkrantz [Fri, 20 Jul 2012 10:49:08 +0000 (10:49 +0000)]
make changes to toolbar and click mode take effect immediately in existing efm windows
SVN revision: 74233
Mike Blumenkrantz [Fri, 20 Jul 2012 10:41:09 +0000 (10:41 +0000)]
simply return when a filemanager's config is re-set instead of crashing
SVN revision: 74231
Mike Blumenkrantz [Fri, 20 Jul 2012 10:25:02 +0000 (10:25 +0000)]
fileman's "Use Single Click" option now toggles a global config option which is picked up by fileselector widgets, also added a menu item to the right click efm menu to toggle this on a case-by-case basis
ticket #663
SVN revision: 74230
Mike Blumenkrantz [Fri, 20 Jul 2012 10:16:08 +0000 (10:16 +0000)]
I accidentally the whole fileman when toolbar was enabled. I am shamefaced.
SVN revision: 74229
Mike Blumenkrantz [Fri, 20 Jul 2012 09:37:15 +0000 (09:37 +0000)]
fix some cases where zone/shelf handling was wrong and would lead to shelves being shown when they shouldn't
ticket #862
SVN revision: 74225
Mike Blumenkrantz [Fri, 20 Jul 2012 09:04:55 +0000 (09:04 +0000)]
some genius made it so that the fm widget in a fileman window would only be resized if there was a toolbar. this is now fixed, and files will once again display in efm without a toolbar
SVN revision: 74224
Christopher Michael [Fri, 20 Jul 2012 08:58:35 +0000 (08:58 +0000)]
Formatting.
SVN revision: 74222
Mike Blumenkrantz [Fri, 20 Jul 2012 08:54:14 +0000 (08:54 +0000)]
add e_util_size_debug_set() to allow easier size debugging of objects in e
SVN revision: 74221
Mike Blumenkrantz [Fri, 20 Jul 2012 08:41:32 +0000 (08:41 +0000)]
fix efm typebuf globbing to work for trailing globs
SVN revision: 74219
Mike Blumenkrantz [Fri, 20 Jul 2012 08:25:23 +0000 (08:25 +0000)]
fix tab completion and repeated typebuf navigation when using relative directories
SVN revision: 74218
Mike Blumenkrantz [Fri, 20 Jul 2012 08:15:50 +0000 (08:15 +0000)]
fix efm typebuf navigation when using relative directories instead of absolute paths, also fix tab completion
SVN revision: 74217
Mike Blumenkrantz [Fri, 20 Jul 2012 07:59:13 +0000 (07:59 +0000)]
prevent infinite looping while loading directory props in efm
SVN revision: 74214
Mike Blumenkrantz [Fri, 20 Jul 2012 07:52:53 +0000 (07:52 +0000)]
finally kill off the last of the e_icon_object_set uses;
this function was being abused in 100% of cases to do something other than the intended use of just setting an evas image into an e_icon. I've added e_icon_edje_object_set which is the edje version and will, hopefully, make things more clear and avoid confusion in the future
e_widget_image now calls the proper e_icon functions and is far less likely to trigger a magic failure
SVN revision: 74213
Mike Blumenkrantz [Fri, 20 Jul 2012 07:26:16 +0000 (07:26 +0000)]
set edje flag in e_icon for edje objects instead of always using strcmp to check
SVN revision: 74210
Mike Blumenkrantz [Fri, 20 Jul 2012 06:53:52 +0000 (06:53 +0000)]
in general, any time e_icon_object_set is used, it's wrong. e_icon doesn't handle these cases and fails in every case other than the initial _set() call.
SVN revision: 74209
Mike Blumenkrantz [Fri, 20 Jul 2012 06:44:59 +0000 (06:44 +0000)]
remove wildcard refs in efm typebuf on hide
SVN revision: 74208
Mike Blumenkrantz [Fri, 20 Jul 2012 06:31:41 +0000 (06:31 +0000)]
more typebuf fixes for "favorites" in efm
SVN revision: 74207
Mike Blumenkrantz [Fri, 20 Jul 2012 06:27:27 +0000 (06:27 +0000)]
also prevent typebuf changes on "favorites" widgets
SVN revision: 74206
Carsten Haitzler [Fri, 20 Jul 2012 04:48:59 +0000 (04:48 +0000)]
fix fm exec application remembering. :)
SVN revision: 74203
Carsten Haitzler [Fri, 20 Jul 2012 03:57:32 +0000 (03:57 +0000)]
after figuring out why my deskotp didnt screnblank... massively
simplify blanking/dpms etc. dialogs. just 1 timert. enabled
dpms/screensaver/the workjs. no interval settable. dpms always turned
on when screensaver is. dpmb dialog now only does backlight. added
checkbox to see current presentation mode status.
SVN revision: 74201
Mike Blumenkrantz [Thu, 19 Jul 2012 13:40:11 +0000 (13:40 +0000)]
"when I was a boy, all the file managers did glob matching with their typebufs, and they could do it uphill both ways in the snow! barefoot!"
-rasterman (18 July 2012)
SVN revision: 74190
Mike Blumenkrantz [Thu, 19 Jul 2012 13:22:22 +0000 (13:22 +0000)]
delete physics windows from hash when border is deleted
ticket #1187
SVN revision: 74189
Mike Blumenkrantz [Thu, 19 Jul 2012 13:15:33 +0000 (13:15 +0000)]
ensure focus is set when moving a window across zones
SVN revision: 74188
Mike Blumenkrantz [Thu, 19 Jul 2012 13:13:23 +0000 (13:13 +0000)]
fix fullscreen window moving using pager/bindings
ticket #1181
SVN revision: 74187
Mike Blumenkrantz [Thu, 19 Jul 2012 13:00:50 +0000 (13:00 +0000)]
ecore-x changes for shot module "because devilhorns said so"
SVN revision: 74185
Mike Blumenkrantz [Thu, 19 Jul 2012 12:45:05 +0000 (12:45 +0000)]
fix window shots to work correctly all the time
SVN revision: 74183
Mike Blumenkrantz [Thu, 19 Jul 2012 10:31:34 +0000 (10:31 +0000)]
add space handling, also make enter key actually save shots
SVN revision: 74178
Mike Blumenkrantz [Thu, 19 Jul 2012 10:02:26 +0000 (10:02 +0000)]
long-awaited, much-requested feature: shot module now takes shots of windows
*available from border menu
*binding action also available
SVN revision: 74177
Mike Blumenkrantz [Thu, 19 Jul 2012 09:19:06 +0000 (09:19 +0000)]
forgot that we do data param first in callbacks...
SVN revision: 74173
Mike Blumenkrantz [Thu, 19 Jul 2012 09:05:34 +0000 (09:05 +0000)]
add mechanism for injecting entries into border menus
SVN revision: 74172
Mike Blumenkrantz [Thu, 19 Jul 2012 08:48:16 +0000 (08:48 +0000)]
properly set and change the title of border properties depending on which properties are being viewed
SVN revision: 74171
Mike Blumenkrantz [Thu, 19 Jul 2012 08:44:39 +0000 (08:44 +0000)]
border properties dialog now looks much nicer and doesn't take up the whole screen
SVN revision: 74170
Mike Blumenkrantz [Thu, 19 Jul 2012 08:30:26 +0000 (08:30 +0000)]
prevent focus on entry widgets in window properties dialog
SVN revision: 74169
Mike Blumenkrantz [Thu, 19 Jul 2012 08:17:54 +0000 (08:17 +0000)]
use new efm widget clipper externalizer to make the overlay span both efm widgets so that longer paths would not be clipped when typing in the typebuf
SVN revision: 74167
Mike Blumenkrantz [Thu, 19 Jul 2012 08:16:42 +0000 (08:16 +0000)]
add method for setting the efm widget overlay clip to an external clipper
SVN revision: 74164
Gustavo Sverzut Barbieri [Thu, 19 Jul 2012 04:39:25 +0000 (04:39 +0000)]
enlightenment welcomes elementary.
Now it's possible to do elm_win_add() from your e_modules and use all
elementary features instead of painful e_widgets.
We should consider this experimental, but after e17 is out we should
start to convert dialogs and such to elementary, eventually
deprecating e_widgets and the theme duplication.
NOTE: requires r74156 with elementary patch.
I'll send an email to the list with a simple patch to skel module to
demo this.
SVN revision: 74157
Mike Blumenkrantz [Wed, 18 Jul 2012 14:11:43 +0000 (14:11 +0000)]
fix window remembers dialog to display current (correct) remember settings instead of making up random values
ticket #808
SVN revision: 74074
Mike Blumenkrantz [Wed, 18 Jul 2012 13:44:58 +0000 (13:44 +0000)]
basic border remember mode defines are now actually the modes that they represent; no functional changes
SVN revision: 74071
Mike Blumenkrantz [Wed, 18 Jul 2012 13:25:38 +0000 (13:25 +0000)]
also raise+focus border selection dialog if already present
SVN revision: 74070
Mike Blumenkrantz [Wed, 18 Jul 2012 13:21:53 +0000 (13:21 +0000)]
when a locks/remembers setting window is already open, raise+focus it when trying to open the dialog again instead of doing nothing
SVN revision: 74068
Mike Blumenkrantz [Wed, 18 Jul 2012 13:02:43 +0000 (13:02 +0000)]
formatting
SVN revision: 74067
Mike Blumenkrantz [Wed, 18 Jul 2012 13:00:16 +0000 (13:00 +0000)]
only register mixer module actions once a gadget for the mixer is created to prevent users from trying to use these actions when they cannot actually be used (mixer actions use mixer gadget's config to determine channel to change volume on)
SVN revision: 74066
Mike Blumenkrantz [Wed, 18 Jul 2012 12:43:04 +0000 (12:43 +0000)]
use slightly more concise descriptions of basic window lock settings
SVN revision: 74065
Mike Blumenkrantz [Wed, 18 Jul 2012 12:33:49 +0000 (12:33 +0000)]
also fix up window locks -> advanced to not suck
SVN revision: 74063
Mike Blumenkrantz [Wed, 18 Jul 2012 12:03:41 +0000 (12:03 +0000)]
make advanced window remembers dialog look much nicer
SVN revision: 74061
Mike Blumenkrantz [Wed, 18 Jul 2012 11:32:55 +0000 (11:32 +0000)]
formatting
SVN revision: 74058
Mike Blumenkrantz [Wed, 18 Jul 2012 11:31:09 +0000 (11:31 +0000)]
formatting
SVN revision: 74057
Mike Blumenkrantz [Wed, 18 Jul 2012 09:47:03 +0000 (09:47 +0000)]
always use correct zone when creating a new shelf
probably fixes ticket #1159
SVN revision: 74055
Carsten Haitzler [Wed, 18 Jul 2012 09:15:08 +0000 (09:15 +0000)]
fix comp bug when comp module just unloaded - leaving hidden windows
exposed.
SVN revision: 74054
Mike Blumenkrantz [Wed, 18 Jul 2012 08:46:12 +0000 (08:46 +0000)]
set void as params for e_border_client_list()
SVN revision: 74053
Mike Blumenkrantz [Wed, 18 Jul 2012 07:21:26 +0000 (07:21 +0000)]
fix fullscreen/maximize window zone/desk movement which use actions and pager
ticket #1181
SVN revision: 74047
Mike Blumenkrantz [Wed, 18 Jul 2012 07:20:25 +0000 (07:20 +0000)]
save fullscreen policy for borders when a window fullscreens
SVN revision: 74046
Mike Blumenkrantz [Wed, 18 Jul 2012 07:08:42 +0000 (07:08 +0000)]
fix bug with mouse screen move actions which prevented them from properly wrapping screen 0 to screen MAX
SVN revision: 74044
Mike Blumenkrantz [Wed, 18 Jul 2012 06:52:43 +0000 (06:52 +0000)]
cleanups for screen_send_by action, no functional changes
SVN revision: 74038
Mike Blumenkrantz [Wed, 18 Jul 2012 06:48:16 +0000 (06:48 +0000)]
evry warn--
SVN revision: 74037
Mike Blumenkrantz [Wed, 18 Jul 2012 06:47:03 +0000 (06:47 +0000)]
fix format string type warning
SVN revision: 74036
Carsten Haitzler [Wed, 18 Jul 2012 03:46:35 +0000 (03:46 +0000)]
oops used vertical not radial gradient for bg - fix.
SVN revision: 74035
Carsten Haitzler [Wed, 18 Jul 2012 03:42:24 +0000 (03:42 +0000)]
lighten up the greays in these new bgs after seeing some other
people's crappy screens. something i noticed.
my screen displays gresy all the way down to about 0 where they
finally get black. light greys stay grey auntil almost 255. BUT...
here is the clincher. on the "crappy screens" i sawy.. black starts at
16 and white starts at 240. they literally lose 12.5% of the color
range at the extremes and thus a lot seems to just blend into black to
white and ultimately look bad especially if you are playing down in
the subtlle ends of the spectrum. so let's just assume people all have
crap screens and lighten dark things. :( how sad. also this assumes
people are incapable of or do not know how to adjust/fix the screen
color gammut. it may also be the screen does a crappy job of fixing
this itself (eg uses limtied 8bit mapping inside the screen where it
should be color correcting with a much higher fidelity using its
built-in temporal/spatial dithering logic it already has! crappy
screens!)
SVN revision: 74034
Cedric BAIL [Wed, 18 Jul 2012 02:26:41 +0000 (02:26 +0000)]
e: forgotten module for setting up desk lock/unlock applications.
SVN revision: 74033
Cedric BAIL [Wed, 18 Jul 2012 02:26:11 +0000 (02:26 +0000)]
e: e_configure dialog now sort on priority then label.
SVN revision: 74032
Mike Blumenkrantz [Tue, 17 Jul 2012 14:11:38 +0000 (14:11 +0000)]
clean up screen_send_to action: no functional changes
SVN revision: 73980
Cedric BAIL [Tue, 17 Jul 2012 13:33:21 +0000 (13:33 +0000)]
e: add scripting feature to lock/unlock require some tests.
SVN revision: 73979
Mike Blumenkrantz [Tue, 17 Jul 2012 12:10:49 +0000 (12:10 +0000)]
use new time str function to more accurately approximate file move/copy operation ETA
ticket #1178
SVN revision: 73977
Mike Blumenkrantz [Tue, 17 Jul 2012 12:10:18 +0000 (12:10 +0000)]
add e_util_time_str_get() to convert a time value in seconds to a string approximation
SVN revision: 73976
Mike Blumenkrantz [Tue, 17 Jul 2012 12:07:12 +0000 (12:07 +0000)]
warn--
SVN revision: 73975
Mike Blumenkrantz [Tue, 17 Jul 2012 11:40:58 +0000 (11:40 +0000)]
change "Uncover" in winlist settings to "Uniconify/Unshade" to be more descriptive
ticket #261
SVN revision: 73973
Mike Blumenkrantz [Tue, 17 Jul 2012 10:48:30 +0000 (10:48 +0000)]
better handling for invalid file extensions (we only support jpg and png) when specified in shot module's save dialog
ticket #1160
SVN revision: 73972
Mike Blumenkrantz [Tue, 17 Jul 2012 10:33:09 +0000 (10:33 +0000)]
don't follow focus jump with tab if typebuf is shown
this should be the last of the fixes to close ticket #279
SVN revision: 73971
Mike Blumenkrantz [Tue, 17 Jul 2012 10:32:01 +0000 (10:32 +0000)]
formatting
SVN revision: 73970
Mike Blumenkrantz [Tue, 17 Jul 2012 10:27:53 +0000 (10:27 +0000)]
only recognize wallpaper widget focus jumping from tab key when typebuf isn't visible
SVN revision: 73969
Mike Blumenkrantz [Tue, 17 Jul 2012 10:27:15 +0000 (10:27 +0000)]
add method for checking if typebufs are visible in fsel widget using methods added in my previous commit that I cleverly did not mention to confuse my future self when I again go to work on this code
SVN revision: 73968
Mike Blumenkrantz [Tue, 17 Jul 2012 10:26:05 +0000 (10:26 +0000)]
full, working tab completion for efm widgets, also slightly decrease typebuf hide timer to 3.5s from 5.0s: this was just way too long
SVN revision: 73967
Mike Blumenkrantz [Tue, 17 Jul 2012 10:01:16 +0000 (10:01 +0000)]
support "~/" in efm typebufs
SVN revision: 73966
Mike Blumenkrantz [Tue, 17 Jul 2012 09:50:38 +0000 (09:50 +0000)]
whoops, left some debug in
SVN revision: 73965
Mike Blumenkrantz [Tue, 17 Jul 2012 09:49:53 +0000 (09:49 +0000)]
efm widgets now support realtime path evaluating/changing using the typebuf
SVN revision: 73964
Mike Blumenkrantz [Tue, 17 Jul 2012 08:54:33 +0000 (08:54 +0000)]
use int(0) not Eina_Bool(0) to terminate a string, also we don't actually have to do all this freeing and reallocating
SVN revision: 73961
Mike Blumenkrantz [Tue, 17 Jul 2012 08:47:54 +0000 (08:47 +0000)]
remove broken focus hook settings from wallpaper import dialog
SVN revision: 73960
Mike Blumenkrantz [Tue, 17 Jul 2012 08:45:01 +0000 (08:45 +0000)]
use efm typebuf signal to echo typing into fsel entry, also set focus on files selector
SVN revision: 73959
Mike Blumenkrantz [Tue, 17 Jul 2012 08:44:08 +0000 (08:44 +0000)]
smart callback for efm widget typebuf change
SVN revision: 73958
Mike Blumenkrantz [Tue, 17 Jul 2012 08:34:31 +0000 (08:34 +0000)]
no, seriously...stop focusing filepreview internal widgets
SVN revision: 73956
Mike Blumenkrantz [Tue, 17 Jul 2012 08:31:39 +0000 (08:31 +0000)]
add functions for selecting first/last file
SVN revision: 73955
Mike Blumenkrantz [Tue, 17 Jul 2012 08:31:00 +0000 (08:31 +0000)]
warn--
SVN revision: 73954
Mike Blumenkrantz [Tue, 17 Jul 2012 08:26:22 +0000 (08:26 +0000)]
when a widget is disabled, don't try to focus it, also some focus chain outdenting
SVN revision: 73953
Mike Blumenkrantz [Tue, 17 Jul 2012 08:04:51 +0000 (08:04 +0000)]
ensure no part of filepreview widget is focusable
SVN revision: 73952
Mike Blumenkrantz [Tue, 17 Jul 2012 07:02:27 +0000 (07:02 +0000)]
this use of timers in efm was not the smartest I've seen, and it caused an abort. spankies to someone
SVN revision: 73950
Lucas De Marchi [Tue, 17 Jul 2012 06:57:34 +0000 (06:57 +0000)]
e: update .gitignore
SVN revision: 73948
Mike Blumenkrantz [Tue, 17 Jul 2012 06:57:27 +0000 (06:57 +0000)]
fix all cslider widget warnings and a drag bug
SVN revision: 73947
Carsten Haitzler [Tue, 17 Jul 2012 06:47:10 +0000 (06:47 +0000)]
update of wallpapers. again. let's see how well this goes down.
SVN revision: 73946