Commit Graph

1369 Commits

Author SHA1 Message Date
Scott Kyle 49e2b54151 Convert some more camelCase in js_realm.hpp 2016-04-18 12:17:45 -07:00
Scott Kyle 5c56a99403 Split up JS abstractions into type-specific files 2016-04-18 01:15:54 -07:00
Scott Kyle d57483c675 Rename js_object.hpp -> js_realm_object.hpp 2016-04-18 01:14:48 -07:00
Scott Kyle 10f08747e7 Rename remained camelCase to snake_case
And fix some minor build warnings along the way.
2016-04-18 01:01:04 -07:00
Scott Kyle 60a3cd4399 Remove unused js_schema.cpp 2016-04-17 22:33:18 -07:00
Scott Kyle a5bf9ed8dd Define most of jsc::ObjectWrap separately 2016-04-17 22:12:23 -07:00
Scott Kyle 5ed2c3cf25 Define most of node::ObjectWrap separately 2016-04-17 22:00:06 -07:00
Scott Kyle 7c97a1752e Remove need for BaseClassDefinition 2016-04-16 16:46:16 -07:00
Scott Kyle 999900ff00 Fix script that copies query-tests.json 2016-04-16 16:30:02 -07:00
Scott Kyle 2641e5a2a1 Move JSC object accessor code into header 2016-04-15 16:10:25 -07:00
Scott Kyle 133289ad85 All tests now pass on Node 2016-04-15 16:06:44 -07:00
Ari Lazier bd4088ce91 key templates off explicitly defined classes rather than the internal type 2016-04-15 13:47:01 -07:00
Ari Lazier 760126f0d7 public before private 2016-04-15 11:59:10 -07:00
Ari Lazier e8ca5ff92e ObjectClass -> ClassDefinition 2016-04-15 10:50:15 -07:00
Ari Lazier c817ac7eac create -> create_instance 2016-04-14 11:19:01 -07:00
Ari Lazier 84559316d8 compact property getter/setter types 2016-04-14 11:06:17 -07:00
Ari Lazier 0b2a75bdc3 use different naming convention for extracted template types 2016-04-14 10:54:43 -07:00
Scott Kyle c0c65ad620 Make all JSC tests pass again 2016-04-13 03:21:18 -07:00
Scott Kyle 05c432deb1 WIP Node support
The JS engine details are mostly abstracted away. This breaks JSC support until the rest of the pieces are in place. The Node version builds and runs, but crashes when creating a Realm object.
2016-04-12 11:53:30 -07:00
Ari Lazier f80bcd882d convert schema parsing 2016-03-30 16:14:48 -07:00
Ari Lazier 61685dee83 use string wrapper, finish realm constructor conversion 2016-03-30 14:56:33 -07:00
Ari Lazier 29213f1d87 wrap list properties 2016-03-30 14:18:44 -07:00
Ari Lazier c249eea505 wrap realm properties 2016-03-30 13:48:24 -07:00
Ari Lazier 2baec5bec6 move static methods and constructor 2016-03-30 13:09:05 -07:00
Ari Lazier 0282e98232 move exception handling to method wrapper 2016-03-30 11:55:13 -07:00
Ari Lazier 58d50bb3c5 refactor realm 2016-03-30 10:23:15 -07:00
Ari Lazier 016d723731 tmp 2016-03-30 09:16:38 -07:00
Ari Lazier 5b2a59d5c6 converted BindingContext 2016-03-29 16:17:57 -07:00
Ari Lazier e7d954a727 wrap all types in a single type and use static class methods 2016-03-29 14:12:27 -07:00
Ari Lazier b4990fbbff convert more of Realm 2016-03-29 13:36:01 -07:00
Ari Lazier 9626842f8e start refactoring realm 2016-03-28 13:21:36 -07:00
Ari Lazier 20bac8e2c7 refactor list 2016-03-25 12:13:49 -07:00
Scott Kyle d62f78050e [0.11.0] Bump version 2016-03-24 13:10:24 -07:00
Scott Kyle ceb371290f Update CHANGELOG for final 0.11.0 release 2016-03-24 12:14:14 -07:00
Scott Kyle 4b929f4c02 [0.11.0-rc.1] Bump version 2016-03-23 16:08:02 -07:00
Scott Kyle 4feea0ad6f Download Android core over HTTPS 2016-03-23 16:08:02 -07:00
Scott Kyle 4b6d59f949 Update publish script for new Xcode project location 2016-03-23 16:08:02 -07:00
Scott Kyle 00b838ffb8 Merge pull request #347 from realm/sk-static-lib
Change RealmReact to static library and support rnpm
2016-03-23 16:07:40 -07:00
Scott Kyle b4be60468b Minor update to README 2016-03-23 13:39:26 -07:00
Scott Kyle daa2948028 Move RealmJS.xcodeproj to be under src/ios 2016-03-23 13:39:12 -07:00
Scott Kyle d34ce0055d Fix tests 2016-03-23 13:20:05 -07:00
Scott Kyle 42485045f3 Support linking project with rnpm
The postlink script takes care of linking in libc++ and libz. So now the only setup instructions will be: `rnpm link realm`.

Resolves #226
2016-03-23 10:51:57 -07:00
Scott Kyle 02b81ac056 Convert RealmReact to be a static library
We needed to do this due to the way React Native modules work. Our hacky solution for using a framework ended up falling apart due to it relying on symbols not getting stripped from the main application.

This static library is in its own Xcode project because rnpm links in *all* static libraries from a given Xcode project.
2016-03-23 10:50:19 -07:00
Scott Kyle 08fa6ba90c Merge pull request #344 from realm/sk-ios-93-fix
Fix disabling of RCTDevMenu for tests on iOS 9.3
2016-03-22 14:40:08 -07:00
Scott Kyle 88f6191a61 Fix disabling of RCTDevMenu for tests on iOS 9.3
After upgrading to Xcode 7.3, the test bundle is being loaded before the rest of the app. We need to ensure +[RCTDevMenu load] is called before we remove it from the set of native modules.
2016-03-22 09:54:06 -07:00
Scott Kyle 0e74362e4c Merge pull request #340 from realm/sk-collection
Make List and Results inherit from Collection
2016-03-21 15:27:18 -07:00
Scott Kyle d18ea5630d Adjust some of the Collection API docs 2016-03-21 15:13:55 -07:00
Scott Kyle 1fc251a371 Fix Collection on Android 2016-03-21 15:12:41 -07:00
Scott Kyle 83e09268ea Rename array-methods.js to collection-methods.js 2016-03-21 15:00:00 -07:00
Ari Lazier f13cd0a245 Merge pull request #342 from realm/al-fix-throws
fix for test bug in test harness for queries that should throw
2016-03-21 14:04:22 -07:00