From 0db5e5402cec2636bb123759b837e98ca2a65e7d Mon Sep 17 00:00:00 2001 From: Sebastiano Poggi Date: Wed, 14 Feb 2024 11:34:45 +0100 Subject: [PATCH] Merge in build changes from main The markdown modules should only live on main for now. Also restore run configs that were missing for branch. --- .idea/runConfigurations/IDE_sample.xml | 25 + .../{Regenerate_themes.xml => Run_checks.xml} | 7 +- build.gradle.kts | 2 - .../src/main/kotlin/PublishConfiguration.kt | 8 +- .../src/main/kotlin/jewel-publish.gradle.kts | 4 +- foundation/build.gradle.kts | 1 - gradle.properties | 1 + markdown/README.md | 121 - markdown/core/api/core.api | 868 -- markdown/core/build.gradle.kts | 19 - .../jetbrains/jewel/markdown/MarkdownBlock.kt | 83 - .../org/jetbrains/jewel/markdown/MimeType.kt | 431 - .../MarkdownBlockProcessorExtension.kt | 23 - .../MarkdownBlockRendererExtension.kt | 28 - .../extensions/MarkdownProcessorExtension.kt | 33 - .../extensions/MarkdownRendererExtension.kt | 17 - .../markdown/processing/MarkdownProcessor.kt | 347 - .../DefaultInlineMarkdownRenderer.kt | 120 - .../rendering/DefaultMarkdownBlockRenderer.kt | 513 - .../markdown/rendering/DefaultStyling.kt | 639 - .../rendering/InlineMarkdownRenderer.kt | 23 - .../rendering/MarkdownBlockRenderer.kt | 106 - .../markdown/rendering/MarkdownStyling.kt | 330 - .../MarkdownProcessorDocumentParsingTest.kt | 12579 ---------------- .../org/jetbrains/jewel/markdown/TestUtils.kt | 243 - .../api/extension-gfm-alerts.api | 246 - .../extension-gfm-alerts/build.gradle.kts | 19 - .../extensions/github/alerts/Alert.kt | 18 - .../github/alerts/GitHubAlertBlockRenderer.kt | 119 - .../alerts/GitHubAlertDefaultStyling.kt | 257 - .../alerts/GitHubAlertProcessorExtension.kt | 174 - .../github/alerts/GitHubAlertStyling.kt | 114 - .../github/alerts/alert-caution.svg | 3 - .../github/alerts/alert-important.svg | 3 - .../extensions/github/alerts/alert-note.svg | 3 - .../extensions/github/alerts/alert-tip.svg | 3 - .../github/alerts/alert-warning.svg | 3 - .../alerts/GitHubAlertBlockExtensionTest.kt | 547 - settings.gradle.kts | 2 - ui/build.gradle.kts | 1 - 40 files changed, 38 insertions(+), 18045 deletions(-) create mode 100644 .idea/runConfigurations/IDE_sample.xml rename .idea/runConfigurations/{Regenerate_themes.xml => Run_checks.xml} (72%) delete mode 100644 markdown/README.md delete mode 100644 markdown/core/api/core.api delete mode 100644 markdown/core/build.gradle.kts delete mode 100644 markdown/core/src/main/kotlin/org/jetbrains/jewel/markdown/MarkdownBlock.kt delete mode 100644 markdown/core/src/main/kotlin/org/jetbrains/jewel/markdown/MimeType.kt delete mode 100644 markdown/core/src/main/kotlin/org/jetbrains/jewel/markdown/extensions/MarkdownBlockProcessorExtension.kt delete mode 100644 markdown/core/src/main/kotlin/org/jetbrains/jewel/markdown/extensions/MarkdownBlockRendererExtension.kt delete mode 100644 markdown/core/src/main/kotlin/org/jetbrains/jewel/markdown/extensions/MarkdownProcessorExtension.kt delete mode 100644 markdown/core/src/main/kotlin/org/jetbrains/jewel/markdown/extensions/MarkdownRendererExtension.kt delete mode 100644 markdown/core/src/main/kotlin/org/jetbrains/jewel/markdown/processing/MarkdownProcessor.kt delete mode 100644 markdown/core/src/main/kotlin/org/jetbrains/jewel/markdown/rendering/DefaultInlineMarkdownRenderer.kt delete mode 100644 markdown/core/src/main/kotlin/org/jetbrains/jewel/markdown/rendering/DefaultMarkdownBlockRenderer.kt delete mode 100644 markdown/core/src/main/kotlin/org/jetbrains/jewel/markdown/rendering/DefaultStyling.kt delete mode 100644 markdown/core/src/main/kotlin/org/jetbrains/jewel/markdown/rendering/InlineMarkdownRenderer.kt delete mode 100644 markdown/core/src/main/kotlin/org/jetbrains/jewel/markdown/rendering/MarkdownBlockRenderer.kt delete mode 100644 markdown/core/src/main/kotlin/org/jetbrains/jewel/markdown/rendering/MarkdownStyling.kt delete mode 100644 markdown/core/src/test/kotlin/org/jetbrains/jewel/markdown/MarkdownProcessorDocumentParsingTest.kt delete mode 100644 markdown/core/src/test/kotlin/org/jetbrains/jewel/markdown/TestUtils.kt delete mode 100644 markdown/extension-gfm-alerts/api/extension-gfm-alerts.api delete mode 100644 markdown/extension-gfm-alerts/build.gradle.kts delete mode 100644 markdown/extension-gfm-alerts/src/main/kotlin/org/jetbrains/jewel/markdown/extensions/github/alerts/Alert.kt delete mode 100644 markdown/extension-gfm-alerts/src/main/kotlin/org/jetbrains/jewel/markdown/extensions/github/alerts/GitHubAlertBlockRenderer.kt delete mode 100644 markdown/extension-gfm-alerts/src/main/kotlin/org/jetbrains/jewel/markdown/extensions/github/alerts/GitHubAlertDefaultStyling.kt delete mode 100644 markdown/extension-gfm-alerts/src/main/kotlin/org/jetbrains/jewel/markdown/extensions/github/alerts/GitHubAlertProcessorExtension.kt delete mode 100644 markdown/extension-gfm-alerts/src/main/kotlin/org/jetbrains/jewel/markdown/extensions/github/alerts/GitHubAlertStyling.kt delete mode 100644 markdown/extension-gfm-alerts/src/main/resources/icons/markdown/extensions/github/alerts/alert-caution.svg delete mode 100644 markdown/extension-gfm-alerts/src/main/resources/icons/markdown/extensions/github/alerts/alert-important.svg delete mode 100644 markdown/extension-gfm-alerts/src/main/resources/icons/markdown/extensions/github/alerts/alert-note.svg delete mode 100644 markdown/extension-gfm-alerts/src/main/resources/icons/markdown/extensions/github/alerts/alert-tip.svg delete mode 100644 markdown/extension-gfm-alerts/src/main/resources/icons/markdown/extensions/github/alerts/alert-warning.svg delete mode 100644 markdown/extension-gfm-alerts/src/test/kotlin/org/jetbrains/jewel/markdown/extensions/github/alerts/GitHubAlertBlockExtensionTest.kt diff --git a/.idea/runConfigurations/IDE_sample.xml b/.idea/runConfigurations/IDE_sample.xml new file mode 100644 index 000000000..c62c0a808 --- /dev/null +++ b/.idea/runConfigurations/IDE_sample.xml @@ -0,0 +1,25 @@ + + + + + + + + true + true + false + false + + + \ No newline at end of file diff --git a/.idea/runConfigurations/Regenerate_themes.xml b/.idea/runConfigurations/Run_checks.xml similarity index 72% rename from .idea/runConfigurations/Regenerate_themes.xml rename to .idea/runConfigurations/Run_checks.xml index 590cfd0c6..f3ae0f42b 100644 --- a/.idea/runConfigurations/Regenerate_themes.xml +++ b/.idea/runConfigurations/Run_checks.xml @@ -1,17 +1,16 @@ - +