Compare commits
No commits in common. "5bc082b75e5826667c069aabaf3c814d39cc8f5a" and "71444b04274e9f8e09a2f51dce9cd921054c2b6a" have entirely different histories.
5bc082b75e
...
71444b0427
173
GNUmakefile
173
GNUmakefile
@ -3,19 +3,6 @@
|
|||||||
MAKEFLAGS += --warn-undefined-variables
|
MAKEFLAGS += --warn-undefined-variables
|
||||||
MAKEFLAGS += --no-builtin-rules
|
MAKEFLAGS += --no-builtin-rules
|
||||||
|
|
||||||
## [36;1m== Tilde Friends makefile build. ==[m
|
|
||||||
##
|
|
||||||
## This is a list of all supported build targets.
|
|
||||||
##
|
|
||||||
## Note: Consider passing -j$(nproc) or adding it to your $MAKEFLAGS to build
|
|
||||||
## in parallel (faster).
|
|
||||||
##
|
|
||||||
## Useful variables to override:
|
|
||||||
## [35mCC[m Compiler.
|
|
||||||
## [35mAS[m Assembler.
|
|
||||||
## [35mLD[m Linker.
|
|
||||||
## [35mANDROID_SDK[m Path to the Android SDK.
|
|
||||||
|
|
||||||
VERSION_CODE := 30
|
VERSION_CODE := 30
|
||||||
VERSION_NUMBER := 0.0.25-wip
|
VERSION_NUMBER := 0.0.25-wip
|
||||||
VERSION_NAME := This program kills fascists.
|
VERSION_NAME := This program kills fascists.
|
||||||
@ -760,28 +747,11 @@ $(IOS_TARGETS) $(IOSSIM_TARGETS): LDFLAGS += \
|
|||||||
-framework UIKit \
|
-framework UIKit \
|
||||||
-framework WebKit
|
-framework WebKit
|
||||||
|
|
||||||
##
|
unix: debug release
|
||||||
## Common targets:
|
win: windebug winrelease
|
||||||
##
|
all: $(BUILD_TYPES)
|
||||||
debug: ## Build a debug executable for the current platform.
|
|
||||||
release: ## Build a release executable for the current platform.
|
|
||||||
all: $(BUILD_TYPES) ## Build all targets that appear possible to build on this machine.
|
|
||||||
unix: debug release ## Build all UNIX targets.
|
|
||||||
win: windebug winrelease ## Build all Windows targets.
|
|
||||||
.PHONY: all win unix
|
.PHONY: all win unix
|
||||||
|
|
||||||
##
|
|
||||||
## Windows targets:
|
|
||||||
##
|
|
||||||
windebug: ## Build a debug win32 executable.
|
|
||||||
winrelease: ## Build a release win32 executable.
|
|
||||||
|
|
||||||
##
|
|
||||||
## MacOS targets:
|
|
||||||
##
|
|
||||||
macosdebug: ## Build a MacOS debug executable.
|
|
||||||
macosrelease: ## Build a MacOS release executable.
|
|
||||||
|
|
||||||
ALL_APP_OBJS := \
|
ALL_APP_OBJS := \
|
||||||
$(APP_OBJS) \
|
$(APP_OBJS) \
|
||||||
$(ARES_OBJS) \
|
$(ARES_OBJS) \
|
||||||
@ -837,18 +807,7 @@ src/android/AndroidManifest.xml : $(firstword $(MAKEFILE_LIST))
|
|||||||
-e 's/android:targetSdkVersion="[[:digit:]]*"/android:targetSdkVersion="$(ANDROID_TARGET_SDK_VERSION)"/' \
|
-e 's/android:targetSdkVersion="[[:digit:]]*"/android:targetSdkVersion="$(ANDROID_TARGET_SDK_VERSION)"/' \
|
||||||
$@
|
$@
|
||||||
|
|
||||||
##
|
# Android support.
|
||||||
## Android targets:
|
|
||||||
##
|
|
||||||
androiddebug: ## Build a debug 64-bit ARM Android APK.
|
|
||||||
androidrelease: ## Build a release 64-bit ARM Android APK.
|
|
||||||
androiddebug-armv7a: ## Build a debug 32-bit ARM Android APK.
|
|
||||||
androidrelease-armv7a: ## Build a release 32-bit ARM Android APK.
|
|
||||||
androiddebug-x86: ## Build a debug x86 Android APK.
|
|
||||||
androidrelease-x86: ## Build a release x86 Android APK.
|
|
||||||
androiddebug-x86_64: ## Build a debug x86_64 Android APK.
|
|
||||||
androidrelease-x86_64: ## Build a release x86_64 Android APK.
|
|
||||||
|
|
||||||
out/res/layout_activity_main.xml.flat: src/android/res/layout/activity_main.xml
|
out/res/layout_activity_main.xml.flat: src/android/res/layout/activity_main.xml
|
||||||
@mkdir -p $(dir $@)
|
@mkdir -p $(dir $@)
|
||||||
@echo "[aapt2] $@"
|
@echo "[aapt2] $@"
|
||||||
@ -955,7 +914,7 @@ out/TildeFriends.aab: out/apk/classes.dex $(filter-out %debug%, $(ANDROID_TARGET
|
|||||||
@java -jar $(BUNDLETOOL) build-bundle --overwrite --config=src/android/BundleConfig.json --modules=out/aab/base.zip --output=$@
|
@java -jar $(BUNDLETOOL) build-bundle --overwrite --config=src/android/BundleConfig.json --modules=out/aab/base.zip --output=$@
|
||||||
@jarsigner -keystore .keys/android.jks $@ androidKey -storepass android
|
@jarsigner -keystore .keys/android.jks $@ androidKey -storepass android
|
||||||
|
|
||||||
aab: out/TildeFriends.aab ## Build an Android App Bundle.
|
aab: out/TildeFriends.aab
|
||||||
.PHONY: aab
|
.PHONY: aab
|
||||||
|
|
||||||
out/TildeFriends.apks: out/TildeFriends.aab $(BUNDLETOOL)
|
out/TildeFriends.apks: out/TildeFriends.aab $(BUNDLETOOL)
|
||||||
@ -1022,32 +981,20 @@ out/%.zopfli.apk: out/%.apk
|
|||||||
$(ANDROID_BUILD_TOOLS)/zipalign -f -z 4 $< $@.zopfli
|
$(ANDROID_BUILD_TOOLS)/zipalign -f -z 4 $< $@.zopfli
|
||||||
@$(ANDROID_BUILD_TOOLS)/apksigner sign --ks .keys/android.jks --ks-key-alias androidKey --ks-pass pass:android --key-pass pass:android --min-sdk-version $(ANDROID_MIN_SDK_VERSION) --out $@ $@.zopfli
|
@$(ANDROID_BUILD_TOOLS)/apksigner sign --ks .keys/android.jks --ks-key-alias androidKey --ks-pass pass:android --key-pass pass:android --min-sdk-version $(ANDROID_MIN_SDK_VERSION) --out $@ $@.zopfli
|
||||||
|
|
||||||
release-apk: out/TildeFriends-arm-release.zopfli.apk out/TildeFriends-x86-release.zopfli.apk ## Build an Android release APK.
|
release-apk: out/TildeFriends-arm-release.zopfli.apk out/TildeFriends-x86-release.zopfli.apk
|
||||||
.PHONY: release-apk
|
.PHONY: release-apk
|
||||||
|
|
||||||
fdroid: out/apk/TildeFriends-release.fdroid.unsigned.apk ## Build Android APK for distribution on F-Droid.
|
apkgo: out/TildeFriends-arm-debug.apk
|
||||||
.PHONY: fdroid
|
|
||||||
|
|
||||||
apkgo: out/TildeFriends-arm-debug.apk ## Build, install, and run a debug Android APK.
|
|
||||||
@adb install -r $<
|
@adb install -r $<
|
||||||
@adb shell am start com.unprompted.tildefriends/.TildeFriendsActivity
|
@adb shell am start com.unprompted.tildefriends/.TildeFriendsActivity
|
||||||
.PHONY: apkgo
|
.PHONY: apkgo
|
||||||
|
|
||||||
releaseapkgo: out/TildeFriends-arm-release.apk ## Build, install, and run a release Android APK.
|
releaseapkgo: out/TildeFriends-arm-release.apk
|
||||||
@adb install -r $<
|
@adb install -r $<
|
||||||
@adb shell am start com.unprompted.tildefriends/.TildeFriendsActivity
|
@adb shell am start com.unprompted.tildefriends/.TildeFriendsActivity
|
||||||
.PHONY: releaseapkgo
|
.PHONY: releaseapkgo
|
||||||
|
|
||||||
apklog: ## Display Android log output.
|
# iOS Support
|
||||||
@adb logcat *:S tildefriends
|
|
||||||
.PHONY: apklog
|
|
||||||
|
|
||||||
##
|
|
||||||
## iPhoneOS targets:
|
|
||||||
##
|
|
||||||
iosdebug: ## Build a debug iPhoneOS executable.
|
|
||||||
iosrelease: ## Build a release iPhoneOS executable.
|
|
||||||
|
|
||||||
out/%.app/Info.plist: src/ios/Info.plist
|
out/%.app/Info.plist: src/ios/Info.plist
|
||||||
@mkdir -p $(dir $@)
|
@mkdir -p $(dir $@)
|
||||||
@cp -v $< $@
|
@cp -v $< $@
|
||||||
@ -1084,23 +1031,39 @@ out/%/tildefriends.standalone.exe: out/%/tildefriends.exe out/data.zip
|
|||||||
@cat $< out/data.zip > $@
|
@cat $< out/data.zip > $@
|
||||||
@chmod +x $@
|
@chmod +x $@
|
||||||
|
|
||||||
iossimdebug-app: out/tildefriends-iossimdebug.app/tildefriends ## Build a debug iOS Simulator .app directory.
|
iossimdebug-app: out/tildefriends-iossimdebug.app/tildefriends
|
||||||
iossimrelease-app: out/tildefriends-iossimrelease.app/tildefriends ## Build a release iOS Simulator .app directory.
|
iossimrelease-app: out/tildefriends-iossimrelease.app/tildefriends
|
||||||
iosdebug-app: out/tildefriends-iosdebug.app/tildefriends ## Build a debug iOS .app directory.
|
iosdebug-app: out/tildefriends-iosdebug.app/tildefriends
|
||||||
iosrelease-app: out/tildefriends-iosrelease.app/tildefriends ## Build a release iOS .app directory.
|
iosrelease-app: out/tildefriends-iosrelease.app/tildefriends
|
||||||
|
|
||||||
iosdebug-ipa: out/tildefriends-debug.ipa ## Build a debug iOS .ipa.
|
iosdebug-ipa: out/tildefriends-debug.ipa
|
||||||
iosrelease-ipa: out/tildefriends-release.ipa ## Build a release iOS .ipa.
|
iosrelease-ipa: out/tildefriends-release.ipa
|
||||||
.PHONY: iossimdebug-app iossimrelease-app iosdebug-app iosrelease-app
|
.PHONY: iossimdebug-app iossimrelease-app iosdebug-app iosrelease-app
|
||||||
|
|
||||||
ios%go: out/tildefriends-ios%.app/tildefriends
|
ios%go: out/tildefriends-ios%.app/tildefriends
|
||||||
ideviceinstaller -i $(realpath $(dir $<))
|
ideviceinstaller -i $(realpath $(dir $<))
|
||||||
|
|
||||||
iossimdebuggo: out/tildefriends-iossimdebug.app/tildefriends ## Build, install, and run an iOS debug build.
|
iossimdebuggo: out/tildefriends-iossimdebug.app/tildefriends
|
||||||
xcrun simctl install booted out/tildefriends-iossimdebug.app/
|
xcrun simctl install booted out/tildefriends-iossimdebug.app/
|
||||||
xcrun simctl launch booted com.unprompted.tildefriends
|
xcrun simctl launch booted com.unprompted.tildefriends
|
||||||
.PHONY: iossimdebuggo
|
.PHONY: iossimdebuggo
|
||||||
|
|
||||||
|
apklog:
|
||||||
|
@adb logcat *:S tildefriends
|
||||||
|
.PHONY: apklog
|
||||||
|
|
||||||
|
fetchdeps:
|
||||||
|
@echo "[fetch] sqlite"
|
||||||
|
@test -f out/deps/sqlite.zip && test "$$(cat out/deps/sqlite.txt 2>/dev/null)" = $(SQLITE_URL) || (mkdir -p out/deps/ && curl -q $(SQLITE_URL) -o out/deps/sqlite.zip)
|
||||||
|
@test -d deps/sqlite/ && test "$$(cat out/deps/sqlite.txt 2>/dev/null)" = $(SQLITE_URL) || (mkdir -p deps/sqlite/ && unzip -qDjo -d deps/sqlite/ out/deps/sqlite.zip)
|
||||||
|
@echo -n $(SQLITE_URL) > out/deps/sqlite.txt
|
||||||
|
@echo "[fetch] prettier"
|
||||||
|
@test -f deps/prettier/standalone.mjs || curl -q --create-dirs -O --output-dir deps/prettier/ https://cdn.jsdelivr.net/npm/prettier@3.2.5/standalone.mjs
|
||||||
|
@test -f deps/prettier/html.mjs || curl -q --create-dirs -O --output-dir deps/prettier/ https://cdn.jsdelivr.net/npm/prettier@3.2.5/plugins/html.mjs
|
||||||
|
@test -f deps/prettier/babel.mjs || curl -q --create-dirs -O --output-dir deps/prettier/ https://cdn.jsdelivr.net/npm/prettier@3.2.5/plugins/babel.mjs
|
||||||
|
@test -f deps/prettier/estree.mjs || curl -q --create-dirs -O --output-dir deps/prettier/ https://cdn.jsdelivr.net/npm/prettier@3.2.5/plugins/estree.mjs
|
||||||
|
.PHONY: fetchdeps
|
||||||
|
|
||||||
ANDROID_DEPS := deps/openssl/android/arm64-v8a/usr/local/lib/libssl.a
|
ANDROID_DEPS := deps/openssl/android/arm64-v8a/usr/local/lib/libssl.a
|
||||||
$(ANDROID_DEPS):
|
$(ANDROID_DEPS):
|
||||||
+@ANDROID_NDK_ROOT=$(ANDROID_NDK) tools/ssl-android
|
+@ANDROID_NDK_ROOT=$(ANDROID_NDK) tools/ssl-android
|
||||||
@ -1120,10 +1083,6 @@ $(IOS_DEPS):
|
|||||||
$(filter $(BUILD_DIR)/ios%,$(APP_OBJS)): | $(IOS_DEPS)
|
$(filter $(BUILD_DIR)/ios%,$(APP_OBJS)): | $(IOS_DEPS)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
##
|
|
||||||
## Linux package targets:
|
|
||||||
##
|
|
||||||
|
|
||||||
out/tildefriends-x86_64.AppImage: out/release/tildefriends out/data.zip
|
out/tildefriends-x86_64.AppImage: out/release/tildefriends out/data.zip
|
||||||
@echo "[appimage] $$@"
|
@echo "[appimage] $$@"
|
||||||
@rm -rf out/tildefriends.AppDir
|
@rm -rf out/tildefriends.AppDir
|
||||||
@ -1143,36 +1102,19 @@ out/tildefriends-x86_64.AppImage: out/release/tildefriends out/data.zip
|
|||||||
@cd out; ./appimagetool --appimage-extract; cd ..
|
@cd out; ./appimagetool --appimage-extract; cd ..
|
||||||
@cd out; unset SOURCE_DATE_EPOCH; PATH=$$PATH:squashfs-root/usr/bin ARCH=x86_64 squashfs-root/usr/bin/appimagetool -u 'zsync|https://dev.tildefriends.net/releases/tildefriends-x86_64.AppImage.zsync' tildefriends.AppDir tildefriends-x86_64.AppImage; cd ..
|
@cd out; unset SOURCE_DATE_EPOCH; PATH=$$PATH:squashfs-root/usr/bin ARCH=x86_64 squashfs-root/usr/bin/appimagetool -u 'zsync|https://dev.tildefriends.net/releases/tildefriends-x86_64.AppImage.zsync' tildefriends.AppDir tildefriends-x86_64.AppImage; cd ..
|
||||||
|
|
||||||
appimage: out/tildefriends-x86_64.AppImage ## Build an AppImage.
|
appimage: out/tildefriends-x86_64.AppImage
|
||||||
.PHONY: appimage
|
.PHONY: appimage
|
||||||
|
|
||||||
flatpak: out/ ## Build a flatpak.
|
flatpak: out/
|
||||||
flatpak-builder --force-clean --user --install-deps-from=flathub --install --repo=out/flatpak-repo out/flatpak src/com.unprompted.tildefriends.yml
|
flatpak-builder --force-clean --user --install-deps-from=flathub --install --repo=out/flatpak-repo out/flatpak src/com.unprompted.tildefriends.yml
|
||||||
flatpak build-bundle out/flatpak-repo out/tildefriends.flatpak com.unprompted.tildefriends
|
flatpak build-bundle out/flatpak-repo out/tildefriends.flatpak com.unprompted.tildefriends
|
||||||
.PHONY: flatpak
|
.PHONY: flatpak
|
||||||
|
|
||||||
##
|
clean:
|
||||||
## Targets for release management:
|
rm -rf $(BUILD_DIR)
|
||||||
##
|
.PHONY: clean
|
||||||
|
|
||||||
fetchdeps: ## Update various external sources that live in the tree that can't be pulled in as git submodules.
|
tarball:
|
||||||
@echo "[fetch] sqlite"
|
|
||||||
@test -f out/deps/sqlite.zip && test "$$(cat out/deps/sqlite.txt 2>/dev/null)" = $(SQLITE_URL) || (mkdir -p out/deps/ && curl -q $(SQLITE_URL) -o out/deps/sqlite.zip)
|
|
||||||
@test -d deps/sqlite/ && test "$$(cat out/deps/sqlite.txt 2>/dev/null)" = $(SQLITE_URL) || (mkdir -p deps/sqlite/ && unzip -qDjo -d deps/sqlite/ out/deps/sqlite.zip)
|
|
||||||
@echo -n $(SQLITE_URL) > out/deps/sqlite.txt
|
|
||||||
@echo "[fetch] prettier"
|
|
||||||
@test -f deps/prettier/standalone.mjs || curl -q --create-dirs -O --output-dir deps/prettier/ https://cdn.jsdelivr.net/npm/prettier@3.2.5/standalone.mjs
|
|
||||||
@test -f deps/prettier/html.mjs || curl -q --create-dirs -O --output-dir deps/prettier/ https://cdn.jsdelivr.net/npm/prettier@3.2.5/plugins/html.mjs
|
|
||||||
@test -f deps/prettier/babel.mjs || curl -q --create-dirs -O --output-dir deps/prettier/ https://cdn.jsdelivr.net/npm/prettier@3.2.5/plugins/babel.mjs
|
|
||||||
@test -f deps/prettier/estree.mjs || curl -q --create-dirs -O --output-dir deps/prettier/ https://cdn.jsdelivr.net/npm/prettier@3.2.5/plugins/estree.mjs
|
|
||||||
.PHONY: fetchdeps
|
|
||||||
|
|
||||||
shots: ## Copy generated screenshots from `tildefriends test -t=auto` into place in the metadata/ directory.
|
|
||||||
@echo [shots] $(wildcard out/screenshot*.png)
|
|
||||||
@cp -f out/screenshot*.png metadata/en-US/images/phoneScreenshots/
|
|
||||||
.PHONY: shots
|
|
||||||
|
|
||||||
tarball: ## Build an all-inclusive source tarball (.tar.xz).
|
|
||||||
@echo [archive] out/tildefriends-$(VERSION_NUMBER).tar.xz
|
@echo [archive] out/tildefriends-$(VERSION_NUMBER).tar.xz
|
||||||
@rm -rf out/tildefriends-$(VERSION_NUMBER)
|
@rm -rf out/tildefriends-$(VERSION_NUMBER)
|
||||||
@mkdir -p out/tildefriends-$(VERSION_NUMBER)
|
@mkdir -p out/tildefriends-$(VERSION_NUMBER)
|
||||||
@ -1197,7 +1139,6 @@ tarball: ## Build an all-inclusive source tarball (.tar.xz).
|
|||||||
tildefriends-$(VERSION_NUMBER)
|
tildefriends-$(VERSION_NUMBER)
|
||||||
.PHONY: tarball
|
.PHONY: tarball
|
||||||
|
|
||||||
dist: ## Build versions of all distributables for release.
|
|
||||||
dist: release-apk iosrelease-ipa aab $(if $(HAVE_WIN), out/winrelease/tildefriends.standalone.exe) out/TildeFriends-release.fdroid.apk appimage tarball
|
dist: release-apk iosrelease-ipa aab $(if $(HAVE_WIN), out/winrelease/tildefriends.standalone.exe) out/TildeFriends-release.fdroid.apk appimage tarball
|
||||||
@mkdir -p dist/
|
@mkdir -p dist/
|
||||||
@echo "[cp] tildefriends-$(VERSION_NUMBER).tar.xz"
|
@echo "[cp] tildefriends-$(VERSION_NUMBER).tar.xz"
|
||||||
@ -1218,43 +1159,29 @@ dist: release-apk iosrelease-ipa aab $(if $(HAVE_WIN), out/winrelease/tildefrien
|
|||||||
@cp out/tildefriends-x86_64.AppImage dist/TildeFriends-x86_64-$(VERSION_NUMBER).AppImage
|
@cp out/tildefriends-x86_64.AppImage dist/TildeFriends-x86_64-$(VERSION_NUMBER).AppImage
|
||||||
.PHONY: dist
|
.PHONY: dist
|
||||||
|
|
||||||
dist-test: dist ## Exercise some built distributable files, making sure they work as intended.
|
dist-test: dist
|
||||||
@tar -xf tildefriends-$(VERSION_NUMBER).tar.xz
|
@tar -xf tildefriends-$(VERSION_NUMBER).tar.xz
|
||||||
@$(MAKE) -C tildefriends-$(VERSION_NUMBER)/ debug release
|
@$(MAKE) -C tildefriends-$(VERSION_NUMBER)/ debug release
|
||||||
@docker build tildefriends-$(VERSION_NUMBER)/
|
@docker build tildefriends-$(VERSION_NUMBER)/
|
||||||
@rm -rf tildefriends-$(VERSION_NUMBER)
|
@rm -rf tildefriends-$(VERSION_NUMBER)
|
||||||
.PHONY: dist-test
|
.PHONY: dist-test
|
||||||
|
|
||||||
##
|
format:
|
||||||
## Targets for tidying up:
|
|
||||||
##
|
|
||||||
|
|
||||||
format: ## Standardize formatting of C source.
|
|
||||||
@clang-format -i $(wildcard src/*.c src/*.h src/*.m)
|
@clang-format -i $(wildcard src/*.c src/*.h src/*.m)
|
||||||
.PHONY: format
|
.PHONY: format
|
||||||
|
|
||||||
prettier: ## Standardize formatting of JavaScript and Markdown source.
|
prettier:
|
||||||
@npm run prettier
|
@npm run prettier
|
||||||
.PHONY: prettier
|
.PHONY: prettier
|
||||||
|
|
||||||
clean: ## Clean all generated files from the out/ directory.
|
docs:
|
||||||
rm -rf $(BUILD_DIR)
|
|
||||||
.PHONY: clean
|
|
||||||
|
|
||||||
##
|
|
||||||
## Documentation:
|
|
||||||
##
|
|
||||||
help: ## Display this help message.
|
|
||||||
@gawk -vG=$$(tput setaf 2) -vR=$$(tput sgr0) ' \
|
|
||||||
match($$0, "^(([^#:]*[^ :]) *:)?([^#]*)##([^#].+|)$$",a) { \
|
|
||||||
if (a[2] != "") { printf " make %s%-22s%s %s\n", G, a[2], R, a[4]; next }\
|
|
||||||
if (a[3] == "") { print a[4]; next }\
|
|
||||||
printf "\n%-36s %s\n","",a[4]\
|
|
||||||
}' $(filter-out %.d,$(MAKEFILE_LIST))
|
|
||||||
@echo "" # Blank line.
|
|
||||||
.PHONY: help
|
|
||||||
.DEFAULT_GOAL := help
|
|
||||||
|
|
||||||
docs: ## Build HTML docs.
|
|
||||||
@doxygen
|
@doxygen
|
||||||
.PHONY: docs
|
.PHONY: docs
|
||||||
|
|
||||||
|
fdroid: out/apk/TildeFriends-release.fdroid.unsigned.apk
|
||||||
|
.PHONY: fdroid
|
||||||
|
|
||||||
|
shots:
|
||||||
|
@echo [shots] $(wildcard out/screenshot*.png)
|
||||||
|
@cp -f out/screenshot*.png metadata/en-US/images/phoneScreenshots/
|
||||||
|
.PHONY: shots
|
||||||
|
@ -37,10 +37,11 @@ The `.tar.xz` source releases are all-inclusive.
|
|||||||
|
|
||||||
1. On Linux only, system OpenSSL libraries (`libssl-dev`, in debian-speak) are
|
1. On Linux only, system OpenSSL libraries (`libssl-dev`, in debian-speak) are
|
||||||
assumed to be available.
|
assumed to be available.
|
||||||
2. Run `make` with no arguments to see available build targets and options.
|
2. To build, run `make debug` or `make release`. An executable will be
|
||||||
`make debug` is a good place to start.
|
generated in a subdirectory of `out/`.
|
||||||
3. It's possible to build for Android, iOS, and Windows on Linux, if you have
|
3. It's possible to build for Android, iOS, and Windows on Linux, if you have
|
||||||
the right dependencies in the right places.
|
the right dependencies in the right places. `make windebug winrelease
|
||||||
|
iosdebug-ipa iosrelease-ipa release-apk`.
|
||||||
4. To build in docker, `docker build .`.
|
4. To build in docker, `docker build .`.
|
||||||
5. `make format` will normalize formatting to the coding standard.
|
5. `make format` will normalize formatting to the coding standard.
|
||||||
|
|
||||||
|
@ -233,11 +233,7 @@ class TfProfileElement extends LitElement {
|
|||||||
</button>`;
|
</button>`;
|
||||||
}
|
}
|
||||||
edit = html`
|
edit = html`
|
||||||
<button
|
<button id="save_profile" class="w3-button w3-theme-d1" @click=${this.save_edits}>
|
||||||
id="save_profile"
|
|
||||||
class="w3-button w3-theme-d1"
|
|
||||||
@click=${this.save_edits}
|
|
||||||
>
|
|
||||||
Save Profile
|
Save Profile
|
||||||
</button>
|
</button>
|
||||||
<button class="w3-button w3-theme-d1" @click=${this.discard_edits}>
|
<button class="w3-button w3-theme-d1" @click=${this.discard_edits}>
|
||||||
@ -246,11 +242,7 @@ class TfProfileElement extends LitElement {
|
|||||||
${server_follow}
|
${server_follow}
|
||||||
`;
|
`;
|
||||||
} else {
|
} else {
|
||||||
edit = html`<button
|
edit = html`<button id="edit_profile" class="w3-button w3-theme-d1" @click=${this.edit}>
|
||||||
id="edit_profile"
|
|
||||||
class="w3-button w3-theme-d1"
|
|
||||||
@click=${this.edit}
|
|
||||||
>
|
|
||||||
Edit Profile
|
Edit Profile
|
||||||
</button>`;
|
</button>`;
|
||||||
}
|
}
|
||||||
|
@ -217,9 +217,7 @@ class TfTabConnectionsElement extends LitElement {
|
|||||||
<ul class="w3-ul w3-border">
|
<ul class="w3-ul w3-border">
|
||||||
${this.broadcasts
|
${this.broadcasts
|
||||||
.filter((x) => x.address)
|
.filter((x) => x.address)
|
||||||
.filter(
|
.filter((x) => self.connections.map(c => c.id).indexOf(x.pubkey) == -1)
|
||||||
(x) => self.connections.map((c) => c.id).indexOf(x.pubkey) == -1
|
|
||||||
)
|
|
||||||
.map((x) => self.render_broadcast(x))}
|
.map((x) => self.render_broadcast(x))}
|
||||||
</ul>
|
</ul>
|
||||||
<h2>Connections</h2>
|
<h2>Connections</h2>
|
||||||
|
@ -1,14 +1,12 @@
|
|||||||
* Improve, test, and fix some first time flow issues.
|
* Improve, test, and fix some first time flow issues.
|
||||||
* Show connect failure reasons.
|
* Show reasons for failing to connect.
|
||||||
* Actually use CommonMark JS in "safe" mode(!).
|
* Actually use CommonMark JS in "safe" mode(!).
|
||||||
* Move app blob handling from JS to C.
|
* Move app blob handling from JS to C.
|
||||||
* Fixed "publish" command-line interface and used it to add a script that posts development activity updates.
|
* Fixed "publish" command-line interface and used it to add a script that posts development activity updates.
|
||||||
* Minor style improvements.
|
* Minor style improvements.
|
||||||
* Make it possible to see the little graphs on mobile.
|
* Make it possible to see the little graphs on mobile.
|
||||||
* Shutdown fixes.
|
|
||||||
* Updated dependencies:
|
* Updated dependencies:
|
||||||
|
* libbacktrace
|
||||||
* CodeMirror
|
* CodeMirror
|
||||||
* c-ares 1.34.3
|
* c-ares 1.34.3
|
||||||
* libbacktrace
|
|
||||||
* speedscope 1.21.0
|
* speedscope 1.21.0
|
||||||
* sqlite 3.47.1
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user