Commit Graph

34 Commits

Author SHA1 Message Date
scheglov@google.com 3df7d1b1e2 Remove coverage experiment.
R=brianwilkerson@google.com
BUG=

Review URL: https://codereview.chromium.org//852433004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42775 260f80e4-7a28-3924-810f-c04153c831b5
2015-01-12 16:18:17 +00:00
scheglov@google.com b8da9bc651 Format and sort analyzer and analysis_server packages.
R=brianwilkerson@google.com
BUG=

Review URL: https://codereview.chromium.org//725143004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41792 260f80e4-7a28-3924-810f-c04153c831b5
2014-11-17 22:23:53 +00:00
scheglov@google.com 772a0c6b22 Fix 'Unused local variable' hints in analyzer and analysis_server.
R=brianwilkerson@google.com
BUG=

Review URL: https://codereview.chromium.org//709493002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41576 260f80e4-7a28-3924-810f-c04153c831b5
2014-11-06 18:32:54 +00:00
paulberry@google.com 9b35b056a7 Fix deprecation warnings in analyzer and analysis server.
R=brianwilkerson@google.com, danrubel@google.com

Review URL: https://codereview.chromium.org//685133003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41461 260f80e4-7a28-3924-810f-c04153c831b5
2014-11-03 17:10:08 +00:00
jwren@google.com 944174f36a Move package_map_provider.dart from the server to the analyzer package to be used by the command line analyzer.
R=brianwilkerson@google.com, paulberry@google.com

Review URL: https://codereview.chromium.org//560553002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40051 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-09 20:36:35 +00:00
danrubel@google.com fdb72e2bff restore missing import
BUG=
R=brianwilkerson@google.com, scheglov@google.com

Review URL: https://codereview.chromium.org//457043004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@39068 260f80e4-7a28-3924-810f-c04153c831b5
2014-08-10 20:53:44 +00:00
brianwilkerson@google.com a60bcecf8b Analyzer: analyze plural files; remove unused async parameter
BUG= https://code.google.com/p/dart/issues/detail?id=20268
R=brianwilkerson@google.com

Review URL: https://codereview.chromium.org//448913002

Patch from Samuel Rawlins <srawlins@google.com>.

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@39002 260f80e4-7a28-3924-810f-c04153c831b5
2014-08-07 18:34:08 +00:00
brianwilkerson@google.com 04cc76da9f Add intern support to analyzer.
In tests, this reduces the memory requirements for engine by about 15%. I have only enabled it for the command-line analyzer, though, because other uses will need to guard against memory leaks.

R=scheglov@google.com

Review URL: https://codereview.chromium.org//325473002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@37112 260f80e4-7a28-3924-810f-c04153c831b5
2014-06-07 15:57:01 +00:00
danrubel@google.com c36b9bca40 set exitCode on errors or warnings
BUG=dartbug.com/18761
R=scheglov@google.com

Review URL: https://codereview.chromium.org//287653003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@36124 260f80e4-7a28-3924-810f-c04153c831b5
2014-05-13 20:04:23 +00:00
brianwilkerson@google.com b4cdb0dc98 Add new performance option to get both cold and warm timings.
@Rico: Does it matter that the errors will be written between the two sets of timings?

R=scheglov@google.com

Review URL: https://codereview.chromium.org//227533005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34817 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-08 11:08:36 +00:00
scheglov@google.com d5780f88b9 Rollback 215463002.
R=brianwilkerson@google.com, ricow@google.com
BUG=

Review URL: https://codereview.chromium.org//215683002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34491 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-27 23:57:32 +00:00
scheglov@google.com 5a9afd5f64 Move Dart-based analyzer script to packages.
Rico, can you please change the performance tool to use this pkg/analyzer/bin/analyzer script?

R=brianwilkerson@google.com, ricow@google.com
BUG=

Review URL: https://codereview.chromium.org//215463002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34483 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-27 21:38:35 +00:00
scheglov@google.com 920a3e9c23 Switch the command line Dart-based analyzer back to the synchronous API.
This improves timing for dart2js analysis from 8000 ms to 7700 ms (vs. 7300 ms for Java-based analyzer).

R=brianwilkerson@google.com
BUG=

Review URL: https://codereview.chromium.org//210463002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34332 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-24 21:32:20 +00:00
jwren@google.com c3cb70a124 Fix batch mode to now print out errors, this gets us closer to the FYI bot passing
R=brianwilkerson@google.com

Review URL: https://codereview.chromium.org//200423006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33725 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-14 22:20:44 +00:00
jwren@google.com b3be009788 Restore batch mode in the Dart-based Dart analyzer
R=brianwilkerson@google.com, scheglov@google.com

Review URL: https://codereview.chromium.org//200523003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33709 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-14 19:09:22 +00:00
jwren@google.com 978872b5ad Convert the command line dart analyzer to be async.
R=brianwilkerson@google.com, scheglov@google.com

