Commit Graph

580 Commits

Author SHA1 Message Date
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
Nils O. Selåsdal 20a01e4913 Attempt at packagin the binary install 2015-02-11 23:10:49 +01:00
Nils O. Selåsdal db21dc4100 use %u instead of %d in file name format string 2015-02-11 22:20:07 +01:00
Nils O. Selåsdal c90ad5e257 There's no good reason to not always reset the file size
after re-opening
2015-02-10 21:46:08 +01:00
Nils O. Selåsdal d187c1d63b Clarify that uc_read_fd always close() the descriptor 2015-02-10 21:00:57 +01:00
Nils O. Selåsdal 83ce414beb make array parameter const 2015-02-10 20:57:36 +01:00
Nils O. Selåsdal aeee4de26a Remove main() function 2015-02-10 20:45:40 +01:00
Nils O. Selåsdal 7e1114c09b Use function names that make more sense 2015-02-10 20:45:14 +01:00
Nils O. Selåsdal a522c55155 Finalize mkdirp 2015-02-10 20:40:33 +01:00
Nils O. Selåsdal 7dbdec1d5b Initial mkdir -p function 2015-02-10 20:40:33 +01:00
Nils O. Selåsdal 617ba23c39 Make the clock_now interface const 2015-02-10 11:03:44 +01:00
Nils O. Selåsdal f0c829a6c9 Added a main() to atomic.c 2015-01-03 02:11:12 +01:00
Nils O. Selåsdal 603d86bb61 Remove stdio.h from utils.h. Manually include stdio.h if using the
TRACEF() macro from utils.h
2015-01-03 01:52:53 +01:00
Nils O. Selåsdal a367e84b00 Move UC_INLINE to utils.h 2015-01-03 01:51:18 +01:00
Nils O. Selåsdal 33287ea987 Merge branch 'cmd' into dev
Conflicts:
	include/ucore/atomic.h
	include/ucore/dstr.h
2014-12-07 15:46:06 +01:00
Nils O. Selåsdal 0622c57d42 Initial attempt 2014-12-07 15:39:32 +01:00
Nils O. Selåsdal ab70a2c5be Make uc_log_init argument const 2014-12-02 23:38:24 +01:00
Nils O. Selåsdal dd925b3654 int log_level->enum UC_LOG_LEVEL 2014-12-02 23:22:18 +01:00
Nils O. Selåsdal 8c36756170 Increase timeout on thread queue test to make it pass on the slow
raspberrypis
2014-11-10 21:05:45 +01:00
Nils O. Selåsdal fe3e4d8e3c Add missing prototypes and includes 2014-10-26 14:27:26 +01:00
Nils O. Selåsdal 9bd1336d26 have LOGF macros add a newline, so user code doesn't need to. 2014-10-06 21:52:28 +02:00
Nils O. Selåsdal 33b48c4276 More checks on test_mbuf_static 2014-09-29 21:29:02 +02:00
Nils O. Selåsdal 42136087b6 Add note about scons 2.3.0 2014-09-29 21:09:50 +02:00
Nils O. Selåsdal 6247bcbdfd Also build a shared library 2014-09-29 20:51:29 +02:00
Nils O. Selåsdal 959d525938 Use correct return value on error 2014-09-29 16:16:55 +02:00
Nils O. Selåsdal 749c5ef0df Correct a few comments in threadqueue 2014-09-29 16:16:40 +02:00
Nils O. Selåsdal 13e611c79d Generalise the logging function to a function pointer 2014-09-16 13:30:51 +02:00
Nils O. Selåsdal 9ce3a4ebf8 Rework iomux_select, so it doesn't need to deald with
dynamically allocating space for the IOMuxFD's
2014-09-16 01:36:23 +02:00
Nils O. Selåsdal b5465012ae Doxygen, generate struct docs in same page as the module it's in 2014-09-16 01:36:22 +02:00
Nils O. Selåsdal 045d7c2463 Improve doxygen comments 2014-09-15 21:13:43 +02:00
Nils O. Selåsdal f13a71e8ba Merge branch 'dev' of ssh://box/var/lib/git/libucore into dev 2014-09-12 01:12:44 +02:00
Nils O. Selåsdal 711d734998 Open restart file in 0644 mode, fsync the file, don't
write to file if seek/truncate failed
2014-09-12 01:11:41 +02:00
Nils O. Selåsdal 5f89edc0d9 Fic includes to use "" instead of <> 2014-09-12 01:11:41 +02:00
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