Author Topic: The 06 August 2013 build (9246) is out.  (Read 138510 times)

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 5125
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Re: The 06 August 2013 build (9246) is out.
« Reply #15 on: August 27, 2013, 06:34:04 pm »
...
Currently we redefine all test-targets in the application-project by hand what may create more bugs. Thus a C::B function to copy a target from one project to the other may be very helpful.

Is there already something available?
...
If I remember correctly, copying settings cross projects is not available currently in C::B, I asked such feature request several years ago. So, patches are welcome. ;D
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 eckard_klotz

  • Almost regular
  • **
  • Posts: 150
Re: The 06 August 2013 build (9246) is out.
« Reply #16 on: August 28, 2013, 08:09:04 am »
Hello Ollydbg.

Thanks for your for your comment. It shows me 2 things.  I'm not the only one who sees the need for it and I did not overseen something.

Quote
So, patches are welcome.

The voice of my guilty conscience...

You are right. If I take a look to my last posts you may come to the conclusion there is somebody who requires greater changes and it is hard to see what is coming back. But since I work on my own open source-projects (http://forums.codeblocks.org/index.php/topic,18081.0.html) I hope you accept this as "payment". Currently I'm still busy with my last preparations for the next release-distributions. After that I want to start developing a c::b plug-in for Moritz what means, then I will start to explore the Code::Blocks binaries also. But since this took place only in my spare-time beyond my daily work, I will not be able to offer a patch for Code::Blocks in the next time.

How ever, when I started my two discussions here, I didn't expected that the developer team of Code::Blocks was just waiting for that, to learn what's coming next. My intention is more to ask the audience if my ideas are useful enough to create real requirements or not. But even if they are, I accept if the developer-team decides to put them in a queue to implement them later if I'm not able to do the implementation.

Best regards,
                    Eckard Klotz.

Offline darmar

  • Multiple posting newcomer
  • *
  • Posts: 45
Re: The 06 August 2013 build (9246) is out.
« Reply #17 on: August 31, 2013, 08:19:04 pm »
It took me a moment to realize why ALT+F wasn't bringing up the File menu like it always had done:  The F hotkey is overloaded and is now assigned to the Fortran menu as well.  ....

I made a change in the code: renamed menu "&Fortran" (ALT+F) to "Fortra&n" (ALT+N).

Offline nexon7

  • Single posting newcomer
  • *
  • Posts: 2
Re: The 06 August 2013 build (9246) is out.
« Reply #18 on: September 03, 2013, 01:52:40 pm »
Very Easy Tutorial for setting and using Codeblocks Nightly build and Latest TDM-GCC 32 Bit and 64 Bit compilers, managing poject settings and programming tips (handy for people using Visual studio side by side) are here, http://nexon7.wordpress.com/2013/09/03/how-to-install-codeblock-nightly-build-with-latest-gcc-compiler-32-bit-and-64-bit/

Offline White-Tiger

  • Multiple posting newcomer
  • *
  • Posts: 83
Re: The 06 August 2013 build (9246) is out.
« Reply #19 on: September 03, 2013, 04:54:54 pm »
I wonder if the wx29 build is ready/usable... it's been a while since 2.9 is available and Code::Blocks doesn't seem to support it (yet)... it's a shame.
So... since some commits are about wx29 compatibility fixes... is the wx29 build usable and if so why isn't there a Nightly yet?
There are still a lot of crashes in Code::Blocks.. most of them happen on project close or open... (besides I get a soft crash when trying to add a file to a project, using the wizard) and I hope wx29 fixes them :P (they improved a lot... and it might even work ;) Otherwise Code::Blocks has to use more locks/mutexes)
Windoze 8.1 x86_64 16GiB RAM, wxWidgets-2.8x (latest,trunk), MinGW-builds (latest, posix-threads)
Code::Blocks (x86 , latest , selection length patch , build option fixes/additions , toggle comments)

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 11267
    • Travis build status
