]> git.ozlabs.org Git - ccan/log
ccan
15 years agoAnother Joey fix:
Rusty Russell [Sun, 29 Mar 2009 06:01:02 +0000 (16:31 +1030)]
Another Joey fix:
(15:30:58) joeyadams: Also, ccanlint detects "trailing newlines" on empty lines.  Is this a bug, or is
it policy?
(15:52:03) joeyadams: In my code, I like to keep blank lines in my routines indented to the associated
level so automatic indent will apply there

15 years agoPatch from Joey Adams:
Rusty Russell [Sun, 29 Mar 2009 05:53:19 +0000 (16:23 +1030)]
Patch from Joey Adams:
(15:27:11) joeyadams: ccanlint's handle_no_tests apparently has a bug.  It makes the test directory with
0600 permissions, so it can't be used.  the x bit provides directory listing privilege
(15:27:25) joeyadams: this gives me Permission denied when I try to run it
(15:28:34) joeyadams: Changing the opcode to 0700 makes the creation of run.c work

15 years agoHandle spaces in filenames for junkcode.
Rusty Russell [Thu, 19 Mar 2009 03:45:21 +0000 (14:15 +1030)]
Handle spaces in filenames for junkcode.

15 years agoAdd Tim's mail.
Rusty Russell [Thu, 19 Mar 2009 03:36:12 +0000 (14:06 +1030)]
Add Tim's mail.

15 years agoNew junkcode from Tim.
Rusty Russell [Thu, 19 Mar 2009 03:33:14 +0000 (14:03 +1030)]
New junkcode from Tim.

15 years agoRestore info pages.
Rusty Russell [Thu, 19 Mar 2009 03:33:07 +0000 (14:03 +1030)]
Restore info pages.

15 years agoFix warnings for isaac w/ gcc4.1.
Rusty Russell [Mon, 16 Mar 2009 06:23:53 +0000 (16:53 +1030)]
Fix warnings for isaac w/ gcc4.1.
Given the types used (uint32_t and uint64_t) many of the masks are unnecessary.
But mainly moving the bit extraction into separate inline functions means the
code is a bit clearer, and we only need to bracket one place.
But because these helpers shared the same names, I split the 32 and
64-bit tests.

