08c038ebd9
fix(core): xmb serializer uses decimal messaged IDs
...
fixes #12511
2016-11-14 12:55:48 -08:00
77ee27c59e
refactor(): use const and let instead of var
2016-11-12 16:40:17 -08:00
79383ce150
refactor(compiler): never create CompileDirectiveMetadata with not loaded resources ( #12788 )
...
Part of #12787
2016-11-10 14:07:30 -08:00
7cab30f85d
refactor(compiler-cli): add position data to static reflector errors ( #12782 )
2016-11-09 16:29:22 -08:00
4595a61aeb
refactor(compiler-cli): refactor imports in codegen to enable rollup ( #12781 )
2016-11-09 15:17:24 -08:00
a0e9fde653
fix(animations): always normalize style properties and values during compilation ( #12755 )
...
Closes #11582
Closes #12481
Closes #12755
2016-11-08 15:45:30 -08:00
77cbf7f2bb
fix(closure): suppress two more closure compiler checks in codegen ( #12698 )
2016-11-04 15:18:05 -07:00
e3687706c7
refactor(compiler): minor cleanup
2016-11-03 16:29:51 -07:00
7103754178
fix(closure): suppress closure compiler suspiciousCode check in codegen ( #12666 )
2016-11-02 21:11:30 -07:00
ef153649b3
fix(compiler-cli): fix types
2016-10-26 14:56:27 -07:00
178fb79b5c
refactor(compiler): move host properties into DirectiveWrapper
...
Part of #11683
2016-10-26 14:32:24 -07:00
7221632228
fix(CompilerCli): assert that all pipes and directives are declared by a module
2016-10-25 18:17:18 -07:00
c27ce7318f
doc(compiler-cli): align example with style guide ( #12414 )
...
See The Angular Style Guide, [Section 2.2 - Separate File Names with Dots and Dashes](https://angular.io/docs/ts/latest/guide/style-guide.html#!#02-02 )
2016-10-25 00:10:03 +02:00
a838aba756
fix(compiler): walk third party modules ( #12453 )
...
fixes #11889
fixes #12428
2016-10-24 22:28:23 +02:00
bfc97ff2cd
refactor(i18n): extract Extractor from extract_i18n ( #12417 )
...
I put an extractor into your extract so you can extract while you
extract.
This allows integrators to call Extractor as a library. Also refactors
Extractor a bit so that callers need fewer arguments or arguments that
are at the right semantic level.
The refactoring causes no function change.
2016-10-21 15:17:57 -07:00
57051f01ce
refactor: remove most facades ( #12399 )
2016-10-21 15:14:44 -07:00
b0a03fcab3
refactor(compiler): introduce directive wrappers to generate less code
...
- for now only wraps the `@Input` properties and calls
to `ngOnInit`, `ngDoCheck` and `ngOnChanges` of directives.
- also groups eval sources by NgModule.
Part of #11683
2016-10-20 10:41:43 -07:00
c951822c35
refactor(compiler): don’t use the OfflineCompiler
in extract_i18n
2016-10-20 10:41:43 -07:00
acda82c1ed
refactor(compiler): remove private exports
...
All of `@angular/compiler` is private, so we can export
everything we need directly.
2016-10-20 10:41:43 -07:00
38e2203b24
refactor(core): delete unused reflector code
2016-10-17 23:17:34 -07:00
8c477b2f45
fix(compiler-cli): don't clone static symbols when simplifying annotation metadata ( #12158 )
2016-10-11 15:47:44 -07:00
71b7654660
fix(compiler-cli): remove peerDependency on @angular/platform-server ( #12122 )
...
There is no runtime dependency from the compiler-cli on @angular/platform-server - it was most likely added to package.json by mistake.
2016-10-06 15:16:41 -07:00
eaaec6979c
fix(compiler-cli): remove unused parse5 dependency from package.json
...
This was added in error or is an obsolete dependency. We don't need parse5 for the compiler-cli's runtime.
2016-10-06 15:16:22 -07:00
c9b765f5c0
refactor(compiler): module collector is reusable ( #12095 )
2016-10-06 15:10:44 -07:00
f1cfddf6d6
refactor(benchmarks): add index_aot
to support AoT bootstrap. ( #12105 )
...
Note: This only make sure it can compile the AoT version, but does not yet use it in e2e tests.
2016-10-06 08:37:37 -07:00
cf269d9ff4
refactor: add license header to JS files & format files ( #12081 )
2016-10-04 20:39:20 -07:00
43d3a84df3
Revert "refactor: add license header to JS files & format files ( #12035 )"
...
This reverts commit 8310c91823
.
2016-10-04 14:06:41 -07:00
8310c91823
refactor: add license header to JS files & format files ( #12035 )
2016-10-04 13:15:49 -07:00
b64b5ece65
refactor(facade): Remove most of StringMapWrapper facade. ( #12022 )
...
This change mostly automated by
12012b07a2
with some manual fixes.
2016-10-03 16:46:05 -07:00
c3c9ecb302
text(offline compiler): fix expected output
2016-09-30 17:59:43 -07:00
9a049be67f
feat(Parse5): update to the latest version 2.2.1
...
fixes #6237
2016-09-30 10:46:49 -07:00
0286956107
refactor(facade): Inline isBlank called with object-type argument ( #11992 )
2016-09-30 09:26:53 -07:00
1564042fe8
fix(ngc): allow ReflectorHost passed as argument to CodeGenerator#create ( #11951 )
2016-09-27 17:12:57 -07:00
41c8c30973
chore(lint): remove unused imports ( #11923 )
...
This was done automatically by tslint, which can now fix issues it finds.
The fixer is still pending in PR https://github.com/palantir/tslint/pull/1568
Also I have a local bugfix for https://github.com/palantir/tslint/issues/1569
which causes too many imports to be deleted.
2016-09-27 17:12:25 -07:00
cb657c4b55
docs: update descriptions in package.jsons
2016-09-14 16:44:39 -07:00
42d442dcd5
refactor(core): add a name to all decorators and other fixes
2016-09-12 22:47:54 -07:00
63e15ffaec
refactor(core): remove …Metadata
for all decorators and use the decorator directly.
...
BREAKING CHANGE:
- all `…Metadata` classes have been removed. Use the corresponding decorator
as constructor or for `instanceof` checks instead.
- Example:
* Before: `new ComponentMetadata(…)`
* After: `new Component(…)`
- Note: `new Component(…)` worked before as well.
2016-09-12 22:47:54 -07:00
1b15170c89
refactor(core): simplify decorators
...
Every decorator now is made of the following:
- a function that can be used
as a decorator or as a constructor. This function
also can be used for `instanceof` checks.
- a type for this function (callable and newable)
- a type that describes the shape of the data
that the user needs to pass to the decorator
as well as the instance of the metadata
The docs for decorators live at the followig places
so that IDEs can discover them correctly:
- General description of the decorator is placed on the
`...Decorator` interface on the callable function
definition
- Property descriptions are placed on the interface
that describes the metadata produces by the decorator
2016-09-12 22:47:54 -07:00
d296298282
fix(build): prevent package tsconfigs from shadowing main tsconfig ( #11454 )
2016-09-08 15:01:22 -07:00
9e2ec7a1aa
fix(ngc): use the compilerHost to detect file existence ( #11418 )
2016-09-07 16:24:52 -07:00
aa9b617c9d
fix(compiler): correctly type event handler proxy functions
2016-09-06 11:44:56 -07:00
c31535982c
fix(ngc): prepend a rootDir when assuming a file exists ( #11291 )
...
Otherwise we'll later try to resolve the file under one of the rootDirs and won't find it.
2016-09-02 14:52:14 -07:00
5e5ae3cde6
fix(ngc): propagate errors to main ( #11214 )
2016-09-01 16:54:37 -07:00
046c1a8a25
fix(compiler-cli): update package.json to tsc-wrapped@0.3.0
2016-08-31 16:49:14 -07:00
2b20db6c5a
chore: update to typescript@2.0.2 - the currect 2.0 rc
2016-08-30 21:07:45 -07:00
979657989b
fix(packages): use ES modules for primary build ( #11120 )
2016-08-30 18:07:40 -07:00
d7de5c4f8e
refactor(compiler): replace CompileIdentifierMap
with regular Map
...
closes #11145
Also rename `CompileIdentifierMetadata.runtime` into `CompileIdentifierMetadata.reference`.
Also remove `CompileIdentifierMetadata.equalsTo` as
now it is enough to just check the `reference` fields for equality.
2016-08-29 12:45:27 -07:00
51877ef4ed
fix(compiler): no longer uses assetCacheKey for token identity.
...
Fixes #10545 , Fixes #10538
2016-08-29 12:45:02 -07:00
6c77d7182a
fix(compiler-cli): make ngc to work on Windows ( #10919 )
...
Fixes #10792
2016-08-26 15:41:50 -07:00
e220a80093
feat(codegen): Add an error message when the locale is not provided ( #11104 )
2016-08-26 15:38:48 -07:00