Thomas Goyne
cfb9f0635c
Fix calculation of moves for unsorted queries
2016-05-11 16:08:30 -07:00
Thomas Goyne
d22c65f28a
Partially split out the code for calculating changesets from the struct for delivering them
2016-05-11 16:08:30 -07:00
Thomas Goyne
a4298dd92c
Remove an unused function
2016-05-11 16:08:30 -07:00
Thomas Goyne
b920f62ca5
Comment and clean up the Notifiers/BackgroundCollection
2016-05-11 16:08:30 -07:00
Thomas Goyne
4ec1090c05
Rename AsyncQuery to ResultsNotifier
2016-05-11 16:08:30 -07:00
Thomas Goyne
424f4e829f
Prioritize modified rows when calculating changes for sorted results
2016-05-11 16:08:30 -07:00
Thomas Goyne
a428f813d5
Skip calling callbacks if two commits cancel each other out when merged
2016-05-11 16:08:30 -07:00
Thomas Goyne
a16cd7d42d
Add async_query.hpp to the project
2016-05-11 16:08:30 -07:00
Thomas Goyne
9a0ec0eb28
Actually report deletions for table clears
2016-05-11 16:08:30 -07:00
Thomas Goyne
e25e4c2dcd
Rework handling of mixed move_last_over() and modifications to actually work
2016-05-11 16:08:30 -07:00
Thomas Goyne
d46f2c65ba
Refactor the transaction log parsers to eliminate some duplication
2016-05-11 16:08:30 -07:00
Thomas Goyne
8c94cd1b2c
Add an afl-based fuzzer for notifications
2016-05-11 16:08:30 -07:00
Thomas Goyne
f4aaa7c9de
Add fine-grained notifications for Results
2016-05-11 16:08:30 -07:00
Thomas Goyne
6609bcaed7
Add fine-grained notifications for List
2016-05-11 16:08:30 -07:00
Thomas Goyne
8f7ec85605
Add minimal transaction log parsing tests
2016-05-11 16:08:30 -07:00
Thomas Goyne
6380335fc3
Extract out the parts of AsyncQuery not directly related to query running
2016-05-11 16:08:30 -07:00
Nabil Hachicha
895c6a3056
Copying embedded Realm files using AssetManager from JNI
2016-05-11 19:56:59 +01:00
Thomas Goyne
deea1e8f5f
Merge pull request #67 from realm/tg/tvos-ech
...
Watch changes for tvOS without named pipes
2016-05-11 09:58:16 -07:00
Thomas Goyne
8d115ad42d
Merge pull request #68 from realm/tg/schema-validation-error
...
Split SchemaValidationException into SchemaValidationException and SchemaMismatchException
2016-05-11 09:58:06 -07:00
Nabil Hachicha
15953e13b9
Merge branch 'al-timestamp' of https://github.com/realm/realm-js into al-timestamp
2016-05-11 03:31:15 +01:00
Nabil Hachicha
57701db8f4
copy Realm file from assets into default storage folder
2016-05-11 03:30:37 +01:00
Ari Lazier
cf4fd74f52
pr fixes for build script
2016-05-10 14:01:27 -07:00
Scott Kyle
5a24dc602b
Merge pull request #426 from realm/sk-delegate-leak
...
Plug RealmDelegate leak and support changing constructors/defaults
2016-05-10 12:45:02 -07:00
Thomas Goyne
c07fb9c963
Merge pull request #64 from realm/tg/leak
...
Fix the initial ref count for WeakRealmNotifier
2016-05-10 11:55:06 -07:00
kishikawa katsumi
23d9c1c6e8
Split SchemaValidationException into SchemaValidationException and SchemaMismatchException
...
Because SchemaValidationException is thrown both case that a schema definition is incorrect and case that two schema definitions are mismatched.
In the former case, the migration does not solve the problem. But the exception message shows "Migration is required..."
Therefore the latter as MismatchException, to distinguish between the two cases.
2016-05-10 11:53:58 -07:00
kishikawa katsumi
8e24d4331f
Watch changes for tvOS without named pipes
2016-05-10 11:47:37 -07:00
Scott Kyle
351543ca09
Rename callback based on PR feedback
2016-05-10 11:37:09 -07:00
Scott Kyle
4300e865c7
Abstracted check for Node v6
2016-05-10 11:34:33 -07:00
Scott Kyle
26d2c169a9
Support ES6 class inheritance from Realm.Object
...
Unfortunately, this was broken because our native Realm.Object constructor was not presenting itself as a function in JS. This fixes that and adds tests.
2016-05-09 16:49:05 -07:00
Scott Kyle
651449108e
Improve usage of js::PropertyAttributes
2016-05-09 16:08:04 -07:00
Ari Lazier
919d8f7da5
bump version
2016-05-09 15:35:36 -07:00
Ari Lazier
a960d88893
add project for building/debugging node
2016-05-09 15:16:37 -07:00
Ari Lazier
da5a1fb2d8
remove files from test project - they are only needed in the test bundle
2016-05-09 13:44:35 -07:00
Ari Lazier
21b58b6a1e
test that conversion actually works
2016-05-09 13:32:10 -07:00
Ari Lazier
9c7b01091f
convert old date columns
2016-05-09 13:12:48 -07:00
Ari Lazier
f66dcf943f
Header fix
2016-05-09 12:36:25 -07:00
Thomas Goyne
e4ace9ca20
Merge pull request #45 from realm/tg/coverage
...
Add cmake target to generate a code coverage report
2016-05-06 16:15:48 -07:00
Scott Kyle
d4b7a6bed3
Update RPC layer for changing constructors
...
This is very important for hot module reloading.
2016-05-06 15:42:17 -07:00
Scott Kyle
fef4be96bd
Update tests for changing defaults and constructors
2016-05-06 15:41:17 -07:00
Scott Kyle
40855f789c
Prevent accidental leak of RealmDelegate
...
If a binding context already exists, we make sure it's a js::RealmDelegate for the same JS context. If not, then we throw an exception because this could lead to serious trouble.
Also, we update the defaults and constructors only if new ones were provided.
2016-05-06 15:40:35 -07:00
Thomas Goyne
fafc4232ad
Rewrite the code coverage generation
...
Make lcov/gcovr an optional dependency that's only needed for Coverage
configurations, remove some pointless noisy messages when not generating
coverage, and generally simplify the whole thing.
2016-05-06 15:23:30 -07:00
Thomas Goyne
7ab91ea75e
Add cmake target to generate a code coverage report
2016-05-06 12:37:59 -07:00
Ari Lazier
87c9dda321
add hook for detecting file format upgrade
2016-05-05 19:39:50 -07:00
Ari Lazier
28a7efcd1b
add test for current date
2016-05-05 17:36:48 -07:00
Ari Lazier
76c2d3cd54
fix leaking realm
2016-05-05 17:10:56 -07:00
Ari Lazier
7a6141e066
fix for object link nullification
2016-05-05 14:08:58 -07:00
Ari Lazier
047c414e59
update download core script
2016-05-05 13:15:28 -07:00
Ari Lazier
54fede2715
upgrade to latest core and object store
2016-05-05 13:09:07 -07:00
Thomas Goyne
56def7daa0
Merge pull request #65 from realm/tg/timestamp
...
Update to core 0.100.0
2016-05-05 10:25:06 -07:00
Thomas Goyne
507882d663
Update to core 0.100.1
2016-05-05 10:19:48 -07:00