Commit Graph

7441 Commits

Author SHA1 Message Date
Aleksey Bragin
13f71da4f1 [SDK]
- Add missing IIDs to UUID.

svn path=/trunk/; revision=45099
2010-01-16 13:52:51 +00:00
Timo Kreuzer
46d47eb029 [CRT]
Patch by Jose Catena:
vsnprintf: added support for ll size specifier

See issue #5122 for more details.

svn path=/trunk/; revision=45089
2010-01-15 21:00:20 +00:00
Timo Kreuzer
59e66ba7e8 [CRT]
Patch by Jose Catena:
allmul produced wrong results when the higher 32 bits of any of the 64 bit operands are not zero. As the comment correctly said the definition of param locations must change
since esp was altered, but the definitions were not actually changed

See issue #5121 for more details.

svn path=/trunk/; revision=45088
2010-01-15 20:45:36 +00:00
Eric Kohl
ba16f69763 Removed outdated email addresses.
svn path=/trunk/; revision=45020
2010-01-09 22:43:16 +00:00
Timo Kreuzer
2736e830ea [RTL]
Merge from amd64 branch
35738,37004,37308,37324,37330,37331,37332,37370,37419,37424,37425,37428,37473,37492,37844,37911,37987,40604,41006,43686,43951,43953,43980,43993,44001,44289,44295,44296,44428,44966,44967,44968

- Implement amd64 specific RTL functions: RtlLookupFunctionTable, RtlLookupFunctionEntry, RtlCaptureContext, RtlVirtualUnwind, RtlWalkFrameChain, RtlGetCallersAddress, RtlRaiseException (Timo Kreuzer)
- Implement amd64 asm functions: RtlCompareMemory, DebugService, RtlInterlockedPopEntrySList, RtlInterlockedPushEntrySList and RtlInterlockedFlushSList (Timo Kreuzer)
- Don't use double in rtl's sprintf / swprintf, use double_t union instead. (Stefan Ginsberg)

svn path=/trunk/; revision=44970
2010-01-06 00:39:07 +00:00
Timo Kreuzer
05c33f5b6b [ATL]
Merged from amd64 branch:
- add amd64 specific thunkCode
- get rid of a cast

svn path=/trunk/; revision=44950
2010-01-05 17:38:03 +00:00
Aleksey Bragin
887a166980 Daniel Zimmermann <netzimme@aim.com>
- Implement RtlDnsHostNameToComputerName.
See issue #5092 for more details.

svn path=/trunk/; revision=44948
2010-01-05 16:37:32 +00:00
Ged Murphy
b19ad21200 Fix __STDC_WANT_SECURE_LIB__ redefinition
svn path=/trunk/; revision=44928
2010-01-04 14:02:49 +00:00
Johannes Anderwald
c42d9f27cc [MMIXER]
- Implement registering hardware events (volume / mute control changes)
- Fix a bug when querying a source mixer line. The wrong line id was passed which caused the call to fail.

svn path=/trunk/; revision=44872
2010-01-02 01:52:12 +00:00
Eric Kohl
a22d21e20c spaces -> tabs
svn path=/trunk/; revision=44794
2009-12-28 12:02:32 +00:00
Eric Kohl
b837d58c19 - Lsasrv: Create the LsaAuthenticationPort and add a basic server loop that listens to incoming requests.
- Lsalib: Combine request and reply data of the register request into a connection info struct.

My test application can now connect to the LsaAuthenticationPort.

svn path=/trunk/; revision=44793
2009-12-28 11:59:20 +00:00
Eric Kohl
2db30d58d2 [lsalib]
Fix indentation. No code changes.

svn path=/trunk/; revision=44776
2009-12-27 19:46:13 +00:00
Eric Kohl
fc5a89cd69 Move the client-side LSA functions from secur32.dll to the new static library lsalib because these functions will be shared between ntoskrnl.exe, advapi32.dll and secur32.dll.
svn path=/trunk/; revision=44774
2009-12-27 19:10:30 +00:00
Johannes Anderwald
3a6c7402a5 [MMIXER]
- Store correct mixer handle in the mixer info
- mmixer can now handle set / get volume and on-off (mute) requests

svn path=/trunk/; revision=44756
2009-12-25 01:21:29 +00:00
Gregor Schneider
0567d77694 [msvcrt] Update c++ symbol demangling to Wine 1.1.35 (msvcrt:cpp test buffer overrun)
svn path=/trunk/; revision=44742
2009-12-23 17:48:27 +00:00
Christoph von Wittich
322ce004ae [crt]
import _wcsupr_s from wine 1.1.35

svn path=/trunk/; revision=44725
2009-12-23 10:56:54 +00:00
Christoph von Wittich
17fdbfeb72 [crt]
sync wcscpy_s with wine 1.1.35

