You can subscribe to this list here.
2006 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(4) |
Jun
(31) |
Jul
(37) |
Aug
(20) |
Sep
(20) |
Oct
(16) |
Nov
(10) |
Dec
(16) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2007 |
Jan
|
Feb
(1) |
Mar
(1) |
Apr
(11) |
May
(136) |
Jun
(61) |
Jul
(42) |
Aug
(21) |
Sep
(25) |
Oct
(43) |
Nov
(5) |
Dec
(24) |
2008 |
Jan
|
Feb
|
Mar
(2) |
Apr
(11) |
May
|
Jun
|
Jul
(51) |
Aug
(6) |
Sep
|
Oct
|
Nov
(21) |
Dec
(35) |
2009 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(10) |
Oct
|
Nov
|
Dec
|
2010 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(35) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(2) |
Dec
|
From: Fridrich S. <str...@us...> - 2008-07-11 14:54:16
|
Update of /cvsroot/libwpg/libwpg/src/lib In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25925/src/lib Modified Files: WPG1Parser.cpp Log Message: fix rect positioning in wpg1 Index: WPG1Parser.cpp =================================================================== RCS file: /cvsroot/libwpg/libwpg/src/lib/WPG1Parser.cpp,v retrieving revision 1.35 retrieving revision 1.36 diff -u -d -r1.35 -r1.36 --- WPG1Parser.cpp 10 Dec 2007 09:58:11 -0000 1.35 +++ WPG1Parser.cpp 11 Jul 2008 14:45:13 -0000 1.36 @@ -387,7 +387,8 @@ libwpg::WPGRect rect; rect.x1 = (double)x/1200.0; - rect.y1 = (double)(m_height-y)/1200.0; + // in WPG, we have the coordinate of lower left point, in SVG-ish coordinates we have to get upper left + rect.y1 = (double)(m_height - h - y)/1200.0; rect.x2 = rect.x1 + (double)w/1200.0; rect.y2 = rect.y1 + (double)h/1200.0; |
From: Fridrich S. <str...@us...> - 2008-07-10 22:24:29
|
Update of /cvsroot/libwpg/perfectspot In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11050 Modified Files: perfectspot.spec Log Message: don't require libwpg by name Index: perfectspot.spec =================================================================== RCS file: /cvsroot/libwpg/perfectspot/perfectspot.spec,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- perfectspot.spec 11 Oct 2007 11:44:16 -0000 1.3 +++ perfectspot.spec 10 Jul 2008 22:24:25 -0000 1.4 @@ -8,7 +8,6 @@ BuildRequires: gcc-c++, libstdc++-devel, pkgconfig BuildRequires: libwpg-devel >= 0.1.0 BuildRequires: libwpd-devel >= 0.8.0 -Requires: libwpg >= 0.1.0 URL: http://libwpg.sourceforge.net License: GPL v2 or later Group: Productivity/Graphics/Viewers |
From: Fridrich S. <str...@us...> - 2008-07-10 22:22:47
|
Update of /cvsroot/libwpg/perfectspot/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10265 Modified Files: perfectspot.desktop Log Message: add the mimetype and a semicolon after categories Index: perfectspot.desktop =================================================================== RCS file: /cvsroot/libwpg/perfectspot/src/perfectspot.desktop,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- perfectspot.desktop 11 Oct 2007 11:44:17 -0000 1.1 +++ perfectspot.desktop 10 Jul 2008 22:22:44 -0000 1.2 @@ -1,9 +1,10 @@ [Desktop Entry] Categories=Graphics;Viewer Name=Perfectspot -GenericName=WordPerfect Graphics Viewer +GenericName=WordPerfect Graphics Viewer; Type=Application Exec=perfectspot Icon=perfectspot +MimeType=image/x-wpg; X-SuSE-translate=true |
From: Fridrich S. <str...@us...> - 2008-07-10 22:21:19
|
Update of /cvsroot/libwpg/perfectspot/src/odg In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9853 Modified Files: femtozip.cxx Log Message: silence a warning Index: femtozip.cxx =================================================================== RCS file: /cvsroot/libwpg/perfectspot/src/odg/femtozip.cxx,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- femtozip.cxx 17 May 2007 14:35:13 -0000 1.1 +++ femtozip.cxx 10 Jul 2008 22:21:15 -0000 1.2 @@ -373,7 +373,8 @@ buffer[19] = (centralDirPos>>24) & 0xff; buffer[20] = 0x00; buffer[21] = 0x00; - fwrite(buffer, 1, 22, fhandle); + if (fwrite(buffer, 1, 22, fhandle) != 30) + errorCode = FemtoZip::ErrorWriteData; // that's all, we're done ! fclose(fhandle); |
From: Fridrich S. <str...@us...> - 2008-07-10 19:39:11
|
Update of /cvsroot/libwpg/libwpg/src/conv/raw In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13048/src/conv/raw Modified Files: wpg2raw.cpp Log Message: add callbacks for embedded graphics Index: wpg2raw.cpp =================================================================== RCS file: /cvsroot/libwpg/libwpg/src/conv/raw/wpg2raw.cpp,v retrieving revision 1.7 retrieving revision 1.8 diff -u -d -r1.7 -r1.8 --- wpg2raw.cpp 16 Nov 2007 20:19:26 -0000 1.7 +++ wpg2raw.cpp 10 Jul 2008 19:39:05 -0000 1.8 @@ -38,6 +38,8 @@ void endGraphics(); void startLayer(unsigned int id); void endLayer(unsigned int id); + void startEmbeddedGraphics(double /* imageWidth */, double /* imageHeight */) {} + void endEmbeddedGraphics() {} void setPen(const libwpg::WPGPen& pen); void setBrush(const libwpg::WPGBrush& brush); |
From: Fridrich S. <str...@us...> - 2008-07-10 19:39:11
|
Update of /cvsroot/libwpg/libwpg/src/lib In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13048/src/lib Modified Files: WPGPaintInterface.h WPGSVGGenerator.h Log Message: add callbacks for embedded graphics Index: WPGPaintInterface.h =================================================================== RCS file: /cvsroot/libwpg/libwpg/src/lib/WPGPaintInterface.h,v retrieving revision 1.7 retrieving revision 1.8 diff -u -d -r1.7 -r1.8 --- WPGPaintInterface.h 3 Jul 2007 13:03:19 -0000 1.7 +++ WPGPaintInterface.h 10 Jul 2008 19:39:06 -0000 1.8 @@ -55,6 +55,10 @@ virtual void startLayer(unsigned int id) = 0; virtual void endLayer(unsigned int id) = 0; + + virtual void startEmbeddedGraphics(double width, double height) = 0; + + virtual void endEmbeddedGraphics() = 0; virtual void drawRectangle(const WPGRect& rect, double rx, double ry) = 0; Index: WPGSVGGenerator.h =================================================================== RCS file: /cvsroot/libwpg/libwpg/src/lib/WPGSVGGenerator.h,v retrieving revision 1.7 retrieving revision 1.8 diff -u -d -r1.7 -r1.8 --- WPGSVGGenerator.h 3 Jul 2007 13:03:19 -0000 1.7 +++ WPGSVGGenerator.h 10 Jul 2008 19:39:06 -0000 1.8 @@ -43,6 +43,8 @@ void endGraphics(); void startLayer(unsigned int id); void endLayer(unsigned int id); + void startEmbeddedGraphics(double /* imageWidth */, double /* imageHeight */) {} + void endEmbeddedGraphics() {} void setPen(const libwpg::WPGPen& pen); void setBrush(const libwpg::WPGBrush& brush); |
From: Fridrich S. <str...@us...> - 2008-07-09 14:46:26
|
Update of /cvsroot/libwpg/libwpg/src/lib In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4244/src/lib Modified Files: WPG2Parser.cpp WPGBitmap.cpp Log Message: don't assume 1200 dpi if the document specifies different one Index: WPG2Parser.cpp =================================================================== RCS file: /cvsroot/libwpg/libwpg/src/lib/WPG2Parser.cpp,v retrieving revision 1.66 retrieving revision 1.67 diff -u -d -r1.66 -r1.67 --- WPG2Parser.cpp 9 Jul 2008 13:45:30 -0000 1.66 +++ WPG2Parser.cpp 9 Jul 2008 14:46:22 -0000 1.67 @@ -38,7 +38,7 @@ #define M_PI 3.14159265358979323846 #endif -#define DUMP_BINARY_DATA 1 +#define DUMP_BINARY_DATA 0 static const unsigned char defaultWPG2PaletteRed[] = { 0x00, 0xFF, 0x7F, 0xBF, 0x00, 0x00, 0x00, 0x7F, @@ -1776,10 +1776,10 @@ long ys1 = (y1 <= y2) ? y1 : y2; long ys2 = (y1 <= y2) ? y2 : y1; - m_binaryData.x1 = TO_DOUBLE(xs1) / 1200; - m_binaryData.y1 = TO_DOUBLE(ys1) / 1200; - m_binaryData.x2 = TO_DOUBLE(xs2) / 1200; - m_binaryData.y2 = TO_DOUBLE(ys2) / 1200; + m_binaryData.x1 = TO_DOUBLE(xs1) / m_xres; + m_binaryData.y1 = TO_DOUBLE(ys1) / m_yres; + m_binaryData.x2 = TO_DOUBLE(xs2) / m_xres; + m_binaryData.y2 = TO_DOUBLE(ys2) / m_yres; unsigned long numDescriptions = readU16(); Index: WPGBitmap.cpp =================================================================== RCS file: /cvsroot/libwpg/libwpg/src/lib/WPGBitmap.cpp,v retrieving revision 1.17 retrieving revision 1.18 diff -u -d -r1.17 -r1.18 --- WPGBitmap.cpp 9 Jul 2008 13:45:30 -0000 1.17 +++ WPGBitmap.cpp 9 Jul 2008 14:46:23 -0000 1.18 @@ -29,7 +29,7 @@ #include <sstream> -#define DUMP_BITMAP 1 +#define DUMP_BITMAP 0 #if DUMP_BITMAP static unsigned bitmapId = 0; |
From: Fridrich S. <str...@us...> - 2008-07-09 14:46:01
|
Update of /cvsroot/libwpg/libwpg/src/lib In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3879/src/lib Modified Files: Tag: STABLE-0-1-0 WPG2Parser.cpp WPGBitmap.cpp Log Message: don't assume 1200 dpi if the document specifies different one Index: WPG2Parser.cpp =================================================================== RCS file: /cvsroot/libwpg/libwpg/src/lib/WPG2Parser.cpp,v retrieving revision 1.58.2.8 retrieving revision 1.58.2.9 diff -u -d -r1.58.2.8 -r1.58.2.9 --- WPG2Parser.cpp 9 Jul 2008 13:46:32 -0000 1.58.2.8 +++ WPG2Parser.cpp 9 Jul 2008 14:45:58 -0000 1.58.2.9 @@ -38,7 +38,7 @@ #define M_PI 3.14159265358979323846 #endif -#define DUMP_BINARY_DATA 1 +#define DUMP_BINARY_DATA 0 static const unsigned char defaultWPG2PaletteRed[] = { 0x00, 0xFF, 0x7F, 0xBF, 0x00, 0x00, 0x00, 0x7F, @@ -1776,10 +1776,10 @@ long ys1 = (y1 <= y2) ? y1 : y2; long ys2 = (y1 <= y2) ? y2 : y1; - m_binaryData.x1 = TO_DOUBLE(xs1) / 1200; - m_binaryData.y1 = TO_DOUBLE(ys1) / 1200; - m_binaryData.x2 = TO_DOUBLE(xs2) / 1200; - m_binaryData.y2 = TO_DOUBLE(ys2) / 1200; + m_binaryData.x1 = TO_DOUBLE(xs1) / m_xres; + m_binaryData.y1 = TO_DOUBLE(ys1) / m_yres; + m_binaryData.x2 = TO_DOUBLE(xs2) / m_xres; + m_binaryData.y2 = TO_DOUBLE(ys2) / m_yres; unsigned long numDescriptions = readU16(); Index: WPGBitmap.cpp =================================================================== RCS file: /cvsroot/libwpg/libwpg/src/lib/WPGBitmap.cpp,v retrieving revision 1.11.2.4 retrieving revision 1.11.2.5 diff -u -d -r1.11.2.4 -r1.11.2.5 --- WPGBitmap.cpp 9 Jul 2008 13:46:32 -0000 1.11.2.4 +++ WPGBitmap.cpp 9 Jul 2008 14:45:58 -0000 1.11.2.5 @@ -29,7 +29,7 @@ #include <sstream> -#define DUMP_BITMAP 1 +#define DUMP_BITMAP 0 #if DUMP_BITMAP static unsigned bitmapId = 0; |
From: Fridrich S. <str...@us...> - 2008-07-09 13:46:35
|
Update of /cvsroot/libwpg/libwpg/src/lib In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13560/src/lib Modified Files: Tag: STABLE-0-1-0 WPG2Parser.cpp WPG2Parser.h WPGBitmap.cpp Log Message: Add some useful dump and debug capabilities and fix a wrong seek Index: WPG2Parser.cpp =================================================================== RCS file: /cvsroot/libwpg/libwpg/src/lib/WPG2Parser.cpp,v retrieving revision 1.58.2.7 retrieving revision 1.58.2.8 diff -u -d -r1.58.2.7 -r1.58.2.8 --- WPG2Parser.cpp 11 Dec 2007 14:58:52 -0000 1.58.2.7 +++ WPG2Parser.cpp 9 Jul 2008 13:46:32 -0000 1.58.2.8 @@ -31,12 +31,15 @@ #include <math.h> #include <vector> +#include <sstream> // MSVC++ 6.0 does not have the macro defined, so we define it #ifndef M_PI #define M_PI 3.14159265358979323846 #endif +#define DUMP_BINARY_DATA 1 + static const unsigned char defaultWPG2PaletteRed[] = { 0x00, 0xFF, 0x7F, 0xBF, 0x00, 0x00, 0x00, 0x7F, 0x7F, 0x7F, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0xFF, @@ -227,7 +230,8 @@ m_bitmap(), m_binaryData(), m_hFlipped(false), - m_vFlipped(false) + m_vFlipped(false), + m_binaryId(0) { } @@ -1785,8 +1789,8 @@ static const char* mimeTypesMap[] = { "", // 0 - "image/x-wpg", - "image/x-wpg", + "", // "image/x-wpg", + "", // "image/x-wpg", "", "", "", // 5 @@ -1830,7 +1834,7 @@ unsigned char description = readU8(); if (description < 0x27) m_binaryData.mimeTypes.push_back(libwpg::WPGString(mimeTypesMap[description])); - m_input->seek(2, WPX_SEEK_CUR); + m_input->seek(7, WPX_SEEK_CUR); } m_binaryData.objectIndex = 0; @@ -1864,8 +1868,10 @@ WPG_DEBUG_MSG((" Image Object Size : %li\n", (unsigned long)binaryData.size())); // temporary for debug - dump the binary data (need to have write access in the current directory -#if 0 - FILE *f = fopen("binarydump", "w"); +#if DUMP_BINARY_DATA + std::ostringstream filename; + filename << "binarydump" << m_binaryId++ << ".bin"; + FILE *f = fopen(filename.str().c_str(), "w"); const char *tmpBinaryBuffer = binaryData.getDataBuffer(); const size_t tmpBufferSize = binaryData.size(); for (size_t k = 0; k < tmpBufferSize; k++) Index: WPGBitmap.cpp =================================================================== RCS file: /cvsroot/libwpg/libwpg/src/lib/WPGBitmap.cpp,v retrieving revision 1.11.2.3 retrieving revision 1.11.2.4 diff -u -d -r1.11.2.3 -r1.11.2.4 --- WPGBitmap.cpp 11 Dec 2007 14:46:31 -0000 1.11.2.3 +++ WPGBitmap.cpp 9 Jul 2008 13:46:32 -0000 1.11.2.4 @@ -27,6 +27,14 @@ #include "WPGBitmap.h" #include "libwpg_utils.h" +#include <sstream> + +#define DUMP_BITMAP 1 + +#if DUMP_BITMAP +static unsigned bitmapId = 0; +#endif + class libwpg::WPGBitmap::Private { public: @@ -201,7 +209,9 @@ base64Encode(bmp, tmpDIBBuffer, tmpDIBFileSize); // temporary for debug - dump the binary bmp (need to have write access in the current directory -#if 0 +#if DUMP_BITMAP + std::ostringstream filename; + filename << "binarydump" << bitmapId++ << ".bmp"; FILE *f = fopen("binarydump.bmp", "w"); for (int k = 0; k < tmpDIBFileSize; k++) fprintf(f, "%c",tmpDIBBuffer[k]); Index: WPG2Parser.h =================================================================== RCS file: /cvsroot/libwpg/libwpg/src/lib/WPG2Parser.h,v retrieving revision 1.21.2.1 retrieving revision 1.21.2.2 diff -u -d -r1.21.2.1 -r1.21.2.2 --- WPG2Parser.h 11 Dec 2007 14:46:31 -0000 1.21.2.1 +++ WPG2Parser.h 9 Jul 2008 13:46:32 -0000 1.21.2.2 @@ -221,6 +221,7 @@ class ObjectCharacterization; void parseCharacterization(ObjectCharacterization*); + unsigned m_binaryId; }; #endif // __WPG2PARSER_H__ |
From: Fridrich S. <str...@us...> - 2008-07-09 13:45:35
|
Update of /cvsroot/libwpg/libwpg/src/lib In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13172/src/lib Modified Files: WPG2Parser.cpp WPG2Parser.h WPGBitmap.cpp Log Message: Add some useful dump and debug capabilities and fix a wrong seek Index: WPG2Parser.cpp =================================================================== RCS file: /cvsroot/libwpg/libwpg/src/lib/WPG2Parser.cpp,v retrieving revision 1.65 retrieving revision 1.66 diff -u -d -r1.65 -r1.66 --- WPG2Parser.cpp 11 Dec 2007 14:59:32 -0000 1.65 +++ WPG2Parser.cpp 9 Jul 2008 13:45:30 -0000 1.66 @@ -31,12 +31,15 @@ #include <math.h> #include <vector> +#include <sstream> // MSVC++ 6.0 does not have the macro defined, so we define it #ifndef M_PI #define M_PI 3.14159265358979323846 #endif +#define DUMP_BINARY_DATA 1 + static const unsigned char defaultWPG2PaletteRed[] = { 0x00, 0xFF, 0x7F, 0xBF, 0x00, 0x00, 0x00, 0x7F, 0x7F, 0x7F, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0xFF, @@ -227,7 +230,8 @@ m_bitmap(), m_binaryData(), m_hFlipped(false), - m_vFlipped(false) + m_vFlipped(false), + m_binaryId(0) { } @@ -1785,8 +1789,8 @@ static const char* mimeTypesMap[] = { "", // 0 - "image/x-wpg", - "image/x-wpg", + "", // "image/x-wpg", + "", // "image/x-wpg", "", "", "", // 5 @@ -1830,7 +1834,7 @@ unsigned char description = readU8(); if (description < 0x27) m_binaryData.mimeTypes.push_back(libwpg::WPGString(mimeTypesMap[description])); - m_input->seek(2, WPX_SEEK_CUR); + m_input->seek(7, WPX_SEEK_CUR); } m_binaryData.objectIndex = 0; @@ -1864,8 +1868,10 @@ WPG_DEBUG_MSG((" Image Object Size : %li\n", (unsigned long)binaryData.size())); // temporary for debug - dump the binary data (need to have write access in the current directory -#if 0 - FILE *f = fopen("binarydump", "w"); +#if DUMP_BINARY_DATA + std::ostringstream filename; + filename << "binarydump" << m_binaryId++ << ".bin"; + FILE *f = fopen(filename.str().c_str(), "w"); const char *tmpBinaryBuffer = binaryData.getDataBuffer(); const size_t tmpBufferSize = binaryData.size(); for (size_t k = 0; k < tmpBufferSize; k++) Index: WPGBitmap.cpp =================================================================== RCS file: /cvsroot/libwpg/libwpg/src/lib/WPGBitmap.cpp,v retrieving revision 1.16 retrieving revision 1.17 diff -u -d -r1.16 -r1.17 --- WPGBitmap.cpp 12 Apr 2008 23:10:00 -0000 1.16 +++ WPGBitmap.cpp 9 Jul 2008 13:45:30 -0000 1.17 @@ -27,6 +27,14 @@ #include "WPGBitmap.h" #include "libwpg_utils.h" +#include <sstream> + +#define DUMP_BITMAP 1 + +#if DUMP_BITMAP +static unsigned bitmapId = 0; +#endif + class libwpg::WPGBitmap::Private { public: @@ -201,7 +209,9 @@ base64Encode(bmp, tmpDIBBuffer, tmpDIBFileSize); // temporary for debug - dump the binary bmp (need to have write access in the current directory -#if 0 +#if DUMP_BITMAP + std::ostringstream filename; + filename << "binarydump" << bitmapId++ << ".bmp"; FILE *f = fopen("binarydump.bmp", "w"); for (unsigned k = 0; k < tmpDIBFileSize; k++) fprintf(f, "%c",tmpDIBBuffer[k]); Index: WPG2Parser.h =================================================================== RCS file: /cvsroot/libwpg/libwpg/src/lib/WPG2Parser.h,v retrieving revision 1.22 retrieving revision 1.23 diff -u -d -r1.22 -r1.23 --- WPG2Parser.h 11 Dec 2007 14:46:49 -0000 1.22 +++ WPG2Parser.h 9 Jul 2008 13:45:30 -0000 1.23 @@ -221,6 +221,7 @@ class ObjectCharacterization; void parseCharacterization(ObjectCharacterization*); + unsigned m_binaryId; }; #endif // __WPG2PARSER_H__ |
From: Fridrich S. <str...@us...> - 2008-04-12 23:10:09
|
Update of /cvsroot/libwpg/libwpg/src/lib In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32645/src/lib Modified Files: WPGBitmap.cpp Log Message: fix some warnings Index: WPGBitmap.cpp =================================================================== RCS file: /cvsroot/libwpg/libwpg/src/lib/WPGBitmap.cpp,v retrieving revision 1.15 retrieving revision 1.16 diff -u -d -r1.15 -r1.16 --- WPGBitmap.cpp 9 Apr 2008 09:41:58 -0000 1.15 +++ WPGBitmap.cpp 12 Apr 2008 23:10:00 -0000 1.16 @@ -39,18 +39,18 @@ Private(int w, int h): width(w), height(h), vFlip(false), hFlip(false), pixels(0) {} }; -libwpg::WPGBitmap::WPGBitmap(int width, int height): rect(), d(new Private(width, height)) +libwpg::WPGBitmap::WPGBitmap(int w, int h): rect(), d(new Private(w, h)) { - d->pixels = new WPGColor[width*height]; + d->pixels = new WPGColor[w*h]; } -libwpg::WPGBitmap::WPGBitmap(int width, int height, bool verticalFlip, bool horizontalFlip) : +libwpg::WPGBitmap::WPGBitmap(int w, int h, bool verticalFlip, bool horizontalFlip) : rect(), - d(new Private(width, height)) + d(new Private(w, h)) { d->vFlip = verticalFlip; d->hFlip = horizontalFlip; - d->pixels = new WPGColor[width*height]; + d->pixels = new WPGColor[w*h]; } libwpg::WPGBitmap::~WPGBitmap() @@ -167,7 +167,7 @@ writeU8(tmpDIBBuffer, tmpBufferPosition, d->pixels[i*d->width + j].alpha); } else - for (int j = 0; j < d->width && tmpBufferPosition < tmpDIBFileSize; j++) + for (j = 0; j < d->width && tmpBufferPosition < tmpDIBFileSize; j++) { writeU8(tmpDIBBuffer, tmpBufferPosition, d->pixels[i*d->width + j].blue); writeU8(tmpDIBBuffer, tmpBufferPosition, d->pixels[i*d->width + j].green); @@ -176,7 +176,7 @@ } } else - for (int i = d->height - 1; i >= 0 && tmpBufferPosition < tmpDIBFileSize; i--) + for (i = d->height - 1; i >= 0 && tmpBufferPosition < tmpDIBFileSize; i--) { if (d->hFlip) for (j = d->width - 1; j >= 0 && tmpBufferPosition < tmpDIBFileSize; j--) @@ -187,7 +187,7 @@ writeU8(tmpDIBBuffer, tmpBufferPosition, d->pixels[i*d->width + j].alpha); } else - for (int j = 0; j < d->width && tmpBufferPosition < tmpDIBFileSize; j++) + for (j = 0; j < d->width && tmpBufferPosition < tmpDIBFileSize; j++) { writeU8(tmpDIBBuffer, tmpBufferPosition, d->pixels[i*d->width + j].blue); writeU8(tmpDIBBuffer, tmpBufferPosition, d->pixels[i*d->width + j].green); |
From: Fridrich S. <str...@us...> - 2008-04-09 09:42:06
|
Update of /cvsroot/libwpg/libwpg/src/lib In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv768/src/lib Modified Files: WPGBitmap.cpp Log Message: some more unsigned vs. signed stuff in code that is almost never used :-) Index: WPGBitmap.cpp =================================================================== RCS file: /cvsroot/libwpg/libwpg/src/lib/WPGBitmap.cpp,v retrieving revision 1.14 retrieving revision 1.15 diff -u -d -r1.14 -r1.15 --- WPGBitmap.cpp 11 Dec 2007 14:46:49 -0000 1.14 +++ WPGBitmap.cpp 9 Apr 2008 09:41:58 -0000 1.15 @@ -203,7 +203,7 @@ // temporary for debug - dump the binary bmp (need to have write access in the current directory #if 0 FILE *f = fopen("binarydump.bmp", "w"); - for (int k = 0; k < tmpDIBFileSize; k++) + for (unsigned k = 0; k < tmpDIBFileSize; k++) fprintf(f, "%c",tmpDIBBuffer[k]); fclose(f); #endif |
From: Fridrich S. <str...@us...> - 2008-04-08 12:13:15
|
Update of /cvsroot/libwpg/libwpg In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29455 Modified Files: Tag: STABLE-0-1-0 configure.in Log Message: Allow specifying the docdir and don't install documentation as executables (patch Michal Marek mm...@su...) Index: configure.in =================================================================== RCS file: /cvsroot/libwpg/libwpg/configure.in,v retrieving revision 1.15.2.2 retrieving revision 1.15.2.3 diff -u -d -r1.15.2.2 -r1.15.2.3 --- configure.in 13 Dec 2007 14:03:41 -0000 1.15.2.2 +++ configure.in 8 Apr 2008 12:13:10 -0000 1.15.2.3 @@ -1,4 +1,5 @@ AC_INIT(src/lib/WPGraphics.cpp) +AC_PREREQ([2.59c]) AM_CONFIG_HEADER(config.h) |
From: Fridrich S. <str...@us...> - 2008-04-08 12:13:15
|
Update of /cvsroot/libwpg/libwpg/docs/doxygen In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29455/docs/doxygen Modified Files: Tag: STABLE-0-1-0 Makefile.am Log Message: Allow specifying the docdir and don't install documentation as executables (patch Michal Marek mm...@su...) Index: Makefile.am =================================================================== RCS file: /cvsroot/libwpg/libwpg/docs/doxygen/Makefile.am,v retrieving revision 1.1 retrieving revision 1.1.4.1 diff -u -d -r1.1 -r1.1.4.1 --- Makefile.am 20 Apr 2007 09:43:35 -0000 1.1 +++ Makefile.am 8 Apr 2008 12:13:10 -0000 1.1.4.1 @@ -5,13 +5,13 @@ if WITH_LIBWPG_DOCS install-data-am: - mkdir -p $(DESTDIR)$(datadir)/doc/libwpg-@WPG_VERSION@/html - $(INSTALL) html/*.html $(DESTDIR)$(datadir)/doc/libwpg-@WPG_VERSION@/html/ - $(INSTALL) html/*.png $(DESTDIR)$(datadir)/doc/libwpg-@WPG_VERSION@/html/ - $(INSTALL) html/*.css $(DESTDIR)$(datadir)/doc/libwpg-@WPG_VERSION@/html/ + mkdir -p $(DESTDIR)$(docdir)/html + $(INSTALL_DATA) html/*.html $(DESTDIR)$(docdir)/html/ + $(INSTALL_DATA) html/*.png $(DESTDIR)$(docdir)/html/ + $(INSTALL_DATA) html/*.css $(DESTDIR)$(docdir)/html/ uninstall-am: - -rm -rf $(DESTDIR)$(datadir)/doc/libwpg-@WPG_VERSION@/html + -rm -rf $(DESTDIR)$(docdir)/html all: test -f header.html.in || $(LN_S) $(srcdir)/header.html.in ./ |
From: Fridrich S. <str...@us...> - 2008-04-08 12:12:52
|
Update of /cvsroot/libwpg/libwpg/docs/doxygen In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29077/docs/doxygen Modified Files: Makefile.am Log Message: Allow specifying the docdir and don't install documentation as executables (patch Michal Marek mm...@su...) + gcc 4.3 fixes Index: Makefile.am =================================================================== RCS file: /cvsroot/libwpg/libwpg/docs/doxygen/Makefile.am,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- Makefile.am 20 Apr 2007 09:43:35 -0000 1.1 +++ Makefile.am 8 Apr 2008 12:12:43 -0000 1.2 @@ -5,13 +5,13 @@ if WITH_LIBWPG_DOCS install-data-am: - mkdir -p $(DESTDIR)$(datadir)/doc/libwpg-@WPG_VERSION@/html - $(INSTALL) html/*.html $(DESTDIR)$(datadir)/doc/libwpg-@WPG_VERSION@/html/ - $(INSTALL) html/*.png $(DESTDIR)$(datadir)/doc/libwpg-@WPG_VERSION@/html/ - $(INSTALL) html/*.css $(DESTDIR)$(datadir)/doc/libwpg-@WPG_VERSION@/html/ + mkdir -p $(DESTDIR)$(docdir)/html + $(INSTALL_DATA) html/*.html $(DESTDIR)$(docdir)/html/ + $(INSTALL_DATA) html/*.png $(DESTDIR)$(docdir)/html/ + $(INSTALL_DATA) html/*.css $(DESTDIR)$(docdir)/html/ uninstall-am: - -rm -rf $(DESTDIR)$(datadir)/doc/libwpg-@WPG_VERSION@/html + -rm -rf $(DESTDIR)$(docdir)/html all: test -f header.html.in || $(LN_S) $(srcdir)/header.html.in ./ |
From: Fridrich S. <str...@us...> - 2008-04-08 12:12:52
|
Update of /cvsroot/libwpg/libwpg/src/lib In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29077/src/lib Modified Files: WPGraphics.cpp Log Message: Allow specifying the docdir and don't install documentation as executables (patch Michal Marek mm...@su...) + gcc 4.3 fixes Index: WPGraphics.cpp =================================================================== RCS file: /cvsroot/libwpg/libwpg/src/lib/WPGraphics.cpp,v retrieving revision 1.13 retrieving revision 1.14 diff -u -d -r1.13 -r1.14 --- WPGraphics.cpp 16 Nov 2007 20:19:27 -0000 1.13 +++ WPGraphics.cpp 8 Apr 2008 12:12:43 -0000 1.14 @@ -172,8 +172,8 @@ { std::ostringstream tmpOutputStream; libwpg::WPGSVGGenerator generator(tmpOutputStream); - bool result; - if (result = libwpg::WPGraphics::parse(input, &generator, fileFormat)) + bool result = libwpg::WPGraphics::parse(input, &generator, fileFormat); + if (result) output = WPGString(tmpOutputStream.str().c_str()); else output = WPGString(""); |
From: Fridrich S. <str...@us...> - 2008-04-08 12:12:52
|
Update of /cvsroot/libwpg/libwpg In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29077 Modified Files: configure.in Log Message: Allow specifying the docdir and don't install documentation as executables (patch Michal Marek mm...@su...) + gcc 4.3 fixes Index: configure.in =================================================================== RCS file: /cvsroot/libwpg/libwpg/configure.in,v retrieving revision 1.17 retrieving revision 1.18 diff -u -d -r1.17 -r1.18 --- configure.in 19 Oct 2007 18:52:10 -0000 1.17 +++ configure.in 8 Apr 2008 12:12:42 -0000 1.18 @@ -1,4 +1,5 @@ AC_INIT(src/lib/WPGraphics.cpp) +AC_PREREQ([2.59c]) AM_CONFIG_HEADER(config.h) |
From: Fridrich S. <str...@us...> - 2008-04-03 09:29:23
|
Update of /cvsroot/libwpg/libwpg/src/lib In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv910/src/lib Modified Files: WPGSVGGenerator.cpp Log Message: pkgconfig is needed + polygon instead of polyline Index: WPGSVGGenerator.cpp =================================================================== RCS file: /cvsroot/libwpg/libwpg/src/lib/WPGSVGGenerator.cpp,v retrieving revision 1.11 retrieving revision 1.12 diff -u -d -r1.11 -r1.12 --- WPGSVGGenerator.cpp 7 Jul 2007 17:30:22 -0000 1.11 +++ WPGSVGGenerator.cpp 3 Apr 2008 09:28:35 -0000 1.12 @@ -179,7 +179,7 @@ } else { - m_outputSink << "<polyline "; + m_outputSink << "<polygon "; m_outputSink << "points=\""; for(unsigned i = 0; i < vertices.count(); i++) { |
From: Fridrich S. <str...@us...> - 2008-04-03 09:29:06
|
Update of /cvsroot/libwpg/libwpg In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv910 Modified Files: libwpg.spec.in Log Message: pkgconfig is needed + polygon instead of polyline Index: libwpg.spec.in =================================================================== RCS file: /cvsroot/libwpg/libwpg/libwpg.spec.in,v retrieving revision 1.10 retrieving revision 1.11 diff -u -d -r1.10 -r1.11 --- libwpg.spec.in 8 Oct 2007 20:47:25 -0000 1.10 +++ libwpg.spec.in 3 Apr 2008 09:28:35 -0000 1.11 @@ -11,7 +11,7 @@ Group: System Environment/Libraries URL: http://libwpg.sf.net/ BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot -BuildRequires: libwpd-devel >= 0.8.0, gcc-c++, libstdc++-devel, pkgconfig +BuildRequires: libwpd-devel >= 0.8.0, gcc-c++, libstdc++-devel, pkgconfig >= 0.9.0 License: LGPL Prefix: %{prefix} |
From: Fridrich S. <str...@us...> - 2008-04-03 09:25:45
|
Update of /cvsroot/libwpg/libwpg/src/lib In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv419/src/lib Modified Files: Tag: STABLE-0-1-0 WPGSVGGenerator.cpp Log Message: pkgconfig is needed + polygon instead of polyline Index: WPGSVGGenerator.cpp =================================================================== RCS file: /cvsroot/libwpg/libwpg/src/lib/WPGSVGGenerator.cpp,v retrieving revision 1.11.2.1 retrieving revision 1.11.2.2 diff -u -d -r1.11.2.1 -r1.11.2.2 --- WPGSVGGenerator.cpp 3 Dec 2007 14:44:48 -0000 1.11.2.1 +++ WPGSVGGenerator.cpp 3 Apr 2008 09:25:39 -0000 1.11.2.2 @@ -178,7 +178,7 @@ } else { - m_outputSink << "<polyline "; + m_outputSink << "<polygon "; m_outputSink << "points=\""; for(unsigned i = 0; i < vertices.count(); i++) { |
From: Fridrich S. <str...@us...> - 2008-04-03 09:25:45
|
Update of /cvsroot/libwpg/libwpg In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv419 Modified Files: Tag: STABLE-0-1-0 libwpg.spec.in Log Message: pkgconfig is needed + polygon instead of polyline Index: libwpg.spec.in =================================================================== RCS file: /cvsroot/libwpg/libwpg/libwpg.spec.in,v retrieving revision 1.9 retrieving revision 1.9.2.1 diff -u -d -r1.9 -r1.9.2.1 --- libwpg.spec.in 30 Aug 2007 21:35:34 -0000 1.9 +++ libwpg.spec.in 3 Apr 2008 09:25:39 -0000 1.9.2.1 @@ -11,7 +11,7 @@ Group: System Environment/Libraries URL: http://libwpg.sf.net/ BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot -BuildRequires: libwpd-devel >= 0.8.0, gcc-c++, libstdc++-devel, pkgconfig +BuildRequires: libwpd-devel >= 0.8.0, gcc-c++, libstdc++-devel, pkgconfig >= 0.9.0 License: LGPL Prefix: %{prefix} |
From: Fridrich S. <str...@us...> - 2008-03-17 19:42:27
|
Update of /cvsroot/libwpg/libwpg In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11117 Modified Files: autogen.sh Log Message: let autogen.sh not call configure at all Index: autogen.sh =================================================================== RCS file: /cvsroot/libwpg/libwpg/autogen.sh,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- autogen.sh 2 Oct 2007 08:58:26 -0000 1.4 +++ autogen.sh 17 Mar 2008 19:42:23 -0000 1.5 @@ -58,16 +58,3 @@ echo "error: autoconf failed" exit 1 } - -cd $olddir - -conf_flags="--enable-maintainer-mode" - -if test x$NOCONFIGURE = x; then - echo Running $srcdir/configure $conf_flags "$@" ... - $srcdir/configure $conf_flags "$@" \ - && echo Now type \`make\' to compile. || exit 1 -else - echo Skipping configure process. -fi - |
From: Fridrich S. <str...@us...> - 2008-03-17 19:41:33
|
Update of /cvsroot/libwpg/libwpg In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10709 Modified Files: Tag: STABLE-0-1-0 autogen.sh Log Message: let autogen.sh not call configure at all Index: autogen.sh =================================================================== RCS file: /cvsroot/libwpg/libwpg/autogen.sh,v retrieving revision 1.4.2.1 retrieving revision 1.4.2.2 diff -u -d -r1.4.2.1 -r1.4.2.2 --- autogen.sh 3 Dec 2007 14:44:48 -0000 1.4.2.1 +++ autogen.sh 17 Mar 2008 19:41:29 -0000 1.4.2.2 @@ -58,16 +58,3 @@ echo "error: autoconf failed" exit 1 } - -cd $olddir - -conf_flags="--enable-maintainer-mode" - -if test x$NOCONFIGURE = x; then - echo Running $srcdir/configure $conf_flags "$@" ... - $srcdir/configure $conf_flags "$@" \ - && echo Now type \`make\' to compile. || exit 1 -else - echo Skipping configure process. -fi - |
From: Fridrich S. <str...@us...> - 2007-12-13 14:03:52
|
Update of /cvsroot/libwpg/libwpg In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv20100 Modified Files: Tag: STABLE-0-1-0 ChangeLog configure.in Log Message: preparing release 0.1.2 Index: ChangeLog =================================================================== RCS file: /cvsroot/libwpg/libwpg/ChangeLog,v retrieving revision 1.2.2.1 retrieving revision 1.2.2.2 diff -u -d -r1.2.2.1 -r1.2.2.2 --- ChangeLog 3 Dec 2007 14:44:48 -0000 1.2.2.1 +++ ChangeLog 13 Dec 2007 14:03:41 -0000 1.2.2.2 @@ -1,3 +1,14 @@ +0.1.1 - 0.1.2 +- Work around an issue with relative seeks backward and certain versions of libstdc++ + in the buffered stream implementation (Fridrich, sum1) +- Fix regression in decoding of bitmap in WPG2 files (Fridrich, sum1). +- Fix a bug in reading bitmap size in double precision WPG2 files (Fridrich, sum1). +- Remove some abuse of pointers in wpg2foo tools (Fridrich). +- Fix some signedness problems (Fridrich). +- Fix some array-out-of-bond errors in decoding of bitmap with corrupted + WPG1 documents (Fridrich, sum1). +- Add some sanity checks (Fridrich). + 0.1.0 - 0.1.1 - Make win32 crosscompilation very smooth (Fridrich) - Implement win32 binary packaging using Makefile Index: configure.in =================================================================== RCS file: /cvsroot/libwpg/libwpg/configure.in,v retrieving revision 1.15.2.1 retrieving revision 1.15.2.2 diff -u -d -r1.15.2.1 -r1.15.2.2 --- configure.in 3 Dec 2007 14:44:48 -0000 1.15.2.1 +++ configure.in 13 Dec 2007 14:03:41 -0000 1.15.2.2 @@ -4,7 +4,7 @@ WPG_MAJOR_VERSION=0 WPG_MINOR_VERSION=1 -WPG_MICRO_VERSION=1 +WPG_MICRO_VERSION=2 WPG_VERSION="$WPG_MAJOR_VERSION.$WPG_MINOR_VERSION.$WPG_MICRO_VERSION" |
From: Fridrich S. <str...@us...> - 2007-12-11 14:59:37
|
Update of /cvsroot/libwpg/libwpg/src/lib In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv31619/src/lib Modified Files: WPG2Parser.cpp Log Message: fix being overkeen :-) Index: WPG2Parser.cpp =================================================================== RCS file: /cvsroot/libwpg/libwpg/src/lib/WPG2Parser.cpp,v retrieving revision 1.64 retrieving revision 1.65 diff -u -d -r1.64 -r1.65 --- WPG2Parser.cpp 11 Dec 2007 14:49:21 -0000 1.64 +++ WPG2Parser.cpp 11 Dec 2007 14:59:32 -0000 1.65 @@ -1357,17 +1357,9 @@ if (objCh.scale) { if (objCh.sxcos < 0) - { m_hFlipped = true; - objCh.sxcos = -objCh.sxcos; - objCh.matrix.element[0][0] = -objCh.matrix.element[0][0]; - } if (objCh.sycos < 0) - { m_vFlipped = true; - objCh.sycos = -objCh.sycos; - objCh.matrix.element[1][1] = -objCh.matrix.element[1][1]; - } } m_matrix = objCh.matrix; |