fix(build): silenziato -Wreorder nel costruttore di ApiClient (v0.2.1)
L'inizializzazione di m_sessionsModel era in lista prima dei flag bool, ma il membro e' dichiarato dopo: gcc avvisava con -Wreorder. Spostata l'entry in coda, dopo m_transcribing. Build completa senza warning. Nessun cambio di comportamento (la 0.2.0 compilata e' identica).
This commit is contained in:
@@ -29,6 +29,6 @@ speaks (validated live against a real instance).
|
||||
|
||||
## Status
|
||||
|
||||
Version 0.2.0 — protocol and C++ core validated against a real `hermes-webui`
|
||||
Version 0.2.1 — protocol and C++ core validated against a real `hermes-webui`
|
||||
(login, sessions, streaming chat, TTS, STT); on-device testing (audio paths,
|
||||
Sailjail prompts, keyboard handling) still pending.
|
||||
|
||||
+3
-3
@@ -76,12 +76,12 @@ richiede il probe WebUI su :8899). Esito 12/09/2026: unit 9/9, live completo OK.
|
||||
|
||||
```bash
|
||||
cd /home/kaneda/workspace
|
||||
tar czf harbour-hermes-0.2.0.tar.gz \
|
||||
--transform 's,^harbour-hermes,harbour-hermes-0.2.0,' \
|
||||
tar czf harbour-hermes-0.2.1.tar.gz \
|
||||
--transform 's,^harbour-hermes,harbour-hermes-0.2.1,' \
|
||||
--exclude='.git' harbour-hermes
|
||||
```
|
||||
|
||||
Lo spec si aspetta la directory `harbour-hermes-0.2.0/` (pattern degli altri
|
||||
Lo spec si aspetta la directory `harbour-hermes-0.2.1/` (pattern degli altri
|
||||
progetti: cercato in modo robusto anche per i sorgenti live di sfdk).
|
||||
|
||||
## 5. Dipendenze lato server (WebUI)
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Name: harbour-hermes
|
||||
Summary: Client for the Hermes Web UI with voice
|
||||
Version: 0.2.0
|
||||
Version: 0.2.1
|
||||
Release: 1
|
||||
Group: Qt/Qt
|
||||
License: MIT
|
||||
@@ -24,6 +24,9 @@ Sessions list, chat with live streaming replies, voice dictation
|
||||
(server-side TTS), plus a hands-free conversation mode.
|
||||
|
||||
%changelog
|
||||
* Sat Sep 12 2026 Carlo Baratto <carlo@carlobaratto.it> - 0.2.1-1
|
||||
- Fix build: rimosso il warning -Wreorder (ordine dell'inizializzazione
|
||||
di m_sessionsModel nel costruttore di ApiClient)
|
||||
* Sat Sep 12 2026 Carlo Baratto <carlo@carlobaratto.it> - 0.2.0-1
|
||||
- Modalita' dialogo (voce continua): ascolto con stop automatico sul
|
||||
silenzio (QAudioInput + VAD), trascrizione, invio automatico, lettura
|
||||
|
||||
+1
-1
@@ -15,11 +15,11 @@ ApiClient::ApiClient(Settings *settings, QObject *parent)
|
||||
: QObject(parent)
|
||||
, m_settings(settings)
|
||||
, m_jar(new CookieJar(this))
|
||||
, m_sessionsModel(new SessionsModel(this))
|
||||
, m_loggedIn(false)
|
||||
, m_busy(false)
|
||||
, m_streaming(false)
|
||||
, m_transcribing(false)
|
||||
, m_sessionsModel(new SessionsModel(this))
|
||||
, m_streamReply(nullptr)
|
||||
, m_streamEndedEmitted(false)
|
||||
{
|
||||
|
||||
+2
-2
@@ -19,9 +19,9 @@ Q_DECL_EXPORT int main(int argc, char *argv[])
|
||||
// AppConfigLocation = ~/.config/harbour/hermes (zona persistente della sandbox).
|
||||
app->setOrganizationName(QStringLiteral("harbour"));
|
||||
app->setApplicationName(QStringLiteral("hermes"));
|
||||
app->setApplicationVersion(QStringLiteral("0.2.0"));
|
||||
app->setApplicationVersion(QStringLiteral("0.2.1"));
|
||||
|
||||
qDebug() << "harbour-hermes v0.2.0 build" << __DATE__ << __TIME__;
|
||||
qDebug() << "harbour-hermes v0.2.1 build" << __DATE__ << __TIME__;
|
||||
|
||||
Settings settings;
|
||||
ApiClient api(&settings);
|
||||
|
||||
Reference in New Issue
Block a user