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
May 2023
----- 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
775 discussions
Start a n
N
ew thread
Paul Gofman : ntdll: Better match Windows subheap sizes.
by Alexandre Julliard
15 May '23
15 May '23
Module: wine Branch: master Commit: 354a8bb1f4a65bdec052606f2799db9e2907b5b1 URL:
https://gitlab.winehq.org/wine/wine/-/commit/354a8bb1f4a65bdec052606f2799db…
Author: Paul Gofman <pgofman(a)codeweavers.com> Date: Thu May 11 21:53:02 2023 -0600 ntdll: Better match Windows subheap sizes. --- dlls/kernel32/tests/heap.c | 8 ++------ dlls/ntdll/heap.c | 13 +++++++++---- 2 files changed, 11 insertions(+), 10 deletions(-) diff --git a/dlls/kernel32/tests/heap.c b/dlls/kernel32/tests/heap.c index fead409960c..59a82c0c579 100644 --- a/dlls/kernel32/tests/heap.c +++ b/dlls/kernel32/tests/heap.c @@ -578,7 +578,6 @@ static void test_HeapCreate(void) todo_wine ok( entries[0].Region.dwCommittedSize == 0x400 * sizeof(void *), "got Region.dwCommittedSize %#lx\n", entries[0].Region.dwCommittedSize ); - todo_wine ok( entries[0].Region.dwUnCommittedSize == 0x10000 - entries[0].Region.dwCommittedSize || entries[0].Region.dwUnCommittedSize == 0x10000 * sizeof(void *) - entries[0].Region.dwCommittedSize /* win7 */, "got Region.dwUnCommittedSize %#lx\n", entries[0].Region.dwUnCommittedSize ); @@ -3019,9 +3018,9 @@ static void test_block_layout( HANDLE heap, DWORD global_flags, DWORD heap_flags expect_size = max( alloc_size, 2 * sizeof(void *) ); expect_size = ALIGN_BLOCK_SIZE( expect_size + extra_size ); diff = min( llabs( ptr2 - ptr1 ), llabs( ptr1 - ptr0 ) ); - todo_wine_if( (!(global_flags & ~FLG_HEAP_ENABLE_FREE_CHECK) && alloc_size < 2 * sizeof(void *)) ) + todo_wine_if( (!global_flags && alloc_size < 2 * sizeof(void *)) || + ((heap_flags & HEAP_FREE_CHECKING_ENABLED) && diff >= 0x100000) ) ok( diff == expect_size, "got diff %#Ix exp %#Ix\n", diff, expect_size ); - ok( !memcmp( ptr0 + alloc_size, tail_buf, tail_size ), "missing block tail\n" ); ok( !memcmp( ptr1 + alloc_size, tail_buf, tail_size ), "missing block tail\n" ); ok( !memcmp( ptr2 + alloc_size, tail_buf, tail_size ), "missing block tail\n" ); @@ -3661,7 +3660,6 @@ static void test_heap_size( SIZE_T initial_size ) heap = HeapCreate( HEAP_NO_SERIALIZE, initial_size, 0 ); get_valloc_info( heap, ¤t_base, &alloc_size ); - todo_wine ok( alloc_size == initial_size + default_heap_size || broken( (initial_size && alloc_size == initial_size) || (!initial_size && (alloc_size == default_heap_size * sizeof(void*))) ) /* Win7 */, "got %#Ix.\n", alloc_size ); @@ -3687,11 +3685,9 @@ static void test_heap_size( SIZE_T initial_size ) max_size_reached = TRUE; } } - todo_wine_if( !initial_subheap ) ok( alloc_size == current_subheap_size, "got %#Ix.\n", alloc_size ); winetest_pop_context(); } - todo_wine_if( sizeof(void *) == 8 ) ok( max_size_reached, "Did not reach maximum subheap size.\n" ); HeapDestroy( heap ); diff --git a/dlls/ntdll/heap.c b/dlls/ntdll/heap.c index ce3419734ee..bbb4cbf8a99 100644 --- a/dlls/ntdll/heap.c +++ b/dlls/ntdll/heap.c @@ -311,7 +311,12 @@ C_ASSERT( offsetof(struct heap, subheap) <= REGION_ALIGN - 1 ); #define HEAP_MAGIC ((DWORD)('H' | ('E'<<8) | ('A'<<16) | ('P'<<24))) -#define HEAP_DEF_SIZE (0x40000 * BLOCK_ALIGN) +#define HEAP_INITIAL_SIZE 0x10000 +#define HEAP_INITIAL_GROW_SIZE 0x100000 +#define HEAP_MAX_GROW_SIZE 0xfd0000 + +C_ASSERT( HEAP_MIN_LARGE_BLOCK_SIZE <= HEAP_INITIAL_GROW_SIZE ); + #define MAX_FREE_PENDING 1024 /* max number of free requests to delay */ /* some undocumented flags (names are made up) */ @@ -1133,7 +1138,7 @@ static struct block *find_free_block( struct heap *heap, ULONG flags, SIZE_T blo if ((subheap = create_subheap( heap, flags, max( heap->grow_size, total_size ), total_size ))) { - if (heap->grow_size <= HEAP_MAX_FREE_BLOCK_SIZE / 2) heap->grow_size *= 2; + heap->grow_size = min( heap->grow_size * 2, HEAP_MAX_GROW_SIZE ); } else while (!subheap) /* shrink the grow size again if we are running out of space */ { @@ -1517,7 +1522,7 @@ HANDLE WINAPI RtlCreateHeap( ULONG flags, void *addr, SIZE_T total_size, SIZE_T flags &= ~(HEAP_TAIL_CHECKING_ENABLED|HEAP_FREE_CHECKING_ENABLED); if (process_heap) flags |= HEAP_PRIVATE; if (!process_heap || !total_size || (flags & HEAP_SHARED)) flags |= HEAP_GROWABLE; - if (!total_size) total_size = HEAP_DEF_SIZE; + if (!total_size) total_size = commit_size + HEAP_INITIAL_SIZE; if (!(heap = addr)) { @@ -1532,7 +1537,7 @@ HANDLE WINAPI RtlCreateHeap( ULONG flags, void *addr, SIZE_T total_size, SIZE_T heap->flags = (flags & ~HEAP_SHARED); heap->compat_info = HEAP_STD; heap->magic = HEAP_MAGIC; - heap->grow_size = max( HEAP_DEF_SIZE, total_size ); + heap->grow_size = HEAP_INITIAL_GROW_SIZE; heap->min_size = commit_size; list_init( &heap->subheap_list ); list_init( &heap->large_list );
1
0
0
0
Paul Gofman : kernel32/tests: Add tests for subheap sizes.
by Alexandre Julliard
15 May '23
15 May '23
Module: wine Branch: master Commit: 76fc73f311f31f068f7d1c75418b98f9d4dd89b4 URL:
https://gitlab.winehq.org/wine/wine/-/commit/76fc73f311f31f068f7d1c75418b98…
Author: Paul Gofman <pgofman(a)codeweavers.com> Date: Thu May 11 22:27:11 2023 -0600 kernel32/tests: Add tests for subheap sizes. --- dlls/kernel32/tests/heap.c | 85 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 85 insertions(+) diff --git a/dlls/kernel32/tests/heap.c b/dlls/kernel32/tests/heap.c index 8c101e1c47d..fead409960c 100644 --- a/dlls/kernel32/tests/heap.c +++ b/dlls/kernel32/tests/heap.c @@ -3621,6 +3621,90 @@ static void test_GlobalMemoryStatus(void) #undef IS_WITHIN_RANGE } +static void get_valloc_info( void *mem, char **base, SIZE_T *alloc_size ) +{ + MEMORY_BASIC_INFORMATION info, info2; + SIZE_T size; + char *p; + + size = VirtualQuery( mem, &info, sizeof(info) ); + ok( size == sizeof(info), "got %Iu.\n", size ); + + info2 = info; + p = info.AllocationBase; + while (1) + { + size = VirtualQuery( p, &info2, sizeof(info2) ); + ok( size == sizeof(info), "got %Iu.\n", size ); + if (info2.AllocationBase != info.AllocationBase) + break; + ok( info2.State == MEM_RESERVE || info2.State == MEM_COMMIT, "got %#lx.\n", info2.State ); + p += info2.RegionSize; + } + + *base = info.AllocationBase; + *alloc_size = p - *base; +} + +static void test_heap_size( SIZE_T initial_size ) +{ + static const SIZE_T default_heap_size = 0x10000, init_grow_size = 0x100000, max_grow_size = 0xfd0000; + + BOOL initial_subheap = TRUE, max_size_reached = FALSE; + SIZE_T alloc_size, current_subheap_size; + char *base, *current_base; + unsigned int i; + HANDLE heap; + void *p; + + winetest_push_context( "init size %#Ix", initial_size ); + heap = HeapCreate( HEAP_NO_SERIALIZE, initial_size, 0 ); + get_valloc_info( heap, ¤t_base, &alloc_size ); + + todo_wine + ok( alloc_size == initial_size + default_heap_size || broken( (initial_size && alloc_size == initial_size) + || (!initial_size && (alloc_size == default_heap_size * sizeof(void*))) ) /* Win7 */, + "got %#Ix.\n", alloc_size ); + + current_subheap_size = alloc_size; + for (i = 0; i < 100; ++i) + { + winetest_push_context( "i %u, current_subheap_size %#Ix", i, current_subheap_size ); + p = HeapAlloc( heap, 0, 0x60000 ); + get_valloc_info( p, &base, &alloc_size ); + if (base != current_base) + { + current_base = base; + if (initial_subheap) + { + current_subheap_size = init_grow_size; + initial_subheap = FALSE; + } + else + { + current_subheap_size = min( current_subheap_size * 2, max_grow_size ); + if (current_subheap_size == max_grow_size) + max_size_reached = TRUE; + } + } + todo_wine_if( !initial_subheap ) + ok( alloc_size == current_subheap_size, "got %#Ix.\n", alloc_size ); + winetest_pop_context(); + } + todo_wine_if( sizeof(void *) == 8 ) + ok( max_size_reached, "Did not reach maximum subheap size.\n" ); + + HeapDestroy( heap ); + winetest_pop_context(); +} + +static void test_heap_sizes(void) +{ + test_heap_size( 0 ); + test_heap_size( 0x80000 ); + test_heap_size( 0x150000 ); +} + START_TEST(heap) { int argc; @@ -3657,4 +3741,5 @@ START_TEST(heap) test_debug_heap( argv[0], 0xdeadbeef ); } else win_skip( "RtlGetNtGlobalFlags not found, skipping heap debug tests\n" ); + test_heap_sizes(); }
1
0
0
0
Paul Gofman : ntdll: Fix last block detection in heap_walk_blocks().
by Alexandre Julliard
15 May '23
15 May '23
Module: wine Branch: master Commit: 74b04b763397dc06620863ea97c8cab2304c7d45 URL:
https://gitlab.winehq.org/wine/wine/-/commit/74b04b763397dc06620863ea97c8ca…
Author: Paul Gofman <pgofman(a)codeweavers.com> Date: Thu May 11 22:08:07 2023 -0600 ntdll: Fix last block detection in heap_walk_blocks(). --- dlls/ntdll/heap.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/dlls/ntdll/heap.c b/dlls/ntdll/heap.c index 54aa1a8960d..ce3419734ee 100644 --- a/dlls/ntdll/heap.c +++ b/dlls/ntdll/heap.c @@ -2399,7 +2399,6 @@ BOOLEAN WINAPI RtlValidateHeap( HANDLE handle, ULONG flags, const void *ptr ) return ret; } - static NTSTATUS heap_walk_blocks( const struct heap *heap, const SUBHEAP *subheap, const struct block *block, struct rtl_heap_entry *entry ) { @@ -2423,8 +2422,8 @@ static NTSTATUS heap_walk_blocks( const struct heap *heap, const SUBHEAP *subhea entry->lpData = (char *)block + block_get_overhead( block ); entry->cbData = block_get_size( block ) - block_get_overhead( block ); /* FIXME: last free block should not include uncommitted range, which also has its own overhead */ - if (!contains( blocks, commit_end - (char *)blocks, block, block_get_size( block ) )) - entry->cbData = commit_end - (char *)entry->lpData - 4 * BLOCK_ALIGN; + if (!contains( blocks, commit_end - 4 * BLOCK_ALIGN - (char *)blocks, block, block_get_size( block ) )) + entry->cbData = commit_end - 4 * BLOCK_ALIGN - (char *)entry->lpData; entry->cbOverhead = 2 * BLOCK_ALIGN; entry->iRegionIndex = 0; entry->wFlags = 0;
1
0
0
0
Paul Gofman : ntdll: Fix tail padding in mark_block_tail().
by Alexandre Julliard
15 May '23
15 May '23
Module: wine Branch: master Commit: 0fc9a9e426499693c6c91552e20fed40c406e864 URL:
https://gitlab.winehq.org/wine/wine/-/commit/0fc9a9e426499693c6c91552e20fed…
Author: Paul Gofman <pgofman(a)codeweavers.com> Date: Thu May 11 21:57:52 2023 -0600 ntdll: Fix tail padding in mark_block_tail(). --- dlls/kernel32/tests/heap.c | 1 - dlls/ntdll/heap.c | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/dlls/kernel32/tests/heap.c b/dlls/kernel32/tests/heap.c index d2742b55495..8c101e1c47d 100644 --- a/dlls/kernel32/tests/heap.c +++ b/dlls/kernel32/tests/heap.c @@ -3127,7 +3127,6 @@ static void test_block_layout( HANDLE heap, DWORD global_flags, DWORD heap_flags ok( !memcmp( ptr1 + alloc_size, tail_buf, tail_size ), "missing block tail\n" ); ok( !memcmp( ptr2 + alloc_size, tail_buf, tail_size ), "missing block tail\n" ); - todo_wine_if( global_flags & FLG_HEAP_ENABLE_FREE_CHECK ) ok( !memcmp( ptr0 + alloc_size + tail_size, padd_buf, 2 * sizeof(void *) ), "unexpected padding\n" ); tmp_ptr = (void *)0xdeadbeef; diff --git a/dlls/ntdll/heap.c b/dlls/ntdll/heap.c index ef1a9c3f3b1..54aa1a8960d 100644 --- a/dlls/ntdll/heap.c +++ b/dlls/ntdll/heap.c @@ -500,8 +500,8 @@ static inline void mark_block_tail( struct block *block, DWORD flags ) if (flags & HEAP_ADD_USER_INFO) { if (flags & HEAP_TAIL_CHECKING_ENABLED || RUNNING_ON_VALGRIND) tail += BLOCK_ALIGN; - valgrind_make_writable( tail + sizeof(void *), sizeof(void *) ); - memset( tail + sizeof(void *), 0, sizeof(void *) ); + valgrind_make_writable( tail, BLOCK_ALIGN ); + memset( tail, 0, BLOCK_ALIGN ); } }
1
0
0
0
Francois Gouget : ntdll/tests: Use win_skip() for missing APIs.
by Alexandre Julliard
15 May '23
15 May '23
Module: wine Branch: master Commit: c8362ef8d1cb625d2ac9e947a62564358217bb75 URL:
https://gitlab.winehq.org/wine/wine/-/commit/c8362ef8d1cb625d2ac9e947a62564…
Author: Francois Gouget <fgouget(a)codeweavers.com> Date: Fri May 5 02:36:15 2023 +0200 ntdll/tests: Use win_skip() for missing APIs. A missing API is a todo in Wine. --- dlls/ntdll/tests/exception.c | 6 +++--- dlls/ntdll/tests/om.c | 2 +- dlls/ntdll/tests/port.c | 2 +- dlls/ntdll/tests/rtl.c | 8 ++++---- dlls/ntdll/tests/rtlstr.c | 4 ++-- dlls/ntdll/tests/virtual.c | 2 +- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/dlls/ntdll/tests/exception.c b/dlls/ntdll/tests/exception.c index a70faef6676..128b2adde3b 100644 --- a/dlls/ntdll/tests/exception.c +++ b/dlls/ntdll/tests/exception.c @@ -9509,7 +9509,7 @@ static void test_extended_context(void) if (!pRtlGetEnabledExtendedFeatures) { - skip("RtlGetEnabledExtendedFeatures is not available.\n"); + win_skip("RtlGetEnabledExtendedFeatures is not available.\n"); return; } @@ -10492,7 +10492,7 @@ static void test_copy_context(void) if (!pRtlGetEnabledExtendedFeatures) { - skip("RtlGetEnabledExtendedFeatures is not available.\n"); + win_skip("RtlGetEnabledExtendedFeatures is not available.\n"); return; } @@ -10969,7 +10969,7 @@ START_TEST(exception) if (pRtlAddFunctionTable && pRtlDeleteFunctionTable && pRtlInstallFunctionTableCallback && pRtlLookupFunctionEntry) test_dynamic_unwind(); else - skip( "Dynamic unwind functions not found\n" ); + win_skip( "Dynamic unwind functions not found\n" ); test_extended_context(); test_copy_context(); test_unwind_from_apc(); diff --git a/dlls/ntdll/tests/om.c b/dlls/ntdll/tests/om.c index 6e5a9ef64b1..c03b5e4cfca 100644 --- a/dlls/ntdll/tests/om.c +++ b/dlls/ntdll/tests/om.c @@ -2523,7 +2523,7 @@ static void test_object_identity(void) if (!pNtCompareObjects) { - skip("NtCompareObjects is not available.\n"); + win_skip("NtCompareObjects is not available.\n"); return; } diff --git a/dlls/ntdll/tests/port.c b/dlls/ntdll/tests/port.c index 942f00b1b76..80c60d09683 100644 --- a/dlls/ntdll/tests/port.c +++ b/dlls/ntdll/tests/port.c @@ -155,7 +155,7 @@ static BOOL init_function_ptrs(void) !pNtRequestPort || !pNtRegisterThreadTerminatePort || !pNtConnectPort || !pRtlInitUnicodeString) { - skip("Needed port functions are not available\n"); + todo_wine win_skip("Needed port functions are not available\n"); FreeLibrary(hntdll); return FALSE; } diff --git a/dlls/ntdll/tests/rtl.c b/dlls/ntdll/tests/rtl.c index b1ef492627a..76cecebae34 100644 --- a/dlls/ntdll/tests/rtl.c +++ b/dlls/ntdll/tests/rtl.c @@ -1133,7 +1133,7 @@ static void test_RtlIpv4StringToAddressEx(void) if (!pRtlIpv4StringToAddressExA) { - skip("RtlIpv4StringToAddressEx not available\n"); + win_skip("RtlIpv4StringToAddressEx not available\n"); return; } @@ -1780,7 +1780,7 @@ static void test_RtlIpv6AddressToStringEx(void) if (!pRtlIpv6AddressToStringExA) { - skip("RtlIpv6AddressToStringExA not available\n"); + win_skip("RtlIpv6AddressToStringExA not available\n"); return; } @@ -2066,13 +2066,13 @@ static void test_RtlIpv6StringToAddressEx(void) if (!pRtlIpv6StringToAddressExW) { - skip("RtlIpv6StringToAddressExW not available\n"); + win_skip("RtlIpv6StringToAddressExW not available\n"); /* we can continue, just not test W */ } if (!pRtlIpv6StringToAddressExA) { - skip("RtlIpv6StringToAddressExA not available\n"); + win_skip("RtlIpv6StringToAddressExA not available\n"); return; } diff --git a/dlls/ntdll/tests/rtlstr.c b/dlls/ntdll/tests/rtlstr.c index 8988aadeac4..53ac223980e 100644 --- a/dlls/ntdll/tests/rtlstr.c +++ b/dlls/ntdll/tests/rtlstr.c @@ -2136,7 +2136,7 @@ static void test_RtlUnicodeToUTF8N(void) if (!pRtlUnicodeToUTF8N) { - skip("RtlUnicodeToUTF8N unavailable\n"); + win_skip("RtlUnicodeToUTF8N is not available\n"); return; } @@ -2469,7 +2469,7 @@ static void test_RtlUTF8ToUnicodeN(void) if (!pRtlUTF8ToUnicodeN) { - skip("RtlUTF8ToUnicodeN unavailable\n"); + win_skip("RtlUTF8ToUnicodeN is not available\n"); return; } diff --git a/dlls/ntdll/tests/virtual.c b/dlls/ntdll/tests/virtual.c index ffa462f579f..c125fdff0d7 100644 --- a/dlls/ntdll/tests/virtual.c +++ b/dlls/ntdll/tests/virtual.c @@ -1658,7 +1658,7 @@ static void test_user_shared_data(void) if (!pRtlGetEnabledExtendedFeatures) { - skip("RtlGetEnabledExtendedFeatures is not available.\n"); + win_skip("RtlGetEnabledExtendedFeatures is not available.\n"); return; }
1
0
0
0
Francois Gouget : sti/tests: Use win_skip() for missing APIs.
by Alexandre Julliard
15 May '23
15 May '23
Module: wine Branch: master Commit: e36e8d4ae1ca7af4eaef39126874a60cdb60be90 URL:
https://gitlab.winehq.org/wine/wine/-/commit/e36e8d4ae1ca7af4eaef39126874a6…
Author: Francois Gouget <fgouget(a)codeweavers.com> Date: Fri May 5 02:29:01 2023 +0200 sti/tests: Use win_skip() for missing APIs. A missing API is a todo in Wine. --- dlls/sti/tests/sti.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/dlls/sti/tests/sti.c b/dlls/sti/tests/sti.c index fdfff62b3f6..e43604a8b67 100644 --- a/dlls/sti/tests/sti.c +++ b/dlls/sti/tests/sti.c @@ -116,7 +116,7 @@ static void test_version_flag_versus_aw(void) ok(0, "could not create StillImageW, hr = 0x%lX\n", hr); } else - skip("No StiCreateInstance function\n"); + win_skip("No StiCreateInstance function\n"); if (pStiCreateInstanceA) { @@ -137,7 +137,7 @@ static void test_version_flag_versus_aw(void) todo_wine ok(0, "could not create StillImageA, hr = 0x%lX\n", hr); } else - skip("No StiCreateInstanceA function\n"); + win_skip("No StiCreateInstanceA function\n"); if (pStiCreateInstanceW) { @@ -158,7 +158,7 @@ static void test_version_flag_versus_aw(void) ok(0, "could not create StillImageW, hr = 0x%lX\n", hr); } else - skip("No StiCreateInstanceW function\n"); + win_skip("No StiCreateInstanceW function\n"); } static void test_stillimage_aggregation(void) @@ -225,7 +225,7 @@ static void test_stillimage_aggregation(void) IUnknown_Release(pUnknown); } else - skip("No StiCreateInstanceW function\n"); + win_skip("No StiCreateInstanceW function\n"); } static void test_launch_app_registry(void) @@ -271,7 +271,7 @@ START_TEST(sti) FreeLibrary(sti_dll); } else - skip("could not load sti.dll\n"); + win_skip("could not load sti.dll\n"); CoUninitialize(); } else
1
0
0
0
Francois Gouget : gdi32/tests: Use win_skip() for missing APIs.
by Alexandre Julliard
15 May '23
15 May '23
Module: wine Branch: master Commit: d84077c226069d84c9e606b228f158637ea98675 URL:
https://gitlab.winehq.org/wine/wine/-/commit/d84077c226069d84c9e606b228f158…
Author: Francois Gouget <fgouget(a)codeweavers.com> Date: Fri May 5 03:00:50 2023 +0200 gdi32/tests: Use win_skip() for missing APIs. A missing API is a todo in Wine. --- dlls/gdi32/tests/driver.c | 6 +++--- dlls/gdi32/tests/font.c | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/dlls/gdi32/tests/driver.c b/dlls/gdi32/tests/driver.c index a618b5e51a4..162208c26ca 100644 --- a/dlls/gdi32/tests/driver.c +++ b/dlls/gdi32/tests/driver.c @@ -399,7 +399,7 @@ static void test_D3DKMTCheckVidPnExclusiveOwnership(void) if (!pD3DKMTCheckVidPnExclusiveOwnership || pD3DKMTCheckVidPnExclusiveOwnership(NULL) == STATUS_PROCEDURE_NOT_FOUND) { - skip("D3DKMTCheckVidPnExclusiveOwnership() is unavailable.\n"); + win_skip("D3DKMTCheckVidPnExclusiveOwnership() is unavailable.\n"); return; } @@ -623,7 +623,7 @@ static void test_D3DKMTSetVidPnSourceOwner(void) if (!pD3DKMTSetVidPnSourceOwner || pD3DKMTSetVidPnSourceOwner(&set_owner_desc) == STATUS_PROCEDURE_NOT_FOUND) { - skip("D3DKMTSetVidPnSourceOwner() is unavailable.\n"); + win_skip("D3DKMTSetVidPnSourceOwner() is unavailable.\n"); return; } @@ -650,7 +650,7 @@ static void test_D3DKMTCheckOcclusion(void) if (!pD3DKMTCheckOcclusion || pD3DKMTCheckOcclusion(NULL) == STATUS_PROCEDURE_NOT_FOUND) { - skip("D3DKMTCheckOcclusion() is unavailable.\n"); + todo_wine win_skip("D3DKMTCheckOcclusion() is unavailable.\n"); return; } diff --git a/dlls/gdi32/tests/font.c b/dlls/gdi32/tests/font.c index 7be8d6f2c66..82cec09e982 100644 --- a/dlls/gdi32/tests/font.c +++ b/dlls/gdi32/tests/font.c @@ -2750,7 +2750,7 @@ static void test_GdiGetCodePage(void) if (!pGdiGetCodePage) { - skip("GdiGetCodePage not available on this platform\n"); + win_skip("GdiGetCodePage not available on this platform\n"); return; }
1
0
0
0
Francois Gouget : wintab32/tests: Use win_skip() for missing dlls.
by Alexandre Julliard
15 May '23
15 May '23
Module: wine Branch: master Commit: 25e64b06ded1945826195c661bc8aefecfd2f80e URL:
https://gitlab.winehq.org/wine/wine/-/commit/25e64b06ded1945826195c661bc8ae…
Author: Francois Gouget <fgouget(a)codeweavers.com> Date: Wed May 3 11:40:41 2023 +0200 wintab32/tests: Use win_skip() for missing dlls. A missing dll is a todo in Wine. --- dlls/wintab32/tests/context.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/wintab32/tests/context.c b/dlls/wintab32/tests/context.c index 4359412785a..e16165c26b5 100644 --- a/dlls/wintab32/tests/context.c +++ b/dlls/wintab32/tests/context.c @@ -211,7 +211,7 @@ START_TEST(context) if (!hWintab) { - skip("Wintab32.dll not available\n"); + win_skip("Wintab32.dll not available\n"); return; }
1
0
0
0
Francois Gouget : wtsapi32/tests: Use win_skip() for missing APIs.
by Alexandre Julliard
15 May '23
15 May '23
Module: wine Branch: master Commit: 9428d66eed3784eb5bb138abab5df69ff7b7748e URL:
https://gitlab.winehq.org/wine/wine/-/commit/9428d66eed3784eb5bb138abab5df6…
Author: Francois Gouget <fgouget(a)codeweavers.com> Date: Wed May 10 17:14:21 2023 +0200 wtsapi32/tests: Use win_skip() for missing APIs. A missing API is a todo in Wine. --- dlls/wtsapi32/tests/wtsapi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/wtsapi32/tests/wtsapi.c b/dlls/wtsapi32/tests/wtsapi.c index 2023a21e938..396a3f4b1e7 100644 --- a/dlls/wtsapi32/tests/wtsapi.c +++ b/dlls/wtsapi32/tests/wtsapi.c @@ -157,7 +157,7 @@ static void test_WTSEnumerateProcessesW(void) if (!pWTSEnumerateProcessesExW) { - skip("WTSEnumerateProcessesEx is not available\n"); + win_skip("WTSEnumerateProcessesEx is not available\n"); return; }
1
0
0
0
Francois Gouget : ws2_32/tests: Use win_skip() for missing APIs.
by Alexandre Julliard
15 May '23
15 May '23
Module: wine Branch: master Commit: 98b7a56262c0ade70b80d2efee8aeedb12ec8373 URL:
https://gitlab.winehq.org/wine/wine/-/commit/98b7a56262c0ade70b80d2efee8aee…
Author: Francois Gouget <fgouget(a)codeweavers.com> Date: Wed May 3 11:39:55 2023 +0200 ws2_32/tests: Use win_skip() for missing APIs. A missing API is a todo in Wine. --- dlls/ws2_32/tests/protocol.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/ws2_32/tests/protocol.c b/dlls/ws2_32/tests/protocol.c index b0259cfe47d..91356c43f7c 100644 --- a/dlls/ws2_32/tests/protocol.c +++ b/dlls/ws2_32/tests/protocol.c @@ -2881,7 +2881,7 @@ static void test_WSCGetProviderInfo(void) if (!pWSCGetProviderInfo) { - skip("WSCGetProviderInfo is not available.\n"); + win_skip("WSCGetProviderInfo is not available.\n"); return; }
1
0
0
0
← Newer
1
...
40
41
42
43
44
45
46
...
78
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
Results per page:
10
25
50
100
200