Commit Graph

1502 Commits

Author SHA1 Message Date
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 693df136d5 its a struct 2016-03-18 20:04:30 -07:00
Ari Lazier 67f2f40297 android fixes for latests object store 2016-03-18 19:58:45 -07:00
Ari Lazier 48199f6c08 share core version 2016-03-18 19:53:52 -07:00
Ari Lazier 9999120ba6 Use core 0.97.1 2016-03-18 17:44:02 -07:00
Ari Lazier b2e4d93732 support for indexed properties 2016-03-18 16:50:55 -07:00
Ari Lazier b02f64e727 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
Scott Kyle 900f0dbd80 Merge pull request #337 from realm/sk-doc-updates
Minor doc updates
2016-03-17 15:48:45 -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
Scott Kyle 92461f2598 Update API docs with encryptionKey 2016-03-17 15:14:56 -07:00
Scott Kyle 08d4340503 Make link to CONTRIBUTING.md absolute
Since this page is used on the API docs as well.
2016-03-17 15:14:56 -07:00
Scott Kyle d7d53c4d18 Merge pull request #336 from realm/sk-list-splice
List splice method now accepts single argument and is documented
2016-03-17 15:13:25 -07:00
Scott Kyle aa5529e059 Update List splice doc to be more clear about count 2016-03-17 15:12:18 -07:00
Scott Kyle f8de504ac6 Update CHANGELOG with splice method fix 2016-03-17 14:56:07 -07:00
Scott Kyle 9ba477762a Update splice tests to test added behavior 2016-03-17 14:53:42 -07:00
Scott Kyle 933326c410 Add List splice method to API docs
It was mysteriously missing!
2016-03-17 14:49:12 -07:00
Scott Kyle 301214dd39 Fix List splice method to be spec compatible
If the second argument is omitted, then all objects after the provided index should be removed. This is the same behavior as Array.prototype.splice.
2016-03-17 14:48:39 -07:00
Scott Kyle 7260d7c71c Merge pull request #334 from realm/al-ci
CI test improvements
2016-03-17 02:16:20 -07:00
Scott Kyle 480a9b1327 Update eslint dependencies
The release of 2.4.0 broke babel-eslint 5.x, so updated to the 6.x beta.
2016-03-17 02:04:20 -07:00
Scott Kyle f5039faf40 Update test script to npm install root modules 2016-03-16 17:49:20 -07:00
Ari Lazier f723c7b303 only test jsdocs release 2016-03-16 17:46:35 -07:00
Ari Lazier beefcd4835 test debug and release for object-store, don't try to reinstall cmake 2016-03-16 17:46:35 -07:00
Scott Kyle 5d872d6233 Remove accidentally included files in npm package
The 0.11.0-rc was bloated by lots of unnecessary build products and other miscellaneous files.
2016-03-16 16:48:04 -07:00
Scott Kyle 72675f6658 Run publish script tests in Debug and Release
Forgot the Release tests didn't cover Chrome debug mode.
2016-03-16 15:18:16 -07:00
Scott Kyle 395f241f72 Run publish script tests in Release mode
Realized it should have done this after publishing 0.11.0-rc
2016-03-16 13:44:08 -07:00
Scott Kyle cf3b0c5f15 [0.11.0-rc] Bump version 2016-03-16 13:33:59 -07:00
Scott Kyle 7d21e56471 Git ignore Android test XML output
Other rules were redundant
2016-03-16 13:33:59 -07:00
Scott Kyle e1e567a1d5 Clear watchman cache before each test 2016-03-16 13:30:19 -07:00
Scott Kyle 4d6adb9835 Support publishing prerelease version tags 2016-03-16 13:12:55 -07:00
Scott Kyle 924abe2092 New script to safely publish to npm 2016-03-16 13:01:38 -07:00
Scott Kyle 401b501aab Explicitly opt-in to building Android module
Fixes #277
2016-03-16 13:01:38 -07:00
Scott Kyle 27073a9e66 Properly configure ESLint for syntax checking
Added a test case to run on CI as well.
2016-03-16 13:01:38 -07:00
Scott Kyle 7fe4a65332 Update changelog 2016-03-16 12:54:39 -07:00
Scott Kyle 1e652d9f2a Merge pull request #292 from realm/sk-debug-on-device
Use device IP addresses to connect to RPC host
2016-03-16 12:51:24 -07:00
Scott Kyle d96c645415 Only lookup IP addresses when in Chrome debug mode 2016-03-16 09:31:41 -07:00
Scott Kyle 8d73a8e985 Simplify setting up Chrome debugging sessionHost 2016-03-16 09:28:18 -07:00
Scott Kyle cb3e168239 Merge pull request #327 from realm/sk-fix-jsc-hack
Fix ARM hook into JSGlobalContextCreateInGroup
2016-03-16 09:13:56 -07:00
Ari Lazier 850b03de56 changelog 2016-03-15 13:57:09 -07:00
Scott Kyle 7feadb27b2 Fix ARM hook into JSGlobalContextCreateInGroup
We were loading into the program counter, which is not good in THUMB mode, so we now instead load into R3, since it's a temp register not used by this function (it only takes two arguments). Also, when building this module in THUMB mode itself, we needed to clear the ARM instruction cache, which wasn't needed when switching from THUMB to ARM mode.
2016-03-15 13:57:09 -07:00
Ari Lazier b053947353 Merge pull request #330 from realm/nh/bug/x86_tests_failing
fixes #329
2016-03-15 13:37:10 -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 92f3314a0b fixes #329 2016-03-14 16:09:22 -07:00
Ari Lazier ac1a8f050e Merge pull request #324 from realm/al-missing-commit
Missing commit
2016-03-13 10:44:49 -07:00
Ari Lazier e459194bfd fix for reload in example 2016-03-13 10:09:53 -07:00
Ari Lazier 7e5e9c69b6 backfill changelog 2016-03-10 16:24:12 -08:00
Ari Lazier 4302f6fe85 changelog 2016-03-10 16:15:54 -08:00
Ari Lazier 5e3c4300c0 Merge pull request #312 from realm/al-download-core
Don't download/unpack core unnecessarily
2016-03-10 16:08:31 -08:00