winehq.org
Sign In
Sign Up
Sign In
Sign Up
Manage this list
×
Keyboard Shortcuts
Thread View
j
: Next unread message
k
: Previous unread message
j a
: Jump to all threads
j l
: Jump to MailingList overview
2025
February
January
2024
December
November
October
September
August
July
June
May
April
March
February
January
2023
December
November
October
September
August
July
June
May
April
March
February
January
2022
December
November
October
September
August
July
June
May
April
March
February
January
2021
December
November
October
September
August
July
June
May
April
March
February
January
2020
December
November
October
September
August
July
June
May
April
March
February
January
2019
December
November
October
September
August
July
June
May
April
March
February
January
2018
December
November
October
September
August
July
June
May
April
March
February
January
2017
December
November
October
September
August
July
June
May
April
March
February
January
2016
December
November
October
September
August
July
June
May
April
March
February
January
2015
December
November
October
September
August
July
June
May
April
March
February
January
2014
December
November
October
September
August
July
June
May
April
March
February
January
2013
December
November
October
September
August
July
June
May
April
March
February
January
2012
December
November
October
September
August
July
June
May
April
March
February
January
2011
December
November
October
September
August
July
June
May
April
March
February
January
2010
December
November
October
September
August
July
June
May
April
March
February
January
2009
December
November
October
September
August
July
June
May
April
March
February
January
2008
December
November
October
September
August
July
June
May
April
March
February
January
2007
December
November
October
September
August
July
June
May
April
March
February
January
2006
December
November
October
September
August
July
June
May
April
March
February
January
2005
December
November
October
September
August
July
June
May
April
March
February
January
2004
December
November
October
September
August
July
June
May
April
March
February
January
2003
December
November
October
September
August
July
June
May
April
March
February
January
2002
December
November
October
September
August
July
June
May
April
March
February
January
2001
December
November
October
September
August
July
June
May
April
March
February
List overview
wine-commits
June 2009
----- 2025 -----
February 2025
January 2025
----- 2024 -----
December 2024
November 2024
October 2024
September 2024
August 2024
July 2024
June 2024
May 2024
April 2024
March 2024
February 2024
January 2024
----- 2023 -----
December 2023
November 2023
October 2023
September 2023
August 2023
July 2023
June 2023
May 2023
April 2023
March 2023
February 2023
January 2023
----- 2022 -----
December 2022
November 2022
October 2022
September 2022
August 2022
July 2022
June 2022
May 2022
April 2022
March 2022
February 2022
January 2022
----- 2021 -----
December 2021
November 2021
October 2021
September 2021
August 2021
July 2021
June 2021
May 2021
April 2021
March 2021
February 2021
January 2021
----- 2020 -----
December 2020
November 2020
October 2020
September 2020
August 2020
July 2020
June 2020
May 2020
April 2020
March 2020
February 2020
January 2020
----- 2019 -----
December 2019
November 2019
October 2019
September 2019
August 2019
July 2019
June 2019
May 2019
April 2019
March 2019
February 2019
January 2019
----- 2018 -----
December 2018
November 2018
October 2018
September 2018
August 2018
July 2018
June 2018
May 2018
April 2018
March 2018
February 2018
January 2018
----- 2017 -----
December 2017
November 2017
October 2017
September 2017
August 2017
July 2017
June 2017
May 2017
April 2017
March 2017
February 2017
January 2017
----- 2016 -----
December 2016
November 2016
October 2016
September 2016
August 2016
July 2016
June 2016
May 2016
April 2016
March 2016
February 2016
January 2016
----- 2015 -----
December 2015
November 2015
October 2015
September 2015
August 2015
July 2015
June 2015
May 2015
April 2015
March 2015
February 2015
January 2015
----- 2014 -----
December 2014
November 2014
October 2014
September 2014
August 2014
July 2014
June 2014
May 2014
April 2014
March 2014
February 2014
January 2014
----- 2013 -----
December 2013
November 2013
October 2013
September 2013
August 2013
July 2013
June 2013
May 2013
April 2013
March 2013
February 2013
January 2013
----- 2012 -----
December 2012
November 2012
October 2012
September 2012
August 2012
July 2012
June 2012
May 2012
April 2012
March 2012
February 2012
January 2012
----- 2011 -----
December 2011
November 2011
October 2011
September 2011
August 2011
July 2011
June 2011
May 2011
April 2011
March 2011
February 2011
January 2011
----- 2010 -----
December 2010
November 2010
October 2010
September 2010
August 2010
July 2010
June 2010
May 2010
April 2010
March 2010
February 2010
January 2010
----- 2009 -----
December 2009
November 2009
October 2009
September 2009
August 2009
July 2009
June 2009
May 2009
April 2009
March 2009
February 2009
January 2009
----- 2008 -----
December 2008
November 2008
October 2008
September 2008
August 2008
July 2008
June 2008
May 2008
April 2008
March 2008
February 2008
January 2008
----- 2007 -----
December 2007
November 2007
October 2007
September 2007
August 2007
July 2007
June 2007
May 2007
April 2007
March 2007
February 2007
January 2007
----- 2006 -----
December 2006
November 2006
October 2006
September 2006
August 2006
July 2006
June 2006
May 2006
April 2006
March 2006
February 2006
January 2006
----- 2005 -----
December 2005
November 2005
October 2005
September 2005
August 2005
July 2005
June 2005
May 2005
April 2005
March 2005
February 2005
January 2005
----- 2004 -----
December 2004
November 2004
October 2004
September 2004
August 2004
July 2004
June 2004
May 2004
April 2004
March 2004
February 2004
January 2004
----- 2003 -----
December 2003
November 2003
October 2003
September 2003
August 2003
July 2003
June 2003
May 2003
April 2003
March 2003
February 2003
January 2003
----- 2002 -----
December 2002
November 2002
October 2002
September 2002
August 2002
July 2002
June 2002
May 2002
April 2002
March 2002
February 2002
January 2002
----- 2001 -----
December 2001
November 2001
October 2001
September 2001
August 2001
July 2001
June 2001
May 2001
April 2001
March 2001
February 2001
wine-commits@winehq.org
5 participants
1115 discussions
Start a n
N
ew thread
Ben Klein : mountmgr.sys: Add tracking of fixed harddisk devices.
by Alexandre Julliard
05 Jun '09
05 Jun '09
Module: wine Branch: master Commit: 49f1d5f7c892787d64fc84bab239ea52646ed10a URL:
http://source.winehq.org/git/wine.git/?a=commit;h=49f1d5f7c892787d64fc84bab…
Author: Ben Klein <shacklein(a)gmail.com> Date: Thu Jun 4 18:14:56 2009 +1000 mountmgr.sys: Add tracking of fixed harddisk devices. --- dlls/mountmgr.sys/mountmgr.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/dlls/mountmgr.sys/mountmgr.c b/dlls/mountmgr.sys/mountmgr.c index 00112b9..d2b1515 100644 --- a/dlls/mountmgr.sys/mountmgr.c +++ b/dlls/mountmgr.sys/mountmgr.c @@ -264,6 +264,7 @@ static NTSTATUS define_unix_drive( const void *in_buff, SIZE_T insize ) case DRIVE_REMOTE: type = DEVICE_NETWORK; break; case DRIVE_CDROM: type = DEVICE_CDROM; break; case DRIVE_RAMDISK: type = DEVICE_RAMDISK; break; + case DRIVE_FIXED: type = DEVICE_HARDDISK_VOL; break; } return add_dos_device( letter - 'a', NULL, device, mount_point, type ); }
1
0
0
0
Stephan Rose : gdiplus: Add support for vertical string alignment to GdipDrawString.
by Alexandre Julliard
05 Jun '09
05 Jun '09
Module: wine Branch: master Commit: eb3904d02b1d406e960854391e4a5a67d22f9ce7 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=eb3904d02b1d406e960854391…
Author: Stephan Rose <kermos(a)somrek.net> Date: Thu Jun 4 18:51:07 2009 -0400 gdiplus: Add support for vertical string alignment to GdipDrawString. --- dlls/gdiplus/graphics.c | 21 +++++++++++++++++---- 1 files changed, 17 insertions(+), 4 deletions(-) diff --git a/dlls/gdiplus/graphics.c b/dlls/gdiplus/graphics.c index 3fedc97..2698159 100644 --- a/dlls/gdiplus/graphics.c +++ b/dlls/gdiplus/graphics.c @@ -2089,7 +2089,7 @@ GpStatus WINGDIPAPI GdipDrawString(GpGraphics *graphics, GDIPCONST WCHAR *string POINT corners[4]; WCHAR* stringdup; REAL angle, ang_cos, ang_sin, rel_width, rel_height; - INT sum = 0, height = 0, fit, fitcpy, save_state, i, j, lret, nwidth, + INT sum = 0, height = 0, offsety = 0, fit, fitcpy, save_state, i, j, lret, nwidth, nheight; SIZE size; RECT drawcoord; @@ -2105,9 +2105,22 @@ GpStatus WINGDIPAPI GdipDrawString(GpGraphics *graphics, GDIPCONST WCHAR *string return NotImplemented; } - if(format) + if(format){ TRACE("may be ignoring some format flags: attr %x\n", format->attr); + /* Should be no need to explicitly test for StringAlignmentNear as + * that is default behavior if no alignment is passed. */ + if(format->vertalign != StringAlignmentNear){ + RectF bounds; + GdipMeasureString(graphics, string, length, font, rect, format, &bounds, 0, 0); + + if(format->vertalign == StringAlignmentCenter) + offsety = (rect->Height - bounds.Height) / 2; + else if(format->vertalign == StringAlignmentFar) + offsety = (rect->Height - bounds.Height); + } + } + if(length == -1) length = lstrlenW(string); stringdup = GdipAlloc(length * sizeof(WCHAR)); @@ -2118,9 +2131,9 @@ GpStatus WINGDIPAPI GdipDrawString(GpGraphics *graphics, GDIPCONST WCHAR *string SetTextColor(graphics->hdc, brush->lb.lbColor); rectcpy[3].X = rectcpy[0].X = rect->X; - rectcpy[1].Y = rectcpy[0].Y = rect->Y; + rectcpy[1].Y = rectcpy[0].Y = rect->Y + offsety; rectcpy[2].X = rectcpy[1].X = rect->X + rect->Width; - rectcpy[3].Y = rectcpy[2].Y = rect->Y + rect->Height; + rectcpy[3].Y = rectcpy[2].Y = rect->Y + offsety + rect->Height; transform_and_round_points(graphics, corners, rectcpy, 4); if (roundr(rect->Width) == 0)
1
0
0
0
Andrew Eikum : gdiplus: Stub for GdipBitmapCreateApplyEffect.
by Alexandre Julliard
05 Jun '09
05 Jun '09
Module: wine Branch: master Commit: f01bfea62ec2e339a8ee1daa73a5d584a17934af URL:
http://source.winehq.org/git/wine.git/?a=commit;h=f01bfea62ec2e339a8ee1daa7…
Author: Andrew Eikum <andrew(a)brightnightgames.com> Date: Thu Jun 4 23:36:33 2009 -0500 gdiplus: Stub for GdipBitmapCreateApplyEffect. --- dlls/gdiplus/gdiplus.spec | 2 +- dlls/gdiplus/image.c | 12 ++++++++++++ include/gdiplusflat.h | 1 + 3 files changed, 14 insertions(+), 1 deletions(-) diff --git a/dlls/gdiplus/gdiplus.spec b/dlls/gdiplus/gdiplus.spec index e0251d5..c658e00 100644 --- a/dlls/gdiplus/gdiplus.spec +++ b/dlls/gdiplus/gdiplus.spec @@ -37,7 +37,7 @@ @ stdcall GdipBeginContainerI(ptr ptr ptr long ptr) @ stdcall GdipBitmapApplyEffect(ptr ptr ptr long ptr ptr) @ stub GdipBitmapConvertFormat -@ stub GdipBitmapCreateApplyEffect +@ stdcall GdipBitmapCreateApplyEffect(ptr long ptr ptr ptr ptr long ptr ptr) @ stub GdipBitmapGetHistogram @ stub GdipBitmapGetHistogramSize @ stdcall GdipBitmapGetPixel(ptr long long ptr) diff --git a/dlls/gdiplus/image.c b/dlls/gdiplus/image.c index 5f7dfec..6df104e 100644 --- a/dlls/gdiplus/image.c +++ b/dlls/gdiplus/image.c @@ -81,6 +81,18 @@ GpStatus WINGDIPAPI GdipBitmapApplyEffect(GpBitmap* bitmap, CGpEffect* effect, return NotImplemented; } +GpStatus WINGDIPAPI GdipBitmapCreateApplyEffect(GpBitmap** inputBitmaps, + INT numInputs, CGpEffect* effect, RECT* roi, RECT* outputRect, + GpBitmap** outputBitmap, BOOL useAuxData, VOID** auxData, INT* auxDataSize) +{ + FIXME("(%p %d %p %p %p %p %d %p %p): stub\n", inputBitmaps, numInputs, effect, roi, outputRect, outputBitmap, useAuxData, auxData, auxDataSize); + /* + * Note: According to Jose Roca's GDI+ docs, this function is not + * implemented in Windows's GDI+. + */ + return NotImplemented; +} + GpStatus WINGDIPAPI GdipBitmapGetPixel(GpBitmap* bitmap, INT x, INT y, ARGB *color) { diff --git a/include/gdiplusflat.h b/include/gdiplusflat.h index 803ea1a..4e830b5 100644 --- a/include/gdiplusflat.h +++ b/include/gdiplusflat.h @@ -40,6 +40,7 @@ GpStatus WINGDIPAPI GdipSetAdjustableArrowCapWidth(GpAdjustableArrowCap*,REAL); /* Bitmap */ GpStatus WINGDIPAPI GdipBitmapApplyEffect(GpBitmap*,CGpEffect*,RECT*,BOOL,VOID**,INT*); +GpStatus WINGDIPAPI GdipBitmapCreateApplyEffect(GpBitmap**,INT,CGpEffect*,RECT*,RECT*,GpBitmap**,BOOL,VOID**,INT*); GpStatus WINGDIPAPI GdipBitmapGetPixel(GpBitmap*,INT,INT,ARGB*); GpStatus WINGDIPAPI GdipBitmapLockBits(GpBitmap*,GDIPCONST GpRect*,UINT, PixelFormat,BitmapData*);
1
0
0
0
Andrew Eikum : gdiplus: Stub for GdipBitmapApplyEffect.
by Alexandre Julliard
05 Jun '09
05 Jun '09
Module: wine Branch: master Commit: ad2341253cf9c364a27c54fddb208a74a7eb6b9d URL:
http://source.winehq.org/git/wine.git/?a=commit;h=ad2341253cf9c364a27c54fdd…
Author: Andrew Eikum <andrew(a)brightnightgames.com> Date: Thu Jun 4 23:36:22 2009 -0500 gdiplus: Stub for GdipBitmapApplyEffect. --- dlls/gdiplus/gdiplus.spec | 2 +- dlls/gdiplus/image.c | 11 +++++++++++ include/gdiplusflat.h | 1 + 3 files changed, 13 insertions(+), 1 deletions(-) diff --git a/dlls/gdiplus/gdiplus.spec b/dlls/gdiplus/gdiplus.spec index 7d44c0b..e0251d5 100644 --- a/dlls/gdiplus/gdiplus.spec +++ b/dlls/gdiplus/gdiplus.spec @@ -35,7 +35,7 @@ @ stdcall GdipBeginContainer2(ptr ptr) @ stdcall GdipBeginContainer(ptr ptr ptr long ptr) @ stdcall GdipBeginContainerI(ptr ptr ptr long ptr) -@ stub GdipBitmapApplyEffect +@ stdcall GdipBitmapApplyEffect(ptr ptr ptr long ptr ptr) @ stub GdipBitmapConvertFormat @ stub GdipBitmapCreateApplyEffect @ stub GdipBitmapGetHistogram diff --git a/dlls/gdiplus/image.c b/dlls/gdiplus/image.c index a18b2ad..5f7dfec 100644 --- a/dlls/gdiplus/image.c +++ b/dlls/gdiplus/image.c @@ -70,6 +70,17 @@ static INT ipicture_pixel_width(IPicture *pic) return x; } +GpStatus WINGDIPAPI GdipBitmapApplyEffect(GpBitmap* bitmap, CGpEffect* effect, + RECT* roi, BOOL useAuxData, VOID** auxData, INT* auxDataSize) +{ + FIXME("(%p %p %p %d %p %p): stub\n", bitmap, effect, roi, useAuxData, auxData, auxDataSize); + /* + * Note: According to Jose Roca's GDI+ docs, this function is not + * implemented in Windows's GDI+. + */ + return NotImplemented; +} + GpStatus WINGDIPAPI GdipBitmapGetPixel(GpBitmap* bitmap, INT x, INT y, ARGB *color) { diff --git a/include/gdiplusflat.h b/include/gdiplusflat.h index 8e9812f..803ea1a 100644 --- a/include/gdiplusflat.h +++ b/include/gdiplusflat.h @@ -39,6 +39,7 @@ GpStatus WINGDIPAPI GdipSetAdjustableArrowCapMiddleInset(GpAdjustableArrowCap*,R GpStatus WINGDIPAPI GdipSetAdjustableArrowCapWidth(GpAdjustableArrowCap*,REAL); /* Bitmap */ +GpStatus WINGDIPAPI GdipBitmapApplyEffect(GpBitmap*,CGpEffect*,RECT*,BOOL,VOID**,INT*); GpStatus WINGDIPAPI GdipBitmapGetPixel(GpBitmap*,INT,INT,ARGB*); GpStatus WINGDIPAPI GdipBitmapLockBits(GpBitmap*,GDIPCONST GpRect*,UINT, PixelFormat,BitmapData*);
1
0
0
0
Aurimas Fišeras : kernel32/nls: Switch to UTF-8 encoding for lth.nls.
by Alexandre Julliard
05 Jun '09
05 Jun '09
Module: wine Branch: master Commit: d8a85425ecf873013317e42d6d075b220f76f347 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=d8a85425ecf873013317e42d6…
Author: Aurimas Fišeras <aurimas(a)gmail.com> Date: Wed Jun 3 18:52:09 2009 +0300 kernel32/nls: Switch to UTF-8 encoding for lth.nls. --- dlls/kernel32/nls/lth.nls | 50 ++++++++++++++++++++++---------------------- 1 files changed, 25 insertions(+), 25 deletions(-) diff --git a/dlls/kernel32/nls/lth.nls b/dlls/kernel32/nls/lth.nls index 771b238..6ee5f86 100644 --- a/dlls/kernel32/nls/lth.nls +++ b/dlls/kernel32/nls/lth.nls @@ -18,7 +18,7 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA */ -#pragma code_page(1257) +#pragma code_page(65001) STRINGTABLE LANGUAGE LANG_LITHUANIAN, SUBLANG_LITHUANIAN { @@ -68,7 +68,7 @@ STRINGTABLE LANGUAGE LANG_LITHUANIAN, SUBLANG_LITHUANIAN LOCALE_SABBREVDAYNAME3 "Tr" LOCALE_SABBREVDAYNAME4 "Kt" LOCALE_SABBREVDAYNAME5 "Pn" - LOCALE_SABBREVDAYNAME6 "�t" + LOCALE_SABBREVDAYNAME6 "Št" LOCALE_SABBREVDAYNAME7 "Sk" LOCALE_SABBREVLANGNAME "LTH" LOCALE_SABBREVMONTHNAME1 "Sau" @@ -89,10 +89,10 @@ STRINGTABLE LANGUAGE LANG_LITHUANIAN, SUBLANG_LITHUANIAN LOCALE_SDATE "." LOCALE_SDAYNAME1 "pirmadienis" LOCALE_SDAYNAME2 "antradienis" - LOCALE_SDAYNAME3 "tre�iadienis" + LOCALE_SDAYNAME3 "trečiadienis" LOCALE_SDAYNAME4 "ketvirtadienis" LOCALE_SDAYNAME5 "penktadienis" - LOCALE_SDAYNAME6 "�e�tadienis" + LOCALE_SDAYNAME6 "šeštadienis" LOCALE_SDAYNAME7 "sekmadienis" LOCALE_SDECIMAL "," LOCALE_SENGCOUNTRY "Lithuania" @@ -111,11 +111,11 @@ STRINGTABLE LANGUAGE LANG_LITHUANIAN, SUBLANG_LITHUANIAN LOCALE_SMONTHNAME2 "vasaris" LOCALE_SMONTHNAME3 "kovas" LOCALE_SMONTHNAME4 "balandis" - LOCALE_SMONTHNAME5 "gegu��" - LOCALE_SMONTHNAME6 "bir�elis" + LOCALE_SMONTHNAME5 "gegužė" + LOCALE_SMONTHNAME6 "birželis" LOCALE_SMONTHNAME7 "liepa" - LOCALE_SMONTHNAME8 "rugpj�tis" - LOCALE_SMONTHNAME9 "rugs�jis" + LOCALE_SMONTHNAME8 "rugpjūtis" + LOCALE_SMONTHNAME9 "rugsėjis" LOCALE_SMONTHNAME10 "spalis" LOCALE_SMONTHNAME11 "lapkritis" LOCALE_SMONTHNAME12 "gruodis" @@ -125,7 +125,7 @@ STRINGTABLE LANGUAGE LANG_LITHUANIAN, SUBLANG_LITHUANIAN LOCALE_SNATIVECTRYNAME "Lietuva" LOCALE_SNATIVECURRNAME "Litas" LOCALE_SNATIVEDIGITS "0123456789" - LOCALE_SNATIVELANGNAME "lietuvi�" + LOCALE_SNATIVELANGNAME "lietuvių" LOCALE_SNEGATIVESIGN "-" LOCALE_SPOSITIVESIGN "" LOCALE_SSCRIPTS "Latn;" @@ -136,21 +136,21 @@ STRINGTABLE LANGUAGE LANG_LITHUANIAN, SUBLANG_LITHUANIAN LOCALE_STIMEFORMAT "HH:mm:ss" LOCALE_SYEARMONTH "yyyy 'm.' MMMM" - LGRPID_WESTERN_EUROPE+LGRPID_RES_BASE "Vakar� Europos ir JAV" - LGRPID_CENTRAL_EUROPE+LGRPID_RES_BASE "Centrin�s Europos" - LGRPID_BALTIC+LGRPID_RES_BASE "Balt�" - LGRPID_GREEK+LGRPID_RES_BASE "Graik�" + LGRPID_WESTERN_EUROPE+LGRPID_RES_BASE "Vakarų Europos ir JAV" + LGRPID_CENTRAL_EUROPE+LGRPID_RES_BASE "Centrinės Europos" + LGRPID_BALTIC+LGRPID_RES_BASE "Baltų" + LGRPID_GREEK+LGRPID_RES_BASE "Graikų" LGRPID_CYRILLIC+LGRPID_RES_BASE "Kirilica" - LGRPID_TURKISH+LGRPID_RES_BASE "Turk�" - LGRPID_JAPANESE+LGRPID_RES_BASE "Japon�" - LGRPID_KOREAN+LGRPID_RES_BASE "Kor�jie�i�" - LGRPID_TRADITIONAL_CHINESE+LGRPID_RES_BASE "Kin� tradicin�" - LGRPID_SIMPLIFIED_CHINESE+LGRPID_RES_BASE "Kin� supaprastinta" - LGRPID_THAI+LGRPID_RES_BASE "Taj�" - LGRPID_HEBREW+LGRPID_RES_BASE "Hebraj�" - LGRPID_ARABIC+LGRPID_RES_BASE "Arab�" - LGRPID_VIETNAMESE+LGRPID_RES_BASE "Vietnamie�i�" - LGRPID_INDIC+LGRPID_RES_BASE "Ind�" - LGRPID_GEORGIAN+LGRPID_RES_BASE "Gruzin�" - LGRPID_ARMENIAN+LGRPID_RES_BASE "Arm�n�" + LGRPID_TURKISH+LGRPID_RES_BASE "Turkų" + LGRPID_JAPANESE+LGRPID_RES_BASE "Japonų" + LGRPID_KOREAN+LGRPID_RES_BASE "Korėjiečių" + LGRPID_TRADITIONAL_CHINESE+LGRPID_RES_BASE "Kinų tradicinė" + LGRPID_SIMPLIFIED_CHINESE+LGRPID_RES_BASE "Kinų supaprastinta" + LGRPID_THAI+LGRPID_RES_BASE "Tajų" + LGRPID_HEBREW+LGRPID_RES_BASE "Hebrajų" + LGRPID_ARABIC+LGRPID_RES_BASE "Arabų" + LGRPID_VIETNAMESE+LGRPID_RES_BASE "Vietnamiečių" + LGRPID_INDIC+LGRPID_RES_BASE "Indų" + LGRPID_GEORGIAN+LGRPID_RES_BASE "Gruzinų" + LGRPID_ARMENIAN+LGRPID_RES_BASE "Armėnų" }
1
0
0
0
Tony Wasserka : d3dx9: Test return codes of the D3DXGetImageInfo functions.
by Alexandre Julliard
05 Jun '09
05 Jun '09
Module: wine Branch: master Commit: e6ece9ee4a911148553eb27f6731a6bb278ad2e9 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=e6ece9ee4a911148553eb27f6…
Author: Tony Wasserka <tony.wasserka(a)freenet.de> Date: Thu Jun 4 20:06:19 2009 +0200 d3dx9: Test return codes of the D3DXGetImageInfo functions. --- dlls/d3dx9_36/tests/Makefile.in | 5 +- dlls/d3dx9_36/tests/bmp1x1.bmp | Bin 0 -> 58 bytes dlls/d3dx9_36/tests/resources.h | 26 ++++++ dlls/d3dx9_36/tests/rsrc.rc | 28 ++++++ dlls/d3dx9_36/tests/texture.c | 187 +++++++++++++++++++++++++++++++++++++++ 5 files changed, 245 insertions(+), 1 deletions(-) Diff:
http://source.winehq.org/git/wine.git/?a=commitdiff;h=e6ece9ee4a911148553eb…
1
0
0
0
Damjan Jovanovic : winemenubuilder: Track, update and clean up file open associations.
by Alexandre Julliard
05 Jun '09
05 Jun '09
Module: wine Branch: master Commit: 4af750a57824f2c4b93c509883120e61d7adb5e7 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=4af750a57824f2c4b93c50988…
Author: Damjan Jovanovic <damjan.jov(a)gmail.com> Date: Thu Jun 4 21:57:45 2009 +0200 winemenubuilder: Track, update and clean up file open associations. --- programs/winemenubuilder/winemenubuilder.c | 170 ++++++++++++++++++++++++++++ 1 files changed, 170 insertions(+), 0 deletions(-) diff --git a/programs/winemenubuilder/winemenubuilder.c b/programs/winemenubuilder/winemenubuilder.c index bd9c30d..eeded0e 100644 --- a/programs/winemenubuilder/winemenubuilder.c +++ b/programs/winemenubuilder/winemenubuilder.c @@ -1514,6 +1514,21 @@ static BOOL freedesktop_mime_type_for_extension(struct list *native_mime_types, return ret; } +static CHAR* reg_get_valA(HKEY key, LPCSTR subkey, LPCSTR name) +{ + DWORD size; + if (RegGetValueA(key, subkey, name, RRF_RT_REG_SZ, NULL, NULL, &size) == ERROR_SUCCESS) + { + CHAR *ret = HeapAlloc(GetProcessHeap(), 0, size); + if (ret) + { + if (RegGetValueA(key, subkey, name, RRF_RT_REG_SZ, NULL, ret, &size) == ERROR_SUCCESS) + return ret; + } + } + return NULL; +} + static WCHAR* reg_get_valW(HKEY key, LPCWSTR subkey, LPCWSTR name) { DWORD size; @@ -1529,6 +1544,158 @@ static WCHAR* reg_get_valW(HKEY key, LPCWSTR subkey, LPCWSTR name) return NULL; } +static HKEY open_associations_reg_key(void) +{ + static const WCHAR Software_Wine_FileOpenAssociationsW[] = { + 'S','o','f','t','w','a','r','e','\\','W','i','n','e','\\','F','i','l','e','O','p','e','n','A','s','s','o','c','i','a','t','i','o','n','s',0}; + HKEY assocKey; + if (RegCreateKeyW(HKEY_CURRENT_USER, Software_Wine_FileOpenAssociationsW, &assocKey) == ERROR_SUCCESS) + return assocKey; + return NULL; +} + +static BOOL has_association_changed(LPCSTR extensionA, LPCWSTR extensionW, LPCSTR mimeType, LPCWSTR progId, LPCSTR appName, LPCWSTR docName) +{ + static const WCHAR ProgIDW[] = {'P','r','o','g','I','D',0}; + static const WCHAR DocNameW[] = {'D','o','c','N','a','m','e',0}; + HKEY assocKey; + BOOL ret; + + if ((assocKey = open_associations_reg_key())) + { + CHAR *valueA; + WCHAR *value; + + ret = FALSE; + + valueA = reg_get_valA(assocKey, extensionA, "MimeType"); + if (!valueA || lstrcmpA(valueA, mimeType)) + ret = TRUE; + HeapFree(GetProcessHeap(), 0, valueA); + + value = reg_get_valW(assocKey, extensionW, ProgIDW); + if (!value || strcmpW(value, progId)) + ret = TRUE; + HeapFree(GetProcessHeap(), 0, value); + + valueA = reg_get_valA(assocKey, extensionA, "AppName"); + if (!valueA || lstrcmpA(valueA, appName)) + ret = TRUE; + HeapFree(GetProcessHeap(), 0, valueA); + + value = reg_get_valW(assocKey, extensionW, DocNameW); + if (docName && (!value || strcmpW(value, docName))) + ret = TRUE; + HeapFree(GetProcessHeap(), 0, value); + + RegCloseKey(assocKey); + } + else + { + WINE_ERR("error opening associations registry key\n"); + ret = FALSE; + } + return ret; +} + +static void update_association(LPCWSTR extension, LPCSTR mimeType, LPCWSTR progId, LPCSTR appName, LPCWSTR docName, LPCSTR desktopFile) +{ + static const WCHAR ProgIDW[] = {'P','r','o','g','I','D',0}; + static const WCHAR DocNameW[] = {'D','o','c','N','a','m','e',0}; + HKEY assocKey; + + if ((assocKey = open_associations_reg_key())) + { + HKEY subkey; + if (RegCreateKeyW(assocKey, extension, &subkey) == ERROR_SUCCESS) + { + RegSetValueExA(subkey, "MimeType", 0, REG_SZ, (BYTE*) mimeType, lstrlenA(mimeType) + 1); + RegSetValueExW(subkey, ProgIDW, 0, REG_SZ, (BYTE*) progId, (lstrlenW(progId) + 1) * sizeof(WCHAR)); + RegSetValueExA(subkey, "AppName", 0, REG_SZ, (BYTE*) appName, lstrlenA(appName) + 1); + if (docName) + RegSetValueExW(subkey, DocNameW, 0, REG_SZ, (BYTE*) docName, (lstrlenW(docName) + 1) * sizeof(WCHAR)); + RegSetValueExA(subkey, "DesktopFile", 0, REG_SZ, (BYTE*) desktopFile, (lstrlenA(desktopFile) + 1)); + RegCloseKey(subkey); + } + else + WINE_ERR("could not create extension subkey\n"); + RegCloseKey(assocKey); + } + else + WINE_ERR("could not open file associations key\n"); +} + +static BOOL cleanup_associations(void) +{ + HKEY assocKey; + BOOL hasChanged = FALSE; + if ((assocKey = open_associations_reg_key())) + { + int i; + BOOL done = FALSE; + for (i = 0; !done; i++) + { + WCHAR *extensionW = NULL; + char *extensionA = NULL; + DWORD size = 1024; + LSTATUS ret; + + do + { + HeapFree(GetProcessHeap(), 0, extensionW); + extensionW = HeapAlloc(GetProcessHeap(), 0, size * sizeof(WCHAR)); + if (extensionW == NULL) + { + WINE_ERR("out of memory\n"); + ret = ERROR_OUTOFMEMORY; + break; + } + ret = RegEnumKeyExW(assocKey, i, extensionW, &size, NULL, NULL, NULL, NULL); + size *= 2; + } while (ret == ERROR_MORE_DATA); + + if (ret == ERROR_SUCCESS) + { + WCHAR *command; + extensionA = wchars_to_utf8_chars(extensionW); + if (extensionA == NULL) + { + WINE_ERR("out of memory\n"); + done = TRUE; + goto end; + } + command = assoc_query(ASSOCSTR_COMMAND, extensionW, NULL); + if (command == NULL) + { + char *desktopFile = reg_get_valA(assocKey, extensionA, "DesktopFile"); + if (desktopFile) + { + WINE_TRACE("removing file type association for %s\n", wine_dbgstr_a(extensionA)); + remove(desktopFile); + } + RegDeleteKeyW(assocKey, extensionW); + hasChanged = TRUE; + HeapFree(GetProcessHeap(), 0, desktopFile); + } + HeapFree(GetProcessHeap(), 0, command); + } + else + { + if (ret != ERROR_NO_MORE_ITEMS) + WINE_ERR("error %d while reading registry\n", ret); + done = TRUE; + } + end: + HeapFree(GetProcessHeap(), 0, extensionA); + HeapFree(GetProcessHeap(), 0, extensionW); + } + RegCloseKey(assocKey); + } + else + WINE_ERR("could not open file associations key\n"); + return hasChanged; +} + static BOOL write_freedesktop_mime_type_entry(const char *packages_dir, const char *dot_extension, const char *mime_type, const char *comment) { @@ -1732,6 +1899,7 @@ static BOOL generate_associations(const char *xdg_data_home, const char *package else goto end; /* no progID => not a file type association */ + if (has_association_changed(extensionA, extensionW, mimeTypeA, progIdW, friendlyAppNameA, friendlyDocNameW)) { char *desktopPath = heap_printf("%s/wine-extension-%s.desktop", applications_dir, &extensionA[1]); if (desktopPath) @@ -1739,6 +1907,7 @@ static BOOL generate_associations(const char *xdg_data_home, const char *package if (write_freedesktop_association_entry(desktopPath, extensionA, friendlyAppNameA, mimeTypeA, progIdA)) { hasChanged = TRUE; + update_association(extensionW, mimeTypeA, progIdW, friendlyAppNameA, friendlyDocNameW, desktopPath); } HeapFree(GetProcessHeap(), 0, desktopPath); } @@ -2232,6 +2401,7 @@ static void RefreshFileTypeAssociations(void) create_directories(applications_dir); hasChanged = generate_associations(xdg_data_dir, packages_dir, applications_dir); + hasChanged |= cleanup_associations(); if (hasChanged) { char *command = heap_printf("update-mime-database %s", mime_dir);
1
0
0
0
Henri Verbeet : wined3d: Use GL_DEPTH24_STENCIL8_EXT for depth stencil formats.
by Alexandre Julliard
05 Jun '09
05 Jun '09
Module: wine Branch: master Commit: f8c4832276fb740e527fed87aa27975f91546d26 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=f8c4832276fb740e527fed87a…
Author: Henri Verbeet <hverbeet(a)codeweavers.com> Date: Fri Jun 5 10:10:48 2009 +0200 wined3d: Use GL_DEPTH24_STENCIL8_EXT for depth stencil formats. --- dlls/wined3d/utils.c | 24 ++++++++++++++++++++---- 1 files changed, 20 insertions(+), 4 deletions(-) diff --git a/dlls/wined3d/utils.c b/dlls/wined3d/utils.c index e95bd4c..00f67d0 100644 --- a/dlls/wined3d/utils.c +++ b/dlls/wined3d/utils.c @@ -412,20 +412,32 @@ static const GlPixelFormatDescTemplate gl_formats_template[] = { ARB_DEPTH_TEXTURE}, {WINED3DFMT_D15S1, GL_DEPTH_COMPONENT24_ARB, GL_DEPTH_COMPONENT24_ARB, 0, GL_DEPTH_COMPONENT, GL_UNSIGNED_SHORT, - WINED3DFMT_FLAG_DEPTH | WINED3DFMT_FLAG_STENCIL, + WINED3DFMT_FLAG_DEPTH, ARB_DEPTH_TEXTURE}, + {WINED3DFMT_D15S1, GL_DEPTH24_STENCIL8_EXT, GL_DEPTH24_STENCIL8_EXT, 0, + GL_DEPTH_STENCIL_EXT, GL_UNSIGNED_INT_24_8_EXT, + WINED3DFMT_FLAG_DEPTH | WINED3DFMT_FLAG_STENCIL, + EXT_PACKED_DEPTH_STENCIL}, {WINED3DFMT_D24S8, GL_DEPTH_COMPONENT24_ARB, GL_DEPTH_COMPONENT24_ARB, 0, GL_DEPTH_COMPONENT, GL_UNSIGNED_INT, - WINED3DFMT_FLAG_POSTPIXELSHADER_BLENDING | WINED3DFMT_FLAG_FILTERING | WINED3DFMT_FLAG_DEPTH | WINED3DFMT_FLAG_STENCIL, + WINED3DFMT_FLAG_POSTPIXELSHADER_BLENDING | WINED3DFMT_FLAG_FILTERING | WINED3DFMT_FLAG_DEPTH, ARB_DEPTH_TEXTURE}, + {WINED3DFMT_D24S8, GL_DEPTH24_STENCIL8_EXT, GL_DEPTH24_STENCIL8_EXT, 0, + GL_DEPTH_STENCIL_EXT, GL_UNSIGNED_INT_24_8_EXT, + WINED3DFMT_FLAG_POSTPIXELSHADER_BLENDING | WINED3DFMT_FLAG_FILTERING | WINED3DFMT_FLAG_DEPTH | WINED3DFMT_FLAG_STENCIL, + EXT_PACKED_DEPTH_STENCIL}, {WINED3DFMT_D24X8, GL_DEPTH_COMPONENT24_ARB, GL_DEPTH_COMPONENT24_ARB, 0, GL_DEPTH_COMPONENT, GL_UNSIGNED_INT, WINED3DFMT_FLAG_POSTPIXELSHADER_BLENDING | WINED3DFMT_FLAG_FILTERING | WINED3DFMT_FLAG_DEPTH, ARB_DEPTH_TEXTURE}, {WINED3DFMT_D24X4S4, GL_DEPTH_COMPONENT24_ARB, GL_DEPTH_COMPONENT24_ARB, 0, GL_DEPTH_COMPONENT, GL_UNSIGNED_INT, - WINED3DFMT_FLAG_DEPTH | WINED3DFMT_FLAG_STENCIL, + WINED3DFMT_FLAG_DEPTH, ARB_DEPTH_TEXTURE}, + {WINED3DFMT_D24X4S4, GL_DEPTH24_STENCIL8_EXT, GL_DEPTH24_STENCIL8_EXT, 0, + GL_DEPTH_STENCIL_EXT, GL_UNSIGNED_INT_24_8_EXT, + WINED3DFMT_FLAG_DEPTH | WINED3DFMT_FLAG_STENCIL, + EXT_PACKED_DEPTH_STENCIL}, {WINED3DFMT_D16_UNORM, GL_DEPTH_COMPONENT24_ARB, GL_DEPTH_COMPONENT24_ARB, 0, GL_DEPTH_COMPONENT, GL_UNSIGNED_SHORT, WINED3DFMT_FLAG_POSTPIXELSHADER_BLENDING | WINED3DFMT_FLAG_FILTERING | WINED3DFMT_FLAG_DEPTH, @@ -440,8 +452,12 @@ static const GlPixelFormatDescTemplate gl_formats_template[] = { ARB_DEPTH_TEXTURE}, {WINED3DFMT_D24FS8, GL_DEPTH_COMPONENT24_ARB, GL_DEPTH_COMPONENT24_ARB, 0, GL_DEPTH_COMPONENT, GL_FLOAT, - WINED3DFMT_FLAG_DEPTH | WINED3DFMT_FLAG_STENCIL, + WINED3DFMT_FLAG_DEPTH, ARB_DEPTH_TEXTURE}, + {WINED3DFMT_D24FS8, GL_DEPTH24_STENCIL8_EXT, GL_DEPTH24_STENCIL8_EXT, 0, + GL_DEPTH_STENCIL_EXT, GL_UNSIGNED_INT_24_8_EXT, + WINED3DFMT_FLAG_DEPTH | WINED3DFMT_FLAG_STENCIL, + EXT_PACKED_DEPTH_STENCIL}, /* Vendor-specific formats */ {WINED3DFMT_ATI2N, GL_COMPRESSED_LUMINANCE_ALPHA_3DC_ATI, GL_COMPRESSED_LUMINANCE_ALPHA_3DC_ATI, 0, GL_LUMINANCE_ALPHA, GL_UNSIGNED_BYTE,
1
0
0
0
Henri Verbeet : wined3d: Add support for EXT_packed_depth_stencil.
by Alexandre Julliard
05 Jun '09
05 Jun '09
Module: wine Branch: master Commit: d08f4fb5f56323630a32c5c81a0eaec076307fb9 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=d08f4fb5f56323630a32c5c81…
Author: Henri Verbeet <hverbeet(a)codeweavers.com> Date: Fri Jun 5 10:10:48 2009 +0200 wined3d: Add support for EXT_packed_depth_stencil. --- dlls/wined3d/directx.c | 1 + dlls/wined3d/wined3d_gl.h | 10 ++++++++++ 2 files changed, 11 insertions(+), 0 deletions(-) diff --git a/dlls/wined3d/directx.c b/dlls/wined3d/directx.c index 06d5476..4a2a270 100644 --- a/dlls/wined3d/directx.c +++ b/dlls/wined3d/directx.c @@ -104,6 +104,7 @@ static const struct { {"GL_EXT_framebuffer_blit", EXT_FRAMEBUFFER_BLIT, 0 }, {"GL_EXT_framebuffer_multisample", EXT_FRAMEBUFFER_MULTISAMPLE, 0 }, {"GL_EXT_framebuffer_object", EXT_FRAMEBUFFER_OBJECT, 0 }, + {"GL_EXT_packed_depth_stencil", EXT_PACKED_DEPTH_STENCIL, 0 }, {"GL_EXT_paletted_texture", EXT_PALETTED_TEXTURE, 0 }, {"GL_EXT_point_parameters", EXT_POINT_PARAMETERS, 0 }, {"GL_EXT_secondary_color", EXT_SECONDARY_COLOR, 0 }, diff --git a/dlls/wined3d/wined3d_gl.h b/dlls/wined3d/wined3d_gl.h index 49d29a7..521b3a9 100644 --- a/dlls/wined3d/wined3d_gl.h +++ b/dlls/wined3d/wined3d_gl.h @@ -1897,6 +1897,15 @@ typedef void (WINE_GLAPI * PGLFNGLBLITFRAMEBUFFEREXTPROC) (GLint srcX0, GLint sr #endif typedef void (WINE_GLAPI * PGLFNRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC)(GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); +/* GL_EXT_packed_depth_stencil */ +#ifndef GL_EXT_packed_depth_stencil +#define GL_EXT_packed_depth_stencil 1 +#define GL_DEPTH_STENCIL_EXT 0x84f9 +#define GL_UNSIGNED_INT_24_8_EXT 0x84fa +#define GL_DEPTH24_STENCIL8_EXT 0x88f0 +#define GL_TEXTURE_STENCIL_SIZE_EXT 0x88f1 +#endif + /* GL_EXT_secondary_color */ #ifndef GL_EXT_secondary_color #define GL_EXT_secondary_color 1 @@ -3424,6 +3433,7 @@ typedef enum _GL_SupportedExt { EXT_FRAMEBUFFER_OBJECT, EXT_FRAMEBUFFER_BLIT, EXT_FRAMEBUFFER_MULTISAMPLE, + EXT_PACKED_DEPTH_STENCIL, EXT_PALETTED_TEXTURE, EXT_PIXEL_BUFFER_OBJECT, EXT_POINT_PARAMETERS,
1
0
0
0
Henri Verbeet : wined3d: Use FBOs for offscreen rendering by default.
by Alexandre Julliard
05 Jun '09
05 Jun '09
Module: wine Branch: master Commit: a5876bb91e92645a400a248abb1ef283d1a822f6 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=a5876bb91e92645a400a248ab…
Author: Henri Verbeet <hverbeet(a)codeweavers.com> Date: Fri Jun 5 10:10:48 2009 +0200 wined3d: Use FBOs for offscreen rendering by default. --- dlls/wined3d/wined3d_main.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/dlls/wined3d/wined3d_main.c b/dlls/wined3d/wined3d_main.c index 2775dc9..f996aec 100644 --- a/dlls/wined3d/wined3d_main.c +++ b/dlls/wined3d/wined3d_main.c @@ -41,7 +41,7 @@ wined3d_settings_t wined3d_settings = PS_HW, /* Hardware by default */ VBO_HW, /* Hardware by default */ TRUE, /* Use of GLSL enabled by default */ - ORM_BACKBUFFER, /* Use the backbuffer to do offscreen rendering */ + ORM_FBO, /* Use FBOs to do offscreen rendering */ RTL_AUTO, /* Automatically determine best locking method */ PCI_VENDOR_NONE,/* PCI Vendor ID */ PCI_DEVICE_NONE,/* PCI Device ID */
1
0
0
0
← Newer
1
...
88
89
90
91
92
93
94
...
112
Older →
Jump to page:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
Results per page:
10
25
50
100
200