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
December 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
539 discussions
Start a n
N
ew thread
Alex Henrie : include: Annotate ber_(alloc_t|bvdup|init) with __WINE_(DEALLOC|MALLOC).
by Alexandre Julliard
02 Dec '22
02 Dec '22
Module: wine Branch: master Commit: 68852827a19aaf81cfef9a6abf691601ea30d52a URL:
https://gitlab.winehq.org/wine/wine/-/commit/68852827a19aaf81cfef9a6abf6916…
Author: Alex Henrie <alexhenrie24(a)gmail.com> Date: Thu Dec 1 20:05:25 2022 -0700 include: Annotate ber_(alloc_t|bvdup|init) with __WINE_(DEALLOC|MALLOC). --- include/winber.h | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/include/winber.h b/include/winber.h index 65d9d50c789..83055fa8c72 100644 --- a/include/winber.h +++ b/include/winber.h @@ -26,14 +26,15 @@ typedef int ber_int_t; typedef unsigned int ber_tag_t; typedef unsigned int ber_len_t; -BerElement * CDECL ber_alloc_t( int ); -BERVAL * CDECL ber_bvdup( BERVAL * ); -void CDECL ber_bvecfree( BERVAL ** ); +void CDECL ber_free( BerElement *, int ); void CDECL ber_bvfree( BERVAL * ); + +BerElement * CDECL ber_alloc_t( int ) __WINE_DEALLOC(ber_free) __WINE_MALLOC; +BERVAL * CDECL ber_bvdup( BERVAL * ) __WINE_DEALLOC(ber_bvfree) __WINE_MALLOC; +void CDECL ber_bvecfree( BERVAL ** ); ULONG CDECL ber_first_element( BerElement *, ULONG *, char ** ); int CDECL ber_flatten( BerElement *, BERVAL ** ); -void CDECL ber_free( BerElement *, int ); -BerElement * CDECL ber_init( BERVAL * ); +BerElement * CDECL ber_init( BERVAL * ) __WINE_DEALLOC(ber_free) __WINE_MALLOC; ULONG CDECL ber_next_element( BerElement *, ULONG *, char * ); ULONG CDECL ber_peek_tag( BerElement *, ULONG * ); int WINAPIV ber_printf( BerElement *, char *, ... );
1
0
0
0
Alexandre Julliard : ntdll: Use ret instead of jmp to return from syscall dispatchers.
by Alexandre Julliard
02 Dec '22
02 Dec '22
Module: wine Branch: master Commit: 0aae4b05633cb9b38eb37cc662f5a3aadb3ce108 URL:
https://gitlab.winehq.org/wine/wine/-/commit/0aae4b05633cb9b38eb37cc662f5a3…
Author: Alexandre Julliard <julliard(a)winehq.org> Date: Fri Dec 2 14:51:54 2022 +0100 ntdll: Use ret instead of jmp to return from syscall dispatchers. --- dlls/ntdll/unix/signal_i386.c | 8 ++++++-- dlls/ntdll/unix/signal_x86_64.c | 8 ++++++-- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/dlls/ntdll/unix/signal_i386.c b/dlls/ntdll/unix/signal_i386.c index 6aa5219f963..d665e281176 100644 --- a/dlls/ntdll/unix/signal_i386.c +++ b/dlls/ntdll/unix/signal_i386.c @@ -2669,7 +2669,9 @@ __ASM_GLOBAL_FUNC( __wine_syscall_dispatcher, __ASM_CFI(".cfi_register %eip, %ecx\n\t") "movl 0x0c(%esp),%esp\n\t" /* frame->esp */ __ASM_CFI(".cfi_same_value %esp\n\t") - "jmpl *%ecx\n" + "pushl %ecx\n\t" + __ASM_CFI(".cfi_adjust_cfa_offset 4\n\t") + "ret\n" __ASM_CFI("\t.cfi_restore_state\n") "1:\ttestl $0x2 << 16,%ecx\n\t" /* CONTEXT_INTEGER */ "jz 1f\n\t" @@ -2770,7 +2772,9 @@ __ASM_GLOBAL_FUNC( __wine_unix_call_dispatcher, __ASM_CFI(".cfi_register %eip, %ecx\n\t") "movl 0x0c(%esp),%esp\n\t" /* frame->esp */ __ASM_CFI(".cfi_same_value %esp\n\t") - "jmpl *%ecx" ) + "pushl %ecx\n\t" + __ASM_CFI(".cfi_adjust_cfa_offset 4\n\t") + "ret" ) /*********************************************************************** diff --git a/dlls/ntdll/unix/signal_x86_64.c b/dlls/ntdll/unix/signal_x86_64.c index 460f81545a3..fa8660ca914 100644 --- a/dlls/ntdll/unix/signal_x86_64.c +++ b/dlls/ntdll/unix/signal_x86_64.c @@ -2798,7 +2798,9 @@ __ASM_GLOBAL_FUNC( __wine_syscall_dispatcher, __ASM_CFI(".cfi_same_value rsp\n\t") "movq 0x70(%rcx),%rcx\n\t" /* frame->rip */ __ASM_CFI(".cfi_register rip, rcx\n\t") - "jmpq *%rcx\n\t" + "pushq %rcx\n\t" + __ASM_CFI(".cfi_adjust_cfa_offset 8\n\t") + "ret\n\t" /* $rcx is now pointing to "frame" again */ __ASM_CFI(".cfi_restore_state\n\t") /* remember state when $rcx is pointing to "frame" */ @@ -2938,7 +2940,9 @@ __ASM_GLOBAL_FUNC( __wine_unix_call_dispatcher, "movq 0x88(%rcx),%rsp\n\t" __ASM_CFI(".cfi_def_cfa rsp, 0\n\t") __ASM_CFI(".cfi_same_value rsp\n\t") - "jmpq *0x70(%rcx)" ) /* frame->rip */ + "pushq 0x70(%rcx)\n\t" /* frame->rip */ + __ASM_CFI(".cfi_adjust_cfa_offset 8\n\t") + "ret" ) /***********************************************************************
1
0
0
0
Alexandre Julliard : ntdll: Only build the wow64 function table on 64-bit.
by Alexandre Julliard
02 Dec '22
02 Dec '22
Module: wine Branch: master Commit: 3242676e2e15e0210552e4f8d58917d2500d5be4 URL:
https://gitlab.winehq.org/wine/wine/-/commit/3242676e2e15e0210552e4f8d58917…
Author: Alexandre Julliard <julliard(a)winehq.org> Date: Fri Dec 2 11:31:13 2022 +0100 ntdll: Only build the wow64 function table on 64-bit. --- dlls/ntdll/unix/loader.c | 3 +++ dlls/ntdll/unix/virtual.c | 8 ++++++++ 2 files changed, 11 insertions(+) diff --git a/dlls/ntdll/unix/loader.c b/dlls/ntdll/unix/loader.c index 0a445966cc0..7243be49489 100644 --- a/dlls/ntdll/unix/loader.c +++ b/dlls/ntdll/unix/loader.c @@ -2136,6 +2136,8 @@ const unixlib_entry_t __wine_unix_call_funcs[] = }; +#ifdef _WIN64 + static NTSTATUS wow64_load_so_dll( void *args ) { return STATUS_INVALID_IMAGE_FORMAT; } static NTSTATUS wow64_init_builtin_dll( void *args ) { return STATUS_UNSUCCESSFUL; } static NTSTATUS wow64_unwind_builtin_dll( void *args ) { return STATUS_UNSUCCESSFUL; } @@ -2151,6 +2153,7 @@ const unixlib_entry_t __wine_unix_call_wow64_funcs[] = system_time_precise, }; +#endif /* _WIN64 */ /*********************************************************************** * start_main_thread diff --git a/dlls/ntdll/unix/virtual.c b/dlls/ntdll/unix/virtual.c index 17ab6ae9622..2a00ac52811 100644 --- a/dlls/ntdll/unix/virtual.c +++ b/dlls/ntdll/unix/virtual.c @@ -647,7 +647,11 @@ static NTSTATUS get_builtin_unix_funcs( void *module, BOOL wow, const void **fun if (module == ntdll_module) { +#ifdef _WIN64 *funcs = wow ? __wine_unix_call_wow64_funcs : __wine_unix_call_funcs; +#else + *funcs = __wine_unix_call_funcs; +#endif return STATUS_SUCCESS; } @@ -657,7 +661,11 @@ static NTSTATUS get_builtin_unix_funcs( void *module, BOOL wow, const void **fun if (builtin->module != module) continue; if (builtin->unix_path && (p = strrchr( builtin->unix_path, '/' )) && !strcmp( p, "/ntdll.so" )) { +#ifdef _WIN64 *funcs = wow ? __wine_unix_call_wow64_funcs : __wine_unix_call_funcs; +#else + *funcs = __wine_unix_call_funcs; +#endif status = STATUS_SUCCESS; break; }
1
0
0
0
Alexandre Julliard : setupapi: Fix wildcard matching for fakedlls inside the build dir.
by Alexandre Julliard
02 Dec '22
02 Dec '22
Module: wine Branch: master Commit: 6a4e0d60fa8a5e955dda7a536da6cade05cf79c7 URL:
https://gitlab.winehq.org/wine/wine/-/commit/6a4e0d60fa8a5e955dda7a536da6ca…
Author: Alexandre Julliard <julliard(a)winehq.org> Date: Fri Dec 2 10:36:03 2022 +0100 setupapi: Fix wildcard matching for fakedlls inside the build dir. To avoid *.sys matching windows.system.profile.systemmanufacturers.dll. --- dlls/setupapi/fakedll.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dlls/setupapi/fakedll.c b/dlls/setupapi/fakedll.c index 6a5a566278b..7f4d7367285 100644 --- a/dlls/setupapi/fakedll.c +++ b/dlls/setupapi/fakedll.c @@ -989,6 +989,8 @@ static void install_lib_dir( WCHAR *dest, WCHAR *file, const WCHAR *wildcard, lstrcatW( name, data.name ); if (wcschr( data.name, '.' ) && install_fake_dll( dest, file, delete, &delay_copy )) continue; + if (wcschr( wildcard, '.' )) /* don't append default if wildcard has an explicit extension */ + continue; lstrcatW( name, default_ext ); } install_fake_dll( dest, file, delete, &delay_copy );
1
0
0
0
Alexandre Julliard : configure: Remove obsolete AL/al.h check.
by Alexandre Julliard
02 Dec '22
02 Dec '22
Module: wine Branch: master Commit: 92520c6a1a85e0c09583675ef53a536632cdc7bf URL:
https://gitlab.winehq.org/wine/wine/-/commit/92520c6a1a85e0c09583675ef53a53…
Author: Alexandre Julliard <julliard(a)winehq.org> Date: Fri Dec 2 11:03:26 2022 +0100 configure: Remove obsolete AL/al.h check. --- configure | 6 ------ configure.ac | 1 - include/config.h.in | 3 --- 3 files changed, 10 deletions(-) diff --git a/configure b/configure index 85a28e59928..0067b7f008c 100755 --- a/configure +++ b/configure @@ -7804,12 +7804,6 @@ then : printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h -fi -ac_fn_c_check_header_compile "$LINENO" "AL/al.h" "ac_cv_header_AL_al_h" "$ac_includes_default" -if test "x$ac_cv_header_AL_al_h" = xyes -then : - printf "%s\n" "#define HAVE_AL_AL_H 1" >>confdefs.h - fi ac_fn_c_check_header_compile "$LINENO" "CL/cl.h" "ac_cv_header_CL_cl_h" "$ac_includes_default" if test "x$ac_cv_header_CL_cl_h" = xyes diff --git a/configure.ac b/configure.ac index b0988819b85..d40c6f600af 100644 --- a/configure.ac +++ b/configure.ac @@ -405,7 +405,6 @@ dnl **** Check for header files **** AC_SYS_LARGEFILE() AC_CHECK_HEADERS(\ - AL/al.h \ CL/cl.h \ EGL/egl.h \ OpenCL/opencl.h \ diff --git a/include/config.h.in b/include/config.h.in index 781afd13066..cf9c65c3fdc 100644 --- a/include/config.h.in +++ b/include/config.h.in @@ -6,9 +6,6 @@ /* Define to the file extension for executables. */ #undef EXEEXT -/* Define to 1 if you have the <AL/al.h> header file. */ -#undef HAVE_AL_AL_H - /* Define to 1 if you have the <arpa/inet.h> header file. */ #undef HAVE_ARPA_INET_H
1
0
0
0
Brendan Shanks : winemac: Remove pre-Mac OS X 10.7 workaround.
by Alexandre Julliard
02 Dec '22
02 Dec '22
Module: wine Branch: master Commit: 5f062fcf9971003d839215adc81c3bbefbe5b914 URL:
https://gitlab.winehq.org/wine/wine/-/commit/5f062fcf9971003d839215adc81c3b…
Author: Brendan Shanks <bshanks(a)codeweavers.com> Date: Thu Dec 1 20:18:44 2022 -0800 winemac: Remove pre-Mac OS X 10.7 workaround. --- dlls/winemac.drv/macdrv_main.c | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/dlls/winemac.drv/macdrv_main.c b/dlls/winemac.drv/macdrv_main.c index 2350ec61b21..39bd66f3211 100644 --- a/dlls/winemac.drv/macdrv_main.c +++ b/dlls/winemac.drv/macdrv_main.c @@ -37,13 +37,6 @@ WINE_DEFAULT_DEBUG_CHANNEL(macdrv); -#ifndef kIOPMAssertionTypePreventUserIdleDisplaySleep -#define kIOPMAssertionTypePreventUserIdleDisplaySleep CFSTR("PreventUserIdleDisplaySleep") -#endif -#ifndef kCFCoreFoundationVersionNumber10_7 -#define kCFCoreFoundationVersionNumber10_7 635.00 -#endif - #define IS_OPTION_TRUE(ch) \ ((ch) == 'y' || (ch) == 'Y' || (ch) == 't' || (ch) == 'T' || (ch) == '1') @@ -593,13 +586,7 @@ BOOL macdrv_SystemParametersInfo( UINT action, UINT int_param, void *ptr_param, } else if (powerAssertion == kIOPMNullAssertionID) { - CFStringRef assertName; - /*Are we running Lion or later?*/ - if (kCFCoreFoundationVersionNumber >= kCFCoreFoundationVersionNumber10_7) - assertName = kIOPMAssertionTypePreventUserIdleDisplaySleep; - else - assertName = kIOPMAssertionTypeNoDisplaySleep; - IOPMAssertionCreateWithName( assertName, kIOPMAssertionLevelOn, + IOPMAssertionCreateWithName( kIOPMAssertionTypePreventUserIdleDisplaySleep, kIOPMAssertionLevelOn, CFSTR("Wine Process requesting no screen saver"), &powerAssertion); }
1
0
0
0
Brendan Shanks : configure: Remove SystemConfiguration header check (always present on macOS).
by Alexandre Julliard
02 Dec '22
02 Dec '22
Module: wine Branch: master Commit: 9207927d950ce8ab41a6d8c25cfa593ce770d5cf URL:
https://gitlab.winehq.org/wine/wine/-/commit/9207927d950ce8ab41a6d8c25cfa59…
Author: Brendan Shanks <bshanks(a)codeweavers.com> Date: Thu Dec 1 10:10:18 2022 -0800 configure: Remove SystemConfiguration header check (always present on macOS). --- configure | 12 ------------ configure.ac | 2 -- dlls/mountmgr.sys/dbus.c | 2 +- dlls/mountmgr.sys/diskarb.c | 4 +--- include/config.h.in | 8 -------- 5 files changed, 2 insertions(+), 26 deletions(-) diff --git a/configure b/configure index 1a8af17a627..85a28e59928 100755 --- a/configure +++ b/configure @@ -7828,18 +7828,6 @@ if test "x$ac_cv_header_OpenCL_opencl_h" = xyes then : printf "%s\n" "#define HAVE_OPENCL_OPENCL_H 1" >>confdefs.h -fi -ac_fn_c_check_header_compile "$LINENO" "SystemConfiguration/SCDynamicStoreCopyDHCPInfo.h" "ac_cv_header_SystemConfiguration_SCDynamicStoreCopyDHCPInfo_h" "$ac_includes_default" -if test "x$ac_cv_header_SystemConfiguration_SCDynamicStoreCopyDHCPInfo_h" = xyes -then : - printf "%s\n" "#define HAVE_SYSTEMCONFIGURATION_SCDYNAMICSTORECOPYDHCPINFO_H 1" >>confdefs.h - -fi -ac_fn_c_check_header_compile "$LINENO" "SystemConfiguration/SCNetworkConfiguration.h" "ac_cv_header_SystemConfiguration_SCNetworkConfiguration_h" "$ac_includes_default" -if test "x$ac_cv_header_SystemConfiguration_SCNetworkConfiguration_h" = xyes -then : - printf "%s\n" "#define HAVE_SYSTEMCONFIGURATION_SCNETWORKCONFIGURATION_H 1" >>confdefs.h - fi ac_fn_c_check_header_compile "$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default" if test "x$ac_cv_header_arpa_inet_h" = xyes diff --git a/configure.ac b/configure.ac index 836dd393517..b0988819b85 100644 --- a/configure.ac +++ b/configure.ac @@ -409,8 +409,6 @@ AC_CHECK_HEADERS(\ CL/cl.h \ EGL/egl.h \ OpenCL/opencl.h \ - SystemConfiguration/SCDynamicStoreCopyDHCPInfo.h \ - SystemConfiguration/SCNetworkConfiguration.h \ arpa/inet.h \ arpa/nameser.h \ asm/types.h \ diff --git a/dlls/mountmgr.sys/dbus.c b/dlls/mountmgr.sys/dbus.c index cc115751a19..6fe6984c218 100644 --- a/dlls/mountmgr.sys/dbus.c +++ b/dlls/mountmgr.sys/dbus.c @@ -573,7 +573,7 @@ found: while (p_dbus_connection_read_write_dispatch( connection, -1 )) /* nothing */ ; } -#if !defined(HAVE_SYSTEMCONFIGURATION_SCDYNAMICSTORECOPYDHCPINFO_H) || !defined(HAVE_SYSTEMCONFIGURATION_SCNETWORKCONFIGURATION_H) +#if !defined(__APPLE__) /* The udisks dispatch loop will block all threads using the same connection, so we'll use a private connection. Multiple threads can make methods calls at the same time diff --git a/dlls/mountmgr.sys/diskarb.c b/dlls/mountmgr.sys/diskarb.c index 18d4b65a625..4817cfc61d6 100644 --- a/dlls/mountmgr.sys/diskarb.c +++ b/dlls/mountmgr.sys/diskarb.c @@ -33,8 +33,6 @@ #include <sys/ioctl.h> #ifdef __APPLE__ #include <DiskArbitration/DiskArbitration.h> -#endif -#if defined(HAVE_SYSTEMCONFIGURATION_SCDYNAMICSTORECOPYDHCPINFO_H) && defined(HAVE_SYSTEMCONFIGURATION_SCNETWORKCONFIGURATION_H) #include <SystemConfiguration/SCDynamicStoreCopyDHCPInfo.h> #include <SystemConfiguration/SCNetworkConfiguration.h> #endif @@ -227,7 +225,7 @@ void run_diskarbitration_loop(void) #endif /* __APPLE__ */ -#if defined(HAVE_SYSTEMCONFIGURATION_SCDYNAMICSTORECOPYDHCPINFO_H) && defined(HAVE_SYSTEMCONFIGURATION_SCNETWORKCONFIGURATION_H) +#if defined(__APPLE__) static UInt8 map_option( unsigned int option ) { diff --git a/include/config.h.in b/include/config.h.in index 146d0b7075c..781afd13066 100644 --- a/include/config.h.in +++ b/include/config.h.in @@ -501,14 +501,6 @@ /* Define to 1 if you have the `sysinfo' function. */ #undef HAVE_SYSINFO -/* Define to 1 if you have the - <SystemConfiguration/SCDynamicStoreCopyDHCPInfo.h> header file. */ -#undef HAVE_SYSTEMCONFIGURATION_SCDYNAMICSTORECOPYDHCPINFO_H - -/* Define to 1 if you have the <SystemConfiguration/SCNetworkConfiguration.h> - header file. */ -#undef HAVE_SYSTEMCONFIGURATION_SCNETWORKCONFIGURATION_H - /* Define to 1 if you have the <sys/attr.h> header file. */ #undef HAVE_SYS_ATTR_H
1
0
0
0
Brendan Shanks : configure: Remove Security.framework check (always present on macOS).
by Alexandre Julliard
02 Dec '22
02 Dec '22
Module: wine Branch: master Commit: c39e229163b1f18f406d64fdc793b410216a485c URL:
https://gitlab.winehq.org/wine/wine/-/commit/c39e229163b1f18f406d64fdc793b4…
Author: Brendan Shanks <bshanks(a)codeweavers.com> Date: Tue Nov 22 13:48:10 2022 -0800 configure: Remove Security.framework check (always present on macOS). --- configure | 17 ++++------------- configure.ac | 6 +----- dlls/crypt32/unixlib.c | 4 ++-- include/config.h.in | 3 --- 4 files changed, 7 insertions(+), 23 deletions(-) diff --git a/configure b/configure index 743940a343b..1a8af17a627 100755 --- a/configure +++ b/configure @@ -746,8 +746,8 @@ OBJCFLAGS OBJC OPENCL_LIBS COREAUDIO_LIBS -SECURITY_LIBS SYSTEMCONFIGURATION_LIBS +SECURITY_LIBS APPKIT_LIBS CORESERVICES_LIBS APPLICATIONSERVICES_LIBS @@ -7828,12 +7828,6 @@ if test "x$ac_cv_header_OpenCL_opencl_h" = xyes then : printf "%s\n" "#define HAVE_OPENCL_OPENCL_H 1" >>confdefs.h -fi -ac_fn_c_check_header_compile "$LINENO" "Security/Security.h" "ac_cv_header_Security_Security_h" "$ac_includes_default" -if test "x$ac_cv_header_Security_Security_h" = xyes -then : - printf "%s\n" "#define HAVE_SECURITY_SECURITY_H 1" >>confdefs.h - fi ac_fn_c_check_header_compile "$LINENO" "SystemConfiguration/SCDynamicStoreCopyDHCPInfo.h" "ac_cv_header_SystemConfiguration_SCDynamicStoreCopyDHCPInfo_h" "$ac_includes_default" if test "x$ac_cv_header_SystemConfiguration_SCDynamicStoreCopyDHCPInfo_h" = xyes @@ -9466,6 +9460,8 @@ fi ;; APPKIT_LIBS="-framework AppKit" + SECURITY_LIBS="-framework Security -framework CoreFoundation" + SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration" @@ -9597,11 +9593,6 @@ fi as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work" fi - if test "$ac_cv_header_Security_Security_h" = "yes" - then - SECURITY_LIBS="-framework Security -framework CoreFoundation" - - fi if test "x$with_coreaudio" != "xno"; then COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI" @@ -23160,8 +23151,8 @@ METAL_LIBS = $METAL_LIBS APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS CORESERVICES_LIBS = $CORESERVICES_LIBS APPKIT_LIBS = $APPKIT_LIBS -SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS SECURITY_LIBS = $SECURITY_LIBS +SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS COREAUDIO_LIBS = $COREAUDIO_LIBS OPENCL_LIBS = $OPENCL_LIBS OBJC = $OBJC diff --git a/configure.ac b/configure.ac index cff8fba397a..836dd393517 100644 --- a/configure.ac +++ b/configure.ac @@ -409,7 +409,6 @@ AC_CHECK_HEADERS(\ CL/cl.h \ EGL/egl.h \ OpenCL/opencl.h \ - Security/Security.h \ SystemConfiguration/SCDynamicStoreCopyDHCPInfo.h \ SystemConfiguration/SCNetworkConfiguration.h \ arpa/inet.h \ @@ -682,6 +681,7 @@ case $host_os in AC_SUBST(APPLICATIONSERVICES_LIBS,"-framework ApplicationServices") AC_SUBST(CORESERVICES_LIBS,"-framework CoreServices") AC_SUBST(APPKIT_LIBS,"-framework AppKit") + AC_SUBST(SECURITY_LIBS,"-framework Security -framework CoreFoundation") AC_SUBST(SYSTEMCONFIGURATION_LIBS,"-framework SystemConfiguration") WINELOADER_LDFLAGS="-Wl,-pie,-segalign,0x1000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist" @@ -706,10 +706,6 @@ case $host_os in WINE_WARNING([can't build Wine preloader; many programs won't work]) fi - if test "$ac_cv_header_Security_Security_h" = "yes" - then - AC_SUBST(SECURITY_LIBS,"-framework Security -framework CoreFoundation") - fi if test "x$with_coreaudio" != "xno"; then AC_SUBST(COREAUDIO_LIBS,"-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI") diff --git a/dlls/crypt32/unixlib.c b/dlls/crypt32/unixlib.c index 9a36d12f293..e90642fb0d5 100644 --- a/dlls/crypt32/unixlib.c +++ b/dlls/crypt32/unixlib.c @@ -29,7 +29,7 @@ #include <unistd.h> #include <dlfcn.h> #include <sys/stat.h> -#ifdef HAVE_SECURITY_SECURITY_H +#ifdef __APPLE__ #include <Security/Security.h> #endif #ifdef SONAME_LIBGNUTLS @@ -625,7 +625,7 @@ static void load_root_certs(void) { unsigned int i; -#ifdef HAVE_SECURITY_SECURITY_H +#ifdef __APPLE__ const SecTrustSettingsDomain domains[] = { kSecTrustSettingsDomainSystem, kSecTrustSettingsDomainAdmin, diff --git a/include/config.h.in b/include/config.h.in index 35f0cf84463..146d0b7075c 100644 --- a/include/config.h.in +++ b/include/config.h.in @@ -366,9 +366,6 @@ /* Define to 1 if you have the <SDL.h> header file. */ #undef HAVE_SDL_H -/* Define to 1 if you have the <Security/Security.h> header file. */ -#undef HAVE_SECURITY_SECURITY_H - /* Define to 1 if you have the `setproctitle' function. */ #undef HAVE_SETPROCTITLE
1
0
0
0
Brendan Shanks : configure: Remove Metal.framework check (present in all supported macOS SDKs).
by Alexandre Julliard
02 Dec '22
02 Dec '22
Module: wine Branch: master Commit: 6706784c334bf8f89e0338fbe0c6c5eb9935fa54 URL:
https://gitlab.winehq.org/wine/wine/-/commit/6706784c334bf8f89e0338fbe0c6c5…
Author: Brendan Shanks <bshanks(a)codeweavers.com> Date: Thu Dec 1 11:53:32 2022 -0800 configure: Remove Metal.framework check (present in all supported macOS SDKs). --- configure | 421 +++++++++++++++++----------------------- configure.ac | 26 +-- dlls/winemac.drv/cocoa_window.m | 16 -- dlls/winemac.drv/macdrv_cocoa.h | 4 - include/config.h.in | 3 - 5 files changed, 189 insertions(+), 281 deletions(-)
1
0
0
0
Brendan Shanks : configure: Remove check for IOKit (always present on macOS).
by Alexandre Julliard
02 Dec '22
02 Dec '22
Module: wine Branch: master Commit: 9645beb5c07685c521fa5718814ab2b13cf52f5b URL:
https://gitlab.winehq.org/wine/wine/-/commit/9645beb5c07685c521fa5718814ab2…
Author: Brendan Shanks <bshanks(a)codeweavers.com> Date: Tue Nov 22 14:02:40 2022 -0800 configure: Remove check for IOKit (always present on macOS). --- configure | 6 ------ configure.ac | 1 - dlls/ntdll/unix/cdrom.c | 2 +- dlls/ntdll/unix/system.c | 6 ++---- include/config.h.in | 3 --- 5 files changed, 3 insertions(+), 15 deletions(-) diff --git a/configure b/configure index d2e785eb542..e09b930d702 100755 --- a/configure +++ b/configure @@ -7855,12 +7855,6 @@ if test "x$ac_cv_header_EGL_egl_h" = xyes then : printf "%s\n" "#define HAVE_EGL_EGL_H 1" >>confdefs.h -fi -ac_fn_c_check_header_compile "$LINENO" "IOKit/IOKitLib.h" "ac_cv_header_IOKit_IOKitLib_h" "$ac_includes_default" -if test "x$ac_cv_header_IOKit_IOKitLib_h" = xyes -then : - printf "%s\n" "#define HAVE_IOKIT_IOKITLIB_H 1" >>confdefs.h - fi ac_fn_c_check_header_compile "$LINENO" "OpenCL/opencl.h" "ac_cv_header_OpenCL_opencl_h" "$ac_includes_default" if test "x$ac_cv_header_OpenCL_opencl_h" = xyes diff --git a/configure.ac b/configure.ac index cff7d5d899b..8689c7ba425 100644 --- a/configure.ac +++ b/configure.ac @@ -408,7 +408,6 @@ AC_CHECK_HEADERS(\ AL/al.h \ CL/cl.h \ EGL/egl.h \ - IOKit/IOKitLib.h \ OpenCL/opencl.h \ Security/Security.h \ SystemConfiguration/SCDynamicStoreCopyDHCPInfo.h \ diff --git a/dlls/ntdll/unix/cdrom.c b/dlls/ntdll/unix/cdrom.c index 5ee4fecf26b..661a7067168 100644 --- a/dlls/ntdll/unix/cdrom.c +++ b/dlls/ntdll/unix/cdrom.c @@ -75,7 +75,7 @@ # include <sys/scsiio.h> #endif -#ifdef HAVE_IOKIT_IOKITLIB_H +#ifdef __APPLE__ # include <libkern/OSByteOrder.h> # include <sys/disk.h> # include <IOKit/IOKitLib.h> diff --git a/dlls/ntdll/unix/system.c b/dlls/ntdll/unix/system.c index 2dc99316f9c..b9be2f53752 100644 --- a/dlls/ntdll/unix/system.c +++ b/dlls/ntdll/unix/system.c @@ -54,14 +54,12 @@ #ifdef HAVE_SYS_RESOURCE_H # include <sys/resource.h> #endif -#ifdef HAVE_IOKIT_IOKITLIB_H +#ifdef __APPLE__ # include <CoreFoundation/CoreFoundation.h> # include <IOKit/IOKitLib.h> # include <IOKit/pwr_mgt/IOPM.h> # include <IOKit/pwr_mgt/IOPMLib.h> # include <IOKit/ps/IOPowerSources.h> -#endif -#ifdef __APPLE__ # include <mach/mach.h> # include <mach/machine.h> # include <mach/mach_init.h> @@ -3484,7 +3482,7 @@ static NTSTATUS fill_battery_state( SYSTEM_BATTERY_STATE *bs ) return STATUS_SUCCESS; } -#elif defined(HAVE_IOKIT_IOKITLIB_H) +#elif defined(__APPLE__) static NTSTATUS fill_battery_state( SYSTEM_BATTERY_STATE *bs ) { diff --git a/include/config.h.in b/include/config.h.in index ed55ed7ad78..e80ede4260f 100644 --- a/include/config.h.in +++ b/include/config.h.in @@ -111,9 +111,6 @@ /* Define to 1 if you have the <inttypes.h> header file. */ #undef HAVE_INTTYPES_H -/* Define to 1 if you have the <IOKit/IOKitLib.h> header file. */ -#undef HAVE_IOKIT_IOKITLIB_H - /* Define to 1 if you have the `kqueue' function. */ #undef HAVE_KQUEUE
1
0
0
0
← Newer
1
...
43
44
45
46
47
48
49
...
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