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
October 2012
----- 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
2 participants
960 discussions
Start a n
N
ew thread
Alexandre Julliard : testbot: Load the configuration file from the testbot root directory.
by Alexandre Julliard
31 Oct '12
31 Oct '12
Module: tools Branch: master Commit: c0b0689be9b714ab27275eabfadfbf0240a0c411 URL:
http://source.winehq.org/git/tools.git/?a=commit;h=c0b0689be9b714ab27275eab…
Author: Alexandre Julliard <julliard(a)winehq.org> Date: Tue Oct 30 17:32:27 2012 +0100 testbot: Load the configuration file from the testbot root directory. --- testbot/lib/WineTestBot/Config.pm | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/testbot/lib/WineTestBot/Config.pm b/testbot/lib/WineTestBot/Config.pm index aa9f3e2..71cf1c6 100644 --- a/testbot/lib/WineTestBot/Config.pm +++ b/testbot/lib/WineTestBot/Config.pm @@ -80,11 +80,11 @@ $JobArchiveDays = 0; if (!$::BuildEnv) { $::BuildEnv = 0; - eval 'require "WineTestBot/ConfigLocal.pl";'; + eval 'require "$::RootDir/ConfigLocal.pl";'; if ($@) { - print STDERR "Please create a valid lib/WineTestBot/ConfigLocal.pl, " . - "use lib/WineTestBot/ConfigLocalTemplate.pl as template\n"; + print STDERR "Please create a valid $::RootDir/ConfigLocal.pl, " . + "use $::RootDir/lib/WineTestBot/ConfigLocalTemplate.pl as template\n"; exit; }
1
0
0
0
Frédéric Delanoy : cmd: Avoid handle leaks ( coverity).
by Alexandre Julliard
30 Oct '12
30 Oct '12
Module: wine Branch: master Commit: 1d3f679ef1bdff2f811a57bb8e8e7be173f342fe URL:
http://source.winehq.org/git/wine.git/?a=commit;h=1d3f679ef1bdff2f811a57bb8…
Author: Frédéric Delanoy <frederic.delanoy(a)gmail.com> Date: Tue Oct 30 17:31:28 2012 +0100 cmd: Avoid handle leaks (coverity). --- programs/cmd/builtins.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/programs/cmd/builtins.c b/programs/cmd/builtins.c index e567bb6..b3fd422 100644 --- a/programs/cmd/builtins.c +++ b/programs/cmd/builtins.c @@ -394,6 +394,7 @@ static BOOL WCMD_AppendEOF(WCHAR *filename) SetFilePointer (h, 0, NULL, FILE_END); if (!WriteFile(h, &eof, 1, NULL, NULL)) { WINE_ERR("Failed to append EOF to %s (%d)\n", wine_dbgstr_w(filename), GetLastError()); + CloseHandle(h); return FALSE; } CloseHandle(h); @@ -430,6 +431,7 @@ static BOOL WCMD_ManualCopy(WCHAR *srcname, WCHAR *dstname, BOOL ascii, BOOL app append?OPEN_EXISTING:CREATE_ALWAYS, FILE_ATTRIBUTE_NORMAL, NULL); if (out == NULL) { WINE_ERR("Failed to open %s (%d)\n", wine_dbgstr_w(dstname), GetLastError()); + CloseHandle(in); return FALSE; }
1
0
0
0
André Hentschel : user32: Avoid memory leaks (coverity ).
by Alexandre Julliard
30 Oct '12
30 Oct '12
Module: wine Branch: master Commit: 64e169d97407b3006648ce1398110163dcdc3a01 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=64e169d97407b3006648ce139…
Author: André Hentschel <nerv(a)dawncrow.de> Date: Tue Oct 30 15:03:05 2012 +0100 user32: Avoid memory leaks (coverity). --- dlls/user32/message.c | 6 +++++- dlls/user32/text.c | 9 ++++++++- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/dlls/user32/message.c b/dlls/user32/message.c index b934705..6d45671 100644 --- a/dlls/user32/message.c +++ b/dlls/user32/message.c @@ -2903,7 +2903,11 @@ static BOOL peek_message( MSG *msg, HWND hwnd, UINT first, UINT last, UINT flags handle_internal_message( info.msg.hwnd, info.msg.message, info.msg.wParam, info.msg.lParam ); /* if this is a nested call return right away */ - if (first == info.msg.message && last == info.msg.message) return FALSE; + if (first == info.msg.message && last == info.msg.message) + { + HeapFree( GetProcessHeap(), 0, buffer ); + return FALSE; + } } else peek_message( msg, info.msg.hwnd, info.msg.message, diff --git a/dlls/user32/text.c b/dlls/user32/text.c index 8539bdf..20f7798 100644 --- a/dlls/user32/text.c +++ b/dlls/user32/text.c @@ -985,7 +985,10 @@ INT WINAPI DrawTextExW( HDC hdc, LPWSTR str, INT i_count, p = str; while (p < str+len && *p != TAB) p++; len_seg = p - str; if (len_seg != len && !GetTextExtentPointW(hdc, str, len_seg, &size)) + { + HeapFree (GetProcessHeap(), 0, retstr); return 0; + } } else len_seg = len; @@ -993,7 +996,11 @@ INT WINAPI DrawTextExW( HDC hdc, LPWSTR str, INT i_count, if (!ExtTextOutW( hdc, xseg, y, ((flags & DT_NOCLIP) ? 0 : ETO_CLIPPED) | ((flags & DT_RTLREADING) ? ETO_RTLREADING : 0), - rect, str, len_seg, NULL )) return 0; + rect, str, len_seg, NULL )) + { + HeapFree (GetProcessHeap(), 0, retstr); + return 0; + } if (prefix_offset != -1 && prefix_offset < len_seg) { TEXT_DrawUnderscore (hdc, xseg, y + tm.tmAscent + 1, str, prefix_offset, (flags & DT_NOCLIP) ? NULL : rect);
1
0
0
0
Huw Davies : gdi32: Implement sub-pixel glyph smoothing.
by Alexandre Julliard
30 Oct '12
30 Oct '12
Module: wine Branch: master Commit: 9247328371661524296e817e791c5563536283bb URL:
http://source.winehq.org/git/wine.git/?a=commit;h=9247328371661524296e817e7…
Author: Huw Davies <huw(a)codeweavers.com> Date: Tue Oct 30 13:22:16 2012 +0000 gdi32: Implement sub-pixel glyph smoothing. --- dlls/gdi32/dibdrv/dibdrv.h | 2 + dlls/gdi32/dibdrv/graphics.c | 36 ++++++++-- dlls/gdi32/dibdrv/primitives.c | 153 ++++++++++++++++++++++++++++++++++++++++ dlls/gdi32/font.c | 113 ++++++++++++++++++++++++++++- 4 files changed, 295 insertions(+), 9 deletions(-) Diff:
http://source.winehq.org/git/wine.git/?a=commitdiff;h=9247328371661524296e8…
1
0
0
0
Jacek Caban : vbscript: Added support for more builtin constants.
by Alexandre Julliard
30 Oct '12
30 Oct '12
Module: wine Branch: master Commit: 7f50df4e434b0bbf4ff2dfdf9697b77d119a07d9 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=7f50df4e434b0bbf4ff2dfdf9…
Author: Jacek Caban <jacek(a)codeweavers.com> Date: Tue Oct 30 10:32:01 2012 +0100 vbscript: Added support for more builtin constants. --- dlls/vbscript/global.c | 136 +++++------------------------------------- dlls/vbscript/tests/api.vbs | 22 +++++++ 2 files changed, 39 insertions(+), 119 deletions(-) diff --git a/dlls/vbscript/global.c b/dlls/vbscript/global.c index fa2d64f..900242b 100644 --- a/dlls/vbscript/global.c +++ b/dlls/vbscript/global.c @@ -1680,108 +1680,6 @@ static HRESULT Global_vbNo(vbdisp_t *This, VARIANT *arg, unsigned args_cnt, VARI return return_short(res, IDNO); } -static HRESULT Global_vbEmpty(vbdisp_t *This, VARIANT *arg, unsigned args_cnt, VARIANT *res) -{ - FIXME("\n"); - return E_NOTIMPL; -} - -static HRESULT Global_vbNull(vbdisp_t *This, VARIANT *arg, unsigned args_cnt, VARIANT *res) -{ - FIXME("\n"); - return E_NOTIMPL; -} - -static HRESULT Global_vbInteger(vbdisp_t *This, VARIANT *arg, unsigned args_cnt, VARIANT *res) -{ - FIXME("\n"); - return E_NOTIMPL; -} - -static HRESULT Global_vbLong(vbdisp_t *This, VARIANT *arg, unsigned args_cnt, VARIANT *res) -{ - FIXME("\n"); - return E_NOTIMPL; -} - -static HRESULT Global_vbSingle(vbdisp_t *This, VARIANT *arg, unsigned args_cnt, VARIANT *res) -{ - FIXME("\n"); - return E_NOTIMPL; -} - -static HRESULT Global_vbDouble(vbdisp_t *This, VARIANT *arg, unsigned args_cnt, VARIANT *res) -{ - FIXME("\n"); - return E_NOTIMPL; -} - -static HRESULT Global_vbCurrency(vbdisp_t *This, VARIANT *arg, unsigned args_cnt, VARIANT *res) -{ - FIXME("\n"); - return E_NOTIMPL; -} - -static HRESULT Global_vbDate(vbdisp_t *This, VARIANT *arg, unsigned args_cnt, VARIANT *res) -{ - FIXME("\n"); - return E_NOTIMPL; -} - -static HRESULT Global_vbString(vbdisp_t *This, VARIANT *arg, unsigned args_cnt, VARIANT *res) -{ - FIXME("\n"); - return E_NOTIMPL; -} - -static HRESULT Global_vbObject(vbdisp_t *This, VARIANT *arg, unsigned args_cnt, VARIANT *res) -{ - FIXME("\n"); - return E_NOTIMPL; -} - -static HRESULT Global_vbError(vbdisp_t *This, VARIANT *arg, unsigned args_cnt, VARIANT *res) -{ - FIXME("\n"); - return E_NOTIMPL; -} - -static HRESULT Global_vbBoolean(vbdisp_t *This, VARIANT *arg, unsigned args_cnt, VARIANT *res) -{ - FIXME("\n"); - return E_NOTIMPL; -} - -static HRESULT Global_vbVariant(vbdisp_t *This, VARIANT *arg, unsigned args_cnt, VARIANT *res) -{ - FIXME("\n"); - return E_NOTIMPL; -} - -static HRESULT Global_vbDataObject(vbdisp_t *This, VARIANT *arg, unsigned args_cnt, VARIANT *res) -{ - FIXME("\n"); - return E_NOTIMPL; -} - -static HRESULT Global_vbDecimal(vbdisp_t *This, VARIANT *arg, unsigned args_cnt, VARIANT *res) -{ - FIXME("\n"); - return E_NOTIMPL; -} - -static HRESULT Global_vbByte(vbdisp_t *This, VARIANT *arg, unsigned args_cnt, VARIANT *res) -{ - FIXME("\n"); - return E_NOTIMPL; -} - -static HRESULT Global_vbArray(vbdisp_t *This, VARIANT *arg, unsigned args_cnt, VARIANT *res) -{ - FIXME("\n"); - return E_NOTIMPL; -} - static HRESULT Global_vbTrue(vbdisp_t *This, VARIANT *arg, unsigned args_cnt, VARIANT *res) { FIXME("\n"); @@ -2016,23 +1914,23 @@ static const builtin_prop_t global_props[] = { {DISPID_GLOBAL_VBIGNORE, Global_vbIgnore, BP_GET}, {DISPID_GLOBAL_VBYES, Global_vbYes, BP_GET}, {DISPID_GLOBAL_VBNO, Global_vbNo, BP_GET}, - {DISPID_GLOBAL_VBEMPTY, Global_vbEmpty, BP_GET}, - {DISPID_GLOBAL_VBNULL, Global_vbNull, BP_GET}, - {DISPID_GLOBAL_VBINTEGER, Global_vbInteger, BP_GET}, - {DISPID_GLOBAL_VBLONG, Global_vbLong, BP_GET}, - {DISPID_GLOBAL_VBSINGLE, Global_vbSingle, BP_GET}, - {DISPID_GLOBAL_VBDOUBLE, Global_vbDouble, BP_GET}, - {DISPID_GLOBAL_VBCURRENCY, Global_vbCurrency, BP_GET}, - {DISPID_GLOBAL_VBDATE, Global_vbDate, BP_GET}, - {DISPID_GLOBAL_VBSTRING, Global_vbString, BP_GET}, - {DISPID_GLOBAL_VBOBJECT, Global_vbObject, BP_GET}, - {DISPID_GLOBAL_VBERROR, Global_vbError, BP_GET}, - {DISPID_GLOBAL_VBBOOLEAN, Global_vbBoolean, BP_GET}, - {DISPID_GLOBAL_VBVARIANT, Global_vbVariant, BP_GET}, - {DISPID_GLOBAL_VBDATAOBJECT, Global_vbDataObject, BP_GET}, - {DISPID_GLOBAL_VBDECIMAL, Global_vbDecimal, BP_GET}, - {DISPID_GLOBAL_VBBYTE, Global_vbByte, BP_GET}, - {DISPID_GLOBAL_VBARRAY, Global_vbArray, BP_GET}, + {DISPID_GLOBAL_VBEMPTY, NULL, BP_GET, VT_EMPTY}, + {DISPID_GLOBAL_VBNULL, NULL, BP_GET, VT_NULL}, + {DISPID_GLOBAL_VBINTEGER, NULL, BP_GET, VT_I2}, + {DISPID_GLOBAL_VBLONG, NULL, BP_GET, VT_I4}, + {DISPID_GLOBAL_VBSINGLE, NULL, BP_GET, VT_R4}, + {DISPID_GLOBAL_VBDOUBLE, NULL, BP_GET, VT_R8}, + {DISPID_GLOBAL_VBCURRENCY, NULL, BP_GET, VT_CY}, + {DISPID_GLOBAL_VBDATE, NULL, BP_GET, VT_DATE}, + {DISPID_GLOBAL_VBSTRING, NULL, BP_GET, VT_BSTR}, + {DISPID_GLOBAL_VBOBJECT, NULL, BP_GET, VT_DISPATCH}, + {DISPID_GLOBAL_VBERROR, NULL, BP_GET, VT_ERROR}, + {DISPID_GLOBAL_VBBOOLEAN, NULL, BP_GET, VT_BOOL}, + {DISPID_GLOBAL_VBVARIANT, NULL, BP_GET, VT_VARIANT}, + {DISPID_GLOBAL_VBDATAOBJECT, NULL, BP_GET, VT_UNKNOWN}, + {DISPID_GLOBAL_VBDECIMAL, NULL, BP_GET, VT_DECIMAL}, + {DISPID_GLOBAL_VBBYTE, NULL, BP_GET, VT_UI1}, + {DISPID_GLOBAL_VBARRAY, NULL, BP_GET, VT_ARRAY}, {DISPID_GLOBAL_VBTRUE, Global_vbTrue, BP_GET}, {DISPID_GLOBAL_VBFALSE, Global_vbFalse, BP_GET}, {DISPID_GLOBAL_VBUSEDEFAULT, Global_vbUseDefault, BP_GET}, diff --git a/dlls/vbscript/tests/api.vbs b/dlls/vbscript/tests/api.vbs index e986362..2cb7fe0 100644 --- a/dlls/vbscript/tests/api.vbs +++ b/dlls/vbscript/tests/api.vbs @@ -38,6 +38,28 @@ Call ok(getVT(vbFriday) = "VT_I2", "getVT(vbFriday) = " & getVT(vbFriday)) Call ok(vbSaturday = 7, "vbSaturday = " & vbSaturday) Call ok(getVT(vbSaturday) = "VT_I2", "getVT(vbSaturday) = " & getVT(vbSaturday)) +Sub TestConstant(name, val, exval) + Call ok(val = exval, name & " = " & val & " expected " & exval) + Call ok(getVT(val) = "VT_I2*", "getVT(" & name & ") = " & getVT(val)) +End Sub + +TestConstant "vbEmpty", vbEmpty, 0 +TestConstant "vbNull", vbNull, 1 +TestConstant "vbLong", vbLong, 3 +TestConstant "vbSingle", vbSingle, 4 +TestConstant "vbDouble", vbDouble, 5 +TestConstant "vbCurrency", vbCurrency, 6 +TestConstant "vbDate", vbDate, 7 +TestConstant "vbString", vbString, 8 +TestConstant "vbObject", vbObject, 9 +TestConstant "vbError", vbError, 10 +TestConstant "vbBoolean", vbBoolean, 11 +TestConstant "vbVariant", vbVariant, 12 +TestConstant "vbDataObject", vbDataObject, 13 +TestConstant "vbDecimal", vbDecimal, 14 +TestConstant "vbByte", vbByte, 17 +TestConstant "vbArray", vbArray, 8192 + Sub TestCStr(arg, exval) dim x x = CStr(arg)
1
0
0
0
Alistair Leslie-Hughes : iads.idl: Add missing interfaces.
by Alexandre Julliard
30 Oct '12
30 Oct '12
Module: wine Branch: master Commit: 63e0bb52f3f597003c66036661c8b4a85ee0f087 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=63e0bb52f3f597003c6603666…
Author: Alistair Leslie-Hughes <leslie_alistair(a)hotmail.com> Date: Tue Oct 30 19:47:34 2012 +1100 iads.idl: Add missing interfaces. --- include/iads.idl | 406 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 406 insertions(+), 0 deletions(-) Diff:
http://source.winehq.org/git/wine.git/?a=commitdiff;h=63e0bb52f3f597003c660…
1
0
0
0
Rafał Mużyło : gdiplus: Mark regions as unclipped correctly.
by Alexandre Julliard
30 Oct '12
30 Oct '12
Module: wine Branch: master Commit: fc2bb3bdc148f3071414cc9f1622fa1f0bc38518 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=fc2bb3bdc148f3071414cc9f1…
Author: Rafał Mużyło <galtgendo(a)gmail.com> Date: Mon Oct 29 23:52:51 2012 +0100 gdiplus: Mark regions as unclipped correctly. --- dlls/gdiplus/graphics.c | 16 ++++++++-------- 1 files changed, 8 insertions(+), 8 deletions(-) diff --git a/dlls/gdiplus/graphics.c b/dlls/gdiplus/graphics.c index 1cea50b..c428b6b 100644 --- a/dlls/gdiplus/graphics.c +++ b/dlls/gdiplus/graphics.c @@ -5164,9 +5164,9 @@ GpStatus WINGDIPAPI GdipMeasureString(GpGraphics *graphics, scaled_rect.Height = rect->Height * args.rel_height; if ((format_flags & StringFormatFlagsNoClip) || - scaled_rect.Width >= INT_MAX || scaled_rect.Width < 0.5) scaled_rect.Width = (REAL)(1 << 23); + scaled_rect.Width >= 1 << 23 || scaled_rect.Width < 0.5) scaled_rect.Width = 1 << 23; if ((format_flags & StringFormatFlagsNoClip) || - scaled_rect.Height >= INT_MAX || scaled_rect.Height < 0.5) scaled_rect.Height = (REAL)(1 << 23); + scaled_rect.Height >= 1 << 23 || scaled_rect.Height < 0.5) scaled_rect.Height = 1 << 23; if (scaled_rect.Width >= 0.5) { @@ -5174,8 +5174,8 @@ GpStatus WINGDIPAPI GdipMeasureString(GpGraphics *graphics, if (scaled_rect.Width < 0.5) return Ok; /* doesn't fit */ } - if (scaled_rect.Width >= INT_MAX || scaled_rect.Width < 0.5) scaled_rect.Width = (REAL)(1 << 23); - if (scaled_rect.Height >= INT_MAX || scaled_rect.Height < 0.5) scaled_rect.Height = (REAL)(1 << 23); + if (scaled_rect.Width >= 1 << 23 || scaled_rect.Width < 0.5) scaled_rect.Width = 1 << 23; + if (scaled_rect.Height >= 1 << 23 || scaled_rect.Height < 0.5) scaled_rect.Height = 1 << 23; get_font_hfont(graphics, font, format, &gdifont); oldfont = SelectObject(hdc, gdifont); @@ -5343,9 +5343,9 @@ GpStatus WINGDIPAPI GdipDrawString(GpGraphics *graphics, GDIPCONST WCHAR *string scaled_rect.Height = rel_height * rect->Height; if ((format_flags & StringFormatFlagsNoClip) || - scaled_rect.Width >= INT_MAX || scaled_rect.Width < 0.5) scaled_rect.Width = (REAL)(1 << 23); + scaled_rect.Width >= 1 << 23 || scaled_rect.Width < 0.5) scaled_rect.Width = 1 << 23; if ((format_flags & StringFormatFlagsNoClip) || - scaled_rect.Height >= INT_MAX || scaled_rect.Height < 0.5) scaled_rect.Height = (REAL)(1 << 23); + scaled_rect.Height >= 1 << 23 || scaled_rect.Height < 0.5) scaled_rect.Height = 1 << 23; if (scaled_rect.Width >= 0.5) { @@ -5353,8 +5353,8 @@ GpStatus WINGDIPAPI GdipDrawString(GpGraphics *graphics, GDIPCONST WCHAR *string if (scaled_rect.Width < 0.5) return Ok; /* doesn't fit */ } - if (scaled_rect.Width >= INT_MAX || scaled_rect.Width < 0.5) scaled_rect.Width = (REAL)(1 << 23); - if (scaled_rect.Height >= INT_MAX || scaled_rect.Height < 0.5) scaled_rect.Height = (REAL)(1 << 23); + if (scaled_rect.Width >= 1 << 23 || scaled_rect.Width < 0.5) scaled_rect.Width = 1 << 23; + if (scaled_rect.Height >= 1 << 23 || scaled_rect.Height < 0.5) scaled_rect.Height = 1 << 23; if (!(format_flags & StringFormatFlagsNoClip) && scaled_rect.Width != 1 << 23 && scaled_rect.Height != 1 << 23)
1
0
0
0
Rafał Mużyło : gdiplus: Fix logic of treating the region of a string as unclipped.
by Alexandre Julliard
30 Oct '12
30 Oct '12
Module: wine Branch: master Commit: 48a2b48e16d751e0ddb72cb4e6729b943e018001 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=48a2b48e16d751e0ddb72cb4e…
Author: Rafał Mużyło <galtgendo(a)gmail.com> Date: Mon Oct 29 23:42:39 2012 +0100 gdiplus: Fix logic of treating the region of a string as unclipped. --- dlls/gdiplus/graphics.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/dlls/gdiplus/graphics.c b/dlls/gdiplus/graphics.c index 726885b..1cea50b 100644 --- a/dlls/gdiplus/graphics.c +++ b/dlls/gdiplus/graphics.c @@ -5357,7 +5357,7 @@ GpStatus WINGDIPAPI GdipDrawString(GpGraphics *graphics, GDIPCONST WCHAR *string if (scaled_rect.Height >= INT_MAX || scaled_rect.Height < 0.5) scaled_rect.Height = (REAL)(1 << 23); if (!(format_flags & StringFormatFlagsNoClip) && - gdip_round(scaled_rect.Width) != 0 && gdip_round(scaled_rect.Height) != 0) + scaled_rect.Width != 1 << 23 && scaled_rect.Height != 1 << 23) { /* FIXME: If only the width or only the height is 0, we should probably still clip */ rgn = CreatePolygonRgn(corners, 4, ALTERNATE);
1
0
0
0
André Hentschel : comdlg32: Fix usage of constants.
by Alexandre Julliard
30 Oct '12
30 Oct '12
Module: wine Branch: master Commit: a07d1da9247f9d4bac3bdc3410a994b6040908a7 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=a07d1da9247f9d4bac3bdc341…
Author: André Hentschel <nerv(a)dawncrow.de> Date: Tue Oct 30 00:30:12 2012 +0100 comdlg32: Fix usage of constants. --- dlls/comdlg32/itemdlg.c | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/dlls/comdlg32/itemdlg.c b/dlls/comdlg32/itemdlg.c index e5c8927..0fdfe0d 100644 --- a/dlls/comdlg32/itemdlg.c +++ b/dlls/comdlg32/itemdlg.c @@ -1214,17 +1214,17 @@ static SIZE update_layout(FileDialogImpl *This) } /* The custom controls */ - customctrls_rc.left = dialog_rc.left + vspacing; - customctrls_rc.right = dialog_rc.right - vspacing; - customctrls_rc.bottom = filename_rc.top - hspacing; + customctrls_rc.left = dialog_rc.left + hspacing; + customctrls_rc.right = dialog_rc.right - hspacing; + customctrls_rc.bottom = filename_rc.top - vspacing; customctrls_rc.top = customctrls_rc.bottom - ctrl_container_resize(This, customctrls_rc.right - customctrls_rc.left); /* The ExplorerBrowser control. */ - ebrowser_rc.left = dialog_rc.left + vspacing; + ebrowser_rc.left = dialog_rc.left + hspacing; ebrowser_rc.top = toolbar_rc.bottom + vspacing; ebrowser_rc.right = dialog_rc.right - hspacing; - ebrowser_rc.bottom = customctrls_rc.top - hspacing; + ebrowser_rc.bottom = customctrls_rc.top - vspacing; /**** * Move everything to the right place.
1
0
0
0
Erich Hoover : ntdll: Implement nanosecond precision file time storage.
by Alexandre Julliard
30 Oct '12
30 Oct '12
Module: wine Branch: master Commit: 5c95bec8478fe64611d86ed8f376e906329588bb URL:
http://source.winehq.org/git/wine.git/?a=commit;h=5c95bec8478fe64611d86ed8f…
Author: Erich Hoover <ehoover(a)mines.edu> Date: Thu Oct 25 17:52:25 2012 -0600 ntdll: Implement nanosecond precision file time storage. --- configure | 1 + configure.ac | 1 + dlls/ntdll/file.c | 19 ++++++++++++++++++- include/config.h.in | 3 +++ 4 files changed, 23 insertions(+), 1 deletions(-) diff --git a/configure b/configure index a736a5f..65c18a5 100755 --- a/configure +++ b/configure @@ -13012,6 +13012,7 @@ for ac_func in \ fstatfs \ fstatvfs \ ftruncate \ + futimens \ futimes \ futimesat \ getattrlist \ diff --git a/configure.ac b/configure.ac index d5d99f0..10e2fda 100644 --- a/configure.ac +++ b/configure.ac @@ -2014,6 +2014,7 @@ AC_CHECK_FUNCS(\ fstatfs \ fstatvfs \ ftruncate \ + futimens \ futimes \ futimesat \ getattrlist \ diff --git a/dlls/ntdll/file.c b/dlls/ntdll/file.c index 61ed576..234ed7e 100644 --- a/dlls/ntdll/file.c +++ b/dlls/ntdll/file.c @@ -1562,7 +1562,24 @@ static NTSTATUS set_file_times( int fd, const LARGE_INTEGER *mtime, const LARGE_ { NTSTATUS status = STATUS_SUCCESS; -#if defined(HAVE_FUTIMES) || defined(HAVE_FUTIMESAT) +#ifdef HAVE_FUTIMENS + struct timespec tv[2]; + + tv[0].tv_sec = tv[1].tv_sec = 0; + tv[0].tv_nsec = tv[1].tv_nsec = UTIME_OMIT; + if (atime->QuadPart) + { + tv[0].tv_sec = atime->QuadPart / 10000000 - SECS_1601_TO_1970; + tv[0].tv_nsec = (atime->QuadPart % 10000000) * 100; + } + if (mtime->QuadPart) + { + tv[1].tv_sec = mtime->QuadPart / 10000000 - SECS_1601_TO_1970; + tv[1].tv_nsec = (mtime->QuadPart % 10000000) * 100; + } + if (futimens( fd, tv ) == -1) status = FILE_GetNtStatus(); + +#elif defined(HAVE_FUTIMES) || defined(HAVE_FUTIMESAT) struct timeval tv[2]; struct stat st; diff --git a/include/config.h.in b/include/config.h.in index 39f1ec2..8dc812b 100644 --- a/include/config.h.in +++ b/include/config.h.in @@ -179,6 +179,9 @@ /* Define to 1 if the system has the type `FT_TrueTypeEngineType'. */ #undef HAVE_FT_TRUETYPEENGINETYPE +/* Define to 1 if you have the `futimens' function. */ +#undef HAVE_FUTIMENS + /* Define to 1 if you have the `futimes' function. */ #undef HAVE_FUTIMES
1
0
0
0
← Newer
1
2
3
4
5
6
7
...
96
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
Results per page:
10
25
50
100
200