no commits
Commits have expired... :roll: Time to help Byo with wxSmith.
Quote from: Grom on October 02, 2007, 06:26:19 PM
Commits have expired... :roll: Time to help Byo with wxSmith.
How do you know what I'm currently doing? The fact that there are no commits doesn't mean there's no work. Also note that wxSmith is not main part of C::B so there are other more important areas to work on.
Ok, so you write it's time to help. Why don't you help us ?
BYO
No day without Grom trolling for either release, lack of commits, roadmap, Code::Blocks being unpopular (in particular where does he get that idea from?) or something related to wxSmith.
Chill out, ignore it :)
That's love..)
Quote from: thomas on October 02, 2007, 08:07:19 PM
No day without Grom trolling for either release, lack of commits, roadmap, Code::Blocks being unpopular (in particular where does he get that idea from?) or something related to wxSmith.
Chill out, ignore it :)
Hopefully Grom didn't make me stop coding so far and I'm not so stupid to stop now ;) But to be honest it's really uncomfortable to work when someone is forcing us to work faster. Jay it's free software, "free as in freedom".
BTW. Grom, I don't understand one thing. You forced me to include wxGrid support in wxSmith. I've found recently huge bug which caused wxGrid's event to be useless. Have you ever used wxGrid or was this only a test to find out if I'll fulfil your wishes? I don't believe that someone who used wxGrid didn't notice such mistake.
BYO
By the way...
Did you know that Grom means roar in dutch?
Jan
@Byo
SVN 4504
The file wxsitem.h include the file wxsflags.h.
I can not find the file wxsflags.h, where should it be?
Thank You for the hard work.
Tim S
compiled on linux -> same issue
If a project uses a compiler name (say "Ruby") then the compiler is renamed to (say "Ruby Interpreter"), when loading the project, CB will crash in line 590 of cbprojects.cpp because the pointer compiler==0;
The code needs somethine like:
Compiler* compiler = CompilerFactory::GetCompiler(GetCompilerID());
if (!compiler) compiler = CompilerFactory::GetCompiler(0);
bool isResource = FileTypeOf(filename) == ftResource;
const CompilerTool& tool = compiler->GetCompilerTool(isResource ? ctCompileResourceCmd : ctCompileObjectCmd, fname.GetExt());
to avoid the crash.
Quote from: byo on October 03, 2007, 12:08:16 AM
Quote from: thomas on October 02, 2007, 08:07:19 PM
No day without Grom trolling for either release, lack of commits, roadmap, Code::Blocks being unpopular (in particular where does he get that idea from?) or something related to wxSmith.
Chill out, ignore it :)
Hopefully Grom didn't make me stop coding so far and I'm not so stupid to stop now ;) But to be honest it's really uncomfortable to work when someone is forcing us to work faster. Jay it's free software, "free as in freedom".
BTW. Grom, I don't understand one thing. You forced me to include wxGrid support in wxSmith. I've found recently huge bug which caused wxGrid's event to be useless. Have you ever used wxGrid or was this only a test to find out if I'll fulfil your wishes? I don't believe that someone who used wxGrid didn't notice such mistake.
BYO
I don't use any events from the tables. I use them just to input data and check the data when Ok was pressed. Would be grate to have an ability to put the wxSmith GUI files to a separate folder, today they stay permanently in root project folder.
Quote from: Jan van den Borst on October 03, 2007, 12:32:41 AM
By the way...
Did you know that Grom means roar in dutch?
Jan
It means 'Thunder' in russian - that's the origin)
So its roaring thunder in russiandutch
...
Quote from: Grom on October 03, 2007, 05:25:32 PM
I don't use any events from the tables. I use them just to input data and check the data when Ok was pressed. Would be grate to have an ability to put the wxSmith GUI files to a separate folder, today they stay permanently in root project folder.
Jay, just use filename with preceding folder name, that's been working for ages.
Quote from: stahta01 on October 03, 2007, 04:23:26 AM
The file wxsitem.h include the file wxsflags.h.
I can not find the file wxsflags.h, where should it be?
Sorry, forgot to add this :oops: (I knew I forgot about sometning ;) ). It should work now.
BYO
still fails on my linux box :
Quote../../../../src/plugins/contrib/wxSmith/wxwidgets/wxsitemfactory.h: In member function 'wxsItem* wxsRegisterItem<T>::OnBuild(wxsItemResData*) [with T = wxsChart]':
./wxchart/wxschart.cpp:474: instantiated from here
../../../../src/plugins/contrib/wxSmith/wxwidgets/wxsitemfactory.h:228: error: cannot allocate an object of abstract type 'wxsChart'
./wxchart/wxschart.h:9: note: because the following virtual functions are pure within 'wxsChart':
../../../../src/plugins/contrib/wxSmith/wxwidgets/wxscodegenerator.h:45: note: virtual void wxsCodeGenerator::OnBuildCreatingCode()
I'm sure you already know or can guess but just in case, compiled on windows -> same issue:
Quote-------------- Build: wxSmithContribItems in wxSmith - Contrib Items ---------------
Compiling: wxchart\wxschart.cpp
../wxSmith/wxwidgets/wxsitemfactory.h: In member function `wxsItem* wxsRegisterItem<T>::OnBuild(wxsItemResData*) [with T = wxsChart]':
D:\Ethereal\codeblocks-head\src\plugins\contrib\wxSmithContribItems\wxchart\wxschart.cpp:230: instantiated from here
../wxSmith/wxwidgets/wxsitemfactory.h:228: error: cannot allocate an object of type `wxsChart'
../wxSmith/wxwidgets/wxsitemfactory.h:228: error: because the following virtual functions are abstract:
../wxSmith/wxwidgets/wxscodegenerator.h:45: error: virtual void wxsCodeGenerator::OnBuildCreatingCode()
Process terminated with status 1 (5 minutes, 10 seconds)
3 errors, 0 warnings
For me its the same but I receive another error before the wxChart one:
C:\Devel\CodeBlocks\src\plugins\contrib\wxSmithContribItems\wxthings\wxscustombutton.cpp:230: instantiated from here
../wxSmith/wxwidgets/wxsitemfactory.h:228: error: cannot allocate an object of type `wxsCustomButton'
../wxSmith/wxwidgets/wxsitemfactory.h:228: error: because the following virtual functions are abstract:
../wxSmith/wxwidgets/wxscodegenerator.h:45: error: virtual void wxsCodeGenerator::OnBuildCreatingCode()
followed by (as described):
C:\Devel\CodeBlocks\src\plugins\contrib\wxSmithContribItems\wxchart\wxschart.cpp:230: instantiated from here
../wxSmith/wxwidgets/wxsitemfactory.h:228: error: cannot allocate an object of type `wxsChart'
../wxSmith/wxwidgets/wxsitemfactory.h:228: error: because the following virtual functions are abstract:
../wxSmith/wxwidgets/wxscodegenerator.h:45: error: virtual void wxsCodeGenerator::OnBuildCreatingCode()
With regards, Morten.
:oops: :oops: :oops: :shock: :oops: :oops: :oops:
It should work now
Worked for me, thanks BYO! :D
Cheers
Quote from: byo on October 04, 2007, 07:24:45 PM
:oops: :oops: :oops: :shock: :oops: :oops: :oops:
It should work now
Sure it does. When I looked at the modifications better I should print a :oops: :roll: ;-)