[ENGLISH]
Aminet Upload For Dummy 1.3 - Complete Source Code
==================================================
C sources, build script, catalog generator and tests of Aminet Upload
For Dummy 1.3 (the program: AminetUploadForDummy_v1.3.lha). Comments in
the code are in Italian.
ARCHIVE CONTENTS
----------------
* build.sh builds the Amiga program and the catalogs;
"./build.sh test" builds the tests for the host.
* src/gui.c ReAction window, tabs, log, requesters.
* src/readme.c reading, checking and writing Aminet readmes
(plain C, no Amiga calls: testable anywhere).
* src/ftp.c FTP client on bsdsocket, non-blocking, with the
window kept alive during the upload.
* src/prefs.c preferences in ENVARC:.
* src/plat.c file layer (AmigaDOS or stdio).
* src/testi.def all texts, English/Italian/German (X-macro).
* src/categorie.c the 362 Aminet categories (generated).
* categorie.txt list of the categories, "dir/sub<TAB>text".
* tools/gen_catalog.py writes the .catalog files from testi.def.
* tools/gen_categorie.py writes src/categorie.c from categorie.txt.
* tools/aggiungi_tooltype.py adds tooltypes to an icon (classic or
PNG) that has none, e.g. "(LANGUAGE=italiano)".
* test/ readme reader test, FTP client test, a fake FTP
server in Python and a set of broken readmes.
BUILDING
--------
Put m68k-amigaos-gcc in the PATH, or set TC to the compiler drawer (or
write "TC=/path/to/gcc" in a file build.local), then:
./build.sh -> build/AminetUploadForDummy + build/catalogs
OS=39 ./build.sh -> build/AminetUploadForDummy_OS39 (AmigaOS 3.9)
./build.sh test -> build/mac/prova_readme, build/mac/prova_ftp
The OS 3.9 version (-DOS39) uses a fixed ColumnInfo table for the log:
AllocLBColumnInfo() freezes the whole system on 3.9 (listbrowser 45.12).
The 3.2 version uses the same table when the listbrowser is older than V47.
The program is linked with libnix (-noixemul) and -fno-common: without
it libnix tries to open the ReAction classes as libraries.
LICENSE
-------
Freeware. Made by SkIzZoLFs / LfsCrew
Contact: lfscr3w@gmail.com
========================================================================
[ITALIANO]
Aminet Upload For Dummy 1.3 - Sorgenti completi
===============================================
Sorgenti C, script di compilazione, generatore dei cataloghi e prove di
Aminet Upload For Dummy 1.3 (il programma: AminetUploadForDummy_v1.3.lha).
I commenti nel codice sono in italiano.
CONTENUTO
---------
* build.sh compila il programma Amiga e i cataloghi;
"./build.sh test" compila le prove per il Mac/PC.
* src/gui.c finestra ReAction, schede, log, requester.
* src/readme.c lettura, controllo e scrittura dei readme di
Aminet (C puro, si prova anche fuori dall'Amiga).
* src/ftp.c client FTP su bsdsocket, non bloccante, la
finestra resta viva durante l'invio.
* src/prefs.c preferenze in ENVARC:.
* src/plat.c accesso ai file (AmigaDOS o stdio).
* src/testi.def tutti i testi, inglese/italiano/tedesco (X-macro).
* src/categorie.c le 362 categorie di Aminet (generato).
* categorie.txt elenco delle categorie, "dir/sub<TAB>testo".
* tools/gen_catalog.py scrive i .catalog da testi.def.
* tools/gen_categorie.py scrive src/categorie.c da categorie.txt.
* tools/aggiungi_tooltype.py aggiunge i tooltype a un'icona (classica
o PNG) che non ne ha, es. "(LANGUAGE=italiano)".
* test/ prova del lettore di readme, prova del client
FTP, un server FTP finto in Python e readme rotti.
COMPILAZIONE
------------
Metti m68k-amigaos-gcc nel PATH, oppure imposta TC con la cartella del
compilatore (o scrivi "TC=/percorso/del/gcc" in un file build.local), poi:
./build.sh -> build/AminetUploadForDummy + build/catalogs
OS=39 ./build.sh -> build/AminetUploadForDummy_OS39 (AmigaOS 3.9)
./build.sh test -> build/mac/prova_readme, build/mac/prova_ftp
La versione 3.9 (-DOS39) usa una tabella ColumnInfo fissa per il log:
AllocLBColumnInfo() sul 3.9 (listbrowser 45.12) blocca tutto il sistema.
La versione 3.2 usa la stessa tabella se il listbrowser e' prima della V47.
Il programma usa libnix (-noixemul) e -fno-common: senza, libnix prova ad
aprire le classi ReAction come librerie.
LICENZA
-------
Freeware. Fatto da SkIzZoLFs / LfsCrew
Contatti: lfscr3w@gmail.com
|