Commit Graph

81 Commits

Author SHA1 Message Date
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
rnystrom@google.com 8ee669bb71 Move dartdoc tests into dartdoc.
Review URL: https://codereview.chromium.org//10909214

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12352 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-13 21:15:39 +00:00
scheglov@google.com ea65bbb961 Issue 3553. Stop treating static final variables as constants
http://code.google.com/p/dart/issues/detail?id=3553
http://code.google.com/p/dart/issues/detail?id=3476

R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12336 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-13 15:49:07 +00:00
ahe@google.com 6aa2dcff6f Update status files on your behalf.
Review URL: https://chromiumcodereview.appspot.com//10907114

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12041 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-07 15:15:24 +00:00
ngeoffray@google.com 94f1c2ed10 Change our 'is int' check to use Math.floor instead of a smi check.
Review URL: https://chromiumcodereview.appspot.com//10912147

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12018 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-07 12:05:34 +00:00
ngeoffray@google.com b5fe256172 Improvements for checked mode: check when intializing fields, and when assigning to fields.
Review URL: https://chromiumcodereview.appspot.com//10910092

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11962 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-06 16:03:25 +00:00
floitsch@google.com 1011c58bf9 Use JavaScript runtime semantics when constant folding.
Fixes issue 4551.
Fixes issue 2887.

Review URL: https://chromiumcodereview.appspot.com//10825386

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11883 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-05 16:13:58 +00:00
scheglov@google.com 618ff29a6d Issue 4713. Support for 'static const' field in interfaces
http://code.google.com/p/dart/issues/detail?id=4713

R=brianwilkerson@google.com
BUG=

Review URL: https://chromiumcodereview.appspot.com//10874089

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11409 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-27 19:51:17 +00:00
iposva@google.com 670d295e40 - Updating status files with more failed tests due to bug 4713.
Review URL: https://chromiumcodereview.appspot.com//10869077

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11406 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-27 19:04:23 +00:00
scheglov@google.com acca1aaf61 Issue 4543. Use complete Resolver before constants analyzer
http://code.google.com/p/dart/issues/detail?id=4543

This allows us to use resolved Elements for all nodes, without duplicating Resolver functionality.

R=brianwilkerson@google.com
BUG=

Review URL: https://chromiumcodereview.appspot.com//10831373

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10902 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-17 15:58:11 +00:00
ahe@google.com 73f8d23447 Adjust bug number
Review URL: https://chromiumcodereview.appspot.com//10823368

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10842 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-16 17:05:58 +00:00
ahe@google.com 63cf05a386 Update status file for the analyzer (nee dartc).
Review URL: https://chromiumcodereview.appspot.com//10832344

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10839 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-16 16:59:35 +00:00
ahe@google.com 4174c7cfcf Update status file for dummy_compiler.
Review URL: https://chromiumcodereview.appspot.com//10836289

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10828 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-16 16:18:09 +00:00
ricow@google.com d2bcca8b32 Update status for dummy compiler, we don't fail this in checked mode anymore
Review URL: https://chromiumcodereview.appspot.com//10836288

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10820 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-16 14:01:21 +00:00
ricow@google.com 112185f725 Add slow marker for utils/dummy_compiler_test in checked mode.
Cutting the standard timeout in half caused this to now timeout instead of failing. 
Review URL: https://chromiumcodereview.appspot.com//10837280

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10788 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-16 05:45:04 +00:00
ricow@google.com 942e3cf4c1 Add a support for a slow marker in status files.
The reasoning for this is that we want to have a sufficiently low
timeout to catch performance regressions, but still want to maintain
the support for having a few tests that takes a longer time to
complete.

This cl adds 2 slow functions, I will add more if any additional tests timeout on the buildbot.
Review URL: https://chromiumcodereview.appspot.com//10854156

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10714 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-15 11:55:44 +00:00
smok@google.com 4412f8653f dart2dart Skip non-language tests, leave yaml too.
Review URL: https://chromiumcodereview.appspot.com//10823079

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10014 260f80e4-7a28-3924-810f-c04153c831b5
2012-07-30 13:50:54 +00:00
smok@google.com ac8d991870 dart2dart
Several fixes for more robust renaming of type annotations and Send-s:
Correct renaming of class interfaces with type arguments, renaming
of global functions, constructor and named constructor calls, static
field accesses.

