5306b6dd0c
fix(change_detection): expose values when detecting changes in key-value pairs
...
Fixes #1118
Closes #1123
2015-03-26 21:18:14 +01:00
b09624024b
example(forms): added a example of using forms
2015-03-26 11:36:14 -07:00
edc3709451
fix(ElementBinderBuilder): properly bind CSS classes with "-" in their names
...
Fixes #1057
Closes #1059
2015-03-26 19:25:31 +01:00
e706f3477b
Remove invalid super() call
...
Unless I'm missing something?
2015-03-26 11:10:39 -07:00
6298cb3999
chore(ci): upgrade to new version of protractor and selenium-webdriver
...
Protractor 2.0.0
selenium-webdriver 2.45.1
2015-03-26 10:00:46 -07:00
878fce6482
fix(ts): ts doesn't like ";;"
2015-03-26 17:32:48 +01:00
b02bd65871
feat(forms): made forms works with single controls
2015-03-26 07:48:17 -07:00
ee36aaf163
fix(tests): fixed a broken test
2015-03-26 07:46:26 -07:00
ff84506bd5
feat(forms): added support for arrays of controls
2015-03-26 07:43:25 -07:00
0ae33b7e3c
refactor(compiler): factorize common util code dash <-> camel
...
Closes #1114
Fixes #1097
2015-03-26 15:22:35 +01:00
b1dc6239ef
feat(core): @Attribute annotation
...
Closes #1091
Fixes #622
2015-03-26 10:51:44 +01:00
3ce0f1146f
chore(dgeni): set log level to 'warning'
2015-03-26 09:31:36 +01:00
3ec837bfdb
test(di): Add a test for sync binding + resolved async dependency
2015-03-26 08:38:29 +01:00
18ff2be9bb
feat(ts2dart): include srcFolderInsertion in ts2dart step.
2015-03-25 21:31:40 -07:00
c0d296334c
feature(ts2dart): ts2dart runs on all .js files.
...
Update the experimental ts2dart task to also read the .es6 files, which are the next step.
2015-03-25 17:14:06 -07:00
9a0a2e319c
chore(ts2dart) remove extra semi
...
This breaks our ts2dart transpilation.
2015-03-25 17:06:47 -07:00
a0d86ac2bb
chore(ts2dart): ts2dart doesn't support mixed typed/untyped var decl lists.
2015-03-25 16:41:33 -07:00
99045b2f6a
refactor: update Dart package dependencies
2015-03-25 15:54:12 -07:00
c34ca36778
chore: build the stable branch of Dart
...
Now that Dart 1.9 is stable
2015-03-25 21:17:07 +01:00
58dd75a1c8
feat(compiler): Add support for setting attributes to Component host element
...
Fixes #1008
Fixes #1009
Closes #1052
2015-03-25 17:32:07 +01:00
f995b07876
docs: annotations edits
2015-03-24 23:28:24 +00:00
101a4aa3cf
feat(PrivateComponentLoader): Explicit error message when loading a non-component
...
fixes #1062
2015-03-24 22:11:41 +01:00
65d759316b
fix(PrivateComponentLoader): add the loader to the app injector
...
fixes #1063
2015-03-24 22:10:26 +01:00
19c1773133
feat(forms): added an observable of value changes to Control
2015-03-24 13:45:47 -07:00
9b3b3d325f
feat(facade): added support for observables
2015-03-24 13:45:39 -07:00
43f4374944
feature(build): Include ts2dart transpile step in the Angular build.
...
This only transpiles one package to start with: di/
It ensures that package transpiles without errors, so no one can
introduce non-TypeScript syntax.
Next step is to widen the task inputs to cover additional packages.
See design doc for the migration:
https://docs.google.com/document/d/14RJLhu6uuv7NchFkAb6PKzOOO0L7l3Z507eKWzkEUhQ/edit
A convenience task 'ts2dart' is added for developing ts2dart, and
it runs all of the angular code through the transpiler to collect errors.
2015-03-24 10:34:46 -07:00
81e6d13241
chore: bump up the version to 2.0.0-alpha.15
2.0.0-alpha.15
2015-03-24 07:50:39 -07:00
f8e7a37c0d
fix(view): fixed view instantiation to use the component template's change detector when creating BindingPropagationConfig
2015-03-24 07:49:28 -07:00
c686e7ea30
chore(doc-gen): ignore non-jsdoc style comments
...
Now the visitor will find the last jsdoc style comment (e.g. `/** jsdoc comment */`)
before the current code item, ignoring any inline style comments (e.g. `// inline comment`)
in between.
Closes #1072
2015-03-24 11:25:58 +00:00
7e89af8190
chore(doc-gen): move @publicModule
tag-def to base package
...
This prevents unwanted "unknown tag" warnings when generating the non-public docs.
2015-03-24 10:57:42 +00:00
539e8e2cce
chore(doc-gen): add specific template for displaying variable exports
...
Closes #1071
2015-03-24 10:57:42 +00:00
aab084866c
doc(test): add a comment on why tests are disabled
2015-03-24 09:52:41 +01:00
0e61a86763
docs: annotations
2015-03-24 00:42:58 +00:00
1c9938ed98
chore(packaging): bump version to alpha.14
2.0.0-alpha.14
2015-03-23 17:14:55 -07:00
47c1a0f381
feat(forms): added value accessor for input=text
2015-03-23 08:53:27 -07:00
514529b5d9
refactor(formed): changed forms to use event and property setters instead of NgElement
2015-03-23 08:52:54 -07:00
a12dc7d75a
refactor(forms): wrapped all validators into the Validator class
2015-03-23 08:50:56 -07:00
41b53e71e1
feat(selector): support , for multiple targets
...
Fixes #867
Closes #1019
2015-03-23 10:06:33 +01:00
0fb9f3bd6c
fix(ElementBinderBuilder): properly bind to web component properties
...
Fixes #776
Closes #1024
2015-03-22 14:14:36 +01:00
81f3f32217
refactor(DirectiveParser): remove checks for missing directives
...
Based on the discussion in #776 we can't reliably check if a given
element has a particular property at the compilation time. As such
the existing algorithm detecting "missing" directives can't be used.
We need to see if there is a different / better algorithm or maybe
those checks need to be moved later in the process (runtime). Leaving
integration tests in place (disabled) so we can come back to the
topic after unblocking the situation.
This commit effectivelly reverts 94e203b9df
2015-03-22 14:14:36 +01:00
b35f288794
refactor(dart/transform): Use package:guinness in tests
...
`guinness` is a Dart port of Jasmine. Since the rest of Angular 2 uses
Jasmine, use it for the transformer too.
Closes #8
Closes #1037
Closes #1000
2015-03-21 15:18:15 -07:00
4e82cc0861
refactor(dart/transform): Test directive_linker
as a unit
...
Formerly, it was tested only as a piece of the transformer pipeline. Add
its own directory and test the linker on its own.
2015-03-21 15:18:15 -07:00
c735644c57
refactor(dart/transform): Minor logging changes
...
Enable easier testing by providing a null log implementation and a way
to use it.
2015-03-21 15:18:15 -07:00
5d479fa0ae
refactor(dart/transform): Remove ngData
...
Now that we have `Parser`, `ngData` is redundant & unnecessary.
2015-03-21 15:18:15 -07:00
8baedca972
style(dart/transform): Remove src
from library directives
...
Conform to Angular 2 style by removing `src` from library directives.
Completed with:
```
find -name "*.dart" | xargs sed -i -e 's!library\(.*\)src\.\(.*\)!library \1\2!'
```
Closes #1005
Closes #1038
2015-03-21 14:55:11 -07:00
02aa8e7945
feat(compiler): support bindings for any attribute
...
Closes #1029
2015-03-21 14:55:11 -07:00
ee523efcb4
feat(ShadowCss): Support the new deep combinator syntax >>>
...
fixes #990
ref http://dev.w3.org/csswg/css-scoping-1/#deep-combinator
Closes #1028
2015-03-21 14:55:11 -07:00
eef5f7e06d
README - don't forget to build app before start
...
Don't forget to build app before start HTTP server
Closes #1014
2015-03-21 14:55:11 -07:00
83402930f2
chore(install+test): single cmd to full install/test & test JS w/o Dart
...
* `npm install` now does a full install; auxiliary installation steps
have been integrated into the `postinstall` script.
* Updated developer docs `DEVELOPER.md` accordingly; also added
instructions to dev docs for performing full tests (via `npm test`) --
same as those run on Travis.
* Reorg in tests so that JS tests can run without a Dart env.
Partly fixes #945 **under the assumption that when running JS tests
locally, `ChromeCanary` is the desired browser to use**. Note that CI
tests (Travis) still uses `DartiumWithWebPlatform` across the board
(Maybe because ChromeCanary isn't being installed?)
Fixes #1012 .
Closes #1010
2015-03-21 14:55:11 -07:00
bd48c927d0
fix(ViewContainer) removeChild called with null parent
...
In view_container.js, templateElement.parentNode can be null
when two template tags are nested in one another.
Accessing the parent node through view.nodes[0].parentNode fixes
the problem.
closes #997
Closes #999
2015-03-21 14:55:10 -07:00