Kevin Moore
6796ce6884
Adding Travis CI and Coveralls support
...
only use compact config if we're not doing code coverage
R=sigmund@google.com
Review URL: https://codereview.chromium.org/1014573003
2015-03-17 08:19:56 -07:00
Sigmund Cherem
95c40873c9
Pin formatter to a specific version
...
R=vsm@google.com
Review URL: https://codereview.chromium.org/1011003002
2015-03-17 07:52:00 -07:00
Sigmund Cherem
6d9564b4ff
Support browser caching using hashes in serverMode ( fixes #93 , fixes #92 ).
...
Now the HTML can include a hash in the URL for cachable resources, and the serve knows how to include cache-control headers.
In the process of doing so, I had to change a couple things that made it possible to fix #92 as well (producing different output in the command-line than in server mode).
R=vsm@google.com
Review URL: https://codereview.chromium.org/993213003
2015-03-10 18:27:23 -07:00
Sigmund Cherem
7dd29efd8f
Initial cut for a development server
...
R=jmesserly@google.com
Review URL: https://codereview.chromium.org/973433003
2015-03-04 09:40:06 -08:00
Sigmund Cherem
e57c960817
rename package:ddc to package:dev_compiler
...
BUG=
R=vsm@google.com
Review URL: https://codereview.chromium.org/954773003
2015-02-24 17:01:15 -08:00
Sigmund Cherem
e06c30a76f
Fix pubspec to resolve conflict with dart_style analyzer dependency
2015-02-24 10:10:01 -08:00
Sigmund Cherem
6ca4479a85
Undo rename of analyzer now that we are unforked
...
BUG=
Review URL: https://chromereviews.googleplex.com/158907014
2015-02-24 10:06:47 -08:00
Sigmund Cherem
ce3dd48740
Accept compilng HTML files
...
R=jmesserly@google.com , vsm@google.com
Review URL: https://chromereviews.googleplex.com/153157013
2015-02-18 16:48:56 -08:00
Sigmund Cherem
0680aea0a7
Change to use dcc_analyzer to make it easier to rev other dependencies on analyzer
...
BUG=
R=dgrove@google.com , jmesserly@google.com
Review URL: https://chromereviews.googleplex.com/154617014
2015-02-11 15:26:33 -08:00
John Messerly
73adf003e6
use cli_utils to get SDK dir
...
also a small cleanup to make it easier to construct TypeResolver (fixes a TODO) and fix a couple of typos
R=leafp@google.com
Review URL: https://chromereviews.googleplex.com/145437014
2015-02-09 11:25:17 -08:00
John Messerly
6d41af0fe4
another attempt to pin dart_style to a working version.
...
we need the fix for https://github.com/dart-lang/dart_style/issues/156
and https://github.com/dart-lang/dart_style/issues/67 is nice too
Review URL: https://chromereviews.googleplex.com/147537013
2015-02-04 16:46:49 -08:00
Vijay Menon
add3878570
Pin dart_style to 0.1.3 until we roll analyzer
...
R=jmesserly@google.com
Review URL: https://chromereviews.googleplex.com/154667013
2015-02-04 16:04:04 -08:00
John Messerly
c08494e36f
add sdk version check
...
R=sigmund@google.com
Review URL: https://chromereviews.googleplex.com/140347013
2015-01-27 15:14:53 -08:00
Vijay Menon
4a8c10f58c
Initial support for runtime logging
...
This is very half baked. Putting it down to work on better type literal support for the moment.
Qs:
(1) What should we measure? cast failures mapped back to source? I don't think we inject anything else right now.
(2) How should we report? I just have dump function right now, but that'll be unwieldy on large apps.
R=jacobr@google.com , jmesserly@google.com
Review URL: https://chromereviews.googleplex.com/146737013
2015-01-26 10:51:38 -08:00
Jacob Richman
981af2890a
change git dependency so that the ssh keychain can save your username and password.
...
BUG=
R=sigmund@google.com
Review URL: https://chromereviews.googleplex.com/137007013
2015-01-05 17:32:14 -08:00
Jacob Richman
b4999ee290
Support writing error messages directly to file.
...
BUG=
R=sigmund@google.com
Review URL: https://chromereviews.googleplex.com/134137013
2015-01-05 16:18:45 -08:00
Leaf Petersen
eef8c94795
Skeleton for new checker and dart backend
...
This adds a skeleton new type checker which just reuses the existing checker for now, but will be filled in with the new type rules.
It also adds a dart backend code generator which currently just spits out the original dart code unchanged (except for (lack of) formatting) into the output directory. By default it uses the dart_style formatter to format the output. This sometimes hits issues, so there is an option to turn this off.
There are flags to control the various options added.
BUG=
R=jmesserly@google.com , vsm@google.com
Review URL: https://chromereviews.googleplex.com/128857013
2014-12-11 13:01:01 -08:00
John Messerly
3124c7ec89
add the ability to easily test codegen by diffing against expected output
...
this makes changes easy to spot
some of this code was taken from old polymer.dart test scripts :)
R=sigmund@google.com
Review URL: https://chromereviews.googleplex.com/121567013
2014-12-09 16:52:05 -08:00
Vijay Menon
86026d8258
Fix pubspec
...
TBR=sigmund@google.com
Review URL: https://chromereviews.googleplex.com/129647013
2014-12-08 10:44:00 -08:00
Sigmund Cherem
09fd9268c1
integrate our typing rules with analyzer engine
...
R=vsm@google.com
Review URL: https://chromereviews.googleplex.com/123457013
2014-12-08 10:28:26 -08:00
Sigmund Cherem
971e551b6d
Use analyzer as a library, enable mock sdks, refactor to start testing
...
R=vsm@google.com
Review URL: https://chromereviews.googleplex.com/118577013
2014-11-21 14:24:06 -08:00
Sigmund Cherem
411efe695c
Use source spans for error messages. This will print error messages in red and
...
highlight the area of the original source that had the error.
R=vsm@google.com
Review URL: https://chromereviews.googleplex.com/122637013
2014-11-17 17:58:13 -08:00
Vijay Menon
3f27060ad6
Initial checker
2014-11-17 08:50:19 -08:00