Commit Graph

1466 Commits

Author SHA1 Message Date
Ari Lazier b542fe8c7b tests 2016-04-11 16:01:51 -07:00
Ari Lazier 3a174161d7 support keypath comparisons for types that support it 2016-04-11 15:03:47 -07:00
Ari Lazier 8a77099685 support for null queries 2016-04-11 13:58:52 -07:00
Ari Lazier b820b28688 Merge pull request #369 from realm/al-create-optionals
Don't require optional or link properties when creating objects
2016-04-05 11:38:29 -07:00
Ari Lazier 4ac022ecc9 don't require optional or link properties when creating objects 2016-04-01 11:00:53 -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
Scott Kyle 34ece60e69 Merge pull request #335 from realm/sk-react-native-22
Update to use React Native 0.22
2016-03-29 16:08:33 -07:00
Scott Kyle 2c0d8f8cef [0.11.1] Bump version 2016-03-29 15:30:39 -07:00
Scott Kyle 36ad1ae840 Update CHANGELOG with 0.11.1 fixes 2016-03-29 15:30:15 -07:00
Scott Kyle bbc0ed9d62 Update changelog script 2016-03-29 15:26:45 -07:00
Scott Kyle 89e28be437 Merge pull request #357 from realm/sk-remove-assert
Remove changes_available implementation that asserts
2016-03-29 14:48:58 -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
Scott Kyle 0f9f450062 Remove changes_available implementation that asserts
This gets called when a Realm changes on another thread, but is called on the correct thread on iOS. It doesn't look like it will be called on Android, so we can unofficially support iOS accessing Realms from multiple bindings for now.

Fixes #352
2016-03-29 12:59:06 -07:00
Scott Kyle 858380b86e Merge pull request #354 from realm/sk-adb-fix
Get correct path to adb from Android Studio
2016-03-29 11:30:55 -07:00
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
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
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