Commit Graph

1033 Commits

Author SHA1 Message Date
halx99 4d89b04850 Move Logging APIs from Console.h/Console.cpp to Logging.h/Logging.cpp 2024-04-03 21:03:40 +08:00
RH 690e16df30
Use single macro to control each feature (#1776)
* Use single macro to control each feature

* Allow Physics module to be enabled or disabled via cmake option
2024-03-30 08:56:32 +08:00
halx99 9a10407d7d Improve build system 2024-03-30 01:08:55 +08:00
RH 4fb845244f
Allow certain code modules to be removed from build process (#1769)
* Add support for disabling code sections from build process

* Add support for disabling built-in audio

* No need to add definition here

* Remove extra blank lines

* Add required copyright notice

* Document new options
2024-03-28 10:45:20 +08:00
halx99 5797e355a3 Remove unused rpath 2024-03-27 22:59:35 +08:00
RH f0c0c75979
Add support for verbose trace level logging (#1764)
* Add support for verbose trace level logging

* Set trace log color to white and debug log color to cyan
2024-03-25 12:56:22 +08:00
halx99 3555f97a7b Fix ci 2024-03-24 05:20:59 +08:00
smilediver db057444b9
Fix texture recreation when GL context is lost (#1763)
* Fix texture recreation when GL context is lost

* Add missing copyright
2024-03-23 09:15:36 +08:00
宾晓皎 f211ba248c
[wasm] Fix frame rate control (#1762) 2024-03-22 18:10:59 +08:00
halx99 2701bd1088 Fix #1759 2024-03-21 00:41:11 +08:00
halx99 fe29f50aa7 Improve wasm EditBox 2024-03-19 23:45:51 +08:00
halx99 d1ec623bb5 Rename folder thirdparty ==> 3rdparty 2024-03-19 21:33:02 +08:00
宾晓皎 6caa3f895a
fix EditBox error (#1755)
1.fix fontsize in inputbox on wasm
2.fix fontname , fontsize in EditBox
2024-03-17 12:11:08 +08:00
aismann 06d4c3f255
Update Console.cpp (removed the '\n' which creates an second (empty) line) (#1746) 2024-03-15 19:50:22 +08:00
Turky Mohammed 28f3915445
Node World Space Positioning (#1743)
* node set world position

* Adapt tests
2024-03-15 09:33:38 +08:00
Deal 76db9007b0
Move color types to math/Color.h (#1741)
* Move color types to math/Color.h

* Use V3F_C4F

* Fix ci
2024-03-14 23:38:45 +08:00
halx99 79b6b8c7af Fix #1726 2024-03-14 01:10:56 +08:00
RH cdf69d159a
Removing EditBox should not result in logging an error message (#1740)
* Removing EditBox should not result in logging an error message

* Add copyright notice
2024-03-13 12:37:33 +08:00
halx99 cb12cbc366 Initial implement wasm EditBox 2024-03-13 01:20:37 +08:00
halx99 601434965a Fix wasm error 2024-03-12 21:50:14 +08:00
halx99 7c7d3beb02 Improve wasm logging color style 2024-03-11 23:32:34 +08:00
halx99 6a57a020da Strip ansi color escape for wasm 2024-03-11 01:22:48 +08:00
halx99 c1718fee9b Fix linux crash 2024-03-10 01:24:32 +08:00
Deal 729718134f
Improve logging color style (#1739)
* Improve logging color style

* Improve code style

* Fix ci

* Fix ci

* Fix ci

* Fixup

* Fix ci
2024-03-09 09:23:39 +08:00
halx99 1297642416 Fix #1737 2024-03-08 20:42:05 +08:00
halx99 0972191e89 Reset console text color on non-win32 platforms 2024-03-08 01:55:10 +08:00
Deal 931ca91c71
Logging colorful support (#1735)
* Add logging colorful support

* Enable full log fmt style in cpp-tests
2024-03-08 01:15:26 +08:00
Deal 5d2c42e73f
Implement new axmol log system based on fmtlib (#1732)
* 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
2024-03-07 08:47:00 +08:00
smilediver d3a0357e84
HttpClient: add support for PATCH method (#1722)
* HttpClient: add support for PATCH method
2024-02-29 11:43:41 +08:00
smilediver fcf18f8fc5
Android build fixes (#1723)
* Try default macOS Android SDK location if SDK is not specified or found

* Fix Android Studio project sync failing if NDK is not installed
2024-02-28 23:50:15 +08:00
Deal 6da5d7b059
Bump version to 2.1.3 2024-02-27 01:45:09 +08:00
halx99 8b33156e65 Update glfw to 3.4 2024-02-24 14:17:31 +08:00
halx99 5e6b865215 Update cppwinrt: 2.0.230706.1 ==> 2.0.240111.5 2024-02-22 20:03:16 +08:00
RH 184e0dcc74
Allow overriding defines without modifying engine source (#1710) 2024-02-21 09:40:04 +08:00
Deal f22cc4be68
Don't use fmt header only (#1707) 2024-02-20 05:37:28 +08:00
Deal 31da0f2917
Improve dll support (#1706)
* Improve dll support

* Tidy header include path

* Fix android build & symbol dup issue

* Fix android compile error

* Fixup
2024-02-20 05:37:12 +08:00
Deal adbffdf4a2
Fix #1704, control android cmake options by engine axutils.gradle (#1705) 2024-02-20 00:58:47 +08:00
aismann 1d7d84f58b
Update ActionInterval.h (#1702) 2024-02-19 18:29:41 +08:00
j-jorge 628574c905
Remove the Enhance API. (#1690)
We don't have the source for it anyway.
2024-02-19 10:39:26 +08:00
RH 978d15db78
RichText and ScrollView enhancements (#1696)
* 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
2024-02-18 20:09:54 +08:00
Lich 8e2e577e2f
Add support for window close button calback (#1697) 2024-02-18 16:08:53 +08:00
halx99 6477a8fdb4 Improve naming style 2024-02-18 10:30:11 +08:00
Deal 2d9c6dbf90
Fix view size incorrect when frameZoomFactor not 1.0 (#1694)
* Fix view size incorrect when frameZoomFactor not 1.0

* Tidy code
2024-02-18 09:25:28 +08:00
Deal cd5a39ee3b
Fix screen size incorrect in retina display (#1692) 2024-02-17 13:38:27 +08:00
RH bee2d6222d
Trim leading and trailing whitespace characters for the HTML parsing option (#1687) 2024-02-15 14:51:42 +08:00
RH 8c23d32235
RichText enhancements (#1683)
* 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.
2024-02-15 08:33:38 +08:00
RH d117232769
Ensure correct video mode is set when creating view to avoid incorrect refresh rate being applied (#1678) 2024-02-13 21:10:41 +08:00
RH 9899a97e0d
Fix crash during scene transition due to invalid camera (#1676)
* 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
2024-02-13 13:14:59 +08:00
RH d8df9fbc26
Fix cross fade transition (#1664)
* Cross fade transition cannot use shared render target

* [skip ci] Add copyright line
2024-02-10 22:27:34 +08:00
RH a1a444384e
Ability to disable default implementations of HTTP and WebSocket clients (#1656)
* 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
2024-02-06 22:19:03 +08:00