Igor Minar
4fd4a1d15c
chore(travis): turn on travis cache for npm dependencies
2015-04-16 16:58:28 -07:00
Igor Minar
371c8b8a1c
chore(travis): add npm/install-dependencies.sh step in preparation for caching
2015-04-16 16:58:28 -07:00
Igor Minar
eb87f5f851
chore(npm): add shrinkwrap to our project
2015-04-16 16:58:28 -07:00
Igor Minar
27d227283c
chore(npm): remove duplicate fs-extra dependency
2015-04-16 16:58:28 -07:00
Igor Minar
ea9d24be31
chore(npm): move tsd update to post install and add tsd version to devDependencies
2015-04-16 16:58:27 -07:00
vsavkin
5408abca68
refactor(change_detection): removed global change detection objects so it is possible to override pipe registry
2015-04-16 15:57:45 -07:00
vsavkin
233cb0f96a
feat(view): changed event emitters to be observables
2015-04-16 14:44:14 -07:00
Julie Ralph
8b28e99373
fix(benchpress): explicitly require navigation to finish before continuing
2015-04-16 14:04:41 -07:00
Tobias Bosch
923d90bce8
refactor(views): clean up creating views in place and extract view_hydrator
...
Major changes:
- `compiler.compileRoot(el, type)`
-> `compiler.compileInHost(type) + viewHydrator.hydrateHostViewInPlace(el, view)`
- move all `hydrate`/`dehydrate` methods out of `View` and `ViewContainer` into
a standalone class `view_hydrator` as private methods and provide new public
methods dedicated to the individual use cases.
Note: This PR does not change the current functionality, only moves it
into different places.
See design discussion in #1351 , in preparation for imperative views.
2015-04-16 11:58:01 -07:00
vsavkin
97fc248e00
cleanup(di): changed an error message to be more descriptive
2015-04-16 11:06:20 -07:00
vsavkin
7bd682bb27
feat(parser): changed parser to parse pipes in the middle of a binding
2015-04-16 10:39:03 -07:00
Tim Blasi
e927342e58
Read only a single DirectiveMetadata (will be squashed)
2015-04-16 09:11:03 -07:00
Tim Blasi
ae84eb7462
refactor(dart/transform): Correct Dart analyzer warnings
2015-04-16 09:11:03 -07:00
Tim Blasi
f89bb8eaf3
Address code review comments
2015-04-16 09:11:03 -07:00
Tim Blasi
0d0b3a35da
test(dart/transform): Add unit tests for DirectiveMetadataReader
2015-04-16 09:11:03 -07:00
Tim Blasi
cf7bef58b0
feat(dart/transform): Add the DirectiveMetadataReader
...
Add a class that parses and reads Directive metadata to prepare for
running the Render compiler in the Dart transformer.
2015-04-16 09:11:02 -07:00
Jacob MacDonald
c65fd31e86
feat(dart/transform): Detect annotations which extend Injectable or Template.
...
Create a method that recursively walks imports from an entry point and
determines where classes are registered.
Use this information to determine if a particular annotation implements or
extends Injectable or Template.
2015-04-16 07:17:24 -07:00
Kevin Moore
6600ac7031
chore: Fix missing analysis for lib and web directories
...
Pending issue to fix analyzer items in web: https://github.com/angular/angular/issues/1392
2015-04-15 20:58:29 -07:00
Kevin Moore
957384ceeb
fix: Fix issues found by Dart analyzer
2015-04-15 20:58:29 -07:00
Marc Laval
d3e391d176
chore(build): run render tests in Node
...
Closes #1358
2015-04-15 19:51:11 -07:00
Peter Bacon Darwin
0658d5602e
chore(doc-gen): ignore exports marked as @private
...
Closes #1363
2015-04-15 19:50:01 -07:00
Simon Hürlimann (CyT)
458213d055
docs(DEVELOPER.md): mention building JS or Dart selectively
...
Closes #1375
2015-04-15 19:48:38 -07:00
Bradley Heinz
cd1295a823
Update 01_templates.md
...
Closes #1373
2015-04-15 19:48:34 -07:00
Bradley Heinz
5d302c504e
Update 02_directives.md
...
Closes #1374
2015-04-15 19:48:31 -07:00
vsavkin
68faddbf5c
feat(change_detection): updated handling ON_PUSH detectors so they get notified when their bindings change
2015-04-15 16:21:21 -07:00
Kevin Moore
dc9c614da2
chore: break out warnings vs hints in build/analyze.dart
...
give a better report of errors
2015-04-15 15:46:16 -07:00
vsavkin
8c1adabe1c
refactor(change_detection): renamed BindingPropagationConfig to ChangeDetectorRef
2015-04-15 12:58:58 -07:00
Tobias Bosch
213dabdceb
fix(view): remove dynamic components when the parent view is dehydrated
...
Also adds a bunch of unit tests for affected parts.
Fixes #1201
2015-04-15 12:53:21 -07:00
Tobias Bosch
6ecaa9aebb
feat(change detection): add removeShadowDomChild
2015-04-15 12:53:21 -07:00
Tobias Bosch
cb2e646332
fix(tests): create default spys for all methods on a class
2015-04-15 12:53:20 -07:00
Tim Blasi
fef1dee7aa
fix(dart/transform): Ensure consistent ordering of generated imports
...
- Linked imports are generated in a consistent order.
- Linked imports are generated immediately after their associated files.
2015-04-15 12:09:51 -07:00
Tobias Bosch
e14543498c
fix(build): remove import of gulp-traceur which pulls in a different version of traceur
...
This lead to build fails.
2015-04-15 11:17:42 -07:00
Tobias Bosch
c25478380c
docs(benchpress): add details about normalized mobile environment.
2015-04-15 10:12:13 -07:00
Misko Hevery
e819e97f9a
docs: expose more API to public, document QueryList
2015-04-15 05:10:26 +00:00
Jeremy Elbourn
f149ae79c6
feat(material): first ng2 material design components
2015-04-14 16:15:35 -07:00
Rado Kirov
ffe13078e5
feat(bundle): add script to push bundles to code.angularjs.org
...
Copied over from angular js 1.x.
2015-04-14 14:50:53 -07:00
vsavkin
f0d0fe0801
refactor(change_detection): cleaned up change_detection.js
2015-04-14 14:34:57 -07:00
Naomi Black
d630d5baa5
docs(change_detection): document LifeCycle
2015-04-14 14:16:14 -07:00
Tim Blasi
7cac7c5157
refactor(dart/transform): Correct Dart analyzer warnings
...
- Fix numerous Dart analyzer warnings we had been ignoring.
- Delete unused `in_progress` dir
2015-04-14 13:41:22 -07:00
Martin Probst
aba61f22a6
chore(build): Remove even more obsolete build config values.
2015-04-14 13:38:41 -07:00
Naomi Black
8475c63a6a
misc(docs): Edits and additions for Forms and Change Detection
2015-04-14 13:34:29 -07:00
Martin Probst
2d09f84182
fix(build): Fail the build for certain TS errors.
2015-04-14 11:54:36 -07:00
Martin Probst
ef6e0d8eb8
chore(build): remove obsolete html.js, copy.js, srcFolderInsertion.
2015-04-14 11:54:36 -07:00
Martin Probst
db97d73c3b
feat(build): Move HTML copying into the broccoli task.
...
This includes all tasks to construct a Dart tree, except for formatting, and
reverse engineers/refactors the various copy tools for added more sanity.
2015-04-14 11:54:31 -07:00
Peter Bacon Darwin
0e3d0fbec6
docs(change_detection): don't annotate exports that are already in public modules
...
Since `DynamicChangeDetection` and `JitChangeDetection` classes are alreadt in the
public module, they do not need to be annotated with a `@exportAs` tag
Closes #1353
2015-04-14 13:22:41 +01:00
Peter Bacon Darwin
896a1564ef
chore(doc-gen): only clone docs that are actually being re-exported to a new module
...
Closes #1353
2015-04-14 13:20:49 +01:00
vsavkin
8b97cf1479
cleanup(view): changed ComponentRef to contain ElementRef instead of extending it
2015-04-13 19:30:00 -07:00
vsavkin
b5c9f9ed9b
cleanup(element_injector): added a missing test
2015-04-13 19:30:00 -07:00
Yegor Jbanov
bda120d862
chore(pub): run build/pubspec.dart before build/analyzer.dart
2015-04-13 18:34:34 -07:00
Rado Kirov
3177576ad6
feat(bundle): adds a self-executing dev bundle (SFX).
2015-04-13 18:05:53 -07:00