reactos.git
14 years agoOn 64 bit sizeof(POOL_HEADER) != sizeof(LIST_ENTRY)! I have not checked how this...
Timo Kreuzer [Mon, 12 Oct 2009 23:32:44 +0000 (23:32 +0000)]
On 64 bit sizeof(POOL_HEADER) != sizeof(LIST_ENTRY)! I have not checked how this stuff works, but this way it's not portable. Comment out the C_ASSERT to make it at least compile on 64 bit.

svn path=/branches/ros-amd64-bringup/; revision=43429

14 years agoARM3 64bit portability fixes.
Timo Kreuzer [Mon, 12 Oct 2009 23:29:14 +0000 (23:29 +0000)]
ARM3 64bit portability fixes.

svn path=/branches/ros-amd64-bringup/; revision=43428

14 years agoImplement/fix some amd64 Mm macros
Timo Kreuzer [Mon, 12 Oct 2009 23:26:12 +0000 (23:26 +0000)]
Implement/fix some amd64 Mm macros

svn path=/branches/ros-amd64-bringup/; revision=43427

14 years ago[NDK] add CBSTACK_FRAME_POINTER for amd64
Timo Kreuzer [Mon, 12 Oct 2009 23:10:43 +0000 (23:10 +0000)]
[NDK] add CBSTACK_FRAME_POINTER for amd64

svn path=/branches/ros-amd64-bringup/; revision=43426

14 years agofix the kernel's rbuild file
Timo Kreuzer [Mon, 12 Oct 2009 22:16:52 +0000 (22:16 +0000)]
fix the kernel's rbuild file

svn path=/branches/ros-amd64-bringup/; revision=43423

14 years agoSync to trunk HEAD (r43416)
Timo Kreuzer [Mon, 12 Oct 2009 22:00:47 +0000 (22:00 +0000)]
Sync to trunk HEAD (r43416)

svn path=/branches/ros-amd64-bringup/; revision=43422

14 years agosvn repair attempt
Timo Kreuzer [Mon, 12 Oct 2009 21:58:04 +0000 (21:58 +0000)]
svn repair attempt

svn path=/branches/ros-amd64-bringup/; revision=43421

14 years ago[kernel32]
Aleksey Bragin [Mon, 12 Oct 2009 19:45:12 +0000 (19:45 +0000)]
[kernel32]
- Remove incorrect null-termination of a string. Thanks to Russel for spotting.
See issue #4820 for more details.

svn path=/trunk/; revision=43416

14 years ago- Add missing types
Johannes Anderwald [Mon, 12 Oct 2009 19:21:10 +0000 (19:21 +0000)]
- Add missing types

svn path=/trunk/; revision=43415

14 years ago[PORTCLS]
Johannes Anderwald [Mon, 12 Oct 2009 19:20:33 +0000 (19:20 +0000)]
[PORTCLS]
- Store MiniportStream & pin instance in subdevice descriptor
- Simplify irp handling code in class IIrpStream
- Rewrite CPortPinWaveCyclic code to handle property request. It now uses PcHandlePropertyWithTable, which calls the supported property request handlers via a callback. The code is now a lot cleaner as KsPropertyHandler peforms input & output length checks and also handles basic support requests
- Implement a Audio position handler for CPortPinWaveCyclic
- Use the IDmaChannel::CopyFrom when copying sound bytes from an dma buffer. Fixes recording of sound with KsStudio
- Make sure that the GUID_NULL handler only adds guid which are not already present in the guid array. Fixes duplicate entries of properties of Nodes in KsStudio
- Handle Basic Support requests in a default way when the driver doesnt provide a BasicSupport handler

svn path=/trunk/; revision=43414

14 years ago[sol], [spider]
Gregor Schneider [Mon, 12 Oct 2009 18:52:44 +0000 (18:52 +0000)]
[sol], [spider]
- Allow to select a card back from all twelve possibilities (instead of four), related to bug #2535
[spider]
- Fix encoding of the Spanish resource file, thanks elhoir and gabriel_it

svn path=/trunk/; revision=43413

14 years ago- Fix usbdlib.h -- don't assume that the basic calling convention is stdcall.
Stefan Ginsberg [Mon, 12 Oct 2009 18:40:18 +0000 (18:40 +0000)]
- Fix usbdlib.h -- don't assume that the basic calling convention is stdcall.

svn path=/trunk/; revision=43412

14 years ago- Revert 43410
Johannes Anderwald [Mon, 12 Oct 2009 18:27:00 +0000 (18:27 +0000)]
- Revert 43410

svn path=/trunk/; revision=43411

14 years ago- Fix typo
Johannes Anderwald [Mon, 12 Oct 2009 18:20:23 +0000 (18:20 +0000)]
- Fix typo

