Pawel Kozlowski
d2d4e7d783
refactor(parser): remove unused variables
...
Closes #1553
2015-04-29 04:08:42 +00:00
Pawel Kozlowski
ee1b574baf
fix(di): improve error messages for invalid bindings
...
Fixes #1515
Closes #1573
2015-04-28 23:42:36 +00:00
Pawel Kozlowski
c0f3778dda
docs(For): fix example to use for-of syntax
...
Closes #1572
2015-04-28 23:42:24 +00:00
Matteo Suppo
d4925b61ff
fix(change_detector): ensure that locals are only used when implicit receiver
...
closes #1542
2015-04-28 23:40:22 +00:00
Alex Eagle
5b104936ae
chore(build): Add a tsconfig.json file, simply to allow Atom editor's Typescript plugin to
...
work without dropping tsconfig.json files and generated .js files in the
source directory.
Closes #1538
2015-04-28 23:39:39 +00:00
Josh Kurz
14988d4415
docs(core): updating some errors in 01_templates
...
Signed-off-by: Josh Kurz <jkurz25@gmail.com>
Closes #1529
2015-04-28 23:39:20 +00:00
Josh Kurz
cd953ceb48
docs(core): update core directives document
...
Signed-off-by: Josh Kurz <jkurz25@gmail.com>
2015-04-28 23:39:20 +00:00
Tim Blasi
726fecbfb6
feat(dart/transform): Turn on transform for examples/todo
...
- Tag services with `@Injectable()`
- Update `pubspec.yaml` to transform examples/todo.
Closes #1527
2015-04-28 23:38:08 +00:00
vsavkin
818bb9b697
test: changed test bed to run change detection twice to make sure there are no changes second time
...
Closes #1517
2015-04-28 23:37:09 +00:00
vsavkin
e4586249fa
refactor(change_detection): removed NO_CHANGED and replaced it with WrappedValue
2015-04-28 23:37:09 +00:00
Alex Eagle
4c1e978536
cleanup(build): remove traceur-based Dart transpiler
2015-04-28 16:25:10 -07:00
Matthew Hill
3d62546314
fix(compiler): only sets viewDefinition absUrl if the view has either a template or templateUrl
...
fixes #1326
closes #1327
2015-04-28 15:40:07 -07:00
Jeremy Elbourn
b9eab463f7
chore(): fix host properties for MD components.
2015-04-28 10:48:03 -07:00
Anthony Zotti
dff4795e49
docs(README): update for linguistic consistency
...
Closes #1537
2015-04-28 19:06:02 +02:00
PatrickJS
ab74e1ed4e
docs(CHANGELOG.md): fix correct links to angular2
...
Closes #1577
2015-04-28 19:03:09 +02:00
Peter Bacon Darwin
902984cc10
chore(doc-gen): only generate angular.io module and _data docs for public modules
2015-04-28 14:54:47 +01:00
Peter Bacon Darwin
ce431f279e
chore(doc-gen): don't show private class members in jade templates
...
Closes #1366
2015-04-28 14:47:38 +01:00
Peter Bacon Darwin
7fb2f2069c
docs(Injector): remove unwanted tab characters in the examples
...
These mess up the jade templates that use tabs for structuring the output.
2015-04-28 14:31:35 +01:00
Alex Wolfe
c269bd5d3c
chore(doc-gen): generate docs for angular.io
...
You can generate docs for comsumption by the angular.io website by running:
```bash
gulp docs/angular.io
```
The generated docs can be found in `dist/angular.io`
2015-04-28 14:31:34 +01:00
Yegor Jbanov
b72eb0783b
chore(packaging): bump version to 2.0.0-alpha.21; add changelog
2015-04-27 22:15:48 -07:00
Tobias Bosch
a801da6f7c
fix(ViewManager): dehydrate views recursively over ViewContainers
...
Closes #1560
2015-04-27 17:39:20 -07:00
Tobias Bosch
6fcd3709cf
fix(render): return views when destroyed in ViewContainer
...
Closes #1316
2015-04-27 17:39:09 -07:00
Brian Ford
1b2754dacd
feat(router): add initial implementation
2015-04-27 17:15:58 -07:00
Brian Ford
e617ca6323
feat(facade): add isType method
2015-04-27 17:15:58 -07:00
Tim Blasi
15376a6d24
feat(dart/transform): Dedup getters, setters, & methods
...
Dedup the getters, setters, and methods generated by the transformer
when compiling a template.
Run `dartformat` over the transform code.
2015-04-27 17:04:31 -07:00
Kevin Moore
867705bd2c
chore: put everything in the _analyze.dart file
...
6x faster dart analyze
2015-04-27 16:13:20 -07:00
Naomi Black
6ab19dd095
docs(change_detection): document JitChangeDetection and DynamicChangeDetection
...
closes #1446
2015-04-27 15:34:40 -07:00
Tim Blasi
99fdb9ac41
fix(dart/transform): Use `var` instead of `bool` in generated files
...
If a source file hides `bool` (explicitly or implicitly via `show`), a
generated file using `bool` may not resolve.
Closes #1455
2015-04-27 14:23:24 -07:00
Igor Minar
2827ca1559
build(broccoli): add a tree-differ workaround to browser trees
2015-04-27 10:50:59 -07:00
Igor Minar
8ea03d0380
build(gulp): fix incremental compilation by reusing angularBuilder across watch re-reruns
2015-04-27 10:47:52 -07:00
Igor Minar
d1ec2e18cd
build(gulp): add test.unit.tools to test.js task
2015-04-27 10:47:52 -07:00
Igor Minar
aa58e4bba5
build(gulp): add build/clean.tools task prevent test.unit.tools/ci from building
...
on our CI server we currently split each build into the building phase and testing phase, this change aligns test.unit.tools/ci
with the rest of ci test taskswq
2015-04-27 10:47:52 -07:00
Igor Minar
0a97f0b645
build(js.cjs): re-enable tests that now pass in cjs
...
previously these tests were failing but now they pass on master
2015-04-27 10:47:52 -07:00
Igor Minar
8a5cf896d0
build(gulp): remove obsolete config
2015-04-27 10:47:51 -07:00
Igor Minar
22c79df98d
build(gulp): remove gulp-jasmine, run tests in a new process instead
...
otherwise we see occasional failures due to require.cache and other global state collisions
2015-04-27 10:47:51 -07:00
Igor Minar
a52798543a
build(gulp): rename tasks `build.broccoli.tools` => `build.tools` + `test.unit.broccoli` => `test.unit.tools`
2015-04-27 10:47:51 -07:00
Igor Minar
1cbdb9cd17
refactor(build): introduce AngularBuilder facade and clean up many things
2015-04-27 10:47:51 -07:00
Igor Minar
4c9b8ebb0c
build(gulp): remove obsolete gulp transformer
2015-04-27 10:47:51 -07:00
Igor Minar
6aea629cd3
build(gulp): use strict mode for gulpfile
...
- a variable `public` was renamed since it is a reserved keyword in the strict mode
2015-04-27 10:47:51 -07:00
Igor Minar
649fd5a7a9
chore(build): exclude tree-differ.ts from format-checking due to a bug in clang-format
...
see https://github.com/angular/clang-format/issues/4
2015-04-27 10:47:50 -07:00
Igor Minar
40c4eb7240
build(gulp): refactor test.unit.broccoli to use task dependencies and not die when a compilation error occurs
...
With this change we also stop gulp task queue when an error in build.broccoli.tools occurs, that way we
don't bother testing when transpilation fails.
2015-04-27 10:47:50 -07:00
Igor Minar
cd05ed8de9
docs(npm-shrinkwrap.readme.md): update instructions
2015-04-27 10:47:50 -07:00
Igor Minar
42e7fc5252
build(broccoli): add source-maps to our broccoli tools
2015-04-27 10:47:50 -07:00
Igor Minar
7740fc071c
build(broccoli): convert traceur and broccoli-dest-copy plugins to use tree-differ
...
Also adding symlink-or-copy to our npm dependencies since our plugins now use it.
2015-04-27 10:47:50 -07:00
Igor Minar
bdf6af9bd6
build(broccoli): add custom broccoli.d.ts file
2015-04-27 10:47:50 -07:00
Igor Minar
2f83efaac8
build(broccoli): add tree-differ for diffing broccoli trees
2015-04-27 10:47:49 -07:00
Igor Minar
32c5ab956c
build(broccoli): add testing infrastructure for our build plugins
...
components:
- gulp test.unit.broccoli task
- mock-fs for mocking our FS in unit tests
- jasmine d.ts file for type checking
jasmine lib is provided by minijasmine2 so we don't need to include it explicitly
2015-04-27 10:47:49 -07:00
Igor Minar
b111ca9471
chore(build): add tsd.cached.json to our .gitignore
2015-04-27 10:47:49 -07:00
Igor Minar
725f909ff8
chore(build): refactor test.unit.cjs to use the broccoli pipeline
...
This change solves several problems:
- the broccoli pipeline is used to compile the node/cjs tree upon any change to the modules/ directory
- jasmine tests run in a new process removing the need to clean up environment after each test
- since we transpile only those test files that are actually needed for node/cjs build, we transpile less and don't need to filter out tests
2015-04-27 10:47:49 -07:00
Yegor Jbanov
427f0d021c
perf(benchmarks): benchmark that measure cost of dynamic components
2015-04-27 10:16:53 -07:00