svn path=/trunk/; revision=44724
2009-12-23 10:44:24 +00:00
Johannes Anderwald
86558f7d81 [MMIXER]
- Implement a function for controlling the wave pin state

svn path=/trunk/; revision=44720
2009-12-23 02:49:18 +00:00
Johannes Anderwald
43fd6670e8 [MMIXER]
- Fix a bug in the file header

svn path=/trunk/; revision=44717
2009-12-22 18:08:51 +00:00
Johannes Anderwald
f45bd7617a [MMIXER]
- Add support for enumerating wave in/out devices. Based on the wdmaud driver code

svn path=/trunk/; revision=44664
2009-12-20 00:55:55 +00:00
Johannes Anderwald
cf7f39eaba [MMIXER]
- Fix buffer overflow

svn path=/trunk/; revision=44660
2009-12-19 21:44:39 +00:00
Johannes Anderwald
cce0070699 [MMIXER]
- Fix broken check in MMixerAddMixerControl, which only copied the node name on failure
- Add initialization of LineControlsExtraDat LIST_ENTRY type, which resulted in a crash

svn path=/trunk/; revision=44659
2009-12-19 20:45:29 +00:00
Johannes Anderwald
82dfe03d66 [MMIXER]
- Open all filters before starting enumeration. The advantage is that some filters are not opened twice
- Query the Mixer Name from Registry by opening the device interface registry key and querying for the value of FriendlyName. If it cannot be found, try to find the key under the sub key 'Device Parameters'

svn path=/trunk/; revision=44646
2009-12-18 10:25:41 +00:00
Johannes Anderwald
3efe83afa3 - Add mmixer to build
svn path=/trunk/; revision=44560
2009-12-13 11:33:23 +00:00
Johannes Anderwald
a20e1844ce [MMIXER]
- Add more error checks
- Fix a bug MMixerGetControlsFromPinByConnectionIndex which pre-early stopped the enumeration of mixer controls
- Only add guids which can be later be resolved to mixer control
- Check if no a topology connection has no links connected

svn path=/trunk/; revision=44559
2009-12-13 11:32:44 +00:00
Dmitry Gorbachev
6b2612bba2 Fix typo in _aullrem(), reported by zhangbonian (zhangbonian17*at*163*dot*com), bug #5015.
svn path=/trunk/; revision=44548
2009-12-12 14:28:45 +00:00
Johannes Anderwald
c9c03a799f [MMIXER]
- Add mixerline for audio filters which expose their topology on the same filter such as usb audio cards
- Retrieve pin name of the target pin in order to display the correct name for the destination audio mixer line

svn path=/trunk/; revision=44538
2009-12-11 14:01:39 +00:00
Johannes Anderwald
3953b7855d [MMIXER]
- Store MixerList in MixerContext member
- Fix a lot of bugs
- MMixer is now able to enumerate mixers and their associated controls

svn path=/trunk/; revision=44522
2009-12-10 12:27:16 +00:00
Johannes Anderwald
bc8c3e9a2d [MMIXER]
- Define all used node types and property guids

svn path=/trunk/; revision=44486
2009-12-09 16:28:12 +00:00
Johannes Anderwald
91b69c9d1d [MMIXER]
- Implement MMixerGetLineInfo, MMixerGetLineControls, MMixerSetControlDetails, MMixerGetControlDetails, MMixerOpen
- MMixer library is now ready for testing

svn path=/trunk/; revision=44482
2009-12-09 16:00:28 +00:00
Johannes Anderwald
757fd23400 [MMIXER]
- Store initialized mixers in a struct MIXER_LIST
- Implement MMixerGetCapabilities

svn path=/trunk/; revision=44479
2009-12-09 09:51:39 +00:00
Johannes Anderwald
b1e100ebd8 [MMIXER]
- Finish porting of code from wdmaud

svn path=/trunk/; revision=44473
2009-12-08 21:10:02 +00:00
Timo Kreuzer
8d819f40bb Fix regressions.
svn path=/trunk/; revision=44466
2009-12-08 03:06:40 +00:00
Timo Kreuzer
4e6d2d7136 Cleanup test code, improve comments.
svn path=/trunk/; revision=44465
2009-12-08 02:18:42 +00:00
Timo Kreuzer
66fe9a0793 [RTL]
Rewrite the rtl bitmap implementation.
The old one was a little .... suboptimal. The new one should outperform the old one by several orders of magnitude, especially RtlFindClearBits that was literally searching bit by bit.

svn path=/trunk/; revision=44464
2009-12-08 01:02:36 +00:00
Johannes Anderwald
2ddde07951 - Start implementing a mixer library. The mixer library is based directly on the code in the wdmaud driver. The purpose is to provide a generic library which can be used in usermode (wdmaud.drv (Vista Driver Model)/ dsound) or in kernel mode. In addition, it can be used to test mixer implementation.
svn path=/trunk/; revision=44452
2009-12-07 10:28:49 +00:00
Timo Kreuzer
3ab9af72ac - merge r44429
- fix hal_generic_amd64.rbuild
- add missing files

