reactos.git
12 years ago[SYSSETUP]
Thomas Faber [Sun, 6 Nov 2011 12:17:42 +0000 (12:17 +0000)]
[SYSSETUP]
- Do not rely on setupapi's FileExists function, which shouldn't even be exported

svn path=/trunk/; revision=54311

12 years ago[KERNEL32]: The ANSI/OEM stubs were never initialized... it's a miracle this ever...
Alex Ionescu [Sun, 6 Nov 2011 04:13:21 +0000 (04:13 +0000)]
[KERNEL32]: The ANSI/OEM stubs were never initialized... it's a miracle this ever worked, probably because someone added a #define to at least one of them to hack it into working. Initialize the value snow, fixes boot.

svn path=/trunk/; revision=54310

12 years ago[KERNEL32]: Move path-related APIs away from dir.c, and into path.c instead.
Alex Ionescu [Sun, 6 Nov 2011 02:00:56 +0000 (02:00 +0000)]
[KERNEL32]: Move path-related APIs away from dir.c, and into path.c instead.
[KERNEL32]: Fix SetDllDirectoryW:
 - Fail if ";" is in path
 - Use RtlCreateUnicodeString instead of manual string management -- if the allocation fails, do not free the current base directory string! Older API would always free the current directory string, even if setting up the new one failed.
  - Don't assume lpPathName is filled out, it can be NULL, and this means the DLL directory should be cleared.
[KERNEL32]: Fix SetDllDirectoryA as above, additionally use RtlInitAnsiStringEx to protect against overflow, and use Basep8BitStringToUnicodeString, to add support for OEM paths instead of assuming ANSI.
[KERNEL32]: GetDllDirectoryW: correctly NULL-terminate and check lengths
[KERNEL32]: GetDllDirectoryA: same as above, plus use BasepUnicodeString* APIs to correctly support OEM paths instead of assuming ANSI.
[KERNEL32]: NeedCurrentDirectoryForExePath(A/W): call internal BasepIsCurDirAllowedForPlainExeNames instead of converting from A->W, this isn't needed.
[KERNEL32]: GetFullPathNameW just calls RtlGetFullPathName_U, no extra checks/etc are needed.
Next steps are GetFullPathNameA, GetShort/LongPathNameA, GetShort/LongPathNameW, hoping to bring the wine test failures closer to zero.

svn path=/trunk/; revision=54309

12 years ago[KERNEL32]: Actually properly support ANSI vs OEM SetFileAPI instead of assuming...
Alex Ionescu [Sun, 6 Nov 2011 01:47:49 +0000 (01:47 +0000)]
[KERNEL32]: Actually properly support ANSI vs OEM SetFileAPI instead of assuming Unicode->ANSI for most things. Note this just adds support, there's still many wine-synched APIs that are using the FileNameA2W hacks and similar, which force ANSI. But it's a step in the right direction.

svn path=/trunk/; revision=54308

12 years ago[NTDLL]: Export RtlImageNtHeaderEx and LodrLoadAlternateResourceModule.
Alex Ionescu [Sun, 6 Nov 2011 01:34:06 +0000 (01:34 +0000)]
[NTDLL]: Export RtlImageNtHeaderEx and LodrLoadAlternateResourceModule.
[NDK]: Add LdrLoadAlternateResourceModule. Fix RtlDosApplyFileIsolationRedirection_UStr and add flags.
[NTDLL]: Halfplement LdrLoad/UnloadAlternateResourceModule.

svn path=/trunk/; revision=54307

12 years ago[KERNEL32]
Pierre Schweitzer [Sun, 6 Nov 2011 00:09:33 +0000 (00:09 +0000)]
[KERNEL32]
Fix c/p mistake.
Brought to you by Vincenzo Cotugno

svn path=/trunk/; revision=54306

12 years ago-Add missing struct to winnt.h.
Sylvain Petreolle [Sun, 6 Nov 2011 00:04:57 +0000 (00:04 +0000)]
-Add missing struct to winnt.h.

svn path=/trunk/; revision=54305

12 years ago[MSHTML][SHDOCVW]
Thomas Faber [Sat, 5 Nov 2011 20:40:59 +0000 (20:40 +0000)]
[MSHTML][SHDOCVW]
- Initialize OLEINPLACEFRAMEINFO.cb for IOleInPlaceSite::GetWindowContext. Fixes explorer "Web" button assert. Already applied upstream.
See issue #6011 for more details.

