Commit Graph

18 Commits

Author SHA1 Message Date
Alexander Thomas b5c63ce757 [infra] Migrate scripts to python3
* Migrate to python3; drop python support.
* Update Windows toolchain support.
* Remove some unused methods.
* Python 2.7 is still needed on Windows.
* Update gsutil to a version that supports python3.

Fixes: https://github.com/dart-lang/sdk/issues/28793

TEST=Manually tested common user journeys.

Change-Id: I663a22b237a548bb82dc2e601e399e3bc3649211
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/192182
Reviewed-by: William Hesse <whesse@google.com>
Reviewed-by: Alexander Aprelev <aam@google.com>
2021-04-15 10:10:20 +00:00
Nate Bosch 55f81f2210 Mass format python with yapf
- Add `.style.yapf` with configuration to use Google style.
- Run `yapf` on all `.py` files in this repo.
- Manually fix one trailing space in a doc string.
- Run `git cl format runtime` to satisfy presubmit.

Change-Id: I7e6bd11e91f07926b9188362599af398551eed79
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/111600
Commit-Queue: Nate Bosch <nbosch@google.com>
Reviewed-by: Alexander Thomas <athom@google.com>
2019-08-05 20:34:31 +00:00
William Hesse 2573093c50 Switch to downloaded SDK executable, drop executables in testing/bin.
BUG=https://github.com/dart-lang/sdk/issues/24311
R=ricow@google.com

Review URL: https://codereview.chromium.org/1697203002 .
2016-02-15 17:10:59 +01:00
Sigmund Cherem 30c4c2b86e Change default dom.py to use ReleaseX64 (matching the default vm/dart2js arch)
BUG=
R=alanknight@google.com

Review URL: https://codereview.chromium.org/1514243002 .
2015-12-10 16:41:15 -08:00
efortuna@google.com 26bf1e0da4 Renamed contains in the rectangle class to containsRectangle.
BUG=https://code.google.com/p/dart/issues/detail?id=13876
R=floitsch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29203 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-24 20:27:22 +00:00
blois@google.com 6ab8204fc9 Renaming dom.py's http_server command and adding variant for Dartium.
BUG=
R=efortuna@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26283 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-16 17:29:27 +00:00
kustermann@google.com cb18d8ba87 Removed compiler/ directory from repository
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25728 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-02 08:31:15 +00:00
efortuna@google.com 61a5b196c2 Update dom script with analyzer changes.
BUG=
R=jmesserly@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25236 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-19 19:48:46 +00:00
antonm@google.com 4638137480 Switch from DRT to content shell.
R=kustermann@google.com, ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23328 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-29 08:34:52 +00:00
jmesserly@google.com 9005b278e7 Implement Model-Driven-Views spec for Dart
This has code ported from a few different sources:
* a port of https://github.com/toolkitchen/mdv polyfill
* a port of the observable layer:  https://github.com/dart-lang/web-ui/tree/master/lib/observe
* a port of list change summary: https://github.com/rafaelw/ChangeSummary/blob/master/change_summary.js

The observePath/PathObserver code is written from scratch, but inspired by change_summary. I tried to keep it simpler; it does not support dirty checking. There's no good way to do that until we get dart:mirrors.

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

Committed: https://code.google.com/p/dart/source/detail?r=22561

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@22570 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-09 21:39:03 +00:00
jmesserly@google.com 1cef1fbc55 "Reverting 22561"
need to investigate test failures

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@22562 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-09 20:43:30 +00:00
jmesserly@google.com bf4f12c62b Implement Model-Driven-Views spec for Dart
This has code ported from a few different sources:
* a port of https://github.com/toolkitchen/mdv polyfill
* a port of the observable layer:  https://github.com/dart-lang/web-ui/tree/master/lib/observe
* a port of list change summary: https://github.com/rafaelw/ChangeSummary/blob/master/change_summary.js

The observePath/PathObserver code is written from scratch, but inspired by change_summary. I tried to keep it simpler; it does not support dirty checking. There's no good way to do that until we get dart:mirrors.

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

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@22561 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-09 20:29:14 +00:00
jmesserly@google.com dd18954e14 fix dom.py -- initdir was not right if running from a relative path
R=blois@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@22343 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-02 22:21:37 +00:00
jmesserly@google.com 8fbbf154dc fix dom.py
BUG=
R=blois@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@22129 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-29 17:16:34 +00:00
amouravski@google.com 7aa05bdb4a Fixed an issue with subprocess.call.
Also, the exit code was wrong.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20874 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-03 16:32:11 +00:00
amouravski@google.com 40f57a819d Put in a teardown for the docs test, fixed dom.py to actually run it correctly.
This also adds a PRESUBMIT.py, which will run on a commit and warn the
committer if the docs need to be regenerated. This only runs if
the html_dart2js, et. al. files have been modified.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20820 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-02 21:14:09 +00:00
blois@google.com a2a7fb6b2b Making dom.py build command only build the runtime.
This is what it was intended to do, but I never knew how to do it. It's also what the 'help' documentation states that it does.

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19963 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-13 19:18:13 +00:00
blois@google.com b784897b97 Adding helper script to make it easy to run common DOM tasks.
I'm not much of a python person, so there's probably cleaner ways of doing some of this. It's primarily a script that I've been using locally for quite a while, but seems like it'd be useful for others as well.

It's not intended to cover every single scenario, just make the common ones easy. It prints out the commands it executes so if there is a problem, hopefully you can easily debug it.

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19648 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-07 18:18:45 +00:00