Mike Blumenkrantz
327b69015b
make efm build without elm includes
2017-07-14 18:40:50 -04:00
Derek Foreman
73aecd73ab
Replace all timer_add with timer_loop_add
...
So yeah, I've literally used sed to replace every occurrence of
ecore_time_add() with ecore_timer_loop_add() because I'm reasonably
confident that no part of E has a legitimate need for timer based on the
exact current time.
It would be really nice if I'm not wrong. :)
The reason for this is the incredible spew of clock_gettime() calls I'm
seeing on an ARM system (that should have a vdso for gettime, but...)
This can amount to thousands of system calls per second.
#YOLO
2017-02-03 15:52:28 -06:00
Mike Blumenkrantz
dea3ae21ad
directly include e.h in efm device backends
...
fixes some compile errors related to include ordering
ref 68587276cf
2016-04-08 11:50:27 -04:00
Mike Blumenkrantz
471dcb24cb
__UNUSED__ -> EINA_UNUSED
...
this has been bugging me forever. __UNUSED__ is no longer a valid macro here.
2015-03-18 18:09:09 -04:00
Mike Blumenkrantz
5753b7a2dd
attempt to run eeze_scanner on failure to connect, not successful connect
...
ref T1612
2014-12-05 13:55:29 -05:00
Mike Blumenkrantz
a9806056fc
only attempt to start eeze_scanner a couple times before giving up
...
ref T1612
2014-12-05 13:55:29 -05:00
Mike Blumenkrantz
eacfb2a98e
store eeze_scanner connection poller to avoid creating an infinite number
...
ref T1612
2014-12-05 13:55:29 -05:00
Mike Blumenkrantz
5023d7eaa6
don't exit e_fm when eeze init fails, send RASTER mode instead
2014-12-05 13:55:29 -05:00
Mike Blumenkrantz
671a0d3b99
print more descriptive error messages when scanner connection fails, also don't exit() here
...
ref T1612
2014-12-05 13:55:28 -05:00
Mike Blumenkrantz
0202c19d49
add efm op to notify of device backend changes
2014-05-07 16:46:56 -04:00
Mike Blumenkrantz
e0df6b9095
bugfix: only set uid for eeze mounting of disks which are not native linux fstypes
...
T484
2013-12-31 14:12:24 -05: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
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
Mike Blumenkrantz
734ecb4dbb
safeties for eeze mounting
...
SVN revision: 74904
2012-08-06 07:43:49 +00:00
Mike Blumenkrantz
8ad9126253
don't need to care if eeze doesn't find a device serial
...
SVN revision: 74899
2012-08-06 07:02:31 +00:00
Mike Blumenkrantz
f5c44485a8
some more eeze mounting cleanups
...
SVN revision: 74812
2012-08-02 16:55:47 +00:00
Mike Blumenkrantz
65433e79ee
add extra check for volumes to avoid skipping ones we really want, also fix shadow warning
...
SVN revision: 74806
2012-08-02 14:57:05 +00:00
Mike Blumenkrantz
793145f2aa
pointers are fixed now so getting data is safe again
...
SVN revision: 74783
2012-08-02 07:05:36 +00:00
Mike Blumenkrantz
d84cdfe4f7
move eeze init check higher up so prefix doesn't leak
...
SVN revision: 74573
2012-07-30 10:17:03 +00:00
Mike Blumenkrantz
80f17bbcff
don't try to delete mount points from e_fm anymore
...
SVN revision: 74570
2012-07-30 10:11:41 +00:00
Mike Blumenkrantz
caa9f1b42b
eeze is now back to mounting to /media/$devnode using noexec and nodev, also we now send an error message in another failure case
...
SVN revision: 74567
2012-07-30 10:01:49 +00:00
Carsten Haitzler
d10f72eff5
get rid of duiplicate device icons with eeze+eeze-scanner+mount etc.
...
as i see both dev/sdX and dev/sdX1 as devices. delete the parent ones
if child partitions exist.
SVN revision: 74543
2012-07-29 10:30:00 +00:00
Christopher Michael
6152d0be40
E_FM: Remove unused variables and fix formatting for 80 columns.
...
SVN revision: 74299
2012-07-22 15:35:23 +00:00
Carsten Haitzler
58be84aa8e
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
2012-07-21 09:11:39 +00:00
Mike Blumenkrantz
db8156c94b
close eeze_scanner on efm shutdown if we started it
...
SVN revision: 73551
2012-07-11 06:41:19 +00:00
Mike Blumenkrantz
51cb146463
efm with eeze mounting should handle "unknown" devices more gracefully, also add some handling for udev CHANGE events
...
SVN revision: 73521
2012-07-10 10:43:28 +00:00
Mike Blumenkrantz
3fb0b9c5ff
unbork efm logging
...
SVN revision: 72996
2012-06-28 10:31:40 +00:00
Mike Blumenkrantz
045eeee554
proudly set the EFM_MODE_USING_EEZE_MOUNT flag so that we don't use gross EFM_MODE_USING_RASTER_MOUNT
...
SVN revision: 72854
2012-06-26 07:31: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
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
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
Vincent Torri
c24b9f7aee
whitespaces--
...
SVN revision: 70188
2012-04-15 07:21:00 +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
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
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