ccan
11 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.

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

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

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

11 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.

11 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/

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

11 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.

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

11 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.

11 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)

11 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).

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

11 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.

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

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

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

11 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$

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

11 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.

11 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

11 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

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

11 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.

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

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

11 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

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

11 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.

11 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

11 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

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

11 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 :)

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

11 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

11 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

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

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

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

11 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.

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

11 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

11 years agochanges to infotojson for storing dependencies from get_deps()
dinesh [Tue, 5 Aug 2008 17:08:09 +0000 (22:38 +0530)]
changes to infotojson for storing dependencies from get_deps()

11 years agoMake depends build the _info files (easier for Dinesh's work)
Rusty Russell [Tue, 5 Aug 2008 08:28:02 +0000 (18:28 +1000)]
Make depends build the _info files (easier for Dinesh's work)

11 years agomerge
Rusty Russell [Tue, 5 Aug 2008 03:58:32 +0000 (13:58 +1000)]
merge

11 years agoSimple locking for talloc.
Rusty Russell [Tue, 5 Aug 2008 02:57:02 +0000 (12:57 +1000)]
Simple locking for talloc.

11 years agoSimplify external allocation (realloc only from Tridge)
Rusty Russell [Tue, 5 Aug 2008 01:38:14 +0000 (11:38 +1000)]
Simplify external allocation (realloc only from Tridge)

11 years agoRemoved grab_file.c
dinesh [Mon, 4 Aug 2008 05:36:01 +0000 (11:06 +0530)]
Removed grab_file.c

11 years agomerge
Rusty Russell [Mon, 4 Aug 2008 03:47:09 +0000 (13:47 +1000)]
merge

11 years agoFix talloc external alloc parent pointer.
Rusty Russell [Mon, 4 Aug 2008 03:44:18 +0000 (13:44 +1000)]
Fix talloc external alloc parent pointer.
Fix autofree context not to be done in fork() child.
Fix comment above talloc_array_size.

11 years agoClean _info files too.
Rusty Russell [Mon, 4 Aug 2008 03:43:58 +0000 (13:43 +1000)]
Clean _info files too.

11 years agoDeleting duplicate grab_file in tools/
dinesh [Sun, 3 Aug 2008 18:31:10 +0000 (00:01 +0530)]
Deleting duplicate grab_file in tools/

11 years agoMoving grab_file
dinesh [Sun, 3 Aug 2008 18:25:18 +0000 (23:55 +0530)]
Moving grab_file

11 years agoMoving grad_fd to string.c
dinesh [Sun, 3 Aug 2008 18:14:11 +0000 (23:44 +0530)]
Moving grad_fd to string.c

11 years agoIgnore tools/_infotojson/infotojson
Rusty Russell [Thu, 31 Jul 2008 05:03:09 +0000 (15:03 +1000)]
Ignore tools/_infotojson/infotojson

11 years agolibccan.a: simple way to use all of ccan.
Rusty Russell [Thu, 31 Jul 2008 05:02:32 +0000 (15:02 +1000)]
libccan.a: simple way to use all of ccan.

11 years agoFix 64-bit compile warning.
Rusty Russell [Wed, 30 Jul 2008 01:55:04 +0000 (11:55 +1000)]
Fix 64-bit compile warning.

11 years agoRevised version of infotojson after comments
gdinesh@csa.iisc.ernet.in [Mon, 28 Jul 2008 07:11:34 +0000 (12:41 +0530)]
Revised version of infotojson after comments

11 years agoclearing compilation warning
gdinesh@csa.iisc.ernet.in [Mon, 28 Jul 2008 05:41:37 +0000 (11:11 +0530)]
clearing compilation warning

11 years agousing string.h
dinesh [Mon, 28 Jul 2008 05:00:08 +0000 (10:30 +0530)]
using string.h

11 years agostrjoin()
Rusty Russell [Mon, 28 Jul 2008 04:52:35 +0000 (14:52 +1000)]
strjoin()

11 years agoUse new string.h strsplit() everywhere.
Rusty Russell [Mon, 28 Jul 2008 04:21:23 +0000 (14:21 +1000)]
Use new string.h strsplit() everywhere.

11 years agostrsplit()
Rusty Russell [Mon, 28 Jul 2008 03:54:36 +0000 (13:54 +1000)]
strsplit()

11 years agoTie _infotojson into the Makefile, so we can do "make
Rusty Russell [Mon, 28 Jul 2008 03:40:36 +0000 (13:40 +1000)]
Tie _infotojson into the Makefile, so we can do "make
tools/_infotojson/infotojson".

11 years agoProper recursive dependencies (came from libantithread work)
Rusty Russell [Mon, 28 Jul 2008 03:04:17 +0000 (13:04 +1000)]
Proper recursive dependencies (came from libantithread work)

11 years agoMove hash into ccan/ dir
Rusty Russell [Mon, 28 Jul 2008 03:02:22 +0000 (13:02 +1000)]
Move hash into ccan/ dir

11 years agocommiting _info to json convertor
dinesh [Mon, 21 Jul 2008 03:48:42 +0000 (09:18 +0530)]
commiting _info to json convertor

12 years agoFork support.
Rusty Russell [Sun, 29 Jun 2008 09:06:22 +0000 (19:06 +1000)]
Fork support.

12 years agoExternal allocator support.
Rusty Russell [Sun, 29 Jun 2008 09:05:47 +0000 (19:05 +1000)]
External allocator support.

12 years agoAdd alloc_size(): every allocator has to be able to answer this, since
Rusty Russell [Sun, 29 Jun 2008 09:03:53 +0000 (19:03 +1000)]
Add alloc_size(): every allocator has to be able to answer this, since
free() doesn't have a size arg.

12 years agoCompile fixes
Rusty Russell [Sun, 29 Jun 2008 05:26:06 +0000 (15:26 +1000)]
Compile fixes

12 years agoSplit tools unto parts for fixing run_tests to link req'd deps.
Rusty Russell [Sun, 29 Jun 2008 04:42:34 +0000 (14:42 +1000)]
Split tools unto parts for fixing run_tests to link req'd deps.

12 years agoAdd fclose_noerr()
Rusty Russell [Sat, 28 Jun 2008 06:52:50 +0000 (16:52 +1000)]
Add fclose_noerr()

12 years agoFix crash on compulsory test fail.
Rusty Russell [Sat, 28 Jun 2008 06:37:59 +0000 (16:37 +1000)]
Fix crash on compulsory test fail.

12 years agoMore things to ignore.
Rusty Russell [Mon, 23 Jun 2008 05:48:52 +0000 (15:48 +1000)]
More things to ignore.

12 years agoFix up Makefile for "make ccanlint"
Rusty Russell [Mon, 23 Jun 2008 05:48:10 +0000 (15:48 +1000)]
Fix up Makefile for "make ccanlint"

12 years agoMove modules to ccan/ tools to tools/
Rusty Russell [Mon, 2 Jun 2008 02:39:51 +0000 (12:39 +1000)]
Move modules to ccan/ tools to tools/
Requires minor fixups.  "depends" now prefixes ccan/ (allows for
non-ccan deps later).

12 years agoFirst primitive cut of ccanlint
Rusty Russell [Mon, 2 Jun 2008 02:16:51 +0000 (12:16 +1000)]
First primitive cut of ccanlint

12 years agoRemoved ccan_tools versions of talloc and libtap in favor of ccan ones.
Rusty Russell [Sun, 18 May 2008 14:09:59 +0000 (00:09 +1000)]
Removed ccan_tools versions of talloc and libtap in favor of ccan ones.

12 years agoFirst cut of hashing routines.
Rusty Russell [Sun, 18 May 2008 14:06:38 +0000 (00:06 +1000)]
First cut of hashing routines.

12 years agoUse new alignof package
Rusty Russell [Sun, 18 May 2008 06:20:39 +0000 (16:20 +1000)]
Use new alignof package

12 years agoALIGNOF() helper
Rusty Russell [Sun, 18 May 2008 06:19:36 +0000 (16:19 +1000)]
ALIGNOF() helper

12 years agoNeaten definitions a little.
Rusty Russell [Sun, 18 May 2008 03:00:17 +0000 (13:00 +1000)]
Neaten definitions a little.

12 years agoFinished uniform allocation code.
Rusty Russell [Sun, 18 May 2008 02:55:23 +0000 (12:55 +1000)]
Finished uniform allocation code.

12 years agoFix up most #include "tap.h" -> #include "tap/tap.h" in tests.
Rusty Russell [Fri, 16 May 2008 04:36:30 +0000 (14:36 +1000)]
Fix up most #include "tap.h" -> #include "tap/tap.h" in tests.

12 years agoFix test to flush stdout: sometimes goes into pipe, causing failure.
Rusty Russell [Fri, 16 May 2008 04:35:04 +0000 (14:35 +1000)]
Fix test to flush stdout: sometimes goes into pipe, causing failure.

12 years agoTurned libtap into a proper ccan package.
Rusty Russell [Fri, 16 May 2008 04:22:25 +0000 (14:22 +1000)]
Turned libtap into a proper ccan package.
Fixed up ccan_tools dir, not other package's tests.

12 years agoHelper routines for saving errno in error paths.
Rusty Russell [Sun, 4 May 2008 00:17:16 +0000 (10:17 +1000)]
Helper routines for saving errno in error paths.

12 years agoRemove redundant metalen from metadata header: we can use page bits.
Rusty Russell [Thu, 27 Mar 2008 12:26:07 +0000 (23:26 +1100)]
Remove redundant metalen from metadata header: we can use page bits.

12 years agoMore cleanups where get_bit_pair should be used instead of
Rusty Russell [Thu, 27 Mar 2008 11:50:44 +0000 (22:50 +1100)]
More cleanups where get_bit_pair should be used instead of
get_page_state.
Combine alloc_get_pages and alloc_from_bitmap.
Fix error in alloc_init (valgrind found uninitialized mem)

12 years agoNo fair asking allocator to align greater than pool.
Rusty Russell [Thu, 27 Mar 2008 11:50:19 +0000 (22:50 +1100)]
No fair asking allocator to align greater than pool.

12 years agoSeparate functions for bitpair manip.
Rusty Russell [Thu, 27 Mar 2008 10:42:04 +0000 (21:42 +1100)]
Separate functions for bitpair manip.

12 years agoClean up metadata when we run out of room.
Rusty Russell [Thu, 27 Mar 2008 10:20:52 +0000 (21:20 +1100)]
Clean up metadata when we run out of room.

12 years agoMinor cleanups, a little new testing and a "visualize" routine which
Rusty Russell [Mon, 24 Mar 2008 07:59:05 +0000 (18:59 +1100)]
Minor cleanups, a little new testing and a "visualize" routine which
found one bug.

12 years agosub-page allocations work, still some FIXMEs to go.
Rusty Russell [Sun, 23 Mar 2008 13:43:45 +0000 (00:43 +1100)]
sub-page allocations work, still some FIXMEs to go.

12 years agoAllocator now has metadata.
Rusty Russell [Tue, 18 Mar 2008 06:38:59 +0000 (17:38 +1100)]
Allocator now has metadata.

12 years agoAllocate backwards, ready for metadata.
Rusty Russell [Tue, 18 Mar 2008 05:48:09 +0000 (16:48 +1100)]
Allocate backwards, ready for metadata.

12 years agoFix typo.
Rusty Russell [Sat, 15 Mar 2008 10:58:36 +0000 (21:58 +1100)]
Fix typo.

12 years agoInitial cut at file/mem allocator (pages only)
Rusty Russell [Sat, 15 Mar 2008 10:57:57 +0000 (21:57 +1100)]
Initial cut at file/mem allocator (pages only)

12 years agoCompile even with !HAVE_TYPEOF etc, and remove redundant test case.
Rusty Russell [Thu, 28 Feb 2008 04:20:36 +0000 (15:20 +1100)]
Compile even with !HAVE_TYPEOF etc, and remove redundant test case.