Commit Graph

180 Commits

Author SHA1 Message Date
floitsch@google.com c10172597f Make Uri.isAbsolute and Uri.hasAuthority getters.
BUG= http://dartbug.com/8504

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18505 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-14 09:48:52 +00:00
ngeoffray@google.com da51aac292 Add a type kind to TypedSelector. A typed selector can either be
- EXACT: it knows the exact type of the receiver (e.g. new Map()).
- SUBCLASS: the type is in the subclass hierarchy (e.g. 'this')
- INTERFACE: any type that implements the receiver type is a target.
Review URL: https://codereview.chromium.org//12207081

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18311 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-11 16:42:27 +00:00
ngeoffray@google.com 124f19a793 Turn getters and setters that we know are not intercepted into regular getter and setter calls.
Review URL: https://codereview.chromium.org//12087101

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18121 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-05 09:11:35 +00:00
blois@google.com b551238b34 Fixing case of IE polyfill using deprecated syntax
I missed this case when removing the APIs deprecated from M2, it's an IE polyfill.

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18003 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-01 21:19:16 +00:00
floitsch@google.com ed938af868 Rename new Uri.fromString to Uri.parse.
Review URL: https://codereview.chromium.org//12052038

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17562 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-24 13:26:18 +00:00
johnniwinther@google.com d17d1410f7 Revert "Add --analyze-only flag to dart2js"
This reverts commit r17538.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17542 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-24 11:33:12 +00:00
johnniwinther@google.com 974d439bce Add --analyze-only flag to dart2js
Review URL: https://codereview.chromium.org//11882017

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17538 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-24 11:22:20 +00:00
iposva@google.com 57f62dd2e1 - Make sure we can "run" all tests using simarm/simmips.
Review URL: https://codereview.chromium.org//12042065

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17516 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-24 00:42:04 +00:00
johnniwinther@google.com 6e8302f735 Make dummy_compiler_test and recursive_import_test work.
Review URL: https://codereview.chromium.org//12041043

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17450 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-23 12:45:17 +00:00
kasperl@google.com c80c122d5a Test now passes!
TBR'ed.

R=johnniwinther@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16952 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-11 07:21:52 +00:00
ngeoffray@google.com 282afc679b Do not apply optimizations based on an element if that element cannot be resolved.
Review URL: https://codereview.chromium.org//11817013

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16906 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-10 09:51:08 +00:00
scheglov@google.com 82f1c72f92 Initial support for mixins in dartc.
R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16864 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-09 17:13:02 +00:00
kasperl@google.com 9a9ccea0e3 Test no longer fails (issue 7744 has been fixed).
TBR'ed.

R=karlklose@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16836 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-09 08:22:29 +00:00
ahe@google.com 6b11e3ec5a More cuddling dart2js checked mode.
Review URL: https://codereview.chromium.org//11773043

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16801 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-08 14:37:58 +00:00
scheglov@google.com 954a07bf60 Switch 'default' is allowed to have fall-through
R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16740 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-07 19:37:49 +00:00
scheglov@google.com c300988226 Update status files for dartc
R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16737 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-07 19:08:08 +00:00
whesse@google.com 39f61cab9c Update status to reflect utils/json_test failing with issue 7737.
BUG=https://code.google.com/p/dart/issues/detail?id=7737

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16733 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-07 18:22:04 +00:00
ager@google.com 6f45a61404 Update status files for dartc (utils, co19).
Marking the utils ones as pass,fail because they pass on
the analyzer.

R=floitsch@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16709 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-07 15:18:49 +00:00
ahe@google.com bcbccaf2d9 Update dart2js unit tests to new library API.
Review URL: https://codereview.chromium.org//11788016

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16702 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-07 14:51:20 +00:00
floitsch@google.com 4a7dfd2da3 Big merge from experimental to bleeding edge.
Review URL: https://codereview.chromium.org//11783009

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16687 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-07 11:23:16 +00:00
ngeoffray@google.com 7db6e9d3e0 Re-apply "Clean up the patch file for the isolate library by introducing a new buitlin library: isolate_helper.dart". This time load eagerly isolate_helper so that the native handler can see it.
Review URL: https://codereview.chromium.org//11640021

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16500 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-26 17:15:02 +00:00
sgjesse@google.com 7e293aa077 Reapply "Fix URI encoding/decoding of + and space""
Updated test expectations for some tests for pkg/http, pkg/oauth2 and
pub to match the change.

TBR=lrn@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16426 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-21 09:50:05 +00:00
sgjesse@google.com 48822ca742 Revert "Fix URI encoding/decoding of + and space"
TBR=ager@google.com

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16421 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-21 09:16:46 +00:00
sgjesse@google.com 489f68046f Fix URI encoding/decoding of + and space
The URI decoder now encodes space as + and + as %2B. Likewise the URI
decode decodes + as space (and %2B as +, but that was already the
case).

