5881 Commits

Author SHA1 Message Date
vsavkin 7bd6cf9f0a fix: update public api master file 2016-11-07 10:22:39 -08:00
vsavkin 70a6c54dcf fix(router): routerLink should not prevent default on non-link elements 2016-11-03 10:29:18 -07:00
vsavkin 9245e9ec4f fix(router): CanDeactivate receives a wrong component
Closes #12592
2016-11-03 10:29:18 -07:00
Tobias Bosch e76f33f3cc fix(compiler): support multiple components in a view container 2016-11-03 10:29:17 -07:00
Tobias Bosch b60f03e074 refactor(compiler): remove unused constructor query support 2016-11-03 10:29:17 -07:00
Tobias Bosch 4571dffbc9 refactor(compiler): make view.disposable array null if empty 2016-11-03 10:29:17 -07:00
Tobias Bosch d9c0eb7c78 refactor(compiler): remove view.rootNodes and view.projectableNodes
They are replaced by generated visitor functions `view.visitRootNodes` / `view.visitProjectableNodes`.
2016-11-03 10:29:17 -07:00
Tobias Bosch a40e883799 refactor(compiler): inline view.contentChildren 2016-11-03 10:29:17 -07:00
Tobias Bosch b225f03174 refactor(compiler): inline view.viewChildren in generated code 2016-11-03 10:29:17 -07:00
Tobias Bosch 369945d4d6 refactor(compiler): remove unused subscriptions in view 2016-11-03 10:29:17 -07:00
Austin Miller 7968539a17 fix(router): call data observers when the path changes 2016-11-03 10:29:16 -07:00
Tobias Bosch 56b6df8e78 fix(compiler): dedupe NgModule declarations, …
This is important so that we don’t generate things multiple times.
2016-11-03 10:29:16 -07:00
Tobias Bosch fa4c3ab5b0 fix(compiler): Don’t throw on empty property bindings
Closes #12583
2016-11-03 10:29:16 -07:00
Joao Dias 515befbefc style(platform-browser): clean up hammer gestures 2016-11-03 10:29:16 -07:00
Joao Dias 4d8620cb91 refactor(playground): update gestures playground to use latest hammer.js 2016-11-03 10:29:16 -07:00
Joao Dias ac801898bf style: make internal members accessibility explicit 2016-11-03 10:29:16 -07:00
Joao Dias e107a13aba style: merge imports from the same modules 2016-11-03 10:29:16 -07:00
Joao Dias 3655182d63 style: add missing semicolons 2016-11-03 10:29:15 -07:00
Joao Dias 927fb0493b style: add missing copyright headers 2016-11-03 10:29:15 -07:00
Joao Dias 3c28aeec4a chore(lint): extend linting to all modules and tools 2016-11-03 10:29:15 -07:00
Zaven Muradyan dbd91473fc fix(core): improve error when multiple components match the same element
Closes #7067
2016-11-03 10:29:15 -07:00
Joao Dias e6a5dc96b0 chore(lint): replace enforce-copyright-header rule with the native equivalent 2016-11-03 10:29:15 -07:00
Joao Dias fae2316a7f chore(lint): deduplicate tslint dependency 2016-11-03 10:29:15 -07:00
Joao Dias 9f65684214 chore(package): remove unused lodash and sorted-object 2016-11-03 10:29:14 -07:00
Joao Dias 6249680344 chore(npm): clean up clean-shrinkwrap script 2016-11-03 10:29:14 -07:00
Joao Dias 9f9949296a style(tests): clean up testing_public_spec (#11452) 2016-11-03 10:29:14 -07:00
Michael George Attard 07ab92f037 docs(pipes): minor fix and improvements 2016-11-03 10:29:14 -07:00
Joao Dias 35f551da35 chore(lint): replace gulp check-task with tslint no-jasmine-focus rule
fixes #11800
2016-11-03 10:29:14 -07:00
Joao Dias 621685be4b chore(lint): replace duplicate-module-import rule with no-duplicate-imports 2016-11-03 10:29:14 -07:00
Joao Dias ecf71f74aa chore(lint): add vrsource tslint rules dependency 2016-11-03 10:29:14 -07:00
Victor Berchet a9692b6e59 refactor(facade): cleanup Intl facade 2016-11-03 10:29:13 -07:00
Thomas Shafer 23402c4b68 refactor(core): removed extraneous interface from QueryList test 2016-11-03 10:22:10 -07:00
vsavkin ba5c6b5e7c fix(router): rerun resolvers when url changes
Closes #12603
2016-11-03 10:21:53 -07:00
Tobias Bosch 6676073a4f fix(compiler): don’t double bind functions
This fixes a performance regressions introduced by 178fb79b5c.

Also makes properties in the directive wrapper private
so that closure compiler can minify them better.
2016-11-03 10:20:17 -07:00
Tobias Bosch 1aabfbb312 refactor(compiler): generate host listeners in DirectiveWrappers
Part of #11683
2016-11-03 10:20:11 -07:00
gary-b 124b3dfa91 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-11-03 10:20:06 -07:00
Victor Berchet 6a79e6caf9 refactor(upgrade): spec cleanup 2016-11-03 10:20:01 -07:00
Bruno Trigueiro 7275dfba15 fix(upgrade): silent bootstrap failures
fixes #12062
2016-11-03 10:19:54 -07:00
Igor Minar 19273a89b6 chore(release): cut the 2.1.2 release 2.1.2 2016-10-27 20:28:13 +02:00
Igor Minar 957192db6d docs(changelog): update changelog with changes in v2.1.2 2016-10-27 20:28:00 +02:00
Igor Minar 4546f09b0e chore(release): cut the 2.2.0-beta.0 release 2016-10-27 20:16:38 +02:00
Jan Kuri c7e4b86bf1 fix: remove double exports of template_ast 2016-10-27 20:15:18 +02:00
Justin James 3a67339945 docs(reset): change semi-colon to colon in code example
The first code example for the reset function was invalid as it has a semi-colon instead of a colon for the last property in the json object.  Change the semi-colon to a colon.

Closes https://github.com/angular/angular/issues/12531
2016-10-27 20:14:59 +02:00
Victor Berchet 80fef43334 fix(compiler-cli): fix types 2016-10-27 20:14:51 +02:00
Dzmitry Shylovich 80efa4b26b fix(selectors): use Maps instead of objects 2016-10-27 20:14:46 +02:00
Barna Tóth 92103606e1 fix(xsrf): overwrite already set xsrf header 2016-10-27 20:14:40 +02:00
Tobias Bosch 487970f6f2 refactor(compiler): move host properties into DirectiveWrapper
Part of #11683
2016-10-27 20:14:29 +02:00
Tobias Bosch 89a493934f refactor(compiler): make arguments in InlineArray optional. 2016-10-27 20:14:23 +02:00
Tobias Bosch 6f54ed01a8 refactor(compiler): extract createCheckBindingStmt into compiler_util
Part of #11683
2016-10-27 20:14:15 +02:00
Tobias Bosch ef99670343 refactor(compiler): minor cleanups 2016-10-27 20:14:06 +02:00