627 Commits

Author SHA1 Message Date
Patrice Chalin
40c646eced chore: remove unnecessary bad-code-excerpt-skip-patterns (#2745)
* chore: remove unnecessary bad-code-excerpt-skip-patterns

* chore(ts/style-guide): fix BAD FILENAME in code-tabs
2016-11-04 14:40:21 +00:00
Ward Bell
fa99a8b0b2 docs(toh-5): dashboard uses [routerLink] bindings #998 (#2718)
* docs(toh-5): dashboard uses [routerLink] bindings #998
closes #998

* chore: temp add toh-5 to bad-code-excerpt-skip-patterns.txt
2016-11-03 10:25:01 -07:00
gary-b
a664aba2c9 build: ensure necessary symlinks created on windows
Bash scripts create and tear down symlinks on Windows. These use the
packages.txt file as input to identify the symlink locations. The
scripts ignored the last line in packages.txt if it didn't end with a
newline. Also, one location was missing. Resolve both issues.

Closes #12422
2016-10-27 12:13:39 -07:00
Victor Berchet
a838aba756 fix(compiler): walk third party modules (#12453)
fixes #11889
fixes #12428
2016-10-24 22:28:23 +02:00
Peter Bacon Darwin
d6791ff0e0 feat(ngUpgrade): add support for AoT compiled upgrade applications
This commit introduces a new API to the ngUpgrade module, which is compatible
with AoT compilation. Primarily, it removes the dependency on reflection
over the Angular 2 metadata by introducing an API where this information
is explicitly defined, in the source code, in a way that is not lost through
AoT compilation.

This commit is a collaboration between @mhevery (who provided the original
design of the API); @gkalpak & @petebacondarwin (who implemented the
API and migrated the specs from the original ngUpgrade tests) and @alexeagle
(who provided input and review).

This commit is an starting point, there is still work to be done:

* add more documentation
* validate the API via internal projects
* align the ngUpgrade compilation of A1 directives closer to the real A1
  compiler
* add more unit tests
* consider support for async `templateUrl` A1 upgraded components

Closes #12239
2016-10-19 15:27:49 -07:00
Filipe Silva
5042b3021c chore(test): add protractor4 (#2233)
* chore(test): add protractor4

* fix lint, remove boilerplate files, fix less gen

* separate scripts between package.json

* ignore a2docs.css in boilerplate

* remove tslint in _examples
2016-10-06 15:25:52 -07:00
Tobias Bosch
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
Victor Berchet
cf269d9ff4 refactor: add license header to JS files & format files (#12081) 2016-10-04 20:39:20 -07:00
Chuck Jazdzewski
43d3a84df3 Revert "refactor: add license header to JS files & format files (#12035)"
This reverts commit 8310c918236c2bc085a0fd4278ee96106c5c2f1a.
2016-10-04 14:06:41 -07:00
Victor Berchet
8310c91823 refactor: add license header to JS files & format files (#12035) 2016-10-04 13:15:49 -07:00
Igor Minar
9f1c82537e ci(travis): increase node's heap size to prevent OOM on travis (#11869) 2016-09-24 06:04:29 +09:00
Jesús Rodríguez
693f6ae462 chore: rename Angular 2 to simply Angular (#2402) 2016-09-19 20:24:40 -07:00
Filipe Silva
d4b22ec8e6 chore: fix api docs issue on angular 2.0.0 (#2365) 2016-09-15 17:47:12 +01:00
Igor Minar
4e6c41b3a1 build(examples): work around protractor typings issues and fix existing type errors
This works around the typings issues until we have a build of protractor with typings that don't
polute global types via ambient type definitions
2016-09-13 21:48:58 -07:00
Patrice Chalin
761c256881 chore(travis): use latest Dart SDK (#2320)
Dartdoc has been fixed so we no longer need to be pinned to SDK v1.18.1.
2016-09-13 12:21:07 -07:00
Igor Minar
730415e048 build: temporarily disable building and testing of documentation examples
This is due to protractor typings issue that breaks the compilation.
2016-09-12 23:06:38 -07:00
Misko Hevery
051a6ebe12 feat(zone): upgrade to zone.js@0.6.21 2016-09-12 11:48:24 -07:00
Igor Minar
71b7f102dc fix(ci): bump LATEST_RELEASE to 2.0.0-rc.6 2016-09-12 11:12:39 -07:00
Rob Wormald
d296298282 fix(build): prevent package tsconfigs from shadowing main tsconfig (#11454) 2016-09-08 15:01:22 -07:00
Matias Niemelä
ed2ebeb52a fix(build): test example directories with unit and e2e tests (#11296) 2016-09-07 16:04:33 -07:00
Marc Laval
8858ebc4ab ci: update SauceLabs badge when running CI on master (#11352) 2016-09-06 12:07:48 -07:00
Marc Laval
5ee0f09b92 build: update the symlinks scripts for Windows to new packaging (#11192) 2016-09-06 10:25:59 -07:00
Igor Minar
a45769a0a2 test(offline_compiler_test.sh): lock down npm dependencies 2016-09-02 15:58:46 -07:00
Igor Minar
2371d22d49 chore: remove obsolete dart related files 2016-09-02 15:58:46 -07:00
Victor Berchet
53cf71430f build(publish): shallow fetch to improve perfs (depth=1) 2016-09-01 16:53:51 -07:00
Victor Berchet
04d02b55d1 build(publish): replace version placeholders in .min.js files 2016-09-01 16:53:51 -07:00
Miško Hevery
18be339ee9 chore: upgrade chrome to v53 (#11213) 2016-08-31 16:59:17 -07:00
Tobias Bosch
6ea5b05e7c refactor(benchmarks): make setup nicer
- simplify and correct systemjs config
- remove deep imports into Ng2 packages to work with bundles
- have separate Ng2 and Polymer bootstrap files
2016-08-31 11:24:22 -07:00
Tobias Bosch
6dceaf209d fix(benchmarks): recreate setup for running benchmarks 2016-08-31 08:24:10 -07:00
Tobias Bosch
2ab07d9418 chore: cleanup stale protractor files 2016-08-31 08:24:10 -07:00
Victor Berchet
24e046fd6a ci(publish): fix multiples umd files (#11179) 2016-08-30 19:58:07 -07:00
Miško Hevery
979657989b fix(packages): use ES modules for primary build (#11120) 2016-08-30 18:07:40 -07:00
Patrice Chalin
eb76eaaa8b chore(cache.sh): cleanup options and usage (#2221)
* chore(cache.sh): cleanup options and usage

* add cd to project root
2016-08-30 14:03:05 -07:00
Patrice Chalin
b992c55e42 chore(cache): helper script enhancements (#2210) 2016-08-26 16:36:13 -07:00
Patrice Chalin
fd8fb70f07 chore(travis): anchor Dart SDK version to 1.18.1 (#2204)
Because dartdoc from 1.19.0 has issues -
https://github.com/dart-lang/dartdoc/issues/1233.
2016-08-26 13:19:16 -07:00
Patrice Chalin
aa439d28c5 chore(travis): report bad code excerpts (BAD FILENAME) in docs (#2154)
* chore(travis): report bad code excerpts (BAD FILENAME)

* Only ignore build dir under dart dir

Have the shredder ignore `**/dart/build/**`.
2016-08-23 10:16:47 -07:00
Alex Eagle
cd8cbd3762 fix(ngc): don't codegen foo.d.ngfactory.ts from foo.d.ts (#10833) 2016-08-18 10:11:06 -07:00
Victor Berchet
f6a7d6504c feat(i18n): xliff integration 2016-08-15 22:28:38 -07:00
Victor Berchet
161a4dd15f feat(i18n): Add NgLocaleLocalization which returns plural cases given a locale (#10744) 2016-08-12 14:46:06 -07:00
Matias Niemelä
6580d67875 feat(i18n): pass translation config directly into ngc (#10622) 2016-08-12 14:45:36 -07:00
Patrice Chalin
35b54383c2 docs(toh-5): add file to cache (#2102)
* toh-pt5: cached version before new router was introduced

* toh-pt5: refreshed cached copy from latest (post-RC5)
2016-08-12 13:39:17 -07:00
Patrice Chalin
a771a6e0d0 chore(ts/cache): add glossary (#2098) 2016-08-12 11:14:44 -07:00
Patrice Chalin
b772079bc9 chore(install): fix install scripts & improve local usage (#2041)
Fix a few minor problems with Travis install & build scripts.
Other changes allow `before-install.sh` to be run locally.
2016-08-11 17:44:42 -07:00
Patrice Chalin
de41148457 chore(cache): cache management script (#2090)
Cf. #2088.
2016-08-11 14:39:16 -07:00
Misko Hevery
f9da3c98d6 chore: remove deprecated router 2/2 2016-08-09 15:24:14 -07:00
Patrice Chalin
5ce8304227 docs(dart): decouple from TS .jade files temporarily (#2044)
Addresses #2043.
2016-08-08 15:48:45 -07:00
Jason Choi
3fcd6fd93f chore(benchpress): make benchpress compile
Also adds compiling benchpress to the build scripts to verify that.
2016-08-04 10:08:37 -07:00
Tobias Bosch
46b212706b refactor(core): change module semantics
This contains major changes to the compiler, bootstrap of the platforms
and test environment initialization.

Main part of #10043
Closes #10164

BREAKING CHANGE:
- Semantics and name of `@AppModule` (now `@NgModule`) changed quite a bit.
  This is actually not breaking as `@AppModules` were not part of rc.4.
  We will have detailed docs on `@NgModule` separately.
- `coreLoadAndBootstrap` and `coreBootstrap` can't be used any more (without migration support).
  Use `bootstrapModule` / `bootstrapModuleFactory` instead.
- All Components listed in routes have to be part of the `declarations` of an NgModule.
  Either directly on the bootstrap module / lazy loaded module, or in an NgModule imported by them.
2016-07-26 07:04:10 -07:00
mlaval
ca16fc29a6 build: fix and document the symlinks scripts for Windows
Closes #10213
2016-07-26 09:52:11 +02:00
Victor Berchet
b652a7fc9f chore: remove obsolete files (#10240) 2016-07-22 16:18:31 -07:00