svn path=/trunk/; revision=43410

14 years ago[spider]
Gregor Schneider [Mon, 12 Oct 2009 17:37:42 +0000 (17:37 +0000)]
[spider]
- Increase dialog width for German, increase "four card difficulty" label width for Spanish
- Compile as Unicode, misc typos

svn path=/trunk/; revision=43408

14 years ago[KS]
Johannes Anderwald [Mon, 12 Oct 2009 17:04:15 +0000 (17:04 +0000)]
[KS]
- Activate handling of requests of type KSPROPERTY_TYPE_BASICSUPPORT
- Return correct status code in the GUID_NULL handler

svn path=/trunk/; revision=43407

14 years ago[WDMAUD.DR>V]
Johannes Anderwald [Mon, 12 Oct 2009 16:58:46 +0000 (16:58 +0000)]
[WDMAUD.DR>V]
- Use default of 100 audio buffers if there are no prefered frame size available

svn path=/trunk/; revision=43406

14 years ago- Updated DejaVu Fonts to Version 2.30
Daniel Reimer [Mon, 12 Oct 2009 14:10:57 +0000 (14:10 +0000)]
- Updated DejaVu Fonts to Version 2.30
- Updated 3rd Party Files Document

svn path=/trunk/; revision=43400

14 years ago[fastfat_new]
Aleksey Bragin [Mon, 12 Oct 2009 13:17:56 +0000 (13:17 +0000)]
[fastfat_new]
- Start implementing volume open requests.

svn path=/trunk/; revision=43397

14 years ago- Change DIALOG_CreateIndirect location in source to make DEFDLG_SaveFocus available...
Michael Martin [Mon, 12 Oct 2009 12:47:54 +0000 (12:47 +0000)]
- Change DIALOG_CreateIndirect location in source to make DEFDLG_SaveFocus available for use.
- DIALOG_CreateIndirect: The current window with focus could have been set in the dialog's procedure, so save the current focused window after sending WM_INITDIALOG and before any other message are sent that modify focus.
- Fixes setting focus on Open and Close dialogs to the FileName edit control in OpenOffice.

svn path=/trunk/; revision=43396

14 years ago- Add some structures
Dmitry Chapyshev [Mon, 12 Oct 2009 12:28:22 +0000 (12:28 +0000)]
- Add some structures

svn path=/trunk/; revision=43395

14 years ago- Stub implement SfcGetNextProtectedFile
Dmitry Chapyshev [Mon, 12 Oct 2009 12:25:02 +0000 (12:25 +0000)]
- Stub implement SfcGetNextProtectedFile

svn path=/trunk/; revision=43394

14 years ago[fastfat_new]
Aleksey Bragin [Mon, 12 Oct 2009 10:22:32 +0000 (10:22 +0000)]
[fastfat_new]
- Implement a stub version of basic information query. Fixes an "autochk.exe" not found problem.

svn path=/trunk/; revision=43393

14 years agoGetDlgItem: Change to WINE's implementation as ours was incorrect. Remove function...
Michael Martin [Mon, 12 Oct 2009 09:50:57 +0000 (09:50 +0000)]
GetDlgItem: Change to WINE's implementation as ours was incorrect. Remove function GetDlgItemEnumProc and struct GETDLGITEMINFO as they are no longer needed. Fixes drawing issues in Open and Save dialogs for OpenOffice.

svn path=/trunk/; revision=43392

14 years ago[fastfat_new]
Aleksey Bragin [Mon, 12 Oct 2009 09:37:07 +0000 (09:37 +0000)]
[fastfat_new]
- Downgrade most of file info debug prints.

svn path=/trunk/; revision=43391

14 years ago[fastfat_new]
Aleksey Bragin [Mon, 12 Oct 2009 09:30:41 +0000 (09:30 +0000)]
[fastfat_new]
- Implement all infrastructue for constructing filenames in FCBs, and use it to build full file names. Every FCB has four names: a short upcased name in ANSI, a long upcased name in Unicode, a name in exact case in Unicode, and finally a full file name including all path up to the root.
- FatiQueryFileNameInformation now returns correct file name, and other places relying on presence of a correct name work now.

svn path=/trunk/; revision=43390

14 years ago- Remove svn:needs-lock, svn:eol-type, and svn:eol-tyle properties.
Dmitry Gorbachev [Mon, 12 Oct 2009 03:35:35 +0000 (03:35 +0000)]
- Remove svn:needs-lock, svn:eol-type, and svn:eol-tyle properties.
- Add missing svn:eol-style properties.

svn path=/trunk/; revision=43389

14 years agoUse consistent newline style.
Dmitry Gorbachev [Mon, 12 Oct 2009 03:28:57 +0000 (03:28 +0000)]
Use consistent newline style.

