Wine components: gdiplus

2007-08-08 Thread Evan Stade
Hi, Could we add gdiplus to the bugzilla components list? thanks. -- Evan Stade

Re: [PATCH] winecfg: Fix crash caused by calling set_reg_key with NULL value

2007-08-04 Thread Evan Stade
On 8/3/07, Nigel Liang <[EMAIL PROTECTED]> wrote: > On 8/3/07, Evan Stade <[EMAIL PROTECTED]> wrote: > > On 8/3/07, Nigel Liang <[EMAIL PROTECTED]> wrote: > > > diff --git a/programs/winecfg/winecfg.c b/programs/winecfg/winecfg.c > > > index 84dd4c8

Re: [PATCH] winecfg: Fix crash caused by calling set_reg_key with NULL value

2007-08-03 Thread Evan Stade
oc(GetProcessHeap(), 0, > (strlen(value)+1)*sizeof(WCHAR)); > +MultiByteToWideChar(CP_ACP, 0, value, -1, wvalue, strlen(value)+1); > +} > > set_reg_key_ex(root, wpath, wname, wvalue, REG_SZ); > > -- > 1.4.1 > > > > You need to initialize wvalue to NULL -- Evan Stade

Re: [4/4] winex11.drv: draw custom dashes [try2]

2007-07-31 Thread Evan Stade
On 7/30/07, Evan Stade <[EMAIL PROTECTED]> wrote: > Hi, > > [try2] > * matched braces style of rest of file > * spread code out to make it more readable > * simplified use of gdi_to_x11_dashes > > dlls/winex11.drv/graphics.c |3 + > d

Re: [1/4] gdi32: limit PS_USERSTYLE style count to 16

2007-07-27 Thread Evan Stade
On 7/26/07, Evan Stade <[EMAIL PROTECTED]> wrote: > Hi, > > this patch is needed to prevent wine from crashing on the test that > comprises my next patch > > dlls/gdi32/pen.c |2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > -- > Evan Stade >

gdiplus progress and pptview

2007-07-24 Thread Evan Stade
a 50-page real-world presentation. -- Evan Stade

Re: winex11.drv: draw dashed lines for extended pens

2007-07-17 Thread Evan Stade
etween LineOnOffDash and LineDoubleDash in X11DRV_SetupGCForPen. -- Evan Stade

Re: [1/2] gdi32: Added PolyDraw tests to tests/path.c [try2]

2007-06-29 Thread Evan Stade
On 6/29/07, Koshelev, Misha Vladislavo <[EMAIL PROTECTED]> wrote: On 6/27/07, Evan Stade wrote: > Hi, > > [try2] The patch I sent yesterday was not properly todo_wined. Also, > this test is a bit more extensive (about twice as many points drawn). > It us

Re: [1/2] gdi32: Added PolyDraw tests to tests/path.c [try2]

2007-06-28 Thread Evan Stade
On 6/27/07, Evan Stade <[EMAIL PROTECTED]> wrote: Hi, [try2] The patch I sent yesterday was not properly todo_wined. Also, this test is a bit more extensive (about twice as many points drawn). It uses various point-type combination (even non-sensical ones such as PT_LINETO | PT_MOVETO) t

Re: GDI/GDI+ creating paths

2007-06-26 Thread Evan Stade
On 6/26/07, Evan Stade <[EMAIL PROTECTED]> wrote: Hi, I was talking with Julliard about the implementation of paths in GDI+. He suggested that the right way to do it was to build paths directly (i.e. not calling into GDI). I'm not sure why calling into GDI is undesirable. There

GDI/GDI+ creating paths

2007-06-26 Thread Evan Stade
direction. Can anyone suggest another reason why this approach is flawed? -- Evan Stade

Re: [1/2] oleaut32: add PNG loading [try2]

2007-06-20 Thread Evan Stade
On 6/19/07, Evan Stade <[EMAIL PROTECTED]> wrote: Hi, Try2: This time the rowsize is correctly aligned (on 4-byte boundaries) and palette-mode PNGs are allowed as well as RGB-mode PNGs. Changelog: *added support to decode some PNG files *added check for png.h / dynamic loading of lib

Re: vxd loading is broken last months

2007-06-16 Thread Evan Stade
ine to run dos .com programs (including via cmd.exe). It gets stuck in an infinite loop in DOSVM. Is there some trick to getting .com programs running? -- Evan Stade

Re: vxd loading is broken last months

2007-06-15 Thread Evan Stade
On 6/15/07, Vitaly Lipatov <[EMAIL PROTECTED]> wrote: CreateFile is not success with somename.vxd (somename.vxd.so exists in /usr/lib/wine) As known open_vxd_handle( LPCWSTR name ) in kernel32/vxd.c have to open dummy file in the wineserver directory. It try use NtCreateFile for open Unix path /

Re: [GDI+: 7/7] implemented GdipDrawImage

