Commit Graph

3122 Commits

Author SHA1 Message Date
Steven Orvell
8eada87542 remove unneeded protection code for extends. 2015-08-26 12:19:56 -07:00
Scott J Miles
230528c8c9 add test for registered behavior affecting a value then used by features 2015-08-24 18:45:00 -07:00
Scott J Miles
9734a3aff4 add tests for new Polymer() argument support (and make Base tests aware of new abstract method _desugarBehaviors) 2015-08-24 18:38:41 -07:00
Scott J Miles
6224dc3006 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 2015-08-24 18:36:57 -07:00
Scott J Miles
61d611c083 do registered behaviors before invoking registerFeatures so registered can affect properties used by features (ref #2329) 2015-08-24 17:39:34 -07:00
Scott J Miles
a75133d319 specifically create Polymer object on window to satisfy strict mode (fixes #2363) 2015-08-24 17:37:35 -07:00
Peter Burns
5605634091 Merge pull request #2342 from Polymer/fix-2341
Fixes #2341: branch Polymer.dom to use native dom methods under Shado…
2015-08-22 00:16:23 -07:00
Steven Orvell
9b1f7069ee Fixes #2341: branch Polymer.dom to use native dom methods under Shadow DOM for: appendChild, insertBefore, removeChild, replaceChild, cloneNode. 2015-08-21 17:34:17 -07:00
Scott J Miles
b0733d3c07 use cached template annotations when possible 2015-08-21 15:06:05 -07:00
Scott J Miles
a0a3e0cf39 fix comment typos 2015-08-21 15:05:48 -07:00
Daniel Freedman
12fa8670f6 Update changelog with v1.1.1 release 2015-08-20 15:34:14 -07:00
Daniel Freedman
26e8250d18 prepare for v1.1.1 2015-08-20 15:31:28 -07:00
Daniel Freedman
51aa16ce4d Merge pull request #2330 from Polymer/update-changelog
Update Changelog
2015-08-20 15:16:03 -07:00
Frankie Fu
2f21519276 Merge pull request #2332 from Polymer/fix-2263
Fixes #2263: ensure custom-style can parse variable definitions in su…
2015-08-20 12:47:48 -07:00
Frankie Fu
aa3b9cc8f5 Merge pull request #2331 from Polymer/fix-2311,2323
Fixes #2311, #2323: when elements are removed from their previous pos…
2015-08-20 12:42:19 -07:00
Steven Orvell
894492b70e Fixes #2263: ensure custom-style can parse variable definitions in supported selectors (e.g. /deep/) without exception due to unknown css. 2015-08-20 12:35:23 -07:00
Steve Orvell
92038510cf Merge pull request #2303 from Polymer/array-selector
Add `selectedItem` property
2015-08-20 12:19:02 -07:00
Steven Orvell
3d931160db 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. 2015-08-20 12:13:42 -07:00
Daniel Freedman
039ef93776 Update Changelog
Add 1.0.7 to 1.1.0

Add script to update changelog

Fixes #2271
2015-08-20 11:47:26 -07:00
Emmanuel Garcia
d65acd0bc3 Add selectedItem property 2015-08-20 10:56:32 -07:00
Steve Orvell
0f8483da48 Merge pull request #2314 from Polymer/fix-dom-repeat
Use numeric sort when removing dom-repeat instances
2015-08-20 09:46:38 -07:00
Daniel Freedman
c967583d8e Add test for large splice 2015-08-19 14:04:28 -07:00
Daniel Freedman
fccbd8a333 Use numeric sort when removing dom-repeat instances
Fixes #2297
2015-08-19 11:48:25 -07:00
Frankie Fu
711039a6c8 Merge pull request #2308 from Polymer/fix-2267
Fixes #2267: properly find dom-module for mixed case elements
2015-08-18 18:50:58 -07:00
Steven Orvell
76c58b8083 Fixes #2267: properly find dom-module for mixed case elements 2015-08-18 18:41:54 -07:00
Frankie Fu
d25925bf69 Merge pull request #2306 from Polymer/fix-2304
Fixes #2304: avoid trying to read style data from imports that did no…
2015-08-18 18:23:15 -07:00
Frankie Fu
a455c2355f Merge pull request #2293 from Polymer/fix-2253,2283
Fixes #2253 and fixes #2283
2015-08-18 18:17:13 -07:00
Daniel Freedman
36b9fe034f Merge pull request #2286 from nazar-pc/fix-for-2264
Support for negative numbers in computed bindings
2015-08-18 17:20:31 -07:00
Steven Orvell
0d1f206f69 Fixes #2304: avoid trying to read style data from imports that did not load. 2015-08-18 16:00:09 -07:00
Steven Orvell
36072be9d7 Avoid saving logical info on parent when a content is added inside a fragment + slight factoring. 2015-08-18 15:20:42 -07:00
Steven Orvell
ee616271e5 Fixes #2276: avoid losing logical information and simplify logical tree handling 2015-08-18 12:10:42 -07:00
Nazar Mokrynskyi
1a87ab4c4f Moved check earlier.
Added test for negative literal.
2015-08-18 20:11:22 +02:00
Steven Orvell
6619f6ce4a 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.
2015-08-17 15:15:34 -07:00
Nazar Mokrynskyi
fc53f50c3e Support for negative numbers in computed bindings 2015-08-17 02:06:30 +02:00
Daniel Freedman
a42ca09c3b prepare for release v1.1.0 2015-08-13 16:55:29 -07:00
Kevin Schaaf
314f0d7ca0 Merge pull request #2269 from Polymer/fix-2251
Fixes #2251: resolve imported stylesheets against correct document.
2015-08-13 13:06:04 -07:00
Steve Orvell
104f98cf11 Merge pull request #2262 from Polymer/2261-kschaaf-collection-sort
Reduce keySplices to minimum change set before notifying. Fixes #2261
2015-08-13 13:00:38 -07:00
Kevin Schaaf
337b54a787 Add comment. 2015-08-13 12:06:41 -07:00
Kevin Schaaf
4bc055b943 Add tests for key splice fix. 2015-08-13 11:19:04 -07:00
Steven Orvell
68af666f97 Fixes #2251: resolve imported stylesheets against correct document. 2015-08-13 11:07:52 -07:00
Kevin Schaaf
f74d07245f Reduce keySplices to minimum change set before notifying. Fixes #2261 2015-08-12 15:19:10 -07:00
Kevin Schaaf
7497729478 Make clearSelection public. 2015-08-11 14:34:42 -07:00
Kevin Schaaf
5a482c6eee Merge pull request #2243 from Polymer/fix-2235
Fixes #2235. Manages logical information in shady distribution more d…
2015-08-10 18:50:16 -07:00
Steven Orvell
45cb1506a6 Add logical info iff an element being added is an insertion point; do not add logical info for any element in a shady root. 2015-08-10 18:34:22 -07:00
Kevin Schaaf
d55be7d803 Make clearSelection public. 2015-08-10 17:59:42 -07:00
Steven Orvell
21500fb53f Fixes #2235. Manages logical information in shady distribution more directly by capturing it explicitly when needed and not whenever distribution is run. 2015-08-10 16:40:58 -07:00
Kevin Schaaf
c4a9413902 Merge pull request #2198 from Polymer/style-sharing
Refines how element styles are marshaled for custom elements
2015-08-07 18:48:04 -07:00
Daniel Freedman
bf703cbb38 prepare for release 1.0.9 2015-08-07 17:47:36 -07:00
Kevin Schaaf
7a3b7abda4 Merge pull request #2228 from Polymer/fix-2218
Fix 2218
2015-08-07 17:42:21 -07:00
Steve Orvell
adbadbdfb5 Merge pull request #2221 from Polymer/2220-kschaaf-arrsel-throws
Make _itemsChanged depend on multi.
2015-08-07 17:28:24 -07:00