reactos.git
11 years ago - Don't disconnect the same socket multiple times (once per TDI_SEND IRP cancelled...
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

11 years agoImplement opening the layout file and printing out the target DLL architecture. Add...
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

11 years ago - Implement OskitTCPDisconnect
Cameron Gutman [Sat, 31 Oct 2009 18:15:23 +0000 (18:15 +0000)]
 - Implement OskitTCPDisconnect

svn path=/trunk/; revision=43881

11 years agoBegin implementing Keyboard Layout Compiler Tool, as requested by KJK::Hyperion....
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

11 years ago[KS]
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

11 years ago[includes]
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

11 years ago - Fix translation for OSK_EAGAIN/OSK_EWOULDBLOCK
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

11 years ago[usetup] Update Italian and Spanish resources too, translations by Gabriel ilardi
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

11 years ago[freeldr/WINLDR] Simplify freeldr.ini syntax for common cases
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

11 years ago- Start rewrite of DirectSound
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

11 years ago[usetup] Apply r43870 for German resource file, fix boot loader vs boot sector confusion
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

11 years ago[browseui, shell32, explorer_new, include]
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

11 years ago- Don't define the SizePcr entry to the size of the PCR PLUS the PRCB SIZE! The PRCB...
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

11 years ago[usetup]
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

11 years ago- Fix retrieving audio position
Johannes Anderwald [Sat, 31 Oct 2009 10:38:25 +0000 (10:38 +0000)]
- Fix retrieving audio position

svn path=/trunk/; revision=43869

11 years ago- Implement looped streaming (needed for dsound bringup)
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

11 years ago - Add more cases to TCPTranslateError
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

11 years agoAdd a number of official win32k pool tags, taken from https://blogs.technet.com/yongr...
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

11 years ago...and fix non-KD build for the rest of you.
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

11 years ago - Make sure the socket is still open before entering oskittcp
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

11 years ago- Add 'simple' implementation of MmDbgCopyMemory to read/write virtual memory in...
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

11 years ago- Clarify a check and don't cast KPCR->GDT to PKIPCR (spotted by Timo).
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

11 years ago - Implement OskitTCPSetSockOpt and OskitTCPGetSockOpt (currently unused)
Cameron Gutman [Sat, 31 Oct 2009 00:24:38 +0000 (00:24 +0000)]
 - Implement OskitTCPSetSockOpt and OskitTCPGetSockOpt (currently unused)

svn path=/trunk/; revision=43861

11 years ago - Remove some junk code which does nothing but crash
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

11 years ago- Fix leftover
Stefan Ginsberg [Fri, 30 Oct 2009 22:15:50 +0000 (22:15 +0000)]
- Fix leftover

svn path=/trunk/; revision=43856

11 years ago- Restructure HAL bus routines a bit.
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

11 years ago[freeldr] Move custom.c, drivemap.c/h, miscboot.c/h to i386 directories
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

11 years ago- Check Input Parameter (fixes a skype crash)
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

11 years ago- Fix a broken cast (x64 compability)
Johannes Anderwald [Fri, 30 Oct 2009 15:36:55 +0000 (15:36 +0000)]
- Fix a broken cast (x64 compability)

svn path=/trunk/; revision=43850

11 years ago[WIN32K]
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

11 years ago[FORMATTING]
Timo Kreuzer [Fri, 30 Oct 2009 15:00:08 +0000 (15:00 +0000)]
[FORMATTING]
- apply consistent indentattion of 4 spaces
- remove () from return statements

svn path=/trunk/; revision=43848

