Commit Graph

724 Commits

Author SHA1 Message Date
Ari Lazier c064a0f1ca lock should be global 2015-11-13 17:32:29 -08:00
Ari Lazier c40faba20f make rpc shutdown thread safe 2015-11-13 17:32:29 -08:00
Ari Lazier 6a60a997ef lock should be global 2015-11-13 17:32:06 -08:00
Ari Lazier 271c02c2c1 make rpc shutdown thread safe 2015-11-13 17:32:06 -08:00
Thomas Goyne 7701ba173d Merge pull request #16 from realm/tg-close
Add Realm::close() and call it in RealmCache::clear()
2015-11-13 11:54:42 -08:00
Ari Lazier 8e9a14e1c0 Merge pull request #136 from realm/al-version
Support RectNative version 0.14
2015-11-13 11:30:22 -08:00
Scott Kyle 5ab7bd96a3 Added comment about React Native version support 2015-11-13 11:21:55 -08:00
Scott Kyle 79540d7cba Add backwards compatibility for React Native 0.13.x 2015-11-13 11:15:44 -08:00
Scott Kyle f3db7a5a56 Update ReactExample to use React Native 0.14.2 2015-11-13 11:14:27 -08:00
Ari Lazier 283826e687 support latest version 2015-11-13 10:13:33 -08:00
Ari Lazier 935b72bdac Merge pull request #133 from realm/al-no-gdcwebservers
Don't require any GCDWebServers dependency when building Release
2015-11-12 13:14:05 -08:00
Ari Lazier 1c155fe136 schema config 2015-11-12 12:31:57 -08:00
Scott Kyle 89820339ba Remove Cordova example 2015-11-12 12:13:49 -08:00
Ari Lazier 92a94d3dcb move embedded frameworks around 2015-11-12 11:50:42 -08:00
Ari Lazier bcd8c2a3d3 pr fixes 2015-11-12 11:32:16 -08:00
Ari Lazier 5b29f09e7a don't require any GCDWebServers dependency when building Release 2015-11-11 15:37:03 -08:00
Thomas Goyne 883ef12c7f Add Realm::close() and call it in RealmCache::clear()
This is needed for the Swift tests due to that throwing an exception over Swift
code unavoidably results in objects being leaked.
2015-11-10 14:54:15 -08:00
Scott Kyle 4205ba5611 Fix README.md 2015-11-05 17:12:06 -08:00
Scott Kyle 6bf7466ecb Merge pull request #125 from realm/sk-react-native-minify
Remove uses of for-of loops in RPC modules
2015-11-05 16:54:59 -08:00
Scott Kyle 336ef55c1f Remove uses of for-of loops in RPC modules
The React Native packager does not transform for-of loops, and minification step uses UglifyJS, which does not yet support ES6 syntax.

Fixes #120
2015-11-05 16:10:52 -08:00
Thomas Goyne e9ca54e169 Merge pull request #12 from realm/tg-core-0.94.4
Update for core 0.94.4
2015-11-05 09:44:08 -08:00
Thomas Goyne 0823a62df6 Merge pull request #13 from realm/tg-is-empty
Add ObjectStore::is_empty()
2015-11-05 09:35:48 -08:00
Thomas Goyne 62f59d9ae8 Merge pull request #15 from realm/tg-file-error-path
Include the path of the file which actually failed to open in exceptions
2015-11-05 09:35:36 -08:00
Scott Kyle 54b94b6afa Update README.md 2015-11-04 22:37:41 -08:00
Ari Lazier e44ecf1ce6 Merge pull request #124 from realm/sk-readme-docs
Add docs to the readme
2015-11-04 21:42:44 -08:00
Ari Lazier ad23a4b886 Update README.md 2015-11-04 21:41:49 -08:00
Ari Lazier dc7ff590a0 Update README.md 2015-11-04 21:39:15 -08:00
Ari Lazier 28ccf799f4 Update README.md 2015-11-04 21:32:27 -08:00
Ari Lazier 22c4dc904c Update README.md 2015-11-04 21:30:14 -08:00
Scott Kyle cdabc628be Document most methods and options in README 2015-11-04 18:06:37 -08:00
Scott Kyle 7b9831c70a Add Getting Started section to README 2015-11-04 17:07:43 -08:00
Thomas Goyne b93e5cedff Include the path of the file which actually failed to open in exceptions
When the user (or our tests...) do dumb things it's sometimes not actually the
realm file itself that failed to open.
2015-11-04 17:03:24 -08:00
JP Simard e1e9cd8cd7 Add ObjectStore::is_empty() 2015-11-04 15:31:08 -08:00
Thomas Goyne 52e7e6168b Update for core 0.94.4 2015-11-04 15:30:36 -08:00
Scott Kyle 5320df9a5f Merge pull request #116 from realm/sk-realmjs-api
Create API that returns constructor JSObjectRef
2015-11-03 16:39:08 -08:00
Scott Kyle 14f0b0e3de Merge pull request #117 from realm/sk-listener-fixes
Make sure Realm.addListener uniques on callbacks and doesn't leak memory
2015-11-03 16:38:50 -08:00
Scott Kyle 2f4bcee5ce Update test to ensure unique listener callback behavior 2015-11-03 14:45:06 -08:00
Scott Kyle 83869e2193 Prevent memory leaks when adding listeners
Check if the callback has already been added to the set before protecting it. Vice versa for unprotecting it when removing the listener.
2015-11-03 02:43:29 -08:00
Scott Kyle 7df2997ee7 Use a Set to store listener callbacks in JS 2015-11-03 02:41:52 -08:00
Kristian Dupont 271432bd1c Merge pull request #11 from realm/kd-rename-delegate-to-bindingcontext
Rename RealmDelegate to BindingContext
2015-11-03 08:38:27 +01:00
Kristian Dupont db36ca5b9c Remove Realm suffix 2015-11-03 08:37:54 +01:00
Scott Kyle aff11983f3 Create API that returns constructor JSObjectRef
Resolves #98
2015-11-02 22:51:33 -08:00
Scott Kyle 8cb7e43e2e Merge pull request #115 from realm/sk-fix-chrome-tests
Re-enable chrome tests
2015-11-02 17:00:11 -08:00
Scott Kyle 84b419c815 Fix to run RealmReactTests with release builds
In the case of a release build, React Native will not include the RCTWebSocketExecutor.
2015-11-02 15:20:49 -08:00
Ari Lazier 6c6931a97d enable chrome tests 2015-11-02 13:50:16 -08:00
Ari Lazier a84eecb17a Merge pull request #114 from realm/al-undefined
Allow setting nullable properties to undefined
2015-11-02 13:47:05 -08:00
Scott Kyle 7181a00f01 Fix to make RealmReact tests work in Chrome again
Left the RealmReactChromeTests commented out for now until it's confirmed to work in the CI environment.
2015-11-02 13:38:00 -08:00
Scott Kyle aa55b61b86 Update React Native to 0.13.2 2015-11-02 13:38:00 -08:00
Ari Lazier caf58e7bfa Merge pull request #113 from mrcasals/patch-1
Fix typo in README file
2015-11-02 13:33:54 -08:00
Ari Lazier 87b2c0f6c4 basic tests for null objects during upsert 2015-11-02 13:30:42 -08:00