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
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
March 2005
----- 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
26 participants
609 discussions
Start a n
N
ew thread
[hbirr] 14295: Set the share disposition of an interrupt according to the value from the resource.
by hbirr@svn.reactos.com
Set the share disposition of an interrupt according to the value from the resource. Modified: trunk/reactos/drivers/video/videoprt/dispatch.c Modified: trunk/reactos/drivers/video/videoprt/interrupt.c Modified: trunk/reactos/drivers/video/videoprt/resource.c Modified: trunk/reactos/drivers/video/videoprt/videoprt.h _____ Modified: trunk/reactos/drivers/video/videoprt/dispatch.c --- trunk/reactos/drivers/video/videoprt/dispatch.c 2005-03-23 21:51:08 UTC (rev 14294) +++ trunk/reactos/drivers/video/videoprt/dispatch.c 2005-03-23 21:51:40 UTC (rev 14295) @@ -329,6 +329,10 @@ { DeviceExtension->InterruptLevel = Descriptor->u.Interrupt.Level; DeviceExtension->InterruptVector = Descriptor->u.Interrupt.Vector; + if (Descriptor->ShareDisposition == CmResourceShareShared) + DeviceExtension->InterruptShared = TRUE; + else + DeviceExtension->InterruptShared = FALSE; } } } _____ Modified: trunk/reactos/drivers/video/videoprt/interrupt.c --- trunk/reactos/drivers/video/videoprt/interrupt.c 2005-03-23 21:51:08 UTC (rev 14294) +++ trunk/reactos/drivers/video/videoprt/interrupt.c 2005-03-23 21:51:40 UTC (rev 14295) @@ -85,7 +85,7 @@ Irql, Irql, ConfigInfo->InterruptMode, - FALSE, + DeviceExtension->InterruptShared, Affinity, FALSE); _____ Modified: trunk/reactos/drivers/video/videoprt/resource.c --- trunk/reactos/drivers/video/videoprt/resource.c 2005-03-23 21:51:08 UTC (rev 14294) +++ trunk/reactos/drivers/video/videoprt/resource.c 2005-03-23 21:51:40 UTC (rev 14295) @@ -559,6 +559,10 @@ { DeviceExtension->InterruptLevel = Descriptor->u.Interrupt.Level; DeviceExtension->InterruptVector = Descriptor->u.Interrupt.Vector; + if (Descriptor->ShareDisposition == CmResourceShareShared) + DeviceExtension->InterruptShared = TRUE; + else + DeviceExtension->InterruptShared = FALSE; } } } _____ Modified: trunk/reactos/drivers/video/videoprt/videoprt.h --- trunk/reactos/drivers/video/videoprt/videoprt.h 2005-03-23 21:51:08 UTC (rev 14294) +++ trunk/reactos/drivers/video/videoprt/videoprt.h 2005-03-23 21:51:40 UTC (rev 14295) @@ -93,6 +93,7 @@ PCM_RESOURCE_LIST AllocatedResources; ULONG InterruptVector; ULONG InterruptLevel; + BOOLEAN InterruptShared; ULONG AdapterInterfaceType; ULONG SystemIoBusNumber; ULONG SystemIoSlotNumber;
19 years, 7 months
1
0
0
0
[ea] 14294: old Win9x drivers subsystem id
by ea@svn.reactos.com
old Win9x drivers subsystem id Modified: trunk/reactos/include/pe.h _____ Modified: trunk/reactos/include/pe.h --- trunk/reactos/include/pe.h 2005-03-23 21:06:02 UTC (rev 14293) +++ trunk/reactos/include/pe.h 2005-03-23 21:51:08 UTC (rev 14294) @@ -590,6 +590,7 @@ #define IMAGE_SUBSYSTEM_OS2_CUI 5 #define IMAGE_SUBSYSTEM_POSIX_GUI 6 #define IMAGE_SUBSYSTEM_POSIX_CUI 7 +#define IMAGE_SUBSYSTEM_NATIVE_WINDOWS 8 #define IMAGE_SUBSYSTEM_WINDOWS_CE_GUI 9 #define IMAGE_SUBSYSTEM_EFI_APPLICATION 10 #define IMAGE_SUBSYSTEM_EFI_BOOT_SERVICE_DRIVER 11
19 years, 7 months
1
0
0
0
[hpoussin] 14293: SUBLANG_NEUTRAL -> SUBLANG_ENGLISH_US because ReactOS searches for english/US if no more suitable langage is found
by hpoussin@svn.reactos.com
SUBLANG_NEUTRAL -> SUBLANG_ENGLISH_US because ReactOS searches for english/US if no more suitable langage is found Modified: trunk/reactos/lib/cpl/desk/en.rc _____ Modified: trunk/reactos/lib/cpl/desk/en.rc --- trunk/reactos/lib/cpl/desk/en.rc 2005-03-23 19:05:42 UTC (rev 14292) +++ trunk/reactos/lib/cpl/desk/en.rc 2005-03-23 21:06:02 UTC (rev 14293) @@ -1,4 +1,4 @@ -LANGUAGE LANG_ENGLISH, SUBLANG_NEUTRAL +LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US IDD_BACKGROUND DIALOGEX DISCARDABLE 0, 0, 246, 228 STYLE DS_SHELLFONT | WS_CHILD | WS_DISABLED | WS_CAPTION
19 years, 7 months
1
0
0
0
[hbirr] 14292: Fixed the calling convention of the cancel routine.
by hbirr@svn.reactos.com
Fixed the calling convention of the cancel routine. Modified: trunk/reactos/drivers/fs/np/fsctrl.c _____ Modified: trunk/reactos/drivers/fs/np/fsctrl.c --- trunk/reactos/drivers/fs/np/fsctrl.c 2005-03-23 17:23:36 UTC (rev 14291) +++ trunk/reactos/drivers/fs/np/fsctrl.c 2005-03-23 19:05:42 UTC (rev 14292) @@ -18,7 +18,7 @@ /* FUNCTIONS *****************************************************************/ -static VOID +static VOID STDCALL NpfsListeningCancelRoutine(IN PDEVICE_OBJECT DeviceObject, IN PIRP Irp) {
19 years, 7 months
1
0
0
0
[navaraf] 14291: Merge from HEAD: r14249
by navaraf@svn.reactos.com
Merge from HEAD: r14249 Specify correct access rights in NtOpenProcess when sending control events. Modified: branches/ros-branch-0_2_6/reactos/subsys/csrss/win32csr/conio.c _____ Modified: branches/ros-branch-0_2_6/reactos/subsys/csrss/win32csr/conio.c --- branches/ros-branch-0_2_6/reactos/subsys/csrss/win32csr/conio.c 2005-03-23 17:23:02 UTC (rev 14290) +++ branches/ros-branch-0_2_6/reactos/subsys/csrss/win32csr/conio.c 2005-03-23 17:23:36 UTC (rev 14291) @@ -94,7 +94,8 @@ /* using OpenProcess is not optimal due to HANDLE vs. DWORD PIDs... */ Status = NtOpenProcess(&Process, - PROCESS_DUP_HANDLE, + PROCESS_DUP_HANDLE | PROCESS_VM_OPERATION | + PROCESS_VM_WRITE | PROCESS_CREATE_THREAD, &ObjectAttributes, &ClientId); if (!NT_SUCCESS(Status)) @@ -110,7 +111,7 @@ (PVOID) Event, 0, NULL); if (NULL == Thread) { - DPRINT1("Failed thread creation\n"); + DPRINT1("Failed thread creation (Error: 0x%x)\n", GetLastError()); CloseHandle(Process); return; }
19 years, 7 months
1
0
0
0
[navaraf] 14290: Merge from HEAD: r14248
by navaraf@svn.reactos.com
Merge from HEAD: r14248 Correctly draw the titlebar as active or inactive during the processing of WM_NCACTIVATE message. Modified: branches/ros-branch-0_2_6/reactos/lib/user32/windows/defwnd.c Modified: branches/ros-branch-0_2_6/reactos/lib/user32/windows/nonclient.c Modified: branches/ros-branch-0_2_6/reactos/lib/user32/windows/window.c _____ Modified: branches/ros-branch-0_2_6/reactos/lib/user32/windows/defwnd.c --- branches/ros-branch-0_2_6/reactos/lib/user32/windows/defwnd.c 2005-03-23 17:22:41 UTC (rev 14289) +++ branches/ros-branch-0_2_6/reactos/lib/user32/windows/defwnd.c 2005-03-23 17:23:02 UTC (rev 14290) @@ -31,7 +31,7 @@ #define WM_QUERYDROPOBJECT 0x022B #endif -LRESULT DefWndNCPaint(HWND hWnd, HRGN hRgn); +LRESULT DefWndNCPaint(HWND hWnd, HRGN hRgn, BOOL Active); LRESULT DefWndNCCalcSize(HWND hWnd, BOOL CalcSizeStruct, RECT *Rect); LRESULT DefWndNCActivate(HWND hWnd, WPARAM wParam); LRESULT DefWndNCHitTest(HWND hWnd, POINT Point); @@ -949,7 +949,7 @@ { case WM_NCPAINT: { - return DefWndNCPaint(hWnd, (HRGN)wParam); + return DefWndNCPaint(hWnd, (HRGN)wParam, -1); } case WM_NCCALCSIZE: @@ -1472,7 +1472,7 @@ if ((GetWindowLongW(hWnd, GWL_STYLE) & WS_CAPTION) == WS_CAPTION) { - DefWndNCPaint(hWnd, (HRGN)1); + DefWndNCPaint(hWnd, (HRGN)1, -1); } return TRUE; } @@ -1532,7 +1532,7 @@ if ((GetWindowLongW(hWnd, GWL_STYLE) & WS_CAPTION) == WS_CAPTION) { - DefWndNCPaint(hWnd, (HRGN)1); + DefWndNCPaint(hWnd, (HRGN)1, -1); } return (1); } _____ Modified: branches/ros-branch-0_2_6/reactos/lib/user32/windows/nonclient.c --- branches/ros-branch-0_2_6/reactos/lib/user32/windows/nonclient.c 2005-03-23 17:22:41 UTC (rev 14289) +++ branches/ros-branch-0_2_6/reactos/lib/user32/windows/nonclient.c 2005-03-23 17:23:02 UTC (rev 14290) @@ -288,10 +288,9 @@ * - Correct drawing of size-box */ LRESULT -DefWndNCPaint(HWND hWnd, HRGN hRgn) +DefWndNCPaint(HWND hWnd, HRGN hRgn, BOOL Active) { HDC hDC; - BOOL Active; DWORD Style, ExStyle; HWND Parent; RECT ClientRect, WindowRect, CurrentRect, TempRect; @@ -309,16 +308,19 @@ Parent = GetParent(hWnd); ExStyle = GetWindowLongW(hWnd, GWL_EXSTYLE); - if (ExStyle & WS_EX_MDICHILD) + if (Active == -1) { - Active = IsChild(GetForegroundWindow(), hWnd); - if (Active) - Active = (hWnd == (HWND)SendMessageW(Parent, WM_MDIGETACTIVE, 0, 0)); + if (ExStyle & WS_EX_MDICHILD) + { + Active = IsChild(GetForegroundWindow(), hWnd); + if (Active) + Active = (hWnd == (HWND)SendMessageW(Parent, WM_MDIGETACTIVE, 0, 0)); + } + else + { + Active = (GetForegroundWindow() == hWnd); + } } - else - { - Active = (GetForegroundWindow() == hWnd); - } GetWindowRect(hWnd, &WindowRect); GetClientRect(hWnd, &ClientRect); @@ -660,7 +662,7 @@ LRESULT DefWndNCActivate(HWND hWnd, WPARAM wParam) { - DefWndNCPaint(hWnd, (HRGN)1); + DefWndNCPaint(hWnd, (HRGN)1, wParam); return TRUE; } _____ Modified: branches/ros-branch-0_2_6/reactos/lib/user32/windows/window.c --- branches/ros-branch-0_2_6/reactos/lib/user32/windows/window.c 2005-03-23 17:22:41 UTC (rev 14289) +++ branches/ros-branch-0_2_6/reactos/lib/user32/windows/window.c 2005-03-23 17:23:02 UTC (rev 14290) @@ -22,7 +22,7 @@ BOOL ControlsInitialized = FALSE; -LRESULT DefWndNCPaint(HWND hWnd, HRGN hRgn); +LRESULT DefWndNCPaint(HWND hWnd, HRGN hRgn, BOOL Active); /* FUNCTIONS *****************************************************************/ @@ -1236,7 +1236,7 @@ if ((GetWindowLongW(hWnd, GWL_STYLE) & WS_CAPTION) == WS_CAPTION) { - DefWndNCPaint(hWnd, (HRGN)1); + DefWndNCPaint(hWnd, (HRGN)1, -1); } return TRUE; } @@ -1270,7 +1270,7 @@ if ((GetWindowLongW(hWnd, GWL_STYLE) & WS_CAPTION) == WS_CAPTION) { - DefWndNCPaint(hWnd, (HRGN)1); + DefWndNCPaint(hWnd, (HRGN)1, -1); } return TRUE; }
19 years, 7 months
1
0
0
0
[navaraf] 14289: Merge from HEAD: r14247
by navaraf@svn.reactos.com
Merge from HEAD: r14247 - Cleanup DefWndDoButton function. - Fix some loops where GetMessage was inadvertently used. Modified: branches/ros-branch-0_2_6/reactos/lib/user32/windows/defwnd.c Modified: branches/ros-branch-0_2_6/reactos/lib/user32/windows/nonclient.c _____ Modified: branches/ros-branch-0_2_6/reactos/lib/user32/windows/defwnd.c --- branches/ros-branch-0_2_6/reactos/lib/user32/windows/defwnd.c 2005-03-23 17:21:36 UTC (rev 14288) +++ branches/ros-branch-0_2_6/reactos/lib/user32/windows/defwnd.c 2005-03-23 17:22:41 UTC (rev 14289) @@ -317,7 +317,8 @@ { while(!hittest) { - GetMessageW(&msg, NULL, 0, 0); + if (GetMessageW(&msg, NULL, 0, 0) <= 0) + break; switch(msg.message) { case WM_MOUSEMOVE: @@ -572,7 +573,8 @@ { int dx = 0, dy = 0; - GetMessageW(&msg, 0, 0, 0); + if (GetMessageW(&msg, 0, 0, 0) <= 0) + break; /* Exit on button-up, Return, or Esc */ if ((msg.message == WM_LBUTTONUP) || _____ Modified: branches/ros-branch-0_2_6/reactos/lib/user32/windows/nonclient.c --- branches/ros-branch-0_2_6/reactos/lib/user32/windows/nonclient.c 2005-03-23 17:21:36 UTC (rev 14288) +++ branches/ros-branch-0_2_6/reactos/lib/user32/windows/nonclient.c 2005-03-23 17:22:41 UTC (rev 14289) @@ -882,79 +882,75 @@ VOID DefWndDoButton(HWND hWnd, WPARAM wParam) { - MSG Msg; - BOOL InBtn, HasBtn = FALSE; - ULONG Btn, Style; - WPARAM SCMsg, CurBtn = wParam, OrigBtn = wParam; - HDC WindowDC = NULL; + MSG Msg; + HDC WindowDC; + BOOL Pressed = TRUE, OldState; + WPARAM SCMsg; + ULONG ButtonType, Style; - Style = GetWindowLongW(hWnd, GWL_STYLE); - switch(wParam) - { - case HTCLOSE: - Btn = DFCS_CAPTIONCLOSE; - SCMsg = SC_CLOSE; - HasBtn = (Style & WS_SYSMENU); - break; - case HTMINBUTTON: - Btn = DFCS_CAPTIONMIN; - SCMsg = ((Style & WS_MINIMIZE) ? SC_RESTORE : SC_MINIMIZE); - HasBtn = (Style & WS_MINIMIZEBOX); - break; - case HTMAXBUTTON: - Btn = DFCS_CAPTIONMAX; - SCMsg = ((Style & WS_MAXIMIZE) ? SC_RESTORE : SC_MAXIMIZE); - HasBtn = (Style & WS_MAXIMIZEBOX); - break; - default: - return; - } + Style = GetWindowLongW(hWnd, GWL_STYLE); + switch (wParam) + { + case HTCLOSE: + if (!(Style & WS_SYSMENU)) + return; + ButtonType = DFCS_CAPTIONCLOSE; + SCMsg = SC_CLOSE; + break; + case HTMINBUTTON: + if (!(Style & WS_MINIMIZEBOX)) + return; + ButtonType = DFCS_CAPTIONMIN; + SCMsg = ((Style & WS_MINIMIZE) ? SC_RESTORE : SC_MINIMIZE); + break; + case HTMAXBUTTON: + if (!(Style & WS_MAXIMIZEBOX)) + return; + ButtonType = DFCS_CAPTIONMAX; + SCMsg = ((Style & WS_MAXIMIZE) ? SC_RESTORE : SC_MAXIMIZE); + break; + + default: + ASSERT(FALSE); + return; + } - InBtn = HasBtn; + /* + * FIXME: Not sure where to do this, but we must flush the pending + * window updates when someone clicks on the close button and at + * the same time the window is overlapped with another one. This + * looks like a good place for now... + */ + UpdateWindow(hWnd); + + WindowDC = GetWindowDC(hWnd); + UserDrawCaptionButtonWnd(hWnd, WindowDC, TRUE, ButtonType); + + SetCapture(hWnd); - SetCapture(hWnd); + for (;;) + { + if (GetMessageW(&Msg, 0, WM_MOUSEFIRST, WM_MOUSELAST) <= 0) + break; + + if (Msg.message == WM_LBUTTONUP) + break; + + if (Msg.message != WM_MOUSEMOVE) + continue; + + OldState = Pressed; + Pressed = (DefWndNCHitTest(hWnd, Msg.pt) == wParam); + if (Pressed != OldState) + UserDrawCaptionButtonWnd(hWnd, WindowDC, Pressed, ButtonType); + } - if(HasBtn) - { - WindowDC = GetWindowDC(hWnd); - UserDrawCaptionButtonWnd(hWnd, WindowDC, HasBtn , Btn); - } - - for(;;) - { - GetMessageW(&Msg, 0, 0, 0); - switch(Msg.message) - { - case WM_LBUTTONUP: - if(InBtn) - goto done; - else - { - ReleaseCapture(); - if (HasBtn) - ReleaseDC(hWnd, WindowDC); - return; - } - case WM_MOUSEMOVE: - if(HasBtn) - { - CurBtn = DefWndNCHitTest(hWnd, Msg.pt); - if(InBtn != (CurBtn == OrigBtn)) - { - UserDrawCaptionButtonWnd( hWnd, WindowDC, (CurBtn == OrigBtn) , Btn); - } - InBtn = CurBtn == OrigBtn; - } - break; - } - } - -done: - UserDrawCaptionButtonWnd( hWnd, WindowDC, FALSE , Btn); - ReleaseDC(hWnd, WindowDC); - ReleaseCapture(); - SendMessageW(hWnd, WM_SYSCOMMAND, SCMsg, 0); - return; + if (Pressed) + UserDrawCaptionButtonWnd(hWnd, WindowDC, FALSE, ButtonType); + ReleaseCapture(); + ReleaseDC(hWnd, WindowDC); + if (Pressed) + SendMessageW(hWnd, WM_SYSCOMMAND, SCMsg, 0); }
19 years, 7 months
1
0
0
0
[navaraf] 14288: Merge from HEAD: r14246
by navaraf@svn.reactos.com
Merge from HEAD: r14246 - Move WINDOWOBJECT_NEED_INTERNALPAINT flag handling to NtGdiBeginPaint. - Fix IntGetPaintMessage to not return TRUE when no message was returned. - IntIsWindowDirty shouldn't check for the WINDOWOBJECT_NEED_NCPAINT flag (at least not now). Modified: branches/ros-branch-0_2_6/reactos/subsys/win32k/ntuser/painting.c _____ Modified: branches/ros-branch-0_2_6/reactos/subsys/win32k/ntuser/painting.c --- branches/ros-branch-0_2_6/reactos/subsys/win32k/ntuser/painting.c 2005-03-23 17:20:48 UTC (rev 14287) +++ branches/ros-branch-0_2_6/reactos/subsys/win32k/ntuser/painting.c 2005-03-23 17:21:36 UTC (rev 14288) @@ -144,16 +144,6 @@ Window->Flags & WINDOWOBJECT_NEED_INTERNALPAINT) { IntSendMessage(hWnd, WM_PAINT, 0, 0); - IntLockWindowUpdate(Window); - if (Window->Flags & WINDOWOBJECT_NEED_INTERNALPAINT) - { - Window->Flags &= ~WINDOWOBJECT_NEED_INTERNALPAINT; - if (Window->UpdateRegion == NULL) - { - MsqDecPaintCountQueue(Window->MessageQueue); - } - } - IntUnLockWindowUpdate(Window); } } } @@ -547,8 +537,7 @@ { return (Window->Style & WS_VISIBLE) && ((Window->UpdateRegion != NULL) || - (Window->Flags & WINDOWOBJECT_NEED_INTERNALPAINT) || - (Window->Flags & WINDOWOBJECT_NEED_NCPAINT)); + (Window->Flags & WINDOWOBJECT_NEED_INTERNALPAINT)); } HWND STDCALL @@ -614,6 +603,10 @@ if (!MessageQueue->PaintPosted) return FALSE; + if ((MsgFilterMin != 0 || MsgFilterMax != 0) && + (MsgFilterMin > WM_PAINT || MsgFilterMax < WM_PAINT)) + return FALSE; + if (hWnd) Message->hwnd = IntFindWindowToRepaint(hWnd, PsGetWin32Thread()); else @@ -635,25 +628,10 @@ Window = IntGetWindowObject(Message->hwnd); if (Window != NULL) { - IntLockWindowUpdate(Window); - - if ((MsgFilterMin == 0 && MsgFilterMax == 0) || - (MsgFilterMin <= WM_PAINT && WM_PAINT <= MsgFilterMax)) - { - Message->message = WM_PAINT; - Message->wParam = Message->lParam = 0; - if (Remove && Window->Flags & WINDOWOBJECT_NEED_INTERNALPAINT) - { - Window->Flags &= ~WINDOWOBJECT_NEED_INTERNALPAINT; - if (Window->UpdateRegion == NULL) - { - MsqDecPaintCountQueue(Window->MessageQueue); - } - } - } - IntUnLockWindowUpdate(Window); - + Message->message = WM_PAINT; + Message->wParam = Message->lParam = 0; IntReleaseWindowObject(Window); + return TRUE; } @@ -779,8 +757,11 @@ } else { + if (Window->Flags & WINDOWOBJECT_NEED_INTERNALPAINT) + MsqDecPaintCountQueue(Window->MessageQueue); IntGetClientRect(Window, &Ps.rcPaint); } + Window->Flags &= ~WINDOWOBJECT_NEED_INTERNALPAINT; IntUnLockWindowUpdate(Window); if (Window->Flags & WINDOWOBJECT_NEED_ERASEBKGND)
19 years, 7 months
1
0
0
0
[navaraf] 14287: Merge from HEAD: r14234
by navaraf@svn.reactos.com
Merge from HEAD: r14234 There's no need to call PropertySheet twice. Modified: branches/ros-branch-0_2_6/reactos/subsys/system/vmwinst/vmwinst.c _____ Modified: branches/ros-branch-0_2_6/reactos/subsys/system/vmwinst/vmwinst.c --- branches/ros-branch-0_2_6/reactos/subsys/system/vmwinst/vmwinst.c 2005-03-23 17:19:52 UTC (rev 14286) +++ branches/ros-branch-0_2_6/reactos/subsys/system/vmwinst/vmwinst.c 2005-03-23 17:20:48 UTC (rev 14287) @@ -1091,9 +1091,6 @@ psh.pszbmHeader = MAKEINTRESOURCE(IDB_HEADER); /* Display the wizard */ - PropertySheet(&psh); - - return (LONG)(PropertySheet(&psh) != -1); }
19 years, 7 months
1
0
0
0
[navaraf] 14286: Merge from HEAD: r14232
by navaraf@svn.reactos.com
Merge from HEAD: r14232 Initialize the "toc" field in the pdb_lookup structure in order to prevent pdb_free_lookup from trying to delete invalid pointers. Modified: branches/ros-branch-0_2_6/reactos/lib/dbghelp/msc.c _____ Modified: branches/ros-branch-0_2_6/reactos/lib/dbghelp/msc.c --- branches/ros-branch-0_2_6/reactos/lib/dbghelp/msc.c 2005-03-23 17:19:36 UTC (rev 14285) +++ branches/ros-branch-0_2_6/reactos/lib/dbghelp/msc.c 2005-03-23 17:19:52 UTC (rev 14286) @@ -2215,6 +2215,7 @@ pdb_lookup.filename = pdb->name; pdb_lookup.kind = PDB_JG; pdb_lookup.u.jg.timestamp = pdb->timestamp; + pdb_lookup.u.jg.toc = NULL; ret = pdb_process_file(pcs, msc_dbg, &pdb_lookup); break; } @@ -2227,6 +2228,7 @@ pdb_lookup.filename = rsds->name; pdb_lookup.kind = PDB_DS; pdb_lookup.u.ds.guid = rsds->guid; + pdb_lookup.u.ds.toc = NULL; ret = pdb_process_file(pcs, msc_dbg, &pdb_lookup); break; }
19 years, 7 months
1
0
0
0
← Newer
1
...
8
9
10
11
12
13
14
...
61
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
Results per page:
10
25
50
100
200