Commit Graph

6953 Commits

Author SHA1 Message Date
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
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
Mike Blumenkrantz def3fec3b3 reset efm new file marker+thread on path change
SVN revision: 76403
2012-09-10 12:52:41 +00:00
Mike Blumenkrantz f260b18c27 changing efm path to its current path is now correctly handled
SVN revision: 76402
2012-09-10 12:51:05 +00:00
Mike Blumenkrantz 90b9efbf77 another not-awaited efm feature: creating new files from the menu
SVN revision: 76401
2012-09-10 12:46:02 +00:00
Carsten Haitzler 2a363406b8 pointer screen switch fullscreen focus bug--
SVN revision: 76397
2012-09-10 12:22:16 +00:00
Mike Blumenkrantz 3243b919d4 group application and file properties in a submenu, clicking submenu item brings up file properties
SVN revision: 76393
2012-09-10 10:58:49 +00:00
Mike Blumenkrantz 2c44aabd4d pasting files into directories now properly obeys link_drop
SVN revision: 76391
2012-09-10 10:41:25 +00:00
Mike Blumenkrantz e7147dd081 prevent view mode from being changed in fsel and sidebar
SVN revision: 76390
2012-09-10 10:32:21 +00:00
Mike Blumenkrantz 2d0fc4a90b add method for disabling efm view mode items in efm widgets
SVN revision: 76389
2012-09-10 10:31:56 +00:00
Mike Blumenkrantz 723ad72963 prevent link drop targets (sidebar and favorites) from accidentally replacing a file within the target with a link to the same file
SVN revision: 76388
2012-09-10 10:23:58 +00:00
Mike Blumenkrantz d3ab905f13 prevent edge bindings from activating while they are activating
ticket #1469


SVN revision: 76386
2012-09-10 09:42:51 +00:00
Carsten Haitzler 05ed922ca5 move env var (PATH, LD_LIBRARY_PATH) fiddling to enlightenment_start
and append if u know what u are doing.



SVN revision: 76385
2012-09-10 09:34:01 +00:00
Mike Blumenkrantz c15989c37f rename E_FM2_MENU_NO_NEW_DIRECTORY -> E_FM2_MENU_NO_NEW, disable New menu in sidebar
ticket #1472


SVN revision: 76382
2012-09-10 09:03:21 +00:00
Mike Blumenkrantz 3eb3b755ea fix crashing when shelf config dialog is open and orientation is changed using a menu and then shelf config is changed and applied from the config dialog
SVN revision: 76376
2012-09-10 08:23:38 +00:00
Mike Blumenkrantz 60e1c09cc4 add E_LIST_HANDLERS_APPEND for simplifying adding event handlers to a list
SVN revision: 76375
2012-09-10 08:18:12 +00:00
Mike Blumenkrantz 118f61ab58 formatting
SVN revision: 76374
2012-09-10 08:16:24 +00:00
Mike Blumenkrantz d747ac76aa don't close shelf config dialog when changing orientation from menu
SVN revision: 76373
2012-09-10 08:04:09 +00:00
Mike Blumenkrantz ff67718c15 need to return a value in functions that return values!
SVN revision: 76370
2012-09-10 07:58:58 +00:00
Carsten Haitzler c7753e5e76 protect against null wd's in ilist.
SVN revision: 76355
2012-09-09 12:43:38 +00:00
Mike Blumenkrantz a9dd95b2c4 fix crash when changing settings in shelf config dialog which causes the shelf to be re-created
SVN revision: 76347
2012-09-08 19:43:45 +00:00
Mike Blumenkrantz a788723e41 set shelf autohide on creation, ensure autohide settings have been applied
ticket #1482


SVN revision: 76346
2012-09-08 19:23:25 +00:00
Carsten Haitzler 4639f361b3 more dpms /screensaver setting force set to work around an apparent
xorg bug.



SVN revision: 76342
2012-09-08 12:17:29 +00:00
Mike Blumenkrantz c61c107346 shelves now only watch all mouse events when autohide is set since a static shelf doesn't need to care about it; this will save some amount of cpu I guess
this also breaks the use of e,state,focused programs on non-autohiding shelves, but nothing I'm aware of has ever used this, sooooooo :)
also probably fixes ticket #1467


SVN revision: 76320
2012-09-07 18:59:43 +00:00
Mike Blumenkrantz 4e68cc3ceb avoid unnecessary comparisons from previous commit in some cases
SVN revision: 76317
2012-09-07 18:21:29 +00:00
Mike Blumenkrantz e841e2f920 grrrr yet another systray-related shelf autohiding bug
SVN revision: 76316
2012-09-07 18:16:23 +00:00
Mike Blumenkrantz eefe608050 use better codepath for refreshing shelf after config has changed
ticket #1465