Re: The 06 August 2013 build (9246) is out.
« Reply #20 on: September 03, 2013, 05:15:32 pm »
I wonder if the wx29 build is ready/usable...
I doubt, at least the watches windows is in pretty bad state I'm trying to fix, but it will take quite a while.
As far as I know wxSmith is broken, too, but I've not tried it, to confirm this.

... it's a shame.
Not enough man power, sorry.

There are still a lot of crashes in Code::Blocks.. most of them happen on project close or open... (besides I get a soft crash when trying to add a file to a project, using the wizard) and I hope wx29 fixes them :P (they improved a lot... and it might even work ;) Otherwise Code::Blocks has to use more locks/mutexes)
Don't be so optimistic, because the crashes most probably happen because there are bugs in our code.
So wx29 will just bring more crashes and problems for you. :)

I don't remember you reporting the crashes here. At least I don't remember reports for crashes about adding files...
And if you don't report them in reproducible way there is no chance they will ever get fixed.
(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!]

Offline White-Tiger

  • Multiple posting newcomer
  • *
  • Posts: 83
Re: The 06 August 2013 build (9246) is out.
« Reply #21 on: September 03, 2013, 11:52:41 pm »
well... most of them where named already... at least the project open and close crash...
But I can't really fix it, at least the call stack isn't that good... symbols missing, mostly only 1 codeblocks within all threads (and that can't be possible) everything else is either wxWidgets or Windows stuff..

The last function until the crash is always some stuff from wxWidgets... that's why I hope they might have fixed it.. and I know they fixed some stuff.

And that other one.. it's a soft crash... not a hard crash (and by soft crash I mean not crashing the app)
File->New->File... and try adding a file to the project

Script errors have occured...
Code: [Select]
SquirrelFunction<> call failed
AN ERROR HAS OCCURED [the index 'RebuildTree' does not exist]

CALLSTACK
*FUNCTION [AddFileToTargets()] E:\zZ-Progra\CodeBlocks\share\codeblocks/templates/wizard/common_functions.script line [595]
*FUNCTION [CreateFiles()] E:\zZ-Progra\CodeBlocks\share\codeblocks/templates/wizard/h_file/wizard.script line [60]

LOCALS
[pf] INSTANCE
[pf_check] INSTANCE
[prj] INSTANCE
[tgtidx] 4
[the_file] INSTANCE
[the_wiz] INSTANCE
[this] TABLE
[auto_text] INSTANCE
[text] INSTANCE
[guard] INSTANCE
[ed_new] INSTANCE
[ed] INSTANCE
[fname] INSTANCE
[this] TABLE
and the edit box that shows the error is disabled... so you can't copy the text... (unless you read it directly from the window/control :P)
« Last Edit: September 03, 2013, 11:55:25 pm by White-Tiger »
Windoze 8.1 x86_64 16GiB RAM, wxWidgets-2.8x (latest,trunk), MinGW-builds (latest, posix-threads)
Code::Blocks (x86 , latest , selection length patch , build option fixes/additions , toggle comments)

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 11267
    • Travis build status
Re: The 06 August 2013 build (9246) is out.
« Reply #22 on: September 04, 2013, 01:05:28 am »
And that other one.. it's a soft crash... not a hard crash (and by soft crash I mean not crashing the app)
File->New->File... and try adding a file to the project
Should be fixed in trunk.

Script errors have occured...and the edit box that shows the error is disabled... so you can't copy the text... (unless you read it directly from the window/control :P)
Should also be fixed in trunk.

See how easy it is when you provide enough information.
Now if you provide exact steps to reproduce the project open/close crashes, then probably someone could try to fix them.
(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!]

Offline White-Tiger

  • Multiple posting newcomer
  • *
  • Posts: 83
Re: The 06 August 2013 build (9246) is out.
« Reply #23 on: September 04, 2013, 02:24:01 am »
your changes work, thanks ;) I still wonder why you chose a different file to store that function then before... maybe because you couldn't locate the original file as I couldn't xD
[...]
See how easy it is when you provide enough information.
Now if you provide exact steps to reproduce the project open/close crashes, then probably someone could try to fix them.
well... I can't... (and I'm to lazy to fill reports... and yep I know it's bad :P)
The open crash is rare.. didn't happen that much... the real close crash is kind of rare as well.. most of the time it just hangs... and that's the main problem and I've said already as much as I can about it.

