Tim Blasi
edfbc25768
style(change detect): Fix typo unitialized => uninitialized
...
Closes #1928
2015-05-18 14:34:37 -07:00
Tim Blasi
05a1c6c183
perf(compiler): Avoid unnecessary List concats
...
Update `BindingRecordsCreator#getBindingRecords` and `ProtoRecordBuilder#addAst`
to avoid unnecessary calls to `ListWrapper.concat`.
Closes #1905
2015-05-18 14:34:36 -07:00
Tim Blasi
534cbb4bf5
refactor(benchmarks): Update compile benchmarks
...
Update the compile benchmark to allow the Dart transformer to properly
generate the getters, setters, & methods needed.
This also improves the method of duplicating the source templates,
further decreasing runtime from ~5s to ~2s.
2015-05-18 14:34:36 -07:00
Caitlin Potter
d9ceb42bfe
chore(gulp): log message when tasks triggered by watch
...
Closes #1882
Closes #1893
2015-05-18 14:34:36 -07:00
Jeremy Elbourn
8d6943227d
chore(material): add e2e smoke tests for a few more components.
...
Closes #1884
2015-05-18 14:34:36 -07:00
Pawel Kozlowski
3011cd86bd
feat(compiler): special-case class attribute in hostAttributes
...
Closes #1774
Closes #1841
2015-05-18 14:34:36 -07:00
Misko Hevery
cfba38b462
chore: Visual Studio Code project settings for excluding directories
2015-05-18 14:34:36 -07:00
vsavkin
11e4385173
feat(forms): improved error messages
...
Closes #1839
2015-05-18 14:34:36 -07:00
Victor Berchet
ad29b12cde
doc(NgFor): fix inline doc
2015-05-18 23:12:41 +02:00
Victor Berchet
842459aa46
doc: fix & sync with latest updates
2015-05-18 23:11:45 +02:00
Victor Berchet
b033416a45
doc(DI): fix inline doc in binding.ts
...
fixes #1894
2015-05-18 23:10:41 +02:00
Victor Berchet
7310b09a1a
doc(UrlResolver): inline doc
...
fixes #1732
2015-05-18 23:09:35 +02:00
Jeremy Elbourn
bb2eda2d15
feat(element_injector): allow @Optional for ProtoViewRef
2015-05-18 12:48:33 -07:00
Victor Berchet
0114cd97b6
refactor(RouteRegistry): optimize recognize()
2015-05-18 19:32:33 +02:00
Victor Berchet
fc13cdab3a
refactor(router): add types
2015-05-18 19:32:33 +02:00
Tim Blasi
3644036693
refactor(proto_view_factory): Move getChangeDetectorDefinitions out of ProtoViewFactory
...
Move `getChangeDetectorDefinitions` out of `ProtoViewFactory` since it
does not depend on any state in that object.
2015-05-18 08:45:59 -07:00
Marc Laval
c397297eef
chore(build): fix build.js and test.unit.cjs on Windows
...
Closes #1873
2015-05-16 22:44:11 +02:00
Misko Hevery
1eea2b254e
feat: allow for forward references in injection
...
It is possible for a class defined first to be referencing a class defined later,
and as a result at the time of the definition it is not possible to access the later's
class reference. This allows to refer to the later defined class through
a closure.Closes #1891
2015-05-15 21:12:57 -07:00
Michael Goderbauer
0e04467b8a
docs(bench press): Added link to Chromedriver bug for reference
...
Closes #1923
2015-05-15 16:51:18 -07:00
Igor Minar
9fbb3adbe2
build(travis): bump npm version to 0.9.1
...
this is to remove the warning in logs and align the ci with our local environment
2015-05-15 16:18:01 -07:00
Yegor Jbanov
b6f29b4448
feat(errors): preserve stack traces of user exceptions in Dart
2015-05-15 15:03:31 -07:00
Tobias Bosch
421d8916a6
refactor(view_manager): split `inPlace` views into root and free host views.
...
BREAKING CHANGE:
`AppViewManager.createInPlaceHostView` is replaced by
`AppViewManager.createRootHostView` (for bootstrap) and
`AppViewManager.createFreeHostView` (for imperative components).
The later creates new host elements that are not attached anywhere.
To attach them, use `DomRenderer.getHostElement(hostviewRef)`
to get the host element.
Closes #1920
2015-05-15 13:24:53 -07:00
Matan Lurey
a38a0d6f87
Merge pull request #1909 from angular/view-ref-return-types
...
Update view_ref.js
2015-05-15 12:32:22 -07:00
gdi2290
7a4a635399
feat(change_detection): uppercase and lowercase pipes
...
because the world needs more uppercase madness
[✔] clang-format
[✔] tests
2015-05-15 19:46:52 +02:00
gdi2290
557d54b3de
feat(facade): toUpperCase and toLowerCase
2015-05-15 19:46:52 +02:00
Victor Berchet
c47902a471
refactor(reflector): improve types
2015-05-15 19:26:06 +02:00
Victor Berchet
25cd6e4321
fix(Compiler): add an error when a directive is null or undefined
...
fixes #1908
2015-05-15 19:26:06 +02:00
Matan Lurey
6ad5fa0d9d
Update view_ref.js
...
Add return types.
2015-05-14 12:36:16 -07:00
Igor Minar
666336be1a
build(trees): remove unused imports
2015-05-14 10:01:37 -07:00
Igor Minar
77bf90dff1
build(gulp): don't print stack from jasmine handler failures in ci mode
...
jasmine already logs all the test failures so that stack is redundant.
2015-05-14 10:01:07 -07:00
PatrickJS
8ad0205948
docs(promise_pipe.ts): correct "async" pipe
...
the syntax is now combined with `|async` rather than separate `|promise`
2015-05-14 17:25:46 +02:00
Derek Van Dyke
7ff17db113
docs(CONTRIBUTING.md) : fix grammatical error in refactor description
...
Grammar:
- Consistency using "neither" with "nor"
2015-05-14 17:25:06 +02:00
gdi2290
1d11fdecdc
docs(annotations): correct List for directives for Component
...
@Component takes a List of directives
https://github.com/angular/angular/blob/master/modules/angular2/src/core
/annotations_impl/annotations.js#L867
2015-05-14 08:13:54 -07:00
Caitlin Potter
b1ef30aa20
test(watch): add some test coverage for watch build plugin
...
Closes #1890
2015-05-14 04:44:38 -04:00
Caitlin Potter
28659efa69
chore(traceur-jasmine): accept multiple specfile globs
2015-05-14 02:48:37 -04:00
Caitlin Potter
6c59894a29
chore(package.json): add rewire devDependency
2015-05-14 02:48:37 -04:00
Igor Minar
47b8b48ee7
build(gulp): log test errors but suppress error handling within gulp while in watch mode
...
if any tasks executed by gulp results in an error, gulp will try hard to show errors. these are usually irelevant in the
watch mode. this is why it's ok to supress them except when running in the ci test mode, in which case failing tasks and logging
exceptions is helpful.
Closes #1881
2015-05-13 22:25:15 -07:00
Caitlin Potter
3969009fe7
build(brocolli): convert brocolli-ts2dart to use TreeDiffer
...
Closes #1720
Closes #1733
2015-05-13 21:04:51 -04:00
Tobias Bosch
ecb068019b
refactor(proto_view_factory): expose data for generating change detectors
...
Also consolidates metadata handling in `ElementInjector`
BREAKING CHANGE:
- renames `DirectiveMetadataReader` into `DirectiveResolver`
and removes `src/core/compiler/directive_metadata`.
Fixes #1712
Fixes #1713
2015-05-13 17:11:59 -07:00
Tim Blasi
5114411749
perf(dart): Improve Dart ListWrapper#concat
...
Improve implementation of `ListWrapper#concat` to take advantage of our
knowledge of input list sizes.
2015-05-13 16:30:50 -07:00
vsavkin
08f21dbf51
feat(change_detection): implemented change detection that can be configured with pregenerated change detectors
2015-05-13 16:23:22 -07:00
vsavkin
d8c7c274e4
refactor(change_detector): extracted ChangeDetectorDefinition
2015-05-13 16:23:22 -07:00
Caitlin Potter
fadabf79e3
chore(package.json): update run-sequence to v1.1.0
...
v1.1.0 includes a patch to prevent manipulating arguments passed as arrays
2015-05-13 19:21:35 -04:00
Caitlin Potter
23cec1e8e2
build(gulp): use chokidar alone instead of gulp-watch
...
Closes #1759
2015-05-13 19:21:35 -04:00
Caitlin Potter
c36ea0221e
chore(package.json): uninstall gulp-watch, install chokidar@^1.0.1
2015-05-13 19:21:35 -04:00
vsavkin
685a6507b6
feat(compiler): added support for [()] syntax
2015-05-13 16:08:59 -07:00
Jacob MacDonald
846354473d
chore(cleanup): Remove some unused files.
2015-05-13 13:56:54 -07:00
Brian Ford
390cfb793b
fix(router): generate links for router-link with baseHref
2015-05-13 12:22:45 -07:00
Brian Ford
17392f663f
fix(router): sort possible routes by cost
2015-05-13 11:57:57 -07:00
Victor Berchet
8b6fa1cf19
doc: fix inline docs
2015-05-13 11:56:51 +02:00