You can subscribe to this list here.
2008 |
Jan
|
Feb
(53) |
Mar
(145) |
Apr
(22) |
May
(7) |
Jun
(14) |
Jul
(14) |
Aug
(9) |
Sep
(10) |
Oct
(48) |
Nov
(59) |
Dec
(45) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2009 |
Jan
(36) |
Feb
(5) |
Mar
(33) |
Apr
(28) |
May
(5) |
Jun
(6) |
Jul
(1) |
Aug
(7) |
Sep
(11) |
Oct
(3) |
Nov
(31) |
Dec
|
2010 |
Jan
(8) |
Feb
(3) |
Mar
|
Apr
(2) |
May
(9) |
Jun
(1) |
Jul
(2) |
Aug
|
Sep
(1) |
Oct
(1) |
Nov
|
Dec
|
2011 |
Jan
(1) |
Feb
(3) |
Mar
(4) |
Apr
(1) |
May
(2) |
Jun
(12) |
Jul
(36) |
Aug
(7) |
Sep
(40) |
Oct
(6) |
Nov
(40) |
Dec
(8) |
2012 |
Jan
(54) |
Feb
(8) |
Mar
(1) |
Apr
(16) |
May
(2) |
Jun
(12) |
Jul
(1) |
Aug
(1) |
Sep
(2) |
Oct
(2) |
Nov
|
Dec
(7) |
2013 |
Jan
(8) |
Feb
|
Mar
(13) |
Apr
(2) |
May
(13) |
Jun
(44) |
Jul
|
Aug
(13) |
Sep
(12) |
Oct
(11) |
Nov
(7) |
Dec
(6) |
2014 |
Jan
(3) |
Feb
(4) |
Mar
(9) |
Apr
(1) |
May
|
Jun
(3) |
Jul
(1) |
Aug
(1) |
Sep
(1) |
Oct
|
Nov
|
Dec
|
2015 |
Jan
|
Feb
(2) |
Mar
|
Apr
|
May
(2) |
Jun
(3) |
Jul
|
Aug
(2) |
Sep
(5) |
Oct
(2) |
Nov
(1) |
Dec
(1) |
2017 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(1) |
Dec
|
2020 |
Jan
(1) |
Feb
|
Mar
|
Apr
(1) |
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Kido T. <she...@co...> - 2009-01-07 02:17:09
|
Tue Jan 6 12:11:39 EST 2009 shelarcy <she...@gm...> * Add Word support. Ignore-this: 81376472899f15f9724f724b656c251d M ./wxc/include/wxc_types.h +3 M ./wxcore/src/Graphics/UI/WXCore/WxcTypes.hs +2 M ./wxdirect/src/CompileClasses.hs +2 M ./wxdirect/src/ParseC.hs +1 M ./wxdirect/src/Types.hs +1 View patch online: http://code.haskell.org/wxhaskell/_darcs/patches/20090106171139-c1071-8db30797e7c8eda50c7d3d586408076ab2ea1844.gz |
From: Kido T. <she...@co...> - 2009-01-07 02:17:09
|
Tue Jan 6 10:18:18 EST 2009 shelarcy <she...@gm...> * Change Color's primitive type from CChar to Word8. Ignore-this: a63da969a83ee42f141db3797b824fc8 M ./wxc/include/wxc_glue.h -9 +10 M ./wxc/include/wxc_types.h -1 +2 M ./wxc/src/eljcolour.cpp -30 +35 M ./wxc/src/image.cpp -13 +13 M ./wxcore/src/Graphics/UI/WXCore/Image.hs -14 +14 M ./wxcore/src/Graphics/UI/WXCore/WxcTypes.hs -11 +8 M ./wxdirect/src/CompileClasses.hs -4 +4 View patch online: http://code.haskell.org/wxhaskell/_darcs/patches/20090106151818-c1071-b3fd49157f35d454f34b7ee643d099d649e2ab17.gz |
From: Kido T. <she...@co...> - 2009-01-07 02:17:06
|
Tue Jan 6 21:10:37 EST 2009 shelarcy <she...@gm...> * Fix typos in previous color's alpha channel support. Ignore-this: 710e1ec9472142465ed050c97e49892d M ./wxc/include/wxc.h -1 +1 M ./wxc/src/image.cpp -5 +5 View patch online: http://code.haskell.org/wxhaskell/_darcs/patches/20090107021037-c1071-d09eedc024a31d976f45a7c2ea35d2b21c3ff4da.gz |
From: Kido T. <she...@co...> - 2009-01-07 02:17:04
|
Tue Jan 6 13:23:10 EST 2009 shelarcy <she...@gm...> * Add experimental alpha channel support to Color type. Ignore-this: 6c35ed5d80bed81134a6110cd9cfb60a M ./wxc/include/wxc.h -4 +12 M ./wxc/src/image.cpp +107 M ./wxcore/src/Graphics/UI/WXCore/WxcTypes.hs -20 +54 View patch online: http://code.haskell.org/wxhaskell/_darcs/patches/20090106182310-c1071-8b44260061882cd489e93634499909f1f4e2bf3d.gz |
From: Kido T. <she...@co...> - 2009-01-07 02:17:04
|
Tue Jan 6 08:29:11 EST 2009 shelarcy <she...@gm...> * Bump version number to 0.11.1 Ignore-this: d945970996e6812d312a0592c2ff2b6e M ./configure -1 +1 M ./wx/wx.cabal -1 +1 M ./wxc/wxc-2.8.dsp -4 +4 M ./wxcore.cabal -1 +1 M ./wxdirect/wxdirect.cabal -1 +1 View patch online: http://code.haskell.org/wxhaskell/_darcs/patches/20090106132911-c1071-851bb3e1ad51fb540ac2991dda8d69229daf9ce5.gz |
From: Henk-Jan v. T. <hj...@ch...> - 2009-01-06 20:27:33
|
L.S., When writing several lines of text in a window, with different font families, all text is written in the same font. Bold, underline and italic work properly. See the attached program and image. Package: wxHaskell 0.11.0, wxWidgets 2.8.9 OS: Windows XP Compiler: GHC version 6.10.1 -- Regards, Henk-Jan van Tuyl -- http://functor.bamikanarie.com http://Van.Tuyl.eu/ -- |
From: shelarcy <she...@gm...> - 2009-01-06 18:33:28
|
DarcsURL: C:/home/shelarcy/wxhaskell MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=_" --=_ Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Tue Jan 6 22:29:11 =93=8C=8B=9E (=95W=8F=80=8E=9E) 2009 shelarcy <shelarc= y...@gm...> * Bump version number to 0.11.1 Tue Jan 6 23:13:58 =93=8C=8B=9E (=95W=8F=80=8E=9E) 2009 shelarcy <shelarc= y...@gm...> * Add Word8 and Word32 support. Wed Jan 7 00:18:18 =93=8C=8B=9E (=95W=8F=80=8E=9E) 2009 shelarcy <shelarc= y...@gm...> * Change Color's primitive type from CChar to Word8. Wed Jan 7 02:11:39 =93=8C=8B=9E (=95W=8F=80=8E=9E) 2009 shelarcy <shelarc= y...@gm...> * Add Word support. Wed Jan 7 03:23:10 =93=8C=8B=9E (=95W=8F=80=8E=9E) 2009 shelarcy <shelarc= y...@gm...> * Add experimental alpha channel support to Color type. --=_ Content-Type: text/x-darcs-patch; name="bump-version-number-to-0_11_1.dpatch" Content-Transfer-Encoding: quoted-printable Content-Description: A darcs patch for your repository! New patches: [Bump version number to 0.11.1 shelarcy <she...@gm...>**20090106132911 Ignore-this: d945970996e6812d312a0592c2ff2b6e ] { hunk ./configure 15 #-------------------------------------------------------------------- # Versioning #-------------------------------------------------------------------- -version=3D"0.11.0" +version=3D"0.11.1" release=3D"0" = #-------------------------------------------------------------------- hunk ./wx/wx.cabal 2 Name: wx -Version: 0.11.0 +Version: 0.11.1 License: LGPL License-file: license.txt Homepage: http://haskell.org/haskellwiki/WxHaskell hunk ./wxc/wxc-2.8.dsp 57 LINK32=3Dlink.exe=0D # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.= lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odb= ccp32.lib /nologo /dll /machine:I386=0D =0D -# ADD LINK32 wxzlib.lib wxregexu.lib wxpng.lib wxjpeg.lib wxtiff.lib wxexp= at.lib wxbase28u.lib wxbase28u_net.lib wxbase28u_odbc.lib wxbase28u_xml.lib= wxmsw28u_core.lib wxmsw28u_adv.lib wxmsw28u_dbgrid.lib wxmsw28u_gl.lib wxm= sw28u_html.lib wxmsw28u_media.lib wxmsw28u_stc.lib wxmsw28u_svg.lib wxmsw28= u_xrc.lib kernel32.lib user32.lib gdi32.lib gdiplus.lib winspool.lib comdlg= 32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib = odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib opengl32.lib winmm.lib /no= logo /dll /machine:I386 /nodefaultlib:"LIBCMT" /out:"..\dist\wxc\wxc-msw2.8= .9-0.11.0.dll" /libpath:"..\..\wxWidgets-2.8.9\lib\vc_lib"=0D +# ADD LINK32 wxzlib.lib wxregexu.lib wxpng.lib wxjpeg.lib wxtiff.lib wxexp= at.lib wxbase28u.lib wxbase28u_net.lib wxbase28u_odbc.lib wxbase28u_xml.lib= wxmsw28u_core.lib wxmsw28u_adv.lib wxmsw28u_dbgrid.lib wxmsw28u_gl.lib wxm= sw28u_html.lib wxmsw28u_media.lib wxmsw28u_stc.lib wxmsw28u_svg.lib wxmsw28= u_xrc.lib kernel32.lib user32.lib gdi32.lib gdiplus.lib winspool.lib comdlg= 32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib = odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib opengl32.lib winmm.lib /no= logo /dll /machine:I386 /nodefaultlib:"LIBCMT" /out:"..\dist\wxc\wxc-msw2.8= .9-0.11.1.dll" /libpath:"..\..\wxWidgets-2.8.9\lib\vc_lib"=0D # Begin Special Build Tool=0D SOURCE=3D"$(InputPath)"=0D hunk ./wxc/wxc-2.8.dsp 60 -PostBuild_Cmds=3Decho Generating mingw32 import library ... ..\bin\reimp .= .\dist\wxc\wxc-msw2.8.9-0.11.0.lib move libwxc-msw2.8.9-0.11.0.a ..\dist\wx= c move wxc-msw2.8.9-0.11.0.def ..\dist\wxc echo Done.=0D +PostBuild_Cmds=3Decho Generating mingw32 import library ... ..\bin\reimp .= .\dist\wxc\wxc-msw2.8.9-0.11.1.lib move libwxc-msw2.8.9-0.11.1.a ..\dist\wx= c move wxc-msw2.8.9-0.11.1.def ..\dist\wxc echo Done.=0D # End Special Build Tool=0D =0D !ELSEIF "$(CFG)" =3D=3D "wxc - Win32 Debug"=0D hunk ./wxc/wxc-2.8.dsp 88 LINK32=3Dlink.exe=0D # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.= lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odb= ccp32.lib /nologo /dll /debug /machine:I386 /pdbtype:sept=0D =0D -# ADD LINK32 wxzlibd.lib wxregexud.lib wxpngd.lib wxjpegd.lib wxtiffd.lib = wxexpatd.lib wxbase28ud.lib wxbase28ud_net.lib wxbase28ud_odbc.lib wxbase28= ud_xml.lib wxmsw28ud_core.lib wxmsw28ud_adv.lib wxmsw28ud_dbgrid.lib wxmsw2= 8ud_gl.lib wxmsw28ud_html.lib wxmsw28ud_media.lib wxmsw28ud_stc.lib wxmsw28= ud_svg.lib wxmsw28ud_xrc.lib kernel32.lib user32.lib gdi32.lib gdiplus.lib = winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib u= uid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib opengl3= 2.lib winmm.lib /nologo /dll /debug /machine:I386 /nodefaultlib:"LIBCMTD" /= out:"..\dist\wxc\wxcd-msw2.8.9-0.11.0.dll" /pdbtype:sept /libpath:"..\..\wx= Widgets-2.8.9\lib\vc_lib"=0D +# ADD LINK32 wxzlibd.lib wxregexud.lib wxpngd.lib wxjpegd.lib wxtiffd.lib = wxexpatd.lib wxbase28ud.lib wxbase28ud_net.lib wxbase28ud_odbc.lib wxbase28= ud_xml.lib wxmsw28ud_core.lib wxmsw28ud_adv.lib wxmsw28ud_dbgrid.lib wxmsw2= 8ud_gl.lib wxmsw28ud_html.lib wxmsw28ud_media.lib wxmsw28ud_stc.lib wxmsw28= ud_svg.lib wxmsw28ud_xrc.lib kernel32.lib user32.lib gdi32.lib gdiplus.lib = winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib u= uid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib opengl3= 2.lib winmm.lib /nologo /dll /debug /machine:I386 /nodefaultlib:"LIBCMTD" /= out:"..\dist\wxc\wxcd-msw2.8.9-0.11.1.dll" /pdbtype:sept /libpath:"..\..\wx= Widgets-2.8.9\lib\vc_lib"=0D # Begin Special Build Tool=0D SOURCE=3D"$(InputPath)"=0D hunk ./wxc/wxc-2.8.dsp 91 -PostBuild_Cmds=3Decho Generating mingw32 import library ... ..\bin\reimp .= .\dist\wxc\wxcd-msw2.8.9-0.11.0.lib move libwxcd-msw2.8.9-0.11.0.a ..\dist\= wxc move wxcd-msw2.8.9-0.11.0.def ..\dist\wxc echo Done.=0D +PostBuild_Cmds=3Decho Generating mingw32 import library ... ..\bin\reimp .= .\dist\wxc\wxcd-msw2.8.9-0.11.1.lib move libwxcd-msw2.8.9-0.11.1.a ..\dist\= wxc move wxcd-msw2.8.9-0.11.1.def ..\dist\wxc echo Done.=0D # End Special Build Tool=0D =0D !ENDIF =0D hunk ./wxcore.cabal 2 Name: wxcore -Version: 0.11.0 +Version: 0.11.1 License: LGPL License-file: license.txt Homepage: http://haskell.org/haskellwiki/WxHaskell hunk ./wxdirect/wxdirect.cabal 2 Name: wxdirect -Version: 0.11.0 +Version: 0.11.1 License: BSD3 Homepage: http://haskell.org/haskellwiki/WxHaskell Author: Daan Leijen } [Add Word8 and Word32 support. shelarcy <she...@gm...>**20090106141358 Ignore-this: 704189efa0ea7576c4752df6d9a39faf ] { hunk ./wxc/include/wxc_types.h 78 /* 64 bit integer */=0D #define TInt64 int64_t=0D =0D +/* 8 bit unsigned integer */=0D +#define TUInt8 uint8_t=0D +=0D +/* 32 bit unsigned integer */=0D +#define TUInt32 uint32_t=0D +=0D /* boolean as int */=0D #define TBoolInt int=0D =0D hunk ./wxdirect/src/CompileClasses.hs 562 Bool -> "Bool" Int _ -> "Int" Int64 -> "Int64" + Word8 -> "Word8" + Word32 -> "Word32" Void -> "()" Char -> "Char" Double -> "Double" hunk ./wxdirect/src/CompileClasses.hs 653 Bool -> "CBool" Int _ -> "CInt" Int64 -> "Int64" + Word8 -> "Word8" + Word32 -> "Word32" Void -> "()" Char -> "CWchar" Double -> "Double" hunk ./wxdirect/src/ParseC.hs 138 <|> do reserved "size_t"; return (Int SizeT) <|> do reserved "time_t"; return (Int TimeT) <|> do reserved "TInt64"; return Int64 + <|> do reserved "TUInt8"; return Word8 + <|> do reserved "TUInt32"; return Word32 <|> do reserved "TBool"; return Bool <|> do reserved "TBoolInt"; return Bool <|> do reserved "TChar"; return Char hunk ./wxdirect/src/Types.hs 83 = data Type =3D Int CBaseType | Int64 + | Word8 + | Word32 | Void | Char | Double } [Change Color's primitive type from CChar to Word8. shelarcy <she...@gm...>**20090106151818 Ignore-this: a63da969a83ee42f141db3797b824fc8 ] { hunk ./wxc/include/wxc_glue.h 1226 =0D /* wxColour */=0D TClassDefExtend(wxColour,wxObject)=0D +TUInt8 wxColour_Alpha( TSelf(wxColour) _obj );=0D void wxColour_Assign( TSelf(wxColour) _obj, void* other );=0D hunk ./wxc/include/wxc_glue.h 1228 -TChar wxColour_Blue( TSelf(wxColour) _obj );=0D +TUInt8 wxColour_Blue( TSelf(wxColour) _obj );=0D void wxColour_Copy( TSelf(wxColour) _obj, void* _other );=0D hunk ./wxc/include/wxc_glue.h 1230 -void* wxColour_CreateByName( TStringVoid _name );=0D +TClass(wxColour) wxColour_CreateByName( TClass(wxString) _name );=0D TClass(wxColour) wxColour_CreateEmpty( );=0D TClass(wxColour) wxColour_CreateFromStock( int id );=0D hunk ./wxc/include/wxc_glue.h 1233 -void* wxColour_CreateRGB( TChar _red, TChar _green, TChar _blue );=0D +TClass(wxColour) wxColour_CreateRGB( TUInt8 _red, TUInt8 _green, TUInt8 _b= lue, TUInt8 _alpha );=0D void wxColour_Delete( TSelf(wxColour) _obj );=0D //WXCOLORREF wxColour_GetPixel( TSelf(wxColour) _obj );=0D hunk ./wxc/include/wxc_glue.h 1236 -TChar wxColour_Green( TSelf(wxColour) _obj );=0D -TBool wxColour_Ok( TSelf(wxColour) _obj );=0D -TChar wxColour_Red( TSelf(wxColour) _obj );=0D -void wxColour_Set( TSelf(wxColour) _obj, TChar _red, TChar _green, T= Char _blue );=0D -void wxColour_SetByName( TSelf(wxColour) _obj, TStringVoid _name );= =0D -TBoolInt wxColour_ValidName( TStringVoid _name );=0D +TUInt8 wxColour_Green( TSelf(wxColour) _obj );=0D +TBool wxColour_IsOk( TSelf(wxColour) _obj );=0D +TUInt8 wxColour_Red( TSelf(wxColour) _obj );=0D +void wxColour_Set( TSelf(wxColour) _obj, TUInt8 _red, TUInt8 _green,= TUInt8 _blue, TUInt8 _alpha );=0D +void wxColour_SetByName( TSelf(wxColour) _obj, TClass(wxString) _nam= e );=0D +TBool wxColour_ValidName( TStringVoid _name );=0D =0D /* wxColourData */=0D TClassDefExtend(wxColourData,wxObject)=0D hunk ./wxc/include/wxc_types.h 16 #undef TClassDef=0D #undef TClassDefExtend=0D #undef TChar=0D +#undef TUInt8=0D #undef TInt64=0D #undef TBool=0D #undef TBoolInt=0D hunk ./wxc/include/wxc_types.h 116 #define TSizeOut(w,h) int* w, int* h=0D #define TRect(x,y,w,h) int x, int y, int w, int h=0D #define TRectOut(x,y,w,h) int* x, int* y, int* w, int* h=0D -#define TColorRGB(r,g,b) char r, char g, char b=0D +#define TColorRGB(r,g,b) TUInt8 r, TUInt8 g, TUInt8 b=0D =0D /* arrays */=0D #define TArrayLen int=0D hunk ./wxc/src/eljcolour.cpp 6 extern "C"=0D {=0D =0D -EWXWEXPORT(void*, wxColour_CreateEmpty) ()=0D +EWXWEXPORT(wxColour*,wxColour_CreateEmpty)()=0D {=0D hunk ./wxc/src/eljcolour.cpp 8 - return (void*) new wxColour();=0D + return new wxColour();=0D }=0D =0D hunk ./wxc/src/eljcolour.cpp 11 -EWXWEXPORT(void*, wxColour_CreateRGB) (char _red, char _green, char _blue)= =0D +EWXWEXPORT(wxColour*,wxColour_CreateRGB)(wxUint8 _red,wxUint8 _green,wxUin= t8 _blue,wxUint8 _alpha)=0D {=0D hunk ./wxc/src/eljcolour.cpp 13 - return (void*) new wxColour(_red, _green, _blue);=0D + return new wxColour(_red, _green, _blue,_alpha);=0D }=0D =0D hunk ./wxc/src/eljcolour.cpp 16 -EWXWEXPORT(void*, wxColour_CreateByName) (void* _name)=0D +EWXWEXPORT(wxColour*,wxColour_CreateByName)(wxString* _name)=0D {=0D hunk ./wxc/src/eljcolour.cpp 18 - return (void*) new wxColour((wxChar*)_name);=0D + return new wxColour(*_name);=0D }=0D =0D hunk ./wxc/src/eljcolour.cpp 21 -EWXWEXPORT(void*, wxColour_CreateFromStock) (int _id)=0D +EWXWEXPORT(void*,wxColour_CreateFromStock)(int _id)=0D {=0D switch (_id)=0D {=0D hunk ./wxc/src/eljcolour.cpp 44 return NULL;=0D }=0D =0D -EWXWEXPORT(void, wxColour_Delete)(void* _obj)=0D +EWXWEXPORT(void,wxColour_Delete)(wxColour* _obj)=0D {=0D hunk ./wxc/src/eljcolour.cpp 46 - delete (wxColour*)_obj;=0D + delete _obj;=0D }=0D =0D hunk ./wxc/src/eljcolour.cpp 49 -EWXWEXPORT(void, wxColour_Set)(void* _obj, char _red, char _green, char _b= lue)=0D +EWXWEXPORT(void,wxColour_Set)(wxColour* _obj,wxUint8 _red,wxUint8 _green,w= xUint8 _blue,wxUint8 _alpha)=0D {=0D hunk ./wxc/src/eljcolour.cpp 51 - ((wxColour*)_obj)->Set(_red, _green, _blue);=0D + _obj->Set(_red, _green, _blue);=0D }=0D =0D hunk ./wxc/src/eljcolour.cpp 54 -EWXWEXPORT(void, wxColour_Assign)(void* _obj, void* other)=0D +EWXWEXPORT(void,wxColour_Assign)(wxColour* _obj,wxColour* other)=0D {=0D hunk ./wxc/src/eljcolour.cpp 56 - *((wxColour*)_obj) =3D *((wxColour*)other);=0D + *_obj =3D *other;=0D }=0D =0D hunk ./wxc/src/eljcolour.cpp 59 -EWXWEXPORT(int, wxColour_Ok)(void* _obj)=0D +EWXWEXPORT(bool,wxColour_IsOk)(wxColour* _obj)=0D {=0D hunk ./wxc/src/eljcolour.cpp 61 - return (int)((wxColour*)_obj)->Ok();=0D + return _obj->IsOk();=0D }=0D =0D hunk ./wxc/src/eljcolour.cpp 64 -EWXWEXPORT(char, wxColour_Red)(void* _obj)=0D +EWXWEXPORT(wxUint8,wxColour_Red)(wxColour* _obj)=0D {=0D hunk ./wxc/src/eljcolour.cpp 66 - return ((wxColour*)_obj)->Red();=0D + return _obj->Red();=0D }=0D =0D hunk ./wxc/src/eljcolour.cpp 69 -EWXWEXPORT(char, wxColour_Green)(void* _obj)=0D +EWXWEXPORT(wxUint8,wxColour_Green)(wxColour* _obj)=0D {=0D hunk ./wxc/src/eljcolour.cpp 71 - return ((wxColour*)_obj)->Green();=0D + return _obj->Green();=0D }=0D =0D hunk ./wxc/src/eljcolour.cpp 74 -EWXWEXPORT(char, wxColour_Blue)(void* _obj)=0D +EWXWEXPORT(wxUint8,wxColour_Blue)(wxColour* _obj)=0D {=0D hunk ./wxc/src/eljcolour.cpp 76 - return ((wxColour*)_obj)->Blue();=0D + return _obj->Blue();=0D +}=0D +=0D +EWXWEXPORT(wxUint8,wxColour_Alpha)(wxColour* _obj)=0D +{=0D + return _obj->Alpha();=0D }=0D =0D // FIXME: the return type on this is platform dependent=0D hunk ./wxc/src/eljcolour.cpp 92 // GTK - int=0D // X11 - long=0D // Mac - (WXCOLORREF&)=0D -// EWXWEXPORT(WXCOLORREF, wxColour_GetPixel)(void* _obj)=0D +// EWXWEXPORT(WXCOLORREF,wxColour_GetPixel)(wxColour* _obj)=0D // {=0D hunk ./wxc/src/eljcolour.cpp 94 -// return ((wxColour*)_obj)->GetPixel();=0D +// return _obj->GetPixel();=0D // }=0D =0D hunk ./wxc/src/eljcolour.cpp 97 -EWXWEXPORT(void, wxColour_Copy)(void* _obj, void* _other)=0D +EWXWEXPORT(void,wxColour_Copy)(wxColour* _obj,wxColour* _other)=0D {=0D hunk ./wxc/src/eljcolour.cpp 99 - (*((wxColour*)_obj)) =3D (*((wxColour*)_other));=0D + *_obj =3D *_other;=0D }=0D =0D hunk ./wxc/src/eljcolour.cpp 102 -EWXWEXPORT(void, wxColour_SetByName)(void* _obj, void* _name)=0D +EWXWEXPORT(void,wxColour_SetByName)(wxColour* _obj,wxString* _name)=0D {=0D hunk ./wxc/src/eljcolour.cpp 104 - (*((wxColour*)_obj)) =3D (wxChar*)_name;=0D + *_obj =3D *_name;=0D }=0D =0D hunk ./wxc/src/eljcolour.cpp 107 -EWXWEXPORT(int, wxColour_ValidName)(wxChar* _name)=0D +EWXWEXPORT(bool,wxColour_ValidName)(wxString* _name)=0D {=0D #if (wxVERSION_NUMBER < 2600)=0D hunk ./wxc/src/eljcolour.cpp 110 - return (wxTheColourDatabase->FindColour (wxString(_name))) !=3D NULL;=0D + return (wxTheColourDatabase->FindColour (*_name)) !=3D NULL;=0D #else=0D hunk ./wxc/src/eljcolour.cpp 112 - return wxTheColourDatabase->Find(wxString(_name)).Ok();=0D + return wxTheColourDatabase->Find(*_name).IsOk();=0D #endif=0D }=0D =0D hunk ./wxc/src/image.cpp 10 { = /* bitmap/image helpers */ -EWXWEXPORT(wxBitmap*, wxBitmap_CreateFromImage)( wxImage* image, int depth= ) +EWXWEXPORT(wxBitmap*,wxBitmap_CreateFromImage)(wxImage* image,int depth) { return new wxBitmap(*image,depth); } hunk ./wxc/src/image.cpp 16 = = -EWXWEXPORT(wxImage*, wxImage_CreateFromDataEx)(int width, int height, void= * data, int isStaticData) +EWXWEXPORT(wxImage*,wxImage_CreateFromDataEx)(int width,int height,wxUint8= * data,bool isStaticData) { hunk ./wxc/src/image.cpp 18 - return new wxImage(width, height, (unsigned char*)data, isStaticData != =3D 0); + return new wxImage(width, height, data, isStaticData); } = = hunk ./wxc/src/image.cpp 22 -EWXWEXPORT(void, wxImage_Delete)( wxImage* image ) +EWXWEXPORT(void,wxImage_Delete)(wxImage* image) { delete image; } hunk ./wxc/src/image.cpp 29 = = /* colours */ -EWXWEXPORT(void*, wxColour_CreateFromInt) (int rgb) +EWXWEXPORT(void*,wxColour_CreateFromInt)(int rgb) { return (void*) new wxColour((rgb >> 16) & 0xFF, (rgb >> 8) & 0xFF, rgb &= 0xFF); } hunk ./wxc/src/image.cpp 34 = -EWXWEXPORT(int, wxColour_GetInt) (wxColour* colour) +EWXWEXPORT(int,wxColour_GetInt)(wxColour* colour) { int r =3D colour->Red(); int g =3D colour->Green(); hunk ./wxc/src/image.cpp 43 } = /* basic pixel manipulation */ -EWXWEXPORT(void, wxcSetPixelRGB)( unsigned char* buffer, int width, int x,= int y, int rgb ) +EWXWEXPORT(void,wxcSetPixelRGB)(wxUint8* buffer,int width,int x,int y,int = rgb) { int indexR =3D 3*(width*y + x); buffer[indexR] =3D rgb >> 16; hunk ./wxc/src/image.cpp 51 buffer[indexR+2] =3D rgb; } = -EWXWEXPORT(int, wxcGetPixelRGB)( unsigned char* buffer, int width, int x, = int y ) +EWXWEXPORT(int,wxcGetPixelRGB)(wxUint8* buffer,int width,int x,int y) { int indexR =3D 3*(width*y + x); int r,g,b; hunk ./wxc/src/image.cpp 61 return ((r << 16) | (g << 8) | b); } = -EWXWEXPORT(void, wxcSetPixelRowRGB)( unsigned char* buffer, int width, int= x, int y, int rgb0, int rgb1, int count ) +EWXWEXPORT(void,wxcSetPixelRowRGB)(wxUint8* buffer,int width,int x,int y,i= nt rgb0,int rgb1,int count) { int r0 =3D ((rgb0 >> 16) && 0xFF); int g0 =3D ((rgb0 >> 8) && 0xFF); hunk ./wxc/src/image.cpp 102 } } = -EWXWEXPORT(void, wxcInitPixelsRGB)( unsigned char* buffer, int width, int = height, int rgb ) +EWXWEXPORT(void,wxcInitPixelsRGB)(wxUint8* buffer,int width,int height,int= rgb) { int count =3D width*height*3; hunk ./wxc/src/image.cpp 105 - unsigned char r =3D ((rgb >> 16) && 0xFF); - unsigned char g =3D ((rgb >> 8) && 0xFF); - unsigned char b =3D rgb && 0xFF; + wxUint8 r =3D ((rgb >> 16) && 0xFF); + wxUint8 g =3D ((rgb >> 8) && 0xFF); + wxUint8 b =3D rgb && 0xFF; int i; = if (r=3D=3Dg && g=3D=3Db) { hunk ./wxcore/src/Graphics/UI/WXCore/Image.hs 218 Direct image manipulation --------------------------------------------------------------------------= ---------------} -- | An abstract pixel buffer (=3D array of RGB values) -data PixelBuffer =3D PixelBuffer Bool Size (Ptr CChar) +data PixelBuffer =3D PixelBuffer Bool Size (Ptr Word8) = -- | Create a pixel buffer. (To be deleted with 'pixelBufferDelete'). pixelBufferCreate :: Size -> IO PixelBuffer hunk ./wxcore/src/Graphics/UI/WXCore/Image.hs 240 pixelBufferGetPixels :: PixelBuffer -> IO [Color] pixelBufferGetPixels (PixelBuffer owned (Size w h) buffer) =3D do let count =3D w*h - rgbs <- peekCStringLen (buffer,3*count) -- peekArra= y seems buggy in ghc 6.2.1 + rgbs <- peekArray (3*count) buffer return (convert rgbs) where hunk ./wxcore/src/Graphics/UI/WXCore/Image.hs 243 - convert :: [Char] -> [Color] - convert (r:g:b:xs) =3D colorRGB (intFromCChar r) (intFromCChar g) (in= tFromCChar b): convert xs + convert :: [Word8] -> [Color] + convert (r:g:b:xs) =3D colorRGB (intFromWord8 r) (intFromWord8 g) (in= tFromWord8 b): convert xs convert [] =3D [] = hunk ./wxcore/src/Graphics/UI/WXCore/Image.hs 247 -intFromCChar :: Char -> Int = -intFromCChar c =3D fromEnum c +intFromWord8 :: Word8 -> Int = +intFromWord8 c =3D fromIntegral c = hunk ./wxcore/src/Graphics/UI/WXCore/Image.hs 250 -intToCChar :: Int -> CChar -intToCChar i =3D fromIntegral i +intToWord8 :: Int -> Word8 +intToWord8 i =3D fromIntegral i = -- | Set all the pixels of a pixel buffer. pixelBufferSetPixels :: PixelBuffer -> [Color] -> IO () hunk ./wxcore/src/Graphics/UI/WXCore/Image.hs 259 =3D do let count =3D w*h pokeArray buffer (convert (take count colors)) where - convert :: [Color] -> [CChar] - convert (c:cs) =3D intToCChar (colorRed c) : intToCChar (colorGreen c)= : intToCChar (colorBlue c) : convert cs + convert :: [Color] -> [Word8] + convert (c:cs) =3D intToWord8 (colorRed c) : intToWord8 (colorGreen c)= : intToWord8 (colorBlue c) : convert cs convert [] =3D [] = -- | Initialize the pixel buffer with a grey color. The second argument hunk ./wxcore/src/Graphics/UI/WXCore/Image.hs 274 pixelBufferSetPixel (PixelBuffer owned size buffer) point color =3D {- do let idx =3D 3*(y*w + x) - r =3D intToCChar (colorRed color) - g =3D intToCChar (colorGreen color) - b =3D intToCChar (colorBlue color) + r =3D intToWord8 (colorRed color) + g =3D intToWord8 (colorGreen color) + b =3D intToWord8 (colorBlue color) pokeByteOff buffer idx r pokeByteOff buffer (idx+1) g pokeByteOff buffer (idx+2) b hunk ./wxcore/src/Graphics/UI/WXCore/Image.hs 292 r <- peekByteOff buffer idx g <- peekByteOff buffer (idx+1) b <- peekByteOff buffer (idx+2) - return (colorRGB (intFromCChar r) (intFromCChar g) (intFromCChar b)= ) + return (colorRGB (intFromWord8 r) (intFromWord8 g) (intFromWord8 b)= ) -} do rgb <- wxcGetPixelRGB buffer (sizeW size) point return (colorFromInt rgb) hunk ./wxcore/src/Graphics/UI/WXCore/WxcTypes.hs 67 = , colourFromColor, colorFromColour , colourCreate, colourSafeDelete -- , colourCreateRGB, colourR= ed, colourGreen, colourBlue - , toCCharColorRed, toCCharColorGreen, toCCharColorBlue + , toWord8ColorRed, toWord8ColorGreen, toWord8ColorBlue = = -- ** Managed object types hunk ./wxcore/src/Graphics/UI/WXCore/WxcTypes.hs 1218 = = -- marshalling 1 -toCCharColorRed, toCCharColorGreen, toCCharColorBlue :: Color -> CChar -toCCharColorRed c =3D toCCharInt (colorRed c) -toCCharColorGreen c =3D toCCharInt (colorGreen c) -toCCharColorBlue c =3D toCCharInt (colorBlue c) - -toCCharInt :: Int -> CChar -toCCharInt i =3D fromIntegral i +toWord8ColorRed, toWord8ColorGreen, toWord8ColorBlue :: Color -> Word8 +toWord8ColorRed c =3D fromIntegral (colorRed c) +toWord8ColorGreen c =3D fromIntegral (colorGreen c) +toWord8ColorBlue c =3D fromIntegral (colorBlue c) = -- marshalling 2 {- hunk ./wxcore/src/Graphics/UI/WXCore/WxcTypes.hs 1238 withManagedColourResult :: IO (Ptr (TColour a)) -> IO Color withManagedColourResult io =3D do pcolour <- io - color <- do ok <- colourOk pcolour + color <- do ok <- colourIsOk pcolour if (ok=3D=3D0) then return colorNull else do rgb <- colourGetInt pcolour hunk ./wxcore/src/Graphics/UI/WXCore/WxcTypes.hs 1272 colorFromColour :: Colour a -> IO Color colorFromColour c =3D withObjectRef "colorFromColour" c $ \pcolour -> - do ok <- colourOk pcolour + do ok <- colourIsOk pcolour if (ok=3D=3D0) then return colorNull else do rgb <- colourGetInt pcolour hunk ./wxcore/src/Graphics/UI/WXCore/WxcTypes.hs 1284 foreign import ccall "wxColour_GetInt" colourGetInt :: Ptr (= TColour a) -> IO CInt foreign import ccall "wxColour_SafeDelete" colourSafeDelete :: Ptr (TCol= our a) -> IO () foreign import ccall "wxColour_IsStatic" colourIsStatic :: Ptr (TColour = a) -> Bool -foreign import ccall "wxColour_Ok" colourOk :: Ptr (TColour a) -> IO = CInt +foreign import ccall "wxColour_IsOk" colourIsOk :: Ptr (TColour a) ->= IO CInt foreign import ccall "Null_Colour" colourNull :: IO (Ptr (TColour a)) foreign import ccall wxManagedPtr_CreateFromColour :: Ptr (TColour a) -> I= O (ManagedPtr (TColour a)) hunk ./wxdirect/src/CompileClasses.hs 468 ++ pparens ("toCDoubleRectW " ++ name) ++ " " ++ pparen= s( "toCDoubleRectH " ++ name) Rect _ -> pparens ("toCIntRectX " ++ name) ++ " " ++ pparens( "toC= IntRectY " ++ name) ++ pparens ("toCIntRectW " ++ name) ++ " " ++ pparens( "= toCIntRectH " ++ name) - ColorRGB _ -> pparens ("toCCharColorRed " ++ name) ++ " " = - ++ pparens ("toCCharColorGreen " ++ name) ++ " " - ++ pparens ("toCCharColorBlue " ++ name) = + ColorRGB _ -> pparens ("toWord8ColorRed " ++ name) ++ " " = + ++ pparens ("toWord8ColorGreen " ++ name) ++ " " + ++ pparens ("toWord8ColorBlue " ++ name) = = ArrayString _ -> haskellArrayLenName name ++ " " ++ haskellArray= Name name ArrayObject tp _ -> haskellArrayLenName name ++ " " ++ haskellArray= Name name hunk ./wxdirect/src/CompileClasses.hs 671 Vector _ -> "CInt -> CInt" Size CDouble -> "CDouble -> CDouble" Size _ -> "CInt -> CInt" - ColorRGB _ -> "CChar -> CChar -> CChar" + ColorRGB _ -> "Word8 -> Word8 -> Word8" Rect CDouble -> "CDouble -> CDouble -> CDouble -> CDouble" Rect _ -> "CInt -> CInt -> CInt -> CInt" Fun f -> "Ptr " ++ pparens f } [Add Word support. shelarcy <she...@gm...>**20090106171139 Ignore-this: 81376472899f15f9724f724b656c251d ] { hunk ./wxc/include/wxc_types.h 79 /* 64 bit integer */=0D #define TInt64 int64_t=0D =0D +/* unsigned integer */=0D +#define TUInt uint32_t=0D +=0D /* 8 bit unsigned integer */=0D #define TUInt8 uint8_t=0D =0D hunk ./wxcore/src/Graphics/UI/WXCore/WxcTypes.hs 101 , withByteStringResult, withLazyByteStringResult -- *** CInt , CInt, toCInt, fromCInt, withIntResult + -- *** Word + , Word -- *** 8 bit Word , Word8 -- *** 64 bit Integer hunk ./wxdirect/src/CompileClasses.hs 562 Bool -> "Bool" Int _ -> "Int" Int64 -> "Int64" + Word -> "Word" Word8 -> "Word8" Word32 -> "Word32" Void -> "()" hunk ./wxdirect/src/CompileClasses.hs 654 Bool -> "CBool" Int _ -> "CInt" Int64 -> "Int64" + Word -> "Word" Word8 -> "Word8" Word32 -> "Word32" Void -> "()" hunk ./wxdirect/src/ParseC.hs 138 <|> do reserved "size_t"; return (Int SizeT) <|> do reserved "time_t"; return (Int TimeT) <|> do reserved "TInt64"; return Int64 + <|> do reserved "TUInt"; return Word <|> do reserved "TUInt8"; return Word8 <|> do reserved "TUInt32"; return Word32 <|> do reserved "TBool"; return Bool hunk ./wxdirect/src/Types.hs 83 = data Type =3D Int CBaseType | Int64 + | Word | Word8 | Word32 | Void } [Add experimental alpha channel support to Color type. shelarcy <she...@gm...>**20090106182310 Ignore-this: 6c35ed5d80bed81134a6110cd9cfb60a ] { hunk ./wxc/include/wxc.h 380 TClass(wxColour) wxColour_CreateFromInt(int rgb);=0D /** Return colors as an rgb int. */=0D int wxColour_GetInt( TSelf(wxColour) colour);=0D +/** Create from rgba unsigned int. */=0D +TClass(wxColour) wxColour_CreateFromUnsignedInt(TUInt rgba);=0D +/** Return colors as an rgba unsigned int. */=0D +TUInt wxColour_GetUnsignedInt( TSelf(wxColour) colour);=0D =0D /** Create from system colour. */=0D TClass(wxColour) wxcSystemSettingsGetColour( int systemColour );=0D hunk ./wxc/include/wxc.h 390 =0D =0D /* basic pixel manipulation */=0D -void wxcSetPixelRGB( void* buffer, int width, TPoint(x,y), int rgb );=0D -int wxcGetPixelRGB( void* buffer, int width, TPoint(x,y) );=0D -void wxcSetPixelRowRGB( void* buffer, int width, TPoint(x,y), int rgbStart= , int rgbEnd, int count );=0D -void wxcInitPixelsRGB( void* buffer, TSize(width,height), int rgb );=0D +void wxcSetPixelRGB( TUInt8* buffer, int width, TPoint(x,y), int rgb );= =0D +int wxcGetPixelRGB( TUInt8* buffer, int width, TPoint(x,y) );=0D +void wxcSetPixelRowRGB( TUInt8* buffer, int width, TPoint(x,y), int rgbSta= rt, int rgbEnd, int count );=0D +void wxcInitPixelsRGB( TUInt8* buffer, TSize(width,height), int rgba );=0D +void wxcSetPixelRGBA( TUInt8* buffer, int width, TPoint(x,y), TUInt rgba = );=0D +int wxcGetPixelRGBA( TUInt8* buffer, int width, TPoint(x,y) );=0D +void wxcSetPixelRowRGBA( TUInt8* buffer, int width, TPoint(x,y), int rgbaS= tart, int rgbEnd, TUInt count );=0D +void wxcInitPixelsRGBA( TUInt8* buffer, TSize(width,height), TUInt rgba );= =0D =0D /* malloc/free */=0D void* wxcMalloc(int size );=0D hunk ./wxc/src/image.cpp 124 } } = +EWXWEXPORT(void*,wxColour_CreateFromUnsignedInt)(unsigned int rgba) +{ + return (void*) new wxColour((rgba >> 24) & 0xFF, (rgba >> 16) & 0xFF, (r= gba >> 8) & 0xFF, rgba & 0xFF); +} + +EWXWEXPORT(unsigned int,wxColour_GetUnsignedInt)(wxColour* colour) +{ + int r =3D colour->Red(); + int g =3D colour->Green(); + int b =3D colour->Blue(); + int a =3D colour->Alpha(); + return ((r << 24) | (g << 16) | (b << 8) | a); +} + +/* basic pixel manipulation */ +EWXWEXPORT(void,wxcSetPixelRGBA)(wxUint8* buffer,int width,int x,int y,int= rgba) +{ + unsigned int indexR =3D 4*(width*y + x); + buffer[indexR] =3D rgba >> 24; + buffer[indexR+1] =3D rgba >> 16; + buffer[indexR+2] =3D rgba >> 8; + buffer[indexR+3] =3D rgba; +} + +EWXWEXPORT(int,wxcGetPixelRGBA)(wxUint8* buffer,int width,int x,int y) +{ + unsigned int indexR =3D 4*(width*y + x); + int r,g,b,a; + r =3D buffer[indexR]; + g =3D buffer[indexR+1]; + b =3D buffer[indexR+2]; + a =3D buffer[indexR+3]; + return ((r << 24) | (g << 16) | (b << 8) | a); +} + +EWXWEXPORT(void,wxcSetPixelRowRGBA)(wxUint8* buffer,int width,int x,int y,= unsigned int rgba0,unsigned int rgba1,unsigned int count) +{ + int r0 =3D ((rgba0 >> 24) && 0xFF); + int g0 =3D ((rgba0 >> 16) && 0xFF); + int b0 =3D ((rgba0 >> 8) && 0xFF); + int a0 =3D (rgba0 && 0xFF); + unsigned int start =3D 4*(width*y+x); + unsigned int i; + + if (rgba0 =3D=3D rgba1) { + /* same color */ + for( i=3D0; i < count*4; i +=3D4) { + buffer[start+i] =3D r0; + buffer[start+i+1] =3D g0; + buffer[start+i+2] =3D b0; + buffer[start+i+3] =3D a0; + } + } + else { + /* do linear interpolation of the color */ + int r1 =3D ((rgba1 >> 24) && 0xFF); + int g1 =3D ((rgba1 >> 16) && 0xFF); + int b1 =3D ((rgba1 >> 8) && 0xFF); + int a1 =3D (rgba1 && 0xFF); + + int rd =3D ((r1 - r0) << 24) / (count-1); + int gd =3D ((g1 - g0) << 24) / (count-1); + int bd =3D ((b1 - b0) << 24) / (count-1); + int ad =3D ((a1 - a0) << 24) / (count-1); + + int r =3D r0 << 24; + int g =3D g0 << 24; + int b =3D b0 << 24; + int a =3D b0 << 24; + + for( i =3D 0; i < count*4; i +=3D 4 ) { + buffer[start+i] =3D (r >> 24); + buffer[start+i+1] =3D (g >> 24); + buffer[start+i+2] =3D (b >> 24); + buffer[start+i+3] =3D (a >> 24); + r +=3D rd; + g +=3D gd; + b +=3D bd; + a +=3D ad; + } + } +} + +EWXWEXPORT(void,wxcInitPixelsRGBA)(wxUint8* buffer,int width,int height,in= t rgba) +{ + unsigned int count =3D width*height*4; + wxUint8 r =3D ((rgba >> 24) && 0xFF); + wxUint8 g =3D ((rgba >> 16) && 0xFF); + wxUint8 b =3D ((rgba >> 8) && 0xFF); + wxUint8 a =3D rgba && 0xFF; + unsigned int i; + + if (r=3D=3Dg && g=3D=3Db && b=3D=3Da) { + for( i=3D0; i < count; i++ ) { + buffer[i] =3D r; + } + } + else { + for( i=3D0; i < count; i +=3D 4) { + buffer[i] =3D r; + buffer[i+1] =3D g; + buffer[i+2] =3D b; + buffer[i+3] =3D a; + } + } +} + } hunk ./wxcore/src/Graphics/UI/WXCore/WxcTypes.hs 50 , rect, rectBetween, rectFromSize, rectZero, rectNull, rectSiz= e, rectIsEmpty = -- ** Color - , Color(..), rgb, colorRGB, colorRed, colorGreen, colorBlue, i= ntFromColor, colorFromInt, colorOk + , Color(..), rgb, colorRGB, rgba, colorRGBA, colorRed, colorGr= een, colorBlue, colorAlpha + , intFromColor, colorFromInt, wordFromColor, colorFromWord, co= lorOk = -- * Marshalling -- ** Basic types hunk ./wxcore/src/Graphics/UI/WXCore/WxcTypes.hs 67 , withArrayIntResult, withArrayStringResult, withArrayWStringR= esult, withArrayObjectResult = , colourFromColor, colorFromColour - , colourCreate, colourSafeDelete -- , colourCreateRGB, colourR= ed, colourGreen, colourBlue - , toWord8ColorRed, toWord8ColorGreen, toWord8ColorBlue + , colourCreate, colourSafeDelete -- , colourCreateRGB, colourR= ed, colourGreen, colourBlue colourAlpha + , toWord8ColorRed, toWord8ColorGreen, toWord8ColorBlue, toWord= 8ColorAlpha = = -- ** Managed object types hunk ./wxcore/src/Graphics/UI/WXCore/WxcTypes.hs 1166 -- We can't derive 'MArray' class's unboxed array instance this way. Thi= s is a bad point -- of current 'MArray' class definition. -- -newtype Color =3D Color Int = +newtype Color =3D Color Word = deriving (Eq, Typeable) -- , IArray UArray) = = instance Show Color where hunk ./wxcore/src/Graphics/UI/WXCore/WxcTypes.hs 1171 showsPrec d c - =3D showParen (d > 0) (showString "rgb(" . shows (colorRed c) . - showChar ',' . shows (colorGreen c) . - showChar ',' . shows (colorBlue c) . + =3D showParen (d > 0) (showString "rgba(" . shows (colorRed c) . + showChar ',' . shows (colorGreen c) . + showChar ',' . shows (colorBlue c) . + showChar ',' . shows (colorAlpha c) . showChar ')' ) = -- | Create a color from a red\/green\/blue triple. hunk ./wxcore/src/Graphics/UI/WXCore/WxcTypes.hs 1179 colorRGB :: Int -> Int -> Int -> Color -colorRGB r g b =3D Color (shiftL r 16 .|. shiftL g 8 .|. b) +colorRGB r g b =3D Color (shiftL (fromIntegral r) 24 .|. shiftL (fromInteg= ral g) 16 .|. shiftL (fromIntegral b) 8 .|. 255) = -- | Create a color from a red\/green\/blue triple. rgb :: Int -> Int -> Int -> Color hunk ./wxcore/src/Graphics/UI/WXCore/WxcTypes.hs 1185 rgb r g b =3D colorRGB r g b = +-- | Create a color from a red\/green\/blue\/alpha quadruple. +colorRGBA :: Int -> Int -> Int -> Int -> Color +colorRGBA r g b a =3D Color (shiftL (fromIntegral r) 24 .|. shiftL (fromIn= tegral g) 16 .|. shiftL (fromIntegral b) 8 .|. (fromIntegral a)) + +-- | Create a color from a red\/green\/blue\/alpha quadruple. +rgba :: Int -> Int -> Int -> Int -> Color +rgba r g b a =3D colorRGBA r g b a + = -- | Return an 'Int' where the three least significant bytes contain -- the red, green, and blue component of a color. hunk ./wxcore/src/Graphics/UI/WXCore/WxcTypes.hs 1197 intFromColor :: Color -> Int -intFromColor (Color rgb) - =3D rgb +intFromColor rgb + =3D let r =3D colorRed rgb + g =3D colorGreen rgb + b =3D colorBlue rgb + in (shiftL (fromIntegral r) 16 .|. shiftL (fromIntegral g) 8 .|. b) = -- | Set the color according to an rgb integer. (see 'rgbIntFromColor'). colorFromInt :: Int -> Color hunk ./wxcore/src/Graphics/UI/WXCore/WxcTypes.hs 1206 colorFromInt rgb + =3D let r =3D (shiftR rgb 16) .&. 0xFF + g =3D (shiftR rgb 8) .&. 0xFF + b =3D rgb .&. 0xFF + in colorRGB r g b + +-- | Return an 'Int' where the three least significant bytes contain +-- the red, green, and blue component of a color. +wordFromColor :: Color -> Word +wordFromColor (Color rgb) + =3D rgb + +-- | Set the color according to an rgba unsigned integer. (see 'rgbaIntFro= mColor'). +colorFromWord :: Word -> Color +colorFromWord rgb =3D Color rgb = -- | Returns a red color component hunk ./wxcore/src/Graphics/UI/WXCore/WxcTypes.hs 1224 colorRed :: Color -> Int -colorRed (Color rgb) =3D (shiftR rgb 16) .&. 0xFF +colorRed (Color rgba) =3D fromIntegral ((shiftR rgba 24) .&. 0xFF) = -- | Returns a green color component colorGreen :: Color -> Int hunk ./wxcore/src/Graphics/UI/WXCore/WxcTypes.hs 1228 -colorGreen (Color rgb) =3D (shiftR rgb 8) .&. 0xFF +colorGreen (Color rgba) =3D fromIntegral ((shiftR rgba 16) .&. 0xFF) = -- | Returns a blue color component colorBlue :: Color -> Int hunk ./wxcore/src/Graphics/UI/WXCore/WxcTypes.hs 1232 -colorBlue (Color rgb) =3D rgb .&. 0xFF +colorBlue (Color rgba) =3D fromIntegral ((shiftR rgba 8) .&. 0xFF) + +-- | Returns a alpha channel component +colorAlpha :: Color -> Int +colorAlpha (Color rgba) =3D fromIntegral (rgba .&. 0xFF) = = -- | This is an illegal color, corresponding to @nullColour@. hunk ./wxcore/src/Graphics/UI/WXCore/WxcTypes.hs 1251 = = -- marshalling 1 -toWord8ColorRed, toWord8ColorGreen, toWord8ColorBlue :: Color -> Word8 +toWord8ColorRed, toWord8ColorGreen, toWord8ColorBlue, toWord8ColorAlpha ::= Color -> Word8 toWord8ColorRed c =3D fromIntegral (colorRed c) toWord8ColorGreen c =3D fromIntegral (colorGreen c) toWord8ColorBlue c =3D fromIntegral (colorBlue c) hunk ./wxcore/src/Graphics/UI/WXCore/WxcTypes.hs 1255 +toWord8ColorAlpha c =3D fromIntegral (colorAlpha c) = -- marshalling 2 {- hunk ./wxcore/src/Graphics/UI/WXCore/WxcTypes.hs 1275 color <- do ok <- colourIsOk pcolour if (ok=3D=3D0) then return colorNull - else do rgb <- colourGetInt pcolour - return (colorFromInt (fromCInt rgb)) + else do rgba <- colourGetUnsignedInt pcolour + return (colorFromWord rgba) colourSafeDelete pcolour return color = hunk ./wxcore/src/Graphics/UI/WXCore/WxcTypes.hs 1287 = withColourPtr :: Color -> (Ptr (TColour a) -> IO b) -> IO b withColourPtr c f - =3D do pcolour <- colourCreateFromInt (toCInt (intFromColor c)) + =3D do pcolour <- colourCreateFromUnsignedInt (wordFromColor c) x <- f pcolour colourSafeDelete pcolour return x hunk ./wxcore/src/Graphics/UI/WXCore/WxcTypes.hs 1295 colourFromColor :: Color -> IO (Colour ()) colourFromColor c =3D if (colorOk c) - then do p <- colourCreateFromInt (toCInt (intFromColor c)) + then do p <- colourCreateFromUnsignedInt (wordFromColor c) if (colourIsStatic p) then return (objectFromPtr p) else do mp <- wxManagedPtr_CreateFromColour p hunk ./wxcore/src/Graphics/UI/WXCore/WxcTypes.hs 1309 do ok <- colourIsOk pcolour if (ok=3D=3D0) then return colorNull - else do rgb <- colourGetInt pcolour - return (colorFromInt (fromCInt rgb)) + else do rgba <- colourGetUnsignedInt pcolour + return (colorFromWord rgba) = = foreign import ccall "wxColour_CreateEmpty" colourCreate :: IO (Ptr (TC= olour a)) hunk ./wxcore/src/Graphics/UI/WXCore/WxcTypes.hs 1316 foreign import ccall "wxColour_CreateFromInt" colourCreateFromInt :: CInt = -> IO (Ptr (TColour a)) foreign import ccall "wxColour_GetInt" colourGetInt :: Ptr (= TColour a) -> IO CInt +foreign import ccall "wxColour_CreateFromUnsignedInt" colourCreateFromUnsi= gnedInt :: Word -> IO (Ptr (TColour a)) +foreign import ccall "wxColour_GetUnsignedInt" colourGetUnsignedInt = :: Ptr (TColour a) -> IO Word foreign import ccall "wxColour_SafeDelete" colourSafeDelete :: Ptr (TCol= our a) -> IO () foreign import ccall "wxColour_IsStatic" colourIsStatic :: Ptr (TColour = a) -> Bool foreign import ccall "wxColour_IsOk" colourIsOk :: Ptr (TColour a) ->= IO CInt } Context: [Remove unused wxWidgets 2.4 and 2.6's Visual Studio project files. shelarcy <she...@gm...>**20090105012854 Ignore-this: 20cc431e49694e048d1d676170200ed6 ] = [TAG 0.11.0 shelarcy <she...@gm...>**20090102223052] = Patch bundle hash: c30e3f25c567fc8842b88ecfa6095530d6be49c9 --=_-- . |
From: shelarcy <she...@gm...> - 2009-01-06 03:46:40
|
Pushed. 2009/1/6 shelarcy <she...@gm...>: > Mon Jan 5 10:28:54 =93=8C=8B=9E (=95W=8F=80=8E=9E) 2009 shelarcy <shelarc= > y...@gm...> > * Remove unused wxWidgets 2.4 and 2.6's Visual Studio project files. -- shelarcy <shelarcy hotmail.co.jp> http://page.freett.com/shelarcy/ |
From: Kido T. <she...@co...> - 2009-01-06 03:00:47
|
Sun Jan 4 20:28:54 EST 2009 shelarcy <she...@gm...> * Remove unused wxWidgets 2.4 and 2.6's Visual Studio project files. Ignore-this: 20cc431e49694e048d1d676170200ed6 R ./wxc/wxc-2.4.dsp R ./wxc/wxc-2.4.dsw R ./wxc/wxc-2.6.dsp R ./wxc/wxc-2.6.dsw View patch online: http://code.haskell.org/wxhaskell/_darcs/patches/20090105012854-c1071-88034b4d64a89ad2b8ff5861b70e8f5c041cb72b.gz |
From: Kido T. <she...@co...> - 2009-01-06 03:00:47
|
Fri Jan 2 17:30:52 EST 2009 shelarcy <she...@gm...> tagged 0.11.0 View patch online: http://code.haskell.org/wxhaskell/_darcs/patches/20090102223052-c1071-0814d329ddefbc6d459b40a178c10ac7dda95b0b.gz |
From: shelarcy <she...@gm...> - 2009-01-05 15:02:20
|
DarcsURL: http://code.haskell.org/wxhaskell MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=_" --=_ Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Mon Jan 5 10:28:54 =93=8C=8B=9E (=95W=8F=80=8E=9E) 2009 shelarcy <shelarc= y...@gm...> * Remove unused wxWidgets 2.4 and 2.6's Visual Studio project files. --=_ Content-Type: text/x-darcs-patch; name="remove-unused-wxwidgets-2_4-and-2_6_s-visual-studio-project-files_.dpatch" Content-Transfer-Encoding: quoted-printable Content-Description: A darcs patch for your repository! New patches: [Remove unused wxWidgets 2.4 and 2.6's Visual Studio project files. shelarcy <she...@gm...>**20090105012854 Ignore-this: 20cc431e49694e048d1d676170200ed6 ] { hunk ./wxc/wxc-2.4.dsp 1 -# Microsoft Developer Studio Project File - Name=3D"wxc" - Package Owner= =3D<4>=0D -# Microsoft Developer Studio Generated Build File, Format Version 6.00=0D -# ** DO NOT EDIT **=0D -=0D -# TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102=0D -=0D -CFG=3Dwxc - Win32 Debug=0D -!MESSAGE This is not a valid makefile. To build this project using NMAKE,= =0D -!MESSAGE use the Export Makefile command and run=0D -!MESSAGE =0D -!MESSAGE NMAKE /f "wxc-2.4.mak".=0D -!MESSAGE =0D -!MESSAGE You can specify a configuration when running NMAKE=0D -!MESSAGE by defining the macro CFG on the command line. For example:=0D -!MESSAGE =0D -!MESSAGE NMAKE /f "wxc-2.4.mak" CFG=3D"wxc - Win32 Debug"=0D -!MESSAGE =0D -!MESSAGE Possible choices for configuration are:=0D -!MESSAGE =0D -!MESSAGE "wxc - Win32 Release" (based on "Win32 (x86) Dynamic-Link Library= ")=0D -!MESSAGE "wxc - Win32 Debug" (based on "Win32 (x86) Dynamic-Link Library")= =0D -!MESSAGE =0D -=0D -# Begin Project=0D -# PROP AllowPerConfigDependencies 0=0D -# PROP Scc_ProjName ""=0D -# PROP Scc_LocalPath ""=0D -CPP=3Dcl.exe=0D -MTL=3Dmidl.exe=0D -RSC=3Drc.exe=0D -=0D -!IF "$(CFG)" =3D=3D "wxc - Win32 Release"=0D -=0D -# PROP BASE Use_MFC 0=0D -# PROP BASE Use_Debug_Libraries 0=0D -# PROP BASE Output_Dir "Release"=0D -# PROP BASE Intermediate_Dir "Release"=0D -# PROP BASE Target_Dir ""=0D -# PROP Use_MFC 0=0D -# PROP Use_Debug_Libraries 0=0D -# PROP Output_Dir "..\dist\wxc"=0D -# PROP Intermediate_Dir "..\dist\wxc\release"=0D -# PROP Ignore_Export_Lib 0=0D -# PROP Target_Dir ""=0D -# ADD BASE CPP /nologo /MD /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS= " /D "_MBCS" /D "_USRDLL" /D "WXC_EXPORTS" /YX /FD /c=0D -# ADD CPP /nologo /MD /W3 /GX /O2 /I "..\..\wxWindows-2.4.2\lib\mswu" /I "= include" /I "..\..\wxWindows-2.4.2\contrib\include" /I "..\..\wxWindows-2.4= .2\include" /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D= "WXC_EXPORTS" /D WINVER=3D0x400 /D "_MT" /D wxUSE_GUI=3D1 /D wxUSE_UNICODE= =3D1 /D BUILD_WXC=3D1 /D "_DLL" /YX /FD /c=0D -# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32=0D -# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32=0D -# ADD BASE RSC /l 0x413 /d "NDEBUG"=0D -# ADD RSC /l 0x409 /i "..\..\wxWindows-2.4.2\include" /d "NDEBUG"=0D -BSC32=3Dbscmake.exe=0D -# ADD BASE BSC32 /nologo=0D -# ADD BSC32 /nologo=0D -LINK32=3Dlink.exe=0D -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.= lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odb= ccp32.lib /nologo /dll /machine:I386=0D -# ADD LINK32 zlib.lib regex.lib png.lib jpeg.lib tiff.lib wxmswu.lib kerne= l32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32= .lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib r= pcrt4.lib wsock32.lib opengl32.lib winmm.lib /nologo /dll /machine:I386 /no= defaultlib:"LIBCMT" /out:"..\dist\wxc\wxc-msw2.8.9-0.11.0.dll" /libpath:"..= \dist\wxc" /libpath:"..\..\wxWindows-2.4.2\lib"=0D -# Begin Special Build Tool=0D -SOURCE=3D"$(InputPath)"=0D -PostBuild_Cmds=3Decho Generating mingw32 import library ... ..\bin\reimp .= .\dist\wxc\wxc-msw2.8.9-0.11.0.lib move libwxc-msw2.8.9-0.11.0.a ..\dist\wx= c move wxc-msw2.8.9-0.11.0.def ..\dist\wxc echo Done.=0D -# End Special Build Tool=0D -=0D -!ELSEIF "$(CFG)" =3D=3D "wxc - Win32 Debug"=0D -=0D -# PROP BASE Use_MFC 0=0D -# PROP BASE Use_Debug_Libraries 1=0D -# PROP BASE Output_Dir "Debug"=0D -# PROP BASE Intermediate_Dir "Debug"=0D -# PROP BASE Target_Dir ""=0D -# PROP Use_MFC 0=0D -# PROP Use_Debug_Libraries 1=0D -# PROP Output_Dir "..\dist\wxc"=0D -# PROP Intermediate_Dir "..\dist\wxc\debug"=0D -# PROP Ignore_Export_Lib 0=0D -# PROP Target_Dir ""=0D -# ADD BASE CPP /nologo /MDd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D = "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "WXC_EXPORTS" /YX /FD /GZ /c=0D -# ADD CPP /nologo /MDd /W3 /Gm /GX /ZI /Od /I "..\..\wxWindows-2.4.2\lib\m= swud" /I "..\..\wxWindows-2.4.2\contrib\include" /I "include" /I "..\..\wxW= indows-2.4.2\include" /D "_DEBUG" /D "__WXDEBUG__" /D WXDEBUG=3D1 /D "WIN32= " /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "WXC_EXPORTS" /D WINVER=3D0x400 = /D "_MT" /D wxUSE_GUI=3D1 /D wxUSE_UNICODE=3D1 /D BUILD_WXC=3D1 /D "_DLL" /= YX /FD /GZ /c=0D -# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /win32=0D -# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32=0D -# ADD BASE RSC /l 0x413 /d "_DEBUG"=0D -# ADD RSC /l 0x409 /i "..\..\wxWindows-2.4.2\include" /d "_DEBUG"=0D -BSC32=3Dbscmake.exe=0D -# ADD BASE BSC32 /nologo=0D -# ADD BSC32 /nologo=0D -LINK32=3Dlink.exe=0D -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.= lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odb= ccp32.lib /nologo /dll /debug /machine:I386 /pdbtype:sept=0D -# ADD LINK32 zlibd.lib regexd.lib pngd.lib jpegd.lib tiffd.lib wxmswud.lib= kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib s= hell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32= .lib rpcrt4.lib wsock32.lib opengl32.lib winmm.lib /nologo /dll /debug /mac= hine:I386 /nodefaultlib:"LIBCMTD" /out:"..\dist\wxc\wxcd-msw2.8.9-0.11.0.dl= l" /pdbtype:sept /libpath:"..\dist\wxc" /libpath:"..\..\wxWindows-2.4.2\li= b"=0D -# Begin Special Build Tool=0D -SOURCE=3D"$(InputPath)"=0D -PostBuild_Cmds=3Decho Generating mingw32 import library ... ..\bin\reimp .= .\dist\wxc\wxcd-msw2.8.9-0.11.0.lib move libwxcd-msw2.8.9-0.11.0.a ..\dist\= wxc move wxcd-msw2.8.9-0.11.0.def ..\dist\wxc echo Done.=0D -# End Special Build Tool=0D -=0D -!ENDIF =0D -=0D -# Begin Target=0D -=0D -# Name "wxc - Win32 Release"=0D -# Name "wxc - Win32 Debug"=0D -# Begin Group "Header Files"=0D -=0D -# PROP Default_Filter "h;hpp;hxx;hm;inl"=0D -# Begin Source File=0D -=0D -SOURCE=3D.\include\db.h=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\include\dragimage.h=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\include\ewxw_def.h=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\include\glcanvas.h=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\include\graphicscontext.h=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\include\managed.h=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\include\mediactrl.h=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\include\previewframe.h=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\include\printout.h=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\include\stc.h=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\include\stc_gen.h=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\include\textstream.h=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\include\sound.h=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\include\wrapper.h=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\include\wxc.h=0D -# End Source File=0D -# End Group=0D -# Begin Group "Resource Files"=0D -=0D -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe"= =0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\wxc.rc=0D -# End Source File=0D -# End Group=0D -# Begin Group "Source Files"=0D -=0D -# PROP Default_Filter "*.cpp"=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\apppath.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\db.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\dragimage.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\eljevent.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\eljmime.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\ewxw_main.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\extra.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\glcanvas.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\graphicscontext.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\image.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\managed.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\mediactrl.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\previewframe.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\printout.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\stc.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\taskbaricon.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\textstream.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\treectrl.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\sound.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\wrapper.cpp=0D -# End Source File=0D -# End Group=0D -# Begin Group "ewxw"=0D -=0D -# PROP Default_Filter ""=0D -# Begin Group "ewxw sources"=0D -=0D -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\eljaccelerator.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\eljartprov.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\eljbitmap.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\eljbrush.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\eljbusyinfo.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\eljbutton.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\eljcalendarctrl.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\eljcaret.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\eljcheckbox.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\eljchecklistbox.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\eljchoice.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\eljclipboard.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\eljcoldata.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\eljcolour.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\eljcolourdlg.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\eljcombobox.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\eljconfigbase.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\eljcontrol.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\eljctxhelp.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\eljcursor.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\eljdataformat.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\eljdatetime.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\eljdc.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\eljdialog.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\eljdialup.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\eljdirdlg.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\eljdnd.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\eljdrawing.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\eljfiledialog.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\eljfilehist.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\eljfindrepldlg.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\eljfont.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\eljfontdata.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\eljfontdlg.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\eljframe.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\eljgauge.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\eljgrid.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\eljhelpcontroller.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\eljicnbndl.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\eljicon.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\eljimage.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\eljimagelist.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\eljipc.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\eljlayoutconstraints.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\eljlistbox.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\eljlistctrl.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\eljlocale.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\eljlog.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\eljmask.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\eljmdi.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\eljmenu.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\eljmenubar.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\eljmessagedialog.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\eljminiframe.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\eljnotebook.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\eljpalette.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\eljpanel.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\eljpen.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\eljprintdlg.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\eljprinting.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\eljprocess.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\eljradiobox.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\eljradiobutton.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\eljregion.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\eljregioniter.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\eljsash.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\eljscrollbar.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\eljscrolledwindow.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\eljsingleinst.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\eljsizer.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\eljslider.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\eljspinctrl.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\eljsplitterwindow.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\eljstaticbox.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\eljstaticline.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\eljstatictext.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\eljstatusbar.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\eljsystemsettings.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\eljtextctrl.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\eljtglbtn.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\eljthread.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\eljtimer.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\eljtipwnd.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\eljtoolbar.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\eljvalidator.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\eljwindow.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\eljwizard.cpp=0D -# End Source File=0D -# End Group=0D -# Begin Group "ewxw headers"=0D -=0D -# PROP Default_Filter "*.h"=0D -# Begin Source File=0D -=0D -SOURCE=3D.\include\wxc_glue.h=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\include\wxc_types.h=0D -# End Source File=0D -# End Group=0D -# End Group=0D -# End Target=0D -# End Project=0D rmfile ./wxc/wxc-2.4.dsp hunk ./wxc/wxc-2.4.dsw 1 -Microsoft Developer Studio Workspace File, Format Version 6.00=0D -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE!=0D -=0D -##########################################################################= #####=0D -=0D -Project: "wxc"=3D".\wxc-2.4.dsp" - Package Owner=3D<4>=0D -=0D -Package=3D<5>=0D -{{{=0D -}}}=0D -=0D -Package=3D<4>=0D -{{{=0D -}}}=0D -=0D -##########################################################################= #####=0D -=0D -Global:=0D -=0D -Package=3D<5>=0D -{{{=0D -}}}=0D -=0D -Package=3D<3>=0D -{{{=0D -}}}=0D -=0D -##########################################################################= #####=0D -=0D rmfile ./wxc/wxc-2.4.dsw hunk ./wxc/wxc-2.6.dsp 1 -# Microsoft Developer Studio Project File - Name=3D"wxc" - Package Owner= =3D<4>=0D -# Microsoft Developer Studio Generated Build File, Format Version 6.00=0D -# ** DO NOT EDIT **=0D -=0D -# TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102=0D -=0D -CFG=3Dwxc - Win32 Debug=0D -!MESSAGE This is not a valid makefile. To build this project using NMAKE,= =0D -!MESSAGE use the Export Makefile command and run=0D -!MESSAGE =0D -!MESSAGE NMAKE /f "wxc-2.6.mak".=0D -!MESSAGE =0D -!MESSAGE You can specify a configuration when running NMAKE=0D -!MESSAGE by defining the macro CFG on the command line. For example:=0D -!MESSAGE =0D -!MESSAGE NMAKE /f "wxc-2.6.mak" CFG=3D"wxc - Win32 Debug"=0D -!MESSAGE =0D -!MESSAGE Possible choices for configuration are:=0D -!MESSAGE =0D -!MESSAGE "wxc - Win32 Release" (based on "Win32 (x86) Dynamic-Link Library= ")=0D -!MESSAGE "wxc - Win32 Debug" (based on "Win32 (x86) Dynamic-Link Library")= =0D -!MESSAGE =0D -=0D -# Begin Project=0D -# PROP AllowPerConfigDependencies 0=0D -# PROP Scc_ProjName ""=0D -# PROP Scc_LocalPath ""=0D -CPP=3Dcl.exe=0D -MTL=3Dmidl.exe=0D -RSC=3Drc.exe=0D -=0D -!IF "$(CFG)" =3D=3D "wxc - Win32 Release"=0D -=0D -# PROP BASE Use_MFC 0=0D -# PROP BASE Use_Debug_Libraries 0=0D -# PROP BASE Output_Dir "Release"=0D -# PROP BASE Intermediate_Dir "Release"=0D -# PROP BASE Target_Dir ""=0D -# PROP Use_MFC 0=0D -# PROP Use_Debug_Libraries 0=0D -# PROP Output_Dir "..\dist\wxc"=0D -# PROP Intermediate_Dir "..\dist\wxc\release"=0D -# PROP Ignore_Export_Lib 0=0D -# PROP Target_Dir ""=0D -# ADD BASE CPP /nologo /MD /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS= " /D "_MBCS" /D "_USRDLL" /D "WXC_EXPORTS" /YX /FD /c=0D -# ADD CPP /nologo /MD /W3 /GX /O2 /I "..\..\wxWidgets-2.6.4\lib\vc_lib\msw= u" /I "..\..\wxWidgets-2.6.4\contrib\include" /I "include" /I "..\..\wxWidg= ets-2.6.4\include" /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D "_MBCS" /D "_USR= DLL" /D "WXC_EXPORTS" /D WINVER=3D0x400 /D "_MT" /D wxUSE_GUI=3D1 /D wxUSE_= UNICODE=3D1 /D wxUSE_STC=3D1 /D wxUSE_SVG=3D1 /D BUILD_WXC=3D1 /D "_DLL" /Y= X /FD /c=0D -# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32=0D -# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32=0D -# ADD BASE RSC /l 0x413 /d "NDEBUG"=0D -# ADD RSC /l 0x409 /i "..\..\wxWidgets-2.6.4\include" /d "NDEBUG"=0D -BSC32=3Dbscmake.exe=0D -# ADD BASE BSC32 /nologo=0D -# ADD BSC32 /nologo=0D -LINK32=3Dlink.exe=0D -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.= lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odb= ccp32.lib /nologo /dll /machine:I386=0D -=0D -# ADD LINK32 wxzlib.lib wxregexu.lib wxpng.lib wxjpeg.lib wxtiff.lib wxexp= at.lib wxbase26u.lib wxbase26u_net.lib wxbase26u_odbc.lib wxbase26u_xml.lib= wxmsw26u_core.lib wxmsw26u_adv.lib wxmsw26u_dbgrid.lib wxmsw26u_gl.lib wxm= sw26u_html.lib wxmsw26u_media.lib wxmsw26u_stc.lib wxmsw26u_svg.lib wxmsw26= u_xrc.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advap= i32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib= comctl32.lib rpcrt4.lib wsock32.lib opengl32.lib winmm.lib /nologo /dll /m= achine:I386 /nodefaultlib:"LIBCMT" /out:"..\dist\wxc\wxc-msw2.8.9-0.11.0.dl= l" /libpath:"..\..\wxWidgets-2.6.4\lib\vc_lib"=0D -# Begin Special Build Tool=0D -SOURCE=3D"$(InputPath)"=0D -PostBuild_Cmds=3Decho Generating mingw32 import library ... ..\bin\reimp .= .\dist\wxc\wxc-msw2.8.9-0.11.0.lib move libwxc-msw2.8.9-0.11.0.a ..\dist\wx= c move wxc-msw2.8.9-0.11.0.def ..\dist\wxc echo Done.=0D -# End Special Build Tool=0D -=0D -!ELSEIF "$(CFG)" =3D=3D "wxc - Win32 Debug"=0D -=0D -# PROP BASE Use_MFC 0=0D -# PROP BASE Use_Debug_Libraries 1=0D -# PROP BASE Output_Dir "Debug"=0D -# PROP BASE Intermediate_Dir "Debug"=0D -# PROP BASE Target_Dir ""=0D -# PROP Use_MFC 0=0D -# PROP Use_Debug_Libraries 1=0D -# PROP Output_Dir "..\dist\wxc"=0D -# PROP Intermediate_Dir "..\dist\wxc\debug"=0D -# PROP Ignore_Export_Lib 0=0D -# PROP Target_Dir ""=0D -# ADD BASE CPP /nologo /MDd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D = "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "WXC_EXPORTS" /YX /FD /GZ /c=0D -# ADD CPP /nologo /MDd /W3 /Gm /GX /ZI /Od /I "..\..\wxWidgets-2.6.4\lib\v= c_lib\mswud" /I "include" /I "..\..\wxWidgets-2.6.4\include" /I "..\..\wxWi= dgets-2.6.4\contrib\include" /D "_DEBUG" /D "__WXDEBUG__" /D WXDEBUG=3D1 /D= "WIN32" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "WXC_EXPORTS" /D WINVER= =3D0x400 /D "_MT" /D wxUSE_GUI=3D1 /D wxUSE_UNICODE=3D1 /D wxUSE_STC=3D1 /D= wxUSE_SVG=3D1 /D BUILD_WXC=3D1 /D "_DLL" /YX /FD /GZ /c=0D -# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /win32=0D -# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32=0D -# ADD BASE RSC /l 0x413 /d "_DEBUG"=0D -# ADD RSC /l 0x409 /i "..\..\wxWidgets-2.6.4\include" /d "_DEBUG"=0D -BSC32=3Dbscmake.exe=0D -# ADD BASE BSC32 /nologo=0D -# ADD BSC32 /nologo=0D -LINK32=3Dlink.exe=0D -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.= lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odb= ccp32.lib /nologo /dll /debug /machine:I386 /pdbtype:sept=0D -=0D -# ADD LINK32 wxzlibd.lib wxregexud.lib wxpngd.lib wxjpegd.lib wxtiffd.lib = wxexpatd.lib wxbase26ud.lib wxbase26ud_net.lib wxbase26ud_odbc.lib wxbase26= ud_xml.lib wxmsw26ud_core.lib wxmsw26ud_adv.lib wxmsw26ud_dbgrid.lib wxmsw2= 6ud_gl.lib wxmsw26ud_html.lib wxmsw26ud_media.lib wxmsw26ud_stc.lib wxmsw26= ud_svg.lib wxmsw26ud_xrc.lib kernel32.lib user32.lib gdi32.lib winspool.lib= comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc= 32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib opengl32.lib winmm.= lib /nologo /dll /debug /machine:I386 /nodefaultlib:"LIBCMTD" /out:"..\dist= \wxc\wxcd-msw2.8.9-0.11.0.dll" /pdbtype:sept /libpath:"..\..\wxWidgets-2.6.= 4\lib\vc_lib"=0D -# Begin Special Build Tool=0D -SOURCE=3D"$(InputPath)"=0D -PostBuild_Cmds=3Decho Generating mingw32 import library ... ..\bin\reimp .= .\dist\wxc\wxcd-msw2.8.9-0.11.0.lib move libwxcd-msw2.8.9-0.11.0.a ..\dist\= wxc move wxcd-msw2.8.9-0.11.0.def ..\dist\wxc echo Done.=0D -# End Special Build Tool=0D -=0D -!ENDIF =0D -=0D -# Begin Target=0D -=0D -# Name "wxc - Win32 Release"=0D -# Name "wxc - Win32 Debug"=0D -# Begin Group "Header Files"=0D -=0D -# PROP Default_Filter "h;hpp;hxx;hm;inl"=0D -# Begin Source File=0D -=0D -SOURCE=3D.\include\db.h=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\include\dragimage.h=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\include\ewxw_def.h=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\include\glcanvas.h=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\include\graphicscontext.h=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\include\managed.h=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\include\mediactrl.h=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\include\sound.h=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\include\previewframe.h=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\include\printout.h=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\include\stc.h=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\include\stc_gen.h=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\include\textstream.h=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\include\wrapper.h=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\include\wxc.h=0D -# End Source File=0D -# End Group=0D -# Begin Group "Resource Files"=0D -=0D -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe"= =0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\wxc.rc=0D -# End Source File=0D -# End Group=0D -# Begin Group "Source Files"=0D -=0D -# PROP Default_Filter "*.cpp"=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\apppath.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\db.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\dragimage.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\eljevent.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\eljmime.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\ewxw_main.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\extra.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\glcanvas.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\graphicscontext.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\image.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\managed.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\mediactrl.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\previewframe.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\printout.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\stc.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\taskbaricon.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\textstream.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\treectrl.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\sound.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\wrapper.cpp=0D -# End Source File=0D -# End Group=0D -# Begin Group "ewxw"=0D -=0D -# PROP Default_Filter ""=0D -# Begin Group "ewxw sources"=0D -=0D -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\eljaccelerator.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\eljartprov.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\eljbitmap.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\eljbrush.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\eljbusyinfo.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\eljbutton.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\eljcalendarctrl.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\eljcaret.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\eljcheckbox.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\eljchecklistbox.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\eljchoice.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\eljclipboard.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\eljcoldata.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\eljcolour.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\eljcolourdlg.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\eljcombobox.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\eljconfigbase.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\eljcontrol.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\eljctxhelp.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\eljcursor.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\eljdataformat.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\eljdatetime.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\eljdc.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\eljdcsvg.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\eljdialog.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\eljdialup.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\eljdirdlg.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\eljdnd.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\eljdrawing.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\eljfiledialog.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\eljfilehist.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\eljfindrepldlg.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\eljfont.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\eljfontdata.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\eljfontdlg.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\eljframe.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\eljgauge.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\eljgrid.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\eljhelpcontroller.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\eljicnbndl.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\eljicon.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\eljimage.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\eljimagelist.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\eljipc.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\eljlayoutconstraints.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\eljlistbox.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\eljlistctrl.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\eljlocale.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\eljlog.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\eljmask.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\eljmdi.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\eljmenu.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\eljmenubar.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\eljmessagedialog.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\eljminiframe.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\eljnotebook.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\eljpalette.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\eljpanel.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\eljpen.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\eljprintdlg.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\eljprinting.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\eljprocess.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\eljradiobox.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\eljradiobutton.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\eljregion.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\eljregioniter.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\eljsash.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\eljscrollbar.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\eljscrolledwindow.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\eljsingleinst.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\eljsizer.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\eljslider.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\eljspinctrl.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\eljsplitterwindow.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\eljstaticbox.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\eljstaticline.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\eljstatictext.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\eljstatusbar.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\eljsystemsettings.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\eljtextctrl.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\eljtglbtn.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\eljthread.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\eljtimer.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\eljtipwnd.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\eljtoolbar.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\eljvalidator.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\eljwindow.cpp=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\src\eljwizard.cpp=0D -# End Source File=0D -# End Group=0D -# Begin Group "ewxw headers"=0D -=0D -# PROP Default_Filter "*.h"=0D -# Begin Source File=0D -=0D -SOURCE=3D.\include\wxc_glue.h=0D -# End Source File=0D -# Begin Source File=0D -=0D -SOURCE=3D.\include\wxc_types.h=0D -# End Source File=0D -# End Group=0D -# End Group=0D -# End Target=0D -# End Project=0D rmfile ./wxc/wxc-2.6.dsp hunk ./wxc/wxc-2.6.dsw 1 -Microsoft Developer Studio Workspace File, Format Version 6.00=0D -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE!=0D -=0D -##########################################################################= #####=0D -=0D -Project: "wxc"=3D".\wxc-2.6.dsp" - Package Owner=3D<4>=0D -=0D -Package=3D<5>=0D -{{{=0D -}}}=0D -=0D -Package=3D<4>=0D -{{{=0D - Begin Project Dependency=0D - Project_Dep_Name stc=0D - End Project Dependency=0D -}}}=0D -=0D -##########################################################################= #####=0D -=0D -Project: "stc"=3D"..\..\wxWidgets-2.6.4\contrib\build\stc\stc.dsp" - Packa= ge Owner=3D<4>=0D -=0D -Package=3D<5>=0D -{{{=0D -}}}=0D -=0D -Package=3D<4>=0D -{{{=0D -}}}=0D -=0D -##########################################################################= #####=0D -=0D -Project: "svg"=3D"..\..\wxWidgets-2.6.4\contrib\build\stc\svg.dsp" - Packa= ge Owner=3D<4>=0D -=0D -Package=3D<5>=0D -{{{=0D -}}}=0D -=0D -Package=3D<4>=0D -{{{=0D -}}}=0D -=0D -##########################################################################= #####=0D -=0D -Global:=0D -=0D -Package=3D<5>=0D -{{{=0D -}}}=0D -=0D -Package=3D<3>=0D -{{{=0D -}}}=0D -=0D -##########################################################################= #####=0D -=0D rmfile ./wxc/wxc-2.6.dsw } Context: [TAG 0.11.0 shelarcy <she...@gm...>**20090102223052] = Patch bundle hash: 253c8a107fdbeb8ae44ae6fd6a259857b30b8e45 --=_-- . |
From: Henk-Jan v. T. <hj...@ch...> - 2009-01-05 11:29:49
|
L.S., Program wxhaskell-0.11.0\samples\contrib\GLCanvas.hs does not resize properly when the window is made smaller. When the window is enlarged (vertically), the GL canvas goes down; when the bottom of the window is pulled up, the canvas becomes invisible. When the window is enlarged again (either vertically or horizontally), the canvas is immediately moved to a visible location. Package: wxHaskell 0.11.0, wxWidgets 2.8.9 OS: Windows XP Compiler: GHC version 6.10.1 -- Regards, Henk-Jan van Tuyl -- http://functor.bamikanarie.com http://Van.Tuyl.eu/ -- |
From: Henk-Jan v. T. <hj...@ch...> - 2009-01-05 00:32:53
|
L.S., Program wxhaskell-0.11.0\samples\wx\BouncingBalls.hs does not respond to the keyboard, for example, the program does not pause when I press 'p'. Package: wxHaskell 0.11.0 OS: Windows XP Compiler: GHC version 6.10.1 -- Regards, Henk-Jan van Tuyl -- http://functor.bamikanarie.com http://Van.Tuyl.eu/ -- |
From: Henk-Jan v. T. <hj...@ch...> - 2009-01-05 00:21:46
|
L.S., I compiled wxhaskell-0.11.0\samples\wx\DbConsole.hs with the command ghc --make DbBrowse -optl-s -optl-mwindows When I run it, i see part of the background in the horizontal lines between the panels, see attached image. The same happens with the program FileBrowse.hs, in the vertical line between the panels. OS: Windows XP Compiler: GHC version 6.10.1 -- Regards, Henk-Jan van Tuyl -- http://functor.bamikanarie.com http://Van.Tuyl.eu/ -- |
From: Henk-Jan v. T. <hj...@ch...> - 2009-01-04 23:49:17
|
L.S., I compiled wxhaskell-0.11.0\samples\wx\print.hs with the command ghc --make print When I run it and select Print -> Page setup... the program crashes with the message: Segmentation fault/access violation in generated code OS: Windows XP Compiler: GHC version 6.10.1 -- Regards, Henk-Jan van Tuyl -- http://functor.bamikanarie.com http://Van.Tuyl.eu/ -- |
From: Jeremy O'D. <jer...@gm...> - 2009-01-04 15:35:59
|
The wxHaskell development team is pleased to announce the release of wxHaskell 0.11.1, a Haskell binding for the wxWidgets GUI library. The Haskell support is built on a reasonably complete C language binding, which could be used as the basis for wxWidgets support on other languages/platforms which do not have easy mechanisms for linking with C++ code. The main highlights of wxHaskell 0.11.1 are: - Support for XRC resource files, allowing GUI design using a visual tool. Note that this is currently not type safe, and programs will crash if a widget is not cast to the correct type on loading. - Support for wxWidgets 2.8.x. Support for wxWidgets 2.4.2 is now dropped and wxHaskell will not compile against versions of wxWidgets prior to 2.6. This means that exploratory development using GHCi is no longer possible. Workaround is to continue to use older wxHaskell versions. - Support for GHC 6.10 - Preliminary support for Cabal / Hackage The full list of changes is provided at the end of this mail. Binary packages are available from the wxHaskell download site at http://sourceforge.net/project/showfiles.php?group_id=73133, for the following platforms: - Windows - OS X (Intel platform only) - Source code .tar.gz and .zip - Documentation (cross-platform) The wxHaskell libraries (wxcore and wx) are also available from Hackage (http://hackage.haskell.org). About wxHaskell --------------- wxHaskell is a Haskell binding to the wxWidgets GUI library for recent versions of the Glasgow Haskell Compiler. It provides a native look and feel on Windows, OS X and Linux, and a medium level programming interface. The main project page for wxHaskell is at http://wxhaskell.sourceforge.net. The latest source code for wxHaskell can always be obtained from http://darcs.haskell.org/wxhaskell. There are developer (wxh...@li... and user (wxh...@li...) mailing lists, and a wiki page at http://haskell.org/haskellwiki/WxHaskell which can provide more information to those interested. The C language binding for wxHaskell was derived from an original C language binding created for the Eiffel programming language by the ELJ project (http://elj.sourceforge.net). Non backward compatible changes: - Preliminary Cabal / Hackage support - Added "--global" argument to configure script - Added "--user" argument to configure script - Changed wxhaskell official web page to Haskell wiki at http://haskell.org/haskellwiki/WxHaskell - Changed official darcs repository to code.haskell.org - Adapted the wxHaskell C-layer to work with wxWidgets 2.8 - Adapted some part of wxcore API to be able to refer to wxWidgets 2.8 documentation for wxcore functions - Added "TopLevelWindow", which mainly removes some functionality from "Frame" - Changed "--with-stc" argument to "--with-contrib" - Removed "Wave" type synonym Backward compatible additions: - Added support for using XRC resource files to load most controls and menus attached to frames. - Added sample file showing how to use XRC support to attach command handlers to menu items - Added sample file showing how to use properties with many controls. - Added "--enable-optimization" argument to configure script - Added "--O*" argument to configure script - Added "--enable-library-profiling" argument to configure script - Added "--p" argument to configure script - Added "-fvia-C" argument to configure script. And moved this compilation flag to configure script - Added Image / ByteString conversion functions - Adapted the configuration to work with GHC 6.10. - Changed "Var" type synonym from "IORef" to stm's "TVar" for thread safety - Changed "imageGetPixelArray" and "imageCreateFromPixelArray" to be more flexible. - Changed "Point", "Size", "Vector" and "Rect" to be type synonym. - Added "wxcMilliSleep". Now, "wxcAppUSleep" is deprecated. Use "wxcMilliSleep" instead - Added very experimental wxGraphicsContext support - Added wxSVGFileDC functions Bugfixes: - Applied DEPRECATED pragma to old deprecated functions. Just documented in Haddock before. - Fixed "processExecAsync" hangs Windows GUI-only program - Fixed Windows binary install problem when path with spaces (bug 1400488) - Probably fixed the applicattion failed to initialize properly when using Windows binary. -- Jeremy O'Donoghue jer...@gm... -- Jeremy O'Donoghue jer...@gm... |
From: shelarcy <she...@gm...> - 2009-01-04 11:05:20
|
Hi Jeremy, We don't receive annoucement yet. Are you busy now? Best Regards, On Sat, 03 Jan 2009 08:07:30 +0900, Jeremy O'Donoghue <je...@o-...> wrote: > I'll do an announcement tomorrow morning (UK time). > > Regards > Jeremy > > On 2 Jan 2009, at 22:57, shelarcy wrote: > >> Hi, I think we're ready for wxHaskell 0.11.0 release. >> >> Now, I uploaded source distribution and binary distribution that >> doesn't >> include Linux and PowerPC Mac OS X's binary. Because I don't have >> these >> machine and Debian's wxWidgets 2.8.x is not stable now. >> >> I updated more part of HaskellWiki's wxHaskell document, and I >> uploaded >> wxcore 0.11.0 and wx 0.11.0 to HackageDB, too. >> >> Jeremy, how about announce wxHaskell 0.11.0 release? -- shelarcy <shelarcy hotmail.co.jp> http://page.freett.com/shelarcy/ |
From: Jeremy O'D. <je...@o-...> - 2009-01-02 23:07:38
|
Hi, I'll do an announcement tomorrow morning (UK time). Regards Jeremy On 2 Jan 2009, at 22:57, shelarcy wrote: > Hi, I think we're ready for wxHaskell 0.11.0 release. > > Now, I uploaded source distribution and binary distribution that > doesn't > include Linux and PowerPC Mac OS X's binary. Because I don't have > these > machine and Debian's wxWidgets 2.8.x is not stable now. > > I updated more part of HaskellWiki's wxHaskell document, and I > uploaded > wxcore 0.11.0 and wx 0.11.0 to HackageDB, too. > > Jeremy, how about announce wxHaskell 0.11.0 release? > > > Best Regards, > > On Tue, 23 Dec 2008 23:13:59 +0900, shelarcy <she...@gm...> > wrote: >> Hi, I updated and added a few documentation now. >> >> I uploaded current darcs version as 0.10.6 to HackageDB for >> describing >> cabal command's build instruction. Because current darcs version is >> changed some part since I uploaded wx and wxcore 0.10.5. >> >> http://www.haskell.org/haskellwiki/WxHaskell/Building >> http://www.haskell.org/haskellwiki/WxHaskell/ >> Building#Building_wxHaskell >> >> and a few documentations. >> >> If anyone want to add more information to wxHaskell's page, please >> modify documentation yourself. >> >> On Mon, 22 Dec 2008 20:46:47 +0900, Eric Kow <eri...@gm...> >> wrote: >>>> I know we have a few problems. But we can't solve their problems >>>> soonly. >>> >>> Any problems we can't resolve we should document clearly and propose >>> workarounds for. >> >> I can't write one note that is describing about XRC and type safety. >> >> http://www.mail-archive.com/wxh...@li.../ >> msg00346.html >> >> Because Jeremy has some text about using XRC support. I'm afraid >> my text >> is conflict or contradicting to his change. >> >> http://sourceforge.net/mailarchive/forum.php? >> thread_name=1224586792.27106.1280412245% >> 40webmail.messagingengine.com&forum_name=wxhaskell-devel >> >> Best Regards, >> >>> Note: I'm quite pleased that I can now install wxcore in the user >>> directory (although I forget how I did this; was it ./configure -- >>> user ; >>> make; make install I did?). It might be nice if we mentioned that >>> LD_LIBRARY_PATH must be set (for Linux users at least), as the >>> ~/.cabal/... path is not likely to be in people's LD_LIBRARY_PATH >>> >>> In general, it would be nice to see the wiki updated with the latest >>> instructions for how to install wxhaskell, especially for people >>> who use >>> hackage packages that depend on wx. >>> >>> I think a nice way would be something like >>> >>> 1. whatever is needed to install wxcore >>> 2. cabal install wx > > -- > shelarcy <shelarcy hotmail.co.jp> > http://page.freett.com/shelarcy/ |
From: shelarcy <she...@gm...> - 2009-01-02 22:57:32
|
Hi, I think we're ready for wxHaskell 0.11.0 release. Now, I uploaded source distribution and binary distribution that doesn't include Linux and PowerPC Mac OS X's binary. Because I don't have these machine and Debian's wxWidgets 2.8.x is not stable now. I updated more part of HaskellWiki's wxHaskell document, and I uploaded wxcore 0.11.0 and wx 0.11.0 to HackageDB, too. Jeremy, how about announce wxHaskell 0.11.0 release? Best Regards, On Tue, 23 Dec 2008 23:13:59 +0900, shelarcy <she...@gm...> wrote: > Hi, I updated and added a few documentation now. > > I uploaded current darcs version as 0.10.6 to HackageDB for describing > cabal command's build instruction. Because current darcs version is > changed some part since I uploaded wx and wxcore 0.10.5. > > http://www.haskell.org/haskellwiki/WxHaskell/Building > http://www.haskell.org/haskellwiki/WxHaskell/Building#Building_wxHaskell > > and a few documentations. > > If anyone want to add more information to wxHaskell's page, please > modify documentation yourself. > > On Mon, 22 Dec 2008 20:46:47 +0900, Eric Kow <eri...@gm...> wrote: >>> I know we have a few problems. But we can't solve their problems >>> soonly. >> >> Any problems we can't resolve we should document clearly and propose >> workarounds for. > > I can't write one note that is describing about XRC and type safety. > > http://www.mail-archive.com/wxh...@li.../msg00346.html > > Because Jeremy has some text about using XRC support. I'm afraid my text > is conflict or contradicting to his change. > > http://sourceforge.net/mailarchive/forum.php?thread_name=1224586792.27106.1280412245%40webmail.messagingengine.com&forum_name=wxhaskell-devel > > Best Regards, > >> Note: I'm quite pleased that I can now install wxcore in the user >> directory (although I forget how I did this; was it ./configure --user ; >> make; make install I did?). It might be nice if we mentioned that >> LD_LIBRARY_PATH must be set (for Linux users at least), as the >> ~/.cabal/... path is not likely to be in people's LD_LIBRARY_PATH >> >> In general, it would be nice to see the wiki updated with the latest >> instructions for how to install wxhaskell, especially for people who use >> hackage packages that depend on wx. >> >> I think a nice way would be something like >> >> 1. whatever is needed to install wxcore >> 2. cabal install wx -- shelarcy <shelarcy hotmail.co.jp> http://page.freett.com/shelarcy/ |
From: shelarcy <she...@gm...> - 2009-01-02 22:25:06
|
Pushed. 2009/1/2 shelarcy <she...@gm...>: > Fri Jan 2 14:13:07 =93=8C=8B=9E (=95W=8F=80=8E=9E) 2009 shelarcy <shelarc= > y...@gm...> > * Add toolMenuFromBitmap function (requested by Bernd Holzmueller). -- shelarcy <shelarcy hotmail.co.jp> http://page.freett.com/shelarcy/ |
From: Kido T. <she...@co...> - 2009-01-02 22:22:22
|
Fri Jan 2 00:13:07 EST 2009 shelarcy <she...@gm...> * Add toolMenuFromBitmap function (requested by Bernd Holzmueller). Ignore-this: 4554f704bc90617ce767e2cb51816857 M ./wx/src/Graphics/UI/WX/Menu.hs -10 +16 M ./wxc/src/eljdc.cpp -1 +1 View patch online: http://code.haskell.org/wxhaskell/_darcs/patches/20090102051307-c1071-7e46b3f6be547a3e70d144901640df898a70b8e9.gz |
From: shelarcy <she...@gm...> - 2009-01-02 05:16:59
|
DarcsURL: C:/home/shelarcy/wxhaskell MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=_" --=_ Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Fri Jan 2 14:13:07 =93=8C=8B=9E (=95W=8F=80=8E=9E) 2009 shelarcy <shelarc= y...@gm...> * Add toolMenuFromBitmap function (requested by Bernd Holzmueller). --=_ Content-Type: text/x-darcs-patch; name="add-toolmenufrombitmap-function--_requested-by-bernd-holzmueller__.dpatch" Content-Transfer-Encoding: quoted-printable Content-Description: A darcs patch for your repository! New patches: [Add toolMenuFromBitmap function (requested by Bernd Holzmueller). shelarcy <she...@gm...>**20090102051307 Ignore-this: 4554f704bc90617ce767e2cb51816857 ] { hunk ./wx/src/Graphics/UI/WX/Menu.hs 41 , menuItemOnCommandRes, menuLine, menuSub, menuRadioItem -- * Tool bar , ToolBar, toolBar, toolBarEx - , ToolBarItem, toolMenu, toolItem, toolControl, tool + , ToolBarItem, toolMenu, toolMenuFromBitmap, toolItem, toolControl, to= ol -- * Status bar , StatusField, statusBar, statusField, statusWidth -- * Deprecated hunk ./wx/src/Graphics/UI/WX/Menu.hs 537 -- corresponding menu item. toolMenu :: ToolBar a -> MenuItem a -> String -> FilePath -> [Prop ToolBar= Item] -> IO ToolBarItem toolMenu toolbar menuitem label bitmapPath props + =3D withBitmapFromFile bitmapPath $ \bitmap -> + toolMenuFromBitmap toolbar menuitem label bitmap props + +-- | This is a generalized version of 'toolMenu' function. You can specify= 'Bitmap' that is +-- loaded from any other place instead of using 'FilePath' directly. +toolMenuFromBitmap :: ToolBar a -> MenuItem a -> String -> Bitmap b -> [Pr= op ToolBarItem] -> IO ToolBarItem +toolMenuFromBitmap toolbar menuitem label bitmap props =3D do isToggle <- get menuitem checkable id <- get menuitem identity lhelp <- get menuitem help hunk ./wx/src/Graphics/UI/WX/Menu.hs 548 shelp <- get menuitem help - withBitmapFromFile bitmapPath $ \bitmap -> - do toolBarAddTool2 toolbar id label bitmap nullBitmap = - (if isToggle then wxITEM_CHECK else wxITEM_NOR= MAL) - shelp lhelp - let t =3D ToolBarItem (downcastToolBar toolbar) id isToggle - set t props - toolBarRealize toolbar - return t - = + toolBarAddTool2 toolbar id label bitmap nullBitmap = + (if isToggle then wxITEM_CHECK else wxITEM_NORMAL) + shelp lhelp + let t =3D ToolBarItem (downcastToolBar toolbar) id isToggle + set t props + toolBarRealize toolbar + return t + -- | Create an /orphan/ toolbar item that is unassociated with a menu. Tak= es a = -- label, a flag that is 'True' when the item is 'checkable' and a path to= an image -- (bmp,png,gif,ico,etc.) as arguments. hunk ./wxc/src/eljdc.cpp 663 #endif=0D }=0D =0D -#if (wxVERSION_NUMBER >=3D 2800)=0D +#if wxCHECK_VERSION (2,8,0)=0D EWXWEXPORT(void, wxDC_DrawLabel)(void* _obj, void *str, int x, int y, int = w, int h, int align, int indexAccel)=0D {=0D wxRect rect(x, y, w, h);=0D } Context: [Fix: Hardcoded wxNB_* layout style doesn't works well when using wxWidgets= 2.8.x. = shelarcy <she...@gm...>**20081226144925 Ignore-this: bbc473ee95a5adb12a3706a3991b6ae5 ] = [Set Release version to 0.11.0 shelarcy <she...@gm...>**20081223224013 Ignore-this: 821416dd762e7831bbbddada8ec3f7e6 ] = [Bump version number to 0.11.0 shelarcy <she...@gm...>**20081223223920 Ignore-this: afafd04b0a0f0aac470563a679a71d30 ] = [Add Homepage field to .cabal file. shelarcy <she...@gm...>**20081223142850 Ignore-this: cc01f7082f7b3d2b5a1083ea02716b0c ] = [Update change.txt for wxHaskell 0.11.0 release. shelarcy <she...@gm...>**20081223065839 Ignore-this: 69302b9bc2f16ccb2403d33ab525db9b ] = [just change indentation in wxWindow_GetChildren function. shelarcy <she...@gm...>**20081217155236 Ignore-this: a6602734698b0348e5699bc1f730be8d ] = [Use wxWindowList::compatibility_iterator in wxc to avoid building problem. h8...@go...**20081217062225] = [TAG 0.11.0rc1_3 shelarcy <she...@gm...>**20081214235542] = Patch bundle hash: 05ee7400b8a5ee77628862f0d0c9a2fdc26b4918 --=_-- . |
From: Adam W. <awi...@ma...> - 2008-12-28 18:26:02
|
On Sun, 2008-12-28 at 14:01 +0100, Mads Lindstrøm wrote: > Wxgtk 2.8 works for me. I am running Debian stable with wxgtk back-port > from http://apt.wxwidgets.org/ . Well, good to know it works in some case at least. > Maybe this has to do with the configuration of wxWidgets. Did you > compile with the opengl flag? http://svn.mandriva.com/cgi-bin/viewvc.cgi/packages/cooker/wxgtk2.8/current/SPECS/wxgtk2.8.spec?view=markup %configure2_5x --enable-unicode \ --without-odbc \ --with-opengl \ --enable-gtk2 --with-gtk \ --without-debug_flag \ --without-debug_info \ --with-sdl \ --with-libpng=sys \ --with-libjpeg=sys \ --with-libtiff=sys \ --with-zlib=sys \ --enable-optimise \ --enable-calendar \ --enable-wave \ --enable-fraction \ --enable-wxprintfv \ --enable-xresources \ --enable-controls \ --enable-tabdialog \ --enable-msgdlg \ --enable-dirdlg \ --enable-numberdlg \ --enable-splash \ --enable-textdlg > And how did you compile wxhaskell? http://www.pastie.org/347868 http://www.pastie.org/347869 -- adamw |
From: Mads L. <mad...@ya...> - 2008-12-28 13:25:10
|
Hi Adam Williamson: > Hi, guys. I'm currently working to convert all of Mandriva to wxgtk 2.8 > rather than 2.6. wxhaskell is just about the last wxgtk 2.6 piece. :) > > I read via the wiki that 0.11.0 seems not only to claim to support 2.8, > but to more or less require it: > > "wxHaskell 0.11.x supports wxWidgets 2.8. And wxHaskell doesn't support > wxWidgets 2.6 any more." > > However, when I build 0.11.0 against wxgtk 2.8, then try to run any of > the example programs in the source tree as described on the building > wiki page, I get the exact symptoms described here: > > https://sourceforge.net/tracker/?func=detail&atid=536845&aid=1924535&group_id=73133 > > i.e. three console messages and then nothing - no output. > > I've tested with both unicode and non-unicode wx 2.8 - doesn't make any > difference. Both fail. > > Is this known? If so, can the Wiki page be clarified...and can this be, > well, fixed? :) Thanks! Wxgtk 2.8 works for me. I am running Debian stable with wxgtk back-port from http://apt.wxwidgets.org/ . Maybe this has to do with the configuration of wxWidgets. Did you compile with the opengl flag? How did you compile wxwidgets? And how did you compile wxhaskell? Greetings, Mads |
From: Adam W. <awi...@ma...> - 2008-12-28 11:24:10
|
Hi, guys. I'm currently working to convert all of Mandriva to wxgtk 2.8 rather than 2.6. wxhaskell is just about the last wxgtk 2.6 piece. :) I read via the wiki that 0.11.0 seems not only to claim to support 2.8, but to more or less require it: "wxHaskell 0.11.x supports wxWidgets 2.8. And wxHaskell doesn't support wxWidgets 2.6 any more." However, when I build 0.11.0 against wxgtk 2.8, then try to run any of the example programs in the source tree as described on the building wiki page, I get the exact symptoms described here: https://sourceforge.net/tracker/?func=detail&atid=536845&aid=1924535&group_id=73133 i.e. three console messages and then nothing - no output. I've tested with both unicode and non-unicode wx 2.8 - doesn't make any difference. Both fail. Is this known? If so, can the Wiki page be clarified...and can this be, well, fixed? :) Thanks! -- adamw |