Commit Graph

1330 Commits

Author SHA1 Message Date
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
Ari Lazier ad32fdd3c0 Merge pull request #338 from realm/al-schema-version
Support getting the schema version from unopened realms
2016-03-21 13:57:02 -07:00
Ari Lazier e84b1eb145 fix for test bug in test harness for queries that should throw 2016-03-21 13:41:00 -07:00
Ari Lazier dc5d9e80f1 tweak docs 2016-03-21 13:34:34 -07:00
Ari Lazier 2d6360e1f2 update docs 2016-03-21 13:34:34 -07:00
Ari Lazier f25d08dc04 changelog 2016-03-21 13:34:34 -07:00
Ari Lazier 4b2e47a861 support encrypted realm when getting schemaVersion 2016-03-21 13:34:12 -07:00
Ari Lazier 836cfc1c6b add chrome debugging, use -1 for not versioned 2016-03-21 13:34:12 -07:00
Scott Kyle 95ac0594df Add Realm.schemaVersion API doc
This may need to be adjusted depending on the decisions surrounding this API.
2016-03-21 13:34:12 -07:00
Ari Lazier 5de63ac401 add tests 2016-03-21 13:34:12 -07:00
Ari Lazier 324c3d702b support getting the schema version from unopened realms 2016-03-21 13:34:11 -07:00
Ari Lazier 071a65b449 Merge pull request #315 from realm/al-case
Case insensitive queries
2016-03-21 13:33:48 -07:00
Ari Lazier 6699334fdd changelog 2016-03-21 13:32:46 -07:00
Ari Lazier 8b986f031c case insensitive searches 2016-03-21 13:32:03 -07:00
Ari Lazier 7e9df63777 Merge pull request #339 from realm/al-indexed
Support for indexed properties
2016-03-21 13:27:23 -07:00
Ari Lazier 1b0ec38339 Update realm.js 2016-03-21 13:26:33 -07:00
Ari Lazier 80c532cf3e docs 2016-03-21 11:49:16 -07:00
Ari Lazier b9475ad772 pr feedback 2016-03-21 11:46:34 -07:00
Scott Kyle 5faa71e1e0 Add API docs for all Collection methods
Resolves #298
2016-03-20 11:57:40 -07:00
Scott Kyle 8c66bab8aa Make collection iterators actually iterable
The ES6 spec calls for this so these iterators are usable in for-of loops, with spread operators, etc.
2016-03-20 11:51:16 -07:00
Scott Kyle b5ce02c0ce Make List and Results inherit from Collection
This will allow for easier type checking, documentation, etc.
2016-03-20 11:51:16 -07:00
Ari Lazier 693df136d5 its a struct 2016-03-18 20:04:30 -07:00
Ari Lazier 67f2f40297 android fixes for latests object store 2016-03-18 19:58:45 -07:00
Ari Lazier 48199f6c08 share core version 2016-03-18 19:53:52 -07:00
Ari Lazier 9999120ba6 Use core 0.97.1 2016-03-18 17:44:02 -07:00
Ari Lazier b2e4d93732 support for indexed properties 2016-03-18 16:50:55 -07:00
Ari Lazier b02f64e727 latest object store 2016-03-18 16:14:11 -07:00
Thomas Goyne aaccb8992f Merge pull request #51 from realm/tg/indexable
Bool and NSDate properties can be indexed.
2016-03-18 15:33:56 -07:00
Scott Kyle 900f0dbd80 Merge pull request #337 from realm/sk-doc-updates
Minor doc updates
2016-03-17 15:48:45 -07:00
Ari Lazier d79a2e66aa Merge pull request #58 from realm/nh/bug/fixes_coordinator_path
Passing the correct config.path to the RealmCoordinator
2016-03-17 15:26:24 -07:00
Scott Kyle 92461f2598 Update API docs with encryptionKey 2016-03-17 15:14:56 -07:00
Scott Kyle 08d4340503 Make link to CONTRIBUTING.md absolute
Since this page is used on the API docs as well.
2016-03-17 15:14:56 -07:00
Scott Kyle d7d53c4d18 Merge pull request #336 from realm/sk-list-splice
List splice method now accepts single argument and is documented
2016-03-17 15:13:25 -07:00
Scott Kyle aa5529e059 Update List splice doc to be more clear about count 2016-03-17 15:12:18 -07:00
Scott Kyle f8de504ac6 Update CHANGELOG with splice method fix 2016-03-17 14:56:07 -07:00
Scott Kyle 9ba477762a Update splice tests to test added behavior 2016-03-17 14:53:42 -07:00
Scott Kyle 933326c410 Add List splice method to API docs
It was mysteriously missing!
2016-03-17 14:49:12 -07:00
Scott Kyle 301214dd39 Fix List splice method to be spec compatible
If the second argument is omitted, then all objects after the provided index should be removed. This is the same behavior as Array.prototype.splice.
2016-03-17 14:48:39 -07:00
Scott Kyle 7260d7c71c Merge pull request #334 from realm/al-ci
CI test improvements
2016-03-17 02:16:20 -07:00
Scott Kyle 480a9b1327 Update eslint dependencies
The release of 2.4.0 broke babel-eslint 5.x, so updated to the 6.x beta.
2016-03-17 02:04:20 -07:00