Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docsbranch #6477

Closed
wants to merge 614 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
614 commits
Select commit Hold shift + click to select a range
29f75c3
chore(saucelabs): MdButton tests time out
marclaval Sep 18, 2015
4f56a01
fix(shims): add requestAnimationFrame shim for IE9 and Android
marclaval Sep 17, 2015
bffa2cb
feat(animate): cross-browser compatibility
marclaval Sep 17, 2015
7470ad1
refactor(compiler): various cleanups
tbosch Sep 18, 2015
9d2d674
docs(change_detection): add docs to change detection exceptions
vsavkin Sep 22, 2015
7c2c1a8
docs(change_detection): add docs to ChangeDetectorRef
vsavkin Sep 22, 2015
225eab8
cleanup(change_detection): make Locals private
vsavkin Sep 24, 2015
ef61b81
fix(bundles): add explicit format: cjs for empty files.
rkirov Sep 24, 2015
ce6b364
docs(core): add docs to Property and Event
vsavkin Sep 24, 2015
4efc4a5
feat(query): remove the 3-query-per-element limit
vsavkin Sep 23, 2015
4e5c663
docs(di): fix incorrectly fomatted code blocks
btford Sep 24, 2015
711ab6d
docs(forms): Add documentation and live examples for NgForm, NgFormCo…
alxhub Sep 23, 2015
0a88e7b
feat(change detection): export SimpleChange
vicb Sep 23, 2015
5f640c7
refactor(compiler_benchmark): simplify by using bootstrap and DI
tbosch Sep 24, 2015
9c97690
fix(test): StyleCompiler tests failing in Android browsers
marclaval Sep 24, 2015
0ed6fc4
fix(compiler): minor cleanups and fixes
tbosch Sep 18, 2015
1cf4575
feat(render): add generic view factory based on the template commands
tbosch Sep 25, 2015
2ee32fb
chore(typescript 1.6 upgrade): fix build.tools
alexeagle Sep 22, 2015
7a53f82
chore(typescript 1.6 upgrade): fix build.js and docs
alexeagle Sep 23, 2015
5bf6a3a
chore(typescript): fixes dart failures and linter
vsavkin Sep 25, 2015
0319417
feat(Binding): improve errors
vicb Sep 25, 2015
7ee295a
docs(compiler): compiler related api docs
IgorMinar Sep 18, 2015
7771ef4
refactor: rename all "atIndex" parameters to just "index"
IgorMinar Sep 18, 2015
d348e50
docs(Type): improve api docs
IgorMinar Sep 21, 2015
af9f916
docs(compiler): compiler/view related api docs
IgorMinar Sep 21, 2015
e7d65ad
fix(dart/transform): Handle export cycles
Sep 25, 2015
589ce31
feat(transformers): record setters for query fields
vsavkin Sep 25, 2015
3dd9919
chore(ts2dart): remove hand-written ts2dart typings
alexeagle Sep 25, 2015
a88e6f3
refactor(http): use Observables in Http backends
robwormald Sep 25, 2015
1f2302e
fix(dart/transform): Fix transformer output declaration
Sep 21, 2015
7714d6a
fix(forms): avoid issues with nulls checking on validation status and…
alxhub Sep 23, 2015
e2f5d87
fix(services): export title service
cexbrayat Sep 19, 2015
4319563
docs(http): add language annotations and fix method value to enum
mgechev Sep 24, 2015
6a63969
refactor(http): remove useless constant
mgechev Sep 25, 2015
7ae74cf
docs(forms): FORM_BINDINGS and FORM_DIRECTIVES
alxhub Sep 24, 2015
a7b8624
docs(forms): Documentation and examples for Control, ControlGroup, an…
alxhub Sep 28, 2015
cd0e9c9
chore(zone.js): update zone.js to 0.5.6
vicb Sep 28, 2015
8ff65a3
refactor(compiler): don’t require `id` in metadata and use `appId`
tbosch Sep 28, 2015
b4fe590
chore(ts): fix TODOs that were pending on 1.6 upgrade
alexeagle Sep 25, 2015
4731714
chore(saucelabs): update browsers list
marclaval Sep 25, 2015
e1853b3
chore(saucelabs): add matrix badge to README.md
marclaval Sep 28, 2015
fb97961
chore(zone.js): update to 0.5.7
vicb Sep 29, 2015
9b7378d
chore(typings): remove traceur-runtime.d.ts
alexeagle Sep 29, 2015
3aa2047
feat(query): make QueryList notify on changes via an observable
vsavkin Sep 30, 2015
eafa482
chore(saucelabs): add latest Safaris
marclaval Sep 29, 2015
5557a57
chore(saucelabs): fix badge
marclaval Sep 29, 2015
cec4b36
fix(change_detection): _throwError should not mask the original excep…
vsavkin Sep 30, 2015
7b2d8fc
refactor(forms): extract NgControlStatus
vsavkin Sep 29, 2015
00a4b2e
feat(forms): make NgControl -> NgValueAccessor dependency unidirectional
vsavkin Oct 1, 2015
33593cf
fix(build): Use Angular's testability API to wait for end of e2e tests
marclaval Aug 27, 2015
adbfd29
feat(core): renames Property into Input and Event into Output
vsavkin Oct 1, 2015
a87ebb2
docs(CORE_DIRECTIVES): improve docs for CORE_DIRECTIVES
pkozlowski-opensource Sep 22, 2015
617acf4
docs(core): add docs to HostBinding and HostListener
vsavkin Oct 1, 2015
074e289
chore(upgrade): inline the tests for better readability
mhevery Sep 23, 2015
a562230
fix(upgrade): assert correct interleaving of evaluation.
mhevery Sep 30, 2015
52236bd
refactor(transformer): use the new compiler
Oct 1, 2015
841f878
refactor(transformer): precompile stylesheets
yjbanov Sep 30, 2015
30ca043
refactor(transformer): apply properties/events rename
tbosch Oct 1, 2015
76247b7
refactor(compiler): use the new compiler everywhere
tbosch Oct 1, 2015
b154f1a
refactor(analyzer): remove analyzer code
tbosch Oct 1, 2015
d21c7bd
refactor(compiler): remove unused code
tbosch Oct 2, 2015
43cca2d
fix(build): lock dart dev version
tbosch Oct 2, 2015
9f4fa1a
refactor(core): move core/compiler to core/linker
tbosch Oct 2, 2015
6248a5e
refactor(core): move core/compiler to core/linker, adjust imports
tbosch Oct 2, 2015
aa3d941
refactor(core): rename angular2/src/compiler -> angular2/src/core/com…
tbosch Oct 2, 2015
e8e57cd
refactor(core): adjust imports for rename angular2/src/compiler -> an…
tbosch Oct 2, 2015
a110ce9
doc(LifecycleHooks): update API doc
vicb Sep 24, 2015
a251df9
docs: api docs for Renderer and all the related apis
IgorMinar Sep 29, 2015
34518f0
feat(http): Add support for strings as http method names
mgechev Sep 21, 2015
2450a3c
refactor(core): move files to the right place
tbosch Oct 2, 2015
6b5d345
refactor(core): adjust imports for move files to the right place
tbosch Oct 2, 2015
13161ae
refactor(core): move APP_ID from render/dom/dom_tokens into applicati…
tbosch Oct 2, 2015
4342a1e
refactor(core): move DI bindings of compiler into core/compiler/compi…
tbosch Oct 2, 2015
6ae9686
fix(benchpress): update build step, read and config
tbosch Sep 29, 2015
b44c13b
fix(compiler): const is not supported in IE9 and IE10
marclaval Oct 2, 2015
5ea6dc8
refactor(dart/transform): Remove reflection_entry_points
Oct 1, 2015
c9901c5
feat(core): support properties and events in addition to inputs and o…
vsavkin Oct 2, 2015
01fb06a
chore(http): Use Observables in Http
robwormald Oct 1, 2015
decdbea
fix(dart/transformer): Correctly handle const object annotations
Oct 2, 2015
75cf0ae
chore(changelog): update changelog to alpha 38
jeffbcross Oct 3, 2015
c7e9f86
chore(package): bump version to alpha 38
jeffbcross Oct 3, 2015
2ebc74d
fix(npm_publish): update transitive typings provided in npm distribution
jeffbcross Oct 3, 2015
7c4199c
chore(typings): remove StringMap
alexeagle Oct 2, 2015
208f3d4
fix(typings): repair broken type-checking for StringMap
alexeagle Oct 3, 2015
150cc22
fix(http): add missing semicolon
IgorMinar Oct 3, 2015
9f688d3
chore: remove devDependencies from package.json published to npm
pkozlowski-opensource Oct 3, 2015
fc764b4
build(travis): bump node version to 4.1.1 and npm to 2.14.5
IgorMinar Sep 25, 2015
36562ec
build(gulp): bump check-environment node version to 4.1.1 and npm to …
IgorMinar Sep 25, 2015
1b20873
build(npm): update chokidar and karma* dependencies
IgorMinar Sep 25, 2015
5ff1eb7
build(npm): upgrade gulp-sass to v2.0.4
IgorMinar Sep 25, 2015
4b0013c
build(npm): resolve shrinkwrap conflicts after rebase
IgorMinar Sep 26, 2015
2628631
fix(tslint): fix d.ts file paths for node_modules dependencies
IgorMinar Sep 25, 2015
a649992
fix(karma-dart-evalcache): make the code compatible with karma 0.13.x
IgorMinar Sep 26, 2015
39e9bb6
fix(karma): socket.io 1.x transport is now called 'polling' instead o…
IgorMinar Oct 3, 2015
9fc9704
test(tools): temporarily disable tests that depend on mock-fs
IgorMinar Sep 26, 2015
9fa57d0
style(gulp): make code more readable
IgorMinar Sep 26, 2015
e21bf12
build(travis): add travis log folding for verbose tasks
IgorMinar Sep 26, 2015
758efba
fix(gulp): use the new karma.Server api
IgorMinar Sep 27, 2015
14b194e
chore(ci): update sauce connect to 4.3.11
juliemr Oct 1, 2015
649d310
chore: remove traceur from package.json published to npm
pkozlowski-opensource Oct 3, 2015
6fe8b85
fix(render): keep bindings of components in content and view in the r…
tbosch Oct 4, 2015
a9aef8e
fix(core): set `ViewEncapsulation.Emulated` as the default again
tbosch Oct 5, 2015
0299d4a
fix(core): keep styles for `ViewEncapsulation.Native` isolated per co…
tbosch Oct 5, 2015
0b3e4fa
refactor(core): move `ViewEncapsulation` and `ViewType` to the right …
tbosch Oct 5, 2015
09371a3
feat(upgrade): support binding of Ng2 form Ng1
mhevery Oct 1, 2015
f638834
docs(CHANGELOG): add breaking change for the NgNonBindable directive
pkozlowski-opensource Oct 3, 2015
349416e
test(dart/transform): e2e test inliner_for_test
Oct 3, 2015
74c852b
docs(developer.md): update node version in setup instructions
IgorMinar Oct 5, 2015
ae6f549
chore(typings): re-enable type-checking on the browser trees
alexeagle Oct 4, 2015
6093e28
fix(typings): repair broken typechecks
alexeagle Oct 5, 2015
74c0daa
chore(build): minify bundles in parallel
pkozlowski-opensource Oct 3, 2015
076191c
chore(bundles): publish minified router bundle
pkozlowski-opensource Oct 3, 2015
9679fc9
fix(shims): Don't rely on prefixed requestAnimationFrame
mgol Sep 28, 2015
4ebb1a9
fix: add test_lib.d.ts to type definitions in generated package.json
IgorMinar Oct 4, 2015
4d9de66
chore: remove dead code
IgorMinar Oct 5, 2015
6117a70
chore(build): copy bundles so they can be used with e2e tests
btford Oct 5, 2015
fd5cd84
chore(zone.js): update to 0.5.8
vicb Oct 6, 2015
bb4fd2d
build(gulp): simplify Dart transformer tasks
Oct 5, 2015
8e1d2fb
feat(upgrade): support binding of Ng1 form Ng2
mhevery Oct 4, 2015
b6210be
chore(changelog): update change log to alpha.39
tbosch Oct 6, 2015
a4869c8
build(dart): Remove unused Dart benchmarks
Oct 6, 2015
5040a8e
chore(saucelabs): fallback from Firefox dev to beta
marclaval Oct 6, 2015
75187d6
chore: remove unused docs/dgeni tasks and packages
IgorMinar Oct 6, 2015
4ac2962
refactor(dart/transform): Compose NgDepsModel & NgMeta phases
Oct 1, 2015
ba6e0e1
fix(dart/transform): Sanitize generated library names
Oct 2, 2015
4a36fd8
fix(core): make .toRx() return Subject
robwormald Oct 6, 2015
f7aa890
chore(docs): rename @private to @internal
alexeagle Oct 2, 2015
f7b7533
chore(test): make e2e tests use the bundles.
rkirov Oct 6, 2015
bd31b01
feat(core): add syntax sugar to make @View optional
vsavkin Oct 7, 2015
a2e7ae5
feat(transformers): update transformers to handle components without …
vsavkin Oct 7, 2015
d386896
example(core): update hellow world example to use components without …
vsavkin Oct 7, 2015
dea6a45
cleanup(core): making @View optional
vsavkin Oct 7, 2015
15ab6f6
fix(location): improve the 'No base href set' error message
IgorMinar Oct 7, 2015
62e14dc
build(bundle): fix angular2/test_lib bundle to reexport test_lib rath…
IgorMinar Oct 6, 2015
b6537ad
refactor(ListWrapper): get ride of ListWrapper.join
vicb Oct 7, 2015
aaa2155
refactor(ListWrapper): get ride of ListWrapper.map
vicb Oct 7, 2015
a0277f1
refactor: add missing types for ts2dart
vicb Oct 7, 2015
a7b2ab7
docs(NgStyle): update docs, add examples
pkozlowski-opensource Oct 5, 2015
4ed642f
refactor(AppRootUrl): simplify the code
vicb Oct 6, 2015
aee1761
refactor(ListWrapper): drop forEach and removeLast
vicb Oct 7, 2015
0757265
feat(dart/transform): Track timing of transform tasks
Oct 7, 2015
5600a95
chore(changelog): mention breaking test API change
yjbanov Oct 7, 2015
c94f239
fix(dart/transform): Write correct ng_deps without deferred imports
Oct 7, 2015
fcc6f2c
refactor(dart/transform): Generate `inputs` setters in `TemplateCompi…
Oct 7, 2015
af11190
chore(ci): update Protractor version, remove custom waits
juliemr Oct 7, 2015
811d4c0
fix(dart/transform): Run DeferredRewriter in the correct phase
Oct 7, 2015
bffab0f
chore(pub): upgrade observe dependency
harryterkelsen Oct 7, 2015
6b00b60
fix(XhrBackend): setRequestHeader takes a string arg
vicb Oct 7, 2015
04b3dee
fix(css): when compiling CSS, leave absolute imports alone
yjbanov Oct 7, 2015
21b53c3
docs(http) remove .toRx() from http calls
ericmdantas Oct 7, 2015
ff77230
chore(bundles): use proper bundle arithmetic for http
pkozlowski-opensource Oct 7, 2015
6d4bd5d
fix(render): recurse into components/embedded templates not until all…
tbosch Oct 8, 2015
ee32b1b
feat(router): allow async routes to be defined with "loader"
btford Oct 8, 2015
6075509
chore(typing): extract abstract superclasses to replace @private cons…
alexeagle Oct 6, 2015
5458036
fix(typings): update test.typings for abstract superclasses
alexeagle Oct 7, 2015
8b725c7
fix(tests): fix tests
vsavkin Oct 8, 2015
d63f3c1
fix benchmarks
vsavkin Oct 8, 2015
d60c7a9
fix(tests): fixes public api spec
vsavkin Oct 8, 2015
14fa007
fix(analyzer): fix dart analyzer errors
vsavkin Oct 8, 2015
bc8c194
temporary ignore warnings about unused unimplemented
vsavkin Oct 8, 2015
bba0248
fix(core): remove NgZone_ and use NgZone instead
vsavkin Oct 8, 2015
f3ab527
resolve rebase conflicts
vsavkin Oct 8, 2015
1100c9b
fix(web-workers): fix bindings
vsavkin Oct 8, 2015
984b6fc
chore(package): update package version for alpha-40
naomiblack Oct 9, 2015
35a61b4
chore(changelog): update change log to alpha-40
naomiblack Oct 9, 2015
075011f
fix(docs): Updated docs for default router location strategy
brandonroberts Oct 5, 2015
cd2050b
docs(router): route alias has to be written in PascalCase
0x-r4bbit Oct 6, 2015
431ac33
refactor($router): removed some redundant code
Sep 27, 2015
1272aff
refactor(ngOutlet): move to typescript
Sep 27, 2015
31f48ae
refactor(ngOutlet): using some typescript features
Sep 27, 2015
597f79e
fix(typings): missing types in ListWrapper typings
alexeagle Oct 9, 2015
c178ad4
fix(typings): fix typings which were previously unchecked
alexeagle Oct 9, 2015
aab0c57
fix(typings): add more missing typings.
alexeagle Oct 9, 2015
a8c34ae
refactor(MapWrapper): drop delete(), get(), forEach() and size
vicb Oct 8, 2015
6207b1a
feat(ngFor): support a custom template
tbosch Oct 9, 2015
393b052
refactor(NgZone): improve types
vicb Oct 9, 2015
95f9846
Produce .d.ts files from our typescript compilation.
alexeagle Oct 2, 2015
867c08a
chore(typings): mark underscore methods @internal.
alexeagle Oct 10, 2015
cd90e6e
feat(ngUpgrade): support for content project from ng1->ng2
mhevery Oct 9, 2015
84c3124
chore(ngUpgrade): cleanup TS errors
mhevery Oct 10, 2015
19c1bd7
feat(ngUpgrade): transclude content from ng2->ng1
mhevery Oct 10, 2015
90191ce
refactor(router): use ApplicationRef to provide the first bootstrappe…
alxhub Oct 9, 2015
df09389
docs(NgClass): update docs, add example
pkozlowski-opensource Sep 22, 2015
7c6130c
feat(core): desugar [()] to [prop] and (prop-change)
vsavkin Oct 11, 2015
1eb0162
feat(di): rename Binding into Provider
vsavkin Oct 11, 2015
0c1f9da
refactor(http): use shared code from public 'angular2/angular2' names…
pkozlowski-opensource Oct 10, 2015
35878c5
doc(LifecycleHooks): change Property for Input
vicb Oct 10, 2015
52ebb8f
docs(di): fix links di docs
vsavkin Oct 11, 2015
62005dd
docs(core): fix links in core docs
vsavkin Oct 11, 2015
b967847
chore(docs): remove @View decorator from examples in docs
alexeagle Oct 11, 2015
0def28e
fix(compiler): shadow CSS @import test in some browsers
marclaval Oct 9, 2015
da1272f
build(analytics): add basic build-analytics to the project
IgorMinar Oct 11, 2015
eacc8e3
fix(compiler): merge `class` and `style` attributes from the element …
tbosch Oct 10, 2015
6abed8d
fix(test_lib): don't mock out XHR via MockXHR by default in tests
IgorMinar Oct 12, 2015
8667b76
refactor(router): use DI imports from public API
pkozlowski-opensource Oct 11, 2015
f443ecb
refactor(router): use compiler's public API in imports
pkozlowski-opensource Oct 11, 2015
1aeafd3
feat(di): change the params of Provider and provide to start with "use"
vsavkin Oct 12, 2015
947bf11
chore(docs): copy [Decorator]Metadata docs to the [Decorator]
alexeagle Oct 12, 2015
eb2c157
refactor: Update multiple ctors warning with a space and grammar
srawlins Sep 29, 2015
a1fa2e4
feat(test): Add an external version of the test library
juliemr Oct 8, 2015
5a504e6
chore(bundles): use proper bundle arithmetic for all http bundles
pkozlowski-opensource Oct 13, 2015
f529236
refactor(test): rename test_lib to testing
juliemr Oct 13, 2015
440fd11
feat(facade): add fromISODate method
btford Oct 13, 2015
8bc40d3
fix(router): properly read and serialize query params
btford Sep 23, 2015
c0b7bae
test(router): add missing tests for the url parser
btford Oct 13, 2015
ea661fa
chore(examples): extend inbox example code to include sorting
matsko Oct 9, 2015
1bc3520
test(router): add testing code for querystring serialization
matsko Oct 7, 2015
bb9d299
chore(release): bump angular version to alpha.41
IgorMinar Oct 13, 2015
d02b794
chore(changelog): update changelog to alpha.41
IgorMinar Oct 13, 2015
717bd23
docs(changelog): add a note about how we changed the d.ts file distri…
IgorMinar Oct 13, 2015
3a801c1
fix(docs): minor @link fixes.
alxhub Oct 13, 2015
e15e242
fix(test): command compiler attr merge test in IE
marclaval Oct 12, 2015
3b03660
fix(build): Fix serve.js.dev to build bundles
jteplitz Oct 13, 2015
50e922f
feat(build): add tasks to watch and recompile js and dart
vsavkin Oct 13, 2015
e82a35d
feat(forms): add minlength and maxlength validators
vsavkin Oct 13, 2015
57649d1
fix(publish): emit type declarations with CJS build
jeffbcross Oct 13, 2015
247479d
chore(release): bump angular version to alpha.42
jeffbcross Oct 13, 2015
9fc24b9
chore(changelog): update changelog to alpha.42
jeffbcross Oct 13, 2015
bfbf18d
feat(query): add filter and reduce to QueryList
vsavkin Oct 13, 2015
115ad4d
refactor(dart/transform): Allow inlining only using `inline_views`
Oct 13, 2015
5a50597
fix(dart/transform): Handle empty .ng_deps.dart files
Oct 14, 2015
f515938
chore(changelog): document the breaking change of including typings
alexeagle Oct 13, 2015
efddc90
fix(dart/transform): Parse directives agnostic of annotation order
Oct 14, 2015
6436f96
fix(transformers): show nice error message when an invalid uri is found
tbosch Oct 14, 2015
b716d23
fix(forms): emit value changes after errors and status are set
vsavkin Oct 14, 2015
a91ae29
fix(test) fix Dart annotation for integration_dart_spec.dart
kevmoo Oct 13, 2015
2be9fef
chore(travis): reenable lasted Dart dev channel build
kevmoo Oct 11, 2015
7dde18b
fix(style_compiler): don’t touch urls in stylesheets and keep stylesh…
tbosch Oct 14, 2015
b89c5bc
fix(compiler): attribute case in IE9
marclaval Oct 14, 2015
cec8b58
fix(compiler): explicitly support event bindings also on `<template>`…
tbosch Oct 14, 2015
a941fb0
fix(style_compiler): don’t resolve absolute urls that start with a `/…
tbosch Oct 15, 2015
427860a
chore(saucelabs): add Edge
marclaval Sep 27, 2015
65c737f
feat(forms): add input[type=number] value accessor
vsavkin Oct 15, 2015
d7ab5d4
fix(testing): let DOM adapter dictate XHR implementation for tests
juliemr Oct 14, 2015
059e8fa
refactor(ngUpgrade): renames and docs
mhevery Oct 13, 2015
053b7a5
feat(ngUpgrade): faster ng2->ng1 adapter by only compiling ng1 once
mhevery Oct 11, 2015
486c1ed
docs(ngUpgrade): document public methods
mhevery Oct 14, 2015
d896e43
feat(ngUpgrade): add support for upgrade/downgrade of injectables
mhevery Oct 15, 2015
c066d69
chore(package.json): remove typings bundles
alexeagle Oct 15, 2015
8efb49d
chore: bump version to 2.0.0-alpha.43
yjbanov Oct 15, 2015
6c7bc09
chore(package): update RxJS dependency version
robwormald Oct 15, 2015
169cb5f
chore: bump version to 2.0.0-alpha.44
yjbanov Oct 15, 2015
5256457
chore: update v2.0.0-alpha.44 changelog
yjbanov Oct 15, 2015
fd9b675
fix(url_resolver): always replace `package:` in Dart, even if it came…
tbosch Oct 15, 2015
05d29a9
fix(typings): don't expose RootTestComponent_
alexeagle Oct 15, 2015
c3ab20c
docs(router): Updated documentation for router outlet deactivate method
brandonroberts Oct 15, 2015
e4e74ae
chore: rename modules/examples to modules/playground
kutyel Oct 9, 2015
b097889
build(broccoli): make broccoli-typescript consume tsconfig style option
IgorMinar Oct 15, 2015
2c98a0f
build(broccoli-typescript): add support for moduleResolution=node
IgorMinar Oct 16, 2015
c9bd261
docs(chore): make styles consistent for API doc headings
naomiblack Oct 19, 2015
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
5 changes: 5 additions & 0 deletions .gitignore
Expand Up @@ -31,6 +31,8 @@ pubspec.lock
.idea/
*.swo
modules/.settings
.vscode
modules/.vscode

