Misko Hevery
db6d289d82
chore(upgrade): infrastructure to allow running upgrade module specs
2015-09-23 05:02:43 +00:00
Marc Laval
e166f6fe95
fix(browser): make Firefox to work with es6-shim
...
es6-shim.js must be loaded first
2015-09-18 09:39:41 +02:00
vsavkin
16bf335a4a
refactor(async): replace RxJS with RxNext
...
Closes #3110
Closes #4201
2015-09-15 23:44:57 +00:00
Rado Kirov
cac25fe003
chore(build): replace traceur-runtime with es6-shim.
...
This removes traceur as a dependency for the t push -f
angular2 build.
Closes #4148
2015-09-14 21:02:29 +00:00
Robert Messerle
39ce9d3397
feat(animate): adds basic support for CSS animations on enter and leave
...
Closes #3876
2015-09-14 17:37:09 +00:00
Rado Kirov
63141ab9ab
chore(tools): remove rtts from the repo.
...
Closes #4107
2015-09-10 21:10:36 +00:00
yjbanov
8dd6c4680b
feat(perf): change detection profiler
...
Closes #4000
2015-09-09 01:12:58 +00:00
Jeff Cross
f14b212dc9
refactor: export core APIs from angular2/core
...
This change moves many APIs to the angular2/core export.
This change also automatically adds FORM_BINDINGS in
the application root injector.
BREAKING CHANGE:
Many dependencies that were previously exported from specific
APIs are now exported from angular2/core. Affected exports, which
should now be included from angular2/core include:
angular2/forms
angular2/di
angular2/directives
angular2/change_detection
angular2/bootstrap (except for dart users)
angular2/render
angular2/metadata
angular2/debug
angular2/pipes
Closes #3977
2015-09-05 07:01:34 +00:00
Rado Kirov
e9ad100b1f
fix(build): switch to cjs output for es5.
...
System output does not work at the current versions of TS and
system.js. Will revisit after upgrading TS.
Removes unused traceur tooling.
Closes #3974
2015-09-04 23:10:34 +00:00
Ian Riley
b025f94351
chore(build): Remove traceur from build.
...
This removes traceur from the compilation step in broccoli. Broccoli now
transpiles to es5 using the typescript compiler.
2015-09-04 23:10:34 +00:00
Jason Teplitz
358908e605
feat(WebWorker): Expose MessageBroker API
...
Closes #3942
2015-09-01 23:53:54 +00:00
Jason Teplitz
3468f7cfd5
chore(build): Add WebWorker bundle.
...
Closes #3207
Closes #3881
2015-08-28 20:40:16 +00:00
Misko Hevery
37b042b361
chore: Make enum names consistent with TypeScript convention
...
BREAKING_CHANGE
Ts2Dart issue: https://github.com/angular/ts2dart/issues/270
TypeScript convention: https://github.com/Microsoft/TypeScript/wiki/Coding-guidelines
DartConvertion: https://www.dartlang.org/articles/style-guide/
Rename:
- NumberFormatStyle.DECIMAL => NumberFormatStyle.Decimal
- NumberFormatStyle.PERCENT => NumberFormatStyle.Percent
- NumberFormatStyle.CURRENCY => NumberFormatStyle.Currency
- RequestMethods.GET => RequestMethods.Get
- RequestMethods.POST => RequestMethods.Post
- RequestMethods.PUT => RequestMethods.Put
- RequestMethods.DELETE => RequestMethods.Delete
- RequestMethods.HEAD => RequestMethods.Head
- RequestMethods.PATCH => RequestMethods.Patch
- ReadyStates.UNSENT => ReadyStates.Unsent
- ReadyStates.OPEN => ReadyStates.Open
- ReadyStates.HEADERS_RECEIVED => ReadyStates.HeadersReceived
- ReadyStates.LOADING => ReadyStates.Loading
- ReadyStates.DONE => ReadyStates.Done
- ReadyStates.CANCELLED => ReadyStates.Canceled
2015-08-27 22:32:21 -07:00
Jeff Cross
8ed22ce6e7
chore: update all import paths
2015-08-25 15:33:23 -07:00
Alex Eagle
d2a3b76a71
chore(build): change comment to indicate the temporary fix is permanent.
...
Fixes #3770
Closes #3775
2015-08-24 18:33:18 +00:00
Pawel Kozlowski
a205807191
chore(build): remove references to e6-module-loader
...
I believe that it is no longer necessery after migration
to a newer version of SystemJS
Closes #3752
2015-08-23 16:06:04 +00:00
vsavkin
85ec34d1d9
feat(build): added a temporary fix to make test.unit.dart work
2015-08-21 14:58:29 -07:00
Brian Ford
06487237e5
Revert "Revert "feat(router): add angular 1.x router""
...
This reverts commit 298f1fb6a6
.
2015-08-20 13:19:34 -07:00
Victor Berchet
298f1fb6a6
Revert "feat(router): add angular 1.x router"
...
This reverts commit fde026a9e4
.
2015-08-20 08:06:14 -07:00
Brian Ford
fde026a9e4
feat(router): add angular 1.x router
2015-08-19 20:27:39 +00:00
Ian Riley
8a7a783ff2
chore(build): Modifies replace scripts to reflect new changes in systemjs.
2015-08-18 21:45:12 +00:00
Ian Riley
e68c978202
chore(npm): Upgrades systemjs to 0.18.3.
2015-08-18 21:45:12 +00:00
Pawel Kozlowski
83b69e8edc
chore: add repository field to npm package.json files
...
Fixes #2366
Closes #3621
2015-08-14 18:09:52 +00:00
Misko Hevery
284dc67076
chore: disable dart for HTTP package
...
BREAKING CHANGE
Stop supporting http module in Dart. This is because Dart has a
well developed http package which should be used by Dart
customers instead.
2015-08-13 21:18:31 +00:00
Jeff Cross
7b3cca20d2
feat(npm): publish bundles and their typings in npm distribution
...
The same bundles that are published to https://code.angularjs.org
are now included in a "bundles" folder inside the npm distribution.
Closes #3555
2015-08-12 22:05:41 +00:00
vsavkin
5b5d31fa9a
feat(pipe): added the Pipe decorator and the pipe property to View
...
BREAKING CHANGE:
Instead of configuring pipes via a Pipes object, now you can configure them by providing the pipes property to the View decorator.
@Pipe({
name: 'double'
})
class DoublePipe {
transform(value, args) { return value * 2; }
}
@View({
template: '{{ 10 | double}}'
pipes: [DoublePipe]
})
class CustomComponent {}
Closes #3572
2015-08-12 00:38:40 +00:00
Jeff Cross
5a405011de
refactor(http): move http files to top-level module
...
Closes #2680
Closes #3417
2015-08-11 22:32:17 +00:00
Jason Teplitz
84463cf0bd
Feat(WebWorker): Add WebWorker Image Filter Demo
2015-08-07 11:25:07 -07:00
Alex Eagle
643c71740e
chore(build): enable type-checking for TypeScript ES6 emit.
...
This requires delicate handling of type definitions which collide, because
we use TypeScript-provided lib.d.ts for --target=es5 and lib.es6.d.ts for
--target=es6.
We need to include our polyfill typings only in the --target=es5 case,
and the usages have to be consistent with lib.es6.d.ts.
Also starting with this change we now typecheck additional modules,
so this fixes a bunch of wrong typings which were never checked before.
Fixes #3178
2015-08-06 16:57:52 -07:00
Martin Probst
0bb78b7ef4
feat: enable the decorators compiler option.
...
This quenches a warning during compilation.
2015-08-04 19:56:02 +00:00
Alex Eagle
3c58878b19
chore(build): Upgrade to TypeScript@1.5.3
...
This change also makes us compliant with 1.6.0-dev compiler,
so we can do some experiments with apps that use 1.6 features
and compile against Angular.
We should probably add a travis build for 1.6 so we stay compatible
with both versions.
2015-07-31 20:01:27 +00:00
Jason Teplitz
c5cb7009ca
feat(WebWorkers): Add WebWorker Todo Example. Add support for more DOM events.
...
Fixed breakage caused by previous DI commit in WebWorker Todo example
2015-07-31 19:48:18 +00:00
Tobias Bosch
014b6cb397
Revert "feat(WebWorkers): Add WebWorker Todo Example. Add support for more DOM events."
...
This reverts commit d44827a4c5
.
This broke master due to a race condition in our presubmit queue.
2015-07-31 11:40:15 -07:00
Jason Teplitz
d44827a4c5
feat(WebWorkers): Add WebWorker Todo Example. Add support for more DOM events.
2015-07-31 18:33:12 +00:00
Matias Niemelä
4cfe92c47a
example(routing): adding routing example and e2e tests
2015-07-28 15:31:17 -07:00
Matias Niemelä
9d2776183a
chore(build): copy JSON files for Dart examples
2015-07-28 15:31:17 -07:00
Misko Hevery
c83a3f3372
chore(docs): added more docs for core.ts
2015-07-25 03:20:12 +00:00
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
Martin Probst
3bf8c18c56
chore: run clang-format on code base.
...
This fixes several minor indentation issues (instanceof precendence,
type declaration specificity, template string length calculation).
This should also fix some flip-flop situations with template strings.
2015-07-12 18:50:52 +02: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
Alfonso Presa
f1f578436b
feat(build): Allow building in windows without admin priviledges
...
Closes #2873
2015-07-08 16:10:23 -07:00
Matias Niemelä
718fa35167
example(routing): adding routing example and e2e tests
...
Closes #2650
2015-07-08 15:14:46 -07:00
Igor Minar
a7ea2e5566
build(broccoli): concat all typescript error messages into the message of thrown exception
...
This allows us to to do better error handling and for cli this means that we can show typescript
errors in the output of the webserver
2015-07-02 23:21:33 -07:00
Martin Probst
e69af1a3cd
fix: handle errors w/o file information.
...
TypeScript errors do not always include file information, e.g. for
global errors triggered by incorrect compiler options.
2015-07-02 12:24:38 +02: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
Jeff Cross
fa7da0ca5d
revert: "build: speed up karma run by passing in list of dist files that changed"
...
This reverts commit 7fc1ee67d1
.
This commit caused the build to break.
2015-06-30 14:44:44 -07:00
Jeff Cross
d49459750a
revert: "style: fix formatting"
...
This reverts commit d6b56c2380
.
The previous commit caused the build to break.
2015-06-30 14:44:12 -07:00
Igor Minar
d6b56c2380
style: fix formatting
2015-06-30 13:03:03 -07:00
Igor Minar
7fc1ee67d1
build: speed up karma run by passing in list of dist files that changed
...
This change causes the build system to write a log file into the tmp folder after each build.
This file contains command line arguments that tell karma about all the added/changed/removed files
from the last build. Karma can then use this list instead of doing internal globbing which can be
very expensive especially for hte dart builds that contain thousands of files.
Closes #2437
2015-06-30 11:53:47 -07:00
Caitlin Potter
73b3ed18c1
build(broccoli): don't set stored diffResult to null on use
...
Doing this would break trees which are used multiple times.
2015-06-29 16:13:02 -07:00
Caitlin Potter
a93ec73e72
build(broccoli): store DiffResult for re-use only if DiffResult
...
One of the non-angular broccoli plugins returns a weird object. We can't
assume that all trees meet the contract that we expect them to meet, so
we do a typecheck before storing the result of the rebuild.
Closes #2662
2015-06-29 16:13:02 -07:00
Caitlin Potter
9a290f0c22
Revert "Revert "build(broccoli): allow rebuild() to return DiffResult""
...
This reverts commit 2c3c235969
.
2015-06-29 16:13:02 -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
Marc Laval
746efe7eba
chore(windows): fix the test.unit.tools task
2015-06-26 10:24:22 +02:00
Tobias Bosch
2c3c235969
Revert "build(broccoli): allow rebuild() to return DiffResult"
...
This reverts commit d575915d7a
.
See #2662
2015-06-23 13:21:17 -07:00
Tobias Bosch
0a51ccbd68
feat(render): don’t use the reflector for setting properties
...
BREAKING CHANGES:
- host actions don't take an expression as value any more but only a method name,
and assumes to get an array via the EventEmitter with the method arguments.
- Renderer.setElementProperty does not take `style.`/... prefixes any more.
Use the new methods `Renderer.setElementAttribute`, ... instead
Part of #2476
Closes #2637
2015-06-22 18:35:16 -07:00
Pascal Precht
783654e6a3
chore(example): adds zippy example
2015-06-22 17:00:42 +02:00
Caitlin Potter
d575915d7a
build(broccoli): allow rebuild() to return DiffResult
...
Plugins may opt to return a DiffResult themselves, and avoid the
need to calculate a diff
Closes #2514
2015-06-19 21:35:44 -04: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
920982c4e8
chore: update files to match clang-format 1.0.21.
2015-06-19 15:00:32 -07:00
Caitlin Potter
37fceda7e8
chore(broccoli): improve `overwrite` error in merge-trees
...
Modified the error message to include the relative duplicate path,
to help in diagnosing the cause of the error message.
Closes #2521
2015-06-16 13:01:35 -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
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
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
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
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
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
5357b1548a
chore(broccoli): disable logging in DiffingBroccoliPlugin
...
It is very noisy, especially when multiple trees are used. Since the
tree differ is fairly quick, it's not measuring the real costs of a
plugin anyhow.
Closes #2378
2015-06-05 17:49:25 -04:00
Caitlin Potter
928ec1c5f8
fix(broccoli): ensure that inputTrees are stable
2015-06-05 16:48:54 -04:00
Caitlin Potter
dc8dac7c35
feat(broccoli): improve merge-trees plugin and add "overwrite" option
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
Caitlin Potter
41ae8e76f0
feat(diffing-broccoli-plugin): support multiple inputTrees
...
Closes #1815
Closes #2064
2015-06-05 16:48:32 -04:00
Martin Probst
471a1b6d12
fix: format a file that slipped in.
2015-06-03 15:50:45 -07: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
Brian Ford
31b6687894
fix(build): make dart formatter errors more readable
...
Truncates the output to just the interesting parts
2015-06-03 14:42:24 -07:00
Brian Ford
381d4cb30a
fix(gulp): prevent duplicate error messages
...
Closes #2021
2015-06-03 14:42:24 -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
Brian Ford
05d66bba3f
fix(test): clang formatting errors
2015-05-28 13:30:45 -07:00
Igor Minar
b14417498a
build(broccoli): reorder tree-differ specs
2015-05-28 11:44:37 -07:00
Igor Minar
05becf8431
style(build): reorder imports
2015-05-28 11:44:37 -07:00
Igor Minar
160c38b5ca
build(broccoli): improve error messaging from TreeDiffer
2015-05-28 11:44:37 -07:00
Igor Minar
9b0fa0dedc
build(broccoli): TreeDiffer should log associated plugin name rather than inputPath
...
Usually we don't care what we are diffing, but why we are diffing it. With this change we see what is causing build slowdown
due to diffing.
2015-05-28 11:44:37 -07:00
Igor Minar
c1157d62a8
build(broccoli): update broccoli.d.ts docs
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
Martin Probst
2c25055828
chore: reformat the code base using the clang-format 1.0.15.
2015-05-27 15:28:22 -07:00
Tobias Bosch
05774f6c8a
fix(build): also run ts tests in node.
2015-05-22 13:19:58 -07:00
Igor Minar
4210b0e66a
build(broccoli-typescript): refactor output removal
...
this is just to make the code a bit more easier to follow
2015-05-20 11:30:45 -07:00
Igor Minar
2d6c44b54a
build(broccoli-typescript): do full rebuild after we recover from incremental failures
...
this is to ensure that we are not reporting success if unchanged files still contain errors.
2015-05-20 11:30:44 -07:00
Victor Berchet
91ccc9af98
fix(XHRImpl): fix errors, add a spec
...
fixes #1715
2015-05-20 08:31:50 +02:00
Igor Minar
c54f5e0ba2
build(broccoli-typescript): do a global emit during the first run
...
reduces the time spent in TSC for the initial build to 1 sec (down from 23sec).
2015-05-19 17:41:50 -07:00
Igor Minar
37a8f1037e
build(broccoli-typescript): add missing semicolon
2015-05-19 17:41:50 -07: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
Caitlin Potter
aad5795408
fix(tree-differ): treat symlinks to deleted paths as removals
...
Previously, tree-differ would not correctly handle symlinks to deleted files, resulting in
an ENOENT errno being tossed by libuv.
This change fixes this to ensure that symlinks are safely handled, performantly.
Closes #1961
2015-05-18 20:36:29 -04: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
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
Victor Berchet
e11c20541a
refactor(VmTurnZone): renamed to NgZone
...
BREAKING CHANGE:
VmTurnZone has been renamed to NgZone.
- The public API has not chnanged,
- The "outer" zone is now named "mount" zone (private to NgZone).
2015-05-12 21:03:24 +02:00
Victor Berchet
fd1d60f03b
refactor(VmTurnZone): use the browser microtask queue for JS
2015-05-12 21:03:24 +02:00
Victor Berchet
e8a6c95e2a
feat(VmTurnZone): Rework the implementation to minimize change detection runs
...
Before this PR there were only 2 zones: root zone = outer zone > inner
zone.
This PR creates the outer zone as a fork of the root zone: root > outer
> inner.
By doing this it is possible to detected microtasks scheduling in the
outer zone and run the change detection less often (no more than one
time per VM turn).
The PR also introduce a Promise monkey patch for the JS implementation.
It makes Promises aware of microtasks and again allow running the change
detection only once per turn.
2015-05-12 21:03:24 +02:00
Tim Blasi
4320859e1b
chore(dart): Copy css resources in build
...
Include css resources in the files copied to the dist/dart directory.
This fixes 404s occuring when testing the todo/ app.
2015-05-12 10:02:00 -07:00
Tim Blasi
44f829dbc6
feat(dart/transform): Use the render Compiler and the DirectiveParser
...
Update the `TemplateCompile` step to use the full render `Compiler`.
Provide `DirectiveMetadata` for `ViewDefinition` objects and use it to
run the `DirectiveParser` step of the render compile pipeline.
2015-05-08 11:18:40 -07:00
vsavkin
fa28b28d0a
build(typescript): Migrated change detection to typescript
2015-05-07 17:18:04 -07:00
Caitlin Potter
a58c9f83bd
fix(brocolli): escape special regexp characters when building regexps
...
Special regexp tokens were allowed unchanged previously, which incorrectly broke
the include/exclude behaviour. Now, they're escaped first.
Closes #1721
Closes #1752
2015-05-07 19:01:12 -04:00
Alex Eagle
1daa8aa3a1
chore(shrinkwrap): update dependencies to latest
...
Also, our package.json was out-of-sync with npm-shrinkwrap.json; see https://github.com/angular/angular/issues/1737
This includes a fix for the shrinkwrapping of ts2dart; see https://github.com/angular/ts2dart/issues/138
2015-05-07 14:29:43 -07:00
Caitlin Potter
aaf3edd131
build(brocolli): move filename filtering into DiffingPluginWrapper
...
Closes #1719
2015-05-07 17:00:35 -04:00
Igor Minar
1d0078415f
build(broccoli): refactor typescript plugin to be incremental via DiffingBroccoliPlugin
2015-05-06 07:45:46 -07:00
Igor Minar
3f36a3c119
build(broccoli): traceur plugin should react only to .js/.es6/.cjs file removal
2015-05-06 07:45:46 -07:00
Igor Minar
8c15ccecd1
build(broccoli): add DiffingBroccoliPlugin and refactor existing plugins to use it
...
tree-differ:
- export both TreeDiffer and DiffResult interface
diffing-broccoli-plugin:
- factory class for wrapping DiffingBroccoliPlugins and turning them into BroccoliTrees
broccoli-dest-copy:
- refactor into DiffingBroccoliPlugin
broccoli-traceur:
- refactor into DiffingBroccoliPlugin
2015-05-06 07:45:45 -07:00
Igor Minar
e966869744
build(broccoli.d.ts): add tree.description signature
2015-05-06 07:45:45 -07:00
Julie Ralph
bb6f59e423
chore(build): make karma watch broccoli output for dart unit tests
...
Previously, karma used a custom preprocessor. Instead, have karma
run built dart from the `dist` folder and use gulp and broccoli
to watch for changes.
2015-05-05 19:24:20 -07:00
Alex Eagle
3c77855b39
chore(build): Remove .es6 files which shadow .ts files.
...
This removes .es6 files which are pure duplicates of a
.ts file in the same folder.
Next we need to remove .js files as well, and remove karma preprocessors for dart.
2015-05-01 09:51:03 -07:00
vsavkin
e4342743c0
feat(benchmark): added an implementation of the tree benchmark in React
2015-04-30 18:12:21 -07:00
Rado Kirov
fb67e37339
feat(decorators): adds decorators to be used by TS and Babel transpiled apps.
2015-04-29 15:13:25 -07:00
Marc Laval
a51a5c2968
chore(build): run forms tests in Node
...
Closes #1565
2015-04-29 13:58:07 +02:00
Igor Minar
2827ca1559
build(broccoli): add a tree-differ workaround to browser trees
2015-04-27 10:50:59 -07:00
Igor Minar
8ea03d0380
build(gulp): fix incremental compilation by reusing angularBuilder across watch re-reruns
2015-04-27 10:47:52 -07:00
Igor Minar
0a97f0b645
build(js.cjs): re-enable tests that now pass in cjs
...
previously these tests were failing but now they pass on master
2015-04-27 10:47:52 -07:00