Michael Cahill
a37f94d337
Move pack/unpack methods into the extension API, because extensions shouldn't link with the WiredTiger library.
...
While in the area, make doxygen comment formatting consistent: block comments should have a blank first line.
2013-04-22 17:41:34 +10:00
Michael Cahill
9a74a794a7
Change the extension function names to "init" and "terminate" so that API changes are caught at compile time.
2013-04-19 17:11:21 +10:00
Keith Bostic
3f5f248803
Add an extension "unload" entry point, configured with "unload" and with
...
a default of wiredtiger_extension_unload.
Rename "entry" load extension entry point to be "load", rename the default
from wiredtiger_extension_init to wiredtiger_extension_load, to match.
2013-04-18 08:44:08 -04:00
Michael Cahill
25128373b9
Minor build fixes: don't export WT_CONFIG_ITEM with SWIG, uninitialized 'ret'.
2013-04-18 15:39:19 +10:00
Michael Cahill
c24be939fb
Data source cleanup: fix some build warnings, exclude new function from the Java API, allow enough space in the wiredtiger_open cfg stack for a WIREDTIGER_CONFIG environment variable.
2013-04-12 11:01:12 +10:00
Keith Bostic
89b23edbdc
Support new configuration options added by the applications, using a new
...
method, WT_CONNECTION::configure_method.
For some reason I can'quite figure out, this set of changes made lint run a
bunch better on some sources, and showed up a few different uninitialized
variables in error paths. Got me why, but they're real, and I fixed them.
2013-04-09 20:17:58 -04:00
Keith Bostic
9889288775
Make WiredTiger extension functions available to linked-in modules via
...
a new function wiredtiger_extension_api(WT_EXTENSION_API **pp).
Write some WT_EXTENSION_API documentation.
Remove WT_SESSION::msg_printf, add a new msg_printf extension function
instead, convert test/format to use it.
Quit using __UNUSED in the extension code, use explicit (void) casting,
it's cleaner.
2013-04-09 13:12:36 -04:00
Alex Gorrod
ed3d9ff846
Add a test case for Java cursor issue refs #493
2013-03-26 12:54:39 +11:00
Michael Cahill
9698d23d93
Fix get_key/value in the Java API for complex cursors.
...
closes #493
2013-03-26 12:42:57 +11:00
Alex Gorrod
40b2fd6dce
Add Java documentation for Session::open_cursor
2013-03-25 16:41:47 +11:00
Michael Cahill
dcebe3dca2
Install wiredtiger.jar when running "make install".
2013-03-14 14:57:07 +11:00
Michael Cahill
6234ba40fc
Improvements for the Java API documentation: create a Java API module, link to class documentation and wiredtiger_open documentation.
2013-02-25 16:13:39 +11:00
Alex Gorrod
12ea0e5961
Fix copyright notices in Java source code.
2013-02-19 18:40:27 +11:00
Alex Gorrod
7cfaebdc3b
Add comments to the Java methods defined in the SWIG interface.
2013-02-19 18:00:50 +11:00
Alex Gorrod
39150c640e
Update Java Cursor API naming to reflect ByteArray semantics.
...
Also update documentation, to use Doxygen and @copydoc where possible.
Not yet tied into s_docs.
2013-02-19 17:06:41 +11:00
Alex Gorrod
d6f5ed6237
Fix library path for Java make check on Linux.
2013-02-14 16:21:18 +11:00
Alex Gorrod
27e2b3ff17
Fix conditional compilation of JUnit tests.
2013-02-14 16:11:43 +11:00
Alex Gorrod
52d37a140b
Update Java cursors to use packing code. Also enhance JUnit usage.
2013-02-13 19:14:40 +11:00
Alex Gorrod
19fed99760
Update Java structure packing implementation.
...
Add a first JUnit test case, and associated autoconf files.
2013-02-12 21:00:49 +11:00
Alex Gorrod
12c649b0f4
Add a Java implementation of packed formats.
...
Also add a test case and update the layout of the Java build.
2013-02-08 14:15:19 +11:00
Alex Gorrod
697825e73b
Add in examples to Java build.
2013-01-25 12:48:02 +11:00
Alex Gorrod
90e7314eb3
Fix Java build to work with recent autoconf.
2013-01-24 14:26:51 +11:00
Alex Gorrod
20cf269c8c
Move generated Java files into a subdirectory.
2013-01-24 13:49:35 +11:00
Alex Gorrod
4dc587244a
Have compare return an int not a bool. Add Java implementation for Cursor::compare.
2012-11-29 15:54:50 +11:00
Alex Gorrod
fb896878a0
Rename cursor equals to compare in Java API.
2012-11-29 10:38:29 +11:00
Michael Cahill
c7491df4da
Fix build issues with the Java API caused by C API changes.
2012-08-16 22:53:20 +10:00
Michael Cahill
03b35fe8d5
Improve configure detection of Java.
2012-07-23 10:22:06 +10:00
Michael Cahill
e12e9c81e2
update / insert typo
2012-07-17 14:49:07 +10:00
Michael Cahill
0671e7d311
Generate javadoc into docs/java for the Java API.
2012-07-09 16:19:51 +10:00
Michael Cahill
66e8f7c8ff
Check for errors when returning keys or values.
2012-07-09 16:02:45 +10:00
Michael Cahill
5791f5b864
imported patch java-api
...
--HG--
rename : lang/python/Makefile.am => lang/java/Makefile.am
rename : lang/python/wiredtiger.i => lang/java/wiredtiger.i
2012-07-07 01:27:47 +10:00