reactos.git
13 years ago[CSRSRV], [WIN32CSR]
Jeffrey Morlan [Sat, 22 May 2010 23:47:54 +0000 (23:47 +0000)]
[CSRSRV], [WIN32CSR]
- Move code for managing console handles from csrsrv to win32csr, where the rest of the console code is. No changes in functionality intended.
- Unify the csrsrv->win32csr callbacks (now numbering 4) into one table to avoid excessive code duplication.

svn path=/trunk/; revision=47314

13 years ago[WIN32CSR] Make CsrFreeConsole close the process's console handles.
Jeffrey Morlan [Sat, 22 May 2010 21:40:20 +0000 (21:40 +0000)]
[WIN32CSR] Make CsrFreeConsole close the process's console handles.

svn path=/trunk/; revision=47313

13 years ago[INTL]
Eric Kohl [Sat, 22 May 2010 20:27:14 +0000 (20:27 +0000)]
[INTL]
Translation for entries added by r47298.
Patch by Radek Liska. Fixes bug #5416.

svn path=/trunk/; revision=47312

13 years ago[DEVMGR]
Eric Kohl [Sat, 22 May 2010 20:10:52 +0000 (20:10 +0000)]
[DEVMGR]
devman.dll improvements by Viliam Lejcik:

- display version info for selected driver file in 'Driver File Details' dialog
- resource modification - changed some labels to read-only editboxes

Fixes bug #4875.

svn path=/trunk/; revision=47311

13 years ago[HIVESYS.INF]
Cameron Gutman [Sat, 22 May 2010 18:34:54 +0000 (18:34 +0000)]
[HIVESYS.INF]
- Enable kmtest

svn path=/trunk/; revision=47310

13 years ago[KMTEST]
Cameron Gutman [Sat, 22 May 2010 18:34:01 +0000 (18:34 +0000)]
[KMTEST]
- Add support for recovering from crashed tests
- Add check to prevent us from running the test every boot
- Delete some useless code
- Record test result information in the registry
- Under the Kmtest\Parameters key, you will find CurrentStage which is the stage that testing is on (almost always 8 if it boots). You will also find <Test Name>SuccessCount which is the number of successful tests, <Test Name>FailureCount which is the number of failed tests, <Test Name>TotalCount which is the total number of tests, and <Test Name>SkippedCount which is the number of tests that have been skipped
- Enjoy your reg testing! :)

svn path=/trunk/; revision=47309

13 years ago[NTOSKRNL]
Cameron Gutman [Sat, 22 May 2010 16:12:59 +0000 (16:12 +0000)]
[NTOSKRNL]
- Print a warning instead of crashing when a driver provides a NULL pointer in the MajorFunction array

svn path=/trunk/; revision=47308

13 years ago[NTOSKRNL]
Cameron Gutman [Sat, 22 May 2010 16:03:25 +0000 (16:03 +0000)]
[NTOSKRNL]
- Free the string buffer after the DPRINT1 that prints the contents of the string
- Fixes debug print corruption found by kmtest

svn path=/trunk/; revision=47307

13 years ago[REACTOS.DFF]
Cameron Gutman [Sat, 22 May 2010 15:28:23 +0000 (15:28 +0000)]
[REACTOS.DFF]
- Add kmtest.sys and kmtestassist.sys to bootcd (optional)

svn path=/trunk/; revision=47306

13 years ago[SHELL32]
Gregor Schneider [Sat, 22 May 2010 15:16:14 +0000 (15:16 +0000)]
[SHELL32]
- Duplicate the string instead of freeing the memory twice at two different positions
- Fixes a heap warning when stating cmd from the desktop
See issue #4924 for more details.

svn path=/trunk/; revision=47305

13 years ago[INTL]
Gabriel Ilardi [Sat, 22 May 2010 10:49:28 +0000 (10:49 +0000)]
[INTL]
Translate 'Metric' and 'Imperial' strings into Italian and Spanish.

svn path=/trunk/; revision=47299

13 years ago[INTL]
Eric Kohl [Sat, 22 May 2010 10:20:56 +0000 (10:20 +0000)]
[INTL]
- Replace hard-coded unit strings ('Metric' and 'Imperial') by resource strings.
- Add the required resource strings to all supported languages.
- Translators: Please translate these strings.

svn path=/trunk/; revision=47298

