Code::Blocks
October 25, 2014, 08:59:40 am *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: When registered with our forums, feel free to send a "here I am" post in http://forums.codeblocks.org/index.php/topic,14168.0.html to differ human beings from SPAM bots.
 
   Home   Help Search Login Register  :: WebsiteWiki  
Pages: 1 2 [3] 4 5 6   Go Down
  Send this topic  |  Print  
Author Topic: The 07 January 2012 build (7678) is out.  (Read 37569 times)
MortenMacFly
Administrator
Lives here!
*****
Offline Offline

Posts: 8677



« Reply #30 on: January 26, 2012, 04:34:59 pm »

and on my pc too ...(r7715)
Right, I checked again and (apologies) I had it modified in my version, already addressing this behaviour. I've committed my changes now to SVN, try again with r7717. I was under the impression, Jens' commit addressed this issue, too.
Logged

Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: http://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: http://wiki.codeblocks.org/index.php?title=FAQ
jens
Administrator
Lives here!
*****
Offline Offline

Posts: 6631



WWW
« Reply #31 on: January 26, 2012, 04:39:05 pm »

Just finished compiling the latest revision (7715)
Are you sure this revision:
http://svn.berlios.de/wsvn/codeblocks/?op=revision&rev=7655&peg=7715
...is incorporated? Because this is the actual fix. It works on windows. Maybe this is a platform related issue?
It works here on linux without problems.
Logged

Regards

Jens  Debian - nightlies (and release) : http://apt.jenslody.de/ Fedora [18 - 20]- and CentOS/RedHat [5, 6 & 7] - nightlies : http://rpm.jenslody.de/
LETARTARE
Almost regular
**
Offline Offline

Posts: 223


L'ami de l'homme.The friend of man.


« Reply #32 on: January 26, 2012, 04:46:19 pm »

and for me too (r7717)
thanks
Logged

Vista Business Pack 2,   Mingw32 with TDM-GCC 4.5.2 Series and TDM-GCC 4.7.1
C::B 13.12 release (wxWidgets unicode 2.8.12) and wxTranslatepluginForCB
=> The messages are translated by GOOGLE !! <=
jens
Administrator
Lives here!
*****
Offline Offline

Posts: 6631



WWW
« Reply #33 on: January 26, 2012, 05:27:03 pm »

and on my pc too ...(r7715)
Right, I checked again and (apologies) I had it modified in my version, already addressing this behaviour. I've committed my changes now to SVN, try again with r7717. I was under the impression, Jens' commit addressed this issue, too.

Our posts crossed.
As I wrote it has worked here on debian with the old code (without commit 7717), opening files with and stepping through the tree with the arrow-keys (up, down, left and right)
I compile the newest trunk and test whether it's still working.
Logged

Regards

Jens  Debian - nightlies (and release) : http://apt.jenslody.de/ Fedora [18 - 20]- and CentOS/RedHat [5, 6 & 7] - nightlies : http://rpm.jenslody.de/
neo1691
Advanced newcomer
*
Offline Offline

Posts: 68


« Reply #34 on: January 26, 2012, 05:31:16 pm »

Any updates on my problems with the code completion problem?
i posted it a few days before?
Logged
MortenMacFly
Administrator
Lives here!
*****
Offline Offline

Posts: 8677



« Reply #35 on: January 26, 2012, 08:18:21 pm »

I compile the newest trunk and test whether it's still working.
That would be wise, because after committing I realised why I didn't do it before: Because of the untested WXGTK part. Feel free to remove that if needed, the Windows part should be correct. I am working with this very long now. Keep in mind it's really not related to your commit, because it emulates an "item activated" event on ENTER. It may be (however), that in wx2.9.x this is supported natively.
Logged

Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: http://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: http://wiki.codeblocks.org/index.php?title=FAQ
jens
Administrator
Lives here!
*****
Offline Offline

Posts: 6631



WWW
« Reply #36 on: January 26, 2012, 08:27:49 pm »

