8000 adding pre-stuff for parsing Pascal files by paule32 · Pull Request #11438 · doxygen/doxygen · GitHub
[go: up one dir, main page]

Skip to content

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
wants to merge 67 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 61 commits
Commits
Show all changes
67 commits
Select commit Hold shift + click to select a range
27e0ba3
Update htmlgen.cpp
paule32 Feb 15, 2025
0aa5af9
update paule32 Pascal parser
paule32 Feb 19, 2025
333fb1b
Update build_cmake.yml
paule32 Feb 20, 2025
7129282
Merge branch 'doxygen:master' into private
paule32 Feb 20, 2025
7e3a35c
Merge branch 'doxygen:master' into private
paule32 Feb 20, 2025
2719963
update date and parser
paule32 Feb 20, 2025
47366d2
Merge branch 'private' of https://github.com/paule32/doxygen into pri…
paule32 Feb 20, 2025
dcc6f6f
update translator and pascal parser
paule32 Feb 20, 2025
bbeb386
update file docsets.cpp and passcanner.l
paule32 Feb 21, 2025
a995378
update locales de translation
paule32 Feb 22, 2025
37261a8
create initial translation.yml
paule32 Feb 22, 2025
767a067
update locale english
paule32 Feb 22, 2025
9c798b6
Update translation.yml
paule32 Feb 22, 2025
acbb508
Update translation.yml
paule32 Feb 22, 2025
c772964
Update translation.yml
paule32 Feb 22, 2025
d3c21b2
Update translation.yml
paule32 Feb 22, 2025
2982f30
adding localization support
paule32 Feb 22, 2025
229cd21
Update build_cmake.yml
paule32 Feb 22, 2025
db9c8f8
Update build_cmake.yml
paule32 Feb 22, 2025
cc537b5
Update build_cmake.yml
paule32 Feb 22, 2025
8c80bab
Update build_cmake.yml
paule32 Feb 22, 2025
dca37f7
Update build_cmake.yml
paule32 Feb 22, 2025
2bfa2e3
Update build_cmake.yml
paule32 Feb 22, 2025
20d9287
update
paule32 Feb 22, 2025
f60dd5b
Update CMakeLists.txt
paule32 Feb 22, 2025
ef44ac5
update workflow files
paule32 Feb 22, 2025
163650d
update
paule32 Feb 22, 2025
0fdd7f6
Update build_cmake.yml
paule32 Feb 22, 2025
17d4480
Update CMakeLists.txt
paule32 Feb 22, 2025
bbc148e
update
paule32 Feb 23, 2025
c0ec695
Merge branch 'doxygen:master' into private
paule32 Feb 23, 2025
e5df2cc
test yml
paule32 Feb 23, 2025
98f30d0
Merge branch 'private' of https://github.com/paule32/doxygen into pri…
paule32 Feb 23, 2025
b50a325
update CMakefile.txt
paule32 Feb 23, 2025
4e28ba4
update
paule32 Feb 23, 2025
478cab5
update
paule32 Feb 23, 2025
66d43f6
update
paule32 Feb 23, 2025
f228caa
update localization for Windows 10 64-Bit
paule32 Feb 23, 2025
5fe201a
update build.yml for supporting windows and ubuntu
paule32 Feb 23, 2025
fc398a7
update
paule32 Feb 23, 2025
ef09b30
Update build_cmake.yml
paule32 Feb 23, 2025
9b642a2
Update build_cmake.yml
paule32 Feb 23, 2025
f1dc664
Update CMakeLists.txt
paule32 Feb 23, 2025
c8dbb58
Update build_cmake.yml
paule32 Feb 23, 2025
85a24d7
Update CMakeLists.txt
paule32 Feb 23, 2025
a5e3869
Update build_cmake.yml
paule32 Feb 23, 2025
8fb0f74
Update build_cmake.yml
paule32 Feb 23, 2025
c89780e
Update build_cmake.yml
paule32 Feb 23, 2025
e7a2c19
Update build_cmake.yml
paule32 Feb 23, 2025
8e19f84
Update build_cmake.yml
paule32 Feb 23, 2025
936e68f
Update CMakeLists.txt
paule32 Feb 23, 2025
37ac297
update
paule32 Feb 23, 2025
6310509
Merge branch 'private' of https://github.com/paule32/doxygen into pri…
paule32 Feb 23, 2025
2bdd3ba
Update CMakeLists.txt
paule32 Feb 23, 2025
7f3866d
update
paule32 Feb 23, 2025
5ae455e
Merge branch 'private' of https://github.com/paule32/doxygen into pri…
paule32 Feb 23, 2025
568ccc7
Update and rename build_cmake.yml to windows_cmake.yml
paule32 Feb 23, 2025
a80f153
Update windows_cmake.yml
paule32 Feb 24, 2025
da2debe
Update windows_cmake.yml
paule32 Feb 24, 2025
52829a1
minified Version for Windows compile with NMake
paule32 Feb 24, 2025
69a0cf7
Delete .github/workflows/translate.yml
paule32 Feb 24, 2025
2e881f3
add Dutch License translation
paule32 Feb 24, 2025
9182d8b
Update windows_cmake.yml
paule32 Feb 24, 2025
3504c1c
Merge branch 'doxygen:master' into private
paule32 Feb 24, 2025
7b1a09c
Delete LICENSE
paule32 Feb 24, 2025
1717e79
Merge branch 'doxygen:master' into private
paule32 Feb 24, 2025
ee96838
update
paule32 May 1, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
413 changes: 0 additions & 413 deletions .github/workflows/build_cmake.yml

This file was deleted.

133 changes: 133 additions & 0 deletions .github/workflows/windows_cmake.yml
Copy link
Contributor Author

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

Copy link
Collaborator

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)

Copy link
Owner

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.

< 10000 td id="diff-4d2a3ea346e953c10637a1e463d7606e14d760024c302c7953d5d962f4d9577eR77" data-line-number="77" class="blob-num blob-num-addition js-linkable-line-number js-blob-rnum">
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
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/
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,7 @@ cmake-build-debug-event-trace/

/examples/html/*
/examples/latex/*
/1
*.bak
locale/de.po
locale/de.po
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# vim:ts=4:sw=4:expandtab:autoindent:
#
# Copyright (C) 1997-2015 by Dimitri van Heesch.
# Copyright (C) 1997-2025 by Dimitri van Heesch.
#
# Permission to use, copy, modify, and distribute this software and its
# documentation under the terms of the GNU General Public License is hereby
Expand Down
Loading
Loading
0