SVN revision: 76312
2012-09-07 14:02:33 +00:00
Mike Blumenkrantz 620b6330cf add menu item to shelf menu to change orientation on the fly
SVN revision: 76311
2012-09-07 13:44:25 +00:00
Mike Blumenkrantz 97c96f891a add menu item variant of gadcon icon orient function
SVN revision: 76310
2012-09-07 13:43:44 +00:00
Mike Blumenkrantz 787017ca11 add E_GADCON_ORIENT_LAST for iterating
SVN revision: 76307
2012-09-07 13:16:29 +00:00
Mike Blumenkrantz 10a6ce56f6 move gadcon orientation icon setting code to e_util function
SVN revision: 76305
2012-09-07 13:11:45 +00:00
Mike Blumenkrantz 60c4343df4 new shelf starter dialog now brings up shelf contents dialog after adding a new shelf
SVN revision: 76304
2012-09-07 12:47:24 +00:00
Mike Blumenkrantz b9c6264992 new shelf menu item now brings up the new shelf starter dialog
SVN revision: 76303
2012-09-07 12:45:40 +00:00
Mike Blumenkrantz 86c58b136b move shelf add starter dialog to shelf internals and clean up shelf config dialog
SVN revision: 76302
2012-09-07 12:42:29 +00:00
Mike Blumenkrantz fdc67ec2db clarify advanced gadget config dialog tab names
SVN revision: 76300
2012-09-07 12:04:44 +00:00
Mike Blumenkrantz 6015463fdf when no shelves are present, we just show the add shelf menu item
SVN revision: 76299
2012-09-07 12:03:23 +00:00
Christopher Michael ee4fbda47a E: Make list resizable in New Gadcon Advanced config, and make ilist
use icons based on e_scale (for zmike) ;)



SVN revision: 76298
2012-09-07 11:24:12 +00:00
Mike Blumenkrantz 4c89c8ccb1 add mechanism for deleting gadcon configs, shelf deletion now triggers gadcon deletion, fix crash when renaming shelves, prevent shelves from being renamed to the same name as another shelf, fix bug where gadcon client ordering would increase infinitely when adding/removing/redrawing gadgets
SVN revision: 76297
2012-09-07 11:00:25 +00:00
Mike Blumenkrantz 54ea19dc37 delete shelf objects before event to trigger gadcon sub-events
SVN revision: 76292
2012-09-07 10:07:09 +00:00
Mike Blumenkrantz e0c57c8244 remove this misleading line: there is NEVER a zone here.
SVN revision: 76280
2012-09-07 07:08:48 +00:00
Mike Blumenkrantz b4f5a3c614 fix up new gadcon config dialogs to crash less and work better
SVN revision: 76257
2012-09-06 18:26:48 +00:00
Mike Blumenkrantz 0e414444b2 add flag to gadcons to mark them as being custom gadcons, don't refresh custom gadcons completely when repopulating, fix crash which occurred when gadcon container was deleted before gadcon
SVN revision: 76256
2012-09-06 18:26:09 +00:00
Mike Blumenkrantz a838447b64 some tweaks to gadget config dialog to make deletion work better in more cases
SVN revision: 76246
2012-09-06 14:20:52 +00:00
Mike Blumenkrantz e4b3f66a50 allow gadcon config dialog hook to set gadcon site
SVN revision: 76244
2012-09-06 13:31:38 +00:00
Mike Blumenkrantz 35a9214b2f prevent creation of multiple gadcon config dialogs
SVN revision: 76243
2012-09-06 13:14:48 +00:00
Mike Blumenkrantz 383e2a42d7 add generic gadcon config hook which can be used with any gadcon
SVN revision: 76239
2012-09-06 11:56:09 +00:00
Mike Blumenkrantz 09aecfb7a4 update gadget config advanced view to play more nicely with the basic view
SVN revision: 76238
2012-09-06 11:53:28 +00:00
Mike Blumenkrantz 3a3ac64542 rewrite gadcon config dialog to have an advanced view which allows deletion of non-loaded gadgets as well as adding multiple gadgets of the same type
SVN revision: 76237
2012-09-06 11:50:20 +00:00
Mike Blumenkrantz c66c6babeb add events for gadcon provider add/del
SVN revision: 76233
2012-09-06 09:28:53 +00:00
Mike Blumenkrantz 19b2f51f80 stringshare ilist widget item labels
SVN revision: 76232
2012-09-06 09:22:38 +00:00
Mike Blumenkrantz 0b9f1a9c17 add new events for gadcon clients being added/removed
SVN revision: 76225
2012-09-06 07:40:30 +00:00
Mike Blumenkrantz f6e3d4b08c allow object delfns to ref objects and defer deletion
SVN revision: 76222
2012-09-06 06:56:06 +00:00
Mike Blumenkrantz fb51746799 prevent e objects from achieving a negative refcount, possible during cleanup functions
SVN revision: 76220
2012-09-06 06:48:53 +00:00
Mike Blumenkrantz 0fc873f1b9 revert gadcon event thingy, this causes a stupid gadman bug crash which takes more than 5 mins to fix
SVN revision: 76203
2012-09-05 16:47:16 +00:00
Eduardo de Barros Lima 0537308565 Add missing actions for Maximize Left/Right
SVN revision: 76202
2012-09-05 16:06:35 +00:00
Eduardo de Barros Lima adac052c0a Actually fix unmaximize left/right
Revert previous commit and set correct values for E_MAXIMIZE_LEFT and
E_MAXIMIZE_RIGHT to save x and w values.


