Page 1 of 69

FileZilla 3 development diary

Posted: 2004-03-07 01:08
by botg
Dear diary :lol:

I've started to create a basic framework for FileZilla 3 using the wxWidgets library.

So far I really like that library, it's straightforwarded, well documented and easy to use.

But rather quick I came across a nasty limitation in wxWidgets. To display formatted text, html controls are used; using HTML for formatted text is really nice.
Unfortunately the html library in wxWidgets is only very basic, especially the table parsing was horrible.
I've spent the whole day trying to improve the HTML parser. I tried to mimic the way FireFox displays tables. It wasn't an easy task, though still enjoyable since the code of wxWidgets is well formatted and easy to read and understand. The HTML library now properly parses and displays tables.
Tomorrow I'll clean up and document the changed code and will send a patch to the creators of wxWidgets. Hopefully they'll include my patch into the official source tree.

Posted: 2004-03-07 15:59
by eddan
Excellent botg!

I've heard the wxWidgets library is great, allthough I don't know much about it myself. Good that work has begun on FZ3, looking forward to the day of the first alpha.

Keep us posted if they included your code in wxWidgets.

Posted: 2004-03-08 00:20
by botg
It seems table parsing wasn't the only weakness of wxHtml, it seems that it doesn't parse lists properly as well. (ol,ul and li tags)
I've spent most of my free time fixing the list parsing. Unfortunately I couldn't finish it today.

Posted: 2004-03-10 23:24
by botg
I've worked a bit on the framework and started prototyping some classes. To prepare myself for the huge task so that I'll be fit with wxWidgets, I've read everything I could get: Documentation, tutorials, samples, mailing lists.

Posted: 2004-03-11 23:30
by botg
Today I've read myself into gettext which can be uses by wxWidgets to write multi-language programs. There's also a nice open-source editor for the language files available called poEdit. Unfortunately the interface looks crappy, guess I'll have to submit a patch to this project as well :D

Other than that I've found out that wxWindows does not support event loops in threads. That feature would be nice, because under windows the message queue can become full if using multiple sockets in one thread.

Posted: 2004-03-12 20:19
by botg
Today I've added the code for resource and language files.
The the resources (layout of dialogs, menus, toolbars etc...) XRC files (XML Resourc files) will be used.

For the language files, wxWidgets makes use of the GNU gettext utilities. This makes translation incredibly easy as well as updating the language files.
For the translators, there is a program called poEdit (http://poEdit.sf.net) with a nice gui which helps them to translate all strings.

Posted: 2004-03-13 18:32
by botg
I've added a quickconnect bar to FileZilla.

Here's a screenshot of the current development version:

Image

Posted: 2004-03-15 01:10
by botg
I definately have too much time.
After reading a complete book, several online manuals and some long discussions with other developers, I managed to create the neccessary input files for the GNU autotools.
From now on, FileZilla 3 compiles cleanly on Linux and hopefully any other system where wxWindows is available on.

Posted: 2004-03-17 18:51
by Golyc
botg wrote:I definately have too much time.
After reading a complete book, several online manuals and some long discussions with other developers, I managed to create the neccessary input files for the GNU autotools.
From now on, FileZilla 3 compiles cleanly on Linux and hopefully any other system where wxWindows is available on.
COOL THING ^^ in this ritm fz3 will come sune ! :D :shock:
Pleaze continue the work !

Posted: 2004-03-17 21:46
by botg
Another day passed and FileZilla can now be compiled under Cygwin and MinGW32.

But why didn't anyone tell me that GCC is so slow?

luv 2 u

Posted: 2004-03-18 06:57
by britneyfreek
i love people spending their whole time on creating world changing things!

*rrr*

:P

Posted: 2004-03-22 18:08
by botg
Today I've written the URL parser for FileZilla. Now the values entered in the quickconnect bar are parsed correctly.
The next step will be to implement the basic connection handling.

Posted: 2004-03-23 23:03
by botg
Not much has changed since yesterday, I'm still writing the basic connection handling code.
However, my 2nd patch for wxWidgets (https://sourceforge.net/tracker/?func=d ... up_id=9863) just got accepted.

Posted: 2004-03-24 23:42
by botg
Today at 18:13 (GMT + 1) FileZilla 3 did connect to an FTP server for the first time. I whish you would have seen that with your own eyes. If only i had my camera ready :cry: After clicking on the quickconnect button it connected to my server and shy as FZ3 still is, it stood just there looking at the server, uncertain what to do next. It's so damn cute :lol:

Posted: 2004-03-30 21:58
by Patte
hey wheres the funnayyyy?



just kidding... :roll: