Commit Graph

29516 Commits

Author SHA1 Message Date
asgerf@google.com 990e824303 dart2dart: Fix bad type annotation in backend_ast_emitter.
Issue: https://code.google.com/p/dart/issues/detail?id=22326

R=kmillikin@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43592 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-09 12:38:20 +00:00
sigurdm@google.com 7b0bc3d220 Implementation of async-await transformation on js ast.
BUG=
R=floitsch@google.com, johnniwinther@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43591 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-09 12:02:52 +00:00
asgerf@google.com f72a18378b Revert "dart2js: Refactoring, documentation, and a few bugfixes in Namer class."
This reverts commit r43588.

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43590 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-09 11:58:07 +00:00
fschneider@google.com df94b27666 VM: Align implementations of assembler constant pools.
Add Support for adding patchable/non-patchable entries on ARM/MIPS like
already done for x64/ARM64.

R=vegorov@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43589 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-09 11:47:36 +00:00
asgerf@google.com c767597da3 dart2js: Refactoring, documentation, and a few bugfixes in Namer class.
See long doc comment in namer.dart.

BUG=
R=floitsch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43588 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-09 11:31:10 +00:00
ricow@google.com 0085fc67d5 Temporarily change the archiving folder for crashes from the bots
R=whesse@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43587 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-09 10:42:37 +00:00
sgjesse@google.com 3e993231d1 Add support for user info on ws: and wss: URLs
BUG=http://dartbug.com/22152
R=kustermann@google.com, lrn@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43586 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-09 09:17:55 +00:00
kustermann@google.com ebde0dbaeb Extract common Mask/Dart_Port settings of linux event handler implementation to eventhandler.h
R=sgjesse@google.com, wibling@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43585 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-09 08:50:32 +00:00
pquitslund@google.com 5ca6eca321 Version bump pre dev pub push.
R=brianwilkerson@google.com, scheglov@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43583 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-09 05:13:55 +00:00
pquitslund@google.com e3a0244b58 Tweak to error formatter to fix LINT display name.
R=brianwilkerson@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43582 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-08 21:01:35 +00:00
asiva@google.com c18f3f7167 Fix status to reflect crash in test when running in debug mode.
R=rmacnak@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43581 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-07 01:27:43 +00:00
danrubel@google.com 5194a2b1b4 filter static methods when showing instance completions
BUG=dartbug.com/22171
R=scheglov@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43580 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-07 00:56:15 +00:00
sra@google.com 904433bd7c Revert "Annotate dart:html constructor expressions with precise non-nullable types."
Need to fix some html/element_types_test cases.

TBR=alanknight@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43579 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-07 00:35:32 +00:00
sra@google.com f74e57786d Annotate dart:html constructor expressions with precise non-nullable types.
This addresses issue http://dartbug.com/22264

R=alanknight@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43578 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-06 23:24:19 +00:00
brianwilkerson@google.com 5bb008c2ce (TBR) Fix the build
Review URL: https://codereview.chromium.org//893683004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43577 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-06 23:13:10 +00:00
regis@google.com 62a1d34c36 Clarify result returned by remainder intrinsics.
R=zra@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43576 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-06 22:42:53 +00:00
koda@google.com f3387ccc3f In this first version, we just track the set of objects and verify that calls to release match. The next step is to copy the data to a side buffer, which is then unmapped on release to catch use-after-release bugs.
Explicitly disallow nested acquires, since the visibility of writes would depend on whether data is acquired in-place.

Also explicitly disallow other access to the data (e.g., trough list accessors) for the same reason.

R=asiva@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43575 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-06 22:31:46 +00:00
scheglov@google.com 8cee600323 Don't propose fixes to update SDK sources.
R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43574 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-06 22:21:48 +00:00
scheglov@google.com 8d35890475 Convert refactoring tests to use 'await'.
R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43573 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-06 22:13:37 +00:00
regis@google.com 8e5cd57b7e Add modPow(int exponent, int modulus) method to int abstract class.
Provide a dart2js implementation.

R=floitsch@google.com, lrn@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43572 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-06 21:46:32 +00:00
scheglov@google.com 2593c00b36 Quick Fix for adding 'async' to fix invalid 'await'.
R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43571 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-06 21:10:11 +00:00
vsm@google.com e4b9746f2f Update roll script
I'll start running this again (unless someone else wants to :-))

