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
Gregor Schneider [Sat, 31 Oct 2009 15:24:00 +0000 (15:24 +0000)]
[usetup] Update Italian and Spanish resources too, translations by Gabriel ilardi
svn path=/trunk/; revision=43876
Hervé Poussineau [Sat, 31 Oct 2009 15:09:03 +0000 (15:09 +0000)]
[freeldr/WINLDR] Simplify freeldr.ini syntax for common cases
- If boot type is not specified, autodetect bootsector and Windows types
- Try to automatically detect version of loaded Windows
- Accept boot options after name of OS
- Separate loading and scanning of system hive
As a result, lines like "multi(0)disk(0)rdisk(0)partition(1)\WINNT="Windows NT4" /DEBUG /BREAK" work
svn path=/trunk/; revision=43875
Johannes Anderwald [Sat, 31 Oct 2009 14:53:06 +0000 (14:53 +0000)]
- Start rewrite of DirectSound
- Implemented DirectSoundEnumerateA, DirectSoundEnumerateW, DirectSoundCaptureEnumerateA, DirectSoundCaptureEnumerateW, GetDeviceID
- Partly implemented IDirectSound8 / IDirectSoundCapture8, IDirectSoundCaptureBuffer, primary / secondary IDirectSoundBuffer8 interfaces
- DllRegisterServer / DllUnregisterServer are taken from Wine DSound implementation (John K. Hohm)
- Currently only one primary + secondary buffer are supported for playback
- Mixing of IDirectSoundBuffer is not implemented
- Capture mode isnt yet supported
- Vlc now can use dsound for playback, though stutters in low quality streams are present
- Dsound is not yet added to build untill it has stabilized more
svn path=/trunk/; revision=43874
Gregor Schneider [Sat, 31 Oct 2009 14:29:38 +0000 (14:29 +0000)]
[usetup] Apply r43870 for German resource file, fix boot loader vs boot sector confusion
svn path=/trunk/; revision=43873
Andrew Hill [Sat, 31 Oct 2009 14:25:45 +0000 (14:25 +0000)]
[browseui, shell32, explorer_new, include]
- Convert browseui to C++/ATL. As part of this, classes in browseui and now registered with .rgs files.
- Add AddressBand, AddressEditBox, BandProxy, BaseBar, BaseBarSite, BrandBand, InternetToolbar, ShellBrowser, ToolsBand, and TravelLog.
- Add stub implementations of commonbrowser, globalfoldersettings, and regtreeoptions.
- Clean up some msvc compile problems in a few files.
- Reorganize some headers to make them better match the Platform SDK.
- Move InlineIsEqualGUID to guiddef.h.
- Create new header files shlguid_undoc.h, shlobj_undoc.h, and shlwapi_undoc.h to hold undocumented types, functions, and GUIDs.
- Move some undocumented definitions declared in explorer_new/todo.h and undoc.h to new headers.
- Rename a few interfaces in explorer_new to the correct name
- Add definition of RBSTR_CHANGERECT to commctrl.h
- IDeskBarClient inherits from IOleWindow, not IUnknown
- HMONITOR was declared in both dxsdk/axextend.idl and wine/wined3d.idl, but not in wtypes.idl where it belongs
- Added Init and Term to CComModule
- Thanks to encoded for solving the browseui linking problem!
svn path=/trunk/; revision=43872
Stefan Ginsberg [Sat, 31 Oct 2009 13:46:16 +0000 (13:46 +0000)]
- Don't define the SizePcr entry to the size of the PCR PLUS the PRCB SIZE! The PRCB size is already defined in the SizePrcb entry.
- Likewise, the OffsetPrcbProcStateSpecialReg entry defines the offset to the special registers in the PRCB, not a PCR + PRCB offset + special registers offset! This can only have worked on x86 and AMD64 if WinDbg uses a hard coded offset, but define it correctly anyway.
- The OffsetPcrSelfPcr and OffsetPcrContainedPrcb entries are not applicable for ARM, so define them to 0 for it.
svn path=/trunk/; revision=43871
Aleksey Bragin [Sat, 31 Oct 2009 13:31:28 +0000 (13:31 +0000)]
[usetup]
- Change "MBR" to "bootsector", as proposed in bug 4356 by Michael Trausch. Changed languages are English and Russian.
svn path=/trunk/; revision=43870
Johannes Anderwald [Sat, 31 Oct 2009 10:38:25 +0000 (10:38 +0000)]
- Fix retrieving audio position
svn path=/trunk/; revision=43869
Johannes Anderwald [Sat, 31 Oct 2009 08:26:26 +0000 (08:26 +0000)]
- Implement looped streaming (needed for dsound bringup)
- Implement GetPosition handler for looped streaming, WIP
svn path=/trunk/; revision=43868
Cameron Gutman [Sat, 31 Oct 2009 07:34:27 +0000 (07:34 +0000)]
- Add more cases to TCPTranslateError
- Fix a header typo
svn path=/trunk/; revision=43867
Timo Kreuzer [Sat, 31 Oct 2009 02:10:51 +0000 (02:10 +0000)]
Add a number of official win32k pool tags, taken from https://blogs.technet.com/yongrhee/archive/2009/06/24/pool-tag-list.aspx
svn path=/trunk/; revision=43866
Stefan Ginsberg [Sat, 31 Oct 2009 01:11:43 +0000 (01:11 +0000)]
...and fix non-KD build for the rest of you.
svn path=/trunk/; revision=43865
Cameron Gutman [Sat, 31 Oct 2009 01:05:31 +0000 (01:05 +0000)]
- Make sure the socket is still open before entering oskittcp
- Remove an unused parameter from OskitTCPBind
- Return a status value from OskitTCPGetAddress
- Add debug print for unhandled error codes
svn path=/trunk/; revision=43864
Stefan Ginsberg [Sat, 31 Oct 2009 01:02:35 +0000 (01:02 +0000)]
- Add 'simple' implementation of MmDbgCopyMemory to read/write virtual memory in a somewhat safe way (still no support for physical memory). Properly implement KdpCopyMemoryChunks as a wrapper around MmDbgCopyMemory and make most of the remaining unsafe copies use it instead of RtlCopyMemory. This fixes most of the remaining crashes during KD debugging as WinDbg/KD relies on the kernel support to handle bad addresses.
- Stub out the remaining missing global variables for the debugger data block -- fixes some cases of WinDbg failures and gives it a chance to handle errors instead of failing on a NULL read. Several of these variables are for functionality we don't yet implement, so I tried to put them where they are "least wrong". Everything besides the MmLoadedUserImageList variable is left unitialized -- KD should mostly be able to handle this properly.
- Define correctly sized KDDEBUGGER_DATA64 for our kernel (needs to be done in a better way).
svn path=/trunk/; revision=43863
Stefan Ginsberg [Sat, 31 Oct 2009 00:39:16 +0000 (00:39 +0000)]
- Clarify a check and don't cast KPCR->GDT to PKIPCR (spotted by Timo).
svn path=/trunk/; revision=43862
Cameron Gutman [Sat, 31 Oct 2009 00:24:38 +0000 (00:24 +0000)]
- Implement OskitTCPSetSockOpt and OskitTCPGetSockOpt (currently unused)
svn path=/trunk/; revision=43861
Cameron Gutman [Fri, 30 Oct 2009 23:39:13 +0000 (23:39 +0000)]
- Remove some junk code which does nothing but crash
svn path=/trunk/; revision=43859
Stefan Ginsberg [Fri, 30 Oct 2009 22:15:50 +0000 (22:15 +0000)]
- Fix leftover
svn path=/trunk/; revision=43856
Stefan Ginsberg [Fri, 30 Oct 2009 22:07:26 +0000 (22:07 +0000)]
- Restructure HAL bus routines a bit.
- Fix some incorrect HAL types and add some that were missing.
svn path=/trunk/; revision=43855
Hervé Poussineau [Fri, 30 Oct 2009 21:48:21 +0000 (21:48 +0000)]
[freeldr] Move custom.c, drivemap.c/h, miscboot.c/h to i386 directories
svn path=/trunk/; revision=43854
Johannes Anderwald [Fri, 30 Oct 2009 18:51:40 +0000 (18:51 +0000)]
- Check Input Parameter (fixes a skype crash)
svn path=/trunk/; revision=43853
Johannes Anderwald [Fri, 30 Oct 2009 15:36:55 +0000 (15:36 +0000)]
- Fix a broken cast (x64 compability)
svn path=/trunk/; revision=43850
Timo Kreuzer [Fri, 30 Oct 2009 15:22:57 +0000 (15:22 +0000)]
[WIN32K]
EngCopyBits: Use goto cleanup / break instead of code duplication, fix leaking a bits lock, if the rect function fails, remove abundant MouseSafetyOnDrawEnd
svn path=/trunk/; revision=43849