Commit graph

38895 commits

Author SHA1 Message Date
Dmitry Chapyshev ee67b18306 - Sync shlwapi, msxml3 and windowscodecs with Wine 1.1.30
svn path=/trunk/; revision=43163
2009-09-26 10:48:07 +00:00
Dmitry Chapyshev 92fb419193 - Sync crypt32 with Wine 1.1.30
svn path=/trunk/; revision=43162
2009-09-26 10:46:37 +00:00
Dmitry Chapyshev e1fe6ab26d - Sync comctl32/comdlg32 with Wine 1.1.30
svn path=/trunk/; revision=43161
2009-09-26 10:45:59 +00:00
Dmitry Chapyshev 22db57dbe1 - Sync headers with Wine 1.1.30
svn path=/trunk/; revision=43160
2009-09-26 10:45:05 +00:00
Cameron Gutman fcc4a34712 - Don't modify the size for now until I figure out where the incorrect code is
svn path=/trunk/; revision=43159
2009-09-26 06:50:06 +00:00
James Tabor af4d2d6928 - Ilya Shpigor: User32: Skip STM_SETIMAGE message if the static control style does not match.
- Enable EnhMeta functions.

svn path=/trunk/; revision=43158
2009-09-26 05:36:10 +00:00
James Tabor 8d1578aa14 - Alexandre Julliard : kernel32: Cope with an empty resource section in UpdateResource.
- Wine Bug 19783 : http://bugs.winehq.org/show_bug.cgi?id=19783

svn path=/trunk/; revision=43157
2009-09-26 05:25:52 +00:00
Cameron Gutman 40d2ff91c9 - Add debug prints in failure cases
- Replace 0 with NO_ERROR

svn path=/trunk/; revision=43156
2009-09-26 01:05:45 +00:00
Johannes Anderwald 35d71447e0 - Enable building a bootcd
svn path=/trunk/; revision=43155
2009-09-26 00:57:22 +00:00
Cameron Gutman 6494e99ae8 - We want socket closure notification so we don't leak our socket context when the socket is destroyed
- Free socket context in WSHNotify

svn path=/trunk/; revision=43154
2009-09-25 23:44:51 +00:00
Cameron Gutman dc5a52bb5a - Fix implementation of WSHGetWildcardSockaddr
- Implement WSHGetBroadcastSockaddr

svn path=/trunk/; revision=43153
2009-09-25 23:27:44 +00:00
Cameron Gutman fe5958dbfe - Fix parameter checking in WSHGetSockaddrType
- Implement WSHGetWinsockMapping

svn path=/trunk/; revision=43152
2009-09-25 21:46:18 +00:00
Johannes Anderwald 48cb334fca [WDMAUD.DRV]
- Forward mixer control requests to wdmaud driver 
[MMEBUDDY]
- Handle MXDM_GETCONTROLDETAILS, MXDM_SETCONTROLDETAILS, MXDM_GETLINECONTROLS, MXDM_GETLINEINFO
[WDMAUD_KERNEL]
- Add stubs for mixer api

svn path=/trunk/; revision=43147
2009-09-25 18:06:13 +00:00
Johannes Anderwald 502edb2c1e [KS]
- Silent debug traces
- Try fix 'Assertion 'WorkItem->List.Flink == NULL' failed at ntoskrnl\ex\work.c'

svn path=/trunk/; revision=43146
2009-09-25 17:26:33 +00:00
Hervé Poussineau 897feb5b15 Revert r43141 to try to fix ReactOS boot style...
svn path=/trunk/; revision=43145
2009-09-25 15:10:28 +00:00
Cameron Gutman a7a1d470fe - Fix a bug which causes port 0 to be classified as reserved instead of wildcard
svn path=/trunk/; revision=43144
2009-09-25 13:39:36 +00:00
Aleksey Bragin 02b0f9d055 [winldr]
- Fix release build.

svn path=/trunk/; revision=43143
2009-09-25 13:03:42 +00:00
Aleksey Bragin f57d3a98b7 [winldr]
- Load and use debug boot options if built with DBG (mimics old reactos setupldr behaviour).

