Developer forums (C::B DEVELOPMENT STRICTLY!) > Plugins development
SVNInside : development of another SVN plugin for CodeBlocks
MortenMacFly:
--- Quote from: stahta01 on October 11, 2007, 03:53:39 pm ---Patch to for building under windows without pre-compiled headers.
--- End quote ---
Reminds me: Stahta01: What compiler config do you use to get these results? I tried installing GCC 3.3.1 but it never was able to link C::B with it (although I have compiled everything from scratch, including wx with 3.3.1).
stahta01:
--- Quote from: MortenMacFly on October 12, 2007, 08:16:26 am ---
--- Quote from: stahta01 on October 11, 2007, 03:53:39 pm ---Patch to for building under windows without pre-compiled headers.
--- End quote ---
Reminds me: Stahta01: What compiler config do you use to get these results? I tried installing GCC 3.3.1 but it never was able to link C::B with it (although I have compiled everything from scratch, including wx with 3.3.1).
--- End quote ---
MinGW GCC 3.4.5, note I tried it with 3.3.1, but more work is needed on it.
You need to remove the defines of CB_PRECOMP and WX_PRECOMP in the Code::Blocks project file.
Then add the define of NOPCH.
Tim S
orel:
As some of you may have see, i commited all patches posted on this topic, and made a little effort in the source code to translate french comments to english, not all of them for the moment are but they will soon.
I am also reorganizing my code to let it be more readable and changins some interfaces, specially CSNComand class and inheriteds ones.
Fot the moment, that works :
* plugi config is save in th e project file when configured. But for the moment, you must save it, close it and reopen for the svn tree to be full
* adding 'not under svn control 'files to the repository, if their directory exists in the repo. Batch version too
* commiting added, modified, deleted or replaced files. Batch version too
MortenMacFly:
--- Quote from: stahta01 on October 12, 2007, 08:34:08 am ---You need to remove the defines of CB_PRECOMP and WX_PRECOMP in the Code::Blocks project file.
Then add the define of NOPCH.
--- End quote ---
Oh - that way... nice catch. Thanks! :-)
orel:
Interfaces of CSVNCommand and inherited classes have been redesigned to be clearer and more understandable. All classes named CSVN...Result and CSVN...Params no more exist. Everything is done in CSVN... classes.
Next step will be the integration of wxExecute and wxProcess in the execution of svn commands, in order to have 2 choices when executing one command :
-synchronous execution for commands executing fastly
-asynchronous execution for slower commands, with a notification of the end of the process by sending a wxEvent to an wxEventHandler, the event being given to the CSVNCommand at runtime.
I have made some tests with both, and everything is OK, no problem when getting the command line output.
I will keep my windows implementation of this, but it won't be the default, even for windows users. This code will be compiled only if something like WINAPI_IMPLEMENTATION is defined.
This is the only step tobe coded for SVNInside to be cross compiled. When this will be done, i would be glad if a linux user can try it on his PC, just to see if there are problems. The coding won't be finished at all at this time, but at least it will take place on solid bases.
If some of you have ideas for this plugin, it's time to give them, before other choices have been made and so it's more difficult to reimplement.
Thank eveybody for your interest, ideas, patches and programming advises!! :D
orel
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version