To reproduce the hang bug: close codeblocks, open codeblocks and as soon as it's open, close a project (closing the workspace might work or not.. the crash that happened on close was related to workspace close IIRC)
For this to work you'll need a slow PC (probably and very likely at least 2 CPU cores), probably not more then 2GB RAM, and main part: slow HD
It's simply the code-completion or any other thread that parses the project that's closed or something like that...

Anyway... I have no Idea why this crashed except for an already freed project, but here's a crash report:
Code: [Select]
Error occured on Sunday, September 1, 2013 at 01:24:01.

E:\zZ-Progra\CodeBlocks\codeblocks.exe caused an Access Violation at location 004e3e54 in module E:\zZ-Progra\CodeBlocks\codeblocks.exe Reading from location 0000001c.

Registers:
eax=00000000 ebx=61a2e0ac ecx=00000000 edx=00000030 esi=0022dac4 edi=00000000
eip=004e3e54 esp=0022da18 ebp=0022da1c iopl=0         nv up ei pl nz na po nc
cs=001b  ss=0023  ds=0023  es=0023  fs=003b  gs=0000             efl=00010206

Call stack:
004E3E54  E:\zZ-Progra\CodeBlocks\codeblocks.exe:004E3E54  FileTreeData::GetKind  E:/zZ-Progra/CodeBlocks-SVN/src/include/cbproject.h:58
0048E62A  E:\zZ-Progra\CodeBlocks\codeblocks.exe:0048E62A  ProjectManagerUI::OnCloseProject  E:/zZ-Progra/CodeBlocks-SVN/src/src/projectmanagerui.cpp:1490
01191551  E:\zZ-Progra\CodeBlocks\wxmsw28u_gcc_cb.dll:01191551  _ZNK12wxAppConsole11HandleEventEP12wxEvtHandlerMS0_FvR7wxEventES3_
01216C4E  E:\zZ-Progra\CodeBlocks\wxmsw28u_gcc_cb.dll:01216C4E  _ZN12wxEvtHandler21ProcessEventIfMatchesERK21wxEventTableEntryBasePS_R7wxEvent
01216D1A  E:\zZ-Progra\CodeBlocks\wxmsw28u_gcc_cb.dll:01216D1A  _ZN16wxEventHashTable11HandleEventER7wxEventP12wxEvtHandler
01217175  E:\zZ-Progra\CodeBlocks\wxmsw28u_gcc_cb.dll:01217175  _ZN12wxEvtHandler12ProcessEventER7wxEvent
01217109  E:\zZ-Progra\CodeBlocks\wxmsw28u_gcc_cb.dll:01217109  _ZN12wxEvtHandler12ProcessEventER7wxEvent
[...] ^ x 46
01327092  E:\zZ-Progra\CodeBlocks\wxmsw28u_gcc_cb.dll:01327092  _ZN12wxWindowBase9TryParentER7wxEvent
01217109  E:\zZ-Progra\CodeBlocks\wxmsw28u_gcc_cb.dll:01217109  _ZN12wxEvtHandler12ProcessEventER7wxEvent
01327092  E:\zZ-Progra\CodeBlocks\wxmsw28u_gcc_cb.dll:01327092  _ZN12wxWindowBase9TryParentER7wxEvent
01301271  E:\zZ-Progra\CodeBlocks\wxmsw28u_gcc_cb.dll:01301271  _ZN10wxMenuBase9SendEventEii
0128D73C  E:\zZ-Progra\CodeBlocks\wxmsw28u_gcc_cb.dll:0128D73C  _ZN6wxMenu10MSWCommandEjt
012609F0  E:\zZ-Progra\CodeBlocks\wxmsw28u_gcc_cb.dll:012609F0  _ZN8wxWindow13HandleCommandEttPv
0126431C  E:\zZ-Progra\CodeBlocks\wxmsw28u_gcc_cb.dll:0126431C  _ZN8wxWindow13MSWWindowProcEjjl
012B2747  E:\zZ-Progra\CodeBlocks\wxmsw28u_gcc_cb.dll:012B2747  _ZN10wxTreeCtrl13MSWWindowProcEjjl
0125DC8E  E:\zZ-Progra\CodeBlocks\wxmsw28u_gcc_cb.dll:0125DC8E  _Z9wxWndProcP6HWND__jjl@16
771A86EF  C:\Windows\system32\USER32.dll:771A86EF  IsThreadDesktopComposited
771A8876  C:\Windows\system32\USER32.dll:771A8876  IsThreadDesktopComposited
771A89B5  C:\Windows\system32\USER32.dll:771A89B5  IsThreadDesktopComposited
771A8E9C  C:\Windows\system32\USER32.dll:771A8E9C  DispatchMessageW
01262B67  E:\zZ-Progra\CodeBlocks\wxmsw28u_gcc_cb.dll:01262B67  _ZN8wxWindow11DoPopupMenuEP6wxMenuii
004D1356  E:\zZ-Progra\CodeBlocks\codeblocks.exe:004D1356  wxWindowBase::PopupMenu  E:/zZ-Progra/wxWidgets-2.8x/include/wx/window.h:924
004888BF  E:\zZ-Progra\CodeBlocks\codeblocks.exe:004888BF  ProjectManagerUI::ShowMenu  E:/zZ-Progra/CodeBlocks-SVN/src/src/projectmanagerui.cpp:725
0048B8B1  E:\zZ-Progra\CodeBlocks\codeblocks.exe:0048B8B1  ProjectManagerUI::OnTreeItemRightClick  E:/zZ-Progra/CodeBlocks-SVN/src/src/projectmanagerui.cpp:1076
01191551  E:\zZ-Progra\CodeBlocks\wxmsw28u_gcc_cb.dll:01191551  _ZNK12wxAppConsole11HandleEventEP12wxEvtHandlerMS0_FvR7wxEventES3_
01216C4E  E:\zZ-Progra\CodeBlocks\wxmsw28u_gcc_cb.dll:01216C4E  _ZN12wxEvtHandler21ProcessEventIfMatchesERK21wxEventTableEntryBasePS_R7wxEvent
01216D1A  E:\zZ-Progra\CodeBlocks\wxmsw28u_gcc_cb.dll:01216D1A  _ZN16wxEventHashTable11HandleEventER7wxEventP12wxEvtHandler
01217175  E:\zZ-Progra\CodeBlocks\wxmsw28u_gcc_cb.dll:01217175  _ZN12wxEvtHandler12ProcessEventER7wxEvent
01217109  E:\zZ-Progra\CodeBlocks\wxmsw28u_gcc_cb.dll:01217109  _ZN12wxEvtHandler12ProcessEventER7wxEvent
[...] ^ x 46
01327092  E:\zZ-Progra\CodeBlocks\wxmsw28u_gcc_cb.dll:01327092  _ZN12wxWindowBase9TryParentER7wxEvent
01217109  E:\zZ-Progra\CodeBlocks\wxmsw28u_gcc_cb.dll:01217109  _ZN12wxEvtHandler12ProcessEventER7wxEvent
01327092  E:\zZ-Progra\CodeBlocks\wxmsw28u_gcc_cb.dll:01327092  _ZN12wxWindowBase9TryParentER7wxEvent
012B15FD  E:\zZ-Progra\CodeBlocks\wxmsw28u_gcc_cb.dll:012B15FD  _ZN10wxTreeCtrl11MSWOnNotifyEilPl
012653DC  E:\zZ-Progra\CodeBlocks\wxmsw28u_gcc_cb.dll:012653DC  _ZN8wxWindow13MSWWindowProcEjjl
0125DC8E  E:\zZ-Progra\CodeBlocks\wxmsw28u_gcc_cb.dll:0125DC8E  _Z9wxWndProcP6HWND__jjl@16
771A86EF  C:\Windows\system32\USER32.dll:771A86EF  IsThreadDesktopComposited
771A8876  C:\Windows\system32\USER32.dll:771A8876  IsThreadDesktopComposited
771A7631  C:\Windows\system32\USER32.dll:771A7631  IsRectEmpty
771A7695  C:\Windows\system32\USER32.dll:771A7695  SendMessageW
012B3307  E:\zZ-Progra\CodeBlocks\wxmsw28u_gcc_cb.dll:012B3307  _ZN10wxTreeCtrl13MSWWindowProcEjjl
0125DC8E  E:\zZ-Progra\CodeBlocks\wxmsw28u_gcc_cb.dll:0125DC8E  _Z9wxWndProcP6HWND__jjl@16
771A86EF  C:\Windows\system32\USER32.dll:771A86EF  IsThreadDesktopComposited
771A8876  C:\Windows\system32\USER32.dll:771A8876  IsThreadDesktopComposited
771A89B5  C:\Windows\system32\USER32.dll:771A89B5  IsThreadDesktopComposited
771A8E9C  C:\Windows\system32\USER32.dll:771A8E9C  DispatchMessageW
01242780  E:\zZ-Progra\CodeBlocks\wxmsw28u_gcc_cb.dll:01242780  _ZN11wxEventLoop8DispatchEv
btw.. a feature to have the last revision within that crash log would rock ;) maybe always write it to that file and overwrite it on next start if the last 4 bytes are the same as the revision or other kind of "magic bytes" Or just change exchndl directly.. you've got the code already, even though you never build it by default