13 years ago[WIN32K]
Timo Kreuzer [Sat, 22 May 2010 02:42:38 +0000 (02:42 +0000)]
[WIN32K]
Remove WS_EX_SETANSICREATOR from Ex style in co_IntCreateWindowEx

svn path=/trunk/; revision=47297

13 years ago[USER32]
Timo Kreuzer [Sat, 22 May 2010 02:32:28 +0000 (02:32 +0000)]
[USER32]
Fix uninitialized variable

svn path=/trunk/; revision=47296

13 years ago[WIN32K / USER32]
Timo Kreuzer [Sat, 22 May 2010 01:05:31 +0000 (01:05 +0000)]
[WIN32K / USER32]
Convert the window text string from UNICODE_STRING to LARGE_STRING and fix NtUserCreateWindowEx parameters. We currently still pass UNICODE only LARGE_STRINGs, as the rest of the code in win32k expects this.
Fixes display of large text windows, like the winzip license.
See issue #2900 for more details.

svn path=/trunk/; revision=47295

13 years ago[IPHLPAPI]
Cameron Gutman [Fri, 21 May 2010 20:17:35 +0000 (20:17 +0000)]
[IPHLPAPI]
- Fix some code left over from a previous attempt

svn path=/trunk/; revision=47294

13 years ago[DHCPCSVC]
Cameron Gutman [Fri, 21 May 2010 20:16:48 +0000 (20:16 +0000)]
[DHCPCSVC]
- Remove the unused include folder

svn path=/trunk/; revision=47293

13 years ago[DHCP/DHCPCSVC]
Cameron Gutman [Fri, 21 May 2010 20:14:56 +0000 (20:14 +0000)]
[DHCP/DHCPCSVC]
- Restore the SVN history
- Part 3 of 3 (hopefully)

svn path=/trunk/; revision=47292

13 years ago[DHCP]
Cameron Gutman [Fri, 21 May 2010 19:30:13 +0000 (19:30 +0000)]
[DHCP]
- Restore SVN history
- Part 2 of x

svn path=/trunk/; revision=47291

13 years ago[DHCPCSVC]
Cameron Gutman [Fri, 21 May 2010 19:22:09 +0000 (19:22 +0000)]
[DHCPCSVC]
- Restore SVN history
- Part 1 of x

svn path=/trunk/; revision=47290

13 years agoDHCPCSVC]
Cameron Gutman [Fri, 21 May 2010 06:08:15 +0000 (06:08 +0000)]
DHCPCSVC]
- Move code from dhcp to dhcpcsvc
- Export ServiceMain from dhcpcsvc
- Now our DHCP service is compatible with the Windows architecture
[DHCP]
- Remove dhcp from build
[IPHLPAPI]
- Use dhcpcsvc APIs to control the DHCP service
- Add a missing DhcpCApiInitialize
- Fix include path in the rbuild file
[BOOTDATA]
- Add DHCP to the service list to be loaded by svchost in the netsvcs group
- Add the correct registry keys in the DHCP service key for loading by svchost
- Remove dhcp.exe from bootcd

- Part 3 of 3

svn path=/trunk/; revision=47288

13 years ago[DHCP]
Cameron Gutman [Fri, 21 May 2010 05:57:05 +0000 (05:57 +0000)]
[DHCP]
- Delete the old DHCP service
- Part 2 of x

svn path=/trunk/; revision=47287

13 years ago[DHCP]
Cameron Gutman [Fri, 21 May 2010 05:44:35 +0000 (05:44 +0000)]
[DHCP]
- Delete the old dhcp service
- Part 1 of x

svn path=/trunk/; revision=47286

13 years ago[win32k]
Michael Martin [Thu, 20 May 2010 21:45:15 +0000 (21:45 +0000)]
[win32k]
- Move the initialization of MasterTimer into InitInputImp which is called from win32k DriverEntry routine instead of initializing it in the secondary thread RawInputThreadMain.

svn path=/trunk/; revision=47285

13 years ago[win32k]
Michael Martin [Thu, 20 May 2010 21:07:53 +0000 (21:07 +0000)]
[win32k]
- Set MasterTimer initial value to NULL and Initialize MasterTimer at the beginning of RawInputThreadMain before doing anything else.
- Add ASSERTs to catch if MasterTimer is NULL.

svn path=/trunk/; revision=47284

