76 Commits

Author SHA1 Message Date
Scott Kyle
a5ec799a7c Copy whole lib module into JS test bundle
This meant we needed to rename tests/lib to tests/js so they folder names would not conflict.
2016-02-29 03:24:58 -08:00
Scott Kyle
f26415cd02 Bump version to 0.10.0 2016-02-21 20:43:13 -08:00
Scott Kyle
6f90a3a6e8 Add Mixpanel analytics for iOS
This is mostly copied and then modified from the Realm Cocoa repo.
2016-02-18 13:58:12 -08:00
Scott Kyle
5b2e7b37af Add script to update version in package.json and iOS
This uses agvtool to update the CURRENT_PROJECT_VERSION and DYLIB_CURRENT_VERSION project variables. The Info.plist files have been updated to propagate this value.
2016-02-18 13:58:12 -08:00
Scott Kyle
e4866c5560 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-15 01:33:34 -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
b3a0627a51 Rename JS test files to be consistent 2015-12-29 14:56:38 -08:00
Scott Kyle
6776eef6c0 Cleanup and fix resolving JS test files
The whole lib folder is now copied into the test bundle and the correct path to where a failure occurred is now properly resolved.
2015-12-29 14:55:20 -08:00
Scott Kyle
2f39e73e77 Cleanup source groups in Xcode project 2015-12-29 14:55:20 -08:00
Scott Kyle
5fe90c9904 Move RealmJS.mm to correct location 2015-12-29 14:55:20 -08:00
Scott Kyle
3da6b54df6 Add ability to publish NPM module to git
The top-level package.json explicitly includes the directories it needs (vendor/.npmignore cuts down the cruft). The publish-beta.sh script essentially uses `npm pack` to package up the NPM module and then push it into an orphaned `beta` branch.
2015-12-28 22:01:17 -08:00
Scott Kyle
a6549a0cc2 Move RealmJS.mm to correct location 2015-12-28 22:00:29 -08:00
Scott Kyle
cf687ffca0 Fix for correctly locating GCDWebServer headers
This issue appeared when doing a fully clean build since we no longer use the GCDWebServers framework.
2015-12-08 16:58:29 -08:00
Scott Kyle
3cc0250da9 No longer embed frameworks into RealmReact.framework
Instead we build RealmJS and GCDWebServers as static libraries and link those instead.
2015-12-07 14:57:19 -08:00
Scott Kyle
25cfb68779 Remove use of explicit target dependencies
The target dependencies are discovered implicitly, and removing the use of explicitly defined dependencies actually resolved a very odd bug with Xcode when building ReactExample.app for a device.
2015-12-02 17:45:09 -08:00
Ari Lazier
bc0c7dae7f search path fix 2015-11-30 12:58:23 -08:00
Ari Lazier
806ae5c890 also include example modules path 2015-11-30 12:46:11 -08:00
Ari Lazier
564181a887 clean up header search paths 2015-11-30 12:14:50 -08:00
Ari Lazier
5d1e9d4dd3 pr fixes 2015-11-30 11:47:32 -08:00
Ari Lazier
5f584f747f use underscore rather than dash 2015-11-30 11:23:29 -08:00
Ari Lazier
eb44b27633 move everything/rename to make room for android 2015-11-30 11:23:29 -08:00
Ari Lazier
e3b638edf3 pr fixes 2015-11-23 08:56:36 -08:00
Ari Lazier
9ea8ab25c5 pr feedback 2015-11-23 08:47:09 -08:00
Ari Lazier
ae5e4d82b8 fixes for remaining warnings 2015-11-20 19:50:58 -08:00
Ari Lazier
49955a03e3 use cpp extension for pure cpp files 2015-11-20 19:32:35 -08:00
Ari Lazier
df7474feb3 run parser tests in RealmJSTests 2015-11-20 15:16:35 -08:00
Ari Lazier
40f0e5f274 move queryTests to parser dir 2015-11-20 14:51:04 -08:00
Ari Lazier
3a9137fa08 put tests in JSON 2015-11-19 14:36:42 -08:00
Ari Lazier
07e818bdf2 rebase fixes 2015-11-19 13:05:37 -08:00
Ari Lazier
5784bbe6ed start porting over objc query tests 2015-11-19 13:05:37 -08:00
Ari Lazier
e7e4b6715e move query building to a separate file 2015-11-19 13:05:37 -08:00
Ari Lazier
d8c89c7098 support for truepredicate/falsepredicate, single quote strings - all tests now pass 2015-11-19 13:05:37 -08:00
Ari Lazier
5bdc6eba93 parse tree construction 2015-11-19 13:05:37 -08:00
Scott Kyle
616f78ea07 Add support for data properties in RPC layer
The data is base64 encoded before being sent via the RPC.
2015-11-17 13:32:31 -08:00
Ari Lazier
df15c5f722 integrate latest object store changes 2015-11-13 18:20:40 -08:00
Ari Lazier
1c155fe136 schema config 2015-11-12 12:31:57 -08:00
Ari Lazier
92a94d3dcb move embedded frameworks around 2015-11-12 11:50:42 -08:00
Ari Lazier
bcd8c2a3d3 pr fixes 2015-11-12 11:32:16 -08:00
Ari Lazier
5b29f09e7a don't require any GCDWebServers dependency when building Release 2015-11-11 15:37:03 -08:00
Ari Lazier
b7d47ac543 apply newest object store changes 2015-10-26 15:27:43 -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
Scott Kyle
d3cf748dc1 Rename RealmRPC.mm -> RealmRPC.cpp 2015-10-26 01:20:14 -07:00
Ari Lazier
92a9113ef6 get it to compile 2015-10-22 15:31:26 -07:00
Ari Lazier
418d6dfc1c partial port of rpc server to cpp 2015-10-22 10:44:10 -07:00
Ari Lazier
5d78670802 make ReactTests a subproject of RealmJS 2015-10-21 19:17:22 -07:00
Ari Lazier
290a595259 update to latest core 2015-10-21 19:12:36 -07:00
Scott Kyle
8ba3a24eae Move RealmJSCoreTests.m to tests directory
Test failures were not pointing to the correct JS file path when it was in the src directory. This is where it belongs anyways.
2015-10-21 15:18:47 -07:00
Ari Lazier
f02fb05af4 add search paths for test path 2015-10-19 10:52:34 -07:00
Ari Lazier
7074d66c5f always use release version of core 2015-10-19 09:58:26 -07:00
Scott Kyle
7f5902b021 Remove dependency on JavaScriptCore for RealmReactTests
The test structure is now provided by a JS API, that is used by all things that run tests. Also, the tests can be run manually by tapping a button in the ReactTests app.
2015-10-15 15:19:59 -07:00