SVN revision: 76201
2012-09-05 15:15:13 +00:00
Eduardo de Barros Lima c112a36760 Fix unmaximize left/right
We need to save original x and width values in both cases.



SVN revision: 76200
2012-09-05 14:59:43 +00:00
Mike Blumenkrantz 0a50c49958 add events for gadcon populate/unpopulate
SVN revision: 76199
2012-09-05 14:17:43 +00:00
Mike Blumenkrantz f1e4a5909f add two new maximize modes: left and right
these will maximize a window to either the left or the right half of the screen, respectively
work started by etrunko in ticket #1422


SVN revision: 76198
2012-09-05 13:46:15 +00:00
Mike Blumenkrantz bdab9a3b16 fix typo which prevented gnome-terminal from ever being run by Open Terminal Here menu item
EFL: we don't just hate our competition, we break support for them


SVN revision: 76182
2012-09-05 09:41:45 +00:00
Mike Blumenkrantz 4c46169e0c allow efm directory first/last sorting to be disabled entirely, fix refresh when setting directory sorting
SVN revision: 76180
2012-09-05 08:51:11 +00:00
Mike Blumenkrantz 75e8629ebf another user suggestion: efm sorting by mtime
SVN revision: 76164
2012-09-05 06:41:42 +00:00
Mike Blumenkrantz 1fca248c55 another user request: sorting by size in efm
SVN revision: 76124
2012-09-04 10:47:39 +00:00
Mike Blumenkrantz 22de6ede9b efm extension sorting now obeys directories first/last
SVN revision: 76122
2012-09-04 10:37:42 +00:00
Mike Blumenkrantz 9677623402 set deleted border errors as critical
SVN revision: 76117
2012-09-04 09:50:42 +00:00
Mike Blumenkrantz 724f6d43d0 bump e module version after abi break yesterday
SVN revision: 76110
2012-09-04 07:03:42 +00:00
Mike Blumenkrantz b45316163f add menu function to activate currently active menu item
SVN revision: 76108
2012-09-04 07:01:09 +00:00
Mike Blumenkrantz 18fa14a855 add menu function for returning current active menu item
SVN revision: 76107
2012-09-04 06:17:38 +00:00
Mike Blumenkrantz 417fa43a16 e_dialog now tries to load passed icon buf as an edje file if util set fails
SVN revision: 76106
2012-09-04 06:16:55 +00:00
Mike Blumenkrantz d16172a0df igor was right...should localize the display name, not the internal usage
SVN revision: 76105
2012-09-04 05:21:41 +00:00
Mike Blumenkrantz 4e4c7b258c some trivial changes suggested by Maxime Villard <rustyBSD@gmx.fr>
SVN revision: 76104
2012-09-04 05:19:49 +00:00
Mike Blumenkrantz df9fd68281 ensure that confirm dialogs call either the yes or no function when they are closed even if a button is not pressed
SVN revision: 76102
2012-09-04 04:19:30 +00:00
Mike Blumenkrantz 2424eef275 formatting
SVN revision: 76101
2012-09-04 04:09:32 +00:00
Mike Blumenkrantz 93cc88b8b1 add efm option to sort files by extension
ticket #1436


SVN revision: 76014
2012-09-03 14:21:10 +00:00
Mike Blumenkrantz a8bc4ea2eb e_util_dialog_internal() now returns the dialog created
SVN revision: 76010
2012-09-03 12:51:30 +00:00
Mike Blumenkrantz e8ea288f04 unremove non-redundant code from fsel, only select first icon on non-select
SVN revision: 76009
2012-09-03 12:27:50 +00:00
Mike Blumenkrantz f384b3a1b3 localize the name of module categories so they can later be matched properly
SVN revision: 76008
2012-09-03 12:20:18 +00:00
Mike Blumenkrantz c67b4ffad8 add sorting submenu to efm view menu to allow sorting to be changed on the fly
SVN revision: 76002
2012-09-03 12:02:00 +00:00
Mike Blumenkrantz 315cc1a353 more module config debug
SVN revision: 76001
2012-09-03 11:40:45 +00:00
Mike Blumenkrantz cdf5da175d group default view mode with other view mode menu items
SVN revision: 75999
2012-09-03 10:59:48 +00:00
Mike Blumenkrantz 5625117baa clarify "Use default" view mode menu item
SVN revision: 75998
2012-09-03 10:48:49 +00:00
Mike Blumenkrantz 9ad8698ef1 debug info for locale module crash
SVN revision: 75997
2012-09-03 10:45:45 +00:00
Mike Blumenkrantz 1cabcb39f9 finally fix menu item alignment for efm ctxmenu items
this is a really stupid bug, but apparently using submenu callbacks in some situations (not all the time, that would be too easy) cause items to be misaligned


