Alec Grieser
83e4b966d5
Resolves #1235 : Java: FDBExceptions are created successful operation completion ( #1236 )
...
The native function `NativeFuture::Future_getError` now returns `null` when the error code is 0 instead of an `FDBException` with a "Success" message and an error code of 0. This was only used in two places within the codebase; those two places now check for `null` errors and treats them like successes.
2019-03-06 18:34:36 -08:00
Alex Miller
af617d68e6
boost 1.52.0 -> 1.67.0 in all vcxproj files
2019-03-05 22:06:12 -08:00
A.J. Beamon
ad8bfc1b8f
Merge pull request #1166 from alecgrieser/tuple-performance-improvements
...
Java Tuples: Hash and equality improvements
2019-02-25 15:10:45 -05:00
mpilman
9b14aeb156
Tell cmake not to link/install on ide build
2019-02-19 15:16:59 -08:00
Alec Grieser
9bf4940249
Memoize Tuple hashes and do not pack for equality check
2019-02-18 08:54:25 -08:00
Alec Grieser
c6947db091
Add a basic performance tester of Java Tuples
2019-02-18 08:54:21 -08:00
mpilman
ddddda7328
docker-compose can now build rpm
...
weirdly it still generates a foundationd-unspecified
rpm. However, it is empty and can be ignored for now
2019-02-15 00:01:42 -08:00
mpilman
ffaaaf5028
build fat-jar with packages
...
The packages target will now build the fat jar and
it will place the jar file into the packages directory
2019-02-15 00:01:42 -08:00
mpilman
75f692b931
simplify actorcompiler and target to compile coveragetool
2019-02-15 00:01:42 -08:00
mpilman
70545e07d8
Added documentation on how to build the jar-files
2019-02-15 00:01:42 -08:00
mpilman
1ed149e624
Add option to build fat jar
2019-02-15 00:01:42 -08:00
mpilman
f601aa7407
Make Java an optional dependency
2019-02-15 00:01:42 -08:00
mpilman
7a858b902d
Most of FDB compiling on Windows with cmake
2019-02-07 15:37:04 -08:00
A.J. Beamon
2173e0acda
Remove ClusterOptions from generated sources in Java
2019-01-25 09:30:02 -08:00
Andrew Noyes
1c1e42396c
ClusterOptions.java is no longer generated
2019-01-24 16:04:56 -08:00
Andrew Noyes
6b34d62918
Fix GENERATED_JAVA_DIR
2019-01-24 15:59:18 -08:00
Andrew Noyes
aa566a755f
Account for file mv's/rm's in java bindings cmake
2019-01-24 15:41:27 -08:00
A.J. Beamon
8451c0cfc1
Favor nullptr in JNI code.
2019-01-10 13:13:21 -08:00
A.J. Beamon
bfa97d7ff2
Address review comments
2019-01-10 12:28:14 -08:00
A.J. Beamon
11cce3731b
Merge branch 'master' into remove-cluster-from-bindings
...
# Conflicts:
# bindings/c/fdb_c.cpp
2019-01-10 11:58:34 -08:00
Bhaskar Muppana
5a8419e5cf
Move Java specific setup into bindings/java/CMakeLists.txt
...
and s/SET/set
2019-01-02 21:19:08 -08:00
Markus Pilman
df0f491c29
Some more improvements to the build and preparations for packaging
2018-12-13 15:04:13 -08:00
Markus Pilman
f8eac70700
Fixed C bindings DLLEXPORT and Java bindings
2018-12-13 14:59:36 -08:00
A.J. Beamon
96b9cbcfcf
fdb_c.cpp needs access to the legacy types, the C binding test uses the new API, and a couple javadoc links fixed.
2018-11-26 13:07:36 -08:00
A.J. Beamon
890a0f3e82
Merge branch 'master' into remove-cluster-from-bindings
...
# Conflicts:
# bindings/flow/fdb_flow.actor.cpp
2018-11-26 12:01:03 -08:00
A.J. Beamon
d5357d2439
Update all of the bindings to use the new C API and deprecate or remove unneeded parts of their APIs.
2018-10-02 15:28:46 -07:00
A.J. Beamon
983a5bd390
Bump API version to 610
2018-09-26 10:58:07 -07:00
Alec Grieser
5128d9772d
cleverly use parentheses to ensure that the bitwise operation happens before the shift
...
This was casuing getUserVersion to return incorrect results if the user version was greater than 0x00FF.
Fixes #761
2018-09-10 18:18:13 -07:00
John Brownlee
9cad7c8a72
Merge remote-tracking branch 'upstream/release-5.2' into release-6.0-5.2-merge
...
# Conflicts:
# documentation/sphinx/source/downloads.rst
# documentation/sphinx/source/release-notes.rst
# packaging/msi/FDBInstaller.wxs
# versions.target
2018-07-31 13:17:37 -07:00
Alec Grieser
a2b3c71a74
thread custom executors through FDBDatabase::run and FDBDatabase::read
...
Closes #640 .
2018-07-30 16:53:07 -07:00
Alec Grieser
46b8612566
bump API version from 520 to 600
2018-07-09 11:00:57 -07:00
Alvin Moore
c3f88dbfe1
Merge branch 'master' of github.com:apple/foundationdb into tls-static
2018-07-01 23:13:57 -07:00
A.J. Beamon
2ed452353f
Merge branch 'release-5.2' into directory-tester-cleanup
2018-06-26 14:56:09 -07:00
Alvin Moore
ef8de426d3
Changed the TLS_DISABLED macro
...
Disable TLS within Windows until working
2018-06-26 12:08:32 -07:00
A.J. Beamon
1dbe24a6e8
In the Java directory layer, DirectoryLayer.exists returns true unconditionally when not passed a path. This is different than the other bindings, which run through the normal exists check, but which I believe will still ultimately return true. The major difference is that in Java, no read version is obtained, which can cause behavior differences in the binding tester. This adds a call to get the read version to the Java testers when processing the DIRECTORY_EXISTS instruction.
2018-05-30 15:38:50 -07:00
Alec Grieser
0c2e801d40
Merge remote-tracking branch 'upstream/release-5.1' into merge-release-5.1
2018-05-30 11:49:29 -07:00
A.J. Beamon
e172a7f6f1
Fix spacing in build file
2018-05-23 15:01:13 -07:00
A.J. Beamon
0b1bd4f765
Close transactions in ON_ERROR if the replace didn't succeed
2018-05-23 14:00:45 -07:00
A.J. Beamon
989a51e4a3
Java tester was failing to create new transactions properly in some cases
2018-05-23 13:05:15 -07:00
Alvin Moore
83c1754181
Modified the groupId to org.foundationdb
2018-05-17 12:53:57 -07:00
Alec Grieser
e5378083ec
honor length in Tuple.fromBytes when passed in
...
addresses #362
2018-05-10 15:27:01 -07:00
Alec Grieser
47c9e4f923
update bindings and bindingtester that uses versionstamps to use new protocol
...
issue #148
2018-05-08 08:57:09 -07:00
Alec Grieser
6ee14bbb93
expose second versionstamp value type through vexillographer and add support in bindings and bindingtester
2018-05-08 08:57:09 -07:00
A.J. Beamon
d5f69ff596
Merge pull request #296 from apple/release-5.1
...
Merge Release 5.1 Into Release 5.2
2018-05-03 12:05:35 -07:00
John Brownlee
1739c82c1b
Fixes the links to download the client libraries in our documentation and packages.
2018-05-01 16:10:51 -07:00
A.J. Beamon
060b655257
Add another line of description to synchronization comment.
2018-05-01 10:00:49 -07:00
A.J. Beamon
a8c083509c
Add a note about why the high-contention allocator synchronizes on HighContentionAllocator.class rather than Transaction.
2018-05-01 09:31:40 -07:00
Iuri Sitinschi
d52f8eb255
java binding: remove unnecessary collection wrapper
2018-04-30 10:05:53 -07:00
Alec Grieser
a1faaafca3
Merge remote-tracking branch 'upstream/release-5.1' into merge-release-5.1
2018-04-27 16:38:18 -07:00
Evan Tschannen
d2a684363b
remove more dev null is web scale options in the binding testers
2018-04-27 12:22:38 -07:00