svn path=/trunk/; revision=54304

12 years ago[shell32]
Claudiu Mihail [Sat, 5 Nov 2011 20:09:30 +0000 (20:09 +0000)]
[shell32]
- Fix a few more winetests in shlfolder tests.

svn path=/trunk/; revision=54303

12 years ago[LWIP]
Cameron Gutman [Sat, 5 Nov 2011 18:54:49 +0000 (18:54 +0000)]
[LWIP]
- Properly sync to lwIP 1.4.0
- No code changes (except unit tests)

svn path=/trunk/; revision=54302

12 years ago[SHELL32]
Amine Khaldi [Sat, 5 Nov 2011 17:56:10 +0000 (17:56 +0000)]
[SHELL32]
* Fix rbuild build.
* Remove a debug breakpoint that is no longer needed.

svn path=/trunk/; revision=54301

12 years ago[shell32]
Claudiu Mihail [Sat, 5 Nov 2011 16:40:42 +0000 (16:40 +0000)]
[shell32]
- Fix ParseDisplayName based on wine by checking for paths that are parsable through IEParseDisplayNameWithBCW. Score 2 failed wine tests in shlfolder

svn path=/trunk/; revision=54300

12 years ago[KERNEL32]
Thomas Faber [Sat, 5 Nov 2011 11:39:37 +0000 (11:39 +0000)]
[KERNEL32]
- Fix MSVC build

svn path=/trunk/; revision=54299

12 years ago[CRT]
Thomas Faber [Sat, 5 Nov 2011 10:24:24 +0000 (10:24 +0000)]
[CRT]
- Gracefully fail on NULL for gmtime functions. Fixes msvcrt:time crash

svn path=/trunk/; revision=54298

12 years ago[CRT]
Thomas Faber [Sat, 5 Nov 2011 10:08:06 +0000 (10:08 +0000)]
[CRT]
- Sync heap.c and undname.c with Wine 1.3.32
- Remove incorrect casts. Undo an incorrect warning fix. Fixes hang in msvcrt:cpp test

svn path=/trunk/; revision=54297

12 years ago[MSVCRT_WINETEST]
Thomas Faber [Sat, 5 Nov 2011 09:54:41 +0000 (09:54 +0000)]
[MSVCRT_WINETEST]
- Sync to Wine 1.3.32

svn path=/trunk/; revision=54296

12 years ago[PSDK][KERNEL32]
Thomas Faber [Sat, 5 Nov 2011 09:07:39 +0000 (09:07 +0000)]
[PSDK][KERNEL32]
- Fix some DWORD vs SIZE_T confusion for memory functions

svn path=/trunk/; revision=54295

12 years ago[Win32k]
James Tabor [Sat, 5 Nov 2011 06:01:05 +0000 (06:01 +0000)]
[Win32k]
- Reposition IntCallWndProc/Ret so it call when sending to client.

svn path=/trunk/; revision=54294

12 years ago[User32]
James Tabor [Sat, 5 Nov 2011 05:18:57 +0000 (05:18 +0000)]
[User32]
- Fixed Dialog Ansi and color control brush acquisition.
- Added stack protection for message recursion. Due to wine message bug when in dialog initialization. See bug 6126.
- Miscellaneous fixups.

svn path=/trunk/; revision=54293

12 years ago[KERNEL32]: Fix a missing "~" in GlobalReAlloc and LocalReAlloc, which caused a flag...
Alex Ionescu [Sat, 5 Nov 2011 04:53:18 +0000 (04:53 +0000)]
[KERNEL32]: Fix a missing "~" in GlobalReAlloc and LocalReAlloc, which caused a flag never to be removed.

svn path=/trunk/; revision=54292

12 years ago[KERNEL32]: Implement CreateJobSet
Alex Ionescu [Sat, 5 Nov 2011 01:19:52 +0000 (01:19 +0000)]
[KERNEL32]: Implement CreateJobSet
[KERNEL32]: Acquire SE_INCREASE_WORKING_SET_PRIVILEGE in SetInformationJobObject if needed.
[KERNEL32]: Only do conversion of Process Priority Class in SetInformationJobObject if the limit flags request it.
[KERNEL32]: Add missing size checks in QueryInformationJobObject.
[KERNEL32]: Use RtlEncode/DecodePointer to protect the top level exception handler pointer, as done on NT 5.2+
[KERNEL32]: Fix IsBadRead/WritePtr to use the correct page size from the CSRSS shared section.
[KERNEL32]: Fix IsBad(String)Read/WritePtr loops
[KERNEL32]: SetErrorMode now handles SEM_NOALIGNMENTFAULTEXCEPT.
[KERNEL32]: Set/GetErrorMode do not set LastError on failure.
[KERNEL32]: RaiseException can simply use memcpy instead of copying argument by argument.
[KERNEL32]: Minor formatting changes.

