FileZilla 3 development diary

Moderator: Project members

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

FileZilla 3 development diary

#1 Post by botg » 2004-03-07 01:08

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.

eddan
226 Transfer OK
Posts: 423
Joined: 2004-02-25 08:44
Location: Norway

#2 Post by eddan » 2004-03-07 15:59

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.

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

#3 Post by botg » 2004-03-08 00:20

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.
Last edited by botg on 2007-07-01 20:32, edited 1 time in total.

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

#4 Post by botg » 2004-03-10 23:24

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.

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

#5 Post by botg » 2004-03-11 23:30

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.

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

#6 Post by botg » 2004-03-12 20:19

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.

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

#7 Post by botg » 2004-03-13 18:32

I've added a quickconnect bar to FileZilla.

Here's a screenshot of the current development version:

Image

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

#8 Post by botg » 2004-03-15 01:10

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.

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

#9 Post by Golyc » 2004-03-17 18:51

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 !

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

#10 Post by botg » 2004-03-17 21:46

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?

britneyfreek
504 Command not implemented
Posts: 10
Joined: 2004-03-04 13:56
Location: Berlin, Germany

luv 2 u

#11 Post by britneyfreek » 2004-03-18 06:57

i love people spending their whole time on creating world changing things!

*rrr*

:P

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

#12 Post by botg » 2004-03-22 18:08

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.

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

#13 Post by botg » 2004-03-23 23:03

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.

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

#14 Post by botg » 2004-03-24 23:42

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:

Patte
450 Internal Error
Posts: 36
Joined: 2004-03-03 15:32

#15 Post by Patte » 2004-03-30 21:58

hey wheres the funnayyyy?



just kidding... :roll:

Post Reply