13 Commits
Author SHA1 Message Date
西风逍遥游 5741795fe3 fix: validate representative tests across native GPU backends 2026-09-11 14:19:51 +08:00
西风逍遥游 7d513f767f test: replace redundant work with representative behavioral checks 2026-09-10 15:34:01 +08:00
西风逍遥游 63246b8c68 fix: complete architecture consolidation contracts 2026-08-28 00:01:55 +08:00
西风逍遥游 a8b8e83128 refactor: consolidate engine architecture contracts 2026-08-27 12:54:48 +08:00
西风逍遥游 969575511e fix(network): add owning C++ factories 2026-08-24 21:04:00 +08:00
西风逍遥游 047c8bb5f6 fix(network): make worker shutdown reentrant 2026-08-24 21:01:50 +08:00
西风逍遥游 0238071fba refactor(network): hide worker lifecycle internals 2026-08-24 20:48:48 +08:00
西风逍遥游 4b32a0e06b fix(event): add owning messages and payloads 2026-08-24 20:48:28 +08:00
西风逍遥游 811eff1c3a ci(quality): warnings-as-errors gate, sanitizers, smoke, Python lint/tests
- EVENGINE_ENABLE_STRICT_WARNINGS option: MSVC /W4 /WX, GCC/Clang
  -Wall -Wextra -Werror, with documented noise suppressions and
  -isystem/-external:I for third-party headers; enabled on the
  Windows/Linux debug CI jobs.
- Fix warnings across engine, modules and tests exposed by the gate,
  including real bugs (incomplete-type deletes, Timespan microsecond
  overflow, overload hiding, enum switch gaps, dead code).
- Add Linux ASan+UBSan job, example smoke step, python-tools test
  job, ruff config (scripts+tools), weekly Linux coverage job and a
  CodeQL workflow.
2026-08-22 02:27:37 +08:00
西风逍遥游 d75e3bcf0d network: reliable UDP transport, RPC and multi-peer host
- UdpLink: reliable/unreliable/unreliable-ordered UDP with ACK/retransmit,
  fragmentation, heartbeat and loss simulation; main-thread pump routing
- NetRpc: u16 msgId + payload envelope, C++ handlers and script closures
- NetHost: shared-socket multi-peer routing with auto peer ids and lifecycle
  events (peerconn/peerdisconn)
- NetReader/NetWriter: typed little-endian serialization primitives
- TcpSocket: queued sends with partial-write/would-block handling; connect
  timeout unit fix; UDP socket buffers raised to 1MiB
- Tests mirrored in test/network.cpp; docs: design spec + user module doc
2026-08-19 04:08:24 +08:00
西风逍遥游 d62b916c5a fix: improve file handling and audio source management
- Updated file handling to ensure proper opening in binary mode for reading, addressing issues with the PhysFS backend.
- Refactored audio source management by renaming and consolidating stream unregistration methods to prevent potential deadlocks.
- Enhanced mouse position handling to ensure reliable updates in SDL, particularly when window focus is lost.
- Added new tests for filesystem operations and HTTP request handling, including verification of SSL behavior in HTTPS requests.
2026-08-05 18:47:22 +08:00
西风逍遥游 e21dbcf1ea feat: enhance audio and data handling with new test cases
- Added comprehensive unit tests for audio functionalities, including playback control, volume adjustments, and source management.
- Implemented new tests for data handling, focusing on ByteData and DataView functionalities, ensuring proper memory management and error handling.
- Updated CMakeLists to include new test files for improved coverage and organization.
- Enhanced event handling tests to verify message processing and variant functionalities.
2026-08-05 17:51:48 +08:00
西风逍遥游 eada3e1d2c feat: implement network module with TCP/UDP support and event handling
Add a new Network module that includes TCP and UDP socket management, HTTP request handling, and session management. Introduce event emission for network events and integrate with the existing event system. Update CMake configurations to include the new module and its dependencies.
2026-08-05 14:01:09 +08:00