An open API service providing commit metadata for open source projects.

GitHub / google/google-java-format / commits

Reformats Java source code to comply with Google Java Style.

SHA Message Author Date Stats
b291d957 Fix duplicate blank lines before `MOE` end strip comment tag Kurt Alfred Kluever <k****k@g****m>
Committed by: google-java-format Team <g****a@g****m>
15 days ago
c6c150d7 Move google-java-format settings page to Tools section. Michael Plump <p****y@g****m>
Committed by: google-java-format Team <g****a@g****m>
16 days ago
4b3d3731 Bump the dependencies group across 1 directory with 2 updates dependabot[bot] <4****]@u****m>
Committed by: google-java-format Team <g****a@g****m>
18 days ago
a26351d0 Update version comments to `vX.Y.Z` tags in `release.yml`, too. Chris Povirk <c****k@g****m> 18 days ago
e49a58a5 Update version comments to `vX.Y.Z` tags. Chris Povirk <c****k@g****m> 18 days ago
1f932792 Use `cancel-in-progress` instead of `styfle/cancel-workflow-action`. Chris Povirk <c****k@g****m> 18 days ago
4a9f81de Increase Dependabot cooldown from the default of 3 days to 7, as [required by... Chris Povirk <c****k@g****m> 18 days ago
ecba4fb2 Make the logic for the two forms of Javadoc comments more similar. Éamonn McManus <e****s@g****m>
Committed by: google-java-format Team <g****a@g****m>
21 days ago
e48a5194 Bump the dependencies group across 1 directory with 28 updates dependabot[bot] <4****]@u****m>
Committed by: google-java-format Team <g****a@g****m>
25 days ago
1735cd1e Update the IntelliJ plugin to use google-java-format 1.36.1. Michael Plump <p****y@g****m>
Committed by: google-java-format Team <g****a@g****m>
25 days ago
cf859e30 Bump the github-actions group across 1 directory with 2 updates
Signed-off-by: dependabot[bot] <s****t@g****m>
dependabot[bot] <4****]@u****m>
Committed by: Liam Miller-Cushon <c****n@g****m>
25 days ago
b81163d7 Address https://docs.zizmor.sh/audits/#excessive-permissions and https://docs... Chris Povirk <c****k@g****m>
Committed by: Liam Miller-Cushon <c****n@g****m>
25 days ago
29d470f6 Have `zizmor` fix `zizmor`-inserted version comments. Chris Povirk <c****k@g****m>
Committed by: Liam Miller-Cushon <c****n@g****m>
25 days ago
c51d6916 Add support for formatting Markdown block quotes correctly. Éamonn McManus <e****s@g****m>
Committed by: google-java-format Team <g****a@g****m>
28 days ago
747f74b8 Address `zizmor` findings: Chris Povirk <c****k@g****m>
Committed by: Liam Miller-Cushon <c****n@g****m>
28 days ago
67c53ac9 Add --skip-reflowing-long-strings option to google-java-format-diff.py google-java-format Team <j****t@g****m>
Committed by: google-java-format Team <g****a@g****m>
29 days ago
fce65096 Bump JSpecify to 1.0.1. cpovirk <c****k@g****m>
Committed by: google-java-format Team <g****a@g****m>
30 days ago
14e90399 Handle blank lines before and within Markdown lists more accurately. Éamonn McManus <e****s@g****m>
Committed by: google-java-format Team <g****a@g****m>
30 days ago
7d9649fb Fix an issue with formatting indented list items. Éamonn McManus <e****s@g****m>
Committed by: google-java-format Team <g****a@g****m>
30 days ago
6b68963f Add repro test for markdown Javadoc MOE comment formatting Kurt Alfred Kluever <k****k@g****m>
Committed by: google-java-format Team <g****a@g****m>
about 1 month ago
49afbdcd Update the location of the required Java version after https://github.com/goo... cpovirk <c****k@g****m>
Committed by: google-java-format Team <g****a@g****m>
about 1 month ago
efeecc57 In Markdown Javadoc, indent continuation lines for Javadoc block tags by +2 r... Éamonn McManus <e****s@g****m>
Committed by: google-java-format Team <g****a@g****m>
about 1 month ago
bd4988be Add a test that illustrates a problem with +4 indentation for block tags in M... Éamonn McManus <e****s@g****m>
Committed by: google-java-format Team <g****a@g****m>
about 1 month ago
8cb23947 Write `BlockQuote` rather than `Blockquote` everywhere. Éamonn McManus <e****s@g****m>
Committed by: google-java-format Team <g****a@g****m>
about 1 month ago
dc71a7ce Add a test that confirms the buggy behaviour from b/534219145. Éamonn McManus <e****s@g****m>
Committed by: google-java-format Team <g****a@g****m>
about 1 month ago
e4cef582 Improve interactions between `wroteAnythingSignificant` and whitespace requests. cpovirk <c****k@g****m>
Committed by: google-java-format Team <g****a@g****m>
about 2 months ago
adf92524 Fix `NullPointerException` when `visitListItem` encounters a non-paragraph fi... Kurt Alfred Kluever <k****k@g****m>
Committed by: google-java-format Team <g****a@g****m>
about 2 months ago
211ff6f9 Add a test to demonstrate our current handling of Javadoc that starts with a ... cpovirk <c****k@g****m>
Committed by: google-java-format Team <g****a@g****m>
about 2 months ago
5498e813 Remove interior blank lines inside `blockquote`. cpovirk <c****k@g****m>
Committed by: google-java-format Team <g****a@g****m>
about 2 months ago
77bee2d1 Guard requestBlankLine in writeTableOpen, writePreOpen, and writeBlockquoteOp... Kurt Alfred Kluever <k****k@g****m>
Committed by: google-java-format Team <g****a@g****m>
about 2 months ago
d3f17cd7 Add a[] Kurt Alfred Kluever <k****k@g****m>
Committed by: google-java-format Team <g****a@g****m>
about 2 months ago
ff77a3cb Fix `VerifyException` in `MarkdownPositions` when formatting ordered list ite... Kurt Alfred Kluever <k****k@g****m>
Committed by: google-java-format Team <g****a@g****m>
about 2 months ago
3bfe3d93 Add[] Kurt Alfred Kluever <k****k@g****m>
Committed by: google-java-format Team <g****a@g****m>
about 2 months ago
ad72e034 Recognize Markdown Javadoc in a couple of places that were missing. Éamonn McManus <e****s@g****m>
Committed by: google-java-format Team <g****a@g****m>
about 2 months ago
2868787e Don't eat spaces after newlines in Markdown comments. Éamonn McManus <e****s@g****m>
Committed by: google-java-format Team <g****a@g****m>
about 2 months ago
36966cbc Add tests that illustrate two Markdown formatting bugs. Éamonn McManus <e****s@g****m>
Committed by: google-java-format Team <g****a@g****m>
about 2 months ago
fb952891 Bump the github-actions group with 4 updates
Signed-off-by: dependabot[bot] <s****t@g****m>
dependabot[bot] <4****]@u****m>
Committed by: Liam Miller-Cushon <c****n@g****m>
2 months ago
64b1458c Enable dependabot Liam Miller-Cushon <c****n@g****m> 2 months ago
ce80f773 Abandon formatting of a Markdown Javadoc comment if it contains unsupported c... Éamonn McManus <e****s@g****m>
Committed by: google-java-format Team <g****a@g****m>
2 months ago
d964ff11 Include `logVarargs` in google-java-format formatting special case Liam Miller-Cushon <c****n@g****m>
Committed by: google-java-format Team <g****a@g****m>
3 months ago
6bbd4a41 Add CLI flag to disable modifier reordering Matthias Kurz <m****z@i****t>
Committed by: google-java-format Team <g****a@g****m>
3 months ago
35ed64a0 In JavadocFormattingTest, ensure that calling the formatter a second time doe... Éamonn McManus <e****s@g****m>
Committed by: google-java-format Team <g****a@g****m>
4 months ago
87197ece Add a test case to ensure that line wrapping doesn't split Markdown links. Éamonn McManus <e****s@g****m>
Committed by: google-java-format Team <g****a@g****m>
4 months ago
70eb845e Update the test for Autolinks so it exposes a genuine problem. Éamonn McManus <e****s@g****m>
Committed by: google-java-format Team <g****a@g****m>
4 months ago
89e525cd Roll forward the change for support Markdown tables. Éamonn McManus <e****s@g****m>
Committed by: google-java-format Team <g****a@g****m>
4 months ago
40739c0a Automatic code cleanup. google-java-format Team <j****t@g****m>
Committed by: google-java-format Team <g****a@g****m>
4 months ago
ea731d20 Add support for Markdown tables. Éamonn McManus <e****s@g****m>
Committed by: google-java-format Team <g****a@g****m>
4 months ago
2519066b Improve code block handling within lists. Éamonn McManus <e****s@g****m>
Committed by: google-java-format Team <g****a@g****m>
4 months ago
a8ca4c70 Pull the box-drawing-character trick again. cpovirk <c****k@g****m>
Committed by: google-java-format Team <g****a@g****m>
4 months ago
29189232 Add a test that demonstrates incorrect formatting of a code block in a list. Éamonn McManus <e****s@g****m>
Committed by: google-java-format Team <g****a@g****m>
4 months ago
7657be40 Add tables to the to-do list for Markdown Javadoc, plus a test illustrating t... Éamonn McManus <e****s@g****m>
Committed by: google-java-format Team <g****a@g****m>
4 months ago
ebe9da75 Add support for backslash in Markdown Javadoc. Éamonn McManus <e****s@g****m>
Committed by: google-java-format Team <g****a@g****m>
4 months ago
e10f3107 Add support for code spans in Markdown Javadoc. Éamonn McManus <e****s@g****m>
Committed by: google-java-format Team <g****a@g****m>
4 months ago
c6a72e00 Extract parts of a big switch into helper methods. Éamonn McManus <e****s@g****m>
Committed by: google-java-format Team <g****a@g****m>
4 months ago
3f6b86d2 Replace the several nesting counters in `JavadocLexer` with a single stack. Éamonn McManus <e****s@g****m>
Committed by: google-java-format Team <g****a@g****m>
5 months ago
a733cbcb Add a giant TODO comment listing the remaining Markdown cases we don't handle... Éamonn McManus <e****s@g****m>
Committed by: google-java-format Team <g****a@g****m>
5 months ago
3e290d16 In `JavadocFormattingTest`, document the main things that still need to be te... Éamonn McManus <e****s@g****m>
Committed by: google-java-format Team <g****a@g****m>
5 months ago
24e81a91 Initial support for fenced code blocks in Markdown Javadoc. Éamonn McManus <e****s@g****m>
Committed by: google-java-format Team <g****a@g****m>
5 months ago
ffd5425c Make `addSpan` an instance method of `TokenVisitor`. Éamonn McManus <e****s@g****m>
Committed by: google-java-format Team <g****a@g****m>
5 months ago
95528730 Use more specific `Token` subclasses where possible. Éamonn McManus <e****s@g****m>
Committed by: google-java-format Team <g****a@g****m>
5 months ago
e9e9d5f7 Make `Token` a sealed interface rather than a record with a `Type` enum. Éamonn McManus <e****s@g****m>
Committed by: google-java-format Team <g****a@g****m>
5 months ago
b8454d0f Add support for numbered lists. Éamonn McManus <e****s@g****m>
Committed by: google-java-format Team <g****a@g****m>
5 months ago
53e2a763 Initial support for Markdown Javadoc. Éamonn McManus <e****s@g****m>
Committed by: google-java-format Team <g****a@g****m>
5 months ago
142c3920 Change `NestingCounter` into `NestingStack`. Éamonn McManus <e****s@g****m>
Committed by: google-java-format Team <g****a@g****m>
5 months ago
742e4f3e Update a comment about imports that are only used in Javadoc. Éamonn McManus <e****s@g****m>
Committed by: google-java-format Team <g****a@g****m>
5 months ago
f7a4f720 Tiny optimization to exploit a method added in Java 21. Éamonn McManus <e****s@g****m>
Committed by: google-java-format Team <g****a@g****m>
5 months ago
989e5b73 Only identify a `///` comment as Markdown Javadoc if it is in a position wher... Éamonn McManus <e****s@g****m>
Committed by: google-java-format Team <g****a@g****m>
5 months ago
9eaf0778 Use type patterns more widely. Éamonn McManus <e****s@g****m>
Committed by: google-java-format Team <g****a@g****m>
5 months ago
e6a7af72 Reduce member visibility where possible. Éamonn McManus <e****s@g****m>
Committed by: google-java-format Team <g****a@g****m>
5 months ago
c4dedd50 Update `UsageException` to use text blocks. Éamonn McManus <e****s@g****m>
Committed by: google-java-format Team <g****a@g****m>
5 months ago
509e7d6f Convert classes to records where possible. Éamonn McManus <e****s@g****m>
Committed by: google-java-format Team <g****a@g****m>
5 months ago
bf4b13ba Require JDK 21 to run google-java-format Liam Miller-Cushon <c****n@g****m>
Committed by: google-java-format Team <g****a@g****m>
5 months ago
7b0d3a33 Make `Token` be a record. Éamonn McManus <e****s@g****m>
Committed by: google-java-format Team <g****a@g****m>
5 months ago
57572c3b Rewrite tests to use text blocks for improved readability. Éamonn McManus <e****s@g****m>
Committed by: google-java-format Team <g****a@g****m>
5 months ago
e573100e Don't wrap line comments that start with `/// `. Éamonn McManus <e****s@g****m>
Committed by: google-java-format Team <g****a@g****m>
5 months ago
2de73367 Add a test demonstrating the current broken formatting for markdown javadoc. Éamonn McManus <e****s@g****m>
Committed by: google-java-format Team <g****a@g****m>
6 months ago
d2f234d2 Remove the requirement for `CharStream` patterns to be anchored with `^`. Éamonn McManus <e****s@g****m>
Committed by: google-java-format Team <g****a@g****m>
6 months ago
71f52d54 Maintain a start position in `CharStream` instead of using repeated tailing. Éamonn McManus <e****s@g****m>
Committed by: google-java-format Team <g****a@g****m>
6 months ago
273ddcfb Update the IntelliJ plugin to gjf 1.35.0. Michael Plump <p****y@g****m>
Committed by: google-java-format Team <g****a@g****m>
6 months ago
2f7e558e Use JDK 21 for Eclipse plugin Liam Miller-Cushon <c****n@g****m>
Committed by: google-java-format Team <g****a@g****m>
6 months ago
49629931 Migrate to records in google-java-format Liam Miller-Cushon <c****n@g****m>
Committed by: google-java-format Team <g****a@g****m>
6 months ago
075e025c Prepare to changes to `var` in AST Liam Miller-Cushon <c****n@g****m>
Committed by: google-java-format Team <g****a@g****m>
6 months ago
b0ef30ae Don't list the same annotation twice Michael Ernst <m****t@c****u>
Committed by: google-java-format Team <g****a@g****m>
6 months ago
730d3b1e Refactor Github Action per b/485167538 Ben Knutson <b****n@g****m>
Committed by: Liam Miller-Cushon <c****n@g****m>
6 months ago
fc4b2e9f Automatic code cleanup. Liam Miller-Cushon <c****n@g****m>
Committed by: google-java-format Team <g****a@g****m>
6 months ago
f1f5c67d Add simple native formatting test Claudio Nave <e****1@p****e>
Committed by: google-java-format Team <g****a@g****m>
7 months ago
ff157e3e Fix reflection errors during native execution Claudio Nave <e****1@p****e>
Committed by: google-java-format Team <g****a@g****m>
7 months ago
f0a9748d Update workaround for JDK-8372948 Liam Miller-Cushon <c****n@g****m>
Committed by: google-java-format Team <g****a@g****m>
7 months ago
9b979734 Fix index of `keepEndPos` parameter Liam Miller-Cushon <c****n@g****m>
Committed by: google-java-format Team <g****a@g****m>
7 months ago
4a15b1b9 Prepare for end position API changes in https://bugs.openjdk.org/browse/JDK-8... Liam Miller-Cushon <c****n@g****m>
Committed by: google-java-format Team <g****a@g****m>
7 months ago
62edae4f Remove workaround for https://bugs.openjdk.org/browse/JDK-8027682 Liam Miller-Cushon <c****n@g****m>
Committed by: google-java-format Team <g****a@g****m>
7 months ago
737b0032 Support Instance Main Methods in google-java-format Liam Miller-Cushon <c****n@g****m>
Committed by: google-java-format Team <g****a@g****m>
7 months ago
4b4d087a Consolidate uses of javac's parser in google-java-format Liam Miller-Cushon <c****n@g****m>
Committed by: google-java-format Team <g****a@g****m>
9 months ago
f5f92bf2 Internal change Liam Miller-Cushon <c****n@g****m>
Committed by: google-java-format Team <g****a@g****m>
9 months ago
343d9aa7 Consolidate end position handling in google-java-format Liam Miller-Cushon <c****n@g****m>
Committed by: google-java-format Team <g****a@g****m>
9 months ago
8e8db817 Update Error Prone version Liam Miller-Cushon <c****n@g****m>
Committed by: google-java-format Team <g****a@g****m>
9 months ago
eb43facd Create a FormattingFiler factory that disables formatting during header compi... Liam Miller-Cushon <c****n@g****m>
Committed by: google-java-format Team <g****a@g****m>
9 months ago
d1d1f4dd Update Java version in release workflow to 25 Liam Miller-Cushon <c****n@g****m>
Committed by: GitHub <n****y@g****m>
10 months ago
052881ad Update CI GraalVM Java version to 25 Liam Miller-Cushon <c****n@g****m> 10 months ago
60a00f20 Add support for AOSP formatting in the Eclipse plugin google-java-format Team <j****t@g****m>
Committed by: google-java-format Team <g****a@g****m>
10 months ago

← Back to repository