@edit: I've put in the complete crashlog/stack-trace now... as it might be better :P "[...] ^" means exactly the above x times
« Last Edit: September 04, 2013, 03:48:10 am by White-Tiger »
Windoze 8.1 x86_64 16GiB RAM, wxWidgets-2.8x (latest,trunk), MinGW-builds (latest, posix-threads)
Code::Blocks (x86 , latest , selection length patch , build option fixes/additions , toggle comments)

Offline White-Tiger

  • Multiple posting newcomer
  • *
  • Posts: 83
Re: The 06 August 2013 build (9246) is out.
« Reply #24 on: September 06, 2013, 12:16:06 am »
anyway... here are a few suggestions / patches:
Link ConsoleRunner statically. This allows one to use a compiler with sjlj (and CB build with that) but also compile and run code with dwarf. Otherwise ConsoleRunner tries to find libgcc with sjlj but can't because Code::Blocks set's the environment variable to the dwarf tool-chain. (not sure how that "-static" works for Linux... but it's important for Windows... -static-libgcc doesn't work) Also I've set exchndl to be compiled when one compiles Code::Blocks... I can't see a reason for not compiling it as it's bad to go without it.
Code: Diff
  1. Index: src/CodeBlocks.cbp
  2. ===================================================================
  3. --- src/CodeBlocks.cbp  (revision 9294)
  4. +++ src/CodeBlocks.cbp  (working copy)
  5. @@ -54,6 +54,9 @@
  6.                                 <Compiler>
  7.                                         <Add option="-Os" />
  8.                                 </Compiler>
  9. +                               <Linker>
  10. +                                       <Add option="-static" />
  11. +                               </Linker>
  12.                         </Target>
  13.                         <Target title="Squirrel">
  14.                                 <Option output="sdk/scripting/lib/squirrel" prefix_auto="1" extension_auto="1" />
  15. @@ -716,7 +719,7 @@
  16.                         </Environment>
  17.                 </Build>
  18.                 <VirtualTargets>
  19. -                       <Add alias="All" targets="tinyXML;AutoRevision;ConsoleRunner;Squirrel;Squirrel std lib;SqPlus;scintilla;wxpropgrid;sdk;src;Abbreviations;AStyle;Autosave;Compiler depslib;Compiler;Debugger;Code-completion;Class wizard;Default MIME handler;Occurrences Highlighting;Open files list;Projects-workspaces importer;Scripted wizard;To-do;XP look &amp; feel;" />
  20. +                       <Add alias="All" targets="exchndl;tinyXML;AutoRevision;ConsoleRunner;Squirrel;Squirrel std lib;SqPlus;scintilla;wxpropgrid;sdk;src;Abbreviations;AStyle;Autosave;Compiler depslib;Compiler;Debugger;Code-completion;Class wizard;Default MIME handler;Occurrences Highlighting;Open files list;Projects-workspaces importer;Scripted wizard;To-do;XP look &amp; feel;" />
  21.                         <Add alias="Core app &amp; plugins" targets="sdk;src;AStyle;Autosave;Compiler depslib;Compiler;Debugger;Code-completion;Class wizard;Default MIME handler;Occurrences Highlighting;Open files list;Projects-workspaces importer;Scripted wizard;To-do;XP look &amp; feel;" />
  22.                         <Add alias="Third-party libs" targets="tinyXML;AutoRevision;ConsoleRunner;Squirrel;Squirrel std lib;SqPlus;scintilla;wxpropgrid;Compiler depslib;" />
  23.                 </VirtualTargets>
  24.  

