Commit Graph

235 Commits

Author SHA1 Message Date
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
Luis Felipe Strano Moraes 2c70f0e1c9 Ops, fixing break done by r50927 (forgot to include these two files).
SVN revision: 50928
2010-08-09 14:27:10 +00:00
Luis Felipe Strano Moraes ccd543d75c Correcting small typo in eeze's configure.ac checks.
SVN revision: 50927
2010-08-09 14:19:05 +00:00
Mike Blumenkrantz e48c3cdc31 forgot to commit this earlier
SVN revision: 50699
2010-07-31 03:21:55 +00:00
Mike Blumenkrantz 81644c5029 some long overdue updates:
switch some variables to enum for debugging readability
doxy updates
some small leak fixes


SVN revision: 50690
2010-07-30 18:19:04 +00:00
Carsten Haitzler 0caf090e66 close after fdh del
SVN revision: 50671
2010-07-30 02:53:46 +00:00
Mike Blumenkrantz e9568abe33 sigh
SVN revision: 50163
2010-07-09 16:44:33 +00:00
Mike Blumenkrantz 718fb33521 remove copypasta
SVN revision: 50162
2010-07-09 15:59:49 +00:00
Christopher Michael 03b7bd2653 Move Eeze header to own dir.
SVN revision: 50148
2010-07-09 06:41:31 +00:00
Christopher Michael 5b724d6089 Fix for recent Ecore Api changes.
SVN revision: 49837
2010-06-24 18:04:01 +00:00
Gustavo Sverzut Barbieri ddb8c95fa9 SVN_REPO_PATH envvar during autoconf to use svnversion in there.
Some systems, like the Gentoo, copy the svn contents somewhere before
doing the autoconf, this may result in lack of .svn and thus minor
version "0".

This patch introduces the $SVN_REPO_PATH to say where the svn checkout
containing the ".svn" directory is.



SVN revision: 49594
2010-06-09 18:22:47 +00:00
Carsten Haitzler 6d4813c518 consistency - make it easy for next snap.
SVN revision: 49542
2010-06-06 18:06:14 +00:00
Carsten Haitzler a4769c42cb change svnversion shell goop to nuke sed and just use tr to delete
unwanted goop.



SVN revision: 49429
2010-06-04 01:04:24 +00:00
Iván Briano 6600f0c43f Let git-svn users get the right revision number to be used as version.
SVN revision: 49407
2010-06-03 07:40:54 +00:00
Mike Blumenkrantz 1774490b2f versioning stuff from rasties
SVN revision: 49353
2010-05-31 09:33:54 +00:00
Mike Blumenkrantz ca1a90eeee possibly compat for stupid other versions of udev
SVN revision: 49322
2010-05-30 07:09:59 +00:00
Mike Blumenkrantz 8512dd26db dox update, remove image of unknown source
SVN revision: 49153
2010-05-23 05:47:30 +00:00
Mike Blumenkrantz 25e5f5af08 some dox tweaks
SVN revision: 49151
2010-05-23 05:03:17 +00:00
Mike Blumenkrantz 54959ad476 dox overhaul, should be easier to navigate now
SVN revision: 49147
2010-05-22 21:44:26 +00:00
Mike Blumenkrantz 7ca4deb698 change cutoff for old udev to 148
SVN revision: 49145
2010-05-22 19:36:13 +00:00
Mike Blumenkrantz 05d050b029 maintainer clean is cleaner
SVN revision: 49144
2010-05-22 19:09:57 +00:00
Mike Blumenkrantz 41462f23ef forgot this, versioning
SVN revision: 49143
2010-05-22 18:58:27 +00:00
Mike Blumenkrantz 5223f0573d patch from vtorri for autotools, a couple compile warning shutups
SVN revision: 49142
2010-05-22 18:50:27 +00:00
Mike Blumenkrantz 6ad3256a01 completely change directory structure, lib name, includes, don't even bother trying to use this unless your e is the latest version
SVN revision: 49129
2010-05-22 07:04:00 +00:00
Mike Blumenkrantz c339222b25 versioning, descriptiong updates
SVN revision: 49124
2010-05-22 03:43:42 +00:00
Mike Blumenkrantz 2e71c06192 BIG change, api break (again).
watches now return an int value that can be can be bitwise checked with & to reduce usage of strcmp
overall memory allocation should be less (I think), some related bugs fixed along the way
small memory leak in test app that I'm too lazy/blind to figure out
**this should be the last commit that causes an api break


SVN revision: 49118
2010-05-22 01:55:14 +00:00
Mike Blumenkrantz 2133ccd144 fix compile error, add new private function to walk_get sysattr value, fix internal/removable drive detection
SVN revision: 49084
2010-05-21 05:18:24 +00:00
Mike Blumenkrantz e13e6ce071 pretty huge overhaul:
test app should be a bit more robust now
udev compat code is done (I think?)
added udev walk functions for easier device checking
fixed some potential segv in cases where errors checking was not complete enough


