Commit graph

39302 commits

Author SHA1 Message Date
Gregor Schneider 3a38bb048a [spider]
- Check for completed stack after dealing cards by installing one function to do this in call three cases, bug #4886
- Fix and simplify drop rules (only by number) and validation rules (by number and type) for two and four color games
- Fix typo in Polish Translation

svn path=/trunk/; revision=43441
2009-10-13 20:34:05 +00:00
Stefan Ginsberg 26a8c4b69a - Add the MMDBG_COPY_* flags and MmDbgCopyMemory's prototype.
- Add KdpCopyMemoryChunks and use it to handle virtual memory read/write (physical memory support still stubbed). The actual copy is still a hack and its only safeguard against invalid memory is still a simple check for NULL.
- Properly implement KdpReadVirtualMemory, KdpWriteVirtualMemory, KdpReadPhysicalmemory and KdpWritePhysicalmemory using KdpCopyMemoryChunks.
- Merge Timo's ReportFlags fix from the AMD64 branch.
- Implement KdpSysWriteMsr and KdpSysReadMsr for x86. SEH is commented as our GPF handler seems to swallow exceptions caused by accessing invalid MSRs.
- Change DataValue parameter of KdpSysReadIoSpace and KdpSysWriteIoSpace to PVOID to better match how it is used.

svn path=/trunk/; revision=43440
2009-10-13 19:45:40 +00:00
Dmitry Gorbachev bfb5499f5c - See if it is a multibyte code page.
- Remove check against zero.
- Fix comments, formatting.

svn path=/trunk/; revision=43439
2009-10-13 18:43:42 +00:00
Aleksey Bragin 352dfbf644 [rtl]
- Fix an out-of-bounds read in RtlpDidUnicodeToOemWorked.
See issue #4888 for more details.

svn path=/trunk/; revision=43438
2009-10-13 18:01:55 +00:00
Johannes Anderwald 89bda0c12e - Fix various bugs such as wrong function definitions, using of uninitialized variables
- Add macros which are not present in the WDK
- Check return type of synchronized interrupt routine
- Use PcHandlePropertyWithTable IPortPinWavePci
- Remove IServiceSink implementation from IPortWaveRt as it is a hack
- Add a small hack to IResource list implementation as prefast doesnt find decl of NumberOfEntries
- Fix build

svn path=/trunk/; revision=43437
2009-10-13 12:29:41 +00:00
Johannes Anderwald 09ef80af6b - Fix interface definition
svn path=/trunk/; revision=43436
2009-10-13 12:25:10 +00:00
Dmitry Gorbachev 05f6ac1ea8 Temporary hack to avoid linker errors when building with RosBE 1.5B1.
svn path=/trunk/; revision=43434
2009-10-13 03:34:29 +00:00
Dmitry Gorbachev dd487188b9 Check for error.
svn path=/trunk/; revision=43431
2009-10-12 23:52:56 +00:00
Dmitry Gorbachev bb99554339 Fix "array subscript is above array bounds" bug.
svn path=/trunk/; revision=43430
2009-10-12 23:52:33 +00:00
Johannes Anderwald ce7bb91b16 - Add more types
svn path=/trunk/; revision=43425
2009-10-12 22:44:17 +00:00
Johannes Anderwald 303bae9dcb - Pointer / handle values should be printed with %p. Found by Christoph
- Add the sum / mixer node to the destination pin
- Only create MIXERVOLUME_DATA when there is an actual range
- Use unsigned members to calculate the range

svn path=/trunk/; revision=43424
2009-10-12 22:36:10 +00:00
Matthias Kupfer d5a7f4b694 experimental mouse click lock feature
svn path=/trunk/; revision=43420
2009-10-12 21:08:35 +00:00
Gregor Schneider 9928349968 [spider] Polish translation by Maciej Białas
svn path=/trunk/; revision=43419
2009-10-12 21:07:19 +00:00
Christoph von Wittich b4053fedd1 [SYSAUDIO]
-pass the correct amount of parameters to DPRINT

svn path=/trunk/; revision=43418
2009-10-12 21:06:21 +00:00
Matthias Kupfer 750be30cc9 - small fix for SystemParametersInfo-call for DragFullWindows
- disable incomplete UserPref settings

svn path=/trunk/; revision=43417
2009-10-12 21:02:25 +00:00
Aleksey Bragin 101f8fcb31 [kernel32]
- Remove incorrect null-termination of a string. Thanks to Russel for spotting.
See issue #4820 for more details.

svn path=/trunk/; revision=43416
2009-10-12 19:45:12 +00:00
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