This commit is contained in:
ed 2022-08-18 19:24:06 +02:00
parent eba86b1d23
commit 500e3157b9
5 changed files with 32 additions and 6 deletions

2
.gitignore vendored
View file

@ -11,7 +11,7 @@ copyparty.egg-info/
/build/ /build/
/dist/ /dist/
/py2/ /py2/
/sfx/ /sfx*
/unt/ /unt/
/log/ /log/

View file

@ -1,6 +1,6 @@
# coding: utf-8 # coding: utf-8
VERSION = (1, 3, 15) VERSION = (1, 3, 16)
CODENAME = "god dag" CODENAME = "god dag"
BUILD_DT = (2022, 8, 18) BUILD_DT = (2022, 8, 18)

View file

@ -1,3 +1,21 @@
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
# 2022-0817-2302 `v1.3.15` pls let me stop finding chrome bugs
two browser-bugs in two hours, man i just wanna play horizon
* read-only demo server at https://a.ocv.me/pub/demo/
* latest gzip edition of the sfx: [v1.0.14](https://github.com/9001/copyparty/releases/tag/v1.0.14#:~:text=release-specific%20notes)
## bugfixes
* chrome randomly running out of memory while hashing files and `mt` is enabled
* the gc suddenly gives up collecting the filereaders
* fixed by reusing a pool of readers instead
* chrome failing to gc Any Buffers At All while hashing files and `mt` is enabled on plaintext http
* this one's funkier, they've repeatedly fixed and broke it like 6 times between chrome 84 and 106
* looks like it just forgets about everything that's passed into wasm
* no way around it, just show a popup explaining how to disable multithreaded hashing
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
# 2022-0815-1825 `v1.3.14` fix windows db # 2022-0815-1825 `v1.3.14` fix windows db

View file

@ -3,7 +3,11 @@ set -e
parallel=2 parallel=2
cd ~/dev/copyparty/scripts [ -e make-sfx.sh ] || cd scripts
[ -e make-sfx.sh ] && [ -e deps-docker ] || {
echo cd into the scripts folder first
exit 1
}
v=$1 v=$1
@ -36,10 +40,14 @@ $f.py -h >/dev/null
printf '\033[%s' s 2r H "0;1;37;44mbruteforcing sfx size -- press enter to terminate" K u "7m $* " K $'27m\n' printf '\033[%s' s 2r H "0;1;37;44mbruteforcing sfx size -- press enter to terminate" K u "7m $* " K $'27m\n'
trap "rm -f .sfx-run; printf '\033[%s' s r u" INT TERM EXIT trap "rm -f .sfx-run; printf '\033[%s' s r u" INT TERM EXIT
touch .sfx-run touch .sfx-run
min=99999999
for ((a=0; a<$parallel; a++)); do for ((a=0; a<$parallel; a++)); do
while [ -e .sfx-run ]; do while [ -e .sfx-run ]; do
CSN=sfx$a ./make-sfx.sh re "$@" CSN=sfx$a ./make-sfx.sh re "$@"
mv $f$a.py $f.$(wc -c <$f$a.py | awk '{print$1}').py sz=$(wc -c <$f$a.py | awk '{print$1}')
[ $sz -ge $min ] && continue
mv $f$a.py $f.py.$sz
min=$sz
done & done &
done done
read read