Commit Graph

2071 Commits

Author SHA1 Message Date
whesse@google.com 12845acbf3 Revert "Add android device id to test output in test scripts."
This reverts r41933

BUG=
R=kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41934 260f80e4-7a28-3924-810f-c04153c831b5
2014-11-24 17:53:30 +00:00
whesse@google.com d91010512a Add android device id to test output in test scripts.
BUG=
R=kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41933 260f80e4-7a28-3924-810f-c04153c831b5
2014-11-24 17:40:13 +00:00
lrn@google.com ad532b79e0 Make Utf8Decoder and Utf8Encoder's convert methods take start and end too.
BUG= http://dartbug.com/21652
R=floitsch@google.com, sgjesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41844 260f80e4-7a28-3924-810f-c04153c831b5
2014-11-20 11:23:51 +00:00
koda@google.com 7001650c96 Test status: verification tests on ia32, x64 only.
TBR=iposva@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41810 260f80e4-7a28-3924-810f-c04153c831b5
2014-11-18 18:59:58 +00:00
koda@google.com fde4d2882c Add missing verified write on x64; extend test coverage
On x64, StoreInstanceField and StoreIndexed sometimes used Assembler::StoreObject to store constants directly into heap objects. This method is unaware of the write barrier. Fix this by adding a write-barrier-aware method, like we already have on ia32.

Generally, we should consider distinguishing more clearly between stack stores and heap stores, for instance by adding HeapAddress/StackAddress types.

R=iposva@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41808 260f80e4-7a28-3924-810f-c04153c831b5
2014-11-18 16:35:59 +00:00
whesse@google.com c61eb1fdb9 Update test status for analyzer error in DOM bindings code.
BUG=dartbug.com/21647
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41799 260f80e4-7a28-3924-810f-c04153c831b5
2014-11-18 12:52:30 +00:00
rmacnak@google.com 77adbe5bca Remove/skip invalid mirror tests.
-class of 1 is not required to declare int as an interface
-owner of members of mixin applications is the mixin
-MirrorsUsed does not have a semantics

R=gbracha@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41540 260f80e4-7a28-3924-810f-c04153c831b5
2014-11-06 01:10:33 +00:00
johnniwinther@google.com 09fbe78e71 Move dart2js from sdk/lib/_internal/compiler to pkg/compiler
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41514 260f80e4-7a28-3924-810f-c04153c831b5
2014-11-05 08:51:01 +00:00
johnniwinther@google.com 8637cfd322 Revert "Move dart2js from sdk/lib/_internal/compiler to pkg/compiler"
This reverts commit r41512.

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41513 260f80e4-7a28-3924-810f-c04153c831b5
2014-11-05 08:15:26 +00:00
johnniwinther@google.com 2b336e17f0 Move dart2js from sdk/lib/_internal/compiler to pkg/compiler
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41512 260f80e4-7a28-3924-810f-c04153c831b5
2014-11-05 07:09:04 +00:00
regis@google.com 30dce6a5d1 Fix issue 21474 in mirrors.
R=rmacnak@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41453 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-31 23:16:11 +00:00
regis@google.com 71c8b1b210 Revert mixin fix r41424 until mirrors issue 21474 is fixed.
Review URL: https://codereview.chromium.org//691053004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41425 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-30 19:04:02 +00:00
regis@google.com 5a09dee193 Fix Function::Clone() and Field::Clone() to adjust the class owner of type
parameters (issue 18630).
Add regression tests.
Commented out 3 lines in mirror test (issue 21474 filed).

R=srdjan@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41424 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-30 17:39:40 +00:00
whesse@google.com 2db6b324e1 Update Safari status files.
BUG=dartbug.com/21434

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41415 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-30 10:17:19 +00:00
nweiz@google.com cb75ee00bc Don't analyze async_await in the repo bots.
R=rnystrom@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41411 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-30 00:55:17 +00:00
whesse@google.com 53264f42c0 Mark tests flaky on Safari 6.2
BUG=dartbug.com/21434
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41393 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-29 10:30:25 +00:00
whesse@google.com aeba67e44e Add builder tag for Safari 6.2 slave. Update status files for Safari 6.2.
BUG=
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41323 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-27 16:09:00 +00:00
lrn@google.com 75e49f5220 Fix test warnings and expect Safari mobile simulator bug.
Review URL: https://codereview.chromium.org//679143003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41319 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-27 15:07:20 +00:00
lrn@google.com 8050a0392b Fix assertion not holding (calling with start==end) and typo.
Review URL: https://codereview.chromium.org//677423002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41317 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-27 14:00:13 +00:00
lrn@google.com e2e17c3f26 Make JSON parsing work as a chunked conversion sink.
This allows JSON parsing to work on individual chunks of source instead
of collecting and concatenating all the parts before parsing.

This is made in anticipation of having a UTF-8 version that parses directly
on the input codes, without creating a String first.

R=sgjesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41311 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-27 12:11:39 +00:00
floitsch@google.com c5702b1784 dart2js: add --preserve-uris flag.
R=blois@google.com, johnniwinther@google.com, nweiz@google.com

Committed: https://code.google.com/p/dart/source/detail?r=41205
Reverted: https://code.google.com/p/dart/source/detail?r=41206

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41244 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-22 09:05:26 +00:00
johnmccutchan@google.com aa2319fa88 Expect int64_list_load_store_test to fail for dart2js
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41234 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-21 20:30:34 +00:00
johnmccutchan@google.com fb7f8551b4 Add unboxed Mint for X64
BUG=
R=vegorov@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41233 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-21 18:11:43 +00:00
floitsch@google.com 9a8c878d48 Mark analyzer test as failing.
Add minimal example to lib/mirrors.

