Commit graph

39028 commits

Author SHA1 Message Date
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
Michael Martin
302ad7c74f LogfWriteData: Add missing LeaveCriticalSection before returning from function. Found by Amine Khaldi
svn path=/trunk/; revision=43102
2009-09-21 12:49:25 +00:00
James Tabor
1ebd555855 - Working with Michael Martin to fix the LoadMenu callback bug. MenuName is a variable string buffer and not a pointer. The minimum size is always four bytes. Initialization of the structure, zero out the memory, allowing Intersource check to function as it should. To make it Intersource, use the first word character in the buffer.
svn path=/trunk/; revision=43101
2009-09-21 01:22:32 +00:00
Cameron Gutman
bd6fba2037 - Stub and export GetAddrInfoW
svn path=/trunk/; revision=43100
2009-09-20 22:20:16 +00:00
Cameron Gutman
4d2e0e023f - Simplify and fix a few bugs in datagram reassembly
- Implement reassembly timeout

svn path=/trunk/; revision=43099
2009-09-20 21:07:45 +00:00
Dmitry Gorbachev
5ec7ec1632 Update / add Japanese translations. Tomoya Kitagawa, bug #4852.
svn path=/trunk/; revision=43098
2009-09-20 19:35:23 +00:00
Johannes Anderwald
a1aecae7e1 - Fix a crash when an application hasnt defined a event label
svn path=/trunk/; revision=43097
2009-09-20 17:44:52 +00:00
Johannes Anderwald
8694a0d2e3 - Rewrite sound scheme handling
- Implement changing sound scheme & sound action

svn path=/trunk/; revision=43096
2009-09-20 15:47:32 +00:00
Cameron Gutman
4834de3328 - Partial rewrite of dispatch()
- Header cleanup
 - Fix several bugs related to null pointer access and out-of-bounds array access
 - Found by Amine Khaldi
 - This should fix the issue with dhcp crashing and hogging tons of cpu time

svn path=/trunk/; revision=43095
2009-09-20 15:00:08 +00:00
Johannes Anderwald
ba7067eafa - Fix several bugs in printer ' IShellFolder implementation
- Partly implement IShellFolder::GetAttributesOf
- Implement IShellFolder::GetDisplayNameOf for root pidl
- Implement ISF_ControlPanel_fnParseDisplayName to parse display names
<spoiler>Gets rid of the annoying message box when clicking on the printer folder in the start menu</spoiler>

svn path=/trunk/; revision=43094
2009-09-20 04:21:29 +00:00
Cameron Gutman
3aee3165e0 - Remove a DbgPrint that was forgotten
svn path=/trunk/; revision=43093
2009-09-20 01:58:06 +00:00
Cameron Gutman
c1769578ac - Fix GetIpNetTable
- Arp -a will now show a complete list of ARP information

svn path=/trunk/; revision=43092
2009-09-20 01:37:40 +00:00
James Tabor
bc07b8444d - Update Edit wine tests.
svn path=/trunk/; revision=43090
2009-09-19 23:37:32 +00:00
James Tabor
ea148f5053 - Wine sync up to 1.1.29 Edit controls.
svn path=/trunk/; revision=43089
2009-09-19 23:31:17 +00:00
James Tabor
bbbab20bda - Header cleanup +1.
svn path=/trunk/; revision=43088
2009-09-19 22:21:12 +00:00
James Tabor
9df47abb4d - Header cleanup.
svn path=/trunk/; revision=43087
2009-09-19 22:20:43 +00:00
James Tabor
3cb48f661e - Two bugs found by Michael Martin.
svn path=/trunk/; revision=43086
2009-09-19 22:17:25 +00:00
Timo Kreuzer
4dfeddc69f Merge from amd64 branch:
35746 sserapion Convert crtdll to WINE's spec file.
35789 sserapion re-add missing api, remove unneded file
36614 sserapion convert d3d8 to spec
36930 sserapion Fix more rbuild files and fix up gdi32 and glu32 spec files.
38148 tkreuzer convert d3d8thk to spec
38151 tkreuzer convert ddraw to spec
38265 sserapion devcpux:- Fix ProcessorDlgProc definition - Convert to spec.
      slayer:- Convert to spec.
38268 sserapion devcpux:- Fix ProcessorDlgProc definition
39333 tkreuzer hid: convert to spec (taken from wine)
39345 tkreuzer ksuser: convert to spec, don't allow warnings
40991 tkreuzer msafd: convert to spec / fix 64bit build
41000 tkreuzer mswsock: convert to spec, taken from wine
41050 tkreuzer sndblast: convert to spec
43080 tkreuzer winsta: convert to spec and fix duplicate definition
41082 tkreuzer twaain_32: convert to spec
41083 tkreuzer uext: convert to spec
41084 tkreuzer ufat: convert to spec
41085 tkreuzer ufatx: convert to spec
41086 tkreuzer untfs: convert to spec
41549 tkreuzer winfax: covert to spec

svn path=/trunk/; revision=43085
2009-09-19 22:16:27 +00:00