News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

The 27 October 2014 build (10016) is out.

Started by killerbot, October 28, 2014, 01:16:20 PM

Previous topic - Next topic

killerbot

Get quick announcements through the RSS feed http://www.codeblocks.org/nightly/CodeBlock_RSS.xml

Before you use a nightly make sure you understand how it works.

A link to the unicode windows wxWidget dll for Code::Blocks : http://sourceforge.net/projects/codeblocks/files/Binaries/Nightlies/Prerequisites/wxmsw28u_gcc_cb_wx2812_gcc481-TDM.7z

For those who might need this one (when no MingW installed on your system) : the mingw10m.dll : http://sourceforge.net/projects/codeblocks/files/Binaries/Nightlies/Prerequisites/mingwm10_gcc481-TDM.7z

The 27 October 2014 build is out.
  - Windows :
   http://sourceforge.net/projects/codeblocks/files/Binaries/Nightlies/2014/CB_20141027_rev10016_win32.7z
  - Linux :
   none

Resolved Fixed:


  • CC: handle the "__declspec" qualifier when parsing the class definition, this qualifier is skipped as the same way as handling "__attribute__" qualifier.
  • improve command line handling so plugins can receive commands from the command line
  • SpellChecker-plugin: activate OnlineSpellChecking for VHDL block comments and strings and for verilog strings
  • fix an issue with the new editorpane-layout saving/restoring, where the layout was not recreated, when the default workspace was automatically opened on application startup.
  • DoxyBlocks: strip default menu keybindings that conflict core C::B shortcuts
  • better build fix for the build fix for the build fix ....; some distributions (at least debian) have backported the fix to pre wx2.9.0, the wx2.8.12 tag in wxWidgets svn-repo still uses the macro without the "WX_"-prefix
  • CC: fix a bug that CodeCompletion's setting don't get saved when C::B closed
  • pumped (wx)Scintilla to v3.5.1 (bringing support for BibTeX lexer)
  • update of astyle to v2.05
  • CC: fix handling of conditional preprocessor directives.

    Enhance IsMacroDefined() function, it can handle both "defined (xxx)" and "defined xxx" directives
  • CC: handling __declspec (xxx) in ParserThread::DoParse() function. Move handling __attribute__ keyword to the switch case statements.
  • lexer: added BibTex lexer configuration files
  • editor: Add menu commands for searching the selected text without opening the find-replace dialog


Regressions/Confirmed/Annoying/Common bugs:




Jenna

No update of Fedora or Dedbian packages possible until end of next week, sorry.

arprog

Option "Collect defines from project file" not working if project generated by cmake (13.12 - nightly)

shurick

Packages for openSUSE (binaries and sources) for 32-bit and 64-bit.
Packages for openSUSE http://codeblocks.esy.es  (binaries and sources) for 32-bit and 64-bit.

stahta01

#4
Quote from: arprog on October 28, 2014, 05:36:48 PM
Option "Collect defines from project file" not working if project generated by cmake (13.12 - nightly)

Is it a "custom makefile" project or a normal CB project?
What version of CMake?
Edit2: What compiler is the project using?

Edit: Do you have "interpret #if, #else ..." checked?

From EditorManager::CollectDefines function in editormanager.cpp;
The function appears to require then both to be checked.  

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

arprog

Quote from: stahta01 on October 28, 2014, 06:32:55 PM
Quote from: arprog on October 28, 2014, 05:36:48 PM
Option "Collect defines from project file" not working if project generated by cmake (13.12 - nightly)

Is it a "custom makefile" project or a normal CB project?
What version of CMake?
Edit2: What compiler is the project using?

Edit: Do you have "interpret #if, #else ..." checked?

From EditorManager::CollectDefines function in editormanager.cpp;
The function appears to require then both to be checked.  

Tim S.


"interpret #if, #else ..." checked
cmake 3.0.2
mingw-w64 4.9.1
cmd: cmake -G "CodeBlocks - MinGW Makefiles"
cmake generates custom makefile project

stahta01

Quote from: arprog on October 28, 2014, 10:27:39 PM
Quote from: stahta01 on October 28, 2014, 06:32:55 PM
Quote from: arprog on October 28, 2014, 05:36:48 PM
Option "Collect defines from project file" not working if project generated by cmake (13.12 - nightly)

Is it a "custom makefile" project or a normal CB project?
What version of CMake?
Edit2: What compiler is the project using?

Edit: Do you have "interpret #if, #else ..." checked?

From EditorManager::CollectDefines function in editormanager.cpp;
The function appears to require then both to be checked.  

Tim S.


"interpret #if, #else ..." checked
cmake 3.0.2
mingw-w64 4.9.1
cmd: cmake -G "CodeBlocks - MinGW Makefiles"
cmake generates custom makefile project

FYI: Code::Blocks does NOT look into the makefile when a custom makefile is used; it only looks at the setting in the cbp file.
But, if you disable the "custom makefile" for a short time and add the defines to the correct target/project level.
Change it back to "custom makefile"; then change the project target to be built; it will grey in/out the blocks based on the defines in the CB Project. Note: It really ignores those defines in most other uses of building the project.

Tested using wxThings created project from wxCode.
cmake 3.0.2 Used the GUI tool.

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

arprog


stahta01

Quote from: arprog on October 29, 2014, 03:00:23 PM
In generated cbp, defines present...

Start a new thread for your problem; and post a link to your cbp file.

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

arprog

I found!
By default selected virtual target "all", if i select my subproject works fine.

oBFusCATed

@ollydbg:
I've tried to upgrade to 10016, but there was a massive problem with code completion - it ran until it depleted all my memory (12g+4g swap)...
I've no time to debug why it breaks such badly, but reverting to 9990 fixed the problem... at least it didn't repeat the whole day.

Centos 6 64bit...
(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!]

ollydbg

But I cant reproduce, I will check all the changed code.
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

oBFusCATed

Of course you won't be able to reproduce it, you need the special pattern of code that breaks it...
I don't know what breaks it and I doubt I have the time to find it.
(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!]

ollydbg

#13
I have a question that I want to install C::B to a Linux(ubuntu10.04 in virtualbox), I just follow the instruction here:
http://apt.jenslody.de/
As jens suggest ubuntu user should try pasgui's ppa. I have correctly configure the apt, like:Read about installing

sudo add-apt-repository ppa:pasgui/ppa

and Then

sudo apt-get update

From Ubuntu10.04's synaptic package manager, I still see the old C::B 8.02 supply from the official ubuntu, but the nightly build version of pasgui does not shown up.

Any idea how to fix this issue? What is the minimal system requirement of pasgui's nightly build binaries? Thanks.

BTW: I have also try jens' repo before, but it has the same issue: I still don't see any nightly build version of C::B show in the synaptic package manager.
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

scarphin

Do you see the nightly version with the search command or the like?
apt-cache search codeblocks