Misko Hevery
b0c735f72c
fix(decorators): incorrect annotation to decorator adapter
2015-05-07 12:30:18 -07:00
Jacob MacDonald
0e2047f9ca
chore(benchmarks): add transform benchmark runner and clean up benchmark output
2015-05-07 10:36:04 -07:00
Peter Bacon Darwin
e30ad2ec2c
chore(doc-gen): include TypeScript files in the doc generation
2015-05-07 10:26:23 +01:00
Peter Bacon Darwin
c509057f65
chore(doc-gen): log comments as silly() rather than info()
2015-05-07 10:25:41 +01:00
Peter Bacon Darwin
e138add584
chore(doc-gen): provide aliases for jade-data docs
2015-05-07 10:25:02 +01:00
vsavkin
49777648b3
fix(decorators): fixed decorators
2015-05-06 21:08:55 -07:00
vsavkin
cb87fa0970
chore(build): migrated di to TypeScript
2015-05-06 19:00:56 -07:00
Kevin Moore
649e276610
chore: support last dev build of Dart at 1.10.0-dev.1.10
...
Can revert once 1.11 is available
2015-05-06 18:21:46 -07:00
Kevin Moore
5ef11774c2
chore: update pubspec files
...
Allow latest analyzer version
Add an upper constraint to the Dart SDK
2015-05-06 17:55:03 -07:00
Kevin Moore
75db2c5241
chore: add more types to a number of top-level properties and methods
2015-05-06 17:53:44 -07:00
Tim Blasi
c8ebd11d63
feat(dart/transform): Generate DirectiveMetadata for exports
...
For all files that export another library, include `DirectiveMetadata`
for the exported library in that file's associated `ng_meta.json` file.
2015-05-06 17:17:04 -07:00
Alex Eagle
6651aa1e1d
chore(build): update to TypeScript @head
...
We need to pick up some bugfixes for decorator emit. This still has our patch to make Error a class.
2015-05-06 16:34:24 -07:00
Alex Wolfe
3f28d08778
build bug fix
2015-05-06 15:53:58 -07:00
Alex Wolfe
ab28676d02
more comments
2015-05-06 15:36:02 -07:00
Alex Wolfe
577a80371f
fixed build process by adding comment
2015-05-06 15:27:25 -07:00
Julie Ralph
01fdb4afc6
chore(build): remove karma preprocessors
...
Custom karma preprocessors are no longer being used after 1676 and 1597
2015-05-06 14:06:40 -07:00
Rado Kirov
be7504d451
fix(decorators): fixes decorator reflection.
...
The bug appears when there are only type annotations without parameter
annotations.
2015-05-06 13:44:44 -07:00
Tim Blasi
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
Tobias Bosch
abc3de7efe
refactor(render): rename `RenderView` and `RenderProtoView`
...
Part of #1675
Closes #1705
2015-05-06 11:46:52 -07:00
keertip
0b1bb172c9
feat(dart/analysis): Build DirectiveMetadata for LibrarySpecificUnit
...
initial commit for the dart analyzer task
2015-05-06 11:00:44 -07:00
Tobias Bosch
0856516ae9
refactor(renderer): separate compiler from renderer
...
Part of #1675
Closes #1702
2015-05-06 10:50:15 -07:00
Igor Minar
705d3aacff
build(gulp): fix concurrency and caching issues in test.unit.js and test.unit.dart tasks
...
previously there was a chance of race conditions that could sporadically fail the build.
additionally runing a task via gulp.start or runSequence always reruns its dependencies, which meant that we were blowing away
the build.tools build and rebuilding everything from scratch even during the interactive/watch mode. This meant that the build
pipeline cache was destroyed on every change and we never got the benefit of incremental compilation
2015-05-06 08:46:03 -07:00
Igor Minar
1d0078415f
build(broccoli): refactor typescript plugin to be incremental via DiffingBroccoliPlugin
2015-05-06 07:45:46 -07:00
Igor Minar
9d1df21d91
build(gulp): do no rebuild tools during test.unit.cjs
...
This introduces private !build.js.cjs task that is to be executed only from other public tasks.
2015-05-06 07:45:46 -07:00
Igor Minar
3f36a3c119
build(broccoli): traceur plugin should react only to .js/.es6/.cjs file removal
2015-05-06 07:45:46 -07:00
Igor Minar
8c15ccecd1
build(broccoli): add DiffingBroccoliPlugin and refactor existing plugins to use it
...
tree-differ:
- export both TreeDiffer and DiffResult interface
diffing-broccoli-plugin:
- factory class for wrapping DiffingBroccoliPlugins and turning them into BroccoliTrees
broccoli-dest-copy:
- refactor into DiffingBroccoliPlugin
broccoli-traceur:
- refactor into DiffingBroccoliPlugin
2015-05-06 07:45:45 -07:00
Igor Minar
e966869744
build(broccoli.d.ts): add tree.description signature
2015-05-06 07:45:45 -07:00
Igor Minar
6b017fb388
build(gulp): create private build.tools task and use it instead of magic variable
...
This way when gulp prints out that it's running build/clean.tools it really means
that it's cleaning up the build directory.
2015-05-06 07:45:45 -07:00
Julie Ralph
bb6f59e423
chore(build): make karma watch broccoli output for dart unit tests
...
Previously, karma used a custom preprocessor. Instead, have karma
run built dart from the `dist` folder and use gulp and broccoli
to watch for changes.
2015-05-05 19:24:20 -07:00
Rado Kirov
c9cec60007
fix(router): fix for leading slash in dart
...
Using string1 === string2 translates to identical(string1, string2) in
dart, which is incorrect as it is possilbe for dart strings to have
different reference.
2015-05-05 15:19:06 -07:00
Rado Kirov
f356d03362
feat(dom): add location and history as DOM-like APIs.
...
Instead of global access methods.
2015-05-05 14:50:53 -07:00
Tim Blasi
0520ca68b4
feat(dart/transform): Add DirectiveMetadataExtractor transform step
...
Add a step that reads `DirectiveMetadata` object off annotated classes
into `.ng_meta.dart` files. These will be used by the `TemplateCompiler`
step as inputs to the Angular 2 render compiler.
Update one test to avoid unsupported functionality, format others.
2015-05-05 12:07:50 -07:00
Rado Kirov
8e1d53b5e9
feat(router): adds the router to the self-executing bundle.
...
Due to limitation of system build, the router cannot have its own sfx
bundle.
Fixes an issue with RouteConfig decorator by moving it into its own
file.
2015-05-05 10:55:23 -07:00
Kevin Moore
f5b56c627b
refactor: add types to top-level fields in change_detection
...
Also introduced an abstract PipeFactory base class
2015-05-05 10:21:56 -07:00
Alex Eagle
740d85cad8
chore(build): change TS Error type to a class.
...
This will be in the next upstream release.
2015-05-05 09:03:56 -07:00
Alex Eagle
33bba094d2
chore(build): fix package.json warning
...
Nit: the contributors field is defined as an array, see
https://docs.npmjs.com/files/package.json#people-fields-author-contributors
2015-05-05 09:02:57 -07:00
Jeremy Elbourn
f88c4b77ca
feat(material): add prototype dialog component w/ demo.
2015-05-04 16:43:15 -07:00
Brian Ford
75da6e4c4a
feat(router): export decorator version of RouteConfig
2015-05-04 15:44:16 -07:00
Jacob MacDonald
1864f60afb
feat(benchmarks): Add basic dart transformer benchmarks.
...
Adds simple benchmarks for various transformation phases, as well as hello_world.
Does not integrate these into any benchmark frameworks yet.
2015-05-04 14:03:58 -07:00
Rado Kirov
457c15cd6c
feat(decorators): adds decorator versions of DI annotations.
...
In 'angular2/di' the symbol:
- Inject is a decorator
- InjectAnnotation is an annotation
Internally one an get a hold of annotations without *Annotations appened
(to make ts2dart work without workarounds) by importing from
'angular2/src/di/annotations_impl' instead of 'angular2/di'. This is
needed only for users that transpile through TS and through ts2dart.
2015-05-04 13:35:09 -07:00
Brian Ford
28feac9411
refactor(router): rename "alias" to "as"
2015-05-03 20:37:00 -07:00
Brian Ford
9153331303
feat(router): route redirects
2015-05-03 20:37:00 -07:00
Brian Ford
9d5c33f9dd
feat(router): sibling outlets
2015-05-03 20:26:47 -07:00
Brian Ford
2713b7877b
fix(router): navigate on popstate event
2015-05-03 20:26:22 -07:00
Brian Ford
2f0fef8ee1
chore(router): add router bundle to gulpfile
2015-05-01 16:43:19 -07:00
Brian Ford
259f872cea
fix(router): throw if config does not contain required fields
2015-05-01 16:41:25 -07:00
Brian Ford
68ed8f1b6b
refactor(router): rename LocationMock to LocationSpy
2015-05-01 16:41:25 -07:00
Brian Ford
ef7014fe19
feat(router): export routerInjectables
2015-05-01 16:41:25 -07:00
Brian Ford
46ad3552c7
fix(router): infer top-level routing from app component
...
Closes #1600
2015-05-01 16:41:25 -07:00
Brian Ford
4965226f3f
fix(router): use lists for RouteConfig annotations
2015-05-01 15:55:53 -07:00