13 years ago[win32k]
Giannis Adamopoulos [Thu, 20 May 2010 12:25:50 +0000 (12:25 +0000)]
[win32k]
-Remove an incorrect debug message and silence one

svn path=/trunk/; revision=47283

13 years ago[WIN32CSR]
Timo Kreuzer [Wed, 19 May 2010 22:15:49 +0000 (22:15 +0000)]
[WIN32CSR]
Silence a debugprint

svn path=/trunk/; revision=47282

13 years ago[win32k]
Giannis Adamopoulos [Wed, 19 May 2010 19:08:25 +0000 (19:08 +0000)]
[win32k]
-Correctly adjust values returned from co_WinPosGetMinMaxInfo

svn path=/trunk/; revision=47281

13 years ago[win32k]
Giannis Adamopoulos [Wed, 19 May 2010 18:47:39 +0000 (18:47 +0000)]
[win32k]
-Sync co_WinPosGetMinMaxInfo with wine

svn path=/trunk/; revision=47280

13 years ago[userenv]
Gabriel Ilardi [Wed, 19 May 2010 12:53:03 +0000 (12:53 +0000)]
[userenv]
german translation of sendto
Patch by Egon Ashrafinia
See issue #5411 for more details.

svn path=/trunk/; revision=47277

13 years ago[userenv]
Gabriel Ilardi [Wed, 19 May 2010 12:03:41 +0000 (12:03 +0000)]
[userenv]
- Fix Italian commonfiles
- Fix a typo and some Spanish environment variables

svn path=/trunk/; revision=47276

13 years ago[win32k]
Giannis Adamopoulos [Wed, 19 May 2010 11:50:21 +0000 (11:50 +0000)]
[win32k]
-Store the monitor work area in the monitor and not in the desktop

svn path=/trunk/; revision=47275

13 years ago[win32k]
Giannis Adamopoulos [Wed, 19 May 2010 09:18:24 +0000 (09:18 +0000)]
[win32k]
-WM_WINDOWPOSCHANGED should contain the final window position

svn path=/trunk/; revision=47273

13 years ago[QMGR]
Cameron Gutman [Tue, 18 May 2010 22:48:09 +0000 (22:48 +0000)]
[QMGR]
- Add the FLG_ADDREG_APPEND flag when writing the netsvcs value because, unlike WINE, we are actually going to have values in there

svn path=/trunk/; revision=47268

13 years ago[SETUPAPI]
Cameron Gutman [Tue, 18 May 2010 22:43:02 +0000 (22:43 +0000)]
[SETUPAPI]
- Fix an incorrect length value that corrupted REG_MULTI_SZ values when they had strings appended
- I'm not sure if this is synced with WINE, but if it is, they need this patch too

svn path=/trunk/; revision=47267

13 years agoAdd SvcHost registry entries.
Sylvain Petreolle [Tue, 18 May 2010 22:35:00 +0000 (22:35 +0000)]
Add SvcHost registry entries.

svn path=/trunk/; revision=47266

13 years ago[REGEDIT]
Gregor Schneider [Tue, 18 May 2010 17:40:38 +0000 (17:40 +0000)]
[REGEDIT]
- Japanese resource fix by Katayama Hirofumi
- Adopt making the abort search button default for all languages
See issue #5409 for more details.

svn path=/trunk/; revision=47265

13 years ago[Win32k]
Giannis Adamopoulos [Tue, 18 May 2010 09:01:08 +0000 (09:01 +0000)]
[Win32k]
- Rename co_InflateRect to RECTL_vInflateRect and move it to rect.c
- Sync WinPosFillMinMaxInfoStruct with wine
Fixes some user32:win tests

svn path=/trunk/; revision=47264

13 years ago[Kernel32]
Michael Martin [Tue, 18 May 2010 06:34:48 +0000 (06:34 +0000)]
[Kernel32]
- Implement UTF7 Support. Patch by Katayama Hirofumi.

svn path=/trunk/; revision=47263

13 years ago[QMGR]
Cameron Gutman [Tue, 18 May 2010 01:23:57 +0000 (01:23 +0000)]
[QMGR]
- Don't bulldoze our netsvcs key to install a service that doesn't even work yet

svn path=/trunk/; revision=47262

13 years ago[USER32]
Timo Kreuzer [Mon, 17 May 2010 22:56:24 +0000 (22:56 +0000)]
[USER32]
Patch by Benedikt Freisen: Fix wrong vertical position when painting 3D bottom line in menus.

See issue #4906 for more details.

svn path=/trunk/; revision=47260

13 years ago[USER32_WINETEST]
Timo Kreuzer [Mon, 17 May 2010 22:45:28 +0000 (22:45 +0000)]
[USER32_WINETEST]
skip TrackPopupMenu, which leads to a hang on reactos

See issue #5405 for more details.

svn path=/trunk/; revision=47259

13 years agoAssign remaining services to the LocalSystem account.
Eric Kohl [Mon, 17 May 2010 20:21:27 +0000 (20:21 +0000)]
Assign remaining services to the LocalSystem account.

svn path=/trunk/; revision=47256

13 years ago[WIN32CSR]
Gregor Schneider [Mon, 17 May 2010 18:43:21 +0000 (18:43 +0000)]
[WIN32CSR]
- Fix a FIXME: convert ASCII char to Unicode char with input codepage
- Rename define parameters to make sense (prefix s - source, d - destination)

svn path=/trunk/; revision=47255

13 years ago[HAL]
Timo Kreuzer [Mon, 17 May 2010 14:52:00 +0000 (14:52 +0000)]
[HAL]
comment out some amd64 specific stuff from rbuild files.

svn path=/trunk/; revision=47254

13 years ago[regedit]
Michael Martin [Mon, 17 May 2010 12:31:06 +0000 (12:31 +0000)]
[regedit]
- Woops, forgot to change the messages to use resource files instead. Thanks Gregor Schneider.

svn path=/trunk/; revision=47252

13 years ago[regedit]
Michael Martin [Mon, 17 May 2010 02:15:50 +0000 (02:15 +0000)]
[regedit]
- If a search was never done, show the find dialog when pressing F3. Patch by Radek Liska.  See Bug #5391.
- Return the result of the FindNext and if it is false inform the user that search is complete.

svn path=/trunk/; revision=47251

13 years ago[win32k]
Michael Martin [Mon, 17 May 2010 00:01:26 +0000 (00:01 +0000)]
[win32k]
- Check that the thread is not in cleanup before attempting to do anything related to it. Add a couple asserts for sanity.

svn path=/trunk/; revision=47249

13 years ago[ReactOS-arm.rbuild]
Timo Kreuzer [Sun, 16 May 2010 23:07:44 +0000 (23:07 +0000)]
[ReactOS-arm.rbuild]
- add newinflib to arm builds

svn path=/trunk/; revision=47248

13 years ago[KERNEL32]
Timo Kreuzer [Sun, 16 May 2010 22:24:26 +0000 (22:24 +0000)]
[KERNEL32]
Protect GlobalLock, GlobalUnlock and GlobalSize with SEH, use IsBadReadPtr in GlobalLock. Inspired by wine code. Fixes user32_winetest dde crash.

svn path=/trunk/; revision=47246

13 years agoTranslate Common files for french as well.
Sylvain Petreolle [Sun, 16 May 2010 14:08:04 +0000 (14:08 +0000)]
Translate Common files for french as well.

svn path=/trunk/; revision=47243

13 years agoTranslate "Common Files" string. Fixes a partially translated environment variable.
Eric Kohl [Sun, 16 May 2010 13:57:04 +0000 (13:57 +0000)]
Translate "Common Files" string. Fixes a partially translated environment variable.

svn path=/trunk/; revision=47242

13 years ago[RBUILD]
Christoph von Wittich [Sun, 16 May 2010 13:33:52 +0000 (13:33 +0000)]
[RBUILD]
close <Project> tag in generated vcxproj files
(VS2010 support still incomplete)
See issue #5199 for more details.

svn path=/trunk/; revision=47241

13 years agoUpdate:
Daniel Reimer [Sun, 16 May 2010 12:44:22 +0000 (12:44 +0000)]
Update:
DosBox to 0.74, Mirror of FireFox 2, IrfanView to 4.27, RosBE to 1.5.1, uTorrent to 2.0.2.

svn path=/trunk/; revision=47240

13 years ago[user32]
Giannis Adamopoulos [Sun, 16 May 2010 09:32:51 +0000 (09:32 +0000)]
[user32]
-CreateWindow should fail when called with WS_EX_MDICHILD and the specified parent is not an mdiclient