R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41097 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-14 13:44:38 +00:00
rmacnak@google.com a8e5ad20a5 Don't crash when generating error messages with malformed strings.
R=asiva@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40829 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-01 00:49:36 +00:00
rmacnak@google.com fa5668fc70 Multitest has a 'checked mode compile-time error' marker now. Use it to clean up the mirrors status file a bit.
BUG=http://dartbug.com/16351
R=regis@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40799 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-30 04:41:40 +00:00
herhut@google.com abdf5f38a7 Corrected RuntimeError/Skip settings for invocation_fuzz_test for dart2js.
BUG=
R=floitsch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40762 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-29 11:45:25 +00:00
herhut@google.com 6d5e4979c9 Skip lib/mirrors/invocation_fuzz_test on dart2js/d8 .
BUG=
TBR=floitsch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40711 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-26 15:01:19 +00:00
herhut@google.com aebf6268e8 Do not mark lib/mirrors/invocation_fuzz_test as RuntimeError in checked mode.
BUG=
TBR=floitsch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40709 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-26 14:02:11 +00:00
herhut@google.com 16d3ee8234 Disable all variants of lib/mirrors/invocation_fuzz_test for dart2js/d8.
BUG=
R=karlklose@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40705 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-26 13:11:38 +00:00
lrn@google.com 181efd76ee Add missing null-tests to async error functions.
Also treat null errors comming out of Zone.errorCallback as
NullThrownError.

This should prevent, as was always the intention, any async error
from having a null value.
This is important for async/await syntax, where the distinction
between sync and async errors is removed.

(For Dart 2.0, we could just make null throwable).

R=sgjesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40673 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-25 11:00:49 +00:00
rmacnak@google.com 7899a9cc64 Mark _Bigint._mulAdd and conversion methods in typed_data as invisible. Strengthen the mirror invocation fuzzer.
BUG=http://dartbug.com/21046
R=regis@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40609 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-23 22:01:45 +00:00
rmacnak@google.com 645b5a0d2b Revert "Add _Bigint._mulAdd to the invisible list. Strengthen the mirror invocation fuzzer."
Review URL: https://codereview.chromium.org//590703003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40580 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-23 00:01:33 +00:00
rmacnak@google.com 7e7d568be5 Add _Bigint._mulAdd to the invisible list. Strengthen the mirror invocation fuzzer.
R=regis@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40576 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-22 22:46:40 +00:00
floitsch@google.com cfca89e24f Typedefs don't support generic arguments yet.
Review URL: https://codereview.chromium.org//583333002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40514 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-19 19:23:37 +00:00
floitsch@google.com db3307b493 dart2js: mirrors. Support Typedef.reflectedType.
BUG= http://dartbug.com/18938
R=karlklose@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40494 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-19 11:42:39 +00:00
whesse@google.com 90c7a56bdd Update status for Dartium tests.
BUG=dartbug.com/21012, dartbug.com/21000
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40491 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-19 10:22:04 +00:00
regis@google.com 879043ba6f Intrinsify Bigint 'multiply and accumulate" function on ia32.
R=srdjan@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40485 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-19 02:05:00 +00:00
iposva@google.com 365be3a302 Fix Dartium tests:
- Make arguments to main optional.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40461 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-18 20:45:06 +00:00
iposva@google.com 2dc9179ece - Prevent flakes in pi_test.dart.
R=zra@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40443 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-18 16:53:24 +00:00
nweiz@google.com 1db48a68c7 Mark all pub files as potentially failing in the analyzer.
R=rnystrom@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40407 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-17 22:14:02 +00:00
sigurdm@google.com fbc57bc23d Make dart2js deferred loading work in CSP mode.
Still it will not work from a js-worker, because we use new Function to
evaluate the script instead of injecting a script tag.

R=floitsch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40371 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-17 12:22:41 +00:00
lrn@google.com 602f73b4a2 Add error-intercept for Completer.completeError and StreamController.addError.
BUG= http://dartbug.com/15105
R=sgjesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40308 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-16 10:51:01 +00:00
scheglov@google.com 8b5ea1f3a1 Restore analyzing lib/_internal with Dart-based analyzer.
It adds 8+ minutes (to the current 4) to the analysis time, but does not timeout anymore.

R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40280 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-15 21:45:17 +00:00
sigurdm@google.com 0a59855a1e Recompute librariesByName after loading a deferred library.
R=floitsch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40204 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-12 09:35:16 +00:00
ricow@google.com df319447f1 Remove suppressions for ie9
R=blois@google.com, whesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40201 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-12 06:01:14 +00:00
karlklose@google.com 9491aaa8cb Check against the correct type when decoding runtime types.
The type [Type] is represented by its constructor function in the runtime type system, and if it used as a type argument, we install a $isType-tag on it for subtype checks.

R=floitsch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40045 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-09 17:28:52 +00:00
floitsch@google.com c659093941 dart2js: jsshell is not yet implementing scheduleMicrotask correctly.
Review URL: https://codereview.chromium.org//548353002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@39967 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-08 14:52:25 +00:00
floitsch@google.com 72bd32ebdd Add support for setImmediate on IE.
BUG= http://dartbug.com/9002
R=johnniwinther@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@39962 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-08 13:26:32 +00:00
johnniwinther@google.com 7685bced04 Generate needed classes for constant maps in metadata.
BUG=http://dartbug.com/20776
R=floitsch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@39860 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-04 11:48:48 +00:00