svn path=/trunk/; revision=43388

14 years agoRemove allowwarnings="true" from rbuild file. Fixed in r42970.
Dmitry Gorbachev [Mon, 12 Oct 2009 03:28:19 +0000 (03:28 +0000)]
Remove allowwarnings="true" from rbuild file. Fixed in r42970.

svn path=/trunk/; revision=43387

14 years ago[CHEW]
Dmitry Gorbachev [Mon, 12 Oct 2009 03:27:45 +0000 (03:27 +0000)]
[CHEW]
- Fix formatting, comments.
- Delete an empty directory.

svn path=/trunk/; revision=43386

14 years ago- Add Russian translation
Dmitry Chapyshev [Mon, 12 Oct 2009 02:28:37 +0000 (02:28 +0000)]
- Add Russian translation

svn path=/trunk/; revision=43385

14 years agoUpdate / add Japanese translations. Tomoya Kitagawa, bug #4884.
Dmitry Gorbachev [Sun, 11 Oct 2009 23:23:34 +0000 (23:23 +0000)]
Update / add Japanese translations. Tomoya Kitagawa, bug #4884.

svn path=/trunk/; revision=43384

14 years agoUpdate Japanese translations. Tomoya Kitagawa, bug #4884.
Dmitry Gorbachev [Sun, 11 Oct 2009 23:23:30 +0000 (23:23 +0000)]
Update Japanese translations. Tomoya Kitagawa, bug #4884.

svn path=/trunk/; revision=43383

14 years ago- Fix a critical bug in KeFindConfigurationEntry; it passed NULL to KeFindConfigurati...
Stefan Ginsberg [Sun, 11 Oct 2009 21:57:52 +0000 (21:57 +0000)]
- Fix a critical bug in KeFindConfigurationEntry; it passed NULL to KeFindConfigurationNextEntry instead of passing a pointer containing NULL. KeFindConfigurationNextEntry dereferenced this and, because the old bootloader maps NULL, read some bogus value. KeFindConfigurationNextEntry would then try to find something in the configuration tree that matched this, but failed. This was no problem because we currently have no callers of those routines in ReactOS. However, the kdcom.dll from Windows 2003 calls KeFindConfigurationEntry to find COM port entries, and this would have crashed if FreeLdr hadn't mapped it. As it is, it didn't, and kdcom fell back to default values for the COM port (which worked). WinLdr doesn't map NULL and this resulted in a crash during kdcom initialization. Bug introduced in revision 15911 over 4 years ago. KD64 now works when booting with the new boot method.

svn path=/trunk/; revision=43382

14 years ago- Woooops, fix MP hal build.
Stefan Ginsberg [Sun, 11 Oct 2009 20:40:19 +0000 (20:40 +0000)]
- Woooops, fix MP hal build.

svn path=/trunk/; revision=43381

14 years ago- Stub out DbgKdWriteVirtualMemoryApi, DbgKdReadPhysicalMemoryApi, DbgKdWritePhysical...
Stefan Ginsberg [Sun, 11 Oct 2009 20:16:45 +0000 (20:16 +0000)]
- Stub out DbgKdWriteVirtualMemoryApi, DbgKdReadPhysicalMemoryApi, DbgKdWritePhysicalMemoryApi, DbgKdWriteBreakPointExApi, DbgKdRestoreBreakPointExApi, DbgKdSearchMemoryApi and DbgKdFillMemoryApi cases more properly.
- Fail on physical memory write like we do for read too.
- Don't handle OldVlm1/2 as they appear to be deprecated and unhandled in Windows.
- Implement HalHaltSystem to halt execution in a portable way. Default to xHalHaltSystem, a simple infinite loop, if we get called before HAL has initialized. Use this in KiBugCheckDebugBreak and the system shutdown handler instead of x86/AMD64/ARM intrinsics.
- Don't try to halt the CPU if KeBugCheck has been called 3 times or more -- if this happens, something has gone very wrong, and we shouldn't try to do anything special. Just loop infinitely.
- Fix KiBugCheckDebugBreak -- it shouldn't halt execution when called for the first chance as bugcheck callbacks have not been invoked at this point (nor has the BSOD been displayed). Use SEH to protect against a crash instead of checking KdDebuggerNotPresent as the debugger, if it is present, *could* disconnect while the trap is being handled. Also, don't halt execution if the debugger handled the breakpoint, just break again.
- Don't call MmMapIoSpace from HalpReboot! The reboot might take place at elevated IRQL (as high as HIGH_LEVEL if called from KeBugCheck), and thus can't use any Mm support routines. Use a PTE from the reserved HAL region and map it ourselves instead as done in the BIOS call code.
- Acquire the display ownership in HalReturnToFirmware in case the caller hasn't done so (as done in the KD reboot routine, for example).
- Just include ntndk.h in hal.h instead of including 6 NDK headers (which turns into more than half of the NDK anyway since those headers include other NDK headers).
- Crashing and rebooting from KD now works properly.

