Commit Graph

2763 Commits

Author SHA1 Message Date
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
Marc Riera 0b869260a1 Fix typo in README file 2015-11-02 20:30:35 +01:00
Ari Lazier 196a0a15a4 allow setting nullable properties to undefined 2015-11-02 10:08:23 -08:00
Kristian Dupont 70e1967782 Rename realm delegate in transact_log_handler as well 2015-10-29 13:16:36 +01:00
Kristian Dupont 4973827531 Rename RealmDelegate to RealmBindingContext 2015-10-29 10:42:56 +01:00
Ari Lazier 36a5a9710a Merge pull request #109 from realm/al-mkdir
make sure Documents directory exists when running tests
2015-10-28 15:18:13 -07:00
Ari Lazier 2cff7e291f create docs dir in binding 2015-10-28 14:45:31 -07:00
Scott Kyle b786279b63 Update README with latest setup instructions 2015-10-28 14:21:37 -07:00
Scott Kyle 5d59040d3d Merge pull request #102 from realm/sk-example-app
Improve ReactExample app
2015-10-28 14:03:12 -07:00
Scott Kyle c42dceb7a8 ReactExample: Change placeholder text 2015-10-28 11:25:54 -07:00
Scott Kyle 2ee0e2f608 ReactExample: fix bug with pressing Add twice 2015-10-28 11:23:37 -07:00
Scott Kyle af9e7e8b4c Update ReactExample Objective-C to 4-space indentation 2015-10-28 10:53:30 -07:00