916 Commits

Author SHA1 Message Date
Ari Lazier
7b3fa3bc42 fix leaking realm 2016-05-05 17:10:56 -07:00
Ari Lazier
76c2d3cd54 fix leaking realm 2016-05-05 17:10:56 -07:00
Ari Lazier
3b24a4270e fix for object link nullification 2016-05-05 14:08:58 -07:00
Ari Lazier
7a6141e066 fix for object link nullification 2016-05-05 14:08:58 -07:00
Ari Lazier
4daa1ff5a1 upgrade to latest core and object store 2016-05-05 13:09:07 -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
Thomas Goyne
25d245deda Use erase-remove_if in RealmCoordinator::unregister_realm() 2016-05-04 10:21:44 -07:00
Scott Kyle
24dab1e8d7 Heed v8 warning in Node v6 from v8::Template::Set 2016-05-04 02:14:50 -07:00
Ari Lazier
513c0fee77 Merge pull request #416 from realm/al-ignored
Allow setting of non-persisted properties
2016-05-03 13:47:44 -07:00
Ari Lazier
d26924e2f9 allow setting of non-persisted properties 2016-05-03 13:05:48 -07:00
Scott Kyle
c8e7ddc3af [0.12.0-rc] Bump version 2016-05-03 12:06:15 -07:00
Scott Kyle
18a4d66903 Explicitly stop the RPCWorker in RPCServer destructor 2016-05-03 12:06:15 -07:00
Scott Kyle
32219cf0a3 Clear protected value maps in RPCServer destructor 2016-05-03 11:42:37 -07:00
Scott Kyle
741db2037f Merge pull request #407 from realm/sk-chrome-migration
All tests now pass in Chrome debug mode (including migration)
2016-05-02 16:19:09 -07:00
Ari Lazier
6e4a7f1019 remove extraneous quote 2016-05-02 12:57:15 -07:00
Ari Lazier
8eef37a46f remove extraneous quote 2016-05-02 12:57:15 -07:00
Ari Lazier
bf488274a3 improve error message when specifying invalid schema 2016-05-02 12:45:42 -07:00
Ari Lazier
0d1b22b10d improve error message when specifying invalid schema 2016-05-02 12:45:42 -07:00
Scott Kyle
e8cd20d7bb Use RPC callback mechanism for writes and listeners
The callbacks are stored by their id in the RPCServer so they are properly uniqued. This prevents the same callback from being added multiple times as a change listener.
2016-05-02 12:41:53 -07:00
Scott Kyle
889b762566 Allow protected values to be empty
This makes them much more friendly to being put inside of STL containers, like maps.
2016-05-02 12:33:20 -07:00
Scott Kyle
dd23c66e69 Address some PR feedback with more comments 2016-05-01 14:35:18 -07:00
Scott Kyle
32a8a2ed72 Make migration tests work in Chrome debug mode
All realm operations for the RPC are now done in their own thread so it can be allowed to block on waiting for callback results. The recursive and multi-threaded nature of this makes it pretty tricky, but it works!
2016-04-29 13:55:49 -07:00
Ari Lazier
2b6b0b97f4 Merge pull request #406 from realm/al-workspace
Add workspace and clean up xcproject layout
2016-04-29 13:53:26 -07:00
Ari Lazier
5a9e24cb06 tab to space 2016-04-29 13:11:19 -07:00
Ari Lazier
0c05259558 remove old umbrella header 2016-04-29 12:58:25 -07:00
Ari Lazier
c493a8070b add workspace and clean up xcproject layout 2016-04-29 12:00:40 -07:00
Scott Kyle
85919dc66f Fix realm.schema property in Chrome debug mode 2016-04-29 11:16:10 -07:00
Ari Lazier
2b35360117 add readOnly property 2016-04-28 15:50:43 -07:00
Ari Lazier
b9b3812c86 support for read-only realms 2016-04-28 15:42:28 -07:00
Ari Lazier
a2ed550dde Merge pull request #383 from realm/al-migration
Basic data migrations
2016-04-28 15:40:27 -07:00
Ari Lazier
2c85f032d9 compare non-existent properties to undefined 2016-04-28 13:21:30 -07:00
Ari Lazier
af9b54074e pr feedback 2016-04-28 13:03:38 -07:00
Ari Lazier
79446f957a test and bug fixes 2016-04-28 12:44:48 -07:00
Ari Lazier
cff099a4af tests and bugfixes 2016-04-28 12:16:16 -07:00
Scott Kyle
850e3a4090 Add validate_read() check to Results::set_live()
If the Results is detached, then this can cause a crash.
2016-04-28 09:39:53 -07:00
Scott Kyle
041530ee72 Add validate_read() check to Results::set_live()
If the Results is detached, then this can cause a crash.
2016-04-28 09:39:53 -07:00
Scott Kyle
cf5112467c Fix InvalidSchemaVersionException message 2016-04-27 14:00:34 -07:00
Scott Kyle
0c4dfcb914 Fix InvalidSchemaVersionException message 2016-04-27 14:00:34 -07:00
Scott Kyle
d4d5e28d26 Improve error message for non-object ObjectSchema 2016-04-27 14:00:14 -07:00
Scott Kyle
ca87f5a3e0 Fix Node crash from calling function with empty this 2016-04-27 10:42:42 -07:00
Ari Lazier
8602787fc9 add schema getters 2016-04-27 08:31:05 -07:00
Ari Lazier
fea0b69865 add support for non-memmber functions 2016-04-27 08:30:59 -07:00
Ari Lazier
17e5946af4 support for data migrations 2016-04-27 08:30:59 -07:00
Ari Lazier
588bbc327a remove un-needed usings 2016-04-26 17:40:56 -07:00
Ari Lazier
6e93d85420 pr fixes 2016-04-26 16:59:03 -07:00
Ari Lazier
27d973151f pr fixes 2016-04-26 16:59:03 -07:00
Ari Lazier
cec8667e35 create RealmObject class and make isValid a member 2016-04-26 16:30:04 -07:00
Ari Lazier
b59784670b create RealmObject class and make isValid a member 2016-04-26 16:30:04 -07:00