Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
758 commits
Select commit Hold shift + click to select a range
85b8a15
chore(build): add a task to watch and render examples and e2e tests f…
matsko Jun 12, 2015
4d1ed50
refactor(forms): refactored forms to user Query to get html validators
vsavkin Jun 17, 2015
5ba5da5
cleanup(forms): cleanup
vsavkin Jun 17, 2015
c899b0a
feat(element_injector): support multiple injectables with the same token
vsavkin Jun 19, 2015
ad7aca6
refactor(NgClass): remove pipes from property bindings
pkozlowski-opensource Jun 18, 2015
20a8f0d
refactor(pipes): removed pipes from properties
vsavkin Jun 18, 2015
a057789
docs: clang-format instructions in CONTRIBUTING.md
mprobst Jun 19, 2015
fa7a3e3
cleanup: explicitly export symbols from di, cd, forms
vsavkin Jun 19, 2015
2d2ae9b
feat(router): enforce usage of ... syntax for parent to child compone…
matsko Jun 17, 2015
ed9d9d5
build(broccoli): make node_trees produce strict-mode scripts
caitp Jun 19, 2015
d575915
build(broccoli): allow rebuild() to return DiffResult
caitp Jun 12, 2015
1c4d233
fix(ShadowDomStrategy): always inline import rules
vicb Jun 18, 2015
f158fbd
chore(ShadowDomStrategy): fix MapWrapper usage, DemoUrlResolver
yjbanov Jun 20, 2015
d7b9345
feat(compiler): detect dangling property bindings
pkozlowski-opensource Jun 17, 2015
dee0e00
chore(doc-gen): refactor versionInfo logic to new `git` dgeni-package
eggers Jun 9, 2015
783654e
chore(example): adds zippy example
0x-r4bbit Jun 22, 2015
c1a494b
chore(ShadowDomStrategy): remove redundant field styleInliner
yjbanov Jun 20, 2015
92ffc46
feat(host): limits host properties to renames
vsavkin Jun 22, 2015
d8929c1
fix(benchmarks): add waits for naive scrolling benchmark to ensure lo…
juliemr Jun 22, 2015
b48f000
docs(benchpress): document frame time metrics
goderbauer Jun 22, 2015
e5de1f7
refactor(router): refactor BrowserLocation into LocationStrategy
btford Jun 22, 2015
2932377
feat(mock): add mock module and bundle
btford Jun 22, 2015
0a51ccb
feat(render): don’t use the reflector for setting properties
tbosch Jun 18, 2015
a67f231
feat(router): add support for hash-based location
btford Jun 15, 2015
7b2f757
build(gulp/travis): move circular check and style check to before pre…
IgorMinar Jun 23, 2015
2c3c235
Revert "build(broccoli): allow rebuild() to return DiffResult"
tbosch Jun 23, 2015
ba9fecd
refactor(render): use `RenderElementRef` in all renderer methods
tbosch Jun 23, 2015
5c9e53a
chore(testbed): migrate dynamic component loader spec to testcomponen…
juliemr Jun 23, 2015
c8bdacb
refactor(render): cleanup access to native dom elements
tbosch Jun 23, 2015
6149ce2
fix(render): fix failing tests in dynamic_component_loader.ts
tbosch Jun 24, 2015
24646e7
feat(typings): add typing specs
dariajung Jun 16, 2015
d800d2f
fix(injectors): sync injector tree with dom element tree.
rkirov Jun 23, 2015
2c11205
chore(testbed): migrate compiler integration spec to testcomponentbui…
juliemr Jun 23, 2015
8c993dc
feat(CSSClass): add support for string and array expresions
pkozlowski-opensource Jun 21, 2015
06aaa0c
refactor(UrlResolver): extract app url resolution into AppRootUrl
vicb Jun 23, 2015
3875f02
refactor(UrlResolver): move away from the anchor link
vicb Jun 23, 2015
3ea6559
refactor(Compiler): inline styles before compiling the template
vicb Jun 15, 2015
0a2f6dd
fix(parse5): do not try to insert empty text node
vicb Jun 24, 2015
b89c067
test(refactor): cleanup test to use the new UrlMapper
vicb Jun 24, 2015
356c927
refactor(TemplateLoader): rename to ViewLoader
vicb Jun 24, 2015
b15474c
refactor(TemplateResolver): rename to ViewResolver
vicb Jun 24, 2015
a0e0f31
refactor: change template for view where it makes sense
vicb Jun 24, 2015
19a9dc6
chore(packaging): bump version to 2.0.0-alpha.28
yjbanov Jun 24, 2015
1c8a589
fix(build): fix paths in `test.typings` task
jeffbcross Jun 24, 2015
d3dda61
chore(test): migrate remaining core tests to testcomponentbuilder
juliemr Jun 24, 2015
85d6ae3
chore(test): migrate directives tests to testcomponentbuilder
juliemr Jun 24, 2015
aeb17d8
test(NgSwitch): simplify tests with static values
pkozlowski-opensource Jun 21, 2015
8a5cf8f
docs(directives): correct property binding examples
pkozlowski-opensource Jun 21, 2015
7a4a3c8
fix(typings): Minor issues preventing angular2.d.ts from working in T…
alexeagle Jun 23, 2015
0949a4b
feat(benchpress): initial support for firefox
hankduan Jun 8, 2015
7a7b3a6
perf(Compiler): do not resolve bindings for cached ProtoViews
Jun 25, 2015
393f703
fix: export top-level pipe factories as const
kevmoo Jun 23, 2015
d1f7900
docs: consolidate clang-format docs.
mprobst Jun 22, 2015
1f7296c
feat: upgrade clang-format and gulp-clang-format.
mprobst Jun 25, 2015
7e8a2b9
chore(windows): fix the test.unit.dart task
marclaval Jun 9, 2015
ecb2bd0
chore(windows): fix the build.dart task
marclaval Jun 23, 2015
746efe7
chore(windows): fix the test.unit.tools task
marclaval Jun 23, 2015
91d9e8d
chore(windows): fix the test.transpiler.unittest task
marclaval Jun 23, 2015
8b68546
chore(windows): fix the JS e2e/benchmark tasks
marclaval Jun 25, 2015
6576969
chore(windows): fix the Dart e2e/benchmark tasks
marclaval Jun 25, 2015
dd79103
chore(windows): fix the test.server.dart task
marclaval Jun 25, 2015
b50edfd
feat(NgStyle): add new NgStyle directive
pkozlowski-opensource Jun 21, 2015
9c76850
fix(transformer): Fix annotation_matcher for NgForm directive.
jakemac53 Jun 25, 2015
d037c08
fix(transformer): Don't hang on bad urls and log better errors
jakemac53 Jun 25, 2015
5a21dc5
fix(transformer): Add getters for `events`.
jakemac53 Jun 25, 2015
71e0f89
chore: updated tsconfig to ignore test and dist
vsavkin Jun 26, 2015
b688dee
feat(async): added PromiseWrapper.wrap
vsavkin Jun 26, 2015
22d3943
refactor(di): unified di injector and core injector
vsavkin Jun 26, 2015
f1cf529
fix(docs): link to clang-format
alexeagle Jun 26, 2015
c4e10ea
chore(benchpress): add browserify bundling
uber5001 Jun 23, 2015
0f7dd62
chore(npm): correct generated package json files.
tbosch Jun 29, 2015
66d0e4e
chore(test): migrate router tests to TestComponentBuilder
juliemr Jun 26, 2015
ab3f236
chore(test): move ng-style tests to TestComponentBuilder
juliemr Jun 26, 2015
56245c6
feat(lang): added originalException and originalStack to BaseException
vsavkin Jun 28, 2015
eb0fd79
feat(di): changed InstantiationError to print the original stack
vsavkin Jun 28, 2015
da4de21
fix(bundle): don’t bundle traceur/reflect into benchpress
tbosch Jun 29, 2015
d6cef88
fix(dynamic_component_loader): check whether the dynamically loaded c…
tbosch Jun 29, 2015
eea989b
fix(Router): mark Pipeline and RouteRegistry as Injectable
vicb Jun 29, 2015
1f04f70
refactor(Router): idiomatic TS
vicb Jun 29, 2015
27ad984
refactor(Router): re-use resolved promise instances
vicb Jun 29, 2015
82e8e8c
chore(test): upgrade form tests to testcomponentbuilder
juliemr Jun 25, 2015
8c66a25
chore(test): remove TestBed
juliemr Jun 26, 2015
d629ed7
fix(bundle): don’t bundle traceur/reflect into benchpress - amended c…
tbosch Jun 29, 2015
bc585f2
feat(build): add tslint to the build.
alexeagle Jun 24, 2015
4489199
fix(build): add missing return types now enforced by linter
alexeagle Jun 26, 2015
5de916e
docs(DEVELOPER.md): fix file suffixes
sebholstein Jun 26, 2015
9a290f0
Revert "Revert "build(broccoli): allow rebuild() to return DiffResult""
caitp Jun 25, 2015
a93ec73
build(broccoli): store DiffResult for re-use only if DiffResult
caitp Jun 26, 2015
73b3ed1
build(broccoli): don't set stored diffResult to null on use
caitp Jun 29, 2015
a9008ee
chore(build): record the version of node we expect.
alexeagle May 19, 2015
8bab6dd
fix(build): Reduce rx typings to what we actually require.
alexeagle Jun 29, 2015
3e65037
fix(docs): to run js test 'gulp docs' is needed
alfonso-presa Jun 28, 2015
7fc1ee6
build: speed up karma run by passing in list of dist files that changed
IgorMinar Jun 29, 2015
d6b56c2
style: fix formatting
IgorMinar Jun 30, 2015
d494597
revert: "style: fix formatting"
jeffbcross Jun 30, 2015
fa7da0c
revert: "build: speed up karma run by passing in list of dist files t…
jeffbcross Jun 30, 2015
55bf0e5
feat(http): refactor library to work in dart
jeffbcross Jun 19, 2015
146dbf1
refactor(Http): remove HttpFactory
jeffbcross Jun 24, 2015
b3d98cb
refactor(http): remove default settings from `RequestOptions` constru…
jeffbcross Jun 24, 2015
b3fc357
chore(build): temporarily deactivate dev build for Dart
tbosch Jul 1, 2015
2335075
feat(facade): add ListWrapper.toJSON method
btford Jun 30, 2015
f66ce09
feat(router): support deep-linking to anywhere in the app
btford Jun 30, 2015
27c050b
style: fix formatting
btford Jul 1, 2015
1fb9484
style: fix formatting for real
btford Jul 1, 2015
de05d1b
build: speedup test.untit.dart by removing unneeded pub symlinks
IgorMinar Jul 1, 2015
a90063a
chore(typing): restore some defn's now that dgeni is fixed
alexeagle Jul 1, 2015
530e742
refactor(injector): remove unused function
pkozlowski-opensource Jul 1, 2015
f020a5c
chore(gulp): add a task to print dart & pub versions
vicb Jun 17, 2015
c2c361e
build(npm): don't rely on fs-extra when purging node_modules
IgorMinar Jul 1, 2015
27e7100
chore(typing): use types for DOM API
alexeagle Jul 1, 2015
34eaf65
docs(Http): add docs about breaking changes with EventEmitter/Observable
jeffbcross Jul 1, 2015
dcdd730
feat(transformers): provide a flag to disable inlining views
TedSander Jun 21, 2015
73a939e
fix(change detectors): Fix deduping of protos in transformed dart mode.
jakemac53 Jun 30, 2015
f0e962c
feat(di): removed app injector
vsavkin Jun 29, 2015
600d53c
feat(pipes): support arguments in transform function
piloopin Jun 25, 2015
0b50258
feat(pipes): add limitTo pipe
piloopin Jun 25, 2015
0598226
fix(compiler): don't trigger duplicated directives
pkozlowski-opensource Jun 16, 2015
3a8e166
examples: added an example of a crud app
vsavkin Jul 1, 2015
46bb4e3
chore(packaging): bump version to 2.0.0-alpha.29
yjbanov Jul 1, 2015
d1393b0
fix(di): injecting null causes a cyclic dependency
vsavkin Jul 1, 2015
e69af1a
fix: handle errors w/o file information.
mprobst Jun 26, 2015
cd65fc2
fix(compiler): detect and strip data- prefix from bindings
pkozlowski-opensource Jun 23, 2015
ba440a0
chore: ignore .packages file
kevmoo Jun 30, 2015
ac24a30
build(gulp): remove the tmp cleanup code
IgorMinar Jul 1, 2015
8d0d05c
build(protractor): don't require benchpress bundle for all protractor…
IgorMinar Jul 1, 2015
2ed251a
docs(router): fix doc
IgorMinar Jul 1, 2015
d5ace7a
test(route_link): add missing unit tests
IgorMinar Jul 3, 2015
1c94c32
fix(router): child routers should delegate navigation to the root router
IgorMinar Jul 1, 2015
a7ea2e5
build(broccoli): concat all typescript error messages into the messag…
IgorMinar Jul 3, 2015
561b78a
chore(doc-gen): generate router typings file
petebacondarwin Jul 2, 2015
ef3cc8e
chore(doc-gen): render optional members correctly
petebacondarwin Jul 2, 2015
ad506a7
chore(doc-gen): render "call" and "new" members of interfaces correctly
petebacondarwin Jul 2, 2015
d381c5f
feat: upgrade t2dart to 0.6.8.
mprobst Jul 2, 2015
883b506
fix(Http): add support for headers
radotzki Jul 1, 2015
19a0349
chore(build): re-enable dev build for Dart
kevmoo Jul 2, 2015
582551b
test(ProtoViewBuilder): correct duplicate tests
pkozlowski-opensource Jul 3, 2015
311b477
fix(transformer): Fix string interpolation for bindings.
jakemac53 Jul 1, 2015
7986e7c
feat(transformer): Support @Injectable() on static functions
jakemac53 Jun 30, 2015
2b45bd2
fix(transformer): Put paramater data in the same order as the reflect…
jakemac53 Jul 1, 2015
a56d33d
feat(typings): mark void methods in angular2.d.ts
alexeagle Jul 6, 2015
b10d7a2
fix(angular2.d.ts): show typing for Component, etc
alexeagle Jul 6, 2015
8681f79
chore(typings): move comments to decorator args.
alexeagle Jul 6, 2015
d277442
fix(change_detection): do not coalesce records with different directi…
vsavkin Jul 6, 2015
c2efa23
fix(change_detection): throw ChangeDetectionError in JIT mode
vsavkin Jul 5, 2015
e987ac4
tools: updated the VS Code config
vsavkin Jul 7, 2015
569766f
refactor(di): added support for custom dep providers
vsavkin Jul 6, 2015
9e1158d
fix(transformer): Support prefixed annotations in the transformer.
jakemac53 Jul 7, 2015
355ced9
chore(doc-gen): fix spacing in heritage clauses
petebacondarwin Jul 7, 2015
d828664
fix(router): allow generating links with numeric params
btford Jul 7, 2015
286a249
feat(router): support deep-linking to siblings
btford Jul 7, 2015
abc1580
chore(package.json) upgrade zone.js to 0.5.2
marclaval Jul 7, 2015
3869818
docs(modules): fix typos
ericcarraway Jul 7, 2015
edf5053
feat(NgStyle): Export NgStyle in angular2/directives
alfonso-presa Jul 4, 2015
b60d714
docs: Corrects article to 'a' instead of 'an' in comment
Jul 3, 2015
e5405e4
fix(forms): Remove cyclic dependency
PatrickJS Jul 2, 2015
72257ec
chore(doc-gen): include type parameters in d.ts file
petebacondarwin Jul 3, 2015
0e945e4
chore(doc-gen): stop crash in `gulp public_docs`
petebacondarwin Jul 4, 2015
65a767d
refactor: export angular as ‘ng’ in SFX
mhevery Jul 2, 2015
0052c6b
chore: improve angular2.d.ts file
mhevery Jul 2, 2015
12a427e
fix(.d.ts): correct ComponentAnnotation inheritance
mhevery Jul 3, 2015
3ab8a0c
chore(docs): adding docs to core.ts and annotations.ts
mhevery Jul 7, 2015
c33e3be
chore(.d.ts): remove *Args files
mhevery Jul 7, 2015
6c933a4
chore(packaging): bump version to 2.0.0-alpha.30
jeffbcross Jul 8, 2015
d050ce2
chore(doc-gen): fixup private constructor declarations
petebacondarwin Jul 7, 2015
871267d
chore(.d.ts): remove private Compiler deps
mhevery Jul 8, 2015
2ac8ebd
refactor(directive_parser): improve code readability
pkozlowski-opensource Jul 4, 2015
7d9f5d7
docs(element_ref): fix typos
cexbrayat Jul 8, 2015
e0fb50c
docs(view_ref): fix typos
cexbrayat Jul 8, 2015
4656c6f
tools: added experimentalDecorators flag to tsconfig
vsavkin Jul 8, 2015
3f7ebde
feat(forms): changed all form directives to have basic control attrib…
vsavkin Jul 7, 2015
c177d88
fix(router): ensure that page refresh with hash URLs works
matsko Jul 8, 2015
718fa35
example(routing): adding routing example and e2e tests
matsko Jul 7, 2015
d5edc74
chore(changelog): add support for to and from flags in changelog.js
jeffbcross Jul 8, 2015
caa252e
chore(router): change `substr` to `substring`
matsko Jul 8, 2015
ac50ffc
fix(transform): handle multiple interfaces in directive processor
munificent Jul 8, 2015
0792f1a
fix(tsconfig): target should be lower case
alfonso-presa Jul 8, 2015
bab271f
test(CssClass): verify that classes from string exp are cleared properly
pkozlowski-opensource Jul 8, 2015
f827e15
docs(CSSClass): add documentation
pkozlowski-opensource Jun 19, 2015
f1f5784
feat(build): Allow building in windows without admin priviledges
alfonso-presa Jul 4, 2015
6596c72
docs(NgStyle): add documentation
pkozlowski-opensource Jul 8, 2015
4572157
chore(build): add GCS upload of build artifacts
alexeagle Jul 8, 2015
df877a7
fix(build): clang-format
alexeagle Jul 8, 2015
ae5cd51
chore(examples): fix broken router example code for Dart
matsko Jul 8, 2015
4264bd3
fix(build): reduce the deploy upload.
alexeagle Jul 9, 2015
206c9bd
fix(build): remove the travis deploy step, which is broken.
alexeagle Jul 9, 2015
2c37cc5
chore(examples): fix dart issues with router example
matsko Jul 9, 2015
e79dd6a
fix(build) clang-format
alexeagle Jul 9, 2015
258da88
revert: example(routing): adding routing example and e2e tests
matsko Jul 9, 2015
447926d
refactor(RegExp): use /.../ to create RegExp literal
vicb Jun 23, 2015
fe49a7f
chore(build): upload dart artifacts to GCS
alexeagle Jul 9, 2015
546a8f9
fix(package.json): move some deps into dev deps.
rkirov Jul 9, 2015
d6dadc6
fix(router): fix broken `HashLocationStrategy` string issue for dart
matsko Jul 9, 2015
b54e721
chore: removed angular2.api.ts
vsavkin Jul 8, 2015
3143d18
feat(pipes): add number (decimal, percent, currency) pipes
piloopin Jul 4, 2015
b716046
feat(pipes): add date pipe
piloopin Jul 4, 2015
0ed5dd0
fix(di): hostInjector and viewInjector support nested arrays
vsavkin Jul 9, 2015
71c65b4
feat(test): add test bundle
juliemr Jun 27, 2015
a621046
fix(di): do not use exceptions to detect if reflection is enabled
vsavkin Jul 10, 2015
749d043
fix(css_shim): fixes multiple uses of polyfill-unscoped-rule.
rkirov Jul 10, 2015
6258929
fix(transformer): fix 'pub build' in examples
sigmundch Jul 9, 2015
1427d73
fix(example): add missing todo
sigmundch Jul 10, 2015
8b3efdf
chore(pipes): rename pipe_registry.ts -> pipes.ts
jeffbcross Jul 9, 2015
9a70f84
refactor(pipes): rename PipeRegistry to Pipes
jeffbcross Jul 9, 2015
1eebcea
feat(pipes): add static append method to Pipes
jeffbcross Jul 9, 2015
0e28297
feat(zone): add "on event done" zone hook
yjbanov Jul 10, 2015
927454c
chore(doc-gen): don't use `string` module to stripTags
petebacondarwin Jul 9, 2015
9fa7d38
chore(doc-gen): put typescript stuff into its own package
petebacondarwin Jul 11, 2015
2e4a2a0
chore(doc-gen): remove unnecessary `@public` and `@exportedAs` tags
petebacondarwin Jul 11, 2015
875db11
chore(doc-gen): update dgeni-packages to 0.10.18
petebacondarwin Jul 11, 2015
45994a5
feat: upgrade clang-format to v1.0.28.
mprobst Jul 10, 2015
3bf8c18
chore: run clang-format on code base.
mprobst Jul 10, 2015
09bb114
chore(doc-gen): convert heritage for private constructor classes
petebacondarwin Jul 12, 2015
4d80ce5
chore(doc-gen): add some tests for typescript-definition-package
petebacondarwin Jul 12, 2015
bdfef4e
docs(util/decorators): fix typos in ClassDefinition interface
rixrix Jul 12, 2015
f5f85bb
chore: added modules/.settings to .gitignore
vsavkin Jul 11, 2015
a9a552c
feat(router): lifecycle hooks
btford Jul 7, 2015
cf103de
fix(transformer): Event getters now use property name not event name
jakemac53 Jul 13, 2015
1eab4f5
feat(license): include license files in dev and dev.sfx bundles
zzo Jul 11, 2015
7ee6963
feat(query): initial implementation of view query.
rkirov Jul 10, 2015
b3a763a
fix(compiler): keep `DOM.hasProperty` in sync between browser and tra…
tbosch Jul 13, 2015
4bdc918
chore(transformer): add a test that generated change detectors dont c…
jakemac53 Jul 10, 2015
04baa46
fix(di): removed default visibility
vsavkin Jul 13, 2015
97ef1c2
fix(router): export lifecycle hooks in bundle
btford Jul 13, 2015
5677bf7
feat(router): introduce matrix params
matsko Jul 8, 2015
7dc1dff
refactor(NgZone): idiomatic Dart
vicb Jul 13, 2015
34993f7
chore(package.json): bump version to 2.0.0-alpha.31
jeffbcross Jul 14, 2015
27233cf
chore(process): add core/webworker component to TRIAGE_AND_LABELS.md
yjbanov Jul 14, 2015
3810e4b
feat: upgrade ts2dart to 0.6.9.
mprobst Jul 14, 2015
e988f59
fix(html_adapter): Implement hasAttribute and getAttribute.
jakemac53 Jul 14, 2015
e1e7912
chore(benchmarks): use `isSupported()` rather than `!isJsObject()`
caitp Jul 11, 2015
b73ba68
refactor(LifecycleEvent): change from onInit to Lifecycle.onInit
mhevery Jul 4, 2015
2bc1217
feat(transformers): expose DI transformer for use by packages
TedSander Jul 1, 2015
7531b48
fix(di): instatiate services lazily
vsavkin Jul 13, 2015
b4cde69
chore(facade): make normalizeBlank less nonsensical
yjbanov Jul 14, 2015
81abc39
feat(http): add support for JSONP requests
caitp Jul 15, 2015
cd532b0
test(e2e): fix error setting style property of DOM element
alfonso-presa Jul 4, 2015
ccb4163
feat(facade): add getTypeNameForDebugging function
btford Jul 13, 2015
8bdca5c
fix(router): improve error messages for routes with no config
btford Jul 13, 2015
9d66b5b
chore(build): upload dist.tgz for js builds
alexeagle Jul 14, 2015
b26f997
chore(router): fix formatting
btford Jul 15, 2015
33500e9
feat(webworkers) Add MessageBus, Broker, and Serializer
jteplitz Jul 10, 2015
93055f7
chore(lint): require semicolons
alexeagle Jul 15, 2015
66ec4d1
fix(build): clang-format
alexeagle Jul 15, 2015
903ff90
feat(core): add ability to reflect DOM properties as attributes
jeffbcross Jul 15, 2015
f25e43f
chore(build): add material css to dart build.
jelbourn Jul 15, 2015
b03560b
fix(examples): add a couple entrypoints, adjust pubspec, fix change d…
sigmundch Jul 14, 2015
f7dfd23
chore(query): refactor QueryList and BaseQueryList.
rkirov Jul 14, 2015
7879761
fix(element_injector): inject the containing change detector ref to d…
vsavkin Jul 15, 2015
583c5ff
fix(ng_for): fixed ng_for to pass a change detector ref to the pipe r…
vsavkin Jul 15, 2015
d449ea5
feat(change_detection): added support for ObservableList from package…
vsavkin Jul 15, 2015
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
packages
pubspec.lock
.pub
.packages

