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
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
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
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
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
Cameron Gutman [Thu, 29 Oct 2009 20:56:47 +0000 (20:56 +0000)]
- Header updates for winsock rewrite
svn path=/trunk/; revision=43834
Stefan Ginsberg [Thu, 29 Oct 2009 20:10:29 +0000 (20:10 +0000)]
- Missed this file
svn path=/trunk/; revision=43833
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
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
Sylvain Petreolle [Thu, 29 Oct 2009 18:28:27 +0000 (18:28 +0000)]
silence debug
svn path=/trunk/; revision=43830
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
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
Johannes Anderwald [Thu, 29 Oct 2009 08:28:03 +0000 (08:28 +0000)]
- Silence debug garbage
svn path=/trunk/; revision=43826
Dmitry Gorbachev [Wed, 28 Oct 2009 23:53:50 +0000 (23:53 +0000)]
Remove byte order mark.
svn path=/trunk/; revision=43823
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
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
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
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
Johannes Anderwald [Wed, 28 Oct 2009 18:42:24 +0000 (18:42 +0000)]
- Silence wdmaud.drv
svn path=/trunk/; revision=43815
Sylvain Petreolle [Wed, 28 Oct 2009 15:15:59 +0000 (15:15 +0000)]
add winmm winetest
svn path=/trunk/; revision=43811
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
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
Johannes Anderwald [Wed, 28 Oct 2009 11:19:25 +0000 (11:19 +0000)]
Add StringFromIID prototype
svn path=/trunk/; revision=43807
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
Christoph von Wittich [Wed, 28 Oct 2009 10:16:17 +0000 (10:16 +0000)]
add ac97 as optional
svn path=/trunk/; revision=43805
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
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
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
Timo Kreuzer [Tue, 27 Oct 2009 23:38:56 +0000 (23:38 +0000)]
Sync kdcom from amd64 branch
svn path=/trunk/; revision=43801
Timo Kreuzer [Tue, 27 Oct 2009 23:28:17 +0000 (23:28 +0000)]
merge r43777 from amd64 branch
svn path=/trunk/; revision=43800
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
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
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
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
Johannes Anderwald [Tue, 27 Oct 2009 15:33:58 +0000 (15:33 +0000)]
- Add missing types
svn path=/trunk/; revision=43793
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
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
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
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
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
Johannes Anderwald [Mon, 26 Oct 2009 19:40:21 +0000 (19:40 +0000)]
- Implement reading preferred playback / record device
svn path=/trunk/; revision=43784
Johannes Anderwald [Mon, 26 Oct 2009 19:32:25 +0000 (19:32 +0000)]
- Revert 43774
svn path=/trunk/; revision=43783
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
Sylvain Petreolle [Mon, 26 Oct 2009 13:54:46 +0000 (13:54 +0000)]
fix wavemapper path
svn path=/trunk/; revision=43780
Johannes Anderwald [Mon, 26 Oct 2009 10:54:05 +0000 (10:54 +0000)]
- Add an initial stub of DSound
svn path=/trunk/; revision=43774
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
Christoph von Wittich [Mon, 26 Oct 2009 08:50:00 +0000 (08:50 +0000)]
implement IntKeyboardInput based on wine
svn path=/trunk/; revision=43772
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
Cameron Gutman [Mon, 26 Oct 2009 03:19:30 +0000 (03:19 +0000)]
- Forgot this file
svn path=/trunk/; revision=43769
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
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
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
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
Timo Kreuzer [Sun, 25 Oct 2009 22:04:32 +0000 (22:04 +0000)]
remove unused file
svn path=/trunk/; revision=43758
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Christoph von Wittich [Sun, 25 Oct 2009 11:06:38 +0000 (11:06 +0000)]
-sync msi_winetest with wine 1.1.32
svn path=/trunk/; revision=43736
Christoph von Wittich [Sun, 25 Oct 2009 11:06:09 +0000 (11:06 +0000)]
-sync msi with wine 1.1.32
svn path=/trunk/; revision=43735
Giannis Adamopoulos [Sun, 25 Oct 2009 09:32:01 +0000 (09:32 +0000)]
Sync DrawText funtions with wine 1.1.32
Fixes all user32 text tests
svn path=/trunk/; revision=43734
Christoph von Wittich [Sun, 25 Oct 2009 08:52:54 +0000 (08:52 +0000)]
partial wine sync to 1.1.32:
wininet: Avoid accessing uninitialized memory.
svn path=/trunk/; revision=43733
Cameron Gutman [Sun, 25 Oct 2009 04:30:28 +0000 (04:30 +0000)]
- Fix sending malformed ICMP packets because we read the wrong length from the wrong address in the buffer
- Fix the sequence number stored in the packet
- Fix potential null pointer freeing
- tracert partially works now (Setting TTL isn't implemented yet)
svn path=/trunk/; revision=43732
Cameron Gutman [Sun, 25 Oct 2009 03:48:15 +0000 (03:48 +0000)]
- Start the sequence number at 1 instead of 0
svn path=/trunk/; revision=43731