Cartelle sul server: IMAP CREATE accodato (0.22.0)
Il motore aveva I_Create ma nessuno lo chiamava: Make_Folder crea solo sotto Local (Can_Hold=1). Aggiunte tre patch (Note_Make in Mail_Pending, ramo mkdir nel Flush) e l'unita' Make_Remote che esporta gd_make_remote. L'interfaccia ha 'Nuova cartella nell'account': la cartella nasce al controllo successivo.
This commit is contained in:
1 parent
e6f3786aef
commit
9ed2bd614e
13 files changed
+189
-8
No files matched your search
@@ -1,5 +1,7 @@
|
||||
-- Corpo dell'entry point: quello di src/grumpydove.adb, con la sola
|
||||
-- differenza del nome e nessun uso di Ada.Command_Line.
|
||||
with System;
|
||||
|
||||
with GNAT.Exception_Traces;
|
||||
with GNAT.Traceback.Symbolic;
|
||||
with Interfaces.C; use Interfaces.C;
|
||||
@@ -7,6 +9,7 @@ with Interfaces.C; use Interfaces.C;
|
||||
with Mail_Boxes;
|
||||
with Mail_Find;
|
||||
with Filing_Keep;
|
||||
with Make_Remote;
|
||||
with Mail_Folders;
|
||||
with Mail_Carddav;
|
||||
with Mail_Imap;
|
||||
@@ -28,6 +31,14 @@ begin
|
||||
Mail_Log.Start;
|
||||
-- Nomina i filtri che imparano, così entrano nella libreria.
|
||||
Filing_Keep;
|
||||
-- E la creazione di cartelle sul server: la funzione e' esportata, ma se
|
||||
-- nessuno la nomina gnatmake non la compila e gd_make_remote manca.
|
||||
declare
|
||||
Ignored : constant int := Make_Remote.Make (-1, System.Null_Address, 0);
|
||||
pragma Unreferenced (Ignored);
|
||||
begin
|
||||
null;
|
||||
end;
|
||||
if Single_Instance = 0 then
|
||||
Mail_Log.Write ("another GrumpyDove is open: this one leaves");
|
||||
Already_Open;
|
||||
|
||||
Reference in new issue
Block a user