7 Commits

Author SHA1 Message Date
25d67053cc Overhaul cmake configuration, add console api, fix http code that caused issues with cgi-bin
All checks were successful
Build and Deploy on Tag / 🔨 Build for Arch Linux/Static Builds (push) Successful in 1m18s
Build and Deploy on Tag / 🔨 Build win32 and update the tap 🍺 (push) Successful in 1m19s
2026-05-27 04:08:53 -05:00
4aef8c0c1a Overhaul cmake configuration, add console api, fix http code that caused issues with cgi-bin
Some checks failed
Build and Deploy on Tag / 🔨 Build for Arch Linux/Static Builds (push) Successful in 1m11s
Build and Deploy on Tag / 🔨 Build win32 and update the tap 🍺 (push) Failing after 1m6s
2026-05-27 04:04:39 -05:00
9288859af5 Removing static builds due to failures
Some checks failed
Build and Deploy on Tag / 🔨 Build for Arch Linux/Static Builds (push) Successful in 1m10s
Build and Deploy on Tag / 🔨 Build win32 and update the tap 🍺 (push) Failing after 32s
2026-05-27 03:53:31 -05:00
535057c4db Overhaul cmake configuration, add console api, fix http code that caused issues with cgi-bin
Some checks failed
Build and Deploy on Tag / 🔨 Build for Arch Linux/Static Builds (push) Failing after 8m14s
Build and Deploy on Tag / 🔨 Build win32 and update the tap 🍺 (push) Failing after 33s
2026-05-27 03:33:45 -05:00
ccfa5eeeb3 Overhaul cmake configuration, add console api, fix http code that caused issues with cgi-bin
Some checks failed
Build and Deploy on Tag / 🔨 Build win32 and update the tap 🍺 (push) Failing after 2s
Build and Deploy on Tag / 🔨 Build for Arch Linux/Static Builds (push) Has been cancelled
2026-05-27 03:26:54 -05:00
5a0e53cd52 Overhaul cmake configuration, add console api, fix http code that caused issues with cgi-bin
Some checks failed
Build and Deploy on Tag / 🔨 Build win32 and update the tap 🍺 (push) Has been cancelled
Build and Deploy on Tag / 🔨 Build for Arch Linux/Static Builds (push) Has been cancelled
2026-05-27 03:19:34 -05:00
78d4b7a63e Overhaul cmake configuration, add console api, fix http code that caused issues with cgi-bin
Some checks failed
Build and Deploy on Tag / 🔨 Build for Arch Linux/Static Builds (push) Failing after 18s
Build and Deploy on Tag / 🔨 Build win32 and update the tap 🍺 (push) Failing after 20s
2026-05-27 03:14:15 -05:00
10 changed files with 37 additions and 11 deletions

View File

@@ -22,7 +22,6 @@ jobs:
- run: chown build:build /home/build/PKGBUILD - run: chown build:build /home/build/PKGBUILD
- run: chown build:build /home/build/build-arch.sh - run: chown build:build /home/build/build-arch.sh
- run: su build -c /home/build/build-arch.sh - run: su build -c /home/build/build-arch.sh
- run: env -C Packaging/Tools bash build.sh
- uses: akkuman/gitea-release-action@v1 - uses: akkuman/gitea-release-action@v1
env: env:
NODE_OPTIONS: '--experimental-fetch' # if nodejs < 18 NODE_OPTIONS: '--experimental-fetch' # if nodejs < 18
@@ -37,7 +36,8 @@ jobs:
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- run: | - run: |
env -C Builds/WinToolsIntel bash build.sh mkdir artifacts
env -C Packaging/WinToolsIntel bash build.sh
- uses: akkuman/gitea-release-action@v1 - uses: akkuman/gitea-release-action@v1
env: env:

View File

@@ -4,6 +4,7 @@ include(cmake/version.cmake)
project(TessesFramework VERSION ${TESSESFRAMEWORK_MAJOR_VERSION}.${TESSESFRAMEWORK_MINOR_VERSION}.${TESSESFRAMEWORK_PATCH_VERSION}) project(TessesFramework VERSION ${TESSESFRAMEWORK_MAJOR_VERSION}.${TESSESFRAMEWORK_MINOR_VERSION}.${TESSESFRAMEWORK_PATCH_VERSION})
set(CMAKE_CXX_STANDARD 17) set(CMAKE_CXX_STANDARD 17)
include(GNUInstallDirs)
include(CheckLibraryExists) include(CheckLibraryExists)
include(FetchContent) include(FetchContent)
include(cmake/sources.cmake) include(cmake/sources.cmake)

View File

@@ -1,6 +1,6 @@
# Maintainer: Mike Nolan <tesses@tesses.net> # Maintainer: Mike Nolan <tesses@tesses.net>
pkgname=tessesframework # '-bzr', '-git', '-hg' or '-svn' pkgname=tessesframework # '-bzr', '-git', '-hg' or '-svn'
pkgver=0.0.3 pkgver=0.0.4
pkgrel=1 pkgrel=1
pkgdesc="" pkgdesc=""
arch=('x86_64' 'powerpc') arch=('x86_64' 'powerpc')

View File

@@ -0,0 +1,7 @@
set(CMAKE_C_COMPILER "/usr/bin/i686-w64-mingw32-gcc")
set(CMAKE_CXX_COMPILER "/usr/bin/i686-w64-mingw32-g++")
set(CMAKE_C_FLAGS "-static-libgcc -static-libstdc++ -static")
set(CMAKE_CXX_FLAGS "-static-libgcc -static-libstdc++ -static")
set(CMAKE_EXE_LINKER_FLAGS "-static-libgcc -static-libstdc++ -static")
set(CMAKE_SYSTEM_NAME Windows)
set(CMAKE_SYSTEM_PROCESSOR i686)