# Don't check in secret files
*secret.js
Expand All @@ -39,3 +41,6 @@ modules/.settings
npm-debug.log

/docs/bower_components/

# build-analytics
.build-analytics
25 changes: 15 additions & 10 deletions .travis.yml
@@ -1,7 +1,7 @@
language: node_js
sudo: false
node_js:
- '0.12'
- '4.1.1'

branches:
except:
Expand All @@ -20,6 +20,8 @@ env:
- SAUCE_USERNAME=angular-ci
- SAUCE_ACCESS_KEY=9b988f434ff8-fbca-8aa4-4ae3-35442987
- ARCH=linux-x64
- DART_DEV_VERSION=latest
- DART_STABLE_VERSION=latest
# Token for tsd to increase github rate limit
# See https://github.com/DefinitelyTyped/tsd#tsdrc
# This does not use http://docs.travis-ci.com/user/environment-variables/#Secure-Variables
Expand All @@ -31,16 +33,18 @@ env:
- secure: "fq/U7VDMWO8O8SnAQkdbkoSe2X92PVqg4d044HmRYVmcf6YbO48+xeGJ8yOk0pCBwl3ISO4Q2ot0x546kxfiYBuHkZetlngZxZCtQiFT9kyId8ZKcYdXaIW9OVdw3Gh3tQyUwDucfkVhqcs52D6NZjyE2aWZ4/d1V4kWRO/LMgo="
matrix:
# Order: slowest build on top, so that we don't hog VMs while waiting for others to complete.
- MODE=dart DART_CHANNEL=stable
- MODE=dart DART_CHANNEL=dev
- MODE=saucelabs DART_CHANNEL=dev
- MODE=dart_experimental DART_CHANNEL=dev
- MODE=js DART_CHANNEL=dev
- MODE=lint DART_CHANNEL=dev
- MODE=dart DART_CHANNEL=stable DART_VERSION=$DART_STABLE_VERSION
- MODE=dart DART_CHANNEL=dev DART_VERSION=$DART_DEV_VERSION
- MODE=saucelabs DART_CHANNEL=dev DART_VERSION=$DART_DEV_VERSION
- MODE=dart_experimental DART_CHANNEL=dev DART_VERSION=$DART_DEV_VERSION
- MODE=js DART_CHANNEL=dev DART_VERSION=$DART_DEV_VERSION
- MODE=router DART_CHANNEL=dev DART_VERSION=$DART_DEV_VERSION
- MODE=lint DART_CHANNEL=dev DART_VERSION=$DART_DEV_VERSION