I compile the newest trunk and test whether it's still working.
That would be wise, because after committing I realised why I didn't do it before: Because of the untested WXGTK part. Feel free to remove that if needed, the Windows part should be correct. I am working with this very long now. Keep in mind it's really not related to your commit, because it emulates an "item activated" event on ENTER. It may be (however), that in wx2.9.x this is supported natively.
It still works, and a quick check don't show any differences.
Logged

Regards

Jens  Debian - nightlies (and release) : http://apt.jenslody.de/ Fedora [18 - 20]- and CentOS/RedHat [5, 6 & 7] - nightlies : http://rpm.jenslody.de/
ollydbg
Developer
Lives here!
*****
Offline Offline

Posts: 4133


Interests on OpenCV and Robotics


WWW
« Reply #37 on: January 27, 2012, 06:58:59 am »

I am having problems with Code Completion.

Sometimes it shows the code, sometimes it does not.
For eg, if i include a header file it will show all the structures when i type them, then suddenly it will stop working!!

It also happens many time when i switch to default perspective!

We need code snippets and exact steps to produce such bugs (Also OS? Compiler? CB version? ...... Please ask a Good Question). Otherwise, I can do nothing. Smiley
Logged

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.
Agetian
Advanced newcomer
*
Offline Offline

Posts: 16


« Reply #38 on: January 27, 2012, 08:53:51 am »

I also have problems with code completion on MS Windows Vista 32-bit, using Mingw GCC 4.6.1 (tdm-gcc) with the 7th January 2012 C::B SVN nightly (from this thread), under various circumstances - mostly either with custom GCC features or with complex C++ template classes. Here's one test case (with custom GCC extensions) in which it won't work:

Code:
typedef struct __attribute__((packed)) _PSTRUCT
{
    char a;
    char b;
    int c;
    char d;
} PSTRUCT;