svn path=/trunk/; revision=43380

14 years ago[spider] Address two more gcc 4.4 parenthesis warnings
Gregor Schneider [Sun, 11 Oct 2009 18:10:48 +0000 (18:10 +0000)]
[spider] Address two more gcc 4.4 parenthesis warnings

svn path=/trunk/; revision=43379

14 years ago[freeldr] Fix typo: REGISTER -> REGISTRY
Hervé Poussineau [Sun, 11 Oct 2009 17:10:32 +0000 (17:10 +0000)]
[freeldr] Fix typo: REGISTER -> REGISTRY

svn path=/trunk/; revision=43378

14 years ago[freeldr] Rework the ramdisk driver to let it be a full device, instead of a deprecat...
Hervé Poussineau [Sun, 11 Oct 2009 17:08:33 +0000 (17:08 +0000)]
[freeldr] Rework the ramdisk driver to let it be a full device, instead of a deprecated harddisk which was only available once real harddisks were disabled
Add support for /RDPATH switch in WINLDR boot style

svn path=/trunk/; revision=43377

14 years ago[spider]
Gregor Schneider [Sun, 11 Oct 2009 16:00:07 +0000 (16:00 +0000)]
[spider]
- Spanish and Italian translations by Javier Agustìn Fernàndez Arroyo and Gabriel Ilardi
- Rename Programmer to Translator in existing resource files, remove Programmer in new ones
See issue #4885 for more details.

svn path=/trunk/; revision=43376

14 years ago[cardlib] Re-add changes that got lost due to an old version being used as base
Gregor Schneider [Sun, 11 Oct 2009 14:15:02 +0000 (14:15 +0000)]
[cardlib] Re-add changes that got lost due to an old version being used as base

svn path=/trunk/; revision=43375

14 years ago- Add spider.exe to bootcd
Dmitry Chapyshev [Sun, 11 Oct 2009 14:00:18 +0000 (14:00 +0000)]
- Add spider.exe to bootcd
- Add shortcut for spider

svn path=/trunk/; revision=43374

14 years agoRemove solitaires local cardlib copy
Gregor Schneider [Sun, 11 Oct 2009 12:10:57 +0000 (12:10 +0000)]
Remove solitaires local cardlib copy

svn path=/trunk/; revision=43373

14 years ago[spider]
Gregor Schneider [Sun, 11 Oct 2009 12:07:11 +0000 (12:07 +0000)]
[spider]
- Add a spider solitaire clone
- Relies on the Catch22 cardlib
- Supports all three playing modes and full game play
- English and German resources included, own work
- Icon origin: tango solitaire icon with a self drawn spider on top
[cardlib]
- Convert to a static library as suggested in the comments, move to 3rdparty directory
- Allow to modify dragged card stacks (needed for spider)
[solitaire]
- Adapt to cardlib changes, delete local cardlib copy

svn path=/trunk/; revision=43372

14 years ago- Implement pool corruption tests for testing pool overrun/underrun detectors. Tests...
Aleksey Bragin [Sun, 11 Oct 2009 10:00:56 +0000 (10:00 +0000)]
- Implement pool corruption tests for testing pool overrun/underrun detectors. Tests invocation is commented out by default.

svn path=/trunk/; revision=43371

14 years ago[powrprof]
Aleksey Bragin [Sun, 11 Oct 2009 09:54:41 +0000 (09:54 +0000)]
[powrprof]
- Implement some powrprof.dll according to regression tests committed in r43368, by Alexander Wurzinger <lohnegrim@gmx.net>.
- Minor bugfix by me.
See issue #3381 for more details.

svn path=/trunk/; revision=43370

14 years ago- Store KSPROPERTY_SET in Irp when using KsPropertyHandler
Johannes Anderwald [Sun, 11 Oct 2009 09:49:10 +0000 (09:49 +0000)]
- Store KSPROPERTY_SET in Irp when using KsPropertyHandler
- Fix a bug in KsPinDataIntersection

svn path=/trunk/; revision=43369

14 years ago[powrprof]
Aleksey Bragin [Sun, 11 Oct 2009 09:49:09 +0000 (09:49 +0000)]
[powrprof]
- Add more powrprof.dll tests, by Alexander Wurzinger <lohnegrim@gmx.net>.
- Some cleanup and code typo fixes by me.
See issue #3381 for more details.

svn path=/trunk/; revision=43368

14 years agoFix English resource file. Patch by Joshua Rice, bug #4763.
Dmitry Gorbachev [Sun, 11 Oct 2009 00:09:41 +0000 (00:09 +0000)]
Fix English resource file. Patch by Joshua Rice, bug #4763.

