-
Notifications
You must be signed in to change notification settings - Fork 1.3k
adding pre-stuff for parsing Pascal files #11438
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
paule32
wants to merge
67
commits into
doxygen:master
Choose a base branch
from
paule32:private
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 61 commits
Commits
Show all changes
67 commits
Select commit
Hold shift + click to select a range
27e0ba3
Update htmlgen.cpp
paule32 0aa5af9
update paule32 Pascal parser
paule32 333fb1b
Update build_cmake.yml
paule32 7129282
Merge branch 'doxygen:master' into private
paule32 7e3a35c
Merge branch 'doxygen:master' into private
paule32 2719963
update date and parser
paule32 47366d2
Merge branch 'private' of https://github.com/paule32/doxygen into pri…
paule32 dcc6f6f
update translator and pascal parser
paule32 bbeb386
update file docsets.cpp and passcanner.l
paule32 a995378
update locales de translation
paule32 37261a8
create initial translation.yml
paule32 767a067
update locale english
paule32 9c798b6
Update translation.yml
paule32 acbb508
Update translation.yml
paule32 c772964
Update translation.yml
paule32 d3c21b2
Update translation.yml
paule32 2982f30
adding localization support
paule32 229cd21
Update build_cmake.yml
paule32 db9c8f8
Update build_cmake.yml
paule32 cc537b5
Update build_cmake.yml
paule32 8c80bab
Update build_cmake.yml
paule32 dca37f7
Update build_cmake.yml
paule32 2bfa2e3
Update build_cmake.yml
paule32 20d9287
update
paule32 f60dd5b
Update CMakeLists.txt
paule32 ef44ac5
update workflow files
paule32 163650d
update
paule32 0fdd7f6
Update build_cmake.yml
paule32 17d4480
Update CMakeLists.txt
paule32 bbc148e
update
paule32 c0ec695
Merge branch 'doxygen:master' into private
paule32 e5df2cc
test yml
paule32 98f30d0
Merge branch 'private' of https://github.com/paule32/doxygen into pri…
paule32 b50a325
update CMakefile.txt
paule32 4e28ba4
update
paule32 478cab5
update
paule32 66d43f6
update
paule32 f228caa
update localization for Windows 10 64-Bit
paule32 5fe201a
update build.yml for supporting windows and ubuntu
paule32 fc398a7
update
paule32 ef09b30
Update build_cmake.yml
paule32 9b642a2
Update build_cmake.yml
paule32 f1dc664
Update CMakeLists.txt
paule32 c8dbb58
Update build_cmake.yml
paule32 85a24d7
Update CMakeLists.txt
paule32 a5e3869
Update build_cmake.yml
paule32 8fb0f74
Update build_cmake.yml
paule32 c89780e
Update build_cmake.yml
paule32 e7a2c19
Update build_cmake.yml
paule32 8e19f84
Update build_cmake.yml
paule32 936e68f
Update CMakeLists.txt
paule32 37ac297
update
paule32 6310509
Merge branch 'private' of https://github.com/paule32/doxygen into pri…
paule32 2bdd3ba
Update CMakeLists.txt
paule32 7f3866d
update
paule32 5ae455e
Merge branch 'private' of https://github.com/paule32/doxygen into pri…
paule32 568ccc7
Update and rename build_cmake.yml to windows_cmake.yml
paule32 a80f153
Update windows_cmake.yml
paule32 da2debe
Update windows_cmake.yml
paule32 52829a1
minified Version for Windows compile with NMake
paule32 69a0cf7
Delete .github/workflows/translate.yml
paule32 2e881f3
add Dutch License translation
paule32 9182d8b
Update windows_cmake.yml
paule32 3504c1c
Merge branch 'doxygen:master' into private
paule32 7b1a09c
Delete LICENSE
paule32 1717e79
Merge branch 'doxygen:master' into private
paule32 ee96838
update
paule32 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,133 @@ | ||
name: CMake Build for Doxygen | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
build: | ||
permissions: | ||
contents: write # to push pages branch (peaceiris/actions-gh-pages) | ||
|
||
name: ${{ matrix.config.name }} | ||
runs-on: ${{ matrix.config.os }} | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
config: | ||
- { | ||
name: "Windows Latest MSVC Release", | ||
os: windows-latest, | ||
build_type: "Release", cc: "cl", cxx: "cl", | ||
build_gen: "NMake Makefiles" | ||
} | ||
steps: | ||
- name: Checkout doxygen | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Install libiconv (Windows) | ||
uses: suisei-cn/actions-download-file@v1 | ||
with: | ||
url: "https://github.com/pffang/libiconv-for-Windows/releases/download/v1.16/libiconv-for-Windows_1.16.7z" | ||
target: . | ||
|
||
- name: Install localization files (Windows) | ||
run: | | ||
echo "download translation as seperate package..." | ||
git clone https://github.com/paule32/doxygen-translations.git | ||
|
||
mkdir -p build/bin | ||
mkdir -p build/bin/locale/en/LC_MESSAGES # English | ||
mkdir -p build/bin/locale/de/LC_MESSAGES # German | ||
|
||
mkdir -p gettext/dll | ||
mkdir -p gettext/inc | ||
mkdir -p gettext/lib | ||
|
||
cp doxygen-translations/src/inc/*.* gettext/inc/ | ||
cp doxygen-translations/bin/lib/*.* gettext/lib/ | ||
cp doxygen-translations/bin/dll/*.* build/bin/ | ||
|
||
cp doxygen-translations/bin/mob/en/LC_MESSAGES/doxygen.mo build/bin/locale/en/LC_MESSAGES/doxygen.mo | ||
cp doxygen-translations/bin/mob/de/LC_MESSAGES/doxygen.mo build/bin/locale/de/LC_MESSAGES/doxygen.mo | ||
|
||
- name: Install bison/flex (Windows) | ||
run: | | ||
choco install winflexbison3 | ||
|
||
- name: Install Graphviz (Windows) | ||
run: | ||
choco install graphviz.portable | ||
|
||
- name: Setup VS Environment (Windows) | ||
uses: seanmiddleditch/gha-setup-vsdevenv@master | ||
|
||
- name: Refresh Env (Windows) | ||
run: | | ||
Import-Module $env:ChocolateyInstall\helpers\chocolateyProfile.psm1 | ||
refreshenv | ||
|
||
- name: Install Qt 5 | ||
uses: jurplel/install-qt-action@v4 | ||
with: | ||
version: 5.* | ||
|
||
- name: Check tool versions (Windows) | ||
shell: bash | ||
< 10000 td id="diff-4d2a3ea346e953c10637a1e463d7606e14d760024c302c7953d5d962f4d9577eR77" data-line-number="77" class="blob-num blob-num-addition js-linkable-line-number js-blob-rnum"> | run: | | |
echo "=== python ==="; | ||
python --version; | ||
echo "=== cmake ==="; | ||
cmake --version; | ||
echo "=== bison ==="; | ||
win_bison --version; | ||
echo "=== flex ==="; | ||
win_flex --version; | ||
echo "=== dot ==="; | ||
dot -V; | ||
|
||
- name: Configure | ||
shell: cmake -P {0} | ||
run: | | ||
set(ENV{CC} ${{ matrix.config.cc }}) | ||
set(ENV{CXX} ${{ matrix.config.cxx }}) | ||
|
||
execute_process( | ||
COMMAND cmake | ||
-S . | ||
-B build | ||
-D CMAKE_BUILD_TYPE=${{ matrix.config.build_type }} | ||
-G "${{ matrix.config.build_gen }}" | ||
-Dbuild_doc=YES | ||
-Dbuild_wizard=YES | ||
${{ matrix.config.cmake_extra_opts }} | ||
RESULT_VARIABLE result | ||
) | ||
if (NOT result EQUAL 0) | ||
message(FATAL_ERROR "Bad exit status") | ||
endif() | ||
|
||
- name: Build | ||
shell: cmake -P {0} | ||
run: | | ||
include(ProcessorCount) | ||
ProcessorCount(N) | ||
execute_process( | ||
COMMAND cmake --build build --parallel ${N} | ||
RESULT_VARIABLE result | ||
OUTPUT_VARIABLE output | ||
ERROR_VARIABLE output | ||
ECHO_OUTPUT_VARIABLE ECHO_ERROR_VARIABLE | ||
) | ||
if (NOT result EQUAL 0) | ||
string(REGEX MATCH "FAILED:.*$" error_message "${output}") | ||
string(REPLACE "\n" "%0A" error_message "${error_message}") | ||
message("::error::${error_message}") | ||
message(FATAL_ERROR "Build failed") | ||
endif() | ||
|
||
- name: Archive build artifacts | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: "${{ matrix.config.name }} build artifacts" | ||
path: build/bin/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,3 +27,7 @@ cmake-build-debug-event-trace/ | |
|
||
/examples/html/* | ||
/examples/latex/* | ||
/1 | ||
*.bak | ||
locale/de.po | ||
locale/de.po |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is doxygen for Windows
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't see what this has to do with the pascal implementation or what the usage / intention for the doxygen GitHub Actions could be.
See also my earlier comments in #11438 (comment)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Indeed, don't mix different features in one pull request if you ever wish to have it merged.