36a423fac8
feat(Compiler): case sensitive html parser
...
close #4417
Closes #5264
2015-11-19 18:55:04 +00:00
adb87562bb
feat(Compiler): case sensitive html parser
2015-11-19 18:55:04 +00:00
0db02523d3
fix(dart/transform): Omit bootstrap.dart in ng_deps
...
Special-case to avoid copying the bootstrap{,_static}.dart
import when creating `.ng_deps.dart` files.
Closes #5315
Closes #5348
2015-11-18 22:46:29 +00:00
3c43a8c549
feat(bootstrap): add platform and app initializers
...
Often some init logic needs to run when a platform or an application is boostrapped.
For example, boostraping a platform requires initializing the dom adapter.
Now, it can be done as follows:
new Provider(PLATFORM_INITIALIZER, {useValue: initDomAdapter, multi: true}),
All platform initializers will be run after the platform injector has been created.
Similarly, all application initializers will be run after the app injector has been
created.
Closes #5355
2015-11-18 22:22:32 +00:00
3fa287aae2
refactor(EventEmitter): rename .next() to .emit()
...
BREAKING CHANGE:
EventEmitter#next(value) is deprecated, use EventEmitter#emit(value)
instead.
Closes #4287
Closes #5302
2015-11-18 22:16:40 +00:00
929abb9aa3
chore(router): add tests for interaction between router-outer and
...
@ViewChild.
Closes #5164
2015-11-18 21:23:08 +00:00
837efc2a0f
chore(bundles): properly publish router.min.js bundle
...
Fixes #5244
Closes #5253
2015-11-18 19:13:23 +00:00
3eced6e1a9
chore(publish): use pub/npm_prepare.sh script to prep published builds
...
Closes #5356
2015-11-18 19:02:51 +00:00
c53a63acca
chore(build): spin off pub_prepare.sh from pub_publish.sh
2015-11-18 19:02:51 +00:00
621fa490c7
chore(build): spin off npm_prepare.sh from npm_publish.sh
2015-11-18 19:02:51 +00:00
9691c045a7
chore(build): move publish-build-artifacts.sh to scripts/publish
2015-11-18 19:02:51 +00:00
c855c5ddc2
chore(saucelabs): update browser versions
...
Closes #5336
2015-11-18 18:33:09 +00:00
2c8fcec432
refactor(core): move render/dom from core
...
Currently, core depends on DomRenderer, which depends on the browser.
This means that if you depend on angular2/core, you will always
pull in the browser dom adapter and the browser render, regardless
if you need them or not.
This PR moves the browser dom adapter and the browser renderer out of core.
BREAKING CHANGE
If you import browser adapter or dom renderer directly (not via angular2/core),
you will have to change the import path.
2015-11-17 15:53:55 -08:00
60a2bbb226
chore(build): git config prior to committing
2015-11-17 14:57:22 -08:00
d013fc7604
docs(cleanup): fix bad h3 markup and normalize headings
...
Closes #5341
2015-11-17 22:10:20 +00:00
dd1e212402
chore(build): revert presubmit-queue-setup.sh; fix git login in publish-build-artifacts.sh
2015-11-17 13:53:57 -08:00
ac38812809
fix(router): apply APP_BASE_HREF when using PathLocationStrategy
...
Correctly initializes APP_BASE_HREF, and falls back to the `<base>` tag in the absence
of an APP_BASE_HREF provider.
Closes #5028
2015-11-17 21:19:22 +00:00
b571baab68
fix(examples): Don't generate Dart code for TS examples in nested directories.
2015-11-17 11:24:02 -08:00
a31e2f5f47
fix(dart/transform): Consider of line numbers in inliner_for_test
...
Ensure that line numbers aren't changed by inliner_for_test.
Fixes #5281
Closes #5285
2015-11-17 01:51:58 +00:00
bcd926adc5
fix(http): refactor 'require' statements to 'import' declarations for Rx
...
Looks like this is some old leftover code from the times when Rx didn't distribute typings via npm.
Closes #5287
2015-11-17 01:26:54 +00:00
b22eddf1cb
fix(core): Run component disposal before destroyRootHostView() to avoid crash if change detection is triggered.
...
Closes #5226
2015-11-17 00:58:13 +00:00
857bef9e4f
doc(NgSwitch): update API doc
...
Closes #4423
2015-11-17 00:54:32 +00:00
4e585bca28
feat(build): add an option to disable type checks when running tests
...
Since editors and IDEs do typechecking and show errors in place,
often there is no benefit to running type checking in our test pipeline.
This PR allows you to disable type checking:
gulp test.unit.js --noTypeChecks
This commit also makes es6 generation optional.
fix(build): removes unnecessary circular dependencies
Closes #5299
2015-11-17 00:45:49 +00:00
94cf671c15
docs(pipes): Add examples for all Angular pipes.
...
Closes #5103
2015-11-17 00:15:17 +00:00
ad6fb067e9
fix(dart): fix the static_browser platform not to include compiler
...
Closes #5321
2015-11-16 23:29:36 +00:00
c03fb36e11
docs(cheatsheet): add missing bootstrapping section
...
Closes #5269
Closes #5269
2015-11-16 23:15:03 +00:00
bccd8a719d
build(browserstack): add Windows Phone to CI
...
Closes #5138
2015-11-16 22:48:05 +00:00
4e1d9c93df
Revert "feat(Compiler): case sensitive html parser"
...
This reverts commit 86aeb8be0a
.
2015-11-16 14:37:00 -08:00
0611239a0e
Revert "feat(Compiler): case sensitive html parser"
...
This reverts commit a8edc1eb58
.
2015-11-16 14:36:39 -08:00
c5045ac8fe
chore(build): print commands in presubmit-queue-setup.sh
2015-11-16 14:22:54 -08:00
41dfaf393b
build(analytics): track bundle size
...
This will send bundle sizes (before and after gzip) to Google Analytics so that we can
track bundle size over time for every bundle we produce.
Closes #5294
2015-11-16 21:42:50 +00:00
96076862cf
build(gulp): remove unnecessary dependency duplication
2015-11-16 21:42:49 +00:00
a8edc1eb58
feat(Compiler): case sensitive html parser
...
close #4417
Closes #5264
2015-11-16 21:09:09 +00:00
86aeb8be0a
feat(Compiler): case sensitive html parser
2015-11-16 21:09:09 +00:00
e274ff8a69
Revert "feat(renderer): use a comment instead of an element when stamping out <template>
elements"
...
This reverts commit bb9cfe6f36
.
2015-11-16 11:15:28 -08:00
9985968d89
fix(publish): syntax fix
2015-11-13 18:31:40 -08:00
bb9cfe6f36
feat(renderer): use a comment instead of an element when stamping out <template>
elements
...
Closes #4805
Closes #5227
2015-11-14 01:04:20 +00:00
406ace9b25
chore(build): deploy build artifacts to build branches
...
- use orphan branch
- use upstream .gitignore
- use short SHA in commit messages
- tag commits with source SHA
Closes #5203
2015-11-14 00:36:47 +00:00
6d70cd78ec
fix(build): fix npm install not to depend on minimist
...
Closes #5282
2015-11-13 23:56:43 +00:00
a70a919d14
chore(browserstack): deactivate failing Android browsers
...
Closes #5158
2015-11-13 23:52:39 +00:00
b16fa45d83
docs(*): onContentInit --> afterContentInit
...
Closes #5263
2015-11-13 23:25:02 +00:00
1d9c44b34f
build: add --projects a.k.a the turbo button
...
we can now filter build graph via --project flag to speed up build performance
usage:
gulp test.unit.js --project=angular2,angular2_material
Closes #5272
2015-11-13 22:50:38 +00:00
2ecbd0eaaf
build(analytics): fix bug that prevented us from collecting OS info
2015-11-13 22:50:38 +00:00
8ab7781b2d
build(analytics): keep track of --projects value via a custom dimension
2015-11-13 22:50:38 +00:00
cf0183ac7f
build(DiffingPluginWrapper): ignore null/undefined input trees
...
this is handy to conditionally create build graph but keep mergeTree() declarative - any input tree passed into
mergeTree that is null or undefined will simply be ignored
2015-11-13 22:50:38 +00:00
2ce9e95fc1
docs(DEVELOPER.md): update info about clang-format setup
...
There is no need to recommend installing clang-format globally.
2015-11-13 22:50:38 +00:00
49e261efd8
build(gulp): add gulpfile.js to files formatted by clang-format
2015-11-13 22:50:38 +00:00
9c94ab1e8e
style(build): clang format gulpfile.js
2015-11-13 22:50:38 +00:00
d1d88c32c3
build(analytics): start tracking gulp startup latency
...
This measures how long does it take for gulp to start the first task up after being invoked from command line.
I'm suspecting that we can optimize this significantly, but let's start tracking it first.
2015-11-13 22:50:38 +00:00
63639895ad
chore(package): update karma-browserstack-launcher to 0.1.7
...
Closes #5276
2015-11-13 22:20:50 +00:00