Victor Berchet
1f35048d54
feat(TemplateParser): allow template elements regardless the namespace
...
Closes #5703
2015-12-08 17:46:14 +00:00
Victor Berchet
eb0ea931d0
fix(HtmlParser): ignore LF immediately following pre, textarea & listing
...
fixes #5630
Closes #5688
2015-12-08 02:39:17 +00:00
Victor Berchet
47f1d12731
fix(HtmlLexer): tag name must follow "<" without space
...
see http://www.w3.org/TR/html5/syntax.html#tag-open-state
2015-12-08 02:39:17 +00:00
Victor Berchet
aecf68117a
feat(HtmlLexer): allow "<" in text tokens
...
fixes #5550
2015-12-08 02:39:17 +00:00
Victor Berchet
3a438615c3
fix(HtmlParser): Do not add parent element for template children
...
fixes #5638
2015-12-08 02:39:17 +00:00
Victor Berchet
9850e68703
fix(HtmlLexer): handle CR in input stream per HTML spec
...
fixes #5618
Closes #5629
2015-12-08 02:18:20 +00:00
Tero Parviainen
daaa8ee1cd
fix(compiler): support properties on SVG elements
...
Have DomElementSchemaRegistry support namespaced elements,
so that it does not fail when directives are applied in SVG (or xlink).
Without this fix, directives or property bindings cannot be
used in SVG.
Related to #5547
Closes #5653
2015-12-08 02:18:07 +00:00
Pawel Kozlowski
50490b55eb
fix(HtmlParser): mark <source> elements as void
...
Fixes #5663
Closes #5668
2015-12-08 02:15:15 +00:00
Victor Berchet
d388c0ae62
feat(HtmlParser): enforce only void & foreign elts can be self closed
...
BREAKING CHANGE:
`<whatever />` used to be expanded to `<whatever></whatever>`.
The parser now follows the HTML5 spec more closely.
Only void and foreign elements can be self closed.
Closes #5591
2015-12-04 20:05:27 +00:00
Victor Berchet
56604468e0
feat(HtmlParser): enforce no end tag for void elements
...
BREAKING CHANGE
End tags used to be tolerated for void elements with no content.
They are no more allowed so that we more closely follow the HTML5 spec.
2015-12-04 20:05:27 +00:00
vsavkin
4ea5b6e57f
feat(router): implement router link DSL
...
Closes #5557
Closes #5562
2015-12-04 00:47:20 +00:00
Victor Berchet
e67e1952d0
fix(HtmlParser): ng-content is not a void element
...
fixes #5563
Closes #5586
2015-12-03 23:42:46 +00:00
Victor Berchet
d90a2269f9
feat(HtmlParser): add most common named character references
...
fixes #5546
Closes #5579
2015-12-03 19:28:50 +00:00
Victor Berchet
62c2ed7c43
feat(HtmlParser): better error message when a void tag has content
2015-12-02 14:17:41 -08:00
Victor Berchet
9c6b929c7b
fix(HtmlParser): close void elements on all node types
...
fixes #5528
2015-12-02 14:17:41 -08:00
Victor Berchet
c58e7e0e91
fix(HtmlParser): do not add a tbody parent for tr inside thead & tfoot
...
fixes #5403
2015-12-02 11:43:51 -08:00
vsavkin
87ddc8fb6a
fix(compiler): dedup directives in template compiler
...
Closes #5311
Closes #5464
2015-11-30 19:37:54 +00:00
Yegor Jbanov
b4de41b74e
chore(parser): cleanup unused imports
...
Closes #5424
2015-11-24 19:36:30 +00:00
vsavkin
8daa9b202d
cleanup(testing): create top level files for mocks
...
Closes #5381
2015-11-24 19:29:52 +00:00
Yegor Jbanov
a43ed79ee7
feat(parser): allows users install custom AST transformers
...
Closes #5382
2015-11-20 19:46:02 +00:00
vsavkin
3c8fa8c50d
cleanup: move DomAdapter from angular2/core into angular2/platform/common_dom
...
BREAKING CHANGE
Before
import {DomAdapter} from 'angular2/core';
After
import {DomAdapter} from 'angular2/platform/common_dom';
Closes #5370
2015-11-20 00:14:24 +00:00
Victor Berchet
36a423fac8
feat(Compiler): case sensitive html parser
...
close #4417
Closes #5264
2015-11-19 18:55:04 +00:00
Tobias Bosch
adb87562bb
feat(Compiler): case sensitive html parser
2015-11-19 18:55:04 +00:00
vsavkin
ad6fb067e9
fix(dart): fix the static_browser platform not to include compiler
...
Closes #5321
2015-11-16 23:29:36 +00:00
vsavkin
4e1d9c93df
Revert "feat(Compiler): case sensitive html parser"
...
This reverts commit 86aeb8be0a .
2015-11-16 14:37:00 -08:00
vsavkin
0611239a0e
Revert "feat(Compiler): case sensitive html parser"
...
This reverts commit a8edc1eb58 .
2015-11-16 14:36:39 -08:00
Victor Berchet
a8edc1eb58
feat(Compiler): case sensitive html parser
...
close #4417
Closes #5264
2015-11-16 21:09:09 +00:00
Tobias Bosch
86aeb8be0a
feat(Compiler): case sensitive html parser
2015-11-16 21:09:09 +00:00
vsavkin
0eab4fc72c
feat(core): extract platforms out of core
...
Currently, core depends on the browser, which means that other platforms (e.g., NativeScript or webworker) cannot use the bootstrapping logic core provides.
This PR extract makes bootstrapping logic in core completely platform-independent. The browser-specific code was moved to "angular2/platforms/browser".
BREAKING CHANGE
A few private helpers (e.g., platformCommon or applicationCommon) were removed or replaced with other helpers. Look at PLATFORM_COMMON_PROVIDERS, APPLICATION_COMMON_PROVIDERS, BROWSER_PROVIDERS, BROWSER_APP_PROVIDERS to see if they export the providers you need.
Closes #5219
Closes #5280
2015-11-13 19:26:14 +00:00
vsavkin
78280a48af
Revert "feat(core): extract platforms out of core"
...
This reverts commit 3f4628c0b0 .
2015-11-12 13:40:29 -08:00