Commit Graph

19 Commits

Author SHA1 Message Date
Josh Soref b48dc3af7a Spelling tools
Closes https://github.com/dart-lang/sdk/pull/50773

GitOrigin-RevId: 8f729bf80cce3c39b788a61591f14db234297186
Change-Id: I5a07bf96a2f8920560983fda504000c39e598e05
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/276560
Reviewed-by: Srujan Gaddam <srujzs@google.com>
Reviewed-by: Jonas Termansen <sortie@google.com>
Reviewed-by: Erik Ernst <eernst@google.com>
2022-12-21 17:26:48 +00:00
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
Terry Lucas ef6273cba0 Dart Web Libraries re-generated based on Chrome 63 WebIDLs.
This is a migration of 13 Chrome release about 1.5 years of Chrome releases.
Update PYTHON scripts for cleaner and easier rolling.

Here's a doc on the changes that might affect Dart users:
https://docs.google.com/document/d/1Kj0nk3SueO3JKub8im7z3znu9j5oiI7vf49ejZrMxuE/edit#

Change-Id: I768fbd09b04fe6884af36ac102d5813f67bae426
Reviewed-on: https://dart-review.googlesource.com/24501
Commit-Queue: Terry Lucas <terry@google.com>
Reviewed-by: Terry Lucas <terry@google.com>
2018-03-18 09:41:04 +00:00
Terry Lucas f27144d7b5 Roll 50: Updated for push to origin/master.
TBR=jacobr@google.com

Review-Url: https://codereview.chromium.org/2875773003 .
2017-05-10 18:16:51 -07:00
Jacob Richman f478562b0a Dartium 45 roll
R=alanknight@google.com

Review URL: https://codereview.chromium.org/1682783002 .
2016-02-09 10:50:43 -08:00
vsm@google.com c67d8ea77f Update idlsync to pull in bindings python scripts
R=terry@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@39830 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-03 20:24:54 +00:00
vsm@google.com 52bf6601e4 Fix idlsync.py script to update IDL under Dart's third_party/WebCore.
R=efortuna@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34171 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-20 15:15:16 +00:00
benwells@google.com 71d6d11712 Update idlsync.py to work with chrome generator.
BUG=None
R=vsm@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24871 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-10 00:29:19 +00:00
antonm@google.com 28c1b7c9ef WebKit IDL roll.
Review URL: https://codereview.chromium.org//13843029

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@22013 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-25 08:03:17 +00:00
antonm@google.com 8af52be78a Roll IDLs.
TBR=ager@google.com, blois@google.com, podivilov@chromium.org

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21643 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-17 18:30:23 +00:00
antonm@google.com 6eb7f1eb90 Save all version control dirs.
TBR=ager@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20614 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-28 13:56:21 +00:00
ager@google.com 2c3d35ec54 Bring in new IDL files and generated code. Update the script that syncs the idl files to deal with the new third_party setup.
R=antonm@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20378 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-22 13:22:29 +00:00
benwells@google.com 088ae22e82 Update idlsync.py to pull in dependencies required for chrome api generation.
BUG=None

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18955 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-25 03:52:06 +00:00
vsm@google.com fbe58ddefc Import chrome idl into third_party
This is the result of:

./idlsync -u all

in tools/dom/scripts.

This also includes a simple script fix suggested by Anton.

TBR=antonm

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18483 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-13 21:14:39 +00:00
vsm@google.com 1e2dc5828f Refactor idlsync.py to update chrome apps idl/tools.
Note, by default, idlsync.py will only update webkit IDL.  Use:
idlsync.py -u chrome
to update chrome only or:
idlsync.py -u all
to update both.

Sasha: can you verify that the WHITELIST (*.py, *.idl, *.json) matches the files you need?  Everything else will be pruned.  Also, note, I've slightly changed the directories to not conflict with the existing ones pulled in by DEPS.  I will remove those existing ones in a separate CL (the DEPS is a slightly different repo path).

Emily/Anton: can you review the rest?  If this looks good, the intent is to run and check-in the files under third_party/chrome.

BUG=http://code.google.com/p/dart/issues/detail?id=8173

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18467 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-13 18:53:39 +00:00
antonm@google.com d6daea40d4 Remove debug print.
TBR=efortuna@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17221 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-17 16:34:03 +00:00
antonm@google.com fc0633a4ba Adjust to recent move.
TBR=efortuna@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17220 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-17 16:26:39 +00:00
efortuna@google.com 01fb2bbc86 Moved most of html lib generating scripts into tools.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16557 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-28 22:26:48 +00:00