- 07 Oct, 2010 1 commit
-
-
Rusty Russell authored
This hit my doc extraction tool, so fix it!
-
- 06 Oct, 2010 19 commits
-
-
Rusty Russell authored
-
Rusty Russell authored
-
Rusty Russell authored
This is everything up to the list module... now it's time for sleep.
-
Rusty Russell authored
Including intuiting ccan depends based on headers...
-
Rusty Russell authored
-
Rusty Russell authored
-
Rusty Russell authored
-
Rusty Russell authored
-
Rusty Russell authored
-
Rusty Russell authored
In particular, we can assume "somefunc()" exists in our examples.
-
Rusty Russell authored
Try to glue consecutive examples together if all else fails (works well for ccan/alloc/alloc.h). This means we should put examples into list in order.
-
Rusty Russell authored
-
Rusty Russell authored
These are from hash: the entire example is indented, there is no main(), and there are unused static functions.
-
Rusty Russell authored
Some of the compulsory tests don't have a total_score; treat that as "1". And don't print out a score if the total is <= 1.
-
Rusty Russell authored
Don't assume that ../modulename.o already built!
-
Rusty Russell authored
And don't require the module.o to already exist: link against generated .o files.
-
Rusty Russell authored
Includes primitive attempt to place fragments into appropriate framework to compile them.
-
Rusty Russell authored
We had example names like "example-opt.h-opt_parse", which got trimmed to "example-opt". By using a basename of example-opt.h-opt_parse.c, we only strip the final ".c" not the middle ".h".
-
Rusty Russell authored
-
- 05 Oct, 2010 7 commits
-
-
Rusty Russell authored
-
Rusty Russell authored
-
Rusty Russell authored
Don't allow NULL descs, and put them in macro. Users can use "", but make sure it's explicit, not an accidental omission. Use errx() instead of assert() for API usage errors. Rename opt_flags to opt_type.
-
Rusty Russell authored
-
Rusty Russell authored
-
Rusty Russell authored
I still don't like the duplication, but it's clearer and not much longer.
-
Rusty Russell authored
longidx is not updated in this case. We should open-code option parsing.
-
- 03 Oct, 2010 1 commit
-
-
Rusty Russell authored
This is more explicit than separate short and long (great for grep!) and simpler.
-
- 30 Sep, 2010 1 commit
-
-
Rusty Russell authored
-
- 29 Sep, 2010 1 commit
-
-
Rusty Russell authored
-
- 26 Sep, 2010 9 commits
-
-
Rusty Russell authored
This includes renaming ATTRIBUTE_UNLIKELY_FUNCTION to ATTRIBUTE_COLD, and removing unlikely_func macro from ccan/likely.
-
Rusty Russell authored
Valgrind was giving a spurious error.
-
Rusty Russell authored
-
Rusty Russell authored
-
Rusty Russell authored
-
Rusty Russell authored
We were getting occasional failures: if all values are the same it's a 1-line graph and there's no "|" anywhere.
-
Rusty Russell authored
-
Rusty Russell authored
Currently they sit in each module.
-
Rusty Russell authored
Macro packages do this.
-
- 25 Sep, 2010 1 commit
-
-
Rusty Russell authored
-