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
June 2014
----- 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
15 participants
157 discussions
Start a n
N
ew thread
[dquintana] 63620: [RSHELL] * Turn off spammy log. * A small themeing tweak for the menubar. [BROWSEUI] * Turn off spammy log. * A small tweak to a function.
by dquintana@svn.reactos.org
Author: dquintana Date: Thu Jun 19 23:14:39 2014 New Revision: 63620 URL:
http://svn.reactos.org/svn/reactos?rev=63620&view=rev
Log: [RSHELL] * Turn off spammy log. * A small themeing tweak for the menubar. [BROWSEUI] * Turn off spammy log. * A small tweak to a function. Modified: branches/shell-experiments/base/shell/rshell/CMakeLists.txt branches/shell-experiments/base/shell/rshell/CMenuBand.cpp branches/shell-experiments/base/shell/rshell/CMenuToolbars.cpp branches/shell-experiments/dll/win32/browseui/internettoolbar.cpp branches/shell-experiments/dll/win32/browseui/shellbrowser.cpp Modified: branches/shell-experiments/base/shell/rshell/CMakeLists.txt URL:
http://svn.reactos.org/svn/reactos/branches/shell-experiments/base/shell/rs…
============================================================================== --- branches/shell-experiments/base/shell/rshell/CMakeLists.txt [iso-8859-1] (original) +++ branches/shell-experiments/base/shell/rshell/CMakeLists.txt [iso-8859-1] Thu Jun 19 23:14:39 2014 @@ -28,6 +28,7 @@ wine) add_importlibs(rshell + uxtheme shlwapi shell32 gdi32 Modified: branches/shell-experiments/base/shell/rshell/CMenuBand.cpp URL:
http://svn.reactos.org/svn/reactos/branches/shell-experiments/base/shell/rs…
============================================================================== --- branches/shell-experiments/base/shell/rshell/CMenuBand.cpp [iso-8859-1] (original) +++ branches/shell-experiments/base/shell/rshell/CMenuBand.cpp [iso-8859-1] Thu Jun 19 23:14:39 2014 @@ -44,7 +44,7 @@ #else *ppv = NULL; - CMenuBand * site = new CComDebugObject<CMenuBand>(); + CMenuBand * site = new CComObject<CMenuBand>(); if (!site) return E_OUTOFMEMORY; Modified: branches/shell-experiments/base/shell/rshell/CMenuToolbars.cpp URL:
http://svn.reactos.org/svn/reactos/branches/shell-experiments/base/shell/rs…
============================================================================== --- branches/shell-experiments/base/shell/rshell/CMenuToolbars.cpp [iso-8859-1] (original) +++ branches/shell-experiments/base/shell/rshell/CMenuToolbars.cpp [iso-8859-1] Thu Jun 19 23:14:39 2014 @@ -21,6 +21,7 @@ #include <windowsx.h> #include <commoncontrols.h> #include <shlwapi_undoc.h> +#include <uxtheme.h> #include "CMenuBand.h" #include "CMenuToolbars.h" @@ -195,7 +196,7 @@ isHot = m_hotBar == this && (int) cdraw->nmcd.dwItemSpec == m_hotItem; isPopup = m_popupBar == this && (int) cdraw->nmcd.dwItemSpec == m_popupItem; - if (m_initFlags & SMINIT_VERTICAL) + if (m_initFlags & SMINIT_VERTICAL || IsAppThemed()) { // Remove HOT and CHECKED flags (will restore HOT if necessary) cdraw->nmcd.uItemState &= ~(CDIS_HOT | CDIS_CHECKED); @@ -829,7 +830,7 @@ HRESULT CMenuToolbarBase::ExecuteItem(INT iItem) { - m_menuBand->_KillPopupTimers(); + this->m_menuBand->_KillPopupTimers(); INT index; DWORD_PTR data; Modified: branches/shell-experiments/dll/win32/browseui/internettoolbar.cpp URL:
http://svn.reactos.org/svn/reactos/branches/shell-experiments/dll/win32/bro…
============================================================================== --- branches/shell-experiments/dll/win32/browseui/internettoolbar.cpp [iso-8859-1] (original) +++ branches/shell-experiments/dll/win32/browseui/internettoolbar.cpp [iso-8859-1] Thu Jun 19 23:14:39 2014 @@ -547,7 +547,7 @@ fLocked = false; fMenuBandWindow = NULL; fNavigationWindow = NULL; - fMenuCallback = new CComDebugObject<CMenuCallback>(); + fMenuCallback = new CComObject<CMenuCallback>(); fToolbarWindow = NULL; fAdviseCookie = 0; Modified: branches/shell-experiments/dll/win32/browseui/shellbrowser.cpp URL:
http://svn.reactos.org/svn/reactos/branches/shell-experiments/dll/win32/bro…
============================================================================== --- branches/shell-experiments/dll/win32/browseui/shellbrowser.cpp [iso-8859-1] (original) +++ branches/shell-experiments/dll/win32/browseui/shellbrowser.cpp [iso-8859-1] Thu Jun 19 23:14:39 2014 @@ -1093,12 +1093,17 @@ CComPtr<IDeskBand> deskBand; HRESULT hResult; + if (!fClientBars[BIInternetToolbar].clientBar) + return E_FAIL; + hResult = IUnknown_QueryService(fClientBars[BIInternetToolbar].clientBar, SID_IBandSite, IID_PPV_ARG(IBandSite, &bandSite)); if (FAILED_UNEXPECTEDLY(hResult)) return hResult; + hResult = bandSite->QueryBand(1, &deskBand, NULL, NULL, 0); if (FAILED_UNEXPECTEDLY(hResult)) return hResult; + return deskBand->QueryInterface(riid, shellMenu); }
10 years, 6 months
1
0
0
0
[jgardou] 63619: [KSECDD] - Really export symbols - Properly stub InitSecurityInterfaceW - Install the driver
by jgardou@svn.reactos.org
Author: jgardou Date: Thu Jun 19 11:24:48 2014 New Revision: 63619 URL:
http://svn.reactos.org/svn/reactos?rev=63619&view=rev
Log: [KSECDD] - Really export symbols - Properly stub InitSecurityInterfaceW - Install the driver Modified: trunk/reactos/boot/bootdata/txtsetup.sif trunk/reactos/drivers/crypto/ksecdd/CMakeLists.txt trunk/reactos/drivers/crypto/ksecdd/stubs.c Modified: trunk/reactos/boot/bootdata/txtsetup.sif URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/boot/bootdata/txtsetup.sif…
============================================================================== --- trunk/reactos/boot/bootdata/txtsetup.sif [iso-8859-1] (original) +++ trunk/reactos/boot/bootdata/txtsetup.sif [iso-8859-1] Thu Jun 19 11:24:48 2014 @@ -60,6 +60,7 @@ swenum.sys=,,,,,,,,,,,,4 ntdll.dll=,,,,,,,,,,,,2 wmilib.sys=,,,,,,,,,,,,4 +ksecdd.sys=,,,,,,,,,,,,4 [HardwareIdsDatabase] ;*PNP0A00 = isapnp Modified: trunk/reactos/drivers/crypto/ksecdd/CMakeLists.txt URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/crypto/ksecdd/CMak…
============================================================================== --- trunk/reactos/drivers/crypto/ksecdd/CMakeLists.txt [iso-8859-1] (original) +++ trunk/reactos/drivers/crypto/ksecdd/CMakeLists.txt [iso-8859-1] Thu Jun 19 11:24:48 2014 @@ -1,6 +1,5 @@ spec2def(ksecdd.sys ksecdd.spec) - include_directories( ${REACTOS_SOURCE_DIR}/include/reactos/drivers/ksecdd @@ -11,7 +10,8 @@ dispatch.c random.c stubs.c - ksecdd.rc) + ksecdd.rc + ${CMAKE_CURRENT_BINARY_DIR}/ksecdd.def) add_library(ksecdd SHARED ${SOURCE}) target_link_libraries(ksecdd cryptlib pseh) Modified: trunk/reactos/drivers/crypto/ksecdd/stubs.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/crypto/ksecdd/stub…
============================================================================== --- trunk/reactos/drivers/crypto/ksecdd/stubs.c [iso-8859-1] (original) +++ trunk/reactos/drivers/crypto/ksecdd/stubs.c [iso-8859-1] Thu Jun 19 11:24:48 2014 @@ -208,6 +208,15 @@ return 0; } +PSecurityFunctionTableW +SEC_ENTRY +InitSecurityInterfaceW(void) +{ + + UNIMPLEMENTED_DBGBREAK(); + return NULL; +} + VOID SEC_ENTRY KSecRegisterSecurityProvider(VOID)
10 years, 6 months
1
0
0
0
[jgardou] 63618: [NTOS/MM] - Do not mark VAD as private memory when creating a MEMORY_AREA, as this is never the case (only used for sections) - Add a few DPRINTS. CORE-8140 #resolve fixed with r63618
by jgardou@svn.reactos.org
Author: jgardou Date: Thu Jun 19 10:50:47 2014 New Revision: 63618 URL:
http://svn.reactos.org/svn/reactos?rev=63618&view=rev
Log: [NTOS/MM] - Do not mark VAD as private memory when creating a MEMORY_AREA, as this is never the case (only used for sections) - Add a few DPRINTS. CORE-8140 #resolve fixed with r63618 Modified: trunk/reactos/ntoskrnl/mm/ARM3/virtual.c trunk/reactos/ntoskrnl/mm/marea.c Modified: trunk/reactos/ntoskrnl/mm/ARM3/virtual.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/mm/ARM3/virtual.c…
============================================================================== --- trunk/reactos/ntoskrnl/mm/ARM3/virtual.c [iso-8859-1] (original) +++ trunk/reactos/ntoskrnl/mm/ARM3/virtual.c [iso-8859-1] Thu Jun 19 10:50:47 2014 @@ -4398,6 +4398,9 @@ } } + DPRINT("NtAllocateVirtualMemory: Process 0x%p, Address 0x%p, Zerobits %lu , RegionSize 0x%x, Allocation type 0x%x, Protect 0x%x.\n", + Process, PBaseAddress, ZeroBits, PRegionSize, AllocationType, Protect); + // // Check for large page allocations and make sure that the required privilege // is being held, before attempting to handle them. @@ -4656,6 +4659,7 @@ // } _SEH2_END; + DPRINT("Reserved %x bytes at %p.\n", PRegionSize, StartingAddress); return STATUS_SUCCESS; } @@ -5152,6 +5156,9 @@ Attached = TRUE; } } + + DPRINT("NtFreeVirtualMemory: Process 0x%p, Adress 0x%p, size 0x%x, FreeType %x.\n", + Process, PBaseAddress, PRegionSize, FreeType); // // Lock the address space Modified: trunk/reactos/ntoskrnl/mm/marea.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/mm/marea.c?rev=63…
============================================================================== --- trunk/reactos/ntoskrnl/mm/marea.c [iso-8859-1] (original) +++ trunk/reactos/ntoskrnl/mm/marea.c [iso-8859-1] Thu Jun 19 10:50:47 2014 @@ -399,7 +399,6 @@ Vad->EndingVpn = Vad->StartingVpn; } Vad->u.VadFlags.Spare = 1; - Vad->u.VadFlags.PrivateMemory = 1; Vad->u.VadFlags.Protection = MiMakeProtectionMask(marea->Protect); /* Insert the VAD */
10 years, 6 months
1
0
0
0
[jgardou] 63617: [OPENGL32/MESA] - Report OpenGL version 1.1
by jgardou@svn.reactos.org
Author: jgardou Date: Thu Jun 19 08:18:25 2014 New Revision: 63617 URL:
http://svn.reactos.org/svn/reactos?rev=63617&view=rev
Log: [OPENGL32/MESA] - Report OpenGL version 1.1 Modified: trunk/reactos/dll/opengl/mesa/main/version.c Modified: trunk/reactos/dll/opengl/mesa/main/version.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/opengl/mesa/main/versi…
============================================================================== --- trunk/reactos/dll/opengl/mesa/main/version.c [iso-8859-1] (original) +++ trunk/reactos/dll/opengl/mesa/main/version.c [iso-8859-1] Thu Jun 19 08:18:25 2014 @@ -56,75 +56,22 @@ static void compute_version(struct gl_context *ctx) { - GLuint major, minor; - static const int max = 100; + /* report openGL 1.1 */ + ctx->VersionMajor = 1; + ctx->VersionMinor = 1; - const GLboolean ver_1_3 = (ctx->Extensions.ARB_texture_cube_map && - ctx->Extensions.ARB_texture_env_combine && - ctx->Extensions.ARB_texture_env_dot3); - const GLboolean ver_1_4 = (ver_1_3 && - ctx->Extensions.ARB_texture_env_crossbar && - ctx->Extensions.ARB_window_pos && - ctx->Extensions.EXT_blend_color && - ctx->Extensions.EXT_blend_func_separate && - ctx->Extensions.EXT_blend_minmax && - ctx->Extensions.EXT_fog_coord && - ctx->Extensions.EXT_point_parameters && - ctx->Extensions.EXT_secondary_color); - const GLboolean ver_1_5 = (ver_1_4 && - ctx->Extensions.EXT_shadow_funcs); - const GLboolean ver_2_0 = (ver_1_5 && - ctx->Extensions.ARB_point_sprite && - ctx->Extensions.EXT_blend_equation_separate); - const GLboolean ver_2_1 = (ver_2_0); - const GLboolean ver_3_0 = (ver_2_1 && - ctx->Extensions.ARB_map_buffer_range); + override_version(ctx, &ctx->VersionMajor, &ctx->VersionMinor); - - if (ver_3_0) { - major = 3; - minor = 0; - } - else if (ver_2_1) { - major = 2; - minor = 1; - } - else if (ver_2_0) { - major = 2; - minor = 0; - } - else if (ver_1_5) { - major = 1; - minor = 5; - } - else if (ver_1_4) { - major = 1; - minor = 4; - } - else if (ver_1_3) { - major = 1; - minor = 3; - } - else { - major = 1; - minor = 2; - } - - ctx->VersionMajor = major; - ctx->VersionMinor = minor; - - override_version(ctx, &ctx->VersionMajor, &ctx->VersionMinor); - - ctx->VersionString = (char *) malloc(max); - if (ctx->VersionString) { - _mesa_snprintf(ctx->VersionString, max, - "%u.%u Mesa " MESA_VERSION_STRING + ctx->VersionString = (char *) malloc(20); + if (ctx->VersionString) { + _mesa_snprintf(ctx->VersionString, 20, + "%u.%u Mesa " MESA_VERSION_STRING #ifdef MESA_GIT_SHA1 - " (" MESA_GIT_SHA1 ")" + " (" MESA_GIT_SHA1 ")" #endif - , - ctx->VersionMajor, ctx->VersionMinor); - } + , + ctx->VersionMajor, ctx->VersionMinor); + } } /**
10 years, 6 months
1
0
0
0
[jgardou] 63616: [NTOS/MM] - When freeing virtual memory, correctly set the ending address of the shrunk memory area. CORE-7467
by jgardou@svn.reactos.org
Author: jgardou Date: Wed Jun 18 18:32:46 2014 New Revision: 63616 URL:
http://svn.reactos.org/svn/reactos?rev=63616&view=rev
Log: [NTOS/MM] - When freeing virtual memory, correctly set the ending address of the shrunk memory area. CORE-7467 Modified: trunk/reactos/ntoskrnl/mm/ARM3/virtual.c Modified: trunk/reactos/ntoskrnl/mm/ARM3/virtual.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/mm/ARM3/virtual.c…
============================================================================== --- trunk/reactos/ntoskrnl/mm/ARM3/virtual.c [iso-8859-1] (original) +++ trunk/reactos/ntoskrnl/mm/ARM3/virtual.c [iso-8859-1] Wed Jun 18 18:32:46 2014 @@ -5336,7 +5336,7 @@ ASSERT(Vad->StartingVpn << PAGE_SHIFT == (ULONG_PTR)MemoryArea->StartingAddress); ASSERT((Vad->EndingVpn + 1) << PAGE_SHIFT == (ULONG_PTR)MemoryArea->EndingAddress); Vad->EndingVpn = ((ULONG_PTR)StartingAddress - 1) >> PAGE_SHIFT; - MemoryArea->EndingAddress = (PVOID)(((Vad->EndingVpn + 1) << PAGE_SHIFT) - 1); + MemoryArea->EndingAddress = (PVOID)(StartingAddress); } else {
10 years, 6 months
1
0
0
0
[jgardou] 63615: [OPENGL32] - fix an off-by-one error
by jgardou@svn.reactos.org
Author: jgardou Date: Wed Jun 18 17:28:14 2014 New Revision: 63615 URL:
http://svn.reactos.org/svn/reactos?rev=63615&view=rev
Log: [OPENGL32] - fix an off-by-one error Modified: trunk/reactos/dll/opengl/opengl32/swimpl.c Modified: trunk/reactos/dll/opengl/opengl32/swimpl.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/opengl/opengl32/swimpl…
============================================================================== --- trunk/reactos/dll/opengl/opengl32/swimpl.c [iso-8859-1] (original) +++ trunk/reactos/dll/opengl/opengl32/swimpl.c [iso-8859-1] Wed Jun 18 17:28:14 2014 @@ -439,7 +439,7 @@ TRACE("OpenGL software implementation START!\n"); /* allocate our structure */ - fb = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, FIELD_OFFSET(struct sw_framebuffer, bmi.bmiColors[2])); + fb = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, FIELD_OFFSET(struct sw_framebuffer, bmi.bmiColors[3])); if(!fb) { ERR("HeapAlloc FAILED!\n");
10 years, 6 months
1
0
0
0
[jgardou] 63614: [OPENGL32] - Fix bitfields for 16-bits pixel format
by jgardou@svn.reactos.org
Author: jgardou Date: Wed Jun 18 17:24:18 2014 New Revision: 63614 URL:
http://svn.reactos.org/svn/reactos?rev=63614&view=rev
Log: [OPENGL32] - Fix bitfields for 16-bits pixel format Modified: trunk/reactos/dll/opengl/opengl32/swimpl.c Modified: trunk/reactos/dll/opengl/opengl32/swimpl.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/opengl/opengl32/swimpl…
============================================================================== --- trunk/reactos/dll/opengl/opengl32/swimpl.c [iso-8859-1] (original) +++ trunk/reactos/dll/opengl/opengl32/swimpl.c [iso-8859-1] Wed Jun 18 17:24:18 2014 @@ -51,7 +51,7 @@ { MESA_FORMAT_RGB888, 24, 8, 0, 0x00000000, 8, 8, 0x00000000, 8, 16, 0x00000000, 0, 0, 0x00000000, 16, 16, 8, BI_RGB }, // { MESA_FORMAT_BGR888, 24, 8, 16, 8, 8, 8, 0, 0, 0, 16, 32, 8 }, // { MESA_FORMAT_BGR888, 24, 8, 16, 8, 8, 8, 0, 0, 0, 16, 16, 8 }, - { MESA_FORMAT_RGB565, 16, 5, 0, 0x00000000, 6, 5, 0x00000000, 5, 11, 0x00000000, 0, 0, 0x00000000, 16, 32, 8, BI_BITFIELDS }, + { MESA_FORMAT_RGB565, 16, 5, 0, 0x0000F800, 6, 5, 0x000007E0, 5, 11, 0x0000001F, 0, 0, 0x00000000, 16, 32, 8, BI_BITFIELDS }, { MESA_FORMAT_RGB565, 16, 5, 0, 0x0000F800, 6, 5, 0x000007E0, 5, 11, 0x0000001F, 0, 0, 0x00000000, 16, 16, 8, BI_BITFIELDS }, }; @@ -361,15 +361,15 @@ INT nb_win_compat = 0, start_win_compat = 0; INT ret = sizeof(pixel_formats)/sizeof(pixel_formats[0]); - if(GetObjectType(hdc) == OBJ_DC) + if (GetObjectType(hdc) == OBJ_DC) { /* Find the window compatible formats */ INT bpp = GetDeviceCaps(hdc, BITSPIXEL); - for(index = 0; index<sizeof(pixel_formats)/sizeof(pixel_formats[0]); index++) - { - if(pixel_formats[index].color_bits == bpp) + for (index = 0; index < sizeof(pixel_formats)/sizeof(pixel_formats[0]); index++) + { + if (pixel_formats[index].color_bits == bpp) { - if(!start_win_compat) + if (!start_win_compat) start_win_compat = index+1; nb_win_compat++; } @@ -441,9 +441,13 @@ /* allocate our structure */ fb = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, FIELD_OFFSET(struct sw_framebuffer, bmi.bmiColors[2])); if(!fb) + { + ERR("HeapAlloc FAILED!\n"); return FALSE; + } /* Get the format index */ fb->format_index = index_from_format(dc_data, format, &doubleBuffered); + TRACE("Using format %u - double buffered: %x.\n", fb->format_index, doubleBuffered); fb->flags = doubleBuffered ? SW_FB_DOUBLEBUFFERED : 0; /* Set the bitmap info describing the framebuffer */ fb->bmi.bmiHeader.biSize = sizeof(BITMAPINFOHEADER); @@ -663,6 +667,9 @@ * of the client area via GetClientRect. */ RECT client_rect; UINT width, height; + + TRACE("Got WM_WINDOWPOSCHANGED\n"); + GetClientRect(pParams->hwnd, &client_rect); width = client_rect.right - client_rect.left; height = client_rect.bottom - client_rect.top;
10 years, 6 months
1
0
0
0
[jgardou] 63613: [OPENGL32/MESA] - Get rid of EXT_secondary_color, ARB_imaging and a few others support CORE-7499
by jgardou@svn.reactos.org
Author: jgardou Date: Wed Jun 18 15:58:59 2014 New Revision: 63613 URL:
http://svn.reactos.org/svn/reactos?rev=63613&view=rev
Log: [OPENGL32/MESA] - Get rid of EXT_secondary_color, ARB_imaging and a few others support CORE-7499 Removed: trunk/reactos/dll/opengl/mesa/main/colortab.c trunk/reactos/dll/opengl/mesa/main/colortab.h trunk/reactos/dll/opengl/mesa/main/convolve.c trunk/reactos/dll/opengl/mesa/main/convolve.h Modified: trunk/reactos/dll/opengl/mesa/drivers/common/driverfuncs.c trunk/reactos/dll/opengl/mesa/drivers/common/meta.c trunk/reactos/dll/opengl/mesa/main/CMakeLists.txt trunk/reactos/dll/opengl/mesa/main/api_arrayelt.c trunk/reactos/dll/opengl/mesa/main/api_exec.c trunk/reactos/dll/opengl/mesa/main/api_loopback.c trunk/reactos/dll/opengl/mesa/main/api_validate.c trunk/reactos/dll/opengl/mesa/main/api_validate.h trunk/reactos/dll/opengl/mesa/main/attrib.c trunk/reactos/dll/opengl/mesa/main/blend.c trunk/reactos/dll/opengl/mesa/main/blend.h trunk/reactos/dll/opengl/mesa/main/bufferobj.c trunk/reactos/dll/opengl/mesa/main/config.h trunk/reactos/dll/opengl/mesa/main/context.c trunk/reactos/dll/opengl/mesa/main/dd.h trunk/reactos/dll/opengl/mesa/main/dispatch.h trunk/reactos/dll/opengl/mesa/main/dlist.c trunk/reactos/dll/opengl/mesa/main/enable.c trunk/reactos/dll/opengl/mesa/main/fog.c trunk/reactos/dll/opengl/mesa/main/get.c trunk/reactos/dll/opengl/mesa/main/get.h trunk/reactos/dll/opengl/mesa/main/getstring.c trunk/reactos/dll/opengl/mesa/main/imports.c trunk/reactos/dll/opengl/mesa/main/light.c trunk/reactos/dll/opengl/mesa/main/mtypes.h trunk/reactos/dll/opengl/mesa/main/precomp.h trunk/reactos/dll/opengl/mesa/main/rastpos.c trunk/reactos/dll/opengl/mesa/main/state.c trunk/reactos/dll/opengl/mesa/main/state.h trunk/reactos/dll/opengl/mesa/main/varray.c trunk/reactos/dll/opengl/mesa/main/varray.h trunk/reactos/dll/opengl/mesa/main/vtxfmt.c trunk/reactos/dll/opengl/mesa/swrast/s_aaline.c trunk/reactos/dll/opengl/mesa/swrast/s_aatriangle.c trunk/reactos/dll/opengl/mesa/swrast/s_alpha.c trunk/reactos/dll/opengl/mesa/swrast/s_blend.c trunk/reactos/dll/opengl/mesa/swrast/s_context.c trunk/reactos/dll/opengl/mesa/swrast/s_context.h trunk/reactos/dll/opengl/mesa/swrast/s_copypix.c trunk/reactos/dll/opengl/mesa/swrast/s_drawpix.c trunk/reactos/dll/opengl/mesa/swrast/s_feedback.c trunk/reactos/dll/opengl/mesa/swrast/s_fog.c trunk/reactos/dll/opengl/mesa/swrast/s_lines.c trunk/reactos/dll/opengl/mesa/swrast/s_linetemp.h trunk/reactos/dll/opengl/mesa/swrast/s_logic.c trunk/reactos/dll/opengl/mesa/swrast/s_masking.c trunk/reactos/dll/opengl/mesa/swrast/s_points.c trunk/reactos/dll/opengl/mesa/swrast/s_span.c trunk/reactos/dll/opengl/mesa/swrast/s_triangle.c trunk/reactos/dll/opengl/mesa/swrast/s_tritemp.h trunk/reactos/dll/opengl/mesa/swrast/s_zoom.c trunk/reactos/dll/opengl/mesa/swrast/swrast.h trunk/reactos/dll/opengl/mesa/swrast_setup/ss_context.c trunk/reactos/dll/opengl/mesa/swrast_setup/ss_triangle.c trunk/reactos/dll/opengl/mesa/swrast_setup/ss_tritmp.h trunk/reactos/dll/opengl/mesa/tnl/t_context.c trunk/reactos/dll/opengl/mesa/tnl/t_context.h trunk/reactos/dll/opengl/mesa/tnl/t_draw.c trunk/reactos/dll/opengl/mesa/tnl/t_rasterpos.c trunk/reactos/dll/opengl/mesa/tnl/t_vb_light.c trunk/reactos/dll/opengl/mesa/tnl/t_vb_lighttmp.h trunk/reactos/dll/opengl/mesa/tnl/t_vertex_generic.c trunk/reactos/dll/opengl/mesa/vbo/vbo_attrib.h trunk/reactos/dll/opengl/mesa/vbo/vbo_attrib_tmp.h trunk/reactos/dll/opengl/mesa/vbo/vbo_exec_api.c trunk/reactos/dll/opengl/mesa/vbo/vbo_exec_array.c trunk/reactos/dll/opengl/mesa/vbo/vbo_exec_eval.c trunk/reactos/dll/opengl/mesa/vbo/vbo_noop.c trunk/reactos/dll/opengl/mesa/vbo/vbo_save_api.c trunk/reactos/dll/opengl/mesa/vbo/vbo_save_draw.c trunk/reactos/dll/opengl/mesa/x86/gen_matypes.c trunk/reactos/dll/opengl/mesa/x86/mmx.h trunk/reactos/dll/opengl/mesa/x86/mmx_blend.S [This mail would be too long, it was shortened to contain the URLs only.] Modified: trunk/reactos/dll/opengl/mesa/drivers/common/driverfuncs.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/opengl/mesa/drivers/co…
Modified: trunk/reactos/dll/opengl/mesa/drivers/common/meta.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/opengl/mesa/drivers/co…
Modified: trunk/reactos/dll/opengl/mesa/main/CMakeLists.txt URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/opengl/mesa/main/CMake…
Modified: trunk/reactos/dll/opengl/mesa/main/api_arrayelt.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/opengl/mesa/main/api_a…
Modified: trunk/reactos/dll/opengl/mesa/main/api_exec.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/opengl/mesa/main/api_e…
Modified: trunk/reactos/dll/opengl/mesa/main/api_loopback.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/opengl/mesa/main/api_l…
Modified: trunk/reactos/dll/opengl/mesa/main/api_validate.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/opengl/mesa/main/api_v…
Modified: trunk/reactos/dll/opengl/mesa/main/api_validate.h URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/opengl/mesa/main/api_v…
Modified: trunk/reactos/dll/opengl/mesa/main/attrib.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/opengl/mesa/main/attri…
Modified: trunk/reactos/dll/opengl/mesa/main/blend.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/opengl/mesa/main/blend…
Modified: trunk/reactos/dll/opengl/mesa/main/blend.h URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/opengl/mesa/main/blend…
Modified: trunk/reactos/dll/opengl/mesa/main/bufferobj.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/opengl/mesa/main/buffe…
Removed: trunk/reactos/dll/opengl/mesa/main/colortab.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/opengl/mesa/main/color…
Removed: trunk/reactos/dll/opengl/mesa/main/colortab.h URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/opengl/mesa/main/color…
Modified: trunk/reactos/dll/opengl/mesa/main/config.h URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/opengl/mesa/main/confi…
Modified: trunk/reactos/dll/opengl/mesa/main/context.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/opengl/mesa/main/conte…
Removed: trunk/reactos/dll/opengl/mesa/main/convolve.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/opengl/mesa/main/convo…
Removed: trunk/reactos/dll/opengl/mesa/main/convolve.h URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/opengl/mesa/main/convo…
Modified: trunk/reactos/dll/opengl/mesa/main/dd.h URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/opengl/mesa/main/dd.h?…
Modified: trunk/reactos/dll/opengl/mesa/main/dispatch.h URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/opengl/mesa/main/dispa…
Modified: trunk/reactos/dll/opengl/mesa/main/dlist.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/opengl/mesa/main/dlist…
Modified: trunk/reactos/dll/opengl/mesa/main/enable.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/opengl/mesa/main/enabl…
Modified: trunk/reactos/dll/opengl/mesa/main/fog.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/opengl/mesa/main/fog.c…
Modified: trunk/reactos/dll/opengl/mesa/main/get.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/opengl/mesa/main/get.c…
Modified: trunk/reactos/dll/opengl/mesa/main/get.h URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/opengl/mesa/main/get.h…
Modified: trunk/reactos/dll/opengl/mesa/main/getstring.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/opengl/mesa/main/getst…
Modified: trunk/reactos/dll/opengl/mesa/main/imports.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/opengl/mesa/main/impor…
Modified: trunk/reactos/dll/opengl/mesa/main/light.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/opengl/mesa/main/light…
Modified: trunk/reactos/dll/opengl/mesa/main/mtypes.h URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/opengl/mesa/main/mtype…
Modified: trunk/reactos/dll/opengl/mesa/main/precomp.h URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/opengl/mesa/main/preco…
Modified: trunk/reactos/dll/opengl/mesa/main/rastpos.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/opengl/mesa/main/rastp…
Modified: trunk/reactos/dll/opengl/mesa/main/state.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/opengl/mesa/main/state…
Modified: trunk/reactos/dll/opengl/mesa/main/state.h URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/opengl/mesa/main/state…
Modified: trunk/reactos/dll/opengl/mesa/main/varray.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/opengl/mesa/main/varra…
Modified: trunk/reactos/dll/opengl/mesa/main/varray.h URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/opengl/mesa/main/varra…
Modified: trunk/reactos/dll/opengl/mesa/main/vtxfmt.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/opengl/mesa/main/vtxfm…
Modified: trunk/reactos/dll/opengl/mesa/swrast/s_aaline.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/opengl/mesa/swrast/s_a…
Modified: trunk/reactos/dll/opengl/mesa/swrast/s_aatriangle.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/opengl/mesa/swrast/s_a…
Modified: trunk/reactos/dll/opengl/mesa/swrast/s_alpha.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/opengl/mesa/swrast/s_a…
Modified: trunk/reactos/dll/opengl/mesa/swrast/s_blend.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/opengl/mesa/swrast/s_b…
Modified: trunk/reactos/dll/opengl/mesa/swrast/s_context.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/opengl/mesa/swrast/s_c…
Modified: trunk/reactos/dll/opengl/mesa/swrast/s_context.h URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/opengl/mesa/swrast/s_c…
Modified: trunk/reactos/dll/opengl/mesa/swrast/s_copypix.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/opengl/mesa/swrast/s_c…
Modified: trunk/reactos/dll/opengl/mesa/swrast/s_drawpix.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/opengl/mesa/swrast/s_d…
Modified: trunk/reactos/dll/opengl/mesa/swrast/s_feedback.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/opengl/mesa/swrast/s_f…
Modified: trunk/reactos/dll/opengl/mesa/swrast/s_fog.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/opengl/mesa/swrast/s_f…
Modified: trunk/reactos/dll/opengl/mesa/swrast/s_lines.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/opengl/mesa/swrast/s_l…
Modified: trunk/reactos/dll/opengl/mesa/swrast/s_linetemp.h URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/opengl/mesa/swrast/s_l…
Modified: trunk/reactos/dll/opengl/mesa/swrast/s_logic.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/opengl/mesa/swrast/s_l…
Modified: trunk/reactos/dll/opengl/mesa/swrast/s_masking.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/opengl/mesa/swrast/s_m…
Modified: trunk/reactos/dll/opengl/mesa/swrast/s_points.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/opengl/mesa/swrast/s_p…
Modified: trunk/reactos/dll/opengl/mesa/swrast/s_span.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/opengl/mesa/swrast/s_s…
Modified: trunk/reactos/dll/opengl/mesa/swrast/s_triangle.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/opengl/mesa/swrast/s_t…
Modified: trunk/reactos/dll/opengl/mesa/swrast/s_tritemp.h URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/opengl/mesa/swrast/s_t…
Modified: trunk/reactos/dll/opengl/mesa/swrast/s_zoom.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/opengl/mesa/swrast/s_z…
Modified: trunk/reactos/dll/opengl/mesa/swrast/swrast.h URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/opengl/mesa/swrast/swr…
Modified: trunk/reactos/dll/opengl/mesa/swrast_setup/ss_context.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/opengl/mesa/swrast_set…
Modified: trunk/reactos/dll/opengl/mesa/swrast_setup/ss_triangle.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/opengl/mesa/swrast_set…
Modified: trunk/reactos/dll/opengl/mesa/swrast_setup/ss_tritmp.h URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/opengl/mesa/swrast_set…
Modified: trunk/reactos/dll/opengl/mesa/tnl/t_context.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/opengl/mesa/tnl/t_cont…
Modified: trunk/reactos/dll/opengl/mesa/tnl/t_context.h URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/opengl/mesa/tnl/t_cont…
Modified: trunk/reactos/dll/opengl/mesa/tnl/t_draw.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/opengl/mesa/tnl/t_draw…
Modified: trunk/reactos/dll/opengl/mesa/tnl/t_rasterpos.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/opengl/mesa/tnl/t_rast…
Modified: trunk/reactos/dll/opengl/mesa/tnl/t_vb_light.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/opengl/mesa/tnl/t_vb_l…
Modified: trunk/reactos/dll/opengl/mesa/tnl/t_vb_lighttmp.h URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/opengl/mesa/tnl/t_vb_l…
Modified: trunk/reactos/dll/opengl/mesa/tnl/t_vertex_generic.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/opengl/mesa/tnl/t_vert…
Modified: trunk/reactos/dll/opengl/mesa/vbo/vbo_attrib.h URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/opengl/mesa/vbo/vbo_at…
Modified: trunk/reactos/dll/opengl/mesa/vbo/vbo_attrib_tmp.h URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/opengl/mesa/vbo/vbo_at…
Modified: trunk/reactos/dll/opengl/mesa/vbo/vbo_exec_api.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/opengl/mesa/vbo/vbo_ex…
Modified: trunk/reactos/dll/opengl/mesa/vbo/vbo_exec_array.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/opengl/mesa/vbo/vbo_ex…
Modified: trunk/reactos/dll/opengl/mesa/vbo/vbo_exec_eval.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/opengl/mesa/vbo/vbo_ex…
Modified: trunk/reactos/dll/opengl/mesa/vbo/vbo_noop.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/opengl/mesa/vbo/vbo_no…
Modified: trunk/reactos/dll/opengl/mesa/vbo/vbo_save_api.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/opengl/mesa/vbo/vbo_sa…
Modified: trunk/reactos/dll/opengl/mesa/vbo/vbo_save_draw.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/opengl/mesa/vbo/vbo_sa…
Modified: trunk/reactos/dll/opengl/mesa/x86/gen_matypes.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/opengl/mesa/x86/gen_ma…
Modified: trunk/reactos/dll/opengl/mesa/x86/mmx.h URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/opengl/mesa/x86/mmx.h?…
Modified: trunk/reactos/dll/opengl/mesa/x86/mmx_blend.S URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/opengl/mesa/x86/mmx_bl…
10 years, 6 months
1
0
0
0
[hbelusca] 63612: [WIN32K] The winstation spinlock is a leftover of some old code. It can be removed. <+smiley1_> hbelusca: yeah the spinlock should be removed <@hbelusca> smiley1_ - was it from ol...
by hbelusca@svn.reactos.org
Author: hbelusca Date: Tue Jun 17 20:51:04 2014 New Revision: 63612 URL:
http://svn.reactos.org/svn/reactos?rev=63612&view=rev
Log: [WIN32K] The winstation spinlock is a leftover of some old code. It can be removed. <+smiley1_> hbelusca: yeah the spinlock should be removed <@hbelusca> smiley1_ - was it from old code? <+smiley1_> hbelusca: go on Modified: trunk/reactos/win32ss/user/ntuser/winsta.c trunk/reactos/win32ss/user/ntuser/winsta.h Modified: trunk/reactos/win32ss/user/ntuser/winsta.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/win32ss/user/ntuser/winsta…
============================================================================== --- trunk/reactos/win32ss/user/ntuser/winsta.c [iso-8859-1] (original) +++ trunk/reactos/win32ss/user/ntuser/winsta.c [iso-8859-1] Tue Jun 17 20:51:04 2014 @@ -451,9 +451,6 @@ /* Initialize the window station */ RtlZeroMemory(WindowStationObject, sizeof(WINSTATION_OBJECT)); -#ifdef USE_WINSTA_LOCK - KeInitializeSpinLock(&WindowStationObject->Lock); -#endif InitializeListHead(&WindowStationObject->DesktopListHead); Status = RtlCreateAtomTable(37, &WindowStationObject->AtomTable); WindowStationObject->Name = WindowStationName; @@ -1205,9 +1202,6 @@ { NTSTATUS Status; PWINSTATION_OBJECT WindowStation; -#ifdef USE_WINSTA_LOCK - KIRQL OldLevel; -#endif PLIST_ENTRY DesktopEntry; PDESKTOP DesktopObject; DWORD EntryCount; @@ -1223,10 +1217,6 @@ { return Status; } - -#ifdef USE_WINSTA_LOCK - KeAcquireSpinLock(&WindowStation->Lock, &OldLevel); -#endif /* * Count the required size of buffer. @@ -1248,9 +1238,6 @@ Status = MmCopyToCaller(pRequiredSize, &ReturnLength, sizeof(ULONG)); if (! NT_SUCCESS(Status)) { -#ifdef USE_WINSTA_LOCK - KeReleaseSpinLock(&WindowStation->Lock, OldLevel); -#endif ObDereferenceObject(WindowStation); return STATUS_BUFFER_TOO_SMALL; } @@ -1261,9 +1248,6 @@ */ if (dwSize < ReturnLength) { -#ifdef USE_WINSTA_LOCK - KeReleaseSpinLock(&WindowStation->Lock, OldLevel); -#endif ObDereferenceObject(WindowStation); return STATUS_BUFFER_TOO_SMALL; } @@ -1274,9 +1258,6 @@ Status = MmCopyToCaller(lpBuffer, &EntryCount, sizeof(DWORD)); if (! NT_SUCCESS(Status)) { -#ifdef USE_WINSTA_LOCK - KeReleaseSpinLock(&WindowStation->Lock, OldLevel); -#endif ObDereferenceObject(WindowStation); return Status; } @@ -1292,9 +1273,6 @@ Status = MmCopyToCaller(lpBuffer, DesktopName.Buffer, DesktopName.Length); if (! NT_SUCCESS(Status)) { -#ifdef USE_WINSTA_LOCK - KeReleaseSpinLock(&WindowStation->Lock, OldLevel); -#endif ObDereferenceObject(WindowStation); return Status; } @@ -1302,9 +1280,6 @@ Status = MmCopyToCaller(lpBuffer, &NullWchar, sizeof(WCHAR)); if (! NT_SUCCESS(Status)) { -#ifdef USE_WINSTA_LOCK - KeReleaseSpinLock(&WindowStation->Lock, OldLevel); -#endif ObDereferenceObject(WindowStation); return Status; } @@ -1312,13 +1287,9 @@ } /* - * Clean up + * Clean up and return */ -#ifdef USE_WINSTA_LOCK - KeReleaseSpinLock(&WindowStation->Lock, OldLevel); -#endif ObDereferenceObject(WindowStation); - return STATUS_SUCCESS; } Modified: trunk/reactos/win32ss/user/ntuser/winsta.h URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/win32ss/user/ntuser/winsta…
============================================================================== --- trunk/reactos/win32ss/user/ntuser/winsta.h [iso-8859-1] (original) +++ trunk/reactos/win32ss/user/ntuser/winsta.h [iso-8859-1] Tue Jun 17 20:51:04 2014 @@ -7,16 +7,10 @@ #define WSS_LOCKED (1) #define WSS_NOINTERACTIVE (2) -// Uncomment for using WinSta spinlock -// #define USE_WINSTA_LOCK - typedef struct _WINSTATION_OBJECT { DWORD dwSessionId; -#ifdef USE_WINSTA_LOCK - KSPIN_LOCK Lock; -#endif UNICODE_STRING Name; LIST_ENTRY DesktopListHead; PRTL_ATOM_TABLE AtomTable;
10 years, 6 months
1
0
0
0
[hbelusca] 63611: [WIN32K]: TWOPARAM_ROUTINE_SETCARETPOS does exist in windows, and we also have it in our SimpleCallRoutines enumeration.
by hbelusca@svn.reactos.org
Author: hbelusca Date: Tue Jun 17 20:47:55 2014 New Revision: 63611 URL:
http://svn.reactos.org/svn/reactos?rev=63611&view=rev
Log: [WIN32K]: TWOPARAM_ROUTINE_SETCARETPOS does exist in windows, and we also have it in our SimpleCallRoutines enumeration. Modified: trunk/reactos/win32ss/include/ntuser.h Modified: trunk/reactos/win32ss/include/ntuser.h URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/win32ss/include/ntuser.h?r…
============================================================================== --- trunk/reactos/win32ss/include/ntuser.h [iso-8859-1] (original) +++ trunk/reactos/win32ss/include/ntuser.h [iso-8859-1] Tue Jun 17 20:47:55 2014 @@ -70,7 +70,6 @@ UserThreadWOWInformation, UserThreadHungStatus, UserThreadInitiateShutdown, - UserThreadEndShutdown, UserThreadUseActiveDesktop, UserThreadUseDesktop, @@ -3385,7 +3384,6 @@ #define MSQ_STATE_MENUOWNER 0x4 #define MSQ_STATE_MOVESIZE 0x5 #define MSQ_STATE_CARET 0x6 -#define TWOPARAM_ROUTINE_SETCARETPOS 0xfffd0060 #define TWOPARAM_ROUTINE_ROS_UPDATEUISTATE 0x1004 #define HWNDPARAM_ROUTINE_ROS_NOTIFYWINEVENT 0x1005
10 years, 6 months
1
0
0
0
← Newer
1
...
4
5
6
7
8
9
10
...
16
Older →
Jump to page:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Results per page:
10
25
50
100
200