SVN revision: 75996
2012-09-03 10:36:22 +00:00
Mike Blumenkrantz 5e7a8a0892 SVN revision: 75698
SPANK SPANK SPANK, DO NOT COMMIT PATCHES YOU DO NOT UNDERSTAND OR HAVE NOT TESTED.


SVN revision: 75988
2012-09-03 09:39:30 +00:00
Mike Blumenkrantz 68ecf550e3 annotate unused variables properly
SVN revision: 75985
2012-09-03 09:17:31 +00:00
Mike Blumenkrantz 2d0c34fc28 another change I've been wanting to make for a long time: e_entry_dialog now has the data param first
SVN revision: 75983
2012-09-03 09:06:10 +00:00
Mike Blumenkrantz ae3dfcabca formatting
SVN revision: 75977
2012-09-03 08:44:46 +00:00
Mike Blumenkrantz 4c0fa2d381 big roundup commit fixing leaky submenus
SVN revision: 75973
2012-09-03 08:30:39 +00:00
Mike Blumenkrantz 5c3352c57f add function for changing a gadcon client's menu
SVN revision: 75971
2012-09-03 08:02:33 +00:00
Mike Blumenkrantz c4ae7b8a20 remove unused variable
SVN revision: 75970
2012-09-03 07:59:17 +00:00
Vincent Torri 4affcb18f5 E: use eina_bool and fix a fixme
patch by Maxime Villard (rustyBSD)

SVN revision: 75964
2012-09-03 07:44:49 +00:00
Mike Blumenkrantz 83dedfb1d5 remove unused variable
SVN revision: 75956
2012-09-03 07:05:30 +00:00
Carsten Haitzler 7d595adf7b work around x dpms bug which seems to forget about doing dpms 2nd time
around so force a reset of screensaver/dpms settings after coming out
of blank.



SVN revision: 75940
2012-09-02 07:37:24 +00:00
Carsten Haitzler 7a86fdce05 try patch over a focus issue where a window looks focused but isnt.
SVN revision: 75935
2012-09-02 03:17:54 +00:00
Carsten Haitzler 6e8a7eef7e fix fullscreen desk switching + iconify thing
SVN revision: 75934
2012-09-02 03:05:21 +00:00
Carsten Haitzler cb5e1e563b add hooks to override the old sys popup boxy things so comp can do
something fancy on suspend, resume, hibernate, logout, reboot,
shutdown. much nicer now. much more polished.



SVN revision: 75929
2012-09-01 14:56:16 +00:00
Mike Blumenkrantz 3f3466c415 fix crashing when deleting shelves
ticket #1439


SVN revision: 75924
2012-08-31 18:58:18 +00:00
Mike Blumenkrantz e440668ea8 e confirm dialogs no longer crash constantly
SVN revision: 75923
2012-08-31 18:53:26 +00:00
Mike Blumenkrantz c342111786 add support for picking files from the file preview panel, remove redundant path resolution code from fileselector, fix import dialog to use selected files when double clicked once again
SVN revision: 75883
2012-08-30 14:21:11 +00:00
Mike Blumenkrantz 058635072b fix longstanding leak in module config dialog
SVN revision: 75878
2012-08-30 12:21:30 +00:00
Mike Blumenkrantz 4a16ecf1c3 ARGHHH just spent an hour trynig to figure out why this was causing a crash! I hate whoever wrote this!!!!!
SVN revision: 75865
2012-08-30 10:18:33 +00:00
Mike Blumenkrantz d1b1e0be06 finally fix annoying null safety errors on shutdown
SVN revision: 75853
2012-08-30 08:44:00 +00:00
Mike Blumenkrantz b011625092 update module util version check message
SVN revision: 75848
2012-08-30 07:57:07 +00:00
Mike Blumenkrantz 8ac344d1e8 YET ANOTHER E_RANDR LEAK! ARGH!
SVN revision: 75842
2012-08-30 07:40:04 +00:00
Mike Blumenkrantz 2723262945 another e_randr leak
seriously, someone who knows how randr works needs to rewrite all of this


SVN revision: 75840
2012-08-30 07:25:05 +00:00
Mike Blumenkrantz 9a03e0085d fix longstanding-but-unnoticed issue where submenus would not always be freed, also related issue where active menus would be freed in the wrong order, resulting in double frees in very rare circumstances
SVN revision: 75839
2012-08-30 07:04:53 +00:00
Vincent Torri 08aa21eea9 E17: some alloc checks, and fix a case where we lost a pointer if realloc() fails
patch by Maxime Villard (rustyBSD)

