FileZilla 3 development diary

Moderator: Project members

Message
Author
thorin
550 Permission denied
Posts: 24
Joined: 2004-03-12 14:02
Location: Canada

#31 Post by thorin » 2004-04-13 14:14

Great work!

Thorin
Codito, Ergo Sum

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

#32 Post by Patte » 2004-04-13 18:55

REEEEEEESPECT ;)

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

#33 Post by botg » 2004-04-13 18:57

Time to submit another patch :lol:

This time it's about the wxListCtrl::OnGetItem* functions for virtual list controls. They are declared as const for no appareant reason. If I overload them, why shouln't I be allowed to modify the instance?

pixolex
503 Bad sequence of commands
Posts: 20
Joined: 2004-03-28 22:31

#34 Post by pixolex » 2004-04-13 20:16

your baby is growing fast!
:lol:

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

#35 Post by botg » 2004-04-13 21:22

Unfortunately my wxListCtrl patch just got rejected, since it would break working code.

Instead now I have to use ugly const casts and such things, with the usual problems coming from that, like incompatibilities with compiler optimizations and such.

The holy grail of backwards compatibility seems to be more important like a clean good design. :P

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

#36 Post by botg » 2004-04-13 21:38

My whole body is shaking, I had to write a horrible line of code, so horrible that hell might freeze:

Code: Select all

CLocalListView *pThis = const_cast<CLocalListView *>(this);
I had to write 4 lines of documentation for this code, it's a shame :(

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

#37 Post by Golyc » 2004-04-14 01:34

botg wrote:My whole body is shaking, I had to write a horrible line of code, so horrible that hell might freeze:

Code: Select all

CLocalListView *pThis = const_cast<CLocalListView *>(this);
I had to write 4 lines of documentation for this code, it's a shame :(
:shock: WEll it is just more 0,01 bite ... more or less it will not drestroy FZ3...
in the future i will CAN say "BOTG is good he fixed this shame ^^"

Ezh
500 Syntax error
Posts: 15
Joined: 2004-04-14 09:23

#38 Post by Ezh » 2004-04-14 09:28

I prefer the way FlashFXP works woth local and remote directories - I can switch each of panels to the view I need at this time.

panfr
503 Bad sequence of commands
Posts: 21
Joined: 2004-03-26 08:56

#39 Post by panfr » 2004-04-15 08:13

Ezh wrote:I prefer the way FlashFXP works woth local and remote directories - I can switch each of panels to the view I need at this time.
Preferring it over something you have not even seen yet shows quite a degree of devotion! :P

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

#40 Post by Patte » 2004-04-15 20:30

botg wrote:My whole body is shaking, I had to write a horrible line of code, so horrible that hell might freeze:

Code: Select all

CLocalListView *pThis = const_cast<CLocalListView *>(this);
I had to write 4 lines of documentation for this code, it's a shame :(
casts always suck... I had to cast a lot for my Gnutella client though...

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

#41 Post by botg » 2004-04-15 21:20

Casts itself aren't the problem, and in Java* they're a must have thx to lack of templates. (until recently)

It are the dreaded const casts. Imo const casts and gotos are on the same level: Avoid them is possible. If not, add massive comments.

[*] Pattes Gnutella client is written in Java

crissi
500 Command not understood
Posts: 2
Joined: 2004-04-17 19:07

#42 Post by crissi » 2004-04-17 19:13

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.
Hmmm... I install new wxwidget (2.5.x) and try to compile cvs but it fails.
System: SuSE 9.0, gcc 3.3.1, wxwidget 2.5.1
Can you look for it?
Here is a compile log:

[log removed - botg]

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

#43 Post by botg » 2004-04-17 22:23

I've no idea what could be the reason for this problem. Have you already tried the latest CVS version of wxWidgets?
You also need to apply the following patch to wxWidgets which has not yet been accepted: http://filezilla.sourceforge.net/misc/subindent.patch

crissi
500 Command not understood
Posts: 2
Joined: 2004-04-17 19:07

#44 Post by crissi » 2004-04-18 01:50

botg wrote:I've no idea what could be the reason for this problem. Have you already tried the latest CVS version of wxWidgets?
You also need to apply the following patch to wxWidgets which has not yet been accepted: http://filezilla.sourceforge.net/misc/subindent.patch
hmmm why I need so much actual version wxwidget?
Installed was 2.4.2 and i upgrade to 2.5.1. Maybe missing a #include?
I will try here on debian unstable (without cvs of wx).

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

#45 Post by botg » 2004-04-18 22:26

Development has been slowed, I'm currently arguing with quicksort about the item sorting in the local file list. It just doesn't sort properly.

Post Reply