Commit Graph

563 Commits

Author SHA1 Message Date
Nils O. Selåsdal 22e4bbd2f9 Bump to python 3 2025-06-27 23:05:46 +02: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 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
Nils O. Selåsdal e7720cb232 Implement write queue for iomux 2015-11-10 19:42:53 +01:00
Nils O. Selåsdal 1535edd21a Build with assertions on in release build 2015-11-10 19:42:53 +01:00
Nils O. Selåsdal f2fcb5e7e3 Add more checks to iomux test 2015-11-10 19:42:53 +01:00
Nils O. Selåsdal 11939065fb Fix the iomux_add/clear events. Also properly remember
the events in the IOMuxFD
2015-11-10 19:42:53 +01:00
Nils O. Selåsdal e517c33da9 Fix iomux_update_events(), it didn't actually update the events ! 2015-11-10 19:41:46 +01:00
Nils O. Selåsdal 42f0493000 Use iomux_add_event/iomux_clear_event in wqueue instead of manually
doing this
2015-11-10 19:39:59 +01:00
Nils O. Selåsdal 593d29e9fa Implement write queue for iomux 2015-11-10 19:28:12 +01:00
Nils O. Selåsdal 00b344e142 Fix iomux_update_events(), it didn't actually update the events ! 2015-11-10 19:26:31 +01:00
Nils O. Selåsdal faced685be Build with assertions on in release build 2015-05-12 19:38:57 +02:00
Nils O. Selåsdal 54de720e87 Add more checks to iomux test 2015-05-12 19:31:15 +02:00
Nils O. Selåsdal 5ecd083e7f Fix the iomux_add/clear events. Also properly remember
the events in the IOMuxFD
2015-05-12 19:21:57 +02:00
Nils O. Selåsdal 96f0bffd27 Merge branch 'dev' 2015-05-11 23:41:59 +02:00
Nils O. Selåsdal 7dd159aa6a Add TODO comment to iomux impl 2015-05-11 23:36:23 +02:00
Nils O. Selåsdal 4134482fdb Add iomux tests 2015-05-11 23:17:30 +02:00
Nils O. Selåsdal a87558047b Fix iomux_select_recalc_max, it went to an infinite loop. 2015-05-11 23:09:40 +02:00
Nils O. Selåsdal a7516141dd Fix dstr_own() when the dstr already holds a string. 2015-05-06 21:33:23 +02:00
Nils O. Selåsdal bb426bfecd Don't undef UC_INLINE in pack.h 2015-05-06 18:28:05 +02:00
Nils O. Selåsdal 99297b153c add usage() to the test_runner 2015-05-05 18:19:54 +02:00
Nils O. Selåsdal d34bd6f3cb Fix uc_tailq_empty. It did not work prior to this. 2015-05-05 00:10:23 +02:00
Nils O. Selåsdal 70d5c2b600 Extend the mbuf queue test 2015-05-05 00:08:47 +02:00
Nils O. Selåsdal 5e2b1e2d0d Add mbuf enqueue/dequeue functions 2015-05-05 00:06:28 +02:00
Nils O. Selåsdal e922e60849 Fix uc_tailq_empty. It did not work prior to this. 2015-05-05 00:05:27 +02:00
Nils O. Selåsdal 4a42c9a8de Improve mbuf documentation 2015-05-04 22:57:49 +02:00
Nils O. Selåsdal 7f716e9ede Add a few more dbuf tests 2015-04-30 16:36:29 +02:00
Nils O. Selåsdal 72dcd6e82c Add not about the CK_FORK env variable 2015-04-30 16:36:15 +02:00
Nils O. Selåsdal 2eacf252b7 Fix typo 2015-04-05 13:14:16 +02:00
Nils O. Selåsdal c6318c079d Re-format code to avoid overly long lines and declarations 2015-04-04 23:29:27 +02:00
Nils O. Selåsdal a55139aba6 Work around the scons Package() VERSION attribute
by specifying the target and source explicitly
2015-02-15 23:56:31 +01:00
Nils O. Selåsdal 610e4c89a7 Add comment: scons Paackage() bugs out if the VERSION does
not end with a digit.
2015-02-15 21:47:40 +01:00
Nils O. Selåsdal 61cec258e3 Add tar.gz binary package target to scons.
Invoke with scons --install_sandbox=XXX package
2015-02-15 21:37:13 +01:00