SVN revision: 75838
2012-08-30 06:36:38 +00:00
Mike Blumenkrantz 470e744c0f add function to clear all delfns from e_object without calling (for hard mode players only)
SVN revision: 75837
2012-08-30 06:24:38 +00:00
Cedric BAIL 4de7c065af e: remove potential buffer overflow and make it more efficient.
Patch started by Maxime Villard (rustyBSD).


SVN revision: 75812
2012-08-29 07:14:05 +00:00
Mike Blumenkrantz 62e79c7af0 more randr code cleanups, fixing a leak and not turning arrays into lists
still a lot of really gross code here that someone needs to take a hammer to


SVN revision: 75791
2012-08-28 13:28:04 +00:00
Mike Blumenkrantz 46547f3e62 not sure what was going on here, but trying to double free what is now a null pointer is not a great choice
SVN revision: 75790
2012-08-28 13:26:51 +00:00
Mike Blumenkrantz cb7dd887b4 fix annoying flickering of submenus when moving mouse between submenu and parent
SVN revision: 75789
2012-08-28 12:52:17 +00:00
Mike Blumenkrantz 4f75c57c75 formatting
SVN revision: 75788
2012-08-28 12:41:17 +00:00
Mike Blumenkrantz fd1f67375e add missing consts
SVN revision: 75777
2012-08-28 10:54:58 +00:00
Carsten Haitzler 54b0ff4251 quick layer to pos mapper - copy from container.
SVN revision: 75775
2012-08-28 10:26:31 +00:00
Mike Blumenkrantz 1798ace14d break out file ctx actions into new submenu so the file menu doesn't get huge if there are multiple handlers for a mime/glob type
SVN revision: 75773
2012-08-28 10:17:00 +00:00
Mike Blumenkrantz ccad002a7b put this back so the list doesn't leak
SVN revision: 75768
2012-08-28 09:04:29 +00:00
Mike Blumenkrantz 916fd8e183 fix e_fm2_mime_handler_mime_handlers_get() to return const like it should and fix usages to prevent freeing handlers. whoever wrote this initially should come over here so I can deliver spankies.
SVN revision: 75767
2012-08-28 08:54:54 +00:00
Mike Blumenkrantz 45803968c5 free ctx action list as we add so we don't have to loop twice
SVN revision: 75766
2012-08-28 08:36:50 +00:00
Mike Blumenkrantz adc7b0bd98 not sure why this was inline
SVN revision: 75765
2012-08-28 08:33:58 +00:00
Mike Blumenkrantz 098e8723e0 fix efm mime actions to properly add a separator if there is an action which fails a test before an action that does not fail a test
SVN revision: 75764
2012-08-28 08:30:16 +00:00
Mike Blumenkrantz c94ce38fa4 fix leak when adding ctx menu items to efm
SVN revision: 75763
2012-08-28 08:23:11 +00:00
Mike Blumenkrantz 4c783428c4 formatting
SVN revision: 75762
2012-08-28 08:19:46 +00:00
Mike Blumenkrantz b71fd801bc remove printf from import dialog
SVN revision: 75761
2012-08-28 08:15:36 +00:00
Mike Blumenkrantz 4f5bf08c9a change Import button to Use on import dialog to make it more versatile
SVN revision: 75760
2012-08-28 08:14:13 +00:00
Mike Blumenkrantz 0dab993c45 add "hidden" flag for borders which is set only when border_hide(3) is called; this prevents borders from being automatically shown on desk change when previously hidden
SVN revision: 75757
2012-08-28 07:41:11 +00:00
Mike Blumenkrantz 540e94652e more dialog delete cleanups
SVN revision: 75755
2012-08-28 06:49:14 +00:00
Mike Blumenkrantz 33f252cc9c fix fix for grab dialog focus: null checks are important
ticket #1410


SVN revision: 75754
2012-08-28 06:48:28 +00:00
Mike Blumenkrantz 5acb47cc0c formatting
SVN revision: 75753
2012-08-28 06:36:35 +00:00
Carsten Haitzler ec5b963091 hyoyoung is right. put settings back. those were for a different thing
were click ALWAYS raises window even if on sloppy/pointer.



SVN revision: 75744
2012-08-27 23:19:14 +00:00
Carsten Haitzler e9bb93442d alas por yorrick i knew him well... ok - i was trying to isolate all
comp objects inot 1 layout per screen but we cant do this due to
objects spanning screens and thus requiring correct stacking, so stick
to simple stacking. yay.



SVN revision: 75734
2012-08-27 09:22:26 +00:00
Mike McCormack 840e05dd4a e: Fix shadow warning
Signed-off-by: Mike McCormack <mikem@ring3k.org>

