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
29c214021a
Merge pull request #405 from realm/al-read-only
...
Support for readOnly realms
2016-04-29 13:53:15 -07:00
Ari Lazier
9af26fb603
remove references to dead projects
2016-04-29 13:41:37 -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
950b75fd2f
Fix broken testResultsInvalidation test on Chrome
...
We needed more actions to actually get sent over the RPC.
2016-04-29 11:16:21 -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
0fdb008477
test fixes/additions
2016-04-28 14:08:54 -07:00
Ari Lazier
2c85f032d9
compare non-existent properties to undefined
2016-04-28 13:21:30 -07:00
Ari Lazier
a9eaf93acb
test dynamic schema access
2016-04-28 13:03:42 -07:00
Ari Lazier
af9b54074e
pr feedback
2016-04-28 13:03:38 -07:00
Ari Lazier
baac975413
test schema in migrations
2016-04-28 12:53:04 -07:00
Scott Kyle
2374f434d1
Merge pull request #403 from realm/sk-invalidation-test
...
Fix crash inside detached Results and add tests
2016-04-28 12:52:36 -07:00
Scott Kyle
41d9cff4d5
Update CHANGELOG with crash fix
2016-04-28 12:52:15 -07:00
Ari Lazier
ef11443e28
test objectTypes
2016-04-28 12:46:59 -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
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
4705b6b3a5
Add test for Results invalidation
...
This triggers a crash!
2016-04-28 09:39:06 -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
49fa4884ef
Merge pull request #395 from realm/al-is-valid
...
Add `realm.isValid()` to support checking for deleted objects
2016-04-26 17:44:24 -07:00
Ari Lazier
588bbc327a
remove un-needed usings
2016-04-26 17:40:56 -07:00
Scott Kyle
df14c7760d
Fix Realm.Object in Chrome debug mode
2016-04-26 17:33:33 -07:00
Ari Lazier
ca622f27b7
Update CHANGELOG.md
2016-04-26 17:14:15 -07:00
Ari Lazier
785e57eb47
another fix for chrome debug mode
2016-04-26 17:08:00 -07:00
Ari Lazier
27d973151f
pr fixes
2016-04-26 16:59:03 -07:00
Ari Lazier
591dce8051
one fix for chrome debug mode
2016-04-26 16:53:50 -07:00
Ari Lazier
b59784670b
create RealmObject class and make isValid a member
2016-04-26 16:30:04 -07:00
Ari Lazier
988f723f49
remove unnecessary catch block
2016-04-21 13:38:10 -07:00
Ari Lazier
48e6365295
changelog
2016-04-19 17:29:34 -07:00
Ari Lazier
78cb44b1a1
add test for isValid
2016-04-19 17:29:34 -07:00
Ari Lazier
3509caedd5
bugfix for empty results, fix for realm.isValid
2016-04-19 17:29:34 -07:00
Ari Lazier
6072061463
api to check if object has been deleted
2016-04-19 17:29:34 -07:00
Scott Kyle
7ceac728eb
Merge pull request #393 from realm/sk-node
...
Support Alternative JS Engines
2016-04-19 17:26:14 -07:00
Scott Kyle
7abdacdf06
Make sure core is downloaded for node tests
2016-04-19 17:10:14 -07:00
Scott Kyle
648748cd24
Add node_modules to PATH in test script
2016-04-19 16:57:52 -07:00
Scott Kyle
ece554e58f
Exit with an error code for failures of node tests
2016-04-19 16:53:49 -07:00
Scott Kyle
d5aad959ce
Run `npm install` for node tests
2016-04-19 16:40:48 -07:00