[WIP] AmiFTP

...für und mit Amiga OS4

Moderator: OS4Welt-Team

Benutzeravatar
Goos
Entwickler-X
Beiträge: 291
Registriert: 27. September 2009 13:27
Wohnort: Neustadt i. Sa.
Danksagung erhalten: 8 Mal
Kontaktdaten:

Re: [WIP] AmiFTP

Beitrag von Goos »

So wieder ne Woche rum ... AmiFTP zeit.

So alle Gadgets sind nun durch Reaction Versionen ersetzt.
Die Knöpfe aus der unteren Zeile entfernt.
Somit die Knöpfe anzeigen aus den Prefs herausgenommen, sowie für das Logfenster ein Eintrag hinzugefügt.
Die Topbar komplett umgebaut und mit AISS Bildchen verziert.
Einpaar Refresh Probleme hab ich noch beim Listview beseitigt.
Und auch endlich die festen Pens 1 und 2 durch DRI Pens (Text/Highlighted Text noch nicht in Stein gemeißelt ;)) ersetzt.

Als nächstes wird dann sein, das Log Fenster direkt ins Hauptfenster zu integrieren,Docky support und AminetMode.
Dann dann sollte es zum testen bereit sein :)
out_832x817x24_000.png
Du hast keine ausreichende Berechtigung, um die Dateianhänge dieses Beitrags anzusehen.
Programmierer der EntwicklerX
Benutzeravatar
awdesign
Beiträge: 164
Registriert: 16. Januar 2010 15:05
Wohnort: Oberhausen
Hat sich bedankt: 12 Mal
Danksagung erhalten: 4 Mal
Kontaktdaten:

Re: [WIP] AmiFTP

Beitrag von awdesign »

Ich finde die letzte Version (Logo Bild) super, schlicht und nicht detailliert. Top 👍🏻
http://twitter.com/awdesign74
Benutzeravatar
IconDesigner
Beiträge: 410
Registriert: 29. Dezember 2016 17:00
Hat sich bedankt: 20 Mal
Danksagung erhalten: 24 Mal

Re: [WIP] AmiFTP

Beitrag von IconDesigner »

@Goos ,

supper Arbeit :thumbsup: !

Ich habe nur ein Problem Deine Arbeit nach zu vollziehen.

Beim Übersetzten Deines QuellCodes, bekomme ich immer folgenden Fehler mit der SpeedBar.c

Code: Alles auswählen

Neuer Shell-Prozess 6
6.AmigaOS:> cd ram:AmiFTP-master/src/amiftp/
6.RAM Disk:AmiFTP-master/src/amiftp> make -j8 -i
ppc-amigaos-gcc -Werror=implicit-function-declaration -D__USE_INLINE__ -gstabs+ -c -o o/version.o version.c
ppc-amigaos-gcc -c -o o/bsdsocket.o ../tcphook/bsdsocket.c
ppc-amigaos-gcc -Werror=implicit-function-declaration -D__USE_INLINE__ -gstabs+ -c -o o/tcp.o ../tcphook/tcp.c
ppc-amigaos-gcc -Werror=implicit-function-declaration -D__USE_INLINE__ -gstabs+ -c -o o/ADT.o ADT.c
ppc-amigaos-gcc -Werror=implicit-function-declaration -D__USE_INLINE__ -gstabs+ -c -o o/aguide.o aguide.c
ppc-amigaos-gcc -Werror=implicit-function-declaration -D__USE_INLINE__ -gstabs+ -c -o o/AmiFTP.o AmiFTP.c
ppc-amigaos-gcc -Werror=implicit-function-declaration -D__USE_INLINE__ -gstabs+ -c -o o/AmiFTP_Cat.o AmiFTP_Cat.c
ppc-amigaos-gcc -Werror=implicit-function-declaration -D__USE_INLINE__ -gstabs+ -c -o o/cache.o cache.c
ppc-amigaos-gcc -Werror=implicit-function-declaration -D__USE_INLINE__ -gstabs+ -c -o o/change_dir.o change_dir.c
ppc-amigaos-gcc -Werror=implicit-function-declaration -D__USE_INLINE__ -gstabs+ -c -o o/config.o config.c
../tcphook/bsdsocket.c: In function 'aos4_gethostbyname':
../tcphook/bsdsocket.c:12:5: warning: passing argument 2 of 'ISocket->gethostbyname' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
     return ISocket->gethostbyname(name);
     ^~~~~~
../tcphook/bsdsocket.c:12:5: note: expected 'STRPTR' {aka 'char *'} but argument is of type 'const UBYTE *' {aka 'const unsigned char *'}
../tcphook/bsdsocket.c: In function 'aos4_getservbyname':
../tcphook/bsdsocket.c:17:5: warning: passing argument 2 of 'ISocket->getservbyname' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
     return ISocket->getservbyname(name,proto);
     ^~~~~~
