Commit Graph

6631 Commits

Author SHA1 Message Date
kustermann@google.com 1d98fa26bb Only enqueue VmTestSuite on compiler=none,runtime=vm
Review URL: https://codereview.chromium.org//91633003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30720 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-27 15:17:44 +00:00
kustermann@google.com eeee37127b Fix after upgrading to new checked-in binary
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30718 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-27 14:53:46 +00:00
kustermann@google.com bb54b776ba Checked-in binary update to v1.0.0.3
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30717 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-27 14:17:44 +00:00
kustermann@google.com e70a3e5a21 Print again how many compilations were skipped
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30699 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-27 08:27:21 +00:00
rnystrom@google.com 2785beb7a7 Fix publish_barback.py script.
R=dgrove@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30674 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-26 18:46:12 +00:00
kustermann@google.com 8a9d4c085e Whitelist nonzero content_shell exitcode
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30670 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-26 14:48:41 +00:00
hausner@google.com c8c8d7721d Fix ddbg completers
The debugger tool now depends on command completers being executed
synchronously, so create completes with the proper constructor.

This fixes occasional assertions that an isolate is paused when stepping.

R=iposva@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30639 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-25 19:26:34 +00:00
rmacnak@google.com 314da361f0 Add demangle utility to Dartium's dart:html. Demangle typedef names in UserVisibleName.
BUG=http://dartbug.com/14892
R=asiva@google.com, vsm@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30636 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-25 18:31:20 +00:00
kustermann@google.com c23917be9b Print events only to the console and never to the DOM
IE9 does not have a console, so events were printed to the DOM. But since we get
all events anyway when using the browser controller, there is no need to print
it to the DOM.

R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30630 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-25 14:35:50 +00:00
kustermann@google.com 69bd72a2b9 Add update.properties file to com.google.dart.tools.core_*.jar file
R=danrubel@google.com, ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30623 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-25 13:05:30 +00:00
ricow@google.com 52a12f1b37 Remove old warning code for wrong usage of warnings in co19
Review URL: https://chromiumcodereview.appspot.com//85303004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30621 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-25 12:54:15 +00:00
kustermann@google.com 6cfdb0d4f2 Add CHANNEL to tools/VERSION
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30620 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-25 12:51:59 +00:00
kustermann@google.com f9d7e3e939 Removed dart.gyp:upload_sdk target and tools/upload_sdk.py
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30619 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-25 12:41:55 +00:00
ricow@google.com a6661c3846 Remove temporary directory cleanup on windows.
We no longer use selenium so this should no longer be neccesary
Review URL: https://chromiumcodereview.appspot.com//85663002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30618 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-25 12:19:11 +00:00
hausner@google.com 888e790195 Add notion of current target isolate to ddbg.dart
Command li lists isolates in a vm and marks the current
target isolate with an asterisk. Command sci sets the current
target isolate to a particular isolate id.

li
List of isolates:
  7115 paused at file: typed_message_test.dart lib: 12 token: 59
* 7112 running
sci 7115
Setting current target isolate to 7115
li
List of isolates:
* 7115 paused at file: typed_message_test.dart lib: 12 token: 59
  7112 running

R=turnidge@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30595 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-22 22:55:07 +00:00
turnidge@google.com 7ae9140023 Fix a bug with command line history.
R=hausner@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30590 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-22 22:29:23 +00:00
turnidge@google.com 957758f207 Add support for command-line editing to ddbg.
This is implemented using two new files, commando.dart and
terminfo.dart.  My hope is to eventually submit commando.dart to pub
for general use once the wrinkles are ironed out.

Commando supports:

- Emacs style editing keys:
  ^A (home)
  ^E (end)
  ^B or left arrow (back)
  ^F or right arrow (forward)
  ^K (kill from cursor)   [^Y not yet implemented]
  ^L (clear screen)
  ^U (clear line)
  backspace

- Command line history
  ^P or up arrow (history previous)
  ^N or down arrow (history next)

- Tab completion
  single-TAB (complete current command)
  double-TAB (list all completions)

I have not yet completed reasonable command line completion for ddbg.
Currently only first part of command is completed.

I have only tested this on Mac.  It may work on linux and definitely
will not work on Windows.  I need to implement a fallback mode for
windows.  I am leaving this to another cl, as the command line
debugger, as I believe that the command line debugger is not widely
used yet.

R=hausner@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30585 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-22 20:59:00 +00:00
kustermann@google.com 6c04b9a0b2 Followup on co19-roll to r667, marked co19/Language/12_Expressions/32_Type_Test_A02_t04 as failing in minified mode
Review URL: https://codereview.chromium.org//79143005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30513 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-21 12:09:52 +00:00
kustermann@google.com 8b103390e2 Make sure variable names used in status files are available in the environment
Previously we didn't validate that a variable name used in a status file
expression was available.

It wasn't surfaced, since lookups in Map objects return null if the key is
missing and calling 'toString()' on 'null' doesn't throw an exception.

BUG=http://dartbug.com/12959
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30502 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-21 09:54:36 +00:00
kustermann@google.com 6de275e307 Add tools/bots/steps_clank.py script
This script will be called by the dartium/clank recipes.

R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30500 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-21 09:47:01 +00:00
alanknight@google.com 03d0cd826f Generate docgen output along with api_docs as part of the build
R=danrubel@google.com, efortuna@google.com, kustermann@google.com, rnystrom@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30485 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-20 21:51:51 +00:00
johnmccutchan@google.com eb99334209 Attempt at enabling profiler
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30478 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-20 17:57:56 +00:00
kustermann@google.com 3d910a2a9a Remove filtering of analyzer warnings/errors by filename
The only files that are now not analyzed are the patch files in
"sdk/lib/_internal/lib" and test files (i.e. files ending with "_test.dart")