/dist/
.buildlog
Expand All @@ -29,6 +30,7 @@ pubspec.lock
.c9
.idea/
*.swo
modules/.settings

# Don't check in secret files
*secret.js
Expand Down
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
0.12
12 changes: 12 additions & 0 deletions .settings/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"search.exclude": {
".git" : true,
".idea": true,
"node_modules" : true,
"bower_components" : true,
"packages" : true,
"build" : true,
"dist" : true,
"tmp" : true
}
}
44 changes: 42 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ node_js:
cache:
directories:
- node_modules
- $HOME/.pub-cache

env:
global:
Expand All @@ -25,6 +26,9 @@ env:
- MODE=dart DART_CHANNEL=stable
- MODE=dart DART_CHANNEL=dev

addons:
firefox: "38.0"

before_install:
- echo ${TSDRC} > .tsdrc
- export DISPLAY=:99.0
Expand All @@ -40,8 +44,8 @@ install:
- npm --version
# Check the size of caches
- du -sh ./node_modules || true
# Install npm dependecies and ensure that npm cache is not stale
- tools/npm/install-dependencies.sh
# Install npm dependecies
- npm install

before_script:
- mkdir -p $LOGS_DIR
Expand All @@ -61,3 +65,39 @@ notifications:
on_start: false # default: false
slack:
secure: EP4MzZ8JMyNQJ4S3cd5LEPWSMjC7ZRdzt3veelDiOeorJ6GwZfCDHncR+4BahDzQAuqyE/yNpZqaLbwRWloDi15qIUsm09vgl/1IyNky1Sqc6lEknhzIXpWSalo4/T9ZP8w870EoDvM/UO+LCV99R3wS8Nm9o99eLoWVb2HIUu0=