R=rmacnak@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43569 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-06 21:00:17 +00:00
danrubel@google.com f43912dfce fix code completion in string literals
BUG=dartbug.com/22297
R=scheglov@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43567 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-06 20:07:29 +00:00
scheglov@google.com bd8778a87b Quick Assist to add explicit types to formal parameters.
R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43566 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-06 20:03:39 +00:00
brianwilkerson@google.com f473ae15a3 Spec changes for issue 22254
Review URL: https://codereview.chromium.org//882643004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43565 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-06 19:35:40 +00:00
scheglov@google.com eac4b2e0a3 Discard pending notifications on the same source change.
R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43564 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-06 19:31:13 +00:00
brianwilkerson@google.com c2d3ff3b95 Handle exception and clean-up code
R=scheglov@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43563 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-06 19:19:55 +00:00
jacobr@google.com 60bae5bb5d Cleanup method signatures that were incorrect due to a lack of understanding about how Dart generics work.
BUG=
R=alanknight@google.com, terry@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43562 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-06 19:15:49 +00:00
scheglov@google.com 172b8bee6e Fix for the server version test.
R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43561 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-06 19:11:28 +00:00
alanknight@google.com 51adedee6f Unsuppress test from issue 20867
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43560 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-06 18:22:28 +00:00
brianwilkerson@google.com d682527d1e Fix a stack overflow
R=scheglov@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43559 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-06 18:00:16 +00:00
koda@google.com 0edad1cc7c Fix Dartium DEBUG failures by ensuring proper scoping within GC prologue/epilogue.
This ensures that the zone-allocating parts of ScavengeVisitor and MarkingVisitor are destroyed before the Dartium GC epilogue deletes the zone in which they were allocating.

(This only explains DEBUG mode failures, caused by the zapping in the GrowableArray destructor, because the values of the arrays are not used after the epilogue runs.)

BUG=dart:22224
R=asiva@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43558 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-06 17:38:39 +00:00
koda@google.com 253de5e60a Fix race condition in Redirection global list using CAS.
Note that a simple Mutex cannot be used, since the profiler may interrupt the thread at any point, and also walks this list.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43557 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-06 15:50:08 +00:00
brianwilkerson@google.com 4468038300 Rework requests in execution domain
R=paulberry@google.com, scheglov@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43556 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-06 15:49:44 +00:00
johnniwinther@google.com b964042fcd Support instance methods in analyzer2dart.
BUG=
R=paulberry@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43555 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-06 14:59:18 +00:00
johnmccutchan@google.com 7cfc0d2e78 Fix checked mode failure in _asyncLoadError
Fixes dartbug.com/22295

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43554 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-06 14:39:08 +00:00
zarah@google.com c839cece99 dart2js: add constructor for directly instatiated mixin classes in the new emitter.
R=floitsch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43553 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-06 14:27:48 +00:00
karlklose@google.com 8175ce696b Fix merge error: Call visitExpression instead of visit.
R=asgerf@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43551 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-06 11:57:30 +00:00
herhut@google.com 44541ff62b Support [AssumeDynamic] and [TrustTypeAnnotations] in the inferrer.
BUG=
R=floitsch@google.com, johnniwinther@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43550 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-06 11:38:46 +00:00
karlklose@google.com 2b8950be87 cps-ir: Implement string concatenation.
R=kmillikin@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43549 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-06 11:36:27 +00:00
karlklose@google.com 055f09c02b cps-ir: Correctly bailout on unresolved static calls.
This adds a better error message and the ability to fallback to the old backend when compiling code like this:
  main() { new foo(); }
and
  class C {}
  main() { C.foo(); }

R=asgerf@google.com, kmillikin@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43548 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-06 10:36:04 +00:00
kustermann@google.com 3ea331e741 Introduce a kSetEventMaskCommand, some cleanups in windows eventhandler
R=sgjesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43547 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-06 09:36:57 +00:00
iposva@google.com 6898a10c93 - Make sure to fail early if an non-stacktrace is passed into the VM
where we expect one.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43546 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-06 09:23:57 +00:00
zarah@google.com c544068f6f dart2js: add common names to mangledGlobalNames in new emitter.
R=floitsch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43545 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-06 08:52:15 +00:00
karlklose@google.com e45aaa58e4 Move matching of arguments/selector against signature out of buildStaticInvoke.
R=sigurdm@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43544 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-06 08:32:05 +00:00
ricow@google.com 7bb3f5b0f8 Remove co19 suppression from safari, this is no longer failing
R=whesse@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43543 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-06 08:27:23 +00:00
ricow@google.com 37f9165c0b Revert "Remove test retrying for Safari, in test scripts."
TBR=whesse@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43542 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-06 06:44:08 +00:00
danrubel@google.com 20b64a97a4 fix completion in for statement
BUG=
R=scheglov@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43541 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-06 04:58:11 +00:00
danrubel@google.com 84350e186c fix named param default value code completion
BUG=
R=scheglov@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43540 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-06 04:50:57 +00:00
danrubel@google.com dc95fd3689 use propogated type for completions
BUG=dartbug.com/21457
R=scheglov@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43539 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-06 04:43:15 +00:00