matrix:
allow_failures:
- env: "MODE=saucelabs DART_CHANNEL=dev"
- env: "MODE=saucelabs DART_CHANNEL=dev DART_VERSION=$DART_DEV_VERSION"
- env: "MODE=dart_experimental DART_CHANNEL=dev DART_VERSION=$DART_DEV_VERSION"

addons:
firefox: "38.0"
Expand All @@ -50,13 +54,14 @@ before_install:
- export DISPLAY=:99.0
- export GIT_SHA=$(git rev-parse HEAD)
- ./scripts/ci/init_android.sh
- ./scripts/ci/install_dart.sh ${DART_CHANNEL} ${ARCH}
- ./scripts/ci/install_dart.sh ${DART_CHANNEL} ${DART_VERSION} ${ARCH}
- sh -e /etc/init.d/xvfb start
- if [[ -e SKIP_TRAVIS_TESTS ]]; then { cat SKIP_TRAVIS_TESTS ; exit 0; } fi
- '[ "${TRAVIS_PULL_REQUEST}" = "false" ] && [ "${TRAVIS_BRANCH}" = "master" ] && SAUCE_USERNAME="angular2-ci" && SAUCE_ACCESS_KEY="693ebc16208a-0b5b-1614-8d66-a2662f4e" || true'

