FileZilla as a general FTP library

Moderator: Project members

Message
Author
User avatar
botg
Site Admin
Posts: 35566
Joined: 2004-02-23 20:49
First name: Tim
Last name: Kosse

#16 Post by botg » 2004-09-20 10:09

How often do you change color in daily use?

The observed behaviour of wxWidgets if switching colour is caused by internal caching. This increases performance a little bit.
What do you prefer? Performance or instant color switching?

Golyc
226 Transfer OK
Posts: 89
Joined: 2004-03-02 23:36

#17 Post by Golyc » 2004-09-20 16:01

I don´t love windows color so i sacrifice my eyes for performance ! In FZ this shold be the same (i waiting for pentium 99^^ to be happy with my colors !)

quark
500 Syntax error
Posts: 15
Joined: 2004-09-18 16:14
First name: Asbjørn
Last name: Ulsberg
Location: Oslo, Norway

#18 Post by quark » 2004-09-23 19:40

eyebex wrote:Does this mean we need to link against wxWidgets if we're just interested in FZ3's FTP engine? Even for a non-GUI tool?
I hope not.
eyebex wrote:Anyways, I don't get what all this fuzz is about ... there're plenty good, free and small FTP libraries around [...]
Well, sure, but I hoped FileZilla would be a bit more CLR friendly.
«Just because the fuck has a library card, it doesn't make him Yoda» - Detective David Mills, Se7en.

User avatar
botg
Site Admin
Posts: 35566
Joined: 2004-02-23 20:49
First name: Tim
Last name: Kosse

#19 Post by botg » 2004-09-23 21:24

quark wrote:
eyebex wrote:Does this mean we need to link against wxWidgets if we're just interested in FZ3's FTP engine? Even for a non-GUI tool?
I hope not.
wxWidgets is a lot more than just a GUI library. It's a complete application framework.

The FTP engine of FZ uses the following components of wxWidgets:
  • Socket classes
  • Thread classes
  • Event handler classes (required for asynchronous sockets)
  • File handling
  • String class and gettext compatible string translation
  • Once I implement MODE Z support in FZ3, the zlib stream classes will be used
  • some utility functions
I could have written the engine without all that and writing my own classes for it, but that would be like reinventing the wheel: Pointless
Also, using the classes wxWidgets provides greatly reduces the time needed to create FZ3.

Don't be afraid of linking against wxWidgets, it can also be used in non-GUI applications. Right now the engine only works in event-driven wxWidgets apps, but it should not be hard to get it to work in other programs. (Any volunteers here?)

quark
500 Syntax error
Posts: 15
Joined: 2004-09-18 16:14
First name: Asbjørn
Last name: Ulsberg
Location: Oslo, Norway

#20 Post by quark » 2004-09-24 20:37

botg wrote:wxWidgets is a lot more than just a GUI library. It's a complete application framework.
Ah, okay. I dind't know that. It would still be great if FZ was wrapped in a way that made it simple to program against, even though it would require referencing the wxWidget library. If any of you C++ grokking guys could wrap it all in a COM DLL, I could create the C# wrapper. But since I don't know C++ myself, I can't create the DLL. And without the DLL, P/Invoke is extremely hard (if not impossible).
«Just because the fuck has a library card, it doesn't make him Yoda» - Detective David Mills, Se7en.

SplitDiff
500 Command not understood
Posts: 2
Joined: 2004-10-31 14:11

#21 Post by SplitDiff » 2004-10-31 14:15

Dont know if this link helps at all Quark: http://wxnet.sourceforge.net/

quark
500 Syntax error
Posts: 15
Joined: 2004-09-18 16:14
First name: Asbjørn
Last name: Ulsberg
Location: Oslo, Norway

#22 Post by quark » 2004-10-31 14:26

SplitDiff wrote:Dont know if this link helps at all Quark: http://wxnet.sourceforge.net/
Not really, because it's not the GUI of Mozilla I'm interested in programming against, but the FTP library. Thanks, though.
«Just because the fuck has a library card, it doesn't make him Yoda» - Detective David Mills, Se7en.

Post Reply