../tcphook/bsdsocket.c:17:5: note: expected 'STRPTR' {aka 'char *'} but argument is of type 'const UBYTE *' {aka 'const unsigned char *'}
../tcphook/bsdsocket.c:17:5: warning: passing argument 3 of 'ISocket->getservbyname' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
../tcphook/bsdsocket.c:17:5: note: expected 'STRPTR' {aka 'char *'} but argument is of type 'const UBYTE *' {aka 'const unsigned char *'}
../tcphook/bsdsocket.c: In function 'aos4_getpwnam':
../tcphook/bsdsocket.c:27:5: warning: passing argument 2 of 'IUserGroup->getpwnam' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
     return IUserGroup->getpwnam(name);
     ^~~~~~
../tcphook/bsdsocket.c:27:5: note: expected 'STRPTR' {aka 'char *'} but argument is of type 'const char *'
../tcphook/bsdsocket.c: In function 'aos4_inetaddr':
../tcphook/bsdsocket.c:42:5: warning: passing argument 2 of 'ISocket->inet_addr' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
     return ISocket->inet_addr(s);
     ^~~~~~
../tcphook/bsdsocket.c:42:5: note: expected 'STRPTR' {aka 'char *'} but argument is of type 'const UBYTE *' {aka 'const unsigned char *'}
../tcphook/bsdsocket.c: In function 'aos4_getpeername':
../tcphook/bsdsocket.c:79:5: warning: passing argument 4 of 'ISocket->getpeername' from incompatible pointer type [-Wincompatible-pointer-types]
     return ISocket->getpeername(s,name,namelen);
     ^~~~~~
../tcphook/bsdsocket.c:79:5: note: expected 'socklen_t *' {aka 'unsigned int *'} but argument is of type 'LONG *' {aka 'long int *'}
../tcphook/bsdsocket.c: In function 'aos4_getsockname':
../tcphook/bsdsocket.c:89:5: warning: passing argument 4 of 'ISocket->getsockname' from incompatible pointer type [-Wincompatible-pointer-types]
     return ISocket->getsockname(s,name,namelen);
     ^~~~~~
../tcphook/bsdsocket.c:89:5: note: expected 'socklen_t *' {aka 'unsigned int *'} but argument is of type 'LONG *' {aka 'long int *'}
../tcphook/bsdsocket.c: In function 'aos4_send':
../tcphook/bsdsocket.c:99:5: warning: passing argument 3 of 'ISocket->send' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
     return ISocket->send(s,msg,len,flags);
     ^~~~~~
../tcphook/bsdsocket.c:99:5: note: expected 'APTR' {aka 'void *'} but argument is of type 'const UBYTE *' {aka 'const unsigned char *'}
../tcphook/bsdsocket.c: In function 'aos4_bind':
../tcphook/bsdsocket.c:109:5: warning: passing argument 3 of 'ISocket->bind' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
     return ISocket->bind(s,name,namelen);
     ^~~~~~
../tcphook/bsdsocket.c:109:5: note: expected 'struct sockaddr *' but argument is of type 'const struct sockaddr *'
../tcphook/bsdsocket.c: In function 'aos4_accept':
../tcphook/bsdsocket.c:119:5: warning: passing argument 4 of 'ISocket->accept' from incompatible pointer type [-Wincompatible-pointer-types]
     return ISocket->accept(s,addr,addrlen);
     ^~~~~~
../tcphook/bsdsocket.c:119:5: note: expected 'socklen_t *' {aka 'unsigned int *'} but argument is of type 'LONG *' {aka 'long int *'}
ppc-amigaos-gcc -Werror=implicit-function-declaration -D__USE_INLINE__ -gstabs+ -c -o o/ConnectWindow.o ConnectWindow.c
../tcphook/tcp.c:16:42: warning: 'struct mysockaddr_in' declared inside parameter list will not be visible outside of this definition or declaration
 LONG (*tcp_connect)(LONG s, const struct mysockaddr_in *name);
                                          ^~~~~~~~~~~~~
../tcphook/tcp.c: In function 'CloseTCP':
../tcphook/tcp.c:44:5: warning: passing argument 2 of 'IExec->DropInterface' from incompatible pointer type [-Wincompatible-pointer-types]
     if (ISocket) DropInterface(ISocket);
     ^~
../tcphook/tcp.c:44:5: note: expected 'struct Interface *' but argument is of type 'struct SocketIFace *'
../tcphook/tcp.c:47:5: warning: passing argument 2 of 'IExec->DropInterface' from incompatible pointer type [-Wincompatible-pointer-types]
     if (ISocket) DropInterface(ISocket);
     ^~
../tcphook/tcp.c:47:5: note: expected 'struct Interface *' but argument is of type 'struct SocketIFace *'
../tcphook/tcp.c: In function 'OpenTCP':
../tcphook/tcp.c:94:17: warning: assignment to 'struct SocketIFace *' from incompatible pointer type 'struct Interface *' [-Wincompatible-pointer-types]
         ISocket = GetInterfaceTags(SocketBase, "main", 1, TAG_END);
                 ^
