* Implement new log macros based on fmtlib
* Fix ci
* Fix ci
* Fix android ci
* Fix warnings
* Replace more ax::log by AXLOGX
* Fix ci
* Fix linux build
* Use stack memory for log prefix
* Fix linux build
* Fix warning
* Add ILogOutput support
* Replace old log calls with new log macros
* Fixup
* Fixup
* Fixup
* Update ci msvc to 14.39
* Update Console.h [skip ci]
* Pass log level to ILogOutput
* Add id tag to several RichText elements to allow locating the nodes in RichText
Add font related styling to paragraph tags
* Move functionality out of ListView and into ScrollView to allow scrolling to a specific child node within a ScrollView
* Add function to allow finding protected child node by name
* Example of anchor tags to local RichText content in a ScrollView
* Fix string storage type
* Add paragraph tag support
Add HTML header tags support
Add multi-new line rich text element
Add support for end of tag action
General code clean up
* Remove redundant additions
* Fix compilation issue on platforms other than Windows
* Remove redundant constructors and destructors.
Initialize member variables.
Remove explicit inline specifier since all member class functions are implicitly inlined.
* Remove final specifier on Node::visit() to allow Scene to override it
Scene can now be visited correctly with valid cameras being set for child nodes when rendering outside of normal render loop.
* Add required copyright notice
* Allow HttpClient and Websocket implementations to be excluded from build
* Allow LLHTTP to be excluded from build
* Add descriptions of new options
* Rename options based on current convention of AX_ENABLE_XXX
* Restructure extension folder structure to reduce conflicts with project source files
* Do not include SDFGen headers for Android builds
* Ensure correct paths are included for the relevant targets
* ImGui is not be enabled for WinUWP, tvOS and iOS
* Fix LUA auto binding generator to work with updated extension folder structure
* Fix path and linker issues for yasio when using prebuilt option
Set correct paths to extensions for prebuilt option
* Fix memory leaks when axmol apps exit on non-embed systems
1. DriverBase no destroyInstance
2. Every object inherited from ax::Ref shoud destory before ScriptEngineManager, otherwise will trigger it's reinit and leak
3. QuadCommand always leak isolated indices
4. static singleton should'nt inhert from ax::Ref due to destory it before ScriptEngineManager impossible
5. Make Director don't inherit from ax::Ref due to it also cause ScriptEngineManager re-init, because we destroy ScriptEngineManger in destructor of Director
6. Explicit Director managed by Application and don't delete self at purgeDirector, since it will release at mainLoop and re-init in glView->pollEvents then leak
7. Rename ApplicationProtocol to ApplicationBase
8. Rename purgeDirector since we don't delete director self at it, maye rename to cleanup
9. Change ShaderCache to new/delete singleton, managed by ProgramManager
---------
Co-authored-by: lich426 <lich426@gmail.com>
* Fix compilation issue in Texture2D.cpp with _AX_DEBUG=2.
* Fix memory leak: ShaderCache was not purged.
The ShaderCache class had two static members: a map for the cache, and
a pointer to the single instance of ShaderCache. The map was
supposedly cleared in the destructor but there was actually no
instance of ShaderCache (getInstance() was never called and the other
functions accessed the map directly). This commit removes the
singleton "interface" such that only the map is used, then it cleared
the map upon request.
* Add sub-protocol and optional header support to WebSocket connection
Unsolicited WebSocket PONG messages received should be ignored
* Set custom headers via setHeaders method for native WebSocket implementation.
Ensure WASM WebSocket interface has same constructor as native interface
* Fix temporary string reference
Ensure passed url is passed as null terminated string
* Avoid high memory usage when hashing a file.
* Make the chunk size adjustable when hashing a file. Default to 16KB.
* Add computeFileDigest to enable the use of different hashing algorithms.
* A hash should still be reported for an empty file.
* Add vertical alignment support for RichText
* Simplify RichTextTest implementation by reducing code duplication.
Add vertical alignment button to all RichText tests.
* Remove duplicate include
* [RichText] Vertical alignment support when ignoring size
* Add virtual file system support to WICImageLoader
* Ensure supplied buffer pointers are not null
* Simplify conditional check to only not allow reads in WRITE file mode.