Allow ! (exclamation mark) within file paths on compiler warning/error. (It won't hurt Linux and I need it :P)

Also add another warning to "options_common_re-msvc.xml"
Code: XML
  1.     <RegEx name="Linker warning (2)"
  2.           type="warning"
  3.           msg="1;4;2"
  4.           file="3">
  5.         <![CDATA[warning C4[0-9]+: (.+) (in ['"]([^'"]+)['"] and ['"][^'"]+['"])(: .*)]]>
  6.     </RegEx>
and it looks like
Quote from: vc compiler
warning C4742: 'bHour12' has different alignment in 'E:\zZ-Progra\_SVNs\T-Clock NG\Source\DLL\Tclock.c' and 'E:\zZ-Progra\_SVNs\T-Clock NG\Source\DLL\format.c': 1 and 4
warning C4743: 'bHour12' has different size in 'E:\zZ-Progra\_SVNs\T-Clock NG\Source\DLL\Tclock.c' and 'E:\zZ-Progra\_SVNs\T-Clock NG\Source\DLL\format.c': 1 and 4 bytes
warning C4742: 'bHourZero' has different alignment in 'E:\zZ-Progra\_SVNs\T-Clock NG\Source\DLL\Tclock.c' and 'E:\zZ-Progra\_SVNs\T-Clock NG\Source\DLL\format.c': 1 and 4
warning C4743: 'bHourZero' has different size in 'E:\zZ-Progra\_SVNs\T-Clock NG\Source\DLL\Tclock.c' and 'E:\zZ-Progra\_SVNs\T-Clock NG\Source\DLL\format.c': 1 and 4 bytes
(Windoze warnings always start with C4... and are 4 numbers)

Also it would be better to have the c/c++ template look like:
Code: C
  1. #include <stdio.h>
  2. #include <stdlib.h>
  3.  
  4. int main(int argc, char* argv[])
  5. {
  6.         puts("Hello world!");
  7.         return 0;
  8. }
as the default one without params is almost useless... and printf isn't a good idea to print a static string without variables. And pls use tabs


Windoze 8.1 x86_64 16GiB RAM, wxWidgets-2.8x (latest,trunk), MinGW-builds (latest, posix-threads)
Code::Blocks (x86 , latest , selection length patch , build option fixes/additions , toggle comments)

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 5125
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Re: The 06 August 2013 build (9246) is out.
« Reply #25 on: September 07, 2013, 06:09:23 pm »
anyway... here are a few suggestions / patches:
Link ConsoleRunner statically. This allows one to use a compiler with sjlj (and CB build with that) but also compile and run code with dwarf. Otherwise ConsoleRunner tries to find libgcc with sjlj but can't because Code::Blocks set's the environment variable to the dwarf tool-chain.
I don't understand fully, I use nightly build C::B which is built from TDM GCC 4.7.1 sjlj, but I mainly use PCX's MinGW GCC 4.6.3 dwarf2, I don't have any issue.
Quote
(not sure how that "-static" works for Linux... but it's important for Windows... -static-libgcc doesn't work) Also I've set exchndl to be compiled when one compiles Code::Blocks... I can't see a reason for not compiling it as it's bad to go without it.
I think the reason is: exchndl need libbfd or other libraries which are not available for a normal MinGW distribution. If you enable them, many user will complain. :)
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 White-Tiger

  • Multiple posting newcomer
  • *
  • Posts: 83
