From 6580b3b9fae7e743eae8226ac58238372587088f Mon Sep 17 00:00:00 2001 From: Steve Orvell Date: Tue, 16 Feb 2016 11:41:00 -0800 Subject: [PATCH 001/914] Initial commit --- README.md | 1 + 1 file changed, 1 insertion(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000000..6cd97c77aa --- /dev/null +++ b/README.md @@ -0,0 +1 @@ +# alacarte \ No newline at end of file From 1922932d44b2b4668a0661f297378068352a90aa Mon Sep 17 00:00:00 2001 From: Steven Orvell Date: Tue, 16 Feb 2016 11:43:39 -0800 Subject: [PATCH 002/914] First commit. --- .eslintignore | 4 + .eslintrc.json | 17 + .gitignore | 3 + .travis.yml | 25 + CHANGELOG.md | 3658 +++++++++++++++++++++++++++++ CONTRIBUTING.md | 154 ++ LICENSE.txt | 27 + PRIMER.md | 2289 ++++++++++++++++++ README.md | 186 +- bower.json | 29 + gen-changelog.sh | 24 + gulpfile.js | 134 ++ index.html | 25 + package.json | 39 + polymer.html | 17 + src/attributes/attributes.html | 262 +++ src/configure/configure.html | 229 ++ src/configure/ready.html | 174 ++ src/events/events.html | 127 + src/events/gestures.html | 726 ++++++ src/properties/accessors.html | 271 +++ src/properties/effectBuilder.html | 313 +++ src/properties/effects.html | 145 ++ src/properties/notify-path.html | 633 +++++ src/template/annotations.html | 391 +++ src/template/resolveUrl.html | 36 + src/template/template.html | 69 + src/utils/case-map.html | 38 + test/.eslintignore | 3 + test/.eslintrc.json | 10 + test/bind-smoke.html | 45 + test/runner.html | 29 + test/smoke/polymer.html | 41 + test/smoke/zero.html | 34 + wct.conf.json | 3 + 35 files changed, 10209 insertions(+), 1 deletion(-) create mode 100644 .eslintignore create mode 100644 .eslintrc.json create mode 100644 .gitignore create mode 100644 .travis.yml create mode 100644 CHANGELOG.md create mode 100644 CONTRIBUTING.md create mode 100644 LICENSE.txt create mode 100644 PRIMER.md create mode 100644 bower.json create mode 100755 gen-changelog.sh create mode 100644 gulpfile.js create mode 100644 index.html create mode 100644 package.json create mode 100644 polymer.html create mode 100644 src/attributes/attributes.html create mode 100644 src/configure/configure.html create mode 100644 src/configure/ready.html create mode 100644 src/events/events.html create mode 100644 src/events/gestures.html create mode 100644 src/properties/accessors.html create mode 100644 src/properties/effectBuilder.html create mode 100644 src/properties/effects.html create mode 100644 src/properties/notify-path.html create mode 100644 src/template/annotations.html create mode 100644 src/template/resolveUrl.html create mode 100644 src/template/template.html create mode 100644 src/utils/case-map.html create mode 100644 test/.eslintignore create mode 100644 test/.eslintrc.json create mode 100644 test/bind-smoke.html create mode 100644 test/runner.html create mode 100644 test/smoke/polymer.html create mode 100644 test/smoke/zero.html create mode 100644 wct.conf.json diff --git a/.eslintignore b/.eslintignore new file mode 100644 index 0000000000..15fd71546d --- /dev/null +++ b/.eslintignore @@ -0,0 +1,4 @@ +node_modules/* +bower_components/* +src/**/demo/* +src/**/experimental/* diff --git a/.eslintrc.json b/.eslintrc.json new file mode 100644 index 0000000000..94a41a6411 --- /dev/null +++ b/.eslintrc.json @@ -0,0 +1,17 @@ +{ + "extends": "eslint:recommended", + "rules": { + "no-console": 0 + }, + "env": { + "browser": true + }, + "plugins": [ + "html" + ], + "globals": { + "CustomElements": true, + "HTMLImports": true, + "Polymer": true + } +} diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000000..372e20a51b --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +bower_components +node_modules +dist diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000000..898ee44439 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,25 @@ +language: node_js +sudo: false +node_js: stable +addons: + firefox: latest + sauce_connect: true + apt: + sources: + - google-chrome + - ubuntu-toolchain-r-test + packages: + - google-chrome-stable + - g++-4.8 +before_script: +- npm install -g bower +- bower install +- gulp lint +script: +- xvfb-run wct +- "if [ \"${TRAVIS_PULL_REQUEST}\" = \"false\" ]; then wct -s 'default'; fi" +env: + global: + - secure: eFrp9xwSYG579rAR9/XyXYKh+UtIQJ1xS5q5PABu4ndYFckdJb8o3m7oXqRSikbiPWbCSd3Fkd6+ZKXlcQFdjJ+nx9gFitGthtH93qkvZCO3XhWEEBPj65igIo3hrRSOB6dIWyiZcnoH9IXLLQtKXY9uL1NCqCcyVHg1omPKr9w= + - secure: EAjjkzqZ8z+PEvdo2N2MiIjkqUYAjVkQABKyMw6N4hUa6YSNEW9PYyn4I0d9Rdvc25GwJ+oLQFdeQepioAkNfp6wYUj2IdMIfmmKa1aJWo5DWvOMDYp3ufRhIoiVi4ZVpLg9sTjw+078UhUQFWE44rwfUtHiIb2UbWe2/ueLOiM= + - CXX=g++-4.8 diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000000..c072f18ce8 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,3658 @@ +# Change Log + +##[v1.2.4](https://github.com/Polymer/polymer/tree/v1.2.4) (2016-01-27) +- Fixes #3337. When a doc fragment is added, only update the invalidation state of the insertion point list of the shadyRoot IFF it is not already invalid. This fixes an issue that was detected when an a doc fragment that did not include an insertion point was added after one that did but before distribution. ([commit](https://github.com/Polymer/polymer/commit/d26b003)) + +- fix build output with new vulcanize ([commit](https://github.com/Polymer/polymer/commit/c317711)) + +- Revert style properties change from fd5778470551f677c2aa5827398681abb1994a88 ([commit](https://github.com/Polymer/polymer/commit/0a0b580)) + +- Fix shadow dom test. ([commit](https://github.com/Polymer/polymer/commit/6b83911)) + +- Add shadow root support. (tests broken) ([commit](https://github.com/Polymer/polymer/commit/4b7da35)) + +- Ensure dom-if moved into doc fragment is torn down. Fixes #3324 ([commit](https://github.com/Polymer/polymer/commit/6c4f5d5)) + +- improve test. ([commit](https://github.com/Polymer/polymer/commit/d70c40a)) + +- Update comment. ([commit](https://github.com/Polymer/polymer/commit/aa14687)) + +- In addition to fragments, also handle non-distributed elements more completely. ([commit](https://github.com/Polymer/polymer/commit/fe2699e)) + +- Simplify fix for fragment children management. ([commit](https://github.com/Polymer/polymer/commit/713377e)) + +- Fix test under polypill. ([commit](https://github.com/Polymer/polymer/commit/25da63d)) + +- Ensure fragments added via Polymer.dom always have elements removed, even when distribution does not select those elements. ([commit](https://github.com/Polymer/polymer/commit/101eb3d)) + +- Fixes #3321. Only let dom-repeat insert elements in attached if it has been previously detached; correctly avoid re-adding children in document fragments to an element's logical linked list if they are already there. ([commit](https://github.com/Polymer/polymer/commit/9f2464d)) + +- Ugh ([commit](https://github.com/Polymer/polymer/commit/172d93c)) + +- Fixes #3308. Use an explicit undefined check to test if logical tree information exists. ([commit](https://github.com/Polymer/polymer/commit/9106398)) + +- add test ([commit](https://github.com/Polymer/polymer/commit/b1ea014)) + +- use class attribute in applyElementScopeSelector ([commit](https://github.com/Polymer/polymer/commit/07d8c06)) + +- Remove reference to _composedChildren ([commit](https://github.com/Polymer/polymer/commit/9f85acd)) + +- Fix typo in documentation for set() ([commit](https://github.com/Polymer/polymer/commit/aa47515)) + +- Fix typo in dom-tree-api ([commit](https://github.com/Polymer/polymer/commit/ae98a7c)) + +- Correct use of document.contains to document.documentElement.contains on IE. ([commit](https://github.com/Polymer/polymer/commit/0e74810)) + +- Ensure querySelector always returns `null` when a node is not found. Also optimize querySelector such that the matcher halts on the first result. ([commit](https://github.com/Polymer/polymer/commit/b9e5cce)) + +- Fixes #3295. Only cache a false-y result for an element's owner shady root iff the element is currently in the document. ([commit](https://github.com/Polymer/polymer/commit/6e16619)) + +- Use local references to wrapper functions; add test element tree to native shadow tests; reorder test elements. ([commit](https://github.com/Polymer/polymer/commit/47ee2ca)) + +- Remove leftover garbage line ([commit](https://github.com/Polymer/polymer/commit/d7567b7)) + +- Removes the case where activeElement could be in the light DOM of a ShadowRoot. ([commit](https://github.com/Polymer/polymer/commit/e848af8)) + +- DOM API implementation of `activeElement`. ([commit](https://github.com/Polymer/polymer/commit/2984576)) + +- Remove call to `wrap` in deepContains ([commit](https://github.com/Polymer/polymer/commit/4cbdef7)) + +- Fixes #3270. ([commit](https://github.com/Polymer/polymer/commit/7d0485b)) + +- Include more styling tests under ShadowDOM. Fix custom-style media query test to work under both shadow/shady. ([commit](https://github.com/Polymer/polymer/commit/33a24bb)) + +- Remove duplicate code related to dom traversal in Polymer.dom. ([commit](https://github.com/Polymer/polymer/commit/555252b)) + +- Fix parsing of minimized css output also for mixins ([commit](https://github.com/Polymer/polymer/commit/87d02e0)) + +- Set position to relative to make Safari to succeed top/bottom tests ([commit](https://github.com/Polymer/polymer/commit/94f505a)) + +- Fix parsing of minimized css output ([commit](https://github.com/Polymer/polymer/commit/f92f9ff)) + +- Fix for `Polymer.dom(...)._query()` method doesn't exist which causes `Polymer.updateStyles()` to fail ([commit](https://github.com/Polymer/polymer/commit/0eea7a6)) + +- Minor factoring of dom patching. ([commit](https://github.com/Polymer/polymer/commit/8c95014)) + +- use destination insertion points when calculating the path ([commit](https://github.com/Polymer/polymer/commit/3f8b6ee)) + +- Store all dom tree data in `__dom` private storage; implement composed patching via a linked list. ([commit](https://github.com/Polymer/polymer/commit/9a3bead)) + +- Modernize the build ([commit](https://github.com/Polymer/polymer/commit/2b69bb1)) + +- Add more globals to whitelist for safari ([commit](https://github.com/Polymer/polymer/commit/82b2443)) + +- Shady patching: patch element accessors in composed tree; fixes HTMLImports polyfill support. ([commit](https://github.com/Polymer/polymer/commit/d135fef)) + +- remove unused code; minor changes based on review. ([commit](https://github.com/Polymer/polymer/commit/c3fbd10)) + +- added polymer-mini and polymer-micro to main ([commit](https://github.com/Polymer/polymer/commit/da5d781)) + +- Updates the patch-don experiment to work with recent changes. ([commit](https://github.com/Polymer/polymer/commit/b9e6859)) + +- Fixes #3113 ([commit](https://github.com/Polymer/polymer/commit/fadd455)) + +- Polymer.dom: when adding a node, only remove the node from its existing location if it's not a fragment and has a parent. ([commit](https://github.com/Polymer/polymer/commit/9915627)) + +- Consistently use TreeApi.Composed api for composed dom manipulation; use TreeApi.Logical methods to get node leaves. Avoid making a Polymer.dom when TreeApi.Logical can provide the needed info. ([commit](https://github.com/Polymer/polymer/commit/5033fdb)) + +- Produce nicer error on malformed observer ([commit](https://github.com/Polymer/polymer/commit/0e248f5)) + +- Deduplicate setup and verifying in notify-path test suite ([commit](https://github.com/Polymer/polymer/commit/68707ad)) + +- more explicit tests for debouncer wait and no-wait behavior ([commit](https://github.com/Polymer/polymer/commit/8ef7bac)) + +- speed up microtask testing ([commit](https://github.com/Polymer/polymer/commit/9bef4c0)) + +- ensure isDebouncerActive returns a Boolean ([commit](https://github.com/Polymer/polymer/commit/3916493)) + +- add more debouncer tests ([commit](https://github.com/Polymer/polymer/commit/0206852)) + +- remove dead debounce test assertion ([commit](https://github.com/Polymer/polymer/commit/9b898c2)) + +- Factoring of distribution logic in both add and remove cases. ([commit](https://github.com/Polymer/polymer/commit/8272d5e)) + +- Minor typo in docs: call the debounce callback ([commit](https://github.com/Polymer/polymer/commit/02c5c79)) + +- Correct test to avoid using `firstElementChild` on a documentFragment since it is not universally supported. ([commit](https://github.com/Polymer/polymer/commit/dfa6a44)) + +- Remove all TODOs ([commit](https://github.com/Polymer/polymer/commit/6467ae1)) + +- Revert "Add .gitattributes to solve line endings cross-OS (merge after other PRs)" ([commit](https://github.com/Polymer/polymer/commit/b6b8293)) + +- Make renderedItemCount readOnly & add tests. ([commit](https://github.com/Polymer/polymer/commit/e39d5ba)) + +- Revert "Fix parsing of minimized css output" ([commit](https://github.com/Polymer/polymer/commit/d3145e8)) + +- Custom setProperty for bindings to hidden textNodes. Fixes #3157. ([commit](https://github.com/Polymer/polymer/commit/c6be10d)) + +- Ensure dom-if in host does not restamp when host detaches. Fixes #3125. ([commit](https://github.com/Polymer/polymer/commit/bb85e2b)) + +- Avoid making a copy of childNodes when a dom fragment is inserted in the logical tree. ([commit](https://github.com/Polymer/polymer/commit/dcbafbf)) + +- Slightly faster `findAnnotatedNodes` ([commit](https://github.com/Polymer/polymer/commit/43fc853)) + +- Add .gitattributes to solve line endings cross-OS ([commit](https://github.com/Polymer/polymer/commit/94c2bc2)) + +- Ensure literals are excluded from parent props. Fixes #3128. Fixes #3121. ([commit](https://github.com/Polymer/polymer/commit/526fa3c)) + +- Fix parsing of minimized css output ([commit](https://github.com/Polymer/polymer/commit/d458690)) + +- Disable chunked dom-repeat tests on IE due to CI rAF flakiness. ([commit](https://github.com/Polymer/polymer/commit/7fe5e2b)) + +- Add comment. ([commit](https://github.com/Polymer/polymer/commit/d8ecd45)) + +- Make Polymer.dom.flush reentrant-safe. Fixes #3115. ([commit](https://github.com/Polymer/polymer/commit/644105a)) + +- Fixes #3108. Moves `debounce` functionality from polymer-micro to polymer-mini. The functionality belongs at the mini tier and was never actually functional in micro. ([commit](https://github.com/Polymer/polymer/commit/3df4ef2)) + +- Clarify this is for IE. ([commit](https://github.com/Polymer/polymer/commit/63782fa)) + +- Patch rAF to setTimeout to reduce flakiness on CI. ([commit](https://github.com/Polymer/polymer/commit/35abadc)) + +- added missing semicolons, removed some unused variables ([commit](https://github.com/Polymer/polymer/commit/00ed797)) + +- ?Node ([commit](https://github.com/Polymer/polymer/commit/9385891)) + +- Remove closures holding element references after mouseup/touchend ([commit](https://github.com/Polymer/polymer/commit/811f766)) + +- set class attribute instead of using classname ([commit](https://github.com/Polymer/polymer/commit/690838a)) + +- Include wildcard character in identifier. Fixes #3084. ([commit](https://github.com/Polymer/polymer/commit/c36d6c1)) + +- Revert fromAbove in applyEffectValue. Add test. Fixes #3077. ([commit](https://github.com/Polymer/polymer/commit/156122c)) + +- loosen isLightDescendant's @param type to Node ([commit](https://github.com/Polymer/polymer/commit/c635797)) + +- Put beforeRegister in the behaviorProperties. ([commit](https://github.com/Polymer/polymer/commit/445b6cd)) + +- ES5 strict doesn't like function declarations inside inner blocks. ([commit](https://github.com/Polymer/polymer/commit/51d3fa6)) + +- Fixes #3065: Add dom-repeat.renderedItemCount property ([commit](https://github.com/Polymer/polymer/commit/b589f70)) + +- Minor factoring; ensure base properties set on instance. ([commit](https://github.com/Polymer/polymer/commit/da15ff0)) + +- Fix typos. ([commit](https://github.com/Polymer/polymer/commit/c12d3ed)) + +- Simplify more. ([commit](https://github.com/Polymer/polymer/commit/186e053)) + +- Improvements to regex. ([commit](https://github.com/Polymer/polymer/commit/a3d17d5)) + +- Give dom-repeat#_targetFrameTime a type ([commit](https://github.com/Polymer/polymer/commit/adad9ce)) + +- [skip ci] update travis config to firefox latest ([commit](https://github.com/Polymer/polymer/commit/608ce9f)) + +- Add a couple of tests. ([commit](https://github.com/Polymer/polymer/commit/108b7f9)) + +- Suppress warnings and expected errors in test suite ([commit](https://github.com/Polymer/polymer/commit/92d6fcb)) + +- Use linked-list for element tree traversal. Factor Polymer.DomApi into shadow/shady modules. ([commit](https://github.com/Polymer/polymer/commit/306cc81)) + +- Avoid throwing with invalid keys/paths. Fixes #3018. ([commit](https://github.com/Polymer/polymer/commit/5076ee0)) + +- Use stricter binding parsing for efficiency and correctness. Fixes #2705. ([commit](https://github.com/Polymer/polymer/commit/04cd184)) + +- Simpler travis config ([commit](https://github.com/Polymer/polymer/commit/68b457d)) + +- [ci skip] Update Changelog ([commit](https://github.com/Polymer/polymer/commit/7e7600a)) + +- Fix for incorrect CSS selectors specificity as reported in #2531 Fix for overriding mixin properties, fixes #1873 Added awareness from `@apply()` position among other rules so that it is preserved after CSS variables/mixing substitution. `Polymer.StyleUtil.clearStyleRules()` method removed as it is not used anywhere. Some unused variables removed. Typos, unused variables and unnecessary escaping in regexps corrected. Tests added. ([commit](https://github.com/Polymer/polymer/commit/fd57784)) + +- Fix for method parsing in computed binding ([commit](https://github.com/Polymer/polymer/commit/c2e43d3)) + +- Fix doc typo. ([commit](https://github.com/Polymer/polymer/commit/8886c2c)) + +- Filtering causes unexpected issues ([commit](https://github.com/Polymer/polymer/commit/df22564)) + +- Fix using value$ on input element ([commit](https://github.com/Polymer/polymer/commit/05a1e95)) + +- added missing semicolons, removed some unused variables ([commit](https://github.com/Polymer/polymer/commit/338574d)) + +##[v1.2.3](https://github.com/Polymer/polymer/tree/v1.2.3) (2015-11-16) +- Call decorate instead of bootstrap for template prepping ([commit](https://github.com/Polymer/polymer/commit/e2a2cfd)) + +- Fix global leak test. Necessary due to changes to test harness. ([commit](https://github.com/Polymer/polymer/commit/134766f)) + +- Defer property application only when a custom-style is first created. ([commit](https://github.com/Polymer/polymer/commit/4bf0e13)) + +- Update comment. ([commit](https://github.com/Polymer/polymer/commit/27e1dcd)) + +- Simplify custom-style property deferment. ([commit](https://github.com/Polymer/polymer/commit/a970493)) + +- [ci skip] update changelog ([commit](https://github.com/Polymer/polymer/commit/98acb3a)) + +- Fixes #2692. Ensures that custom-style properties are applied async but before next render so that all properties are defined before any are consumed by custom-styles. Also refines dom-module's early upgrade code so that it does not affect other elements (corrects for example, custom-styles upgrading before expected). ([commit](https://github.com/Polymer/polymer/commit/b829f2a)) + +- Remove undesired full-stop from outputs ([commit](https://github.com/Polymer/polymer/commit/68d5c55)) + +- Fix Formatting ([commit](https://github.com/Polymer/polymer/commit/724e1bc)) + +##[v1.2.2](https://github.com/Polymer/polymer/tree/v1.2.2) (2015-11-12) +- use local reference for wrap. ([commit](https://github.com/Polymer/polymer/commit/b15e5b9)) + +- Add Polymer.DomApi.wrap ([commit](https://github.com/Polymer/polymer/commit/6cf974a)) + +- For correctness, bind listeners must use a property's current value rather than its passed value. ([commit](https://github.com/Polymer/polymer/commit/aca404f)) + +- Explicitly making an element's `_template` falsy is now considered an allowable setting. This means the element stamps no content, doesn't collect any styles, and avoids looking up a dom-module. This helps address #2708 and the 5 elements Polymer registers that have no template have been set with `_template: null`. ([commit](https://github.com/Polymer/polymer/commit/b905a37)) + +- Make test work under native Shadow DOM. ([commit](https://github.com/Polymer/polymer/commit/4f9c2bd)) + +- In `_notifyListener`, only use `e.detail` if the event has a detail. This is necessary for `::eventName` compatibility where `eventName` is a native event like `change`. ([commit](https://github.com/Polymer/polymer/commit/3ece552)) + +- Fix TOC re: host event listeners. ([commit](https://github.com/Polymer/polymer/commit/ce32459)) + +- Fix compound bindings with braces in literals ([commit](https://github.com/Polymer/polymer/commit/561b28b)) + +- Re-enable listeners of the form 'a.b' (todo: make this more efficient). ([commit](https://github.com/Polymer/polymer/commit/139257b)) + +- Avoid stomping on property objects when mixing behaviors. ([commit](https://github.com/Polymer/polymer/commit/ec4d313)) + +- Update test to avoid template polypill issues. ([commit](https://github.com/Polymer/polymer/commit/fa96ff3)) + +- Ensure parent node exists when stamping. Fixes #2685. ([commit](https://github.com/Polymer/polymer/commit/62f2d2a)) + +- Add global leak test to runner. ([commit](https://github.com/Polymer/polymer/commit/dc2255c)) + +- Add global leak test. ([commit](https://github.com/Polymer/polymer/commit/7f71b4c)) + +- Fix typo that prevented correct functioning of Polymer.dom under Shadow DOM and add tests to catch. ([commit](https://github.com/Polymer/polymer/commit/cdc9fde)) + +- maintain compatibility with older `_notifyChange` arguments. ([commit](https://github.com/Polymer/polymer/commit/f5aec30)) + +- Weird assignment fix ([commit](https://github.com/Polymer/polymer/commit/9e6f77a)) + +- add comment. ([commit](https://github.com/Polymer/polymer/commit/f2d5f44)) + +- For efficiency, use cached events in data system, for property and path changes. ([commit](https://github.com/Polymer/polymer/commit/da71dfe)) + +- Fixes #2690 ([commit](https://github.com/Polymer/polymer/commit/d8b78d4)) + +- change after render method to `Polymer.RenderStatus.afterNextRender` ([commit](https://github.com/Polymer/polymer/commit/8949c04)) + +- When effect values are applied via bindings, use fromAbove gambit to avoid unnecessary wheel spinning. (This is now possible since we have fast lookup for readOnly where we want to avoid doing the set at all). ([commit](https://github.com/Polymer/polymer/commit/c520907)) + +- do readOnly check for configured properties where they are handed down, rather than when they are consumed. ([commit](https://github.com/Polymer/polymer/commit/24bcedb)) + +- Minor cleanup. ([commit](https://github.com/Polymer/polymer/commit/0b21506)) + +- Avoid creating unnecessary placeholders for full refresh. ([commit](https://github.com/Polymer/polymer/commit/996289a)) + +- Simplify ([commit](https://github.com/Polymer/polymer/commit/c5e1135)) + +- Fix typo. ([commit](https://github.com/Polymer/polymer/commit/680c56d)) + +- Update docs. ([commit](https://github.com/Polymer/polymer/commit/352ccbe)) + +- _removeInstance -> _detachAndRemoveInstance ([commit](https://github.com/Polymer/polymer/commit/ba7a16f)) + +- Remove limit & chunkCount API. Refactor insert/remove. ([commit](https://github.com/Polymer/polymer/commit/f447c0e)) + +- add back deepContains (got removed incorrectly in merge). ([commit](https://github.com/Polymer/polymer/commit/d53ab57)) + +- fix line endings. ([commit](https://github.com/Polymer/polymer/commit/0233d6d)) + +- revert host attributes ordering change optimization as it was not worth the trouble (barely measurable and more cumbersome impl). ([commit](https://github.com/Polymer/polymer/commit/f9894a0)) + +- rename host functions fix typos afterFirstRender is now raf+setTimeout dom-repeat: remove cruft ([commit](https://github.com/Polymer/polymer/commit/d82840b)) + +- Fix Gestures when using SD polyfill ([commit](https://github.com/Polymer/polymer/commit/96e4bfa)) + +- Fix for multiple consequent spaces present in CSS selectors, fixes #2670 ([commit](https://github.com/Polymer/polymer/commit/ecddb56)) + +- avoid configuration work when unnecessary ([commit](https://github.com/Polymer/polymer/commit/e0fbfbe)) + +- lazily create effect objects so we can more easily abort processing. avoid forEach ([commit](https://github.com/Polymer/polymer/commit/66df196)) + +- provides support for memoizing pathFn on effect; only process effects/listeners if they exist. ([commit](https://github.com/Polymer/polymer/commit/a2376b6)) + +- memoize pathFn on effect (note: notifyPath change made in previous commit); avoid forEach. ([commit](https://github.com/Polymer/polymer/commit/d93340a)) + +- Avoid using .slice and .forEach ([commit](https://github.com/Polymer/polymer/commit/d2c02a9)) + +- Added support for short unicode escape sequences, fixes #2650 ([commit](https://github.com/Polymer/polymer/commit/2c87145)) + +- Fix for BEM-like CSS selectors under media queries, fixes #2639. Small optimization for produced CSS (empty rules produced semicolon before, now empty string). ([commit](https://github.com/Polymer/polymer/commit/35c89f1)) + +- Fix parsing of custom properties with 'var' in value ([commit](https://github.com/Polymer/polymer/commit/61abfbd)) + +- Clean up cruft. ([commit](https://github.com/Polymer/polymer/commit/59c27fa)) + +- Add tests and fix issues. ([commit](https://github.com/Polymer/polymer/commit/e99e5fa)) + +- dom-repeat chunked/throttled render API ([commit](https://github.com/Polymer/polymer/commit/e9aebd7)) + +- Fix formatting. ([commit](https://github.com/Polymer/polymer/commit/56734a7)) + +- Add notes on running unit tests. ([commit](https://github.com/Polymer/polymer/commit/492f310)) + +- Corrected method name. Fixes #2649. ([commit](https://github.com/Polymer/polymer/commit/5168604)) + +- Fix typos in more efficient array copying. ([commit](https://github.com/Polymer/polymer/commit/53f3a7d)) + +- Adds `Polymer.RenderStatus.afterFirstRender` method. Call to perform tasks after an element first renders. ([commit](https://github.com/Polymer/polymer/commit/71b5c2a)) + +- More efficient array management in Polymer.DomApi. ([commit](https://github.com/Polymer/polymer/commit/320d5c7)) + +- Fixes #2652 ([commit](https://github.com/Polymer/polymer/commit/e35c4e9)) + +- [ci skip] update changelog ([commit](https://github.com/Polymer/polymer/commit/0dc69df)) + +- Fix whitespace around bindings. ([commit](https://github.com/Polymer/polymer/commit/d7d0ed6)) + +- Add support for `strip-whitespace`. Should fix #2511. ([commit](https://github.com/Polymer/polymer/commit/35a1b94)) + +- Improve efficiency of attribute configuration. ([commit](https://github.com/Polymer/polymer/commit/f7d86e9)) + +- Remove use of Function.bind ([commit](https://github.com/Polymer/polymer/commit/25aab8b)) + +- fix typos. ([commit](https://github.com/Polymer/polymer/commit/5fb20da)) + +- Re-use data change events. Remove unused/undocumented listener object specific node listening feature. ([commit](https://github.com/Polymer/polymer/commit/8bdedf3)) + +- Add flattened properties to dom-bind, templatizer, optimize by 'liming properties that are protected/private and not readOnly from list. ([commit](https://github.com/Polymer/polymer/commit/2ba08ec)) + +- Use flattened list of properties for fast access during configuration and attribute->property ([commit](https://github.com/Polymer/polymer/commit/acdd242)) + +- Assemble effect strings at prototype time. ([commit](https://github.com/Polymer/polymer/commit/4745e8f)) + +- Fallback to string lookup to fix support for extra effects. ([commit](https://github.com/Polymer/polymer/commit/d3c4611)) + +- Fix typo. ([commit](https://github.com/Polymer/polymer/commit/ead9adb)) + +- Correct NodeList copying. ([commit](https://github.com/Polymer/polymer/commit/1d29e19)) + +- Avoid Polymer.dom.setAttribute when unneeded. ([commit](https://github.com/Polymer/polymer/commit/9c5a404)) + +- More efficient iteration. ([commit](https://github.com/Polymer/polymer/commit/23a9a06)) + +- Avoid forEach ([commit](https://github.com/Polymer/polymer/commit/ebeaf80)) + +- Copy dom NodeList faster than slice. ([commit](https://github.com/Polymer/polymer/commit/8cad475)) + +- Avoid function lookup by string. ([commit](https://github.com/Polymer/polymer/commit/e2674bc)) + +- Add test for parsing multi-line css comments ([commit](https://github.com/Polymer/polymer/commit/6f21ae6)) + +##[v1.2.1](https://github.com/Polymer/polymer/tree/v1.2.1) (2015-10-29) +- Fix test for SD polyfill ([commit](https://github.com/Polymer/polymer/commit/dd8b3e9)) + +- Add pre-condition check for completeness. ([commit](https://github.com/Polymer/polymer/commit/89304dc)) + +- Find non distributed children with deepContains ([commit](https://github.com/Polymer/polymer/commit/8e6f55a)) + +- Ensure outer paths aren't forwarded to instance props. Fixes #2556. ([commit](https://github.com/Polymer/polymer/commit/01273e9)) + +- Add `Polymer.dom.deepContains` ([commit](https://github.com/Polymer/polymer/commit/279bf63)) + +- [ci skip] Update CHANGELOG ([commit](https://github.com/Polymer/polymer/commit/e1f83d2)) + +- isLightDescendant should return false for self ([commit](https://github.com/Polymer/polymer/commit/a0debf4)) + +- Fix for mixins declaration with space before colon. Allow any space character or even `{` and `}` (before and after capturing pattern correspondingly) as pattern boundaries instead of new lines only. In minified sources there might be no space, semicolon or line start, so we need to account that as well. ([commit](https://github.com/Polymer/polymer/commit/883aa5c)) + +##[v1.2.0](https://github.com/Polymer/polymer/tree/v1.2.0) (2015-10-22) +- A simpler travis config ([commit](https://github.com/Polymer/polymer/commit/3338b67)) + +- Fix #2587: When Polymer.dom(el).appendChild(node) is called, cleanup work must be performed on the existing parent of node. This change fixes a missing case in this cleanup work: if the existing parent has a observer via `Polymer.dom(parent).observeNodes`, it needs to be notified that node is being removed even if the node does not have specific logical info. For example, if an observed node has no Shady DOM and has a child that is removed. A test for this case was added. ([commit](https://github.com/Polymer/polymer/commit/0d4f418)) + +- add fancy travis status badge to the readme ([commit](https://github.com/Polymer/polymer/commit/e29fca8)) + +- Do not configure compound property/attribute binding if literal if empty. Fixes #2583. ([commit](https://github.com/Polymer/polymer/commit/ca4724a)) + +- Update .travis.yml ([commit](https://github.com/Polymer/polymer/commit/ef366c5)) + +- Remove web-component-tester cache. ([commit](https://github.com/Polymer/polymer/commit/4ae23ce)) + +- Fix IE10 regressions. Fixes #2582 * Copy attribute list before modifying it * Fall back to document for current document if no currentScript ([commit](https://github.com/Polymer/polymer/commit/ee65e68)) + +- Allow _atEndOfMicrotask to be patchable. ([commit](https://github.com/Polymer/polymer/commit/e2d8446)) + +- contributing copy fixup ([commit](https://github.com/Polymer/polymer/commit/ed22c50)) + +- Update CONTRIBUTING.md ([commit](https://github.com/Polymer/polymer/commit/0c21efc)) + +- Add travis config ([commit](https://github.com/Polymer/polymer/commit/6fb7684)) + +- Factor into functions. ([commit](https://github.com/Polymer/polymer/commit/b2117dc)) + +- Fix deepEqual on Safari 9 due to Safari enumeration bug. ([commit](https://github.com/Polymer/polymer/commit/445d603)) + +- ensure distribution observers see all changes that can come from attributes under native Shadow DOM; +minor factoring ([commit](https://github.com/Polymer/polymer/commit/344f5cc)) + +- Add .getDistributedNodes observation. Refactor flush. ([commit](https://github.com/Polymer/polymer/commit/8b1face)) + +- Add docs ([commit](https://github.com/Polymer/polymer/commit/0ede79a)) + +- Make shadow attribute tracking automatic based on detecting a that depends on attributes; add tests. ([commit](https://github.com/Polymer/polymer/commit/54911a7)) + +- Add comments. ([commit](https://github.com/Polymer/polymer/commit/758c483)) + +- Fix typo. ([commit](https://github.com/Polymer/polymer/commit/74a87a0)) + +- Replace _compoundInitializationEffect with statically-initialized literals in the template for attributes & textContent, and by configuring literal values of properties in _configureAnnotationReferences. ([commit](https://github.com/Polymer/polymer/commit/2f1bd31)) + +- Simplify change tracking by always dirty checking at the observer level. Under Shadow DOM, use a deep MO to watch for attributes. ([commit](https://github.com/Polymer/polymer/commit/669acaa)) + +- Fix URL to component.kitchen ([commit](https://github.com/Polymer/polymer/commit/d9af504)) + +- Update the Google+ community link ([commit](https://github.com/Polymer/polymer/commit/c6684e5)) + +- Fixes from review. ([commit](https://github.com/Polymer/polymer/commit/a300862)) + +- Remove compound binding limitation from primer. ([commit](https://github.com/Polymer/polymer/commit/b1c1b35)) + +- Exclude compound bindings from configure; revisit later. ([commit](https://github.com/Polymer/polymer/commit/1035e2d)) + +- Apply effect value from compound parts. ([commit](https://github.com/Polymer/polymer/commit/c30ac10)) + +- Store binding parts in notes. ([commit](https://github.com/Polymer/polymer/commit/1026498)) + +- Fix missing var ([commit](https://github.com/Polymer/polymer/commit/68edb83)) + +- Add radix for correctness. ([commit](https://github.com/Polymer/polymer/commit/a79f012)) + +- Separate public & private get, flip conditions, add notifyPath API. ([commit](https://github.com/Polymer/polymer/commit/97503ec)) + +- Fix typo in comments. ([commit](https://github.com/Polymer/polymer/commit/e59dbef)) + +- Improvements to path API. Fixes #2509. * Allows `set` to take paths with array #keys * Allows `notifyPath` to take paths with array indices * Exposes public notifySplices API ([commit](https://github.com/Polymer/polymer/commit/10021cc)) + +- Fix merge issue. ([commit](https://github.com/Polymer/polymer/commit/85c23e1)) + +- Denote keys with # to disambiguate from index. Fixes #2007. ([commit](https://github.com/Polymer/polymer/commit/85d8a3a)) + +- update CHANGELOG to 1.1.5 ([commit](https://github.com/Polymer/polymer/commit/b2b23c4)) + +- make tests work on polyfill. ([commit](https://github.com/Polymer/polymer/commit/9ff2ee4)) + +- add `observeNodes` tests. ([commit](https://github.com/Polymer/polymer/commit/bd90b57)) + +- Add optional attribute tracking to support better distributed node notifications under shadow dom. ([commit](https://github.com/Polymer/polymer/commit/8242a98)) + +- Add `Polymer.dom().notifyObservers` method to 'kick' observers, for example, when attributes change under Shadow DOM. ([commit](https://github.com/Polymer/polymer/commit/07261e4)) + +- Add mutation tracking for distributedNodes. ([commit](https://github.com/Polymer/polymer/commit/b11f86b)) + +- Factor dom-api's into separate helpers. ([commit](https://github.com/Polymer/polymer/commit/effedcb)) + +- Adds `Polymer.dom(element).observeChildren(callback)` api ([commit](https://github.com/Polymer/polymer/commit/6499e83)) + +- Adds `getEffectiveChildNodes`, `getEffectiveChildren`, `getEffectiveTextContent` ([commit](https://github.com/Polymer/polymer/commit/f34fb45)) + +##[v1.1.5](https://github.com/Polymer/polymer/tree/v1.1.5) (2015-10-08) +- Simplify ([commit](https://github.com/Polymer/polymer/commit/79dfe1f)) + +- Clean up templatizer _pathEffectorImpl. ([commit](https://github.com/Polymer/polymer/commit/1a89bcf)) + +- Add issue link. ([commit](https://github.com/Polymer/polymer/commit/e4c2433)) + +- Missing var keyword ([commit](https://github.com/Polymer/polymer/commit/45fcbcf)) + +- Make sure we only actually call _listen once ([commit](https://github.com/Polymer/polymer/commit/837e9b8)) + +- Add templatizer tests. Fix issues from tests. ([commit](https://github.com/Polymer/polymer/commit/2d97cd7)) + +- Use 'value' in place of 'object' when referring to detail. ([commit](https://github.com/Polymer/polymer/commit/f17be35)) + +- Allow any type, not just objects, as the detail for fire. ([commit](https://github.com/Polymer/polymer/commit/ec59f57)) + +- Make model param of stamp method optional. ([commit](https://github.com/Polymer/polymer/commit/a2e1e64)) + +- add test to ensure unlisten events do not fire ([commit](https://github.com/Polymer/polymer/commit/bf2f694)) + +- add tests ([commit](https://github.com/Polymer/polymer/commit/900d82b)) + +- Only one real listener per `listen` call ([commit](https://github.com/Polymer/polymer/commit/8bd380a)) + +- add util method for shadow children ([commit](https://github.com/Polymer/polymer/commit/1e9110a)) + +- Add notify-path API to templatized template. Fixes #2505. ([commit](https://github.com/Polymer/polymer/commit/2e086fe)) + +- Parent property values should come from template. Fixes #2504. ([commit](https://github.com/Polymer/polymer/commit/23c883b)) + +- Added note about including a clear repro case. ([commit](https://github.com/Polymer/polymer/commit/e18f009)) + +- added request to submit an issue before sending a PR ([commit](https://github.com/Polymer/polymer/commit/6ed836f)) + +- update CHANGELOG to 1.1.4 ([commit](https://github.com/Polymer/polymer/commit/c2b7c31)) + +##[v1.1.4](https://github.com/Polymer/polymer/tree/v1.1.4) (2015-09-25) +- :memo: Update description ([commit](https://github.com/Polymer/polymer/commit/6afb8be)) + +- :art: Use npm command bin lookup ([commit](https://github.com/Polymer/polymer/commit/84258d4)) + +- :grapes: Add missing test dependency ([commit](https://github.com/Polymer/polymer/commit/5726b8e)) + +- Reset handlers queue after finished replaying events ([commit](https://github.com/Polymer/polymer/commit/76a5f17)) + +- Update the README.md to Polymer 1.1 ([commit](https://github.com/Polymer/polymer/commit/40c455a)) + +- Add note on arrayDelete with array vs. path ([commit](https://github.com/Polymer/polymer/commit/d2b71a5)) + +- Add unlinkPath tests. ([commit](https://github.com/Polymer/polymer/commit/bee110b)) + +- Update changelog ([commit](https://github.com/Polymer/polymer/commit/573ca29)) + +- Remove dead code; add tests. ([commit](https://github.com/Polymer/polymer/commit/ab85884)) + +- Allow multiple paths to be linked using linkPath. Fixes #2048 ([commit](https://github.com/Polymer/polymer/commit/b221dbe)) + +- Fix docs for stamp method ([commit](https://github.com/Polymer/polymer/commit/8adbe60)) + +- http to https for jsbin ([commit](https://github.com/Polymer/polymer/commit/d842435)) + +- Typo ([commit](https://github.com/Polymer/polymer/commit/d558c0d)) + +- Fix typos in PRIMER.md ([commit](https://github.com/Polymer/polymer/commit/cf793f4)) + +##[v1.1.3](https://github.com/Polymer/polymer/tree/v1.1.3) (2015-09-04) +- Fixes #2403 ([commit](https://github.com/Polymer/polymer/commit/a6694b7)) + +- Only try to decrement gesture dependency counter if dependency exists ([commit](https://github.com/Polymer/polymer/commit/8886e8c)) + +- update changelog with v1.1.2 ([commit](https://github.com/Polymer/polymer/commit/d3a7c93)) + +- prepare v1.1.2 ([commit](https://github.com/Polymer/polymer/commit/e78be4f)) + +##[v1.1.2](https://github.com/Polymer/polymer/tree/v1.1.2) (2015-08-28) +- Improve composed parent tracking. ([commit](https://github.com/Polymer/polymer/commit/4d15789)) + +- move the mixing-in of behaviors so that it happens before `register` behaviors are invoked ([commit](https://github.com/Polymer/polymer/commit/637367c)) + +- Fixes #2378 ([commit](https://github.com/Polymer/polymer/commit/a9f081b)) + +- Fixes #2356: issue a warning and don't throw an exception when a style include cannot be found. Fixes #2357: include data now comes before any textContent in a style element. ([commit](https://github.com/Polymer/polymer/commit/a16ada1)) + +- remove unneeded protection code for extends. ([commit](https://github.com/Polymer/polymer/commit/8eada87)) + +- Add test ([commit](https://github.com/Polymer/polymer/commit/47ff0e8)) + +- add test for `registered` behavior affecting a value then used by features ([commit](https://github.com/Polymer/polymer/commit/230528c)) + +- add tests for new Polymer() argument support (and make Base tests aware of new abstract method `_desugarBehaviors`) ([commit](https://github.com/Polymer/polymer/commit/9734a3a)) + +- invoke `registration` behavior before registering features, so behaviors can alter features, this requires calling behavior flattening as part of prototype desugaring instead of as part of behavior prep, so the flattened list is available early ([commit](https://github.com/Polymer/polymer/commit/6224dc3)) + +- do `registered` behaviors before invoking `registerFeatures` so `registered` can affect properties used by features (ref #2329) ([commit](https://github.com/Polymer/polymer/commit/61d611c)) + +- specifically create `Polymer` object on `window` to satisfy strict mode (fixes #2363) ([commit](https://github.com/Polymer/polymer/commit/a75133d)) + +- Remove forceUpgraded check in dom-module.import ([commit](https://github.com/Polymer/polymer/commit/b85b641)) + +- Fixes #2341: branch Polymer.dom to use native dom methods under Shadow DOM for: appendChild, insertBefore, removeChild, replaceChild, cloneNode. ([commit](https://github.com/Polymer/polymer/commit/9b1f706)) + +- Fixes #2334: when composing nodes in shady dom, check if a node is where we expect it to be before removing it from its distributed position. We do this because the node may have been moved by Polymer.dom in a way that triggered distribution of its previous location. The node is already where it needs to be so removing it from its parent when it's no longer distributed is destructive. ([commit](https://github.com/Polymer/polymer/commit/4ea69c2)) + +- use cached template annotations when possible ([commit](https://github.com/Polymer/polymer/commit/b0733d3)) + +- fix comment typos ([commit](https://github.com/Polymer/polymer/commit/a0a3e0c)) + +- Update changelog with v1.1.1 release ([commit](https://github.com/Polymer/polymer/commit/12fa867)) + +##[v1.1.1](https://github.com/Polymer/polymer/tree/v1.1.1) (2015-08-20) +- Fixes #2263: ensure custom-style can parse variable definitions in supported selectors (e.g. /deep/) without exception due to unknown css. ([commit](https://github.com/Polymer/polymer/commit/894492b)) + +- Fixes #2311, #2323: when elements are removed from their previous position when they are added elsewhere, make sure to remove them from composed, not logical parent. ([commit](https://github.com/Polymer/polymer/commit/3d93116)) + +- Update Changelog ([commit](https://github.com/Polymer/polymer/commit/039ef93)) + +- Add selectedItem property ([commit](https://github.com/Polymer/polymer/commit/d65acd0)) + +- Add test for large splice ([commit](https://github.com/Polymer/polymer/commit/c967583)) + +- Use numeric sort when removing dom-repeat instances ([commit](https://github.com/Polymer/polymer/commit/fccbd8a)) + +- Fixes #2267: properly find dom-module for mixed case elements ([commit](https://github.com/Polymer/polymer/commit/76c58b8)) + +- Fixes #2304: avoid trying to read style data from imports that did not load. ([commit](https://github.com/Polymer/polymer/commit/0d1f206)) + +- Avoid saving logical info on parent when a content is added inside a fragment + slight factoring. ([commit](https://github.com/Polymer/polymer/commit/36072be)) + +- Fixes #2276: avoid losing logical information and simplify logical tree handling ([commit](https://github.com/Polymer/polymer/commit/ee61627)) + +- Moved check earlier. Added test for negative literal. ([commit](https://github.com/Polymer/polymer/commit/1a87ab4)) + +- Fixes #2253: refine logical tree check and populate parents of insertion points with logical info only if necessary. Fixes #2283: when a node is removed, we need to potentially distribute not only its host but also its parent. ([commit](https://github.com/Polymer/polymer/commit/6619f6c)) + +- Support for negative numbers in computed bindings ([commit](https://github.com/Polymer/polymer/commit/fc53f50)) + +##[v1.1.0](https://github.com/Polymer/polymer/tree/v1.1.0) (2015-08-13) +- Add comment. ([commit](https://github.com/Polymer/polymer/commit/337b54a)) + +- Add tests for key splice fix. ([commit](https://github.com/Polymer/polymer/commit/4bc055b)) + +- Fixes #2251: resolve imported stylesheets against correct document. ([commit](https://github.com/Polymer/polymer/commit/68af666)) + +- Reduce keySplices to minimum change set before notifying. Fixes #2261 ([commit](https://github.com/Polymer/polymer/commit/f74d072)) + +- Make `clearSelection` public. ([commit](https://github.com/Polymer/polymer/commit/7497729)) + +- Add logical info iff an element being added is an insertion point; do not add logical info for any element in a shady root. ([commit](https://github.com/Polymer/polymer/commit/45cb150)) + +- Make `clearSelection` public. ([commit](https://github.com/Polymer/polymer/commit/d55be7d)) + +- Fixes #2235. Manages logical information in shady distribution more directly by capturing it explicitly when needed and not whenever distribution is run. ([commit](https://github.com/Polymer/polymer/commit/21500fb)) + +- ensure path fixup is applied correctly to styles in templates. ([commit](https://github.com/Polymer/polymer/commit/b22f3cd)) + +- Based on feedback, change `module` to `include` in custom-style and dom-module style marshaling. ([commit](https://github.com/Polymer/polymer/commit/f469129)) + +- Document custom-style module property. ([commit](https://github.com/Polymer/polymer/commit/398d9f7)) + +- Add comment. ([commit](https://github.com/Polymer/polymer/commit/4e640c7)) + +- Add tests and require `module` to be on `style` elements. ([commit](https://github.com/Polymer/polymer/commit/58d3c3b)) + +- `custom-style` supports `module` property that accepts a `dom-module` containing style data. `don-module` style data may be specified inside `