Commit Graph

156 Commits

Author SHA1 Message Date
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
karlklose@google.com 323d8f6a9c Support class and typedef literals as expressions.
For a class C, the expression 'C' returns the canonicalized instance of Type for this class. If C has type variables, they are instantiated with 'dynamic'.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14515 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-05 09:29:51 +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
dgrove@google.com 41722ed557 Address two tests that were missed when tree was restructured.
Review URL: https://codereview.chromium.org//11361065

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14476 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-02 15:27:55 +00:00
dgrove@google.com 7897a78551 Changes outside pkg/ and lib/ for directory refactoring
Review URL: https://codereview.chromium.org//11358024

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14475 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-02 15:18:11 +00:00
gram@google.com 981c4b11df Restructure pkg/unittest and pkg/webdriver to follow the pub conventions.
This means all imports of unittest in our test code had to change to include 'lib' in the path.
While doing that change I changed the library/imports to the new syntax in the affected files.
Review URL: https://codereview.chromium.org//11301046

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14443 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-01 23:09:47 +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
lrn@google.com a8720a6d9c Change signature of noSuchMethod to take an InvocationMirror.
Requires VM and dart2js/dart2dart changes to work.

Committed: https://code.google.com/p/dart/source/detail?r=14198

Committed: https://code.google.com/p/dart/source/detail?r=14254

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14324 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-31 10:32:54 +00:00
lrn@google.com 895d155ab1 Revert "Change signature of noSuchMethod to take an InvocationMirror."
TBR=ager@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14260 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-30 10:47:42 +00:00
lrn@google.com 4a24ddc1d4 Change signature of noSuchMethod to take an InvocationMirror.
Requires VM and dart2js/dart2dart changes to work.

Committed: https://code.google.com/p/dart/source/detail?r=14198

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14254 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-30 10:04:12 +00:00
lrn@google.com 778b0dc5e5 Revert "Change signature of noSuchMethod to take an InvocationMirror."
TBR=floitsch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14199 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-29 14:07:10 +00:00
lrn@google.com 0bcd2f4f7b Change signature of noSuchMethod to take an InvocationMirror.
Requires VM and dart2js/dart2dart changes to work.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14198 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-29 13:34:58 +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
polux@google.com be7d9025b5 Fix utils/recursive_import_test.
Review URL: https://codereview.chromium.org//11195040

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13775 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-18 11:40:13 +00:00
polux@google.com 93d13df7ef Fix dummy_compiler_test.
Review URL: https://codereview.chromium.org//11188057

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13774 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-18 11:25:30 +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
lrn@google.com a1faa6f135 Change IllegalArgumentException to ArgumentError.
Review URL: https://codereview.chromium.org//10989013

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12841 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-25 12:27:52 +00:00
ahe@google.com fcc9f5f0ff Parse new library syntax.
Committed: https://code.google.com/p/dart/source/detail?r=12386
But reverted in: https://code.google.com/p/dart/source/detail?r=12387

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12686 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-21 09:08:12 +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