svn path=/trunk/; revision=44430
2009-12-06 02:44:06 +00:00
Gregor Schneider
246ae043bc [rtl]
- Update status to error mapping tables and functions to current Wine sources
- Needed to for ERROR_TIMEOUT, ERROR_SXS_CANT_GEN_ACTCTX, ERROR_MR_MID_NOT_FOUND and several others
- Remove RtlNtStatusToPsxErrno - nobody will miss it
- Fixes ~20 kernel32 actctx winetests

svn path=/trunk/; revision=44410
2009-12-05 13:07:02 +00:00
Colin Finck
dfa9eb6204 [General]
- Remove the "kernel32" library reference in all .rbuild files of user-mode modules, because this one is already added by "mingw_common". Also fix the indentation in some files.

svn path=/trunk/; revision=44368
2009-12-02 20:32:16 +00:00
Michael Martin
e2e8b52413 SXS Support Part 1 of 2. All import work done by Samuel Serapión with some small changes my me.
[lib/rtl]
- Import Rtlxx and related functions for Activation Context Support from WINE.
- Implement RtlAllocateActivationContextStack.
- Modify get_manifest_in_manifest_file function to use FileStandardInformation vice FileEndOfFileInformation (currently unsupported) in call to NtQueryInformationFile.
- Add structs RTL_ACTIVATION_CONTEXT_STACK_FRAME and ACTIVATION_CONTEXT_STACK from WINE.
- Add ActivationContextStackPointer to TEB.
- Define QUERY_ACTCTX_FLAG_NO_ADDREF.Will become active with changes to ntdll loader in Part 2.

svn path=/trunk/; revision=44359
2009-12-02 09:43:35 +00:00
Gregor Schneider
09bdd4ffa0 [ntdll]
- Logic change of r37554 is correct, RtlTimeFieldsToTime doesn't normalize invalid input values - remove these codes
- Related to bug #4917, part 1

svn path=/trunk/; revision=44344
2009-12-01 18:46:13 +00:00
Johannes Anderwald
647f63f881 [MMEBUDDY]
- Return correct error code
- Fixes last 4 four winmm_winetest mixer test failures

svn path=/trunk/; revision=44325
2009-11-29 21:17:15 +00:00
Gregor Schneider
9560d47053 [msvcrt]
- Validate the process heap 
- Remove validation as soon as this function is tested

svn path=/trunk/; revision=44313
2009-11-28 19:35:47 +00:00
Gregor Schneider
8e09c97596 [msvcrt]
- Fix buffer calculation in argvtoW, missed unicode character size
- Fixes another crash during GIMP startup, now GIMP starts (bug #3503, part 2)
- Fix same problem in valisttoA/W

svn path=/trunk/; revision=44307
2009-11-28 15:16:36 +00:00
Gregor Schneider
b06cec2ffd [msvcrt]
- Use the process heap for malloc and friends
- Fixes a crash during GIMP startup (bug #3503, part 1)

svn path=/trunk/; revision=44306
2009-11-28 15:13:18 +00:00
Gregor Schneider
91523d7181 [msvcrt] Update scanf family with a patch that also went to Wine (http://source.winehq.org/git/wine.git/?a=commit;h=2043035e1749e40e23853d751ac1410d39fc8d27):
Calculate floating point decimals in internally used long double precision.
Fixes bug #4092 (calculator imprecision)

svn path=/trunk/; revision=44304
2009-11-28 15:01:40 +00:00
Aleksey Bragin
212d5ee24e - Revert the oskit locking rewrite in trunk, it's better to test/debug it in the branch first. Reverted revisions numbers: 44268, 44267, 44266, 44250, 44199, 44166-163, 44021, 44010, 43926, 43922, 43883.
svn path=/trunk/; revision=44301
2009-11-28 14:45:21 +00:00
Cameron Gutman
3384debaf5 - Initialize SocketError to 0 to prevent a bogus error from GCC
svn path=/trunk/; revision=44286
2009-11-25 18:08:43 +00:00
Cameron Gutman
e016a230af - Fix a race condition that occurs when an IRP gets cancelled after it is inserted into the completion queue but before it is completed
svn path=/trunk/; revision=44267
2009-11-22 02:32:47 +00:00
Cameron Gutman
83bc88465f - Remove memtrack and use tags instead (ExAllocatePoolWithTag/ExFreePoolWithTag)
- Cleanup DriverEntry
 - Remove DEFINE_TAG
 - Remove checkpoints in TiCreateFileObject

svn path=/trunk/; revision=44266
2009-11-21 23:53:43 +00:00