1714 Commits

Author SHA1 Message Date
Scott Kyle
bc77077b13 Merge branch 'sk-schema-api'
* sk-schema-api:
  Improve clarity of schema parsing and serialization
  Add test that checks schema validation
  Update README with new Schema API
  Cleanup some code and comments to make it consistent
  Convert tests to create objects with property objects
  Update example apps with new schema API
  Remove confusion between propTypes and objectTypes
  Simplify object schema info returned from RPC
  RPC now keeps object keys in the same order
  Change schema API to take properties as an object
  Add method to clear mutation listeners in RPC client
  Plug small leak from not releasing a JSStringRef
  Make RJSStringForValue use consistent exception style
  Improve error messages inside RJSUtil
2016-01-14 15:13:33 -08:00
Ari Lazier
0d515d187a remove unnecessary requires 2016-01-14 09:47:39 -08:00
Nabil Hachicha
9daa3aae30 fix example deps 2016-01-14 16:05:20 +00:00
Ari Lazier
a7720216de try to make example work 2016-01-13 21:25:10 -08:00
Scott Kyle
c2d15af000 Update ReactExample to use generic Navigator
This means it theoretically should work on Android!
2016-01-13 17:48:54 -08:00
Scott Kyle
1922125ab0 Improve clarity of schema parsing and serialization 2016-01-13 14:53:39 -08:00
Scott Kyle
741cd4ad19 Update ReactExample Xcode project
Added libReact as a target dependency since that seemed to workaround a very weird build issue that would come and go.
2016-01-13 14:34:39 -08:00
Ari Lazier
f63e6e7b13 android example 2016-01-13 14:29:41 -08:00
Ari Lazier
cd6fd2a2e8 merge changes for v0.18-rc 2016-01-13 14:10:57 -08:00
Ari Lazier
0147ea7880 merge latest from master 2016-01-13 12:46:07 -08:00
Ari Lazier
63ffc760bd merge latest from master 2016-01-13 12:46:07 -08:00
Ari Lazier
ef190447b6 remove gradle files 2016-01-13 11:53:13 -08:00
Ari Lazier
1ded2e661b log levels 2016-01-13 11:50:19 -08:00
Ari Lazier
b45948eb9a only start webserver in chrome debug mode 2016-01-13 11:32:29 -08:00
Ari Lazier
a9ef54d65d chrome debugging 2016-01-13 11:18:10 -08:00
Ari Lazier
570607fa86 instantiate and make calls to rpc server 2016-01-13 11:07:54 -08:00
Nabil Hachicha
55bde66ef8 adding NanoHTTP server for chrome debug 2016-01-13 17:56:38 +00:00
Scott Kyle
04efd77940 Merge pull request #198 from realm/sk-error-message
Error message when RealmReact framework is missing
2016-01-12 17:08:43 -08:00
Scott Kyle
04ee234578 Improve clarity of addListenerForEvent:hander: 2016-01-12 17:07:48 -08:00
Ari Lazier
a2befeeffb Merge pull request #32 from realm/alazier-readme
Create README.md
2016-01-12 15:39:37 -08:00
Karson Miller
e499e58b37 Merge pull request #200 from realm/km-md-conduct
Add Contributor Code of Conduct to all repos
2016-01-12 14:45:49 -08:00
Karson Miller
43d3eccb36 Add code of conduct 2016-01-12 12:06:01 -08:00
Nabil Hachicha
27bae32361 Merge branch 'al-android-aar' of https://github.com/realm/realm-js into al-android-aar 2016-01-12 19:41:24 +00:00
Ari Lazier
8f8982c448 Create README.md 2016-01-12 11:02:30 -08:00
Ari Lazier
ced472b47e fix for last test 2016-01-12 08:16:13 -08:00
Nabil Hachicha
8c80b42748 Merge branch 'al-android-aar' of https://github.com/realm/realm-js into al-android-aar 2016-01-12 10:27:16 +00:00
Nabil Hachicha
2d8dddabee revert getConstants to avoid initialising Realm too late 2016-01-12 10:25:53 +00:00
Ari Lazier
211f0eddd5 improve exception message 2016-01-11 19:42:20 -08:00
Ari Lazier
1c5f22bd4d fix for query tests 2016-01-11 19:32:46 -08:00
Ari Lazier
469121429a implementation for remove files 2016-01-11 19:27:00 -08:00
Ari Lazier
2c8696ea57 initialize in the right placE 2016-01-11 19:20:33 -08:00
Nabil Hachicha
b246f017e9 fix crash in using s_default_realm_directory 2016-01-12 03:01:06 +00:00
Nabil Hachicha
529ea5cf70 Merge branch 'al-android-aar' of https://github.com/realm/realm-js into al-android-aar 2016-01-11 23:18:05 +00:00
Nabil Hachicha
a91a50cc49 wip 2016-01-11 23:17:42 +00:00
Ari Lazier
b562338b0e code cleanup, build script 2016-01-11 09:42:26 -08:00
Nabil Hachicha
6426d48d57 defining default_realm_file_directory using application context 2016-01-11 16:18:15 +00:00
Nabil Hachicha
3067ed8bc1 Merge branch 'al-android-aar' of https://github.com/realm/realm-js into al-android-aar 2016-01-11 11:27:03 +00:00
Nabil Hachicha
b68d9a315d fixing conf path 2016-01-11 11:25:35 +00:00
Ari Lazier
4735a91f8c run tests 2016-01-08 16:33:53 -08:00
Scott Kyle
7202994482 Add comments to explain checking for userAgent 2016-01-08 15:54:30 -08:00
Ari Lazier
d4f5f45e56 fix for member initializtion ordering 2016-01-08 13:05:13 -08:00
Ari Lazier
d0715cc8e4 pr fixes 2016-01-08 11:37:05 -08:00
Thomas Goyne
854d6bea53 Merge pull request #31 from realm/tg-file-not-found
Catch File::NotFound and rethrow correctly
2016-01-07 15:19:21 -08:00
Marius Rackwitz
7e96fa9732 Catch File::NotFound and rethrow correctly 2016-01-07 15:19:03 -08:00
Scott Kyle
334e646d7b Error message when RealmReact framework is missing
Fixes #190
2016-01-07 15:18:27 -08:00
Scott Kyle
d7f80e22c8 Update React Tests to support React Native 0.18
We had to shift to using an event-based architecture to communicate with the page from native code.
2016-01-07 14:31:04 -08:00
Ari Lazier
23b73378fe try to load realm module 2016-01-05 20:36:03 -08:00
Ari Lazier
9a15ef4c87 initialize the context when the module is initialized 2016-01-05 20:34:50 -08:00
Ari Lazier
95c21dea20 rebase from master 2016-01-05 19:33:56 -08:00
Ari Lazier
e90d2c514b rebase from master 2016-01-05 19:33:56 -08:00