Commit Graph
100 Commits
Author SHA1 Message Date
Nils O. Selåsdal 08a50d8cfe fix UC_ASSERT writing to wrong fd, and unterminated if
log more in UC_NOTREACHED
2013-10-08 17:39:44 +02:00
Nils O. Selåsdal 425062ad18 Add needed include files 2013-10-08 17:34:58 +02:00
Nils O. Selåsdal 1f4e41df3a Test inserting priority messages 2013-10-05 00:56:41 +02:00
Nils O. Selåsdal 3da0591cc3 introduce --with-assertions to build a release with assertions enabled 2013-10-05 00:55:51 +02:00
Nils O. Selåsdal f2f2ed247f Add assert for correct state when removing timer 2013-10-05 00:55:21 +02:00
Nils O. Selåsdal f4b1d81dcf test uc_thread_queue_clear 2013-10-03 23:42:12 +02:00
Nils O. Selåsdal d9517ad868 Make the thread queue walk function take a cookie to the callback
and implement a _clear() function to clear out the queue
2013-10-03 22:04:33 +02:00
Nils O. Selåsdal 4310414b49 More comments in string.h 2013-10-02 22:17:15 +02:00
Nils O. Selåsdal 6456d8abe0 Include BCD length macros in test 2013-10-02 22:15:55 +02:00
Nils O. Selåsdal 41c58589a5 Fix harmless off by one when walking file descriptors 2013-10-02 21:35:19 +02:00
Nils O. Selåsdal 27aa7ef3d6 Some comment improving 2013-10-02 21:33:10 +02:00
Nils O. Selåsdal e12f2d3cfb Merge branch 'dev' 2013-10-01 22:37:18 +02:00
Nils O. Selåsdal dd517a5d85 Prefix CONTAINER_OF with UC_ 2013-09-28 23:45:51 +02:00
Nils O. Selåsdal ff0fd32ae1 Fix comment 2013-09-26 22:22:19 +02:00
Nils O. Selåsdal 5be46cd043 Add RTP sender test 2013-09-26 22:22:05 +02:00
Nils O. Selåsdal 4b8a49fb81 Exercise adding/removing timers a bit more 2013-09-18 10:32:07 +02:00
Nils O. Selåsdal 9988d8f4c0 Add uc_str_append_all function 2013-09-15 00:01:19 +02:00
Nils O. Selåsdal 03d700595b Improve docus 2013-09-15 00:01:08 +02:00
Nils O. Selåsdal 499517c2dd Move long runnign test to the end of the tests 2013-09-15 00:00:39 +02:00
Nils O. Selåsdal 9e919c1cde Add mbuf documentation. have mbuf_free handle NULL pointer 2013-09-13 21:42:32 +02:00
Nils O. Selåsdal a7e9effde5 Merge branch 'master' of /var/lib/git/libucore 2013-09-13 20:42:23 +02:00
Nils O. Selåsdal 88a20409cf Test removing a destination 2013-09-04 18:33:40 +02:00
Nils O. Selåsdal 1deb2bcce1 Test adding a destination twice 2013-09-04 18:15:08 +02:00
Nils O. Selåsdal 216dfe879d Added string vector(argv like) functions 2013-09-04 18:10:26 +02:00
Nils O. Selåsdal a5b8d53177 Fix goto label 2013-08-30 19:34:33 +02:00
Nils O. Selåsdal 1a85dd3231 Remove comments that was moved to .h file, rename goto label.. 2013-08-28 23:30:37 +02:00
Nils O. Selåsdal 110c843d9d Add supervisor 2013-08-28 23:25:02 +02:00
Nils O. Selåsdal 13108f1f48 Add doxygen groups 2013-07-31 03:37:50 +02:00
Nils O. Selåsdal 679b4b12e5 Fix UC_ATOMIC_ADD 2013-07-19 20:53:36 +02:00
Nils O. Selåsdal 6809a68060 Add tests for uc_sprintb/c/s/ll 2013-07-18 00:04:38 +02:00
Nils O. Selåsdal 69b7cfc38f Remove unneeded #undef 2013-07-17 23:26:35 +02:00
Nils O. Selåsdal ea0accdadf Fix indent 2013-07-17 19:51:09 +02:00
Nils O. Selåsdal 7a968ee77a Nuke the base64 code. It was wrong 2013-07-12 21:13:22 +02:00
Nils O. Selåsdal 6e3585e77c Remove a redundant assert.. 2013-07-12 20:42:05 +02:00
Nils O. Selåsdal c7d897c080 Enable some asserts for impossible conditions 2013-07-12 20:40:46 +02:00
Nils O. Selåsdal 1281533884 Add test to conver memmove cases now that memmove arn't
always performed
2013-07-12 20:36:17 +02:00
Nils O. Selåsdal b6bd7fcaa6 Don't memmove the buffer content unless it's needed 2013-07-12 20:27:31 +02:00
Nils O. Selåsdal b475fae56b Add uc_set_tcp_keepalive_cfg too set keepalive options 2013-07-08 22:15:56 +02:00
Nils O. Selåsdal e1f16b3603 Correct spelling mistakes in comments 2013-07-07 22:28:41 +02:00
Nils O. Selåsdal 1d01e6dc7e INdent properly 2013-07-07 22:14:56 +02:00
Nils O. Selåsdal bc3a5ba2ca Print out URL to local coverage test results 2013-07-07 22:11:00 +02:00
Nils O. Selåsdal 2bd5f9f5b9 Add DBuf , buffer API 2013-07-07 22:10:41 +02:00
Nils O. Selåsdal 3c5688ad54 Add testcase for lowercase hex 2013-07-07 19:44:51 +02:00
Nils O. Selåsdal 648f963763 make output filename libucore.info 2013-07-07 19:42:19 +02:00
Nils O. Selåsdal ec9a53b3a6 Free the allocated bitvec in test 2013-07-07 19:35:23 +02:00
Nils O. Selåsdal 53dd99d32b Add another timer test case for more coverage 2013-07-07 19:31:47 +02:00
Nils O. Selåsdal 7706c7404d Ad dscript to gerneate html coverage report using the lcov tool 2013-07-07 19:22:49 +02:00
Nils O. Selåsdal 6f209912ae Test for mbuf_zero, for more coverage 2013-07-07 19:22:21 +02:00
Nils O. Selåsdal 8c42c26e6a Another mbuf test case for a static buffer 2013-07-07 19:03:33 +02:00
Nils O. Selåsdal f177d2149e Missed a test case 2013-07-07 03:22:00 +02:00
Nils O. Selåsdal a2a89cb49e Merge branch 'dev' of ssh://box.fiane.intra/var/lib/git/libucore into dev
Conflicts:
	test/test_runner.c
