Commit Graph

115 Commits

Author SHA1 Message Date
ngeoffray@google.com 55c67a1fd9 Fix variable allocator in the presence of HCheck instructions.
Review URL: https://codereview.chromium.org//13877009

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21607 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-17 09:05:52 +00:00
ngeoffray@google.com 2ca428a715 Checked mode has the bug https://code.google.com/p/dart/issues/detail?id=9687.
Review URL: https://codereview.chromium.org//13933010

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21206 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-10 14:51:35 +00:00
ngeoffray@google.com 51f4e4c5ee Realize that this() is a closure send.
Review URL: https://codereview.chromium.org//13912003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21204 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-10 14:14:54 +00:00
erikcorry@google.com 8809ce7e07 Disable failing test completely bug=9687
R=ahe@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21025 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-06 15:48:08 +00:00
ahe@google.com 7ccd8ad5ef Wrapping files without library tags is neither necessary nor correct anymore.
Review URL: https://codereview.chromium.org//13674004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20971 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-05 15:11:40 +00:00
ahe@google.com 9a3b8bb633 Remove dart:io import from ssa/tracer.dart.
Committed: https://code.google.com/p/dart/source/detail?r=20917

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20961 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-05 11:52:42 +00:00
kasperl@google.com b750181a04 Fix warnings in dart2js code and re-enable analyzer coverage.
R=karlklose@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19545 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-06 09:53:10 +00:00
kasperl@google.com b6cd81eecf Mark dart2js as failing on the analyzer.
TBR'ed.

R=danrubel@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19043 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-26 14:13:22 +00:00
ahe@google.com fbc999f317 Fix warnings spotted by dartc.
Review URL: https://codereview.chromium.org//12294028

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18680 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-19 13:02:52 +00:00
ahe@google.com 56e7903f02 Mark utils/dart2js_test as failing on dartc
Review URL: https://codereview.chromium.org//12295027

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18673 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-19 11:51:51 +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
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
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
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
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
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
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
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
scheglov@google.com 98c9818476 Attempt to fix DartC build
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14487 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-02 16:44:23 +00:00
asiva@google.com ebbb7c4134 - Represent strings internally in UTF-16 format, this makes it
compatible with webkit and will allow for easy externalization of
  strings. One byte strings are retained for pure ASCII strings.
  (The language specification was changed recently to reflect this as
   follows "A string is a sequence of UTF-16 code units").
- Remove four byte string class and all references to it.
- Rename some of the string functions in Dart API to make them
  consistent and better describe the underlying functionality
  Dart_NewString => Dart_NewStringFromCString
  Dart_NewString8 => Dart_NewStringFromUTF8
  Dart_NewString16 => Dart_NewStringFromUTF16
  Dart_NewString32 => Dart_NewStringFromUTF32
  Dart_NewExternalString8 => Dart_NewExternalUTF8String
  Dart_NewExternalString16 => Dart_NewExternalUTF16String
  Dart_NewExternalString32 => Dart_NewExternalUTF32String
  Dart_StringGet8 => Dart_StringToUTF8
  Dart_StringGet16 => Dart_StringToUTF16
  Dart_StringToCString => Dart_StringToCString
  Dart_IsString8 => Removed
  Dart_IsString16 -> Removed
  Dart_StringToBytes -> Removed
  Dart_StringGet32 -> Removed
Review URL: https://codereview.chromium.org//11318018

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14357 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-31 17:56:46 +00:00
antonm@google.com a2326d001b Support for Chrome roll.
TBR=podivilov@chromium.org

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14346 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-31 15:24:30 +00:00
scheglov@google.com 09b22d5b46 Issue 6073. Fixes for 'export'.
http://code.google.com/p/dart/issues/detail?id=6073

R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13853 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-20 20:47:58 +00:00
ahe@google.com 46d2d68da8 It was dartc that had a problem
Review URL: https://codereview.chromium.org//11183085

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13813 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-19 08:58:15 +00:00
ahe@google.com 5e0c331388 Turns out that dartc didn't implement export.
Review URL: https://codereview.chromium.org//11194079

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13811 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-19 08:35:00 +00:00
ahe@google.com 1e6514c4b2 Update status for broken wrapper tests.
Review URL: https://codereview.chromium.org//11093017

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13402 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-09 09:16:27 +00:00
ahe@google.com 8214500336 Implement part-of directive.
Review URL: https://codereview.chromium.org//11092003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13398 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-09 07:49:48 +00:00
ager@google.com d8f6b41e07 Update status to reflect tests passing.
R=ahe@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13058 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-01 10:36:19 +00:00
scheglov@google.com 3c4080aff2 Issue 5163. Constructor/member name conflict should be error
http://code.google.com/p/dart/issues/detail?id=5163

R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12660 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-20 21:31:09 +00:00
ager@google.com 4a2dc9f4cb Update status files after fixes.
R=ngeoffray@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12376 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-14 11:21:56 +00:00