Hank Duan
a8b75c3d41
feat(testability): hook zone into whenstable api with async support
...
closes(#428 )
2015-07-24 12:46:12 -07:00
Jason Teplitz
771c0170d9
feat(web-workers) Add WebWorker Renderer
...
Allows angular apps to be rendered from the webworker!
Closes #3052 , #3053 , and #3097
2015-07-23 18:29:10 -07:00
Sigmund Cherem
fd46b49ea6
feat(transformers): directive aliases in Dart transformers ( fix #1747 )
2015-07-23 15:25:32 -07:00
Tobias Bosch
854b5b7da8
feat(benchmark): add static_tree benchmark
...
Static binary component tree of depth 10, i.e. 1024 components.
Current numbers for `pureScriptTime` are:
JavaScript:
Baseline: 27.10+-9%
Ng2: 26.84+-8%
Ng1: 55.30+-14%
Dart:
Baseline: 30.13+-4%
Ng2: 45.94+-3%
Ng1: 128.88+-10%
I.e. in JS we are same speed as baseline right now!
Some background: We had a recent change in the compiler that merges components into their parents already during compilation (#2529 ). This made Ng2 2x faster in this benchmark (before the Ng2 JS time was 49.59+-14%ms).
Closes #3196
2015-07-22 10:58:50 -07:00
Alex Eagle
3f6dd6cd42
chore(build): remove traceur from node_tree (cjs build)
...
Fixes #3094
2015-07-16 15:48:05 -07:00
Jason Teplitz
33500e986b
feat(webworkers) Add MessageBus, Broker, and Serializer
2015-07-15 11:49:10 -07:00
Caitlin Potter
81abc39929
feat(http): add support for JSONP requests
...
Closes #2905
Closes #2818
2015-07-14 21:31:05 -04:00
Matias Niemelä
258da88765
revert: example(routing): adding routing example and e2e tests
...
This reverts commit 718fa35167
.
2015-07-08 23:03:29 -07:00
Matias Niemelä
718fa35167
example(routing): adding routing example and e2e tests
...
Closes #2650
2015-07-08 15:14:46 -07:00
vsavkin
3a8e1661fa
examples: added an example of a crud app
2015-07-01 16:25:53 -07:00
Jeff Cross
55bf0e554f
feat(http): refactor library to work in dart
...
Mostly internal refactoring needed to make ts2dart and DartAnalyzer happy.
Fixes #2415
2015-06-30 15:21:36 -07:00
Tobias Bosch
0f7dd62f16
chore(npm): correct generated package json files.
2015-06-29 10:30:00 -07:00
Marc Laval
65769699b0
chore(windows): fix the Dart e2e/benchmark tasks
2015-06-26 10:24:56 +02:00
Marc Laval
8b685466f5
chore(windows): fix the JS e2e/benchmark tasks
2015-06-26 10:24:42 +02:00
Pascal Precht
783654e6a3
chore(example): adds zippy example
2015-06-22 17:00:42 +02:00
Caitlin Potter
ed9d9d5096
build(broccoli): make node_trees produce strict-mode scripts
...
Closes #2575
Closes #2648
2015-06-19 21:19:12 -04:00
Martin Probst
f3d741854a
fix: add types for ts2dart's façade handling.
...
... in many, many places.
2015-06-12 15:41:08 -07:00
Martin Probst
a6e7123995
feat: adjust formatting for clang-format v1.0.19.
2015-06-12 09:51:57 -07:00
Rob Wormald
796fc66771
chore(build): rename .es6 files to .js
...
Change es6 source files in npm distribution to use .js extensions.
Closes #2447
2015-06-11 17:22:19 -07:00
Matias Niemelä
6cafaba993
chore(test): setup a gulp task for quickly running e2e tests against the dev server
2015-06-11 16:58:32 -07:00
Matias Niemelä
60b97b27fa
fix(build): ensure that asset files are copied over to example directories
2015-06-11 16:58:23 -07:00
Caitlin Potter
002101521c
chore(broccoli): implement diffing LodashRenderer plugin
...
Closes #2438
2015-06-09 16:13:42 -04:00
vsavkin
c564475251
example(forms): removed old forms example
2015-06-09 11:51:17 -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
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
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
Matias Niemelä
cd6175827f
refactor: use a custom replacement build step instead of broccoli-replace
2015-06-08 16:28:19 -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
Matias Niemelä
d5c528ac2b
refactor: use a custom replacement build step instead of broccoli-replace
...
Closes #2050
2015-06-05 16:16:09 -07:00
Caitlin Potter
928ec1c5f8
fix(broccoli): ensure that inputTrees are stable
2015-06-05 16:48:54 -04:00
Caitlin Potter
4ee3fdaf7f
feat(broccoli): add diffing MergeTrees plugin
...
Closes #1815
Closes #2064
2015-06-05 16:48:46 -04:00
Martin Probst
f999d5a156
chore: move to clang-format 1.0.17.
...
clang-format 1.0.17 substantially improves formatting for fat arrow functions
and array literal detection. It also fixes a number of minor formatting issues.
2015-06-03 15:27:27 -07:00
vsavkin
cd52d8a3be
fix(forms): disabled form tests on cjs until fakeAsync is fixed
2015-05-30 11:56:38 -07:00
Caitlin Potter
e5d06e479a
feat(broccoli): add incremental dartfmt plugin
...
Closes #2211
2015-05-29 18:55:37 -04:00
Igor Minar
05becf8431
style(build): reorder imports
2015-05-28 11:44:37 -07:00
Igor Minar
7b1e9286d8
build(broccoli): add tree-stabilizer plugin to deal with unstable trees
...
Previously we assumed that all input and ouput paths for broccoli trees are immutable, that turned out to be
incorrect.
By adding a tree stabilizer plugin in front of each diffing plugin, we ensure that the input trees
are stable. The stabilization is done via symlinks which is super cheap on platforms that support
symlinks. On Windows we currently copy the whole input directory, which is far from ideal. We should
investagate if using move operation on Windows is ok in the future to improve performance.
Closes #2051
2015-05-28 11:44:36 -07:00
Jeff Cross
9d90128463
refactor(ChangeDetection): convert change detection tests to typescript
2015-05-28 10:01:30 -07:00
Ian Riley
ebe1e73b1a
refactor (test/test_lib): Ts'ifying test/test_lib
...
Translates AtScript files in test/test_lib to TypeScript.
Closes #2183
2015-05-28 09:50:59 -07:00
Ian Riley
8ce0a67c81
refactor (test/services): Ts'ifying test/services
...
Translates AtScript files in test/services to TypeScript
Closes #2193
2015-05-28 09:48:38 -07:00
Tobias Bosch
05774f6c8a
fix(build): also run ts tests in node.
2015-05-22 13:19:58 -07:00
Victor Berchet
91ccc9af98
fix(XHRImpl): fix errors, add a spec
...
fixes #1715
2015-05-20 08:31:50 +02:00
Igor Minar
4ba81bf3eb
build(node_tree): fix broken test.unit.cjs task which breaks on rebuild
2015-05-19 17:40:50 -07:00
Igor Minar
c204835969
style(nodeTree): fix formatting
...
the formatting was messed up due to https://github.com/angular/clang-format/issues/7 .
I replaced the fat arrow function with regular function expression to resolve the formatting issue
2015-05-19 17:39:57 -07:00
Tobias Bosch
8aa3fcfb63
chore(build): don’t include `export var __esModule = true` in every file
...
But do it during the build process for cjs.
Right now we only need this when we transpile from ts
directly to es5. This is only the case in our
cis build, as for our browser build we only transpile
from ts to es6 via ts and then use traceur to do
the rest.
2015-05-19 15:12:59 -07:00
Tobias Bosch
1beadb8607
refactor(render): ts’ify render api
2015-05-19 15:12:59 -07:00
Victor Berchet
0f002a5b18
feat(fakeAsync): allow simulating the passage of time
2015-05-19 06:51:15 +02:00
Igor Minar
666336be1a
build(trees): remove unused imports
2015-05-14 10:01:37 -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
Victor Berchet
c8a0ed40bd
refactor(NgZone): use zone.js v0.5 from npm
2015-05-12 21:07:25 +02:00