Skip to content

Commit 2f5bc18

Browse files
committed
Update ChangeLog
1 parent e1b3023 commit 2f5bc18

File tree

3 files changed

+54
-26
lines changed

3 files changed

+54
-26
lines changed

1k/1kiss.ps1

Lines changed: 39 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -690,6 +690,9 @@ function download_and_expand($url, $out, $dest) {
690690
}
691691
tar xf "$out" -C $dest
692692
}
693+
elseif ($out.EndsWith('.7z')) {
694+
7z x "$out" "-o$dest" -y | Out-Host
695+
}
693696
elseif ($out.EndsWith('.sh')) {
694697
chmod 'u+x' "$out"
695698
$1k.mkdirs($dest)
@@ -992,7 +995,38 @@ function setup_jdk() {
992995
return $javac_prog
993996
}
994997

995-
# setup llvm for windows only
998+
function setup_7z() {
999+
# ensure 7z_prog
1000+
$7z_cmd_info = Get-Command '7z' -ErrorAction SilentlyContinue
1001+
if (!$7z_cmd_info) {
1002+
if ($IsWin) {
1003+
$7z_prog = Join-Path $external_prefix '7z2301-x64\7z.exe'
1004+
$7z_pkg_out = Join-Path $external_prefix '7z2301-x64.zip'
1005+
if (!$1k.isfile($7z_prog)) {
1006+
# https://www.7-zip.org/download.html
1007+
$7z_url = devtool_url '7z2301-x64.zip'
1008+
download_and_expand -url $7z_url -out $7z_pkg_out $external_prefix
1009+
}
1010+
1011+
$7z_bin = Split-Path $7z_prog -Parent
1012+
if (!$env:PATH.Contains($7z_bin)) {
1013+
$env:PATH = "$7z_bin$ENV_PATH_SEP$env:PATH"
1014+
}
1015+
}
1016+
elseif ($IsLinux) {
1017+
if ($(which dpkg)) { sudo apt install p7zip-full }
1018+
}
1019+
elseif ($IsMacOS) {
1020+
brew install p7zip
1021+
}
1022+
1023+
$7z_cmd_info = Get-Command '7z' -ErrorAction SilentlyContinue
1024+
if (!$7z_cmd_info) {
1025+
throw "setup 7z fail"
1026+
}
1027+
}
1028+
}
1029+
9961030
function setup_llvm() {
9971031
if (!$manifest.Contains('llvm')) { return $null }
9981032
$clang_prog, $clang_ver = find_prog -name 'llvm' -cmd "clang"
@@ -1001,29 +1035,13 @@ function setup_llvm() {
10011035
$llvm_bin = Join-Path $llvm_root 'bin'
10021036
$clang_prog, $clang_ver = find_prog -name 'llvm' -cmd "clang" -path $llvm_bin -silent $true
10031037
if (!$clang_prog) {
1004-
# ensure 7z_prog
1005-
$7z_cmd_info = Get-Command '7z' -ErrorAction SilentlyContinue
1006-
if ($7z_cmd_info) {
1007-
$7z_prog = $7z_cmd_info.Path
1008-
}
1009-
else {
1010-
$7z_prog = Join-Path $external_prefix '7z2301-x64\7z.exe'
1011-
$7z_pkg_out = Join-Path $external_prefix '7z2301-x64.zip'
1012-
if (!$1k.isfile($7z_prog)) {
1013-
# https://www.7-zip.org/download.html
1014-
$7z_url = devtool_url '7z2301-x64.zip'
1015-
download_and_expand -url $7z_url -out $7z_pkg_out $external_prefix/
1016-
}
1017-
}
1018-
1019-
if (!$1k.isfile($7z_prog)) {
1020-
throw "setup 7z fail which is required for setup llvm clang!"
1021-
}
1022-
10231038
# download llvm clang and install extract it at prefix
10241039
download_file "https://github.com/llvm/llvm-project/releases/download/llvmorg-${clang_ver}/LLVM-${clang_ver}-win64.exe" "$external_prefix\LLVM-${clang_ver}-win64.exe"
10251040
$1k.mkdirs($llvm_root)
1026-
& $7z_prog x "$external_prefix\LLVM-${clang_ver}-win64.exe" "-o$llvm_root" -y | Out-Host
1041+
1042+
# ensure 7z_prog
1043+
setup_7z
1044+
7z x "$external_prefix\LLVM-${clang_ver}-win64.exe" "-o$llvm_root" -y | Out-Host
10271045

10281046
$clang_prog, $clang_ver = find_prog -name 'llvm' -cmd "clang" -path $llvm_bin -silent $true
10291047
if (!$clang_prog) {

CHANGELOG.md

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
- Implement cross-platform media controller for video playback by @rh101 in https://github.com/axmolengine/axmol/pull/1845
66
- Adjust media control positioning if video aspect ratio is maintained by @rh101 in https://github.com/axmolengine/axmol/pull/1851
7+
- Allow media controls to be rotated left or right by 90 degrees by @rh101 in https://github.com/axmolengine/axmol/pull/1910
78
- Allow certain code modules to be removed from build process by @rh101 in https://github.com/axmolengine/axmol/pull/1769, i.e. remove 3d features by `-DAX_ENABLE_3D=OFF`
89
- New logging system with general log level and colored support
910
- Implement new axmol log system based on fmtlib by @halx99 in https://github.com/axmolengine/axmol/pull/1732
@@ -20,7 +21,7 @@
2021
- Add AXLOGD,AXLOGI,... functions for lua
2122
- Add axmol cmdline build option to specify build optimize flag: `-O0`(Debug), `-O1`(MinSizeRel), `-O2`(RelWithDebInfo), `-O3`(Release)
2223

23-
### Break Changes
24+
### Breaking Changes
2425

2526
- Rename `ax::Ref` ==> `ax::Object`
2627
- Remove `ax::log`, use `AXLOGD` instead
@@ -65,6 +66,8 @@
6566
- Fix spine two color tint data not being copied across to backend buffer on first frame by @rh101 in https://github.com/axmolengine/axmol/pull/1875
6667
- Fix FileUtils issues on macOS by @smilediver in https://github.com/axmolengine/axmol/pull/1863
6768
- Fix memory corruption bug and resulting crash in the TextFieldTTF by @TyelorD in https://github.com/axmolengine/axmol/pull/1890
69+
- Fix shaders not copying to final build on macOS for non Xcode builds by @smilediver in https://github.com/axmolengine/axmol/pull/1908
70+
- Fix system font blurring by in @DelinWorks in https://github.com/axmolengine/axmol/pull/1907
6871

6972
### Improvements
7073

@@ -97,12 +100,18 @@
97100
- Add libvlc prebuilt entry CMakeLists.txt
98101
- Add ability to create console apps by @smilediver in https://github.com/axmolengine/axmol/pull/1859
99102
- Add support for ensuring sprite content size does not change on new texture by @rh101 in https://github.com/axmolengine/axmol/pull/1897
103+
- Remove obsolete `box2d-optimized` support by @aismann in https://github.com/axmolengine/axmol/pull/1913
104+
- Add macOS, Linux support for `tools/ci/genbindings.ps1`
105+
- Fix `axmol` cmdline not raise error when cmake build fail
106+
- Migrate wasm ci from appveyor to github actions
100107

101-
### sdks updates
108+
109+
### sdks & tools updates
102110

103111
- emsdk: 3.1.53 ==> 3.1.59
104112
- AGP: 8.2.1 ==> 8.2.2
105113
- androidx.media3: 1.0.2 ==> 1.2.1
114+
- glslcc: 1.9.4 ==> 1.9.5
106115

107116
### 3rdparty updates
108117

@@ -196,7 +205,7 @@
196205
- Fix build win32 with clang error
197206
- Fix ci build-site download unexpected artifacts from appveyor
198207

199-
### Break changes
208+
### Breaking changes
200209

201210
- Rename android entrypoint: `cocos_android_app_init` ==> `axmol_android_app_init`
202211

@@ -344,7 +353,7 @@
344353
- RELEASE_KEY_PASSWORD ==> KEY_PASSWORD
345354
- Enable template projects' `aidl` by default for In-app purchases by @armanhossiny
346355

347-
### Break changes
356+
### Breaking changes
348357

349358
- Rename glview to correct representative name: `OpenGLView` ==> `GLView` by @paulocoutinhox
350359

tools/ci/genbindings.ps1

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,9 @@ if (($stage -band 1)) {
2929
$lib_name = @('libclang.dll', 'libclang.dylib', 'libclang.so')[$HOST_OS]
3030
$lib_path = Join-Path $AX_ROOT "tools/bindings-generator/libclang/$lib_name"
3131
if (!(Test-Path $lib_path -PathType Leaf)) {
32+
setup_7z
3233
$llvm_ver = '15.0.7'
33-
$llvm_pkg = "llvm-$llvm_ver.zip"
34+
$llvm_pkg = "llvm-$llvm_ver.7z"
3435

3536
$prefix = Join-Path $AX_ROOT "cache/devtools"
3637
$llvm_url = devtool_url $llvm_pkg

0 commit comments

Comments
 (0)