SVN revision: 75710
2012-08-26 12:01:00 +00:00
Carsten Haitzler 34c321830a fix fsel preview to work again. :)
SVN revision: 75700
2012-08-25 11:58:16 +00:00
Carsten Haitzler 69a2d61f5d oops - nuke backtrace debug.
SVN revision: 75699
2012-08-25 11:13:45 +00:00
Vincent Torri f84af67928 E17: remove useless symlink (as we don't rename anymore) and remove useless function _e_fm_op_update_progress_report_simple()
Patch by Maxime Villard

SVN revision: 75698
2012-08-25 09:22:09 +00:00
Carsten Haitzler 95909021ea fix several focus issues with alt+tab, closing of windows etc.
SVN revision: 75697
2012-08-25 09:14:21 +00:00
Carsten Haitzler ada59ec667 fix key grab dialog the simple way - focus works afterwards
SVN revision: 75696
2012-08-25 09:13:33 +00:00
Carsten Haitzler cf863adc59 fix sorting to sort symlinks to dirs as if they are dirs...
SVN revision: 75695
2012-08-25 09:12:31 +00:00
Vincent Torri 4812a5f372 E: minor changes
* useless define
 * formatting and useless comment
 * fread() returns a number >= 0
 * symlink returns -1 on error

SVN revision: 75687
2012-08-24 22:18:43 +00:00
Mike Blumenkrantz de494950d0 only print module timing info for modules that successfully load
SVN revision: 75662
2012-08-24 13:34:25 +00:00
Mike Blumenkrantz bc6ec24ec1 no need for strcmp here since these are stringshared
SVN revision: 75658
2012-08-24 13:00:28 +00:00
Mike Blumenkrantz 77a97c35c3 set correct group for window_shaded action
SVN revision: 75650
2012-08-24 09:57:32 +00:00
Mike Blumenkrantz e525ed8e61 break out bindings resets into functions based on their type for more fine-grained binding resets
SVN revision: 75649
2012-08-24 09:51:37 +00:00
Mike Blumenkrantz 6294cb8353 create action names for actions which were missing them
SVN revision: 75648
2012-08-24 09:28:23 +00:00
Mike Blumenkrantz 7613e22a87 set shelves to clip to their zone when drawn on container, pop an error dialog when popup shelves with autohiding exist next to another zone
ticket #1362


SVN revision: 75646
2012-08-24 09:03:34 +00:00
Mike Blumenkrantz 2108b94570 don't check dialog changed if just creating dialog
SVN revision: 75640
2012-08-24 06:53:32 +00:00
Mike Blumenkrantz 3494f7db73 revert previous commit, ticket #daniel lied to me
SVN revision: 75609
2012-08-23 09:09:58 +00:00
Mike Blumenkrantz 177e3276ed sloppy focus does not require pointer warping
ticket #daniel


SVN revision: 75608
2012-08-23 08:58:35 +00:00
Vincent Torri 80e60a5fe3 E17: CPUID_MMX, CPUID_SSE and CPUID_SSE2 might already be defined (like on OpenBSD)
Patch by Maxime Vilard (rustyBSD)

SVN revision: 75600
2012-08-23 07:42:10 +00:00
Mike Blumenkrantz f5944a4eb3 fix crash in window_jump_to action
SVN revision: 75592
2012-08-23 06:44:23 +00:00
Carsten Haitzler 9737c38fb8 oops forgot to return ret.
SVN revision: 75553
2012-08-22 14:10:53 +00:00
Mike Blumenkrantz 09387b5106 add missing const to menu functions
SVN revision: 75548
2012-08-22 13:02:08 +00:00
Carsten Haitzler 28d0ae8d0e xkb lauout patch from jeremy! :)
SVN revision: 75543
2012-08-22 11:56:12 +00:00
Mike Blumenkrantz 043bbd8cb9 use current container if none passed to e_configure_registry_call
SVN revision: 75542
2012-08-22 11:52:53 +00:00
Carsten Haitzler f88ad21893 only found 1 place we dont zero out desklock pw asap after its not
needed anymore.



SVN revision: 75541
2012-08-22 11:41:08 +00:00
Carsten Haitzler 88aaed9233 yeah gustavo is right - shouldnmt paß click on if click to fcus and
click to raise are enabled but pass on is off. pass-on should be
single master.



SVN revision: 75540
2012-08-22 11:17:51 +00:00
Mike Blumenkrantz a8beb0950c fix usage of PATH_MAX when not working with files
SVN revision: 75518
2012-08-22 07:02:41 +00:00
Mike Blumenkrantz d58d12a1bd set grab dialog to be above other windows
SVN revision: 75500
2012-08-21 10:44:50 +00:00
Cedric BAIL 63a5a005f8 e: don't segv if we didn't get the window border at that point.
SVN revision: 75494
2012-08-21 09:14:59 +00:00
Vincent Torri 053476d676 E: managing overwrite when moving files
The rename() function deletes dest file if it exists,
so there is no overwrite handling. Instead of
testing a rename() and if it fails creating a task
to copy-delete the file, we directly create this
task, which handles overwrite.

Patch by Maxime Villard (rustyBSD)


