Commit Graph

225 Commits

Author SHA1 Message Date
halx99 63e142511d Prefer utf-8 for build cmdline tools 2024-12-05 02:40:55 +08:00
halx99 a4a75644fb
Update 3rdparty (#2252) 2024-11-29 09:30:34 +08:00
halx99 dd3207b7b7
Fix ubuntu 24.04 pwsh setup [skip ci] 2024-10-21 23:23:55 +08:00
halx99 5d9b18de0d Rollback fmt to 11.0.2 & emsdk to 3.1.67
- genbindings llvm-15.0.7 can't works on fmt latest: unknown template argument
- fmt 11.0.2 can't compile on emsdk 3.1.68+
2024-10-20 23:48:51 +08:00
halx99 7be00213a9
Release 2.2.0 (#2207) 2024-10-20 09:42:12 +08:00
halx99 95629d9978 Update 3rd libs & emsdk 2024-09-28 15:41:34 +08:00
halx99 2a3494b65b Improve find visual studio ide 2024-09-23 23:59:11 +08:00
halx99 2ecdd78537 Improve setup scripts 2024-08-22 00:05:09 +08:00
halx99 b25b702d97 Release 2.1.5 (#2076)
* Fix  unexpected libpng used

* Fix string format incorrect for tests

* Fix #1751, use coroutine control AutoTest flow

* Update CHANGELOG.md

* Added OpenType font (.otf) to the noCompress list. (#2077)

* Update 1k & copyright notice in some sources

* Move doctest to axmol 3rdparty

* Fix ci

* Update 1kdist to v90

* Update 1kiss.ps1

* DrawNodeV2 0.95.1 (#2079)

* Rename remaining legacy engine related spells and improve code style

* Update 3rdparty README.md

* Fix checkReallySupportsASTC does not work on ios device

reported by @BIGCATDOG in https://github.com/axmolengine/axmol/issues/2078

* Fix ci

* FastRNG: add missing include for AXASSERT (#2081)

* Delete unused files

* Improve FileUtils

- Rename FileUtils::createDirectory to FileUtils::createDirectories
- Use splitpath_cb to optimize FileUtils::createDirectories
- Rename FileUtils::getFileShortName to FileUtils::getPathBaseName
- Rename FileUtils::getFileExtension to FileUtils::getPathExtension
- Add FileUtils::getPathDirName
- Add FileUtils::getPathBaseNameNoExtension
- Mark all renamed FileUtils stubs old name deprecated
- Mark all FileUtils offthread APIs deprecated

* Update box2d to v2.4.2

* Disable /sdl checks explicitly for winuwp

For axmol deprecated policy, we need disable /sdl checks explicitly to avoid compiler traits invoking deprecated functions as error

* Update cppwinrt to 2.0.240405.15

* Update simdjson to 3.10.0

* Fix box2d testbed compile error

* Improve file path to url

* Fix FileUtils::createDirectories unix logic

* axmol-cmdline: remove arch suffix for host build output directory

* Update CHANGELOG.md

* Update lua bindings

---------

Co-authored-by: Dani Alias <danielgutierrezalias@gmail.com>
Co-authored-by: aismann <icesoft@freenet.de>
Co-authored-by: smilediver <smilediver@outlook.com>
2024-08-11 23:51:35 +08:00
halx99 8fd2a551e8
Refactor math simd (#2070) 2024-08-04 09:46:36 +08:00
halx99 b15ed68228 Update 1k 2024-07-27 00:22:28 +08:00
halx99 63c0dcb001 Improve 1kiss version match rules 2024-07-25 22:32:16 +08:00
halx99 77572d1336 Improve 1k/install-pwsh.sh 2024-07-25 01:16:01 +08:00
halx99 9e106da253
Prepare release v2.1.4 (#2037) 2024-07-20 02:52:07 +08:00
halx99 d8343ea6ad Update emsdk to 3.1.63 2024-07-15 23:33:36 +08:00
halx99 8939723108 1k: parse generater from cmake options 2024-06-14 09:00:20 +08:00
halx99 210ad64668 Update emsdk to 3.1.61 and add cmake option AX_WASM_INITIAL_MEMORY 2024-06-12 23:13:49 +08:00
halx99 8fef58d59c Update gradlew to 8.8 2024-06-10 00:57:51 +08:00
halx99 fc710d6119 Update llvm setup
- remove llvm setup from gh action yml config, since 1kiss will setup it
- update 1kiss.ps1 llvm min requirement to 17.0.6 for msvc14.40 support
- Remove llvm version config from 1k/manifest.ps1 since 1kiss.ps1 already set properly for msvc14.40 support
2024-06-10 00:42:21 +08:00
halx99 7551af0675 Fix 1k/fetch.ps1 [skip ci] 2024-06-08 23:06:16 +08:00
halx99 45f4c0832c Remove duplicate cmake options 2024-06-08 21:37:52 +08:00
halx99 cf74ca5231 axmol-cmdline: Remove duplicate cmake options 2024-06-08 01:50:52 +08:00
halx99 ec8cdf2861 Update simdjson to 3.9.3 2024-06-06 00:00:01 +08:00
halx99 ccedac1ab6 Improve 1k/fetch.cmake 2024-06-02 00:39:48 +08:00
halx99 b1f2990f4d Update 1k 2024-06-02 00:27:51 +08:00
halx99 3abf136a62 Fix emsdk 3.1.60 compile errors 2024-05-24 04:17:04 +08:00
halx99 a4e1c4cb1f Update emsdk to 3.1.60 2024-05-24 01:28:55 +08:00
halx99 54cec14c10 Fix wasm ci 2024-05-24 01:26:58 +08:00
halx99 2d8bc32454 Improve 1k code style 2024-05-24 01:18:30 +08:00
halx99 2f5bc186a5 Update ChangeLog 2024-05-22 21:42:04 +08:00
halx99 1a15620f4e Fix #1906
The tools/ci/genbindings.ps1 now support windows,linux,mac
2024-05-22 08:50:32 +08:00
halx99 cb142c6c4e Fix #1911 [skip ci] 2024-05-22 01:23:28 +08:00
halx99 fcc282d116 Improve ci [skip ci] 2024-05-21 23:40:01 +08:00
halx99 1e40692a6d Fix typo [skip ci] 2024-05-20 23:52:19 +08:00
halx99 d9563d1741 Fix docs menu_versions 2024-05-20 23:46:48 +08:00
halx99 b550d569a9 Update prebuilt tool `glslcc` to 1.9.5
- macos-arm64 support and built for macos-10.15+
2024-05-19 01:15:02 +08:00
halx99 53e2fbad14 Rename 1k/build.ps1 ==> 1k/1kiss.ps1 2024-05-18 23:30:26 +08:00
halx99 c9b4d3caff
Try enable wasm on github action (#1903)
* Update build.yml

* Upload artifacts for wasm ci

* Fixup

* Improve tools/cmdline/build.ps1

- Improve unhandled args forward
- Fix parse unexpected arg with differrent args order

* Fixup
2024-05-18 14:22:46 +08:00
halx99 9bb13ac8a6 Prepare release 2.1.3 2024-05-17 23:56:54 +08:00
halx99 fda69b3391 Add build optimize flag: O0: Debug, O1: MinSizeRel, O2: RelWithDebInfo, O3: Release 2024-05-17 00:15:59 +08:00
halx99 10d3e81329 Update emsdk to 3.1.59 2024-05-05 23:25:52 +08:00
smilediver 354f3abed9
Add ability to create console apps (#1859)
* Print cmake build command when running `axmol build`

* Add option to `ax_setup_app_config()` for building console applications

* Fix console app entrypoint

---------

Co-authored-by: halx99 <halx99@live.com>
2024-04-29 00:24:06 +08:00
halx99 35313f1cdc Check does Xcode installed 2024-04-27 23:32:27 +08:00
halx99 1e2ad6318c Fix #1857 2024-04-27 23:31:44 +08:00
RH 3916a2367b
Cross-platform media controller for video playback (#1845)
* Initial work on media controller

* Media player controller for WMF media engine

* Add getDuration and getCurrentTime methods to media engines

* Fix compilation

* Fix Android media timeline issues

* Fix compilation issue

* Fix WinRT compilation issue

* Fix compilation issue

* Add missing header include

* Make it simpler to create a custom media controller

* Ensure the basic media controller widget size is the same size as the media player on initialization

* Add dark media control underlay to give more contrast to the controls
ADd copyright notices

* Removing existing media controller from parent if required

* Adjust for view scaling since embedded resources are created for a scale of 1.

* Scale central media controls if required on content size change

* Remove pointless fast forward and fast reverse buttons
Ensure media controller correctly resizes on full-screen media playback

* Allow enable vlc on windows

* Improve media macro detect

* Add media controls drawn by DrawNode into single texture
Add fullscreen enter and exit controls
setUserInputEnabled and isUserInputEnabled replaced by setMediaControllerEnabled and isMediaControllerEnabled

* Update function calls to new names

* Revert back to setUserInputEnabled and isUserInputEnabled

* Remove embedded circle image and create it with DrawNode

* Change radius of drawn circle to half the total image size

---------

Co-authored-by: halx99 <halx99@live.com>
2024-04-24 22:28:59 +08:00
halx99 f8de198e18 Improve build system 2024-04-24 01:39:49 +08:00
RH 801f5e0267
Display cmake command used by build script in console (#1834) 2024-04-18 22:51:51 +08:00
halx99 cec839a96f Improve build system 2024-04-13 22:11:22 +08:00
halx99 1fff0fa746 Add experimental wasm64 support
really experimental, just build, can't run yet
2024-04-12 20:34:59 +08:00
halx99 d37f23997a Improve axmol cmdline 2024-04-09 02:42:25 +08:00