Commit Graph

2846 Commits

Author SHA1 Message Date
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
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