Keith Bostic
344a714c3d
Upgrade copyright notices from 2015 to 2016.
2016-01-01 16:37:39 -05:00
Don Anderson
4126e77abe
Merge branch 'develop' into wt-1315-join-cursor
2015-11-04 06:44:25 -05:00
Don Anderson
2770eb0749
WT-1315. Added java support for join cursors.
2015-11-03 13:36:06 -05:00
Don Anderson
5a3b104d58
WT-2194 Handle close callbacks for cursors that were not opened by Java.
...
This can now happen, as WiredTigerLAS.wt is opened internally.
2015-11-02 09:26:22 -05:00
Susan LoVerso
366fc17e0b
WT-2104 New log_flush API to control the flushing or syncing of the log.
2015-09-15 13:35:11 -04:00
Don Anderson
7c5de72ebd
Fixed bugs in packing/unpacking bytearrays: we must be aware of 'U' format;
...
when length is provided in format, use it; do padding.
Fixed signed checking for getInt/Long/Short.
Fixed bugs in packing strings: embedded nulls; use length when provided.
Logic copied from packing.py.
Added special case encoding for 8256 (to match Python and C).
2015-07-13 13:54:09 -04:00
Don Anderson
83a7f8ae93
Java's Cursor.reset() now completely resets the cursor: it removes the
...
state of any incompletely packed/unpacked items.
2015-07-13 13:48:19 -04:00
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
2e9f552fd8
WT-1964. Simplify references to JAVA_CALLBACK->jnienv to promote readability.
2015-06-26 16:06:55 -04:00
Don Anderson
df85488407
WT-1964. For Java, handle cases where a session or cursor is closed
...
when the thread that open it no longer exists. Add tests to kill
threads that have open cursors and sessions.
2015-06-26 15:52:35 -04:00
David Hows
9b60ee8332
Add reset to wiredtiger.in and ex_all
2015-06-22 11:20:37 +10: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
Susan LoVerso
474ff612e8
Merge branch 'develop' into transaction-background
...
Conflicts:
src/config/config_def.c
src/include/config.h
src/include/txn.h
src/log/log.c
src/session/session_api.c
2015-05-27 12:15:11 -04:00
Susan LoVerso
e451621025
Merge branch 'develop' into transaction-background
...
Conflicts:
src/include/config.h
src/include/txn.h
src/include/wiredtiger.in
2015-05-13 15:45:52 -04:00
Michael Cahill
6237ef264d
Merge branch 'develop' into named-snapshots
...
Conflicts:
dist/api_data.py
src/config/config_def.c
src/include/config.h
src/txn/txn.c
2015-05-13 16:46:16 +10:00
Susan LoVerso
be185cd74e
Add a background transaction sync mechanism. WT-1908
2015-05-05 16:13:47 -04:00
Michael Cahill
0fb36c6730
Update auto-generated files.
2015-04-02 17:03:40 +11:00
Don Anderson
9a7d534474
Fixes for style and whitespace. Refs #1822 .
2015-03-26 20:16:14 -04:00
Don Anderson
900f7e54f8
Add WT_CONNECTION::add_encryptor() to satisfy unused function warning.
...
Fixed Java API to compile with encryptor. Refs #1822 .
2015-03-26 14:06:31 -04:00
Don Anderson
27269333ae
Added -I include paths as needed to handle #include <3rdparty/...>
2015-03-25 20:21:32 -04:00
Alex Gorrod
61521a7c67
Fix equals method in java API.
2015-01-17 15:14:30 +11:00
Michael Cahill
f54fa988a9
Make Cursor.equals return a boolean in Java.
2015-01-17 09:46:27 +11:00
Michael Cahill
1dae9366fd
Merge branch 'develop' into cursor-equal
...
Conflicts:
src/cursor/cur_std.c
src/cursor/cur_table.c
src/include/extern.h
2015-01-17 07:48:42 +11:00
Michael Cahill
a30db47d03
Merge branch 'develop' into cursor-equal
...
Conflicts:
lang/python/wiredtiger.i
2015-01-17 07:33:37 +11:00
Keith Bostic
2894268cca
Put the WT_CURSOR public methods in alphabetical order.
2015-01-16 15:01:36 -05:00
Michael Cahill
1b033e5b2b
Don't allow "readonly" to be reconfigured on cursors.
...
refs #1467
2015-01-17 05:15:04 +11:00
Michael Cahill
eb1511f3f1
Merge branch 'develop' into cursor-reconfigure
2015-01-14 02:44:49 +11:00
Alex Gorrod
812be6c438
Rename WT_CURSOR compare_equal to be equals.
...
While here, add a generic cursor equals stub in curstd, rather than
redirecting via cursor function pointer lists.
Implement the Java API wrapper.
2015-01-14 02:28:10 +11:00
Keith Bostic
56865ca8ec
Fix a function name typo, update auto-generated files.
2015-01-12 11:08:19 -05:00
Don Anderson
b8971b6ffe
Merge branch 'develop' into java-examples
2015-01-09 10:19:17 -05:00
Don Anderson
c8bad02860
Various fixes related to java examples. Refs #1526 .
...
Don't turn on cursor RAW flag for a JSON dump cursor.
Fixed unpacking a fixed length string: unpack cur position was not being updated.
Fixed packing a fixed length string: String array bounds check was firing.
Fixed unpacking short/int: range check was incorrect.
Added methods to put/get record numbers (e.g. getKeyRecord) in Cursor and AsyncOp.
Remove stray println.
2015-01-09 09:54:21 -05:00
Keith Bostic
1f9098871a
Copyright notices: add MongoDB, update to 2015.
2015-01-04 14:07:56 -05:00
Keith Bostic
94b9c2774d
Fix order of original cursor functions.
2014-12-22 16:43:46 -05:00
Keith Bostic
4c26d2324b
Add support for a WT_CURSOR.reconfigure method, reference #1381 .
2014-12-11 19:32:50 -05:00
Don Anderson
d3c8519c2a
Add typemaps so Java close cleanups occur after 'close' completes. refs #1332 .
...
Some refactoring and simplification of close code.
KNF whitespace.
2014-11-07 15:27:44 -05:00
Don Anderson
25028d5388
Added new %define to clean up name shuffling for wrap functions. #1295
2014-10-30 10:28:34 -04:00
Don Anderson
6880b1290d
Cleanup as a result of last merge: refs #1295
...
Make new uint64 support work with WT_ASYNC_OP::get_id().
Removed unused label in WT_SESSION::transaction_pinned_range().
2014-10-30 10:04:48 -04:00
Don Anderson
61bbf08f00
Merge branch 'develop' into java-exceptions
2014-10-30 09:26:49 -04:00
Alex Gorrod
906f10a05b
Fix copy-paste error.
2014-10-28 11:57:07 +11:00
Alex Gorrod
a3051990fe
Add transaction_pinned_range to Java API.
2014-10-28 11:30:36 +11:00
Michael Cahill
f333e96644
Fix transaction ID logic (again), add session method entry / exit, add a documentation snippet.
2014-10-27 12:41:20 +11: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
dff61d2713
WiredTigerException now extends RuntimeException, making it easier to
...
write Java programs using WiredTiger. refs #1011 .
2014-10-10 13:37:25 -04:00
Don Anderson
84be8984da
Multiple language doc support. refs #1130 .
...
doxfilter modified to know about new macros: @m_page, @m_if, @m_else, @m_endif.
Pages with @m_page have all its snippets/subpages point to the language
specific example/subpage.
The java examples directory added to EXAMPLE_PATH in Doxyfile.
Added @m_page to any doc page that also needs a Java version.
Added cast to wiredtiger.i for stricter compiler checking.
2014-10-06 13:58:18 -04:00
Susan LoVerso
6f78c3d431
Ignore __wt_lsn in language interfaces. #1106
2014-07-15 15:49:55 -04:00