ReactOS.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
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
List overview
Download
Ros-diffs
September 2012
----- 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
ros-diffs@reactos.org
17 participants
236 discussions
Start a n
N
ew thread
[tkreuzer] 57307: {CSRSRV] Silence an uninformative DPRINT
by tkreuzer@svn.reactos.org
Author: tkreuzer Date: Sat Sep 15 16:33:30 2012 New Revision: 57307 URL:
http://svn.reactos.org/svn/reactos?rev=57307&view=rev
Log: {CSRSRV] Silence an uninformative DPRINT Modified: trunk/reactos/subsystems/win32/csrss/csrsrv/api/wapi.c Modified: trunk/reactos/subsystems/win32/csrss/csrsrv/api/wapi.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/csrss/csr…
============================================================================== --- trunk/reactos/subsystems/win32/csrss/csrsrv/api/wapi.c [iso-8859-1] (original) +++ trunk/reactos/subsystems/win32/csrss/csrsrv/api/wapi.c [iso-8859-1] Sat Sep 15 16:33:30 2012 @@ -187,7 +187,7 @@ DPRINT1("CSRSS: %s Api Request received from server process\n", ServerDll->NameTable[ApiId]); } - + /* Validation complete, start SEH */ _SEH2_TRY { @@ -433,7 +433,7 @@ 0, 0, 0, 0, 0, 0, 0, &RestrictedSid); ASSERT(NT_SUCCESS(Status)); - + /* Allocate one ACL with 3 ACEs each for one SID */ AclLength = sizeof(ACL) + 3 * sizeof(ACCESS_ALLOWED_ACE) + RtlLengthSid(SystemSid) + @@ -471,7 +471,7 @@ ASSERT(NT_SUCCESS(Status)); Status = RtlAddAccessAllowedAce(*RestrictedDacl, ACL_REVISION2, DIRECTORY_TRAVERSE, RestrictedSid); ASSERT(NT_SUCCESS(Status)); - + /* The SIDs are captured, can free them now */ RtlFreeHeap(CsrHeap, 0, SystemSid); RtlFreeHeap(CsrHeap, 0, WorldSid); @@ -511,7 +511,7 @@ }, {0} }; - + /* Get the session ID */ SessionId = NtCurrentPeb()->SessionId; @@ -641,7 +641,7 @@ ASSERT(BnoSd); Status = RtlCreateSecurityDescriptor(BnoSd, SECURITY_DESCRIPTOR_REVISION); ASSERT(NT_SUCCESS(Status)); - + /* Create the BNO and \Restricted DACLs */ Status = CreateBaseAcls(&BnoDacl, &BnoRestrictedDacl); ASSERT(NT_SUCCESS(Status)); @@ -769,7 +769,7 @@ DPRINT1("CSRSRV: Unknown process: %lx. Will be rejecting connection\n", Request->ClientId.UniqueProcess); } - + if ((ProcessData) && (ProcessData != CsrRootProcess)) { /* Attach the Shared Section */ @@ -1068,13 +1068,13 @@ continue; } } - + /* Use whatever Client ID we got */ Teb->RealClientId = Request->Header.ClientId; /* Get the Message Type */ MessageType = Request->Header.u2.s2.Type; - + /* Handle connection requests */ if (MessageType == LPC_CONNECTION_REQUEST) { @@ -1085,7 +1085,7 @@ ReplyPort = CsrApiPort; continue; } - + /* It's some other kind of request. Get the lock for the lookup */ CsrAcquireProcessLock(); @@ -1098,7 +1098,7 @@ { /* This wasn't a CSR Thread, release lock */ CsrReleaseProcessLock(); - + /* If this was an exception, handle it */ if (MessageType == LPC_EXCEPTION) { @@ -1111,7 +1111,7 @@ MessageType == LPC_CLIENT_DIED) { /* The Client or Port are gone, loop again */ - DPRINT1("Death from unknown thread, just continue\n"); + DPRINT("Death from unknown thread, just continue\n"); Reply = NULL; ReplyPort = CsrApiPort; } @@ -1131,7 +1131,7 @@ { CsrHandleHardError(CsrThread, (PHARDERROR_MSG)Request); } - + /* If the response was 0xFFFFFFFF, we'll ignore it */ if (HardErrorMsg->Response == 0xFFFFFFFF) { @@ -1172,7 +1172,7 @@ /* Keep going */ continue; } - + /* We have a valid thread, was this an LPC Request? */ if (MessageType != LPC_REQUEST) { @@ -1207,7 +1207,7 @@ ReplyPort = CsrApiPort; continue; } - + /* Reference the thread and release the lock */ CsrLockedReferenceThread(CsrThread); CsrReleaseProcessLock(); @@ -1253,14 +1253,14 @@ /* We got an API Request */ CsrLockedReferenceThread(CsrThread); CsrReleaseProcessLock(); - + /* Assume success */ Reply = Request; Request->Status = STATUS_SUCCESS; /* Now we reply to a particular client */ ReplyPort = CsrThread->Process->ClientPort; - + DPRINT("CSR: Got CSR API: %x [Message Origin: %x]\n", Request->Type, Request->Header.ClientId.UniqueThread); @@ -1270,19 +1270,19 @@ { /* Make sure we have enough threads */ CsrpCheckRequestThreads(); - + /* Set the client thread pointer */ NtCurrentTeb()->CsrClientThread = CsrThread; /* Call the Handler */ CsrApiCallHandler(CsrThread->Process, Request); - + /* Increase the static thread count */ _InterlockedIncrement(&CsrpStaticThreadCount); /* Restore the server thread */ NtCurrentTeb()->CsrClientThread = ServerThread; - + /* Check if this is a dead client now */ if (Request->Type == 0xBABE) {
12 years, 3 months
1
0
0
0
[tkreuzer] 57306: [WPP] Fix WDK build.
by tkreuzer@svn.reactos.org
Author: tkreuzer Date: Sat Sep 15 16:15:54 2012 New Revision: 57306 URL:
http://svn.reactos.org/svn/reactos?rev=57306&view=rev
Log: [WPP] Fix WDK build. Modified: trunk/reactos/tools/wpp/CMakeLists.txt Modified: trunk/reactos/tools/wpp/CMakeLists.txt URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/tools/wpp/CMakeLists.txt?r…
============================================================================== --- trunk/reactos/tools/wpp/CMakeLists.txt [iso-8859-1] (original) +++ trunk/reactos/tools/wpp/CMakeLists.txt [iso-8859-1] Sat Sep 15 16:15:54 2012 @@ -5,8 +5,8 @@ -Dstrtoull=_strtoui64 -Dstrtoll=_strtoi64) - # VS 9 doesn't like this - if (NOT MSVC90) + # Add this definition for WDK only, VS 9 doesn't like that + if (DEFINED ENV{DDKBUILDENV}) add_definitions( -Dvsnprintf=_vsnprintf) endif()
12 years, 3 months
1
0
0
0
[akhaldi] 57305: * Change newinflib to inflib. CORE-6662 #resolve
by akhaldi@svn.reactos.org
Author: akhaldi Date: Sat Sep 15 16:04:32 2012 New Revision: 57305 URL:
http://svn.reactos.org/svn/reactos?rev=57305&view=rev
Log: * Change newinflib to inflib. CORE-6662 #resolve Added: trunk/reactos/lib/inflib/ - copied from r57303, trunk/reactos/lib/newinflib/ Removed: trunk/reactos/lib/newinflib/ Modified: trunk/reactos/base/setup/usetup/CMakeLists.txt trunk/reactos/lib/CMakeLists.txt trunk/reactos/tools/mkhive/CMakeLists.txt Modified: trunk/reactos/base/setup/usetup/CMakeLists.txt URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/setup/usetup/CMakeLis…
============================================================================== --- trunk/reactos/base/setup/usetup/CMakeLists.txt [iso-8859-1] (original) +++ trunk/reactos/base/setup/usetup/CMakeLists.txt [iso-8859-1] Sat Sep 15 16:04:32 2012 @@ -2,7 +2,7 @@ add_definitions(${I18N_DEFS}) include_directories( ${CMAKE_CURRENT_SOURCE_DIR} - ${REACTOS_SOURCE_DIR}/lib/newinflib + ${REACTOS_SOURCE_DIR}/lib/inflib ${REACTOS_SOURCE_DIR}/include/reactos/libs/zlib ${REACTOS_SOURCE_DIR}/include/reactos/drivers) Modified: trunk/reactos/lib/CMakeLists.txt URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/CMakeLists.txt?rev=573…
============================================================================== --- trunk/reactos/lib/CMakeLists.txt [iso-8859-1] (original) +++ trunk/reactos/lib/CMakeLists.txt [iso-8859-1] Sat Sep 15 16:04:32 2012 @@ -1,6 +1,6 @@ add_subdirectory(cmlib) -add_subdirectory(newinflib) +add_subdirectory(inflib) if(CMAKE_CROSSCOMPILING) Modified: trunk/reactos/tools/mkhive/CMakeLists.txt URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/tools/mkhive/CMakeLists.tx…
============================================================================== --- trunk/reactos/tools/mkhive/CMakeLists.txt [iso-8859-1] (original) +++ trunk/reactos/tools/mkhive/CMakeLists.txt [iso-8859-1] Sat Sep 15 16:04:32 2012 @@ -2,7 +2,7 @@ add_definitions(-DMKHIVE_HOST) include_directories( - ${REACTOS_SOURCE_DIR}/lib/newinflib + ${REACTOS_SOURCE_DIR}/lib/inflib ${REACTOS_SOURCE_DIR}/lib/cmlib ${REACTOS_SOURCE_DIR}/lib/rtl)
12 years, 3 months
1
0
0
0
[tkreuzer] 57304: [WPP] Fix build with VS 9 CORE-6636 #resolve
by tkreuzer@svn.reactos.org
Author: tkreuzer Date: Sat Sep 15 15:59:06 2012 New Revision: 57304 URL:
http://svn.reactos.org/svn/reactos?rev=57304&view=rev
Log: [WPP] Fix build with VS 9 CORE-6636 #resolve Modified: trunk/reactos/tools/wpp/CMakeLists.txt Modified: trunk/reactos/tools/wpp/CMakeLists.txt URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/tools/wpp/CMakeLists.txt?r…
============================================================================== --- trunk/reactos/tools/wpp/CMakeLists.txt [iso-8859-1] (original) +++ trunk/reactos/tools/wpp/CMakeLists.txt [iso-8859-1] Sat Sep 15 15:59:06 2012 @@ -3,8 +3,13 @@ add_definitions( -Dsnprintf=_snprintf -Dstrtoull=_strtoui64 - -Dstrtoll=_strtoi64 - -Dvsnprintf=_vsnprintf) + -Dstrtoll=_strtoi64) + + # VS 9 doesn't like this + if (NOT MSVC90) + add_definitions( + -Dvsnprintf=_vsnprintf) + endif() endif() list(APPEND SOURCE @@ -15,4 +20,4 @@ add_library(wpp ${SOURCE}) -add_dependencies(wpp build_header) +add_dependencies(wpp build_header)
12 years, 3 months
1
0
0
0
[ekohl] 57303: [INFLIB] Remove inflib because it has been replaced by newinflib.
by ekohl@svn.reactos.org
Author: ekohl Date: Sat Sep 15 14:31:50 2012 New Revision: 57303 URL:
http://svn.reactos.org/svn/reactos?rev=57303&view=rev
Log: [INFLIB] Remove inflib because it has been replaced by newinflib. Removed: trunk/reactos/lib/inflib/
12 years, 3 months
1
0
0
0
[akhaldi] 57302: [CMAKE] * Don't add the whole absolute path to GCC for preprocessing when creating RC dependency files in Ninja builds.. that complicates the already complicated quoting needs here.
by akhaldi@svn.reactos.org
Author: akhaldi Date: Sat Sep 15 13:56:13 2012 New Revision: 57302 URL:
http://svn.reactos.org/svn/reactos?rev=57302&view=rev
Log: [CMAKE] * Don't add the whole absolute path to GCC for preprocessing when creating RC dependency files in Ninja builds.. that complicates the already complicated quoting needs here. Modified: trunk/reactos/cmake/gcc.cmake Modified: trunk/reactos/cmake/gcc.cmake URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/cmake/gcc.cmake?rev=57302&…
============================================================================== --- trunk/reactos/cmake/gcc.cmake [iso-8859-1] (original) +++ trunk/reactos/cmake/gcc.cmake [iso-8859-1] Sat Sep 15 13:56:13 2012 @@ -171,7 +171,7 @@ set(CMAKE_ASM_COMPILE_OBJECT "<CMAKE_ASM_COMPILER> -x assembler-with-cpp -o <OBJECT> -I${REACTOS_SOURCE_DIR}/include/asm -I${REACTOS_BINARY_DIR}/include/asm <FLAGS> <DEFINES> -D__ASM__ -c <SOURCE>") set(CMAKE_RC_COMPILE_OBJECT "<CMAKE_RC_COMPILER> -O coff <FLAGS> -DRC_INVOKED -D__WIN32__=1 -D__FLAT__=1 ${I18N_DEFS} <DEFINES> <SOURCE> <OBJECT>") -set(CMAKE_DEPFILE_FLAGS_RC "--preprocessor \"<CMAKE_C_COMPILER> -E -xc-header -MMD -MF <DEPFILE> -MT <OBJECT>\"") +set(CMAKE_DEPFILE_FLAGS_RC "--preprocessor \"${MINGW_TOOLCHAIN_PREFIX}gcc -E -xc-header -MMD -MF <DEPFILE> -MT <OBJECT>\" ") # Optional 3rd parameter: stdcall stack bytes function(set_entrypoint MODULE ENTRYPOINT)
12 years, 3 months
1
0
0
0
[mnordell] 57301: Tempoarily patch away SEGV-inducing code. See JIRA 6660 and 6661.
by mnordell@svn.reactos.org
Author: mnordell Date: Sat Sep 15 00:04:58 2012 New Revision: 57301 URL:
http://svn.reactos.org/svn/reactos?rev=57301&view=rev
Log: Tempoarily patch away SEGV-inducing code. See JIRA 6660 and 6661. Modified: trunk/rostests/winetests/gdiplus/font.c trunk/rostests/winetests/gdiplus/gdiplus_winetest_ros.diff Modified: trunk/rostests/winetests/gdiplus/font.c URL:
http://svn.reactos.org/svn/reactos/trunk/rostests/winetests/gdiplus/font.c?…
============================================================================== --- trunk/rostests/winetests/gdiplus/font.c [iso-8859-1] (original) +++ trunk/rostests/winetests/gdiplus/font.c [iso-8859-1] Sat Sep 15 00:04:58 2012 @@ -485,6 +485,7 @@ GdipDeleteFontFamily(fontfamily); } +#if CORE_6660_IS_FIXED static int CALLBACK font_enum_proc(const LOGFONTW *lfe, const TEXTMETRICW *ntme, DWORD type, LPARAM lparam) { @@ -721,6 +722,7 @@ GdipDeleteGraphics(graphics); DeleteDC(hdc); } +#endif // CORE_6660_IS_FIXED START_TEST(font) { @@ -734,7 +736,9 @@ GdiplusStartup(&gdiplusToken, &gdiplusStartupInput, NULL); +#if CORE_6660_IS_FIXED test_font_metrics(); +#endif test_createfont(); test_logfont(); test_fontfamily(); Modified: trunk/rostests/winetests/gdiplus/gdiplus_winetest_ros.diff URL:
http://svn.reactos.org/svn/reactos/trunk/rostests/winetests/gdiplus/gdiplus…
============================================================================== --- trunk/rostests/winetests/gdiplus/gdiplus_winetest_ros.diff [iso-8859-1] (original) +++ trunk/rostests/winetests/gdiplus/gdiplus_winetest_ros.diff [iso-8859-1] Sat Sep 15 00:04:58 2012 @@ -28,3 +28,34 @@ test_get_set_interpolation(); test_get_set_textrenderinghint(); test_getdc_scaled(); + +Index: font.c +=================================================================== +--- font.c (revision 57206) ++++ font.c (working copy) +@@ -485,6 +485,7 @@ + GdipDeleteFontFamily(fontfamily); + } + ++#if CORE_6660_IS_FIXED + static int CALLBACK font_enum_proc(const LOGFONTW *lfe, const TEXTMETRICW *ntme, + DWORD type, LPARAM lparam) + { +@@ -721,6 +722,7 @@ + GdipDeleteGraphics(graphics); + DeleteDC(hdc); + } ++#endif // CORE_6660_IS_FIXED + + START_TEST(font) + { +@@ -734,7 +736,9 @@ + + GdiplusStartup(&gdiplusToken, &gdiplusStartupInput, NULL); + ++#if CORE_6660_IS_FIXED + test_font_metrics(); ++#endif + test_createfont(); + test_logfont(); + test_fontfamily();
12 years, 3 months
1
0
0
0
[mnordell] 57300: Tempoarily patch away SEGV-inducing code. See JIRA 6659.
by mnordell@svn.reactos.org
Author: mnordell Date: Fri Sep 14 22:46:37 2012 New Revision: 57300 URL:
http://svn.reactos.org/svn/reactos?rev=57300&view=rev
Log: Tempoarily patch away SEGV-inducing code. See JIRA 6659. Added: trunk/rostests/winetests/gdiplus/gdiplus_winetest_ros.diff Modified: trunk/rostests/winetests/gdiplus/graphics.c Added: trunk/rostests/winetests/gdiplus/gdiplus_winetest_ros.diff URL:
http://svn.reactos.org/svn/reactos/trunk/rostests/winetests/gdiplus/gdiplus…
============================================================================== --- trunk/rostests/winetests/gdiplus/gdiplus_winetest_ros.diff (added) +++ trunk/rostests/winetests/gdiplus/gdiplus_winetest_ros.diff [iso-8859-1] Fri Sep 14 22:46:37 2012 @@ -1,0 +1,30 @@ +Index: graphics.c +=================================================================== +--- graphics.c (revision 57206) ++++ graphics.c (working copy) +@@ -2819,6 +2819,7 @@ + ReleaseDC(hwnd, hdc); + } + ++#if CORE_6659_IS_FIXED + static void test_string_functions(void) + { + GpStatus status; +@@ -3138,6 +3139,7 @@ + + ReleaseDC(hwnd, hdc); + } ++#endif /* CORE_6659_IS_FIXED */ + + static void test_get_set_interpolation(void) + { +@@ -3361,7 +3363,9 @@ + test_clear(); + test_textcontrast(); + test_fromMemoryBitmap(); ++#if CORE_6659_IS_FIXED + test_string_functions(); ++#endif + test_get_set_interpolation(); + test_get_set_textrenderinghint(); + test_getdc_scaled(); Modified: trunk/rostests/winetests/gdiplus/graphics.c URL:
http://svn.reactos.org/svn/reactos/trunk/rostests/winetests/gdiplus/graphic…
============================================================================== --- trunk/rostests/winetests/gdiplus/graphics.c [iso-8859-1] (original) +++ trunk/rostests/winetests/gdiplus/graphics.c [iso-8859-1] Fri Sep 14 22:46:37 2012 @@ -2819,6 +2819,7 @@ ReleaseDC(hwnd, hdc); } +#if CORE_6659_IS_FIXED static void test_string_functions(void) { GpStatus status; @@ -3138,6 +3139,7 @@ ReleaseDC(hwnd, hdc); } +#endif /* CORE_6659_IS_FIXED */ static void test_get_set_interpolation(void) { @@ -3361,7 +3363,9 @@ test_clear(); test_textcontrast(); test_fromMemoryBitmap(); +#if CORE_6659_IS_FIXED test_string_functions(); +#endif test_get_set_interpolation(); test_get_set_textrenderinghint(); test_getdc_scaled();
12 years, 3 months
1
0
0
0
[mnordell] 57299: Make GpGraphics save/restore state id's a bit more like Windows. Fixes a winetest graphics state check failure.
by mnordell@svn.reactos.org
Author: mnordell Date: Fri Sep 14 21:26:45 2012 New Revision: 57299 URL:
http://svn.reactos.org/svn/reactos?rev=57299&view=rev
Log: Make GpGraphics save/restore state id's a bit more like Windows. Fixes a winetest graphics state check failure. Added: trunk/reactos/dll/win32/gdiplus/gdiplus_ros.diff Modified: trunk/reactos/dll/win32/gdiplus/graphics.c Added: trunk/reactos/dll/win32/gdiplus/gdiplus_ros.diff URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/gdiplus/gdiplus_…
============================================================================== --- trunk/reactos/dll/win32/gdiplus/gdiplus_ros.diff (added) +++ trunk/reactos/dll/win32/gdiplus/gdiplus_ros.diff [iso-8859-1] Fri Sep 14 21:26:45 2012 @@ -1,0 +1,45 @@ +Index: graphics.c +=================================================================== +--- graphics.c (revision 57285) ++++ graphics.c (working copy) +@@ -42,6 +42,23 @@ + + WINE_DEFAULT_DEBUG_CHANNEL(gdiplus); + ++/* Mike "tamlin" Nordell 2012-09-14 for ReactOS: ++ * NOTE: Wine uses per-GpGraphics id's ('contid' starting from zero in ++ * every GpGraphics). Windows seems to use process-global id's, or at ++ * least more unique id's. ++ * This have the following implications. It: ++ * 1. fails the current gdiplus test case. ++ * 2. is not what Windows does. ++ * ++ * We therefore "obfuscate" the 'contid' a little to more match Windows' ++ * behaviour. The observable behviour should still remain the same, ++ * except for handing out more "unique" id's. ++ */ ++#define GDIP_CONTID_STEP 64 ++static volatile LONG g_priv_contid = GDIP_CONTID_STEP; ++#define GDIP_GET_NEW_CONTID_FOR(pGpGraphics) \ ++ (UINT)(InterlockedExchangeAdd(&g_priv_contid,GDIP_CONTID_STEP)) ++ + /* looks-right constants */ + #define ANCHOR_WIDTH (2.0) + #define MAX_ITERS (50) +@@ -2203,7 +2220,7 @@ + (*graphics)->busy = FALSE; + (*graphics)->textcontrast = 4; + list_init(&(*graphics)->containers); +- (*graphics)->contid = 0; ++ (*graphics)->contid = GDIP_GET_NEW_CONTID_FOR(*graphics); + + TRACE("<-- %p\n", *graphics); + +@@ -2242,7 +2259,7 @@ + (*graphics)->busy = FALSE; + (*graphics)->textcontrast = 4; + list_init(&(*graphics)->containers); +- (*graphics)->contid = 0; ++ (*graphics)->contid = GDIP_GET_NEW_CONTID_FOR(*graphics); + + TRACE("<-- %p\n", *graphics); Modified: trunk/reactos/dll/win32/gdiplus/graphics.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/gdiplus/graphics…
============================================================================== --- trunk/reactos/dll/win32/gdiplus/graphics.c [iso-8859-1] (original) +++ trunk/reactos/dll/win32/gdiplus/graphics.c [iso-8859-1] Fri Sep 14 21:26:45 2012 @@ -41,6 +41,23 @@ #include "wine/list.h" WINE_DEFAULT_DEBUG_CHANNEL(gdiplus); + +/* Mike "tamlin" Nordell 2012-09-14 for ReactOS: + * NOTE: Wine uses per-GpGraphics id's ('contid' starting from zero in + * every GpGraphics). Windows seems to use process-global id's, or at + * least more unique id's. + * This have the following implications. It: + * 1. fails the current gdiplus test case. + * 2. is not what Windows does. + * + * We therefore "obfuscate" the 'contid' a little to more match Windows' + * behaviour. The observable behviour should still remain the same, + * except for handing out more "unique" id's. + */ +#define GDIP_CONTID_STEP 64 +static volatile LONG g_priv_contid = GDIP_CONTID_STEP; +#define GDIP_GET_NEW_CONTID_FOR(pGpGraphics) \ + (UINT)(InterlockedExchangeAdd(&g_priv_contid,GDIP_CONTID_STEP)) /* looks-right constants */ #define ANCHOR_WIDTH (2.0) @@ -2203,7 +2220,7 @@ (*graphics)->busy = FALSE; (*graphics)->textcontrast = 4; list_init(&(*graphics)->containers); - (*graphics)->contid = 0; + (*graphics)->contid = GDIP_GET_NEW_CONTID_FOR(*graphics); TRACE("<-- %p\n", *graphics); @@ -2242,7 +2259,7 @@ (*graphics)->busy = FALSE; (*graphics)->textcontrast = 4; list_init(&(*graphics)->containers); - (*graphics)->contid = 0; + (*graphics)->contid = GDIP_GET_NEW_CONTID_FOR(*graphics); TRACE("<-- %p\n", *graphics);
12 years, 3 months
1
0
0
0
[tfaber] 57298: [MSXML3] - Make a copy of the data type information instead of writing to the (read-only) .rsrc section. Already applied upstream. CORE-6645 #comment Should be fixed. Can you retest...
by tfaber@svn.reactos.org
Author: tfaber Date: Fri Sep 14 17:22:44 2012 New Revision: 57298 URL:
http://svn.reactos.org/svn/reactos?rev=57298&view=rev
Log: [MSXML3] - Make a copy of the data type information instead of writing to the (read-only) .rsrc section. Already applied upstream. CORE-6645 #comment Should be fixed. Can you retest with HEAD please? Modified: trunk/reactos/dll/win32/msxml3/schema.c Modified: trunk/reactos/dll/win32/msxml3/schema.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/msxml3/schema.c?…
============================================================================== --- trunk/reactos/dll/win32/msxml3/schema.c [iso-8859-1] (original) +++ trunk/reactos/dll/win32/msxml3/schema.c [iso-8859-1] Fri Sep 14 17:22:44 2012 @@ -68,7 +68,7 @@ static const xmlChar XDR_nsURI[] = "urn:schemas-microsoft-com:xml-data"; static const xmlChar DT_nsURI[] = "urn:schemas-microsoft-com:datatypes"; -static xmlChar const* datatypes_src; +static xmlChar * datatypes_src; static int datatypes_len; static HGLOBAL datatypes_handle; static HRSRC datatypes_rsrc; @@ -728,7 +728,6 @@ void schemasInit(void) { - int len; xmlChar* buf; if (!(datatypes_rsrc = FindResourceA(MSXML_hInstance, "DATATYPES", "XML"))) { @@ -742,14 +741,14 @@ return; } buf = LockResource(datatypes_handle); - len = SizeofResource(MSXML_hInstance, datatypes_rsrc) - 1; + datatypes_len = SizeofResource(MSXML_hInstance, datatypes_rsrc) - 1; /* Resource is loaded as raw data, * need a null-terminated string */ - while (buf[len] != '>') - buf[len--] = 0; - datatypes_src = buf; - datatypes_len = len + 1; + while (buf[datatypes_len - 1] != '>') datatypes_len--; + datatypes_src = HeapAlloc(GetProcessHeap(), 0, datatypes_len + 1); + memcpy(datatypes_src, buf, datatypes_len); + datatypes_src[datatypes_len] = 0; if (xmlGetExternalEntityLoader() != external_entity_loader) { @@ -761,6 +760,7 @@ void schemasCleanup(void) { xmlSchemaFree(datatypes_schema); + HeapFree(GetProcessHeap(), 0, datatypes_src); xmlSetExternalEntityLoader(_external_entity_loader); }
12 years, 3 months
1
0
0
0
← Newer
1
...
12
13
14
15
16
17
18
...
24
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
Results per page:
10
25
50
100
200