Author Topic: The 28 March 2009 build (5489) is out.  (Read 67619 times)

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: The 28 March 2009 build (5489) is out.
« Reply #15 on: March 30, 2009, 07:19:56 pm »
I'm running Windows XP. As I said before, I don't know which file under which circumstances caused the crash. There were two crashes within two hours, one after I closed a single file (no I don't know which on of a dozen, damn :( ) and one after closing the whole project. Perhaps I can tell you more after the next crash  :|

There might be (it's not sure) a crashlog in the directory, where C::B's executable is.

If I remember right, it's called "codeblocks.rpt" on windows (not 100% sure about the name) and its timestamp should be the time of the last crash.

If it's not too big, you can attach it to a post, if it's too big, yu can send it to me via mail (my nickname at codeblocks dot org).

"my nickname" is not meant literally, of course.

Offline Outis

  • Multiple posting newcomer
  • *
  • Posts: 26
Re: The 28 March 2009 build (5489) is out.
« Reply #16 on: March 30, 2009, 07:35:39 pm »
The file exists, but the timestamp is NOT the time of the last crash. (Not the change of my last post)

Offline Loaden

  • Lives here!
  • ****
  • Posts: 1014

Offline geiermeier

  • Multiple posting newcomer
  • *
  • Posts: 19
Re: The 28 March 2009 build (5489) is out.
« Reply #18 on: April 01, 2009, 02:18:21 pm »
When loading files with very long lines, the horizontal scroll bar doesn't reflect the true length of the line(s). Using the scroll bar, one can only scroll for, say some hundred columns. But then it is possible to go further to the right with the cursor keys or [END]. When doing so, the scroll bar adjusts it self to the reached length.

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 5910
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Re: The 28 March 2009 build (5489) is out.
« Reply #19 on: April 01, 2009, 02:59:11 pm »
When loading files with very long lines, the horizontal scroll bar doesn't reflect the true length of the line(s). Using the scroll bar, one can only scroll for, say some hundred columns. But then it is possible to go further to the right with the cursor keys or [END]. When doing so, the scroll bar adjusts it self to the reached length.
How many lines in your source code? very long lines? Could you add this file as an attachment for testing?
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.

vchavezp

  • Guest
Re: The 28 March 2009 build (5489) is out.
« Reply #20 on: April 01, 2009, 10:18:56 pm »
Please Help..
I've installed this Nightly Build and wxPack...

I try to generate a wxWidget Project
but when i try to build i get this message:

#include "wx/msw/wx.rc"

No such file or directory.



I figure out that wx is the directory where wxWidgets are installed. But, there's no msw directory in there.

I tried to create it there and put an wx.rc text file in there and it didn't work.


Where should this file wx.rc be located and what has to be in it?


thank you for your help.


V.Chavez


Offline Seronis

  • Almost regular
  • **
  • Posts: 197
Re: The 28 March 2009 build (5489) is out.
« Reply #21 on: April 02, 2009, 04:06:18 am »
C:\dev\wxMSW\wxWidgets-2.8.7\include\wx\msw

I believe you are just assigning the wrong include path. My path layout for example is listed above.  'wx' is an explicite folder inside the wxwidgets heirarchy.  In my case i have set

C:\dev\wxMSW\wxWidgets-2.8.7\include

as an entry in the compiler include paths and i find the given file without issue.  HTH


Please Help..
I've installed this Nightly Build and wxPack...

I try to generate a wxWidget Project
but when i try to build i get this message:

#include "wx/msw/wx.rc"

No such file or directory.

I figure out that wx is the directory where wxWidgets are installed. But, there's no msw directory in there.
I tried to create it there and put an wx.rc text file in there and it didn't work.
Where should this file wx.rc be located and what has to be in it?
thank you for your help.

V.Chavez

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 5910
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Re: The 28 March 2009 build (5489) is out.
« Reply #22 on: April 02, 2009, 04:10:20 am »
Please Help..
I've installed this Nightly Build and wxPack...

I try to generate a wxWidget Project
but when i try to build i get this message:

#include "wx/msw/wx.rc"

No such file or directory.



I figure out that wx is the directory where wxWidgets are installed. But, there's no msw directory in there.

I tried to create it there and put an wx.rc text file in there and it didn't work.


Where should this file wx.rc be located and what has to be in it?


thank you for your help.


V.Chavez



In my 2.8.9, it was located in D:\wxWidgets-2.8.9\include\wx\msw
But I'm not using a wxPack, I build this library my self. It is simple. see here:

http://wiki.codeblocks.org/index.php?title=Using_wxWidgets
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 geiermeier

  • Multiple posting newcomer
  • *
  • Posts: 19
Re: The 28 March 2009 build (5489) is out.
« Reply #23 on: April 02, 2009, 09:17:00 am »
How many lines in your source code? very long lines? Could you add this file as an attachment for testing?

I use CB for editing some (partly) binary files, too. I like the way Scintilla displays the unprintable ascii characters.

It's the same length as the horizontal scrollbar is initialized to with a blank file. It's about 280 characters.
That's long enough for editing (the usual) source code. But I think the scrollbar should initialize correctly for all files.

To reproduce: just create a new file with more than 300 characters in one line; that worked for me.

I'm using CB on XP, btw. The current nightly.
« Last Edit: April 02, 2009, 09:19:10 am by geiermeier »

Offline rhf

  • Multiple posting newcomer
  • *
  • Posts: 123
Re: The 28 March 2009 build (5489) is out.
« Reply #24 on: April 02, 2009, 12:48:09 pm »
@ geiermeier

Just a thought. I occasionally use SciTE (Scintilla Text Editor) and had the same problem with line lengths.
The fix was to edit the SciTEGlobal.properties file. Specifically, to change the property
horizontal.scroll.width=2200 to say horizontal.scroll.width=10000.
I don't know if this is the same in the Scintilla editor used in CB, but one of the developers can probably help out.

Offline lobby

  • Multiple posting newcomer
  • *
  • Posts: 10
Re: The 28 March 2009 build (5489) is out.
« Reply #25 on: April 02, 2009, 02:23:21 pm »
i already had this problem with the horizontal scrollbar, sometimes it is not large enought to go to the end of the line
(easy to reproduce as geiermeier said)
« Last Edit: April 02, 2009, 02:28:02 pm by lobby »

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: The 28 March 2009 build (5489) is out.
« Reply #26 on: April 02, 2009, 02:53:36 pm »
Scrollbar width:

I prepare a patch to use the ScrollWidthTracking feature of (wx)Scintilla.

This feature sets the ScrollWidth automatically according to the longest line seen.

I will make this feature optional (and disabled by default), because the scintilla-devs have disabled it for performance reasons:

Quote from: wxSintilla docu
For performance, Scintilla does not measure the width of the document to determine the properties of the horizontal scroll bar. Instead, an assumed width (2000 pixels) is used.

I hope I find the time this afternoon or evening (UTC +02:00).

EDIT:

committed (svn r5496)
« Last Edit: April 03, 2009, 12:19:43 am by jens »

my522198969

  • Guest
Re: The 28 March 2009 build (5489) is out.
« Reply #27 on: April 03, 2009, 09:13:21 am »
How to turn the language simplified Chinese? Who can give me a sinicizing document?

 - replaced non-english content by translation with babelfish.altavista.com -

Jens
« Last Edit: April 03, 2009, 09:56:23 am by jens »

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5490
Re: The 28 March 2009 build (5489) is out.
« Reply #28 on: April 03, 2009, 09:15:39 am »
only English language. In case this would happen again, we will have to close your account.

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 5910
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Re: The 28 March 2009 build (5489) is out.
« Reply #29 on: April 03, 2009, 09:46:40 am »
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.