Commit Graph

21 Commits

Author SHA1 Message Date
Scott Kyle dc84ac63b6 Merge branch 'sk-react-framework' into sk-test-suite
* sk-react-framework: (27 commits)
  Change RealmReact to be a dynamic framework
  finish Array to List rename
  RJSArray -> RJSList
  move property getters to object store code
  move List class to its own file
  ObjectArray -> List
  Add Notification constructor and destructor
  Small improvement to notifications test
  RJSException no longer requires JS strings
  Protect realm and callback from GC in addNotification
  Add comments
  pr fixes
  minimal tests for migrations
  Check for NaN inside RJSValidatedValueToNumber
  allow running all tests at the same path by invalidating all cached realm paths between test runs
  Native methods should convert to numbers/bools
  Out of bounds getters for Results return undefined
  Out of bounds list item getters return undefined
  Consolidate code that verifies array index bounds
  Add list item setters in JS
  ...
2015-10-14 02:12:50 -07:00
Scott Kyle 9916fe14a4 Change RealmReact to be a dynamic framework
It embeds RealmJS and GCDWebServers frameworks. This fixes #58, where there were issues with building for devices rather than just the simulator.

Some changes were made so that RealmReact.m didn't need to be weakly linked to libReact.a since that would actually cause any executable that uses this framework from being able to compile with bitcode.
2015-10-14 02:05:02 -07:00
Ari Lazier f6e0d34022 RJSArray -> RJSList 2015-10-13 15:27:24 -07:00
Ari Lazier 385f387332 move property getters to object store code 2015-10-13 15:25:06 -07:00
Ari Lazier 77359f14e3 move List class to its own file 2015-10-13 14:44:31 -07:00
Ari Lazier aa035717a5 allow running all tests at the same path by invalidating all cached realm paths between test runs 2015-10-12 16:43:05 -07:00
Ari Lazier ae52840ee7 add GCDWebServer as dependency 2015-10-12 13:09:00 -07:00
Scott Kyle db80c3a89a Refactor tests to run again inside Xcode
Added a CommonJS module loader that is used by XCTestCase subclass to load and run the tests.
2015-10-08 15:54:30 -07:00
Ari Lazier 1991d9df95 move rpc server to RealmJS 2015-10-08 11:57:07 -06:00
Scott Kyle 6de1ffc51f Add GCDWebServer back into Xcode project 2015-10-07 20:36:00 -07:00
Ari Lazier 055b0c9309 support list properties 2015-10-07 20:57:23 -06:00
Scott Kyle 1594b0588f Add GCDWebServer as a submodule at version 3.2.7 2015-10-07 17:36:22 -07:00
Ari Lazier 18641994c7 transaction rpc methods, return size when creating results 2015-10-07 18:09:00 -06:00
Ari Lazier 476b3623bb partial rpc server implemenation 2015-10-06 13:36:56 -06:00
Ari Lazier 6f2b137b1d use latest object store changes 2015-09-28 15:33:44 -07:00
Ari Lazier ee87cbc17a primary keys and upsert 2015-09-03 14:05:56 -07:00
Ari Lazier f7b4fd6f4a test existing array functionality 2015-08-14 10:47:56 -07:00
Ari Lazier bf11885df8 new react example 2015-08-13 10:29:37 -07:00
Ari Lazier 55b0a7d459 project fixes for test target 2015-08-13 09:51:09 -07:00
Ari Lazier b65db0d3d0 missing files and project fixes 2015-08-13 09:28:53 -07:00
Ari Lazier 12b942fecd move js work from realm-cocoa-private 2015-08-13 09:12:48 -07:00