ffb219fb91
style(dart): Format Dart source with dart_style 0.1.8
2015-05-29 10:42:47 -07:00
79f564be46
refactor(core): ts’ify tests
2015-05-26 17:01:31 -07:00
15f1eb28a2
fix(deps): Update clang-format to 1.0.14.
2015-05-22 09:39:15 -07:00
b2a24e021f
fix(browser_adapter): HTMLStyleElement.innerText does not trigger creation of CSS rules (Firefox)
2015-05-22 13:32:07 +02:00
661a04798e
fix(test): adds longer timers for NgZone and PromisePipe tests (IE11)
...
Closes #2055
2015-05-22 13:30:49 +02:00
665ccafd73
fix(browser_adapter): event creation fails (IE11, Firefox)
2015-05-22 13:30:48 +02:00
f35dbb99b5
fix(browser_adapter): element.getBoundingClientRect fails when element not in DOM (IE11)
2015-05-22 13:30:47 +02:00
a393f84fa4
fix(browser_adapter): element.matches only available with prefix (IE11)
2015-05-22 13:30:47 +02:00
92c2c33a84
fix(browser_adapter): assigning null to document.title sets the title to "null" (IE11, Firefox)
2015-05-22 13:30:46 +02:00
2287938f5a
fix(router): event.defaultPrevented is not reliable (IE11)
2015-05-22 13:30:44 +02:00
e61d82b9be
refactor(core): ts’ify core
2015-05-20 16:30:41 -07:00
c9ab8e4be8
fix(browser): template elements should have content imported instead of the element itself.
2015-05-20 10:31:12 -07:00
8aa3fcfb63
chore(build): don’t include export var __esModule = true
in every file
...
But do it during the build process for cjs.
Right now we only need this when we transpile from ts
directly to es5. This is only the case in our
cis build, as for our browser build we only transpile
from ts to es6 via ts and then use traceur to do
the rest.
2015-05-19 15:12:59 -07:00
1beadb8607
refactor(render): ts’ify render api
2015-05-19 15:12:59 -07:00
f302f70330
chore: convert dom module to typescript
2015-05-12 12:59:53 -07:00
77d1fc149a
fix(router): router-link works without params
...
Router-link attaches a listener to prevent default behavior and
navigate.
Closes: 1689
2015-05-11 11:58:38 -07:00
05219a54cd
feat(dom): add getBaseHref method
2015-05-08 13:51:42 -07:00
44f829dbc6
feat(dart/transform): Use the render Compiler and the DirectiveParser
...
Update the `TemplateCompile` step to use the full render `Compiler`.
Provide `DirectiveMetadata` for `ViewDefinition` objects and use it to
run the `DirectiveParser` step of the render compile pipeline.
2015-05-08 11:18:40 -07:00
51839ca677
feat(compiler): allow setting attributes on a host element
...
Closes #1402
2015-05-08 14:22:07 +02:00
75db2c5241
chore: add more types to a number of top-level properties and methods
2015-05-06 17:53:44 -07:00
169e4e862d
refactor(dart/transform): Use render Compiler concepts
...
Update `TemplateCompiler` transform step to use abstractions used by the
render `Compiler`. For example, template code is now loaded via an
instance of `TemplateLoader` and external resources are fetched via an
instance of `XHR`.
2015-05-06 12:51:49 -07:00
f356d03362
feat(dom): add location and history as DOM-like APIs.
...
Instead of global access methods.
2015-05-05 14:50:53 -07:00
ead21c91a4
fix(exception_handler): log errors via console.error
...
This is e.g. needed as we use this to test for errors
in our examples.
2015-04-30 11:45:34 -07:00
9fc9d53566
perf(benchmarks): benchmark measuring cost of decorators ( fixes #1479 )
2015-04-27 10:16:52 -07:00
22c6c09daf
chore(build): run event tests in Node
...
Closes #1476
2015-04-21 16:21:39 -07:00
e70a2f21dd
fix(dom): remove methods is allowed on text nodes as well
...
Fixes #1473
Closes #1478
2015-04-21 11:56:11 -07:00
f7f06c5ad4
chore: add more type annotations
2015-04-21 08:49:05 -07:00
ada1e642c5
feat(view): add imperative views
2015-04-20 17:18:44 -07:00
5c25248582
docs(x-ref links): Change links to use dgeni syntax
...
Closes #1440
2015-04-20 18:45:04 +00:00
aabe83cf63
chore(build): run application tests in Node
...
Closes #1423
2015-04-20 14:45:18 +02:00
7cac7c5157
refactor(dart/transform): Correct Dart analyzer warnings
...
- Fix numerous Dart analyzer warnings we had been ignoring.
- Delete unused `in_progress` dir
2015-04-14 13:41:22 -07:00
b96e560c8d
feat(events): add support for global events
...
Fixes #1098
Closes #1255
2015-04-13 22:35:36 +02:00
5ce5a87abe
style: add more type info to Dart BrowserAdapter
2015-04-10 23:34:06 +00:00
cac74c73e1
feat(dart/transform): Add stub implementations to Html5LibAdapter
...
Stub out some methods used in the `CompilerPipeline`.
2015-04-10 13:41:26 -07:00
8fa1539bac
feat(keyEvents): support for <div (keyup.enter)="callback()">
...
This commit adds a plugin for the event manager, to allow a key name to
be appended to the event name (for keyup and keydown events), so that
the callback is only called for that key.
Here are some examples:
(keydown.shift.enter)
(keyup.space)
(keydown.control.shift.a)
(keyup.f1)
Key names mostly follow the DOM Level 3 event key values:
http://www.w3.org/TR/DOM-Level-3-Events-key/#key-value-tables
There are some limitations to be worked on (cf details
in https://github.com/angular/angular/pull/1136 ) but for now, this
implementation is reliable for the following keys (by "reliable" I mean
compatible with Chrome and Firefox and not depending on the keyboard
layout):
- alt, control, shift, meta (those keys can be combined with other keys)
- tab, enter, backspace, pause, scrolllock, capslock, numlock
- insert, delete, home, end, pageup, pagedown
- arrowup, arrowdown, arrowleft, arrowright
- latin letters (a-z), function keys (f1-f12)
- numbers on the numeric keypad (but those keys are not correctly simulated
by Chromedriver)
There is a sample to play with in examples/src/key_events/.
close #523
close #1136
2015-04-10 13:29:27 +02:00
41262f4265
feat(Ruler): introduce Ruler service
...
Closes #1089
Closes #1253
2015-04-08 11:04:42 +02:00
1d4d18d9db
refactor(render): user render compiler
2015-04-03 23:41:00 -07:00
c1aa65239e
refactor(render): move services to render folder
...
property_setter_factory
selector
style_inliner
style_url_resolver
shadow_css
2015-04-02 14:40:49 -07:00
90d9a1df3f
fix(IE11): first fixes
...
Closes #1179
2015-04-02 22:06:21 +02:00
e81e5fb2b9
feat(testability): add an initial scaffold for the testability api
...
Make each application component register itself onto the testability
API and exports the API onto the window object.
2015-04-01 13:54:06 -07:00
123ee8e06f
feat(dom): add replaceChild to DOM adapter
2015-03-31 09:54:41 -07:00
99045b2f6a
refactor: update Dart package dependencies
2015-03-25 15:54:12 -07:00
41b53e71e1
feat(selector): support , for multiple targets
...
Fixes #867
Closes #1019
2015-03-23 10:06:33 +01:00
2ff2ce3c6c
refactor(test_lib): remove IS_NODEJS
...
Closes #1015
2015-03-20 15:50:05 +01:00
f42e6337b7
feat(forms): added support for textarea
2015-03-19 10:19:13 -07:00
5d502d4093
feat(dart/transform): Implement Html5LibDomAdapter
methods.
...
Adding support for some additional `DomAdapter` methods necessary to run
`Complier` in the Dart transformer.
2015-03-19 07:06:51 -07:00
46b03a524e
feat(test): more tests in Node.js
2015-03-17 16:58:58 -07:00
b39d2c0101
fix: properly bind to camelCased properties
...
Fixes #866
Closes #941
2015-03-13 19:50:47 +01:00
e8965656a4
feat(directives/forms): run tests in NodeJS
...
Closes #921
2015-03-13 19:18:15 +01:00
d35fdfcd40
refactor: return copy of DOM attributes in Dart
...
This alligns with JS-version behaviour
2015-03-13 17:24:13 +01:00