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 2022
----- 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
1 participants
537 discussions
Start a n
N
ew thread
Gabriel Ivăncescu : mshtml: Move the IHTMLDocument2 interface out of basedoc.
by Alexandre Julliard
24 Oct '22
24 Oct '22
Module: wine Branch: master Commit: eaaae516956d5b39a798a6506442186120746a9b URL:
https://gitlab.winehq.org/wine/wine/-/commit/eaaae516956d5b39a798a650644218…
Author: Gabriel Ivăncescu <gabrielopcode(a)gmail.com> Date: Mon Oct 24 15:58:01 2022 +0300 mshtml: Move the IHTMLDocument2 interface out of basedoc. Signed-off-by: Gabriel Ivăncescu <gabrielopcode(a)gmail.com> --- dlls/mshtml/htmldoc.c | 532 +++++++++++++++++++++---------------------- dlls/mshtml/htmlelem.c | 2 +- dlls/mshtml/htmlframe.c | 6 +- dlls/mshtml/htmlnode.c | 2 +- dlls/mshtml/htmlwindow.c | 2 +- dlls/mshtml/mshtml_private.h | 3 +- dlls/mshtml/oleobj.c | 319 ++++++++++++++++++++++++++ dlls/mshtml/script.c | 2 +- dlls/mshtml/service.c | 4 +- dlls/mshtml/view.c | 2 +- 10 files changed, 594 insertions(+), 280 deletions(-)
1
0
0
0
Gabriel Ivăncescu : mshtml: Move the remaining non-IHTMLDocument* interfaces out of basedoc.
by Alexandre Julliard
24 Oct '22
24 Oct '22
Module: wine Branch: master Commit: 0759e865271d58cc48059ca22d3e2709165c2146 URL:
https://gitlab.winehq.org/wine/wine/-/commit/0759e865271d58cc48059ca22d3e27…
Author: Gabriel Ivăncescu <gabrielopcode(a)gmail.com> Date: Mon Oct 24 15:58:01 2022 +0300 mshtml: Move the remaining non-IHTMLDocument* interfaces out of basedoc. Signed-off-by: Gabriel Ivăncescu <gabrielopcode(a)gmail.com> --- dlls/mshtml/htmldoc.c | 366 ++++++++++++++++++++++--------------------- dlls/mshtml/mshtml_private.h | 24 ++- dlls/mshtml/oleobj.c | 360 ++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 562 insertions(+), 188 deletions(-)
1
0
0
0
Gabriel Ivăncescu : mshtml: Move HTMLDocumentObj implementation to oleobj.c.
by Alexandre Julliard
24 Oct '22
24 Oct '22
Module: wine Branch: master Commit: c72686aec8872cf8d60eb6aefd32ef553ea155a9 URL:
https://gitlab.winehq.org/wine/wine/-/commit/c72686aec8872cf8d60eb6aefd32ef…
Author: Gabriel Ivăncescu <gabrielopcode(a)gmail.com> Date: Mon Oct 24 15:58:00 2022 +0300 mshtml: Move HTMLDocumentObj implementation to oleobj.c. Signed-off-by: Gabriel Ivăncescu <gabrielopcode(a)gmail.com> --- dlls/mshtml/htmldoc.c | 363 ++----------------------------------------- dlls/mshtml/mshtml_private.h | 4 +- dlls/mshtml/oleobj.c | 350 ++++++++++++++++++++++++++++++++++++++++- 3 files changed, 361 insertions(+), 356 deletions(-)
1
0
0
0
Martin Storsjö : win32u: Make sure that the stack buffer in set_multi_value_key is large enough.
by Alexandre Julliard
24 Oct '22
24 Oct '22
Module: wine Branch: master Commit: 0cb279812546bedae68bc86210facd6c00dbb83f URL:
https://gitlab.winehq.org/wine/wine/-/commit/0cb279812546bedae68bc86210facd…
Author: Martin Storsjö <martin(a)martin.st> Date: Mon Oct 24 10:49:52 2022 +0300 win32u: Make sure that the stack buffer in set_multi_value_key is large enough. This fixes stack overflows since edecac8afdd04701314381b6386e0f7ac862e066. Signed-off-by: Martin Storsjö <martin(a)martin.st> --- dlls/win32u/font.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/dlls/win32u/font.c b/dlls/win32u/font.c index 6746f7fcb40..75189f8ec5a 100644 --- a/dlls/win32u/font.c +++ b/dlls/win32u/font.c @@ -3043,12 +3043,19 @@ static void update_font_association_info(void) static void set_multi_value_key( HKEY hkey, const WCHAR *name, const char *value, DWORD len ) { - WCHAR valueW[256]; + WCHAR *valueW; + + if (!(valueW = malloc( len * sizeof(WCHAR) ))) + { + ERR( "malloc of %d * WCHAR failed\n", len ); + return; + } ascii_to_unicode( valueW, value, len ); if (value) set_reg_value( hkey, name, REG_MULTI_SZ, valueW, len * sizeof(WCHAR) ); else if (name) reg_delete_value( hkey, name ); + free( valueW ); } static void update_font_system_link_info(void)
1
0
0
0
Ziqing Hui : win32u: Add font links for MS Mincho.
by Alexandre Julliard
24 Oct '22
24 Oct '22
Module: wine Branch: master Commit: 7486c4061e08fa0355a2a5e23554e38681202926 URL:
https://gitlab.winehq.org/wine/wine/-/commit/7486c4061e08fa0355a2a5e23554e3…
Author: Ziqing Hui <zhui(a)codeweavers.com> Date: Fri Oct 21 10:21:28 2022 +0800 win32u: Add font links for MS Mincho. --- dlls/win32u/font.c | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/dlls/win32u/font.c b/dlls/win32u/font.c index 505c29c469b..6746f7fcb40 100644 --- a/dlls/win32u/font.c +++ b/dlls/win32u/font.c @@ -1552,6 +1552,10 @@ static const WCHAR meiryo_uiW[] = {'M','e','i','r','y','o',' ','U','I',0}; static const WCHAR meiryo_ui_boldW[] = {'M','e','i','r','y','o',' ','U','I',' ','B','o','l','d',0}; +static const WCHAR ms_minchoW[] = + {'M','S',' ','M','i','n','c','h','o',0}; +static const WCHAR ms_p_minchoW[] = + {'M','S',' ','P','M','i','n','c','h','o',0}; static const WCHAR * const font_links_list[] = { @@ -1866,6 +1870,26 @@ static const char system_link_meiryo_ui_bold[] = "MALGUNBD.TTF,Malgun Gothic Bold\0" "SEGUISYM.TTF,Segoe UI Symbol\0"; +static const char system_link_ms_mincho[] = + "MINGLIU.TTC,MingLiU\0" + "SIMSUN.TTC,SimSun\0" + "BATANG.TTC,Batang\0" + "YUGOTHM.TTC,Yu Gothic UI\0" + "MSJH.TTC,Microsoft JhengHei UI\0" + "MSYH.TTC,Microsoft YaHei UI\0" + "MALGUN.TTF,Malgun Gothic\0" + "SEGUISYM.TTF,Segoe UI Symbol\0"; + +static const char system_link_ms_p_mincho[] = + "MINGLIU.TTC,PMingLiU\0" + "SIMSUN.TTC,SimSun\0" + "BATANG.TTC,Batang\0" + "YUGOTHM.TTC,Yu Gothic UI\0" + "MSJH.TTC,Microsoft JhengHei UI\0" + "MSYH.TTC,Microsoft YaHei UI\0" + "MALGUN.TTF,Malgun Gothic\0" + "SEGUISYM.TTF,Segoe UI Symbol\0"; + static const struct system_link_reg { const WCHAR *font_name; @@ -1930,6 +1954,8 @@ default_system_link[] = { meiryo_boldW, FALSE, system_link_meiryo_bold, sizeof(system_link_meiryo_bold) }, { meiryo_uiW, FALSE, system_link_meiryo_ui, sizeof(system_link_meiryo_ui) }, { meiryo_ui_boldW, FALSE, system_link_meiryo_ui_bold, sizeof(system_link_meiryo_ui_bold) }, + { ms_minchoW, FALSE, system_link_ms_mincho, sizeof(system_link_ms_mincho) }, + { ms_p_minchoW, FALSE, system_link_ms_p_mincho, sizeof(system_link_ms_p_mincho) }, }; static void populate_system_links( const WCHAR *name, const WCHAR * const *values )
1
0
0
0
Ziqing Hui : win32u: Add font links for Meiryo.
by Alexandre Julliard
24 Oct '22
24 Oct '22
Module: wine Branch: master Commit: fa411158dfe1facae8260014e0e4ad11a42522e8 URL:
https://gitlab.winehq.org/wine/wine/-/commit/fa411158dfe1facae8260014e0e4ad…
Author: Ziqing Hui <zhui(a)codeweavers.com> Date: Fri Oct 21 10:14:03 2022 +0800 win32u: Add font links for Meiryo. --- dlls/win32u/font.c | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) diff --git a/dlls/win32u/font.c b/dlls/win32u/font.c index a414da19287..505c29c469b 100644 --- a/dlls/win32u/font.c +++ b/dlls/win32u/font.c @@ -1544,6 +1544,14 @@ static const WCHAR yu_gothic_ui_semilightW[] = {'Y','u',' ','G','o','t','h','i','c',' ','U','I',' ','S','e','m','i','l','i','g','h','t',0}; static const WCHAR yu_gothic_ui_semiboldW[] = {'Y','u',' ','G','o','t','h','i','c',' ','U','I',' ','S','e','m','i','b','o','l','d',0}; +static const WCHAR meiryoW[] = + {'M','e','i','r','y','o',0}; +static const WCHAR meiryo_boldW[] = + {'M','e','i','r','y','o',' ','B','o','l','d',0}; +static const WCHAR meiryo_uiW[] = + {'M','e','i','r','y','o',' ','U','I',0}; +static const WCHAR meiryo_ui_boldW[] = + {'M','e','i','r','y','o',' ','U','I',' ','B','o','l','d',0}; static const WCHAR * const font_links_list[] = { @@ -1822,6 +1830,42 @@ static const char system_link_yu_gothic_ui_semibold[] = "MALGUN.TTF,Malgun Gothic\0" "SEGUISYM.TTF,Segoe UI Symbol\0"; +static const char system_link_meiryo[] = + "SEGOEUI.TTF,Segoe UI\0" + "YUGOTHM.TTC,Yu Gothic UI\0" + "MSGOTHIC.TTC,MS UI Gothic\0" + "MSJH.TTC,Microsoft JhengHei\0" + "MSYH.TTC,Microsoft YaHei\0" + "MALGUN.TTF,Malgun Gothic\0" + "SEGUISYM.TTF,Segoe UI Symbol\0"; + +static const char system_link_meiryo_bold[] = + "SEGOEUIB.TTF,Segoe UI Bold\0" + "YUGOTHB.TTC,Yu Gothic UI Bold\0" + "MSGOTHIC.TTC,MS UI Gothic\0" + "MSJHBD.TTC,Microsoft Jhenghei Bold\0" + "MSYHBD.TTC,Microsoft YaHei Bold\0" + "MALGUNBD.TTF,Malgun Gothic Bold\0" + "SEGUISYM.TTF,Segoe UI Symbol\0"; + +static const char system_link_meiryo_ui[] = + "SEGOEUI.TTF,Segoe UI\0" + "YUGOTHM.TTC,Yu Gothic UI\0" + "MSGOTHIC.TTC,MS UI Gothic\0" + "MSJH.TTC,Microsoft Jhenghei UI\0" + "MSYH.TTC,Microsoft YaHei UI\0" + "MALGUN.TTF,Malgun Gothic\0" + "SEGUISYM.TTF,Segoe UI Symbol\0"; + +static const char system_link_meiryo_ui_bold[] = + "SEGOEUIB.TTF,Segoe UI Bold\0" + "YUGOTHB.TTC,Yu Gothic UI Bold\0" + "MSGOTHIC.TTC,MS UI Gothic\0" + "MSJHBD.TTC,Microsoft Jhenghei UI Bold\0" + "MSYHBD.TTC,Microsoft YaHei UI Bold\0" + "MALGUNBD.TTF,Malgun Gothic Bold\0" + "SEGUISYM.TTF,Segoe UI Symbol\0"; + static const struct system_link_reg { const WCHAR *font_name; @@ -1882,6 +1926,10 @@ default_system_link[] = { yu_gothic_ui_lightW, FALSE, system_link_yu_gothic_ui_light, sizeof(system_link_yu_gothic_ui_light) }, { yu_gothic_ui_semiboldW, FALSE, system_link_yu_gothic_ui_semibold, sizeof(system_link_yu_gothic_ui_semibold) }, { yu_gothic_ui_semilightW, FALSE, system_link_yu_gothic_ui_semilight, sizeof(system_link_yu_gothic_ui_semilight) }, + { meiryoW, FALSE, system_link_meiryo, sizeof(system_link_meiryo) }, + { meiryo_boldW, FALSE, system_link_meiryo_bold, sizeof(system_link_meiryo_bold) }, + { meiryo_uiW, FALSE, system_link_meiryo_ui, sizeof(system_link_meiryo_ui) }, + { meiryo_ui_boldW, FALSE, system_link_meiryo_ui_bold, sizeof(system_link_meiryo_ui_bold) }, }; static void populate_system_links( const WCHAR *name, const WCHAR * const *values )
1
0
0
0
Ziqing Hui : win32u: Add font links for Yu Gothic UI.
by Alexandre Julliard
24 Oct '22
24 Oct '22
Module: wine Branch: master Commit: 802c12266175e01972998ca6b0e72196e90a9608 URL:
https://gitlab.winehq.org/wine/wine/-/commit/802c12266175e01972998ca6b0e721…
Author: Ziqing Hui <zhui(a)codeweavers.com> Date: Fri Oct 21 10:07:40 2022 +0800 win32u: Add font links for Yu Gothic UI. --- dlls/win32u/font.c | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) diff --git a/dlls/win32u/font.c b/dlls/win32u/font.c index 9ead47e1983..a414da19287 100644 --- a/dlls/win32u/font.c +++ b/dlls/win32u/font.c @@ -1534,6 +1534,16 @@ static const WCHAR microsoft_jheng_hei_ui_boldW[] = {'M','i','c','r','o','s','o','f','t',' ','J','h','e','n','g','H','e','i',' ','U','I',' ','B','o','l','d',0}; static const WCHAR microsoft_jheng_hei_ui_lightW[] = {'M','i','c','r','o','s','o','f','t',' ','J','h','e','n','g','H','e','i',' ','U','I',' ','L','i','g','h','t',0}; +static const WCHAR yu_gothic_uiW[] = + {'Y','u',' ','G','o','t','h','i','c',' ','U','I',0}; +static const WCHAR yu_gothic_ui_boldW[] = + {'Y','u',' ','G','o','t','h','i','c',' ','U','I',' ','B','o','l','d',0}; +static const WCHAR yu_gothic_ui_lightW[] = + {'Y','u',' ','G','o','t','h','i','c',' ','U','I',' ','L','i','g','h','t',0}; +static const WCHAR yu_gothic_ui_semilightW[] = + {'Y','u',' ','G','o','t','h','i','c',' ','U','I',' ','S','e','m','i','l','i','g','h','t',0}; +static const WCHAR yu_gothic_ui_semiboldW[] = + {'Y','u',' ','G','o','t','h','i','c',' ','U','I',' ','S','e','m','i','b','o','l','d',0}; static const WCHAR * const font_links_list[] = { @@ -1777,6 +1787,41 @@ static const char system_link_ming_li_u_hkscs_ext_b[] = "MALGUN.TTF,Malgun Gothic\0" "SEGUISYM.TTF,Segoe UI Symbol\0"; +static const char system_link_yu_gothic_ui[] = + "SEGOEUI.TTF,Segoe UI\0" + "MSJH.TTC,Microsoft JhengHei\0" + "MSYH.TTC,Microsoft YaHei\0" + "MALGUN.TTF,Malgun Gothic\0" + "SEGUISYM.TTF,Segoe UI Symbol\0"; + +static const char system_link_yu_gothic_ui_bold[] = + "SEGOEUIB.TTF,Segoe UI Bold\0" + "MSJHBD.TTC,Microsoft Jhenghei UI Bold\0" + "MSYHBD.TTC,Microsoft YaHei Bold\0" + "MALGUNBD.TTF,Malgun Gothic Bold\0" + "SEGUISYM.TTF,Segoe UI Symbol\0"; + +static const char system_link_yu_gothic_ui_light[] = + "SEGOEUIL.TTF,Segoe UI Light\0" + "MSJHL.TTC,Microsoft Jhenghei UI Light\0" + "MSYHL.TTC,Microsoft YaHei Light\0" + "MALGUNSL.TTF,Malgun Gothic Semilight\0" + "SEGUISYM.TTF,Segoe UI Symbol\0"; + +static const char system_link_yu_gothic_ui_semilight[] = + "SEGOEUISL.TTF,Segoe UI Semilight\0" + "MSJH.TTC,Microsoft Jhenghei UI\0" + "MSYH.TTC,Microsoft YaHei\0" + "MALGUNSL.TTF,Malgun Gothic Semilight\0" + "SEGUISYM.TTF,Segoe UI Symbol\0"; + +static const char system_link_yu_gothic_ui_semibold[] = + "SEGUISB.TTF,Segoe UI Semibold\0" + "MSJH.TTC,Microsoft Jhenghei UI\0" + "MSYH.TTC,Microsoft YaHei\0" + "MALGUN.TTF,Malgun Gothic\0" + "SEGUISYM.TTF,Segoe UI Symbol\0"; + static const struct system_link_reg { const WCHAR *font_name; @@ -1832,6 +1877,11 @@ default_system_link[] = { ming_li_u_ext_bW, FALSE, system_link_ming_li_u_ext_b, sizeof(system_link_ming_li_u_ext_b) }, { p_ming_li_u_ext_bW, FALSE, system_link_p_ming_li_u_ext_b, sizeof(system_link_p_ming_li_u_ext_b) }, { ming_li_u_hkscs_ext_bW, FALSE, system_link_ming_li_u_hkscs_ext_b, sizeof(system_link_ming_li_u_hkscs_ext_b) }, + { yu_gothic_uiW, FALSE, system_link_yu_gothic_ui, sizeof(system_link_yu_gothic_ui) }, + { yu_gothic_ui_boldW, FALSE, system_link_yu_gothic_ui_bold, sizeof(system_link_yu_gothic_ui_bold) }, + { yu_gothic_ui_lightW, FALSE, system_link_yu_gothic_ui_light, sizeof(system_link_yu_gothic_ui_light) }, + { yu_gothic_ui_semiboldW, FALSE, system_link_yu_gothic_ui_semibold, sizeof(system_link_yu_gothic_ui_semibold) }, + { yu_gothic_ui_semilightW, FALSE, system_link_yu_gothic_ui_semilight, sizeof(system_link_yu_gothic_ui_semilight) }, }; static void populate_system_links( const WCHAR *name, const WCHAR * const *values )
1
0
0
0
Alexandre Julliard : makedep: Make the extra C flags architecture-generic.
by Alexandre Julliard
24 Oct '22
24 Oct '22
Module: wine Branch: master Commit: 25735da0dea2c62b8362f613111fb145cd692545 URL:
https://gitlab.winehq.org/wine/wine/-/commit/25735da0dea2c62b8362f613111fb1…
Author: Alexandre Julliard <julliard(a)winehq.org> Date: Mon Oct 24 12:22:25 2022 +0200 makedep: Make the extra C flags architecture-generic. --- tools/makedep.c | 20 ++++++++------------ 1 file changed, 8 insertions(+), 12 deletions(-) diff --git a/tools/makedep.c b/tools/makedep.c index 44a08130b3f..7100cacaf86 100644 --- a/tools/makedep.c +++ b/tools/makedep.c @@ -134,10 +134,6 @@ static struct strarray linguas; static struct strarray dll_flags; static struct strarray unix_dllflags; static struct strarray msvcrt_flags; -static struct strarray extra_cflags; -static struct strarray extra_cross_cflags; -static struct strarray extra_cflags_extlib; -static struct strarray extra_cross_cflags_extlib; static struct strarray cpp_flags; static struct strarray lddll_flags; static struct strarray libs; @@ -172,6 +168,8 @@ static const char *strip_progs[MAX_ARCHS]; static const char *debug_flags[MAX_ARCHS]; static const char *delay_load_flags[MAX_ARCHS]; static struct strarray target_flags[MAX_ARCHS]; +static struct strarray extra_cflags[MAX_ARCHS]; +static struct strarray extra_cflags_extlib[MAX_ARCHS]; struct makefile { @@ -3059,7 +3057,7 @@ static void output_source_default( struct makefile *make, struct incl_file *sour output( "\t%s$(CC) -c -o $@ %s", cmd_prefix( "CC" ), source->filename ); output_filenames( defines ); if (!source->use_msvcrt) output_filenames( make->unix_cflags ); - output_filenames( make->extlib ? extra_cflags_extlib : extra_cflags ); + output_filenames( make->extlib ? extra_cflags_extlib[0] : extra_cflags[0] ); if (make->sharedlib || (source->file->flags & FLAG_C_UNIX)) { output_filenames( unix_dllflags ); @@ -3086,12 +3084,12 @@ static void output_source_default( struct makefile *make, struct incl_file *sour output( "%s.cross.o: %s\n", obj_dir_path( make, obj ), source->filename ); output( "\t%s$(CROSSCC) -c -o $@ %s", cmd_prefix( "CC" ), source->filename ); output_filenames( defines ); - output_filenames( make->extlib ? extra_cross_cflags_extlib : extra_cross_cflags ); + output_filenames( make->extlib ? extra_cflags_extlib[arch] : extra_cflags[arch] ); if (make->module && is_crt_module( make->module )) output_filename( "-fno-builtin" ); /* force -Wformat when using 'long' types, until all modules have been converted * and we can remove -Wno-format */ - if (!make->extlib && strarray_exists( &extra_cross_cflags, "-Wno-format" ) && + if (!make->extlib && strarray_exists( &extra_cflags[arch], "-Wno-format" ) && !strarray_exists( &defines, "-DWINE_NO_LONG_TYPES" )) output_filename( "-Wformat" ); output_filenames( cpp_flags ); @@ -4343,8 +4341,8 @@ int main( int argc, char *argv[] ) target_flags[0] = get_expanded_make_var_array( top_makefile, "TARGETFLAGS" ); msvcrt_flags = get_expanded_make_var_array( top_makefile, "MSVCRTFLAGS" ); dll_flags = get_expanded_make_var_array( top_makefile, "DLLFLAGS" ); - extra_cflags = get_expanded_make_var_array( top_makefile, "EXTRACFLAGS" ); - extra_cross_cflags = get_expanded_make_var_array( top_makefile, "EXTRACROSSCFLAGS" ); + extra_cflags[0] = get_expanded_make_var_array( top_makefile, "EXTRACFLAGS" ); + extra_cflags[1] = get_expanded_make_var_array( top_makefile, "EXTRACROSSCFLAGS" ); unix_dllflags = get_expanded_make_var_array( top_makefile, "UNIXDLLFLAGS" ); cpp_flags = get_expanded_make_var_array( top_makefile, "CPPFLAGS" ); lddll_flags = get_expanded_make_var_array( top_makefile, "LDDLLFLAGS" ); @@ -4404,6 +4402,7 @@ int main( int argc, char *argv[] ) for (arch = 0; arch < archs.count; arch++) { + extra_cflags_extlib[arch] = remove_warning_flags( extra_cflags[arch] ); if (!is_multiarch( arch )) continue; delay_load_flags[arch] = delay_load_flag; debug_flags[arch] = debug_flag; @@ -4415,9 +4414,6 @@ int main( int argc, char *argv[] ) debug_flags[0] = NULL; } - extra_cflags_extlib = remove_warning_flags( extra_cflags ); - extra_cross_cflags_extlib = remove_warning_flags( extra_cross_cflags ); - top_makefile->src_dir = root_src_dir; subdirs = get_expanded_make_var_array( top_makefile, "SUBDIRS" ); disabled_dirs = get_expanded_make_var_array( top_makefile, "DISABLED_SUBDIRS" );
1
0
0
0
Alexandre Julliard : makedep: Make the delay load flags architecture-generic.
by Alexandre Julliard
24 Oct '22
24 Oct '22
Module: wine Branch: master Commit: 815e766d9d70518c8a7668a088c3da6d845a102e URL:
https://gitlab.winehq.org/wine/wine/-/commit/815e766d9d70518c8a7668a088c3da…
Author: Alexandre Julliard <julliard(a)winehq.org> Date: Mon Oct 24 12:12:51 2022 +0200 makedep: Make the delay load flags architecture-generic. --- tools/makedep.c | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/tools/makedep.c b/tools/makedep.c index 6042689536b..44a08130b3f 100644 --- a/tools/makedep.c +++ b/tools/makedep.c @@ -167,10 +167,10 @@ static const char *dlltool; static const char *msgfmt; static const char *ln_s; static const char *sed_cmd; -static const char *delay_load_flag; /* per-architecture global variables */ static const char *strip_progs[MAX_ARCHS]; static const char *debug_flags[MAX_ARCHS]; +static const char *delay_load_flags[MAX_ARCHS]; static struct strarray target_flags[MAX_ARCHS]; struct makefile @@ -2073,10 +2073,9 @@ static struct makefile *get_parent_makefile( struct makefile *make ) /******************************************************************* * needs_delay_lib */ -static int needs_delay_lib( const struct makefile *make ) +static int needs_delay_lib( const struct makefile *make, unsigned int arch ) { - if (delay_load_flag) return 0; - if (*dll_ext && archs.count == 1) return 0; + if (delay_load_flags[arch]) return 0; if (!make->importlib) return 0; return strarray_exists( &delay_import_libs, make->importlib ); } @@ -2238,7 +2237,7 @@ static struct strarray add_import_libs( const struct makefile *make, struct stra { const char *ext = NULL; - if (type == IMPORT_TYPE_DELAYED && !delay_load_flag && (arch || !*dll_ext)) ext = ".delay.a"; + if (type == IMPORT_TYPE_DELAYED && !delay_load_flags[arch]) ext = ".delay.a"; else if (arch) ext = ".cross.a"; if (ext) lib = replace_extension( lib, ".a", ext ); strarray_add_uniq( deps, lib ); @@ -3175,7 +3174,6 @@ static void output_module( struct makefile *make, unsigned int arch ) struct strarray imports = make->imports; const char *module_name = make->module; const char *debug_file; - const char *delay_load = delay_load_flag; char *spec_file = NULL; unsigned int i; @@ -3198,11 +3196,10 @@ static void output_module( struct makefile *make, unsigned int arch ) strarray_addall( &all_libs, libs ); } - if (!arch && *dll_ext) delay_load = "-Wl,-delayload,"; - if (delay_load) + if (delay_load_flags[arch]) { for (i = 0; i < make->delayimports.count; i++) - strarray_add( &all_libs, strmake( "%s%s%s", delay_load, make->delayimports.str[i], + strarray_add( &all_libs, strmake( "%s%s%s", delay_load_flags[arch], make->delayimports.str[i], strchr( make->delayimports.str[i], '.' ) ? "" : ".dll" )); } } @@ -3300,7 +3297,7 @@ static void output_import_lib( struct makefile *make, unsigned int arch ) strarray_add( &make->clean_files, strmake( "lib%s.a", make->importlib )); output_filename( strmake( "%s.a", importlib_path )); } - if ((arch || !*dll_ext) && needs_delay_lib( make )) + if (needs_delay_lib( make, arch )) { strarray_add( &make->clean_files, strmake( "lib%s.delay.a", make->importlib )); output( " %s.delay.a", importlib_path ); @@ -4299,7 +4296,7 @@ static int parse_option( const char *opt ) int main( int argc, char *argv[] ) { const char *makeflags = getenv( "MAKEFLAGS" ); - const char *crosstarget, *debug_flag; + const char *crosstarget, *debug_flag, *delay_load_flag; unsigned int i, j, arch; if (makeflags) parse_makeflags( makeflags ); @@ -4408,11 +4405,13 @@ int main( int argc, char *argv[] ) for (arch = 0; arch < archs.count; arch++) { if (!is_multiarch( arch )) continue; + delay_load_flags[arch] = delay_load_flag; debug_flags[arch] = debug_flag; } if (*dll_ext) { + delay_load_flags[0] = "-Wl,-delayload,"; debug_flags[0] = NULL; }
1
0
0
0
Alexandre Julliard : makedep: Make the debug flags architecture-generic.
by Alexandre Julliard
24 Oct '22
24 Oct '22
Module: wine Branch: master Commit: 55e2335f64950fb378f8a06d79b6e5792324bdc1 URL:
https://gitlab.winehq.org/wine/wine/-/commit/55e2335f64950fb378f8a06d79b6e5…
Author: Alexandre Julliard <julliard(a)winehq.org> Date: Mon Oct 24 11:46:48 2022 +0200 makedep: Make the debug flags architecture-generic. --- tools/makedep.c | 38 +++++++++++++++++++++++++++++++------- 1 file changed, 31 insertions(+), 7 deletions(-) diff --git a/tools/makedep.c b/tools/makedep.c index fe546b26aa1..6042689536b 100644 --- a/tools/makedep.c +++ b/tools/makedep.c @@ -155,7 +155,6 @@ static const char *dll_ext; static const char *host_cpu; static const char *pe_dir; static const char *so_dir; -static const char *crossdebug; static const char *fontforge; static const char *convert; static const char *flex; @@ -171,6 +170,7 @@ static const char *sed_cmd; static const char *delay_load_flag; /* per-architecture global variables */ static const char *strip_progs[MAX_ARCHS]; +static const char *debug_flags[MAX_ARCHS]; static struct strarray target_flags[MAX_ARCHS]; struct makefile @@ -602,6 +602,18 @@ static char *concat_paths( const char *base, const char *path ) } +/******************************************************************* + * is_multiarch + * + * Check if arch is one of the PE architectures in multiarch. + * Also return TRUE for native arch iff there's no PE support. + */ +static int is_multiarch( unsigned int arch ) +{ + return archs.count == 1 || arch; +} + + /******************************************************************* * obj_dir_path */ @@ -2350,9 +2362,9 @@ static struct strarray remove_warning_flags( struct strarray flags ) static const char *get_debug_file( struct makefile *make, const char *name, unsigned int arch ) { const char *debug_file = NULL; - if (!arch || !crossdebug) return NULL; - if (!strcmp( crossdebug, "pdb" )) debug_file = strmake( "%s.pdb", get_base_name( name )); - else if(!strncmp( crossdebug, "split", 5 )) debug_file = strmake( "%s.debug", name ); + if (!debug_flags[arch]) return NULL; + if (!strcmp( debug_flags[arch], "pdb" )) debug_file = strmake( "%s.pdb", get_base_name( name )); + else if (!strncmp( debug_flags[arch], "split", 5 )) debug_file = strmake( "%s.debug", name ); if (debug_file) strarray_add( &make->debug_files, debug_file ); return debug_file; } @@ -4287,8 +4299,8 @@ static int parse_option( const char *opt ) int main( int argc, char *argv[] ) { const char *makeflags = getenv( "MAKEFLAGS" ); - const char *crosstarget; - int i, j; + const char *crosstarget, *debug_flag; + unsigned int i, j, arch; if (makeflags) parse_makeflags( makeflags ); @@ -4352,7 +4364,7 @@ int main( int argc, char *argv[] ) dll_ext = (exe_ext && !strcmp( exe_ext, ".exe" )) ? "" : ".so"; host_cpu = get_expanded_make_variable( top_makefile, "host_cpu" ); crosstarget = get_expanded_make_variable( top_makefile, "CROSSTARGET" ); - crossdebug = get_expanded_make_variable( top_makefile, "CROSSDEBUG" ); + debug_flag = get_expanded_make_variable( top_makefile, "CROSSDEBUG" ); fontforge = get_expanded_make_variable( top_makefile, "FONTFORGE" ); convert = get_expanded_make_variable( top_makefile, "CONVERT" ); flex = get_expanded_make_variable( top_makefile, "FLEX" ); @@ -4390,6 +4402,18 @@ int main( int argc, char *argv[] ) strarray_add( &target_flags[1], "-b" ); strarray_add( &target_flags[1], crosstarget ); strip_progs[1] = strmake( "%s-strip", crosstarget ); + debug_flags[1] = debug_flag; + } + + for (arch = 0; arch < archs.count; arch++) + { + if (!is_multiarch( arch )) continue; + debug_flags[arch] = debug_flag; + } + + if (*dll_ext) + { + debug_flags[0] = NULL; } extra_cflags_extlib = remove_warning_flags( extra_cflags );
1
0
0
0
← Newer
1
...
15
16
17
18
19
20
21
...
54
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
Results per page:
10
25
50
100
200