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
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
dgrove@google.com
39889f6270
Move dartdoc from lib/ to pkg/ .
...
Reviewed at desk by rnystrom, since gcl upload fails when there
are binary images in the change.
TBR=rnystrom@google.com
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10776 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-15 22:59:55 +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
dgrove@google.com
c265902bea
Move unittest from lib to pkg.
...
Review URL: https://chromiumcodereview.appspot.com//10836241
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10685 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-14 22:36:59 +00:00
sigmund@google.com
26eed674ba
Fix layout tests.
...
Review URL: https://chromiumcodereview.appspot.com//10854075
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10462 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-09 21:52:07 +00:00
antonm@google.com
e79a8e543a
Update .png file.
...
TBR=podivilov@chromium.org
Review URL: https://chromiumcodereview.appspot.com//10836109
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10277 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-06 08:21:54 +00:00
iposva@google.com
37c88890bb
- Fix type in URI test.
...
Review URL: https://chromiumcodereview.appspot.com//10826114
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10170 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-02 14:26:36 +00:00
ahe@google.com
1e0c2471a5
Changed default Uri constructor to Uri.fromComponents(), new default constructor is Uri.fromString(). This is to avoid new Uri(' http://www.google.com ') resulting in Uri with scheme=' http://www.google.com '.
...
Committing on behalf of: Alexander Aprelev <aprelev@gmail.com >
BUG=dart-3348
TEST=new Uri('http://www.google.com ') is the same as new Uri.fromString('http://www.google.com ') same as new Uri.fromComponents(scheme:'http', domain:'www.google.com')
Review URL: https://chromiumcodereview.appspot.com//10850015
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10168 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-02 13:48:30 +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
be52d28a66
fixing drt-trampoline
...
BUG=http://dartbug.com/3917
Review URL: https://chromiumcodereview.appspot.com//10701025
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9230 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-28 21:55:40 +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
ahe@google.com
caa708cddb
Update dart2js to use diagnostic kinds.
...
Review URL: https://chromiumcodereview.appspot.com//10579015
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8843 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-19 13:48:13 +00:00
gram@google.com
9b79e27e17
Some unit test fixes:
...
Fixed a couple of issues in the ensureInitialized() function.
Added expectAsyncUntil methods to support callbackDone style tests.
Split the matcher tests up so that we can exclude those that use isInstance
from the environments where they don't work.
Eliminated the need for two functions calls in throws/throwsA.
Fixed some tests.
Changed some uses of Expect to expect.
Fixed a bug when using expectAsync with a count of zero.
Fixed a bug where we weren't updating the call count in invoke0/1/2.
Made expect behave sensibly in cases where the user doesn't supply a
matcher (e.g. expect(foo, 0)). USing the predicate form with a
reason now requires a named parameter.
Review URL: https://chromiumcodereview.appspot.com//10544167
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8753 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-15 23:17:57 +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
gram@google.com
0aceb0c410
Revert 8668
...
Review URL: https://chromiumcodereview.appspot.com//10539163
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8673 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-14 17:27:21 +00:00
gram@google.com
0a8476dfcc
Some unit test fixes:
...
Fixed a couple of issues in the ensureInitialized() function.
Added expectAsyncUntil methods to support callbackDone style tests.
Split the matcher tests up so that we can exclude those that use isInstance
from the environments where they don't work.
Eliminated the need for two functions calls in throws/throwsA.
Fixed a couple of tests.
Review URL: https://chromiumcodereview.appspot.com//10545167
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8668 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-14 16:40:28 +00:00
rnystrom@google.com
a1c7361583
Add matchers for unit testing futures:
...
- completes
- completion()
Also made throws and throwsA() work with futures.
Review URL: https://chromiumcodereview.appspot.com//10548005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8632 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-13 22:49:24 +00:00
gram@google.com
f77eb9e22e
Fixed a mismatch describer with unreachable code.
...
Commented out isInstance tests that are causing issues with dart2js.
Review URL: https://chromiumcodereview.appspot.com//10539029
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8368 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-06 23:01:28 +00:00
gram@google.com
29342005b3
Fix problems that occur in checked mode.
...
Review URL: https://chromiumcodereview.appspot.com//10541035
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8360 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-06 20:40:29 +00:00
gram@google.com
d2efc58b00
New expectation functions plus convert old tests to use these.
...
Review URL: https://chromiumcodereview.appspot.com//10441104
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8355 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-06 20:15:58 +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
ahe@google.com
355f5303a5
Add --package-root option to the compiler.
...
Review URL: https://chromiumcodereview.appspot.com//10407092
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7849 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-22 12:49:49 +00:00
gram@google.com
45d0e6e824
URI encoder/decoder - copied from other repo. This is the same code already reviewed but the other repo is not allowing me to commit so trying again.
...
See Issue 10310080: Added uriEncode/uriEncodeComponent/uriDecode/uriDecodeComponent functions.
Review URL: https://chromiumcodereview.appspot.com//10399077
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7758 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-18 18:39:18 +00:00