News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

The 25 May 2007 build will NOT be out.

Started by killerbot, May 25, 2007, 08:38:41 PM

Previous topic - Next topic

killerbot

Berlios publishing page doesn't seem to load

lubos


rickg22

Oh darn, just when I had uploaded my first patch in a year! :-P

dmoore

#3
anyone having troubles with find in files on the latest source on linux? (In my case ubuntu feisty) The list of hits populates, but clicking fails to open the file in question. EDIT: find in files works for project/workspace searches, but not specific directory searches.
Python plugins: [url="https://github.com/spillz/codeblocks-python"]https://github.com/spillz/codeblocks-python[/url]
Code::Blocks Daily Builds -- Ubuntu PPA: [url="https://launchpad.net/~damien-moore/+archive/codeblocks"]https://launchpad.net/~damien-moore/+archive/codeblocks[/url]

dmoore

I'll crank up the debugger to see what's going on if I can get my source to compile.
Python plugins: [url="https://github.com/spillz/codeblocks-python"]https://github.com/spillz/codeblocks-python[/url]
Code::Blocks Daily Builds -- Ubuntu PPA: [url="https://launchpad.net/~damien-moore/+archive/codeblocks"]https://launchpad.net/~damien-moore/+archive/codeblocks[/url]

dmoore

btw, someone needs to install create some smaller sized mimetype icons for the project files. in the file dialogs the full sized 48x48 icons look massive. (incidentally, why not install them to /usr/share/icons/hicolor/SIZE/mimetypes instead of /usr/share/icons/gnome/SIZE/mimetypes, so that they show up in non-gnome desktops)
Python plugins: [url="https://github.com/spillz/codeblocks-python"]https://github.com/spillz/codeblocks-python[/url]
Code::Blocks Daily Builds -- Ubuntu PPA: [url="https://launchpad.net/~damien-moore/+archive/codeblocks"]https://launchpad.net/~damien-moore/+archive/codeblocks[/url]

dmoore

ok. the bug is that the filename path on a successful search is converted to a relative path in a buggy way (line 2307-2309 of sdk/editormanager.cpp for find in files)

for example, if the filename is "/usr/lib/myapp/myfile.txt" and the search path was "/usr" (but not "/usr/") then the path is truncated to "/lib/myapp/myfile.txt" which will obviously fail.

the quick solution is just using the full path in the results. otherwise, it would be better to use the wxFileName methods to appropriately split out the relative path.
Python plugins: [url="https://github.com/spillz/codeblocks-python"]https://github.com/spillz/codeblocks-python[/url]
Code::Blocks Daily Builds -- Ubuntu PPA: [url="https://launchpad.net/~damien-moore/+archive/codeblocks"]https://launchpad.net/~damien-moore/+archive/codeblocks[/url]

dmoore

too easy: wxFileName::MakeRelativeTo
(someone should check that this also works for windows - no reason why it wouldn't unless wxFileName is buggy...)

patch here:

https://developer.berlios.de/patch/index.php?func=detailpatch&patch_id=2021&group_id=5358
Python plugins: [url="https://github.com/spillz/codeblocks-python"]https://github.com/spillz/codeblocks-python[/url]
Code::Blocks Daily Builds -- Ubuntu PPA: [url="https://launchpad.net/~damien-moore/+archive/codeblocks"]https://launchpad.net/~damien-moore/+archive/codeblocks[/url]

kurapix

Using wxWidget 2.8.4 and Code::Blocks build 3993 I've found a strange behavior :
1 - Create New Console Project
2 - Name project
3 - The project name is ok but the .cbp and the folder containing the project only has the first letter of the name given.
I don't know if it does with other Project type, I'll check.

Kurapix
Code::Blocks package building script

Biplab

@Kurapix,

I observed that bug in Linux. But in Windows I haven't seen it.
Be a part of the solution, not a part of the problem.

killerbot

did a new build on mu linux box (with wx284, thanks to the help of Daniel) :
but ending up with :
QuoteScanning for plugins in /usr/local/share/codeblocks/plugins...
ERROR: /usr/local/share/codeblocks/plugins/libwxsmithcontribitems.so: not loaded (missing symbols?)
???

kurapix

Yeah I have this error too since 21 May build with wxWidget 2.8.4, with wxWidget 2.6.3 there isn't this problem.

Kurapix
Code::Blocks package building script