deploy:
- provider: gcs
# This is for project angular-github-babysitter
access_key_id: GOOGIOQTDBEOPBUAWFZQ
secret_access_key:
secure: "MEDggllZ5fw4wI9CEUi8WR6jKsKXqdRF/DLxSNC2JpzM5RlVeBm0uqjntYT1Cf1dASvQ2/+vZCUikL/3A48NcoEYRHXGmxu8D6t/SvleQD8Xv434xFOdsa2QqP/HiCtqCLOI5jJz1JVoB5nNyKKZ33ogTUL1LV1TfcrAioyizW8="
# this bucket has a lifecycle to delete after 90 days:
# $ echo '{"rule": [{"action": {"type": "Delete"}, "condition": {"age": 90}}]}' > lifecycle.json
# $ gsutil lifecycle set lifecycle.json gs://angular2-snapshots
bucket: angular2-snapshots
# don't delete generated files
skip_cleanup: true
# serve to public at https://storage.googleapis.com/angular2-snapshots/SHA/dart_stable/dist.tgz
acl: public-read
# upload the .tgz archive created in scripts/ci/build_and_test.sh
local-dir: deploy
# create a "subdirectory" for each commit
upload-dir: $TRAVIS_COMMIT/dart_stable
on:
branch: master
repo: angular/angular
condition: "$MODE = dart && $DART_CHANNEL = stable"
- provider: gcs
access_key_id: GOOGIOQTDBEOPBUAWFZQ
secret_access_key:
secure: "MEDggllZ5fw4wI9CEUi8WR6jKsKXqdRF/DLxSNC2JpzM5RlVeBm0uqjntYT1Cf1dASvQ2/+vZCUikL/3A48NcoEYRHXGmxu8D6t/SvleQD8Xv434xFOdsa2QqP/HiCtqCLOI5jJz1JVoB5nNyKKZ33ogTUL1LV1TfcrAioyizW8="
bucket: angular2-snapshots
skip_cleanup: true
acl: public-read
local-dir: deploy
upload-dir: $TRAVIS_COMMIT/js
on:
branch: master
repo: angular/angular
condition: "$MODE = js"
620 changes: 620 additions & 0 deletions CHANGELOG.md

