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
eba65c10ee
changelog for 59458
...
SVN revision: 59460
2011-05-17 00:18:38 +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
Cedric BAIL
cb90b07d81
autogen: unobrk things.
...
SVN revision: 58668
2011-04-14 14:51:36 +00:00
Cedric BAIL
df4bef8bdf
autogen: improve detection of parameter change.
...
SVN revision: 58667
2011-04-14 14:03:46 +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
Vincent Torri
d459d96613
rename libtool version names to fit libtool doc
...
SVN revision: 58124
2011-03-27 18:15:09 +00:00
Christopher Michael
685daa2188
Eeze: Fix 'mount_point may by used uninitialized'.
...
SVN revision: 58076
2011-03-24 20:27:55 +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
Carsten Haitzler
543016a352
revert version change 999 -> 99. also e17 didnt even need it as it
...
produced no versioned .so files.
SVN revision: 57844
2011-03-18 07:35:19 +00:00
Sebastian Dransfeld
8dee8ac0ac
Set v_mic to 99 (less than 256) to please OS X
...
SVN revision: 57824
2011-03-17 13:12: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
Sebastian Dransfeld
75ea58e2e2
ignore++
...
SVN revision: 57576
2011-03-08 11:41:40 +00:00
Mike Blumenkrantz
e625aefa08
add gitignore
...
SVN revision: 57501
2011-03-03 16:41:10 +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
fa6231f7f2
fix missing ! because I'm a moron.
...
not backporting because this never gets installed anyway
no changelog update for the same reason
SVN revision: 57497
2011-03-03 15:52:43 +00:00
Cedric BAIL
74a5463b36
efl: add back touch on configure time generated file.
...
SVN revision: 57232
2011-02-22 10:29:28 +00:00
Cedric BAIL
810ce84f7e
efl: turn on cached result, that will reduce your configure time a lot !
...
SVN revision: 57213
2011-02-21 14:56:49 +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
4697916227
add new option for verbose to print some debug info, parse options a bit better, grab+use fstab mount opts where available
...
SVN revision: 56946
2011-02-11 03:12:34 +00:00
Mike Blumenkrantz
f53ca1a6ab
formatting
...
SVN revision: 56945
2011-02-11 03:11:09 +00:00
Mike Blumenkrantz
7d9ff2c338
only enable eeze 1.1 with libmount 2.18.0 for now
...
SVN revision: 56936
2011-02-10 21:11:54 +00:00
Daniel Juyung Seo
5372923677
dox.in update: elementary,evas,edje,ecore,eio,eet,eeze.
...
Sync authors in doc with AUTHORS.
Updated date to 2011.
SVN revision: 56926
2011-02-10 16:50:18 +00:00
Mike Blumenkrantz
345e17dbfa
demonstrate eeze_disk_mountopts_get for coverage
...
SVN revision: 56883
2011-02-09 21:36:37 +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
Mike Blumenkrantz
a2b2f60c07
slightly more descriptive error messages for TAsns who think mount apps magically know where disks should be mounted
...
SVN revision: 56875
2011-02-09 20:44:21 +00:00
Mike Blumenkrantz
5feb32f820
forgot a safety check here
...
SVN revision: 56873
2011-02-09 20:38:09 +00:00
Mike Blumenkrantz
259f8aad73
make text output slightly more descriptive to avoid false bug reports
...
SVN revision: 56714
2011-02-04 18:28:01 +00:00
Michael Jennings
5a1858d066
Add spec file. Don't install test program.
...
SVN revision: 56642
2011-02-02 03:12:08 +00:00
Mike Blumenkrantz
516fbcfae6
fix makefiles
...
q66: SPANK SPANK SPANK!
SVN revision: 56386
2011-01-29 21:17:44 +00:00
Carsten Haitzler
1bd97ec119
geeze. get year right! spank
...
SVN revision: 56378
2011-01-29 13:24:22 +00:00
Daniel Kolesa
31ffe80390
oh, forgot to get rid of this as well.
...
SVN revision: 56376
2011-01-29 11:39:09 +00:00
Daniel Kolesa
3e477c806a
No LIBUDEV_CFLAGS needed in Makefile.am, because that's already included in EEZE_CFLAGS. Having LIBUDEV_CFLAGS breaks building on systems without eeze_mount build.
...
SVN revision: 56375
2011-01-29 11:31:46 +00:00
Mike Blumenkrantz
c9e2fc434e
eeze 1.1 in trunk: disk mounting is now possible
...
SVN revision: 56362
2011-01-29 04:21:53 +00:00
Carsten Haitzler
0cb7271e97
aaaah farg. forgot the changelogs. fix.
...
SVN revision: 56359
2011-01-29 03:54:33 +00:00
Carsten Haitzler
96caa0a63b
svn goes to x.x.999.svnrev now. :)
...
SVN revision: 56355
2011-01-29 03:34:44 +00:00
Carsten Haitzler
4f5ec3a5bd
1.0 version magic. now leave these projects the hell alone in svn
...
until we have branches.
SVN revision: 56352
2011-01-29 03:05:22 +00:00
Carsten Haitzler
c2d14d60ec
been removing too many headers. fix warning.
...
SVN revision: 56187
2011-01-16 08:14:42 +00:00
Mike Blumenkrantz
e38d447210
add unistd.h and kill off another dead store
...
SVN revision: 56143
2011-01-15 20:25:44 +00:00
Mike Blumenkrantz
b4db71d32b
fix a dead store and make removable drive finds return non-usb devices as well
...
SVN revision: 56142
2011-01-15 20:24:13 +00:00
Mike Blumenkrantz
67d6542cc1
actually return the ret value
...
SVN revision: 56141
2011-01-15 20:14:40 +00:00
Vincent Torri
649f82964b
add guards in config.h to avoid multiple inclusions
...
SVN revision: 55949
2011-01-06 18:52:58 +00:00
Mike Blumenkrantz
d434bb981e
more fd fixes because I'm braindead today
...
SVN revision: 55904
2011-01-05 21:13:38 +00:00
Mike Blumenkrantz
3da7cbc47c
zero errno before open calls
...
SVN revision: 55902
2011-01-05 20:32:42 +00:00
Mike Blumenkrantz
1707697d8a
ecrustified for formatting
...
SVN revision: 55898
2011-01-05 18:46:32 +00:00
Mike Blumenkrantz
961244f70a
add O_RDONLY to open()
...
SVN revision: 55897
2011-01-05 18:44:55 +00:00
Mike Blumenkrantz
d47e3516da
on feedback from kay sievers, use open() to check for removable media presence
...
SVN revision: 55895
2011-01-05 18:42:49 +00:00
Vincent Torri
d8765063db
* fix DSO problem
...
* simplify a bit the autotools
* add the possibility to disable the test
SVN revision: 55499
2010-12-11 17:04:34 +00:00
Cedric BAIL
602241b004
* eina,eet,embryo,evas,ecore,edje,efreet,e_dbus,eeze: beta3 !
...
SVN revision: 55238
2010-12-04 00:50:58 +00:00
Mike Blumenkrantz
a5157e4a03
fix calloc usage
...
SVN revision: 54841
2010-11-22 23:04:45 +00:00
Cedric BAIL
70e488feff
* efl: beta2 !
...
SVN revision: 54507
2010-11-12 16:01:55 +00:00
Cedric BAIL
fe92fc087a
* eeze: this file is gone.
...
SVN revision: 54469
2010-11-11 18:06:03 +00:00
Iván Briano
4cd1f2ff09
I'm not drunk, I swear.
...
SVN revision: 53983
2010-10-29 11:17:25 +00:00
Mike Blumenkrantz
0ce8be2500
update
...
SVN revision: 53981
2010-10-29 07:47:17 +00:00
Mike Blumenkrantz
99ae8c89e4
backporting missed this, nice catch fidencio
...
SVN revision: 53755
2010-10-21 23:46:11 +00:00
Mike Blumenkrantz
04f30402ad
add extra filter from find_by_type to watches
...
SVN revision: 53752
2010-10-21 21:20:45 +00:00
Mike Blumenkrantz
71ec1ec5a4
backport some stuff from eeze 1.1:
...
lots of formatting cleanups
move udev extern into private header
another filter added to find_by_type to avoid some disks that randomly crop up with MOUNTABLE
SVN revision: 53745
2010-10-21 20:00:15 +00:00
Mike Blumenkrantz
ef1b10734e
no need to use get property when there are reasonable simple functions
...
SVN revision: 53729
2010-10-21 18:50:09 +00:00
Mike Blumenkrantz
58f5409b49
fix shutdown order too
...
SVN revision: 53507
2010-10-17 04:54:36 +00:00
Mike Blumenkrantz
395970c40c
update failure order
...
SVN revision: 53505
2010-10-17 04:48:39 +00:00
Mike Blumenkrantz
7ec6b64af8
include ecore
...
SVN revision: 53499
2010-10-16 23:01:33 +00:00
Mike Blumenkrantz
bac6759774
init ecore
...
SVN revision: 53498
2010-10-16 22:56:44 +00:00
Mike Blumenkrantz
f1d884900b
that's what I wanted to do, fix function
...
SVN revision: 53495
2010-10-16 20:03:36 +00:00
Mike Blumenkrantz
51aad7ad45
revert obviously wrong non-typo fix
...
I blame cold meds
SVN revision: 53494
2010-10-16 19:59:43 +00:00
Mike Blumenkrantz
95bbf40398
fix obvious typo which breaks devpath->syspath
...
SVN revision: 53493
2010-10-16 19:57:21 +00:00
Mike Blumenkrantz
bca689359d
designate udev color only
...
SVN revision: 53482
2010-10-16 04:45:23 +00:00
Mike Blumenkrantz
a6af8ecfd1
combine private headers
...
SVN revision: 53481
2010-10-16 04:42:34 +00:00
Mike Blumenkrantz
6614589c34
change internal log dom variable name
...
SVN revision: 53480
2010-10-16 04:38:11 +00:00
Mike Blumenkrantz
73e8abd5d9
handle some error conditions better to avoid segvs, add a little bit of info on watch creation failure, fix some return types to bools, clean up formatting failures
...
SVN revision: 53479
2010-10-16 04:18:26 +00:00
Mike Blumenkrantz
496e6350b2
giant doxy cleanup
...
SVN revision: 53478
2010-10-16 03:57:54 +00:00