FileZilla 3 development diary
Moderator: Project members
FileZilla 3 development diary
Dear diary
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.
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.
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.
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.
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
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.
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.
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.
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.
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.
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 !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.
Pleaze continue the work !
-
- 504 Command not implemented
- Posts: 10
- Joined: 2004-03-04 13:56
- Location: Berlin, Germany
luv 2 u
i love people spending their whole time on creating world changing things!
*rrr*
*rrr*
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.
However, my 2nd patch for wxWidgets (https://sourceforge.net/tracker/?func=d ... up_id=9863) just got accepted.
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 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