Large diffs are not rendered by default.

32 changes: 10 additions & 22 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Help us keep Angular open and inclusive. Please read and follow our [Code of Con
## <a name="question"></a> Got a Question or Problem?

If you have questions about how to *use* Angular, please direct them to the [Google Group][angular-group]
discussion list or [StackOverflow][stackoverflow]. We are also available on [Gitter][gitter].
discussion list or [StackOverflow][stackoverflow]. Please note that Angular 2 is still in early developer preview, and the core team's capacity to answer usage questions is limited. We are also available on [Gitter][gitter].

## <a name="issue"></a> Found an Issue?
If you find a bug in the source code or a mistake in the documentation, you can help us by
Expand All @@ -27,27 +27,16 @@ If you find a bug in the source code or a mistake in the documentation, you can

## <a name="feature"></a> Want a Feature?
You can *request* a new feature by [submitting an issue](#submit-issue) to our [GitHub
Repository][github]. If you would like to *implement* a new feature then consider what kind of
change it is:
Repository][github]. If you would like to *implement* a new feature, please submit an issue with
a proposal for your work first, to be sure that we can use it. Angular 2 is in developer preview
and we are not ready to accept major contributions ahead of the full release.
Please consider what kind of change it is:

* For a **Major Feature**, first open an issue and outline your proposal so that it can be
discussed. This will also allow us to better coordinate our efforts, prevent duplication of work,
and help you to craft the change so that it is successfully accepted into the project.
* **Small Features** can be crafted and directly [submitted as a Pull Request](#submit-pr).

## <a name="docs"></a> Want a Doc Fix?
If you want to help improve the docs, then consider what kind of improvement it is:

* For **Major Changes**, it's a good idea to let others know what you're working on to
minimize duplication of effort. Before starting, check out the issue queue for
issues labeled [#docs](https://github.com/angular/angular/labels/%23docs).
Comment on an issue to let others know what you're working on, or [create a new issue](#submit-issue)
if your work doesn't fit within the scope of any of the existing doc issues.
Please build and test the documentation before [submitting the Pull Request](#submit-pr), to be sure
you haven't accidentally introduced any layout or formatting issues. Also ensure that your commit
message is labeled "docs" and follows the [Commit Message Guidelines](#commit) given below.
* For **Small Changes**, there is no need to file an issue first. Simply [submit a Pull Request](#submit-pr).

## <a name="submit"></a> Submission Guidelines

### <a name="submit-issue"></a> Submitting an Issue
Expand All @@ -60,7 +49,6 @@ chances of your issue being dealt with quickly:

* **Overview of the Issue** - if an error is being thrown a non-minified stack trace helps
* **Motivation for or Use Case** - explain why this is a bug for you
* **Angular Version(s)** - is it a regression?
* **Browsers and Operating System** - is this a problem with all browsers?
* **Reproduce the Error** - provide a live example (using [Plunker][plunker],
[JSFiddle][jsfiddle] or [Runnable][runnable]) or a unambiguous set of steps.
Expand All @@ -71,7 +59,7 @@ chances of your issue being dealt with quickly:
### <a name="submit-pr"></a> Submitting a Pull Request (PR)
Before you submit your Pull Request (PR) consider the following guidelines:

* Search [GitHub](https://github.com/angular/angular.dart/pulls) for an open or closed PR
* Search [GitHub](https://github.com/angular/angular/pulls) for an open or closed PR
that relates to your submission. You don't want to duplicate effort.
* Please sign our [Contributor License Agreement (CLA)](#cla) before sending PRs.
We cannot accept code without this.
Expand Down Expand Up @@ -147,9 +135,9 @@ To ensure consistency throughout the source code, keep these rules in mind as yo

* All features or bug fixes **must be tested** by one or more specs (unit-tests).
* All public API methods **must be documented**. (Details TBC).
* With the exceptions listed below, we follow the rules contained in
[Google's JavaScript Style Guide][js-style-guide]:
* Wrap all code at **100 characters**.
* We follow [Google's JavaScript Style Guide][js-style-guide], but wrap all code at
**100 characters**. An automated formatter is available, see
[DEVELOPER.md](DEVELOPER.md#clang-format).

## <a name="commit"></a> Commit Message Guidelines

Expand Down Expand Up @@ -187,7 +175,7 @@ Must be one of the following:
generation

### Scope
The scope could be anything specifying place of the commit change. For example
The scope could be anything specifying place of the commit change. For example
`Compiler`, `ElementInjector`, etc.

### Subject
Expand Down
52 changes: 40 additions & 12 deletions DEVELOPER.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ JS and Dart versions. It also explains the basic mechanics of using `git`, `node
* [Environment Variable Setup](#environment-variable-setup)
* [Installing NPM Modules and Dart Packages](#installing-npm-modules-and-dart-packages)
* [Running Tests Locally](#running-tests-locally)
* [Formatting](#formatting)
* [Formatting](#clang-format)
* [Project Information](#project-information)
* [CI using Travis](#ci-using-travis)
* [Transforming Dart code](#transforming-dart-code)
Expand Down Expand Up @@ -134,6 +134,12 @@ You can selectively build either the JS or Dart versions as follows:
* `$(npm bin)/gulp build.js`
* `$(npm bin)/gulp build.dart`

Also note that in order for the whole test suite to succeed you will need to generate the type definitions by running:

```shell
$(npm bin)/gulp docs/typings
```

To clean out the `dist` folder, run:

```shell
Expand Down Expand Up @@ -175,7 +181,10 @@ Karma is run against the new output.
much easier to debug. `xit` and `xdescribe` can also be useful to exclude a test and a group of
tests respectively.

### E2e tests
**Note**: **watch mode** needs symlinks to work, so if you're using windows, ensure you have the
rights to built them in your operating system.

### E2E tests

1. `$(npm bin)/gulp build.js.cjs` (builds benchpress and tests into `dist/js/cjs` folder).
2. `$(npm bin)/gulp serve.js.prod serve.js.dart2js` (runs a local webserver).
Expand All @@ -195,23 +204,42 @@ Angular specific command line options when running protractor:
Angular specific command line options when running protractor (e.g. force gc, ...):
`$(npm bin)/protractor protractor-{js|dart2js}-conf.js --ng-help`

## Formatting
## Formatting with <a name="clang-format">clang-format</a>

We use [clang-format](http://clang.llvm.org/docs/ClangFormat.html) to automatically enforce code style for our TypeScript code. This allows us to focus our code reviews more on the content, and less on style nit-picking. It also lets us encode our style guide in the `.clang-format` file in the repository, allowing many tools and editors to share our settings.
We use [clang-format](http://clang.llvm.org/docs/ClangFormat.html) to automatically enforce code
style for our TypeScript code. This allows us to focus our code reviews more on the content, and
less on style nit-picking. It also lets us encode our style guide in the `.clang-format` file in the
repository, allowing many tools and editors to share our settings.

To check the formatting of your code, run

gulp check-format

Note that the continuous build on Travis runs `gulp enforce-format`. Unlike the `check-format` task, this will actually fail the build if files aren't formatted according to the style guide.

Your life will be easier if you include the formatter in your standard workflow. Otherwise, you'll likely forget to check the formatting, and waste time waiting for a build on Travis that fails due to some whitespace difference.
Note that the continuous build on Travis runs `gulp enforce-format`. Unlike the `check-format` task,
this will actually fail the build if files aren't formatted according to the style guide.

Your life will be easier if you include the formatter in your standard workflow. Otherwise, you'll
likely forget to check the formatting, and waste time waiting for a build on Travis that fails due
to some whitespace difference.

* Install clang-format with `npm install -g clang-format`.
* Use `clang-format -i [file name]` to format a file (or multiple).
Note that `clang-format` tries to load a `clang-format` node module close to the sources being
formatted, or from the `$CWD`, and only then uses the globally installed one - so the version used
should automatically match the one required by the project.
Use `clang-format -version` in case you get confused.
* Use `gulp enforce-format` to check if your code is `clang-format` clean. This also gives
you a command line to format your code.
* `clang-format` also includes a git hook, run `git clang-format` to format all files you
touched.
* You can run this as a **git pre-commit hook** to automatically format your delta regions when you
commit a change. In the angular repo, run

* **git pre-commit hook** is available at [llvm.org](https://llvm.org/svn/llvm-project/cfe/trunk/tools/clang-format/git-clang-format). This will automatically format your delta regions when you commit a change. To install, first patch this file to add `.ts` to the `default_extensions` section. Then copy the file somewhere in your path, for example, `/usr/local/git/current/bin/git-clang-format`. Make sure it is executable. Then, in the angular repo, run
```
$ echo -e '#!/bin/sh\nexec git clang-format' > .git/hooks/pre-commit
$ chmod u+x !$
```

* **WebStorm** can run clang-format on the current file.
1. Under Preferences, open Tools > External Tools.
1. Plus icon to Create Tool
Expand All @@ -224,7 +252,9 @@ Your life will be easier if you include the formatter in your standard workflow.
- Program: [path to clang-format, try `$ echo $(npm config get prefix)/bin/clang-format`]
- Parameters: `-i -style=file $FilePath$`
- Working directory: `$ProjectFileDir$`

* `clang-format` integrations are also available for many popular editors (`vim`, `emacs`,
`Sublime Text`, etc.).

## Project Information

### Folder structure
Expand All @@ -235,9 +265,7 @@ Your life will be easier if you include the formatter in your standard workflow.

### File suffixes

* `*.js`: JavaScript files that get transpiled to Dart and EcmaScript 5
* `*.es6`: JavaScript files that get transpiled only to EcmaScript 5
* `*.es5`: JavaScript files that don't get transpiled
* `*.ts`: TypeScript files that get transpiled to Dart and EcmaScript 5/6
* `*.dart`: Dart files that don't get transpiled

## CI using Travis
Expand Down
11 changes: 9 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
Angular [![Build Status](https://travis-ci.org/angular/angular.svg?branch=master)](https://travis-ci.org/angular/angular) [![Join the chat at https://gitter.im/angular/angular](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/angular/angular?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
[![Build Status](https://travis-ci.org/angular/angular.svg?branch=master)](https://travis-ci.org/angular/angular)
[![Join the chat at https://gitter.im/angular/angular](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/angular/angular?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
[![Issue Stats](http://issuestats.com/github/angular/angular/badge/pr)](http://issuestats.com/github/angular/angular)
[![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)

Angular
=========

Angular is a development platform for building mobile and desktop web applications. This is the
Expand All @@ -22,7 +29,7 @@ Follow the instructions given on the [Angular download page][download].
## Want to help?

Want to file a bug, contribute some code, or improve documentation? Excellent! Read up on our
guidelines for [contributing][contributing].
guidelines for [contributing][contributing] and then check out one of our issues in the [hotlist: community-help](https://github.com/angular/angular/labels/hotlist%3A%20community-help).


[contributing]: http://github.com/angular/angular/blob/master/CONTRIBUTING.md
Expand Down
Loading