Code::Blocks Forums

Developer forums (C::B DEVELOPMENT STRICTLY!) => Development => Topic started by: hanetzer on April 19, 2019, 03:54:15 am

Title: Offers and ideas to help codeblocks
Post by: hanetzer on April 19, 2019, 03:54:15 am
So, I have three ideas which codeblocks may want to implement, and I'm willing to do the legwork
needed for them if the codeblocks team are interested in it.

Title: Re: Offers and ideas to help codeblocks
Post by: sodev on April 19, 2019, 04:57:40 am

Just for reference, i'm not associated with CodeBlocks in any way despite having fixed some things here and there in the past, so this is my personal opinion about these matters.
Title: Re: Offers and ideas to help codeblocks
Post by: hanetzer on April 19, 2019, 05:46:47 am
  • Nope. If you really want to move to another build system use a more "standard" one. So far many open source projects use CMake, this is IMHO kind of the standard meta build system right now. And even Boost is moving to that one, enough said ;D. This won't be an easy task, CodeBlocks does a lot of extra stuff than compiling, you need to drive the package generators, seems like a lot of work.
I just mean for building codeblocks itself, not codeblock's building projects made in codeblocks.

  • I dont know if it is just me who is so old school and refuses to use a POSIX environment on Windows to build my stuff (hmm, actually the only reason to have a GCC toolchain on Windows for me is CodeBlocks... CodeBlocks, why you no can be compiled with MSVC :'(), but i just use the online installer of MinGW-w64 to download the toolchain. It's kind of one-click, set the path in CodeBlocks and i'm done, no editing XML or the like :o ::)
No posix environment. Just raw windows executables.

  • Fixing the eMails is the easiest task, you will have way more fun dealing with externals, fixing revision references in log messages and i don't know what else you will face. But i do like the move to git, no more patch files scattered around the forum, only nice PR's (ok, i know who won't like that  ;D)
Yeah, but there are tools for that, just takes a bit of massaging.

Just for reference, i'm not associated with CodeBlocks in any way despite having fixed some things here and there in the past, so this is my personal opinion about these matters.
Fair enough, but hope I've addressed your concerns well enough :)
Title: Re: Offers and ideas to help codeblocks
Post by: hanetzer on April 19, 2019, 08:20:57 am
For anyone interested in how the git conversion would turn out, it is basically this:
https://github.com/hanetzer/codeblocks
I just used stand-in [email protected] authors for this conversion, but given the
correct info below I could do a more accurate conversion.
Code
afb = afb <[email protected]>
alpha0010 = alpha0010 <[email protected]>
artoj = artoj <[email protected]>
biplab = biplab <[email protected]>
bluehazzard = bluehazzard <[email protected]>
byo = byo <[email protected]>
ceniza = ceniza <[email protected]>
cyberkoa = cyberkoa <[email protected]>
damienlmoore = damienlmoore <[email protected]>
daniel2000 = daniel2000 <[email protected]>
d_anselmi = danselmi <[email protected]>
danselmi = danselmi <[email protected]>
dje = dje <[email protected]>
dmoore = dmore <[email protected]>
fuscated = fuscated <[email protected]>
jenslody = jenslody <[email protected]>
killerbot = killerbot <[email protected]>
loaden = loaden <[email protected]>
mandrav = mandrav <[email protected]>
mariocupelli = mariocupelli <[email protected]>
mortenmacfly = mortenmacfly <[email protected]>
ollydbg = ollydbg <[email protected]>
pecan = pecanh <[email protected]>
pecanh = pecanh <[email protected]>
rickg22 = rickg22 <[email protected]>
thomas-denk = thomasdenk <[email protected]>
thomasdenk = thomasdenk <[email protected]>
tiwag = tiwag <[email protected]>
tpetrov = tpetrov <[email protected]>
zlika = zlika <[email protected]>
(no author) = no_author <[email protected]_author>
httpd = httpd <[email protected]>
mhaggag = mhaggag <[email protected]>
byo_spoon = byo_spoon <[email protected]>
mispunt = mispunt <[email protected]>
sprat = sprat <[email protected]>

This is a full list based on my trial conversion.
Title: Re: Offers and ideas to help codeblocks
Post by: BlueHazzard on April 20, 2019, 03:49:55 pm
There is a git repo of codeblocks (unofically, and pull requests are ignored, but it is a git repo :) )
https://github.com/obfuscated/codeblocks_sf

I do not think the build system to build codeblocks is a problem. As soon as you have build codeblocks the first time you can use codeblocks to build codeblocks and for me this is a lot more convenient then any other build system.

If you are talking about adding support for other build environments to codeblocks, this would be a good idea... Patches and any work is highly welcome. If you do anything fundamental it would be good to first post your plan and some minimal example, prior to launch the big work...
But there is TONS of other work to do... Look at the bug tracker...
Title: Re: Offers and ideas to help codeblocks
Post by: killerbot on April 20, 2019, 04:52:31 pm
as for now, our code is in svn and that works fine, so not many advantages for going to git, so we are fine where we are ;-)
We have internally discussed already a few times, and we stick to svn for the moment.

As for changing build systems, be careful this is probably not so easy, since we need to be able tio build it on windows, linux, macOS, ... amny dependencies ...
Title: Re: Offers and ideas to help codeblocks
Post by: oBFusCATed on April 20, 2019, 05:02:54 pm
I do not think the build system to build codeblocks is a problem.
It is getting problematic for me. But I'm not sure cmake is the answer. I'll try porting some cb plugin to meson to see how it works. (I know cmake already, because we use it at work)