Hey Guys, great work!
But I have 2 problems:
Export as PDF dont work. since rev 4321 or before.
Error occured on Friday, August 10, 2007 at 23:53:33.
C:\CodeBlocks\codeblocks.exe caused an Access Violation at location 6581ba32 in module C:\CodeBlocks\share\codeblocks\plugins\Exporter.dll Reading from location 00000000.
Registers:
eax=00000000 ebx=00b401a0 ecx=00000001 edx=00000001 esi=658920c8 edi=0022f8ec
eip=6581ba32 esp=0022ed6c ebp=0022ee14 iopl=0 nv up ei pl zr na po nc
cs=001b ss=0023 ds=0023 es=0023 fs=003b gs=0000 efl=00010246
Call stack:
6581BA32 C:\CodeBlocks\share\codeblocks\plugins\Exporter.dll:6581BA32
657D959E C:\CodeBlocks\share\codeblocks\plugins\Exporter.dll:657D959E
657DE8A7 C:\CodeBlocks\share\codeblocks\plugins\Exporter.dll:657DE8A7
6583F43F C:\CodeBlocks\share\codeblocks\plugins\Exporter.dll:6583F43F
657C7D46 C:\CodeBlocks\share\codeblocks\plugins\Exporter.dll:657C7D46
657C8051 C:\CodeBlocks\share\codeblocks\plugins\Exporter.dll:657C8051
657CCABE C:\CodeBlocks\share\codeblocks\plugins\Exporter.dll:657CCABE
657CC5DA C:\CodeBlocks\share\codeblocks\plugins\Exporter.dll:657CC5DA
6CD06685 C:\CodeBlocks\wxmsw28u_gcc_cb.dll:6CD06685 _ZN12wxEvtHandler21ProcessEventIfMatchesERK21wxEventTableEntryBasePS_R7wxEvent
6CD069DC C:\CodeBlocks\wxmsw28u_gcc_cb.dll:6CD069DC _ZN16wxEventHashTable11HandleEventER7wxEventP12wxEvtHandler
6CD079A9 C:\CodeBlocks\wxmsw28u_gcc_cb.dll:6CD079A9 _ZN12wxEvtHandler12ProcessEventER7wxEvent
6CD07949 C:\CodeBlocks\wxmsw28u_gcc_cb.dll:6CD07949 _ZN12wxEvtHandler12ProcessEventER7wxEvent
6CD07949 C:\CodeBlocks\wxmsw28u_gcc_cb.dll:6CD07949 _ZN12wxEvtHandler12ProcessEventER7wxEvent
6CD07949 C:\CodeBlocks\wxmsw28u_gcc_cb.dll:6CD07949 _ZN12wxEvtHandler12ProcessEventER7wxEvent
6CD07949 C:\CodeBlocks\wxmsw28u_gcc_cb.dll:6CD07949 _ZN12wxEvtHandler12ProcessEventER7wxEvent
6CD07949 C:\CodeBlocks\wxmsw28u_gcc_cb.dll:6CD07949 _ZN12wxEvtHandler12ProcessEventER7wxEvent
6CD07949 C:\CodeBlocks\wxmsw28u_gcc_cb.dll:6CD07949 _ZN12wxEvtHandler12ProcessEventER7wxEvent
6CD07949 C:\CodeBlocks\wxmsw28u_gcc_cb.dll:6CD07949 _ZN12wxEvtHandler12ProcessEventER7wxEvent
6CD07949 C:\CodeBlocks\wxmsw28u_gcc_cb.dll:6CD07949 _ZN12wxEvtHandler12ProcessEventER7wxEvent
6CD07949 C:\CodeBlocks\wxmsw28u_gcc_cb.dll:6CD07949 _ZN12wxEvtHandler12ProcessEventER7wxEvent
6CD07949 C:\CodeBlocks\wxmsw28u_gcc_cb.dll:6CD07949 _ZN12wxEvtHandler12ProcessEventER7wxEvent
6CD07949 C:\CodeBlocks\wxmsw28u_gcc_cb.dll:6CD07949 _ZN12wxEvtHandler12ProcessEventER7wxEvent
6CD07949 C:\CodeBlocks\wxmsw28u_gcc_cb.dll:6CD07949 _ZN12wxEvtHandler12ProcessEventER7wxEvent
6CD07949 C:\CodeBlocks\wxmsw28u_gcc_cb.dll:6CD07949 _ZN12wxEvtHandler12ProcessEventER7wxEvent
6CD07949 C:\CodeBlocks\wxmsw28u_gcc_cb.dll:6CD07949 _ZN12wxEvtHandler12ProcessEventER7wxEvent
6CD07949 C:\CodeBlocks\wxmsw28u_gcc_cb.dll:6CD07949 _ZN12wxEvtHandler12ProcessEventER7wxEvent
6CE2E553 C:\CodeBlocks\wxmsw28u_gcc_cb.dll:6CE2E553 _ZN11wxFrameBase14ProcessCommandEi
6CDA203F C:\CodeBlocks\wxmsw28u_gcc_cb.dll:6CDA203F _ZN7wxFrame13HandleCommandEttPv
6CDA2766 C:\CodeBlocks\wxmsw28u_gcc_cb.dll:6CDA2766 _ZN7wxFrame13MSWWindowProcEjjl
6CD71560 C:\CodeBlocks\wxmsw28u_gcc_cb.dll:6CD71560 _Z9wxWndProcP6HWND__jjl@16
7E368734 C:\WINDOWS\system32\USER32.dll:7E368734 GetDC
7E368816 C:\WINDOWS\system32\USER32.dll:7E368816 GetDC
7E3689CD C:\WINDOWS\system32\USER32.dll:7E3689CD GetWindowLongW
7E368A10 C:\WINDOWS\system32\USER32.dll:7E368A10 DispatchMessageW
6CD4C645 C:\CodeBlocks\wxmsw28u_gcc_cb.dll:6CD4C645 _ZN11wxEventLoop14ProcessMessageEP6tagMSG
6CD4CA3A C:\CodeBlocks\wxmsw28u_gcc_cb.dll:6CD4CA3A _ZN11wxEventLoop8DispatchEv
6CE225A6 C:\CodeBlocks\wxmsw28u_gcc_cb.dll:6CE225A6 _ZN17wxEventLoopManual3RunEv
6CDF126E C:\CodeBlocks\wxmsw28u_gcc_cb.dll:6CDF126E _ZN9wxAppBase8MainLoopEv
004048A0 C:\CodeBlocks\codeblocks.exe:004048A0
6CC8E447 C:\CodeBlocks\wxmsw28u_gcc_cb.dll:6CC8E447 _Z14wxUninitializev
6CD0FE1C C:\CodeBlocks\wxmsw28u_gcc_cb.dll:6CD0FE1C _Z7wxEntryP11HINSTANCE__S0_Pci
0040189C C:\CodeBlocks\codeblocks.exe:0040189C
00463CDA C:\CodeBlocks\codeblocks.exe:00463CDA
00401237 C:\CodeBlocks\codeblocks.exe:00401237
00401288 C:\CodeBlocks\codeblocks.exe:00401288
7C816FD7 C:\WINDOWS\system32\kernel32.dll:7C816FD7 RegisterWaitForInputIdle
and again with Abbreviations
when I type "nowl" ou other, and hit ctrl+j, first time every thing is ok.
In second time and then, when I hit ctrl+j, the value inserted is aways the same as the first time.
and...
the buttons add and delete still hidden. Abbreviations.
edit:
I found a strange behaviour in Scintilla. Its related with sintax highlight and char '\'.
if I write a macro like:
#define asdf asdf \
qwer
sintax highlight of qwer is the same as asdf. This is the normal behaviour.
But if I write:
// this is a comment \
asdf
asdf is a comment too, and should have the same sintax highlight of comments, but this dont happen.
I cannot get the PDF Exporter to crash either, but if it started crashing recently then the suspicious line would be:
int tabsize_in_spaces = Manager::Get()->GetConfigManager(_T("editor"))->ReadInt(_T("/tab_size"), 4);
I wouldn't expect that line to fail, but I haven't dug into that code.
It seems the PDF Exporter crash is finally gone. I also took the time to update wxPdfDocument to the latest version.
Well - now I receive a compiler crash each time I try to compile the Exporter plugin. Reproducible with GCC 3.4.5 - anybody out there who's experiencing the same?!
mingw32-g++.exe -Wall -g -Winvalid-pch -mthreads -include "sdk.h" -fexceptions -DBUILDING_PLUGIN -DCB_PRECOMP -DWX_PRECOMP -DHAVE_W32API_H -D__WXMSW__ -DWXUSINGDLL -DcbDEBUG -DTIXML_USE_STL -DwxUSE_UNICODE -IE:\Devel\wxWidgets\include -IE:\Devel\wxWidgets\lib\gcc_dllUnicode\mswu -IE:\Devel\CodeBlocks_Devel\src\include -IE:\Devel\CodeBlocks_Devel\src\include\wxscintilla\include -IwxPdfDocument\include -ID:\Devel\GCC345\include -c E:\Devel\CodeBlocks_Devel\src\plugins\contrib\source_exporter\wxPdfDocument\src\pdfannotation.cpp -o ..\..\..\.objs\plugins\contrib\Exporter\wxPdfDocument\src\pdfannotation.o
E:\Devel\CodeBlocks_Devel\src\plugins\contrib\source_exporter\wxPdfDocument\src\pdfannotation.cpp: In constructor `wxPdfLink::wxPdfLink(int)':
E:\Devel\CodeBlocks_Devel\src\plugins\contrib\source_exporter\wxPdfDocument\src\pdfannotation.cpp:36: internal compiler error: in rest_of_handle_final, at toplev.c:2067
Please submit a full bug report,
with preprocessed source if appropriate.
See for instructions.
Process terminated with status 1 (31 minutes, 35 seconds)
1 errors, 11 warnings
With regards, Morten.