12 Commits
Author SHA1 Message Date
西风逍遥游 6932e82f08 fix(data): hash empty inputs without undefined behavior 2026-08-30 13:43:28 +08:00
西风逍遥游 61fc173217 fix(ci): handle empty hashes and platform limits 2026-08-30 13:43:28 +08:00
西风逍遥游 7437224c90 api(graphics): align C++/script names, validate sampler strings, document error contracts
- Add RGBA-float drawSolidRect/drawTexturedRect overloads so the C++ names
  match the script-facing API (script already bound those names).
- Add string-based setTextureSampler(Texture*, filter, mipmap, aniso, lodBias)
  overload with strict magic-string validation (unknown filter/mipmap now
  throws instead of silently falling back to linear); keep
  setTextureSamplerParams as a deprecated alias. Script binding now targets
  the overload with an explicit cast.
- Document error contracts: DataModule encode/decode (new[] ownership +
  throws), Filesystem setSource/mount/unmount (false on recoverable failure,
  no throw), ModelData getMesh vs numeric getters (nullptr vs throw), plus a
  two-state error-semantics section in API-CONVENTIONS.md.
- Tests: TextureSampler string validation (valid + deprecated alias + typo
  throws), headless test now exercises the RGBA-float overloads.
2026-08-22 02:30:12 +08:00
西风逍遥游 a02c185216 chore: remove outdated copyright notices from source files 2026-08-20 19:39:03 +08:00
西风逍遥游 4377e062dd feat: zeroerr parameter validation + Doxygen API documentation
Squashed onto current main. Adds src/engine/common/Assert.h (EV_PARAM_CHECK / EV_ASSERT backed by zeroerr), an EVENGINE_ENABLE_ASSERTS option (non-Debug builds strip ZEROERR_NO_ASSERT unless enabled), parameter checks at key entry points, Doxygen comments across headers, Doxyfile + make docs / CMake docs targets, and Windows setup + code conventions in AGENTS.md.
2026-08-19 09:01:12 +08:00
西风逍遥游 50a230f5a3 Revert "feat: zeroerr parameter validation + Doxygen API documentation (#113)"
This reverts commit 3f3e41990b, reversing
changes made to 7d6375bc95.
2026-08-19 08:36:18 +08:00
西风逍遥游 228b5a0f15 docs: add Doxygen API comments, docs target, and Windows AGENTS.md
Normalize all header comments to Doxygen @brief form and fill in missing class/method docs across engine common, cmdline, and module headers (~2368 @brief entries). Add root Doxyfile, 'make docs' target, CMake docs target, .gitignore for docs/api, README/docs/dev updates, and a Windows (native) + code-conventions section in AGENTS.md.
2026-08-19 00:13:35 +08:00
西风逍遥游 e614406baf chore: update submodule and enhance CMake configurations
- Updated the zeroerr submodule to the latest commit for improved functionality.
- Modified CMakeLists.txt to include additional system libraries for better compatibility across UNIX platforms.
- Added <cstdint> includes in multiple header files to ensure proper type definitions.
- Introduced a new hotReload variable in the demo script to support dynamic updates.
2026-08-07 17:21:44 +08:00
西风逍遥游 5559bc5439 feat: enhance DataModule with JSON and XML document handling
Add methods for creating, decoding, and encoding JSON and XML documents in the DataModule. Introduce new classes for JsonDocument and XmlDocument, and update the CMake configuration to include necessary compile definitions for the EVData module.
2026-08-05 14:21:13 +08:00
西风逍遥游 f2e6173bca fix a few bugs 2024-06-12 21:01:26 -07:00
西风逍遥游 522218c502 Modified Data module 2024-06-12 00:15:41 -07:00
西风逍遥游 6c5f4bd436 finish filesystem 2021-09-29 21:55:35 -07:00