Commit Graph

413 Commits

Author SHA1 Message Date
Ari Lazier 6e4a7f1019 remove extraneous quote 2016-05-02 12:57:15 -07:00
Ari Lazier bf488274a3 improve error message when specifying invalid schema 2016-05-02 12:45:42 -07:00
Scott Kyle 850e3a4090 Add validate_read() check to Results::set_live()
If the Results is detached, then this can cause a crash.
2016-04-28 09:39:53 -07:00
Scott Kyle cf5112467c Fix InvalidSchemaVersionException message 2016-04-27 14:00:34 -07:00
Ari Lazier 6e93d85420 pr fixes 2016-04-26 16:59:03 -07:00
Ari Lazier cec8667e35 create RealmObject class and make isValid a member 2016-04-26 16:30:04 -07:00
Ari Lazier 75d8f5b759 bugfix for empty results, fix for realm.isValid 2016-04-19 17:29:34 -07:00
Ari Lazier 4d8d1d96e4 api to check if object has been deleted 2016-04-19 17:29:34 -07:00
Ari Lazier 21a4d5e590 add keypath tests 2016-04-12 11:01:33 -07:00
Ari Lazier 3e34d2355f pr feedback, changelog 2016-04-12 08:13:29 -07:00
Ari Lazier c874c15e75 typo 2016-04-11 16:37:18 -07:00
Ari Lazier e26b044fbe bug fix 2016-04-11 16:03:36 -07:00
Ari Lazier 0c1ade2b8e tests 2016-04-11 16:01:51 -07:00
Ari Lazier adc4a970fd support keypath comparisons for types that support it 2016-04-11 15:03:47 -07:00
Ari Lazier 6a05db6aed support for null queries 2016-04-11 13:58:52 -07:00
Ari Lazier 805fdc63a7 don't require optional or link properties when creating objects 2016-04-01 11:00:53 -07:00
Ari Lazier c32dff40a2 case insensitive searches 2016-03-21 13:32:03 -07:00
Ari Lazier 7ef25e9e14 its a struct 2016-03-18 20:04:30 -07:00
Ari Lazier f186c3d1b7 android fixes for latests object store 2016-03-18 19:58:45 -07:00
Ari Lazier 7fe2f69b8c 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
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
Nabil Hachicha 53c28dca16 fixes gcc optimisation causing RealmCoordinator to use a empty/default path
fix indentation
2016-03-14 16:42:52 -07:00
Nabil Hachicha 48d8b6a2e7 fixes #329 2016-03-14 16:09:22 -07:00
Ari Lazier 991c25865a fix for reload in example 2016-03-13 10:09:53 -07:00
Thomas Goyne 3244f441fc Merge pull request #54 from realm/tg/in-transaction
Remove Realm::m_in_transaction and use the value from the SharedGroup
2016-03-08 18:43:27 -08:00
Mark Rowe 905ff8ac74 Fix link to the CMake download page. 2016-03-08 09:40:05 -08:00
Thomas Goyne c65d536573 Remove Realm::m_in_transaction and use the value from the SharedGroup
There were a bunch of places where m_in_transaction was not being updated
correctly when exceptions were thrown, and this eliminates that as a possible
problem entirely.
2016-03-07 13:18:20 -08:00
Thomas Goyne b7283be7d1 Merge pull request #52 from realm/tg/core-0.97.0
Update to core 0.97.0
2016-03-07 13:13:59 -08:00
Thomas Goyne c65f79ae2a Merge pull request #53 from realm/tg/whitespace
Strip all trailing whitespace from files
2016-03-07 13:13:31 -08:00
Thomas Goyne af0db71187 Strip all trailing whitespace from files 2016-03-07 12:47:02 -08:00
Thomas Goyne c94770be81 Update to core 0.97.0 2016-03-07 12:46:36 -08:00
Ari Lazier d163d68b83 Merge pull request #34 from realm/al-android
Support compilation for android with gcc/remove apple specific code
2016-03-04 10:33:20 -08:00
Ari Lazier 6b523bab09 forward declare property 2016-03-04 07:28:10 -08:00
Ari Lazier f7927f189c use core to_string 2016-03-04 07:09:49 -08:00
Ari Lazier eb7f213c93 pr fixes 2016-03-03 16:49:06 -08:00
Ari Lazier d07f82b3ec fixes for android 2016-03-03 14:56:18 -08:00
Scott Kyle 89fd01705d submodule fixes 2016-03-03 14:48:41 -08:00
Ari Lazier 4923d7d953 object store fixes for js binding 2016-03-03 14:45:44 -08:00
Ari Lazier 7802a9e976 merge latest object store 2016-03-03 14:15:54 -08:00
Mark Rowe c7f4133414 Merge pull request #50 from realm/mar/cmake-linux-and-local-core
Support building on Linux and with local builds of core
2016-03-02 16:39:07 -08:00
Thomas Goyne d73c7dba88 Merge pull request #42 from realm/tg/async-query
Add support for async queries
2016-03-02 15:13:18 -08:00
kishikawa katsumi 9045d79453 Bool and NSDate properties can be indexed.
Core supports indexing Bool and NSDate properties.
realm-java also supports indexing Bool and NSDate properties.
It is better to align the specification with realm-java.
2016-03-02 13:20:29 -08:00
Mark Rowe 3602cf7588 Factor duplicated logic out into a macro. 2016-03-02 01:16:11 -08:00
Mark Rowe ccdc3b0754 Add info to the README about using a local build of core. 2016-03-02 01:02:11 -08:00
Mark Rowe 8c56d13382 Support building on Linux.
By default, Linux uses a locally-built version of core that is prepared
in an independent working copy of the realm-core git repository.

Support is also added for using an existing local build of core on both
OS X and Linux . This can be done by running
`cmake -DREALM_CORE_VERSION=/path/to/realm-core`. The generated build
system will invoke `sh build.sh build` within the given directory prior
to building the object store.
2016-03-02 01:02:11 -08:00
Ari Lazier 062db0e95d Merge pull request #43 from realm/al/contains-test
Test contains can be used as a property name in the parser
2016-03-01 13:45:43 -08:00
Ari Lazier 00d2c2a74a add encryption support 2016-02-26 11:08:59 -08:00
Thomas Goyne 086192f8d3 Add minimal Results notification tests 2016-02-26 10:24:46 -08:00
Thomas Goyne 773e7db14d Add a helper class to generate temp paths for tests 2016-02-26 09:47:51 -08:00