Author: dquintana
Date: Mon Jun 23 23:04:55 2014
New Revision: 63639
URL: http://svn.reactos.org/svn/reactos?rev=63639&view=rev
Log:
[EXPLORER-NEW]
* Disregard the restricted setting and always remove the Search menu from the start menu. When Search is implemented, it can be reenabled.
Modified:
branches/shell-experiments/base/shell/explorer-new/startmnu.c
Modified: branches/shell-experiments/base/shell/explorer-new/startmnu.c
URL: http://svn.reactos.org/svn/reactos/branches/shell-experiments/base/shell/ex…
==============================================================================
--- branches/shell-experiments/base/shell/explorer-new/startmnu.c [iso-8859-1] (original)
+++ branches/shell-experiments/base/shell/explorer-new/startmnu.c [iso-8859-1] Mon Jun 23 23:04:55 2014
@@ -623,7 +623,8 @@
}
/* Search */
- if (SHRestricted(REST_NOFIND))
+ /* FIXME: Enable after implementing */
+ /* if (SHRestricted(REST_NOFIND)) */
{
DeleteMenu(hMenu,
IDM_SEARCH,
Author: dquintana
Date: Mon Jun 23 17:50:11 2014
New Revision: 63634
URL: http://svn.reactos.org/svn/reactos?rev=63634&view=rev
Log:
[RSHELL]
* Notify the focus manager that we are about to open a context menu, so that it doesn't mess with the menu popup.
Modified:
branches/shell-experiments/base/shell/rshell/CMenuBand.cpp
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] Mon Jun 23 17:50:11 2014
@@ -762,8 +762,12 @@
HWND hwnd = m_menuOwner ? m_menuOwner : m_topLevelWindow;
+ m_focusManager->PushTrackedPopup(popup);
+
TRACE("Before Tracking\n");
uCommand = ::TrackPopupMenuEx(popup, TPM_RETURNCMD, x, y, hwnd, NULL);
+
+ m_focusManager->PopTrackedPopup(popup);
if (uCommand != 0)
{
Author: tfaber
Date: Mon Jun 23 15:21:13 2014
New Revision: 63633
URL: http://svn.reactos.org/svn/reactos?rev=63633&view=rev
Log:
[ADVAPI32]
- Do not use the upper byte of RtlRandom's result in RtlGenRandom, since the function only generates 31 bits. Should fix UuidCreate test in rpcrt4:rpc.
Modified:
trunk/reactos/dll/win32/advapi32/misc/sysfunc.c
Modified: trunk/reactos/dll/win32/advapi32/misc/sysfunc.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/advapi32/misc/sy…
==============================================================================
--- trunk/reactos/dll/win32/advapi32/misc/sysfunc.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/advapi32/misc/sysfunc.c [iso-8859-1] Mon Jun 23 15:21:13 2014
@@ -607,9 +607,9 @@
do
{
/* Get each byte from the pseudo random number and store it in the buffer */
- *pBuffer = (BYTE)(uPseudoRandom >> 8 * (dwLen % 4) & 0xFF);
+ *pBuffer = (BYTE)(uPseudoRandom >> 8 * (dwLen % 3) & 0xFF);
++pBuffer;
- } while(--dwLen % 4);
+ } while(--dwLen % 3);
} while(dwLen);
return TRUE;