Joachim Nilsson
8a4e8c4af6
ChangeLog: Fix cut-and-paste error in Markdown link.
...
Signed-off-by: Joachim Nilsson <troglobit@gmail.com >
2015-07-02 13:21:21 +02:00
Joachim Nilsson
950015715d
Update ChangeLog and bump version for v1.2.1 release!
...
Signed-off-by: Joachim Nilsson <troglobit@gmail.com >
v1.2.1
2015-07-02 13:19:32 +02:00
Joachim Nilsson
fb6ac1ecac
Also install queue.h, dito needed by external plugins.
...
Signed-off-by: Joachim Nilsson <troglobit@gmail.com >
2015-06-18 08:43:20 +02:00
Joachim Nilsson
0909decabc
Make sure to also install new private.h, unfortunately necessary.
...
Signed-off-by: Joachim Nilsson <troglobit@gmail.com >
2015-06-18 08:37:37 +02:00
Joachim Nilsson
3452fbd381
Default to -fPIC, bloats archives slightly, but works for everyone.
...
Signed-off-by: Joachim Nilsson <troglobit@gmail.com >
2015-06-18 02:24:14 +02:00
Joachim Nilsson
f64561b708
Cleanup: fix install/uninstall of both static and dynamic builds.
...
Signed-off-by: Joachim Nilsson <troglobit@gmail.com >
2015-06-18 02:14:15 +02:00
Joachim Nilsson
b94023faed
Reflow paragraphs to match original line breaks, no change in licensing terms!
...
While comparing the library layout with libite, I noticed how the
formatting of the license paragraphs in all source files had been
garbled. This patch restores the orginal line breaks.
Note: Only whitespace changes, no change in licensing terms!
Signed-off-by: Joachim Nilsson <troglobit@gmail.com >
2015-06-18 01:36:48 +02:00
Joachim Nilsson
6637804b80
Merge pull request #5 from vonj/master
...
O_CLOEXEC does not exist in Debian 6 GLIBC/EGLIBC, use EPOLL_CLOEXEC instead.
2015-06-13 19:42:27 +02:00
jakob
361b013da5
O_CLOEXEC does not exist in Debian 6, and apparently EPOLL_CLOEXEC is the correct to use anyway.
2015-06-13 19:32:34 +02:00
Joachim Nilsson
052b08e0b5
Followup to fix indentation, leading tabs, then spaces.
...
Signed-off-by: Joachim Nilsson <troglobit@gmail.com >
2015-06-09 15:51:07 +02:00
Joachim Nilsson
ca803bb12f
Move private data members and methods from uev.h to private.h
...
Signed-off-by: Joachim Nilsson <troglobit@gmail.com >
2015-06-09 15:46:19 +02:00
Joachim Nilsson
6397edc2c4
Update ChangeLog and bump version for v1.2.0 release.
...
Signed-off-by: Joachim Nilsson <troglobit@gmail.com >
v1.2.0
2015-06-09 13:18:39 +02:00
Joachim Nilsson
cbd962c5b6
Fix bench.c so it actually reads from the pipe/socket, update callback API
...
Signed-off-by: Joachim Nilsson <troglobit@gmail.com >
2015-06-09 13:14:49 +02:00
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
9e7f6865fc
uev_timer_set(): Bugfix, call uev_watcher_start() even if not running yet!
...
Signed-off-by: Joachim Nilsson <troglobit@gmail.com >
2015-06-09 13:05:55 +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
63697e9eda
Add support for building static-only libuev.
...
Signed-off-by: Joachim Nilsson <troglobit@gmail.com >
2015-03-06 21:33:49 +01:00
Joachim Nilsson
ce3930f0cf
Update .gitignore, dep files now named *.d
...
Signed-off-by: Joachim Nilsson <troglobit@gmail.com >
2015-03-04 15:55:44 +01:00
Joachim Nilsson
bfd046054b
Slight update before release.
...
Signed-off-by: Joachim Nilsson <troglobit@gmail.com >
v1.1.0
2015-03-04 10:54:32 +01:00
Joachim Nilsson
6a40d51d26
Bump version to v1.1.0 for release.
...
Signed-off-by: Joachim Nilsson <troglobit@gmail.com >
2015-03-04 10:44:39 +01:00
Joachim Nilsson
f513408316
Remove clang from Travis build to avoid double Coverity runs
...
There currenty is no *simple* way of preventing Coverity from being run
twice, so we just remove the clang build in the meantime :-/
See: travis-ci/travis-ci#1975
Signed-off-by: Joachim Nilsson <troglobit@gmail.com >
2015-03-04 10:41:57 +01:00
Joachim Nilsson
30b5faa318
Update ChangeLog and bump dev version to 1.1 due to the major changes
...
Signed-off-by: Joachim Nilsson <troglobit@gmail.com >
2015-03-04 09:53:18 +01:00
Joachim Nilsson
fe8f3f19da
Massively improve error handling, check for EPOLLHUP & EPOLLERR etc.
...
- Make sure to listen for EPOLLRDHUP in watchers so users can be
notified when a peer closes a connection.
- Handle EPOLLHUP and EPOLLERR gracefully. Even handle spurious
EPOLLHUP by means of an error counter. If we receive too many errors
we now restart the epoll fd and re-add all watchers.
- Return error from `epoll_ctl()` in `uev_watcher_stop()`
- Ignore any error from `uev_watcher_stop()` in `uev_watcher_set()`
- Move LIST_REMOVE() et al from io.c to core uev.c, should be
done for timer and signal callbacks as well, of course.
Signed-off-by: Joachim Nilsson <troglobit@gmail.com >
2015-03-04 09:41:22 +01:00
Joachim Nilsson
71208b7e21
Update ChangeLog
...
Signed-off-by: Joachim Nilsson <troglobit@gmail.com >
2015-02-16 00:27:17 +01:00
Joachim Nilsson
312b8257fb
Fix issue #2 : 'make install' stopped working in v1.0.5
...
Signed-off-by: Joachim Nilsson <troglobit@gmail.com >
2015-02-16 00:26:55 +01:00
Joachim Nilsson
f29f3b7f38
Minor followup to bfcea55, add else statment.
...
Signed-off-by: Joachim Nilsson <troglobit@gmail.com >
2015-02-16 00:25:38 +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
43acbadc13
Open v1.0.6-dev window.
...
Signed-off-by: Joachim Nilsson <troglobit@gmail.com >
2015-02-15 18:35:43 +01:00
Joachim Nilsson
e316226ef1
Update ChangeLog and bump version for v1.0.5 release.
...
Signed-off-by: Joachim Nilsson <troglobit@gmail.com >
v1.0.5
2015-02-15 18:30:30 +01:00
Joachim Nilsson
2f8c45f438
Fix TODO: Add uev_*_start() functions.
...
Signed-off-by: Joachim Nilsson <troglobit@gmail.com >
2015-02-15 18:13:36 +01:00
Joachim Nilsson
bfcea55b1e
Add slightly odd signal testing + fork() example
...
Signed-off-by: Joachim Nilsson <troglobit@gmail.com >
2015-02-15 18:13:26 +01:00
Joachim Nilsson
6e7234fa4d
Fix issue #1 : Use local queue.h from OpenBSD, may be missing on target OS
...
Use OpenBSD version of queue.h since the C-library may not have it (at
all), or may come with an older (buggy) version.
Signed-off-by: Joachim Nilsson <troglobit@gmail.com >
2015-02-15 18:13:18 +01:00
Joachim Nilsson
51a802716d
Rename main.c --> uev.c
...
Signed-off-by: Joachim Nilsson <troglobit@gmail.com >
2015-02-15 18:13:14 +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
d1b9fd17f3
Proposal to add uev_*_start(), for symmetry and finit ..
...
Signed-off-by: Joachim Nilsson <troglobit@gmail.com >
2015-02-10 07:58:23 +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
83822a664e
Fix cut-and-paste error in git tag links.
...
Signed-off-by: Joachim Nilsson <troglobit@gmail.com >
2015-02-01 09:00:39 +01:00
Joachim Nilsson
8e40133c23
Add CHANGELOG and TODO to Makefile and symlink to .md CHANGELOG
...
Signed-off-by: Joachim Nilsson <troglobit@gmail.com >
2015-01-30 23:43:32 +01:00
Joachim Nilsson
b55702a97d
Simplify autodep handling for Make, thank you GCC.
...
Signed-off-by: Joachim Nilsson <troglobit@gmail.com >
2015-01-30 22:49:37 +01:00
Joachim Nilsson
e6a27743a4
Change Coverity Scan branch to use 'dev' instead of master.
...
We don't want to run out of scan tokens for every README update. This
also means the introduction of a new workflow. All new development must
be staged to the dev branch before being merged to master.
Signed-off-by: Joachim Nilsson <troglobit@gmail.com >
2015-01-30 22:44:25 +01:00
Joachim Nilsson
e797247308
New practice, up version to VER-dev after each release.
...
Signed-off-by: Joachim Nilsson <troglobit@gmail.com >
2015-01-30 22:37:49 +01:00
Joachim Nilsson
7eb3d56c83
Add basic TODO.md, currently wishing for Santa to bring kqueue support
...
Signed-off-by: Joachim Nilsson <troglobit@gmail.com >
2015-01-30 22:35:29 +01:00
Joachim Nilsson
9027249b69
Add CHANGELOG.md in http://keepachangelog.com format
...
Signed-off-by: Joachim Nilsson <troglobit@gmail.com >
2015-01-30 22:34:37 +01:00
Joachim Nilsson
e5c4bb9e4b
Actually bump release to v1.0.4
...
Signed-off-by: Joachim Nilsson <troglobit@gmail.com >
2015-01-30 22:34:37 +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
0e3d6ebb1d
Minor improvement in how build is echoed to screen.
...
Signed-off-by: Joachim Nilsson <troglobit@gmail.com >
v1.0.4
2015-01-24 23:51: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
96a497b03e
Simplify test.c example, no need to stop timer before exit.
...
Signed-off-by: Joachim Nilsson <troglobit@gmail.com >
2015-01-11 14:05:41 +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