Commit Graph

2206 Commits

Author SHA1 Message Date
Ari Lazier 507916a2eb Merge pull request #353 from realm/al-write-tests
Add some simple tests for Realm.write
2016-03-29 11:10:50 -07:00
Scott Kyle e2d1bc4520 Get correct path to adb from Android Studio
If adb really isn't found (unsure what conditions would cause that to happen), then `false` will be called which will result in that warning message being displayed instead.

Fixes #351
2016-03-29 10:56:51 -07:00
Ari Lazier 9d0b890923 add some simple tests for Realm.write 2016-03-29 09:02:36 -07:00
Thomas Goyne d0763d541e Merge pull request #62 from realm/tg/cmake-version
Move cmake_minimum_required() to the correct place
2016-03-28 15:29:16 -07:00
Thomas Goyne c98f192879 Move cmake_minimum_required() to the correct place
It has to be before the call to project() or it doesn't do anything.
2016-03-28 14:10:15 -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 c9c941aac9 Update apps to use React Native 0.22
React is now a peer dependency, which means we need to add it to our package.json for npm v3 to work properly.
2016-03-24 17:35:46 -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
Ari Lazier f41d137f71 Merge pull request #60 from realm/al-latest-fixes
Latest fixes for react-native/android
2016-03-22 17:19:57 -07:00
Thomas Goyne b69dd4bd3e Merge pull request #55 from realm/tg/sanitizer
Add support for building with the various sanitizers
2016-03-22 17:17:44 -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 c32dff40a2 case insensitive searches 2016-03-21 13:32:03 -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 7ef25e9e14 its a struct 2016-03-18 20:04:30 -07:00