Commit Graph

209 Commits

Author SHA1 Message Date
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
smilediver 2493a6d17b
Fix crash on iOS (#1799) 2024-04-09 01:40:41 +08:00
halx99 68a5c250cd Fix build android with axmol cmdline arch not working 2024-04-09 01:37:04 +08:00
halx99 88eb698ba2 Make command `axmol build` alias `axmol` 2024-04-07 23:34:30 +08:00
halx99 bc1bab5a98 Update AGP 8.2.2
- gradle: 8.5 ==> 8.7
- gradle-wapper.jar: NA ==> 8.7
- cmdlinetools: 10406996 ==> 11076708
2024-04-07 02:08:00 +08:00
halx99 e62a0aa6b7 Improve 1k/install-pwsh.sh [skip ci]
Add 1k/install-cmake.sh
2024-04-06 15:48:16 +08:00
Deal 8c5243fd20
Fix #1790 2024-04-06 08:35:14 +08:00
halx99 a6867f3c28 Improve feature dependencies control 2024-04-05 11:07:47 +08:00
halx99 620c5027fd Update build system 2024-04-03 20:25:25 +08:00
halx99 372ebf1355 Update glad to v2.0.6 2024-04-03 03:58:21 +08:00
halx99 e8b070c84c Remove unnecessary cmake option AX_VS_DEPLOYMENT_TARGET since we require cmake >= 3.28 2024-04-03 03:57:59 +08:00
Deal 9e944935b0
Add apple xcframework support (#1786)
* Add apple xcframework support

* Fix ci
2024-04-03 01:48:30 +08:00
halx99 0c7181c77c Improve build system 2024-04-02 22:31:34 +08:00
halx99 d645aee0d5 Improve 1k/build.ps1 2024-04-01 22:37:05 +08:00
halx99 284f088074 Move rpath control to 1k/platforms.cmake 2024-03-30 01:27:13 +08:00
halx99 f7c19cdbef Fix #1768 2024-03-30 01:09:52 +08:00
halx99 9a10407d7d Improve build system 2024-03-30 01:08:55 +08:00