11 years ago[WIN32K]
Timo Kreuzer [Fri, 30 Oct 2009 14:02:42 +0000 (14:02 +0000)]
[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

11 years ago[msi]
Michael Martin [Fri, 30 Oct 2009 12:53:19 +0000 (12:53 +0000)]
[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

11 years ago - Don't convert the host name to lower case
Cameron Gutman [Fri, 30 Oct 2009 04:29:38 +0000 (04:29 +0000)]
 - Don't convert the host name to lower case

svn path=/trunk/; revision=43844

11 years ago - Header updates for winsock rewrite
Cameron Gutman [Thu, 29 Oct 2009 20:56:47 +0000 (20:56 +0000)]
 - Header updates for winsock rewrite

svn path=/trunk/; revision=43834

11 years ago- Missed this file
Stefan Ginsberg [Thu, 29 Oct 2009 20:10:29 +0000 (20:10 +0000)]
- Missed this file

svn path=/trunk/; revision=43833

11 years ago- INITIAL_STALL_COUNT makes more sense in decimal (100) than hex (0x64) so define...
Stefan Ginsberg [Thu, 29 Oct 2009 19:58:41 +0000 (19:58 +0000)]
- 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

11 years agoundef min & max so they don't override the numeric_limits template methods
Ged Murphy [Thu, 29 Oct 2009 18:54:21 +0000 (18:54 +0000)]
undef min & max so they don't override the numeric_limits template methods

svn path=/trunk/; revision=43831

11 years agosilence debug
Sylvain Petreolle [Thu, 29 Oct 2009 18:28:27 +0000 (18:28 +0000)]
silence debug

svn path=/trunk/; revision=43830

11 years ago- Re-enable some debug prints for unsupported hardware features and make them consistent.
Stefan Ginsberg [Thu, 29 Oct 2009 18:26:22 +0000 (18:26 +0000)]
- Re-enable some debug prints for unsupported hardware features and make them consistent.

svn path=/trunk/; revision=43829

11 years ago- Implement the ThreadDescriptorTableEntry case for NtQueryInformationThread. This...
Stefan Ginsberg [Thu, 29 Oct 2009 10:04:15 +0000 (10:04 +0000)]
- 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

11 years ago- Silence debug garbage
Johannes Anderwald [Thu, 29 Oct 2009 08:28:03 +0000 (08:28 +0000)]
- Silence debug garbage

svn path=/trunk/; revision=43826

11 years agoRemove byte order mark.
Dmitry Gorbachev [Wed, 28 Oct 2009 23:53:50 +0000 (23:53 +0000)]
Remove byte order mark.

svn path=/trunk/; revision=43823

11 years agoPatch for Regional Settings applet by Viliam Lejcik (lejcik/at/gmail/com) with some...
Dmitry Gorbachev [Wed, 28 Oct 2009 23:20:28 +0000 (23:20 +0000)]
Patch for Regional Settings applet by Viliam Lejcik (lejcik/at/gmail/com) with some changes. Bug #4898.

svn path=/trunk/; revision=43821

11 years ago- Merge 43818 to trunk.
Stefan Ginsberg [Wed, 28 Oct 2009 21:49:58 +0000 (21:49 +0000)]
- Merge 43818 to trunk.
- Don't return any data for DbgKdSetBusDataApi either.

svn path=/trunk/; revision=43819

11 years ago- Add missing svn:eol-style properties.
Dmitry Gorbachev [Wed, 28 Oct 2009 20:13:23 +0000 (20:13 +0000)]
- Add missing svn:eol-style properties.
- Use consistent newline style.
- Update file COPYING.

svn path=/trunk/; revision=43817

11 years agoforgot to include winmm winetest on testcd
Sylvain Petreolle [Wed, 28 Oct 2009 18:51:17 +0000 (18:51 +0000)]
forgot to include winmm winetest on testcd

svn path=/trunk/; revision=43816

11 years ago- Silence wdmaud.drv
Johannes Anderwald [Wed, 28 Oct 2009 18:42:24 +0000 (18:42 +0000)]
- Silence wdmaud.drv

svn path=/trunk/; revision=43815

11 years agoadd winmm winetest
Sylvain Petreolle [Wed, 28 Oct 2009 15:15:59 +0000 (15:15 +0000)]
add winmm winetest

svn path=/trunk/; revision=43811

11 years ago[fastfat_new]
Aleksey Bragin [Wed, 28 Oct 2009 11:29:34 +0000 (11:29 +0000)]
[fastfat_new]
- Implement overwrite/supersede operations on an existing FCB, no on-disk writing yet.

svn path=/trunk/; revision=43809

11 years agosync widl to wine 1.1.32
Christoph von Wittich [Wed, 28 Oct 2009 11:28:26 +0000 (11:28 +0000)]
sync widl to wine 1.1.32

svn path=/trunk/; revision=43808

11 years agoAdd StringFromIID prototype
Johannes Anderwald [Wed, 28 Oct 2009 11:19:25 +0000 (11:19 +0000)]
Add StringFromIID prototype

svn path=/trunk/; revision=43807

11 years ago[fastfat_new]
Aleksey Bragin [Wed, 28 Oct 2009 10:18:57 +0000 (10:18 +0000)]
[fastfat_new]
- FatCreateCcb takes no parameters, so don't pass any. Spotted by Stefan's msvc.

svn path=/trunk/; revision=43806

11 years agoadd ac97 as optional
Christoph von Wittich [Wed, 28 Oct 2009 10:16:17 +0000 (10:16 +0000)]
add ac97 as optional

svn path=/trunk/; revision=43805

11 years agoThe winner of the 1st ReactOS Logon Sound contest has been elected. It is irc:LoneRif...
Johannes Anderwald [Wed, 28 Oct 2009 09:21:18 +0000 (09:21 +0000)]
The winner of the 1st ReactOS Logon Sound contest has been elected. It is irc:LoneRifle (alwyn-dot-tan-at-gmail-dot-com) Congratulations
- See http://www.reactos.org/forum/viewtopic.php?f=2&t=7339 for more details

svn path=/trunk/; revision=43804

11 years ago- [User32] Update MenuShowPopup with wine and add menu check for MenuTrackMenu. MenuT...
James Tabor [Wed, 28 Oct 2009 01:43:59 +0000 (01:43 +0000)]
- [User32] Update MenuShowPopup with wine and add menu check for MenuTrackMenu. MenuTrackMenu menu check fixed the first stop with wine menu test.

svn path=/trunk/; revision=43803

11 years agoA dozen of Rapps Updates. Thx to Victor Martinez for fixing many dl links..
Daniel Reimer [Wed, 28 Oct 2009 00:18:45 +0000 (00:18 +0000)]
A dozen of Rapps Updates. Thx to Victor Martinez for fixing many dl links..

svn path=/trunk/; revision=43802

11 years agoSync kdcom from amd64 branch
Timo Kreuzer [Tue, 27 Oct 2009 23:38:56 +0000 (23:38 +0000)]
Sync kdcom from amd64 branch

svn path=/trunk/; revision=43801

11 years agomerge r43777 from amd64 branch
Timo Kreuzer [Tue, 27 Oct 2009 23:28:17 +0000 (23:28 +0000)]
merge r43777 from amd64 branch

svn path=/trunk/; revision=43800

11 years ago[WDMAUD.DRV][MMEBUDDY]
Johannes Anderwald [Tue, 27 Oct 2009 23:28:09 +0000 (23:28 +0000)]
[WDMAUD.DRV][MMEBUDDY]
- Implement support for DRV_QUERYDEVICEINTERFACESIZE, DRV_QUERYDEVICEINTERFACE for recording / mixer / midi-in midi-out

svn path=/trunk/; revision=43799

11 years ago- Move TI flages to main header file.
James Tabor [Tue, 27 Oct 2009 19:02:02 +0000 (19:02 +0000)]
- Move TI flages to main header file.

svn path=/trunk/; revision=43796

11 years ago[rapps]
Christoph von Wittich [Tue, 27 Oct 2009 18:45:58 +0000 (18:45 +0000)]
[rapps]
install Firefox 3.0.15 instead of 3.0.13

svn path=/trunk/; revision=43795

11 years agoRelease atsmedia.h, ddkernel.h, dmemmgr.h, dvp.h, ntstrsafe.h, objerror.h and polarit...
Stefan Ginsberg [Tue, 27 Oct 2009 16:27:33 +0000 (16:27 +0000)]
Release atsmedia.h, ddkernel.h, dmemmgr.h, dvp.h, ntstrsafe.h, objerror.h and polarity.h into the public domain -- Alex (ntstrsafe.h) and Magnus (the other headers) have agreed to this.

svn path=/trunk/; revision=43794

11 years ago- Add missing types
Johannes Anderwald [Tue, 27 Oct 2009 15:33:58 +0000 (15:33 +0000)]
- Add missing types

svn path=/trunk/; revision=43793

11 years ago- Fix a heap corruption at process shutdown
Johannes Anderwald [Tue, 27 Oct 2009 12:19:33 +0000 (12:19 +0000)]
- Fix a heap corruption at process shutdown
- Found by irc:encoded

svn path=/trunk/; revision=43791

11 years ago- Update address of Free Software Foundation.
Dmitry Gorbachev [Tue, 27 Oct 2009 10:34:16 +0000 (10:34 +0000)]
- Update address of Free Software Foundation.
- Update obsolete LGPL v2 to LGPL v2.1.

svn path=/trunk/; revision=43790

11 years ago- Replace broken implementation of HalpCalibrateStallExecution with a new implementat...
Stefan Ginsberg [Tue, 27 Oct 2009 01:03:41 +0000 (01:03 +0000)]
- Replace broken implementation of HalpCalibrateStallExecution with a new implementation by a mysterious HAL ninja and myself. The old implementation calculated the stall count factor incorrectly and produced bogus results that were off by several thousand, and varied by as much for each boot, and can best be described as "rand() made complicated". The new implementation installs its own RTC interrupt handler to accurately calculate the stall scale factor, all done in assembler instead of broken C. Fixes the hang at boot when initializing Uniata as stalls no longer takes 10 times or more as long to execute then they should.

svn path=/trunk/; revision=43789

11 years ago[WDMAUD.DRV][WDMAUD_KERNEL][MMEBUDDY]
Johannes Anderwald [Mon, 26 Oct 2009 23:10:05 +0000 (23:10 +0000)]
[WDMAUD.DRV][WDMAUD_KERNEL][MMEBUDDY]
- Implement support for DRV_QUERYDEVICEINTERFACESIZE, DRV_QUERYDEVICEINTERFACE
- Required for DSound support

svn path=/trunk/; revision=43788

11 years ago - Add UltraVNC to the rapps list
Cameron Gutman [Mon, 26 Oct 2009 21:39:00 +0000 (21:39 +0000)]
 - Add UltraVNC to the rapps list
 - The VNC client works very well in ROS

svn path=/trunk/; revision=43787

11 years ago- Implement reading preferred playback / record device
Johannes Anderwald [Mon, 26 Oct 2009 19:40:21 +0000 (19:40 +0000)]
- Implement reading preferred playback / record device

svn path=/trunk/; revision=43784

11 years ago- Revert 43774
Johannes Anderwald [Mon, 26 Oct 2009 19:32:25 +0000 (19:32 +0000)]
- Revert 43774

svn path=/trunk/; revision=43783

11 years ago- Fix wine class test with a sync with wine edit.c.
James Tabor [Mon, 26 Oct 2009 18:26:48 +0000 (18:26 +0000)]
- Fix wine class test with a sync with wine edit.c.

svn path=/trunk/; revision=43782

11 years agofix wavemapper path
Sylvain Petreolle [Mon, 26 Oct 2009 13:54:46 +0000 (13:54 +0000)]
fix wavemapper path

svn path=/trunk/; revision=43780

11 years ago- Add an initial stub of DSound
Johannes Anderwald [Mon, 26 Oct 2009 10:54:05 +0000 (10:54 +0000)]
- Add an initial stub of DSound

svn path=/trunk/; revision=43774

11 years agoWe should send WM_SYSCOMMAND when we get a WM_SYSKEYUP , not when we get a WM_SYSKEYD...
Giannis Adamopoulos [Mon, 26 Oct 2009 08:53:47 +0000 (08:53 +0000)]
We should send WM_SYSCOMMAND when we get a WM_SYSKEYUP , not when we get a WM_SYSKEYDOWN message

svn path=/trunk/; revision=43773

11 years agoimplement IntKeyboardInput based on wine
Christoph von Wittich [Mon, 26 Oct 2009 08:50:00 +0000 (08:50 +0000)]
implement IntKeyboardInput based on wine

svn path=/trunk/; revision=43772

11 years ago - Comment out this unused code until I can get the headers sorted out in my WC
Cameron Gutman [Mon, 26 Oct 2009 03:28:43 +0000 (03:28 +0000)]
 - Comment out this unused code until I can get the headers sorted out in my WC

svn path=/trunk/; revision=43771

11 years ago - Forgot this file
Cameron Gutman [Mon, 26 Oct 2009 03:19:30 +0000 (03:19 +0000)]
 - Forgot this file

svn path=/trunk/; revision=43769

11 years ago - Update AFD's shared header
Cameron Gutman [Mon, 26 Oct 2009 03:11:44 +0000 (03:11 +0000)]
 - Update AFD's shared header
 - Add entity type check for IF_MIB_STATS_ID
 - Sort out some confusion with TDI entities
 - Implement IOCTL_AFD_GET_CONTEXT_SIZE
 - Enable debug prints for unimplemented ioctls
 - Add kernel-mode support for setting TTL

svn path=/trunk/; revision=43767

11 years ago[WDMAUD.DRV]
Johannes Anderwald [Mon, 26 Oct 2009 00:15:22 +0000 (00:15 +0000)]
[WDMAUD.DRV]
- Set the audio pin to KSSTATE_RUN if it is wave-out pin
- Implement support for manually starting / stopping a pin, which is used for recording
[WINMM]
- Add a hack for handling requests with WAVE_MAPPER
[PORTCLS]
- Pass correct flags to KsProbeStreamIrp when the irp has not already been probed (DirectKs)
[WDMAUD]
- Set correct irp dispatch code
[SYSAUDIO]
- Remove a hack
[MMEBUDDY]
- Return no error for MXDM_INIT message
- Add support for completing multiple wave headers at once
- Use new functions to implement WIDM_START / WIDM_STOP
- ReactOS now "supports" wave in recording. Tested with Audacity / sndrec32 @ XP, WIP

svn path=/trunk/; revision=43765

11 years agoJapanese font. Based on Misaki font by Num Kadoma (num_kadoma/at/yahoo/co/jp).
Dmitry Gorbachev [Sun, 25 Oct 2009 23:46:45 +0000 (23:46 +0000)]
Japanese font. Based on Misaki font by Num Kadoma (num_kadoma/at/yahoo/co/jp).

Copyright (C) 2002-2008 Num Kadoma

This font is free software.

Unlimited permission is granted to use, copy, and distribute it, with
or without modification, either commercially or noncommercially.

THIS FONT IS PROVIDED "AS IS" WITHOUT WARRANTY.

svn path=/trunk/; revision=43764

11 years agofix "no newline at end of file" errors
Sylvain Petreolle [Sun, 25 Oct 2009 23:10:28 +0000 (23:10 +0000)]
fix "no newline at end of file" errors

svn path=/trunk/; revision=43762

11 years agoremove unused file
Timo Kreuzer [Sun, 25 Oct 2009 22:04:32 +0000 (22:04 +0000)]
remove unused file

svn path=/trunk/; revision=43758

11 years ago-sync rsaenh_winetest with wine 1.1.32
Christoph von Wittich [Sun, 25 Oct 2009 21:16:33 +0000 (21:16 +0000)]
-sync rsaenh_winetest with wine 1.1.32

svn path=/trunk/; revision=43756

11 years ago-sync rsaenh with wine 1.1.32
Christoph von Wittich [Sun, 25 Oct 2009 21:16:15 +0000 (21:16 +0000)]
-sync rsaenh with wine 1.1.32

svn path=/trunk/; revision=43755

11 years agopartial kernel32 GetLocaleInfo sync to wine 1.1.32
Christoph von Wittich [Sun, 25 Oct 2009 21:02:58 +0000 (21:02 +0000)]
partial kernel32 GetLocaleInfo sync to wine 1.1.32

svn path=/trunk/; revision=43754

11 years ago-sync user32_winetest with wine 1.1.32
Christoph von Wittich [Sun, 25 Oct 2009 20:32:13 +0000 (20:32 +0000)]
-sync user32_winetest with wine 1.1.32

svn path=/trunk/; revision=43752

11 years ago-sync msxml3 with wine 1.1.32
Christoph von Wittich [Sun, 25 Oct 2009 20:21:51 +0000 (20:21 +0000)]
-sync msxml3 with wine 1.1.32

svn path=/trunk/; revision=43751

11 years ago-sync netapi32 with wine 1.1.32
Christoph von Wittich [Sun, 25 Oct 2009 19:24:08 +0000 (19:24 +0000)]
-sync netapi32 with wine 1.1.32

svn path=/trunk/; revision=43750

11 years ago[win32k] Stub out page to device space conversion, fixes three more gdi32 mapping...
Gregor Schneider [Sun, 25 Oct 2009 18:49:08 +0000 (18:49 +0000)]
[win32k] Stub out page to device space conversion, fixes three more gdi32 mapping winetests

svn path=/trunk/; revision=43749

11 years ago- Make sure that no duplicate wdmaud.drv audio drivers exists as winmm currently...
Johannes Anderwald [Sun, 25 Oct 2009 18:22:03 +0000 (18:22 +0000)]
- Make sure that no duplicate wdmaud.drv audio drivers exists as winmm currently not recognizes duplicate audio driver entries

svn path=/trunk/; revision=43748

11 years ago- Partially sync winmm
Johannes Anderwald [Sun, 25 Oct 2009 17:54:50 +0000 (17:54 +0000)]
- Partially sync winmm
- Remove unused code
- Fix function headers

svn path=/trunk/; revision=43747

11 years agopartially sync kernel32 profile to wine 1.1.32
Christoph von Wittich [Sun, 25 Oct 2009 17:28:35 +0000 (17:28 +0000)]
partially sync kernel32 profile to wine 1.1.32

svn path=/trunk/; revision=43746

11 years ago[win32k] GetTransform:
Gregor Schneider [Sun, 25 Oct 2009 17:23:19 +0000 (17:23 +0000)]
[win32k] GetTransform:
- Add support for more transforms
- Fix return value for invalid/unsupported transform types
- Fixes 10 gdi32 mapping winetests

svn path=/trunk/; revision=43745

11 years ago-sync kernel32_winetest with wine 1.1.32
Christoph von Wittich [Sun, 25 Oct 2009 16:21:40 +0000 (16:21 +0000)]
-sync kernel32_winetest with wine 1.1.32

svn path=/trunk/; revision=43744

11 years agoadd define for LOCALE_RETURN_GENITIVE_NAMES
Christoph von Wittich [Sun, 25 Oct 2009 16:20:45 +0000 (16:20 +0000)]
add define for LOCALE_RETURN_GENITIVE_NAMES

svn path=/trunk/; revision=43743

11 years agobetter stub for RtlQueryHeapInformation (taken from wine)
Christoph von Wittich [Sun, 25 Oct 2009 16:20:00 +0000 (16:20 +0000)]
better stub for RtlQueryHeapInformation (taken from wine)

svn path=/trunk/; revision=43742

11 years ago- DBGKD_WAIT_STATE_CHANGE64 is used in KD protocol 5, not number 6 that we use. Proto...
Stefan Ginsberg [Sun, 25 Oct 2009 15:56:38 +0000 (15:56 +0000)]
- DBGKD_WAIT_STATE_CHANGE64 is used in KD protocol 5, not number 6 that we use. Protocol 6 uses the DBGKD_ANY_WAIT_STATE_CHANGE structure which is sized according to the largest control-report structure (AMD64_DBGKD_CONTROL_REPORT currently), and is larger than DBGKD_WAIT_STATE_CHANGE64 on x86. This worked because our DBGKD_WAIT_STATE_CHANGE32/64 structures contained incorrect DBGKD_CONTROL_REPORT (used) and CONTEXT (unused) members that sized up the wait-state structure to pass WinDbg's length verification! It actually becomes larger than DBGKD_ANY_WAIT_STATE_CHANGE, but WinDbg only seems bail out only if the structure is too small. Remove the incorrect members from the protocol 5 structures and change to DBGKD_ANY_WAIT_STATE_CHANGE everywhere.
- Correct the value of SIZE_OF_FX_REGISTERS -- it was 4 times too low which resulted in KeContextToTrapFrame not properly clearing out the XMM register area. Correct the define and move it out from ke.h to x86's ketypes.h and use it in the FXSAVE format structure. Also remove the IOPM definitions from ke.h as they have been in the NDK for a while.
- KD uses STRINGs, not ANSI_STRINGs -- they are the same thing, but let's be consistent.
- ExceptionRecord32To64 should be available for both 32 and 64 bit builds (and it shouldn't be a forceinline). Get rid of CopyExceptionRecord and determine if we need to convert or can just copy it directly instead.
- Use _WIN64 instead of _M_AMD64 when determining if we need to set the DBGKD_VERS_FLAG_PTR64 flag.
- Don't check Nt/DbgQueryDebugFilterState for zero or nonzero -- it actually returns TRUE, FALSE or STATUS_INVALID_PARAMETER_1! Check for != TRUE in preparation for proper implementation of NtSet/QueryDebugFilterState.
- Fix Format parameter of DbgPrintReturnControlC -- it is const like the other DbgPrint* routines.
- Be consistent with the types used in debug.c and don't set local variables to zero if we are going to return to caller -- this doesn't seem to be required anymore.
- Fix DebugService and DebugService2: DebugService should take a ULONG followed by 4 pointers and DebugService2 doesn't return anything.
- Use ZwCurrentProcess() instead of -1 or 0xFFFFFFFF (which is incorrect for 64-bit) for the ProcessId parameter of DbgLoad/UnloadImageSymbols to clarify what is being passed. Don't use ZwCurrentProcess() in KeBugCheckWithTf for the pointer parameter of DbgUnLoadImageSymbols either. Use MAXULONG_PTR casted to PVOID instead.
- Use better named and sized variables in KdpTrap for setting the "return register" in the caller's CONTEXT.
- Correct and clarify the comment documenting under what conditions we pass user mode exceptions to the kernel debugger.

svn path=/trunk/; revision=43741

11 years ago-sync cabinet with wine 1.1.32
Christoph von Wittich [Sun, 25 Oct 2009 13:45:15 +0000 (13:45 +0000)]
-sync cabinet with wine 1.1.32

svn path=/trunk/; revision=43740

11 years agodon't crash in msi install winetest
Christoph von Wittich [Sun, 25 Oct 2009 11:14:03 +0000 (11:14 +0000)]
don't crash in msi install winetest

svn path=/trunk/; revision=43737