svn path=/trunk/; revision=54291

12 years ago[RICHED20_WINETEST]
Thomas Faber [Fri, 4 Nov 2011 23:07:16 +0000 (23:07 +0000)]
[RICHED20_WINETEST]
- Sync to Wine 1.3.32

svn path=/trunk/; revision=54290

12 years ago- Fix build.
James Tabor [Fri, 4 Nov 2011 13:21:13 +0000 (13:21 +0000)]
- Fix build.

svn path=/trunk/; revision=54289

12 years ago[Win32k|User32]
James Tabor [Fri, 4 Nov 2011 13:16:48 +0000 (13:16 +0000)]
[Win32k|User32]
- Move control color support to Win32k.

svn path=/trunk/; revision=54288

12 years ago[KERNEL32]
Kamil Hornicek [Thu, 3 Nov 2011 13:48:23 +0000 (13:48 +0000)]
[KERNEL32]
Fix a copypasta.
See issue #6635 for more details.

svn path=/trunk/; revision=54287

12 years ago[KERNEL32]: BaseNamedObjectDirectory should work on demand, instead of on startup...
Alex Ionescu [Thu, 3 Nov 2011 07:00:48 +0000 (07:00 +0000)]
[KERNEL32]: BaseNamedObjectDirectory should work on demand, instead of on startup. Also, support cases when the thread is doing impersonation, to make sure it uses its real session ID and security access. Also, support cases when the BNO directory is not available, and use the BNO\Restricted directory instead (we should have our CSRSS create it).

svn path=/trunk/; revision=54286

12 years ago[KERNEL32]: Fix multiple issues in BaseCreateStack:
Alex Ionescu [Thu, 3 Nov 2011 06:46:22 +0000 (06:46 +0000)]
[KERNEL32]: Fix multiple issues in BaseCreateStack:
- StackLimit was set incorrectly.
- Code was not using BaseStaticServerdata, but querying NT instead.
- Fix memory leak in failure case.
- StackCommit and StackReserved values were not aligned correctly.
- Windows Server 2003+ feature of "Guaranteed Stack Commit Size" was not respected.
- Some math was screwy.
- Failure to get NT headers was not handled.

svn path=/trunk/; revision=54285

12 years ago[KERNEL32]: Rearrange and rename some base functions.
Alex Ionescu [Thu, 3 Nov 2011 00:30:44 +0000 (00:30 +0000)]
[KERNEL32]: Rearrange and rename some base functions.
[KERNEL32]: Fix some error cases in the helper string functions.
[KERNEL32]: Implement BasepIsRealtimeAllowed.
[KERNEL32]: Don't need RPL_MASK when setting up the CONTEXT, this now matches what Windows sets up (and also helps us validate the kernel is doing the right thing).

svn path=/trunk/; revision=54284

12 years ago[KERNEL32]
Jérôme Gardou [Wed, 2 Nov 2011 23:37:38 +0000 (23:37 +0000)]
[KERNEL32]
- Small performance improvement : Directly reference dll when getting its handle instead of just checking it's there and then load it

svn path=/trunk/; revision=54283

12 years ago[KERNEL32]
Kamil Hornicek [Wed, 2 Nov 2011 20:10:02 +0000 (20:10 +0000)]
[KERNEL32]
Fix GetEnvironmentStringsA/W.
See issue #6633 for more details.

svn path=/trunk/; revision=54282

12 years ago[SYSDM]
Eric Kohl [Tue, 1 Nov 2011 17:47:18 +0000 (17:47 +0000)]
[SYSDM]
Handle the user wait interval.

svn path=/trunk/; revision=54281

12 years ago[USETUP]
Cameron Gutman [Mon, 31 Oct 2011 07:32:00 +0000 (07:32 +0000)]
[USETUP]
- Fix FAT32 boot sector pointer arithmetic
- Fixes setup error when installing FAT32 boot sector to file

svn path=/trunk/; revision=54280

