Commit Graph

1079 Commits

Author SHA1 Message Date
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
Thomas Goyne 6a2457cf2c Merge pull request #26 from realm/tg-unordered-clear
Call TableView::clear() with RemoveMode::unordered
2015-12-09 16:25:34 -08:00
Thomas Goyne 87003ae6ac Call TableView::clear() with RemoveMode::unordered 2015-12-09 16:25:20 -08:00
Thomas Goyne e897b31b7e Merge pull request #19 from realm/tg-file-upgrade-checker
Added support for suppressing file format upgrades.
2015-12-09 16:23:17 -08:00
Thomas Goyne c480eb6184 Merge pull request #23 from realm/tg-results-firstlast
Update existing TableViews in first() and last()
2015-12-09 16:19:52 -08:00
Scott Kyle 1f2eabeb1a Update to use React Native 0.16
Outside of the ReactExample test, no backwards incompatible changes were needed.
2015-12-08 16:59:12 -08:00
Scott Kyle cf687ffca0 Fix for correctly locating GCDWebServer headers
This issue appeared when doing a fully clean build since we no longer use the GCDWebServers framework.
2015-12-08 16:58:29 -08:00
Scott Kyle 1231a45780 Merge pull request #177 from realm/sk-code-sign-fix
Fixes for running apps on device
2015-12-08 12:57:46 -08:00
Scott Kyle 4109c86343 Make Realm object properties enumerable 2015-12-08 03:26:57 -08:00
Scott Kyle 3cc0250da9 No longer embed frameworks into RealmReact.framework
Instead we build RealmJS and GCDWebServers as static libraries and link those instead.
2015-12-07 14:57:19 -08:00
Thomas Goyne 7a0d96e1c7 Merge pull request #21 from realm/tg-gcc49
Fix compilation with GCC 4.9
2015-12-04 14:30:55 -08:00
Scott Kyle 7a54b0a256 Merge pull request #176 from realm/sk-rpc-list-fix
Fix RPC client error after deleting objects
2015-12-04 12:24:10 -08:00
Thomas Goyne 635bafe90f Update existing TableViews in first() and last()
The call to update_tableview() was in the wrong place, resulting in it creating
the table view, but not updating an existing one.
2015-12-03 15:08:56 -08:00
Thomas Goyne 5028c4a582 Fix some warnings when building with GCC 4.9 2015-12-03 09:11:28 -08:00
Thomas Goyne 473028c153 Add some missing header inclusions 2015-12-03 09:07:37 -08:00
Thomas Goyne 853658b3fc Change #import to #include 2015-12-03 09:03:31 -08:00
Scott Kyle a0b1cb671a Update README for new project setup steps 2015-12-02 17:45:09 -08:00
Scott Kyle 25cfb68779 Remove use of explicit target dependencies
The target dependencies are discovered implicitly, and removing the use of explicitly defined dependencies actually resolved a very odd bug with Xcode when building ReactExample.app for a device.
2015-12-02 17:45:09 -08:00
Scott Kyle e643fd9e3a No longer code sign RealmReact.framework on copy
Doing so causes its embedded frameworks to lose their code signatures, which in turns means the dynamic linker will refuse to load them on device.
2015-12-02 17:45:09 -08:00
Ari Lazier 3fca31bc7f Merge pull request #174 from realm/sk-react-native-0.15
Update to support React Native 0.15.0
2015-12-02 17:43:38 -08:00
Scott Kyle be0c2a91ea Fix RPC client error after deleting objects
Specifically for objects with lists, since the mutation listener would fire on a list that no longer is attached. If during the mutation listener that error is thrown, then the listener will be removed and the error will not be propagated.
2015-12-01 14:05:33 -08:00
Scott Kyle 1f64573b4e Update to support React Native 0.15.0
Resolves #173
2015-11-30 18:08:51 -08:00
Tim Oliver 9102924a7d Added support for suppressing file format upgrades. 2015-11-30 14:08:21 -08:00
Ari Lazier 8224cbb09e Merge pull request #171 from realm/al-android
Factor out remaining objc from core binding implementation to prepare for android
2015-11-30 13:08:33 -08:00
Ari Lazier bc0c7dae7f search path fix 2015-11-30 12:58:23 -08:00
Ari Lazier 806ae5c890 also include example modules path 2015-11-30 12:46:11 -08:00
Ari Lazier 564181a887 clean up header search paths 2015-11-30 12:14:50 -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 70edb99e5e update android test app 2015-11-30 11:23:29 -08:00
Ari Lazier 17b693877d add android test app 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 9c67784205 Merge pull request #172 from realm/al-keypath
tests for keypath queries
2015-11-29 19:29:14 -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 641e695160 Merge pull request #168 from realm/al-os-merge
Integrate new Results class
2015-11-29 18:58:55 -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