svn path=/trunk/; revision=43142
2009-09-25 09:28:37 +00:00
Hervé Poussineau 5519bfc73a Remove now unneeded ARC cdrom hack. We're now able to boot from a LiveCD, even if ReactOS directory is not "reactos"
svn path=/trunk/; revision=43141
2009-09-24 22:05:10 +00:00
Hervé Poussineau 757788da16 [freeldr] Put cdrom information in block list information
svn path=/trunk/; revision=43140
2009-09-24 21:29:31 +00:00
Johannes Anderwald d3716d892e - Fix derefercing of null pointer
- Brought to you by Amine Khaldi (amine48rz)

svn path=/trunk/; revision=43139
2009-09-24 20:32:31 +00:00
Johannes Anderwald 0cb3d8ff11 [WDMAUD.DRV]
- Implement copying mixer capabilities
[WDMAUD_KERNEL]
- Partly implement retrieving mixer capabilties
- Implement retrieving mixer name

svn path=/trunk/; revision=43138
2009-09-24 19:24:22 +00:00
Johannes Anderwald c17e7adfbd [WDMAUD.DRV]
- Implement opening / closing of mixer devices
[AUDIO_TEST]
- Add DirectKs sample test function
[WDMAUD_KERNEL]
- Use KSSTREAM header of the changed interface

svn path=/trunk/; revision=43133
2009-09-24 18:11:22 +00:00
Stefan Ginsberg bea4561694 - msctf: Define function calling convention compatibly for MSVC. Patch sent to and accepted by Wine.
svn path=/trunk/; revision=43132
2009-09-24 18:01:03 +00:00
Kamil Hornicek 28f4e36884 - handle WGL_SWAP_MAIN_PLANE flag in rosglSwapLayerBuffers
svn path=/trunk/; revision=43131
2009-09-24 16:35:20 +00:00
Johannes Anderwald a05d1166e2 - Implement CPortFilterWaveCyclic::FastDeviceIoControl
svn path=/trunk/; revision=43130
2009-09-24 15:07:29 +00:00
Johannes Anderwald fee01ee6d4 - Rewrite mixer enumeration functions
- WDMAUD should reports a mixer device each time it sees a KSNODETYPE_ADC / KSNODETYPE_DAC

svn path=/trunk/; revision=43129
2009-09-24 14:54:58 +00:00
Hervé Poussineau 5a4647d276 Put bootvid.dll in system32 directory
svn path=/trunk/; revision=43127
2009-09-24 11:58:06 +00:00
Hervé Poussineau 2432b60a2e WINLDR: Don't hardcode filesystem driver name
Instead, use the one of the system partition

svn path=/trunk/; revision=43126
2009-09-24 08:15:13 +00:00
Hervé Poussineau d338a87238 Partly unregress Xbox 1 port. It now fails with INACCESSIBLE_BOOT_DEVICE bugcheck
svn path=/trunk/; revision=43124
2009-09-23 20:59:08 +00:00
Hervé Poussineau 3287d9f0c1 [freeldr] Partition numbers are 1 based
svn path=/trunk/; revision=43123
2009-09-23 19:07:49 +00:00
Dmitry Gorbachev ac46db36ce Update log2lines to version 1.1. Patch by Jan Roeloffzen. Bug #4342.
svn path=/trunk/; revision=43122
2009-09-23 10:33:11 +00:00
Cameron Gutman 992ce2eedd - Comment out RegNotifyChangeKeyValue call until it gets implemented
- WSAStartup succeeds now

svn path=/trunk/; revision=43121
2009-09-23 01:17:14 +00:00
Art Yerkes f0b6797aad Allocate a TLS slot once at process join and treat TlsIndex as an alias to it.
svn path=/trunk/; revision=43120
2009-09-23 00:45:19 +00:00
Aleksey Bragin dacdbb5e50 [win32k]
- Giannis Adamopoulos: Don't do callbacks to usermode when holding the lock. Fixes the famous "VMWare video driver installer 2nd stage hang" bug. Signed off by James Tabor.
See issue #2666 for more details.

svn path=/trunk/; revision=43119
2009-09-22 21:50:33 +00:00
Colin Finck 4842b49169 - Get rid of the KDB_MODULE_INFO and operate with LDR_DATA_TABLE_ENTRYs directly.
This saves us from some copy steps and unneeded search operations.
- Fix loading HAL.DLL symbols.
  This module is not guaranteed to be the second one in PsLoadedModuleList due to the kernel loading bootvid.dll.
- Don't duplicate code in KdbpSymFindModule and KdbpSymFindUserModule. Use a helper function instead and call it twice from KdbpSymFindModule.
- Get rid of KdbpSymFindModuleByAddress, KdbpSymFindModuleByName and KdbpSymFindModuleByIndex. Instead use a single KdbpSymFindModule for all three variants.
- Remove some unused functions and defines.