R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30471 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-20 14:06:34 +00:00
kustermann@google.com 8649be6036 Implement a periodic timer which sends the current state of a browser test back to the browser controller
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30468 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-20 13:32:16 +00:00
johnmccutchan@google.com 31989f3b4d Post landing fixes
TBR

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30420 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-19 19:11:41 +00:00
johnmccutchan@google.com 97ac18aee9 Sampling profiler
BUG=4350
R=asiva@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30419 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-19 18:26:10 +00:00
kustermann@google.com e3d8608ca2 test.py: Sending JSON between test_controller.js <-> browser_controller
Currently test.py will look for FAIL/PASS messages in the DOM to determine if a
test has failed or not. test_controller.js will add these PASS/FAIL messages to
the DOM (in addition to other messages).

This approach has several issues:
- The test itself could create nodes in the DOM containing FAIL/PASS. This means
  that the outcome of a test cannot be reliably determined.
- The test ifself can remove nodes from the DOM (e.g. setting
  document.body.innerHTML). This could result in a situation where the
  stacktraces/... test_controller.js prints to the DOM are lost.
- It is unclear which parts of the DOM we see in test failure messages
  (reported by test.py) come from the test itself and which parts come from
  test_controller.js.

This CL tries to fix this by recording all events that happend with global
variables in test_controller.js and send back a JSON string with information
about
  - debug messages
  - posted messages
  - print() calls of the test
  - DOM
  - errors (from window.onerror, script.onerror ...)

Furthermore this CL fixes unittest to report
unittest-suite-success/unittest-suite-fail instead of unittest-suite-done (which
is broken).

R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30407 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-19 12:54:41 +00:00
ricow@google.com 1fd9f4b774 Print drt exitcode when we pass test but crash before exiting
R=kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30401 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-19 12:08:54 +00:00
amouravski@google.com 275499f168 Clean up logging.conf file.
R=blois@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30371 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-18 19:30:32 +00:00
rmacnak@google.com c146776aa4 Remove now-dead stack parsing code from Dartium's dart:html.
R=vsm@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30368 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-18 19:07:03 +00:00
kustermann@google.com af29f7901f Removed assert for nonexistent use_browser_controller option
TBR=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30344 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-18 12:59:20 +00:00
kustermann@google.com 2adf3ea3c0 Fix SummaryReport after introduction of the RuntimeError,CompileTimeError,... markers
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30342 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-18 12:41:59 +00:00
amouravski@google.com 621242e4b8 Fill in blanks for Event docs.
Review URL: https://codereview.chromium.org//63883006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30319 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-15 22:17:44 +00:00
amouravski@google.com ea80298177 Added docs to canvaselement. Giving it docs for all members.
Review URL: https://codereview.chromium.org//74013003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30309 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-15 18:55:30 +00:00
amouravski@google.com 71e4e96699 Finished off HTML Window blurb + link for every member.
Review URL: https://codereview.chromium.org//64553010

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30307 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-15 18:40:56 +00:00
amouravski@google.com 8b22b0eba0 Even more docs changes.
Review URL: https://codereview.chromium.org//66843009

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30298 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-15 02:20:22 +00:00
hausner@google.com 0673063f57 Add closure object type to debugger wire protocol
R=devoncarew@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30289 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-14 19:42:14 +00:00
whesse@google.com 36fe570a31 Remove the --use_browser_controller flag, now that it is always true.
Fix an error in r30269.

BUG=
R=kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30270 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-14 15:20:31 +00:00
whesse@google.com e545ffef5d Remove uses of Selenium and webdriver from test scripts.
BUG=
R=kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30269 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-14 12:30:35 +00:00
whesse@google.com 00f34f7ca4 Use browser_controller instead of selenium in test scripts, by default.
BUG=
R=kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30268 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-14 10:25:19 +00:00
rmacnak@google.com 3ed4c8dfd7 Remove use of deprecated mirror functions from Dartium's dart:html.
BUG=http://dartbug.com/14931
R=vsm@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30259 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-13 23:50:05 +00:00
kustermann@google.com 804fd00f9c Fix launch_browser.dart after changes to utils.dart:Location
R=whesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30231 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-13 15:50:31 +00:00
rnystrom@google.com c528bf9f9d SDK constraint and README for barback.
BUG=https://code.google.com/p/dart/issues/detail?id=14862
R=jmesserly@google.com, nweiz@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30200 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-12 18:57:17 +00:00
whesse@google.com 7010c7b798 Don't write generated C++ bindings twice, only once.
R=kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30198 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-12 17:16:17 +00:00
kustermann@google.com eec532904d Only archive apidocs if they are not already there
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30193 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-12 12:45:29 +00:00
whesse@google.com 82c29cbb7a Avoid regenerating unchanged bindings files for Dartium.
BUG=
R=kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30192 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-12 12:44:24 +00:00
amouravski@google.com fce5971f4f o/~ Y muchos maaaaaaas... o/~
Review URL: https://codereview.chromium.org//68513006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30175 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-11 22:10:12 +00:00
amouravski@google.com 239d152949 Way more documentation blanks filled in.
Review URL: https://codereview.chromium.org//66193010

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30134 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-09 01:19:44 +00:00
kustermann@google.com a1dab0d6b3 Implemented archiving of apidocs for all channels
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30109 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-08 12:30:31 +00:00
amouravski@google.com caea84057c Fill in some canvas doc blanks.
Review URL: https://codereview.chromium.org//65703003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30082 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-07 23:21:50 +00:00