scheglov@google.com
e6ce94adab
java2dart improvement - use field if getter/setter are trivial.
...
Also analyzer_experimental snapshot.
R=brianwilkerson@google.com
BUG=
Review URL: https://codereview.chromium.org//23769004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27138 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-04 19:17:38 +00:00
scheglov@google.com
e8f8262517
New analyzer_experimental snapshot.
...
And java2dart improvements for better inner classes support.
R=brianwilkerson@google.com
BUG=
Review URL: https://codereview.chromium.org//23461019
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27078 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-03 21:46:33 +00:00
scheglov@google.com
5f27a4f4ad
java2dart improvements and new analyzer_experimental snapshot.
...
1. All enums extend Enum class.
2. Remove more unneeded parentheses.
3. Remove type arugments for types with all wildcards.
R=brianwilkerson@google.com
BUG=
Review URL: https://codereview.chromium.org//23852002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27020 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-02 19:01:22 +00:00
scheglov@google.com
0b6ae2575c
Fix analyzer_experimental hints: remove unused imports.
...
R=brianwilkerson@google.com
BUG=
Review URL: https://codereview.chromium.org//23496027
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26944 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-30 21:11:46 +00:00
scheglov@google.com
663530693f
New analysis_experimental snapshot.
...
R=brianwilkerson@google.com
BUG=
Review URL: https://codereview.chromium.org//23080005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26876 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-29 16:30:24 +00:00
scheglov@google.com
0039dfca51
Remove dart:io dependency from scanner/ast/parser tests.
...
R=brianwilkerson@google.com
BUG=
Review URL: https://codereview.chromium.org//22325013
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25935 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-08 17:46:50 +00:00
scheglov@google.com
c52c1736ee
New analyzer_experimental snapshot.
...
R=brianwilkerson@google.com
BUG=
Review URL: https://codereview.chromium.org//22285004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25902 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-07 21:15:25 +00:00
scheglov@google.com
4ac2a1452c
New analyzer_experimental snapshot.
...
FYI bot is red, as I can see this is caused by VM crashes.
https://code.google.com/p/dart/issues/detail?id=11873
R=brianwilkerson@google.com
BUG=
Review URL: https://codereview.chromium.org//19590006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25121 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-17 19:32:30 +00:00
scheglov@google.com
cdfb38b317
New analyzer_experimental snapshot.
...
The biggest change is in formatting long list literals.
It looks now better and also does not turn Editor into text mode for couple files.
R=brianwilkerson@google.com
BUG=
Review URL: https://codereview.chromium.org//18612009
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24903 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-11 01:51:53 +00:00
scheglov@google.com
532aa2fab4
New analyzer_experimental snapshot.
...
Fixes also compilation problem in java2dart translator.
R=pquitslund@google.com
BUG=
Review URL: https://codereview.chromium.org//18325018
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24744 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-03 19:47:59 +00:00
scheglov@google.com
69eaca5ebd
Simplify constructors translation, improve code style.
...
This CL stops generating and using "_impl" methods with constructor implementation.
This is actually required only locally, when there are other statements aside of redirecting constructor invocation.
So, this may be done later, during constructors optimizing in ConstructorSemanticProcessor.
For now we just transform placeholder of redirecting constructor invocation into the actual initializer.
Also, this CL adds more optimizations into ConstructorSemanticProcessor, such as:
1. removing empty constructor body;
2. enum constructor tweaks.
Plus new snapshot of analyzer_experimental with these changes in translation applied.
R=brianwilkerson@google.com
BUG=
Review URL: https://codereview.chromium.org//18129004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24701 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-02 17:45:11 +00:00
scheglov@google.com
8b0684be54
New analyzer_experimental snapshot.
...
R=brianwilkerson@google.com , devoncarew@google.com
BUG=
Review URL: https://codereview.chromium.org//17932005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24613 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-28 22:34:01 +00:00
scheglov@google.com
2329919e5e
Fix build after analyzer_experimental changes
...
TBR
We have to disable converting to properties for some Parser methods, which are used via reflection.
R=brianwilkerson@google.com
BUG=
Review URL: https://codereview.chromium.org//16983008
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24118 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-18 00:05:00 +00:00
scheglov@google.com
fd7dde1aef
Code coverage, something is working now.
...
For now only 'statement' level coverage.
Review this, please.
Any comments about Dart code style, using libraries, etc will be helpful!
There are some Dart VM changes, which I'm _not_ going to commit.
I'm waiting for https://codereview.chromium.org/16368002/
So, ignore them.
R=pquitslund@google.com
BUG=
Review URL: https://codereview.chromium.org//16964008
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24116 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-17 23:24:18 +00:00
scheglov@google.com
36ace54ada
Convert isX() methods to isX getter.
...
R=brianwilkerson@google.com
BUG=
Review URL: https://codereview.chromium.org//17317002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24115 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-17 23:02:36 +00:00
scheglov@google.com
4d79a15ce3
New analyzer_experimental snapshot.
...
R=brianwilkerson@google.com
BUG=
Review URL: https://codereview.chromium.org//17249003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24109 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-17 21:04:45 +00:00
scheglov@google.com
b9950462a2
New analyzer_experimental snapshot.
...
Includes recent disambiguation and fixes.
R=brianwilkerson@google.com
BUG=
Review URL: https://codereview.chromium.org//16774005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23878 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-11 20:08:54 +00:00
scheglov@google.com
0049091064
Clean up analyzer_experimental after Annotation disambiguation.
...
R=brianwilkerson@google.com
BUG=
Review URL: https://codereview.chromium.org//16663003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23836 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-10 23:55:54 +00:00
scheglov@google.com
bb87681f61
Fixing build.
...
TBR
R=brianwilkerson@google.com
BUG=
Review URL: https://codereview.chromium.org//15944013
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23796 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-10 04:58:59 +00:00
scheglov@google.com
20a078aefb
Improve java2dart code style - relax 'don't reference variable name in its initializer'.
...
R=brianwilkerson@google.com
BUG=
Review URL: https://codereview.chromium.org//16611004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23795 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-10 04:05:50 +00:00
scheglov@google.com
9b27cae892
New analyzer_experimental snapshot.
...
Mainly to fix missing import in html.dart
R=brianwilkerson@google.com
BUG=
Review URL: https://codereview.chromium.org//16702002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23792 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-09 19:13:20 +00:00
scheglov@google.com
c7eeff273b
Quick check for self in InterfaceTypeImpl.getLeastUpperBound()
...
This reduces co19 time from 60 to 45 seconds for DDA.
R=brianwilkerson@google.com
BUG=
Review URL: https://codereview.chromium.org//16381003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23714 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-06 19:29:22 +00:00
scheglov@google.com
80fea8fd8e
More fixes for java2dart and status files.
...
Now DDA passes/fails the same tests as Java version.
R=brianwilkerson@google.com
BUG=
Review URL: https://codereview.chromium.org//15675016
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23705 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-06 18:13:44 +00:00
scheglov@google.com
d775a9cef3
Fixes for translator and DDA status files.
...
Almost everything is again translated automatically.
There are three fragments which we have to replace to source level.
One for performance reasons; two others - to avoid using IO.
Now we are green for co19 tests, execute 4034 of them in 2:07, 132 failures.
R=brianwilkerson@google.com
BUG=
Review URL: https://codereview.chromium.org//16103010
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23624 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-05 00:59:32 +00:00
scheglov@google.com
b80f5b1e6d
Remove trailing spaces in analyzer_experimental
...
Otherwise Editor does this on the first save and creates unmanagable CL.
R=jwren@google.com
BUG=
Review URL: https://codereview.chromium.org//16256021
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23570 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-03 21:33:08 +00:00
scheglov@google.com
7e96d2372f
analyzer_experimental snapshot
...
R=brianwilkerson@google.com , messick@google.com
BUG=
Review URL: https://codereview.chromium.org//16302002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23515 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-02 22:00:29 +00:00
sgjesse@google.com
9d6a64e81b
Merge the dart:uri library into dart:core and update the Uri class
...
This merges the dart:uri library into dart:core removing the dart:uri library. Besides moving the library the Url class has been changed.
* Removed existing Uri constructor as it was equivalent with Uri.parse
* Remamed constructor Uri.fromComponents to Uri
* Moved toplevel function encodeUriComponent to static method Uri.encodeComponent
* Moved toplevel function decodeUriComponent to static method Uri.decodeComponent
* Moved toplevel function encodeUri to static method Uri.encodeFull
* Moved toplevel function decodeUri to static method Uri.decodeFull
* Rename domain to host
* Added static methods Uri.encodeQueryComponent and Uri.decodeQueryComponent
* Added support for path generation and splitting
* Added support for query generation and splitting
* Added some level of normalization
R=floitsch@google.com , lrn@google.com , nweiz@google.com , scheglov@google.com
BUG=
Review URL: https://codereview.chromium.org//16019002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23266 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-28 13:35:01 +00:00
scheglov@google.com
cb3bbdc62d
Manual fixes for Dart^2 analyzer
...
R=brianwilkerson@google.com
BUG=
Review URL: https://codereview.chromium.org//16059002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23195 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-25 19:09:39 +00:00
scheglov@google.com
dd6dcaf031
New analyzer_experimental snapshot.
...
R=brianwilkerson@google.com
BUG=
Review URL: https://codereview.chromium.org//14050010
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@22134 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-29 17:55:57 +00:00
scheglov@google.com
ff7f4ecbd7
Generate unique names less aggressively.
...
R=brianwilkerson@google.com
BUG=
Review URL: https://codereview.chromium.org//14161021
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21661 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-18 00:08:02 +00:00
scheglov@google.com
b3fe462ed0
Issue 9845. Compare runtime types using ==.
...
https://code.google.com/p/dart/issues/detail?id=9845
R=brianwilkerson@google.com
BUG=
Review URL: https://codereview.chromium.org//14205011
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21649 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-17 19:07:06 +00:00
scheglov@google.com
4c753a9806
New Analysis Engine snapshot.
...
R=pquitslund@google.com ,brianwilkerson@google.com
BUG=
Review URL: https://codereview.chromium.org//14308011
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21585 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-16 22:21:16 +00:00
scheglov@google.com
7533136284
New Analysis Engine translation.
...
R=pquitslund@google.com
BUG=
Review URL: https://codereview.chromium.org//12803014
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20420 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-22 22:13:50 +00:00
scheglov@google.com
1dd8b25904
Fix analyzer_experimental.
...
TBR
Forgot to comment out Resolver tests :-(
R=pquitslund@google.com
BUG=
Review URL: https://codereview.chromium.org//12529022
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20179 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-18 21:28:22 +00:00
scheglov@google.com
1c4bc14d27
analyzer_experimental checkpoint and AnalysisContext example.
...
R=pquitslund@google.com
BUG=
Review URL: https://codereview.chromium.org//12604020
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20178 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-18 21:17:54 +00:00
scheglov@google.com
139e02c68e
Rename analyzer-experimental to analyzer_experimental.
...
https://code.google.com/p/dart/issues/detail?id=9071
R=pquitslund@google.com
BUG=
Review URL: https://codereview.chromium.org//12838003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19973 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-13 21:42:01 +00:00