Commit Graph

3219 Commits

Author SHA1 Message Date
ajohnsen@google.com 0e4effb0d9 Don't use Uri's isAbsolute to detect if the path segment is absolute, in toFilePath.
BUG=https://code.google.com/p/dart/issues/detail?id=13126
R=sgjesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27423 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-12 08:44:32 +00:00
karlklose@google.com de2dfc10d0 Emit a compile-time error when the name of a variable is referenced in the
initializing expression.

R=ngeoffray@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27421 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-12 07:45:08 +00:00
brianwilkerson@google.com 141ce52913 Fix for issue 12726
R=jwren@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27416 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-12 00:14:29 +00:00
zra@google.com 25acb09f7f Triage of co19 test updates.
R=regis@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27408 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-11 22:03:24 +00:00
scheglov@google.com 1d5cdc7941 Triage co19 tests.
R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27396 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-11 18:32:44 +00:00
hausner@google.com 43d319c105 Update unresolved name handling with library prefixes
Fixes issue 12913

R=iposva@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27393 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-11 16:21:25 +00:00
ajohnsen@google.com b5e8a83a28 Fix comment for Uri encodeComponent.
BUG=https://code.google.com/p/dart/issues/detail?id=13127
R=sgjesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27385 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-11 15:30:19 +00:00
ajohnsen@google.com 071c5a1ee8 Accept IPv6 addresses in Uri.http and Uri.https, and correctly nest IPv6 addresses in '[' and ']'.
BUG= http://dartbug.com/13130
BUG= http://dartbug.com/13131
BUG= http://dartbug.com/13132
R=floitsch@google.com, sgjesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27381 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-11 13:22:31 +00:00
kustermann@google.com aa3bbdfb09 Fixed status file entry in co19-runtime.status
TBR=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27372 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-11 10:38:04 +00:00
kustermann@google.com 5bb79cdda5 Followup CL after co19-roll to r576
TBR=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27340 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-10 15:55:07 +00:00
kustermann@google.com 34a42d9c35 Followup CL after co19-roll to r576
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27336 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-10 13:15:00 +00:00
kustermann@google.com cedf47a1d4 co19-roll to r576
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27331 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-10 11:48:54 +00:00
karlklose@google.com cbd5db9e60 Emit error on default values in typedefs.
BUG=dartbug.com/12801,dartbug.com/12802
R=johnniwinther@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27324 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-10 08:42:24 +00:00
hausner@google.com cc9a7bd37f Annotate co19-co19 test failures with bug number.
Review URL: https://codereview.chromium.org//24082003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27319 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-09 23:09:45 +00:00
hausner@google.com 48f2cb0580 Fix co19 status.
Quick fix to turn the buildbot green. Will investigate whether this is
indeed a c019 test bug.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27318 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-09 22:48:07 +00:00
hausner@google.com 961aad0080 Fix co19 status for dart2js
Review URL: https://codereview.chromium.org//24019003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27316 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-09 22:37:40 +00:00
hausner@google.com fd57843900 Update handling of ambiguous name references
Update VM to latest spec. Referencing a name that is imported
from more than one library is no longer a compile-time error.
If one of the sources of an ambiguous reference is a dart library,
the dart library declaration is automatically hidden.

Also fixes a bug where looking up a getter name in a library
found the getter even though the name is filtered out in the
'hide' combinator.

Long-term we should fix the need for repeatedly convert between
the mangled getter and setter names and the untangled name.

Fixes 12915, 12913, 12724.

R=regis@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27312 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-09 21:52:40 +00:00
lrn@google.com fe5ec3ae22 Update co19 test expectations to disable tests using String.concat.
Found an actual use of concat in a package.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27287 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-09 11:51:20 +00:00
johnmccutchan@google.com 86ffb1f64d Add alignment checks to typed_data views
R=asiva@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27278 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-08 15:18:04 +00:00
johnniwinther@google.com 89707c39c9 Check for non-final field in the face of const constructors.
BUG=http://dartbug.com/12900,http://dartbug.com/12901
R=karlklose@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27227 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-06 06:19:38 +00:00
karlklose@google.com 6d54786025 Emit a compile-time error on const constructors with a body.
BUG=dartbug.com/13028
R=johnniwinther@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27194 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-05 12:45:32 +00:00
karlklose@google.com 3c3e2f959a Emit a compile-time error when returning a value from a constructor.
BUG=dartbug.com/12937, dartbug.com/12938
R=ngeoffray@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27129 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-04 13:45:44 +00:00
ricow@google.com 6c2563c1ab Update suppression for co19/LibTest/typed_data/Float32List/toList_A01_t01 on jsshell to include fail
R=kasperl@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27126 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-04 13:33:56 +00:00
fschneider@google.com ae6a07bd7d Fix co19 status for dart2js.
I only fixed the VM part for this bug.