Re: The 06 August 2013 build (9246) is out.
« Reply #26 on: September 08, 2013, 04:36:04 am »
[...]
I think the reason is: exchndl need libbfd or other libraries which are not available for a normal MinGW distribution. If you enable them, many user will complain. :)
k... makes sense :P I'm using MinGW-builds... didn't had to add anything ;)

@edit:
you might ignore the ConsoleRunner stuff for now... I couldn't reproduce it :P I only know I had to use static... but I don't know why... nor do I have any idea what was different or what I did... (I just wanted to test the dwarf build of mingw-build to find out if it's able to cross-compile for x86_64 and not only for x86... and it couldn't... Why isn't there any compiler out there that uses dwarf on x86 and seh on x86_64 in one toolchain?)
« Last Edit: September 08, 2013, 05:29:29 am by White-Tiger »
Windoze 8.1 x86_64 16GiB RAM, wxWidgets-2.8x (latest,trunk), MinGW-builds (latest, posix-threads)
Code::Blocks (x86 , latest , selection length patch , build option fixes/additions , toggle comments)

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 5125
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Re: The 06 August 2013 build (9246) is out.
« Reply #27 on: September 08, 2013, 07:51:24 am »
@edit:
you might ignore the ConsoleRunner stuff for now... I couldn't reproduce it :P ...
Ok.
Btw, when you say "ConsoleRunner", do you mean just click the "run" button of the toolbar when you create a console project?
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 White-Tiger

  • Multiple posting newcomer
  • *
  • Posts: 83
Re: The 06 August 2013 build (9246) is out.
« Reply #28 on: September 08, 2013, 03:18:10 pm »
run or compile&run yes... nvm... it won't work right now...
I must have screwed up then anything else, so nvm :P
Windoze 8.1 x86_64 16GiB RAM, wxWidgets-2.8x (latest,trunk), MinGW-builds (latest, posix-threads)
Code::Blocks (x86 , latest , selection length patch , build option fixes/additions , toggle comments)

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 5125
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Re: The 06 August 2013 build (9246) is out.
« Reply #29 on: October 12, 2013, 02:46:52 pm »
@ollydbg:
can you test the attached patch ?

Just a quick and rough one. It also zooms the folding margin, but not the changebar and marker margin.
The changebar-margin is just 4 px small, so it does not really matter, and the maerker margin would need tweaking of all plugins that use it, and I do not have the time at the moment.

Hi, jens, thanks, I just test this patch, and it fix the problem I reported.

Jen, can you commit this patch to trunk? Thanks.
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.