2005-07-21, 18:45
hi guys,
i've started the work to upgrade the xbmc version of filezilla to the latest filezilla code from their cvs.
i've decided to take the following steps:
1. re-check and fix the baseline with filezilla v0_8_8
2. upgrade to new baseline with filezilla v0_9_8b
3. evaluate the further updates to latest for potential individual upgrades, as desired.
i've pretty much finished the re-baselining with v0_8_8, although i might like to go in and clean up a few things. see the summary below for the full comparison. there are 4 basic categories of things:
1. files that are heavily modified for xbmc - will keep the xbmc versions of these, with some potential cleanup. in particular, i would like to go through all xbmc-specific sections of code, and insert the if(_xbox) condition around all custom blocks of code that don't already have it.
2. files that are not currently in xbmc - will assume these were removed for some purpose, and are not needed - so leaving them out.
3. files that are in xbmc but not in fzilla - will assume these were added for some purpose, and so are needed - so leaving them in.
4. files that are not changed, or only trivially changed - will replace all trivially changed files currently in xbmc with actual files from filezilla, assuming that it is best to use the filezilla release as the baseline for as much as possible. based on my analysis, this should not affect anything more than a few debug items here and there.
let me know if you guys disagree with my approach or have any questions.
i plean to get the initial analysis for comparison with 0_9_8b done over the next day or so, and then hopefully the actual upgrade done by the end of the week, depending on how many conflicts my analysis uncovers.
once the full upgrade is done, fully functional site commands will of course also be incorporated.
i've started the work to upgrade the xbmc version of filezilla to the latest filezilla code from their cvs.
i've decided to take the following steps:
1. re-check and fix the baseline with filezilla v0_8_8
2. upgrade to new baseline with filezilla v0_9_8b
3. evaluate the further updates to latest for potential individual upgrades, as desired.
i've pretty much finished the re-baselining with v0_8_8, although i might like to go in and clean up a few things. see the summary below for the full comparison. there are 4 basic categories of things:
1. files that are heavily modified for xbmc - will keep the xbmc versions of these, with some potential cleanup. in particular, i would like to go through all xbmc-specific sections of code, and insert the if(_xbox) condition around all custom blocks of code that don't already have it.
2. files that are not currently in xbmc - will assume these were removed for some purpose, and are not needed - so leaving them out.
3. files that are in xbmc but not in fzilla - will assume these were added for some purpose, and so are needed - so leaving them in.
4. files that are not changed, or only trivially changed - will replace all trivially changed files currently in xbmc with actual files from filezilla, assuming that it is best to use the filezilla release as the baseline for as much as possible. based on my analysis, this should not affect anything more than a few debug items here and there.
let me know if you guys disagree with my approach or have any questions.
i plean to get the initial analysis for comparison with 0_9_8b done over the next day or so, and then hopefully the actual upgrade done by the end of the week, depending on how many conflicts my analysis uncovers.
once the full upgrade is done, fully functional site commands will of course also be incorporated.
Quote:xbmc fzilla baseline check - v0_8_8
===================================
xbmc : previously known modified files:
source\controlsocket.cpp this_file, numerous xbox customizations and bug fixes
source\controlsocket.h additional xbox functionality - bsdsfv.h, getcommandfromstring(), msfvfile;
sendcurdir() and senddir() seem to be custom functions, should be in if(_xbox)
source\options.cpp custom welcome message for xbmc, also some pragma warnings disabled
source\permissions.cpp this_file, xsetfilecachesize calls, rewrote findnextfile loop in getdirectorylisting method,
bug fixes, includes my single-char-drives bug fixes, need to put this inside if(_xbox),
return empty result if(_xbox) for getshortcuttarget.
source\server.h made showstatus and onservermessage methods virutal
source\thread.cpp added suspendthread implementation (where is this in fz?)
source\thread.h made thread.run virtual (if _xbox)
source\transfersocket.cpp this_file, nolayers, numerous xbox customizations and bug fixes
source\transfersocket.h some functions removed if nolayers, event handlers public if _xbox instead of protected
more modified files:
source\version.cpp include xbmc version info, completely replaces fz file
source\asyncsocketex.cpp added lots of xbmc stuff, excluded some functionality for xbmc build
source\server.cpp minor cleanup stuff, cleaner initialization and deletion of some pointers
source\serverthread.cpp remove code that raises thread priority (need to use #if xbmc); also this_file...
source\stdafx.h change stdstring.h, also change some debug defs
source\misc\markupstl.cpp small bug fix for deleting array pointer, also #undef this_file...
source\settings converter\misc\markupstl.cpp need same fix as in \misc, also debug_new and this_file (why is this file duped?)
- lots of diffs in these 2 files, mostly due to conversion between (char *) and lpctstr
- also some _debugx business instead of the normal _debug
in fz, not in xbmc: (removed from xbmc version)
source\gftp\*
source\interface\misc\*
source\interface\res\*
source\interface\optionspage.cpp
source\interface\optionspage.h
source\interface\optionspasvpage.cpp
source\interface\optionspasvpage.h
source\misc\stdstring.h
source\settings converter\misc\stdstring.h
in xbmc, not in fz: (added to xbmc version)
source\new folder\*
source\new folder\asyncgsssocketlayer.cpp
source\new folder\asyncgsssocketlayer.h
source\new folder\asyncsocketexlayer.cpp
source\new folder\asyncsocketexlayer.h
source\interface\childview.cpp
source\interface\childview.h
trivial changes (whitespace differences):
source\accounts.cpp
source\admininterface.cpp
source\adminlistensocket.cpp
source\adminsocket.cpp
source\externalipcheck.cpp
source\filelogger.cpp
source\mfc64bitfix.cpp
source\misc\md5.cpp
trivial changes (negligible debug code differences):
source\asyncgsssocketlayer.cpp #define new debug_new
source\asyncsocketexlayer.cpp #undef this_file...
source\listensocket.cpp #undef this_file...
source\service.cpp #define new debug_new
source\speedlimit.cpp #undef this_file...
source\interface\adminsocket.cpp #define new debug_new
source\interface\asyncsocketex.cpp #define new debug_new, #undef this_file...
source\interface\connectdialog.cpp #undef this_file...
source\interface\entersomething.cpp #undef this_file...
source\interface\filezilla server.cpp #undef this_file...
source\interface\groupsdlg.cpp #undef this_file...
source\interface\groupsdlggeneral.cpp #undef this_file...
source\interface\groupsdlgspeedlimit.cpp #define new debug_new
source\interface\mainfrm.cpp #undef this_file...
source\interface\newuserdlg.cpp #undef this_file...
source\interface\offlineaskdlg.cpp #undef this_file...
source\interface\options.cpp #undef this_file...
source\interface\optionsadmininterfacepage.cpp #undef this_file...
source\interface\optionsdlg.cpp #undef this_file...
source\interface\optionsgeneralpage.cpp #undef this_file...
source\interface\optionsgeneralwelcomemessagepage.cpp #undef this_file...
source\interface\optionsgsspage.cpp #undef this_file...
source\interface\optionsloggingpage.cpp #undef this_file...
source\interface\optionsmiscpage.cpp #undef this_file...
source\interface\optionssecuritypage.cpp #undef this_file...
source\interface\optionsspeedlimitpage.cpp #define new debug_new
source\interface\speedlimitruledlg.cpp #undef this_file...
source\interface\splitex.cpp #undef this_file...
source\interface\statusctrl.cpp #undef this_file...
source\interface\statusview.cpp #undef this_file...
source\interface\usersdlg.cpp #undef this_file...
source\interface\usersdlggeneral.cpp #undef this_file...
source\interface\usersdlgspeedlimit.cpp #define new debug_new
source\interface\userslistctrl.cpp #undef this_file...
source\interface\usersview.cpp #undef this_file...
source\interface\version.cpp #define new debug_new
source\misc\mailmsg.cpp #define new debug_new
source\misc\wheatyexceptionreport.cpp #define new debug_new
source\settings converter\options.cpp #define new debug_new, #undef this_file...
source\settings converter\permissions.cpp #define new debug_new, #undef this_file...
source\settings converter\settings converter.cpp #define new debug_new