Ari Lazier
7ae6fe4a03
make sure we have destructors for all objects
2015-10-16 10:35:26 -07:00
Ari Lazier
4cf19d0e87
Merge pull request #60 from realm/al-os
...
First pass at object_store refactor
2015-10-13 17:16:27 -07:00
Ari Lazier
385f387332
move property getters to object store code
2015-10-13 15:25:06 -07:00
Scott Kyle
290234cb8a
RJSException no longer requires JS strings
...
Since most often some kind of JS Error is passed into RJSException, it would mask the original error by throwing a new exception because that Error was not a string!
2015-10-12 23:17:02 -07:00
Scott Kyle
d996147b09
Protect realm and callback from GC in addNotification
...
Fixes #54
2015-10-12 17:27:44 -07:00
Scott Kyle
c2e51ab541
Check for NaN inside RJSValidatedValueToNumber
...
Turns out this API can return NaN without an exception. Also added tests to make sure these conversions either work or throw exceptions in the appropriate places.
2015-10-12 16:50:45 -07:00
Scott Kyle
a4194586ea
Native methods should convert to numbers/bools
...
It will still throw if unable to make the conversion. Fixes #51
2015-10-12 15:42:56 -07:00
Scott Kyle
35a8f9816c
Out of bounds getters for Results return undefined
2015-10-12 15:35:13 -07:00
Scott Kyle
e136da5117
Make RPC server return Results properly
...
Still doesn't handle returning property values.
2015-10-07 18:42:08 -07:00
Ari Lazier
a7662af484
RealmType -> Realm.Type
2015-09-29 14:53:33 -07:00
Ari Lazier
345043f4c5
update to latest object store code
2015-09-28 15:47:32 -07:00
Ari Lazier
ee87cbc17a
primary keys and upsert
2015-09-03 14:05:56 -07:00
Ari Lazier
bd39239f00
array mutation functions
2015-08-28 14:41:30 -07:00
Ari Lazier
9a90c9c8a3
add querying for basic types
2015-08-17 11:40:13 -07:00
Ari Lazier
dc0839772f
add Realm.delete
2015-08-14 09:47:33 -07:00
Ari Lazier
12b942fecd
move js work from realm-cocoa-private
2015-08-13 09:12:48 -07:00