install:
# Update npm
- npm install -g npm@2.9.1
- npm install -g npm@2.14.5
- npm --version
# Check the size of caches
- du -sh ./node_modules || true
Expand Down
593 changes: 589 additions & 4 deletions CHANGELOG.md

Large diffs are not rendered by default.

29 changes: 23 additions & 6 deletions DEVELOPER.md
Expand Up @@ -22,21 +22,23 @@ if you'd like to contribute to Angular.
Before you can build and test Angular, you must install and configure the
following products on your development machine:

* [Dart](https://www.dartlang.org) (version ` >=1.10.0-dev.1.10 <2.0.0`), specifically the Dart-SDK and
* [Dart](https://www.dartlang.org) (version ` >=1.12.0 <2.0.0`), specifically the Dart-SDK and
Dartium (a version of [Chromium](http://www.chromium.org) with native support for Dart through
the Dart VM). One of the **simplest** ways to get both is to install the **Dart Editor bundle**,
which includes the editor, SDK and Dartium. See the [Dart tools](https://www.dartlang.org/tools)
download [page for instructions](https://www.dartlang.org/tools/download.html). You can also
download both **stable** and **dev** channel versions from the [download
archive](https://www.dartlang.org/tools/download-archive).
download [page for instructions](https://www.dartlang.org/tools/download.html).
You can also download both **stable** and **dev** channel versions from the [download
archive](https://www.dartlang.org/tools/download-archive). In that case, on Windows, Dart must be added
to the `Path` (e.g. `path-to-dart-sdk-folder\bin`) and a new `DARTIUM_BIN` environment variable must be
created, pointing to the executable (e.g. `path-to-dartium-folder\chrome.exe).`

* [Git](http://git-scm.com) and/or the **GitHub app** (for [Mac](http://mac.github.com) or
[Windows](http://windows.github.com)); [GitHub's Guide to Installing
Git](https://help.github.com/articles/set-up-git) is a good source of information.

* [Node.js](http://nodejs.org), (version `>=0.12.0 <0.13.0`) which is used to run a development web server,
* [Node.js](http://nodejs.org), (version `>=4.1.1 <5`) which is used to run a development web server,
run tests, and generate distributable files. We also use Node's Package Manager, `npm`
(version `>=2.0 <3.0`), which comes with Node. Depending on your system, you can install Node either from
(version `>=2.14.5 <3.0`), which comes with Node. Depending on your system, you can install Node either from
source or as a pre-packaged bundle.

* [Chrome Canary](https://www.google.com/chrome/browser/canary.html), a version of Chrome with
Expand Down Expand Up @@ -255,7 +257,22 @@ to some whitespace difference.
- Working directory: `$ProjectFileDir$`
* `clang-format` integrations are also available for many popular editors (`vim`, `emacs`,
`Sublime Text`, etc.).

## Generating the API documentation

The following gulp task will generate the API docs in the `dist/angular.io/partials/api/angular2`:

```shell
$(npm bin)/gulp docs/angular.io
```

You can serve the generated documentation to check how it would render on [angular.io](https://angular.io/):
- check out the [angular.io repo](https://github.com/angular/angular.io) locally,
- install dependencies as described in the [angular.io README](https://github.com/angular/angular.io/blob/master/README.md),
- copy the generated documentation from your local angular repo at `angular/dist/angular.io/partials/api/angular2` to your local angular.io repo at `angular.io/public/docs/js/latest/api`,
- run `harp compile` at the root of the angular.io repo to check the generated documentation for errors,
- run `harp server` and open a browser at `http://localhost:9000/docs/js/latest/api/` to check the rendered documentation.

## Project Information

### Folder structure
Expand Down
32 changes: 32 additions & 0 deletions NAMING.md
@@ -0,0 +1,32 @@
Naming Conventions in Angular2
---

In general Angular2 should follow TypeScript naming conventions.
See: https://github.com/Microsoft/TypeScript/wiki/Coding-guidelines


Classes:
- Example: `Compiler`, `ApplicationMetadata`
- Camel case with first letter upper-case
- In general prefer single words. (This is so that when appending `Proto` or `Factory` the class
is still reasonable to work with.)
- Should not end with `Impl` or any other word which describes a specific implementation of an
interface.


Interfaces:
- Follow the same rules as Classes
- Should not have `I` or `Interface` in the name or any other way of identifying it as an interface.


Methods and functions:
- Example: `bootstrap`, `someMethod`
- Should be camel case with first lower case


Constants
- Example: `CORE_DIRECTIVES`
- Should be all uppercase with SNAKE_CASE



3 changes: 2 additions & 1 deletion README.md
Expand Up @@ -4,6 +4,7 @@
[![Issue Stats](http://issuestats.com/github/angular/angular/badge/issue)](http://issuestats.com/github/angular/angular)
[![npm version](https://badge.fury.io/js/angular2.svg)](http://badge.fury.io/js/angular2)
[![Downloads](http://img.shields.io/npm/dm/angular2.svg)](https://npmjs.org/package/angular2)
[![Sauce Test Status](https://saucelabs.com/browser-matrix/angular2-ci.svg)](https://saucelabs.com/u/angular2-ci)

Angular
=========
Expand Down Expand Up @@ -35,7 +36,7 @@ guidelines for [contributing][contributing] and then check out one of our issues
[contributing]: http://github.com/angular/angular/blob/master/CONTRIBUTING.md
[dart]: http://www.dartlang.org
[dartium]: http://www.dartlang.org/tools/dartium
[download]: http://angular.io/download
[download]: http://angular.io/download/
[quickstart]: https://angular.io/docs/js/latest/quickstart.html
[ng2]: http://angular.io
[ngDart]: http://angulardart.org
Expand Down
4 changes: 4 additions & 0 deletions TOOLS.md
@@ -0,0 +1,4 @@
# Developer Tools for Angular 2

- [JavaScript](TOOLS_JS.md)
- [Dart](TOOLS_DART.md)