svn path=/trunk/; revision=43367

14 years ago- Fix exception. Spotted by Stefan Ginsberg.
James Tabor [Sat, 10 Oct 2009 21:51:24 +0000 (21:51 +0000)]
- Fix exception. Spotted by Stefan Ginsberg.

svn path=/trunk/; revision=43366

14 years agoKD64 Compatibility Bringup:
Stefan Ginsberg [Sat, 10 Oct 2009 19:27:54 +0000 (19:27 +0000)]
KD64 Compatibility Bringup:
- Add some missing control set structures to windbgkd.h from Singularity and fix some x86 assumptions.
- Use CopyExceptionRecord instead of ExceptionRecord32To64 as we can just copy directly on 64-bit.
- Add KeGetTrapFrameInterruptState macro to retrieve the interrupt state (ON/OFF) from a trap frame.
- Use macros for retrieving certain parameters from CONTEXT in KdpTrap instead of hardcoding x86.
- Add kdsup.c for x86/AMD64/ARM and move certain architecture dependent routines in here.
- Stub out MSR, Bus and I/O Space read/write support and use KdpSys* for Control Space as it is architecture dependent. Also stub out low memory check (for x86 PAE).
- Fix assumptions in the break point code that a breakpoint is 1 byte long (it is 4 byte on ARM, for example). Define the type required to contain a breakpoint per architecture and use KD_BREAKPOINT_SIZE when copying.
- KD supports 32 breakpoints, not 20.
- Be portable when initializing members of the KD version and debugger data block.
- Pointers in the debugger data block should not be sign extended as done in the version block -- fix KdInitSystem and KdUpdateDataBlock that did this.
- Fix some comments that were x86 specific and use more generic terms instead.
- Fix a cast in KeBugCheckWithTf.

svn path=/trunk/; revision=43365

14 years ago[ntoskrnl]
Aleksey Bragin [Sat, 10 Oct 2009 18:22:56 +0000 (18:22 +0000)]
[ntoskrnl]
- Reimplement HalpCalibrateStallExecution which was removed in r24964. Real Windows uses a different algorithm, however existing one seems to work acceptably. This patch is critical for devices support on real hardware. The only downside is that uniata initialization takes a substantial amount of time now, this is going to be investigated. Patch by Daniel Zimmermann.
See issue #4600 for more details.

svn path=/trunk/; revision=43364

14 years ago- Implement RtlpDidUnicodeToOemWork to check for unmapped characters. Based on a...
Aleksey Bragin [Sat, 10 Oct 2009 13:22:41 +0000 (13:22 +0000)]
- Implement RtlpDidUnicodeToOemWork to check for unmapped characters. Based on a patch by Daniel Zimmerman.
See issue #4548 for more details.

svn path=/trunk/; revision=43363

14 years ago[freeldr]
Aleksey Bragin [Sat, 10 Oct 2009 13:05:02 +0000 (13:05 +0000)]
[freeldr]
Andrew Steinborn <asteinborn78@gmail.com>
- Display error message when boot sector reading fails.
See issue #4641 for more details.

svn path=/trunk/; revision=43362

14 years ago- Mark wtsapi32 as forked.
Aleksey Bragin [Sat, 10 Oct 2009 12:56:02 +0000 (12:56 +0000)]
- Mark wtsapi32 as forked.

svn path=/trunk/; revision=43361

14 years ago[wtsapi32]
Aleksey Bragin [Sat, 10 Oct 2009 12:55:34 +0000 (12:55 +0000)]
[wtsapi32]
Andrey Ivanov <andrey.v.ivanov@gmail.com>
- Implement WTSEnumerateProcessesA and WTSEnumerateProcessesW.
See issue #4658 for more details.

svn path=/trunk/; revision=43360

14 years ago[fastfat_new]
Aleksey Bragin [Sat, 10 Oct 2009 12:40:20 +0000 (12:40 +0000)]
[fastfat_new]
- Actually add short and long names to splay tree when setting up FCB's names.

svn path=/trunk/; revision=43359

14 years ago[fastfat_new]
Aleksey Bragin [Sat, 10 Oct 2009 12:34:02 +0000 (12:34 +0000)]
[fastfat_new]
- Add two functions for adding/removing name links from splay trees.
- Cleanup Fati8dot3ToString function from testing code.
- Add FCB states, so far just two: has names, and has unicode name.

svn path=/trunk/; revision=43358

14 years agoAlexander Yastrebov <menone7@gmail.com>
Aleksey Bragin [Sat, 10 Oct 2009 09:16:34 +0000 (09:16 +0000)]
Alexander Yastrebov <menone7@gmail.com>
- SetDllDirectory should add a directory to the search path used to locate DLLs for the application.