15 years agoFix warnings for ilog (see below) gcc 4.1, and testsuite fixes.
Rusty Russell [Mon, 16 Mar 2009 04:48:17 +0000 (15:18 +1030)]
Fix warnings for ilog (see below) gcc 4.1, and testsuite fixes.
(1) Include ilog.h header first (checks that it doesn't need anything else)
(2) Include ilog.c (only api tests don't need this).

Here are the warnings with gcc 4.1:
Running gcc -O3 -Wall -Wundef -Wstrict-prototypes -Wold-style-definition -Wmissing-prototypes
-Wmissing-declarations -Werror -Iccan/ -I.  -o ccan/ilog/test/run ccan/ilog/test/run.c  ccan/tap/tap.o
In file included from ccan/ilog/test/run.c:2:
ccan/ilog/ilog.h:27:10: error: "LLONG_MAX" is not defined
cc1: warnings being treated as errors
ccan/ilog/test/run.c: In function ‘main’:
ccan/ilog/test/run.c:36: warning: suggest brackets around + or - inside shift
ccan/ilog/test/run.c:55: warning: suggest brackets around + or - inside shift
ccan/ilog/test/run.c:55: warning: suggest brackets around + or - inside shift
ccan/ilog/test/run.c:55: warning: suggest brackets around + or - in operand of &
ccan/ilog/test/run.c:63: warning: suggest brackets around + or - inside shift
ccan/ilog/test/run.c:85: warning: suggest brackets around + or - inside shift
ccan/ilog/test/run.c:85: warning: suggest brackets around + or - inside shift
ccan/ilog/test/run.c:85: warning: suggest brackets around + or - in operand of &

15 years agoFix for 64-bit (thanks to Tim T)
Rusty Russell [Fri, 13 Mar 2009 02:37:20 +0000 (13:07 +1030)]
Fix for 64-bit (thanks to Tim T)

15 years agoTim's ISAAC module.
Rusty Russell [Thu, 12 Mar 2009 22:43:46 +0000 (09:13 +1030)]
Tim's ISAAC module.

15 years agoHandle multiple .c files in directory properly (isaac).
Rusty Russell [Thu, 12 Mar 2009 22:43:17 +0000 (09:13 +1030)]
Handle multiple .c files in directory properly (isaac).

15 years agoTim's ilog module.
Rusty Russell [Thu, 12 Mar 2009 21:57:56 +0000 (08:27 +1030)]
Tim's ilog module.

15 years agoFrom: "Timothy B. Terriberry" <tterribe@xiph.org>
Rusty Russell [Mon, 2 Mar 2009 03:58:08 +0000 (14:28 +1030)]
From: "Timothy B. Terriberry" <tterribe@xiph.org>

Makes the idempotent header check more liberal, and
specifically allows it to also recognize

#if !defined(someheader)
#define someheader (1)

or other similar variants.

15 years agoFrom: "Timothy B. Terriberry" <tterribe@xiph.org>
Rusty Russell [Mon, 2 Mar 2009 03:56:29 +0000 (14:26 +1030)]
From: "Timothy B. Terriberry" <tterribe@xiph.org>

Fixes the example module documentation ccanlint outputs. The
missing \n meant that it would not validate its own example as valid
documentation (with no explanation of why it was invalid... but that
would be a much larger patch).

15 years agoMore Makefile work: fix upload target.
Rusty Russell [Wed, 25 Feb 2009 04:04:57 +0000 (14:34 +1030)]
More Makefile work: fix upload target.

15 years agoMajor cleanup of makefiles, api tests.
Rusty Russell [Wed, 25 Feb 2009 03:53:15 +0000 (14:23 +1030)]
Major cleanup of makefiles, api tests.
We no longer use libccan for tests, but explicit object lists.  This
will catch missing dependencies.  API tests *do* get the module object
linked in now.
In addition, makefiles now correctly rebuild when a dependency changes
(gcc's -MD here), and when _info.c changes.

15 years agoMake diag() go to stdout: everything else does.
Rusty Russell [Wed, 25 Feb 2009 03:51:36 +0000 (14:21 +1030)]
Make diag() go to stdout: everything else does.

15 years agoupload target for Rusty's convenience
Rusty Russell [Wed, 25 Feb 2009 00:41:57 +0000 (11:11 +1030)]
upload target for Rusty's convenience

15 years agoUse array_size module
Rusty Russell [Wed, 25 Feb 2009 00:41:34 +0000 (11:11 +1030)]
Use array_size module

15 years agoMD4 module.
Rusty Russell [Wed, 25 Feb 2009 00:30:39 +0000 (11:00 +1030)]
MD4 module.

15 years agoccanlint clean and move endian.h to top of #includes (tests that it doesn't need...
Rusty Russell [Wed, 25 Feb 2009 00:29:56 +0000 (10:59 +1030)]
ccanlint clean and move endian.h to top of #includes (tests that it doesn't need anything else)

15 years agoEndianness module.
Rusty Russell [Tue, 24 Feb 2009 23:21:02 +0000 (09:51 +1030)]
Endianness module.

15 years agoFix it not to include ccan dirs without test/
Rusty Russell [Tue, 17 Feb 2009 09:33:48 +0000 (20:03 +1030)]
Fix it not to include ccan dirs without test/

15 years agoSlight cleanup for crcsync.c
Rusty Russell [Tue, 17 Feb 2009 09:16:33 +0000 (19:46 +1030)]
Slight cleanup for crcsync.c

15 years agoClarify license string.
Rusty Russell [Tue, 17 Feb 2009 08:31:50 +0000 (19:01 +1030)]
Clarify license string.

15 years agocrc sync module.
Rusty Russell [Tue, 17 Feb 2009 08:31:19 +0000 (19:01 +1030)]
crc sync module.

15 years agoFinally, ARRAY_SIZE!
Rusty Russell [Tue, 17 Feb 2009 07:58:50 +0000 (18:28 +1030)]
Finally, ARRAY_SIZE!

15 years agoAdded Castagnoli CRC routines, expand interface.
Rusty Russell [Tue, 17 Feb 2009 01:43:56 +0000 (12:13 +1030)]
Added Castagnoli CRC routines, expand interface.

15 years agoCRC module.
Rusty Russell [Sat, 14 Feb 2009 03:03:03 +0000 (13:33 +1030)]
CRC module.

15 years agoTeach ccanlint about API tests.
Rusty Russell [Sat, 14 Feb 2009 03:02:43 +0000 (13:32 +1030)]
Teach ccanlint about API tests.

15 years agoStephen Thorne points out that ccan tarball should create ccan dir.
Rusty Russell [Wed, 14 Jan 2009 23:43:19 +0000 (10:13 +1030)]
Stephen Thorne points out that ccan tarball should create ccan dir.

15 years agoFix antithread example compile.
Rusty Russell [Wed, 14 Jan 2009 00:50:56 +0000 (11:20 +1030)]
Fix antithread example compile.

15 years agoFix saving & loading of state.
Rusty Russell [Tue, 13 Jan 2009 22:51:58 +0000 (09:21 +1030)]
Fix saving & loading of state.
Mutate whole triangles sometimes for better results.

15 years agoAdapt antithread to new talloc locking, and fix so talloc destructor
Rusty Russell [Tue, 13 Jan 2009 13:04:35 +0000 (23:34 +1030)]
Adapt antithread to new talloc locking, and fix so talloc destructor
works.

15 years agoMuch nicer example: genetic algo to approximate jpeg
Rusty Russell [Tue, 13 Jan 2009 13:03:03 +0000 (23:33 +1030)]
Much nicer example: genetic algo to approximate jpeg
(And cute image!)

15 years agoIncrease optimization level, and clean up Makefile warnings and
Rusty Russell [Tue, 13 Jan 2009 13:00:50 +0000 (23:30 +1030)]
Increase optimization level, and clean up Makefile warnings and
verbosity.

15 years agoSeriously revisit locking required for antithread.
Rusty Russell [Sun, 11 Jan 2009 13:51:39 +0000 (00:21 +1030)]
Seriously revisit locking required for antithread.
Remove test that never ran properly anyway (still bug in current talloc
testsuite).

15 years agoVarious fixes and debugging help: particularly don't use random().
Rusty Russell [Sun, 11 Jan 2009 13:50:28 +0000 (00:20 +1030)]
Various fixes and debugging help: particularly don't use random().

15 years agomake const and volatile-qualified callbacks actually work.
Rusty Russell [Sat, 10 Jan 2009 22:51:03 +0000 (09:21 +1030)]
make const and volatile-qualified callbacks actually work.

15 years agoMove web stuff to separate Makefile-web, so no bzr errors when user gets Makefile...
Rusty Russell [Mon, 8 Dec 2008 08:10:46 +0000 (18:40 +1030)]
Move web stuff to separate Makefile-web, so no bzr errors when user gets Makefile and runs "make
tools".

15 years agoInclude Makefile, config.h, tools in all tarball.
Rusty Russell [Mon, 8 Dec 2008 08:03:21 +0000 (18:33 +1030)]
Include Makefile, config.h, tools in all tarball.

15 years agoRemove _infotojson (unused for now)
Rusty Russell [Mon, 8 Dec 2008 05:38:24 +0000 (16:08 +1030)]
Remove _infotojson (unused for now)

15 years agoFix size calc for full tarball.
Rusty Russell [Mon, 8 Dec 2008 05:26:52 +0000 (15:56 +1030)]
Fix size calc for full tarball.

15 years agoFix make check to run all tests.
Rusty Russell [Mon, 8 Dec 2008 05:18:47 +0000 (15:48 +1030)]
Fix make check to run all tests.
Fix str test.

15 years agoWe no longer make ccan/foo.o files, so use libccan.a in run_tests.
Rusty Russell [Sun, 7 Dec 2008 09:58:47 +0000 (20:28 +1030)]
We no longer make ccan/foo.o files, so use libccan.a in run_tests.
Handle case where test segfaults (fail on *any* non-zero exit)

15 years agoFix grab_file test after move from string module.
Rusty Russell [Sun, 7 Dec 2008 09:57:24 +0000 (20:27 +1030)]
Fix grab_file test after move from string module.

15 years agoSimple compile fixes for tests.
Rusty Russell [Sun, 7 Dec 2008 09:46:52 +0000 (20:16 +1030)]
Simple compile fixes for tests.

15 years agoFix up line numbers after commit 109
Rusty Russell [Sun, 7 Dec 2008 09:32:05 +0000 (20:02 +1030)]
Fix up line numbers after commit 109

16 years agoNew ccanlint test: _info.c must have some package documentation.
Rusty Russell [Sat, 15 Nov 2008 12:25:53 +0000 (22:55 +1030)]
New ccanlint test: _info.c must have some package documentation.

16 years agoHack to fix test builds, by ignoring deps with no .o's (ie.
Rusty Russell [Sat, 15 Nov 2008 12:25:25 +0000 (22:55 +1030)]
Hack to fix test builds, by ignoring deps with no .o's (ie.
headers-only)

16 years agoNew list_tail() function and test for list_top() on empty list reveals a
Rusty Russell [Sat, 15 Nov 2008 12:24:23 +0000 (22:54 +1030)]
New list_tail() function and test for list_top() on empty list reveals a
bug!

16 years agoCanonicalize typenames, and remove empty sections.
Rusty Russell [Sat, 15 Nov 2008 12:09:34 +0000 (22:39 +1030)]
Canonicalize typenames, and remove empty sections.

16 years agoRemove compile warnings of tests under Ubuntu (return value ignored)
Rusty Russell [Sat, 15 Nov 2008 10:39:38 +0000 (21:09 +1030)]
Remove compile warnings of tests under Ubuntu (return value ignored)

16 years agoFix run-read_all and fix hang if they should fail.
Rusty Russell [Fri, 14 Nov 2008 07:13:09 +0000 (17:43 +1030)]
Fix run-read_all and fix hang if they should fail.

16 years agoTests for read_write_all.
Rusty Russell [Fri, 14 Nov 2008 07:01:54 +0000 (17:31 +1030)]
Tests for read_write_all.

16 years agoFix dependencies for 'make check'
Rusty Russell [Fri, 14 Nov 2008 07:01:40 +0000 (17:31 +1030)]
Fix dependencies for 'make check'

16 years agoFix new glibc warnings about warn_unused_result.
Rusty Russell [Fri, 14 Nov 2008 06:12:46 +0000 (16:42 +1030)]
Fix new glibc warnings about warn_unused_result.

16 years agoFix examples (they all compile now), and init parent list in list
Rusty Russell [Thu, 13 Nov 2008 11:54:08 +0000 (22:24 +1030)]
Fix examples (they all compile now), and init parent list in list
example.

16 years agoBroaden use of doc_extract code, put in ccanlint, and fix ccanlint
Rusty Russell [Thu, 13 Nov 2008 11:36:48 +0000 (22:06 +1030)]
Broaden use of doc_extract code, put in ccanlint, and fix ccanlint
compile.

16 years agoOur first junkcode!
Rusty Russell [Thu, 13 Nov 2008 11:28:50 +0000 (21:58 +1030)]
Our first junkcode!

16 years agoJunkcode now works.
Rusty Russell [Thu, 13 Nov 2008 11:27:45 +0000 (21:57 +1030)]
Junkcode now works.

16 years agoJunkcode now works.
Rusty Russell [Thu, 13 Nov 2008 11:27:06 +0000 (21:57 +1030)]
Junkcode now works.

16 years agoAdd --function= arg to doc_extract so we can use it on normal ccan C
Rusty Russell [Wed, 12 Nov 2008 01:05:04 +0000 (11:35 +1030)]
Add --function= arg to doc_extract so we can use it on normal ccan C
files.

16 years agoSimplify -I lines: change includes to ccan/
Rusty Russell [Mon, 10 Nov 2008 06:12:46 +0000 (17:12 +1100)]
Simplify -I lines: change includes to ccan/

16 years agoRemove unused create_dep_tar.
Rusty Russell [Mon, 10 Nov 2008 06:07:13 +0000 (17:07 +1100)]
Remove unused create_dep_tar.

16 years agoFix linking for tools, and add tools: target.
Rusty Russell [Mon, 10 Nov 2008 06:06:14 +0000 (17:06 +1100)]
Fix linking for tools, and add tools: target.

16 years agoFixup get_deps() callers
Rusty Russell [Mon, 10 Nov 2008 06:06:04 +0000 (17:06 +1100)]
Fixup get_deps() callers

16 years agoRename string to str, and split into three modules.
Rusty Russell [Mon, 10 Nov 2008 05:50:42 +0000 (16:50 +1100)]
Rename string to str, and split into three modules.

16 years agoUpload now works, with a bit of hackery.
Rusty Russell [Sun, 9 Nov 2008 21:49:51 +0000 (08:49 +1100)]
Upload now works, with a bit of hackery.
Also, fixed "Archieve" typo in header (Thanks Tim Connors)

16 years agoStatic generation of web pages. Based on GSoC work, and still needs
Rusty Russell [Sat, 8 Nov 2008 14:46:34 +0000 (01:46 +1100)]
Static generation of web pages.  Based on GSoC work, and still needs
more polish (particularly uploading is untested).

16 years agoTypo fix
Rusty Russell [Sat, 8 Nov 2008 14:44:33 +0000 (01:44 +1100)]
Typo fix

16 years agoFix handling of one-liner fields.
Rusty Russell [Sat, 8 Nov 2008 14:43:51 +0000 (01:43 +1100)]
Fix handling of one-liner fields.

16 years agoDocument license requirements.
Rusty Russell [Fri, 12 Sep 2008 05:28:40 +0000 (15:28 +1000)]
Document license requirements.

16 years ago--direct for ccan_depends
Rusty Russell [Tue, 19 Aug 2008 07:49:52 +0000 (17:49 +1000)]
--direct for ccan_depends

16 years agoExtraction of parts of documentation.
Rusty Russell [Tue, 19 Aug 2008 07:49:24 +0000 (17:49 +1000)]
Extraction of parts of documentation.

16 years agoNon-compiling version of ccan_depends by default.
Rusty Russell [Tue, 19 Aug 2008 03:40:32 +0000 (13:40 +1000)]
Non-compiling version of ccan_depends by default.
Note that this gets a superset of dependencies, eg:

  rusty@vivaldi$ tools/ccan_depends ccan/check_type
  ccan/build_assert
  rusty@vivaldi$ tools/ccan_depends --compile ccan/check_type
  rusty@vivaldi$

16 years agomerge
Rusty Russell [Mon, 18 Aug 2008 04:12:27 +0000 (14:12 +1000)]
merge

16 years agoFix namespacize after grab_file changes.
Rusty Russell [Mon, 18 Aug 2008 04:10:50 +0000 (14:10 +1000)]
Fix namespacize after grab_file changes.

16 years agodisplay a-z index for module search and some fixes
dinesh [Sat, 16 Aug 2008 17:47:26 +0000 (23:17 +0530)]
display a-z index for module search and some fixes

16 years agobug fix for duplicate module name upload
dinesh [Sat, 16 Aug 2008 17:04:49 +0000 (22:34 +0530)]
bug fix for duplicate module name upload

16 years agoRemove binaries from the tree.
Rusty Russell [Fri, 15 Aug 2008 01:08:42 +0000 (11:08 +1000)]
Remove binaries from the tree.

16 years agograb_fd and grab_file: add a size arg, use everywhere.
Rusty Russell [Fri, 15 Aug 2008 00:48:06 +0000 (10:48 +1000)]
grab_fd and grab_file: add a size arg, use everywhere.

16 years agomerge
Rusty Russell [Fri, 15 Aug 2008 00:38:41 +0000 (10:38 +1000)]
merge

16 years agoupdate dispmoduleinfo.php
dinesh [Thu, 14 Aug 2008 08:20:57 +0000 (13:50 +0530)]
update dispmoduleinfo.php

16 years agomake search page to display some result
dinesh [Thu, 14 Aug 2008 08:17:12 +0000 (13:47 +0530)]
make search page to display some result

16 years agosome bug fix in scripts
dinesh [Thu, 14 Aug 2008 06:52:37 +0000 (12:22 +0530)]
some bug fix in scripts

16 years agoAdd antithread. Not finished, but useful as example of module whose
Rusty Russell [Thu, 14 Aug 2008 06:27:17 +0000 (16:27 +1000)]
Add antithread.  Not finished, but useful as example of module whose
dependents have dependents.

16 years agocommiting changes for test case of grab_file
dinesh [Thu, 14 Aug 2008 06:11:04 +0000 (11:41 +0530)]
commiting changes for test case of grab_file

16 years agoDon't leave _info.NNNN files lying arond
Rusty Russell [Thu, 14 Aug 2008 05:37:14 +0000 (15:37 +1000)]
Don't leave _info.NNNN files lying arond

16 years agomerge
Rusty Russell [Thu, 14 Aug 2008 05:15:17 +0000 (15:15 +1000)]
merge

16 years agoFix hash_stable(): now works on both endians :)
Rusty Russell [Thu, 14 Aug 2008 05:11:44 +0000 (15:11 +1000)]
Fix hash_stable(): now works on both endians :)

