I am not sure if the wxPdfDocument version is the same in Codeblocks. The source exporter plugin of CodeBlocks uses version 1.0.2. The latest wxPdfDocument release is version 1.2.0. However, regarding this issue the versions don't make a noteworthy difference. I don't know whether CodeBlocks could update the included wxPdfDocument version easily, because the latest version requires wxWidgets version 3.2.x. However, I see traces of wxWidgets 3.2 support in the Code::Blocks source tree. So it should...
but I think it is not present in the new wxPdfDocument version. Can you please explain what is not present in the wxPdfDocument version? So it is invalid. What is invalid? The PDF for which you experienced a problem with the pasrer code? If yes, it would be of interest from which source the PDF originated.
Yes, it would be more defensive, I agree. However, this would be true for many PDF attribute accesses in the PDF parser code. For valid PDF files no crashes should occur. Only for broken PDF files crashes can be expected. Nevertheless I agree that even for broken PDF files a crash is not so nice. I will consider to update the parser code to avoid crashes (as it is done already for optional PDF attributes), even though they are unlikely to occur.
What is the problem? Did the application crash? If yes, provide a sample PDF document exposing the problem. At the point where "better check pointer stm" is asked for the pointer stm is already verified to be a pointer to an XRef stream and the attribute "Size" is a required attribute. If it doesn't exist, the PDF file is actually an invalid PDF file.
I replaced the MD5 code by a public domain version and replaced the file lena.jpg...
I will replace the lena.jpg by another image in course of fixing the MD5 issue.
I'm the creator and maintainer of wxPdfDocument and I'm definitely still active....
wxSQLite3 3.3.1 released
wxSQLite3: cleanup of SVN due to transition to ...
wxPdfDocument: cleanup of SVN due to transition...
wxPdfDocument 0.9.5 released
wxSQLite3 3.3.0 released
wxSQLite3 3.3.0 released
wxSQLite3: Patched SQLite version 3.9.2 amalgam...
[wxPdfDocument] Bug in wxPdfDC::DrawEllipticArc
Fixed in wxCode SVN. Drawing and filling is now separated to get the same behaviour...
[wxPdfDocument] Bug in wxPdfDC::DrawRotatedText
Fixed in wxCode SVN.
[wxPdfDocument] Bug in wxPdfDC::DrawPoint
Fixed in wxCode SVN
[wxPdfDocument] Bug in wxPdfDCImpl::SetupPen
Fixed in wxCode SVN.
wxPdfDocument:
If the FILL option is selected, then for the sample coming with wxPdfDocument the...
wxSQLite3: Upgrade of SQLite3 to version 3.9.2
wxSQLite3: Upgrade of SQLite3 to version 3.9.1
Problems with width of chars like Á ã, etc
website has broken links to wxCode forum
Thanks for reporting. The links have now been fixed.
wxSQLite3 3.2.1 released
wxSQLite3: Upgrade SQLite to version 3.8.8.2
wxSQLite3 3.2.0 released
wxSQLite3: Release of version 3.2.0
wxSQLite3: Preparations for release of version ...
wxSQLite3: Upgrade SQLite to version 3.8.7.4, c...
wxSQLite3: Upgrade SQLite to version 3.8.7.4
wxSQLite3: Upgrade SQLite to version 3.8.7.3
wxSQLite3: Upgrade SQLite to version 3.8.7.2
[wxsqlite3] possible to add variant CCM to AES 128
Correct - I know about the SEE project (and others), and it in fact is the one used...
wxSQLite3: Upgrade SQLite to version 3.8.6
[wxsqlite3] possible to add variant CCM to AES 128
The commercial encryption extension SEE offered by the SQLite developers supports...
wxPdfDocument: Fixed a bug in the CFF font subs...
wxPdfDocument: Added build files for wxWidgets ...
wxSQLite3: Fixed a bug in method operator= in c...
wxSQLite3 3.1.1 released
wxSQLite3: Upgrade SQLite to version 3.8.5
wxSQLite3 DbAdmin compatibility for wxWidgets-2.9.5+
Thanks for providing these patches. The patches to the DBAdmin application distributed...
wxSQLite3: Patch DBAdmin to make it compilable ...
wxSQLite3 3.1.0 released
wxSQLite3 3.1.0 released
wxSQLite3: Release of version 3.1.0
wxSQLite3: Fixed a bug in the encryption extens...
wxSQLite3: Upgrade SQLite to version 3.8.4.3
wxSQLite3: Upgrade SQLite to version 3.8.4.1
wxSQLite3: Upgrade SQLite to version 3.8.3.1