Kevin Moore
633cf63682
fix: compare strings with StringWrapper.equals
...
Fixes https://github.com/angular/angular/issues/2458
2015-06-10 23:02:48 +02:00
Rado Kirov
92d565848b
fix(shadow_dom): moves the imported nodes into the correct location.
2015-06-10 13:50:12 -07:00
Caitlin Potter
617d693102
fix(dartfmt): don't break win32 command line limit
...
Closes #2420
Closes #1875
2015-06-10 14:43:33 -04:00
Igor Minar
4530b93a6e
build(broccoli): remove unneded reference path from broccoli-ts2dart
2015-06-10 11:13:41 -07:00
Igor Minar
dc45559c17
build(broccoli): add support for DiffResult#addedPaths
...
Some plugins want to explicitly know of new paths, so we need to distinguish them from changed paths.
2015-06-10 11:11:28 -07:00
Peter Bacon Darwin
efab03274f
chore(doc-gen): autogenerate Angular version in angular.d.ts file
2015-06-10 12:42:24 +01:00
Peter Bacon Darwin
f2e2ce15cd
chore(doc-gen): add `type-alias` export doc type
...
See #2446
2015-06-10 12:14:10 +01:00
Tim Blasi
ddd5a235c3
test(change detect): Port change detect tests for mode
...
More the change detect tests that exercise various detection modes to
use the Dart pre-generated change detectors in addition to the `dynamic`
and `JIT` change detectors.
See #502
2015-06-09 17:04:50 -07:00
Peter Bacon Darwin
2cc2196140
docs(annotations_impl): fix invalid code blocks
2015-06-09 23:11:08 +01:00
Peter Bacon Darwin
65cbcb2f73
chore(doc-gen): ensure `log` is injected into `getExportDocType`
...
See #2446
2015-06-09 23:07:35 +01:00
Caitlin Potter
002101521c
chore(broccoli): implement diffing LodashRenderer plugin
...
Closes #2438
2015-06-09 16:13:42 -04:00
vsavkin
902759e1c7
fix(analzyer): removed unused imports
2015-06-09 12:35:47 -07:00
vsavkin
c564475251
example(forms): removed old forms example
2015-06-09 11:51:17 -07:00
vsavkin
4cd29f791f
examples(forms): added an example of using model-driven forms
2015-06-09 11:51:16 -07:00
vsavkin
3eff7be9a6
examples(forms): added an example of using template-driven forms
2015-06-09 11:51:15 -07:00
vsavkin
e7e82cbee6
feat(forms): set exportAs to form for all form related directives
2015-06-09 11:51:15 -07:00
vsavkin
73bce40287
feat(forms): export validator directives as part of formDirectives
2015-06-09 11:51:14 -07:00
vsavkin
5fc23caef7
feat(forms): changed forms to capture submit events and fires synthetic ng-submit events
2015-06-09 11:51:13 -07:00
vsavkin
1a4d23742b
feat(forms): added hasError and getError methods to all controls
2015-06-09 11:51:08 -07:00
Rado Kirov
8923103c3b
fix(npm): update scripts and readme for npm packages.
...
Replaces AtScript with Typescript.
Closes #2377
2015-06-09 11:39:08 -07:00
Jeff Cross
f34f8df319
refactor(xhr): move render's xhr implementation to render/
...
The existence of this module in the services/ folder led some to believe xhr
is meant to be a general-purpose http library.
Fixes #2305
2015-06-09 10:28:35 -07:00
Jeff Cross
21568106b1
feat(http): add basic http service
...
This implementation only works in JavaScript, while the Observable transpilation
story gets worked out. Right now, the service just makes a simple request,
and returns an Observable of Response.
Additional functionality will be captured in separate issues.
Fixes #2028
2015-06-09 10:00:04 -07:00
Kevin Kirsche
363b9ba415
build(bower): remove moot `version` property from bower.json
...
Per bower/bower.json-spec@a325da3
Closes #2426
2015-06-09 08:53:49 -07:00
Tim Blasi
0409b4ca49
test(change detect): Port more change detect tests
...
Move more change detector unit tests to exercise the Dart pre-generated
change detectors in addition to `dynamic` and `JIT` change detectors.
See #502
2015-06-09 07:18:48 -07:00
Caitlin Potter
7611f92f5b
fix(diffing-broccoli-plugin): wrapped trees are always stable
2015-06-08 23:35:32 -07:00
Igor Minar
7aa9751054
build(broccoli): replace broccoli-flatten with diffing flatten implementation
...
Once we add support for addedPaths then this implementation will be significantly faster than the original.
In the meantime we benefit from having stable output directory which solves issues with certain files disappearing
during rebuild of a tree that contains flatten and mergeTree plugins.
Closes #2418
2015-06-08 23:35:31 -07:00
Igor Minar
77b52d65c7
build(broccoli): remove unused import from broccoli-replace
2015-06-08 23:35:31 -07:00
Igor Minar
5df56b47d6
build(gulp): don't double build during init of serve.js.dev
2015-06-08 23:35:31 -07:00
Igor Minar
1eefde7f0d
build(broccoli): replace stew.map with diffing replace
...
This fixes issues with broken symlinks that occur due to some weird interaction between stew.mv,broccoli-funnel
and our diffing plugins.
Closes #2386
2015-06-08 23:35:31 -07:00
Igor Minar
44b31f326b
build(broccoli): log the build tree after each build into tmp/build.*.log
...
This log can then be used to visualize the build tree and map paths in the tmp/ dir
to individual nodes in the build tree.
2015-06-08 23:35:31 -07:00
Rado Kirov
b5431e4cc0
fix(build): only pass ts files to ts2dart transpilation.
...
Originally, we had .js as transpilation targets, but all those files
have been converted.
2015-06-08 18:56:57 -07:00
Rado Kirov
83e99fc72d
fix(bundle): makes interfaces.ts non-empty when transpiled.
...
System.js seems detect an empty file as global and choke on exporting
symbols from angular2/angular2 (possibly a bug in system.js).
As temporary measure we make sure that the file has some (fake) runtime
code left.
Closes : #2343
2015-06-08 17:52:25 -07:00
Matias Niemelä
cd6175827f
refactor: use a custom replacement build step instead of broccoli-replace
2015-06-08 16:28:19 -07:00
gdi2290
e77710a372
fix(JsonPipe): always transform to json
...
BREAKING CHANGE:
no longer cache ref
2015-06-08 16:22:04 -07:00
Tim Blasi
b6e95bb96e
feat(change detect): Throw on attempts to use dehydrated detector
...
- Modify change detectors to `throw` when attempting to detect changes
on a dehydrated detector.
- Modify `DynamicChagneDetector` to use `null` for the `context` of a
dehydrated detector.
2015-06-08 16:10:41 -07:00
Brian Ford
cd95e078fe
feat(router): add routing to async components
...
Note that this also removes the `components` option from `RouteConfig`.
This functionality will be reintroduced with the more general `//` routing.
See #2329 for more details.
2015-06-08 15:49:56 -07:00
Brian Ford
548f3dd5cc
feat(facade): add isMap method
2015-06-08 15:49:56 -07:00
Tim Blasi
d5195d4097
test(change detect): Port Locals tests to pregenerated cds
...
Move existing unit tests exercising Locals to also test Dart's
pre-generated change detectors.
See #502
2015-06-08 13:27:11 -07:00
Igor Minar
fda8b1d87c
build(gulp): don't try to run cleanup.builder task if builders were not initialized
2015-06-08 13:05:04 -07:00
Igor Minar
7140c9cc34
build: make 'npm install' work reliably and issue build warning when node_modules look stale
...
This is done a in bit kludgy way on purpose so that it works on Windows and CI.
Works around npm/npm#8452.
Closes #2038
2015-06-08 13:05:04 -07:00
Victor Berchet
4d338a4f5c
test(ElementInjector): test that hostInjector has priority over viewInjector
2015-06-08 20:34:44 +02:00
Victor Berchet
6a6b43de07
feat(ElementInjector): throw if multiple directives define the same host injectable
...
relates to #2015
2015-06-08 20:34:44 +02:00
Victor Berchet
309ef0f354
refactor(test): remove explicit calls to flushMicrotasks()
...
flushMicrotasks() is now called at after the fakeAsync callback returns,
see https://github.com/angular/angular/pull/2290
2015-06-08 20:30:49 +02:00
Tim Blasi
81fc657356
refactor(change detect): Remove unnecessary param from tests
2015-06-08 11:21:45 -07:00
Victor Berchet
29c72abcc4
feat(Events): allow a different event vs field name
...
closes #2272
closes #2344
2015-06-08 19:29:49 +02:00
Victor Berchet
79f3f3b456
refactor(Lexer): refactor scanComplexOperator()
2015-06-08 14:46:55 +02:00
Tim Blasi
d1b35f9174
fix(dart/transform): Don't set ReflectionCapabilities over an async gap
...
Update the transformer's `TemplateCompiler` phase to avoid setting
`reflector.reflectionCapabilities`, allowing asynchronous
operations, and restoring the original value, which allows
`reflector.reflectionCapabilities` to get into a bad state.
2015-06-06 17:10:06 -07:00
Igor Minar
f3dd9b5b31
build(clang-format): skip formatting of spec files until angular/clang-format#11 is fixed
...
otherwise checking format and reformatting takes 50seconds or more :-(
2015-06-06 15:07:01 -07:00
Matias Niemelä
72736a1b09
revert: refactor: use a custom replacement build step instead of broccoli-replace
...
This reverts commit d5c528ac2b
.
2015-06-06 00:58:57 -07:00
Misko Hevery
a418397174
fix: corrected var/# parsing in template
...
Closes #2084
2015-06-05 16:22:41 -07:00