Author Topic: The 12.11 RC2 (23 November 2012 build 8598) is out.  (Read 277299 times)

Offline rwxdfbb

  • Single posting newcomer
  • *
  • Posts: 2
Re: The 12.11 RC2 (23 November 2012 build 8598) is out.
« Reply #45 on: November 29, 2012, 07:38:09 am »
on this version, I can see nothing when I open some exist files. ???

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: The 12.11 RC2 (23 November 2012 build 8598) is out.
« Reply #46 on: November 29, 2012, 07:44:33 am »
rwxdfbb: examples or it didn't happen!  ;D
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline huzhongshan

  • Multiple posting newcomer
  • *
  • Posts: 109
Re: The 12.11 RC2 (23 November 2012 build 8598) is out.
« Reply #47 on: November 29, 2012, 03:17:57 pm »
on this version, I can see nothing when I open some exist files. ???
I just met this. It may be caused by file encoding. I use visualstudio to open the .cpp file , it complains some encoding problem ,and convet it . Then I reopen the cbp in codeblocks , the cpp file can be openned. ( the old encode maybe gb3212 (chinese encoding))
« Last Edit: November 29, 2012, 03:20:05 pm by huzhongshan »

Offline ptolomey

  • Multiple posting newcomer
  • *
  • Posts: 12
Re: The 12.11 RC2 (23 November 2012 build 8598) is out.
« Reply #48 on: November 29, 2012, 10:23:04 pm »
The Source formatter doesn't work for me on Code::Blocks 12.11 RC2 (23 November 2012 build 8598)
I use Ubuntu 12.04, 32 bit.
What exactly does not work? Steps to reproduce? It works fine here.

Just saying that "something does not work" is not really helpful you know...

All automatic format functions are disabled.
For example, when I insert braces to define method body I get something like this:

Code
 void method()
{}

Instead what it has to be
Code
void method()
{
          
}

The problem appeared after upgrade of Code::Blocks from RC1 to RC2
« Last Edit: November 29, 2012, 10:25:04 pm by ptolomey »

Offline Alpha

  • Developer
  • Lives here!
  • *****
  • Posts: 1513
Re: The 12.11 RC2 (23 November 2012 build 8598) is out.
« Reply #49 on: November 29, 2012, 11:00:29 pm »
The problem appeared after upgrade of Code::Blocks from RC1 to RC2
The Code::Blocks repository for Ubuntu linux is ppa: https://launchpad.net/~pasgui/+archive/ppa/
I checked into this ppa, and it appears that the most recent build does not contain the SmartIndent* plugins (lost during packaging??).

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: The 12.11 RC2 (23 November 2012 build 8598) is out.
« Reply #50 on: November 30, 2012, 09:35:23 am »
The problem appeared after upgrade of Code::Blocks from RC1 to RC2
That is strange because we didn't even touch this component between these builds. Do you really mean the astyle based source formatter, or do you mean "AutoBrace" features or alike form the editor?
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

Offline carra

  • Multiple posting newcomer
  • *
  • Posts: 117
Re: The 12.11 RC2 (23 November 2012 build 8598) is out.
« Reply #51 on: November 30, 2012, 11:48:40 am »
I have found a really annoying bug! I launch C::B, open some source file (any that is long enough to need a vertical scroll bar in the editor), start writing at some point in the file... and then for each keypress that writes a character, the viewer scrolls 1 line!

In some cases it scrolls up, in others down. I can't predict in what cases it scrolls in which direction.

Can this be caused by reusing default.conf from earlier nightlies? Everything else seems to work fine...
« Last Edit: November 30, 2012, 11:50:14 am by carra »

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: The 12.11 RC2 (23 November 2012 build 8598) is out.
« Reply #52 on: November 30, 2012, 12:12:23 pm »
Can this be caused by reusing default.conf from earlier nightlies? Everything else seems to work fine...
Yes. But this can be disabled in the EditorTweaks options, just not in this specific version (its already fixed in trunk). Please disable the EditorTweaks plugin for now if it drives you nuts.
Alternatively wait for the next nightly / release or compile yourself.

BTW: This has been reported several times already, maybe you search before you post next time.
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

Offline ptolomey

  • Multiple posting newcomer
  • *
  • Posts: 12
Re: The 12.11 RC2 (23 November 2012 build 8598) is out.
« Reply #53 on: November 30, 2012, 04:48:38 pm »
Do you really mean the astyle based source formatter, or do you mean "AutoBrace" features or alike form the editor?

The AutoBrace feature was only example of what is happens. All auto formatting features are disabled in Code::Blocks RC2 from Linux Ubuntu repository: https://launchpad.net/~pasgui/+archive/ppa/

Offline squalyl

  • Multiple posting newcomer
  • *
  • Posts: 14
Re: The 12.11 RC2 (23 November 2012 build 8598) is out.
« Reply #54 on: November 30, 2012, 06:03:40 pm »
Hello all,

long time I did not get by there, and I see a release! Nice!

However:

ALL CodeBlocks nightlies up to now have had a very simple but annoying bug with SDCC, so it's time to fix that I guess.

OLD revisions of SDCC used a "rel" extension for object files, which is reflected in this compiler settings.

All recent SDCC releases have now been using "o" for object files.

Can you update that please? There's no chance that anyone will still use such an old SDCC release!

Thanks for codeblocks, it's my daily tool for 3 compilers: mingw, sdcc, and arm-none-eabi using the official arm embedded toolchain (which is not supported yet, so I just change compiler names in "GNU ARM Compiler".)