SVN revision: 49081
2010-05-21 04:11:58 +00:00
Mike Blumenkrantz 0cae05c2a8 add )
SVN revision: 49078
2010-05-20 21:28:43 +00:00
Mike Blumenkrantz 8b58afe33a fix private walk
SVN revision: 49077
2010-05-20 21:25:34 +00:00
Mike Blumenkrantz 683eafd4c8 attempted fix for temp sensors #1
SVN revision: 49072
2010-05-20 18:56:30 +00:00
Mike Blumenkrantz 6eabef2077 fix temp sensor finder
SVN revision: 49059
2010-05-20 08:28:57 +00:00
Mike Blumenkrantz e7baca25dc somehow I forgot a sysattr function...
SVN revision: 49058
2010-05-20 07:30:41 +00:00
Mike Blumenkrantz 9ec074719a add temp find to find by type
SVN revision: 49055
2010-05-20 05:34:08 +00:00
Mike Blumenkrantz db7da9bab1 add event filtering to watches
SVN revision: 49045
2010-05-20 04:28:05 +00:00
Mike Blumenkrantz c08f0d5d97 fix stringshare in watch
SVN revision: 48962
2010-05-18 06:14:07 +00:00
Mike Blumenkrantz 3cd8279021 re-add stringshare to monitor return, but now decrement refcount; this allows for direct pointer comparison
SVN revision: 48954
2010-05-18 01:50:43 +00:00
Mike Blumenkrantz b8821033ae pebkac
SVN revision: 48953
2010-05-18 00:18:45 +00:00
Mike Blumenkrantz d68a192abc possibly better error checking on watch_del
SVN revision: 48952
2010-05-18 00:17:13 +00:00
Mike Blumenkrantz 830db2243e fix battery/ac watches
SVN revision: 48951
2010-05-17 23:41:07 +00:00
Mike Blumenkrantz f135f009a5 hardcode variable names into watch cb for clarity
SVN revision: 48942
2010-05-17 08:14:02 +00:00
Mike Blumenkrantz 1b6703ce89 fix up init
SVN revision: 48941
2010-05-17 07:36:54 +00:00
Mike Blumenkrantz 567664a1a3 massive update. strbuf fixes, new functions, more compat for old udev, updates to test app, version bump, use config.h, split more functions into other files
SVN revision: 48935
2010-05-17 02:59:07 +00:00
Mike Blumenkrantz 264ca1658a fix a leak with strbuf
SVN revision: 48866
2010-05-14 18:02:43 +00:00
Mike Blumenkrantz 2301b57acf remove unnecessary stringshares
SVN revision: 48865
2010-05-14 17:55:03 +00:00
Mike Blumenkrantz 2fb9ac1f9e fix configure variable name
SVN revision: 48864
2010-05-14 17:10:40 +00:00
Mike Blumenkrantz 019bb06085 I know how to use loops, I swear!
SVN revision: 48860
2010-05-14 07:47:37 +00:00
Mike Blumenkrantz b79eccfc57 EVEN MORE OLD UDEV COMPAT ADGSGOUIGHAWEGAOUGAWEF
SVN revision: 48859
2010-05-14 07:36:43 +00:00
Mike Blumenkrantz 57092e9c95 reverse logic checking for compat code
SVN revision: 48858
2010-05-14 07:24:56 +00:00
Mike Blumenkrantz 87e0ecfaa7 even MORE compat code
SVN revision: 48857
2010-05-14 07:23:18 +00:00
Mike Blumenkrantz d04755d2a2 forgot loop increment!
SVN revision: 48856
2010-05-14 07:09:19 +00:00
Mike Blumenkrantz 77fa364241 more eudev->eeze_udev cleanup, add even more legacy udev code (hurgh)
SVN revision: 48854
2010-05-14 07:02:50 +00:00
Mike Blumenkrantz 0cccb61516 should work with old udev now I think?
SVN revision: 48850
2010-05-14 05:45:09 +00:00
Mike Blumenkrantz 90b028d63c move/rename all files/functions/variables to eeze_udev for proper namespacing
SVN revision: 48845
2010-05-14 05:21:52 +00:00
Carsten Haitzler 308c35adac ok - put it in the right spot
SVN revision: 48844
2010-05-14 04:56:07 +00:00
Mike Blumenkrantz 9f5af6d88e udev compile fix, try 3
SVN revision: 48843
2010-05-14 04:52:42 +00:00
Mike Blumenkrantz 62d16496f5 should fix udev compile issues?
SVN revision: 48842
2010-05-14 04:45:15 +00:00
Mike Blumenkrantz b5ecfed588 add define for udev compile and error case for no modules being built
SVN revision: 48841
2010-05-14 04:35:58 +00:00
Mike Blumenkrantz 767b9263f2 change EAPI define so vtorri doesn't get angry at me
SVN revision: 48837
2010-05-14 02:57:05 +00:00
Mike Blumenkrantz 9392349756 fix stupid formatting from buggy editor, fix all compiler warnings, fix bug with name filtering
SVN revision: 48827
2010-05-13 21:21:12 +00:00
Mike Blumenkrantz 0b3d445747 watches that use types will actually work now! also, documentation on ecore_fd_handlers is very misleading
SVN revision: 48825
2010-05-13 20:52:27 +00:00
Mike Blumenkrantz 7c1298ea04 watch changes:
event data is now returned
device/event strings are now deleted after callback is complete


SVN revision: 48813
2010-05-13 19:36:04 +00:00
Mike Blumenkrantz 7c28e4ce29 New lib for EFL: eeze! Bringing you the freedom to (hopefully) never need to learn external apis again!
So far only e_udev is complete, but more will be added.  Add stuff to the TODO or yell at me in irc if you want something in.
If anyone knows how to fix the doxygen css, I'd be most grateful!


SVN revision: 48808
2010-05-13 10:49:17 +00:00