Review URL: https://chromiumcodereview.appspot.com//10824062

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10003 260f80e4-7a28-3924-810f-c04153c831b5
2012-07-30 05:27:58 +00:00
antonm@google.com 74d17a16f9 dart2dart compiler support.
R=whesse@google.com

Review URL: https://chromiumcodereview.appspot.com//10809069

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9880 260f80e4-7a28-3924-810f-c04153c831b5
2012-07-25 11:20:41 +00:00
sigmund@google.com 2d02962131 disable layout tests in mac or windows(not tested)
TBR=efortuna@google.com
BUG=
TEST=

Review URL: https://chromiumcodereview.appspot.com//10713010

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9209 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-28 17:30:10 +00:00
sigmund@google.com 25a24b69a5 Adds support for layout tests.
Review URL: https://chromiumcodereview.appspot.com//10683009

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9207 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-28 17:05:10 +00:00
zundel@google.com 1b7f8307d2 A redirect constructor cannot reference an instance method.
See issue http://code.google.com/p/dart/issues/detail?id=2105

Review URL: https://chromiumcodereview.appspot.com//10541184

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8685 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-14 20:32:33 +00:00
ngeoffray@google.com 2cb4416340 Use the typedef arity to know how to invoke a closure given by the dom.
Review URL: https://chromiumcodereview.appspot.com//10441071

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8067 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-29 15:53:54 +00:00
ngeoffray@google.com 5ca4106a51 Skip dart2js/firefox until we fix issue 2615.
Review URL: https://chromiumcodereview.appspot.com//10449049

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8045 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-29 09:41:29 +00:00
ngeoffray@google.com 3542e0bc07 Status file update to have dart2js/chrome/mac green.
Review URL: https://chromiumcodereview.appspot.com//10459006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8037 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-29 08:55:40 +00:00
ngeoffray@google.com 21041489fa Implement PrimitiveOrNull types.
Review URL: https://chromiumcodereview.appspot.com//10389063

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7537 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-11 10:25:11 +00:00
nweiz@google.com 3e83522697 Move Yaml into utils/pub.
Review URL: https://chromiumcodereview.appspot.com//10339009

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7264 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-02 23:37:17 +00:00
sigmund@google.com 1dd7f30abc test rename overhaul: step 11 - tests/utils
Review URL: https://chromiumcodereview.appspot.com//10170040

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7117 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-28 00:16:04 +00:00
nweiz@google.com 6d2b52bb73 Add a basic YAML processor. Much of the language is still unimplemented.
Review URL: https://chromiumcodereview.appspot.com//10153004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6971 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-25 19:58:56 +00:00
antonm@google.com 9b4efa81c0 Remove now unnecessary suppression.
TBR=podivilov@chromium.org

Review URL: https://chromiumcodereview.appspot.com//10207015

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6891 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-24 15:34:27 +00:00
ahe@google.com 9eac6a5748 Remove frogsh.
Review URL: https://chromiumcodereview.appspot.com//10164004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6840 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-23 13:26:06 +00:00
antonm@google.com 63309b3fa1 Suppress utils/Utf8Test on Dartium for now.
TBR=ahe@google.com

Review URL: https://chromiumcodereview.appspot.com//10144003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6787 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-20 10:11:02 +00:00
ahe@google.com 43a6504688 Add test case for utils/utf8/utf8.dart.
Review URL: https://chromiumcodereview.appspot.com//9190042

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6784 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-20 09:27:26 +00:00
kasperl@google.com 639792f3b8 Update status file.
R=floitsch@google.com
BUG=
TEST=

Review URL: https://chromiumcodereview.appspot.com//10117020

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6686 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-18 13:38:52 +00:00
lrn@google.com 54cab43f3a Reapply "Refactoring if block-information."
Fix error in conditional expression handling.

Review URL: https://chromiumcodereview.appspot.com//10041026

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6684 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-18 13:16:27 +00:00