16 years agoAPI tests.
Rusty Russell [Thu, 14 Aug 2008 03:30:49 +0000 (13:30 +1000)]
API tests.

16 years agocommitting changes for web pages after update of create_tar_ball
dinesh [Wed, 13 Aug 2008 09:47:27 +0000 (15:17 +0530)]
committing changes for web pages after update of create_tar_ball

16 years agoCommitting create_dep_tar after changing for dependents handlings
dinesh [Wed, 13 Aug 2008 09:39:58 +0000 (15:09 +0530)]
Committing create_dep_tar after changing for dependents handlings

16 years agocommiting uploaded for bzr
dinesh [Tue, 12 Aug 2008 09:13:48 +0000 (14:43 +0530)]
commiting uploaded for bzr

16 years agoupdated
dinesh [Tue, 12 Aug 2008 08:58:25 +0000 (14:28 +0530)]
updated

16 years agotest case for grab_file
dinesh [Tue, 12 Aug 2008 08:54:10 +0000 (14:24 +0530)]
test case for grab_file

16 years agoAdd main index page. Needs more polish.
Rusty Russell [Mon, 11 Aug 2008 05:11:42 +0000 (15:11 +1000)]
Add main index page.  Needs more polish.

16 years agocommiting ccan web pages
dinesh [Mon, 11 Aug 2008 03:55:49 +0000 (09:25 +0530)]
commiting ccan web pages

16 years agocommiting create_dep_tar uses get_deps as of now
dinesh [Tue, 5 Aug 2008 17:25:19 +0000 (22:55 +0530)]
commiting create_dep_tar uses get_deps as of now