See issue #4820 for more details.

svn path=/trunk/; revision=43357

14 years ago[fastfat_new]
Aleksey Bragin [Sat, 10 Oct 2009 09:13:39 +0000 (09:13 +0000)]
[fastfat_new]
- Manually fetch a short name entry in FatSetFcbNames and process it.
- Get a long name and process it too (though right now there is problem, FullFAT returns a short name instead of a true long name).
- Silence debug prints in FatiRead.

svn path=/trunk/; revision=43356

14 years ago - Small fix for 43354
Cameron Gutman [Sat, 10 Oct 2009 08:26:20 +0000 (08:26 +0000)]
 - Small fix for 43354
 - Only pass the physical address if we have it

svn path=/trunk/; revision=43355

14 years ago - Fix timeout values
Cameron Gutman [Sat, 10 Oct 2009 07:43:39 +0000 (07:43 +0000)]
 - Fix timeout values
 - Don't reply to ARP requests unless they are address to us
 - We now reset the NCE timeout if we receive a packet from the neighbor
 - Fixes ARP flooding (bug 4879)

svn path=/trunk/; revision=43354

14 years ago- Do not test for IMM start up from client info, instead do not attach to system...
James Tabor [Sat, 10 Oct 2009 05:15:43 +0000 (05:15 +0000)]
- Do not test for IMM start up from client info, instead do not attach to system threads. Thanks Tommy Ward.

svn path=/trunk/; revision=43353

14 years ago- [Win32k] Implement AttachThreadInput, not yet connected to the thread message queue...
James Tabor [Sat, 10 Oct 2009 04:40:36 +0000 (04:40 +0000)]
- [Win32k] Implement AttachThreadInput, not yet connected to the thread message queue, update related.
- See http://www.codeproject.com/KB/cpp/onscreenkeyboard.aspx for test program.

svn path=/trunk/; revision=43352

14 years ago- Map STATUS_NOT_FOUND to ERROR_NOT_FOUND
Johannes Anderwald [Sat, 10 Oct 2009 03:45:57 +0000 (03:45 +0000)]
- Map STATUS_NOT_FOUND to ERROR_NOT_FOUND

svn path=/trunk/; revision=43351

14 years ago - Specify the interface index so the route won't get added to interface 0 (loopback)
Cameron Gutman [Sat, 10 Oct 2009 02:04:13 +0000 (02:04 +0000)]
 - Specify the interface index so the route won't get added to interface 0 (loopback)
 - Warn if something tries to add a route to the loopback adapter
 - Fixes routing issues some people were having

svn path=/trunk/; revision=43350

14 years ago- KeyboardThreadMain: Set RepeatRate to 1 vice 0. Fixes text input in OpenOffice...
Michael Martin [Sat, 10 Oct 2009 01:13:17 +0000 (01:13 +0000)]
- KeyboardThreadMain: Set RepeatRate to 1 vice 0. Fixes text input in OpenOffice Writer.

svn path=/trunk/; revision=43349

14 years agoFix SECURITY_DESCRIPTOR_RELATIVE that I broke, spotted by Stefan
Timo Kreuzer [Fri, 9 Oct 2009 22:52:39 +0000 (22:52 +0000)]
Fix SECURITY_DESCRIPTOR_RELATIVE that I broke, spotted by Stefan

svn path=/trunk/; revision=43348