../tcphook/tcp.c:106:20: warning: assignment to 'struct UserGroupIFace *' from incompatible pointer type 'struct Interface *' [-Wincompatible-pointer-types]
         IUserGroup = GetInterfaceTags(UserGroupBase, "main", 1, TAG_END);
                    ^
ppc-amigaos-gcc -Werror=implicit-function-declaration -D__USE_INLINE__ -gstabs+ -c -o o/data.o data.c
ppc-amigaos-gcc -Werror=implicit-function-declaration -D__USE_INLINE__ -gstabs+ -c -o o/dirlist.o dirlist.c
ppc-amigaos-gcc -Werror=implicit-function-declaration -D__USE_INLINE__ -gstabs+ -c -o o/dofuncs.o dofuncs.c
AmiFTP.c: In function 'ShowErrorReq':
AmiFTP.c:840:31: warning: passing argument 2 of 'showRequester' makes pointer from integer without a cast [-Wint-conversion]
     showRequester(MainWindow, REQIMAGE_ERROR, GetAmiFTPString(Str_AmiFTPError), GetAmiFTPString(Str_OK), str);
                               ^~~~~~~~~~~~~~
In file included from AmiFTP.c:5:
AmiFTP.h:583:80: note: expected 'STRPTR' {aka 'char *'} but argument is of type 'int'
 __attribute__((linearvarargs)) int showRequester(struct Window *window, STRPTR icon, STRPTR Title, STRPTR Gadget, STRPTR Body, ...);
                                                                         ~~~~~~~^~~~
