Joachim Wiberg
042f1b59bf
examples: update comments
...
Signed-off-by: Joachim Wiberg <troglobit@gmail.com >
2021-02-17 08:10:52 +01:00
Joachim Wiberg
8f96965d35
examples: add fork + signals + timer example
...
Signed-off-by: Joachim Wiberg <troglobit@gmail.com >
2021-02-17 08:09:00 +01:00
Joachim Wiberg
53cad7bee2
examples: add timer + signal example
...
Signed-off-by: Joachim Wiberg <troglobit@gmail.com >
2021-02-16 20:02:24 +01:00
Joachim Wiberg
3b3d6a3802
Update changelogs and bump version for v2.3.2 release
...
Signed-off-by: Joachim Wiberg <troglobit@gmail.com >
v2.3.2
2021-02-12 13:03:18 +01:00
Joachim Wiberg
f819d658fb
debian: update and relocate .symbols file
...
- Use v2.3.0 as minver, some were added earlier but this file wasn't
Signed-off-by: Joachim Wiberg <troglobit@gmail.com >
2021-02-12 10:55:08 +01:00
Joachim Wiberg
5851282d1a
debian: add .symbols file
...
Signed-off-by: Joachim Wiberg <troglobit@gmail.com >
2021-02-12 10:44:58 +01:00
Joachim Wiberg
deef49f85f
debian: change -dev package priorty to optional, as per policy 4.0.1
...
Signed-off-by: Joachim Wiberg <troglobit@gmail.com >
2021-02-12 09:54:29 +01:00
Joachim Wiberg
b4b021b21f
Update changelogs for v2.3.2 release
...
Signed-off-by: Joachim Wiberg <troglobit@gmail.com >
2021-02-12 09:37:00 +01:00
Joachim Wiberg
d7fd789378
Makefile: refactor and sync with libite
...
- Create .sha256 checksums for tarballs, in addition to the .md5
- Use debuild to build .deb package, runs lintian as well
- List all resulting build artifacts
- Call release-hook first, to check if tagged
Signed-off-by: Joachim Wiberg <troglobit@gmail.com >
2021-02-12 09:35:05 +01:00
Joachim Wiberg
b26eea6442
configure: enable tar.gz dist archives, by popular demand
...
Signed-off-by: Joachim Wiberg <troglobit@gmail.com >
2021-02-12 09:35:05 +01:00
Joachim Wiberg
6c467cd594
debian: sync build-depends from libite
...
Signed-off-by: Joachim Wiberg <troglobit@gmail.com >
2021-02-12 09:16:24 +01:00
Joachim Wiberg
86e01be26e
Update copyright years and maintainer surname
...
Signed-off-by: Joachim Wiberg <troglobit@gmail.com >
2021-02-12 09:15:40 +01:00
Joachim Nilsson
5fd29f7241
Clarify documentation of uev_timer_start()
...
Signed-off-by: Joachim Nilsson <troglobit@gmail.com >
2020-04-20 15:27:12 +02:00
Joachim Nilsson
8d07cc616e
Update changelogs and bump version for v2.3.1 release
...
Signed-off-by: Joachim Nilsson <troglobit@gmail.com >
v2.3.1
2020-02-22 15:51:16 +01:00
Joachim Nilsson
9db9daec07
Use separate aux/ dir for auxilliary files and check for install
...
Signed-off-by: Joachim Nilsson <troglobit@gmail.com >
2020-02-22 15:48:11 +01:00
Joachim Nilsson
af1a484c46
debian: Update Build-Depends, debhelper >= 10 is sufficient
...
Signed-off-by: Joachim Nilsson <troglobit@gmail.com >
2020-02-22 15:45:08 +01:00
Joachim Nilsson
1e6395a85a
debian: Step library name to match SONAME, fixes lintian warning
...
This patch fixes the lintian warning package-name-doesnt-match-sonames,
which is a reminder to step the library version to match the soname.
Signed-off-by: Joachim Nilsson <troglobit@gmail.com >
2020-02-22 15:44:36 +01:00
Joachim Nilsson
5c8a258c3f
Update ChangeLog and bump version for v2.3.0 release
...
Signed-off-by: Joachim Nilsson <troglobit@gmail.com >
v2.3.0
2019-04-06 13:33:06 +02:00
Joachim Nilsson
e79d25bb42
Bump ABI version 2.1.0 --> 2.2.0
...
New eventfd() API added.
Signed-off-by: Joachim Nilsson <troglobit@gmail.com >
2019-04-06 13:30:07 +02:00
Joachim Nilsson
6dccc05e0d
debian: Update copyright to meet recommendations for machine parsing
...
Also, clarify copyright for main sources and debian/* files.
Signed-off-by: Joachim Nilsson <troglobit@gmail.com >
2019-04-06 13:25:03 +02:00
Joachim Nilsson
de95022f44
debian: Update package description and include usr/share files
...
Signed-off-by: Joachim Nilsson <troglobit@gmail.com >
2019-04-06 13:24:36 +02:00
Joachim Nilsson
041240a93d
debian: Update to latest std version
...
Signed-off-by: Joachim Nilsson <troglobit@gmail.com >
2019-04-06 13:24:13 +02:00
Joachim Nilsson
837d8c1e16
Maintenance and release checklist
...
Signed-off-by: Joachim Nilsson <troglobit@gmail.com >
2019-04-06 12:51:44 +02:00
Joachim Nilsson
a334d230a1
Update copyright years
...
Signed-off-by: Joachim Nilsson <troglobit@gmail.com >
2019-04-06 12:45:50 +02:00
Joachim Nilsson
2a709f739d
Reverse christmas tree and simplify a bit
...
Signed-off-by: Joachim Nilsson <troglobit@gmail.com >
2019-04-06 12:45:29 +02:00
Joachim Nilsson
d4096c8c0c
Simplify ingress, example and origin
...
Signed-off-by: Joachim Nilsson <troglobit@gmail.com >
2019-04-06 12:23:48 +02:00
Joachim Nilsson
38858488b9
Update ChangeLog with new eventfd support
...
Signed-off-by: Joachim Nilsson <troglobit@gmail.com >
2019-04-05 06:48:43 +02:00
Joachim Nilsson
90048e5996
Add support for generic events using Linux eventfd
...
Signed-off-by: Joachim Nilsson <troglobit@gmail.com >
2018-10-08 07:15:40 +02:00
Joachim Nilsson
fd89af6ca1
Minor, fix old copy-paste error in comment
...
Signed-off-by: Joachim Nilsson <troglobit@gmail.com >
2018-10-08 07:14:54 +02:00
Joachim Nilsson
399d75a05c
Bump version for new release cycle
...
Signed-off-by: Joachim Nilsson <troglobit@gmail.com >
2018-10-08 07:14:32 +02:00
Joachim Nilsson
6439a34670
Minor, reorder watchers a bit => same order in all functions
...
Signed-off-by: Joachim Nilsson <troglobit@gmail.com >
2018-10-08 07:13:05 +02:00
Joachim Nilsson
fac37512d5
Update ChangeLog and bump version for v2.2.0 release
...
Signed-off-by: Joachim Nilsson <troglobit@gmail.com >
v2.2.0
2018-10-04 21:06:51 +02:00
Joachim Nilsson
17a765b957
Bump ABI version 2.0.2 --> 2.1.0
...
Signed-off-by: Joachim Nilsson <troglobit@gmail.com >
2018-10-04 21:06:32 +02:00
Joachim Nilsson
6fa88eacb4
Add new API; uev_init1(ctx, maxevents) to cap event cache size
...
Signed-off-by: Joachim Nilsson <troglobit@gmail.com >
2018-10-02 17:49:32 +02:00
Joachim Nilsson
32d3842f8a
Fix issue with library not being rebuilt when header files change
...
Add header files to list of library dependencies.
Signed-off-by: Joachim Nilsson <troglobit@gmail.com >
2018-10-02 17:48:30 +02:00
Joachim Nilsson
574c463c9a
Enforce -std=gnu11, which enables typeof() in GCC 4.8
...
Signed-off-by: Joachim Nilsson <troglobit@gmail.com >
2018-09-27 19:10:09 +02:00
Joachim Nilsson
2470d5bf88
Bump version for new release cycle, v2.2-beta1
...
Signed-off-by: Joachim Nilsson <troglobit@gmail.com >
2018-09-25 23:38:53 +02:00
Joachim Nilsson
e6b99da0f5
Refactor, replace BSD queue.h LIST_ macros with homegrown version
...
This patch replaces the BSD doubly linked list implementation with a
simplified homegrown version. This not only reduces the dependency on
an external "library", but also greatly simplifies licensing and gives
us a clean name space that does not intrude on users who want to use
their own version of queue.h in their application that also includes
the libuEv header file.
Signed-off-by: Joachim Nilsson <troglobit@gmail.com >
2018-09-25 23:31:23 +02:00
Joachim Nilsson
ebe3888d6f
Minor, whitespace fixes
...
Signed-off-by: Joachim Nilsson <troglobit@gmail.com >
2018-09-25 23:23:43 +02:00
Joachim Nilsson
99ef6eb884
Remove __attribute__ ((unused)), use -Wno-unused-parameter instead
...
The __attribute__ ((unused)) is useful sometimes to declare variables as
intended to be unused, e.g. in callback functions. However, they tend
to clutter up the code making hard to read. We therefore remove all
uses of it and instead set -Wno-unused-parameter.
Signed-off-by: Joachim Nilsson <troglobit@gmail.com >
2018-09-25 23:19:02 +02:00
Joachim Nilsson
de89b6647d
Update ChangeLog and bump ABI + release version for v2.1.3 release
...
Signed-off-by: Joachim Nilsson <troglobit@gmail.com >
v2.1.3
2018-09-06 22:03:16 +02:00
Joachim Nilsson
7eee63e5eb
debian: The bare .so symlink should go in the -dev package [Policy]
...
Clarify rules: libuev.a and libuev.so are for initial linking. See
Debian Policy sect. 8.
Signed-off-by: Joachim Nilsson <troglobit@gmail.com >
2018-09-06 22:02:56 +02:00
Joachim Nilsson
c780b82929
Update ChangeLog for upcoming bug fix release v2.1.3
...
Signed-off-by: Joachim Nilsson <troglobit@gmail.com >
2018-09-05 17:48:50 +02:00
Joachim Nilsson
cccaabfad5
Don't call uev_timer_set() when stopping timer, just close() it
...
The semantics for timerfd in Linux is to use close() to stop,
so no need for the extra overhead with uev_timer_set().
Signed-off-by: Joachim Nilsson <troglobit@gmail.com >
2018-09-04 21:22:33 +02:00
Joachim Nilsson
6d33c56d0f
Return early and OK if signal watcher is already stopped
...
Signed-off-by: Joachim Nilsson <troglobit@gmail.com >
2018-09-04 07:16:01 +02:00
Joachim Nilsson
6ae98d135c
tests: Restart stopped timer before calling uev_exit()
...
There's an issue with uftpd not exiting properly. Cannot nail it down
properly but it seems to be related to the stopping of active timers.
Signed-off-by: Joachim Nilsson <troglobit@gmail.com >
2018-09-04 07:11:23 +02:00
Joachim Nilsson
d3e5900f73
Refactor, use LIST_FOREACH_SAFE() instead of while() in uev_exit()
...
Signed-off-by: Joachim Nilsson <troglobit@gmail.com >
2018-09-01 18:55:22 +02:00
Joachim Nilsson
2ff15101ae
New API test to verify uev_exit() terminates properly
...
Signed-off-by: Joachim Nilsson <troglobit@gmail.com >
2018-09-01 18:54:56 +02:00
Joachim Nilsson
04d9e1c80a
Bump version for next bugfix release cycle
...
Signed-off-by: Joachim Nilsson <troglobit@gmail.com >
2018-09-01 18:50:30 +02:00
Joachim Nilsson
0674fb8db4
Reminder to investigate for next release
...
Signed-off-by: Joachim Nilsson <troglobit@gmail.com >
2018-09-01 18:50:18 +02:00