Commit Graph

171 Commits

Author SHA1 Message Date
Vincent Torri c3b0637802 e17: whitespaces--
SVN revision: 72561
2012-06-21 06:19:43 +00:00
Mike Blumenkrantz 6f83e8c10e final bug fixes for eeze mounting: ensure suid wrapper is set for eject, fix mount point deletion on ejecting, create mount point directories just before mounting to allow for correct permissions
SVN revision: 72479
2012-06-19 13:42:51 +00:00
Mike Blumenkrantz 7e43d22dad remove a probably-impossible case where efm's op slave would execute an undefined command without the user's knowledge
SVN revision: 72394
2012-06-18 12:54:07 +00:00
Mike Blumenkrantz 1f2732b978 whoops, forgot to make mounted devices user-readable with eeze mounting. fixed!
SVN revision: 72128
2012-06-14 12:46:32 +00:00
Mike Blumenkrantz f784bff213 replace e17 logging "system" with custom eina log domain
SVN revision: 72089
2012-06-13 15:17:23 +00:00
Mike Blumenkrantz a67288fda3 more stringshare usage fixes, also fix detection for drives which are ejectable (cdroms)
fixes ticket #691


SVN revision: 72023
2012-06-12 12:57:45 +00:00
Mike Blumenkrantz a69db85b60 only print confusing error message on confusing errors
SVN revision: 72022
2012-06-12 12:39:10 +00:00
Mike Blumenkrantz 119b00b51f only print error messages on real errors
SVN revision: 72021
2012-06-12 12:32:30 +00:00
Mike Blumenkrantz 4275e53f59 fix udisks stringshare usage, print some error messages on failure so I can tell wtf is going on
SVN revision: 72020
2012-06-12 12:21:16 +00:00
Mike Blumenkrantz 3ebff9189e fix detection for volumes which are their own storage parent; this fixes display for things like cdrom drives
also error hugely if disk mounting fails


SVN revision: 72013
2012-06-12 10:26:39 +00:00
Mike Blumenkrantz 6534bd32cf fix stringshare misuse
SVN revision: 72002
2012-06-12 09:29:45 +00:00
Mike Blumenkrantz 40d622e574 fix mount point deletion
SVN revision: 71999
2012-06-12 09:18:05 +00:00
Mike Blumenkrantz 36793fbc58 ignore internal drives with eeze mounting
SVN revision: 71996
2012-06-12 08:54:32 +00:00
Mike Blumenkrantz 508cfe9bd8 fix icon presentation with eeze mounting
SVN revision: 71993
2012-06-12 08:26:07 +00:00
Mike Blumenkrantz 3a017c0a79 eeze mounting now mounts to $E_HOME/fileman/$UUID, also reuse some code
SVN revision: 71991
2012-06-12 08:06:11 +00:00
Mike Blumenkrantz f54bdaab13 allow for cases where E_LIB_DIR may be NULL by using PACKAGE_LIB_DIR instead: this helps with debugging
SVN revision: 71990
2012-06-12 08:04:13 +00:00
Mike Blumenkrantz 892861da0a efm ipc now only tries to handle its own events instead of trying to take over the world
SVN revision: 71987
2012-06-12 07:57:40 +00:00
Mike Blumenkrantz 6ffa77d7f1 fix efm ipc read error
SVN revision: 71955
2012-06-11 15:00:18 +00:00
Mike Blumenkrantz 5111448060 formatting
SVN revision: 71954
2012-06-11 14:50:59 +00:00
Mike Blumenkrantz de934e4c55 abort if e_ipc connection can't be made, also return a value on exit...
SVN revision: 71953
2012-06-11 14:46:10 +00:00
Mike Blumenkrantz 4adf0b17e4 efm volume catch-all
SVN revision: 71948
2012-06-11 13:27:07 +00:00
Mike Blumenkrantz cd4539e642 more efm logging updates, only create signal handlers if they don't exist
SVN revision: 71947
2012-06-11 12:35:37 +00:00
Mike Blumenkrantz 33562f92a1 use eina_log for dbg messages, remove call to IdUsage which is never checked
SVN revision: 71943
2012-06-11 09:59:05 +00:00
Cedric BAIL 70d21a1f44 e: move everyone to use eina_file_direct_ls and friend.
NOTE: I think, but I am not sure yet, that only EFM should
do this kind of operation or it could hard lock E17.


SVN revision: 70546
2012-04-30 07:07:33 +00:00
Vincent Torri c30aaf8dde e17: remove some shadow variables
SVN revision: 70190
2012-04-15 08:09:56 +00:00
Vincent Torri c24b9f7aee whitespaces--
SVN revision: 70188
2012-04-15 07:21:00 +00:00
Sergei Kabanov 761fb56e5f From: Sergei Kabanov <s.kabanov@yahoo.com>
Subject: [E-devel] Fix udisks support  for e17

