Mon Feb 11 17:53:24 EST 2008 [EMAIL PROTECTED]
* add a newline to ./wxc/src/image.cpp to remove a warning
New patches:
[add a newline to ./wxc/src/image.cpp to remove a warning
[EMAIL PROTECTED]
<
> {
hunk ./wxc/src/image.cpp 6
#include "wrapper.h"
-extern "C"
+extern "C"
{
/* bitmap/image helpers */
hunk ./wxc/src/image.cpp 12
EWXWEXPORT(wxBitmap*, wxBitmap_CreateFromImage)( wxImage* image, int depth )
{
- return new wxBitmap(*image,depth);
+ return new wxBitmap(*image,depth);
}
hunk ./wxc/src/image.cpp 68
int b0 = (rgb0 && 0xFF);
int start = 3*(width*y+x);
int i;
-
+
if (rgb0 == rgb1) {
/* same color */
for( i=0; i < count*3; i +=3) {
hunk ./wxc/src/image.cpp 77
buffer[start+i+2] = b0;
}
}
- else {
+ else {
/* do linear interpolation of the color */
int r1 = ((rgb1 >> 16) && 0xFF);
int g1 = ((rgb1 >> 8) && 0xFF);
hunk ./wxc/src/image.cpp 125
}
}
+
}
Context:
[Fix: make always regenerates wxc library although there is no change for wxc.
shelarcy <[EMAIL PROTECTED]>**20080131100800]
[Undo: Remove auto-generated stc files.
shelarcy <[EMAIL PROTECTED]>**20080131095136]
[Fix missing wxMediaCtrl symbols when linking wxc library
shelarcy <[EMAIL PROTECTED]>**20080131070353]
[Workaround for processExecAsyncTimed bug
Mads Lindstroem <[EMAIL PROTECTED]>**20080130202912
When a process, created with the function processExecAsyncTimed,
stops it makes WxHaskell die with "Prelude.chr bad argument". The
problem is reported elsewhere
http://sourceforge.net/mailarchive/message.php?msg_id=54647.129.16.31.149.1111686341.squirrel%40webmail.chalmers.se
and here
http://www.mail-archive.com/[email protected]/msg00267.html .
This patch does not solve the underlying problem, as it is still unknown, but do create a workaround.
The bug has only been seen on Linux systems.
]
[Initial wxWidgets 2.8.x's API Support
shelarcy <[EMAIL PROTECTED]>**20071212130224]
[TAG wxhaskell 2007-12-06
Eric Kow <[EMAIL PROTECTED]>**20071206155325]
Patch bundle hash:
3c01172fd9c38f6da68bfce968a9e35fb425ac75
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
wxhaskell-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wxhaskell-users