ppc-amigaos-gcc -Werror=implicit-function-declaration -D__USE_INLINE__ -gstabs+ -c -o o/ftp.o ftp.c
ppc-amigaos-gcc -Werror=implicit-function-declaration -D__USE_INLINE__ -gstabs+ -c -o o/locale.o locale.c
ppc-amigaos-gcc -Werror=implicit-function-declaration -D__USE_INLINE__ -gstabs+ -c -o o/main.o main.c
config.c: In function 'ReadSiteNode':
config.c:261:5: warning: 'AllocMem' is deprecated [-Wdeprecated-declarations]
     if (sn=AllocMem(sizeof(struct SiteNode),MEMF_PUBLIC|MEMF_CLEAR)) {
     ^~
In file included from /SDK/include/include_h/proto/exec.h:30,
                 from AmiFTP.h:33,
                 from config.c:5:
/SDK/include/include_h/interfaces/exec.h:45:28: note: declared here
  DEPRECATED APTR APICALL (*AllocMem)(struct ExecIFace *Self, ULONG byteSize, ULONG attributes);
                            ^~~~~~~~
config.c: In function 'FreeSiteNode':
config.c:372:5: warning: 'FreeMem' is deprecated [-Wdeprecated-declarations]
     FreeMem(sn,sizeof(struct SiteNode));
     ^~~~~~~
In file included from /SDK/include/include_h/proto/exec.h:30,
                 from AmiFTP.h:33,
                 from config.c:5:
/SDK/include/include_h/interfaces/exec.h:60:28: note: declared here
  DEPRECATED void APICALL (*FreeMem)(struct ExecIFace *Self, APTR memoryBlock, ULONG byteSize);
                            ^~~~~~~
ppc-amigaos-gcc -Werror=implicit-function-declaration -D__USE_INLINE__ -gstabs+ -c -o o/MainWindow.o MainWindow.c
ConnectWindow.c: In function 'ConnectSite':
ConnectWindow.c:66:5: warning: passing argument 2 of 'IIntuition->SetGadgetAttrs' from incompatible pointer type [-Wincompatible-pointer-types]
     SetGadgetAttrs(MG_List[MG_ListView], MainWindow, NULL,
     ^~~~~~~~~~~~~~
ConnectWindow.c:66:5: note: expected 'struct Gadget *' but argument is of type 'Object *' {aka 'long unsigned int *'}
ConnectWindow.c:77:5: warning: passing argument 2 of 'IIntuition->SetGadgetAttrs' from incompatible pointer type [-Wincompatible-pointer-types]
     if (SetGadgetAttrs(MG_List[MG_ListView], MainWindow, NULL,
     ^~
ConnectWindow.c:77:5: note: expected 'struct Gadget *' but argument is of type 'Object *' {aka 'long unsigned int *'}
ConnectWindow.c:84:7: warning: passing argument 2 of 'IIntuition->RefreshGList' from incompatible pointer type [-Wincompatible-pointer-types]
       RefreshGList(MG_List[MG_ListView], MainWindow, NULL, 1);
       ^~~~~~~~~~~~
ConnectWindow.c:84:7: note: expected 'struct Gadget *' but argument is of type 'Object *' {aka 'long unsigned int *'}
ppc-amigaos-gcc -Werror=implicit-function-declaration -D__USE_INLINE__ -gstabs+ -c -o o/Menu.o Menu.c
ppc-amigaos-gcc -Werror=implicit-function-declaration -D__USE_INLINE__ -gstabs+ -c -o o/misc.o misc.c
ppc-amigaos-gcc -Werror=implicit-function-declaration -D__USE_INLINE__ -gstabs+ -c -o o/PrefsWindow.o PrefsWindow.c
ppc-amigaos-gcc -Werror=implicit-function-declaration -D__USE_INLINE__ -gstabs+ -c -o o/readdir.o readdir.c
ppc-amigaos-gcc -Werror=implicit-function-declaration -D__USE_INLINE__ -gstabs+ -c -o o/rexx.o rexx.c
ppc-amigaos-gcc -Werror=implicit-function-declaration -D__USE_INLINE__ -gstabs+ -c -o o/SiteWindow.o SiteWindow.c
main.c: In function 'MyOpenLibs':
main.c:526:23: warning: 'CreateMsgPort' is deprecated [-Wdeprecated-declarations]
     AppPort = (struct MsgPort *)CreateMsgPort();
                       ^~~~~~~
In file included from /SDK/include/include_h/proto/exec.h:30,
                 from AmiFTP.h:33,
                 from main.c:5:
/SDK/include/include_h/interfaces/exec.h:96:40: note: declared here
  DEPRECATED struct MsgPort * APICALL (*CreateMsgPort)(struct ExecIFace *Self);
                                        ^~~~~~~~~~~~~
main.c:533:25: warning: 'CreateMsgPort' is deprecated [-Wdeprecated-declarations]
     TimerPort = (struct MsgPort *)CreateMsgPort();
                         ^~~~~~~
In file included from /SDK/include/include_h/proto/exec.h:30,
                 from AmiFTP.h:33,
                 from main.c:5:
/SDK/include/include_h/interfaces/exec.h:96:40: note: declared here
  DEPRECATED struct MsgPort * APICALL (*CreateMsgPort)(struct ExecIFace *Self);
                                        ^~~~~~~~~~~~~
main.c:539:31: warning: 'CreateIORequest' is deprecated [-Wdeprecated-declarations]
     if (!(TimeRequest=(struct TimeRequest *)CreateIORequest(TimerPort,
                               ^~~~~~~~~~~
In file included from /SDK/include/include_h/proto/exec.h:30,
                 from AmiFTP.h:33,
                 from main.c:5:
/SDK/include/include_h/interfaces/exec.h:147:42: note: declared here
  DEPRECATED struct IORequest * APICALL (*CreateIORequest)(struct ExecIFace *Self, const struct MsgPort * ioReplyPort, ULONG size);
                                          ^~~~~~~~~~~~~~~
main.c:546:5: warning: passing argument 4 of 'IExec->OpenDevice' from incompatible pointer type [-Wincompatible-pointer-types]
     if (OpenDevice("timer.device", UNIT_VBLANK, TimeRequest, 0)) {
     ^~
main.c:546:5: note: expected 'struct IORequest *' but argument is of type 'struct TimeRequest *'
main.c:552:14: warning: assignment to 'struct Device *' from incompatible pointer type 'struct Library *' [-Wincompatible-pointer-types]
     TimerBase=&TimeRequest->Request.io_Device->dd_Library;
              ^
main.c: In function 'CleanUp':
main.c:589:4: warning: passing argument 2 of 'IExec->CloseDevice' from incompatible pointer type [-Wincompatible-pointer-types]
    CloseDevice(TimeRequest);
    ^~~~~~~~~~~
main.c:589:4: note: expected 'struct IORequest *' but argument is of type 'struct TimeRequest *'
main.c:591:2: warning: 'DeleteIORequest' is deprecated [-Wdeprecated-declarations]
  DeleteIORequest(TimeRequest);
  ^~~~~~~~~~~~~~~
In file included from /SDK/include/include_h/proto/exec.h:30,
                 from AmiFTP.h:33,
                 from main.c:5:
/SDK/include/include_h/interfaces/exec.h:148:28: note: declared here
  DEPRECATED void APICALL (*DeleteIORequest)(struct ExecIFace *Self, struct IORequest * ioRequest);
                            ^~~~~~~~~~~~~~~
main.c:591:2: warning: passing argument 2 of 'IExec->DeleteIORequest' from incompatible pointer type [-Wincompatible-pointer-types]
  DeleteIORequest(TimeRequest);
  ^~~~~~~~~~~~~~~
main.c:591:2: note: expected 'struct IORequest *' but argument is of type 'struct TimeRequest *'
main.c:595:2: warning: 'DeleteMsgPort' is deprecated [-Wdeprecated-declarations]
  DeleteMsgPort(TimerPort);
  ^~~~~~~~~~~~~
In file included from /SDK/include/include_h/proto/exec.h:30,
                 from AmiFTP.h:33,
                 from main.c:5:
/SDK/include/include_h/interfaces/exec.h:98:28: note: declared here
  DEPRECATED void APICALL (*DeleteMsgPort)(struct ExecIFace *Self, struct MsgPort * port);
                            ^~~~~~~~~~~~~
main.c:617:7: warning: 'DeleteMsgPort' is deprecated [-Wdeprecated-declarations]
       DeleteMsgPort(AppPort);
       ^~~~~~~~~~~~~
In file included from /SDK/include/include_h/proto/exec.h:30,
                 from AmiFTP.h:33,
                 from main.c:5:
/SDK/include/include_h/interfaces/exec.h:98:28: note: declared here
  DEPRECATED void APICALL (*DeleteMsgPort)(struct ExecIFace *Self, struct MsgPort * port);
                            ^~~~~~~~~~~~~
ppc-amigaos-gcc -Werror=implicit-function-declaration -D__USE_INLINE__ -gstabs+ -c -o o/SpeedBar.o SpeedBar.c
MainWindow.c: In function 'AppMessageHookFunc':
MainWindow.c:513:2: warning: 'FreeMem' is deprecated [-Wdeprecated-declarations]
  FreeMem(node, sizeof(struct Node));
  ^~~~~~~
In file included from /SDK/include/include_h/proto/exec.h:30,
                 from AmiFTP.h:33,
                 from MainWindow.c:5:
/SDK/include/include_h/interfaces/exec.h:60:28: note: declared here
  DEPRECATED void APICALL (*FreeMem)(struct ExecIFace *Self, APTR memoryBlock, ULONG byteSize);
                            ^~~~~~~
ppc-amigaos-gcc -Werror=implicit-function-declaration -D__USE_INLINE__ -gstabs+ -c -o o/TransferWindow.o TransferWindow.c
Menu.c: In function 'BuildMenu':
Menu.c:271:27: warning: 'AllocVec' is deprecated [-Wdeprecated-declarations]
     if (NewMenu = (struct NewMenu *)AllocVec((Count + SiteCount) * sizeof(struct NewMenu),MEMF_ANY|MEMF_CLEAR)) {
                           ^~~~~~~
In file included from /SDK/include/include_h/proto/exec.h:30,
                 from AmiFTP.h:33,
                 from Menu.c:5:
/SDK/include/include_h/interfaces/exec.h:47:28: note: declared here
  DEPRECATED APTR APICALL (*AllocVec)(struct ExecIFace *Self, ULONG byteSize, ULONG attributes);
                            ^~~~~~~~
Menu.c: In function 'menu_AddToSitelist':
Menu.c:683:5: warning: 'AllocMem' is deprecated [-Wdeprecated-declarations]
     sn=AllocMem(sizeof(struct SiteNode), MEMF_CLEAR);
     ^~
In file included from /SDK/include/include_h/proto/exec.h:30,
                 from AmiFTP.h:33,
                 from Menu.c:5:
/SDK/include/include_h/interfaces/exec.h:45:28: note: declared here
  DEPRECATED APTR APICALL (*AllocMem)(struct ExecIFace *Self, ULONG byteSize, ULONG attributes);
                            ^~~~~~~~
Menu.c:687:6: warning: 'FreeMem' is deprecated [-Wdeprecated-declarations]
      FreeMem(sn,sizeof(struct SiteNode));
      ^~~~~~~
In file included from /SDK/include/include_h/proto/exec.h:30,
                 from AmiFTP.h:33,
                 from Menu.c:5:
/SDK/include/include_h/interfaces/exec.h:60:28: note: declared here
  DEPRECATED void APICALL (*FreeMem)(struct ExecIFace *Self, APTR memoryBlock, ULONG byteSize);
                            ^~~~~~~
Menu.c:693:6: warning: 'FreeMem' is deprecated [-Wdeprecated-declarations]
      FreeMem(sn, sizeof(struct SiteNode));
      ^~~~~~~
In file included from /SDK/include/include_h/proto/exec.h:30,
                 from AmiFTP.h:33,
                 from Menu.c:5:
/SDK/include/include_h/interfaces/exec.h:60:28: note: declared here
  DEPRECATED void APICALL (*FreeMem)(struct ExecIFace *Self, APTR memoryBlock, ULONG byteSize);
                            ^~~~~~~
Menu.c:700:6: warning: 'FreeMem' is deprecated [-Wdeprecated-declarations]
      FreeMem(sn, sizeof(struct SiteNode));
      ^~~~~~~
In file included from /SDK/include/include_h/proto/exec.h:30,
                 from AmiFTP.h:33,
                 from Menu.c:5:
/SDK/include/include_h/interfaces/exec.h:60:28: note: declared here
  DEPRECATED void APICALL (*FreeMem)(struct ExecIFace *Self, APTR memoryBlock, ULONG byteSize);
                            ^~~~~~~
readdir.c: In function 'parse_line_ls':
readdir.c:164:47: warning: comparison between pointer and integer
   (int64)-1, SortMode, remote_sort_direction) == NULL) {
                                               ^~
readdir.c: In function 'parse_line_pattern':
readdir.c:365:36: warning: comparison between pointer and integer
   SortMode, remote_sort_direction) == NULL) {
                                    ^~
readdir.c: In function 'parse_line_vms':
readdir.c:585:40: warning: comparison between pointer and integer
       SortMode, remote_sort_direction) == NULL) {
                                        ^~
readdir.c: In function 'parse_line_dos':
readdir.c:752:36: warning: comparison between pointer and integer
   SortMode, remote_sort_direction) == NULL) {
                                    ^~
rexx.c: In function 'rexx_View':
rexx.c:78:26: warning: passing argument 3 of 'strmfp' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
   strmfp(loc_name, "T:", FilePart(file.name), 200);
                          ^~~~~~~~
In file included from rexx.c:5:
AmiFTP.h:579:43: note: expected 'char *' but argument is of type 'CONST_STRPTR' {aka 'const char *'}
 void strmfp(char *file, char *path, char *node,int size);
                                     ~~~~~~^~~~
rexx.c: In function 'rexx_GetAttr':
rexx.c:558:30: warning: passing argument 2 of 'SetStemVar' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
     err|=SetStemVar(rexxmsg, Version, "%s.VERSION", args->stem);
                              ^~~~~~~
rexx.c:533:54: note: expected 'char *' but argument is of type 'const char *'
 static int SetStemVar(struct RexxMsg *rexxmsg, char *value, char *stemname,...)
                                                ~~~~~~^~~~~
SiteWindow.c: In function 'HandleSiteListIDCMP':
SiteWindow.c:944:7: warning: 'AllocMem' is deprecated [-Wdeprecated-declarations]
       sn=AllocMem(sizeof (struct SiteNode), MEMF_CLEAR);
       ^~
In file included from /SDK/include/include_h/proto/exec.h:30,
                 from AmiFTP.h:33,
                 from SiteWindow.c:5:
/SDK/include/include_h/interfaces/exec.h:45:28: note: declared here
  DEPRECATED APTR APICALL (*AllocMem)(struct ExecIFace *Self, ULONG byteSize, ULONG attributes);
                            ^~~~~~~~
SiteWindow.c: In function 'NewGroup':
SiteWindow.c:1196:5: warning: 'AllocMem' is deprecated [-Wdeprecated-declarations]
     sn=AllocMem(sizeof(struct SiteNode), MEMF_CLEAR);
     ^~
In file included from /SDK/include/include_h/proto/exec.h:30,
                 from AmiFTP.h:33,
                 from SiteWindow.c:5:
/SDK/include/include_h/interfaces/exec.h:45:28: note: declared here
  DEPRECATED APTR APICALL (*AllocMem)(struct ExecIFace *Self, ULONG byteSize, ULONG attributes);
                            ^~~~~~~~
SiteWindow.c:1227:2: warning: 'FreeMem' is deprecated [-Wdeprecated-declarations]
  else FreeMem(sn, sizeof(struct SiteNode));
  ^~~~
In file included from /SDK/include/include_h/proto/exec.h:30,
                 from AmiFTP.h:33,
                 from SiteWindow.c:5:
/SDK/include/include_h/interfaces/exec.h:60:28: note: declared here
  DEPRECATED void APICALL (*FreeMem)(struct ExecIFace *Self, APTR memoryBlock, ULONG byteSize);
                            ^~~~~~~
SiteWindow.c: In function 'NewClicked':
SiteWindow.c:1693:5: warning: 'AllocMem' is deprecated [-Wdeprecated-declarations]
     sn=AllocMem(sizeof(struct SiteNode), MEMF_CLEAR);
     ^~
In file included from /SDK/include/include_h/proto/exec.h:30,
                 from AmiFTP.h:33,
                 from SiteWindow.c:5:
/SDK/include/include_h/interfaces/exec.h:45:28: note: declared here
  DEPRECATED APTR APICALL (*AllocMem)(struct ExecIFace *Self, ULONG byteSize, ULONG attributes);
                            ^~~~~~~~
SiteWindow.c:1725:2: warning: 'FreeMem' is deprecated [-Wdeprecated-declarations]
  else  FreeMem(sn, sizeof(struct SiteNode));
  ^~~~
In file included from /SDK/include/include_h/proto/exec.h:30,
                 from AmiFTP.h:33,
                 from SiteWindow.c:5:
/SDK/include/include_h/interfaces/exec.h:60:28: note: declared here
  DEPRECATED void APICALL (*FreeMem)(struct ExecIFace *Self, APTR memoryBlock, ULONG byteSize);
                            ^~~~~~~
In file included from /SDK/include/include_h/proto/speedbar.h:34,
                 from gui.h:43,
                 from SpeedBar.c:6:
SpeedBar.c: In function 'InitSpeedBarList':
SpeedBar.c:178:32: error: 'SBNA_ButtonID' undeclared (first use in this function); did you mean 'SBNA_HintInfo'?
                                SBNA_ButtonID, i,
                                ^~~~~~~~~~~~~
SpeedBar.c:178:32: note: each undeclared identifier is reported only once for each function it appears in
make: [o/SpeedBar.o] Error 1 (ignored)
ppc-amigaos-gcc o/version.o o/bsdsocket.o o/tcp.o o/ADT.o o/aguide.o o/AmiFTP.o o/AmiFTP_Cat.o o/cache.o o/change_dir.o o/config.o o/ConnectWindow.o o/data.o o/dirlist.o o/dofuncs.o o/ftp.o o/locale.o o/main.o o/MainWindow.o o/Menu.o o/misc.o o/PrefsWindow.o o/readdir.o o/rexx.o o/SiteWindow.o o/SpeedBar.o o/TransferWindow.o -lauto -o AmiFTP
ppc-amigaos-gcc: error: o/SpeedBar.o: No such file or directory
make: [AmiFTP] Error 1 (ignored)
6.RAM Disk:AmiFTP-master/src/amiftp> dir
     o (Verz)
     inc (Verz)
     images (Verz)
     doc (Verz)
     clips (Verz)
     REXX (Verz)
     RCS (Verz)
     Icons (Verz)
     Catalogs (Verz)
  ADT.c             aguide.c          AmiFTP.c          AmiFTP_Cat.c      AmiFTP_Cat.h      AmiFTP.cd         AmiFTP.guide      AmiFTP.guide.info AmiFTP.h
  AmiFTP.i          AmiFTP.info       AmiFTP_rev.h      AmiFTP_rev.rev    cache.c           change_dir.c      config.c          ConnectWindow.c   data.c
  dirlist.c         dirlist_struct.h  dofuncs.c         ftp.c             gst.c             gui.h             lex.c             locale.c          main.c
  MainWindow.c      makecatalogs      makefile          Menu.c            Menu.h            misc.c            penmapimages.c    PrefsWindow.c     readdir.c
  rexx.c            SCOPTIONS         SiteWindow.c      SMakefile         SpeedBar.c        test.rexx         test2.rexx        TransferWindow.c  VERSION
  version.c
6.RAM Disk:AmiFTP-master/src/amiftp> 
Übersetzt wurde der "Code" Gcc 8.1 mit Original "CLIB2-1.206" aus dem "SDK 53.30",
als auch mit Gcc 8.3 und der neuen "CLIB2" Version "?". (siehe Post von djbase viewtopic.php?p=37678#p37678)
Peg2/G4 1GB Ram, Radeon 9250, 1 TB SSD plus 4 GB HDD und AmigaOS 4.1 FE
A4000D/60-PPC 128 MB Ram, CV-PPC, 4 GB HDD und AmigaOS 3.9 >>>RIP<<<
A4000D/60 64 MB Ram, CV-64, 4 GB HDD und AmigaOS 3.5
WinUAE und AmigaOS 4.1 FE Classic
Qemu auf Linux; 2GB Ram und AmigaOS 4.1 FE für Peg2
Benutzeravatar
Goos
Entwickler-X
Beiträge: 291
Registriert: 27. September 2009 13:27
Wohnort: Neustadt i. Sa.
Danksagung erhalten: 8 Mal
Kontaktdaten:

Re: [WIP] AmiFTP

Beitrag von Goos »

IconDesigner hat geschrieben: 28. Januar 2020 17:24 @Goos ,

supper Arbeit :thumbsup: !

Ich habe nur ein Problem Deine Arbeit nach zu vollziehen.

Beim Übersetzten Deines QuellCodes, bekomme ich immer folgenden Fehler mit der SpeedBar.c
ups dachte das hätte ich schon rausgenommen ;)
sollte jetzt gehen
Programmierer der EntwicklerX
Benutzeravatar
IconDesigner
Beiträge: 410
Registriert: 29. Dezember 2016 17:00
Hat sich bedankt: 20 Mal
Danksagung erhalten: 24 Mal

Re: [WIP] AmiFTP

Beitrag von IconDesigner »

Danke!!!
Peg2/G4 1GB Ram, Radeon 9250, 1 TB SSD plus 4 GB HDD und AmigaOS 4.1 FE
A4000D/60-PPC 128 MB Ram, CV-PPC, 4 GB HDD und AmigaOS 3.9 >>>RIP<<<
A4000D/60 64 MB Ram, CV-64, 4 GB HDD und AmigaOS 3.5
WinUAE und AmigaOS 4.1 FE Classic
Qemu auf Linux; 2GB Ram und AmigaOS 4.1 FE für Peg2
Benutzeravatar
kraftwerk
Beiträge: 1
Registriert: 28. Januar 2020 16:24

Re: [WIP] AmiFTP

Beitrag von kraftwerk »

Wenn AmiFTP fertig ist, wird es auch SSL Verbindungen über FTP unterstützen?

Wird es auch ein update für OS3.1.4 geben?

Ich freue mich schon drauf.
Benutzeravatar
ZeroG
OS4Welt-Team
Beiträge: 2656
Registriert: 25. September 2009 18:19
Danksagung erhalten: 6 Mal

Re: [WIP] AmiFTP

Beitrag von ZeroG »

kraftwerk hat geschrieben: 28. Januar 2020 18:39 Wird es auch ein update für OS3.1.4 geben?
Goos baut ja gerade alles auf OS4 um - also eher nicht.
Benutzeravatar
Goos
Entwickler-X
Beiträge: 291
Registriert: 27. September 2009 13:27
Wohnort: Neustadt i. Sa.
Danksagung erhalten: 8 Mal
Kontaktdaten:

Re: [WIP] AmiFTP

Beitrag von Goos »

kraftwerk hat geschrieben: 28. Januar 2020 18:39 Wenn AmiFTP fertig ist, wird es auch SSL Verbindungen über FTP unterstützen?
Ich hab mich in die Sache zwar noch nicht eingelesen aber sollte nicht so schwer zu implementieren sein,
ob das jetzt von mir kommt oder sich jemand anders dazu bereiterklärt, wird sich zeigen ;)
kraftwerk hat geschrieben: Wird es auch ein update für OS3.1.4 geben?
Nicht von mir ich hab noch einen Berg andere Amiga Projekte hier liegen ;)
Hauptaugenmerk wird sein, AmiFTP auf die neue Amiga OS4.1 FE API anzupassen und Bugfrei zu bekommen.
Wenn das erledigt ist, ist jedem Frei gestellt einen classic branch davon zu machen.
kraftwerk hat geschrieben: Ich freue mich schon drauf.
Ich mich auch, AmiFTP ist ein kleiner feiner FTP client ohne viel Schnickschnack.
Programmierer der EntwicklerX
Benutzeravatar
Goos
Entwickler-X
Beiträge: 291
Registriert: 27. September 2009 13:27
Wohnort: Neustadt i. Sa.
Danksagung erhalten: 8 Mal
Kontaktdaten:

Re: [WIP] AmiFTP

Beitrag von Goos »

So ich glaub es ist mal wieder an der Zeit einen Status bericht abzugeben:

Der Aminet Modus funktioniert nun, implementiert ist dabei, das Anzeigen von Archiven seit dem letzten Login,
sowie die Readme Datei eines Archives anzusehen ohne es runterzuladen müssen.

Tausender Trennzeichen werden nun bei den Dateigrößen mit angezeigt (je nach eingestelltem Land in locale prefs).
Password String Gadget unterstützt jetzt auch das Einfügen aus den Clipboard und kann außerdem jetzt mehr als 20 Zeichen lang sein.

AmiFTP Unterstützt jetzt den Passiven FTP Modus, womit es auch keine Firewall Probleme mehr geben sollte.

Standard config hab ich angepasst, dass vom start her, die Knöpfe sichtbar sind und der Standard Anzeiger ist wbrun.

Dateien auf dem FTP server deren Name 255 Zeichen beinhalten und 0 byte groß sind werden nicht mehr angezeigt.
(Synology Nutzer kenn sicher die 1zzzzzz.. Dateien ;))

Für alle die keinen Compiler am start haben hier mal die aktuelle Version:
AmiFTP_1.951.lha
Du hast keine ausreichende Berechtigung, um die Dateianhänge dieses Beitrags anzusehen.
Programmierer der EntwicklerX
Benutzeravatar
djbase
Beiträge: 971
Registriert: 15. Oktober 2015 06:45
Wohnort: Mannheim
Kontaktdaten:

Re: [WIP] AmiFTP

Beitrag von djbase »

Klasse! Leider gefällt mir das Logo überhaupt nicht, es wirkt auf mich zu sehr verspielt und ist nicht eigenständig genug (das Ami ist zu Amiga-lastig), das alte hatte mehr Eleganz.

In den Einstellungen habe ich unter Display -> Public Screen Datenmüll stehen. Dort sollte per Default eigentlich Workbench stehen.
Du hast keine ausreichende Berechtigung, um die Dateianhänge dieses Beitrags anzusehen.
:commodore: Amiga 600 | Vampire 600 II | 128 MB RAM | Indivision ECS Mk3 | 128GB CF | AmigaOS 3.2.2
:commodore: Amiga 1200 | Vampire 1200 II | 128 MB RAM | Indivision AGA Mk3 | 128GB CF | AmigaOS 3.2.2
:boing: AmigaOne X1000 | 1.8 GHz | 4 GB RAM | Radeon R7 250X | 250 GB SATA SSD | AmigaOS 4.1
Antworten