Author Topic: The 07 January 2012 build (7678) is out.  (Read 104425 times)

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: The 07 January 2012 build (7678) is out.
« 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.
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 Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: The 07 January 2012 build (7678) is out.
« 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.

Offline LETARTARE

  • Lives here!
  • ****
  • Posts: 531
  • L'ami de l'homme.The friend of man.
    • LETARTARE
Re: The 07 January 2012 build (7678) is out.
« Reply #32 on: January 26, 2012, 04:46:19 pm »
and for me too (r7717)
thanks
CB-13483, plugins-sdk-2.25.0 : Collector-2.0.0, AddOnForQt-3.9.1
1-Win7 Business Pack1 64bits : wx-3.2.4, gcc-8.1.0,
2-OpenSuse::Leap-15.4-64bits : wx-3.2.4;gtk3, gcc-8.2.1,
=> !! The messages are translated by Deepl

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: The 07 January 2012 build (7678) is out.
« 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.

Offline neo1691

  • Multiple posting newcomer
  • *
  • Posts: 68
Re: The 07 January 2012 build (7678) is out.
« 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?

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: The 07 January 2012 build (7678) is out.
« 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.
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 Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: The 07 January 2012 build (7678) is out.
« 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.

Online ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 5910
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Re: The 07 January 2012 build (7678) is out.
« 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. :)
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.

Offline Agetian

  • Multiple posting newcomer
  • *
  • Posts: 16
Re: The 07 January 2012 build (7678) is out.
« 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

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: The 07 January 2012 build (7678) is out.
« 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.
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 xawari

  • Multiple posting newcomer
  • *
  • Posts: 36
  • programming, usability ctrl
    • welcome to reality
Re: The 07 January 2012 build (7678) is out.
« 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!  :'(

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...)
┌──────────────────────────────────────────────────────╖
in another thousand years we'll be machines or gods█
╘══════════════════════════════════════════════════════╝

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: The 07 January 2012 build (7678) is out.
« 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!  :'(
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).

stefanos_

  • Guest
Re: The 07 January 2012 build (7678) is out.
« 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

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: The 07 January 2012 build (7678) is out.
« 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?
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 Biplab

  • Developer
  • Lives here!
  • *****
  • Posts: 1874
    • Biplab's Blog
Re: The 07 January 2012 build (7678) is out.
« 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.
Be a part of the solution, not a part of the problem.