Commit Graph

15 Commits

Author SHA1 Message Date
Scott Kyle b5fb267e11 Merge branch 'sk-snapshot-results'
* sk-snapshot-results:
  Explicitly check if row is attached
  Add methods to create snapshot of List and Results
  Update to Realm Core 0.95.5
2016-01-05 13:16:27 -08:00
Ari Lazier ff532b47c4 bdash pr fixes 2016-01-04 18:13:09 -08:00
Ari Lazier c25d08eb34 store ObjectSchema as a pointer rather than a reference 2016-01-04 16:04:01 -08:00
Ari Lazier ebce831522 merge latest object store changes 2016-01-04 15:42:32 -08:00
Scott Kyle 0286dea7a4 Add methods to create snapshot of List and Results
The Results class was updated to match the style of List and include a flag (m_live) that determines if it should sync updates. If an object in the static Results is deleted, then it will return null.
2015-12-30 16:53:26 -08:00
Ari Lazier 143564d0b9 results should store const ObjectSchema 2015-12-17 17:32:51 -08:00
Scott Kyle 253a572ca7 Fix crash caused by accessing invalid ObjectSchema
These references would eventually become invalid. The quickest fix is for them to no longer be references. The longer-term fix might be to only store the object type and dynamically retrieve the ObjectSchema only when necessary.

Fixes #181
2015-12-16 13:04:53 -08:00
Thomas Goyne 5028c4a582 Fix some warnings when building with GCC 4.9 2015-12-03 09:11:28 -08:00
Thomas Goyne 853658b3fc Change #import to #include 2015-12-03 09:03:31 -08:00
Ari Lazier ee6c6eb30f size_t, no std::size_t 2015-11-19 07:07:33 -08:00
Ari Lazier 031fd00024 fix for rpc constants and other pr feedback 2015-11-18 17:55:30 -08:00
Ari Lazier e3c9ec8ee7 fixes to list.cpp/hpp based on object store pr feedback - use lowercase strings for property names 2015-11-18 14:36:46 -08:00
Ari Lazier 2e2beabc40 change the license before starting the beta 2015-10-27 14:15:21 -07:00
Ari Lazier ed193d8f5c make list members private 2015-10-26 13:32:29 -07:00
Ari Lazier 06260bc3f0 move List class to its own file 2015-10-13 14:44:31 -07:00