Commit Graph

6773 Commits

Author SHA1 Message Date
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 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
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 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 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 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 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 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 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 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 14157cd05b even more not-asked-for features: dnd scrolling for efm
SVN revision: 76617
2012-09-13 15:21:41 +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 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 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
Mike Blumenkrantz 1cdea8bab9 block XDS drops in link_drop targets
SVN revision: 76593
2012-09-13 08:53:18 +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
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 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 8f0aa351f8 reflow some code
SVN revision: 76536
2012-09-12 15:02:12 +00:00
Mike Blumenkrantz 2b41e37c30 const cleanup
SVN revision: 76530
2012-09-12 13:39:43 +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
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
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
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 0922fa95c5 formatting
SVN revision: 76450
2012-09-11 09:07:54 +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