FileZilla Forums

Welcome to the official discussion forums for FileZilla
Donate to project
It is currently 2014-04-18 18:49

All times are UTC




Post new topic Reply to topic  [ 972 posts ]  Go to page 1, 2, 3, 4, 5 ... 65  Next
Author Message
PostPosted: 2004-03-07 01:08 
Offline
Site Admin
User avatar

Joined: 2004-02-23 20:49
Posts: 22530
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.


Top
 Profile  
 
 Post subject:
PostPosted: 2004-03-07 15:59 
Offline
226 Transfer OK

Joined: 2004-02-25 08:44
Posts: 423
Location: Norway
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.


Top
 Profile  
 
 Post subject:
PostPosted: 2004-03-08 00:20 
Offline
Site Admin
User avatar

Joined: 2004-02-23 20:49
Posts: 22530
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.

Top
 Profile  
 
 Post subject:
PostPosted: 2004-03-10 23:24 
Offline
Site Admin
User avatar

Joined: 2004-02-23 20:49
Posts: 22530
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.


Top
 Profile  
 
 Post subject:
PostPosted: 2004-03-11 23:30 
Offline
Site Admin
User avatar

Joined: 2004-02-23 20:49
Posts: 22530
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.


Top
 Profile  
 
 Post subject:
PostPosted: 2004-03-12 20:19 
Offline
Site Admin
User avatar

Joined: 2004-02-23 20:49
Posts: 22530
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.


Top
 Profile  
 
 Post subject:
PostPosted: 2004-03-13 18:32 
Offline
Site Admin
User avatar

Joined: 2004-02-23 20:49
Posts: 22530
I've added a quickconnect bar to FileZilla.

Here's a screenshot of the current development version:

Image


Top
 Profile  
 
 Post subject:
PostPosted: 2004-03-15 01:10 
Offline
Site Admin
User avatar

Joined: 2004-02-23 20:49
Posts: 22530
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.


Top
 Profile  
 
 Post subject:
PostPosted: 2004-03-17 18:51 
Offline
226 Transfer OK

Joined: 2004-03-02 23:36
Posts: 89
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 !


Top
 Profile  
 
 Post subject:
PostPosted: 2004-03-17 21:46 
Offline
Site Admin
User avatar

Joined: 2004-02-23 20:49
Posts: 22530
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?


Top
 Profile  
 
 Post subject: luv 2 u
PostPosted: 2004-03-18 06:57 
Offline
504 Command not implemented

Joined: 2004-03-04 13:56
Posts: 10
Location: Berlin, Germany
i love people spending their whole time on creating world changing things!

*rrr*

:P


Top
 Profile  
 
 Post subject:
PostPosted: 2004-03-22 18:08 
Offline
Site Admin
User avatar

Joined: 2004-02-23 20:49
Posts: 22530
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.


Top
 Profile  
 
 Post subject:
PostPosted: 2004-03-23 23:03 
Offline
Site Admin
User avatar

Joined: 2004-02-23 20:49
Posts: 22530
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=detail&atid=309863&aid=919026&group_id=9863) just got accepted.


Top
 Profile  
 
 Post subject:
PostPosted: 2004-03-24 23:42 
Offline
Site Admin
User avatar

Joined: 2004-02-23 20:49
Posts: 22530
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:


Top
 Profile  
 
 Post subject:
PostPosted: 2004-03-30 21:58 
Offline
450 Internal Error

Joined: 2004-03-03 15:32
Posts: 36
hey wheres the funnayyyy?



just kidding... :roll:


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 972 posts ]  Go to page 1, 2, 3, 4, 5 ... 65  Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Dedicated server provided by Artmotion.
Forum sponsored by Everyware.ch.
Powered by phpBB® Forum Software © phpBB Group