Motore rc16 e purge (0.24.9)

Il motore passa da beta10 (2276e7e) a rc16 (bc7953f): venti commit, fra cui stato
dei messaggi, coda con ora di invio, Task Errors, ricerche salvate, Undelete,
Compact, Show Raw, MoodWatch. Tutte e 18 le patch del porting si applicano
ancora.

L'ABI di gd_run e' cambiata (quattro callback in piu'): aggiornati engine_entry,
enginecallbacks, il ponte e l'header. Collegata la purge: «Elimina
definitivamente» dentro il cestino.
This commit is contained in:
Carlo Baratto committed 2026-11-29 10:11:07 +01:00
1 parent 906f9e1cff
commit 4e4e9f59ff
13 files changed
+128 -20

No files matched your search

+3 -3
View File
@@ -7,9 +7,9 @@ un aggiornamento dell'originale può cambiare le callback e rompere l'app.
| | |
|---|---|
| progetto | https://git.keinpfusch.net/loweel/grumpydove |
| versione | **1.0.0-beta10 + fix del 16 novembre** (l'ultimo commit non è taggato) |
| commit | `2276e7e47317e356b56bd25d07364b307b4e8ffc` |
| data del commit | 16 novembre 2026 |
| versione | **1.0.0-rc16** (commit non taggato) |
| commit | `bc7953f` (rc16: Ctrl+W closes the active window again) |
| data del commit | 29 novembre 2026 |
`engine/build_lib.sh` scarica da sé questa versione se i sorgenti non ci sono
(`GRUMPYDOVE_VERSION` per cambiarla). Le modifiche che il porting fa al motore
+1 -1
View File
@@ -20,7 +20,7 @@ OUT=$WORK/libgrumpydove.so
# Se i sorgenti non ci sono si scaricano dalla versione dichiarata: il motore
# del porting e' una versione precisa dell'originale, non "l'ultima". Puo'
# essere un tag o un commit (l'ultimo fix non e' taggato).
VERSIONE=${GRUMPYDOVE_VERSION:-2276e7e}
VERSIONE=${GRUMPYDOVE_VERSION:-bc7953f}
if [ ! -d "$SRC/src" ]; then
echo "sorgenti assenti in $SRC: scarico $VERSIONE"
git clone -q --depth 1 --branch "$VERSIONE" \
+9 -1
View File
@@ -97,7 +97,15 @@ begin
Images => Mail_Boxes.Images_Of'Access,
Attachments => Mail_Boxes.Attachments_Of'Access,
Path => Mail_Boxes.Path_Of'Access,
Unread => Mail_Boxes.Unread'Access);
Unread => Mail_Boxes.Unread'Access,
-- Dall'rc2 del motore: stato dei messaggi (letto/risposto/inoltrato),
-- messaggi in coda con un'ora di invio, dove sta la coda, e la
-- cancellazione definitiva. Il motore le vuole anche se l'app non le
-- usa ancora: senza, la firma di Run non combacia.
Status => Mail_Boxes.Set_Status'Access,
Send_At => Mail_Boxes.Set_Send_At'Access,
Due => Mail_Boxes.Due_Queued'Access,
Purge => Mail_Boxes.Purge'Access);
Mail_Log.Write ("---- exit");
Mail_Imap.Cancel;
pragma Unreferenced (Result);
+2 -5
View File
@@ -6,10 +6,6 @@
extern "C" {
#endif
/* Creare una cartella sul server: accoda la nota, la esegue il controllo
successivo (IMAP CREATE). Restituisce 1 se accodata, -1 se non si puo'. */
int gd_make_remote(int folder, const char *name, int length);
/* Folders, rows and columns count from 0. A text callback writes at most cap
bytes of UTF-8 into buf, with no terminator, and returns how many. */
typedef int (*gd_folder_fn)(int index, int *depth, char *buf, int cap);
@@ -74,7 +70,8 @@ int gd_run(gd_folder_fn folder, gd_open_fn open, gd_cell_fn cell,
gd_find_start_fn book_start, gd_find_poll_fn book_poll,
gd_place_fn book_list, gd_queue_sent_fn queue_sent, gd_text_fn html,
gd_text_fn images, gd_text_fn attachments, gd_text_fn path,
gd_can_hold_fn unread);
gd_can_hold_fn unread, gd_set_fn status, gd_set_fn send_at,
gd_place_fn due, gd_row_of_fn purge);
#ifdef __cplusplus
}
Binary file not shown.