Commit Graph

18 Commits

Author SHA1 Message Date
Keith Bostic
344a714c3d Upgrade copyright notices from 2015 to 2016. 2016-01-01 16:37:39 -05:00
Keith Bostic
40c0ea67fa Switch uses of wiredtiger_strerror() for WT_SESSION.strerror(). 2015-03-20 17:46:54 -04:00
Keith Bostic
1f9098871a Copyright notices: add MongoDB, update to 2015. 2015-01-04 14:07:56 -05:00
Keith Bostic
4c63f1e53f Minor shuffling to turn on more clang warnings:
- a few more uninitialized variables
- make variables local to a single file static
- replace use of WT_UNUSED_RET with error checking of the call (the
	macro was using a GCC extension clang doesn't like)

With these changes, clang is mostly silent using the following options:

	-Weverything
	-Wno-cast-align
	-Wno-conversion
	-Wno-covered-switch-default
	-Wno-documentation-unknown-command
	-Wno-format-nonliteral
	-Wno-language-extension-token
	-Wno-missing-noreturn
	-Wno-packed
	-Wno-padded
	-Wno-switch-enum
	-Wno-zero-length-array

Also, minor KNF whitespace cleanups.
2014-09-01 15:03:26 -04:00
Michael Cahill
77b426c555 Fix cleanup of home directories for example code, and fix use of system without checking the return value (clang has a warning for that). 2014-08-25 11:07:43 +10:00
Keith Bostic
5606c4b147 We're setting "home" to NULL, and then using it in error messages, which
isn't good, we'll drop core if they ever fire, not a good thing in a
sample program.  Add boilerplate to the examples, if we don't have an
evironment specified by "make check", create a clean standard one and
use it.
2014-08-23 14:58:01 -04:00
Keith Bostic
89ae59259b Lint: primarily make sure no WiredTiger call that returns an error value
ignores that error.
2014-08-23 14:30:52 -04:00
Keith Bostic
5b509b7220 Update copyright notices for 2014.
Move lang/java and lang/python into the public domain.
2014-01-07 10:30:12 -05:00
Michael Cahill
6f4673c288 Allow examples to run in parallel: give each a unique home directory.
closes #426
2013-01-08 11:55:11 +11:00
Keith Bostic
963d37a4e6 Update copyright notice to 2013. 2013-01-01 09:45:50 +00:00
Keith Bostic
7a3b1353f0 We're sending a mixed message -- remove the copyright notices from files
where we've placed our content in the public domain.
2012-08-15 17:46:54 +00:00
Keith Bostic
d473094676 Update copyright notices to 2012.
Change the copyright check script to always use the current year.

Change the example code copyright notices to document them as freeware,
anybody using WiredTiger example code is free to use it in any way they
choose, including commercially, WiredTiger claims no rights in such a
copy.

Minor re-ordering of the standard copyright notice so the preamble is
always the copyright notice itself, not the mention of the LICENSE file.
2012-01-22 18:52:07 +00:00
Keith Bostic
c4900b40df Quit using explicit search patterns (dontinclude/skipline) in the
documentation, use snippet instead.
2012-01-18 11:18:05 +00:00
Keith Bostic
c1417a2d80 The config string for a multiprocess system is "multiprocess", not "share". 2011-10-05 14:10:38 +00:00
Keith Bostic
61df5f8c29 Added a bunch of warnings to gcc 4.2.1, clean up the lint. 2011-02-18 10:35:03 -05:00
Michael Cahill
4cf87d06a4 Remove '$Id$ from sources, add more file to the list for s_copyright to check. 2011-02-16 16:15:04 +11:00
Michael Cahill
84c3666460 Incorporated Keith's latest feedback, switched XXX to @todo...
--HG--
branch : mjc
rename : docs/src/overview.dox => docs/src/introduction.dox
rename : include/wiredtiger.h => include/wiredtiger_ext.h
2011-01-06 21:45:04 +11:00
Michael Cahill
c823027e57 More work on code samples, Python implementation of the API using Berkeley DB.
--HG--
branch : mjc
rename : examples/c/ex_hello.c => examples/c/ex_cursor.c
rename : examples/c/ex_hello.c => examples/c/ex_extending.c
rename : examples/c/ex_hello.c => examples/c/ex_pack.c
rename : examples/c/ex_hello.c => examples/c/ex_process.c
rename : examples/c/ex_hello.c => examples/c/ex_transaction.c
2011-01-06 10:57:13 +11:00