Skip to content

MyGUI 3.5.0

Choose a tag to compare

@Altren Altren released this 12 Jul 16:37
· 397 commits to master since this release

CMake

  • Complete CMake modernization:
    • Provide modern CMake targets: target_link_libraries(... MyGUI::MyGUI MyGUI::SomePlatform)
    • Expose user-facing compile definitions through MyGUI::MyGUI
    • Replace global CMake commands with target_include_directories, target_compile_definitions, and
      target_compile_options, along with other CMake code improvements
  • Deprecate MYGUI_STATIC in favor of BUILD_SHARED_LIBS
  • Use FetchContent to get internal/optional dependencies like pugixml and msdfgen
  • Allow using system msdfgen
  • Change the default value of MYGUI_RENDERSYSTEM to 7 (OpenGL 3.x)

Core

  • Fonts improvements
    • Implement dynamic kerning support
    • Add "monochrome" hinting mode, good for small fonts
    • Make text selection have one quad per line; colored glyphs selection is now same as non-colored glyphs
    • Fix MSDF font selected area having 2 pixels gap between lines
  • Replace the custom XML parser with pugixml
  • Modernize and refactor source code: simplify duplicated code paths, enable and fix new warnings, some old APIs were
    marked as deprecated
  • Store ImageIndexInfo properly and fix UB caused by a reference to a temporary variable
  • Fix link error with hidden visibility across shared library boundary on macOS ARM64
  • Add std::vector and std::map getters for children and other collections, and deprecate the Enumerator class and related code
  • Add LayerManager::destroyLayer

Platforms

  • OgreNext: Implement platform for pre-4.0 versions
  • Make DataManager::getDataListNames and getSystemFileList return by value
  • OpenGL: Use core framebuffer functions instead of EXT variants
  • OpenGL: Fix build on macOS
  • Ogre: Fix tools and demos when statically linked
  • Ogre: Allow using the same shader across GL, GL3+, and GLES render systems
  • DirectX: Implement DirectX11Texture and DirectXTexture::saveToFile
  • DirectX: Fix selected text background with DirectX11 and MSDF shader (no zero division with 0.5/fwidth)
  • DirectX: Remove D3DX9 and D3DX11 usage in favor of the Windows SDK versions of DirectX9 and DirectX11
  • Ogre: Fix Emscripten-related issues

Infrastructure

  • Replace Travis CI with GitHub Actions
  • Add Lint CI step (clang-format)
  • Add clang-format pre-commit hook
  • Add CI builds for major operating systems and most render systems
  • Add header self-containment check (check_includes.py) to CI
  • Add CI step to test installation

Plugins

  • Remove plugin support, as it was unused.
  • Remove legacy plugins (Berkelium, Hikari).

Tools

  • FontEditor: better text for the "try" area (kerning test)
  • FontEditor: fix crash when exporting fonts that are also used in the editor

Demos

  • Allow saving screenshots on all platforms, using F12 key
  • Improve Demo_MsdfFont: runtime-generated MSDF fonts and font cycling
  • Compile UnitTest_GraphView on all platforms