svn path=/trunk/; revision=47238

13 years ago[win32]
Giannis Adamopoulos [Sun, 16 May 2010 09:26:35 +0000 (09:26 +0000)]
[win32]
-Call HCBT_CREATEWND, WM_NCCREATE and WM_CREATE with correct style and position
-Fixes some user32:win tests

svn path=/trunk/; revision=47237

13 years ago[user32_winetest]
Giannis Adamopoulos [Sun, 16 May 2010 08:09:19 +0000 (08:09 +0000)]
[user32_winetest]
-deactivate a test that hangs

svn path=/trunk/; revision=47236

13 years ago[kernel32]
Giannis Adamopoulos [Sun, 16 May 2010 07:03:03 +0000 (07:03 +0000)]
[kernel32]
-OpenConsoleW: Don't crash when wsName is null

svn path=/trunk/; revision=47235

13 years ago[AFD]
Cameron Gutman [Sun, 16 May 2010 05:22:51 +0000 (05:22 +0000)]
[AFD]
- Fix a typo in r47156
- Fixes Firefox regression (bug 5384)
- Thanks to mjmartin for testing

svn path=/trunk/; revision=47234

13 years ago[regedit]
Michael Martin [Sun, 16 May 2010 04:57:24 +0000 (04:57 +0000)]
[regedit]
- Implement RegFindRecurse, RegFindWalk and helpers to find registry keys. Remove RegNextKey as its no longer used. Other misc fixes. Fixes searching in regedit. Patch by Katayama_Hirofumi.

svn path=/trunk/; revision=47233