2013-07-07 03:19:12 +02:00
Nils O. Selåsdal 16516d94b6 Add test for human_bytesz 2013-07-07 03:17:34 +02:00
Nils O. Selåsdal 24bf90b7e4 Another test for more coverage 2013-07-06 22:25:06 +02:00
Nils O. Selåsdal 8200aaab21 Add a test case for reading /dev/null 2013-07-06 21:15:51 +02:00
Nils O. Selåsdal c68ba45846 Build doxygen docs from include/ dir instead of src/ 2013-07-06 20:47:37 +02:00
Nils O. Selåsdal 65c32810cb Add test for uc_mbuf-copy_data 2013-07-02 21:22:38 +02:00
Nils O. Selåsdal bc65b3c421 Check for backtrace_fd returning NULL 2013-07-02 21:22:03 +02:00
Nils O. Selåsdal d8376338fa Improve doxygen comments 2013-07-02 21:21:27 +02:00
Nils O. Selåsdal 6d77b78b41 use unsigned long long for uc_ms2tv() 2013-07-01 23:02:24 +02:00
Nils O. Selåsdal 764dfc563c Don't trt yo be smart with the comma operator 2013-07-01 23:00:19 +02:00
Nils O. Selåsdal bf9802e565 First iteration of mbuf, message buffer api 2013-06-30 21:42:02 +02:00
Nils O. Selåsdal 89232426e0 Properly use return value of select to count the number of events 2013-06-30 14:34:19 +02:00
Nils O. Selåsdal 1e0e840ee5 Get rid of aligment warning on CONTAINER_OF in clang 2013-06-27 20:58:43 +02:00
Nils O. Selåsdal a8dcf6edff Get rid of inline warning from clang 2013-06-27 20:58:23 +02:00
Nils O. Selåsdal 9b7db5440e Allow CC shell environment to override compiler 2013-06-27 20:58:07 +02:00
Nils O. Selåsdal e1834c22b1 Dop inline on uc_ll_2_str to avoid clang warning 2013-06-23 23:04:23 +02:00
Nils O. Selåsdal bcf0d66e4e Add LL_NONE test 2013-06-20 20:15:19 +02:00
Nils O. Selåsdal 4aadb0ab2d Clean up main logging function 2013-06-20 20:11:07 +02:00
Nils O. Selåsdal 84153e90db Make UC_LL_NONE work 2013-06-20 19:55:09 +02:00
Nils O. Selåsdal 012a5b1377 move iomux_impl.h to src/ dir, it's an implementation detail 2013-06-19 18:51:12 +02:00
Nils O. Selåsdal b4f9ecafe2 add C++ guards 2013-06-19 18:48:45 +02:00
Nils O. Selåsdal 6268e6ac8e update comments 2013-06-19 18:48:27 +02:00
Nils O. Selåsdal e03b9a9f80 Update docs 2013-06-19 18:47:45 +02:00
Nils O. Selåsdal b219136d6e fix UC_ATOMIC_DEC 2013-06-17 20:32:15 +02:00
Nils O. Selåsdal 7d4f1f16c2 Add header for simple atomic operations 2013-06-17 20:28:15 +02:00
Nils O. Selåsdal f79f41fb62 .gitignore tags file, 2013-06-13 17:27:20 +02:00
Nils O. Selåsdal 496818b7b5 Fix UC_DEBUGFR in debug mode 2013-06-13 01:10:23 +02:00
Nils O. Selåsdal 74b59a3a38 Implement setting log mask string on a destination.
Improve logging docs
2013-06-12 21:50:59 +02:00
Nils O. Selåsdal 504ee1315b Clear the fd from pending events after it's been processed 2013-06-11 00:05:25 +02:00
Nils O. Selåsdal 150edaeada Rework RBTree to use RBNode in the compare function 2013-06-10 23:00:24 +02:00
Nils O. Selåsdal eba7590e6c Add CONST_CONTAINER_OF for const pointers 2013-06-10 22:55:30 +02:00
Nils O. Selåsdal d1eded3f9d grap log lock when initializing a destination 2013-06-05 21:17:18 +02:00
Nils O. Selåsdal f8116643af Add uc_log_destination_set_log_location, fix signed/unsigned use 2013-06-05 21:09:35 +02:00
Nils O. Selåsdal 9125f6128a Merge branch 'dev' of ssh://box.fiane.intra/var/lib/git/libucore into dev 2013-06-05 20:52:16 +02:00
Nils O. Selåsdal 972381bf13 Use static array for log level strings 2013-06-05 20:51:53 +02:00
Nils O. Selåsdal 032e50e1cd Remove setting log level for a module, implement
setting log level for a destination
2013-06-01 23:45:14 +02:00
Nils O. Selåsdal 10e717fc7d Preserve errno if opening log file fails 2013-05-31 03:49:54 +02:00
Nils O. Selåsdal 1b43ef0299 Fix test/logging.c 2013-05-31 03:45:28 +02:00
Nils O. Selåsdal af8cab5034 Prepare for having per destination module log levels 2013-05-31 03:40:33 +02:00
Nils O. Selåsdal 5a427007d6 Add fd_utils 2013-05-30 22:38:56 +02:00
Nils O. Selåsdal cfc7cae5c0 Remove erronous UNUSED attribuute 2013-05-29 22:03:26 +02:00
Nils O. Selåsdal 1e34c11265 Name uc_timers_XXX consistently 2013-05-28 01:05:38 +02:00
Nils O. Selåsdal ecc9218e7c Add tests for UCTimers 2013-05-28 00:26:12 +02:00
Nils O. Selåsdal 2eaf50d19b Add note about O(n) of uc_timers_count() 2013-05-28 00:10:02 +02:00
Nils O. Selåsdal f2bbca8718 Improve documentation 2013-05-21 00:24:07 +02:00
Nils O. Selåsdal 120299d7c3 Add macro guards 2013-05-20 23:09:54 +02:00
Nils O. Selåsdal 86c16a3c4c Add documentation 2013-05-20 23:09:42 +02:00
Nils O. Selåsdal ce0f28c04a Remove murmur hash, it's endian dependent and has unreasonable alignment
requirements
2013-05-17 03:27:09 +02:00
Nils O. Selåsdal 92da4bbd28 Added saturating math functions 2013-05-17 03:16:28 +02:00
Nils O. Selåsdal d58779848a randomize the initial contact 2013-04-26 00:10:14 +02:00