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
2025
January
2024
December
November
October
September
August
July
June
May
April
March
February
January
2023
December
November
October
September
August
July
June
May
April
March
February
January
2022
December
November
October
September
August
July
June
May
April
March
February
January
2021
December
November
October
September
August
July
June
May
April
March
February
January
2020
December
November
October
September
August
July
June
May
April
March
February
January
2019
December
November
October
September
August
July
June
May
April
March
February
January
2018
December
November
October
September
August
July
June
May
April
March
February
January
2017
December
November
October
September
August
July
June
May
April
March
February
January
2016
December
November
October
September
August
July
June
May
April
March
February
January
2015
December
November
October
September
August
July
June
May
April
March
February
January
2014
December
November
October
September
August
July
June
May
April
March
February
January
2013
December
November
October
September
August
July
June
May
April
March
February
January
2012
December
November
October
September
August
July
June
May
April
March
February
January
2011
December
November
October
September
August
July
June
May
April
March
February
January
2010
December
November
October
September
August
July
June
May
April
March
February
January
2009
December
November
October
September
August
July
June
May
April
March
February
January
2008
December
November
October
September
August
July
June
May
April
March
February
January
2007
December
November
October
September
August
July
June
May
April
March
February
January
2006
December
November
October
September
August
July
June
May
April
March
February
January
2005
December
November
October
September
August
July
June
May
April
March
February
January
2004
December
November
October
September
August
July
June
May
April
March
February
List overview
Download
Ros-diffs
October 2005
----- 2025 -----
January 2025
----- 2024 -----
December 2024
November 2024
October 2024
September 2024
August 2024
July 2024
June 2024
May 2024
April 2024
March 2024
February 2024
January 2024
----- 2023 -----
December 2023
November 2023
October 2023
September 2023
August 2023
July 2023
June 2023
May 2023
April 2023
March 2023
February 2023
January 2023
----- 2022 -----
December 2022
November 2022
October 2022
September 2022
August 2022
July 2022
June 2022
May 2022
April 2022
March 2022
February 2022
January 2022
----- 2021 -----
December 2021
November 2021
October 2021
September 2021
August 2021
July 2021
June 2021
May 2021
April 2021
March 2021
February 2021
January 2021
----- 2020 -----
December 2020
November 2020
October 2020
September 2020
August 2020
July 2020
June 2020
May 2020
April 2020
March 2020
February 2020
January 2020
----- 2019 -----
December 2019
November 2019
October 2019
September 2019
August 2019
July 2019
June 2019
May 2019
April 2019
March 2019
February 2019
January 2019
----- 2018 -----
December 2018
November 2018
October 2018
September 2018
August 2018
July 2018
June 2018
May 2018
April 2018
March 2018
February 2018
January 2018
----- 2017 -----
December 2017
November 2017
October 2017
September 2017
August 2017
July 2017
June 2017
May 2017
April 2017
March 2017
February 2017
January 2017
----- 2016 -----
December 2016
November 2016
October 2016
September 2016
August 2016
July 2016
June 2016
May 2016
April 2016
March 2016
February 2016
January 2016
----- 2015 -----
December 2015
November 2015
October 2015
September 2015
August 2015
July 2015
June 2015
May 2015
April 2015
March 2015
February 2015
January 2015
----- 2014 -----
December 2014
November 2014
October 2014
September 2014
August 2014
July 2014
June 2014
May 2014
April 2014
March 2014
February 2014
January 2014
----- 2013 -----
December 2013
November 2013
October 2013
September 2013
August 2013
July 2013
June 2013
May 2013
April 2013
March 2013
February 2013
January 2013
----- 2012 -----
December 2012
November 2012
October 2012
September 2012
August 2012
July 2012
June 2012
May 2012
April 2012
March 2012
February 2012
January 2012
----- 2011 -----
December 2011
November 2011
October 2011
September 2011
August 2011
July 2011
June 2011
May 2011
April 2011
March 2011
February 2011
January 2011
----- 2010 -----
December 2010
November 2010
October 2010
September 2010
August 2010
July 2010
June 2010
May 2010
April 2010
March 2010
February 2010
January 2010
----- 2009 -----
December 2009
November 2009
October 2009
September 2009
August 2009
July 2009
June 2009
May 2009
April 2009
March 2009
February 2009
January 2009
----- 2008 -----
December 2008
November 2008
October 2008
September 2008
August 2008
July 2008
June 2008
May 2008
April 2008
March 2008
February 2008
January 2008
----- 2007 -----
December 2007
November 2007
October 2007
September 2007
August 2007
July 2007
June 2007
May 2007
April 2007
March 2007
February 2007
January 2007
----- 2006 -----
December 2006
November 2006
October 2006
September 2006
August 2006
July 2006
June 2006
May 2006
April 2006
March 2006
February 2006
January 2006
----- 2005 -----
December 2005
November 2005
October 2005
September 2005
August 2005
July 2005
June 2005
May 2005
April 2005
March 2005
February 2005
January 2005
----- 2004 -----
December 2004
November 2004
October 2004
September 2004
August 2004
July 2004
June 2004
May 2004
April 2004
March 2004
February 2004
ros-diffs@reactos.org
26 participants
737 discussions
Start a n
N
ew thread
[mf] 18518: fix for Bugzilla entry 900 by mrnobo1024 at yahoo.com: don't destroy menus when switching between normal and scientific mode
by mf@svn.reactos.com
fix for Bugzilla entry 900 by mrnobo1024 at
yahoo.com
: don't destroy menus when switching between normal and scientific mode Modified: trunk/reactos/subsys/system/calc/winecalc.c Modified: trunk/reactos/subsys/system/calc/winecalc.h _____ Modified: trunk/reactos/subsys/system/calc/winecalc.c --- trunk/reactos/subsys/system/calc/winecalc.c 2005-10-17 12:44:16 UTC (rev 18517) +++ trunk/reactos/subsys/system/calc/winecalc.c 2005-10-17 12:58:07 UTC (rev 18518) @@ -269,6 +269,7 @@ } DestroyCalc( &calc ); + DestroyMenus(); PostQuitMessage( 0 ); return 0; @@ -2839,6 +2840,12 @@ { int i; + for (i=0;i<calc->numButtons;i++) + DestroyWindow(calc->cb[i].hBtn); +} + +void DestroyMenus() +{ if (menus[MENU_STD] != 0) DestroyMenu(menus[MENU_STD]); @@ -2847,9 +2854,6 @@ if (menus[MENU_SCIWS] != 0) DestroyMenu(menus[MENU_SCIWS]); - - for (i=0;i<calc->numButtons;i++) - DestroyWindow(calc->cb[i].hBtn); } void calc_buffer_format(CALC *calc) { _____ Modified: trunk/reactos/subsys/system/calc/winecalc.h --- trunk/reactos/subsys/system/calc/winecalc.h 2005-10-17 12:44:16 UTC (rev 18517) +++ trunk/reactos/subsys/system/calc/winecalc.h 2005-10-17 12:58:07 UTC (rev 18518) @@ -338,6 +338,7 @@ void InitLuts(void); void InitMenus(HINSTANCE hInst); +void DestroyMenus(); void InitCalc (CALC *calc); void DestroyCalc (CALC *calc);
19 years, 2 months
1
0
0
0
[cwittich] 18517: fixed "index out of range"
by cwittich@svn.reactos.com
fixed "index out of range" Modified: trunk/reactos/subsys/system/welcome/welcome.c _____ Modified: trunk/reactos/subsys/system/welcome/welcome.c --- trunk/reactos/subsys/system/welcome/welcome.c 2005-10-17 12:41:52 UTC (rev 18516) +++ trunk/reactos/subsys/system/welcome/welcome.c 2005-10-17 12:44:16 UTC (rev 18517) @@ -566,7 +566,7 @@ 0, SRCCOPY); } - else if (hTopicBitmap[nTopic] != 0) + else if ((nTopic != -1) && (hTopicBitmap[nTopic] != 0)) { GetObject(hTopicBitmap[nTopic], sizeof(BITMAP), &bmpInfo); hOldBitmap = SelectObject (hdcMem, hTopicBitmap[nTopic]);
19 years, 2 months
1
0
0
0
[mf] 18516: fix a few taskbar context menu bugs including Bugzilla entry 720
by mf@svn.reactos.com
fix a few taskbar context menu bugs including Bugzilla entry 720 Modified: trunk/reactos/subsys/system/explorer/taskbar/taskbar.cpp Modified: trunk/reactos/subsys/system/explorer/taskbar/taskbar.h _____ Modified: trunk/reactos/subsys/system/explorer/taskbar/taskbar.cpp --- trunk/reactos/subsys/system/explorer/taskbar/taskbar.cpp 2005-10-17 12:23:19 UTC (rev 18515) +++ trunk/reactos/subsys/system/explorer/taskbar/taskbar.cpp 2005-10-17 12:41:52 UTC (rev 18516) @@ -194,7 +194,7 @@ Point pt(lparam); ScreenToClient(_htoolbar, &pt); - if ((HWND)wparam==_htoolbar && SendMessage(_htoolbar, TB_HITTEST, 0, (LPARAM)&pt)>0) + if ((HWND)wparam==_htoolbar && SendMessage(_htoolbar, TB_HITTEST, 0, (LPARAM)&pt)>=0) break; // avoid displaying context menu for application button _and_ desktop bar at the same time goto def;} @@ -258,7 +258,7 @@ (it=_map.find_id(btninfo.idCommand))!=_map.end()) { //TaskBarEntry& entry = it->second; - ActivateApp(it, false); + ActivateApp(it, false, false); // don't restore minimized windows on right button click #ifndef __MINGW32__ // SHRestricted() missing in MinGW (as of 29.10.2003) static DynamicFct<DWORD(STDAPICALLTYPE*)(RESTRICTIONS)> pSHRestricted(TEXT("SHELL32"), "SHRestricted"); @@ -277,7 +277,7 @@ } -void TaskBar::ActivateApp(TaskBarMap::iterator it, bool can_minimize) +void TaskBar::ActivateApp(TaskBarMap::iterator it, bool can_minimize, bool can_restore) { HWND hwnd = it->first; @@ -285,7 +285,7 @@ (hwnd==GetForegroundWindow() || hwnd==_last_foreground_wnd); // switch to selected application window - if (!minimize_it) + if (can_restore && !minimize_it) if (IsIconic(hwnd)) PostMessage(hwnd, WM_SYSCOMMAND, SC_RESTORE, 0); @@ -312,8 +312,10 @@ GetCursorPos(&pt); int cmd = TrackPopupMenu(hmenu, TPM_LEFTBUTTON|TPM_RIGHTBUTTON|TPM_RETURNCMD, pt.x, pt.y, 0, _hwnd, NULL); - if (cmd) + if (cmd) { + ActivateApp(it, false, false); // reactivate window after the context menu has closed PostMessage(it->first, WM_SYSCOMMAND, cmd, 0); + } } } _____ Modified: trunk/reactos/subsys/system/explorer/taskbar/taskbar.h --- trunk/reactos/subsys/system/explorer/taskbar/taskbar.h 2005-10-17 12:23:19 UTC (rev 18515) +++ trunk/reactos/subsys/system/explorer/taskbar/taskbar.h 2005-10-17 12:41:52 UTC (rev 18516) @@ -94,7 +94,7 @@ int Command(int id, int code); int Notify(int id, NMHDR* pnmh); - void ActivateApp(TaskBarMap::iterator it, bool can_minimize=true); + void ActivateApp(TaskBarMap::iterator it, bool can_minimize=true, bool can_restore=true); void ShowAppSystemMenu(TaskBarMap::iterator it); static BOOL CALLBACK EnumWndProc(HWND hwnd, LPARAM lparam);
19 years, 2 months
1
0
0
0
[cwittich] 18515: removed HeapFree because of unexpected behaviour
by cwittich@svn.reactos.com
removed HeapFree because of unexpected behaviour Modified: trunk/reactos/subsys/system/regedit/listview.c _____ Modified: trunk/reactos/subsys/system/regedit/listview.c --- trunk/reactos/subsys/system/regedit/listview.c 2005-10-17 12:07:49 UTC (rev 18514) +++ trunk/reactos/subsys/system/regedit/listview.c 2005-10-17 12:23:19 UTC (rev 18515) @@ -242,7 +242,6 @@ break; } } - HeapFree(GetProcessHeap(), 0, linfo); } static BOOL CreateListColumns(HWND hWndListView)
19 years, 2 months
1
0
0
0
[mf] 18514: remove some unused special handling code and comments
by mf@svn.reactos.com
remove some unused special handling code and comments Modified: trunk/reactos/subsys/system/explorer/utility/window.cpp Modified: trunk/reactos/subsys/system/explorer/utility/window.h _____ Modified: trunk/reactos/subsys/system/explorer/utility/window.cpp --- trunk/reactos/subsys/system/explorer/utility/window.cpp 2005-10-17 12:04:26 UTC (rev 18513) +++ trunk/reactos/subsys/system/explorer/utility/window.cpp 2005-10-17 12:07:49 UTC (rev 18514) @@ -277,15 +277,6 @@ LRESULT Window::WndProc(UINT nmsg, WPARAM wparam, LPARAM lparam) { -/**@todo: replaced by StartMenu::TrackStartmenu() - HWND hwnd = _hwnd; - - // close startup menu and other popup menus - // This functionality is for tray notification icons missing in MS Windows. - if (nmsg == WM_SETFOCUS) - CancelModes((HWND)wparam); // erronesly cancels desktop bar resize when switching from another process -*/ - return DefWindowProc(_hwnd, nmsg, wparam, lparam); } @@ -299,12 +290,9 @@ return 0; } -void Window::CancelModes(HWND hwnd) +void Window::CancelModes() { - if (hwnd) - PostMessage(hwnd, WM_CANCELMODE, 0, 0); - else - PostMessage(HWND_BROADCAST, WM_CANCELMODE, 0, 0); + PostMessage(HWND_BROADCAST, WM_CANCELMODE, 0, 0); } @@ -352,12 +340,6 @@ LRESULT SubclassedWindow::WndProc(UINT nmsg, WPARAM wparam, LPARAM lparam) { -/**@todo: replaced by StartMenu::TrackStartmenu() - // close startup menu and other popup menus - // This functionality is for tray notification icons missing in MS Windows. - if (nmsg == WM_SETFOCUS) - CancelModes((HWND)wparam); -*/ return CallWindowProc(_orgWndProc, _hwnd, nmsg, wparam, lparam); } _____ Modified: trunk/reactos/subsys/system/explorer/utility/window.h --- trunk/reactos/subsys/system/explorer/utility/window.h 2005-10-17 12:04:26 UTC (rev 18513) +++ trunk/reactos/subsys/system/explorer/utility/window.h 2005-10-17 12:07:49 UTC (rev 18514) @@ -102,7 +102,7 @@ LRESULT SendParent(UINT nmsg, WPARAM wparam=0, LPARAM lparam=0); LRESULT PostParent(UINT nmsg, WPARAM wparam=0, LPARAM lparam=0); - static void CancelModes(HWND hwnd=0); + static void CancelModes(); protected:
19 years, 2 months
1
0
0
0
[cwittich] 18513: fix compile with gcc
by cwittich@svn.reactos.com
fix compile with gcc now it compiles with gcc && msvc Modified: trunk/reactos/w32api/include/objsel.h _____ Modified: trunk/reactos/w32api/include/objsel.h --- trunk/reactos/w32api/include/objsel.h 2005-10-17 12:02:31 UTC (rev 18512) +++ trunk/reactos/w32api/include/objsel.h 2005-10-17 12:04:26 UTC (rev 18513) @@ -25,8 +25,10 @@ #include <oaidl.h> #include <objidl.h> +#if defined (_MSC_VER) #define INITGUID #include <initguid.h> +#endif DEFINE_GUID(CLSID_DsObjectPicker, 0x17d6ccd8, 0x3b7b, 0x11d2, 0x00b9, 0xe0,0x00,0xc0,0x4f,0xd8,0xdb,0xf7); DEFINE_GUID(IID_IDsObjectPicker, 0x0c87e64e, 0x3b7a, 0x11d2, 0x00b9, 0xe0,0x00,0xc0,0x4f,0xd8,0xdb,0xf7);
19 years, 2 months
1
0
0
0
[hpoussin] 18512: Add PCI_WHICHSPACE_CONFIG and PCI_WHICHSPACE_ROM constants
by hpoussin@svn.reactos.com
Add PCI_WHICHSPACE_CONFIG and PCI_WHICHSPACE_ROM constants Modified: trunk/reactos/w32api/include/ddk/winddk.h _____ Modified: trunk/reactos/w32api/include/ddk/winddk.h --- trunk/reactos/w32api/include/ddk/winddk.h 2005-10-17 11:49:36 UTC (rev 18511) +++ trunk/reactos/w32api/include/ddk/winddk.h 2005-10-17 12:02:31 UTC (rev 18512) @@ -3402,6 +3402,11 @@ #define SL_INVOKE_ON_SUCCESS 0x40 #define SL_INVOKE_ON_ERROR 0x80 +/* IO_STACK_LOCATION.Parameters.ReadWriteControl.WhichSpace */ + +#define PCI_WHICHSPACE_CONFIG 0x0 +#define PCI_WHICHSPACE_ROM 0x52696350 /* 'PciR' */ + typedef enum _KEY_INFORMATION_CLASS { KeyBasicInformation, KeyNodeInformation,
19 years, 2 months
1
0
0
0
[cwittich] 18511: added missing HEAP_ZERO_MEMORY
by cwittich@svn.reactos.com
added missing HEAP_ZERO_MEMORY added missing HeapFree Modified: trunk/reactos/subsys/system/regedit/childwnd.c Modified: trunk/reactos/subsys/system/regedit/listview.c _____ Modified: trunk/reactos/subsys/system/regedit/childwnd.c --- trunk/reactos/subsys/system/regedit/childwnd.c 2005-10-17 11:10:11 UTC (rev 18510) +++ trunk/reactos/subsys/system/regedit/childwnd.c 2005-10-17 11:49:36 UTC (rev 18511) @@ -270,7 +270,8 @@ /* load "My Computer" string */ LoadString(hInst, IDS_MY_COMPUTER, buffer, sizeof(buffer)/sizeof(TCHAR)); - g_pChildWnd = pChildWnd = HeapAlloc(GetProcessHeap(), 0, sizeof(ChildWnd)); + g_pChildWnd = pChildWnd = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(ChildWnd)); + if (!pChildWnd) return 0; _tcsncpy(pChildWnd->szPath, buffer, MAX_PATH); pChildWnd->nSplitPos = 250; _____ Modified: trunk/reactos/subsys/system/regedit/listview.c --- trunk/reactos/subsys/system/regedit/listview.c 2005-10-17 11:10:11 UTC (rev 18510) +++ trunk/reactos/subsys/system/regedit/listview.c 2005-10-17 11:49:36 UTC (rev 18511) @@ -242,6 +242,7 @@ break; } } + HeapFree(GetProcessHeap(), 0, linfo); } static BOOL CreateListColumns(HWND hWndListView)
19 years, 2 months
1
0
0
0
[cwittich] 18510: fix regedit to compile with MSVC
by cwittich@svn.reactos.com
fix regedit to compile with MSVC Modified: trunk/reactos/subsys/system/regedit/framewnd.c Modified: trunk/reactos/subsys/system/regedit/regproc.c Modified: trunk/reactos/subsys/system/regedit/treeview.c _____ Modified: trunk/reactos/subsys/system/regedit/framewnd.c --- trunk/reactos/subsys/system/regedit/framewnd.c 2005-10-17 11:09:35 UTC (rev 18509) +++ trunk/reactos/subsys/system/regedit/framewnd.c 2005-10-17 11:10:11 UTC (rev 18510) @@ -28,6 +28,7 @@ #include <shellapi.h> #include <objsel.h> #include <objbase.h> +#include <ole2.h> #include "main.h" #include "regproc.h" _____ Modified: trunk/reactos/subsys/system/regedit/regproc.c --- trunk/reactos/subsys/system/regedit/regproc.c 2005-10-17 11:09:35 UTC (rev 18509) +++ trunk/reactos/subsys/system/regedit/regproc.c 2005-10-17 11:10:11 UTC (rev 18510) @@ -23,6 +23,7 @@ #include <limits.h> #include <stdio.h> #include <ctype.h> +#include <stdlib.h> #include <windows.h> #include <winnt.h> #include <winreg.h> _____ Modified: trunk/reactos/subsys/system/regedit/treeview.c --- trunk/reactos/subsys/system/regedit/treeview.c 2005-10-17 11:09:35 UTC (rev 18509) +++ trunk/reactos/subsys/system/regedit/treeview.c 2005-10-17 11:10:11 UTC (rev 18510) @@ -124,7 +124,11 @@ tvi.iSelectedImage = Image_Open; tvi.cChildren = dwChildren; tvi.lParam = (LPARAM)hKey; +#if defined(__MINGW32__) tvins.u.item = tvi; +#else + tvins.item = tvi; +#endif tvins.hInsertAfter = (HTREEITEM)(hKey ? TVI_LAST : TVI_FIRST); tvins.hParent = hParent; return TreeView_InsertItem(hwndTV, &tvins); @@ -362,7 +366,11 @@ tvi.cChildren = 5; /* Save the heading level in the item's application-defined data area. */ tvi.lParam = (LPARAM)NULL; - tvins.u.item = tvi; +#if defined(__MINGW32__) + tvins.u.item = tvi; +#else + tvins.item = tvi; +#endif tvins.hInsertAfter = (HTREEITEM)TVI_FIRST; tvins.hParent = TVI_ROOT; /* Add the item to the tree view control. */
19 years, 2 months
1
0
0
0
[cwittich] 18509: fix some headers to compile with MSVC
by cwittich@svn.reactos.com
fix some headers to compile with MSVC Modified: trunk/reactos/w32api/include/excpt.h Modified: trunk/reactos/w32api/include/objsel.h _____ Modified: trunk/reactos/w32api/include/excpt.h --- trunk/reactos/w32api/include/excpt.h 2005-10-17 11:03:30 UTC (rev 18508) +++ trunk/reactos/w32api/include/excpt.h 2005-10-17 11:09:35 UTC (rev 18509) @@ -14,8 +14,10 @@ #ifndef _EXCPT_H_ #define _EXCPT_H_ -/* All the headers include this file. */ +/* All the headers include this file. */ +#if defined(__MINGW32__) #include <_mingw.h> +#endif #include <windef.h> _____ Modified: trunk/reactos/w32api/include/objsel.h --- trunk/reactos/w32api/include/objsel.h 2005-10-17 11:03:30 UTC (rev 18508) +++ trunk/reactos/w32api/include/objsel.h 2005-10-17 11:09:35 UTC (rev 18509) @@ -22,7 +22,12 @@ #endif #include <unknwn.h> +#include <oaidl.h> +#include <objidl.h> +#define INITGUID +#include <initguid.h> + DEFINE_GUID(CLSID_DsObjectPicker, 0x17d6ccd8, 0x3b7b, 0x11d2, 0x00b9, 0xe0,0x00,0xc0,0x4f,0xd8,0xdb,0xf7); DEFINE_GUID(IID_IDsObjectPicker, 0x0c87e64e, 0x3b7a, 0x11d2, 0x00b9, 0xe0,0x00,0xc0,0x4f,0xd8,0xdb,0xf7);
19 years, 2 months
1
0
0
0
← Newer
1
...
38
39
40
41
42
43
44
...
74
Older →
Jump to page:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
Results per page:
10
25
50
100
200