int main()
{
    PSTRUCT p;
    p.

After typing the last dot after p, code completion box should open up, but it doesn't.
It looks like this particular case is a problem with parsing the GCC __attribute__ tag. Excluding it from the typedef makes the code completion work.

I also had an issue with code completion not popping up for certain complex (I think template-based) class declarations in C++, but sadly I can't reproduce them at the moment, I'll post a test case if and when I'm able to reproduce it again, it happened only once to me and I didn't bother too much cause I considered it to be minor enough.

- Agetian
Logged
MortenMacFly
Administrator
Lives here!
*****
Offline Offline

Posts: 8677



« Reply #39 on: January 27, 2012, 11:41:58 am »

Here's one test case (with custom GCC extensions) in which it won't work:
Code:
typedef struct __attribute__((packed)) _PSTRUCT
Should be fixed in SVN head. Thanks for providing a test case.
Logged

Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: http://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: http://wiki.codeblocks.org/index.php?title=FAQ
xawari
Advanced newcomer
*
Offline Offline

Posts: 31


programming, usability ctrl


WWW
« Reply #40 on: January 27, 2012, 03:14:16 pm »

I hate to say it, but...
I pressed ENTER in file browser tree on a file, "How do we open" dialog appeared, I've chosen "open inside cb editor" and... nothing happens. Moreover, pressing ENTER stops working at this moment. Forever. Double-clicking works.

Plus I have to favours to ask...
1. the "current file close" button at the top-right corner like in normal MDI apps - PELASE! :_( I'm so tired that I can't aim at those tiny tabs every time!  Cry

2. Is it possible to make the entire output window (the bottom panel) hide when ESC key is pressed in the editor (when no text is selected, no completion or other stuff is active)? (F2 is okay, but still...)
Logged

┌──────────────────────────────────────────────────────╖
in another thousand years we'll be machines or gods█
╘══════════════════════════════════════════════════════╝
jens
Administrator
Lives here!
*****
Offline Offline

Posts: 6631



WWW
« Reply #41 on: January 27, 2012, 03:52:15 pm »

I hate to say it, but...
I pressed ENTER in file browser tree on a file, "How do we open" dialog appeared, I've chosen "open inside cb editor" and... nothing happens. Moreover, pressing ENTER stops working at this moment. Forever. Double-clicking works.

Which version of C::B (this nightly ?), which OS ?
Works fine here on linux.

Plus I have to favours to ask...
1. the "current file close" button at the top-right corner like in normal MDI apps - PELASE! :_( I'm so tired that I can't aim at those tiny tabs every time!  Cry
What do you want to say ?

2. Is it possible to make the entire output window (the bottom panel) hide when ESC key is pressed in the editor (when no text is selected, no completion or other stuff is active)? (F2 is okay, but still...)

Does not make sense for me and I think this usage of the ESC key would not be obvious to anyone (except you).
Logged

Regards

Jens  Debian - nightlies (and release) : http://apt.jenslody.de/ Fedora [18 - 20]- and CentOS/RedHat [5, 6 & 7] - nightlies : http://rpm.jenslody.de/
stefanos_
Guest
« Reply #42 on: January 27, 2012, 05:25:50 pm »

Cannot compile the latest svn (7725) under GNU / Linux Debian wheezy.

Code:
In file included from parser/cclogger.cpp:10:0:
parser/cclogger.h:68:23: error: 'auto_ptr' is not a template
parser/cclogger.h:68:23: error: 'auto_ptr' in namespace 'std' does not name a type
parser/cclogger.h:68:5: error: friend declaration does not name a class or function
parser/cclogger.h:69:12: error: 'auto_ptr' in namespace 'std' does not name a type
parser/cclogger.h: In static member function 'static CCLogger* CCLogger::Get()':
parser/cclogger.h:29:14: error: 's_Inst' was not declared in this scope
parser/cclogger.h:31:16: error: 's_Inst' was not declared in this scope
parser/cclogger.cpp: At global scope:
parser/cclogger.cpp:12:1: error: 'auto_ptr' in namespace 'std' does not name a type
make[4]: *** [cclogger.lo] Error 1
make[4]: Leaving directory `/home/stefanos/svn_code/CodeBlocks/src/plugins/codecompletion'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/stefanos/svn_code/CodeBlocks/src/plugins/codecompletion'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/stefanos/svn_code/CodeBlocks/src/plugins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/stefanos/svn_code/CodeBlocks/src'
make: *** [all-recursive] Error 1

Can someone please fix this issue and let me know so I can compile it?

Cheers
Logged
MortenMacFly
Administrator
Lives here!
*****
Offline Offline

Posts: 8677



« Reply #43 on: January 27, 2012, 05:38:21 pm »

Code:
In file included from parser/cclogger.cpp:10:0:
parser/cclogger.h:68:23: error: 'auto_ptr' is not a template
Can someone please fix this issue and let me know so I can compile it?
Can you tell me what happens if you put the following line:
#include <memory> // auto_ptr
...in between:
#include <wx/string.h>
...and:
#include <prep.h> // nullptr
in cclogger.h?
Logged

Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: http://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: http://wiki.codeblocks.org/index.php?title=FAQ
Biplab
Developer
Lives here!
*****
Offline Offline

Posts: 1853


WWW
« Reply #44 on: January 27, 2012, 05:45:54 pm »

Code:
In file included from parser/cclogger.cpp:10:0:
parser/cclogger.h:68:23: error: 'auto_ptr' is not a template
Can someone please fix this issue and let me know so I can compile it?
Can you tell me what happens if you put the following line:
#include <memory> // auto_ptr
...in between:
#include <wx/string.h>
...and:
#include <prep.h> // nullptr
in cclogger.h?

Hi Morten,

I have already committed a fix for this in rev 7727. Just noticed it during compilation and immediately I committed that fix.
Logged

Be a part of the solution, not a part of the problem.
Pages: 1 2 [3] 4 5 6   Go Up
  Send this topic  |  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.20 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!