TBR=ngeoffray@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27118 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-04 12:11:36 +00:00
fschneider@google.com 59004e9e54 Fix range check bug for ByteData getters and setters.
BUG=https://code.google.com/p/dart/issues/detail?id=12880
R=asiva@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27107 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-04 10:04:16 +00:00
kustermann@google.com b5c64a00d7 Remove status file entries refering to non-existent tests
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27102 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-04 08:54:00 +00:00
iposva@google.com 1214902acd - Consolidate co19 test failure into co19-co19.status file.
Review URL: https://codereview.chromium.org//23907003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27094 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-04 05:59:55 +00:00
ricow@google.com 63470258cd Update suppression for co19/LibTest/typed_data/Uint8List/toList_A01_t01 to include fail on jsshell
There is already a please triage marker - this was due to co19 roll yesterday

R=kasperl@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27092 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-04 05:48:19 +00:00
zra@google.com a783459837 Preserves callee-saved FPU registers on ARM
Preserves callee-saved FPU registers on ARM when
going from C++ to Dart code. Adds assertions to
the simulator to make sure this is being done
correctly.

R=regis@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27072 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-03 18:23:43 +00:00
hausner@google.com 32ae5943ea Triage new co19 failures at co19 revision 569.
TBR=srdjan

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27069 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-03 17:42:01 +00:00
kustermann@google.com 2ebb1afa8a co19 roll to r569: follow up status file changes for IE9
TBR=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27053 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-03 13:30:44 +00:00
kustermann@google.com 60eeea2f0b co19 roll to r569
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27047 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-03 12:36:13 +00:00
ngeoffray@google.com a74e1255e0 Make sure we're not trying to optimize an int check if the input can be a number.
R=kasperl@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27034 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-03 10:23:45 +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
ahe@google.com 7222569e4f Fix various parser bugs related to modifiers of top-level and class members.
BUG=http://dartbug.com/5852
BUG=http://dartbug.com/12805
BUG=http://dartbug.com/12887
BUG=http://dartbug.com/12898
R=johnniwinther@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27016 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-02 17:50:42 +00:00
lrn@google.com d25edf4bab Revert bad merge in co19 status file.
Review URL: https://codereview.chromium.org//23858002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26989 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-02 07:29:00 +00:00
ahe@google.com 77a06d967a Update analyzer co19 status after r26985.
R=lrn@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26988 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-02 07:23:52 +00:00
ahe@google.com bc52a192fc Triage co19 tests with @compile-error.
R=ngeoffray@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26987 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-02 07:09:52 +00:00
lrn@google.com 53dc9ba034 Change the field and constructor parameter types of NoSuchMethodError to Symbol.
The NSME uses strings for names. It should use symbols.

This change modifies the VM libraries only enough to make the signature change
not crash. It will probably need cleanup to ensure that symbols are passed
to the internal constructor directly, instead of strings that have to be
converted.

(Also fixes a type error in Map.fromIterable that was hit by the code).

BUG= http://dartbug.com/11190
R=ahe@google.com, regis@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26985 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-02 05:57:49 +00:00
ahe@google.com 3f8daeb548 Update status file for flaky test
Review URL: https://codereview.chromium.org//23540012

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26982 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-01 06:19:16 +00:00
ahe@google.com 0d1742a223 Temporarily skip deferred load tests on IE9.
Review URL: https://codereview.chromium.org//23845002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26977 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-31 11:31:14 +00:00
hausner@google.com 03d1af54b0 Fix crash with cyclic exports
Issue 6060, 6595

R=srdjan@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26957 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-30 23:09:35 +00:00
kustermann@google.com 7c2d27bb13 Add again the *necessary* timeout markers for tests running on ie9/ie10
R=ahe@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26930 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-30 17:32:42 +00:00
srdjan@google.com 7f11fd9dd6 More co19 test triaging.
R=iposva@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26921 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-30 15:43:19 +00:00
kustermann@google.com 4d7311f14b Remove Timeout entries in status files for ie9/ie10
After reducing the load on our IE builders, we hopefully no longer see these
random timeouts.

R=ahe@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26912 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-30 13:39:05 +00:00
ngeoffray@google.com ae9de2eaa9 Work around runtime engine deficiencies.
This CL changes length access of typed arrays to a call to a runtime helper. That helper is an optimized version for V8, or a regular length access for other engines.

R=ahe@google.com, bak@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26905 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-30 09:17:02 +00:00
srdjan@google.com c9a5f90276 Triage more co19 tests.
R=iposva@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26886 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-29 18:26:57 +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
ricow@google.com 5d94cc3063 Mark additional co19 test as flaky Timeout, Fail
R=kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26865 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-29 12:25:41 +00:00
kustermann@google.com 8d4479ae4b Status file update for co19 typed_data tests
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26855 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-29 11:06:34 +00:00