Commit Graph

212 Commits

Author SHA1 Message Date
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
Mike Blumenkrantz addc8e47ed fix for new udev sigh
SVN revision: 53375
2010-10-13 18:56:36 +00:00
Mike Blumenkrantz 4e6e726145 hilarious typo that breaks the universe is now fixed
SVN revision: 53373
2010-10-13 18:34:03 +00:00
Mike Blumenkrantz aff2d12d35 removal
SVN revision: 53344
2010-10-13 08:22:58 +00:00
Mike Blumenkrantz 900242104f unify udev device creation to unclutter and significantly reduce codebase, some minor formatting fixes
SVN revision: 53333
2010-10-13 02:53:38 +00:00
Mike Blumenkrantz b98d451da0 tiny api addition to allow adding a data pointer to a watch
SVN revision: 53332
2010-10-13 02:53:35 +00:00
Mike Blumenkrantz 0e74073215 clean up includes and fix caps for log domain
SVN revision: 53331
2010-10-13 02:53:33 +00:00
Carsten Haitzler 49d3d36bde dont forget about eeze
SVN revision: 52995
2010-10-03 09:57:35 +00:00
Mike Blumenkrantz adb2af986b fix doxy list
SVN revision: 52508
2010-09-20 20:07:24 +00:00
Davide Andreoli ebf52e3f5f Fix stringshare usage in eeze_udev_test
SVN revision: 51941
2010-09-07 10:48:25 +00:00
Mike Blumenkrantz c09d90f6c6 error on udev that's too old
SVN revision: 51883
2010-09-04 11:59:19 +00:00
Mike Blumenkrantz 3ff8983830 update doc header to match readme
SVN revision: 51743
2010-08-30 08:20:09 +00:00
Sebastian Dransfeld a8fe3f85ec Don't double loop
SVN revision: 51728
2010-08-29 13:46:49 +00:00
Mike Blumenkrantz 2e1808f468 doxy update
SVN revision: 51479
2010-08-21 03:45:58 +00:00
Mike Blumenkrantz 10e27d2df0 new eeze logo!
SVN revision: 51306
2010-08-18 18:06:56 +00:00
Christopher Michael ab6390cad3 Fix return values.
SVN revision: 51298
2010-08-18 17:05:29 +00:00
Carsten Haitzler 2603aad450 80 colz!
SVN revision: 51192
2010-08-16 10:17:54 +00:00
Mike Blumenkrantz b5ab327f28 updated to no longer say embryo at the top
SVN revision: 51187
2010-08-16 10:11:25 +00:00
Carsten Haitzler 2bc24a316f eeze - 1.0.0 alpha ready.
SVN revision: 51185
2010-08-16 09:59:13 +00:00
Carsten Haitzler 5187bf3585 fix up copyings likewise. nicely standardised templateish.
SVN revision: 51150
2010-08-16 03:00:16 +00:00
Mike Blumenkrantz 0136fa4aed fix dead assigns for clang shutups
SVN revision: 50974
2010-08-10 20:44:57 +00:00
Cedric BAIL be44b17206 * eeze: fix configure with other locale.
SVN revision: 50941
2010-08-09 19:28:16 +00:00