Commit Graph

1051 Commits

Author SHA1 Message Date
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 e90d2c514b rebase from master 2016-01-05 19:33:56 -08:00
Scott Kyle c34990759d Add test that checks schema validation 2016-01-05 13:54:03 -08:00
Scott Kyle 2a7c336ba9 Update README with new Schema API 2016-01-05 13:54:03 -08:00
Scott Kyle 676849a338 Cleanup some code and comments to make it consistent 2016-01-05 13:54:03 -08:00
Scott Kyle 9be1331dbf Convert tests to create objects with property objects
This makes it more readable and will be the preferred syntax in the documentation (and is much less likely to be deprecated in the future!).
2016-01-05 13:54:03 -08:00
Scott Kyle 09752846e5 Update example apps with new schema API 2016-01-05 13:54:03 -08:00
Scott Kyle 15052985f1 Remove confusion between propTypes and objectTypes
The RPC layer now only speaks in objectTypes, since they don't always equate to propTypes. We were overloading the use of propTypes for no good purpose.
2016-01-05 13:53:54 -08:00
Scott Kyle 36ffc6c77c Simplify object schema info returned from RPC
Only the property names are needed.
2016-01-05 13:40:57 -08:00
Scott Kyle c928ab716e RPC now keeps object keys in the same order
Maintaining insertion order when passing objects through the RPC is essential to make the new schema API work.
2016-01-05 13:40:57 -08:00
Scott Kyle 43e14093cc Change schema API to take properties as an object
The keys are names of the properties, which is more natural in JS, but will cause issues with ability to create objects where arrays of values. This feature will be removed in a subsequent commit.
2016-01-05 13:40:57 -08:00
Scott Kyle 358e5dacf3 Add method to clear mutation listeners in RPC client 2016-01-05 13:40:53 -08:00
Scott Kyle e86dc94ee9 Plug small leak from not releasing a JSStringRef 2016-01-05 13:30:27 -08:00