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
Scott Kyle
213c3d832f
Make RJSStringForValue use consistent exception style
2016-01-05 13:30:27 -08:00
Scott Kyle
f5047af3bc
Improve error messages inside RJSUtil
2016-01-05 13:30:27 -08:00
Scott Kyle
381dbbe7ba
Merge branch 'sk-npm'
...
* sk-npm:
Add ability to publish NPM module to git
Move RealmJS.mm to correct location
2016-01-05 13:25:20 -08:00
Scott Kyle
2bfedc5d8a
Merge branch 'sk-project-cleanup'
...
* sk-project-cleanup:
Fix for failing React tests
Rename JS test files to be consistent
Cleanup and fix resolving JS test files
Cleanup source groups in Xcode project
Move RealmJS.mm to correct location
2016-01-05 13:19:02 -08:00
Scott Kyle
b5fb267e11
Merge branch 'sk-snapshot-results'
...
* sk-snapshot-results:
Explicitly check if row is attached
Add methods to create snapshot of List and Results
Update to Realm Core 0.95.5
2016-01-05 13:16:27 -08:00
Scott Kyle
51f9bbcda4
Merge branch 'sk-snapshot-results'
...
* sk-snapshot-results:
Explicitly check if row is attached
Add methods to create snapshot of List and Results
Update to Realm Core 0.95.5
2016-01-05 13:16:27 -08:00
Nabil Hachicha
98cb634a36
using dynamic linker to expose s_globalContextRefToJSCExecutor
2016-01-05 11:08:42 -08:00
Ari Lazier
4270bc2b0f
try to initialize JSContexts
2016-01-05 11:08:42 -08:00
Nabil Hachicha
8965aa80f7
fixed example, add Relinker to load JNI lib
2016-01-05 11:08:42 -08:00
Ari Lazier
ac32f97f8d
check in core
2016-01-05 11:08:42 -08:00
Ari Lazier
3a72bb3ade
finish rename
2016-01-05 11:08:42 -08:00
Ari Lazier
eea8658627
put our react module in our aar
2016-01-05 11:08:42 -08:00
Ari Lazier
15ad6a12ac
remove duplicate project
2016-01-05 11:08:42 -08:00
Ari Lazier
8cb8b0729a
move library to separate project
2016-01-05 11:08:42 -08:00
Nabil Hachicha
28d1f92a7e
add Demo project based on the built realmreact lib
2016-01-05 11:07:21 -08:00
Ari Lazier
1fa0098158
empty implementations for platform methods
2016-01-05 11:07:21 -08:00
Ari Lazier
8104738e1a
use gcc
2016-01-05 11:07:21 -08:00
Ari Lazier
468337263c
link static library
2016-01-05 11:05:56 -08:00
Emanuele Zattin
b37d0093b3
Some small random fixes.
...
Now it gets stuck not being able to find pegtl.hh,
which is nowhere to be seen in the repo.
2016-01-05 11:05:56 -08:00
Ari Lazier
ee341c4fe7
try to use realm core so's (which don't exist yet)
2016-01-05 11:05:44 -08:00
Ari Lazier
3c5a35640c
try to download core
2016-01-05 11:05:44 -08:00
Ari Lazier
d76b77111a
fix for demangle missing
2016-01-05 11:05:44 -08:00
Ari Lazier
50ecaa3b22
just use one symlink to the binding source, make more stuff compile
2016-01-05 11:05:44 -08:00
Ari Lazier
3aaf988953
fixes
2016-01-05 11:05:27 -08:00
Nabil Hachicha
c3d5fd4e09
add Core include + fix c++14 issue
2016-01-05 11:04:06 -08:00
Ari Lazier
fb1d6b6a93
more import fixes
2016-01-05 11:04:06 -08:00
Ari Lazier
2974d87560
fix imports
2016-01-05 11:04:06 -08:00
Ari Lazier
62ae41327d
include JSBase
2016-01-05 11:04:06 -08:00
Nabil Hachicha
5b06c41163
adding module deps + fixing gradle
2016-01-05 11:04:06 -08:00
Ari Lazier
d7ca354a27
add makefile
2016-01-05 11:04:06 -08:00
Ari Lazier
3cd60002ba
add symlinks to binding source
2016-01-05 11:04:06 -08:00
Ari Lazier
5b113d23b8
Merge pull request #194 from realm/al-os
...
Merge latest object store changes
2016-01-05 08:04:29 -08:00
Ari Lazier
ff532b47c4
bdash pr fixes
2016-01-04 18:13:09 -08:00