Skip to content

The third revision#9

Merged
habedi merged 8 commits into
mainfrom
develop
Aug 11, 2025
Merged

The third revision#9
habedi merged 8 commits into
mainfrom
develop

Conversation

@habedi

@habedi habedi commented Aug 11, 2025

Copy link
Copy Markdown
Member
  • Added video playback via JavaFX and audio playback (Add support for viewing binary files #5).
  • Added WelcomePanel and AboutDialog for better user interaction.
  • Improved toolbar with new tools and SVG icons (Improve the toolbar #6).
  • Improved theme settings for a uniform look.
  • Added support for JPEG and TGA images via TwelveMonkeys ImageIO.
  • Fixed font loading problem.
  • Expanded unit tests for PackageManager.
  • Refactored code for easier testing.
  • Fixed build and styling errors.
  • Applied bug fixes, including font loading issues.
  • Improved unit test coverage, especially for PackageManager functionalities.
  • Refactored code for better testability and resolved build and styling issues.

google-labs-jules Bot and others added 8 commits August 9, 2025 10:47
…critical bug fixes and an expansion of the unit test suite.

The key changes are:

1.  **Fix Font Loading Bug:**
    - Resolved a `FontFormatException` that occurred on startup by wrapping the font resource `InputStream` in a `BufferedInputStream` in `FontManager.java`.
    - Added `FontManagerTest.java` to verify the fix and prevent future regressions.

2.  **Add New Unit Tests for PackageManager:**
    - Added a test to ensure an `IOException` is thrown when attempting to add a file that exceeds the maximum size limit.
    - Added tests to verify that the `isModified` flag is correctly set after `updateAssetContent`, `updateAssetMeta`, and `removeDirectory` operations. This improves the reliability of the unsaved changes tracking.

3.  **Refactor for Testability:**
    - Refactored `PackageManager` to allow its max asset size limit to be configurable via a new constructor, making the size-limit logic testable without using reflection.

4.  **Fix Checkstyle and Build Issues:**
    - Addressed numerous checkstyle warnings throughout the codebase, including replacing wildcard imports, fixing naming conventions, and adding missing braces.
    - Resolved several compilation and formatting errors that were discovered during the development process.
…icons for improved UI layout and functionality
@habedi habedi self-assigned this Aug 11, 2025
@habedi habedi merged commit d9c2158 into main Aug 11, 2025
5 of 7 checks passed
@habedi habedi deleted the develop branch August 11, 2025 18:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant