Author Topic: SVN 1642  (Read 30966 times)

Offline Ceniza

  • Developer
  • Lives here!
  • *****
  • Posts: 1441
    • CenizaSOFT
SVN 1642
« on: January 02, 2006, 06:45:34 am »
Well, I just tried compiling that one, which already includes wxAUI and UNICODE by default, and got a serious problem.

With the default plugins it shows a message box with title "E", message "A" and the error icon.

If I remove all the plugins and try again, Code::Blocks starts, shows part of it and then crashes. Since I disable -g I don't have a useful report.

Now I'm compiling it in ANSI mode and... it works!

The toolbar in 32x32 looks awful though. It looked better when I tried the wxAUI branch a few days ago. It's like the icons are taking even more space now. A few icons are lost too.

Offline 280Z28

  • Regular
  • ***
  • Posts: 397
  • *insert unicode here*
Re: SVN 1642
« Reply #1 on: January 02, 2006, 07:09:18 am »
Have you tried a rebuild all?

I haven't had any such problems with the Unicode build. I'm using the CodeBlocks-NewBuild.cbp project file with no modifications at all.
78 280Z, "a few bolt-ons" - 12.71@109.04
99 Trans Am, "Daily Driver" - 525rwhp/475rwtq
 Check out The Sam Zone :cool:

Offline Ceniza

  • Developer
  • Lives here!
  • *****
  • Posts: 1441
    • CenizaSOFT
Re: SVN 1642
« Reply #2 on: January 02, 2006, 07:25:20 am »
I always do "rebuild all", so the problem must be somewhere else.

Offline 280Z28

  • Regular
  • ***
  • Posts: 397
  • *insert unicode here*
Re: SVN 1642
« Reply #3 on: January 02, 2006, 07:26:53 am »
can you build with -g ?
78 280Z, "a few bolt-ons" - 12.71@109.04
99 Trans Am, "Daily Driver" - 525rwhp/475rwtq
 Check out The Sam Zone :cool:

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4315
    • Code::Blocks IDE
Re: SVN 1642
« Reply #4 on: January 02, 2006, 09:35:00 am »
@Ceniza: have you run update.bat? You should do it every time resources change (*.xrc), as in this case.
Be patient!
This bug will be fixed soon...

Offline Ceniza

  • Developer
  • Lives here!
  • *****
  • Posts: 1441
    • CenizaSOFT
Re: SVN 1642
« Reply #5 on: January 02, 2006, 09:36:12 am »
I just checked out version 1642 again (instead of update), compiled it with default settings and it's starting now.

The toolbar problem is still there though.

[edit]
This is what I mean.
[/edit]

[attachment deleted by admin]
« Last Edit: January 02, 2006, 09:43:33 am by Ceniza »

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4315
    • Code::Blocks IDE
Re: SVN 1642
« Reply #6 on: January 02, 2006, 09:52:20 am »
Yes, you have to be a little patient. I will fix these toolbars.
Be patient!
This bug will be fixed soon...

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5529
Re: SVN 1642
« Reply #7 on: January 02, 2006, 10:48:05 am »
Other thing I noticed on the toolbars.
The first time I started CB, build and debug toolbar were below the other toolbars.
I dragged them to the right of the other toolbars (so eveything on one line), but CB does not remember it, it seems, since at next startup of Cb they were again at their original position.

Lieven

takeshimiya

  • Guest
Re: SVN 1642
« Reply #8 on: January 02, 2006, 10:51:16 am »
The first time I started CB, build and debug toolbar were below the other toolbars.
Happens here.

I dragged them to the right of the other toolbars (so eveything on one line), but CB does not remember it, it seems, since at next startup of Cb they were again at their original position.
Doesn't happen here.

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4315
    • Code::Blocks IDE
Re: SVN 1642
« Reply #9 on: January 02, 2006, 11:22:59 am »
Other thing I noticed on the toolbars.
The first time I started CB, build and debug toolbar were below the other toolbars.

This is done on purpose.

I dragged them to the right of the other toolbars (so eveything on one line), but CB does not remember it, it seems, since at next startup of Cb they were again at their original position.

Because C::B now supports different layouts which you can save and switch among, it no longer auto-saves your layout on exit. You must explicitely save it with "View->Layouts->Save current". If you use the name of an existing layout, it is updated (that's why it proposes the last used layout).
It also remembers which layout was last used and it activates it on startup.
Be patient!
This bug will be fixed soon...

takeshimiya

  • Guest
Re: SVN 1642
« Reply #10 on: January 02, 2006, 11:31:41 am »
Mm, what about adding again auto-saving along with a "Last auto-saved layout"?

Then you'll have @the menu Layouts:
Default
Last auto-saved
User-layout#1
User-layout#2
---
Save layout


Another important thing is that Default, Last auto-saved, ... will be in an option-menu (a checkmark indicates the current being used).

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4315
    • Code::Blocks IDE
Re: SVN 1642
« Reply #11 on: January 02, 2006, 11:51:54 am »
Toolbars are fixed in r1644. You may need to delete the existing layouts from your conf to fix this (yes, I know I plan to add this functionality).
Be patient!
This bug will be fixed soon...

takeshimiya

  • Guest
Re: SVN 1642
« Reply #12 on: January 02, 2006, 12:39:14 pm »
Toolbars are fixed in r1644.

16x16 toolbars fixed. :D
32x32 still screwed up. :(

[attachment deleted by admin]

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5529
Re: SVN 1642
« Reply #13 on: January 02, 2006, 12:42:55 pm »
Toolbars are fixed in r1644. You may need to delete the existing layouts from your conf to fix this (yes, I know I plan to add this functionality).
Which parts are that ? <LAYOUT> crc ..  ? or others ??

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4315
    • Code::Blocks IDE
Re: SVN 1642
« Reply #14 on: January 02, 2006, 12:50:18 pm »
32x32 still screwed up. :(

No, they are not. Did you delete your existing layouts?

Which parts are that ? <LAYOUT> crc ..  ? or others ??
<LAYOUT> is obsolete now (used by wxDockit). Feel free to delete it.
The views are saved as <view1>, <view2>, etc (in the same spot as <LAYOUT>).
Be patient!
This bug will be fixed soon...

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4315
    • Code::Blocks IDE
Re: SVN 1642
« Reply #15 on: January 02, 2006, 12:53:03 pm »
32x32 still screwed up. :(

No, they are not. Did you delete your existing layouts?

Wait. I know what happens. The toolbar size has been saved as 16x16 when you first run it. Then you changed the size, restarted and bam! Broken. If you delete the layout views again it will be ok.
I will have to find a fix for this...
Be patient!
This bug will be fixed soon...

takeshimiya

  • Guest
Re: SVN 1642
« Reply #16 on: January 02, 2006, 01:03:19 pm »
No, they are not. Did you delete your existing layouts?
Yes. :)

Wait. I know what happens. The toolbar size has been saved as 16x16 when you first run it. Then you changed the size, restarted and bam! Broken. If you delete the layout views again it will be ok.
Exactly what happened.

I will have to find a fix for this...
:)

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5529
Re: SVN 1642
« Reply #17 on: January 02, 2006, 03:08:24 pm »
just below toolbars you can see the stuff from another window that recently was on top of CB.
In the attached screenshot, you can see some black with some white spots in it. That's the remainder from my console where I ran update.bat.

Lieven

[attachment deleted by admin]

Offline 280Z28

  • Regular
  • ***
  • Posts: 397
  • *insert unicode here*
Re: SVN 1642
« Reply #18 on: January 02, 2006, 03:24:53 pm »
Weird, mine (also 1644) looks exactly like you'd expect it to. You did a rebuild right?
78 280Z, "a few bolt-ons" - 12.71@109.04
99 Trans Am, "Daily Driver" - 525rwhp/475rwtq
 Check out The Sam Zone :cool:

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5529
Re: SVN 1642
« Reply #19 on: January 02, 2006, 03:28:30 pm »
yes,
I did (already 8 times today ;-) ) , cleanup conf also

Offline 280Z28

  • Regular
  • ***
  • Posts: 397
  • *insert unicode here*
Re: SVN 1642
« Reply #20 on: January 02, 2006, 03:31:46 pm »
Try using the TortoiseSVN Check for Modifications feature to see if you have some changes in src/main.cpp that are conflicting with the changes that were made in rev1644 to fix the problem?

I'm really just tossing ideas out here since I'm not seeing the problem on my end. :)
78 280Z, "a few bolt-ons" - 12.71@109.04
99 Trans Am, "Daily Driver" - 525rwhp/475rwtq
 Check out The Sam Zone :cool:

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5529
Re: SVN 1642
« Reply #21 on: January 02, 2006, 03:35:08 pm »
nope

Offline 280Z28

  • Regular
  • ***
  • Posts: 397
  • *insert unicode here*
Re: SVN 1642
« Reply #22 on: January 02, 2006, 03:36:59 pm »
I'm using the unicode build, are you?

Have you tried deleting default.conf? I don't think that would make a difference but maybe worth a shot? Any changes to the xrc files or to manager.cpp/h?
78 280Z, "a few bolt-ons" - 12.71@109.04
99 Trans Am, "Daily Driver" - 525rwhp/475rwtq
 Check out The Sam Zone :cool:

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5529
Re: SVN 1642
« Reply #23 on: January 02, 2006, 03:40:56 pm »
did not delete default.conf, but the views stuff in it was deleted, will try that once more,
unicde it is, ansi is bye bye

Offline tiwag

  • Developer
  • Lives here!
  • *****
  • Posts: 1196
  • sailing away ...
    • tiwag.cb
Re: SVN 1642
« Reply #24 on: January 02, 2006, 03:51:22 pm »
just below toolbars you can see the stuff from another window that recently was ...
have the same issue here with my windoze build

Offline Ceniza

  • Developer
  • Lives here!
  • *****
  • Posts: 1441
    • CenizaSOFT
Re: SVN 1642
« Reply #25 on: January 02, 2006, 07:29:10 pm »
Just build 1648, deleted <layout>, ran Code::Blocks, and it looks lovely :)

Thanks master mandrav.

Offline Pecan

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 2877
Re: SVN 1642
« Reply #26 on: January 02, 2006, 08:36:06 pm »
@killerbot

Lieven,

How did you get your message tabs to dock at the bottom of
the message window??

thanks
pecan

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4315
    • Code::Blocks IDE
Re: SVN 1642
« Reply #27 on: January 02, 2006, 08:38:39 pm »
@killerbot

Lieven,

How did you get your message tabs to dock at the bottom of
the message window??

thanks
pecan


They appear at the bottom in non-XP systems (i.e. without visual themes)...
Be patient!
This bug will be fixed soon...

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5529
Re: SVN 1642
« Reply #28 on: January 02, 2006, 08:43:49 pm »
they hve always been there (I think), see Yiannis his explanation.

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5529
Re: SVN 1642
« Reply #29 on: January 02, 2006, 08:48:05 pm »
other qustion : rev 1648, and now I am ar rev 1650 but i don't see any files changes in my svn window ?
Am I going blind ?

Offline Ceniza

  • Developer
  • Lives here!
  • *****
  • Posts: 1441
    • CenizaSOFT
Re: SVN 1642
« Reply #30 on: January 02, 2006, 08:52:28 pm »
1649 and 1650 just added Nightly builds to the web site :)

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5529
Re: SVN 1642
« Reply #31 on: January 02, 2006, 08:59:25 pm »
LOL

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4315
    • Code::Blocks IDE
Re: SVN 1642
« Reply #32 on: January 02, 2006, 09:10:39 pm »
other qustion : rev 1648, and now I am ar rev 1650 but i don't see any files changes in my svn window ?
Am I going blind ?

No, changes are in the website's code ;) (yes, it's under svn too)
Be patient!
This bug will be fixed soon...

Offline Pecan

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 2877
Re: SVN 1642
« Reply #33 on: January 02, 2006, 09:22:10 pm »

How did you get your message tabs to dock at the bottom of
the message window??

