Commit Graph

1251 Commits

Author SHA1 Message Date
Scott Kyle 0eb3b49970 Ensure Lists and Results live-update in Chrome
Results needed to live-update during a transaction (not just as the end), and Lists needed to update on deletions as well.
2015-10-28 10:21:32 -07:00
Ari Lazier 7a02ff29a1 Update README.md 2015-10-27 14:41:25 -07:00
Ari Lazier 67922f8299 Update README.md 2015-10-27 14:41:07 -07:00
Ari Lazier b4e50f29c8 Update README.md 2015-10-27 14:40:57 -07:00
Ari Lazier 70d2a6b7d8 Update README.md 2015-10-27 14:40:45 -07:00
Ari Lazier 72cf0910d5 Merge pull request #106 from realm/al-license
Change the license for all unrleased files
2015-10-27 14:18:07 -07:00
Ari Lazier cda594a54e add license 2015-10-27 14:15:28 -07:00
Ari Lazier 2e2beabc40 change the license before starting the beta 2015-10-27 14:15:21 -07:00
Ari Lazier 841f45a7b2 change the license before starting the beta 2015-10-27 14:15:21 -07:00
Ari Lazier 57aadc0bda Merge pull request #103 from realm/al-optional-properties
Support null properties
2015-10-27 13:52:36 -07:00
Ari Lazier fd1ebf0aa0 remove extra newline 2015-10-27 13:45:37 -07:00
Ari Lazier faa1297d3b support null for basic propety types 2015-10-27 12:13:57 -07:00
Ari Lazier ec87281cc1 don't convert undefined to null in rpc requests 2015-10-27 12:13:57 -07:00
Ari Lazier dca7e7d791 enable nullable propeties without a macro 2015-10-27 12:13:57 -07:00
Ari Lazier 18d65471be fix and tests for setting null properties 2015-10-27 12:13:57 -07:00
Ari Lazier ac1cdfdc8b support null for basic propety types 2015-10-27 12:13:57 -07:00
Ari Lazier e3fb40f299 enable nullable propeties without a macro 2015-10-27 12:13:57 -07:00
Ari Lazier fc631c3e6f wont work until we have propery object store support 2015-10-27 12:13:57 -07:00
Ari Lazier 0df214ad21 Merge pull request #101 from realm/sk-object-getters
Non-existent object getters shouldn't throw exceptions
2015-10-27 11:09:21 -07:00
Ari Lazier ccdfaa8ae9 use typed exceptions 2015-10-27 09:39:52 -07:00
Ari Lazier db67fe71ea only ignore invalid property exceptions 2015-10-27 09:39:52 -07:00
Scott Kyle ff9b73ec2f Non-existent object getters shouldn't throw exceptions 2015-10-27 09:39:52 -07:00
Ari Lazier 9092f9ac5f use typed exceptions 2015-10-27 09:39:52 -07:00
Scott Kyle 0511bade62 Non-existent object getters shouldn't throw exceptions 2015-10-27 09:39:52 -07:00
Ari Lazier 8e1eb661c5 Merge pull request #100 from realm/al-notification
improve notification api
2015-10-27 07:56:37 -07:00
Ari Lazier a1c4cd5702 pr fixes 2015-10-27 07:48:11 -07:00
Ari Lazier 6f41c3cf68 take notification name 2015-10-26 19:18:24 -07:00
Ari Lazier bb68e45250 support notifications in chrome 2015-10-26 16:49:46 -07:00
Ari Lazier 6f57500972 change notification name to change 2015-10-26 16:19:12 -07:00
Ari Lazier 246ccc7bde add other notification methods 2015-10-26 16:15:46 -07:00
Ari Lazier ab1965c27e no more notification token 2015-10-26 16:03:32 -07:00
Ari Lazier 6db449ef06 Merge pull request #99 from realm/al-os
Object store cleanup
2015-10-26 15:39:37 -07:00
Ari Lazier b7d47ac543 apply newest object store changes 2015-10-26 15:27:43 -07:00
Scott Kyle 9cfcc2ea9e Fix for running RealmReactTests in release mode
The RTCDevMenu is missing the `moduleName` class method in release mode.
2015-10-26 14:57:50 -07:00
Scott Kyle 32ebd7f218 Remove RCTTest linkage from ReactTests and ReactExample
This module has build errors with Release configuration and is not necessary. When in Chrome debugging mode, a warning will be issued about missing the RCTSnapshot module though, which is why we linked against it in the first place.
2015-10-26 14:57:06 -07:00
Ari Lazier ed193d8f5c make list members private 2015-10-26 13:32:29 -07:00
Scott Kyle a2cd949e09 Prevent tests from ever opening Chrome
The test is commented out for now.
2015-10-26 13:25:15 -07:00
Ari Lazier c9ef337552 make object members private 2015-10-26 13:24:27 -07:00
Ari Lazier 31819a5ee6 Merge commit '347145b4f1c40409c68af0ad61be15ee5f9d04f2' into al-os 2015-10-26 12:52:20 -07:00
Scott Kyle 6d4b8d1e7b Merge pull request #96 from realm/sk-realmjs-api
Change RealmJS to provide a C API
2015-10-26 12:08:42 -07:00
Scott Kyle d3cf748dc1 Rename RealmRPC.mm -> RealmRPC.cpp 2015-10-26 01:20:14 -07:00
Scott Kyle 0843d69a4f Expose RealmJS API as C functions
We're still using Objective-C to delete test files, so we can't rename the implementation file quite yet.
2015-10-26 01:14:33 -07:00
Scott Kyle 4d73c13466 Merge branch 'sk-chrome-xcode-tests'
* sk-chrome-xcode-tests:
  Actually report test failures when running in Chrome
  Change RealmReactTests to run with both executors
  Fix RealmReactTests to work through Chrome
  Use a default to override Chrome debugging setting
  Change ReactTests project to 4 space indentation
2015-10-23 16:38:17 -07:00
Scott Kyle 1ede355b78 Actually report test failures when running in Chrome
Turns out Chrome doesn't report back exceptions, but instead does pass back an array of five empty arrays (I am not kidding).
2015-10-23 14:13:38 -07:00
Scott Kyle e7b05d2dc6 Change RealmReactTests to run with both executors
A new approach was needed for this. The RCTDevMenu is disabled so that it doesn't interfere with us changing the executor class. A suffix is added to the name of test cases that are run in Chrome.
2015-10-23 14:12:35 -07:00
Ari Lazier ad47da8c09 Merge pull request #93 from realm/al-rpc-cpp
Rewrite rpc server in c++ so it can be used on android
2015-10-22 18:10:21 -07:00
Ari Lazier 28e21041bc bugfix and move gcd out of rpc 2015-10-22 18:06:11 -07:00
Ari Lazier 8b5a8a731c fix naming 2015-10-22 17:59:05 -07:00
Ari Lazier c3c9cee0ee make it work 2015-10-22 16:49:32 -07:00
Ari Lazier 92a9113ef6 get it to compile 2015-10-22 15:31:26 -07:00