Commit Graph

2501 Commits

Author SHA1 Message Date
scawful
baedab91c8 Add include for stdlib in YAZE test file
- Added `<cstdlib>` header to `yaze_test.cc`, enabling the use of standard library functions.
- This change enhances the functionality of the test suite by allowing for additional features from the C++ standard library.
2025-09-28 18:12:04 -04:00
scawful
831a8dcb82 Enhance CMake configuration for Windows builds
- Added conditional linking of the Windows resource file for x64 architecture in `CMakeLists.txt`, improving build specificity for Windows targets.
- This change ensures that the resource file is only linked when building for 64-bit Windows, enhancing the project's compatibility and build process.
2025-09-28 18:10:36 -04:00
scawful
72dbfc537f Update vcpkg configuration and GitHub Actions workflow with new baseline
- Set the `builtin-baseline` in `vcpkg.json` to `2024.12.18`, ensuring compatibility with the latest dependencies.
- Updated the GitHub Actions workflow to include the new `vcpkgGitCommitId`, improving the build process reliability.
2025-09-28 18:00:29 -04:00
scawful
fa6f2a231a Update vcpkg configuration and GitHub Actions workflow
- Removed the `builtin-baseline` entry from `vcpkg.json`, streamlining the configuration.
- Updated the GitHub Actions workflow to remove the hardcoded `vcpkgGitCommitId`, enhancing flexibility.
- Added `VCPKG_DEFAULT_HOST_TRIPLET` and `VCPKG_FEATURE_FLAGS` to improve build configuration options.
2025-09-28 17:55:12 -04:00
scawful
694a246103 Update vcpkg configuration to use new baseline and improve GitHub Actions workflow
- Changed the `builtin-baseline` in `vcpkg.json` to the latest version `2024.09.12`, ensuring compatibility with updated dependencies.
- Updated the GitHub Actions workflow to reflect the new baseline, enhancing the reliability of the build process.
- Added a timeout for the vcpkg job and enabled the use of system binaries, improving the efficiency of the workflow.
2025-09-28 17:49:07 -04:00
scawful
43f4e97c7d Update CMake configuration in YAZE project to include additional build options
- Modified the `ConfigureCMake` target in `YAZE.vcxproj` to add options for generating libraries and executables, enhancing the build flexibility.
- This change improves the project's configuration by allowing for more granular control over the build outputs.
2025-09-28 17:41:26 -04:00
scawful
1ac48139c7 Update CMake configuration to enhance test suite management
- Modified `CMakeLists.txt` to cache the `YAZE_BUILD_TESTS` option, improving clarity in test suite configuration.
- Updated the GitHub Actions workflow to include verification steps for the CMake configuration, ensuring that test targets are correctly identified.
- Adjusted test discovery logic in `test/CMakeLists.txt` to double-check that tests are enabled, enhancing the robustness of the build process.
2025-09-28 17:36:19 -04:00
scawful
e77b38ee20 Update YAZE project configuration to include additional Abseil library directories
- Expanded the `AdditionalLibraryDirectories` in `YAZE.vcxproj` to include multiple directories for Abseil libraries, enhancing the project's dependency management.
- This change improves the build process by ensuring that all necessary Abseil components are correctly referenced, supporting better functionality and performance.
2025-09-28 17:32:17 -04:00
scawful
f257425782 Update YAZE project configuration to include additional Abseil library dependencies
- Expanded the `AdditionalDependencies` in `YAZE.vcxproj` to include multiple Abseil libraries, enhancing the project's functionality and dependency management.
- Added custom build steps for the new Abseil targets, ensuring they are built as part of the overall project workflow.
- This change improves the build process by integrating necessary libraries for better performance and feature support.
2025-09-28 17:27:36 -04:00
scawful
ea6659763b Remove custom build steps for asar, ImGui, and Abseil libraries from YAZE project configuration
- Eliminated custom build commands in `YAZE.vcxproj` related to asar, ImGui, and Abseil libraries, streamlining the project configuration.
- Updated `YAZE.vcxproj.filters` to remove associated filters, enhancing clarity in project dependencies.
- This change simplifies the build process and focuses on essential components.
2025-09-28 17:20:15 -04:00
scawful
ad7673f31d Add custom build step for Abseil library in YAZE project configuration
- Introduced a new custom build command in `YAZE.vcxproj` to configure and build the Abseil library, enhancing the project's dependency management.
- Updated the `ConfigureCMake` target to include the build step for Abseil, ensuring a more comprehensive build process.
- This change improves the overall organization and efficiency of the build workflow.
2025-09-28 17:15:36 -04:00
scawful
cf0e51b96b Update CMake configuration in YAZE project to enforce policy version
- Modified custom build commands in `YAZE.vcxproj` for asar and ImGui libraries to include `-DCMAKE_POLICY_VERSION_MINIMUM=3.5`, ensuring compatibility with newer CMake policies.
- Updated the `ConfigureCMake` target to reflect the policy version requirement, enhancing the build process's reliability and clarity.
2025-09-28 17:10:58 -04:00
scawful
25d361eedb Enhance YAZE project build process by configuring CMake targets
- Updated custom build steps in `YAZE.vcxproj` to include CMake configuration commands for asar and ImGui libraries, improving the build workflow.
- Introduced new targets for configuring CMake and building dependencies, ensuring a more organized and efficient build process.
- This change streamlines the build setup and enhances clarity in project configuration.
2025-09-28 17:08:45 -04:00
scawful
b7b8962e13 Enhance release workflow by adding build directory cleanup steps
- Introduced steps to clean the build directory for both Linux/macOS and Windows environments before configuring CMake, ensuring a fresh build configuration and avoiding potential cache issues.
- This change improves the reliability of the build process across different operating systems.
2025-09-28 17:05:38 -04:00
scawful
0d24738c78 Refactor YAZE project configuration to remove asar and ImGui libraries
- Removed references to the asar and ImGui projects from the YAZE solution, streamlining the project structure.
- Updated custom build steps in the `YAZE.vcxproj` file to reflect changes, ensuring that the build process remains organized.
- Adjusted the `YAZE.vcxproj.filters` file to remove filters related to the removed libraries, enhancing clarity in project dependencies.
2025-09-28 17:04:03 -04:00
scawful
df11786348 Add asar and ImGui libraries to YAZE project configuration
- Introduced new projects for the asar and ImGui libraries in the YAZE solution, enhancing the project's capabilities.
- Configured custom build steps for both libraries in the YAZE.vcxproj file, ensuring they are built as part of the overall project.
- Updated the YAZE.vcxproj.filters file to organize the new dependencies under appropriate filters, improving project structure and clarity.
2025-09-28 17:00:49 -04:00
scawful
13d1f97c0c Update YAZE project configuration to remove SDL2 dependencies and add SDL2 package reference
- Modified the `AdditionalDependencies` in the `YAZE.vcxproj` file to remove references to SDL2 and SDL2main libraries across all configurations, streamlining the dependency management.
- Added a new `PackageReference` for SDL2 version 2.28.5, ensuring that the project can utilize the SDL2 library through package management.
- These changes enhance the project's build organization and align with the current strategy for managing dependencies.
2025-09-28 16:52:28 -04:00
scawful
8229980488 Update YAZE project configuration to correct library directory paths for vcpkg integration
- Modified `AdditionalLibraryDirectories` in the `YAZE.vcxproj` file to replace the Vcpkg root path with a more appropriate reference to the local vcpkg installation directory.
- This change ensures that the project correctly locates libraries installed via vcpkg, improving build reliability and organization across different configurations.
2025-09-28 16:38:49 -04:00
scawful
79e381b1c7 Update YAZE project configuration to integrate vcpkg for library management
- Added import statements for vcpkg props and targets in the `YAZE.vcxproj` file to enable vcpkg integration.
- Updated `AdditionalLibraryDirectories` to include paths for libraries installed via vcpkg, enhancing dependency management and build organization across configurations.
- These changes streamline the build process and align with the project's strategy for using vcpkg for library dependencies.
2025-09-28 16:34:08 -04:00
scawful
40127b702e Refactor message tests to improve ROM loading checks and class naming
- Renamed `MessageTest` to `MessageRomTest` for clarity in context.
- Added checks to skip tests if the ROM file is not available or if tests are disabled via environment variable, enhancing test robustness.
- Updated all test cases to use the new class name, ensuring consistency across the test suite.
2025-09-28 16:32:02 -04:00
scawful
9066c8a3c0 Refactor test configuration in CMake to enable conditional test builds
- Updated `CMakeLists.txt` to conditionally build the test executable based on the `YAZE_BUILD_TESTS` flag, enhancing flexibility in test management.
- Removed hardcoded test executable configurations and replaced them with conditional logic for minimal and development builds.
- Improved organization of test files and dependencies, ensuring that tests are only built and discovered when enabled, streamlining the build process.
2025-09-28 16:25:40 -04:00
scawful
46a8590b7f Update YAZE project configuration to switch to dynamic library linkage and adjust SDL2 dependencies
- Modified the `YAZE.vcxproj` file to change the Vcpkg triplet settings for Windows platforms from static to dynamic.
- Updated the `AdditionalDependencies` for various configurations to use dynamic versions of SDL2 libraries, enhancing compatibility and reducing build complexity.
- Adjusted the `cmake/vcpkg.cmake` file to reflect the change in library linkage, ensuring consistent behavior across builds.
2025-09-28 16:19:42 -04:00
scawful
0fe3ed6029 Update YAZE project configuration to enable vcpkg integration for static libraries
- Added a PropertyGroup in the `YAZE.vcxproj` file to enable vcpkg manifest mode and specify static triplets for Win32, x64, and ARM64 platforms.
- This change enhances the project's dependency management and aligns with the current strategy for using static libraries.
2025-09-28 16:11:56 -04:00
scawful
3ec6f7f913 Update YAZE project configuration to use static SDL2 libraries and improve CMake integration
- Modified the `YAZE.vcxproj` file to replace dynamic SDL2 library dependencies with static versions, enhancing build performance and reducing runtime dependencies.
- Updated `cmake/sdl2.cmake` to prioritize vcpkg for SDL2 on Windows, falling back to bundled SDL when necessary, and improved handling for non-Windows platforms.
- Adjusted `cmake/vcpkg.cmake` to set the library linkage to static, ensuring consistent behavior across builds.
- These changes streamline the build process and align with the project's library management strategy.
2025-09-28 16:09:57 -04:00
scawful
2d7833be8b Update YAZE project configuration to use SDL2 dynamic libraries
- Modified the `YAZE.vcxproj` file to replace static library dependencies with dynamic versions of SDL2, streamlining the build process.
- Adjusted additional library directories and dependencies across various configurations (Debug/Release, Win32/x64/ARM64) for improved compatibility and organization.
- This change enhances the project's flexibility and aligns with the current library management strategy.
2025-09-28 15:56:25 -04:00
scawful
cd66ce0d50 Update YAZE project configuration to use static libraries and improve library paths
- Replaced dynamic library dependencies with static versions in the `YAZE.vcxproj` file, enhancing build performance and reducing runtime dependencies.
- Added additional library directories to streamline the build process across different configurations (Debug/Release, Win32/x64/ARM64).
- This change improves the overall project structure and ensures compatibility with the new static library setup.
2025-09-28 15:53:06 -04:00
scawful
edf5cb2c51 Enhance EditorIntegrationTest for ImGui Test Engine support
- Added conditional compilation for the ImGui Test Engine in `EditorIntegrationTest`, allowing for test registration and engine initialization when enabled.
- Updated the constructor and destructor to manage the test engine context appropriately.
- Improved the `Initialize` method to include test engine setup and registration, enhancing the integration testing capabilities.
- Ensured compatibility with scenarios where the ImGui Test Engine is disabled by providing default implementations for related methods.
2025-09-28 15:44:44 -04:00
scawful
a3b60eaf5c Refactor Tracker::LoadSongs function by commenting out unused code and variables
- Commented out a significant number of unused variable declarations and code segments in the `LoadSongs` function to enhance readability and maintainability.
- This change does not impact functionality but reduces clutter, preparing the code for future enhancements.
2025-09-28 15:28:45 -04:00
scawful
8e5bfb962b Update ROM loading assertions in integration tests for improved error handling
- Replaced direct calls to `rom_->LoadFromData` with `ASSERT_OK` assertions in `OverworldIntegrationTest` and `OverworldV3IntegrationTest` to enhance error handling and ensure robust test execution.
- This change aligns with recent improvements in error management across the testing framework.
2025-09-28 15:25:14 -04:00
scawful
41326edd91 Refactor E2E ROM tests to improve error handling and readability
- Updated ROM reading assertions to handle potential errors using status checks, enhancing robustness in the E2E tests.
- Simplified byte and word read operations by storing results in variables and checking their status before assertions, improving code clarity.
- Ensured consistency in transaction system tests by applying similar error handling practices.
2025-09-28 15:24:19 -04:00
scawful
3210cc0ab6 Refactor Tracker::SaveSongs function by commenting out unused variables and code
- Commented out a large number of unused variable declarations and code segments in the `SaveSongs` function to improve readability and maintainability.
- This change does not affect the functionality but prepares the code for future enhancements by reducing clutter.
2025-09-28 15:22:55 -04:00
scawful
a7efecf830 Remove outdated documentation files for vcpkg integration and Visual Studio setup
- Deleted `vcpkg-integration.md`, `vcpkg-triplet-setup.md`, `visual-studio-setup.md`, and `windows-development-guide.md` to streamline documentation and eliminate redundancy.
- These files were replaced by more concise and updated build instructions, ensuring users have access to the latest setup information.
2025-09-28 15:19:46 -04:00
scawful
6cb10aac47 Enhance CI testing framework and documentation
- Updated CI workflow to include the new MessageTest in core tests and refined additional unit tests for better information capture.
- Introduced a simplified CI test executable (`yaze_test_ci.cc`) to improve reliability by excluding ROM-dependent and E2E tests.
- Expanded documentation to detail the testing system, including categories, execution methods, and configuration options for local and CI environments.
- Improved CMake configuration to differentiate between minimal and full-featured test builds, ensuring appropriate test execution based on the build type.
2025-09-28 15:17:38 -04:00
scawful
90f8d8b915 Remove unused system editor files from YAZE project configuration
- Deleted references to `system_editor.cc` and `system_editor.h` from YAZE.vcxproj and YAZE.vcxproj.filters to clean up the project structure.
- Updated `room_object.cc` to use a direct assignment for `gfx::TileInfo` and commented out unused code in `room.cc` and `tracker.cc` for clarity and future reference.
2025-09-28 15:12:15 -04:00
scawful
97f00d3fc6 Add E2E and ZSCustomOverworld test suites for comprehensive testing
- Introduced new E2E test suite for comprehensive ROM testing, validating the complete ROM editing workflow.
- Added ZSCustomOverworld test suite to validate version upgrades and data integrity.
- Updated `EditorManager` to register the new test suites.
- Enhanced CMake configuration to include the new test files.
- Updated README to reflect the new testing capabilities and best practices for AI agent testing.
2025-09-28 15:11:31 -04:00
scawful
ddf63165eb Remove legacy Visual Studio project generation scripts
- Deleted `generate-vs-projects-simple.py`, `generate-vs-projects.bat`, and `generate-vs-projects.ps1` scripts to streamline project setup.
- Updated `README.md` to reflect the removal of these scripts and simplify project generation instructions.
- Removed `test_asar_integration.py` and `test-vs-generation.ps1` scripts as part of the cleanup process.
2025-09-28 14:50:04 -04:00
scawful
e10d29b802 Update YAZE project configuration and build instructions
- Increased warning level to Level4 in YAZE.vcxproj for better code quality checks.
- Enhanced preprocessor definitions to address C++23 deprecation warnings and improve compatibility with Clang.
- Added additional compiler options for better build performance and compatibility.
- Updated build instructions to recommend Clang for Windows, highlighting its advantages over MSVC.
- Included detailed setup options for both Clang and MSVC, along with troubleshooting tips for common issues.
2025-09-28 14:47:54 -04:00
scawful
0d20065fd0 Update release workflow to specify shell for build and packaging steps
- Added 'bash' as the shell for the Build and Package steps in the release workflow to ensure consistent execution environment.
- This change enhances compatibility and reliability during the CI process.
2025-09-28 14:43:14 -04:00
scawful
8f661eab18 Add Generated Files filter and custom build commands in YAZE.vcxproj
- Introduced a new filter for "Generated Files" to organize generated headers and configuration files.
- Added custom build commands to generate the yaze_config.h file with versioning information for different build configurations (Debug and Release) across multiple platforms (Win32, x64, ARM64).
- Removed an unused header file from the project structure to streamline the codebase.
2025-09-28 14:41:09 -04:00
scawful
c2ffbab1bd Add YAZE.vcxproj.filters for project organization
- Introduced a new filters file (YAZE.vcxproj.filters) to enhance project structure in Visual Studio.
- Organized source, header, and resource files into logical groups for better navigation and management.
- Included various filters for application components, editor modules, and assets to streamline development workflow.
2025-09-28 14:29:46 -04:00
scawful
a4821a28e1 Enhance CI workflow and packaging process
- Added support for post-build test discovery in the release workflow to improve testing efficiency.
- Updated Windows packaging logic to prefer CMake-generated packages, with fallback to manual packaging if necessary.
- Improved error handling and output messages during the packaging process for better clarity and reliability.
- Conditional test discovery based on the YAZE_BUILD_TESTS flag in CMakeLists.txt to streamline test execution.
2025-09-28 14:11:02 -04:00
scawful
560c8fd4dd fix invalid filename in yaze vcxproj 2025-09-28 14:03:26 -04:00
scawful
bd049a14fd Update release workflow to standardize naming and improve patch function signatures
- Changed the release notes header from "Yaze" to "yaze" for consistency in the release workflow.
- Updated the CreateBpsPatch and ApplyBpsPatch functions in bps.h to return absl::Status for better error handling and clarity.
2025-09-28 12:28:13 -04:00
scawful
9bb67b2fe1 Update Visual Studio project configuration and enhance CI workflow
- Modified the YAZE.vcxproj file to include additional include directories for improved project structure and dependency management.
- Added new header and source files related to the editor and Zelda3 components, expanding the project's functionality.
- Removed the non-blocking test execution step from the GitHub Actions workflow to streamline the release process.
2025-09-28 12:24:36 -04:00
scawful
1b7a622f9c Remove unused project references and enhance pre-release testing in CI workflow
- Deleted references to the yaze_test, yaze_core, yaze_c, and z3ed projects from the Visual Studio solution file (YAZE.sln) to streamline the project structure.
- Added a non-blocking test execution step for pre-release versions in the GitHub Actions workflow (release.yml), allowing tests to run without failing the release process, improving CI reliability.
2025-09-28 12:13:35 -04:00
scawful
4b01d7be1d Add initial Visual Studio solution and project files
- Created a new Visual Studio solution file (YAZE.sln) to manage the project structure.
- Added a project file (YAZE.vcxproj) with configurations for Debug and Release builds across multiple platforms (Win32, x64, ARM64).
- Established initial project structure with relevant source and header files included for compilation.
- Updated theme manager to remove unnecessary logging statements, streamlining the code for better readability.
2025-09-28 12:08:11 -04:00
scawful
cb107ae69c Remove PNG and ZLIB support from the project
- Eliminated all references to PNG and ZLIB dependencies in CMake configuration and project files.
- Updated documentation to reflect the removal of PNG support and related functionalities.
- Adjusted build scripts and source files to remove unused code related to PNG handling, ensuring a cleaner codebase.
2025-09-28 12:03:29 -04:00
scawful
dfc5b329af Enhance vcpkg integration in project generation script
- Improved the vcpkg path checking mechanism to include additional common installation locations and check for global installations.
- Added support for manifest mode by detecting the presence of a vcpkg.json file, allowing automatic dependency management.
- Enhanced output messages to provide clearer feedback on vcpkg usage and installation status, improving user experience.
2025-09-28 11:18:56 -04:00
scawful
d69609abec Enhance Windows packaging process in release workflow
- Updated the Windows packaging step in release.yml to use PowerShell's Compress-Archive for creating zip files, improving compatibility and reliability.
- Added informative echo statements to clarify the packaging process for Windows builds.
2025-09-28 11:11:15 -04:00
scawful
c16725b61d Fix vcpkg path handling in project generation script
- Updated the vcpkg path check in the generate-vs-projects.ps1 script to ensure proper path formatting.
- Changed the path concatenation method for improved clarity and consistency.
2025-09-28 11:04:58 -04:00