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
Lorenz Nickel
79e478e50e
Fixed some links
...
**I fixed some links and some other minor flaws.**
I also found the following outdated links, which I didn't fix:
- [This link](https://github.com/dart-lang/pool/tree/zone.strong ) in [this file](https://github.com/dart-lang/sdk/blob/master/docs/newsletter/20170728.md ) (didn't fix because don't know new location and this is some sort of archive so the link should probably stay the original)
- [This link](https://www.dartlang.org/tools/analyzer ) in [this file](https://github.com/dart-lang/sdk/blob/master/pkg/analyzer_cli/lib/src/options.dart ) (didn't fix since the link is still working, it just gets redirected and the link is part of the programm, I don't want to break anything by changing it, all other links are in comments)
- [This link](https://github.com/domokit/mojo/issues/728 ) in [this file](https://github.com/dart-lang/sdk/blob/master/build/config/compiler/BUILD.gn ) (didn't fix since probably has no new location and is part of TODO, which I don't want to change)
While doing all this I also noticed that [these tests](https://github.com/dart-lang/sdk/tree/master/tests/compiler/dart2js_extra ) contain a lot of other inconsistencies in their comments and the location of the import-statements (I only fixed one which was not link-related), could be target of another PR.
Closes #36927
https://github.com/dart-lang/sdk/pull/36927
GitOrigin-RevId: 71d05d0b52d8ec5b92d077a070e066d1fdd4bbfa
Change-Id: Ide4b2424fccad8ae2e06c788efd4443dc0de997b
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/102222
Reviewed-by: Michael Thomsen <mit@google.com >
Commit-Queue: Michael Thomsen <mit@google.com >
2019-07-01 16:21:41 +00:00
Johnni Winther
446c6754d6
Fix runtime type error in Swarm
...
Change-Id: I610f3f4dbfc38a2afe94a57fbffd9883945bb0b5
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/100220
Reviewed-by: Sigmund Cherem <sigmund@google.com >
2019-04-24 06:57:16 +00:00
G?nter Z?chbauer
2da0b9f4f1
fix some typos
...
Closes #34738
https://github.com/dart-lang/sdk/pull/34738
GitOrigin-RevId: d211bbacfe65355cf7304c990ffb6c79d7a229cf
Change-Id: If690e6d378e543b300e1f6a353ceae73e39c29db
Reviewed-on: https://dart-review.googlesource.com/c/78900
Reviewed-by: Alexander Thomas <athom@google.com >
2018-10-10 19:15:30 +00:00
Aske Simon Christensen
4004194c29
Clean up super calls in swarm.
...
Remove redundant super calls and move all other super calls to the end
of the initializer list, as required by Dart 2.
Change-Id: I2b0968b9c6508d00a3379c225470d5d9c0ec9f78
Reviewed-on: https://dart-review.googlesource.com/69967
Reviewed-by: Stephen Adams <sra@google.com >
Commit-Queue: Stephen Adams <sra@google.com >
2018-08-21 17:56:13 +00:00
William Hesse
46743f3868
Remove $runtime == drt sections and uses of drt from status files.
...
Change-Id: Iffd934a67668901176a84c9b01512711a011652d
Reviewed-on: https://dart-review.googlesource.com/67803
Reviewed-by: Alexander Thomas <athom@google.com >
Commit-Queue: William Hesse <whesse@google.com >
2018-08-03 12:40:46 +00:00
Sigmund Cherem
6f5b0b5ddc
Fix swarm sample.
...
This started breaking with some stricter override checks added in https://github.com/dart-lang/sdk/commit/48a258a4a5436abbd5a6f9d695b674ff27fd3929
Change-Id: I8c1ca90e1edfe7866949e0493db6bc7cc0063e9d
Reviewed-on: https://dart-review.googlesource.com/65783
Reviewed-by: Jacob Richman <jacobr@google.com >
Commit-Queue: Sigmund Cherem <sigmund@google.com >
2018-07-19 20:16:47 +00:00
Lasse R.H. Nielsen
0b91676362
Remove the retype method.
...
See #33075 .
Bug: http://dartbug.com/33075
Change-Id: I1ee2f587afbc672dd08ac61ac003bbdc85bb95e2
Reviewed-on: https://dart-review.googlesource.com/59091
Commit-Queue: Lasse R.H. Nielsen <lrn@google.com >
Reviewed-by: Leaf Petersen <leafp@google.com >
2018-06-12 14:36:09 +00:00
Lasse Reichstein Holst Nielsen
862a894de6
Make cast do the same things as retype.
...
Deprecate `retype` and forward it to `cast`.
Change-Id: Ie17ffdd1eef0d3f19582bf638c5349927c7b5ebd
Reviewed-on: https://dart-review.googlesource.com/53802
Commit-Queue: Lasse R.H. Nielsen <lrn@google.com >
Reviewed-by: Leaf Petersen <leafp@google.com >
2018-05-09 08:00:08 +00:00
Stephen Adams
d1286a367e
Strong mode update for swarm
...
TBR=sigmund@google.com
Change-Id: Id53d58d05e27bffe17c810614dd37294acc3491d
Reviewed-on: https://dart-review.googlesource.com/53242
Reviewed-by: Stephen Adams <sra@google.com >
Commit-Queue: Stephen Adams <sra@google.com >
2018-05-01 21:25:34 +00:00
Lasse R.H. Nielsen
973a1a0219
Remove uses of upper-case constants in remaining SDK code.
...
This includes Fasta, tools and observatory, so the checked-in SDK must
have the lower-case constants.
Change-Id: I8380ad041ad058f7d02ae19caccfecd434d13d75
Reviewed-on: https://dart-review.googlesource.com/50201
Commit-Queue: Lasse R.H. Nielsen <lrn@google.com >
Reviewed-by: Leaf Petersen <leafp@google.com >
2018-04-16 16:11:57 +00:00
Alexander Thomas
3851591642
[infra] Keep comments intact when updating status files.
...
* Preserve empty lines in the file header.
* Add empty entry to the tool's newly created sections.
* Remove extra empty line at the end of the file.
Change-Id: I271583774d5f5497025a9d85bcadf8b0b9e39e81
Reviewed-on: https://dart-review.googlesource.com/37600
Commit-Queue: Alexander Thomas <athom@google.com >
Reviewed-by: William Hesse <whesse@google.com >
2018-04-10 19:03:21 +00:00
Stephen Adams
debfef5f2e
strong-mode cleanup of swarm
...
TBR=sigmund@google.com
Change-Id: Id0c197b99e2c82f04329217cbda13ef35c50ce48
Reviewed-on: https://dart-review.googlesource.com/49543
Reviewed-by: Stephen Adams <sra@google.com >
Reviewed-by: Sigmund Cherem <sigmund@google.com >
Commit-Queue: Stephen Adams <sra@google.com >
2018-04-04 20:14:35 +00:00
Lasse R.H. Nielsen
6f78471687
New methods on Iterable, List, Set, Queue, Map.
...
Changes signature of Iterable.singleWhere.
Makes LinkedHashMap no longer be a HashMap.
Change-Id: I7a12fea533d42b0fc8357086649df38ad01f3cdd
Reviewed-on: https://dart-review.googlesource.com/39140
Commit-Queue: Leaf Petersen <leafp@google.com >
Reviewed-by: William Hesse <whesse@google.com >
Reviewed-by: Leaf Petersen <leafp@google.com >
Reviewed-by: Lasse R.H. Nielsen <lrn@google.com >
2018-02-07 06:12:53 +00:00
William Hesse
9c35cff5cd
Revert "New methods on Iterable, List, Set, Queue, Map."
...
This reverts commit 0b59f24f97 .
Reason for revert: Creates crashes in dart2js with kernel, see
https://luci-milo.appspot.com/buildbot/client.dart/dart2js-linux-d8-minified-1-5-be/9751
Original change's description:
> New methods on Iterable, List, Set, Queue, Map.
> Changes signature of Iterable.singleWhere.
> Makes LinkedHashMap no longer be a HashMap.
>
> Change-Id: Ibd7e56e1ac03cb9fb10d19d1328d452fcd06d89f
> Reviewed-on: https://dart-review.googlesource.com/32541
> Commit-Queue: Lasse R.H. Nielsen <lrn@google.com >
> Reviewed-by: Leaf Petersen <leafp@google.com >
TBR=lrn@google.com ,leafp@google.com
Change-Id: Iab904f5885a5213ae2e16ef496eed0b6843185f3
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Reviewed-on: https://dart-review.googlesource.com/39060
Reviewed-by: William Hesse <whesse@google.com >
2018-02-06 13:32:19 +00:00
Lasse R.H. Nielsen
0b59f24f97
New methods on Iterable, List, Set, Queue, Map.
...
Changes signature of Iterable.singleWhere.
Makes LinkedHashMap no longer be a HashMap.
Change-Id: Ibd7e56e1ac03cb9fb10d19d1328d452fcd06d89f
Reviewed-on: https://dart-review.googlesource.com/32541
Commit-Queue: Lasse R.H. Nielsen <lrn@google.com >
Reviewed-by: Leaf Petersen <leafp@google.com >
2018-02-06 11:17:46 +00:00
Erik Corry
029b1cb948
Spelling fixes e to i.
...
R=kevmoo@google.com
BUG=
Review-Url: https://codereview.chromium.org/2957593002 .
2017-06-24 13:41:39 +02:00
Stephen Adams
28d83e6c2b
Fix swarm for non-integer Event timeStamps
...
Also make Mock implement new methods on Event
TBR=sigmund@google.com
BUG=
Review-Url: https://codereview.chromium.org/2868423003 .
2017-05-10 12:48:39 -07:00
Erik Corry
aa6353b6da
Dart SDK Spelling b, c, and d.
...
R=kmillikin@google.com
BUG=
Review-Url: https://codereview.chromium.org/2850783002 .
2017-05-01 08:28:10 +02:00
Erik Corry
4b9bba55b4
Stoppp using trippple consonants
...
R=ahe@google.com
BUG=
Review-Url: https://codereview.chromium.org/2833073002 .
2017-04-21 17:50:13 +02:00
Jacob Richman
b33097b9b4
Format samples and samples-dev directories.
...
BUG=
R=sra@google.com
Review-Url: https://codereview.chromium.org/2828603002 .
2017-04-19 07:30:17 -07:00
William Hesse
011a5a6a66
Remove ie10 and opera sections from status files
...
BUG=
R=kustermann@google.com
Review-Url: https://codereview.chromium.org/2783653002 .
2017-03-28 16:38:59 +02:00
Stephen Adams
67f8356601
Untested hacks to swarm to avoid warnings.
...
R=jacobr@google.com
Review URL: https://codereview.chromium.org/1766533002 .
2016-07-26 15:24:36 -07:00
William Hesse
6485590527
Remove old java-based analyzer from test scripts and status files
...
BUG=
R=sgjesse@google.com
Review URL: https://codereview.chromium.org/1537653002 .
2015-12-17 14:44:57 +01:00
William Hesse
07a5d7d814
Remove old versions of barback from checkout
...
BUG=
R=ricow@google.com
Review URL: https://codereview.chromium.org/1533683003 .
2015-12-17 14:43:05 +01:00
Rico Wind
f34fae854a
Initial github commit for getting stuff working
...
Readd samples, samples-dev, tools/testing/bin, third_party removed by cleanup (no history, sorry)
Add DEPS file which will replace the old all.deps and standalone.deps
Add tools/deps/dartium.deps replacing the old dartium.deps (but now editable from a normal checkout)
Fixup tools/utils.py to use the new archiving schema (git count for be, version number for dev/stable
Fix codereview.settings
2015-05-16 15:41:58 +02:00