12 years ago[KERNEL32]: In failure cases we should return one more byte for ANSI_NULL as well...
Alex Ionescu [Sun, 30 Oct 2011 21:41:12 +0000 (21:41 +0000)]
[KERNEL32]: In failure cases we should return one more byte for ANSI_NULL as well. Also fix another length check.

svn path=/trunk/; revision=54279

12 years ago[NTOSKRNL]
Jérôme Gardou [Sun, 30 Oct 2011 19:19:49 +0000 (19:19 +0000)]
[NTOSKRNL]
- Fix typo

svn path=/trunk/; revision=54278

12 years ago[WIN32K]
Jérôme Gardou [Sun, 30 Oct 2011 18:37:30 +0000 (18:37 +0000)]
[WIN32K]
- Allocate lokkaside lists from non paged pool.
- Add allocation failure check.

svn path=/trunk/; revision=54277

12 years ago[KERNEL32]: Fix many bugs and confusion regarding string sizes in previous commit.
Alex Ionescu [Sun, 30 Oct 2011 16:49:25 +0000 (16:49 +0000)]
[KERNEL32]: Fix many bugs and confusion regarding string sizes in previous commit.

svn path=/trunk/; revision=54276

12 years ago[Win32k]
James Tabor [Sun, 30 Oct 2011 15:44:31 +0000 (15:44 +0000)]
[Win32k]
- don't hangup on the user while in send message.

svn path=/trunk/; revision=54275

12 years ago[KERNEL32]: Rewrite (in some cases, simply clean-up) environment handling functions...
Alex Ionescu [Sun, 30 Oct 2011 01:07:09 +0000 (01:07 +0000)]
[KERNEL32]: Rewrite (in some cases, simply clean-up) environment handling functions for better string handling, error codes, and performance. Part of ongoing kernel32 work.

svn path=/trunk/; revision=54274

12 years ago[CDFS]
Jérôme Gardou [Sun, 30 Oct 2011 00:58:21 +0000 (00:58 +0000)]
[CDFS]
- Read all blocks at once for misaligned read.

svn path=/trunk/; revision=54273

12 years ago[UMPNPMGR]
Eric Kohl [Sat, 29 Oct 2011 21:54:24 +0000 (21:54 +0000)]
[UMPNPMGR]
- Implement PNP_GetHwProfInfo.
- Fix PNP_GetClassRegProp: Set the transfer length only in case of success.

svn path=/trunk/; revision=54272

12 years ago[CDFS]
Jérôme Gardou [Sat, 29 Oct 2011 20:34:08 +0000 (20:34 +0000)]
[CDFS]
- fix non cached reading when offset or length is not aligned on block size

svn path=/trunk/; revision=54271

12 years ago[NTOSKRNL]
Jérôme Gardou [Sat, 29 Oct 2011 16:25:11 +0000 (16:25 +0000)]
[NTOSKRNL]
- add missing lock/unlock of kernel address space

svn path=/trunk/; revision=54270

