Commit Graph

140 Commits

Author SHA1 Message Date
12dcd60f04 feat: Add string_utils.cpp to sdl3_app executable for enhanced logging functionality 2026-01-04 01:59:34 +00:00
4edf0a2bbf feat: Enhance logging with detailed function tracing and argument conversion utilities 2026-01-04 01:58:08 +00:00
99a4f756fd feat: Clarify code portability guidelines by emphasizing similarity to Java 2026-01-04 01:55:07 +00:00
25d69bdb1e feat: Add guidelines for reducing C++ specific features to enhance code portability 2026-01-04 01:53:04 +00:00
d8d1c0a557 feat: Enhance logging system with platform-specific error handling and trace functionality
- Added platform detection and user configuration directory retrieval in platform.cpp and platform.hpp.
- Implemented detailed error reporting for Windows in platform.cpp.
- Updated logger to use std::source_location for improved trace logging in logger.hpp.
- Refactored existing trace guards in various application files to remove function name parameters, utilizing the new logger functionality.
- Introduced a new script (add_traces.sh) to automate the addition of logging includes in relevant source files.
- Enhanced audio_player.cpp and other script files to include detailed logging for function entries and variable states.
2026-01-04 01:38:31 +00:00
198179bfca Refactor logging and tracing in SDL3 application
- Replaced macro-based logging with a dedicated Logger class for improved readability and maintainability.
- Introduced TraceGuard class for automatic function entry/exit logging.
- Updated all relevant source files to utilize the new logging and tracing mechanisms.
- Consolidated SDL_MAIN_HANDLED definition into a separate header file (sdl_macros.hpp) for better organization.
- Ensured consistent logging practices across the application, including error handling and debug information.
2026-01-04 01:14:05 +00:00
b5af532c19 feat: Add TraceFunctionWithArgs for enhanced function entry logging with arguments 2026-01-04 00:41:59 +00:00
80609fcf22 feat: Replace trace logging with new logging system and remove trace.hpp 2026-01-04 00:39:49 +00:00
deea1cc19e feat: Enable Vulkan validation layers and improve GPU diagnostics logging 2026-01-04 00:34:04 +00:00
5be0fd8dae feat: Add logger source file to script engine tests for improved logging capabilities 2026-01-04 00:14:56 +00:00
6d542f1046 feat: Integrate logging system for improved error handling and debugging in application components 2026-01-04 00:13:04 +00:00
33ca375034 feat: Implement logging system and integrate into application 2026-01-04 00:10:20 +00:00
e9b944680c feat: Enhance ScriptEngine with Shader and Scene Management
- Added ShaderManager to handle shader paths loading from Lua.
- Integrated SceneManager for managing scene objects within ScriptEngine.
- Updated ScriptEngine to utilize ShaderManager and SceneManager.
- Refactored audio command handling to use AudioManager.
- Improved error handling and Lua integration for shader and scene loading.
- Cleaned up code structure and dependencies in script_engine.hpp.
2026-01-04 00:05:05 +00:00
9719c46a39 Add Lua bindings and mesh loading functionality for enhanced scripting support 2026-01-03 23:52:34 +00:00
5a4dd23df2 Implement PhysicsBridge and ScriptEngine for enhanced physics and scripting capabilities
- Added PhysicsBridge class to manage physics interactions using Bullet Physics.
- Introduced ScriptEngine class to handle Lua scripting, including loading scene objects and managing audio commands.
- Updated test_cube_script to utilize ScriptEngine instead of CubeScript, ensuring compatibility with new architecture.
- Implemented methods for loading meshes, creating physics objects, and handling audio playback within the ScriptEngine.
- Enhanced error handling and input management for Lua scripts.
2026-01-03 23:44:01 +00:00
0ee1f5bc0e Add GPU diagnostics reporting for error handling in rendering 2026-01-03 23:33:11 +00:00
e27528b110 Implement timeout handling for first frame rendering and enhance swapchain recreation diagnostics 2026-01-03 23:22:43 +00:00
0a8b300e14 Add timeout and signal handling for window dimension retrieval in RecreateSwapChain 2026-01-03 23:10:09 +00:00
265302fec3 Implement signal handling to gracefully stop the application 2026-01-03 22:59:38 +00:00
3a4fc2ea8b Enhance validation and error handling across the application
- Implement early Vulkan validation to check availability and version.
- Add comprehensive GPU detection and selection feedback.
- Validate swap chain support and window dimensions before creation.
- Introduce buffer size validation and memory checks during buffer creation.
- Improve error messages with actionable troubleshooting steps.
- Create scripts for rebuilding and testing the application with validation improvements.
2026-01-03 22:56:37 +00:00
b39eec6885 Copy config directory to the binary directory if it exists 2026-01-03 22:48:35 +00:00
070992935c Implement comprehensive error handling and feedback for SDL and Vulkan initialization 2026-01-03 22:43:02 +00:00
3021780e7c Remove CMakePresets.json file to streamline project configuration 2026-01-03 22:29:04 +00:00
301f8f8344 Update CMake and conanfile to use RapidJSON with correct casing and adjust toolchain paths 2026-01-03 22:25:52 +00:00
192eb12474 Add CMake presets and update conanfile for SDL3Cpp integration 2026-01-03 22:15:51 +00:00
62a1d98033 Merge pull request #8 from johndoe6345789/codex/create-tooling-for-diagnosing-github-actions
Add workflow diagnostics tool
2025-12-24 16:03:00 +00:00
a39239c9ee Add workflow diagnostics tool 2025-12-24 16:02:48 +00:00
5620942dd5 Merge pull request #5 from johndoe6345789/codex/update-cmakelists.txt-to-link-sdl3
Use SDL3 package target for SDL demo and tests
2025-12-24 12:11:29 +00:00
4d10ce477c Merge pull request #7 from johndoe6345789/copilot/sub-pr-5
Use SDL3 package target for SDL demo and tests
2025-12-24 12:10:51 +00:00
3b5bcfc82d Guard asset copies with existence checks 2025-12-24 12:02:51 +00:00
dfff364ffe Skip SDL3 app when using sdl package 2025-12-24 12:02:43 +00:00
860a455027 Build CI artifacts for both SDL package names 2025-12-24 11:50:41 +00:00
copilot-swe-agent[bot]
12003b41a5 Initial plan 2025-12-24 11:47:40 +00:00
c2932ddc79 Merge branch 'main' into codex/update-cmakelists.txt-to-link-sdl3 2025-12-24 11:43:59 +00:00
76bea24767 Merge pull request #6 from johndoe6345789/copilot/sub-pr-5
Parameterize SDL version selection for build and test
2025-12-24 11:43:01 +00:00
copilot-swe-agent[bot]
35cda019fa Remove SDL2 option, keep only SDL3 and sdl
Co-authored-by: johndoe6345789 <224850594+johndoe6345789@users.noreply.github.com>
2025-12-24 11:31:52 +00:00
copilot-swe-agent[bot]
8f727ab315 Change SDL version selection to support SDL3, SDL2, and sdl
Co-authored-by: johndoe6345789 <224850594+johndoe6345789@users.noreply.github.com>
2025-12-24 11:16:52 +00:00
copilot-swe-agent[bot]
72bbea3caa Improve USE_SDL3 option documentation and add clarifying comment
Co-authored-by: johndoe6345789 <224850594+johndoe6345789@users.noreply.github.com>
2025-12-24 10:35:50 +00:00
copilot-swe-agent[bot]
4ea38f7d3f Add USE_SDL3 option to parameterize SDL version
Co-authored-by: johndoe6345789 <224850594+johndoe6345789@users.noreply.github.com>
2025-12-24 10:34:08 +00:00
copilot-swe-agent[bot]
2af92f67e4 Initial plan 2025-12-24 10:30:37 +00:00
d8451cdc3d Use SDL3 imported target for linking 2025-12-24 10:27:38 +00:00
28a75f4f1a Merge pull request #4 from johndoe6345789/codex/refactor-cmake-configuration-for-sdl
Gate SDL3-dependent tests on build option
2025-12-24 10:16:30 +00:00
6996c823c6 Gate SDL3-dependent tests on build option 2025-12-24 10:16:18 +00:00
299d78bbd8 Merge pull request #3 from johndoe6345789/johndoe6345789-patch-1
Johndoe6345789 patch 1
2025-12-19 19:36:22 +00:00
36ce6c3533 remove patch 2025-12-19 19:35:38 +00:00
efc115c936 upgrade workflow 2025-12-19 19:31:47 +00:00
26c0e1b0e9 Update workflow.patch 2025-12-19 19:29:17 +00:00
fd7b19a19a Create workflow.patch 2025-12-19 19:13:43 +00:00
3e557640d8 Merge pull request #2 from johndoe6345789/renovate/migrate-config
Migrate Renovate config
2025-12-19 18:59:05 +00:00
renovate[bot]
1965a16fdc Migrate config renovate.json 2025-12-19 18:58:30 +00:00