566 Commits

Author SHA1 Message Date
Scott Kyle
213c3d832f Make RJSStringForValue use consistent exception style 2016-01-05 13:30:27 -08:00
Scott Kyle
f5047af3bc Improve error messages inside RJSUtil 2016-01-05 13:30:27 -08:00
Scott Kyle
2bfedc5d8a Merge branch 'sk-project-cleanup'
* sk-project-cleanup:
  Fix for failing React tests
  Rename JS test files to be consistent
  Cleanup and fix resolving JS test files
  Cleanup source groups in Xcode project
  Move RealmJS.mm to correct location
2016-01-05 13:19:02 -08:00
Scott Kyle
51f9bbcda4 Merge branch 'sk-snapshot-results'
* sk-snapshot-results:
  Explicitly check if row is attached
  Add methods to create snapshot of List and Results
  Update to Realm Core 0.95.5
2016-01-05 13:16:27 -08:00
Nabil Hachicha
98cb634a36 using dynamic linker to expose s_globalContextRefToJSCExecutor 2016-01-05 11:08:42 -08:00
Ari Lazier
4270bc2b0f try to initialize JSContexts 2016-01-05 11:08:42 -08:00
Ari Lazier
3a72bb3ade finish rename 2016-01-05 11:08:42 -08:00
Ari Lazier
eea8658627 put our react module in our aar 2016-01-05 11:08:42 -08:00
Nabil Hachicha
28d1f92a7e add Demo project based on the built realmreact lib 2016-01-05 11:07:21 -08:00
Ari Lazier
1fa0098158 empty implementations for platform methods 2016-01-05 11:07:21 -08:00
Ari Lazier
8104738e1a use gcc 2016-01-05 11:07:21 -08:00
Ari Lazier
50ecaa3b22 just use one symlink to the binding source, make more stuff compile 2016-01-05 11:05:44 -08:00
Ari Lazier
3aaf988953 fixes 2016-01-05 11:05:27 -08:00
Nabil Hachicha
c3d5fd4e09 add Core include + fix c++14 issue 2016-01-05 11:04:06 -08:00
Ari Lazier
fb1d6b6a93 more import fixes 2016-01-05 11:04:06 -08:00
Ari Lazier
2974d87560 fix imports 2016-01-05 11:04:06 -08:00
Ari Lazier
62ae41327d include JSBase 2016-01-05 11:04:06 -08:00
Nabil Hachicha
5b06c41163 adding module deps + fixing gradle 2016-01-05 11:04:06 -08:00
Ari Lazier
518133e769 bdash pr fixes 2016-01-04 18:13:09 -08:00
Ari Lazier
24be3ab825 remove unnedded constructors/destructor 2016-01-04 16:51:51 -08:00
Ari Lazier
3e45625748 pr fixes 2016-01-04 16:37:07 -08:00
Ari Lazier
4c7d6d8b2f remove unnecessary const cast 2016-01-04 16:27:37 -08:00
Ari Lazier
d964c77d2d store ObjectSchema as a pointer rather than a reference 2016-01-04 16:21:28 -08:00
Scott Kyle
a9b9e479cf Explicitly check if row is attached 2016-01-04 16:17:28 -08:00
Ari Lazier
df901c636f store ObjectSchema as a pointer rather than a reference 2016-01-04 16:04:01 -08:00
Ari Lazier
aa5e1bef7d remove invalid usage of const Schema 2016-01-04 15:54:03 -08:00
Ari Lazier
148abd4b7b merge latest object store changes 2016-01-04 15:42:32 -08:00
Scott Kyle
632f9d737e Add methods to create snapshot of List and Results
The Results class was updated to match the style of List and include a flag (m_live) that determines if it should sync updates. If an object in the static Results is deleted, then it will return null.
2015-12-30 16:53:26 -08:00
Scott Kyle
602613b992 Update to Realm Core 0.95.5 2015-12-30 16:53:26 -08:00
Scott Kyle
5fe90c9904 Move RealmJS.mm to correct location 2015-12-29 14:55:20 -08:00
Ari Lazier
a73229758d pr feedback 2015-12-18 14:37:41 -08:00
Ari Lazier
df9468f8d0 fix for copy assignment 2015-12-17 18:40:26 -08:00
Ari Lazier
9b907b336a results should store const ObjectSchema 2015-12-17 17:32:51 -08:00
Ari Lazier
86e95fb9b1 Schema stored in Realm::Config should be const 2015-12-17 16:18:16 -08:00
Scott Kyle
41ef7c41a6 Fix crash caused by accessing invalid ObjectSchema
These references would eventually become invalid. The quickest fix is for them to no longer be references. The longer-term fix might be to only store the object type and dynamically retrieve the ObjectSchema only when necessary.

Fixes #181
2015-12-16 13:04:53 -08:00
Scott Kyle
4109c86343 Make Realm object properties enumerable 2015-12-08 03:26:57 -08:00
Ari Lazier
5d1e9d4dd3 pr fixes 2015-11-30 11:47:32 -08:00
Ari Lazier
71ef42bd61 move rpc react modele back to lib 2015-11-30 11:31:58 -08:00
Ari Lazier
ca843cb48b pr fixes 2015-11-30 11:23:30 -08:00
Ari Lazier
5f584f747f use underscore rather than dash 2015-11-30 11:23:29 -08:00
Ari Lazier
eb44b27633 move everything/rename to make room for android 2015-11-30 11:23:29 -08:00
Ari Lazier
f714d11293 Merge pull request #172 from realm/al-keypath
tests for keypath queries
2015-11-29 19:29:14 -08:00
Ari Lazier
7ad2786359 Merge pull request #168 from realm/al-os-merge
Integrate new Results class
2015-11-29 18:58:55 -08:00
Ari Lazier
cdb254ca44 tests for keypath queries 2015-11-29 18:56:50 -08:00
Ari Lazier
8a00a2f92a call results constructor taking a table when no query is provided 2015-11-25 19:59:51 -08:00
Ari Lazier
39e3b017a4 integrate new results class 2015-11-25 19:57:15 -08:00
Ari Lazier
1b37e0945f make None the first enum type 2015-11-25 19:10:59 -08:00
Ari Lazier
96994a24cc use current_group() helper 2015-11-25 18:34:36 -08:00
Ari Lazier
fbb1f42c6e don't merge predicate to negated and group 2015-11-25 18:32:13 -08:00
Ari Lazier
6449d34735 more tests 2015-11-25 12:57:56 -08:00