Thomas Goyne
840c46f8f3
Upgrade to core 1.0.0 and update the file exception translation to match
...
File::AccessError is now thrown for all file-related exceptions which don't
have more specific types (rather than std::runtime_error), which requires some
changes to how exception messages are built when translating them to get nice
results.
Also add `Realm::write_copy()` which just wraps `Group::write()` with error
translation.
2016-05-23 10:28:04 -07:00
Scott Kyle
2672cd901f
Fix crash and other errors with Results snapshots
...
When deleteAll() is called on a Realm, it calls clear() on all of its Tables, which seems to not update TableViews unless they are synced. The is_row_attached(row_ndx) method still returns true otherwise. A workaround is here until that is fixed.
Fixes #434
2016-05-20 13:42:17 -07:00
Scott Kyle
e14e922c39
Fix crash and other errors with Results snapshots
...
When deleteAll() is called on a Realm, it calls clear() on all of its Tables, which seems to not update TableViews unless they are synced. The is_row_attached(row_ndx) method still returns true otherwise. A workaround is here until that is fixed.
Fixes #434
2016-05-20 13:42:17 -07:00
Thomas Goyne
1d34e785e7
Merge pull request #61 from realm/tg/notifications
...
Add fine-grained notification stuff
2016-05-20 10:58:34 -07:00
Scott Kyle
858d67125d
Consolidate RealmNode.xcodeproj into RealmJS.xcodeproj
...
Moved it up one level since it references the whole source tree inside the src/ directory. Added the functionality to run Node tests from Xcode on the existing RealmNode target.
2016-05-19 14:50:27 -07:00
Scott Kyle
5198a5bf4b
Create a HandleScope before calling callbacks
2016-05-19 14:49:21 -07:00
Scott Kyle
5ecf13c261
Create a HandleScope before calling callbacks
2016-05-19 14:49:21 -07:00
Scott Kyle
938c7fb2f4
Add a working WeakRealmNotifier for Node
...
Uses libuv APIs to async schedule onto the default Node run loop.
2016-05-19 14:49:21 -07:00
Scott Kyle
2eacb66ac4
Add a working WeakRealmNotifier for Node
...
Uses libuv APIs to async schedule onto the default Node run loop.
2016-05-19 14:49:21 -07:00
Ari Lazier
8bb0fe75e7
Merge pull request #439 from realm/al-is-valid
...
Add `isValid` method to Results and List
2016-05-19 14:18:25 -07:00
Ari Lazier
64698acf30
changlog
2016-05-19 14:10:20 -07:00
Ari Lazier
3b6ee92224
merge master
2016-05-19 14:08:42 -07:00
Ari Lazier
1ff7c49bdb
merge master
2016-05-19 14:08:42 -07:00
Ari Lazier
50c7b6245f
make unique ptr manually
2016-05-19 14:06:14 -07:00
Ari Lazier
a81627b1d0
make unique ptr manually
2016-05-19 14:06:14 -07:00
Ari Lazier
7f5ca3cee7
fix tab
2016-05-19 13:59:50 -07:00
Ari Lazier
b06d93a27d
node fixes
2016-05-19 13:35:06 -07:00
Scott Kyle
64ae03512a
[0.13.0] Bump version
2016-05-19 13:33:50 -07:00
Scott Kyle
bd863f7590
Remove qualification about date precision in API docs
2016-05-19 13:33:00 -07:00
Scott Kyle
c947bb946f
Merge pull request #446 from realm/sk-parser-fix
...
Allow key paths to start with "not" in queries
2016-05-19 13:31:37 -07:00
Ari Lazier
9c7292acff
chrome debug and and react native fixes
2016-05-19 13:27:36 -07:00
Scott Kyle
ea697f9904
Include comment about string_operator_t
2016-05-19 13:12:40 -07:00
Scott Kyle
cfc96995b4
Include comment about string_operator_t
2016-05-19 13:12:40 -07:00
Scott Kyle
56b0871a26
Add a few more parser tests
2016-05-19 13:08:39 -07:00
Scott Kyle
db7cfc0f5d
Add a few more parser tests
2016-05-19 13:08:39 -07:00
Scott Kyle
87878b8b9c
Update CHANGELOG with parser fix
2016-05-19 13:05:56 -07:00
Ari Lazier
fc794bbf31
pr fixes
2016-05-19 12:22:07 -07:00
Ari Lazier
8709f04e8b
pr fixes
2016-05-19 12:22:07 -07:00
Scott Kyle
6c0608356a
Allow key paths to start with "not" in queries
...
Fixes #445
2016-05-19 01:26:13 -07:00
Scott Kyle
60723269ec
Allow key paths to start with "not" in queries
...
Fixes #445
2016-05-19 01:26:13 -07:00
Ari Lazier
0089b3207c
changelog
2016-05-16 16:02:30 -07:00
Ari Lazier
592a35a69e
add isValid methods to results and list
2016-05-16 16:01:14 -07:00
Ari Lazier
fd25afe214
add isValid methods to results and list
2016-05-16 16:01:14 -07:00
Ari Lazier
6af98acd11
combine other classes
2016-05-16 15:43:46 -07:00
Ari Lazier
e76cb3b905
combine class definitions and implementations for list and results
2016-05-16 15:43:46 -07:00
Ari Lazier
5fc79d4e99
apply latest changes from master
2016-05-16 15:37:40 -07:00
Scott Kyle
fb887d92f5
[0.13.0-rc] Bump version
2016-05-16 14:48:08 -07:00
Scott Kyle
02cb149026
Update CHANGELOG.md with the rest of 0.13.0 changes
2016-05-16 14:42:21 -07:00
Ari Lazier
f97e8c8b76
Update CHANGELOG.md
2016-05-16 14:41:13 -07:00
Scott Kyle
9370eba229
Merge pull request #436 from realm/sk-react-native-25
...
Updates for React Native 0.25
2016-05-16 14:22:59 -07:00
Scott Kyle
02b770b79a
Fix ESLint errors
2016-05-16 14:15:56 -07:00
Ari Lazier
0f74101074
Merge pull request #423 from realm/al-timestamp
...
Use new timestamp format
2016-05-16 13:52:31 -07:00
Scott Kyle
55bbcc9e56
Fix ReactTestApp imports for React Native 0.25
2016-05-16 13:24:44 -07:00
Scott Kyle
51b7a43c40
Fix ListView imports for React Native 0.25
...
Fixes #433
2016-05-16 13:23:19 -07:00
Scott Kyle
e304cd0032
Fix some warnings in benchmark app from RN upgrade
2016-05-16 13:21:55 -07:00
Scott Kyle
d29a6498dc
Fix some warnings in ReactExample from RN upgrade
2016-05-16 13:21:28 -07:00
Scott Kyle
8db0161ed8
Update projects to React Native 0.25
2016-05-16 13:20:50 -07:00
Scott Kyle
eb72459cce
Make sure the right node-gyp is called
2016-05-16 12:57:46 -07:00
Ari Lazier
bd04185772
use const ref for argument
2016-05-16 12:50:29 -07:00
Ari Lazier
4d40896e5e
make method static
2016-05-16 12:45:29 -07:00