Skip to content

Commit 53c6ab4

Browse files
committed
v1.05
fix: disable /*both win+*/ accesibility keys while app in use (Windows) new: added bookmarks and compatibility flags to local file browser fix: ay envelope 15 fix (ay1 core) (thanks @leiradel!) fix: expand va() buffers. changed impl. new: zxdb mousewheel fix: restored glx window attribs to what v1.03 was using (Linux) fix: fixed embedding zxdb build step, broken since v1.04 (Linux,MacOS) fix: ui edge case where hyperlinks could not be hovered if they were wider than app canvas
1 parent 36e6f40 commit 53c6ab4

11 files changed

+3087
-963
lines changed

MAKE.bat

+13-3
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,15 @@ if [ "$(uname)" != "Darwin" ]; then
2020
# compile -------------------------------------------------------------------- do not use -O3 below. zxdb cache will contain 0-byte files otherwise.
2121
gcc src/app.c -I src -o ./Spectral.linux -O2 -DNDEBUG=3 -D_GNU_SOURCE -Wno-unused-result -Wno-unused-value -Wno-format -Wno-multichar -Wno-pointer-sign -Wno-string-plus-int -Wno-empty-body -lm -lX11 -lGL -lasound -lpthread -ludev $* || exit
2222
upx -9 Spectral.linux
23+
24+
# embed zxdb -----------------------------------------------------------------
2325
#src/res/embed.linux Spectral.linux @SpectralEmBeDdEd
2426
#src/res/embed.linux Spectral.linux src/res/zxdb/Spectral.db.gz
2527
#src/res/embed.linux Spectral.linux @SpectralEmBeDdEd
26-
cat Spectral.linux src/res/embed src/res/zxdb/Spectral.db.gz src/res/embed > Spectral.linux
28+
#cat Spectral.linux src/res/embed src/res/zxdb/Spectral.db.gz src/res/embed > Spectral.linux
29+
dd if=src/res/embed >> Spectral.linux
30+
dd if=src/res/zxdb/Spectral.db.gz >> Spectral.linux
31+
dd if=src/res/embed >> Spectral.linux
2732

2833
fi
2934

@@ -32,10 +37,15 @@ if [ "$(uname)" = "Darwin" ]; then
3237
# compile --------------------------------------------------------------------
3338
export SDKROOT=$(xcrun --show-sdk-path)
3439
gcc -ObjC src/app.c -I src -o ./Spectral.osx -O3 -DNDEBUG=3 -Wno-unused-result -Wno-unused-value -Wno-format -Wno-multichar -Wno-pointer-sign -Wno-string-plus-int -Wno-empty-body -Wno-dangling-else -framework cocoa -framework iokit -framework CoreFoundation -framework CoreAudio -framework AudioToolbox -framework OpenGL -lm $* || exit
40+
41+
# embed zxdb
3542
#src/res/embed.osx Spectral.osx @SpectralEmBeDdEd
3643
#src/res/embed.osx Spectral.osx src/res/zxdb/Spectral.db.gz
3744
#src/res/embed.osx Spectral.osx @SpectralEmBeDdEd
38-
cat Spectral.osx src/res/embed src/res/zxdb/Spectral.db.gz src/res/embed > Spectral.osx
45+
#cat Spectral.osx src/res/embed src/res/zxdb/Spectral.db.gz src/res/embed > Spectral.osx
46+
dd if=src/res/embed >> Spectral.osx
47+
dd if=src/res/zxdb/Spectral.db.gz >> Spectral.osx
48+
dd if=src/res/embed >> Spectral.osx
3949

4050
# embed icon and make .app
4151
test -d Spectral.app && rm -rf Spectral.app
@@ -214,7 +224,7 @@ rem )
214224

215225
where /q rcedit-x64 || curl -LO https://github.com/electron/rcedit/releases/download/v2.0.0/rcedit-x64.exe
216226
where /q rcedit-x64 && rcedit-x64 "Spectral.exe" --set-file-version "!year!.!month!.!today!.!today!!month!"
217-
where /q rcedit-x64 && rcedit-x64 "Spectral.exe" --set-product-version "1.041 Spectral"
227+
where /q rcedit-x64 && rcedit-x64 "Spectral.exe" --set-product-version "1.05-WIP Spectral"
218228
where /q rcedit-x64 && rcedit-x64 "Spectral.exe" --set-icon src\res\img\noto_1f47b.ico
219229
rem where /q rcedit-x64 && rcedit-x64 "Spectral.exe" --set-version-string "version" "value"
220230
rem where /q rcedit-x64 && rcedit-x64 "Spectral.exe" --set-resource-string "version" "value"

src/3rd.h

+4
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
#include "3rd_tigrmousecursor.h"
1414
#include "3rd_tigrdragndrop.h"
1515
#include "3rd_tigrtitle.h"
16+
#include "3rd_tigroskeys.h"
1617
#undef border
1718
#undef run
1819

@@ -74,3 +75,6 @@
7475
#include "3rd_jompeg.h"
7576

7677
#include "3rd_irc.h"
78+
79+
#define STB_SPRINTF_IMPLEMENTATION
80+
#include "3rd_sprintf.h"

0 commit comments

Comments
 (0)