Commit graph

32504 commits

Author SHA1 Message Date
Natalie Weizenbaum b47940fb82 Update pub.
R=rnystrom@google.com

Review URL: https://codereview.chromium.org//1233243002 .
2015-07-14 13:19:30 -07:00
Todd Turnidge e4684c7627 Provide stdout and stderr output in the Observatory debugger.
Implement two new streams, 'Stdout' and 'Stderr' in the service protocol.

BUG=
R=johnmccutchan@google.com

Review URL: https://codereview.chromium.org//1232193003 .
2015-07-14 12:54:07 -07:00
Todd Turnidge a02c7694c5 Make random clicks in the debugger give the command line input focus.
If the user selects a range, respect that.

Add some inner spacing on the command line input box.  Makes it feel
less claustrophobic.

BUG=
R=rmacnak@google.com

Review URL: https://codereview.chromium.org//1233053002 .
2015-07-14 12:35:32 -07:00
John McCutchan a92a3c8af3 Expose allocation tracing over service protocol
BUG=
R=turnidge@google.com

Review URL: https://codereview.chromium.org//1231603008 .
2015-07-14 11:41:57 -07:00
John McCutchan 07a927e74d Do not report Observatory analytics when running in Dart
BUG=
R=rmacnak@google.com

Review URL: https://codereview.chromium.org//1236223002 .
2015-07-14 11:34:55 -07:00
Sigmund Cherem baf00c1919 dart2js: check for the full getter/setter prefixes (fix #23828)
R=floitsch@google.com

Review URL: https://codereview.chromium.org//1232423004 .
2015-07-14 07:43:01 -07:00
Florian Schneider df5b6b20d9 VM: Fix bug in x64 allocation tracing code.
BUG=
R=johnmccutchan@google.com

Review URL: https://codereview.chromium.org//1240573004 .
2015-07-14 16:27:23 +02:00
Terry L. Lucas 1fa61ee114 Fixed a few more things to make Dartium build w/o --gen-interop
TBR=vsm@google.com

Review URL: https://codereview.chromium.org//1239653003 .
2015-07-14 07:17:59 -07:00
Kevin Moore 8902768e0d Changelog: document dart:core Iterable can be extended as of Dart 1.11
Closes https://github.com/dart-lang/sdk/issues/23735

R=lrn@google.com

Review URL: https://codereview.chromium.org//1235643004 .
2015-07-14 06:37:06 -07:00
Terry L. Lucas 82fbd3382a Remove blink_jsObject when --gen-interop is not used.
TBR=vsm@google.com

Review URL: https://codereview.chromium.org//1236933003 .
2015-07-14 05:49:27 -07:00
William Hesse 161a558627 Update co19 status for analyzer issue.
BUG=https://github.com/dart-lang/sdk/issues/23839
R=kustermann@google.com

Review URL: https://codereview.chromium.org//1233593004 .
2015-07-14 14:20:58 +02:00
Florian Loitsch 9c2195e814 dart2js: add FragmentEmitter for startup-emitter.
R=sigmund@google.com

Review URL: https://codereview.chromium.org//1229913002 .
2015-07-14 11:23:51 +02:00
Asger Feldthaus 562825e161 dart2js cps: Rewrite mutable variables to continuation parameters.
To assist basic block traversal, expressions now belong to one of three
categories:
- InteriorExpression
- CallExpression
- TailExpression

BUG=
R=karlklose@google.com

Review URL: https://codereview.chromium.org//1234753003.
2015-07-14 11:18:57 +02:00
Florian Loitsch 434bae898a dart2js: add skeleton of startup-emitter.
R=sigmund@google.com

Review URL: https://codereview.chromium.org//1225293002 .
2015-07-14 11:16:33 +02:00
Karl Klose 04dacd24f4 Remove functions white-listed for use of try-finally and switch, add JS_SET_CURRENT_ISOLATE.
R=asgerf@google.com

Review URL: https://codereview.chromium.org//1237573002 .
2015-07-14 10:26:38 +02:00
Daniel Andersson 868d2c6c3e The sweeper must not be running during isolate shutdown.
In release mode, there seems to be nothing to prevent this.
In debug mode, the "Verify" call waits for the sweeper, but there is still a race between the task count update and the ExitIsolateAsHelper call, which could cause problems.

Fix both of these, and add more assertions and verbose error messages.

- make sweeper task cleanly exit isolate *before* notifying
- wait for sweeper before shutting down isolate
- verbose pthread failures

BUG=
R=asiva@google.com

Review URL: https://codereview.chromium.org//1233563004 .
2015-07-13 17:49:49 -07:00
Ryan Macnak 1ef2b68e65 Deal with Javascript integer limitations in heap snapshot processing to handle 64-bit target VMs.
R=turnidge@google.com

Review URL: https://codereview.chromium.org//1219103002 .
2015-07-13 17:27:55 -07:00
Sigmund Cherem 70b6cd5c15 dart2js: fix try/poi after refactor
Review URL: https://codereview.chromium.org//1234873006 .
2015-07-13 16:04:53 -07:00
Paul Berry 4b83219847 Switch on null-aware operators by default in analyzer.
Patches to update analyzer_cli and analysis_server will follow once a
new version of analyzer has been published.

BUG=dartbug.com/23793
R=brianwilkerson@google.com

Review URL: https://codereview.chromium.org//1239513005 .
2015-07-13 15:56:21 -07:00
Paul Berry 2f6ebaa774 Only send "analysis.analyzedFiles" notification when the set of files changes.
R=jwren@google.com

Review URL: https://codereview.chromium.org//1233003002 .
2015-07-13 15:52:28 -07:00
Alan Knight 610edadff2 Revert "appendHtml, when sanitizing, should create document fragment in the right context"
This reverts commit 930a40daa5.

BUG=

Review URL: https://codereview.chromium.org//1230203005 .
2015-07-13 15:32:17 -07:00
Brian Wilkerson 2ffa8de794 Add notification of analyzed files
R=paulberry@google.com

Review URL: https://codereview.chromium.org//1232393005 .
2015-07-13 15:07:33 -07:00
Terry L. Lucas 045d9698d3 Revert "Turn on JS interop usage for DOM Dart libraries"
This reverts commit 7f6fc7eed2.
2015-07-13 13:40:42 -07:00
Terry L. Lucas 7f6fc7eed2 Turn on JS interop usage for DOM Dart libraries
Review URL: https://codereview.chromium.org//1235903003 .
2015-07-13 13:38:45 -07:00
Johnni Winther a7c64e6f09 Fix try/web/end_to_end_test
BUG=

Review URL: https://codereview.chromium.org//1235513004.
2015-07-13 22:30:13 +02:00
Ryan Macnak 83b2b7125b Create only one closure for the body of an async* function.
Helps implementation of async step.

R=hausner@google.com

Review URL: https://codereview.chromium.org//1236943003 .
2015-07-13 13:26:23 -07:00
Terry L. Lucas 48af868f47 Fixed compilation error
Review URL: https://codereview.chromium.org//1233923003 .
2015-07-13 13:24:08 -07:00
keertip d2a067e22b add footer for dartdocs generated for the sdk for analytics and survey
BUG=
R=sethladd@google.com, whesse@google.com

Review URL: https://codereview.chromium.org//1239543002 .
2015-07-13 13:14:09 -07:00
Alan Knight 930a40daa5 appendHtml, when sanitizing, should create document fragment in the right context
BUG=
R=terry@google.com

Committed: 560f12bb21

Review URL: https://codereview.chromium.org//1221043003 .
2015-07-13 12:50:49 -07:00
Brian Wilkerson 41f74711e0 (TBR) Fix a broken test
Review URL: https://codereview.chromium.org//1232913002 .
2015-07-13 12:45:56 -07:00
Terry L. Lucas 4947e570d4 Changed to use JSInterop
Review URL: https://codereview.chromium.org//1173403004 .
2015-07-13 12:38:16 -07:00
Johnni Winther ddf8ec8169 Fix try/poi.
BUG=

Review URL: https://codereview.chromium.org//1237663005.
2015-07-13 21:28:12 +02:00
Johnni Winther 0da5b34305 Add interfaces for a new compiler API.
Main changes are in the added files, compiler/compiler.dart, src/compiler.dart and src/apiimpl.dart.

Start by looking at compiler/compiler_new.dart and compiler/compiler.dart.

BUG=
R=floitsch@google.com

Review URL: https://codereview.chromium.org//1235563003.
2015-07-13 21:15:23 +02:00
William Hesse e29d39a363 Update co19 status for IE11.
BUG=
R=kustermann@google.com

Review URL: https://codereview.chromium.org//1235953003 .
2015-07-13 19:22:37 +02:00
Brian Wilkerson 0c6872acef Hook for overriding the ContextManager and some code clean-up (with more to follow)
R=paulberry@google.com

Review URL: https://codereview.chromium.org//1223413003 .
2015-07-13 10:20:13 -07:00
Brian Wilkerson 10b7db100f Revert "Update Analysis Server highlight API and implementation."
This reverts commit 739847402b.

Rolling the wire protocol API version forward caused existing clients to break, so we're rolling it back until we can find a backward compatible way of adding the new functionality.

R=paulberry@google.com

Review URL: https://codereview.chromium.org//1236433003 .
2015-07-13 09:49:55 -07:00
Paul Berry f9fec69a79 Add a tool to generate a graph of tasks and their dependencies.
R=brianwilkerson@google.com

Review URL: https://codereview.chromium.org//1235963002 .
2015-07-13 09:41:59 -07:00
Daniel Andersson c3a9aa21d6 error can shift more than 32 bits.
From upstream fix:
0d25506a2e

BUG=
R=floitsch@google.com

Review URL: https://codereview.chromium.org//1239493002 .
2015-07-13 08:50:37 -07:00
Konstantin Shcheglov 3f99fc1744 Add test for 'getNavigation'.
R=paulberry@google.com
BUG=

Review URL: https://codereview.chromium.org//1229833004 .
2015-07-13 07:46:07 -07:00
Florian Schneider 141d6bdcd2 Make subtype test cache stub shared between isolates.
Also remove an the unused pp paramters from LoadIsolate on ARM64.

BUG=
R=koda@google.com

Review URL: https://codereview.chromium.org//1235843003 .
2015-07-13 15:42:16 +02:00
Johnni Winther 12e232dca7 Refactoring handle type literals.
BUG=
R=karlklose@google.com

Review URL: https://codereview.chromium.org//1232613003.
2015-07-13 12:57:41 +02:00
Florian Schneider 81deeaeedc VM: Share some stub code between isolates.
This CL also lifts the restriction that the object pool can't be used
in VM isolate code on x64 and arm64.

Stubs that perform allocation can't be shared yet, because the inline allocation
code is not yet isolate-independent. This will be added in a separate CL.

BUG=
R=rmacnak@google.com

Review URL: https://codereview.chromium.org//1229283002 .
2015-07-13 10:00:51 +02:00
Konstantin Shcheglov d7c2f4550b Issue 23640. Implement 'analysis.getNavigation' request.
R=brianwilkerson@google.com
BUG= https://github.com/dart-lang/sdk/issues/23640

Review URL: https://codereview.chromium.org//1232683003 .
2015-07-10 15:31:25 -07:00
John McCutchan 4da11ef37f Test tracing of string allocations
Also, fix a bug in string allocation tracing.

R=rmacnak@google.com

Review URL: https://codereview.chromium.org//1230063010 .
2015-07-10 14:30:04 -07:00
John McCutchan 13a372eca0 Add forgotten toggle on / off part of typed array allocation test
BUG=
R=srdjan@google.com

Review URL: https://codereview.chromium.org//1225343004 .
2015-07-10 14:00:16 -07:00
Brian Wilkerson 4d2bb64183 Generic method support in element model
R=leafp@google.com, scheglov@google.com

Review URL: https://codereview.chromium.org//1217373005 .
2015-07-10 13:53:35 -07:00
John McCutchan 01192a2175 Trace typed data allocations
BUG=
R=srdjan@google.com

Review URL: https://codereview.chromium.org//1227963004 .
2015-07-10 13:50:55 -07:00
pq a81c308283 Analyzer code cleanup.
Removed some unused imports and fixed member sorting.

R=scheglov@google.com

Review URL: https://codereview.chromium.org//1230273002 .
2015-07-10 13:42:27 -07:00
Srdjan Mitrovic 04fa456a88 Fix prefix errors with --noopt
BUG=

Review URL: https://codereview.chromium.org//1227123004 .
2015-07-10 13:28:46 -07:00
John McCutchan a891b75709 Remove Assembler::kFarJump when not necessary
BUG=
R=srdjan@google.com

Review URL: https://codereview.chromium.org//1234443005 .
2015-07-10 13:10:47 -07:00