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
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
rnystrom@google.com
02c8c61319
Fix import paths in dartdoc tests.
...
Review URL: https://codereview.chromium.org//10914265
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12339 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-13 17:00:14 +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
kasperl@google.com
0904f658c8
Change Uri.fromComponents to take named optional arguments.
...
R=iposva@google.com
BUG=
Review URL: https://chromiumcodereview.appspot.com//10919239
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12261 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-12 13:11:59 +00:00
ahe@google.com
987ea439c1
Unbreak dummy_compiler_test.
...
Review URL: https://chromiumcodereview.appspot.com//10918148
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12133 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-10 17:20:26 +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
kasperl@google.com
9beb871852
Get rid of a lot of () for getters.
...
R=bak@google.com
BUG=
Review URL: https://chromiumcodereview.appspot.com//10919146
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12017 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-07 11:50:07 +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
johnniwinther@google.com
c57b7b0a3a
'Find-as-you-type'-search in dartdoc/apidoc.
...
Review URL: https://chromiumcodereview.appspot.com//10829361
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11508 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-29 10:35:30 +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
ahe@google.com
98bb912a50
Added origin property to Uri class Added unit test coverage for origin property
...
Committed on behalf of Alexander Aprelev <aprelev@gmail.com >.
Original review URL: https://chromiumcodereview.appspot.com/10832092/ .
BUG=dart:4232
TEST=uri_test
Review URL: https://chromiumcodereview.appspot.com//10869008
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11124 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-22 06:42:08 +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