Author Topic: About wxSmith development  (Read 93956 times)

Offline Bonanza

  • Multiple posting newcomer
  • *
  • Posts: 34
  • Engineer
Re: About wxSmith development
« Reply #15 on: October 21, 2006, 11:50:59 pm »
Hi Morten,

Thanks for the answer. Sadly I am a novice to SVN (some experience in CVS) and I have no clue how to do the suggested operation. Where do I find the mentioned branch? Does it apply for a certain set of files and folders?

I am using TortoiseSVN....

Could you please give me a hint or two?
TIA

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: About wxSmith development
« Reply #16 on: October 22, 2006, 10:17:27 am »
Could you please give me a hint or two?
If you have checked out the sources from trunk (you did, right?!) then you have to go to one level beneath that. There is a directory called "branches". This you have to setup to access a branch you like. You can browse the repository at http://svn.berlios.de/wsvn/codeblocks to make you a picture of that. So basically where you now have setup "svn.berlios.de/svnroot/repos/codeblocks/trunk" in your SVN client you point now to "svn.berlios.de/svnroot/repos/codeblocks/branches/New_wxSmith" and that's it. All other instructions how to obtain the C::B sources from SVN remain (see http://wiki.codeblocks.org/index.php?title=Installing_Code::Blocks_from_source_on_Windows).
With regards, Morten.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

bnilsson

  • Guest
Re: About wxSmith development
« Reply #17 on: October 22, 2006, 12:12:22 pm »
Hi!

What would be the prospects of trying New_wxSmith on Mac?
I have no problems building the standard CB using svn update, (a modified) bootstrap, configure and make.

I did svn checkout on New_wxSmith but there were no makefiles and I am unable to set up a working wxSmith.cbp.
If the wxSmith.cbp is the preferred choice, I would need some help there.


Offline byo

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 837
Re: About wxSmith development
« Reply #18 on: October 23, 2006, 03:16:29 pm »
Hmm, new wxSmith won't actually work. I'm recoding some basic classes and almost all wxSmith functionality has been disabled :(.

EDIT:
files in New_wxSmith are outdated to there's no use using this project. I'll remove this soon. The easiest way to get new wxSmith compiling is to checkout
   svn.berlios.de/svnroot/repos/codeblocks/branches/New_wxSmith
into
   src/plugins/contrib
folder and compile that projet
« Last Edit: October 23, 2006, 03:25:30 pm by byo »

Offline Bonanza

  • Multiple posting newcomer
  • *
  • Posts: 34
  • Engineer
Re: About wxSmith development
« Reply #19 on: October 26, 2006, 08:15:28 pm »
Hi Guys,

I compiled the new wxsmith replaced the dll and zip file and it seems to work.

However the possibility to create a new wxsmith project seems to have dissapeared form the project wizrd.

Is this supposed to happen?

Thanks

Offline byo

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 837
Re: About wxSmith development
« Reply #20 on: October 26, 2006, 10:01:32 pm »
Hi Guys,

I compiled the new wxsmith replaced the dll and zip file and it seems to work.

However the possibility to create a new wxsmith project seems to have dissapeared form the project wizrd.

Is this supposed to happen?

Thanks

Yes, new wxSmith currently doesn't have it's own wizard. In order to create wxSmith app you could create standard wxWidgets app and choose "Configure current project" - this will search for available wxApp classes and adopt it for wxSmith.

But once again I must warn - new wxSmith is NOT USABLE yet. It doesn't event create editor for resources. I need some time to reorganize base classes responsible for really basic things :(

Offline Bonanza

  • Multiple posting newcomer
  • *
  • Posts: 34
  • Engineer
Re: About wxSmith development
« Reply #21 on: October 26, 2006, 10:37:19 pm »
Thanks for all the help:-)

Offline DC@DR

  • Multiple posting newcomer
  • *
  • Posts: 23
