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
kustermann@google.com
f6ab02857e
test.py: Fixed incorrect handling of multitest in status files, status file cleanups.
...
R=ricow@google.com
Review URL: https://codereview.chromium.org//23721006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27013 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-02 14:04:59 +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
kustermann@google.com
cef46dcaa0
Remove entries in status refering to non-existent files/multitests
...
R=sgjesse@google.com
Review URL: https://codereview.chromium.org//22846007
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26584 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-23 08:47:58 +00:00
sgjesse@google.com
38506f9d57
Remove the LineTransformer from dart:io
...
The LineTransformer has been retired, and is replaced with LineSplitter from dart:convert
R=floitsch@google.com , nweiz@google.com
Review URL: https://codereview.chromium.org//22927016
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26419 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-21 07:35:46 +00:00
brianwilkerson@google.com
5e90751367
Rename Identifier.getElement. Prior to this change the method getElement() was semantically equivalent to getBestElement(), but that was rarely the correct method to be using. I have divided it into getBestElement() and getPropagatedElement(), but in most cases replaced its use with getStaticElement().
...
Please check this carefully. Although all of the tests pass, there's still a possibility that I translated something wrong at some point (especially in code outside engine) and I'd like to catch any mistakes as early as possible.
R=jwren@google.com , messick@google.com , scheglov@google.com
Review URL: https://codereview.chromium.org//22854024
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26380 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-20 18:50:28 +00:00
sgjesse@google.com
353428a918
Remove the Path class from dart:io
...
The Path class in dart:io has been deprecated for some time
now. It was scheduled to be removed on August 11th, so here it
goes.
dart:io still uses the Path class internally, but now it is
private. I will trim it down to what is actually used in a
follow-up change.
R=ahe@google.com , devoncarew@google.com , whesse@google.com
BUG=http://dartbug.com/11666
Review URL: https://codereview.chromium.org//23054008
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26181 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-15 10:10:53 +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
regis@google.com
09bcdc6d6d
Fix VM implementation of CastError not to extend TypeError (issue 5280).
...
Remove non-compliant fields in various Error classes (issue 10144).
Remove implicit constructor when patching in a constructor (issue 12217).
Patch corelib Error classes instead of declaring subclasses.
Update tests and status files.
R=asiva@google.com , srdjan@google.com
Review URL: https://codereview.chromium.org//21832003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25782 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-05 18:35:04 +00:00
zra@google.com
8abc6895fd
Fixes analyzer status file.
...
Why do we have to duplicate this information across status files?
Wouldn't it be easier for the analyzer test scripts to use the
existing status files?
Review URL: https://codereview.chromium.org//21410002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25684 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-31 21:47:08 +00:00
jwren@google.com
87a578829a
Fix the analyzer status file after 25361
...
R=rnystrom@google.com
Review URL: https://codereview.chromium.org//19509006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25375 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-23 22:35:11 +00:00
nweiz@google.com
1b541506ff
Roll forward "Use package:stack_trace in unittest."
...
This reverts r25135, and rolls forward r25131, r25132, and r25133.
R=rnystrom@google.com
Review URL: https://codereview.chromium.org//19540015
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25169 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-18 19:30:33 +00:00
nweiz@google.com
e93476aa9d
Roll back "Use package:stack_trace in unittest."
...
This reverts r25131, r25132, and r25133.
R=rnystrom@google.com
Review URL: https://codereview.chromium.org//19684006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25135 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-17 23:55:46 +00:00
nweiz@google.com
c09a8caf09
Mark analyzer tests as failing due to issue 11647.
...
R=scheglov@google.com
Review URL: https://codereview.chromium.org//19702002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25132 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-17 23:14: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
41d8e6ee39
Test running changes.
...
1. Change in the test runner to consider any warning as warning.
After this following was required:
2. Triage language tests.
3. Triage co19 tests.
R=brianwilkerson@google.com , kustermann@google.com
BUG=
Review URL: https://codereview.chromium.org//18174010
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25069 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-16 20:35:51 +00:00
scheglov@google.com
6c6b88967f
Remove dartc status sections.
...
R=brianwilkerson@google.com
BUG=
Review URL: https://codereview.chromium.org//18566003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24735 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-03 17:50:34 +00:00
sgjesse@google.com
b7260126ca
Make some HTTP utility functions public
...
Added a new static function splitQueryString to the URI class to expose parsing of a query string without constructing a URI.
Added class HttpDate in dart:io with a few HTTP date parsing and formatting methods.
Also turned some Uri comments into dartdoc.
I have not remove the parseQueryString and decodeUrlEncodedString from _HttpUtils as they still do some non standard things that I am not sure we want to add to the URI class. These are:
* Supporting semi-colon as separator in query strings (see http://www.w3.org/TR/REC-html40/appendix/notes.html#ampersands-in-uris )
* Supporting other encodings than UTF-8 for percent encoded strings
R=ajohnsen@google.com
BUG=http://dartbug.com/9888
Review URL: https://codereview.chromium.org//16812004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23972 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-13 12:19:09 +00:00
sgjesse@google.com
b534c7fdf3
Update status file
...
There is no longer a crypty sub-directori in standalone.
R=ajohnsen@google.com
BUG=
Review URL: https://codereview.chromium.org//16801007
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23961 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-13 10:22:45 +00:00
zra@google.com
0f70ba59e5
Adds a test to a status file for the analyzer.
...
Tests in tests/standalone/ that use the multitest feature and which are listed
as failing must also be listed in lib/analyzer/analyze_tests.status without
the standalone prefix.
R=asiva@google.com
Review URL: https://codereview.chromium.org//15774022
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23780 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-07 23:38:34 +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
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
2214a97df7
Update status files for 'dartanalyer'.
...
Small tweak for the Java command line analyzer to actually support --package-root option in batch.
R=devoncarew@google.com
BUG=
Review URL: https://codereview.chromium.org//14786020
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@22480 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-07 21:45:20 +00:00
ajohnsen@google.com
3cb1d3d098
Fix dartc status files, after mime_multipart_parser_test change.
...
BUG=
Review URL: https://codereview.chromium.org//14771012
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@22359 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-03 10:28:27 +00:00
sgjesse@google.com
921653a087
Add a new test suite 'analyze_tests'
...
The new test suite 'analyze_tests' will run the analyzer on the
selected tests, and fail if there are static type errors. Currently
only the tests in tests/standalone are included, but that can easily
be expanded.
The reason for starting this was that for M4 we where missing two
'part' files in io.dart (for the HttpBody utility class). This caused
the use of HttpBody in the editor to be complicated. With static type
checking on the tests which tested HttpBody this mistake would have
been caught.
R=ager@google.com , ricow@google.com , kustermann@google.com , ajohnsen@google.com
BUG=
Review URL: https://codereview.chromium.org//14436004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21944 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-24 12:47:13 +00:00
ager@google.com
431954b584
Rename dart:typeddata to dart:typed_data.
...
R=asiva@google.com , floitsch@google.com , srdjan@google.com
BUG=
Review URL: https://codereview.chromium.org//14426006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21871 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-23 11:54:54 +00:00
ahe@google.com
a260cab0d6
Update dartc status.
...
Review URL: https://codereview.chromium.org//14263010
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21473 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-15 16:42:48 +00:00
asiva@google.com
1d8b30b3de
Remove reference to scalarlist library in internal analyzer test.
...
Review URL: https://codereview.chromium.org//13328003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20685 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-29 18:49:34 +00:00
ager@google.com
ee442f190e
Add dart analyzer test suite 'analyze_library' that fails if we
...
introduce static type warnings in certain dart libraries.
I wanted this for dart:io and might as well add it for the other
libraries that have no warnings when analyzed.
This required a bit of test script reworking. dartc used a leading
hash in a file to determine if it was a test. That is now broken
and has been removed. This also allowed me to override the
readOptionsFromFile method in test suites so that certain analyzer
test suites can require all tests to be static clean.
R=ricow@google.com ,kustermann@google.com ,sgjesse@google.com ,danrubel@google.com
BUG=
Review URL: https://codereview.chromium.org//12475004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19597 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-07 07:25:32 +00:00