Sorry for asking this from nowhere, but I guess a RC is the proper moment to do that request ;)

Regards
« Last Edit: November 30, 2012, 06:08:44 pm by squalyl »

Offline Folco

  • Regular
  • ***
  • Posts: 343
    • Folco's blog (68k lover)
Re: The 12.11 RC2 (23 November 2012 build 8598) is out.
« Reply #55 on: November 30, 2012, 07:17:34 pm »
I compiled my own copy of C::B from SVN (after RC2 release), and I get the same wrong behaviour with the source formater.

I compile all plugin, under Linux Mint 13. I had not these troubles with RC1.

Sorry to not be more precise, I'm totally overloaded at work this week (and tomorrow too...).
Kernel Extremist - PedroM power ©

Offline scarphin

  • Lives here!
  • ****
  • Posts: 644
Re: The 12.11 RC2 (23 November 2012 build 8598) is out.
« Reply #56 on: November 30, 2012, 10:11:49 pm »
Hello all,

long time I did not get by there, and I see a release! Nice!

However:

ALL CodeBlocks nightlies up to now have had a very simple but annoying bug with SDCC, so it's time to fix that I guess.

OLD revisions of SDCC used a "rel" extension for object files, which is reflected in this compiler settings.

All recent SDCC releases have now been using "o" for object files.

Can you update that please? There's no chance that anyone will still use such an old SDCC release!

Thanks for codeblocks, it's my daily tool for 3 compilers: mingw, sdcc, and arm-none-eabi using the official arm embedded toolchain (which is not supported yet, so I just change compiler names in "GNU ARM Compiler".)

Sorry for asking this from nowhere, but I guess a RC is the proper moment to do that request ;)

Regards

You can change that by hand. Go to settings->compiler settings->choose sdcc as selected compiler->other settings tab->advanced options->others tab->object file extension->o

Offline squalyl

  • Multiple posting newcomer
  • *
  • Posts: 14
Re: The 12.11 RC2 (23 November 2012 build 8598) is out.
« Reply #57 on: November 30, 2012, 11:39:51 pm »
Hello, yes thank you, I already know that, I'm not blocked because of that, I'm a "newcomer" on the forum but I've been using codeblocks since 2008.

What I'm asking for is to make "o" the default for SDCC object files because "rel" has been totally irrelevant for months.

So instead of having to change that on each and every new codeblocks setup (I'm following the nightlies so that's more often that you think), it would be nice to integrate the fact that, yes, sdcc has indeed changed "rel" to "o" for object files a long time ago, so "rel" in this place is useless.

as a supplementary annoyance, I have to restart codeblocks to take the new setting into account, which (of course) almost always happens when I have already 10 opened files in the editor.

regards!
« Last Edit: November 30, 2012, 11:42:33 pm by squalyl »

Offline Alpha

  • Developer
  • Lives here!
  • *****
  • Posts: 1513
Re: The 12.11 RC2 (23 November 2012 build 8598) is out.
« Reply #58 on: December 01, 2012, 12:43:59 am »
What I'm asking for is to make "o" the default for SDCC object files because "rel" has been totally irrelevant for months.
Patch changing defaults in XML compiler branch:
Code
Index: src/plugins/compilergcc/resources/compilers/options_sdcc.xml
===================================================================
--- src/plugins/compilergcc/resources/compilers/options_sdcc.xml (revision 8640)
+++ src/plugins/compilergcc/resources/compilers/options_sdcc.xml (working copy)
@@ -25,7 +25,7 @@
     <Switch name="linkLibs"                value="-l"/>
     <Switch name="defines"                 value="-D"/>
     <Switch name="genericSwitch"           value="-"/>
-    <Switch name="objectExtension"         value="rel"/>
+    <Switch name="objectExtension"         value="o"/>
     <Switch name="needDependencies"        value="true"/>
     <Switch name="forceCompilerUseQuotes"  value="false"/>
     <Switch name="forceLinkerUseQuotes"    value="false"/>
... and in trunk:
Code
Index: src/plugins/compilergcc/compilerSDCC.cpp
===================================================================
--- src/plugins/compilergcc/compilerSDCC.cpp (revision 8640)
+++ src/plugins/compilergcc/compilerSDCC.cpp (working copy)
@@ -67,7 +67,7 @@
     m_Switches.linkLibs = _T("-l");
     m_Switches.defines = _T("-D");
     m_Switches.genericSwitch = _T("-");
-    m_Switches.objectExtension = _T("rel");
+    m_Switches.objectExtension = _T("o");
 
     m_Switches.needDependencies = true;
     m_Switches.forceCompilerUseQuotes = false;

Offline Alpha

  • Developer
  • Lives here!
  • *****
  • Posts: 1513
Re: The 12.11 RC2 (23 November 2012 build 8598) is out.
« Reply #59 on: December 01, 2012, 05:22:25 am »
The problem appeared after upgrade of Code::Blocks from RC1 to RC2
That is strange because we didn't even touch this component between these builds. Do you really mean the astyle based source formatter, or do you mean "AutoBrace" features or alike form the editor?
The Code::Blocks repository for Ubuntu linux is ppa: https://launchpad.net/~pasgui/+archive/ppa/
I checked into this ppa, and it appears that the most recent build does not contain the SmartIndent* plugins (lost during packaging??).
The AutoBrace feature was only example of what is happens. All auto formatting features are disabled in Code::Blocks RC2 from Linux Ubuntu repository: https://launchpad.net/~pasgui/+archive/ppa/
Has anyone yet sent a message to let pasgui know the packaging was faulty (missing the SmartIndent* plugins)?