Re: About wxSmith development
« Reply #22 on: December 03, 2006, 04:09:01 pm »
OK, so now is there any info about the progress of the new wxSmith? When can we expect it to be integrated into NBs and become usable? Thanks :-)

Offline byo

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 837
Re: About wxSmith development
« Reply #23 on: December 04, 2006, 12:36:23 am »
Ok, current status of new wxSmith (I've worked really hard on wxSmith last week to make it usable in any way :))

Currently working:
* New framework prepared for new resources and even GUIs
* Adopting wxWidgest projects created using wxWidgets wizard to work with wxSmith (it tries to modify code where wxApp is created) - wxSmith's wizad is no longer needed
* Create wxFrame / wxDialog / wxPanel (just like before)
* Editor almost done - you can add new items, edit them in property grid and use mouse to change size / placement of items
* Full source code creation - all required source code is generated, but I haven't tested resources using XRC files
* Undo / redo
* Cut / Copy / Paste (but not yet tested)
* Each item has priority - items palette is better organized now
* Can use dialog units in resources for size / position and few other properties (this wasn't supported in old wxSmith)

Not yet working (comparing to old wxSmith):
* resource browser is not fully supported (resources are shown, selecting resource opens editor but selecting item inside resource does not select it on editor)
* No Quick-Properties panels
* No importing of XRC files
* Preview button in editor does not work
* Can not edit events (this is almost done but not enabled in property grid)
* Not all items supported in old wxSmith version are supported (few items require some extra threatment - like wxNoteBoox needs system to swap currently edited page)
* Converting from old wxSmith format not yet done
* No MAC support
* Not tested on Linux
* Editor needs to be polished up - it tends to blink to much and sometimes it does not refresh correctly (but looks like it's more stable than previous versions)
* No automake files
* No linux project file

In my opinion, 80-90% of rewrite is done :)

Regards
   BYO

Offline DC@DR

  • Multiple posting newcomer
  • *
  • Posts: 23
Re: About wxSmith development
« Reply #24 on: December 04, 2006, 06:41:04 pm »
Sounds interesting, huh. We're all looking forward to see new wxSmith rolled out in good shape, thanks in advance for the great coming plug-in, Byo. Cheers :-)

Offline afb

  • Developer
  • Lives here!
  • *****
  • Posts: 884
Re: About wxSmith development
« Reply #25 on: December 04, 2006, 08:06:02 pm »
Not yet working (comparing to old wxSmith):
...
* No MAC support
* Not tested on Linux
* Editor needs to be polished up - it tends to blink to much and sometimes it does not refresh correctly (but looks like it's more stable than previous versions)
* No automake files
* No linux project file

In my opinion, 80-90% of rewrite is done :)

80% Windows, 10% Linux, 10% Mac OS X.

Sounds about fair :-)

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7582
    • My Best Post
Re: About wxSmith development
« Reply #26 on: December 04, 2006, 08:10:29 pm »
80% Windows, 10% Linux, 10% Mac OS X.

Sounds about fair :-)


That adds up to 100%

Tim S
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline afb

  • Developer
  • Lives here!
  • *****
  • Posts: 884
Re: About wxSmith development
« Reply #27 on: December 04, 2006, 08:12:19 pm »
80% Windows, 10% Linux, 10% Mac OS X.

Sounds about fair :-)


That adds up to 100%

Tim S

Did I miss any wx platform ?

Offline byo

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 837
Re: About wxSmith development
« Reply #28 on: December 04, 2006, 09:12:43 pm »
80% Windows, 10% Linux, 10% Mac OS X.

Sounds about fair :-)


I wish I could say that :roll: Has anybody some magic wand to make it true ;)
(Real estimations are not so optimistic so I won't bother you ;) )

Offline afb

  • Developer
  • Lives here!
  • *****
  • Posts: 884
Re: About wxSmith development
« Reply #29 on: December 04, 2006, 10:21:54 pm »
I was just kidding around. Checked out New_wxSmith to get a grip on where it's at (on wxGTK/wxMac), if I figure it out I'll let you know...