svn path=/trunk/; revision=43118
2009-09-22 21:31:55 +00:00
Hervé Poussineau 7f582de62c [freeldr] Never ever define a macro as multiple instructions. It may lead to subtle bugs
svn path=/trunk/; revision=43117
2009-09-22 20:33:56 +00:00
Johannes Anderwald 39b702d16e - Fix memory leak
- Fix displaying of random characters if there is no device name

svn path=/trunk/; revision=43116
2009-09-22 20:09:11 +00:00
Hervé Poussineau 4648a3e59d [freeldr] Rework NTFS filesystem to not be tied to boot filesystem
svn path=/trunk/; revision=43115
2009-09-22 19:37:11 +00:00
Hervé Poussineau 9b86293dce [freeldr] Move definition of maximum number of available file descriptors to fs.h
Fix typos

svn path=/trunk/; revision=43114
2009-09-22 19:33:34 +00:00
Hervé Poussineau 16c6a54da7 [freeldr] Accept to read blocks whose size is not a multiple of device sector size
svn path=/trunk/; revision=43113
2009-09-22 19:32:35 +00:00
Johannes Anderwald f03906b449 - Partly implement IBandSite, IMenuBand
svn path=/trunk/; revision=43112
2009-09-22 18:30:39 +00:00
Johannes Anderwald 2be3bf200c - Fix a bug spotted by Timo
svn path=/trunk/; revision=43111
2009-09-22 13:54:33 +00:00
Johannes Anderwald 58184d639d - Stubplement IBandSite interface
svn path=/trunk/; revision=43110
2009-09-22 13:52:54 +00:00
Kamil Hornicek 4dc423f636 - don't return false on success
svn path=/trunk/; revision=43109
2009-09-22 10:29:27 +00:00
Stefan Ginsberg aaff3e2d56 - Use __writeeflags instead of clc to clear the carry flag.
svn path=/trunk/; revision=43108
2009-09-21 22:08:44 +00:00
Johannes Anderwald 9422016556 - Fix up-down control spinning
See issue #3390 for more details.

svn path=/trunk/; revision=43107
2009-09-21 19:31:19 +00:00
Johannes Anderwald c0a4a591d8 - Fix playing global thermo nuclear war in ReactOS
- Found by encoded

svn path=/trunk/; revision=43105
2009-09-21 18:11:52 +00:00
James Tabor 13aafd8c95 - Add the missing Result return pointed out by Michael Martin.
svn path=/trunk/; revision=43104
2009-09-21 17:29:26 +00:00
Stefan Ginsberg 53231784a0 Mega compiler intrinsics patch:
FreeLdr
- Goodbye Ke386EraseFlags & KeAmd64EraseFlags. Welcome __writeeflags.
- Respect MSVC when generating clc (clear carry flag) instruction in PcGetTime.
- Use portable __wbinvd instead of __asm__ in XboxMemInit.
- Replace broken gcc assembly by portable intrinsics in WinLdrpMapApic.
- Use portable Ke386SetSs and Ke386SetGs (new) in WinLdrSetProcessorContext.
- The far jump in WinLdrSetProcessorContext can not be expressed in masm, so we use a (untested) far return instead.

Kernel
- Replace Ke386Set/GetInterruptDescriptorTable, Ke386Save/RestoreFlags, Ke386Set/GetDr, Ki386Cpuid, Ke386Rdmsr and Ke386Wrmsr by MSVC alternatives present in intrin.h.
- Fixed Ke386Get/SetGlobalDescriptorTable, Ke386GetLocalDescriptorTable and Ke386GetTr -- the intrinsics were completely broken for MSVC and generated bogus code. Moreover, Ke386Set/GetInterruptDescriptorTable and Ke386Rdmsr were also affected. This lets us (in addition to having a bootable, working msvc compiled kernel) get rid of several hacky variable zero-initializations that hid this bug -- the way MSVC interpreted the inlined assembly resulted in uninitialized variable usage.
- Implement Ke386SetGs and add missing Ke386SetGs for gcc.
- KdPollBreakIn: Use portable KeDisableInterrupts instead of x86 intrinsics and flags.

svn path=/trunk/; revision=43103
2009-09-21 15:20:18 +00:00