Don Anderson
38f4c2ca01
WT-1985. Added two more comprehensive packing tests, based on test/suite tests.
2015-07-13 10:35:17 -04:00
Don Anderson
e038dc447e
WT-1963. Refactored Java's next/prev/search/search_near, and modified
...
so they do not get the key/value when there is no format.
2015-06-12 13:52:01 -04:00
Don Anderson
27269333ae
Added -I include paths as needed to handle #include <3rdparty/...>
2015-03-25 20:21:32 -04:00
Don Anderson
8dc722e1bd
Added a minimal ExceptionTest for java.
2014-10-23 11:19:36 -04:00
Don Anderson
e2ebc73274
Integrate new Java exception classes into java version of doc.
2014-10-23 10:45:31 -04:00
Don Anderson
3d3c292797
Merge branch 'develop' into java-exceptions
2014-10-23 10:34:14 -04:00
Don Anderson
b7c182b26c
Renamed WiredTigerDeadlockException to be WiredTigerRollbackException.
2014-10-23 10:33:19 -04:00
Michael Cahill
5c2c195438
Make sure the Java examples are built along with the API. Make section names language-specific to avoid errors from newer releases of doxygen.
2014-10-13 17:08:20 +11:00
Don Anderson
f2dd007eda
Added new Java exception classes for WT_DEADLOCK and WT_PANIC errors.
...
refs #1011 .
2014-10-10 13:45:41 -04:00
Don Anderson
2bf916541f
Support async operations in Java. refs #933 .
...
- Created a real async handler for java allowing callbacks
into java code. Code to be registered must implement the
new AsyncCallback interface.
- Renamed classes/methods to Java-ish names.
- Fixes to support 'this' removal for AsyncOp.
- Java's cursor ops, like 'insert' set up the value unpackers
after insert completes. For AsyncOp, we take a different
approach, and invalidate the unpacker when the op completes,
letting the value be fetched when needed.
- Added new test AsyncTest that tests doing different numbers of
async ops with different parameters, and also with different types
of keys/values.
2014-05-11 15:09:40 -04:00
Don Anderson
10b45b8a73
Python for async:
...
- Various fixes to allow test_async01.py to work for string key/value.
- Hand rolled AsyncCallback class to mirror C's WT_ASYNC_CALLBACK.
- Keep the async callback in the PY_CALLBACK struct hidden in cursor's
lang_private.
- Some cleanups in writeToPythonStream(), including fixing
potential race condition.
Java for async:
- Modified Java SWIG interfaces for async enough to allow it compile.
- Standardized class spelling to 'AsyncOp'.
- Removed a few non-applicable methods from AsyncOp.
2014-05-01 13:13:47 -04:00
Alex Gorrod
c93b75875b
Fix include paths for Java and Python builds.
...
This means that Java and Python builds work from the root
(or arbitrary) directories again.
2014-03-31 13:03:53 +11:00
Michael Cahill
8354efc8c9
Remove circular dependency from the Java build.
...
refs #841
2014-01-14 14:17:12 +11:00
Michael Cahill
0a9925e7e3
Add a rule to the Java Makefile that knows the path to wiredtiger_wrap.c.
...
refs #841
2014-01-13 14:21:49 +11:00
Michael Cahill
8c10616fb7
Fix the Java build for automake 1.14.
...
refs #841 , #599
2014-01-13 11:18:05 +11:00
Alex Gorrod
1625a33985
Add a test case for Java auto close feature.
2013-10-25 15:41:30 +11:00
Alex Gorrod
ed3d9ff846
Add a test case for Java cursor issue refs #493
2013-03-26 12:54:39 +11:00
Michael Cahill
dcebe3dca2
Install wiredtiger.jar when running "make install".
2013-03-14 14:57:07 +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
Michael Cahill
03b35fe8d5
Improve configure detection of Java.
2012-07-23 10:22:06 +10:00
Michael Cahill
0671e7d311
Generate javadoc into docs/java for the Java API.
2012-07-09 16:19:51 +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