User forums > Nightly builds

The 11 July 2007 build (4261) is out.

<< < (5/8) > >>

dje:
It seems nice  :D

Why don't you create a new post, it is not related to this build is it ?

Dje

foomaster:

--- Quote from: killerbot on July 11, 2007, 08:38:55 pm ---Resolved Fixed:


* Backticked expressions in build options are now parsed for compiler/linker search dirs. Code-completion benefits greatly from this (locating files to parse, opening #include files, etc)
--- End quote ---

Does this mean that now CB CC's search depth will be improved? Because (as far as I've noticed), it's equal to 1. That is, only the first #include-d file is parsed, if the #include-d file has #include statements, they are ignored.

mandrav:

--- Quote from: foomaster on July 12, 2007, 03:11:49 pm ---
--- Quote from: killerbot on July 11, 2007, 08:38:55 pm ---Resolved Fixed:


* Backticked expressions in build options are now parsed for compiler/linker search dirs. Code-completion benefits greatly from this (locating files to parse, opening #include files, etc)
--- End quote ---

Does this mean that now CB CC's search depth will be improved? Because (as far as I've noticed), it's equal to 1. That is, only the first #include-d file is parsed, if the #include-d file has #include statements, they are ignored.

--- End quote ---

You are wrong. No files are ignored. C::B recursively parses files.

BUT

in order to do this it must be able to locate them first :). So, this improvement will help C::B locate all files it couldn't locate until now.

PDEE:
I got a crash report, it says i should report it. I was going to post it here but it says i can't because the maximum length of 20000 characters is exceeded. So where shall i put it?

Build july 11 2007, wx2.8.4 ( linux unicode ) - Ubuntu feisty 64

cstudent:

--- Quote from: kurapix on July 12, 2007, 02:26:49 pm ---I don't know if there is a build package script for Ubuntu but I'm currently working on a script that fetch the sources from SVN then make a .deb package (haha laziness to type in console the same commands everytime).

Version 0.1 :
- Update C::B souces (so you have already checkout)
- Put the correct revision number
- Build package

--- Code: ---#    Code::Blocks Build deb script from SVN
#                Version 0.1b

################################################################################
#                                                                              #
#    Copyright (C) 2007  Kurapix                                               #
#                                                                              #
#    This program is free software: you can redistribute it and/or modify      #
#    it under the terms of the GNU General Public License as published by      #
#    the Free Software Foundation, either version 3 of the License, or         #
#    (at your option) any later version.                                       #
#                                                                              #
#    This program is distributed in the hope that it will be useful,           #
#    but WITHOUT ANY WARRANTY; without even the implied warranty of            #
#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the             #
#    GNU General Public License for more details.                              #
#                                                                              #
#    You should have received a copy of the GNU General Public License         #
#    along with this program.  If not, see <http://www.gnu.org/licenses/>.     #
#                                                                              #
################################################################################

# Go to $CB_SOURCES_PATH (which should be Code::Blocks sources directory)
cd ~/Programmes/Sources/CB/trunk

# Remove files without revision number quietly
sudo svn-clean --quiet

# Update the Code:Blocks sources from SVN
svn update
# Store revision number in variable
CB_SVN_REV=`svn --xml info | tr -d '\r\n' | sed -e 's:.*<commit.*revision="\([0-9]*\)".*<\/commit>.*:\1:'`

# Change the revision number in the changelog to the latest updated revision
sed -i "1 s:1.0svn[-rev]*[0-9]*:1.0svn-rev$CB_SVN_REV:" debian/changelog

# Launch bootstrap
./bootstrap

# Build package
debuild -us -uc

--- End code ---
For now it is a very simple script, I'm currently working on it to add some more functinnalities (like "Choose to update to the latest revision or another revision" or "doesn't build if version to compile has already been built" for example).
I'm new to scripting but my learning and the script is going pretty well I think ;) so I might be able to do a new release in July or August.

By the way, toufou and san and the others, using the script I've done you can have the right revision number ;) .

What do you think of this script thing?

Thank you

Kurapix

--- End quote ---


I tried out a script when I first started building the .debs for Codeblocks. It worked OK until one time when I had connection troubles with Berlios. I found that it is more reliable to manually go through each step. I try my best to make sure that what I upload is as reliable and safe for the end user as I can make it.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version