They appear at the bottom in non-XP systems (i.e. without visual themes)...

I turned off manage plugins->WindowsXPlookNFeel
then deleted default.conf
but I guess that's not enough.
What else do I do to get the tabs at the bottom of the
message window?

thanks
pecan

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5529
Re: SVN 1642
« Reply #34 on: January 02, 2006, 09:24:23 pm »
In my linux, they are also at the bottom.
How do they look like on your system (screenshot) ?

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4315
    • Code::Blocks IDE
Re: SVN 1642
« Reply #35 on: January 02, 2006, 09:25:53 pm »
I turned off manage plugins->WindowsXPlookNFeel
then deleted default.conf
but I guess that's not enough.
What else do I do to get the tabs at the bottom of the
message window?

Lol :D

That's not what I meant, sorry :D
If you 're on WinXP and have visual styles on (it's the default), your tabs will always be on top.
If you want to disable the visual styles, right-click your desktop, select Properties and in Themes select "Windows Classic".
Be patient!
This bug will be fixed soon...

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5529
Re: SVN 1642
« Reply #36 on: January 02, 2006, 09:33:04 pm »
I already had an idea, it has something to do with that.

Yes, that's true : I uwe windows classic, don't like the awfull colors of XP, not even ,entioning that ugly background.

And if I am not mistaken, less cpu needed in windows classic look (oh, don't forgt the classic menu ;-)  )

Offline Ceniza

  • Developer
  • Lives here!
  • *****
  • Posts: 1441
    • CenizaSOFT
Re: SVN 1642
« Reply #37 on: January 02, 2006, 09:38:12 pm »
Hmmm, if we're going to move to wxFlatNotebook, tabs would always be at top. If tabs at bottom is implemented we could then make it user set-able :)

Offline Pecan

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 2877
Re: SVN 1642
« Reply #38 on: January 02, 2006, 10:20:26 pm »
I turned off manage plugins->WindowsXPlookNFeel
then deleted default.conf
but I guess that's not enough.
What else do I do to get the tabs at the bottom of the
message window?

Lol :D

That's not what I meant, sorry :D
If you 're on WinXP and have visual styles on (it's the default), your tabs will always be on top.
If you want to disable the visual styles, right-click your desktop, select Properties and in Themes select "Windows Classic".

Yuk!! That was NOT pretty. Reminds me of Windows 2 that
came on 15 5.25 inch floppies.

guess I'll live with top tabs.

thanks
pecan

grv575

  • Guest
Re: SVN 1642
« Reply #39 on: January 02, 2006, 10:37:33 pm »
Other thing I noticed on the toolbars.
The first time I started CB, build and debug toolbar were below the other toolbars.

This is done on purpose.

I dragged them to the right of the other toolbars (so eveything on one line), but CB does not remember it, it seems, since at next startup of Cb they were again at their original position.

Because C::B now supports different layouts which you can save and switch among, it no longer auto-saves your layout on exit. You must explicitely save it with "View->Layouts->Save current". If you use the name of an existing layout, it is updated (that's why it proposes the last used layout).
It also remembers which layout was last used and it activates it on startup.

Could this be added to the tip of the day or somewhere visible?  I just filed a bug report for this... couldn't figure this out until I saw this post.

Offline yop

  • Regular
  • ***
  • Posts: 387
Re: SVN 1642
« Reply #40 on: January 07, 2006, 09:43:32 am »
I can also confirm that the toolbar border does not update properly (see killerbot's remark):
Version 1.0 revision 1665 (gcc 3.4.2 Windows/unicode, build: Jan 6 2006 22:30:17) - mingw-gcc 3.4.2
Yiannis suggested that:
This is caused by some incompatibilities in the layout saved in the configuration file.
Try playing with the layout options in "View->Layouts", i.e. create a new layout, switch to it then delete the original with the problem.
I'll try this when I return from work and let you know

...and a few hours later: I just saved the default layout and OK  :D
« Last Edit: January 07, 2006, 08:52:17 pm by yop »
Life would be so much easier if we could just look at the source code.