as per advice of  Michael Blumenkrantz
sending this patch for testing.
With this patch external devices have icons on desktop,
and devices can me mounted/unmounted/ejected.



SVN revision: 69827
2012-04-01 14:56:51 +00:00
Mike Blumenkrantz 0784943ae3 account for "" with getenv for hahas
SVN revision: 65390
2011-11-18 19:25:19 +00:00
Mike Blumenkrantz 8c9d0f0aa0 use helper macro for eeze scanner edd setup
SVN revision: 65389
2011-11-18 19:24:21 +00:00
Mike Blumenkrantz 330a63e43d try introducing a delay after starting eeze scanner to make socket connection more successful
SVN revision: 65382
2011-11-18 09:29:08 +00:00
Vincent Torri 3a2cdebbbf E17: fix eeze mount detection and build, reported by Jochen Schröder
SVN revision: 65368
2011-11-18 06:56:07 +00:00
Mike Blumenkrantz c2b9cb4b56 slightly better debug info for eeze scanner connection
SVN revision: 65361
2011-11-18 04:55:52 +00:00
Mike Blumenkrantz 65a1d27500 big eeze mounting overhaul: things will "probably" work now. status increment to 95% on http://trac.enlightenment.org/e/wiki/Release
SVN revision: 62881
2011-08-26 20:35:22 +00:00
Christopher Michael 1a13f8c26f E: Make E work with the new XCB stuffs. This breaks out e_alert into
it's own utility (as per raster's request/idea). Remove explicit
x_clags in Makefile.am(s) as they are no longer needed.

NB: I added some additional libs to the precache stuffs (even tho it's
not used right now). Also a newer e_main (more optimized).

NB: IF you are brave and want to test this, build evas w/ xcb, build
ecore w/ xcb, then rebuild E. Also, disable building opengl in both
evas & ecore (it's not ready for public consumption when paired w/ xcb).



SVN revision: 61680
2011-07-25 09:40:18 +00:00
Mike Blumenkrantz 8aacd8b006 in a hilarious turn of events, I had forgotten to commit the rest of this dso fix.
SVN revision: 60937
2011-07-02 12:01:24 +00:00
Mike Blumenkrantz 863390cde3 add check for mount success to counteract some eeze bug, unlink tmp mount point directory on umount/eject
SVN revision: 60867
2011-06-30 08:16:43 +00:00
Mike Blumenkrantz 3b5005cb82 whoops, broke this before commit and forgot to put it back
SVN revision: 60865
2011-06-30 07:02:36 +00:00
Mike Blumenkrantz 719917dbeb eeze mounting - 95% complete: needs some tweaks to get it working but I figured I'd commit now for people to play with since it shouldn't break anything...
SVN revision: 60855
2011-06-30 03:54:28 +00:00
Mike Blumenkrantz bcb9dd3cda fix ipc segv when other ecore exe callbacks are present
SVN revision: 60854
2011-06-30 03:16:56 +00:00
Mike Blumenkrantz 18835fd017 another null deref
SVN revision: 56149
2011-01-16 01:26:51 +00:00
Mike Blumenkrantz baa156f189 okay, so to check for udisks I've done the following:
1) set a signal handler to watch for udisks starting
2) check for udisks already running
3) send dbus method call to udisks regardless of run state
4) free error which is 100% guaranteed to occur
5) either pick up udisks from signal handler or from random dbus call
6) finally start efm
7) drink heavily.


SVN revision: 56055
2011-01-12 01:44:08 +00:00
Mike Blumenkrantz e232eefc31 this should activate udisks if it wasn't previously running
SVN revision: 56054
2011-01-11 23:38:42 +00:00
Carsten Haitzler d8f3611ab1 make udev/eeze mounting and volumes work on ubuntu 10.04... :)
SVN revision: 55993
2011-01-08 17:30:38 +00:00
Mike Blumenkrantz 8babc3a6f0 the futile struggle to avoid blank device labels continues
SVN revision: 55991
2011-01-08 06:40:41 +00:00
Mike Blumenkrantz 9865da8663 better removable media detection
SVN revision: 55990
2011-01-08 06:28:55 +00:00
Mike Blumenkrantz 3e6ccf89ee NULL out pointers after op completes or fails
SVN revision: 55988
2011-01-08 05:55:25 +00:00
Mike Blumenkrantz 8d90d154f8 fix drive type detection
SVN revision: 55987
2011-01-08 05:14:19 +00:00
Mike Blumenkrantz 7396fa5d00 add some initial detection for luks encrypted fs types
SVN revision: 55962
2011-01-07 00:47:49 +00:00
Mike Blumenkrantz 7f3afa0d00 only track removable drives, add workaround for devices which are their own parent device
SVN revision: 55921
2011-01-06 03:53:34 +00:00
Mike Blumenkrantz ef105564ba with this commit, udisks mounting is now fully functional (wfm!) and has a number of benefits over the HAL backend, such as being able to automount media that's in your fstab
dev notes: changes to efm were required for this to work since udisks doesn't report back a mount point upon executing a mount command, so the actual dir listing/display must
be delayed by another callback until we actually know where the disk is to avoid opening a random directory