13 years ago[KERNEL32]
Timo Kreuzer [Sun, 16 May 2010 00:30:11 +0000 (00:30 +0000)]
[KERNEL32]
- SwitchToFiber: instead of doing a ret to the return address on the stack (which wouldn't work for a newly created fiber) store the returnaddress in the Eip field old fiber context and do a jmp to the Eip of the new fiber.
- BasepInitializeContext: set the Eip member of the Context to BaseFiberStartup for fibers
CreateFiberEx: initialize the fiber context, instead of an unused context on the stack.
- BaseFiberStartup: Use GetCurrentFiber, not GetFiberData to get the current fiber.
Fixes kernel32_wintest fiber

svn path=/trunk/; revision=47232

13 years ago[NDK]
Timo Kreuzer [Sun, 16 May 2010 00:24:07 +0000 (00:24 +0000)]
[NDK]
Add FIBER_CONTEXT_EIP constant

svn path=/trunk/; revision=47231

13 years agoRemove incorrect reference to winsock.h.
Sylvain Petreolle [Sat, 15 May 2010 22:44:31 +0000 (22:44 +0000)]
Remove incorrect reference to winsock.h.

svn path=/trunk/; revision=47229

13 years ago[RBUILD]
Christoph von Wittich [Sat, 15 May 2010 20:37:24 +0000 (20:37 +0000)]
[RBUILD]
delete outdated codeblocks backend (codeblocks does not support all features needed to build ros)

See issue #5381 for more details.

svn path=/trunk/; revision=47227

13 years ago[win32k]
Michael Martin [Sat, 15 May 2010 19:40:33 +0000 (19:40 +0000)]
[win32k]
- Change the first parameter type from HWND to PWINDOW_OBJECT for IntKillTimer as it makes more sense.
Activate IntSetTimer, already done by James.
- Add flag TMRF_DELETEPENDING. Destroy timers when this flag is set in ProcessTimers to allow any timers that have expired to have the WM_SYSTIMER/WM_TIMER messages posted to message queue before being destroyed.
- Fix error in FindTimer, it was always returning a Timer and it needed to return NULL if the specified timer did not exist.
- Fix error in PostTimerMessages, need to handle cases where the Window object is NULL which occurs when requesting messages for any window belonging to the thread.
- In co_IntPeekMessage, simply call PostTimerMessages to have WM_SYSTIMER/WM_TIMER messages posted for expired timers. Remove call to old timer message handling.
- TODO: Code using the old timer implementation needs removed.
- Fixes bugs #2393, #3634, #2835. Commit dedicated to JT and Mr. Roboto.

svn path=/trunk/; revision=47226

13 years ago[SYSAUDIO]
Johannes Anderwald [Sat, 15 May 2010 19:05:58 +0000 (19:05 +0000)]
[SYSAUDIO]
- Don't build the pin descriptor as this will make problems with dynamic audio devices which dynamically adjust their audio pins
- Remove dead code

svn path=/trunk/; revision=47225

13 years ago[win32k]
Michael Martin [Sat, 15 May 2010 18:30:05 +0000 (18:30 +0000)]
[win32k]
- The description and changes made regarding WM_ACTIVATEAPP messages in r47126 were partially incorrect, the code was mostly correct.

svn path=/trunk/; revision=47224

13 years ago[PORTCLS]
Johannes Anderwald [Sat, 15 May 2010 17:57:09 +0000 (17:57 +0000)]
[PORTCLS]
- Disable debugging

svn path=/trunk/; revision=47223

13 years ago[PORTCLS]
Johannes Anderwald [Sat, 15 May 2010 17:17:05 +0000 (17:17 +0000)]
[PORTCLS]
- Pass subdevice interface to PcNewRegistryKey
- Fix multiple bugs in PcNewRegistryKey such as
- If key type is GeneralRegistryKey, the function is supposed to create a new key
- If key type is HwProfileRegistryKey, the type must be or'd with PLUGPLAY_REGKEY_DEVICE
- Implement opening keys of type DeviceInterfaceRegistryKey
- Free key handle if there is not enough memory to create a registry key object
- Add more comments

svn path=/trunk/; revision=47222

13 years ago[WINLOGON]
Eric Kohl [Sat, 15 May 2010 16:02:14 +0000 (16:02 +0000)]
[WINLOGON]
- Add a hack to fix the APPDATA environment variable. This hack will be removed after bug #5372 has been fixed. Fixes bug #4102.

svn path=/trunk/; revision=47220

13 years agoRevert part of 47209. Hope this time is the good one
Jérôme Gardou [Sat, 15 May 2010 09:59:42 +0000 (09:59 +0000)]
Revert part of 47209. Hope this time is the good one

svn path=/trunk/; revision=47218

13 years ago[NTOSKRNL]
Cameron Gutman [Sat, 15 May 2010 03:21:54 +0000 (03:21 +0000)]
[NTOSKRNL]
- Fix a bug that broke /NODEBUG and /CRASHDEBUG

svn path=/trunk/; revision=47216

13 years ago[NTOSKRNL]
Timo Kreuzer [Sat, 15 May 2010 03:02:10 +0000 (03:02 +0000)]
[NTOSKRNL]
Fix paramter parsing in KdbpGetCommandLineSettings. Fixes KDSERIAL

svn path=/trunk/; revision=47215

13 years ago[OLEAUT32_WINETEST]
Timo Kreuzer [Sat, 15 May 2010 01:30:24 +0000 (01:30 +0000)]
[OLEAUT32_WINETEST]
Skip crashing tests test_apm and test_enhmetafile

See issue #5396 for more details.

svn path=/trunk/; revision=47214

13 years ago[WIN32CSR]
Timo Kreuzer [Sat, 15 May 2010 01:05:09 +0000 (01:05 +0000)]
[WIN32CSR]
Fix display of harderror message box for STATUS_UNHANDLED_EXCEPTION

svn path=/trunk/; revision=47213

13 years ago[GDIPLUS_WINETEST]
Timo Kreuzer [Sat, 15 May 2010 00:12:14 +0000 (00:12 +0000)]
[GDIPLUS_WINETEST]
Comment out GdipDisposeImage in 3 places, where it was crashing

See issue #5395 for more details.

svn path=/trunk/; revision=47212

13 years ago[ROSTESTS]
Jérôme Gardou [Fri, 14 May 2010 23:21:04 +0000 (23:21 +0000)]
[ROSTESTS]
  - something went wrong with previous commit...

svn path=/trunk/; revision=47211

13 years ago[ROSTESTS]
Jérôme Gardou [Fri, 14 May 2010 23:19:16 +0000 (23:19 +0000)]
[ROSTESTS]
  - more tests for direct DC creation/deletion

svn path=/trunk/; revision=47210

13 years ago[GDI32_WINETEST]
Timo Kreuzer [Fri, 14 May 2010 23:13:13 +0000 (23:13 +0000)]
[GDI32_WINETEST]
Skip test in gdi32_winetest metafile, that crashes

See issue #5392 for more details.

svn path=/trunk/; revision=47209

13 years ago[NEWINFLIB] Fix an off-by-one bug, which lead to the crash of mkhive after parsing...
Gregor Schneider [Fri, 14 May 2010 21:20:40 +0000 (21:20 +0000)]
[NEWINFLIB] Fix an off-by-one bug, which lead to the crash of mkhive after parsing ~3 files on Windows or ~5 files on Linux
See issue #5338 for more details.

svn path=/trunk/; revision=47208

13 years ago[MKHIVE]
Gregor Schneider [Fri, 14 May 2010 21:13:33 +0000 (21:13 +0000)]
[MKHIVE]
- Active the planned cleanup function to motivate people to actually free resources: mkhive currently leaks ~500kb of memory after a usual run
- Improve debug print

svn path=/trunk/; revision=47207

13 years ago[INFLIBNEW] Free allocated memory on error
Gregor Schneider [Fri, 14 May 2010 20:56:43 +0000 (20:56 +0000)]
[INFLIBNEW] Free allocated memory on error

svn path=/trunk/; revision=47206

13 years ago[MKHIVE] Check parameters before accessing them, update usage information
Gregor Schneider [Fri, 14 May 2010 17:46:14 +0000 (17:46 +0000)]
[MKHIVE] Check parameters before accessing them, update usage information

svn path=/trunk/; revision=47200

13 years ago[MSGINA]
Eric Kohl [Fri, 14 May 2010 17:12:35 +0000 (17:12 +0000)]
[MSGINA]
- Fix the order of controls to match the expected tab order. This makes the focus stop jumping around like crazy when you press the Tab key.

svn path=/trunk/; revision=47199

13 years ago[WINLOGON]
Eric Kohl [Fri, 14 May 2010 17:08:20 +0000 (17:08 +0000)]
[WINLOGON]
- Store all environment variables that were passed from msgina.dll in the volatile environment key.
- Add the APPDATA environment variable to the volatile environment. Unfortunately SHGetFolderPath does not seem to expand the appdata path. Bug or Feature??
- Create the environment block for the shell process after the volatile environment key has been filled, so its variables are included.
- Yet another step to fixing bug #4102.

svn path=/trunk/; revision=47198

13 years ago[PORTCLS]
Johannes Anderwald [Fri, 14 May 2010 15:47:00 +0000 (15:47 +0000)]
[PORTCLS]
- Don't request initializing delayed service request as this is the task of the miniport driver
- Reimplement the service group object:
- Use the initialized timer object when RequestService is called
- Fix possible race conditions when adding / removing a service sink by protecting it with a lock
- Acquire the service group list lock when executing the shared dpc routine

svn path=/trunk/; revision=47197

13 years ago[IPHLPAPI]
Cameron Gutman [Fri, 14 May 2010 01:30:37 +0000 (01:30 +0000)]
[IPHLPAPI]
- Implement GetAdaptersAddresses
- Fixes the last iphlpapi winetest

svn path=/trunk/; revision=47195

13 years ago[USERENV]
Eric Kohl [Thu, 13 May 2010 20:38:16 +0000 (20:38 +0000)]
[USERENV]
CreateEnvironmentBlock: Also add the volatile environment values to the users environment block.

svn path=/trunk/; revision=47194

13 years ago[NTOS]: Fix definition of unused MI_MAKE_SOFTWARE_PTE macro.
Sir Richard [Wed, 12 May 2010 22:47:46 +0000 (22:47 +0000)]
[NTOS]: Fix definition of unused MI_MAKE_SOFTWARE_PTE macro.
[NTOS]: Correctly setup the PFN entries for freshly allocated paged pool pages. Fixes a problem where the page could've still had stale/garbage data.
[NTOS]: Add some extra assertions in the code to catch memory corruption and detect invalid logic.
[NTOS]: Fix some typos in the code (comments/whitespace).
[NTOS]: Make the dreaded page fault message that breaks paged pool on some systems more verbose for future debugging.

svn path=/trunk/; revision=47189

13 years ago[MSGINA]
Eric Kohl [Wed, 12 May 2010 22:10:07 +0000 (22:10 +0000)]
[MSGINA]
Use WLX_PROFILE_V2_0 instead of WLX_PROFILE_V1_0 and create an environment string that is filled with a single environment variable. WIP for bug #4102.

svn path=/trunk/; revision=47187

13 years ago[NTOS]: When grabbing physically contigous pages from the zero or free list, make...
Sir Richard [Wed, 12 May 2010 21:37:19 +0000 (21:37 +0000)]
[NTOS]: When grabbing physically contigous pages from the zero or free list, make sure to re-initialize their PFN entries correctly, since their data might be stale. Fixes potential weird memory corruption bugs.
[NTOS]: Physically contiguous memory allocations are not guaranteed to be zeroed, so do not zero the pages.
[NTOS]: When allocating contigous memory, mark the PFN entries appropriately after mapping the I/O ranges.
[NTOS]: When freeing contiguous memory, assert that all the freed pages correspond to PFN entries that we expect to have allocated for this purpose. Detects (not neccessarily fixes) memory corruption issues in contiguous memory allocations.
[NTOS]: These changes mostly affect certain network card and sound card systems/real hardware, they fix possible bugs and detect corruption that was otherwise going by unnoticed.

svn path=/trunk/; revision=47186

13 years ago[SHELL32] Amendment to r47182: GetAsyncKeyState -> GetKeyState (thanks to Giannis...
Gregor Schneider [Wed, 12 May 2010 21:11:24 +0000 (21:11 +0000)]
[SHELL32] Amendment to r47182: GetAsyncKeyState -> GetKeyState (thanks to Giannis), simplify

svn path=/trunk/; revision=47185

13 years ago[NTOS]: Move MiFindContiguousPages to ARM3/contmem.c since I don't know what it was...
Sir Richard [Wed, 12 May 2010 20:57:21 +0000 (20:57 +0000)]
[NTOS]: Move MiFindContiguousPages to ARM3/contmem.c since I don't know what it was doing in freelist.c. No code change.

svn path=/trunk/; revision=47184

13 years ago[NTOS]: Add assertions to the paged pool and demand zero page faults, to catch possib...
Sir Richard [Wed, 12 May 2010 20:48:15 +0000 (20:48 +0000)]
[NTOS]: Add assertions to the paged pool and demand zero page faults, to catch possible errors and corruptions. These paths are not yet taken in today's builds, so they do not affect any runtime code.
[NTOS]: Add assertions regarding the portability of certain code, which will need changes on ARM/x64. These should probably be C_ASSERT's but I don't want to break Timo's build.
[NTOS]: Define MM_NOIRQL (found in assertions) instead of magical -1.
[NTOS]: Add MI_IS_SESSION_PTE macro.
[NTOS]: Export the MiXxxPte variables.
[NTOS]: Fix some typos in comments.

svn path=/trunk/; revision=47183

13 years ago[SHELL32] Add initial ctrl+c/v handling (WIP for bug #4850)
Gregor Schneider [Wed, 12 May 2010 20:41:55 +0000 (20:41 +0000)]
[SHELL32] Add initial ctrl+c/v handling (WIP for bug #4850)

svn path=/trunk/; revision=47182

13 years ago[SHELL32] Remove misplaced function header
Gregor Schneider [Wed, 12 May 2010 20:37:48 +0000 (20:37 +0000)]
[SHELL32] Remove misplaced function header

svn path=/trunk/; revision=47181

13 years ago[SHELL32] Improve debug print by printing text
Gregor Schneider [Wed, 12 May 2010 19:54:02 +0000 (19:54 +0000)]
[SHELL32] Improve debug print by printing text

svn path=/trunk/; revision=47180

13 years ago[USRMGR]
Gregor Schneider [Wed, 12 May 2010 19:19:44 +0000 (19:19 +0000)]
[USRMGR]
- Fix the friends of the bug of the month

svn path=/trunk/; revision=47179

13 years ago[NTOS]: Fix MiInsertPageInFreeList, it was using the ARM3 PFN Database macro, even...
Sir Richard [Wed, 12 May 2010 19:11:49 +0000 (19:11 +0000)]
[NTOS]: Fix MiInsertPageInFreeList, it was using the ARM3 PFN Database macro, even though we are still using the Mm PFN Database. Also, it was lacking the code to notify the zero-page thread, and to increase available pages.

svn path=/trunk/; revision=47178

13 years ago[WINLOGON]
Eric Kohl [Wed, 12 May 2010 19:10:04 +0000 (19:10 +0000)]
[WINLOGON]
Fixed bug of the month. I'm surprised that winlogon worked at all.

svn path=/trunk/; revision=47177