12 years ago[USETUP]
Cameron Gutman [Sat, 29 Oct 2011 15:10:11 +0000 (15:10 +0000)]
[USETUP]
- Use a separate function, InstallFat12BootCodeToFloppy(), to install the floppy boot code
- Format the floppy to FAT12 before writing to it
- Booting FreeLoader from floppy works again (bug #6495)

svn path=/trunk/; revision=54269

12 years ago[FSLIB]
Cameron Gutman [Sat, 29 Oct 2011 15:03:01 +0000 (15:03 +0000)]
[FSLIB]
- Don't call the callback if the caller didn't give one

svn path=/trunk/; revision=54268

12 years ago[FLOPPY]
Cameron Gutman [Sat, 29 Oct 2011 14:19:30 +0000 (14:19 +0000)]
[FLOPPY]
- Prevent a deadlock on very old controllers by sending the configure and version commands before resetting the controller

svn path=/trunk/; revision=54267

12 years ago[FLOPPY]
Cameron Gutman [Sat, 29 Oct 2011 13:22:18 +0000 (13:22 +0000)]
[FLOPPY]
- Improve the floppy controller initialization code to fix several cases where the controller could deadlock or otherwise malfunction on us

svn path=/trunk/; revision=54266

12 years ago[NTOSKRNL]
Cameron Gutman [Sat, 29 Oct 2011 12:18:25 +0000 (12:18 +0000)]
[NTOSKRNL]
- Fix handling of HAL returning a different address space than we thought

svn path=/trunk/; revision=54265

12 years ago[USER32]
Thomas Faber [Fri, 28 Oct 2011 22:15:53 +0000 (22:15 +0000)]
[USER32]
- Fix MSVC build

svn path=/trunk/; revision=54264

12 years ago[WININET]
Cameron Gutman [Fri, 28 Oct 2011 18:58:43 +0000 (18:58 +0000)]
[WININET]
- Disable connection keep-alive to avoid calling into msafd to close the connection later during DLL_PROCESS_DETACH

svn path=/trunk/; revision=54263

12 years ago[NTOSKRNL]
Jérôme Gardou [Fri, 28 Oct 2011 16:34:48 +0000 (16:34 +0000)]
[NTOSKRNL]
- remove unused variables/arguments
- Add small check in MmNotPresentFaultSectionView

svn path=/trunk/; revision=54262

12 years ago[User32]
James Tabor [Fri, 28 Oct 2011 12:00:07 +0000 (12:00 +0000)]
[User32]
- Icon title, menu and scroll bar do not set the death bit. Menu and scroll bar set the id only on specific window messages.

svn path=/trunk/; revision=54261

12 years ago[FREELDR]
Cameron Gutman [Thu, 27 Oct 2011 19:11:22 +0000 (19:11 +0000)]
[FREELDR]
- Check VESA BIOS signature before reporting VESA extensions are present

svn path=/trunk/; revision=54260

12 years ago[User32]
James Tabor [Thu, 27 Oct 2011 12:17:44 +0000 (12:17 +0000)]
[User32]
- Fix function ids, setting of the death bit when in NC destroy.
- Implement get control brush and color.
- Patch by Alexander LAW, Replicate Windows behavior of WM_SETTEXT handler regarding WM_CTLCOLOR*

svn path=/trunk/; revision=54259

12 years ago[KERNEL32]
Sylvain Petreolle [Thu, 27 Oct 2011 09:38:14 +0000 (09:38 +0000)]
[KERNEL32]
Use ERROR_SUCCESS instead of 0.
Dedicated to Pierre.

svn path=/trunk/; revision=54258

12 years ago[KERNEL32]
Sylvain Petreolle [Wed, 26 Oct 2011 19:02:32 +0000 (19:02 +0000)]
[KERNEL32]
CreateFile has to set last error on success.
Fixes kernel32:file test cancellation.

svn path=/trunk/; revision=54257

12 years ago[NTOSKRNL]
Cameron Gutman [Wed, 26 Oct 2011 14:38:57 +0000 (14:38 +0000)]
[NTOSKRNL]
- Pass a placeholder trap information, indicating that we are unlocked, to MmAccessFault in MmProbeAndLockPages as temporary hack until Mm locking is fixed
- Fixes "Assertion 'GuardedMutex->Owner == KeGetCurrentThread()' failed" when faulting in pages via MmProbeAndLockPages
- Dedicated to Jim :)

svn path=/trunk/; revision=54256

12 years ago[User32]
James Tabor [Wed, 26 Oct 2011 02:17:02 +0000 (02:17 +0000)]
[User32]
- Up Dialog.c to 1.3.31, sync port and minimized differences.
- Sync Information:
  Alexandre Julliard <julliard@winehq.org> : Don't overwrite the default button id when creating the dialog structure.
  Michael Stefaniuc <mstefani@redhat.de>: Avoid using long. Avoid using HIWORD() on atoms/resources.

svn path=/trunk/; revision=54255

12 years ago- Port wine right.
James Tabor [Tue, 25 Oct 2011 02:53:44 +0000 (02:53 +0000)]
- Port wine right.

svn path=/trunk/; revision=54254

12 years ago- Fix crash in cursoricon test.
James Tabor [Tue, 25 Oct 2011 02:14:38 +0000 (02:14 +0000)]
- Fix crash in cursoricon test.

svn path=/trunk/; revision=54253

12 years ago[NTOSKRNL]
Cameron Gutman [Mon, 24 Oct 2011 21:09:58 +0000 (21:09 +0000)]
[NTOSKRNL]
- Fix debug prints for 64-bit values

svn path=/trunk/; revision=54252

12 years ago[NDIS]
Cameron Gutman [Mon, 24 Oct 2011 20:38:36 +0000 (20:38 +0000)]
[NDIS]
- Implement NdisMSetupDmaTransfer, NdisMCompleteDmaTransfer, NdisSetupDmaTransfer, NdisCompleteDmaTransfer, and NdisAllocateDmaChannel

