undo accidental clang-format
Some checks failed
pyrite-dev/milsko/pipeline/head There was a failure building this commit
Some checks failed
pyrite-dev/milsko/pipeline/head There was a failure building this commit
This commit is contained in:
parent
fbbf52af04
commit
4b3ce4132f
7 changed files with 881 additions and 413 deletions
46
Doxyfile
46
Doxyfile
|
|
@ -1,22 +1,26 @@
|
||||||
PROJECT_LOGO = resource / logo / logo64.png PROJECT_NAME = Milsko
|
PROJECT_LOGO = resource/logo/logo64.png
|
||||||
PROJECT_BRIEF = "Lightweight and fast GUI toolkit" OUTPUT_DIRECTORY = doxygen
|
PROJECT_NAME = Milsko
|
||||||
TAB_SIZE = 8 OPTIMIZE_OUTPUT_FOR_C = YES
|
PROJECT_BRIEF = "Lightweight and fast GUI toolkit"
|
||||||
MARKDOWN_SUPPORT = YES
|
OUTPUT_DIRECTORY = doxygen
|
||||||
FILE_PATTERNS = *.h*.md
|
TAB_SIZE = 8
|
||||||
INPUT = include / Mw
|
OPTIMIZE_OUTPUT_FOR_C = YES
|
||||||
INPUT += doc
|
MARKDOWN_SUPPORT = YES
|
||||||
RECURSIVE = YES
|
FILE_PATTERNS = *.h *.md
|
||||||
SOURCE_BROWSER = YES
|
INPUT = include/Mw
|
||||||
HTML_DYNAMIC_MENUS = YES
|
INPUT += doc
|
||||||
GENERATE_TREEVIEW = YES
|
RECURSIVE = YES
|
||||||
FULL_SIDEBAR = NO
|
SOURCE_BROWSER = YES
|
||||||
DISABLE_INDEX = NO
|
HTML_DYNAMIC_MENUS = YES
|
||||||
HAVE_DOT = YES
|
GENERATE_TREEVIEW = YES
|
||||||
FULL_PATH_NAMES = YES
|
FULL_SIDEBAR = NO
|
||||||
STRIP_FROM_PATH = include / doc /
|
DISABLE_INDEX = NO
|
||||||
ENABLED_SECTIONS = YES
|
HAVE_DOT = YES
|
||||||
OUTPUT_LANGUAGE = English
|
FULL_PATH_NAMES = YES
|
||||||
GENERATE_LATEX = NO
|
STRIP_FROM_PATH = include/ doc/
|
||||||
EXTRACT_ALL = YES
|
ENABLED_SECTIONS = YES
|
||||||
|
OUTPUT_LANGUAGE = English
|
||||||
|
GENERATE_LATEX = NO
|
||||||
|
EXTRACT_ALL = YES
|
||||||
|
|
||||||
HTML_EXTRA_STYLESHEET = resource / doxygen - theme / doxygen - awesome.css HTML_COLORSTYLE = LIGHT
|
HTML_EXTRA_STYLESHEET = resource/doxygen-theme/doxygen-awesome.css
|
||||||
|
HTML_COLORSTYLE = LIGHT
|
||||||
|
|
|
||||||
110
Jenkinsfile
vendored
110
Jenkinsfile
vendored
|
|
@ -1,14 +1,22 @@
|
||||||
pipeline {
|
pipeline {
|
||||||
agent{
|
agent {
|
||||||
label "built-in"} stages {
|
label "built-in"
|
||||||
|
}
|
||||||
|
stages {
|
||||||
stage("Build document") {
|
stage("Build document") {
|
||||||
when{
|
when {
|
||||||
branch "master"} agent{
|
branch "master"
|
||||||
label "built-in"} steps{
|
}
|
||||||
sh("rm -rf include/Mw/LowLevel/Wayland")
|
agent {
|
||||||
|
label "built-in"
|
||||||
|
}
|
||||||
|
steps {
|
||||||
|
sh("rm -rf include/Mw/LowLevel/Wayland")
|
||||||
sh("doxygen")
|
sh("doxygen")
|
||||||
sh("rm -rf /var/www/milsko-doxygen")
|
sh("rm -rf /var/www/milsko-doxygen")
|
||||||
sh("mv doxygen/html /var/www/milsko-doxygen")} post {
|
sh("mv doxygen/html /var/www/milsko-doxygen")
|
||||||
|
}
|
||||||
|
post {
|
||||||
always {
|
always {
|
||||||
notifyDiscord()
|
notifyDiscord()
|
||||||
}
|
}
|
||||||
|
|
@ -17,59 +25,73 @@ pipeline {
|
||||||
stage("Build") {
|
stage("Build") {
|
||||||
parallel {
|
parallel {
|
||||||
stage("Build for Linux 64-bit") {
|
stage("Build for Linux 64-bit") {
|
||||||
agent{
|
agent {
|
||||||
label "built-in"} steps {
|
label "built-in"
|
||||||
|
}
|
||||||
|
steps {
|
||||||
sh("git clean -dfx")
|
sh("git clean -dfx")
|
||||||
sh("./configure --enable-opengl --enable-vulkan --without-vulkan-string-helper")
|
sh("./configure --enable-opengl --enable-vulkan --without-vulkan-string-helper")
|
||||||
sh("make -j4")
|
sh("make -j4")
|
||||||
sh("mv src/libMw.so libMw64.so")
|
sh("mv src/libMw.so libMw64.so")
|
||||||
archiveArtifacts("libMw64.so")
|
archiveArtifacts("libMw64.so")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage("Build for Windows 32-bit") {
|
stage("Build for Windows 32-bit") {
|
||||||
agent{
|
agent {
|
||||||
label "built-in"} steps {
|
label "built-in"
|
||||||
|
}
|
||||||
|
steps {
|
||||||
sh("git clean -dfx")
|
sh("git clean -dfx")
|
||||||
sh("./configure --enable-opengl --enable-stb-truetype --disable-freetype2 --cross --target=Windows --host=i686-w64-mingw32")
|
sh("./configure --enable-opengl --enable-stb-truetype --disable-freetype2 --cross --target=Windows --host=i686-w64-mingw32")
|
||||||
sh("make -j4")
|
sh("make -j4")
|
||||||
sh("mv src/Mw.dll Mw32.dll")
|
sh("mv src/Mw.dll Mw32.dll")
|
||||||
sh("mv src/libMw.dll.a libMw32.dll.a")
|
sh("mv src/libMw.dll.a libMw32.dll.a")
|
||||||
archiveArtifacts("Mw32.dll,libMw32.dll.a")
|
archiveArtifacts("Mw32.dll,libMw32.dll.a")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage("Build for Windows 64-bit") {
|
stage("Build for Windows 64-bit") {
|
||||||
agent{
|
agent {
|
||||||
label "built-in"} steps {
|
label "built-in"
|
||||||
|
}
|
||||||
|
steps {
|
||||||
sh("git clean -dfx")
|
sh("git clean -dfx")
|
||||||
sh("./configure --enable-opengl --enable-stb-truetype --disable-freetype2 --cross --target=Windows --host=x86_64-w64-mingw32")
|
sh("./configure --enable-opengl --enable-stb-truetype --disable-freetype2 --cross --target=Windows --host=x86_64-w64-mingw32")
|
||||||
sh("make -j4")
|
sh("make -j4")
|
||||||
sh("mv src/Mw.dll Mw64.dll")
|
sh("mv src/Mw.dll Mw64.dll")
|
||||||
sh("mv src/libMw.dll.a libMw64.dll.a")
|
sh("mv src/libMw.dll.a libMw64.dll.a")
|
||||||
archiveArtifacts("Mw64.dll,libMw64.dll.a")
|
archiveArtifacts("Mw64.dll,libMw64.dll.a")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage("Build for Windows 32-bit (MSVC)") {
|
stage("Build for Windows 32-bit (MSVC)") {
|
||||||
agent{
|
agent {
|
||||||
label "2012r2"} steps {
|
label "2012r2"
|
||||||
|
}
|
||||||
|
steps {
|
||||||
bat("git clean -dfx")
|
bat("git clean -dfx")
|
||||||
bat("nmake -f NTMakefile")
|
bat("nmake -f NTMakefile")
|
||||||
bat("move /y src\\Mw.dll MwMSVC32.dll")
|
bat("move /y src\\Mw.dll MwMSVC32.dll")
|
||||||
bat("move /y src\\Mw.lib MwMSVC32.lib")
|
bat("move /y src\\Mw.lib MwMSVC32.lib")
|
||||||
archiveArtifacts("MwMSVC32.dll,MwMSVC32.lib")
|
archiveArtifacts("MwMSVC32.dll,MwMSVC32.lib")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage("Build for Windows 32-bit (Watcom)") {
|
stage("Build for Windows 32-bit (Watcom)") {
|
||||||
agent{
|
agent {
|
||||||
label "built-in"} environment{
|
label "built-in"
|
||||||
WATCOM = "/usr/watcom" INCLUDE = "/usr/watcom/h:/usr/watcom/h/nt" PATH = "/usr/watcom/binl64:${env.PATH}"} steps {
|
}
|
||||||
|
environment {
|
||||||
|
WATCOM = "/usr/watcom"
|
||||||
|
INCLUDE = "/usr/watcom/h:/usr/watcom/h/nt"
|
||||||
|
PATH = "/usr/watcom/binl64:${env.PATH}"
|
||||||
|
}
|
||||||
|
steps {
|
||||||
sh("git clean -dfx")
|
sh("git clean -dfx")
|
||||||
sh("wmake -f WatMakefile")
|
sh("wmake -f WatMakefile")
|
||||||
sh("mv src/Mw.dll MwWat32.dll")
|
sh("mv src/Mw.dll MwWat32.dll")
|
||||||
sh("mv src/Mw.lib MwWat32.lib")
|
sh("mv src/Mw.lib MwWat32.lib")
|
||||||
archiveArtifacts("MwWat32.dll,MwWat32.lib")
|
archiveArtifacts("MwWat32.dll,MwWat32.lib")
|
||||||
sh("./tools/watcom-pack.sh")
|
sh("./tools/watcom-pack.sh")
|
||||||
sh("mv milsko-examples.zip milsko-examples-win32.zip")
|
sh("mv milsko-examples.zip milsko-examples-win32.zip")
|
||||||
archiveArtifacts("milsko-examples-win32.zip")
|
archiveArtifacts("milsko-examples-win32.zip")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
48
LICENSE
48
LICENSE
|
|
@ -1,28 +1,24 @@
|
||||||
Copyright(c) 2025 - 2026, Pyrite development team All rights reserved.
|
Copyright (c) 2025-2026, Pyrite development team
|
||||||
|
All rights reserved.
|
||||||
|
|
||||||
Redistribution and use in source and binary forms,
|
Redistribution and use in source and binary forms, with or without
|
||||||
with or without
|
modification, are permitted provided that the following conditions are met:
|
||||||
modification,
|
* Redistributions of source code must retain the above copyright notice,
|
||||||
are permitted provided that the following conditions are met : *Redistributions of source code must retain the above copyright notice,
|
this list of conditions and the following disclaimer.
|
||||||
this list of conditions and the following disclaimer.* Redistributions in binary form must reproduce the above copyright notice,
|
* Redistributions in binary form must reproduce the above copyright notice,
|
||||||
this list of conditions and the following disclaimer in the documentation and / or other materials provided with the distribution.* Neither the name of the<organization> nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
|
this list of conditions and the following disclaimer in the documentation
|
||||||
|
and/or other materials provided with the distribution.
|
||||||
|
* Neither the name of the <organization> nor the names of its contributors
|
||||||
|
may be used to endorse or promote products derived from this software
|
||||||
|
without specific prior written permission.
|
||||||
|
|
||||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
|
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
||||||
INCLUDING,
|
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
||||||
BUT NOT LIMITED TO,
|
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||||
THE IMPLIED
|
DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> BE LIABLE FOR ANY
|
||||||
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
||||||
DISCLAIMED.IN NO EVENT SHALL<COPYRIGHT HOLDER> BE LIABLE FOR ANY
|
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
||||||
DIRECT,
|
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
|
||||||
INDIRECT,
|
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||||
INCIDENTAL,
|
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||||
SPECIAL,
|
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
EXEMPLARY,
|
|
||||||
OR CONSEQUENTIAL DAMAGES(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
|
||||||
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
|
|
||||||
ON ANY THEORY OF LIABILITY,
|
|
||||||
WHETHER IN CONTRACT,
|
|
||||||
STRICT LIABILITY,
|
|
||||||
OR TORT(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
|
||||||
SOFTWARE,
|
|
||||||
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
||||||
|
|
|
||||||
394
NTMakefile
generated
394
NTMakefile
generated
File diff suppressed because one or more lines are too long
596
WatMakefile
generated
596
WatMakefile
generated
File diff suppressed because one or more lines are too long
|
|
@ -94,7 +94,6 @@
|
||||||
<integer name="forceInverted" common="yes" boolean="yes" />
|
<integer name="forceInverted" common="yes" boolean="yes" />
|
||||||
<integer name="isRounded" common="yes" boolean="yes" />
|
<integer name="isRounded" common="yes" boolean="yes" />
|
||||||
<integer name="darkTheme" common="yes" boolean="yes" />
|
<integer name="darkTheme" common="yes" boolean="yes" />
|
||||||
<integer name="acceptsDnD" common="yes" boolean="yes" />
|
|
||||||
<integer name="useMonospace" common="yes" boolean="yes" />
|
<integer name="useMonospace" common="yes" boolean="yes" />
|
||||||
<integer name="fillArea" />
|
<integer name="fillArea" />
|
||||||
<integer name="darkThemeAutomatic" common="yes" boolean="yes" />
|
<integer name="darkThemeAutomatic" common="yes" boolean="yes" />
|
||||||
|
|
@ -192,9 +191,6 @@
|
||||||
<handler name="darkTheme" common="yes">
|
<handler name="darkTheme" common="yes">
|
||||||
<integer pointer="yes" />
|
<integer pointer="yes" />
|
||||||
</handler>
|
</handler>
|
||||||
<handler name="acceptsDnD" common="yes">
|
|
||||||
<integer pointer="yes" />
|
|
||||||
</handler>
|
|
||||||
</handlers>
|
</handlers>
|
||||||
<enumerations>
|
<enumerations>
|
||||||
<enumeration name="MwDIRECTION">
|
<enumeration name="MwDIRECTION">
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue