Code::Blocks Forums

Developer forums (C::B DEVELOPMENT STRICTLY!) => Contributions to C::B => Topic started by: headkase on December 20, 2015, 04:01:02 am

Title: Improving the Wiki
Post by: headkase on December 20, 2015, 04:01:02 am
I would like to edit the wiki pages.  The wiki main page tells me to log in with my forum username and password.  However, when I try to log in with my forum username I get a message saying that the username is not in use.  I do not see a way to register independently there.

I would like to improve the Wiki pages as they are not in all that great shape.

Thank you,
Bill.
Title: Re: Improving the Wiki
Post by: ollydbg on December 20, 2015, 04:22:07 am
I would like to edit the wiki pages.  The wiki main page tells me to log in with my forum username and password.  However, when I try to log in with my forum username I get a message saying that the username is not in use.  I do not see a way to register independently there.

I would like to improve the Wiki pages as they are not in all that great shape.

Thank you,
Bill.
That's strange, it was an issue but should be fixed long times ago, I will write an email to our administrator to report this bug.
Thanks for the report. :)

EDIT: I don't have such issue, I can login to the wiki correctly.
Title: Re: Improving the Wiki
Post by: headkase on December 20, 2015, 04:35:16 am
Thank you for looking into it for me.

http://imgur.com/hdO7UYU

Improving the wiki is definitely something I can be competent at.  :)
Title: Re: Improving the Wiki
Post by: headkase on December 21, 2015, 04:58:00 pm
Still unable to log into the Wiki.  Will post again tomorrow if the same error.

Thanks.  :P :)
Title: Re: Improving the Wiki
Post by: mandrav on December 22, 2015, 06:14:06 pm
Since we upgraded to a recent wiki version, the plugin that allowed us to login with our forum-credentials is no longer supported...
So, at least for now, you have to create a new wiki user.
Title: Re: Improving the Wiki
Post by: headkase on December 22, 2015, 06:31:10 pm
Ok, thanks.  But - unless I'm completely blind (it has been known to happen), I just don't see anywhere to register on the Wiki?
Title: Re: Improving the Wiki
Post by: MortenMacFly on December 22, 2015, 08:17:25 pm
I just don't see anywhere to register on the Wiki?
I think he's right. :-)
Title: Re: Improving the Wiki
Post by: Jenna on December 22, 2015, 09:01:37 pm
I just don't see anywhere to register on the Wiki?
I think he's right. :-)
That was removed, because it has lead to tons of spam in extremely short time:
I cleaned up the wiki and locked creation of new users to avoid this kind of spam in the near future...
Admins can create new users though. [...] :)
I can create an accout with a atemproary password, that will be send to your forums mail-address, for you,
Just confirm that the address is correct or PM me another address (and probably username).
Title: Re: Improving the Wiki
Post by: headkase on December 23, 2015, 02:16:19 am
I can create an accout with a atemproary password, that will be send to your forums mail-address, for you,
Just confirm that the address is correct or PM me another address (and probably username).

Right on, yes please.  I just checked to make sure my forum email is correct and it is.  So if you could email me a temporary password there then that would be awesome.  For the Wiki username it would probably be best if it was the same as the forum: "headkase".  Thanks again!  :)
Title: Re: Improving the Wiki
Post by: Jenna on December 23, 2015, 06:36:56 am
I can create an accout with a atemproary password, that will be send to your forums mail-address, for you,
Just confirm that the address is correct or PM me another address (and probably username).

Right on, yes please.  I just checked to make sure my forum email is correct and it is.  So if you could email me a temporary password there then that would be awesome.  For the Wiki username it would probably be best if it was the same as the forum: "headkase".  Thanks again!  :)
A mail should be on the way.
If it does not arrive (even not in the spam-folder), the mailer is broken and I have to do it manually.
So please give feedback.
Title: Re: Improving the Wiki
Post by: headkase on December 23, 2015, 07:25:18 am
Thank you jens, I did receive the email and I have successfully logged into the Wiki with it!  :)
Title: Re: Improving the Wiki
Post by: MortenMacFly on December 23, 2015, 07:52:35 am
If it does not arrive (even not in the spam-folder), the mailer is broken and I have to do it manually.
The mailer was really broken, btw., but Yiannis fixed it yesterday.
Title: Re: Improving the Wiki
Post by: headkase on December 25, 2015, 03:23:53 am
Well, I gave this page: http://wiki.codeblocks.org/index.php/Installing_Code::Blocks_from_source_on_Windows a good "once over."  I intend to move onto this page: http://wiki.codeblocks.org/index.php/MinGW_installation next.

Comments and criticism are welcome.
Title: Re: Improving the Wiki
Post by: ollydbg on December 25, 2015, 05:19:07 am
Well, I gave this page: http://wiki.codeblocks.org/index.php/Installing_Code::Blocks_from_source_on_Windows a good "once over."
Great, I think I have edited that page several years ago, and now, you edit make the wiki better.

Quote
I intend to move onto this page: http://wiki.codeblocks.org/index.php/MinGW_installation next.
Comments and criticism are welcome.
That's would be a great contribution!
Thanks.
Title: Re: Improving the Wiki
Post by: headkase on December 25, 2015, 05:35:48 am
Right on, thank you ollydbg.  :)
Title: Re: Improving the Wiki
Post by: headkase on December 26, 2015, 02:14:40 am
So, I gave this page: http://wiki.codeblocks.org/index.php/MinGW_installation A good "once over."  The last section, Development Tools, is all that survived out of the original page.  All the sections above it are rewritten and focus on one compiler: TDM-GCC, with the basic procedure then applicable to other compilers if the user considers TDM deficient in some way.

Edit: I pretty well completely gutted that last surviving section (Development Tools) as well.  It was a huge list of direct links.  I condensed that into two links to the main project pages - where if someone wants they can then find their tool instead of maintaining a list of soon-to-be-outdated/dead of links on the Wiki.  ZIP I did keep though, and updated the links so they are the most current.
Title: Re: Improving the Wiki
Post by: Quiss on January 02, 2016, 12:31:41 pm
I have just used wiki page(s) to build both wxWidgets and Code::Blocks, so far so good, thanks.

Maybe "-Wno-deprecated-declarations" could be added because there are lots of warnings like this one which increase the build time:
Quote
F:\Codeblocks\src\plugins\xpmanifest\windowsxplooknfeel.cpp|136|warning: 'virtual void wxWindowBase::SetInitialBestSize(const wxSize&)' is deprecated [-Wdeprecated-declarations]|
I've used tdm-gcc-5.1.0 on Windows 10.
Title: Re: Improving the Wiki
Post by: headkase on January 02, 2016, 09:33:29 pm
I have just used wiki page(s) to build both wxWidgets and Code::Blocks, so far so good, thanks.

Maybe "-Wno-deprecated-declarations" could be added because there are lots of warnings like this one which increase the build time:
Quote
F:\Codeblocks\src\plugins\xpmanifest\windowsxplooknfeel.cpp|136|warning: 'virtual void wxWindowBase::SetInitialBestSize(const wxSize&)' is deprecated [-Wdeprecated-declarations]|
I've used tdm-gcc-5.1.0 on Windows 10.

Would that need to be listed under building wxWidgets, Code::Blocks, or both?  I will rewrite the Building from Source page to better reflect items that may or may not be necessary for a specific instance.  In the mean-time you should - if you intend to make more contributions - request a Wiki account yourself!
Title: Re: Improving the Wiki
Post by: headkase on January 03, 2016, 03:19:21 am
Cleaned up the optional items to use while building.  Please correct me Quiss if I did not add your option correctly to the page.

http://wiki.codeblocks.org/index.php?title=Installing_Code::Blocks_from_source_on_Windows#Build_wxWidgets_Support_Library
Title: Re: Improving the Wiki
Post by: Alpha on January 03, 2016, 04:12:33 am
Page is looking very nice.  You may want to mention the cb_release_type global var (I usually use -g but sometimes -O2). Edit: oops, I seem to be blind, it is already there.
Title: Re: Improving the Wiki
Post by: headkase on January 03, 2016, 04:18:37 am
Page is looking very nice.  You may want to mention the cb_release_type global var (I usually use -g but sometimes -O2).

Thank you.  The -g option is mentioned on the page but it is only said in text form.  Do you think I should add an image like the WX variable as well?

Edit: Saw your edit. ;)
Title: Re: Improving the Wiki
Post by: Alpha on January 03, 2016, 04:24:20 am
Hmm, one image should be fine.  Maybe it will be more visible, for people like me, with both bullet points are above the image.
Title: Re: Improving the Wiki
Post by: headkase on January 03, 2016, 04:37:46 am
Hmm, one image should be fine.  Maybe it will be more visible, for people like me, with both bullet points are above the image.

Done.  Also, the structure of the page that existed when I started improving it is still largely the same.  Credit goes to all the previous authors - I followed that outline and just improved the graphics and instructions, it was templated for me.  ;)  :)
Title: Re: Improving the Wiki
Post by: LETARTARE on January 03, 2016, 10:05:54 am
Hello,
excellent work of clarification.
Happy New Year 2016.
Best regards.
Title: Re: Improving the Wiki
Post by: headkase on January 03, 2016, 02:57:08 pm
Hello,
excellent work of clarification.
Happy New Year 2016.
Best regards.

Thanks.  Open development is about scratching an itch.  I refer to the compiling from source page often, so I had a vested interest in overhauling it.  ;)  The other two pages I've touched, how to use a nightly - lightly, and installing and configuring MinGW for Code::Blocks - heavily, are tightly coupled with the first page so those three I've done.  I've poked around in other parts of the Wiki but I won't let myself significantly modify a page unless I understand what is behind it.  So, I'm kind of searching for the next page at the moment.  :)  The Wiki is more extensive than it would seem at first glance but unfortunately there also appears to be a lot of information rot in it.  There's a lot there but it just doesn't seem to have been kept up-to-date.

A model of an excellent Wiki is the: Arch Wiki (https://wiki.archlinux.org/index.php/Main_page).  If the Code::Blocks Wiki could reach half the comprehensiveness of the Arch Wiki then it would be a true jewel to behold.  That would be more than a one-person effort however, any volunteers? ;)  Request an account! :D
Title: Re: Improving the Wiki
Post by: ollydbg on January 03, 2016, 03:07:21 pm
Hello,
excellent work of clarification.
Happy New Year 2016.
Best regards.

Thanks.  Open development is about scratching an itch.  I refer to the compiling from source page often, so I had a vested interest in overhauling it.  ;)  The other two pages I've touched, how to use a nightly - lightly, and installing and configuring MinGW for Code::Blocks - heavily, are tightly coupled with the first page so those three I've done.  I've poked around in other parts of the Wiki but I won't let myself significantly modify a page unless I understand what is behind it.  So, I'm kind of searching for the next page at the moment.  :)  The Wiki is more extensive than it would seem at first glance but unfortunately there also appears to be a lot of information rot in it.  There's a lot there but it just doesn't seem to have been kept up-to-date.

A model of an excellent Wiki is the: Arch Wiki (https://wiki.archlinux.org/index.php/Main_page).  If the Code::Blocks Wiki could reach half the comprehensiveness of the Arch Wiki then it would be a true jewel to behold.  That would be more than a one-person effort however, any volunteers? ;)  Request an account! :D
You really did a good job. I know that the document part of C::B is really old. Not only the wiki, but also the Latex style C::B manual inside the svn repo: docs (https://sourceforge.net/p/codeblocks/code/HEAD/tree/docs). For me, mostly of my time is focus on the code part of C::B.  :)

Oh, look at the page: Code::Blocks download | SourceForge.net (https://sourceforge.net/projects/codeblocks/), it has two "Code" panels, one for SVN and one for Git. Who has enabled the Git?
Title: Re: Improving the Wiki
Post by: headkase on January 03, 2016, 03:11:49 pm
You really did a good job.

Thank you.  :)  Like I said, I am going to be poking around until I find the next "right" page.

Edit: Didn't take long to find a topic that I can work with: Using Code::Blocks with a recent version of Visual Studio.  The current Wiki's reference the 2003 toolset.  I have Visual Studio 2015 Community installed so I have something concrete to test what I'm doing and then putting into the Wiki.
Title: Re: Improving the Wiki
Post by: MortenMacFly on January 03, 2016, 04:23:58 pm
Who has enabled the Git?
That was me experimenting with bridging between GIT and SVN at one host (sourceforge) but that doesn't work well... well in fact it does not work at all. I though it would be nice to have the "golden" GIT repo at SF that automatically synchronises with the SVN repo. But this use-case is not supported by SF.
Title: Re: Improving the Wiki
Post by: Quiss on January 04, 2016, 09:28:56 am
Would that need to be listed under building wxWidgets, Code::Blocks, or both?
Both wxWidgets 2.8.12, wxWidgets 3.0.2 and Codeblocks.cbp. I have not build CodeBlocks_wx30.cbp so I can't tell if it is necessary or not.
Cleaned up the optional items to use while building.  Please correct me Quiss if I did not add your option correctly to the page.

http://wiki.codeblocks.org/index.php?title=Installing_Code::Blocks_from_source_on_Windows#Build_wxWidgets_Support_Library
It is correct; just missing in wxWidgets 3.0.2 section, that's all.
Title: Re: Improving the Wiki
Post by: headkase on January 04, 2016, 10:47:16 pm
Would that need to be listed under building wxWidgets, Code::Blocks, or both?
Both wxWidgets 2.8.12, wxWidgets 3.0.2 and Codeblocks.cbp. I have not build CodeBlocks_wx30.cbp so I can't tell if it is necessary or not.
Cleaned up the optional items to use while building.  Please correct me Quiss if I did not add your option correctly to the page.

http://wiki.codeblocks.org/index.php?title=Installing_Code::Blocks_from_source_on_Windows#Build_wxWidgets_Support_Library
It is correct; just missing in wxWidgets 3.0.2 section, that's all.

Ok, done.  The option is now said in all three places.  Is there anything I should change about it or is it good?
Title: Re: Improving the Wiki
Post by: Quiss on January 05, 2016, 11:02:12 am
It is good, thanks for your effort.
Title: Re: Improving the Wiki
Post by: headkase on January 05, 2016, 11:50:07 am
It is good, thanks for your effort.

Right on, you're welcome.  :)