svn path=/trunk/; revision=54251

12 years ago[User32]
James Tabor [Mon, 24 Oct 2011 14:49:25 +0000 (14:49 +0000)]
[User32]
- Fix class window procedure checks, prevents misbehaving applications from calling wrong class procs.

svn path=/trunk/; revision=54250

12 years ago[User32]
James Tabor [Mon, 24 Oct 2011 14:47:59 +0000 (14:47 +0000)]
[User32]
- Fix class window procedure checks, prevents misbehaving applications from calling wrong class procs.
- Fixed callout for static control color brush.

svn path=/trunk/; revision=54249

12 years ago[User32]
James Tabor [Mon, 24 Oct 2011 14:16:53 +0000 (14:16 +0000)]
[User32]
- Use SetWindowTextA/W so that it passes through defwnd to be processed for themes.
- Fix validation of the dialog window and procedure.

svn path=/trunk/; revision=54248

12 years ago[User32]
James Tabor [Mon, 24 Oct 2011 14:13:19 +0000 (14:13 +0000)]
[User32]
- Fix SetWindowTextA/W so that it passes through defwnd to be processed for themes.
- Fix desktop checks.
- Add create window flags.

svn path=/trunk/; revision=54247

12 years ago[NDIS]
Cameron Gutman [Mon, 24 Oct 2011 09:33:29 +0000 (09:33 +0000)]
[NDIS]
- Stub and export NdisMSetupDmaTransfer and NdisMCompleteDmaTransfer

svn path=/trunk/; revision=54246

12 years ago[NDIS]
Cameron Gutman [Mon, 24 Oct 2011 09:12:34 +0000 (09:12 +0000)]
[NDIS]
- Fix addressing constraints for slave DMA devices that don't have 32-bit address support

svn path=/trunk/; revision=54245

12 years ago[NDIS]
Cameron Gutman [Mon, 24 Oct 2011 08:22:56 +0000 (08:22 +0000)]
[NDIS]
- Demote some debug prints

svn path=/trunk/; revision=54244

12 years ago[ROSAPPS]
Sylvain Petreolle [Sun, 23 Oct 2011 12:30:42 +0000 (12:30 +0000)]
[ROSAPPS]
Add rosapps to build.

svn path=/trunk/; revision=54243

12 years ago[ROSAPPS]
Sylvain Petreolle [Sun, 23 Oct 2011 12:30:27 +0000 (12:30 +0000)]
[ROSAPPS]
Add cmake base files with ssstars.

svn path=/trunk/; revision=54242

12 years ago[DISKPART]
Eric Kohl [Sun, 23 Oct 2011 12:04:48 +0000 (12:04 +0000)]
[DISKPART]
- Add a simple usage function (/? option).
- Simplify the interpreter loop a little bit.

svn path=/trunk/; revision=54241

12 years ago[VIDEOPRT]
Cameron Gutman [Sun, 23 Oct 2011 04:04:17 +0000 (04:04 +0000)]
[VIDEOPRT]
- Store the slot number we find in the device extension by legacy detection

svn path=/trunk/; revision=54240

12 years ago[VIDEOPRT]
Cameron Gutman [Sun, 23 Oct 2011 03:55:35 +0000 (03:55 +0000)]
[VIDEOPRT]
- Support passing a resource requirements list to VideoPortGetAccessRanges

svn path=/trunk/; revision=54239

12 years ago[NTOSKRNL]
Cameron Gutman [Sun, 23 Oct 2011 03:06:23 +0000 (03:06 +0000)]
[NTOSKRNL]
- Fix a major off-by-one bug in resource conflict checking
- Respect requested alignment when checking for valid port/memory ranges

svn path=/trunk/; revision=54238

12 years ago[VIDEOPRT]
Cameron Gutman [Sun, 23 Oct 2011 02:45:09 +0000 (02:45 +0000)]
[VIDEOPRT]
- Report legacy resources to the PnP manager via IRP_MN_FILTER_RESOURCE_REQUIREMENTS
- Report legacy access ranges in response to VideoPortGetAccessRanges
- TODO: Handle an optional resource requirements list in VideoPortGetAccessRanges

svn path=/trunk/; revision=54237

12 years ago[VIDEOPRT]
Cameron Gutman [Sun, 23 Oct 2011 01:16:54 +0000 (01:16 +0000)]
[VIDEOPRT]
- Check all PCI buses not just the first 8

