Nils O. Selåsdal
|
b39cabc055
|
Link with libm and librt, required for older glibc. No harm on newer
|
2014-09-12 01:11:41 +02:00 |
|
Nils O. Selåsdal
|
131bfc5da6
|
Add uc_restart_counter concept
|
2014-09-12 01:11:41 +02:00 |
|
Nils O. Selåsdal
|
6689fa9969
|
Initialize the ticket lock
|
2014-09-12 01:11:41 +02:00 |
|
Nils O. Selåsdal
|
eacdd947e5
|
Add a few more UCStrVal functions
|
2014-09-12 01:11:41 +02:00 |
|
Nils O. Selåsdal
|
a27711e3bd
|
Atomic example, used to inspect assembly code..
|
2014-09-12 01:11:41 +02:00 |
|
Nils O. Selåsdal
|
6c7cb5c0ab
|
Print error if no test cases are run
|
2014-09-12 01:11:41 +02:00 |
|
Nils O. Selåsdal
|
0741b42a44
|
Add a sched_yeild in tocket lock test..
|
2014-09-12 01:11:41 +02:00 |
|
Nils O. Selåsdal
|
6c8e403a38
|
Test heapsorting 1 element
|
2014-09-12 01:11:41 +02:00 |
|
Nils O. Selåsdal
|
157dca7997
|
Add test for ticket locks
|
2014-09-12 01:11:41 +02:00 |
|
Nils O. Selåsdal
|
95749c5b7d
|
Add iomux_from_timers() function to recover an IOMux from
the associated UCTimers
|
2014-09-12 01:11:40 +02:00 |
|
Nils O. Selåsdal
|
0e296ce7e5
|
Add init method to dstr for initializing directyl from a string
Change the api so _put_ functions that copy in data are named "_append_"
instead.
|
2014-09-12 01:11:40 +02:00 |
|
Nils O. Selåsdal
|
7bd1074c1d
|
Initial attempt of log rotation based on file sizes
|
2014-09-12 01:11:40 +02:00 |
|
Nils O. Selåsdal
|
edde6ec7b6
|
Use TailQ instead of sys/queue.h in the logging module
|
2014-09-12 01:11:40 +02:00 |
|
Nils O. Selåsdal
|
633635851d
|
Set errno to 0, for consistent results
|
2014-09-12 01:11:39 +02:00 |
|
Nils O. Selåsdal
|
857c2018b9
|
Change library suffix from _debug to D for debug build.
And no suffix for a release build.
|
2014-09-12 01:11:39 +02:00 |
|
Nils O. Selåsdal
|
0f25a0f565
|
Add a string/string mapper struct
|
2014-09-12 01:11:39 +02:00 |
|
Nils O. Selåsdal
|
39290eefb7
|
Rename the value string functions to be a bit mroe sensible
|
2014-09-12 01:11:39 +02:00 |
|
Nils O. Selåsdal
|
dfe219b649
|
Add an unsigned int/string pair type, modelled on the value string of
wireshark
|
2014-09-12 01:11:39 +02:00 |
|
Nils O. Selåsdal
|
f1b1ceadca
|
Merge branch 'master' into dev
|
2014-01-26 00:59:08 +01:00 |
|
Nils O. Selåsdal
|
7c271c1b52
|
Support libcheck version 0.9.8 as shipped on RHEL 6.4
|
2014-01-26 00:58:11 +01:00 |
|
Nils O. Selåsdal
|
0e2d4f07c3
|
Adhere to coding style in logging module (struct uc_log_destination->
struct UCLogDestination, and similar for other structs)
|
2014-01-07 23:39:01 +01:00 |
|
Nils O. Selåsdal
|
423c21bee2
|
Use a separate variable for the exit condition
|
2013-12-24 02:30:22 +01:00 |
|
Nils O. Selåsdal
|
89802286c4
|
Add iomux_wake example
|
2013-12-24 01:56:42 +01:00 |
|
Nils O. Selåsdal
|
ddf82372e1
|
Include test when NDEBUG is not defined (checking for DEBUG was
the wrong thing to do when building in release with assertions on)
|
2013-12-18 18:40:55 +01:00 |
|
Nils O. Selåsdal
|
a681e9044f
|
Use UC_TAILQ in udp_heartbeat
|
2013-12-10 23:08:05 +01:00 |
|
Nils O. Selåsdal
|
2dc5242fc0
|
Use TailQ in mbuf
|
2013-12-10 01:11:31 +01:00 |
|
Nils O. Selåsdal
|
f6badb41a2
|
Move UC_ASSERT/NOTREACHED to backtrace.h
|
2013-12-08 00:43:22 +01:00 |
|
Nils O. Selåsdal
|
f18de5f269
|
Test dbuf_take_fail aborting in DEBUG mode
|
2013-12-07 12:23:30 +01:00 |
|
Nils O. Selåsdal
|
784dc1cecb
|
Teach uc_hex_decode to skip spaces
|
2013-12-06 23:10:32 +01:00 |
|
Nils O. Selåsdal
|
59b4c3f57e
|
Implement uc_hex_encode_delim without snprintf, fix length of
uc_hex_encode_delim when truncated output.
|
2013-12-06 22:47:16 +01:00 |
|
Nils O. Selåsdal
|
565de6ace7
|
Add uc_dstr_copy
|
2013-12-05 01:24:41 +01:00 |
|
Nils O. Selåsdal
|
b5e1d086a4
|
Add DStr sprintf
|
2013-12-04 21:33:16 +01:00 |
|
Nils O. Selåsdal
|
d81e9b760a
|
More docs. And test put_filter
|
2013-12-04 20:44:47 +01:00 |
|
Nils O. Selåsdal
|
8749270ca4
|
Add DStr docs.
Small test changes
|
2013-12-04 20:32:06 +01:00 |
|
Nils O. Selåsdal
|
6fdaa83dee
|
Run DStr tests
|
2013-12-04 19:58:59 +01:00 |
|
Nils O. Selåsdal
|
bbbe912fba
|
Initial version of struct DStr
|
2013-12-04 19:58:38 +01:00 |
|
Nils O. Selåsdal
|
2b022aeddc
|
Make the heapsort test comparison work..
|
2013-12-03 17:29:00 +01:00 |
|
Nils O. Selåsdal
|
4caf2573fb
|
Check of count or size is 0 in heapsort
|
2013-12-03 14:29:57 +01:00 |
|
Nils O. Selåsdal
|
70fb352656
|
Fix heapsort, add test
|
2013-12-03 11:30:09 +01:00 |
|
Nils O. Selåsdal
|
6dc59ccbf8
|
Add macros for iterating the containing entry
|
2013-11-30 13:40:05 +01:00 |
|
Nils O. Selåsdal
|
6156fcbbb5
|
Add tailq example
|
2013-11-28 18:30:14 +01:00 |
|
Nils O. Selåsdal
|
04f101c699
|
initialize peer to Unknown
|
2013-11-26 23:58:50 +01:00 |
|
Nils O. Selåsdal
|
e7d7f4b862
|
Add -k argument to test_runner to specify running only one test suite
alter --xml of test_runner to just -x
|
2013-11-26 18:17:07 +01:00 |
|
Nils O. Selåsdal
|
59f6d99419
|
Remove a wrong test in test_mbuf.c
|
2013-11-25 23:42:29 +01:00 |
|
Nils O. Selåsdal
|
dbe2f174a8
|
Add uc_mbuf_extend_headroom function, for growing an mbuf
|
2013-11-25 23:38:13 +01:00 |
|
Nils O. Selåsdal
|
306a3d2a90
|
Add uc_mbuf_head accessor function
|
2013-11-25 20:52:43 +01:00 |
|
Nils O. Selåsdal
|
3d2e0ce540
|
tabs->spaces
|
2013-11-22 20:06:05 +01:00 |
|
Nils O. Selåsdal
|
8083fa54cf
|
Split uc_human_bytesz in uc_human_bytesz_dec/uc_human_bytesz_bin, for
decimal and binary conversion (http://en.wikipedia.org/wiki/Megabyte)
|
2013-11-19 11:33:43 +01:00 |
|
Nils O. Selåsdal
|
ac95b1002c
|
use ck_assert_int_eq for a bit better debugging help
|
2013-11-18 23:49:39 +01:00 |
|
Nils O. Selåsdal
|
1d709faf20
|
Add a note about being fragile..
|
2013-11-13 18:07:41 +01:00 |
|