Commit Graph

701 Commits

Author SHA1 Message Date
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
Scott Kyle 5edeefbb17 Add beta licenses to example app files 2015-10-28 10:50:31 -07:00
Scott Kyle 922bf1d0f7 Improve look of checkbox and smart list badges 2015-10-28 10:48:17 -07:00
Scott Kyle ab33d47a94 ReactExample: add "smart lists" 2015-10-28 10:48:17 -07:00
Scott Kyle 6fc2110991 Example app can now have multiple todo lists 2015-10-28 10:48:17 -07:00
Scott Kyle e90715140b Make libReact a target dependency of ReactExample
Was experiencing a bug where the packager would startup for ReactTests rather than ReactExample. This fixes that.
2015-10-28 10:48:17 -07:00
Scott Kyle 8c680ffbf6 Add delete buttons for todo items in Example app 2015-10-28 10:48:17 -07:00
Scott Kyle f89c44697a Add checkboxes next to todo items in Example app 2015-10-28 10:48:17 -07:00
Scott Kyle 549c2ceff7 Refactor and re-style example app 2015-10-28 10:48:16 -07:00
Scott Kyle 0b35564830 Merge pull request #107 from realm/sk-live-update-fixes
Ensure Lists and Results live-update in Chrome
2015-10-28 10:46:43 -07:00
Scott Kyle d5d05c5d15 Add comments to test to explain canceling transaction 2015-10-28 10:45:42 -07:00
Scott Kyle b38b87e2f4 Add beta license to ReactTests index.ios.js 2015-10-28 10:40:07 -07:00
Scott Kyle 46bee3c867 Add beta licenses to Chrome JS modules 2015-10-28 10:37:17 -07:00