R=lrn@google.com

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16419 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-21 08:53:38 +00:00
johnniwinther@google.com 1cf40d0dc4 Remove use of !==
Review URL: https://codereview.chromium.org//11531008

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16001 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-11 20:42:19 +00:00
scheglov@google.com 1f37d21d41 Issue 7282. Report error for deprecated === and !==
http://code.google.com/p/dart/issues/detail?id=7282

R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15989 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-11 18:26:02 +00:00
ahe@google.com 5bff9c2d49 Mark utils/dart2js_test as failing on Dartium.
Review URL: https://codereview.chromium.org//11528008

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15975 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-11 14:05:29 +00:00
antonm@google.com 8a18aef75e Revert "Use old import syntax."
TBR=ahe@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15974 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-11 13:58:59 +00:00
antonm@google.com 866782ea6d Use old import syntax.
As of now, new import syntax doesn't play well with DRT wrapping.

R=ahe@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15973 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-11 13:52:29 +00:00
ahe@google.com edc46629f1 Remove all warnings from dart2js and add a test to prevent introduction of new.
Review URL: https://codereview.chromium.org//11536004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15962 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-11 10:46:50 +00:00
ahe@google.com f1fa6a9bca Update status file after fixing (bogus) compile-time error in dart2js.
Review URL: https://codereview.chromium.org//11538002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15959 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-11 09:49:26 +00:00
karlklose@google.com 59734b39f3 Remove some warnings and errors from dart2js.
Review URL: https://codereview.chromium.org//11438044

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15955 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-11 09:16:27 +00:00
scheglov@google.com 928a926fb2 Update reason why 2 utils tests are failing
http://code.google.com/p/dart/issues/detail?id=6870   fixed
http://code.google.com/p/dart/issues/detail?id=7239   opened

R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15915 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-10 17:21:23 +00:00
ahe@google.com b76817fe83 Skip dummy_compiler_test on drt.
Review URL: https://codereview.chromium.org//11503012

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15907 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-10 13:17:54 +00:00
ahe@google.com d4b36ac687 Update status file now that dummy_compiler_test.dart is a library.
Review URL: https://codereview.chromium.org//11488007

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15899 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-10 12:40:32 +00:00
ahe@google.com c4ba4cfe6c Reject constructor names that conflict with members.
BUG=http://dartbug.com/3991

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15894 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-10 10:46:41 +00:00
ngeoffray@google.com 65a0ccaa3b Fix problems due to unit testing of the compiler.
Review URL: https://codereview.chromium.org//11308227

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15400 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-27 16:33:16 +00:00
scheglov@google.com 1277895b47 Issue 6836. Using undeclared identifier in static context is now warning.
http://code.google.com/p/dart/issues/detail?id=6836

R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15311 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-26 16:18:35 +00:00
erikcorry@google.com 359736e97a Fix Unicode issues in dart2js and dart2dart.
R=floitsch@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15254 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-22 12:51:14 +00:00
karlklose@google.com 2151a206fe Mark dummy_compiler_test and recursive_import_test as passing.
Review URL: https://codereview.chromium.org//11415099

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15198 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-21 13:40:21 +00:00
erikcorry@google.com 84da84c22d Revert "Add some support for the code-point code-unit distinction."
This reverts commit r15150

R=karlklose@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15152 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-20 15:23:41 +00:00
erikcorry@google.com 547cbf9da6 Add some support for the code-point code-unit distinction.
Adds String.fromCodeUnits and String.codeUnitAt, and modifies
String.fromCodePoints and String.codePointAt to actually use code points.
Fixes String.charCodes to use code points and adds String.codeUnits.
Reenables some tests, and adds new ones for non-BMP characters.
Fixes issues 6418, 6501 and 1357.

R=floitsch@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15150 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-20 14:51:25 +00:00
floitsch@google.com 8e6f238f86 a === b -> identical(a, b)
Replace === null with == null.

BUG=http://dartbug.com/6380

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14794 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-12 17:19:58 +00:00
gram@google.com 048f7947f8 Update library syntax and fix test status.
Review URL: https://codereview.chromium.org//11293180

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14699 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-08 18:33:17 +00:00
antonm@google.com bdc92670b0 utf8_test passes for DRT, not dart2js.
TBR=podivilov@chromium.org

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14643 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-07 17:57:50 +00:00
antonm@google.com 65b06a1601 Remove suppressions for now passing tests.
R=podivilov@chromium.org

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14640 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-07 17:32:07 +00:00
jmesserly@google.com 4b94059996 fix stringToCodePoints on VM
http://dartbug.com/6476

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14585 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-06 18:41:17 +00:00
johnniwinther@google.com 07e6f0d876 Handle (missing) trailing slash in dartdoc
Review URL: https://codereview.chromium.org//11369092

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14561 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-06 11:54:40 +00:00
scheglov@google.com 03de1bf34c Attempt to fix DartC build.
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14539 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-05 16:49:33 +00:00
scheglov@google.com 1d310ff72c Report error for deprecated #library #import #source
R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14535 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-05 16:21:20 +00:00