News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

wxSmith development

Started by byo, May 26, 2005, 02:38:44 AM

Previous topic - Next topic

mandrav

Quote from: cyberkoa on July 28, 2005, 03:24:21 PM
mandrav, I hv downloaded CB rc-1 and try , it works fine , but when I finished compile wxSmith , and try to run , it give me msg "Another CB process is running" , I hv tried to restart my PC , it give the same msg also.

so , I used back the final-beta version .
I am using winXP , wxwidgets-2.6.1
Uncheck "Settings->Environment->Allow only one running instance" ;)

Yiannis.
Be patient!
This bug will be fixed soon...

rickg22

Quote from: mandrav on July 28, 2005, 03:53:05 PM
Quote from: cyberkoa on July 28, 2005, 03:24:21 PM
mandrav, I hv downloaded CB rc-1 and try , it works fine , but when I finished compile wxSmith , and try to run , it give me msg "Another CB process is running" , I hv tried to restart my PC , it give the same msg also.

so , I used back the final-beta version .
I am using winXP , wxwidgets-2.6.1
Uncheck "Settings->Environment->Allow only one running instance" ;)

Yiannis.

Perhaps we should have that disabled by default... anyway. You could present a dialog box asking if you want to run anyway.

zieQ

Yes, I was asking myself what was the problem since in the final beta had no multiple instance settings.

mandrav

Quote from: zieQ on July 28, 2005, 06:19:10 PM
Yes, I was asking myself what was the problem since in the final beta had no multiple instance settings.
People used to find it annoying because the last instance's settings are actually saved. So you might edit options in an instance and another instance overwrite them...
So we added an option for it.

Yiannis.
Be patient!
This bug will be fixed soon...

rickg22

#94
Guys i have a question
How stable is wxsmith right now?

I want to edit some of the Codeblocks dialogs... can it be done currently? Or do I have to grab another resource editor?

byo

Quote from: rickg22 on July 29, 2005, 06:44:16 AM
Guys i have a question
How stable is wxsmith right now?

I want to edit some of the Codeblocks dialogs... can it be done currently? Or do I have to grab another resource editor?

Unfortunately wxSmith isn't ready for bigger job yet. Currently it doesn't support many standard widgets (I hope that cyberkoa will help me with this :), he has already started working on it).
And stability... sometimes it crashes (when deleting widgets) but I have some problems with debugging - C::B has problems with paths (when running not in debug mode it runs properly but when running in debug it says there's no C::B executable) and I can't load symbol tables from wxSmith's dll, even after add-symbols... in gdb, backtrace doesn't show any function names (maybe anyone could help me with this)

rickg22

OK here's how. I'm not speaking from experience, but rather from what Yiannis told me.

1) Add a breakpoint after loading the plugins in app.cpp.
2) Run.
3) After you reach the plugins, add the symbol tables for the plugins dlls.

mandrav

What I do to debug C::B plugins is:

1) open app.cpp, position the cursor on HideSplashScreen() in CodeBlocksApp::InitFrame() (currently line 180)
2) press F4 (starts debugging and breaks on the above line).

When it breaks, the plugins have loaded so any breakpoints you set in plugins, will be valid.
Debug :)

Yiannis.
Be patient!
This bug will be fixed soon...

cyberkoa

#98
Quote from: byo on July 30, 2005, 09:56:54 AM

Unfortunately wxSmith isn't ready for bigger job yet. Currently it doesn't support many standard widgets (I hope that cyberkoa will help me with this :), he has already started working on it).
And stability... sometimes it crashes (when deleting widgets) but I have some problems with debugging - C::B has problems with paths (when running not in debug mode it runs properly but when running in debug it says there's no C::B executable) and I can't load symbol tables from wxSmith's dll, even after add-symbols... in gdb, backtrace doesn't show any function names (maybe anyone could help me with this)
Ok, let me handle on the standard widgets , I will try my best ! 

The debugging technique provided by rick and mandrav is very useful ..
Now is still reading the source code of code generation by byo  ..
Next monday I will back to Mexico , will start on the development again ...  :D

tiwag

Quote from: rickg22 on July 29, 2005, 06:44:16 AM
I want to edit some of the Codeblocks dialogs...

in the last time i use more and more often wxFormBuilder
it's almost as good as DialogBlocks, but free and open source.
http://www.solidsteel.nl/users/wxwidgets/viewtopic.php?t=2615
http://software-libre.org/download.php/232/wxFB-20050710-win32-installer.exe

The developer of wxFormBuilder himself posted a few times,
that he is using CodeBlocks and wxFormBuilder together and
reaches very good results with it.

phlox81

wow  :shock:

Nice, and quite impressive  8)
You saved me from installing Dev-Cpp, thanks man  :lol:

byo

Heh, I see so many lovely apps  :lol:
And I just hope that anyone will use my plugin ;)

rickg22

Quote from: byo on August 06, 2005, 04:18:43 PM
And I just hope that anyone will use my plugin ;)

Build it, and they will come :lol:

byo

Hi, just a small list of features which were added recently:


  • Drag Points - to move and size widgets with mouse :)
  • Changed to wxPropertyGrid for editing properties - there are still some things to code but most of conversion has been done (there's still possibility to use old properties system - just need to add __NO_PROPGRGID to defines - but I haven't tested if it still works ;))
  • Support for Dialogs, Frames and Panels
  • Code generation on-the-fly (but not all objects generate valid code - f.ex. gridsizer)

All changes are in HEAD branch - I'll check if it will work also with VERSION_1_0 and if so, I'll update sources  :D.
Unfortunately wx 2.6 needed (required by wxPropertyGrid)

cyberkoa

Quote from: byo on August 09, 2005, 11:04:04 PM
Hi, just a small list of features which were added recently:


  • Drag Points - to move and size widgets with mouse :)
  • Changed to wxPropertyGrid for editing properties - there are still some things to code but most of conversion has been done (there's still possibility to use old properties system - just need to add __NO_PROPGRGID to defines - but I haven't tested if it still works ;))
  • Support for Dialogs, Frames and Panels
  • Code generation on-the-fly (but not all objects generate valid code - f.ex. gridsizer)

All changes are in HEAD branch - I'll check if it will work also with VERSION_1_0 and if so, I'll update sources  :D.
Unfortunately wx 2.6 needed (required by wxPropertyGrid)

o .. great , when will it be commited to CVS ? Looking forward to see the screen shot ...:)