Commit Graph

643 Commits

Author SHA1 Message Date
Nils O. Selåsdal 43f3a3372e Allow wquque to use callback to free an mbuf - so
mbufs can be reused/pooled
2016-12-07 20:58:39 +01:00
Nils O. Selåsdal a6fe01978c Propagate error back from iomux_select_update_events 2016-12-07 20:57:59 +01:00
Nils O. Selåsdal 422667aa7e Use CMAKE_C_STANDARD variable for setting C standard 2016-11-29 09:39:20 +01:00
Nils O. Selåsdal 70db91e0de Compile with -std=gnu99 2016-11-22 16:24:28 +01:00
Nils O. Selåsdal 542e6122d6 Remove Debug config, should rather use CMAKE_BUILD_TYPE variable rather 2016-10-06 20:06:35 +02:00
Nils O. Selåsdal b55c8d68a5 Add more compiler flags that was used with scons 2016-10-04 19:50:38 +02:00
Nils O. Selåsdal 55846a0e42 Initial conversion to CMake 2016-10-02 21:39:02 +02:00
Nils O. Selåsdal 260d2c67c2 Enable client based search engine for Doxygen 2016-04-26 10:11:01 +02:00
Nils O. Selåsdal 20a14306bb Clarify uc_timer_add docs 2016-03-19 18:57:49 +01:00
Nils O. Selåsdal c520b6caec Leave to SConscript files to decide default targets 2016-03-14 12:18:31 +01:00
Nils O. Selåsdal 0a34c799ce Add gettokens test for double " 2016-03-09 00:37:10 +01:00
Nils O. Selåsdal 57e8bfb156 Add --sanetizer to run with gcc sanitation 2016-03-09 00:31:54 +01:00
Nils O. Selåsdal 21703ded30 prefux gettokens/getfields with uc_ 2016-03-09 00:10:23 +01:00
Nils O. Selåsdal c3c9f25dc6 Add tests for getfields and gettokens 2016-03-09 00:06:59 +01:00
Nils O. Selåsdal fae2a60203 Small cmd progress 2016-03-07 22:18:15 +01:00
Nils O. Selåsdal 28d56d64f6 Merge branch 'dev' of ssh://box/var/lib/git/libucore into dev 2016-03-07 22:14:07 +01:00
Nils O. Selåsdal 5307930535 Use gcc builtins (if gcc 5 or newer) for saturating math 2016-03-04 11:38:51 +01:00
Nils O. Selåsdal d70ab1fe09 Use ck_assert_int_eq instead of ck_assert_uint_eq for compatibility
with older check version
2016-02-08 13:35:47 +01:00
Nils O. Selåsdal d6c3cfb973 Use ck_assert_int_eq instead of ck_assert_uint_eq for compatibility
with older check version
2016-02-08 13:34:22 +01:00
Nils O. Selåsdal a686ba1975 Add gettokens() string function 2016-01-08 09:43:04 +01:00
Nils O. Selåsdal 433fdd0a4b IMplement help system. Though it need refactoring. 2015-12-15 22:26:59 +01:00
Nils O. Selåsdal f107898919 Prepare for handling descriptions 2015-12-12 20:42:18 +01:00
Nils O. Selåsdal e902b04996 Implement completion 2015-12-10 22:47:41 +01:00
Nils O. Selåsdal db78689015 Add uc_strv_reverse 2015-12-10 19:13:16 +01:00
Nils O. Selåsdal 9b70b64729 Implement argument collecting 2015-12-10 18:52:09 +01:00
Nils O. Selåsdal 5d54702501 Improve docs of strvec 2015-12-10 18:52:09 +01:00
Nils O. Selåsdal d4619418f0 Add support for lists 2015-12-10 18:52:09 +01:00
Nils O. Selåsdal 8adec5408e Progress on cmd 2015-12-10 18:52:09 +01:00
Nils O. Selåsdal 44d8d10d35 Exampel code for pipe 2015-12-10 12:31:20 +01:00
Nils O. Selåsdal c87137cb4f Fix redundant setting of events in iomux_update_events 2015-12-10 12:30:21 +01:00
Nils O. Selåsdal 94dcd522aa Pass the wqueue directly to the wqueue callback functions 2015-12-04 22:25:57 +01:00
Nils O. Selåsdal 1d26348bb0 iomux_signal.h and wqueue.h should be usable in C++. Add
to IOMux doxygen group too.
2015-12-04 22:18:29 +01:00
Nils O. Selåsdal fb5b5f0692 Handle case of uc_wqueue_handle_write operating on an empty queue 2015-12-04 21:49:53 +01:00
Nils O. Selåsdal 877b2edf5b Free stuff in biffer/read_file tests 2015-12-01 23:16:47 +01:00
Nils O. Selåsdal 07e0032258 Free bitvec in bitvec test 2015-12-01 23:14:16 +01:00
Nils O. Selåsdal b025b8aec2 More coverage in iomux_signal test 2015-12-01 23:06:33 +01:00
Nils O. Selåsdal a314c624d1 make static, to not pollute globals 2015-12-01 23:02:27 +01:00
Nils O. Selåsdal 5b12583a89 Add iomux signal test 2015-12-01 23:01:24 +01:00
Nils O. Selåsdal 4d8aeee671 Fix return value of unregister signal if it failed 2015-12-01 22:56:22 +01:00
Nils O. Selåsdal 2b48fe9403 Add example for iomux signals 2015-11-30 20:34:32 +01:00
Nils O. Selåsdal a8dffbc71e Add unix signal integration with the iomux 2015-11-29 21:51:26 +01:00
Nils O. Selåsdal 9bb7cc335a Add uc_wqueue_flush() to immedately preform mbuf writes 2015-11-29 01:05:40 +01:00
Nils O. Selåsdal c9aff6f910 Tidy up uc_iomux_waker_init 2015-11-28 21:51:19 +01:00
Nils O. Selåsdal 9416c58457 Check snprintf for -1 2015-11-25 09:40:21 +01:00
Nils O. Selåsdal 6a2ecdf2f4 Fix the wqueue header, and update example 2015-11-12 18:05:41 +01:00
Nils O. Selåsdal 74701edf31 Add documentation for the wqueue 2015-11-11 21:41:21 +01:00
Nils O. Selåsdal 4707f89bc8 Merge branch 'dev' of /var/lib/git/libucore into dev 2015-11-10 21:37:22 +01:00
Nils O. Selåsdal 4ce1c24610 Enable specifying no events when registring with the iomux 2015-11-10 21:35:16 +01:00
Nils O. Selåsdal 7d9ebd7211 Return value of uc_wqueue_clear wasn't initialized 2015-11-10 21:27:08 +01:00
Nils O. Selåsdal 2b51f1d7f8 Use iomux_add_event/iomux_clear_event in wqueue instead of manually
doing this
2015-11-10 19:42:53 +01:00