Author: hyperion
Date: Thu Mar 5 14:30:43 2009
New Revision: 39880
URL: http://svn.reactos.org/svn/reactos?rev=39880&view=rev
Log:
Daring attempt at a file name with non-ASCII characters
Added:
trunk/press-media/presentations/Imaginática 2009/
Author: mkupfer
Date: Thu Mar 5 01:16:25 2009
New Revision: 39878
URL: http://svn.reactos.org/svn/reactos?rev=39878&view=rev
Log:
- Draw bullet for menu radio group with ellipse instead of pie.
- This is a better solution for issue #4193.
- The pie problem remains.
Modified:
trunk/reactos/dll/win32/user32/windows/draw.c
Modified: trunk/reactos/dll/win32/user32/windows/draw.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/user32/windows/d…
==============================================================================
--- trunk/reactos/dll/win32/user32/windows/draw.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/user32/windows/draw.c [iso-8859-1] Thu Mar 5 01:16:25 2009
@@ -1243,7 +1243,6 @@
int i;
HBRUSH hbsave;
HPEN hpsave;
- int xe, ye;
int xc, yc;
BOOL retval = TRUE;
@@ -1270,8 +1269,6 @@
break;
case DFCS_MENUBULLET:
- xe = myr.left;
- ye = myr.top + SmallDiam - SmallDiam/2;
xc = myr.left + SmallDiam - SmallDiam/2;
yc = myr.top + SmallDiam - SmallDiam/2;
i = 234*SmallDiam/750;
@@ -1280,8 +1277,7 @@
myr.right = xc + i/2;
myr.top = yc - i/2;
myr.bottom = yc + i/2;
- // if the start and the end point are equal, Pie() only draws a single line, so start one pixel lower
- Pie(dc, myr.left, myr.top, myr.right, myr.bottom, xe, ye+1, xe, ye);
+ Ellipse(dc, myr.left, myr.top, myr.right, myr.bottom);
break;
case DFCS_MENUCHECK:
Author: arty
Date: Wed Mar 4 20:03:06 2009
New Revision: 39873
URL: http://svn.reactos.org/svn/reactos?rev=39873&view=rev
Log:
Using a lock inside a slab of memory to lock against moving the same memory
is definitely a bug. This fixes it, but the intention of the previous code
might not be what I thought it was. I won't be sad if this fix is reverted
and something else takes its place.
Modified:
trunk/reactos/ntoskrnl/io/pnpmgr/pnpmgr.c
Modified: trunk/reactos/ntoskrnl/io/pnpmgr/pnpmgr.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/io/pnpmgr/pnpmgr.…
==============================================================================
--- trunk/reactos/ntoskrnl/io/pnpmgr/pnpmgr.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/io/pnpmgr/pnpmgr.c [iso-8859-1] Wed Mar 4 20:03:06 2009
@@ -29,6 +29,7 @@
/* DATA **********************************************************************/
PDRIVER_OBJECT IopRootDriverObject;
+FAST_MUTEX IopBusTypeGuidListLock;
PIO_BUS_TYPE_GUID_LIST IopBusTypeGuidList = NULL;
#if defined (ALLOC_PRAGMA)
@@ -279,7 +280,7 @@
PVOID NewList;
/* Acquire the lock */
- ExAcquireFastMutex(&IopBusTypeGuidList->Lock);
+ ExAcquireFastMutex(&IopBusTypeGuidListLock);
/* Loop all entries */
while (i < IopBusTypeGuidList->GuidCount)
@@ -333,7 +334,7 @@
IopBusTypeGuidList->GuidCount++;
Quickie:
- ExReleaseFastMutex(&IopBusTypeGuidList->Lock);
+ ExReleaseFastMutex(&IopBusTypeGuidListLock);
return FoundIndex;
}
@@ -2843,7 +2844,8 @@
DPRINT("PnpInit()\n");
KeInitializeSpinLock(&IopDeviceTreeLock);
-
+ ExInitializeFastMutex(&IopBusTypeGuidListLock);
+
/* Initialize the Bus Type GUID List */
IopBusTypeGuidList = ExAllocatePool(PagedPool, sizeof(IO_BUS_TYPE_GUID_LIST));
if (!IopBusTypeGuidList) {