b61b8d60b7
refactor(forEach): change to for-of with iterable
...
rename: foreach -> for
rename: array -> iterable
update: DartParseTreeWriter
update: naive_infinite_scroll
update: todo
fix: tests in foreach_spec
Closes #919
2015-03-21 14:19:21 -07:00
52bf0def4e
chore(test): improve test.unit.cjs task
...
Closes #998
2015-03-18 21:51:57 -07:00
a963ae48e5
feat(benchmarks): add polymer js 0.8-preview benchmark
...
Limitations because of preview status (see #960 ):
- does not yet use ShadowDOM
- does not use a builtin conditional like `if`
- uses a temporary bower repository
Closes #943
2015-03-13 20:48:03 -07:00
75ecaf02b9
chore: upgrade guinness to remove a workaround in testlib
2015-03-13 18:19:10 -07:00
ce29862e2f
fix(dart_libs): add _dart suffix only for reserved lib names.
...
Closes #871
2015-03-12 15:14:39 -07:00
dd3e6271c2
chore(services): rename services.
...
Closes #711
2015-03-11 18:30:37 -07:00
1d4ff9bcdc
feat(compiler): parse5 DOM adapter
...
Closes #841
2015-03-11 14:42:54 +01:00
9c9769e3dd
fix(build): copy files that are included in html files to the same folder
...
This is e.g. needed to allow Dart benchmarks to be served via `pub`
2015-03-02 16:34:32 -08:00
e490861ba2
fix(docs): make them run again and integrate into ci
2015-02-26 15:38:12 -08:00
3f25f5a356
feat(build): add general copy/multicopy method
2015-02-24 16:53:44 -08:00
d1f03e509b
fix(benchpress): benchpress fixes and a smoke test for Dart
2015-02-23 10:50:51 -08:00
7aa031b3d3
feat(bench press): use chrome tracing protocol and initial iOS support
2015-02-20 13:20:17 -08:00
85211f0a6b
fix(core): workaround for circular dependencies in nodejs
...
Closes #716
2015-02-19 13:42:27 -08:00
fb5b168b19
chore: Remove unused imports and enable checks for unused imports as part of build
2015-02-18 21:06:30 -08:00
cd90038950
fix(types): Add StringMap type
2015-02-18 09:53:27 -08:00
674848648a
feat(facade): add support for Date
...
Also refactors the dart transpilar to expose
the type mappings for future changes.
2015-02-17 16:02:46 -08:00
f6284f2a55
feat(benchpress): rewritten implementation
...
Limitations:
- cloud reporter is not yet supported any more
2015-02-16 11:43:27 -08:00
44845839a6
fix(transpiler): support arrow functions with complex body in named arguments
2015-02-16 10:48:44 -08:00
013e1faf27
fix(build): support transpile to commonjs
2015-02-11 13:09:52 -08:00
729e38af19
feat(build): add npm publish script
...
Also fixes gulpfile:
- `runSequence` needs to be called with `done` callback
- `es5build` should only run when the task executes…
2015-02-10 16:28:28 -08:00
dd532fee72
feat(build): add package.json and README.md for publishing to npm
2015-02-10 11:52:42 -08:00
69bba9b5df
feat(build): transpile to es6
...
Transpile all sources first to es6 which we can publish and then
to es5. Also merge the generated source maps into once map.
2015-02-10 11:27:22 -08:00
320c089dcc
feat(packaging): automatically copy LICENSE to dist folders
2015-02-09 14:02:42 -08:00
f39c6dc2c7
fix(setup): use upstream traceur with explicit patches
...
Also correct the transpile to ES6
Also support generics correctly
All patches are hooked in via `/tools/transpiler/index.js`
https://github.com/google/traceur-compiler/issues/1700
https://github.com/google/traceur-compiler/issues/1699
https://github.com/google/traceur-compiler/issues/1708
https://github.com/google/traceur-compiler/issues/1625
https://github.com/google/traceur-compiler/issues/1706
2015-02-06 17:04:08 -08:00
6bfa48bc64
refactor(directives): Drop ng- prefix from all angular directives and rename NgRepeat to Foreach
...
fixes #532
Closes #539
2015-02-06 09:24:50 -08:00
93c18f5396
fix(build): Escape dollar signs in dart-transpiled string literals
...
Escape dollar signs in string literals - dart should not interpolate them.
Closes #509
2015-02-05 18:00:14 -08:00
9f6b6cc50c
chore(packaging): update imports in tools
2015-02-05 15:58:15 -08:00
bfdcb6c77c
chore(build): ignore [info] analyzer warnings
2015-02-05 15:47:13 -08:00
e20d9dd073
feature(build): add nodejs-based unit test for dart transpiler.
...
This adds a unit test to the transpiler. Existing tests are themselves transpiled to ES5, which makes it impossible to do some kinds of assertions. For example, this will be useful to repro https://github.com/angular/angular/issues/509 .
In this change, the actual issue isn't fixed. It only adds the reproduction.
It uses the jasmine test runner, since it's already used by the docs test. That uses version 1 of Jasmine, which isn't ideal, but I want to be consistent for now.
I discussed with Tobias the possibility of switching to Mocha for these nodejs-based tests, and we might do that sometime later.
2015-02-05 11:55:49 -08:00
05ffdc9b44
refactor(build): explicitly mention src
folder in imports
...
Export files are now directly under the module folder,
e.g. `core/core.js`. With this, an import like `core/core`
won’t need a path mapping (e.g. via `System.paths`) any more.
This adds the `src` folder to all other import statements as well.
2015-02-05 11:55:48 -08:00
b1e76c550e
feat(build): auto format the generated dart code.
...
Fixes #480
Closes #504
2015-01-30 11:10:12 -08:00
62f08d38db
fix(tests): don’t fail on current chrome canary
2015-01-28 17:01:32 -08:00
ec5cb3eb66
feat(package): introduce a catch-all package angular.
...
modules/angular has no implementation, but depends on all the pieces
that make angular - core, di, directives, etc. It is the package that
all client apps will depend on.
2015-01-23 10:31:24 -08:00
368cc29d48
fix(gulpfile): fix the pubbuild task on Windows
...
Closes #349
2015-01-22 15:30:52 -08:00
22653707d9
fix(perf): cloud reporter, calculate insertId correctly so that we don’t loose rows!
2015-01-21 10:40:03 -08:00
5f5ed06713
feat(perf): cloud reporter should retry in case of a timeout
2015-01-20 13:06:37 -08:00
ed7d1cf060
feat(perf): cloud reporter, more generic table layout
2015-01-20 13:06:37 -08:00
a2b58202a0
feat(benchpress): add getStringParameter method to support text and radio inputs
2015-01-15 13:38:31 -08:00
39977bd3c2
fix(benchpress): add filter for when cloud config is not present
2015-01-15 13:38:31 -08:00
d02c0accbb
refactor(benchmarks): add cloud reporter, add params
...
- adds console and cloud reporter (via Google BigQuery).
- makes parameters of tests explicit and modifiable.
- removes `detect` and `ignoreGc` mode from benchpress
as these can result in unstable numbers.
2015-01-15 09:09:05 -08:00
0f8f4801bd
chore: use fork Traceur with disabled getters/setters
...
It also includes better debugging class method names for WTF.
2015-01-08 16:03:32 -08:00
77aa3ed61b
feat(benchpress): show more metrics and make the run mode configurable
...
Shows the metrics:
script, render, gcAmount, gcAmountInScript, gcTime
Run modes:
- detect: auto detect whether to force gc
- forceGc: forces a gc before every run and ignores no runs
- noGcInScript: ignore runs that have gc while a script was executing
- plain: does not force gc nor ignore runs
Closes #368
2015-01-07 16:37:52 -08:00
82b1601a31
refactor(benchmarks): rename timeBenchmark
into benchmark
2015-01-07 16:37:52 -08:00
458b2d7215
docs(bench press): add clarifying comment
2015-01-07 16:37:51 -08:00
fe2a09bc7f
refactor(perf): e2e tests and benchpress should be written in es6
2015-01-06 15:32:49 -08:00
f04967ad37
chore(traceur): update to 0.0.79
...
fixes #8
2015-01-06 08:21:43 -08:00
6f303121c6
refactor(perf): introduce benchpress2
...
Major changes:
- make API more reusable
- format output nicely
- only force gc if needed
Regarding forcing gc:
Forcing gc can change script execution time.
We now don't force gc at first and ignore results where gc happens during script execution.
When we ignored too many results, we switch to forcing gc.
Closes #339
2015-01-05 17:49:50 -08:00
0a4d6170ba
fix(gulpfile): fix the dartanalyzer task
2014-12-30 10:32:06 -08:00
3a80c4197d
refactor(perf): move navigation into test files and rename runSimpleBenchmark
2014-12-29 16:58:31 -08:00
35ac3f3d97
feat(perf): measure error and stop automatically when the numbers are good enough.
2014-12-29 16:58:31 -08:00