SVN revision: 75489
2012-08-21 07:40:31 +00:00
Mike Blumenkrantz 98dca3d7b8 never activate clicked item if doing range/multi select
ticket #1365


SVN revision: 75486
2012-08-21 06:40:25 +00:00
Mike Blumenkrantz b6a8f51cba add e_bindings_reset() for resetting all bindings from e_config
SVN revision: 75465
2012-08-20 13:51:13 +00:00
Mike Blumenkrantz e2a7ada4b3 null check which hasn't affected anything yet
SVN revision: 75464
2012-08-20 12:37:41 +00:00
Mike Blumenkrantz d92aca85b8 grab dialog typo which hasn't affected anything yet
SVN revision: 75462
2012-08-20 12:35:35 +00:00
Mike Blumenkrantz 6896025d1a break out keybind matching and replace original usage
SVN revision: 75458
2012-08-20 09:10:31 +00:00
Mike Blumenkrantz a76c1f2b84 break out mouse/keyboard grab dialogs into e_grab_dialog to be reused more easily in other places, replace original instances with this dialog
also change key grab dialog to close if the mouse is clicked


SVN revision: 75456
2012-08-20 08:36:43 +00:00
Mike Blumenkrantz 2b43d66f9b fix type warning
SVN revision: 75450
2012-08-20 07:50:00 +00:00
Vincent Torri 25aa4e5a89 E: add overwrite handling.
Patch by Maxime Villard (rustyBSD)

SVN revision: 75436
2012-08-19 18:35:10 +00:00
Vincent Torri d9f3d89a07 E: remove useless op
we chmod the created symlink. It's useless, because
we use stat() which gives st_mode of pointed file/folder,
and then we use chmod(), which follows symlink; so we
are chmoding a file to the same permissions it had
before.

Patch by Maxile Villard

SVN revision: 75435
2012-08-19 18:27:18 +00:00
Vincent Torri d1577525fa E: fix locale on OpenBSD. Maybe other OS need similar fixes
Patch by Maxime Villard (rustyBSD)

SVN revision: 75434
2012-08-19 18:20:54 +00:00
Christopher Michael 84d21bd8e5 E: Comment out fprintf's remaining from someone's debug efforts ;)
SVN revision: 75433
2012-08-19 16:46:32 +00:00
Carsten Haitzler 9cc281f002 make filepreview for links and removable devices and mountpoints give
fs type, filesystem usage, size etc. etc. much more useful.



SVN revision: 75429
2012-08-19 13:28:51 +00:00
Christopher Michael d53e3ee139 E: Comment out fprintf.
Enough with the border focus printing already ;)



SVN revision: 75428
2012-08-19 13:27:45 +00:00
Carsten Haitzler 887dfcf3d9 e17 xkb patch building on ecore new event api. patch from:
http://trac.enlightenment.org/e/ticket/1306

but modified formatting and no theme changes.



SVN revision: 75410
2012-08-18 11:41:23 +00:00
Carsten Haitzler 40a67e9222 streamline gadget menu to move move item to main menu.
SVN revision: 75407
2012-08-18 10:54:02 +00:00
Carsten Haitzler 1739590e05 fix wad of focus issues with click-to-focus and alt+tab + fullscreen
windows.



SVN revision: 75399
2012-08-18 04:40:56 +00:00
Mike Blumenkrantz 8fbbb8c002 hopefully nobody noticed that this was completely broken when I first committed it
SVN revision: 75373
2012-08-17 08:33:46 +00:00
Mike Blumenkrantz 2580a8e278 add convenience typedef for shelf del event struct
SVN revision: 75372
2012-08-17 08:24:51 +00:00
Mike Blumenkrantz e63f8c7f4d add event for shelf deletion
SVN revision: 75371
2012-08-17 08:23:09 +00:00
Mike Blumenkrantz dd83f4a7d1 ensure that event mask is unset on parents of modal windows before applying previous mask
SVN revision: 75365
2012-08-17 08:00:46 +00:00
Carsten Haitzler 74df9a238b make invisible shelves work again... and actually fi the longer
standing bug of them not chanigng until a restart



SVN revision: 75339
2012-08-17 00:25:37 +00:00
Carsten Haitzler 07d131db85 fix atoms for zone geom. yay! works now.
SVN revision: 75316
2012-08-16 10:24:06 +00:00
Carsten Haitzler 7a5d5b5fa4 add zone geometry property to windows and keep it updated.
SVN revision: 75310
2012-08-16 09:29:42 +00:00
Carsten Haitzler 1edee7df77 make enlightenment_open use the same terminals config as e and sync
the code.



SVN revision: 75301
2012-08-16 03:36:50 +00:00
Carsten Haitzler 6efc2eb976 abstract the "get terminal desktop" code into util code and now use
from e_exec AND in efm - open terminal here menu item is there with
code to set your default terminal in default applications too.