svn path=/trunk/; revision=54236

12 years ago[VIDEOPRT]
Cameron Gutman [Sat, 22 Oct 2011 23:32:51 +0000 (23:32 +0000)]
[VIDEOPRT]
- Slot is an output parameter not an input parameter. Treat it as such.
- Don't use magic constants
- Remove a duplicate check
- Set RangeShareable for port resources based on the resource descriptor
- Initialize and set RangeShareable for memory and port access ranges instead of leaving garbage in there

svn path=/trunk/; revision=54235

12 years ago[RICHED20]
Thomas Faber [Sat, 22 Oct 2011 20:55:11 +0000 (20:55 +0000)]
[RICHED20]
- Fix ME_CharFromPoint relying on Wine's incorrect behavior of GetTextExtentExPointW. Already sent upstream(TM)
See issue #6196,5784,6037,6095,6187,6513 for more details.

svn path=/trunk/; revision=54234

12 years ago[DISKPART]
Eric Kohl [Sat, 22 Oct 2011 19:52:17 +0000 (19:52 +0000)]
[DISKPART]
Implement argument processing. Patch by Lee Schroeder.

The original patch was modified to fix the following issues:
- Indentation and coding style.
- Remove obsolete code: 1. The if-statement around the for-loop is not needed. 2. The call to wcsicmp() is already case insensitive (it is the 'i' in wcsicmp).
- Check the existence of a script file name and a timeout value before trying to process them.
- Call run_script() after the argument list has been processed. This fixes the argument order issue.

See issue #6552 for more details.

svn path=/trunk/; revision=54233

12 years ago[WINLOGON]
Rafal Harabien [Sat, 22 Oct 2011 18:28:05 +0000 (18:28 +0000)]
[WINLOGON]
- Move playing log on sound to HandleLogon
- Don't use HKEY_CURRENT_USER for accessing user registry key. This key points to settings of user which started Winlogon process (SYSTEM) instead of logged user. Instead use HKU\SID.
See issue #5436 for more details.

svn path=/trunk/; revision=54232

12 years ago[EXPLORER_NEW]
Thomas Faber [Sat, 22 Oct 2011 15:27:29 +0000 (15:27 +0000)]
[EXPLORER_NEW]
- Fix rectangle copypasta in ITrayWindowImpl_RegLoadSettings. Patch by Elton Chung

svn path=/trunk/; revision=54231

12 years ago[comctl32]
Giannis Adamopoulos [Sat, 22 Oct 2011 11:35:13 +0000 (11:35 +0000)]
[comctl32]
- merge r53027 that missed the merge from themes branch
- fixes floods of debug output by CombineRgn

svn path=/trunk/; revision=54230

12 years ago- Update Liberation fonts to 1.07.1
Rafal Harabien [Sat, 22 Oct 2011 10:01:49 +0000 (10:01 +0000)]
- Update Liberation fonts to 1.07.1

svn path=/trunk/; revision=54229

12 years ago[WIN32K] - SystemParametersInfo does not support SPIF_UPDATEINIFILE for SPI_SETDEFAUL...
Rafal Harabien [Fri, 21 Oct 2011 21:47:16 +0000 (21:47 +0000)]
[WIN32K] - SystemParametersInfo does not support SPIF_UPDATEINIFILE for SPI_SETDEFAULTINPUTLANG

svn path=/trunk/; revision=54228

12 years ago[WIN32K]
Rafal Harabien [Fri, 21 Oct 2011 21:23:51 +0000 (21:23 +0000)]
[WIN32K]
- Mouse code cleanup
- Support MOUSEEVENTF_VIRTUALDESK flag in MOUSEINPUT properly
- Support MOUSE_VIRTUAL_DESKTOP flag in MOUSE_INPUT_DATA properly
- Do not ignore MK_SHIFT and MK_CONTROL flags in some mouse messages

svn path=/trunk/; revision=54227

12 years ago[CMBATT]
Cameron Gutman [Fri, 21 Oct 2011 16:38:56 +0000 (16:38 +0000)]
[CMBATT]
- Fix a deadlock caused by forwarding IRPs to ourself

svn path=/trunk/; revision=54226

12 years ago[WIN32K] - Implement SPI_GETDEFAULTINPUTLANG.
Rafal Harabien [Fri, 21 Oct 2011 15:18:04 +0000 (15:18 +0000)]
[WIN32K] - Implement SPI_GETDEFAULTINPUTLANG.