2007-06-13 Thread Evan Stade
On 6/13/07, Evan Stade <[EMAIL PROTECTED]> wrote: Hi, changelog: *implemented GdipDrawImage dlls/gdiplus/gdiplus.spec |2 +- dlls/gdiplus/graphics.c | 28 include/gdiplusflat.h |1 + 3 files changed, 30 insertions(+), 1 deletions(-) -Evan

Re: [GDI+ implementation: 1/8] GdipDrawLineI

2007-06-12 Thread Evan Stade
On 6/12/07, Evan Stade <[EMAIL PROTECTED]> wrote: Hi, Changelog: *implemented GdipDrawLineI dlls/gdiplus/gdiplus.spec |2 +- dlls/gdiplus/graphics.c | 16 2 files changed, 17 insertions(+), 1 deletions(-) -Evan Stade Sorry, to clarify: this series of patche

Re: [GDI+: 2/10] first pen test

2007-06-12 Thread Evan Stade
On 6/12/07, Detlef Riekenberg <[EMAIL PROTECTED]> wrote: On Mo, 2007-06-11 at 11:52 -0700, Evan Stade wrote: > + > +status = GdipCreatePen1((ARGB)0x00ff, 10.0f, UnitPixel, > &pen); > + > +todo_wine > +expect(GdiplusNotInitialized, status);

Re: [GDI+: 3/5] added graphics implementation and tests

2007-06-12 Thread Evan Stade
On 6/10/07, Dmitry Timoshkov <[EMAIL PROTECTED]> wrote: > "Evan Stade" <[EMAIL PROTECTED]> wrote: > > >> Any reason why are you creating a new pen in GdipDrawRectangleI, and while using > >> an existing one in GdipDrawLineI? > >> > >&

GDI+ programs

2007-06-11 Thread Evan Stade
Hi, I want to make some real applications work with the built-in wine GDI+. Does anyone know of some programs that use GDI+ that would be good for guiding my development? thanks, Evan Stade

Re: [GDI+: 3/5] added graphics implementation and tests

2007-06-10 Thread Evan Stade
On 6/8/07, Dmitry Timoshkov <[EMAIL PROTECTED]> wrote: "Evan Stade" <[EMAIL PROTECTED]> wrote: > +GpStatus WINGDIPAPI GdipDrawLineI(GpGraphics *graphics, GpPen *pen, INT x1, > +INT y1, INT x2, INT y2) > +{ > +HGDIOBJ old_obj; > + > +

Re: [GDI+: 5/5] Added GdipFillPie

2007-06-10 Thread Evan Stade
On 6/8/07, Dmitry Timoshkov <[EMAIL PROTECTED]> wrote: "Evan Stade" <[EMAIL PROTECTED]> wrote: > +GpStatus WINGDIPAPI GdipFillPie(GpGraphics *graphics, GpBrush *brush, REAL x, > +REAL y, REAL width, REAL height, REAL startAngle, REAL sweepAngle) > +{ >

Re: Added GDI+ public headers, small implementation of pen, memory and initialization, and two tests (2nd try)

2007-06-01 Thread Evan Stade
On 6/1/07, Detlef Riekenberg <[EMAIL PROTECTED]> wrote: On Do, 2007-05-31 at 18:02 -0700, Evan Stade wrote: > Changelog: > *Added GDI+ public headers > *Added some implementation (pen.c, gdiplus.c, memory.c) > *Added two tests (pen.c, init.c) I good indicator, that the Patch

GDI+: headers and one test

2007-05-29 Thread Evan Stade
++ include/GdiplusGpStubs.h | 10 + include/GdiplusInit.h| 26 include/GdiplusTypes.h |7 +++ 16 files changed, 462 insertions(+), 5 deletions(-) -Evan Stade diff --git a/dlls/gdiplus/Makefile.in b/dlls/gdiplus/Makefile.in index f1d5040

Re: c++ code

2007-05-28 Thread Evan Stade
On 5/28/07, Dmitry Timoshkov <[EMAIL PROTECTED]> wrote: "Evan Stade" <[EMAIL PROTECTED]> wrote: > Well the Platform SDK headers use C++. From gdiplus.h: > > ... >namespace DllExports >{ >#include "GdiplusFlat.h" >}; &

Re: c++ code

2007-05-28 Thread Evan Stade
On 5/26/07, Alexandre Julliard <[EMAIL PROTECTED]> wrote: "Evan Stade" <[EMAIL PROTECTED]> writes: > I want to write conformance tests for gdiplus and that requires the use of > c++. Even if I were to focus on the gdi+ flat api, the windows SDK headers > for t

c++ code

2007-05-25 Thread Evan Stade
compile c++ in the wine environment. What do I have to do to be able to write these tests? -Evan Stade

Re: gdiplus: added stub implementation of gdiplus.dll

2007-05-25 Thread Evan Stade
I think all the files that Mounir said to include are all modified automatically or by Julliard "You should not include any autogenerated code, that was created from 'autoconf' or a tool inside 'tools/' ( tools/make_makefiles or winedump as examples), when you submit your Patch to winehq.org" On