SVN revision: 55916
2011-01-06 01:35:41 +00:00
Mike Blumenkrantz 97a5b973f0 remove old enum, rename to new enum values
SVN revision: 55915
2011-01-06 01:31:52 +00:00
Mike Blumenkrantz 7b67b48c1a disable annoying dbus printf, set disk mode to hal
SVN revision: 55914
2011-01-06 01:29:52 +00:00
Mike Blumenkrantz 7aff5821e4 update to match api break in eukit
SVN revision: 55907
2011-01-05 22:31:57 +00:00
Mike Blumenkrantz a1939f95f9 add correct include paths
SVN revision: 55882
2011-01-05 17:21:59 +00:00
Mike Blumenkrantz e85d66f3c8 more udisks fixes, don't expect this to be managing your removables right now.
SVN revision: 55877
2011-01-05 09:49:27 +00:00
Mike Blumenkrantz 6c313086eb avoid setting null icon strings and actually listen on the right dbus interface :/
SVN revision: 55871
2011-01-05 06:32:30 +00:00
Mike Blumenkrantz 625de7ceed fix unused warnings
SVN revision: 55867
2011-01-05 05:49:49 +00:00
Mike Blumenkrantz 2b140621a8 and lo, there was udisks mounting support. maybe.
SVN revision: 55865
2011-01-05 05:46:33 +00:00
Mike Blumenkrantz 71a495e686 whoops, forgot to include headers for udisks/eeze
SVN revision: 55864
2011-01-05 05:46:07 +00:00
Mike Blumenkrantz 080f88407c fix control reaches end of non-void function warnings as requested by errorfindinghorns
SVN revision: 55860
2011-01-05 04:35:19 +00:00
Mike Blumenkrantz 0041b7d1ef ecrustified for formatting
SVN revision: 55856
2011-01-04 20:19:04 +00:00
Mike Blumenkrantz 7bae8bd89b move e_fm_main_dbus*->e_fm_main_hal* again (I know I'm hilarious with my constant name changes)
implement hooks for udisks/eeze mount code to grab later
enlightenment_fm doesn't take any args, so error if any are specified
current priority is hal->udisks->eeze for mounting (only hal is implemented/enabled at present)


SVN revision: 55836
2011-01-04 02:17:40 +00:00
Carsten Haitzler 2c400712f8 re-enable utf8 for udf.. why was it disabled?
SVN revision: 54071
2010-11-01 02:09:34 +00:00
Lucas De Marchi 699dfa65a1 fix 'make distcheck'
By: Peter van de Werken <pwerken-e@a-eskwadraat.nl>



SVN revision: 53415
2010-10-14 17:19:37 +00:00
Mike Blumenkrantz ebd35ca204 reorder functions
SVN revision: 53330
2010-10-13 02:53:30 +00:00
Mike Blumenkrantz 33f0bae5cb e_fm2_dbus prefix is now e_fm2_device for upcoming seamless integration with eeze
SVN revision: 53328
2010-10-13 02:53:25 +00:00
Mike Blumenkrantz 82029fb513 small formatting/automake cleanups
SVN revision: 53327
2010-10-13 02:53:22 +00:00
Mike Blumenkrantz c54623f21f fix some values that should be stringshare compared because they're stringshares but this is something I should probably go back and fix later when I'm not drunk and eating taffy
SVN revision: 53130
2010-10-07 02:53:32 +00:00
Carsten Haitzler 5f713c865b fix... gah. formatting mess there.. and the real problem
using str1 == str2 instead of strcmp assuming all strings are
stringshared. dont ASSUME this unless you 100% KNOW for sure they are.

bad disco stu!



SVN revision: 53128
2010-10-07 00:04:19 +00:00
Mike Blumenkrantz 04662b3565 complete rewrite of all includes and file splitting to completely abstract dbus out of efm
SVN revision: 53051
2010-10-05 06:33:23 +00:00
Mike Blumenkrantz f9c6eb799c move efm to separate dir, update makefiles
SVN revision: 53050
2010-10-05 06:33:19 +00:00