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
Yegor Jbanov
9fc9d53566
perf(benchmarks): benchmark measuring cost of decorators ( fixes #1479 )
2015-04-27 10:16:52 -07:00
Tobias Bosch
6dece68bb8
refactor(core): rename ViewContainer to ViewContainerRef
...
This also renames InternalAppViewContainer into AppViewContainer
Related to #1477
Closes #1554
2015-04-27 10:12:21 -07:00
Ciro Nunes
0676fef61f
docs(directives): CSS selectors are used for directives
...
Closes #1544
2015-04-27 15:32:26 +02:00
Sekib Omazic
1d52cfba13
chore(query_list.js): fix minor typos
...
Typos fixed
Closes #1549
2015-04-27 15:30:17 +02:00
Tobias Bosch
bfa381b35a
refactor(view): introduce AppViewManager to consolidate logic
...
AppViewManager is the single entry point to changing the view hierarchy.
It is split between the manager itself which does coordination and
helper methods, so both are easily testable in isolation.
Also, ViewContainer is now only a pure reference to a bound element
with the previous functionality but does not contain the list of views
any more.
Part of #1477
2015-04-24 20:26:18 -07:00
Tobias Bosch
f78406392b
fix(test_lib): support multi matches with deep equality for function calls
2015-04-24 17:53:41 -07:00
Alex Eagle
623edcd2d8
Copy a second package to TypeScript.
2015-04-24 15:49:04 -07:00
vsavkin
b5e350b18c
cleanup(forms): do not export AbstractControl
...
Closes #1299
2015-04-24 13:57:03 -07:00
Yegor Jbanov
87cf434929
chore(sources): intro modules_dart; move analyzer code there
...
We have Dart code in `angular2` module that ought to be in its own
package. Examples include Dart analysis plugins, and potentially the
transformers (although transformers cannot be moved out just yet).
However, this code is Dart-only and it doesn’t make sense to use JS
directory layout for it. This commit introduces a sub-directory called
`modules_dart`. All modules in this directory are pure Dart packages
using standard pub directory layout. The code in these packages never
gets transpiled. It is directly copied to `dist` unmodified, except an
adjustment in relative paths in `pubspec.yaml` files.
2015-04-24 13:29:18 -07:00
Pawel Kozlowski
4bab25b366
feat: alllow specifying directives as bindings
...
Related to #709
Closes #1498
2015-04-24 11:02:17 -07:00
Pawel Kozlowski
6896305e34
fix: export ShadowDom strategies
...
Fixes #1510
Closes #1511
2015-04-24 08:41:37 +02:00
vsavkin
8ccafb0524
feat(view): reimplemented property setters using change detection
2015-04-23 11:55:27 -07:00
Marc Laval
8a92a1f13e
fix(angular2): export QueryList in angular2/core
...
Closes #1502
2015-04-23 11:04:30 -07:00
Pawel Kozlowski
d0059b5d75
refactor(PipeRegistry): improve error messages
...
Closes #1504
2015-04-23 11:04:30 -07:00
Pawel Kozlowski
fa8e059f28
refacor(lexer): remove unused ~/ operator
...
Closes #1509
2015-04-23 11:04:30 -07:00
Wesley Cho
8e18d6c6cf
docs(annotations): fix casing in view annotation
...
- Fix the casing to match key name exposed for `templateUrl` in `View`
annotation
Closes #1495
2015-04-23 11:04:30 -07:00
Pawel Kozlowski
afe0e45453
feat(parser): support === and !== operators
...
Closes #1496
Closes #1500
2015-04-23 20:01:31 +02:00
Victor Berchet
2e3e41ba64
fix(ListWrapper): follow JS semantics
2015-04-23 09:46:09 +02:00
vsavkin
d74dd1126b
cleanup(di): removed dead code
2015-04-22 14:48:53 -07:00
Kathy Walrath
0ff99081bd
DEVELOPER.md copyedit
...
Closes #1275
2015-04-21 17:10:15 -07:00
Matthew Hill
6f4b6783c0
docs(02_directives): TemplateConfig -> @View
...
for #1224
Closes #1325
2015-04-21 16:31:25 -07:00
hdngr
b1bc792b56
BUG FIX: without specification, certain versions of bower install ./app/bower_components...
...
Closes #1409
2015-04-21 16:31:20 -07:00
Sam Rawlins
d4b8a86509
Updating DEVELOPER.md with nits and grammar fixes.
...
These are mostly trivial, but I thought I'd fix them while reading through the doc.
Closes #1438
2015-04-21 16:31:16 -07:00
Sam Rawlins
642e7e5c46
fix(benchpress): only print the CV when it is meaningful
...
When the mean is 0, the coefficient of variation is calculated to be
NaN, which is not meaningful, so instead of printing "+-NaN%", just
don't print the CV at all.
Closes #908
Closes #1444
2015-04-21 16:31:12 -07:00
Brian Ford
4650d25a53
chore(package.json): upgrade zone.js to v0.4.3
...
Closes #1457
2015-04-21 16:30:40 -07:00
Kevin Moore
7551a28f1a
chore: show dart2js package warnings for angular2, benchmarks, examples
...
Closes #1468
2015-04-21 16:22:49 -07:00