Commit graph

39236 commits

Author SHA1 Message Date
Johannes Anderwald 417ebeb75f - Add missing types
svn path=/trunk/; revision=43415
2009-10-12 19:21:10 +00:00
Johannes Anderwald 0aa48e9268 [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
2009-10-12 19:20:33 +00:00
Gregor Schneider c15e161f91 [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
2009-10-12 18:52:44 +00:00
Stefan Ginsberg ed7f3daf87 - Fix usbdlib.h -- don't assume that the basic calling convention is stdcall.
svn path=/trunk/; revision=43412
2009-10-12 18:40:18 +00:00
Johannes Anderwald d6c99976ac - Revert 43410
svn path=/trunk/; revision=43411
2009-10-12 18:27:00 +00:00
Johannes Anderwald 9b46acbff0 - Fix typo
svn path=/trunk/; revision=43410
2009-10-12 18:20:23 +00:00
Gregor Schneider a3615254ed [spider]
- Increase dialog width for German, increase "four card difficulty" label width for Spanish
- Compile as Unicode, misc typos

svn path=/trunk/; revision=43408
2009-10-12 17:37:42 +00:00
Johannes Anderwald 54d11c96f0 [KS]
- Activate handling of requests of type KSPROPERTY_TYPE_BASICSUPPORT
- Return correct status code in the GUID_NULL handler

svn path=/trunk/; revision=43407
2009-10-12 17:04:15 +00:00
Johannes Anderwald 3c2e2137ce [WDMAUD.DR>V]
- Use default of 100 audio buffers if there are no prefered frame size available

svn path=/trunk/; revision=43406
2009-10-12 16:58:46 +00:00
Daniel Reimer c41c8bf584 - Updated DejaVu Fonts to Version 2.30
- Updated 3rd Party Files Document

svn path=/trunk/; revision=43400
2009-10-12 14:10:57 +00:00
Aleksey Bragin 0f711aae4c [fastfat_new]
- Start implementing volume open requests.

svn path=/trunk/; revision=43397
2009-10-12 13:17:56 +00:00
Michael Martin 6be2aea1b3 - 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
2009-10-12 12:47:54 +00:00
Dmitry Chapyshev 6eb3586017 - Add some structures
svn path=/trunk/; revision=43395
2009-10-12 12:28:22 +00:00
Dmitry Chapyshev 3ed9870bca - Stub implement SfcGetNextProtectedFile
svn path=/trunk/; revision=43394
2009-10-12 12:25:02 +00:00
Aleksey Bragin 0a427ec6b6 [fastfat_new]
- Implement a stub version of basic information query. Fixes an "autochk.exe" not found problem.

svn path=/trunk/; revision=43393
2009-10-12 10:22:32 +00:00
Michael Martin 25a93ac224 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
2009-10-12 09:50:57 +00:00
Aleksey Bragin 978aff9a6e [fastfat_new]
- Downgrade most of file info debug prints.

svn path=/trunk/; revision=43391
2009-10-12 09:37:07 +00:00
Aleksey Bragin 388ffabace [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
2009-10-12 09:30:41 +00:00
Dmitry Gorbachev ab802377c7 - Remove svn:needs-lock, svn:eol-type, and svn:eol-tyle properties.
- Add missing svn:eol-style properties.

svn path=/trunk/; revision=43389
2009-10-12 03:35:35 +00:00
Dmitry Gorbachev 854ec39df3 Use consistent newline style.
svn path=/trunk/; revision=43388
2009-10-12 03:28:57 +00:00
Dmitry Gorbachev e29cd23a7e Remove allowwarnings="true" from rbuild file. Fixed in r42970.
svn path=/trunk/; revision=43387
2009-10-12 03:28:19 +00:00
Dmitry Gorbachev 27f05c27a8 [CHEW]
- Fix formatting, comments.
- Delete an empty directory.

svn path=/trunk/; revision=43386
2009-10-12 03:27:45 +00:00
Dmitry Chapyshev ac4cdf694c - Add Russian translation
svn path=/trunk/; revision=43385
2009-10-12 02:28:37 +00:00
Dmitry Gorbachev fe9f54902e Update / add Japanese translations. Tomoya Kitagawa, bug #4884.
svn path=/trunk/; revision=43384
2009-10-11 23:23:34 +00:00
Dmitry Gorbachev 77ded269ca Update Japanese translations. Tomoya Kitagawa, bug #4884.
svn path=/trunk/; revision=43383
2009-10-11 23:23:30 +00:00
Stefan Ginsberg 3a58832c04 - 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
2009-10-11 21:57:52 +00:00
Stefan Ginsberg 5d5e6d95d9 - Woooops, fix MP hal build.
svn path=/trunk/; revision=43381
2009-10-11 20:40:19 +00:00
Stefan Ginsberg 31c45b85d7 - 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
2009-10-11 20:16:45 +00:00
Gregor Schneider d00f6c4b5c [spider] Address two more gcc 4.4 parenthesis warnings
svn path=/trunk/; revision=43379
2009-10-11 18:10:48 +00:00
Hervé Poussineau 9b1f5baa24 [freeldr] Fix typo: REGISTER -> REGISTRY
svn path=/trunk/; revision=43378
2009-10-11 17:10:32 +00:00
Hervé Poussineau 02db465a10 [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
2009-10-11 17:08:33 +00:00
Gregor Schneider 84625e3ee4 [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
2009-10-11 16:00:07 +00:00
Gregor Schneider 5fad423e37 [cardlib] Re-add changes that got lost due to an old version being used as base
svn path=/trunk/; revision=43375
2009-10-11 14:15:02 +00:00
Dmitry Chapyshev 3002382fb4 - Add spider.exe to bootcd
- Add shortcut for spider

svn path=/trunk/; revision=43374
2009-10-11 14:00:18 +00:00
Gregor Schneider 804567c4c8 Remove solitaires local cardlib copy
svn path=/trunk/; revision=43373
2009-10-11 12:10:57 +00:00
Gregor Schneider 84e271496c [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
2009-10-11 12:07:11 +00:00
Aleksey Bragin be31446a2e - Implement pool corruption tests for testing pool overrun/underrun detectors. Tests invocation is commented out by default.
svn path=/trunk/; revision=43371
2009-10-11 10:00:56 +00:00
Aleksey Bragin 4ff9e0a85e [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
2009-10-11 09:54:41 +00:00
Johannes Anderwald aacb520dac - Store KSPROPERTY_SET in Irp when using KsPropertyHandler
- Fix a bug in KsPinDataIntersection

svn path=/trunk/; revision=43369
2009-10-11 09:49:10 +00:00
Aleksey Bragin 8512a881b0 [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
2009-10-11 09:49:09 +00:00
Dmitry Gorbachev 8f4f21679d Fix English resource file. Patch by Joshua Rice, bug #4763.
svn path=/trunk/; revision=43367
2009-10-11 00:09:41 +00:00
James Tabor 25d4d83e6b - Fix exception. Spotted by Stefan Ginsberg.
svn path=/trunk/; revision=43366
2009-10-10 21:51:24 +00:00
Stefan Ginsberg ca6fbc0be9 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
2009-10-10 19:27:54 +00:00
Aleksey Bragin 3f7bed2eae [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
2009-10-10 18:22:56 +00:00
Aleksey Bragin fcd17ff4fb - 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
2009-10-10 13:22:41 +00:00
Aleksey Bragin 1ac07cde09 [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
2009-10-10 13:05:02 +00:00
Aleksey Bragin e93efe68d0 - Mark wtsapi32 as forked.
svn path=/trunk/; revision=43361
2009-10-10 12:56:02 +00:00
Aleksey Bragin dfa73d9163 [wtsapi32]
Andrey Ivanov <andrey.v.ivanov@gmail.com>
- Implement WTSEnumerateProcessesA and WTSEnumerateProcessesW.
See issue #4658 for more details.

svn path=/trunk/; revision=43360
2009-10-10 12:55:34 +00:00
Aleksey Bragin d605c0c30a [fastfat_new]
- Actually add short and long names to splay tree when setting up FCB's names.

svn path=/trunk/; revision=43359
2009-10-10 12:40:20 +00:00
Aleksey Bragin 0bf0c0acf7 [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
2009-10-10 12:34:02 +00:00