ravilution
6161144788
Fixing the Tutorials Link
...
Fixing the Tutorials link to point to GO version of the tutorials
2019-03-17 12:21:03 -05:00
A.J. Beamon
98f8fa62e9
Update generated.go
2019-03-14 15:05:36 -07:00
Xin Dong
636d2ca631
Merge pull request #1207 from alecgrieser/tuple-performance-cache-packed
...
Java: Tuple serialization/deserialization uses fewer allocations
2019-03-13 15:53:52 -07:00
Jingyu Zhou
1f39da06de
Merge pull request #1268 from jzhou77/cmake_fix
...
Create tar.gz file for python package
2019-03-11 22:48:16 -07:00
Alec Grieser
d9e9e0c521
use bitwise or instead of addition when reconsituting long
2019-03-11 18:26:08 -07:00
Balachandar Namasivayam
36c12cd749
Add missing definitions.
2019-03-11 17:49:03 -07:00
Balachandar Namasivayam
880e8643d1
Fix Windows link errors
2019-03-11 17:49:03 -07:00
Alec Grieser
7340298202
remove debugging printing that was accidentally added
2019-03-11 16:57:36 -07:00
Alec Grieser
f66ddb13c2
rewrite replace without a buffer to use replace with a buffer to first get length
2019-03-11 16:57:36 -07:00
Alec Grieser
75e475563a
clarify comments and be more strict about using UUID_BYTES constant
2019-03-11 16:57:36 -07:00
Alec Grieser
40aa2ba6f0
CMakeLists alphabetization and Javadoc improvements
2019-03-11 16:57:36 -07:00
Alec Grieser
39fd30330f
memoize incomplete versionstamp information in Tuples ; add more tests
2019-03-11 16:55:01 -07:00
Alec Grieser
663d750e1d
pack Tuples with a single byte array allocation of the right size
2019-03-11 16:55:01 -07:00
Alec Grieser
a74dfa5487
compare strings by unicode codepoint without copying
2019-03-11 16:55:01 -07:00
Alec Grieser
e9771364d7
various Java tuple performance tweaks
...
These include:
* Memoizing packed representations within Tuples
* Using longs instead of BigIntegers if possible
* As much as possible sticking to manipulating primitive types when using floats/doubles
2019-03-11 16:55:00 -07:00
Alec Grieser
e6ce0ebd27
improve tuple performance tester for more types and add serialization check in TupleTest
2019-03-11 16:55:00 -07:00
Alec Grieser
78ff3d92c1
memoize the packed Tuple representation
2019-03-11 16:55:00 -07:00
A.J. Beamon
083a73b0d2
In our binding testers, stop using the TRANSACTION_LOGGING_ENABLE option and switch to the DEBUG_TRANSACTION_IDENTIFIER and LOG_TRANSACTION options
2019-03-11 13:35:43 -07:00
Alec Grieser
1ac8ecf55e
Merge pull request #1187 from ryanworl/bindings/go-tuple-layer-versionstamps
...
Add Versionstamp support to the Go Tuple layer
2019-03-11 12:36:47 -07:00
Jingyu Zhou
314e87edfb
Create tar.gz file for python package
...
On Windows, the default package format can be zip, while tar.gz is expected.
2019-03-11 11:10:40 -07:00
A.J. Beamon
4941d6dc3c
Merge pull request #1212 from alecgrieser/00719-read-transaction-set-read-version
...
Java: Move a few methods relevant to read-only transactions to `ReadTransaction`
2019-03-11 09:49:57 -07:00
Ryan Worl
92167fd03f
handle incomplete versionstamp attempting to be packed into vanilla tuple
2019-03-09 11:11:22 -05:00
Ryan Worl
8066556753
address review comments and bugs after running binding tester compared to python bindings
2019-03-09 10:48:22 -05:00
mpilman
2537f26de6
First implementaion of more user-friendly cpack
...
Up unto here this code is only very rudiemantery tested.
This is a firest attempt of making cpack more user-friendly.
The basic idea is to generate a component for package type so
that we can have different paths depending on whether we build
an RPM, a DEB, a TGZ, or a MacOS installer. The cpack package
config file will then chose the correct components to use.
In a later point this should make it possible to build these
with `make packages` and the ugly iteration with calling cmake
between each package would be obsolete. While this solution is
a bit more bloated, it is also much more flexible and it will be
much easier to use.
Another benefit is, that this will get rid of all warnings during
a cpack run
2019-03-07 16:49:29 -08:00
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
Ryan Worl
77f7c0721f
revent this again because my environment is dumb
2019-03-06 18:27:43 -05:00
Ryan Worl
2fbc7522e4
review feedback: fix bindingtester test, add comments to versionstamp and other structures, handle nested tuples, handle prefix []byte in PackWithVersionstamp
2019-03-06 18:25:02 -05:00
Alex Miller
c6a65389ae
Remove noexcept macro and replace with BOOST_NOEXCEPT.
...
BOOST_NOEXCEPT does what the noexcept macro was supposed to do, but in a
way that is correctly maintained over time.
2019-03-05 22:06:12 -08:00
Alex Miller
af617d68e6
boost 1.52.0 -> 1.67.0 in all vcxproj files
2019-03-05 22:06:12 -08:00
Bhaskar Muppana
89e5be7d70
Resolves #1027 : Adding interfaces to Flow bindings ( #1215 )
...
* Resolves #1027 : Adding interfaces Database, ReadTransaction and Transaction.
* Moving implementations into DatabaseImpl and TransactionImpl.
* Also removed deprecated class Cluster.
As we changed the interfaces, especially how we create transaction, its
going to break the compilation of any app upgrades to this version of
flow bindings. It doesn't change any of the fdb_c APIs. So, backward
compatilbity with old servers is preserved through multi-version client.
* Fixing indentation
* Fixing format according to review comments.
2019-03-05 13:09:26 -08:00
Alec Grieser
eb8a085cf9
conditional add read conflict methods now return whether they added the conflict range ; test added for snapshot transactions
2019-03-02 09:48:53 -08:00
Alec Grieser
7ef189701e
Resolves #719 : Support `.setReadVersion()` on `ReadTransaction`
2019-03-02 09:48:49 -08:00
Alec Grieser
c8b9c998e9
Merge pull request #1216 from ajbeamon/fix-python-singlefloat-with-int
...
Python: creating a SingleFloat with an integer didn't work.
2019-03-01 14:08:04 -08:00
A.J. Beamon
8669aea22b
Python: creating a SingleFloat with an integer didn't work. Updated the tester to exercise this path.
2019-03-01 09:25:53 -08:00
mpilman
d08aad7fc4
Old build system now working on both docker images
2019-02-28 14:24:52 -08:00
mpilman
d0c06ec8c0
Make old build system work on build/cmake/Dockerfile
2019-02-28 14:24:52 -08:00
mpilman
a5122dc83c
Don't build go bindings in IDE mode
...
Fixes #1171
2019-02-26 18:03:08 -08:00
Ryan Worl
05d347e194
Push byte slice instead of string onto the stack
2019-02-25 19:08:29 -05:00
Ryan Worl
4dd04862c7
Flatten if statements
2019-02-25 19:05:45 -05:00
Ryan Worl
292bb6ab0f
Make `versionstampLength` constant equal Versionstamp actual length.
2019-02-25 18:57:28 -05:00
Ryan Worl
b2f26224b9
Revert unintentional change back to old API
2019-02-25 18:41:57 -05:00
Ryan Worl
7ac098dc0d
Add Versionstamp support to the Go Tuple layer
2019-02-25 18:39:14 -05: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
6c1f64ed22
Fixed c binding tests for IDE
2019-02-19 15:16:59 -08: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
Vishesh Yadav
e05b53d755
Merge remote-tracking branch 'apple/master' into task/tls-upgrade
2019-02-15 20:37:07 -08:00
mpilman
0bbbfb6ee3
Address Andrew's review comments
2019-02-15 00:01:42 -08:00
mpilman
0754ce1a43
fixef formatting of go code
2019-02-15 00:01:42 -08:00