- 21 Jul, 2011 18 commits
-
-
Rusty Russell authored
We don't correctly detect pure-comment lines in ccan/ttxml/ttxml.c without this.
-
Rusty Russell authored
This is for SAMBA, so we follow their rules and do full license headers. Two files were missing them.
-
Rusty Russell authored
Too trivial to deserve LGPL, and all my code.
-
Rusty Russell authored
Too trivial to deserve LGPL, and all my code.
-
Rusty Russell authored
Various LGPL components depend on it, via ccan/likely. ccan/likely really only needs it when CCAN_LIKELY_DEBUG is set, but making it a conditional dependency is a bit nasty if defining that changes the license. So this is the simplest fix. I might relicense under PD or BSD later, since the likely module should probably have an even more liberal license.
-
Rusty Russell authored
We don't check external dependencies, but internal ccan deps are pretty easy.
-
Rusty Russell authored
Refactoring helps the next patch.
-
Rusty Russell authored
Comments in code indicate this is actually GPL version 2 or later.
-
Rusty Russell authored
Comments in code indicate this is actually GPL version 2 only.
-
Rusty Russell authored
As ccanlint now says: Source files don't contain incompatible licenses (license_file_compat): FAIL /home/rusty/devel/cvs/ccan/ccan/md4/md4.c:Found boilerplate for license 'GPLv2+' which is incompatible with 'LGPLv2+' This is actually GPL code! Add LICENSE link, too.
-
Rusty Russell authored
This checks to make sure you're not accidentally relicensing code; eg. it's OK (though a bit impolite) to turn a BSD-licensed file into a GPL module, but not the other way around.
-
Rusty Russell authored
After discussion with various developers (particularly the Samba team), there's a consensus that a reference to the license in each source file is useful. Since CCAN modules are designed to be cut and paste, this helps avoid any confusion should the LICENSE file go missing. We also detect standard boilerplates, in which case a one-line summary isn't necessary.
-
Rusty Russell authored
We really want everyone to be using these; establishing conventions helps all code, so make it the most liberal license possible. It's all my code, so I can do this unilaterally.
-
Rusty Russell authored
Trivial code, all mine.
-
Rusty Russell authored
Trivial code, all mine.
-
Rusty Russell authored
We really want everyone to be using these; establishing conventions helps all code, so make it the most liberal license possible. It's all my code, so I can do this unilaterally.
-
Rusty Russell authored
We really want everyone to be using these; establishing conventions helps all code, so make it the most liberal license possible. It's all my code, so I can do this unilaterally.
-
Rusty Russell authored
Now we've made GPL wording uniform, use it everywhere. There's no point allowing variants which might be unclear. We still have some non-conformant licenses in the tree (eg. just "BSD"), so we only warn on unknown license strings for now.
-
- 19 Jul, 2011 2 commits
-
-
Rusty Russell authored
GPL versions 2 and 3 both specifically mention "any later version" as the phrase which allows the user to choose to upgrade the license. Make sure we use that phrase, and make the format consistent across modules.
-
Rusty Russell authored
This improves on the current ad-hoc methods, and also fixes a bug where we mapped "GPLv2" to the GPLv3 symlink.
-
- 06 Jul, 2011 2 commits
-
-
Rusty Russell authored
-
Rusty Russell authored
Turns out it's not standard (thanks Samba build farm!) And the previous test had a hole in it anyway. This one is more conservative.
-
- 04 Jul, 2011 1 commit
-
-
Rusty Russell authored
I'm not sure that a "pthread-safe" tap library is very useful; how many people have multiple threads calling ok()? Kirill Shutemov noted that it gives a warning with -Wundef; indeed, we should ask in this case whether they want pthread support, not whether the system has pthread support to offer.
-
- 02 Jul, 2011 1 commit
-
-
Joey Adams authored
This file contains my private ramblings about the JSON module, and was not meant to be included in the public release.
-
- 01 Jul, 2011 1 commit
-
-
Joey Adams authored
-
- 21 Jun, 2011 1 commit
-
-
Rusty Russell authored
Posix says ssize_t is in sys/types.h; on Linux stdlib.h is enough.
-
- 19 Jun, 2011 1 commit
-
-
Russell Steicke authored
I've been using the antithread arabella example to generate some "arty" portraits for decoration. I've made a few changes to it (triangle sizes and number of generations before giving up), and may send those as patches later. Because some of the images I'm generating have taken quite a while (many days) I've needed to restart the run after rebooting machines for other reasons, and noticed that arabella restarted the generation count from zero. I wanted to continue the generation count, so here's a patch to do just that.
-
- 17 Jun, 2011 3 commits
-
-
Rusty Russell authored
Simple port from the TDB1 versions. Also, change to "tdb2.h" includes so they can be built even in other directories in future.
-
Rusty Russell authored
This means they can be installed in parallel with tdb1's tools.
-
Rusty Russell authored
This is where we should be getting bswap_64 from.
-
- 16 Jun, 2011 1 commit
-
-
Rusty Russell authored
Take some care to preserve formatting, even with mixed tabs and spaces.
-
- 15 Jun, 2011 1 commit
-
-
Joey Adams authored
-
- 11 Jun, 2011 1 commit
-
-
Joey Adams authored
* utf8_read_char * utf8_write_char * from_surrogate_pair * to_surrogate_pair
-
- 08 Jun, 2011 1 commit
-
-
Rusty Russell authored
My simple test program on my laptop showed that with modern 32 bit Intel CPUs and modern GCC, there's no measurable penalty for the clean version. Andrew Bartlett complained that the valgrind noise was grating. Agreed.
-
- 05 Jun, 2011 1 commit
-
-
Rusty Russell authored
-
- 31 May, 2011 2 commits
-
-
Rusty Russell authored
-
Rusty Russell authored
-
- 30 May, 2011 1 commit
-
-
Joey Adams authored
-
- 20 May, 2011 2 commits
-
-
Rusty Russell authored
-
Rusty Russell authored
We tried to get a F_WRLCK on the open lock; we shouldn't do that for a read-only tdb. (TDB1 gets away with it because a read-only open skips all locking). We also avoid leaking the fd in two tdb_open() failure paths revealed by this extra testing.
-