Review URL: https://codereview.chromium.org//195483004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33558 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-11 22:05:37 +00:00
danrubel@google.com 02f702ee9e add indent option to cmdline formatter
BUG=dartbug.com/16991
R=pquitslund@google.com

Review URL: https://codereview.chromium.org//189063006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33528 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-11 14:29:15 +00:00
scheglov@google.com 12558a8511 New analzyer snapshot.
Replace isInstanceOf() with a predicate.

Tweaks for other packages.

R=brianwilkerson@google.com
BUG=

Review URL: https://codereview.chromium.org//186153005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33304 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-04 21:50:40 +00:00
scheglov@google.com 79e687be71 Add timing info for file IO into Dart based analyzer.
R=brianwilkerson@google.com
BUG=

Review URL: https://codereview.chromium.org//179123010

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33191 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-01 19:47:36 +00:00
kevmoo@google.com ee3d773028 pkg/analyzer: fix formatter bin crash due to empty selection flag
R=pquitslund@google.com

Review URL: https://codereview.chromium.org//152863006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32509 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-10 18:33:55 +00:00
pquitslund@google.com 0fb66b8088 Selection parsing fix.
R=brianwilkerson@google.com

Review URL: https://codereview.chromium.org//149663005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32452 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-07 21:03:24 +00:00
scheglov@google.com 1c5bdef314 Fixes for exit problems.
R=brianwilkerson@google.com
BUG=

Review URL: https://codereview.chromium.org//135593009

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32446 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-07 19:32:51 +00:00
johnmccutchan@google.com bf5a9b7da9 Analyzer should set exitCode instead of calling exit. Calling exit doesn't shutdown the isolate.
BUG=
R=brianwilkerson@google.com

Review URL: https://codereview.chromium.org//142403004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32369 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-06 17:24:14 +00:00
scheglov@google.com 5f9e9b47e5 Fix for JavaFile path in DDA.
R=brianwilkerson@google.com
BUG=

Review URL: https://codereview.chromium.org//156503002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32361 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-06 15:08:29 +00:00
pquitslund@google.com aac07d9e6b dartfmt line wrapping bypass option support.
R=brianwilkerson@google.com

Review URL: https://codereview.chromium.org//139263011

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32034 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-27 22:23:52 +00:00
pquitslund@google.com ad389194c3 dartfmt line length command line option support.
R=brianwilkerson@google.com

Review URL: https://codereview.chromium.org//146833014

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32027 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-27 19:06:17 +00:00
brianwilkerson@google.com bc169d77e7 Add other time to perf report
R=scheglov@google.com

Review URL: https://codereview.chromium.org//139403007

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31980 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-23 18:17:03 +00:00
pquitslund@google.com a779c9f54c Fix to ensure only modified files are written to (dartbug.com/16093).
R=brianwilkerson@google.com

Review URL: https://codereview.chromium.org//130843005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31863 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-16 00:36:06 +00:00
pquitslund@google.com 4a8ca537b5 dartfmt patch file side-stepping.
R=brianwilkerson@google.com

Review URL: https://codereview.chromium.org//138143009

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31848 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-15 20:12:17 +00:00
pquitslund@google.com 5ccad24462 dartfmt commandline argument tweaks.
R=brianwilkerson@google.com

Review URL: https://codereview.chromium.org//129813007

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31703 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-10 19:51:25 +00:00
scheglov@google.com 217d980fcd Analyzer snapshot.
Rewrite TimeCounter to use Stopwatch.

R=brianwilkerson@google.com
BUG=

Review URL: https://codereview.chromium.org//128443003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31623 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-08 20:27:55 +00:00
brianwilkerson@google.com e3e5f44bad Capture and print times for the isInstanceOf method.
I'm not sure how to test these changes without re-running the translator, but I'll be happy to do so if someone can show me how.

Jaime: will it break anything to write an additional piece of timing information?

R=danrubel@google.com, jwren@google.com, scheglov@google.com

Review URL: https://codereview.chromium.org//123533002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31441 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-03 17:28:27 +00:00
pquitslund@google.com 7a2e3d53e3 Source kind arg support for dartftmt.
The API is far from firm but enough to enable a steel-thread through the editor where we want to support formatting source selections.

A follow-up CL will introduce more CodeKinds.

R=brianwilkerson@google.com

Review URL: https://codereview.chromium.org//82043002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30584 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-22 18:50:48 +00:00
scheglov@google.com 7ac0b7d0bd Rename analyzer_experimental to analyzer.
R=jmesserly@google.com, pquitslund@google.com, danrubel@google.com
BUG=

Review URL: https://codereview.chromium.org//45573002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29302 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-25 23:59:38 +00:00