diff --git a/patches/Staging/0001-kernel32-Add-winediag-message-to-show-warning-that-t.patch b/patches/Staging/0001-kernel32-Add-winediag-message-to-show-warning-that-t.patch index 51fbc6ae..706329ce 100644 --- a/patches/Staging/0001-kernel32-Add-winediag-message-to-show-warning-that-t.patch +++ b/patches/Staging/0001-kernel32-Add-winediag-message-to-show-warning-that-t.patch @@ -1,15 +1,15 @@ -From e51b05c3a9d03e4dd84a107a30841d95f8a519c3 Mon Sep 17 00:00:00 2001 +From 916189d1cdf149f16867870121171e20f129da9f Mon Sep 17 00:00:00 2001 From: Sebastian Lackner Date: Thu, 2 Oct 2014 19:44:31 +0200 Subject: [PATCH] ntdll: Print a warning message specifying the wine-staging branch name and version. --- - dlls/ntdll/loader.c | 16 ++++++++++++++++ - 1 file changed, 16 insertions(+) + dlls/ntdll/loader.c | 15 +++++++++++++++ + 1 file changed, 15 insertions(+) diff --git a/dlls/ntdll/loader.c b/dlls/ntdll/loader.c -index ee453700e51..c2d4b3c2f86 100644 +index 3339596944a..1d435f88755 100644 --- a/dlls/ntdll/loader.c +++ b/dlls/ntdll/loader.c @@ -44,6 +44,7 @@ WINE_DECLARE_DEBUG_CHANNEL(relay); @@ -20,7 +20,7 @@ index ee453700e51..c2d4b3c2f86 100644 #ifdef _WIN64 #define DEFAULT_SECURITY_COOKIE_64 (((ULONGLONG)0x00002b99 << 32) | 0x2ddfa232) -@@ -3307,6 +3308,7 @@ void WINAPI LdrShutdownProcess(void) +@@ -3373,6 +3374,7 @@ void WINAPI LdrShutdownProcess(void) process_detach(); } @@ -28,7 +28,7 @@ index ee453700e51..c2d4b3c2f86 100644 /****************************************************************** * RtlExitUserProcess (NTDLL.@) -@@ -3673,6 +3675,9 @@ static void init_wow64(void) +@@ -3783,6 +3785,9 @@ static void init_wow64( CONTEXT *context ) */ void WINAPI LdrInitializeThunk( CONTEXT *context, ULONG_PTR unknown2, ULONG_PTR unknown3, ULONG_PTR unknown4 ) { @@ -38,9 +38,9 @@ index ee453700e51..c2d4b3c2f86 100644 static int attach_done; int i; NTSTATUS status; -@@ -3753,6 +3758,17 @@ void WINAPI LdrInitializeThunk( CONTEXT *context, ULONG_PTR unknown2, ULONG_PTR - } - else wm = get_modref( NtCurrentTeb()->Peb->ImageBaseAddress ); +@@ -3869,6 +3874,16 @@ void WINAPI LdrInitializeThunk( CONTEXT *context, ULONG_PTR unknown2, ULONG_PTR + if (NtCurrentTeb()->WowTebOffset) init_wow64( context ); + #endif + RtlInitUnicodeString( &staging_event_string, L"\\__wine_staging_warn_event" ); + InitializeObjectAttributes( &staging_event_attr, &staging_event_string, OBJ_OPENIF, NULL, NULL ); @@ -51,7 +51,6 @@ index ee453700e51..c2d4b3c2f86 100644 + } + else + WARN_(winediag)("wine-staging %s is a testing version containing experimental patches.\n", wine_get_version()); -+ + RtlAcquirePebLock(); InsertHeadList( &tls_links, &NtCurrentTeb()->TlsLinks ); diff --git a/patches/gdi32-rotation/0001-gdi32-fix-for-rotated-Arc-ArcTo-Chord-and-Pie-drawin.patch b/patches/gdi32-rotation/0001-gdi32-fix-for-rotated-Arc-ArcTo-Chord-and-Pie-drawin.patch index 0f3c5d71..b0eadff4 100644 --- a/patches/gdi32-rotation/0001-gdi32-fix-for-rotated-Arc-ArcTo-Chord-and-Pie-drawin.patch +++ b/patches/gdi32-rotation/0001-gdi32-fix-for-rotated-Arc-ArcTo-Chord-and-Pie-drawin.patch @@ -1,4 +1,4 @@ -From 164e5f77ce0f956834cf7bbf8fbc893cd32c52de Mon Sep 17 00:00:00 2001 +From 08589063da9bd5fb5cda045b38f1de28f967402c Mon Sep 17 00:00:00 2001 From: Daniel Wendt Date: Fri, 15 Nov 2013 12:52:37 +0100 Subject: [PATCH] gdi32: fix for rotated Arc, ArcTo, Chord and Pie drawing @@ -11,7 +11,7 @@ Wine-Bug: http://bugs.winehq.org/show_bug.cgi?id=34579 2 files changed, 83 insertions(+) diff --git a/dlls/gdi32/dibdrv/graphics.c b/dlls/gdi32/dibdrv/graphics.c -index a875ae113cd..1a37fdb5fca 100644 +index b6ae4ab10e2..4b443f1fc65 100644 --- a/dlls/gdi32/dibdrv/graphics.c +++ b/dlls/gdi32/dibdrv/graphics.c @@ -312,6 +312,60 @@ static int get_arc_points( int arc_dir, const RECT *rect, POINT start, POINT end @@ -116,12 +116,12 @@ index a875ae113cd..1a37fdb5fca 100644 { HeapFree( GetProcessHeap(), 0, points ); diff --git a/dlls/gdi32/gdi_private.h b/dlls/gdi32/gdi_private.h -index 436846c5bd5..030dd4a3768 100644 +index 1dfd3b2424c..20d0b9af5e0 100644 --- a/dlls/gdi32/gdi_private.h +++ b/dlls/gdi32/gdi_private.h -@@ -46,4 +46,7 @@ extern BOOL METADC_MoveTo( HDC hdc, INT x, INT y ) DECLSPEC_HIDDEN; - extern BOOL METADC_Pie( HDC hdc, INT left, INT top, INT right, INT bottom, - INT xstart, INT ystart, INT xend, INT yend ) DECLSPEC_HIDDEN; +@@ -70,4 +70,7 @@ extern BOOL EMFDC_Rectangle( DC_ATTR *dc_attr, INT left, INT top, INT right, + extern BOOL EMFDC_RoundRect( DC_ATTR *dc_attr, INT left, INT top, INT right, INT bottom, + INT ell_width, INT ell_height ) DECLSPEC_HIDDEN; +BOOL xform_has_rotate_and_uniform_scale_and_shear( const XFORM *xform ) DECLSPEC_HIDDEN; +BOOL xform_decompose_rotation_and_translation( XFORM *xform, XFORM *rotation_and_translation ) DECLSPEC_HIDDEN; diff --git a/patches/patchinstall.sh b/patches/patchinstall.sh index f66c4f56..78927d82 100755 --- a/patches/patchinstall.sh +++ b/patches/patchinstall.sh @@ -51,7 +51,7 @@ usage() # Get the upstream commit sha upstream_commit() { - echo "feb088b2247e1722b848ac0d67483596d33758ba" + echo "384fc71a480b48443a6a899cbf3470dbf4fe2214" } # Show version information diff --git a/staging/upstream-commit b/staging/upstream-commit index 714154e6..96d0c63b 100644 --- a/staging/upstream-commit +++ b/staging/upstream-commit @@ -1 +1 @@ -feb088b2247e1722b848ac0d67483596d33758ba +384fc71a480b48443a6a899cbf3470dbf4fe2214