Commit Graph

1450 Commits

Author SHA1 Message Date
Scott Kyle 275334fa7e Remove definition of Realm.Types from browser shim
It's added in the top-level index.js file
2016-04-19 03:24:15 -07:00
Scott Kyle 541791fd85 Fix crash by properly protecting JSC values
The previous implementation was lazy and ended up unprotecting values due to the move constructor being defaulted.
2016-04-19 03:18:02 -07:00
Scott Kyle a05f7e2261 Fix some eslint errors 2016-04-19 01:38:46 -07:00
Scott Kyle 8ff23b5411 Fix build issues on Android
GCC was more strict with how we handled some types.
2016-04-18 18:30:55 -07:00
Scott Kyle 73cfca7d81 Fix for failing React Native test on iOS 2016-04-18 16:06:59 -07:00
Scott Kyle bc4bda876c Remove binding.gyp file for now 2016-04-18 15:44:23 -07:00
Scott Kyle fc49470b3c Fix for failing nested transaction test 2016-04-18 15:11:56 -07:00
Scott Kyle a0424c6600 Fix some styling of exception handling in JS wrappers 2016-04-18 15:11:36 -07:00
Scott Kyle 4731610a58 Merge branch 'master' into sk-node
* master:
  add keypath tests
  pr feedback, changelog
  typo
  bug fix
  tests
  support keypath comparisons for types that support it
  support for null queries
  don't require optional or link properties when creating objects
  [0.11.1] Bump version
  Update CHANGELOG with 0.11.1 fixes
  Update changelog script
  Remove changes_available implementation that asserts
  Get correct path to adb from Android Studio
  add some simple tests for Realm.write
  Update apps to use React Native 0.22
2016-04-18 14:19:06 -07:00
Scott Kyle 1ca5a43982 Revert TValue to ValueType, etc. 2016-04-18 12:18:13 -07:00
Scott Kyle 49e2b54151 Convert some more camelCase in js_realm.hpp 2016-04-18 12:17:45 -07:00
Scott Kyle 5c56a99403 Split up JS abstractions into type-specific files 2016-04-18 01:15:54 -07:00
Scott Kyle d57483c675 Rename js_object.hpp -> js_realm_object.hpp 2016-04-18 01:14:48 -07:00
Scott Kyle 10f08747e7 Rename remained camelCase to snake_case
And fix some minor build warnings along the way.
2016-04-18 01:01:04 -07:00
Scott Kyle 60a3cd4399 Remove unused js_schema.cpp 2016-04-17 22:33:18 -07:00
Scott Kyle a5bf9ed8dd Define most of jsc::ObjectWrap separately 2016-04-17 22:12:23 -07:00
Scott Kyle 5ed2c3cf25 Define most of node::ObjectWrap separately 2016-04-17 22:00:06 -07:00
Scott Kyle 7c97a1752e Remove need for BaseClassDefinition 2016-04-16 16:46:16 -07:00
Scott Kyle 999900ff00 Fix script that copies query-tests.json 2016-04-16 16:30:02 -07:00
Scott Kyle 2641e5a2a1 Move JSC object accessor code into header 2016-04-15 16:10:25 -07:00
Scott Kyle 133289ad85 All tests now pass on Node 2016-04-15 16:06:44 -07:00
Ari Lazier bd4088ce91 key templates off explicitly defined classes rather than the internal type 2016-04-15 13:47:01 -07:00
Ari Lazier 760126f0d7 public before private 2016-04-15 11:59:10 -07:00
Ari Lazier e8ca5ff92e ObjectClass -> ClassDefinition 2016-04-15 10:50:15 -07:00
Ari Lazier c817ac7eac create -> create_instance 2016-04-14 11:19:01 -07:00
Ari Lazier 84559316d8 compact property getter/setter types 2016-04-14 11:06:17 -07:00
Ari Lazier 0b2a75bdc3 use different naming convention for extracted template types 2016-04-14 10:54:43 -07:00
Scott Kyle c0c65ad620 Make all JSC tests pass again 2016-04-13 03:21:18 -07:00
Scott Kyle 05c432deb1 WIP Node support
The JS engine details are mostly abstracted away. This breaks JSC support until the rest of the pieces are in place. The Node version builds and runs, but crashes when creating a Realm object.
2016-04-12 11:53:30 -07:00
Ari Lazier e368bcaf79 Merge pull request #386 from realm/al-null-query
Support for querying against null for optionals
2016-04-12 11:17:04 -07:00
Ari Lazier 4aed9135b8 add keypath tests 2016-04-12 11:01:33 -07:00
Ari Lazier 1afa844aa4 pr feedback, changelog 2016-04-12 08:13:29 -07:00
Ari Lazier 9f4b9410a5 typo 2016-04-11 16:37:18 -07:00
Ari Lazier 321ddc39e1 bug fix 2016-04-11 16:03:36 -07:00
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