14 years ago- Various resource fixes (unclosed files, unchecked memory allocations, missing destr...
Gregor Schneider [Fri, 9 Oct 2009 21:02:44 +0000 (21:02 +0000)]
- Various resource fixes (unclosed files, unchecked memory allocations, missing destructor, not freed memory)
- Patch by Russell with some modifications by myself
See issue #4662 for more details.

svn path=/trunk/; revision=43347

14 years ago- Hey, you know what? Dbg/NtQueryDebugFilterState returns TRUE/FALSE after all.
Stefan Ginsberg [Fri, 9 Oct 2009 19:54:07 +0000 (19:54 +0000)]
- Hey, you know what? Dbg/NtQueryDebugFilterState returns TRUE/FALSE after all.

svn path=/trunk/; revision=43346

14 years agoCorrect MPEG1/2 video decoder filename, patch by Russell
Gregor Schneider [Fri, 9 Oct 2009 18:45:24 +0000 (18:45 +0000)]
Correct MPEG1/2 video decoder filename, patch by Russell
See issue #4878 for more details.

svn path=/trunk/; revision=43345

14 years ago[KS]
Johannes Anderwald [Fri, 9 Oct 2009 16:48:41 +0000 (16:48 +0000)]
[KS]
- Fix a bug when canceling irps

svn path=/trunk/; revision=43344

14 years ago[fastfat_new]
Aleksey Bragin [Fri, 9 Oct 2009 14:20:33 +0000 (14:20 +0000)]
[fastfat_new]
- Add two names to an FCB - a short name, and a long name.
- Start implementing FatSetFcbNames, currently deals with short names only.
- Implement Fati8dot3ToString, with most of the code actually #if0ed, because FullFAT already does this conversion.

svn path=/trunk/; revision=43343

14 years ago[PORTLCS]
Johannes Anderwald [Fri, 9 Oct 2009 12:36:26 +0000 (12:36 +0000)]
[PORTLCS]
- KSCATEGORY_AUDIO should be the first device category so that wdmaud can correctly assign virtual device ids

svn path=/trunk/; revision=43342

14 years ago- Fix DbgLoadImageSymbols -- it doesn't return anything.
Stefan Ginsberg [Fri, 9 Oct 2009 11:51:07 +0000 (11:51 +0000)]
- Fix DbgLoadImageSymbols -- it doesn't return anything.
- Fix DbgQueryDebugFilterState -- it returns NTSTATUS, not BOOLEAN! Also fix the callers that depended on this.

svn path=/trunk/; revision=43341

14 years agoActually define STATUS_ASSERTION_FAILURE (missed in 43291).
Stefan Ginsberg [Fri, 9 Oct 2009 11:27:41 +0000 (11:27 +0000)]
Actually define STATUS_ASSERTION_FAILURE (missed in 43291).

svn path=/trunk/; revision=43340

14 years ago - Fix some typos from my last commit
Cameron Gutman [Fri, 9 Oct 2009 05:18:35 +0000 (05:18 +0000)]
 - Fix some typos from my last commit
 - Remove more hacks from iphlpapi

svn path=/trunk/; revision=43339

14 years ago - Rewrite IOCTL_TCP_QUERY_INFORMATION_EX/IOCTL_TCP_SET_INFORMATION_EX handling
Cameron Gutman [Fri, 9 Oct 2009 02:40:38 +0000 (02:40 +0000)]
 - Rewrite IOCTL_TCP_QUERY_INFORMATION_EX/IOCTL_TCP_SET_INFORMATION_EX handling
 - Remove duplicate defines for the same IOCTL
 - Remove unneeded code
 - Fix a completely wrong implementation of ENTITY_TYPE_ID
 - Perform parameter checking
 - Remove several hacks in iphlpapi that worked around bugs in the previous implementation
 - We now support retrieving interface-specific routing tables and ARP tables

svn path=/trunk/; revision=43338

14 years ago- Stub out ExpSystemErrorHandler more properly.
Stefan Ginsberg [Thu, 8 Oct 2009 20:06:37 +0000 (20:06 +0000)]
- Stub out ExpSystemErrorHandler more properly.

svn path=/trunk/; revision=43337

14 years ago - Partially revert r42993 for imagelist
Dmitry Chapyshev [Thu, 8 Oct 2009 11:18:34 +0000 (11:18 +0000)]
 - Partially revert r42993 for imagelist
See issue #4304 for more details.

svn path=/trunk/; revision=43336

14 years ago- When enumerating controls, cControls *tells* the number of controls not *cConnectio...
Johannes Anderwald [Thu, 8 Oct 2009 07:25:26 +0000 (07:25 +0000)]
- When enumerating controls, cControls *tells* the number of controls not *cConnections*. Fix a crash in XP sndvol32
- Clear the entire struct, not just part of it
- WdmAudMixerCapabilities just provides the index of a device, not its handle. Fixes displaying of duplicate mixer name in sndvol32
- Verify that a mixer line exists

svn path=/trunk/; revision=43335

14 years agoMiReserveSystemPtes: Don't assert that allocation succeeded, just warn if we failed...
Stefan Ginsberg [Wed, 7 Oct 2009 20:14:01 +0000 (20:14 +0000)]
MiReserveSystemPtes: Don't assert that allocation succeeded, just warn if we failed. All callers of the function handle allocation failure properly.

svn path=/trunk/; revision=43334

14 years agoFix GCC 4.1.3 warning.
Dmitry Gorbachev [Wed, 7 Oct 2009 20:04:17 +0000 (20:04 +0000)]
Fix GCC 4.1.3 warning.

svn path=/trunk/; revision=43333

14 years agoHappy testing.
Dmitry Gorbachev [Wed, 7 Oct 2009 19:58:15 +0000 (19:58 +0000)]
Happy testing.

svn path=/trunk/; revision=43332

14 years agoFix logging to a file.
Dmitry Gorbachev [Wed, 7 Oct 2009 19:57:40 +0000 (19:57 +0000)]
Fix logging to a file.

In spite of limitations, it remains the only way to obtain desired logs for some people.

svn path=/trunk/; revision=43331

14 years agoDelete unused copy of GPL.
Dmitry Gorbachev [Wed, 7 Oct 2009 19:56:35 +0000 (19:56 +0000)]
Delete unused copy of GPL.

svn path=/trunk/; revision=43330

14 years agoFix FreeLDR bug #4877. Patch by Gabriel.
Dmitry Gorbachev [Wed, 7 Oct 2009 19:55:44 +0000 (19:55 +0000)]
Fix FreeLDR bug #4877. Patch by Gabriel.

svn path=/trunk/; revision=43329

14 years ago- replace dropshadow from mouse settings by cursor shadow
Matthias Kupfer [Wed, 7 Oct 2009 19:42:02 +0000 (19:42 +0000)]
- replace dropshadow from mouse settings by cursor shadow
- bind cursor shadow to registry via sysparams
- rename variable names and identifiers

svn path=/trunk/; revision=43328

14 years ago- revert SPI_SETCLICKLOCK
Matthias Kupfer [Wed, 7 Oct 2009 18:22:25 +0000 (18:22 +0000)]
- revert SPI_SETCLICKLOCK
- small optimization in mgsqueue

svn path=/trunk/; revision=43327

14 years agoAdd test for NtUserSystemParametersInfo case SPI_SETMOUSECLICKLOCK
Timo Kreuzer [Wed, 7 Oct 2009 16:58:53 +0000 (16:58 +0000)]
Add test for NtUserSystemParametersInfo case SPI_SETMOUSECLICKLOCK

svn path=/trunk/; revision=43326

14 years ago- some preparation for ClickLock implementation
Matthias Kupfer [Wed, 7 Oct 2009 14:25:52 +0000 (14:25 +0000)]
- some preparation for ClickLock implementation

svn path=/trunk/; revision=43325

14 years ago[fastfat_new]
Aleksey Bragin [Wed, 7 Oct 2009 12:21:13 +0000 (12:21 +0000)]
[fastfat_new]
- Implement FatiQueryNameInformation. It doesn't work right now due to missing file names in the FCB record.
- Make a stub for FatSetFcbNames.

svn path=/trunk/; revision=43324

14 years ago- load UserPreferencesMask from registry
Matthias Kupfer [Wed, 7 Oct 2009 11:17:11 +0000 (11:17 +0000)]
- load UserPreferencesMask from registry

svn path=/trunk/; revision=43323

14 years ago[fastfat_new]
Aleksey Bragin [Wed, 7 Oct 2009 10:45:45 +0000 (10:45 +0000)]
[fastfat_new]
- Lower importance of some debug messages.
- Add FCB locking routines.
- Lock VCB and FCB in QueryInformation.

svn path=/trunk/; revision=43322

14 years ago[WDMAUD]
Johannes Anderwald [Wed, 7 Oct 2009 10:41:34 +0000 (10:41 +0000)]
[WDMAUD]
- Use KsProbeStreamIrp in wdmaud to probe user buffers
- Remove a few hacks which were required to pass down irps to portcls
[PORTCLS]
- Check if there is an automation table
[SYSAUDIO]
- Release file object of pin to prevent reference leak
--
- Audio stack now reacts faster as it now longer copies audio buffers in kernel mode and instead locks down the user buffers. In addition it uses less memory to do the same work.

svn path=/trunk/; revision=43321

14 years ago- Fix building of ReactOS
Johannes Anderwald [Wed, 7 Oct 2009 09:43:30 +0000 (09:43 +0000)]
- Fix building of ReactOS

svn path=/trunk/; revision=43320

14 years ago[fastfat_new]
Aleksey Bragin [Wed, 7 Oct 2009 09:27:03 +0000 (09:27 +0000)]
[fastfat_new]
- Properly complete non-implemented volume open requests.

svn path=/trunk/; revision=43319

14 years ago- Implement support for reading from waveIn devices
Johannes Anderwald [Wed, 7 Oct 2009 09:10:00 +0000 (09:10 +0000)]
- Implement support for reading from waveIn devices

svn path=/trunk/; revision=43318

14 years agoFix my stupid mistake, made in r43169. Bug #4863. Thanks to Gabriel & Victor.
Dmitry Gorbachev [Wed, 7 Oct 2009 01:41:53 +0000 (01:41 +0000)]
Fix my stupid mistake, made in r43169. Bug #4863. Thanks to Gabriel & Victor.

svn path=/trunk/; revision=43317

14 years ago- fix typo in registry key name
Matthias Kupfer [Wed, 7 Oct 2009 00:07:30 +0000 (00:07 +0000)]
- fix typo in registry key name
- fix wrong argument order in SystemParametersInfo call
- use static variables instead of multiple strings
- fix wrong pointer access in sysparams

svn path=/trunk/; revision=43316