View File

@@ -0,0 +1,7 @@
set(CMAKE_C_COMPILER "/usr/bin/x86_64-w64-mingw32-gcc")
set(CMAKE_CXX_COMPILER "/usr/bin/x86_64-w64-mingw32-g++")
set(CMAKE_C_FLAGS "-static-libgcc -static-libstdc++ -static")
set(CMAKE_CXX_FLAGS "-static-libgcc -static-libstdc++ -static")
set(CMAKE_EXE_LINKER_FLAGS "-static-libgcc -static-libstdc++ -static")
set(CMAKE_SYSTEM_NAME Windows)
set(CMAKE_SYSTEM_PROCESSOR x86_64)

View File

@@ -19,8 +19,10 @@
#pragma once #pragma once
#include "../Streams/Stream.hpp" #include "../Streams/Stream.hpp"
#include "HttpUtils.hpp" #include "HttpUtils.hpp"
// clang-format off
#include "TessesFramework/Filesystem/LocalFS.hpp" #include "TessesFramework/Filesystem/LocalFS.hpp"
#include "TessesFramework/Filesystem/VFSFix.hpp" #include "TessesFramework/Filesystem/VFSFix.hpp"
// clang-format on
#include "WebSocket.hpp" #include "WebSocket.hpp"
namespace Tesses::Framework::Http { namespace Tesses::Framework::Http {

View File

@@ -17,8 +17,10 @@
*/ */
#pragma once #pragma once
// clang-format off
#include "TessesFramework/Filesystem/LocalFS.hpp" #include "TessesFramework/Filesystem/LocalFS.hpp"
#include "TessesFramework/Filesystem/VFSFix.hpp" #include "TessesFramework/Filesystem/VFSFix.hpp"
// clang-format on
#include <optional> #include <optional>
namespace Tesses::Framework::Platform::Environment { namespace Tesses::Framework::Platform::Environment {
extern const char EnvPathSeperator; extern const char EnvPathSeperator;

View File

@@ -24,9 +24,10 @@
#include <sys/stat.h> #include <sys/stat.h>
#include <sys/types.h> #include <sys/types.h>
#if defined(_WIN32) #if defined(_WIN32)
// clang-format off
#include "TessesFramework/Filesystem/VFSFix.hpp"
#include <windows.h> #include <windows.h>
#include "TessesFramework/Filesystem/VFSFix.hpp"
// clang format on
#undef min #undef min
#else #else
#include <sys/statvfs.h> #include <sys/statvfs.h>

View File

@@ -19,8 +19,7 @@
#include "TessesFramework/Http/HttpServer.hpp" #include "TessesFramework/Http/HttpServer.hpp"
#include "TessesFramework/Common.hpp" #include "TessesFramework/Common.hpp"
#include "TessesFramework/Crypto/Crypto.hpp" #include "TessesFramework/Crypto/Crypto.hpp"
#include "TessesFramework/Filesystem/VFS.hpp"
#include "TessesFramework/Filesystem/VFSFix.hpp"
#include "TessesFramework/Http/ContentDisposition.hpp" #include "TessesFramework/Http/ContentDisposition.hpp"
#include "TessesFramework/Http/HttpStream.hpp" #include "TessesFramework/Http/HttpStream.hpp"
#include "TessesFramework/Streams/BufferedStream.hpp" #include "TessesFramework/Streams/BufferedStream.hpp"
@@ -33,6 +32,10 @@
#include <TessesFramework/Http/HttpUtils.hpp> #include <TessesFramework/Http/HttpUtils.hpp>
#include <iostream> #include <iostream>
// clang-format off
#include "TessesFramework/Filesystem/VFS.hpp"
#include "TessesFramework/Filesystem/VFSFix.hpp"
// clang-format on
using FileStream = Tesses::Framework::Streams::FileStream; using FileStream = Tesses::Framework::Streams::FileStream;
using Stream = Tesses::Framework::Streams::Stream; using Stream = Tesses::Framework::Streams::Stream;
using SeekOrigin = Tesses::Framework::Streams::SeekOrigin; using SeekOrigin = Tesses::Framework::Streams::SeekOrigin;
@@ -711,8 +714,8 @@ void HttpServer::StartAccepting() {
} }
if (this->showARTL) { if (this->showARTL) {
if (!svr->IsValid()) if (!svr->IsValid())
StdOut() StdOut() << "\x1B[31mError, we failed to bind or something\x1B[39m"
<< "\x1B[31mError, we failed to bind or something\x1B[39m" << NewLine(); << NewLine();
StdOut() << "\x1B[31mAlmost Ready to Listen\x1B[39m" << NewLine(); StdOut() << "\x1B[31mAlmost Ready to Listen\x1B[39m" << NewLine();
} }

View File

@@ -22,9 +22,12 @@
#include "sago/platform_folders.h" #include "sago/platform_folders.h"
#endif #endif
#if defined(_WIN32) #if defined(_WIN32)
#include "TessesFramework/Filesystem/VFSFix.hpp"
#include "TessesFramework/Text/StringConverter.hpp" // clang-format off
#include <windows.h> #include <windows.h>
#include "TessesFramework/Text/StringConverter.hpp"
#include "TessesFramework/Filesystem/VFSFix.hpp"
// clang-format on
using namespace Tesses::Framework::Text::StringConverter; using namespace Tesses::Framework::Text::StringConverter;
#endif #endif