Joachim Nilsson
1f9558059a
API change -- Remove first ctx argument and add event mask to callback
...
There really does not exist a good reason for us sending a `uev_ctx_t *`
pointer as the first argument to event callbacks. If the callback needs
to reference the context, it can find the ctx pointer in the `uev_t *w`.
This patch removes the first argument from all callbacks and also fixes
a slight bug in that the event loop never returned the actual event that
triggered the callback!
Signed-off-by: Joachim Nilsson <troglobit@gmail.com >
2015-06-09 13:10:20 +02:00
Joachim Nilsson
3b31079a1c
README: Refactor API section in an attempt to make it more accessible.
...
Signed-off-by: Joachim Nilsson <troglobit@gmail.com >
2015-03-29 09:31:14 +02:00
Joachim Nilsson
bfd046054b
Slight update before release.
...
Signed-off-by: Joachim Nilsson <troglobit@gmail.com >
2015-03-04 10:54:32 +01:00
Joachim Nilsson
cd4daf0d36
README: Update API section with new _start() functions.
...
Signed-off-by: Joachim Nilsson <troglobit@gmail.com >
2015-02-15 18:42:56 +01:00
Joachim Nilsson
5ecc6d64b4
Move test.c and joystick.c to examples/
...
Signed-off-by: Joachim Nilsson <troglobit@gmail.com >
2015-02-15 18:13:09 +01:00
Joachim Nilsson
3192923687
Add another notice to the API section, again highlighting signalfd caveats!
...
Signed-off-by: Joachim Nilsson <troglobit@gmail.com >
2015-02-04 20:36:32 +01:00
Joachim Nilsson
006eed0033
Improve Markdown linking to make the text version more readable.
...
Signed-off-by: Joachim Nilsson <troglobit@gmail.com >
2015-01-25 13:10:24 +01:00
Joachim Nilsson
66194a8645
Update Introduction with cautionary warning about signalfd.
...
Signed-off-by: Joachim Nilsson <troglobit@gmail.com >
2015-01-24 14:27:32 +01:00
Joachim Nilsson
0f18e4fcc0
Minor update.
...
Signed-off-by: Joachim Nilsson <troglobit@gmail.com >
2015-01-22 01:22:56 +01:00
Joachim Nilsson
2a6697d514
Add ToC and some kbd markup
...
Signed-off-by: Joachim Nilsson <troglobit@gmail.com >
2015-01-11 14:04:48 +01:00
Joachim Nilsson
82d0b0dcb8
Add Coverity Scan integration.
...
Signed-off-by: Joachim Nilsson <troglobit@gmail.com >
2015-01-07 01:42:38 +01:00
Joachim Nilsson
8e1f384c38
README: Minor cleanup, after comments by @vonj
...
Signed-off-by: Joachim Nilsson <troglobit@gmail.com >
2015-01-06 22:50:09 +01:00
Joachim Nilsson
3094ef2887
README.md: Last update, possibly. Mostly tweaks and cleanup.
...
Signed-off-by: Joachim Nilsson <troglobit@gmail.com >
2014-12-31 02:19:20 +01:00
Joachim Nilsson
e50f8aee94
Yet another API section update.
...
Signed-off-by: Joachim Nilsson <troglobit@gmail.com >
2014-12-30 21:22:05 +01:00
Joachim Nilsson
0bf22de8e0
More API section updates.
...
Signed-off-by: Joachim Nilsson <troglobit@gmail.com >
2014-12-30 21:13:34 +01:00
Joachim Nilsson
78d140f310
Cleanup API.
...
Signed-off-by: Joachim Nilsson <troglobit@gmail.com >
2014-12-30 21:08:38 +01:00
Joachim Nilsson
e681657ca7
Syntax highlight API on GitHub
...
Signed-off-by: Joachim Nilsson <troglobit@gmail.com >
2014-12-30 21:04:02 +01:00
Joachim Nilsson
e707d24290
Update README on the uev_run() flags parameter and slight fixes.
...
Signed-off-by: Joachim Nilsson <troglobit@gmail.com >
2014-12-30 21:02:45 +01:00
Joachim Nilsson
d352e176dc
Minor spell check fixes and additions.
...
Signed-off-by: Joachim Nilsson <troglobit@gmail.com >
2014-12-30 19:53:56 +01:00
Joachim Nilsson
93d9d06802
First cleanup of README after comments by @vonj, more to come ...
...
Signed-off-by: Joachim Nilsson <troglobit@gmail.com >
2014-12-30 19:36:18 +01:00
Joachim Nilsson
59afe57995
Minor update to README
...
Signed-off-by: Joachim Nilsson <troglobit@gmail.com >
2014-12-28 21:54:40 +01:00
Joachim Nilsson
1dfdc875d7
Update README
...
Signed-off-by: Joachim Nilsson <troglobit@gmail.com >
2014-12-28 21:36:01 +01:00
Joachim Nilsson
3d93de3806
Update REAMDE
2013-08-06 14:12:54 +02:00
Joachim Nilsson
1b34da7a1a
Update REAMDE
2013-08-06 02:15:41 +02:00
Joachim Nilsson
ed22e88c81
Update README
2013-07-22 20:45:10 +02:00
Joachim Nilsson
f590237403
Update README
2013-07-21 11:55:07 +02:00
Joachim Nilsson
ab8c70d501
Slight reorder and renaming to clarify, also update README.
2013-07-20 22:48:52 +02:00
Joachim Nilsson
0bba080660
Initial import of Flemming Madsen's LibUEvent
...
This fork is called libuev and will focus solely on embedded Linux
systems using C. Patches for other UNIX-like operating systems are
welcome.
- Remove Lua support, will not be used.
- Rename from LibUEvent to libuev where applicable
- Add project's MIT license to top of all files, as is customary
- Add a LICENSE file, as is customary
This MIT licensed code was cloned from the Mercurial repository at
Google http://code.google.com/p/libuevent/ which had mislabled the
license as "New BSD License", which is wrong. The actual license
of the project is https://en.wikipedia.org/wiki/MIT_License
Signed-off-by: Joachim Nilsson <troglobit@gmail.com >
2013-07-18 23:37:07 +02:00