Commit Graph

1016 Commits

Author SHA1 Message Date
Ari Lazier 24be3ab825 remove unnedded constructors/destructor 2016-01-04 16:51:51 -08:00
Ari Lazier 7c116c0629 pr fixes 2016-01-04 16:37:07 -08:00
Ari Lazier 3e45625748 pr fixes 2016-01-04 16:37:07 -08:00
Ari Lazier 7964aff431 remove unnecessary const cast 2016-01-04 16:27:37 -08:00
Ari Lazier 4c7d6d8b2f remove unnecessary const cast 2016-01-04 16:27:37 -08:00
Ari Lazier 1e36beb263 store ObjectSchema as a pointer rather than a reference 2016-01-04 16:21:28 -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 c25d08eb34 store ObjectSchema as a pointer rather than a reference 2016-01-04 16:04:01 -08:00
Ari Lazier df901c636f store ObjectSchema as a pointer rather than a reference 2016-01-04 16:04:01 -08:00
Ari Lazier b8d40950a7 remove invalid usage of const Schema 2016-01-04 15:54:03 -08:00
Ari Lazier aa5e1bef7d remove invalid usage of const Schema 2016-01-04 15:54:03 -08:00
Ari Lazier ebce831522 merge latest object store changes 2016-01-04 15:42:32 -08:00
Ari Lazier 148abd4b7b merge latest object store changes 2016-01-04 15:42:32 -08:00
Scott Kyle 0286dea7a4 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 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 f32de945ad Update to Realm Core 0.95.5 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 3739fab57f Fix for failing React tests
Since the JS test modules have been renamed to have consistent naming, we add a method to actually run the test methods to use our existing abstraction.
2015-12-30 16:47:16 -08:00
Scott Kyle b3a0627a51 Rename JS test files to be consistent 2015-12-29 14:56:38 -08:00
Scott Kyle 6776eef6c0 Cleanup and fix resolving JS test files
The whole lib folder is now copied into the test bundle and the correct path to where a failure occurred is now properly resolved.
2015-12-29 14:55:20 -08:00
Scott Kyle 2f39e73e77 Cleanup source groups in Xcode project 2015-12-29 14:55:20 -08:00
Scott Kyle 5fe90c9904 Move RealmJS.mm to correct location 2015-12-29 14:55:20 -08:00
Scott Kyle 3da6b54df6 Add ability to publish NPM module to git
The top-level package.json explicitly includes the directories it needs (vendor/.npmignore cuts down the cruft). The publish-beta.sh script essentially uses `npm pack` to package up the NPM module and then push it into an orphaned `beta` branch.
2015-12-28 22:01:17 -08:00
Scott Kyle a6549a0cc2 Move RealmJS.mm to correct location 2015-12-28 22:00:29 -08:00
Thomas Goyne e8a26aa533 Fix compilation errors 2015-12-22 11:08:05 -08:00
Thomas Goyne a3058c6e97 Merge pull request #28 from realm/tg/set-unique
Add set_*_unique handlers to TransactLogHandler
2015-12-22 11:08:00 -08:00
Thomas Goyne 6199fba9f9 Add set_*_unique handlers to TransactLogHandler 2015-12-22 08:30:54 -08:00
Ari Lazier 1bf643f38a Merge pull request #191 from realm/al-chrome
Hopeful fix for ci issues/chrome timeout
2015-12-21 16:34:51 -08:00
Ari Lazier 5fe5554d70 open chrome with 2015-12-18 15:54:02 -08:00
Ari Lazier a8b9394b74 output packager to stdout, launch chrome manually 2015-12-18 15:11:23 -08:00
Ari Lazier 8f8d8d46b4 Merge pull request #189 from realm/al-const
Schema stored in Realm::Config should be const
2015-12-18 15:02:03 -08:00
Ari Lazier e78e33cd98 pr feedback 2015-12-18 14:37:41 -08:00
Ari Lazier a73229758d pr feedback 2015-12-18 14:37:41 -08:00
Ari Lazier 480f4effb2 fix for copy assignment 2015-12-17 18:40:26 -08:00
Ari Lazier df9468f8d0 fix for copy assignment 2015-12-17 18:40:26 -08:00
Ari Lazier 143564d0b9 results should store const ObjectSchema 2015-12-17 17:32:51 -08:00
Ari Lazier 9b907b336a results should store const ObjectSchema 2015-12-17 17:32:51 -08:00
Ari Lazier dc67be30fc Schema stored in Realm::Config should be const 2015-12-17 16:18:16 -08:00
Ari Lazier 86e95fb9b1 Schema stored in Realm::Config should be const 2015-12-17 16:18:16 -08:00
Ari Lazier 5860225273 Merge pull request #187 from realm/al-scripts
Move ci commands to scripts - support cached npm modules
2015-12-17 13:19:55 -08:00
Ari Lazier 8f14d053f3 pr feedback 2015-12-17 12:42:02 -08:00
Ari Lazier fc81a6c17b launch packager directly 2015-12-17 11:55:29 -08:00
Ari Lazier 899497cdd0 wait for packager at startup 2015-12-17 10:56:08 -08:00
Ari Lazier de227cff28 pr feedback 2015-12-16 18:14:14 -08:00
Scott Kyle 253a572ca7 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 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
Ari Lazier 4c402a7daf install from test script 2015-12-15 18:18:18 -08:00
Ari Lazier 2476c061c1 npm install react-native if out of date 2015-12-15 18:02:20 -08:00
Thomas Goyne 324818f277 Merge pull request #14 from realm/tg-end-read
End the read transaction after schema init
2015-12-09 16:25:56 -08:00