Fix httpstream so it doesn't error on youtube responses, and fix FromDoubleLE to not use big endian, but rather use little endian

This commit is contained in:
2026-11-21 19:40:34 -06:00
parent 7649a1ad4c
commit f6f81bf909
5 changed files with 28 additions and 23 deletions
+21 -15
View File
@@ -22,23 +22,11 @@ jobs:
prerelease: true
files: |-
artifacts/**
update-tap-and-build-win32:
name: "🔨 Build win32 and update the tap 🍺"
runs-on: asrock
container: git.tesses.org/tesses50/global-containers-mingw:latest
update-tap:
name: "Update tap 🍺"
runs-on: r420
steps:
- uses: actions/checkout@v4
url: https://git.tesses.org/tesses50/tessesframework.git
- run: |
mkdir artifacts
env -C Packaging/WinToolsIntel bash build.sh
- uses: akkuman/gitea-release-action@v1
with:
prerelease: true
files: |-
artifacts/**
- uses: actions/checkout@v4
with:
ref: "master"
@@ -53,6 +41,24 @@ jobs:
git add .
git commit -m "Push tessesframework=${{ env.VERSION }}"
git push
update-tap-and-build-win32:
name: "🔨 Build win32"
runs-on: asrock
container: git.tesses.org/tesses50/global-containers-mingw:latest
steps:
- uses: actions/checkout@v4
- run: |
mkdir artifacts
env -C Packaging/WinToolsIntel bash build.sh
- uses: akkuman/gitea-release-action@v1
with:
prerelease: true
files: |-
artifacts/**
build-packages:
name: "🔨 Build for everything else"
strategy:
+3
View File
@@ -1,5 +1,8 @@
# Changelog
## 0.0.12
Fix httpstream so it doesn't error on youtube responses, and fix FromDoubleLE to not use big endian, but rather use little endian
## 0.0.11
Fix the event loop so it isn't 100% CPU utilization
+1 -1
View File
@@ -1,3 +1,3 @@
set(TESSESFRAMEWORK_MAJOR_VERSION 0)
set(TESSESFRAMEWORK_MINOR_VERSION 0)
set(TESSESFRAMEWORK_PATCH_VERSION 11)
set(TESSESFRAMEWORK_PATCH_VERSION 12)
+1 -5
View File
@@ -119,11 +119,7 @@ size_t HttpStream::Read(uint8_t *buff, size_t len) {
std::string line = reader.ReadLine();
if (line.empty()) {
if (this->position > 0) {
throw std::runtime_error(
"Incomplete Read (chunked): connection closed "
"before final 0 chunk");
}
this->done = true;
return 0;
}
+1 -1
View File
@@ -150,7 +150,7 @@ void BitConverter::FromUint16BE(uint8_t &b, uint16_t v) {
}
void BitConverter::FromDoubleLE(uint8_t &b, double v) {
FromUint64BE(b, ToUintBits(v));
FromUint64LE(b, ToUintBits(v));
}
void BitConverter::FromFloatLE(uint8_t &b, float v) {
FromUint32LE(b, ToUint32Bits(v));