svn path=/trunk/; revision=54225

12 years ago[TXTSETUP] - Add Polish (214) layout. It's now visible in usetup.
Rafal Harabien [Fri, 21 Oct 2011 15:10:52 +0000 (15:10 +0000)]
[TXTSETUP] - Add Polish (214) layout. It's now visible in usetup.

svn path=/trunk/; revision=54224

12 years ago[WIN32K]
Rafal Harabien [Fri, 21 Oct 2011 14:54:22 +0000 (14:54 +0000)]
[WIN32K]
- Don't set every loaded layout as default. Instead implement SPI_SETDEFAULTINPUTLANG. Fixes some minor problems with wrong layout loaded.
- Fix removing hotkey not associated with window (fixes winetest).

svn path=/trunk/; revision=54223

12 years ago[FASTFAT]
Rafal Harabien [Fri, 21 Oct 2011 13:21:56 +0000 (13:21 +0000)]
[FASTFAT]
- Fix memory corruption if long file name entry is invalid.
- Minor improvements.

See issue #6546 for more details.

svn path=/trunk/; revision=54222

12 years ago[REGISTRY]
Kamil Hornicek [Fri, 21 Oct 2011 12:14:25 +0000 (12:14 +0000)]
[REGISTRY]
Mark the VGA driver as VgaCompatible too so it doesn't take precedence over the VBE driver in case both are installed.
See issue #6578 for more details.

svn path=/trunk/; revision=54221

12 years ago[NDIS]
Cameron Gutman [Fri, 21 Oct 2011 08:44:14 +0000 (08:44 +0000)]
[NDIS]
- Demote some informational debug prints

svn path=/trunk/; revision=54220

12 years ago[TRANSLATION]
Dmitry Gorbachev [Fri, 21 Oct 2011 08:37:12 +0000 (08:37 +0000)]
[TRANSLATION]
- SysSetup: add a very tiny enhancement to Spanish translation (Elhoir, bug #6596).
- USetup: change encoding of Brazilian Portuguese file to CP 850.
- USetup: fix a few bugs in German and Italian translations.

svn path=/trunk/; revision=54219

12 years ago[SPIDER]
Thomas Faber [Fri, 21 Oct 2011 07:42:00 +0000 (07:42 +0000)]
[SPIDER]
- Use a Yes/No message box for "Quit the current game?" instead of Ok/Cancel. Patch by Lee Schroeder
See issue #6589 for more details.

svn path=/trunk/; revision=54218

12 years ago[SHELL32]
Johannes Anderwald [Thu, 20 Oct 2011 20:28:30 +0000 (20:28 +0000)]
[SHELL32]
- Hackfix shell new item service
- Add support for SID_IFolderView

svn path=/trunk/; revision=54217

12 years ago[LIVECD]
Rafal Harabien [Thu, 20 Oct 2011 19:00:02 +0000 (19:00 +0000)]
[LIVECD]
- Fix profiles path. FIXES ICONS IN LIVECD!
- Add few interfaces to livecd registry so it doesn't spam the log so much

svn path=/trunk/; revision=54216

12 years ago[CMAKE]
Amine Khaldi [Thu, 20 Oct 2011 18:30:56 +0000 (18:30 +0000)]
[CMAKE]
* Don't even create the stlport static lib. No working C++ module links to it, and until we have a proper STL support the other modules won't compile either.

svn path=/trunk/; revision=54215

12 years ago[KBDPL] - Properly implement Polish (214) keyboard layout
Rafal Harabien [Thu, 20 Oct 2011 15:15:09 +0000 (15:15 +0000)]
[KBDPL] - Properly implement Polish (214) keyboard layout
[KBDPL1] - Minor fixes

svn path=/trunk/; revision=54214

12 years ago[CMAKE]
Thomas Faber [Thu, 20 Oct 2011 14:53:02 +0000 (14:53 +0000)]
[CMAKE]
- Add VC11 support in configure.cmd

svn path=/trunk/; revision=54213

12 years ago[WINLOGON]
Rafal Harabien [Thu, 20 Oct 2011 13:26:39 +0000 (13:26 +0000)]
[WINLOGON]
- If no keyboard layout can be loaded, load US layout
- Try to load all layouts from Preloaded key even if some of them fail

svn path=/trunk/; revision=54212