Commit graph

39550 commits

Author SHA1 Message Date
Arch Blackmann b8b4a4efec 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
2009-11-04 04:49:00 +00:00
Johannes Anderwald b8fc27d6a3 - Add sanity checks
- Implement IDirectSoundCaptureBuffer8::Stop
- Implement changing the stream format for secondary buffers
- Silence debug flood


svn path=/trunk/; revision=43946
2009-11-04 02:16:49 +00:00
Johannes Anderwald c5fab80345 [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
2009-11-04 01:54:19 +00:00
Arch Blackmann 420a4f5f4b 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
2009-11-03 22:57:26 +00:00
Johannes Anderwald 8bd2cfb3ab - Fix checking of flags found by Ged
- Remove unsupported DSBLOCK_FROMWRITECURSOR

svn path=/trunk/; revision=43942
2009-11-03 22:30:36 +00:00
Johannes Anderwald c1198f3164 - Implement IDirectSoundCaptureBuffer8::Lock, IDirectSoundCaptureBuffer8::Unlock
- Fix pin handle leakage

svn path=/trunk/; revision=43941
2009-11-03 22:11:43 +00:00
Johannes Anderwald f2a66752bc - Fix one more dsound_winetest dsound8 failure
- Register IDirectSound8, IDirectSoundCapture8 with COM

svn path=/trunk/; revision=43936
2009-11-03 19:20:59 +00:00
Aleksey Bragin a63e388f53 [csrss]
- Route unhandled messages to DefWndProc, as it's usually done for every window proc.

svn path=/trunk/; revision=43935
2009-11-03 19:18:39 +00:00
Aleksey Bragin 006d77b16b [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
2009-11-03 19:03:11 +00:00
Johannes Anderwald e788e7f084 [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
2009-11-03 18:54:52 +00:00
Johannes Anderwald 489e5eb856 - Partially revert 43747
See issue #4936 for more details.

svn path=/trunk/; revision=43931
2009-11-03 11:47:06 +00:00
Johannes Anderwald 7b50f75936 - 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
2009-11-03 11:43:33 +00:00
Stefan Ginsberg 56a64b9357 - 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
2009-11-02 22:54:02 +00:00
Stefan Ginsberg df4086b261 - 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
2009-11-02 21:46:41 +00:00
Cameron Gutman 99fec75b6f - 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
2009-11-02 21:28:25 +00:00
Michael Martin 78ce662964 [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
2009-11-02 21:17:50 +00:00
Stefan Ginsberg ae81274578 - 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
2009-11-02 21:13:45 +00:00
Michael Martin 3afb2efd4a [User32]
- menu.c: Fix a typo.

svn path=/trunk/; revision=43923
2009-11-02 20:38:53 +00:00
Cameron Gutman 97d6fbe737 - 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
2009-11-02 20:26:29 +00:00
Aleksey Bragin 162a9238f2 [uniata]
- Revert 40896, uniata is back to "amazingly fast" mode.

svn path=/trunk/; revision=43921
2009-11-02 20:18:24 +00:00
Aleksey Bragin 451776ec01 [uniata]
- Don't wait so long for drive reset. Reapplying r26470 by Dmitriy Gorbachev.

svn path=/trunk/; revision=43920
2009-11-02 20:12:19 +00:00
Sylvain Petreolle 9d9af14d23 add missing newlines
svn path=/trunk/; revision=43919
2009-11-02 20:09:00 +00:00
Kamil Hornicek 12c4f5f3e4 - add dsound winetest
svn path=/trunk/; revision=43918
2009-11-02 19:19:39 +00:00
Stefan Ginsberg 7e3ee3137a - Temporarily disable the new HAL PCI detection code since it fails miserably on the build server.
svn path=/trunk/; revision=43917
2009-11-02 19:03:01 +00:00
Stefan Ginsberg 6f5f925851 - 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
2009-11-02 18:40:24 +00:00
Stefan Ginsberg 7249a7574f - Fix leftover from 43912: Add KdRefreshDebuggerNotPresent to DDK.
svn path=/trunk/; revision=43915
2009-11-02 18:16:12 +00:00
Stefan Ginsberg dede0fa637 - Fix incorrect comment, spotted by Timo.
- Purpouses -> Purposes.

svn path=/trunk/; revision=43914
2009-11-02 18:08:49 +00:00
Stefan Ginsberg 602db5f2d1 - 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
2009-11-02 18:05:07 +00:00
Stefan Ginsberg f84d5a02f4 - 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
2009-11-02 17:45:51 +00:00
Timo Kreuzer 1859ef4ec9 [OPENGL32]
fix TessVertexOutData callback, too.

svn path=/trunk/; revision=43911
2009-11-02 16:16:09 +00:00
Kamil Hornicek adfd84da55 - get rid of some cast frenzy, by Physicus
svn path=/trunk/; revision=43910
2009-11-02 14:00:47 +00:00
Daniel Reimer 303db2db11 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
2009-11-01 21:31:21 +00:00
Arch Blackmann 5167151ae0 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
2009-11-01 19:04:42 +00:00
Arch Blackmann 190498ae3a 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
2009-11-01 18:30:57 +00:00
Arch Blackmann 0bce60efe8 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
2009-11-01 18:26:53 +00:00
Arch Blackmann 2fb987f2cc Implement LANGUAGENAMES parsing (very similar to DESCRIPTIONS). Make KEYNAME structure portable accross other parsers, not just DESCRIPTIONS.
svn path=/trunk/; revision=43900
2009-11-01 18:17:30 +00:00
Arch Blackmann 165528760c 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
2009-11-01 17:43:51 +00:00
Arch Blackmann 2f450d2aa0 Implement support for parsing shift states. Seems to work fine on the test.klc.
svn path=/trunk/; revision=43898
2009-11-01 15:46:36 +00:00
Daniel Reimer 87e0a216c9 did put 7-zip in the wrong category, sry
svn path=/trunk/; revision=43897
2009-11-01 12:47:06 +00:00
Hervé Poussineau 7cf2619a06 [freeldr] Fix typos introduced in r43875
svn path=/trunk/; revision=43896
2009-11-01 12:19:37 +00:00
Andrew Hill 8c1263797d [browseui]
- The global class instance _AtlComModule needs to be constructed with placement new also

svn path=/trunk/; revision=43892
2009-11-01 02:26:24 +00:00
Andrew Hill 5a9218f54f [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
2009-10-31 23:40:09 +00:00
Arch Blackmann 3915dba574 Implement DoCOMPANY, DoCOPYRIGHT, DoVERSION and DoLOCALENAME... that was the easy part.
Happy Halloween everybody!

svn path=/trunk/; revision=43889
2009-10-31 22:18:28 +00:00
Arch Blackmann b793fbd5d7 Implement DoKBD. The tool can now handle the KBD section of a .klc layout.
svn path=/trunk/; revision=43888
2009-10-31 21:54:26 +00:00
Arch Blackmann eeeb4634bf Implement stubs for all the different keyword stub-parsers.
svn path=/trunk/; revision=43886
2009-10-31 20:24:33 +00:00
Arch Blackmann a68c7af143 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
2009-10-31 20:03:43 +00:00
Arch Blackmann 05e5d17012 Add sample US layout keyboard layout file. Generated with MSKLC by loading the US layout in Windows 7.
svn path=/trunk/; revision=43884
2009-10-31 19:51:27 +00:00
Cameron Gutman e0cc495270 - 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
2009-10-31 18:46:08 +00:00
Arch Blackmann 932d609e6b Implement opening the layout file and printing out the target DLL architecture. Add missing exit(0).
svn path=/trunk/; revision=43882
2009-10-31 18:43:15 +00:00
Cameron Gutman fcec7e501b - Implement OskitTCPDisconnect
svn path=/trunk/; revision=43881
2009-10-31 18:15:23 +00:00