Stefan Ginsberg [Sun, 8 Nov 2009 21:22:24 +0000 (21:22 +0000)]
- Add freeze.c to the build too
svn path=/trunk/; revision=44031
Stefan Ginsberg [Sun, 8 Nov 2009 21:10:23 +0000 (21:10 +0000)]
- Move processor freeze support out from x86 cpu.c to new generic freeze.c as these routines are quite generic.
svn path=/trunk/; revision=44030
Stefan Ginsberg [Sun, 8 Nov 2009 11:52:23 +0000 (11:52 +0000)]
- Make WinLdr's loading screen display the boot method (NT) instead of operating system name (Windows).
svn path=/trunk/; revision=44027
Stefan Ginsberg [Sun, 8 Nov 2009 11:41:35 +0000 (11:41 +0000)]
- Fix _WINKD_ build breakage from 44023 -- missed to commit the .rbuild change for the renamed kdsup.c files
svn path=/trunk/; revision=44026
Stefan Ginsberg [Sun, 8 Nov 2009 01:13:49 +0000 (01:13 +0000)]
- Disable the MiCacheImageSymbols call in MmLoadSystemImage for KD too as this hack is required for rossym rather than KDBG. Fixes detection of non-boot driver images by WinDbg.
- Add another hack to freeldr.c to make sure that HAL is the second entry in the Load Order list -- detect if it isn't and insert it as the second entry manually if it isn't.
- KdbInitialize can now assume that the 2nd entry in the Load Order list is HAL, just like ExpLoadBootSymbols and KD does, so get the Loader Entry directly instead of searching for it.
- Move KiBootTss and KiBootGdt to freeldr.c as this is where they belong -- they are not required for NTLDR/WINLDR boot style and are only used directly in freeldr.c.
- Get rid of the AcpiTableDetected variable from freeldr.c. Instead, set the AcpiTable entry to something and make PoInitSystem check for that instead to preserve the old behavior.
- Implement KdpGetFirstParameter and KdpGetSecondParameter for ARM too -- just retrieve R3/R4 here. Also rename those macros to clarify what parameters we are retrieving.
- Add MmIsSessionAddress stub and use it from KD handle session space properly in the Memory Query API, and ASSERT that we are not trying to do a copy to/from session space in MmDbgCopyMemory as we don't handle it properly. Put this in mmdbg.c for now as we don't implement session space, and it is only called from KD right now.
- Rename the 3 kdsup.c files to kdx86.c, kdx64.c and kdarm.c to differ them from each other.
- Implement KdpAllowDisable -- just check if any processor breakpoints are set on any processor in the system and disallow the disable if so. The routine is now architecture dependant, so move it to the appropriate files.
- Get rid of the MmFreeLdr* variables too. These have been deprecated for some time now.
- The ModuleObject and ImageBaseAddress parameters of MmLoadSystemImage are not optional so don't treat them as such, and don't zero initialize them as callers shouldn't rely on this.
- Set LDRP_ENTRY_NATIVE instead of LDRP_COMPAT_DATABASE_PROCESSED to mark the image as a native image. Also fix the value of LDRP_ENTRY_NATIVE.
- Fix definition of LDR_DATA_TABLE_ENTRY -- the Checksum member should be in the union too.
- Remove some unnecessary externs for stuff we now define globally in the kernel headers.
- Rename some variables in KD to better match the logic.
- Move some x86 only stuff from global ke.h and ke_x.h to the x86 dependent ke.h. Remove DR_ACTIVE_MASK as it has been deprecated/unused for a while now.
svn path=/trunk/; revision=44023
Stefan Ginsberg [Sun, 8 Nov 2009 00:22:29 +0000 (00:22 +0000)]
- Add HAL PCI tables required for future work.
svn path=/trunk/; revision=44022
Cameron Gutman [Sat, 7 Nov 2009 20:41:57 +0000 (20:41 +0000)]
- Stop using the TCPLock to protect all entries into the IP lib
- Instead use TCPLock only to protect entries into oskittcp
svn path=/trunk/; revision=44021
Aleksey Bragin [Sat, 7 Nov 2009 20:18:04 +0000 (20:18 +0000)]
- Add defines needed by explorer-new. Fixes build.
svn path=/trunk/; revision=44019
Aleksey Bragin [Sat, 7 Nov 2009 19:53:41 +0000 (19:53 +0000)]
- Remove accidentally committed Wineisms. Build is fixed.
svn path=/trunk/; revision=44015
Aleksey Bragin [Sat, 7 Nov 2009 19:42:57 +0000 (19:42 +0000)]
[comctl32]
- Fix a critical bug in TOOLTIPS_NotifyFormat. Its first parameter changed from HWND to infoPtr pointer, however the function was not updated accordingly.
svn path=/trunk/; revision=44014
Aleksey Bragin [Sat, 7 Nov 2009 19:34:59 +0000 (19:34 +0000)]
- Update commctrl.h to Wine-1.1.31.
svn path=/trunk/; revision=44013
KJK::Hyperion [Sat, 7 Nov 2009 19:21:13 +0000 (19:21 +0000)]
Fix keyboard navigation of menus (up/down keys)
Patch by IJM <mailnew2ster AT mail.ru>
svn path=/trunk/; revision=44012
Cameron Gutman [Sat, 7 Nov 2009 18:12:58 +0000 (18:12 +0000)]
- Remove TCPSleep and TCPWakeup (we make all oskittcp sockets non-blocking)
- Crash ROS better in oskittcp_die
svn path=/trunk/; revision=44010
KJK::Hyperion [Sat, 7 Nov 2009 17:24:06 +0000 (17:24 +0000)]
Unbreak build
svn path=/trunk/; revision=44006
KJK::Hyperion [Sat, 7 Nov 2009 16:56:52 +0000 (16:56 +0000)]
globally-defined CFLAGS, CXXFLAGS, etc. will now work, and override C compiler flags, C++ compiler flags, etc. for all modules. Our makefile build system now a little closer to a real makefile build system
svn path=/trunk/; revision=44003
KJK::Hyperion [Sat, 7 Nov 2009 15:20:45 +0000 (15:20 +0000)]
Don't uppercase module name in _TARGET macros. This commit will amazingly not trigger a full rebuild
svn path=/trunk/; revision=44000
Johannes Anderwald [Sat, 7 Nov 2009 13:49:01 +0000 (13:49 +0000)]
[DSOUND]
- Add more checks IDirectSoundCapture::CreateCaptureBuffer
- Implement IDirectSoundNotify interface
- Needs work from ks / portcls to work on formats supported natively by the driver
svn path=/trunk/; revision=43997
Johannes Anderwald [Sat, 7 Nov 2009 12:57:07 +0000 (12:57 +0000)]
- Add a few constants and types required event handling
svn path=/trunk/; revision=43996
Sylvain Petreolle [Sat, 7 Nov 2009 11:43:06 +0000 (11:43 +0000)]
Report spoolsv service status at startup.
this fixes 1 advapi32:service test.
svn path=/trunk/; revision=43995
Johannes Anderwald [Sat, 7 Nov 2009 03:43:56 +0000 (03:43 +0000)]
[DSOUND_NEW]
- Implement stereo to mono channel conversion
- Create a thread which performs the mixing
- Fixes messed up voice recording in Skype 3.6
svn path=/trunk/; revision=43994
Stefan Ginsberg [Fri, 6 Nov 2009 23:55:08 +0000 (23:55 +0000)]
- Refactor stubbed HAL resource report slightly.
- Move the resource routines to their own file instead of sysinfo.c.
- Add missing members to PCIPBUSDATA.
- Kill old, unused generic.rbuild.
svn path=/trunk/; revision=43991
Arch Blackmann [Fri, 6 Nov 2009 23:35:28 +0000 (23:35 +0000)]
Whiners...
svn path=/trunk/; revision=43990
Arch Blackmann [Fri, 6 Nov 2009 22:42:26 +0000 (22:42 +0000)]
Implement printout the the state tables. It seems to work fine, but the tool doesn't yet generate the modified keys (shift+, ctrl+, etc) for each virtual key. This is the last thing that remains.
svn path=/trunk/; revision=43989
Johannes Anderwald [Fri, 6 Nov 2009 17:00:20 +0000 (17:00 +0000)]
- Fix check
svn path=/trunk/; revision=43988
Arch Blackmann [Fri, 6 Nov 2009 00:38:04 +0000 (00:38 +0000)]
Implement support for writing the virtual key to WCHAR translation for different shift states.
Only 2 shift states are supported for now, I have to add a lot more output generation code to get at least 3 states up and running.
svn path=/trunk/; revision=43985
Arch Blackmann [Fri, 6 Nov 2009 00:37:06 +0000 (00:37 +0000)]
Add table of shift state combinations, and add table of shift state types.
svn path=/trunk/; revision=43984
Arch Blackmann [Thu, 5 Nov 2009 23:58:38 +0000 (23:58 +0000)]
Print out more state-related tables and information (still missing one large chunk of data). Print out the key and extended key tables for the layout. Fix up some more code.
The C source is almost fully complete for the English US test layout KLC!
svn path=/trunk/; revision=43983
Michael Martin [Thu, 5 Nov 2009 23:43:57 +0000 (23:43 +0000)]
[cdfs]
- CdfsVerifyVolume: Disable the delivery of normal Kernel APC's before acquiring resource and re-enable APC's after releasing resource. Fixes ASSERT from ntoskrnl/ex/resource.c. Noticed by Stefan.
svn path=/trunk/; revision=43982
Arch Blackmann [Thu, 5 Nov 2009 19:55:57 +0000 (19:55 +0000)]
Add more support for shift state output. The tool now updates CharModifiers table based on the shift states present in the layout, building both the modification number and the key name based on the virtual key-> name table.
svn path=/trunk/; revision=43978
Arch Blackmann [Thu, 5 Nov 2009 19:25:41 +0000 (19:25 +0000)]
Generate modifier table. Generate extended scancode table X. Generate extended scancode table Y.
svn path=/trunk/; revision=43977
Arch Blackmann [Thu, 5 Nov 2009 19:24:47 +0000 (19:24 +0000)]
Add table of modifiers.
svn path=/trunk/; revision=43976
Arch Blackmann [Thu, 5 Nov 2009 19:24:24 +0000 (19:24 +0000)]
Create layout entries for built-in non-redefined scancodes as well, based on the 110-key table (mostly things like the extended keys/SpeedRacer/MediaButtons, etc).
svn path=/trunk/; revision=43975
Aleksey Bragin [Thu, 5 Nov 2009 13:27:52 +0000 (13:27 +0000)]
[shell32]
- Remove extra semicolon, spotted by Gabriel.
svn path=/trunk/; revision=43973
Aleksey Bragin [Thu, 5 Nov 2009 10:07:16 +0000 (10:07 +0000)]
[shell32]
Gabriel Ilardi
- Properly stub SHSetUnreadMailCountW and SHGetUnreadMailCountW to unregress Thunderbird and possibly other email clients.
See issue #4940 for more details.
svn path=/trunk/; revision=43971
Arch Blackmann [Thu, 5 Nov 2009 05:20:01 +0000 (05:20 +0000)]
The tool now generates 75% of a typical keyboard layout C file. Lots of stuff still missing, but most of the annoying work is done now... it just has to start filling in the dynamic data.
A full-fledged file will have ligature data, up to 8 shift states, dead keys, etc, but that's not stuff we'll have to deal with at first for simple layouts.
By tomorrow we should be able to fully process and generate latin-alphabet-based language keyboard layouts.
svn path=/trunk/; revision=43970
Arch Blackmann [Thu, 5 Nov 2009 02:04:04 +0000 (02:04 +0000)]
Now write out the DEF file (okay that was too easy).
svn path=/trunk/; revision=43967
Arch Blackmann [Thu, 5 Nov 2009 01:57:08 +0000 (01:57 +0000)]
Kbdtool can now create the resource (RC) file as well!
svn path=/trunk/; revision=43966
Stefan Ginsberg [Wed, 4 Nov 2009 22:51:00 +0000 (22:51 +0000)]
- Convert one more __invlpg to KeInvalidateTlbEntry
svn path=/trunk/; revision=43963
Stefan Ginsberg [Wed, 4 Nov 2009 22:49:46 +0000 (22:49 +0000)]
- Oh snap. KDBG is not dead yet.
svn path=/trunk/; revision=43962
Arch Blackmann [Wed, 4 Nov 2009 22:48:55 +0000 (22:48 +0000)]
Holy shit Batman! KbdTool can now write out the keyboard layout header file! You should get a Layout01.h if you run it on test.klc (in your current working directory).
svn path=/trunk/; revision=43961
Stefan Ginsberg [Wed, 4 Nov 2009 22:40:18 +0000 (22:40 +0000)]
- Implement support for reading and writing physical memory for KD. The implementation uses a reserved mapping page to map the target physical address to. On x86 this page is located at virtual address 0xFFBFF000, and the PTE for this page is the last PTE of the nonpaged pool's PDE. Other architectures may need to reserve the PTE elsewhere.
- The physical memory support relies on several Mm variables and structures to be properly set up. Add a new flag, MiDbgReadyForPhysical, and set it when the debugger support can handle physical memory requests.
- Protect this page with a Memory Area to make the old Mm keep its dirty hands off it.
- Does not support I/O space or cache flags yet.
- Add generic KeInvalidateTlbEntry to invalidate a single TLB entry for a given address instead of flushing the whole TLB. Used by the debugger physical memory support as invalidating the whole TLB for every map and unmap of its debug PTE would incur significant overhead for large copies. Replace direct usage of __invlpg() with this in x86 code too.
- Fix incorrect cache flag check and set in KdpRead/WritePhysicalmemory for write combined requests. The debugger's Uncached flag was checked instead of the Write Combined flag, and the debuggers Write Combine number (0x3) was set instead of Mm's flag (0x20).
- Fix implementation of MmIsAddressValid (at least for x86; other architectures will need more checks). Just check the Address' PDE and PTE valid bits instead of using Memory Areas.
- Add missing ASSERTs to ensure the Memory Areas for paged pool, the PCR page, and the Shared User Data page are created.
- Add missing Memory Area for the 2 pages HAL currently uses for its own mappings on x86 -- previously, those pages could have been allocated by other parts of the OS, which would have resulted in serious corruptions.
svn path=/trunk/; revision=43960
Arch Blackmann [Wed, 4 Nov 2009 22:07:29 +0000 (22:07 +0000)]
Refactoring and cleanup. Start fleshing out the output phase. Start handling exit correctly. Fix a bug in DoLAYOUT. Nothing new to see here...
svn path=/trunk/; revision=43959
Stefan Ginsberg [Wed, 4 Nov 2009 21:57:32 +0000 (21:57 +0000)]
- Finish the work around for the Pentium cmpxchg8b lock errata: We detected the errata and allocated the 7 first IDT entries on a write protected page, but the final piece of the work around, detecting the write fault ti the Invalid Opcode handler, was missing. Implemented this in the page fault handler to detect and dispatch the write fault to the Invalid Opcode handler.
- Fix the "fix" of un-protecting the 7 IDT entries on P5 in HAL's BIOS call code when setting the custom Invalid Opcode handler. The IDT was unprotected but the write protection wasn't reapplied after the BIOS call, breaking the work around.
Other:
- KdDebuggerEnabled is a BOOLEAN, so don't do a dword compare in KeUpdateSystemTime.
- Use better comment for the hack where we always allow page faults to be handled, even if they the fault occured with interrupts disabled.
svn path=/trunk/; revision=43958
Arch Blackmann [Wed, 4 Nov 2009 19:52:36 +0000 (19:52 +0000)]
Add some helpful debug output to LAYOUT parsing, and enable DoLAYOUT code. The tool is able to fully decode/parse the test.klc English US layout file!
svn path=/trunk/; revision=43950
Arch Blackmann [Wed, 4 Nov 2009 19:38:21 +0000 (19:38 +0000)]
Implement getCharacterInfo so the tool can now handle most LAYOUT entries, but not complicated ligature entries (dead keys are fine though). Also cleaned up the parsing loop of DoLAYOUT to avoid a goto, and finally added detection of SGCAP entries (in which case the tool will fail, since these are complex and not needed for now).
The main parsing loop is pretty much done, now the tool "just" has to merge the states and perform a check for duplicate entries. Then it'll be ready to generate the output files.
svn path=/trunk/; revision=43949
Christoph von Wittich [Wed, 4 Nov 2009 11:16:25 +0000 (11:16 +0000)]
sync wininet with wine 1.1.32
svn path=/trunk/; revision=43948
Arch Blackmann [Wed, 4 Nov 2009 04:49:00 +0000 (04:49 +0000)]
Started adding support for reading the different character states and the cap data (including detecting SGCAP). Now the tool has to determine the type of each character defined at every stage (dead, valid, invalid, ligature, etc...) and save the character in the appropriate slot. Dead and other keys are currently handled, as are undefined keys.
Major work remains to be done...
svn path=/trunk/; revision=43947
Johannes Anderwald [Wed, 4 Nov 2009 02:16:49 +0000 (02:16 +0000)]
- Add sanity checks
- Implement IDirectSoundCaptureBuffer8::Stop
- Implement changing the stream format for secondary buffers
- Silence debug flood
svn path=/trunk/; revision=43946
Johannes Anderwald [Wed, 4 Nov 2009 01:54:19 +0000 (01:54 +0000)]
[KS]
- Fix a bug in KsCancelIo which accessed already freed memory
[PORTCLS]
- Cancel all audio stream irps when the it is used in looped stream mode. Fixes re-opening of playback / capture devices in DSound.
- Remove dead code
svn path=/trunk/; revision=43945
Arch Blackmann [Tue, 3 Nov 2009 22:57:26 +0000 (22:57 +0000)]
Start implementing the long task of DoLAYOUT to process the big "meat" of a KLC file: the keyboard layout. Implement the table of recognized virtual keys (and the translation matrix). Add support for hex-entered keys (0x...).
The tool does some minimal error checking for now, and attempts to begin parsing the LAYOUT section, but fails miserably and the code won't execute unless you've enabled verbose mode. I'm just using this commit as a checkpoint for now.
Also fixed SCVK structure to use the last member as a state flag.
Finally, added definitions for LAYOUTENTRY which will keep track of each row's column's values in the LAYOUT.
svn path=/trunk/; revision=43944
Johannes Anderwald [Tue, 3 Nov 2009 22:30:36 +0000 (22:30 +0000)]
- Fix checking of flags found by Ged
- Remove unsupported DSBLOCK_FROMWRITECURSOR
svn path=/trunk/; revision=43942
Johannes Anderwald [Tue, 3 Nov 2009 22:11:43 +0000 (22:11 +0000)]
- Implement IDirectSoundCaptureBuffer8::Lock, IDirectSoundCaptureBuffer8::Unlock
- Fix pin handle leakage
svn path=/trunk/; revision=43941
Johannes Anderwald [Tue, 3 Nov 2009 19:20:59 +0000 (19:20 +0000)]
- Fix one more dsound_winetest dsound8 failure
- Register IDirectSound8, IDirectSoundCapture8 with COM
svn path=/trunk/; revision=43936
Aleksey Bragin [Tue, 3 Nov 2009 19:18:39 +0000 (19:18 +0000)]
[csrss]
- Route unhandled messages to DefWndProc, as it's usually done for every window proc.
svn path=/trunk/; revision=43935
Aleksey Bragin [Tue, 3 Nov 2009 19:03:11 +0000 (19:03 +0000)]
[csrss]
- Paint the desktop only when getting WM_ERASEBKGND message, and do nothing in WM_PAINT. This is the behavior Windows and Wine implement.
- Add WM_CLOSE stub-handler, though it doesn't change much now - all messages unhandled by the switch are going to return "0" since this proc doesn't call DefWndProcHandler.
svn path=/trunk/; revision=43934
Johannes Anderwald [Tue, 3 Nov 2009 18:54:52 +0000 (18:54 +0000)]
[DSOUND]
- Partly implement IDirectSound8::GetCaps
- Implement IDirectSound8::Compact
- Verify if wrong guid is passed in IDirectSound8::Initialize
- Allow construction of IDirectSound8 object via CoCreateInstance
- Fix more dsound_winetest failures
- dsound_winetest dsound is now down to 31 / 178 failures
svn path=/trunk/; revision=43933
Johannes Anderwald [Tue, 3 Nov 2009 11:47:06 +0000 (11:47 +0000)]
- Partially revert 43747
See issue #4936 for more details.
svn path=/trunk/; revision=43931
Johannes Anderwald [Tue, 3 Nov 2009 11:43:33 +0000 (11:43 +0000)]
- Add a few sanity checks
- Check for invalid guids passed to IDirectSoundCapture::Initialize
- Add support for creating IDirectSoundCapture object via CoCreateInstance
- Close pin handle when the capture buffer is released
- Implement IDirectSoundCaptureBuffer::GetCaps, IDirectSoundCaptureBuffer::GetCurrentPosition, IDirectSoundCaptureBuffer::GetFormat, IDirectSoundCaptureBuffer::GetStatus, IDirectSoundCaptureBuffer::Start
- Compute a compatible pin format when the format is not supported natively by the driver
- Fix shadowing of global variable (Usurp)
- Verify that directsound global info has already initialized in IDirectSound8::Initialize
- dsound now fails 49/650 on dsound_winetest test:capture (mixing needs to implemented) The remaining tests fail due to unimplemented functionality in portcls / ks / dsound
svn path=/trunk/; revision=43930
Stefan Ginsberg [Mon, 2 Nov 2009 22:54:02 +0000 (22:54 +0000)]
- There is no reason to use the Kf* routines for IRQL and Spinlocks directly in HAL -- they are defined to the Kf* versions on x86 anyway, so use the Ke* equivalents exclusively.
svn path=/trunk/; revision=43929
Stefan Ginsberg [Mon, 2 Nov 2009 21:46:41 +0000 (21:46 +0000)]
- Document what the 'NoBuses' member in the PCI_REGISTRY_INFO and PCI_REGISTRY_INFO_INTERNAL structures means to avoid confusion.
svn path=/trunk/; revision=43928
Cameron Gutman [Mon, 2 Nov 2009 21:28:25 +0000 (21:28 +0000)]
- Rework our oskittcp signalling
- SignalledConnectionsList is now only used for connections that have pending requests
- Remove another unused member from CONNECTION_ENDPOINT
svn path=/trunk/; revision=43926
Michael Martin [Mon, 2 Nov 2009 21:17:50 +0000 (21:17 +0000)]
[user32]
- Reapply changes from 40677 as the edit control does not receive the WM_COMMAND message from its context menu when doing clipboard ops.
- Fixes crashes in applications created with visual basic when using edit controls context menu.
- If we lose this in next sync, ill grovel and beg.
svn path=/trunk/; revision=43925
Stefan Ginsberg [Mon, 2 Nov 2009 21:13:45 +0000 (21:13 +0000)]
- Fix a FreeLdr PCI detection bug introduced in revision 10742 5 years ago when PCI detection was added. FindPciBios was setting the HardwareMechanism entry in the PCI_REGISTRY_INFO structure (then called CM_PCI_BUS_DATA) to the wrong register returned from the PCI BIOS: CL instead of AL. CL is the number of the last PCI bus in the system (0 if you only have 1 bus, 1 if you have 2 buses). AL contains bit-fields for PCI characteristics, and HAL checks the 2 first bits to determine the type of the BUS. My VMWare test environment has 2 PCI buses, so the number happened to be correct. This doesn't work if there is only 1 PCI bus, such as in QEMU and Vbox, as we then get an invalid PCI type of 0. Fix this and re-enable the PCI detection in HAL to properly detect the PCI type instead of assuming type 1.
svn path=/trunk/; revision=43924
Michael Martin [Mon, 2 Nov 2009 20:38:53 +0000 (20:38 +0000)]
[User32]
- menu.c: Fix a typo.
svn path=/trunk/; revision=43923
Cameron Gutman [Mon, 2 Nov 2009 20:26:29 +0000 (20:26 +0000)]
- Fix some confusion between SignalState and State which resulted in queued IRPs being lost on socket closure
- Call HandleSignalledConnection directly because the connection may not be in the signalled connections list
- Remove State from CONNECTION_ENDPOINT to prevent this from happening again
svn path=/trunk/; revision=43922
Aleksey Bragin [Mon, 2 Nov 2009 20:18:24 +0000 (20:18 +0000)]
[uniata]
- Revert 40896, uniata is back to "amazingly fast" mode.
svn path=/trunk/; revision=43921
Aleksey Bragin [Mon, 2 Nov 2009 20:12:19 +0000 (20:12 +0000)]
[uniata]
- Don't wait so long for drive reset. Reapplying r26470 by Dmitriy Gorbachev.
svn path=/trunk/; revision=43920
Sylvain Petreolle [Mon, 2 Nov 2009 20:09:00 +0000 (20:09 +0000)]
add missing newlines
svn path=/trunk/; revision=43919
Kamil Hornicek [Mon, 2 Nov 2009 19:19:39 +0000 (19:19 +0000)]
- add dsound winetest
svn path=/trunk/; revision=43918
Stefan Ginsberg [Mon, 2 Nov 2009 19:03:01 +0000 (19:03 +0000)]
- Temporarily disable the new HAL PCI detection code since it fails miserably on the build server.
svn path=/trunk/; revision=43917
Stefan Ginsberg [Mon, 2 Nov 2009 18:40:24 +0000 (18:40 +0000)]
- Commit something to get build server building -- Revert 20763: "Older binutils don't understand qword ptr", use a newer binutils then.
svn path=/trunk/; revision=43916
Stefan Ginsberg [Mon, 2 Nov 2009 18:16:12 +0000 (18:16 +0000)]
- Fix leftover from 43912: Add KdRefreshDebuggerNotPresent to DDK.
svn path=/trunk/; revision=43915
Stefan Ginsberg [Mon, 2 Nov 2009 18:08:49 +0000 (18:08 +0000)]
- Fix incorrect comment, spotted by Timo.
- Purpouses -> Purposes.
svn path=/trunk/; revision=43914
Stefan Ginsberg [Mon, 2 Nov 2009 18:05:07 +0000 (18:05 +0000)]
- Fix broken HalpQueryPciRegistryInfo: If it wasn't for the fact that it queried a subkey incorrectly ('ConfigurationData' instead of 'Configuration Data') it was setting up the basic structure correctly but forgot to RETURN IT TO THE CALLER.
- Fixes PCI detection detection as HalpInitializePciStubs no longer has to rely on a 'no info = PCI 1' assumption, making PCI 2 detection possible.
- Add support for querying the CurrentControlSet\Control\PnP\PCI\CardList key and retrieving the card list entries (not used yet). Also add the related keys to hivesys.inf so there is something to query.
svn path=/trunk/; revision=43913
Stefan Ginsberg [Mon, 2 Nov 2009 17:45:51 +0000 (17:45 +0000)]
- Fix support for /CRASHDEBUG and /NODEBUG; we didn't respect those settings properly and would initialize KD at boot even if they were set.
- Re-enable the breakpoint in vDbgPrintExWithPrefixInternal() as this works properly now. Without this breakpoint some break-in requests got lost if the break-in occurred when handling a debug print (happened a lot at boot).
- Implement Command String support for DbgCommandString() -- we now handle every debug service call.
- Implement NtSetDebugFilterState() and NtQueryDebugFilterState() for KD, meaning we now support debug filters properly.
- Implement KdRefreshDebuggerNotPresent(), KdChangeOption() and KdPowerTransition(). Stub KdSystemDebugControl() to return error status instead of hanging the system.
- Stub the rest of the KD API to print a warning and return a failure packet instead of hanging.
- Set and respect KdpContextSent when getting and setting the thread context -- WinDbg doesn't seem to rely on this, but better safe than sorry.
- Support MP when getting and setting the thread context too -- if the context is operation is for another processor than the current, just get it through the KiProcessorBlock array.
- Initialize the MajorVersion in the KD version block more properly -- the high byte is the major identifier (0 for NT). Add the required DBGKD_MAJOR_TYPES enumeration to wdbgexts.h.
- Simplify setting and clearing the InDbgPrint flag in the TEB to minimize the impact on kernel execution; use 2 dedicated routines instead of a generic one.
- KdpSymbol doesn't return anything, so don't return an ignore status from KdpReportLoadSymbolsStateChange.
- Expose the KdpDefaultRetries and Kd_WIN2000_Mask variables to the registry and add them to KDBG too (unused there).
- No reason to implement KdpSysGetVersion per architecture; move it back to the generic code.
- Add some ARM offsets to the debugger data block that (N/A on other architectures).
- Fix the default size of the DbgPrint log buffer for free builds to save some space. It should be 4 KB for a free build and 32 KB for a checked build.
- Move KeDisableInterrupts to cpu.c as it fits here more than in the IRQ support code in irqobj.c.
- Use KeDisableInterrupts in KeFreezeExecution instead of checking the x86 EFLAG directly.
svn path=/trunk/; revision=43912
Timo Kreuzer [Mon, 2 Nov 2009 16:16:09 +0000 (16:16 +0000)]
[OPENGL32]
fix TessVertexOutData callback, too.
svn path=/trunk/; revision=43911
Kamil Hornicek [Mon, 2 Nov 2009 14:00:47 +0000 (14:00 +0000)]
- get rid of some cast frenzy, by Physicus
svn path=/trunk/; revision=43910
Daniel Reimer [Sun, 1 Nov 2009 21:31:21 +0000 (21:31 +0000)]
Bug 4893: Dutch translation for Spider Solitaire by Wouter De Vlieger
Bug 4900: slovak for spider and some updates by Mario Kacmar
Bug 4928: Hungarian translation of 3 apps by Gábor Balogh
Update README.WINE
svn path=/trunk/; revision=43904
Arch Blackmann [Sun, 1 Nov 2009 19:04:42 +0000 (19:04 +0000)]
Implement the standard ISO 110-key scancode to virtual key conversion table for decoding the LAYOUT section. God that was tedious...
svn path=/trunk/; revision=43903
Arch Blackmann [Sun, 1 Nov 2009 18:30:57 +0000 (18:30 +0000)]
Make some printfs DPRINT1s since they are only for debugging, and also mark LIGATURE, MODIFIERS, ATTRIBUTES and DEADKEY as sections that I don't yet intend to support for now (they're not required for most layouts).
svn path=/trunk/; revision=43902
Arch Blackmann [Sun, 1 Nov 2009 18:26:53 +0000 (18:26 +0000)]
Implement DoKEYNAME (again, very similar to the previous two). Fixup KEYNAME structure once more to make the field names portable accross different usages (LanguageCode becomes Code). The tool now supports KEYNAME, KEYNAME_EXT and KEYNAME_DEAD sections in the layout file.
svn path=/trunk/; revision=43901
Arch Blackmann [Sun, 1 Nov 2009 18:17:30 +0000 (18:17 +0000)]
Implement LANGUAGENAMES parsing (very similar to DESCRIPTIONS). Make KEYNAME structure portable accross other parsers, not just DESCRIPTIONS.
svn path=/trunk/; revision=43900
Arch Blackmann [Sun, 1 Nov 2009 17:43:51 +0000 (17:43 +0000)]
Add support for DESCRIPTIONS section (tested on test.klc). Add KEYNAME structure. Fixup some of the code in the SHIFTSTATES implementation.
svn path=/trunk/; revision=43899
Arch Blackmann [Sun, 1 Nov 2009 15:46:36 +0000 (15:46 +0000)]
Implement support for parsing shift states. Seems to work fine on the test.klc.
svn path=/trunk/; revision=43898
Daniel Reimer [Sun, 1 Nov 2009 12:47:06 +0000 (12:47 +0000)]
did put 7-zip in the wrong category, sry
svn path=/trunk/; revision=43897
Hervé Poussineau [Sun, 1 Nov 2009 12:19:37 +0000 (12:19 +0000)]
[freeldr] Fix typos introduced in r43875
svn path=/trunk/; revision=43896
Andrew Hill [Sun, 1 Nov 2009 02:26:24 +0000 (02:26 +0000)]
[browseui]
- The global class instance _AtlComModule needs to be constructed with placement new also
svn path=/trunk/; revision=43892
Andrew Hill [Sat, 31 Oct 2009 23:40:09 +0000 (23:40 +0000)]
[atlnew]
- RosBE doesn't support __ImageBase, so use GetModuleHandleExW(GET_MODULE_HANDLE_EX_FLAG_FROM_ADDRESS) instead.
- Implement CAtlBaseModule constructor.
[browseui]
- Since RosBE built DLLs don't run global constructors, use placement new to construct them in DllMain. This is a *HACK* and a better solution should be found.
- Change DllMain be be extern C so it actually gets used.
svn path=/trunk/; revision=43890
Arch Blackmann [Sat, 31 Oct 2009 22:18:28 +0000 (22:18 +0000)]
Implement DoCOMPANY, DoCOPYRIGHT, DoVERSION and DoLOCALENAME... that was the easy part.
Happy Halloween everybody!
svn path=/trunk/; revision=43889
Arch Blackmann [Sat, 31 Oct 2009 21:54:26 +0000 (21:54 +0000)]
Implement DoKBD. The tool can now handle the KBD section of a .klc layout.
svn path=/trunk/; revision=43888
Arch Blackmann [Sat, 31 Oct 2009 20:24:33 +0000 (20:24 +0000)]
Implement stubs for all the different keyword stub-parsers.
svn path=/trunk/; revision=43886
Arch Blackmann [Sat, 31 Oct 2009 20:03:43 +0000 (20:03 +0000)]
Start implementing the main parser loop. The tool detects the keywords in the test.klc layout... and that's about all it does for now.
svn path=/trunk/; revision=43885
Arch Blackmann [Sat, 31 Oct 2009 19:51:27 +0000 (19:51 +0000)]
Add sample US layout keyboard layout file. Generated with MSKLC by loading the US layout in Windows 7.
svn path=/trunk/; revision=43884
Cameron Gutman [Sat, 31 Oct 2009 18:46:08 +0000 (18:46 +0000)]
- Don't disconnect the same socket multiple times (once per TDI_SEND IRP cancelled, once per TDI_RECEIVE IRP cancelled, once per TDI_SEND IRP on a closing socket, and once per TDI_RECEIVE IRP on a closing socket)
- Implement support for graceful socket closure
- Fix some memory leaks
svn path=/trunk/; revision=43883
Arch Blackmann [Sat, 31 Oct 2009 18:43:15 +0000 (18:43 +0000)]
Implement opening the layout file and printing out the target DLL architecture. Add missing exit(0).
svn path=/trunk/; revision=43882
Cameron Gutman [Sat, 31 Oct 2009 18:15:23 +0000 (18:15 +0000)]
- Implement OskitTCPDisconnect
svn path=/trunk/; revision=43881
Arch Blackmann [Sat, 31 Oct 2009 18:13:26 +0000 (18:13 +0000)]
Begin implementing Keyboard Layout Compiler Tool, as requested by KJK::Hyperion. This is a UNIX-style (Win32-compatible) command-line tool that will take a standard keyboard layout file (in text) and generate the source, defininition, header and resource data for it. The second part of the tool will spawn off the compiler to build the keyboard DLL, or perhaps generate an .rbuild file to perform the work.
svn path=/trunk/; revision=43880
Johannes Anderwald [Sat, 31 Oct 2009 18:00:05 +0000 (18:00 +0000)]
[KS]
- Add comment for using ms portcls in ReactOS
[WDMAUD_KERNEL]
- Handle error
[SYSAUDIO]
- Fix several bugs in the mixer handling code
- Disable kmixer untill all issues are resolved
svn path=/trunk/; revision=43879
Andrew Hill [Sat, 31 Oct 2009 16:59:33 +0000 (16:59 +0000)]
[includes]
- Fix TestCD
- IDeskBar is only defined when WIN32_IE >= _WIN32_IE_IE60, so ITrackShellMenu should also be defined only when WIN32_IE >= _WIN32_IE_IE60
svn path=/trunk/; revision=43878
Cameron Gutman [Sat, 31 Oct 2009 15:53:19 +0000 (15:53 +0000)]
- Fix translation for OSK_EAGAIN/OSK_EWOULDBLOCK
- Don't clear other socket state flags when enabling non-blocking mode
- Remove some incorrect code that plays tricks on oskittcp
svn path=/trunk/; revision=43877