News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

Multi File editing

Started by tereshkosg, June 12, 2008, 07:57:54 PM

Previous topic - Next topic

Jerramy

Sorry to be a nag.  Just wondering if this is something we'll ever see, or should I stop holding my breath?

Jenna

#76
Quote from: Jerramy on January 29, 2009, 08:47:03 PM
Sorry to be a nag.  Just wondering if this is something we'll ever see, ...

Yes !

We are still testing, it's a major change, and should come with as less problems as possible.

And please don't forget, that all the devs work on C::B in there spare time, so be patient.

dmoore

Quote from: Jerramy on January 29, 2009, 08:47:03 PM
Sorry to be a nag.  Just wondering if this is something we'll ever see, or should I stop holding my breath?

just suck it up, get the source, apply the patch and run the gcc screen saver.

you can then help out by reporting issues.
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]

Jenna

Quote from: dmoore on January 29, 2009, 09:06:51 PM
Quote from: Jerramy on January 29, 2009, 08:47:03 PM
Sorry to be a nag.  Just wondering if this is something we'll ever see, or should I stop holding my breath?

just suck it up, get the source, apply the patch and run the gcc screen saver.

you can then help out by reporting issues.

If he really wants to test the new branch, it would be better to check out the test-branch, as there have been some fixes since the patch was applied:
Quotesvn co svn://svn.berlios.de/codeblocks/branches/wxfnb_to_wxaui .

But he most likely does not want to do that:
Quote from: Jerramy on December 06, 2008, 11:45:24 PM
I'm not quite brave enough to try rebuilding the IDE.

dmoore

Quote from: jens on January 29, 2009, 09:45:17 PM
But he most likely does not want to do that:
Quote from: Jerramy on December 06, 2008, 11:45:24 PM
I'm not quite brave enough to try rebuilding the IDE.

Sorry, I wasn't trying to be mean. Compiling the source isn't as scary as it sounds. We'll be happy to help if you have any issues.

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]

lexis

#80
Hi everybody

I tried to build wxfnb_to_wxaui branch from SVN. And i get 0xC0000005 (Access violation) error when attempting to start CB :-(
Now I've updated to latest 5460 revision but get the same result... Can anybody get me some advance?

upd: WinXP, WxWidgets 2.8.9 (unicode, monolithic, bla..bla), MinGW 3.4.5

dmoore

did you run the update script?
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]

MortenMacFly

Quote from: lexis on February 19, 2009, 10:41:23 PM
And i get 0xC0000005 (Access violation) error when attempting to start CB :-(
Do not install the wxaui branch above an (old) version of C::B (i.e. really remove the old C::B binaries completely).
Do a clean checkout of the branch (i.e. really remove the old SVN tree).
(as dmoore said:) Don't forget to run the update script.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]

lexis

thanks for suggestions.

Now when i've built CB successfully it seems that problem was in --disable-compat26 parameter for configure... It is not needed and causes CB access violation at start.

May be this info will be helpful for somebody else...

oBFusCATed

OK, I've decided to do some testing on the branch.

Status so far:

1. Compiled cleanly, on my gentoo amd64 unstable box (using modified ebuild found in the gentoo forum) :-P
2. Ctrl + tab doesn't wrap:
    - I have 3 opened files,  the first is active at the start.
    - hit ctrl + tab and the second is activated
    - hit ctrl + tab and the third is activated
    - hit ctrl + tab and the first should be activated, but it is not

Best regards,
Teodor

p.s. sorry if this is a know issue, I've not read the whole thread
(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!]

MortenMacFly

Quote from: oBFusCATed on May 20, 2009, 12:00:07 AM
p.s. sorry if this is a know issue, I've not read the whole thread
It is a known issue but not reported in this thread. ;-)
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]

Jenna

#86
Quote from: MortenMacFly on May 20, 2009, 08:40:07 AM
Quote from: oBFusCATed on May 20, 2009, 12:00:07 AM
p.s. sorry if this is a know issue, I've not read the whole thread
It is a known issue but not reported in this thread. ;-)

I attach a patch that can fix the problem.
It uses a class (cbAuiNotebook) derived from wxAuiNotebook, to make it possible to override the AdvanceSelection()- and partly override the OnNavigationKey()-function to be sure the new AdvanceSelection() is used.

The patch fixes the wrapping issue and makes it possible to navigate through the tabs in the order they appear (even after dragging them to another place).
If a notebokk is plit by the user navigating walks only throught the current tab-container and does no longer jump to the containers created by splitting the notebook.

The patch fixes all places where wxAuiNotebook is used.

I also committed it to the wxWidgets patch-tracker (exactly I updated an existing tickket): http://trac.wxwidgets.org/ticket/10848.

Please have a look at it.

I do not see any other possibility to fix the wrapping (not so important in my eyes) and tab-order issue.

EDIT:

If the patch is used cbauibooh.cpp and cbauibook.h have to be added to the sdk target in C::B's project-file(s) and to the appropriate Makefile.am's
updated the patch:
cbauibook.cpp and cbauibook.h are now only missing from windows cbp-file, but I found an real annoying issue: it does not work (correctly) for infopane, after tabs have been moved. I will try to find out what happens there later.

[attachment deleted by admin]