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 author@codeblocks.org authors for this conversion, but given the
correct info below I could do a more accurate conversion.
Code
afb = afb <afb@codeblocks.org>
alpha0010 = alpha0010 <alpha0010@codeblocks.org>
artoj = artoj <artoj@codeblocks.org>
biplab = biplab <biplab@codeblocks.org>
bluehazzard = bluehazzard <bluehazzard@codeblocks.org>
byo = byo <byo@codeblocks.org>
ceniza = ceniza <ceniza@codeblocks.org>
cyberkoa = cyberkoa <cyberkoa@codeblocks.org>
damienlmoore = damienlmoore <damienlmoore@codeblocks.org>
daniel2000 = daniel2000 <daniel2000@codeblocks.org>
d_anselmi = danselmi <danselmi@codeblocks.org>
danselmi = danselmi <danselmi@codeblocks.org>
dje = dje <dje@codeblocks.org>
dmoore = dmore <dmore@codeblocks.org>
fuscated = fuscated <fuscated@codeblocks.org>
jenslody = jenslody <jenslody@codeblocks.org>
killerbot = killerbot <killerbot@codeblocks.org>
loaden = loaden <loaden@codeblocks.org>
mandrav = mandrav <mandrav@codeblocks.org>
mariocupelli = mariocupelli <mariocupelli@codeblocks.org>
mortenmacfly = mortenmacfly <mortenmacfly@codeblocks.org>
ollydbg = ollydbg <ollydbg@codeblocks.org>
pecan = pecanh <pecanh@codeblocks.org>
pecanh = pecanh <pecanh@codeblocks.org>
rickg22 = rickg22 <rickg22@codeblocks.org>
thomas-denk = thomasdenk <thomasdenk@codeblocks.org>
thomasdenk = thomasdenk <thomasdenk@codeblocks.org>
tiwag = tiwag <tiwag@codeblocks.org>
tpetrov = tpetrov <tpetrov@codeblocks.org>
zlika = zlika <zlika@codeblocks.org>
(no author) = no_author <no_author@no_author>
httpd = httpd <httpd@httpd>
mhaggag = mhaggag <mhaggag@codeblocks.org>
byo_spoon = byo_spoon <byo_spoon@codeblocks.org>
mispunt = mispunt <mispunt@codeblocks.org>
sprat = sprat <sprat@codeblocks.org>

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)