Commit graph

39455 commits

Author SHA1 Message Date
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
Arch Blackmann 8a28e9ff5e 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
2009-10-31 18:13:26 +00:00
Johannes Anderwald 514a0e7f08 [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
2009-10-31 18:00:05 +00:00
Andrew Hill 24c6ff3165 [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
2009-10-31 16:59:33 +00:00
Cameron Gutman 05e33d82e8 - 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
2009-10-31 15:53:19 +00:00
Gregor Schneider 03f75c77ed [usetup] Update Italian and Spanish resources too, translations by Gabriel ilardi
svn path=/trunk/; revision=43876
2009-10-31 15:24:00 +00:00
Hervé Poussineau 370e856450 [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
2009-10-31 15:09:03 +00:00
Johannes Anderwald e65de6eda6 - 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
2009-10-31 14:53:06 +00:00
Gregor Schneider 9a5b0ce12b [usetup] Apply r43870 for German resource file, fix boot loader vs boot sector confusion
svn path=/trunk/; revision=43873
2009-10-31 14:29:38 +00:00
Andrew Hill 8266299b0e [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
2009-10-31 14:25:45 +00:00
Stefan Ginsberg f0b7ff43ff - 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
2009-10-31 13:46:16 +00:00
Aleksey Bragin 8d6e247698 [usetup]
- Change "MBR" to "bootsector", as proposed in bug 4356 by Michael Trausch. Changed languages are English and Russian.

svn path=/trunk/; revision=43870
2009-10-31 13:31:28 +00:00
Johannes Anderwald 650fc71047 - Fix retrieving audio position
svn path=/trunk/; revision=43869
2009-10-31 10:38:25 +00:00
Johannes Anderwald 46c8396918 - Implement looped streaming (needed for dsound bringup)
- Implement GetPosition handler for looped streaming, WIP

svn path=/trunk/; revision=43868
2009-10-31 08:26:26 +00:00
Cameron Gutman a51c149046 - Add more cases to TCPTranslateError
- Fix a header typo

svn path=/trunk/; revision=43867
2009-10-31 07:34:27 +00:00
Timo Kreuzer 7e2be021f2 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
2009-10-31 02:10:51 +00:00
Stefan Ginsberg c32d2da078 ...and fix non-KD build for the rest of you.
svn path=/trunk/; revision=43865
2009-10-31 01:11:43 +00:00
Cameron Gutman a06fc827da - 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
2009-10-31 01:05:31 +00:00
Stefan Ginsberg 82bd7858d1 - 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
2009-10-31 01:02:35 +00:00
Stefan Ginsberg c4d8068980 - Clarify a check and don't cast KPCR->GDT to PKIPCR (spotted by Timo).
svn path=/trunk/; revision=43862
2009-10-31 00:39:16 +00:00
Cameron Gutman 43e17b4127 - Implement OskitTCPSetSockOpt and OskitTCPGetSockOpt (currently unused)
svn path=/trunk/; revision=43861
2009-10-31 00:24:38 +00:00
Cameron Gutman f28d99cab1 - Remove some junk code which does nothing but crash
svn path=/trunk/; revision=43859
2009-10-30 23:39:13 +00:00
Stefan Ginsberg bb55e9c572 - Fix leftover
svn path=/trunk/; revision=43856
2009-10-30 22:15:50 +00:00
Stefan Ginsberg e90168e57e - Restructure HAL bus routines a bit.
- Fix some incorrect HAL types and add some that were missing.

svn path=/trunk/; revision=43855
2009-10-30 22:07:26 +00:00
Hervé Poussineau 36c3408fb1 [freeldr] Move custom.c, drivemap.c/h, miscboot.c/h to i386 directories
svn path=/trunk/; revision=43854
2009-10-30 21:48:21 +00:00
Johannes Anderwald 3fa52b7b78 - Check Input Parameter (fixes a skype crash)
svn path=/trunk/; revision=43853
2009-10-30 18:51:40 +00:00
Johannes Anderwald 71c02de01b - Fix a broken cast (x64 compability)
svn path=/trunk/; revision=43850
2009-10-30 15:36:55 +00:00
Timo Kreuzer e72570afce [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
2009-10-30 15:22:57 +00:00
Timo Kreuzer 38a5ae755f [FORMATTING]
- apply consistent indentattion of 4 spaces
- remove () from return statements

svn path=/trunk/; revision=43848
2009-10-30 15:00:08 +00:00
Timo Kreuzer 0fcc297839 [WIN32K]
Lock the DIB palette in NtGdiSetDIBitsToDeviceInternal instead of passing NULL to EXLATEOBJ_vInitialize. Fixes LightBox Editor regression (bug 4913 )

svn path=/trunk/; revision=43846
2009-10-30 14:02:42 +00:00
Michael Martin 95e552de39 [msi]
- Schedule a rename operation also for ERROR_USER_MAPPED_FILE. Prevents msi from aborting an install when attempting to overwrite font files. Open Office should now install successfully.

svn path=/trunk/; revision=43845
2009-10-30 12:53:19 +00:00
Cameron Gutman dbd53d6738 - Don't convert the host name to lower case
svn path=/trunk/; revision=43844
2009-10-30 04:29:38 +00:00
Cameron Gutman 92f8240011 - Header updates for winsock rewrite
svn path=/trunk/; revision=43834
2009-10-29 20:56:47 +00:00
Stefan Ginsberg 9f6cba21d3 - Missed this file
svn path=/trunk/; revision=43833
2009-10-29 20:10:29 +00:00
Stefan Ginsberg be8d9f285f - INITIAL_STALL_COUNT makes more sense in decimal (100) than hex (0x64) so define it that way.
- Protect CMOS access with the CMOS spinlock.
- Add CMOS initialization to set up the default value of the CMOS century byte offset (not used yet).
- Stub out profile interrupt support in HAL. Register and stub out the profile interrupt handler, but don't handle it yet as vital parts of the rest of the implementation is missing.
- Fix several bugs in the kernel profile implementation:
  - Don't hardcode to PROFILE_LEVEL when raising IRQL : HAL can override this, so use KiProfileIrql. Also, starting/stopping profile interrupts must be done at the profile IRQL, so don't lower it back before calling HAL, which is now enabled.
  - Fix KeSet/QueryIntervalProfile to properly set/query profile intervals through HAL -- pass the correct structures and handle the ProfileAlignmentFixup case properly, and call HAL when setting the timer interval as the interval may be overridden by it.
  - KeStartProfile returns BOOLEAN to tell if the profile was started or not, just like KeStopProfile.
- Make the interrupt implementation more portable for non-PIC architectures.
- Fix HalSystemVectorDispatchEntry; it returns a type (UCHAR), not TRUE/FALSE (BOOLEAN).
- Begin implementing the framework for querying HAL resource usage (keeping track of internal address space and vector registrations/usage).

svn path=/trunk/; revision=43832
2009-10-29 19:58:41 +00:00
Ged Murphy dca090ba4c undef min & max so they don't override the numeric_limits template methods
svn path=/trunk/; revision=43831
2009-10-29 18:54:21 +00:00
Sylvain Petreolle 9127411fdf silence debug
svn path=/trunk/; revision=43830
2009-10-29 18:28:27 +00:00
Stefan Ginsberg 24bb32e038 - Re-enable some debug prints for unsupported hardware features and make them consistent.
svn path=/trunk/; revision=43829
2009-10-29 18:26:22 +00:00
Stefan Ginsberg bec72fa6a7 - Implement the ThreadDescriptorTableEntry case for NtQueryInformationThread. This is required for the GetThreadSelectorEntry routine used by user mode debuggers.
- #if out some x86-only LDT code from PS and move it to psldt.c.

svn path=/trunk/; revision=43827
2009-10-29 10:04:15 +00:00
Johannes Anderwald 7590cdb16d - Silence debug garbage
svn path=/trunk/; revision=43826
2009-10-29 08:28:03 +00:00
Dmitry Gorbachev e5ca9dd8e3 Remove byte order mark.
svn path=/trunk/; revision=43823
2009-10-28 23:53:50 +00:00
Dmitry Gorbachev f2e942714d Patch for Regional Settings applet by Viliam Lejcik (lejcik/at/gmail/com) with some changes. Bug #4898.
svn path=/trunk/; revision=43821
2009-10-28 23:20:28 +00:00
Stefan Ginsberg b0688f07ec - Merge 43818 to trunk.
- Don't return any data for DbgKdSetBusDataApi either. 

svn path=/trunk/; revision=43819
2009-10-28 21:49:58 +00:00
Dmitry Gorbachev c9c4571300 - Add missing svn:eol-style properties.
- Use consistent newline style.
- Update file COPYING.

svn path=/trunk/; revision=43817
2009-10-28 20:13:23 +00:00
Sylvain Petreolle 008b7c72d8 forgot to include winmm winetest on testcd
svn path=/trunk/; revision=43816
2009-10-28 18:51:17 +00:00
Johannes Anderwald ad29b7974d - Silence wdmaud.drv
svn path=/trunk/; revision=43815
2009-10-28 18:42:24 +00:00