Commit Graph

143 Commits

Author SHA1 Message Date
Mike Blumenkrantz 39e04f7f4c try something new for battery/ac detection. this may break some stuff, so ping me if your battery gadget stops working...
SVN revision: 61967
2011-08-01 20:30:29 +00:00
Mike Blumenkrantz 39dce75051 use correct list find function sigh
SVN revision: 61777
2011-07-26 21:19:08 +00:00
Mike Blumenkrantz 4170c601f3 only attempt an mtab lock if permissions are sufficient
SVN revision: 61774
2011-07-26 20:36:42 +00:00
Cedric BAIL afa692034f eeze: add v4l device discovery.
SVN revision: 61410
2011-07-15 17:28:13 +00:00
Mike Blumenkrantz cf430612a0 create mount point directory if it doesn't exist
SVN revision: 60866
2011-06-30 08:15:42 +00:00
Mike Blumenkrantz 9611111aba sync disk find/watch qualifiers
SVN revision: 60836
2011-06-29 19:53:11 +00:00
Mike Blumenkrantz f2caf4707c fix some segvs and drive detection
SVN revision: 60832
2011-06-29 18:53:38 +00:00
Michael Jennings 1461fec9ec Assorted build and spec fixes.
SVN revision: 60624
2011-06-23 07:01:45 +00:00
Mike Blumenkrantz 20634af237 remove unused variable
SVN revision: 60417
2011-06-17 04:00:28 +00:00
Mike Blumenkrantz 13673082e0 stat was a bad choice
SVN revision: 60355
2011-06-15 15:48:41 +00:00
Mike Blumenkrantz 34d9e153ba not sure what I was thinking when I did this the first time, simplify these functions considerably
SVN revision: 59568
2011-05-21 19:55:02 +00:00
Mike Blumenkrantz 1c79e6a54d greatly simplify eeze_init/shutdown by moving disk stuff to eeze_disk.c
SVN revision: 59567
2011-05-21 19:34:26 +00:00
Mike Blumenkrantz e1e525ae19 add helper udev function to browse children devices, use helper functions to get properties when not found in current disk device
SVN revision: 59566
2011-05-21 19:33:55 +00:00
Mike Blumenkrantz 1fb3a2469b huge bugfix patch for eeze 1.0 stuff: I fubared disk detection pretty hard initially, I think this fixes it all
SVN revision: 59458
2011-05-17 00:14:44 +00:00
Mike Blumenkrantz 89df67bbc2 add fallback methods for grabbing disk vendor/model/etc
SVN revision: 59457
2011-05-17 00:10:52 +00:00
Mike Blumenkrantz 98d5dd27aa in this commit, we learn the value of the '!' operator.
SVN revision: 59447
2011-05-16 12:09:47 +00:00
Mike Blumenkrantz c4b01dc22f account for canceled operations (no events for these), remove freed disks from event list
SVN revision: 59446
2011-05-16 11:32:11 +00:00
Mike Blumenkrantz d35ef797bc add docs for eject, fix some devastating typos in eject, eject now unmounts mounted disks before ejecting
SVN revision: 59445
2011-05-16 11:24:26 +00:00
Mike Blumenkrantz 775b86bccd add eject functions/events
SVN revision: 59443
2011-05-16 11:03:06 +00:00
Mike Blumenkrantz d05399250e trailing whitespace--
SVN revision: 59441
2011-05-16 10:38:47 +00:00
Mike Blumenkrantz f4665b0140 track all disk objects, fix typo in eeze optmap from earlier, catch and create external mount events
SVN revision: 59439
2011-05-16 09:52:16 +00:00
Mike Blumenkrantz 9989571099 forgot to add uid to the mount optmap
SVN revision: 59432
2011-05-16 02:16:26 +00:00
Mike Blumenkrantz 56b342ccc9 eeze_disk_cancel for canceling pending operations
SVN revision: 59430
2011-05-16 01:32:40 +00:00
Mike Blumenkrantz 7561260963 forgot eeze_disk_udev_get_parent earlier
SVN revision: 59429
2011-05-16 00:57:16 +00:00
Mike Blumenkrantz 9d11cdbc20 automatically apply iocharset=utf8 for jfs (NOT with FAT. causes corruption)
SVN revision: 59428
2011-05-16 00:13:42 +00:00
Mike Blumenkrantz 1856a909e3 add a mountopt flag for automatically adding uid
SVN revision: 59427
2011-05-16 00:06:41 +00:00
Mike Blumenkrantz ad7a0d33b0 apply mount wrapper to umount, use ecore_exe_run instead of pipe_run
SVN revision: 59426
2011-05-15 23:54:30 +00:00
Mike Blumenkrantz 6ff3f70d1b just use ecore_exe_run instead of pipe_run
SVN revision: 59425
2011-05-15 23:50:06 +00:00
Mike Blumenkrantz 970e932e85 fix failure from doxy migration script
SVN revision: 59423
2011-05-15 22:58:36 +00:00
Mike Blumenkrantz 58c89b619b new functions for applying a wrapper for (u)mount
SVN revision: 59422
2011-05-15 22:56:14 +00:00
Mike Blumenkrantz 4139d9282e use defines as their string value in printfs
SVN revision: 59421
2011-05-15 22:50:22 +00:00
Mike Blumenkrantz b821494eed reorder mount errors, add default handler
SVN revision: 59420
2011-05-15 22:34:03 +00:00
Mike Blumenkrantz f40368992f fix result code handling for mount: errors can be ORed
SVN revision: 59419
2011-05-15 22:32:17 +00:00
Mike Blumenkrantz 9ca9d4a0c5 update version number define
SVN revision: 59418
2011-05-15 22:31:54 +00:00
Mike Blumenkrantz 374df30b47 add some new functions for direct udev lookups on disk devices
SVN revision: 59412
2011-05-15 20:50:26 +00:00
Carsten Haitzler 3441c6f107 doxy -> .h
SVN revision: 58486
2011-04-08 10:43:13 +00:00
Mike Blumenkrantz f97e7c8d40 same for old libmount...
SVN revision: 58269
2011-04-02 03:30:56 +00:00
Mike Blumenkrantz a93764d3b7 null variable on shutdown
SVN revision: 58268
2011-04-02 03:05:00 +00:00
Christopher Michael 484f82ba3b Eeze: Fix 'syspath may be used uninitialized'.
SVN revision: 58075
2011-03-24 20:27:09 +00:00
Mike Blumenkrantz a02ceb683c +eeze_udev_syspath_get_devname, thanks to Clement Battin
SVN revision: 57854
2011-03-18 17:10:50 +00:00
Mike Blumenkrantz 8c29186b5a sed -i 's/[\t ]\+$//' **/*.{c,h}
SVN revision: 57709
2011-03-12 18:41:03 +00:00
Mike Blumenkrantz 6e1be20e6c +EEZE_UDEV_TYPE_NET, thanks to Clement Battin
SVN revision: 57708
2011-03-12 18:39:33 +00:00
Mike Blumenkrantz 27751d0921 fix bug with removing devices not passing filter in watches, part of bug pointed out by Clement Battin on ML
SVN revision: 57499
2011-03-03 16:30:45 +00:00
Mike Blumenkrantz 4337508836 add filter for exe events
SVN revision: 57000
2011-02-14 01:47:37 +00:00
Mike Blumenkrantz 04a0ecc263 disregard previous commit, must have been high
SVN revision: 56999
2011-02-14 01:32:40 +00:00
Mike Blumenkrantz 1914e41eb4 use an id pointer to differentiate eeze_mount events and avoid segvs
SVN revision: 56997
2011-02-14 00:50:29 +00:00
Mike Blumenkrantz 16b61622e6 support libmount 2.19, fix some bugs here and there, automatically grab fstab/mtab mount flags when using eeze_disk_mountopts_get with new libmount
SVN revision: 56947
2011-02-11 03:14:00 +00:00
Mike Blumenkrantz f53ca1a6ab formatting
SVN revision: 56945
2011-02-11 03:11:09 +00:00
Mike Blumenkrantz 9d811df5b2 switch EEZE_DISK_MOUNTOPT_DEFAULTS to a define
SVN revision: 56882
2011-02-09 21:36:14 +00:00
Mike Blumenkrantz 178cda4124 implement actual handling of mountopts, add utf8 to default mountopts, allow iso automounting in eeze_mount
+EEZE_DISK_MOUNTOPT_UTF8 = (1 << 2)
+EEZE_DISK_MOUNTOPT_NOEXEC = (1 << 3)
+EEZE_DISK_MOUNTOPT_NOSUID = (1 << 4)
+EEZE_DISK_MOUNTOPT_REMOUNT = (1 << 5)
+EAPI Eina_Bool      eeze_disk_mountopts_set(Eeze_Disk *disk, int opts);
+EAPI int            eeze_disk_mountopts_get(Eeze_Disk *disk);



SVN revision: 56879
2011-02-09 21:31:11 +00:00