SVN revision: 75290
2012-08-15 09:59:37 +00:00
Carsten Haitzler bd1e81be80 umm lets use xrandr first/ it SHOULD be better than going to /sys as a
primary backlight control.



SVN revision: 75288
2012-08-15 09:31:10 +00:00
Mike Blumenkrantz 3433a78ba2 gadcon util menu thingy now sets created menu to appropriate struct members to prevent unexpected behavior
SVN revision: 75282
2012-08-15 06:35:02 +00:00
Mike Blumenkrantz 8da7dd34b1 probably a good idea to actually delete menus when they hide instead of just praying for it
indirectly fixes ticket #1287


SVN revision: 75256
2012-08-14 12:39:19 +00:00
Mike Blumenkrantz b2ef5f76b1 avoid emitting shelf signals and toggling visibility constantly when shelf is already visible
SVN revision: 75253
2012-08-14 12:22:12 +00:00
Mike Blumenkrantz 75b991a76c shelf style is now properly applied during creation
SVN revision: 75246
2012-08-14 09:11:47 +00:00
Mike Blumenkrantz e9cb0d2085 gadget provider list is now sorted alphabetically
SVN revision: 75201
2012-08-13 09:51:50 +00:00
Mike Blumenkrantz 6cb077ac45 formatting
SVN revision: 75187
2012-08-13 06:51:24 +00:00
Carsten Haitzler 9924cc8a78 printf--
SVN revision: 75157
2012-08-11 12:18:39 +00:00
Christopher Michael c02739d6c0 E: Fix uninitialized variable warning.
SVN revision: 75112
2012-08-10 16:00:38 +00:00
Mike Blumenkrantz 95d0aa8d0b use animation hint to disable bg animation when setting a bg
SVN revision: 75096
2012-08-10 10:54:29 +00:00
Mike Blumenkrantz 63fcb74610 move animation hint into bg group so we can use a better codepath to check it
SVN revision: 75093
2012-08-10 10:49:56 +00:00
Mike Blumenkrantz f697879b23 add a hint in import config edj creation for disabling animation
SVN revision: 75092
2012-08-10 10:42:43 +00:00
Mike Blumenkrantz 163f21d4b5 don't need to close and reopen a file in import config dialog
SVN revision: 75087
2012-08-10 10:34:19 +00:00
Mike Blumenkrantz b4fdb00c96 use strdupa in import config dialog
SVN revision: 75085
2012-08-10 10:29:44 +00:00
Mike Blumenkrantz 2b9279ba81 convert some ints to size_t in e_sys_main
suggestion by rustyBSD@gmx.fr


SVN revision: 75084
2012-08-10 10:14:23 +00:00
Mike Blumenkrantz 45a7a3e283 fix shadow warnings
patch by rustyBSD@gmx.fr


SVN revision: 75083
2012-08-10 10:11:34 +00:00
Mike Blumenkrantz 74594f4c6d also hook dialog delete in entry dialog
SVN revision: 75081
2012-08-10 10:06:51 +00:00
Mike Blumenkrantz ffac12a5e1 forgot to hook dialog deletes in new import dialogs which led to a crash when keybinds were used. fix!
SVN revision: 75078
2012-08-10 09:53:11 +00:00
Mike Blumenkrantz 97faa73719 modal windows now properly block events on their parent windows
SVN revision: 75073
2012-08-10 08:59:05 +00:00
Mike Blumenkrantz 968fda6d06 formatting
SVN revision: 75070
2012-08-10 07:55:59 +00:00
Mike Blumenkrantz edf4cfa5da add case for net wm state change fetch flag to be set
SVN revision: 75069
2012-08-10 07:48:01 +00:00
Mike Blumenkrantz c0790f7d55 fix case of reparenting window where properties are just being set and window is not actually being reparented
SVN revision: 75068
2012-08-10 07:47:26 +00:00
Mike Blumenkrantz e3e11778fa wait till after module init is over before drawing gadgets so we can draw them all at once, also don't need to bind to frametime anymore with this
SVN revision: 75067
2012-08-10 07:02:02 +00:00
Mike Blumenkrantz 3c2e02bf8b prevent module init end event from getting canceled here
SVN revision: 75066
2012-08-10 06:55:41 +00:00
Carsten Haitzler e5b196862d fix shelf "fixups" on zone add/del.
SVN revision: 75064
2012-08-10 05:54:30 +00:00
Mike Blumenkrantz f6af7bd8d2 remove all traces of old and unused bg import dialog. whoever put a separate import dialog into e_utils.c, and the person who committed r44556 with the id "barbieri" on 2009-12-18 shall indeed remain nameless, decided to leave the other one hanging around. as a result, the one that he copied from the original sat around without being modified, and now ended up being removed instead of being properly integrated
SVN revision: 75052
2012-08-09 13:58:51 +00:00
Mike Blumenkrantz c8087e9533 set import config as child of import dialog; e_border bug pending with herohorns before this works properly again
SVN revision: 75050
2012-08-09 13:26:21 +00:00