Commit Graph

177 Commits

Author SHA1 Message Date
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
Davide Andreoli ebf52e3f5f Fix stringshare usage in eeze_udev_test
SVN revision: 51941
2010-09-07 10:48:25 +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
Christopher Michael ab6390cad3 Fix return values.
SVN revision: 51298
2010-08-18 17:05:29 +00:00
Carsten Haitzler 2bc24a316f eeze - 1.0.0 alpha ready.
SVN revision: 51185
2010-08-16 09:59:13 +00:00
Mike Blumenkrantz 0136fa4aed fix dead assigns for clang shutups
SVN revision: 50974
2010-08-10 20:44:57 +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
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
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 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 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 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 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