-
84153e90db
Make UC_LL_NONE work
Nils O. Selåsdal
2013-06-20 19:55:09 +02:00
-
012a5b1377
move iomux_impl.h to src/ dir, it's an implementation detail
Nils O. Selåsdal
2013-06-19 18:51:12 +02:00
-
b4f9ecafe2
add C++ guards
Nils O. Selåsdal
2013-06-19 18:48:45 +02:00
-
6268e6ac8e
update comments
Nils O. Selåsdal
2013-06-19 18:48:27 +02:00
-
e03b9a9f80
Update docs
Nils O. Selåsdal
2013-06-19 18:47:45 +02:00
-
b219136d6e
fix UC_ATOMIC_DEC
Nils O. Selåsdal
2013-06-17 20:32:15 +02:00
-
7d4f1f16c2
Add header for simple atomic operations
Nils O. Selåsdal
2013-06-17 20:28:15 +02:00
-
-
f79f41fb62
.gitignore tags file,
Nils O. Selåsdal
2013-06-13 17:27:20 +02:00
-
496818b7b5
Fix UC_DEBUGFR in debug mode
Nils O. Selåsdal
2013-06-13 01:10:23 +02:00
-
74b59a3a38
Implement setting log mask string on a destination. Improve logging docs
Nils O. Selåsdal
2013-06-12 21:50:59 +02:00
-
504ee1315b
Clear the fd from pending events after it's been processed
Nils O. Selåsdal
2013-06-11 00:05:25 +02:00
-
150edaeada
Rework RBTree to use RBNode in the compare function
Nils O. Selåsdal
2013-06-10 23:00:24 +02:00
-
eba7590e6c
Add CONST_CONTAINER_OF for const pointers
Nils O. Selåsdal
2013-06-10 22:55:30 +02:00
-
d1eded3f9d
grap log lock when initializing a destination
Nils O. Selåsdal
2013-06-05 21:17:18 +02:00
-
f8116643af
Add uc_log_destination_set_log_location, fix signed/unsigned use
Nils O. Selåsdal
2013-06-05 21:09:35 +02:00
-
9125f6128a
Merge branch 'dev' of ssh://box.fiane.intra/var/lib/git/libucore into dev
Nils O. Selåsdal
2013-06-05 20:52:16 +02:00
-
-
972381bf13
Use static array for log level strings
Nils O. Selåsdal
2013-06-05 20:51:53 +02:00
-
032e50e1cd
Remove setting log level for a module, implement setting log level for a destination
Nils O. Selåsdal
2013-06-01 23:45:14 +02:00
-
10e717fc7d
Preserve errno if opening log file fails
Nils O. Selåsdal
2013-05-31 03:49:54 +02:00
-
1b43ef0299
Fix test/logging.c
Nils O. Selåsdal
2013-05-31 03:45:28 +02:00
-
af8cab5034
Prepare for having per destination module log levels
Nils O. Selåsdal
2013-05-31 03:40:33 +02:00
-
5a427007d6
Add fd_utils
Nils O. Selåsdal
2013-05-30 22:38:56 +02:00
-
cfc7cae5c0
Remove erronous UNUSED attribuute
Nils O. Selåsdal
2013-05-29 22:03:26 +02:00
-
1e34c11265
Name uc_timers_XXX consistently
Nils O. Selåsdal
2013-05-28 01:05:38 +02:00
-
ecc9218e7c
Add tests for UCTimers
Nils O. Selåsdal
2013-05-28 00:26:12 +02:00
-
2eaf50d19b
Add note about O(n) of uc_timers_count()
Nils O. Selåsdal
2013-05-28 00:10:02 +02:00
-
-
f2bbca8718
Improve documentation
Nils O. Selåsdal
2013-05-21 00:24:07 +02:00
-
120299d7c3
Add macro guards
Nils O. Selåsdal
2013-05-20 23:09:54 +02:00
-
86c16a3c4c
Add documentation
Nils O. Selåsdal
2013-05-20 23:09:42 +02:00
-
ce0f28c04a
Remove murmur hash, it's endian dependent and has unreasonable alignment requirements
Nils O. Selåsdal
2013-05-17 03:27:09 +02:00
-
92da4bbd28
Added saturating math functions
Nils O. Selåsdal
2013-05-17 03:16:28 +02:00
-
d58779848a
randomize the initial contact
Nils O. Selåsdal
2013-04-26 00:10:14 +02:00
-
88baa855a7
Missed from previus commit
Nils O. Selåsdal
2013-04-25 23:08:39 +02:00
-
4e1bd8a5a7
Add test case for seq.h
Nils O. Selåsdal
2013-04-25 23:07:20 +02:00
-
8f61118e0d
Get rid of warning: declaration of 'clock' shadows a global declaration on some platforms
Nils O. Selåsdal
2013-04-13 03:43:43 +02:00
-
ad8181cf4d
Add UC_ROUND_DOWN, fix duplicated UC_ROUND_UP
Nils O. Selåsdal
2013-04-08 22:24:19 +02:00
-
08ea383dd6
Merge branch 'master' into dev
Nils O. Selåsdal
2013-04-01 23:50:07 +02:00
-
-
ab4e1895d4
Add a few or handy macros
Nils O. Selåsdal
2013-04-01 23:47:01 +02:00
-
2e226d561b
Add UC_ASSERT
Nils O. Selåsdal
2013-03-17 22:13:57 +01:00
-
ad72894380
Use macro in one of the tests
Nils O. Selåsdal
2013-03-07 21:40:43 +01:00
-
40f34b2bcd
Fix comments. add convenience macro
Nils O. Selåsdal
2013-03-07 21:38:07 +01:00
-
b80c2f633f
prefix global variables with g_
Nils O. Selåsdal
2013-03-07 21:11:16 +01:00
-
5e376d47fc
Namespace the bitvec functions
Nils O. Selåsdal
2013-03-07 18:15:20 +01:00
-
-
8badeaf857
Remove ucore_ prefix from headers and source files
Nils O. Selåsdal
2013-03-06 22:22:04 +01:00
-
ee8d9ae19d
Add a uc_backtrace_buf() functio
Nils O. Selåsdal
2013-03-06 21:58:56 +01:00
-
e1bd10208e
Fix sporadic failure of threadqueue test
Nils O. Selåsdal
2013-03-02 22:00:40 +01:00
-
54678cf94b
Convert iomux to use an UCoreClock
Nils O. Selåsdal
2013-03-02 21:42:19 +01:00
-
b0e9988aa5
Convert UCTimers to use UCoreClock
Nils O. Selåsdal
2013-03-02 21:16:22 +01:00
-
42269a8a91
CamelCase the Clock structs
Nils O. Selåsdal
2013-03-02 20:31:26 +01:00
-
9f22f7153b
Don't shadow the global clock function
Nils O. Selåsdal
2013-03-02 18:45:32 +01:00
-
a6d8d56052
Add clock test, and fix ucore_clock.h header
Nils O. Selåsdal
2013-03-02 18:39:52 +01:00
-
aaae376d13
clock abstraction
Nils O. Selåsdal
2013-03-02 17:23:49 +01:00
-
3f6193914f
Cosmetic ucore_bcd changes
Nils O. Selåsdal
2013-02-21 21:51:35 +01:00
-
36ac0bffb1
Rename RB timers to timer_tree
Nils Olav Selåsdal
2013-02-21 15:34:12 +01:00
-
df041ccae4
Document ucore_timers.h
Nils O. Selåsdal
2013-02-20 21:11:21 +01:00
-
a413572f3c
More timers example
Nils O. Selåsdal
2013-02-20 20:47:04 +01:00
-
d6faa0a3e2
Added timers.c demo for uc_timers
Nils O. Selåsdal
2013-02-20 20:41:25 +01:00
-
02542f31e3
Fix sending
Nils O. Selåsdal
2013-01-21 23:14:35 +01:00
-
de9eab51a5
Add udp heartbeat mux example
Nils O. Selåsdal
2013-01-21 23:11:36 +01:00
-
b378b205c9
Make it clear whcih member s are internal and external
Nils O. Selåsdal
2013-01-21 23:11:13 +01:00
-
4c21413df3
Allow to build with stack protection support
Nils Olav Selåsdal
2013-01-17 16:40:02 +01:00
-
8928f7f4e4
fix buffer overflow in test_hex
Nils Olav Selåsdal
2013-01-17 16:34:04 +01:00
-
7c7a09421a
Fix bcd stack smash
Nils Olav Selåsdal
2013-01-17 16:30:30 +01:00
-
4457398da1
Add UC_STRINGIFY macro
Nils Olav Selåsdal
2013-01-17 09:36:42 +01:00
-
2d5d4a5749
Doc notes about salloc alignment
Nils O. Selåsdal
2013-01-16 21:19:14 +01:00
-
5f68608e88
More sallog_align test
Nils O. Selåsdal
2013-01-16 21:10:53 +01:00
-
283be0fc17
Added salloc_align manual test
Nils O. Selåsdal
2013-01-16 21:04:21 +01:00
-
128fabd741
Refactor uc_log_reopen_files
Nils O. Selåsdal
2013-01-15 21:15:21 +01:00
-
6de7a854ec
Fix TRACEF macro. Addition to test_logging.c
Nils O. Selåsdal
2013-01-15 19:09:26 +01:00
-
cd61803c9a
Rework TRACEF format, handle empty varargs (GNU extension)
Nils Olav Selåsdal
2013-01-15 15:54:43 +01:00
-
63a986f89c
Fix backtrace stderr macro
Nils Olav Selåsdal
2013-01-08 14:19:06 +01:00
-
b5a8796ab9
Make _get and _add function inline instead of defines
Nils O. Selåsdal
2013-01-02 21:24:59 +01:00
-
22d15ea1a1
Update to new code
Nils O. Selåsdal
2013-01-02 21:21:15 +01:00
-
3e7fd8a34b
Implement tryadd, adding itmes with a timeout
Nils O. Selåsdal
2013-01-02 16:54:20 +01:00
-
dbe91d2d13
Rename uc_thread_queue_get to uc_thread_queue_tryget, introduce uc_thread_queue_get macro
Nils O. Selåsdal
2013-01-01 21:13:29 +01:00
-
1b5645ae47
Convert to a table of function pointers for the suites
Nils O. Selåsdal
2012-12-27 23:11:13 +01:00
-
86b5a81a90
rename ucore_phi.c phi.c
Nils O. Selåsdal
2012-12-27 23:02:13 +01:00
-
0782e2f825
Use gcc void* arithmetic to avoid cast warning
Nils O. Selåsdal
2012-12-18 20:06:40 +01:00
-
690b6ba18a
align the debug level in the output
Nils O. Selåsdal
2012-12-18 00:17:44 +01:00
-
134a04d478
Move include/ucore/SConstruct to include/
Nils O. Selåsdal
2012-12-14 20:23:41 +01:00
-
49233a3d8d
Embed git hash for the version revision
Nils O. Selåsdal
2012-12-14 20:09:57 +01:00
-
993fad0076
Move ucore_version.h.in to src/ dir so it gets built properly
Nils O. Selåsdal
2012-12-14 11:48:27 +01:00
-
1ff2c00399
thread_queue signal test
Nils O. Selåsdal
2012-12-11 16:49:34 +01:00
-
1f70f9f4b0
Do fastpath if timeout is 0 on threadqueue_get
Nils O. Selåsdal
2012-12-09 22:34:25 +01:00
-
f6aad1e77a
Compile with -std=gnu99. Small cleanups
Nils O. Selåsdal
2012-12-09 20:15:21 +01:00
-
29fd133ff2
Extract timeout calculation
Nils O. Selåsdal
2012-12-06 19:13:02 +01:00
-
16e1ac52ec
Coding style change
Nils O. Selåsdal
2012-12-05 18:53:58 +01:00
-
d9c8b2b48a
don't use const in CONTAINER_OF
Nils O. Selåsdal
2012-12-04 23:24:05 +01:00
-
ad08ee8963
Add more warning flags, fix a few new warnings
Nils O. Selåsdal
2012-12-04 23:13:01 +01:00
-
c29b467dca
Add more gbuf tests
Nils O. Selåsdal
2012-11-22 23:13:58 +01:00
-
c260602890
Add gcc printf attribute to gbuf_printf. More gbuf tests
Nils O. Selåsdal
2012-11-18 14:12:05 +01:00
-
9bf56c1756
Fix and clarify gnuf_printf
Nils O. Selåsdal
2012-11-18 14:04:57 +01:00
-
65a6c67277
Add test for gbuf
Nils O. Selåsdal
2012-11-18 13:45:52 +01:00
-
9547730c9e
Fix unitintialized msgtype in threadqueue test
Nils O. Selåsdal
2012-11-18 13:45:02 +01:00
-
3d982a580a
Merge branch 'dev'
Nils O. Selåsdal
2012-11-15 18:26:57 +01:00
-
-
90bbad4346
Reorganize headers again
Nils O. Selåsdal
2012-11-15 18:26:31 +01:00
-
61eda493bf
Reorganize headers again
Nils O. Selåsdal
2012-11-15 18:26:03 +01:00
-
-
4dca24953f
readd include dir
Nils O. Selåsdal
2012-11-15 17:30:40 +01:00
-
1d47f9d078
Move headers to include/ dir
Nils O. Selåsdal
2012-11-14 23:49:28 +01:00
-
0afea336ef
More threadqueue docs & tests
Nils O. Selåsdal
2012-11-14 19:23:05 +01:00