9c62b5867e
benchmark(change_detection): added a new set of benchmarks measuring updating properties
2015-04-06 18:13:20 -07:00
2560af731a
refactor(dart): use Map instead of HashMap
...
Closes #1202
2015-04-06 17:16:54 +00:00
86211eb5f0
doc(directives): add inline documentation
...
Closes #1240
2015-04-06 17:11:23 +00:00
a3387b7f48
fix(di): allow injecting static attrs without type annotations
...
Closes #1226
2015-04-06 12:33:37 +02:00
94a48e8640
test(VmTurnZone): provide a stub VmTurnZone for CJS tests
2015-04-06 10:30:17 +02:00
d8aeb40b49
reafactor(XHR): rename XHRMock to MockXHR for consistency
2015-04-06 10:30:16 +02:00
52c55d0ee8
test: convert to using TestBed
2015-04-06 10:30:16 +02:00
438c2b31e4
test(TestBed): initial implementation
2015-04-06 10:30:16 +02:00
57e308dd46
test(MockTemplateResolver): allow directive overriding
2015-04-06 10:07:50 +02:00
c922b5a112
docs(annotations): fix some typos, align docs with code
...
Closes #1227
2015-04-04 12:23:01 +02:00
d552303cd5
docs(02_directives.md): foreach -> for
...
Closes #1235
2015-04-04 10:32:53 +02:00
1d4d18d9db
refactor(render): user render compiler
2015-04-03 23:41:00 -07:00
069bbf3ed0
docs(02_directives.md): Fixes variable name for visibility in Components example
2015-04-03 14:18:15 -07:00
a4a2d4e56d
chore: allow latest stack_track package
2015-04-03 14:18:14 -07:00
d77f409093
chore: analyzer fixes for Dart transformer
2015-04-03 14:18:14 -07:00
25c709c58e
fix(angular2): export PrivateComponent{Loader,Location} in angular2/core
2015-04-03 14:18:14 -07:00
bc909d1d0f
refactor(dart/transform): Minor renames
...
Rename `setupReflection` => `initReflector`
Rename `TemplateComplier` => `TemplateCompiler`
Closes #1180
2015-04-03 13:16:24 -07:00
a6736ff9f2
perf(change detection): Assign this.locals in change detector ctor
...
Set `this.locals = null;` in the ctor of generated change detector
classes to prevent the class "shape" from changing on `hydrate`.
2015-04-03 12:23:47 -07:00
894a0f0ee5
chore(ts): duplicate the .es6 files in the facade directory to TypeScript.
...
Adds a gulp task which builds the .ts files (in the cjs build only).
The new files have extension .ts since they are now valid typescript.
Unfortunately until Typescript can emit System.require, we have to keep the old .es6 version
so traceur works inside the Karma preprocessor. This should be fixed soon.
2015-04-03 09:35:06 -07:00
abea92af59
refactor(change_detection): call onChange from the change detector
2015-04-02 21:22:42 -07:00
bcbed2812d
feat(bundle): work-around rx.all.js bundle issue.
...
Adds long-stack-trace-zone into the dev build. Turn off source maps
until proper concatination of them is added.
2015-04-02 19:54:07 -07:00
c0b04ca0bc
feat(gulp): adds System.register bundle task.
2015-04-02 19:54:06 -07:00
86dc3e5b07
docs: create public API surface
...
Closes #1181
2015-04-02 23:23:39 +00: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
be5ccf6957
refactor(render): delete copies files so we add them via moves
2015-04-02 14:24:55 -07:00
09067ebdc5
fix(build): Require gulp-ts2dart at least at 1.0.6.
...
This fixes the build by pulling in a later version that correctly ignores the .es6 files.
2015-04-02 13:13:47 -07:00
08697e71fa
chore(package.json): update madge to v0.5.0
...
Closes #1211
2015-04-02 22:08:04 +02:00
90d9a1df3f
fix(IE11): first fixes
...
Closes #1179
2015-04-02 22:06:21 +02:00
a96c149793
chore(gulp): Stop copying .cjs files to the dist folder
...
They're already transpiled by the build/transpile.js.cjs task
2015-04-02 20:51:16 +02:00
1037cef22e
refactor(render): misc minor fixes
2015-04-02 20:50:05 +02:00
09948f4403
feat(dart/transform): Add a di
transformer
...
Add a transformer for `di` which generates `.ng_deps.dart` files for all
`.dart` files it is run on. These `.ng_deps.dart` files register
metadata for any `@Injectable` classes.
Fix unit tests for changes introduced by the di transformer.
When using `pub (build|serve) --mode=ngstatic`, we will also generate
getters and setters, parse templates, and remove import of `dart:mirrors`
in the Angular transform. Because this is still relatively immature, we
use the mode to keep it opt-in for now.
Closes #700
2015-04-02 11:06:33 -07:00
788461b7e2
feat(di): Mark objects @Injectable
...
Allow `PrivateComponentLoader`, `Testability`, and `TestabilityRegistry` to be injected.
2015-04-02 11:02:26 -07:00
4f56628566
refactor(render): move services to right location
...
core/compiler/events -> render/dom/events
core/compiler/url_resolver -> services/url_resolver
core/compiler/xhr/* -> services/*
2015-04-02 10:35:27 -07:00
bcbf1ccc68
refactor(render): remove duplicate files to prepare for move
...
Remove first so Github shows the files as being moved instead of copied and deleted.
2015-04-02 10:35:27 -07:00
ae30d7ba40
fix(di): allow injecting event emitter fns without specifying type annotation
...
Fixes #965
Closes #1155
2015-04-02 19:07:49 +02:00
9adf41ca2d
fix(build) Add a .tsdrc file for github rate limiting.
...
See https://github.com/DefinitelyTyped/tsd#tsdrc
2015-04-02 10:05:37 -07:00
1d79d534d9
test(selector): add tests with multiple attributes
...
Fixes #1025
Closes #1117
2015-04-02 18:06:44 +02:00
60e4197026
feat(tooling): Add a .clang-format for automated JavaScript formatting.
2015-04-02 08:44:34 -07:00
2fabca77b9
test(Travis): use test.dart for Dart tests
2015-04-02 13:12:59 +02:00
47542b0cb0
fix(build): don’t read out chrome perflogs during e2e tests
...
We do this as we are seeing flakes in Chrome with ECONNREFUSED.
Also reuses the same browser window.
Also reenables the infinite scroll benchmark
Closes #1137
2015-04-01 17:09:26 -07:00
6c60c3e547
feat(render): add initial implementation of render layer
2015-04-01 16:50:22 -07:00
814d389b6e
chore(gulp): add typescript transpilation tasks
2015-04-01 15:01:27 -07: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
f68cdf3878
chore(ts): introduce some TypeScript type declarations.
...
This uses tsd to fetch the typings from another git repo. I've forked the DefinitelyTyped repo because some typings we use are not available upstream.
We should probably fork it in the Angular org, so everyone on the team has commit access to our DefinitelyTyped fork.
2015-04-01 12:01:45 -07:00
91e0e9e1dd
chore(ts): Patch traceur's type module only when targetting es6 output.
2015-04-01 10:39:06 -07:00
59c1299168
fix(tests): add missing ;s
2015-04-01 15:30:46 +02:00
27c6afbeb4
chore(doc-gen): add temporary dump of all API docs
...
Remove unwanted < character
2015-04-01 10:24:33 +01:00
514ba54282
feat(change_detection): added changeDetection to Component
2015-03-31 20:54:44 -07:00
a11f683e7b
chore(ts): Don't mask the Regexp builtin.
...
Doing so makes it impossible to compile with TypeScript, since it conflicts with the shape of the Regexp global var defined in the standard lib.
2015-03-31 19:20:21 -07:00
b65b145122
refactor(view): refactored DirectiveMemento to expose properties in a consistent way
2015-03-31 18:26:58 -07:00