reactos.git
11 years ago- Remove deprecated GCC 4.4 hack
Stefan Ginsberg [Sun, 27 Sep 2009 13:20:44 +0000 (13:20 +0000)]
- Remove deprecated GCC 4.4 hack

svn path=/trunk/; revision=43187

11 years ago- remove wgl* stubs added in r512, they don't belong here
Kamil Hornicek [Sun, 27 Sep 2009 12:41:16 +0000 (12:41 +0000)]
- remove wgl* stubs added in r512, they don't belong here

svn path=/trunk/; revision=43186

11 years agoSync WinFile to Wine 1.1.30
Daniel Reimer [Sun, 27 Sep 2009 12:09:24 +0000 (12:09 +0000)]
Sync WinFile to Wine 1.1.30

svn path=/trunk/; revision=43185

11 years agoSync xcopy, winhlp32 and wordpad to Wine 1.1.30
Daniel Reimer [Sun, 27 Sep 2009 12:09:18 +0000 (12:09 +0000)]
Sync xcopy, winhlp32 and wordpad to Wine 1.1.30

svn path=/trunk/; revision=43184

11 years agoFix undefined behavior, already fixed in Wine.
Dmitry Gorbachev [Sun, 27 Sep 2009 11:56:35 +0000 (11:56 +0000)]
Fix undefined behavior, already fixed in Wine.

svn path=/trunk/; revision=43183

11 years agoKill goto, avoid compiler warnings.
Dmitry Gorbachev [Sun, 27 Sep 2009 11:56:16 +0000 (11:56 +0000)]
Kill goto, avoid compiler warnings.

svn path=/trunk/; revision=43182

11 years agoGive a name to a structure.
Dmitry Gorbachev [Sun, 27 Sep 2009 11:55:47 +0000 (11:55 +0000)]
Give a name to a structure.

svn path=/trunk/; revision=43181

11 years ago- Change CPUID to match the old Ki386Cpuid and take 4 output arguments instead of...
Stefan Ginsberg [Sun, 27 Sep 2009 10:09:38 +0000 (10:09 +0000)]
- Change CPUID to match the old Ki386Cpuid and take 4 output arguments instead of an array. This way we save some stack when using a dummy cpuid for synchronization and can query only the registers we want in the case we don't want all 4.
- Simplify Ke386GetTr and Ke386GetLocalDescriptorTable to return by value instead of reference.
- Make RDMSR smaller by making it fastcall as rdmsr takes its argument in ecx.
- Fix KiGetCacheInformation -- it only handled the Intel and AMD case.
- Replace Ke386HaltProcessor with __halt.
- KiHaltProcessorDpcRoutine: Always halt the processor for the architectures we support for consistency.
- Clean up x86 and PPC headers from deprecated stuff.
- Fix broken LOCK undefine in v86m_sup.S -- LOCK is used both in a macro and the code, so only undefine it where required and redefine it after it is used (this worked because LOCK was interpreted as lock).

Get rid of KeArch*:
- Rename KeArchInitThreadWithContext to KiInitializeContextThread and use the same name for all architectures.
- Kill KeArchHaltProcessor. Use __halt and KeArmHaltProcessor directly instead.
- Use Ke386FnInit instead of KeArchFnInit -- it is only used for x86.

svn path=/trunk/; revision=43180

11 years ago[uniata]
Aleksey Bragin [Sun, 27 Sep 2009 10:04:21 +0000 (10:04 +0000)]
[uniata]
- Revert most of the 41684: "-fix support for ICH7,ICH7M,ICH8,ICH8M,ICH9,ICH9R,ICH9M and ICH10 in compat mode". Those controllers should be supported now, and when set to compat mode the driver falls back to UDMA automatically.
- ICH7 real hw testing is required. ICH9 doesn't work in Enhanced mode, works in Compat mode.

svn path=/trunk/; revision=43179

11 years ago- Add a few nodetypes
Johannes Anderwald [Sun, 27 Sep 2009 09:56:14 +0000 (09:56 +0000)]
- Add a few nodetypes

svn path=/trunk/; revision=43178

11 years ago- Add more supported ICH/PCH ids, confirmed by bearwindows.
Aleksey Bragin [Sun, 27 Sep 2009 09:26:59 +0000 (09:26 +0000)]
- Add more supported ICH/PCH ids, confirmed by bearwindows.

svn path=/trunk/; revision=43177

11 years ago- [NtDDraw]
James Tabor [Sun, 27 Sep 2009 03:12:02 +0000 (03:12 +0000)]
- [NtDDraw]
- Export global DD context size. Create a container for both PDev and EDDG structures. When allocating PDev and add the DD context size if not zero.

svn path=/trunk/; revision=43176

11 years ago- Rewrite registering physical connection handling to support KSPROPERTY_PIN_PHYSICAL...
Johannes Anderwald [Sun, 27 Sep 2009 00:50:06 +0000 (00:50 +0000)]
- Rewrite registering physical connection handling to support KSPROPERTY_PIN_PHYSICALCONNECTION

svn path=/trunk/; revision=43175

11 years agoAdd rbuild files for x64 build. Dedicated to encoded.
Timo Kreuzer [Sat, 26 Sep 2009 21:52:00 +0000 (21:52 +0000)]
Add rbuild files for x64 build. Dedicated to encoded.

svn path=/trunk/; revision=43174

11 years agoMerge HAL changes 34743, 34812, 34839, 34917, 35515, 35771, 35902, 35904,
Timo Kreuzer [Sat, 26 Sep 2009 21:32:53 +0000 (21:32 +0000)]
Merge HAL changes 34743, 34812, 34839, 34917, 35515, 35771, 35902, 35904,
35905, 35906, 35942, 35947, 35948, 35949, 35953, 36013, 36388, 36389, 36570, 37873, 37991, 39151 from amd64 branch

svn path=/trunk/; revision=43173

11 years ago- Add macros
Johannes Anderwald [Sat, 26 Sep 2009 20:19:28 +0000 (20:19 +0000)]
- Add macros

svn path=/trunk/; revision=43172

11 years agoDon't add quick launch icon copies after showing a context menu
Gregor Schneider [Sat, 26 Sep 2009 19:24:39 +0000 (19:24 +0000)]
Don't add quick launch icon copies after showing a context menu
See issue #2453 for more details.

svn path=/trunk/; revision=43170

11 years ago- Import Breton, Romansh, and Welsh NLS files from Wine.
Dmitry Gorbachev [Sat, 26 Sep 2009 17:37:25 +0000 (17:37 +0000)]
- Import Breton, Romansh, and Welsh NLS files from Wine.
- Sync locale RC files.
- Move language-specific stuff to more visible to translators place. ;)

svn path=/trunk/; revision=43169

11 years agoFix one of the most awesome "_MSC_VER means compiling with Microsoft's header set...
Stefan Ginsberg [Sat, 26 Sep 2009 15:42:34 +0000 (15:42 +0000)]
Fix one of the most awesome "_MSC_VER means compiling with Microsoft's header set" assumptions, revision 30728. Instead of breaking linking for user mode CRT to hide header incompatibilities we now use a less exciting solution; do not include the incompatible headers when implementing the affected functions -- abs.c and labs.c don't need anything at all, and strset.c only needs size_t, so define it there.

svn path=/trunk/; revision=43168

11 years ago- HAL: Make /W3 friendly
Stefan Ginsberg [Sat, 26 Sep 2009 13:41:57 +0000 (13:41 +0000)]
- HAL: Make /W3 friendly
- Everywhere else: Use casts instead of -1U to fix C4146 (this is compatible with both compilers)

svn path=/trunk/; revision=43167

11 years ago- sync d3d8, d3d9, ddraw, wined3d with Wine 1.1.30
Kamil Hornicek [Sat, 26 Sep 2009 11:13:40 +0000 (11:13 +0000)]
- sync d3d8, d3d9, ddraw, wined3d with Wine 1.1.30

svn path=/trunk/; revision=43166

11 years ago- Sync winhlp32 with Wine 1.1.30
Dmitry Chapyshev [Sat, 26 Sep 2009 10:49:56 +0000 (10:49 +0000)]
- Sync winhlp32 with Wine 1.1.30

svn path=/trunk/; revision=43165

11 years ago- Fix building of tests
Dmitry Chapyshev [Sat, 26 Sep 2009 10:49:05 +0000 (10:49 +0000)]
- Fix building of tests

svn path=/trunk/; revision=43164

11 years ago- Sync shlwapi, msxml3 and windowscodecs with Wine 1.1.30
Dmitry Chapyshev [Sat, 26 Sep 2009 10:48:07 +0000 (10:48 +0000)]
- Sync shlwapi, msxml3 and windowscodecs with Wine 1.1.30

svn path=/trunk/; revision=43163

11 years ago- Sync crypt32 with Wine 1.1.30
Dmitry Chapyshev [Sat, 26 Sep 2009 10:46:37 +0000 (10:46 +0000)]
- Sync crypt32 with Wine 1.1.30

svn path=/trunk/; revision=43162

11 years ago- Sync comctl32/comdlg32 with Wine 1.1.30
Dmitry Chapyshev [Sat, 26 Sep 2009 10:45:59 +0000 (10:45 +0000)]
- Sync comctl32/comdlg32 with Wine 1.1.30

svn path=/trunk/; revision=43161

11 years ago- Sync headers with Wine 1.1.30
Dmitry Chapyshev [Sat, 26 Sep 2009 10:45:05 +0000 (10:45 +0000)]
- Sync headers with Wine 1.1.30

svn path=/trunk/; revision=43160

11 years ago - Don't modify the size for now until I figure out where the incorrect code is
Cameron Gutman [Sat, 26 Sep 2009 06:50:06 +0000 (06:50 +0000)]
 - Don't modify the size for now until I figure out where the incorrect code is

svn path=/trunk/; revision=43159

11 years ago- Ilya Shpigor: User32: Skip STM_SETIMAGE message if the static control style does...
James Tabor [Sat, 26 Sep 2009 05:36:10 +0000 (05:36 +0000)]
- Ilya Shpigor: User32: Skip STM_SETIMAGE message if the static control style does not match.
- Enable EnhMeta functions.

svn path=/trunk/; revision=43158

11 years ago- Alexandre Julliard : kernel32: Cope with an empty resource section in UpdateResource.
James Tabor [Sat, 26 Sep 2009 05:25:52 +0000 (05:25 +0000)]
- 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

11 years ago - Add debug prints in failure cases
Cameron Gutman [Sat, 26 Sep 2009 01:05:45 +0000 (01:05 +0000)]
 - Add debug prints in failure cases
 - Replace 0 with NO_ERROR

svn path=/trunk/; revision=43156

11 years ago- Enable building a bootcd
Johannes Anderwald [Sat, 26 Sep 2009 00:57:22 +0000 (00:57 +0000)]
- Enable building a bootcd

svn path=/trunk/; revision=43155

11 years ago - We want socket closure notification so we don't leak our socket context when the...
Cameron Gutman [Fri, 25 Sep 2009 23:44:51 +0000 (23:44 +0000)]
 - 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

11 years ago - Fix implementation of WSHGetWildcardSockaddr
Cameron Gutman [Fri, 25 Sep 2009 23:27:44 +0000 (23:27 +0000)]
 - Fix implementation of WSHGetWildcardSockaddr
 - Implement WSHGetBroadcastSockaddr

svn path=/trunk/; revision=43153

11 years ago - Fix parameter checking in WSHGetSockaddrType
Cameron Gutman [Fri, 25 Sep 2009 21:46:18 +0000 (21:46 +0000)]
 - Fix parameter checking in WSHGetSockaddrType
 - Implement WSHGetWinsockMapping

svn path=/trunk/; revision=43152

11 years ago[WDMAUD.DRV]
Johannes Anderwald [Fri, 25 Sep 2009 18:06:13 +0000 (18:06 +0000)]
[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

11 years ago[KS]
Johannes Anderwald [Fri, 25 Sep 2009 17:26:33 +0000 (17:26 +0000)]
[KS]
- Silent debug traces
- Try fix 'Assertion 'WorkItem->List.Flink == NULL' failed at ntoskrnl\ex\work.c'

svn path=/trunk/; revision=43146

11 years agoRevert r43141 to try to fix ReactOS boot style...
Hervé Poussineau [Fri, 25 Sep 2009 15:10:28 +0000 (15:10 +0000)]
Revert r43141 to try to fix ReactOS boot style...

svn path=/trunk/; revision=43145

11 years ago - Fix a bug which causes port 0 to be classified as reserved instead of wildcard
Cameron Gutman [Fri, 25 Sep 2009 13:39:36 +0000 (13:39 +0000)]
 - Fix a bug which causes port 0 to be classified as reserved instead of wildcard

svn path=/trunk/; revision=43144

11 years ago[winldr]
Aleksey Bragin [Fri, 25 Sep 2009 13:03:42 +0000 (13:03 +0000)]
[winldr]
- Fix release build.

svn path=/trunk/; revision=43143

11 years ago[winldr]
Aleksey Bragin [Fri, 25 Sep 2009 09:28:37 +0000 (09:28 +0000)]
[winldr]
- Load and use debug boot options if built with DBG (mimics old reactos setupldr behaviour).

svn path=/trunk/; revision=43142

11 years agoRemove now unneeded ARC cdrom hack. We're now able to boot from a LiveCD, even if...
Hervé Poussineau [Thu, 24 Sep 2009 22:05:10 +0000 (22:05 +0000)]
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

11 years ago[freeldr] Put cdrom information in block list information
Hervé Poussineau [Thu, 24 Sep 2009 21:29:31 +0000 (21:29 +0000)]
[freeldr] Put cdrom information in block list information

svn path=/trunk/; revision=43140

11 years ago- Fix derefercing of null pointer
Johannes Anderwald [Thu, 24 Sep 2009 20:32:31 +0000 (20:32 +0000)]
- Fix derefercing of null pointer
- Brought to you by Amine Khaldi (amine48rz)

svn path=/trunk/; revision=43139

11 years ago[WDMAUD.DRV]
Johannes Anderwald [Thu, 24 Sep 2009 19:24:22 +0000 (19:24 +0000)]
[WDMAUD.DRV]
- Implement copying mixer capabilities
[WDMAUD_KERNEL]
- Partly implement retrieving mixer capabilties
- Implement retrieving mixer name

svn path=/trunk/; revision=43138

11 years ago[WDMAUD.DRV]
Johannes Anderwald [Thu, 24 Sep 2009 18:11:22 +0000 (18:11 +0000)]
[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

11 years ago- msctf: Define function calling convention compatibly for MSVC. Patch sent to and...
Stefan Ginsberg [Thu, 24 Sep 2009 18:01:03 +0000 (18:01 +0000)]
- msctf: Define function calling convention compatibly for MSVC. Patch sent to and accepted by Wine.

svn path=/trunk/; revision=43132

11 years ago- handle WGL_SWAP_MAIN_PLANE flag in rosglSwapLayerBuffers
Kamil Hornicek [Thu, 24 Sep 2009 16:35:20 +0000 (16:35 +0000)]
- handle WGL_SWAP_MAIN_PLANE flag in rosglSwapLayerBuffers

svn path=/trunk/; revision=43131

11 years ago- Implement CPortFilterWaveCyclic::FastDeviceIoControl
Johannes Anderwald [Thu, 24 Sep 2009 15:07:29 +0000 (15:07 +0000)]
- Implement CPortFilterWaveCyclic::FastDeviceIoControl

svn path=/trunk/; revision=43130

11 years ago- Rewrite mixer enumeration functions
Johannes Anderwald [Thu, 24 Sep 2009 14:54:58 +0000 (14:54 +0000)]
- Rewrite mixer enumeration functions
- WDMAUD should reports a mixer device each time it sees a KSNODETYPE_ADC / KSNODETYPE_DAC

svn path=/trunk/; revision=43129

11 years agoPut bootvid.dll in system32 directory
Hervé Poussineau [Thu, 24 Sep 2009 11:58:06 +0000 (11:58 +0000)]
Put bootvid.dll in system32 directory

svn path=/trunk/; revision=43127

11 years agoWINLDR: Don't hardcode filesystem driver name
Hervé Poussineau [Thu, 24 Sep 2009 08:15:13 +0000 (08:15 +0000)]
WINLDR: Don't hardcode filesystem driver name
Instead, use the one of the system partition

svn path=/trunk/; revision=43126

11 years agoPartly unregress Xbox 1 port. It now fails with INACCESSIBLE_BOOT_DEVICE bugcheck
Hervé Poussineau [Wed, 23 Sep 2009 20:59:08 +0000 (20:59 +0000)]
Partly unregress Xbox 1 port. It now fails with INACCESSIBLE_BOOT_DEVICE bugcheck

svn path=/trunk/; revision=43124

11 years ago[freeldr] Partition numbers are 1 based
Hervé Poussineau [Wed, 23 Sep 2009 19:07:49 +0000 (19:07 +0000)]
[freeldr] Partition numbers are 1 based

svn path=/trunk/; revision=43123

11 years agoUpdate log2lines to version 1.1. Patch by Jan Roeloffzen. Bug #4342.
Dmitry Gorbachev [Wed, 23 Sep 2009 10:33:11 +0000 (10:33 +0000)]
Update log2lines to version 1.1. Patch by Jan Roeloffzen. Bug #4342.

svn path=/trunk/; revision=43122

11 years ago - Comment out RegNotifyChangeKeyValue call until it gets implemented
Cameron Gutman [Wed, 23 Sep 2009 01:17:14 +0000 (01:17 +0000)]
 - Comment out RegNotifyChangeKeyValue call until it gets implemented
 - WSAStartup succeeds now

svn path=/trunk/; revision=43121

11 years agoAllocate a TLS slot once at process join and treat TlsIndex as an alias to it.
Art Yerkes [Wed, 23 Sep 2009 00:45:19 +0000 (00:45 +0000)]
Allocate a TLS slot once at process join and treat TlsIndex as an alias to it.

svn path=/trunk/; revision=43120

11 years ago[win32k]
Aleksey Bragin [Tue, 22 Sep 2009 21:50:33 +0000 (21:50 +0000)]
[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

11 years ago- Get rid of the KDB_MODULE_INFO and operate with LDR_DATA_TABLE_ENTRYs directly.
Colin Finck [Tue, 22 Sep 2009 21:31:55 +0000 (21:31 +0000)]
- 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

11 years ago[freeldr] Never ever define a macro as multiple instructions. It may lead to subtle...
Hervé Poussineau [Tue, 22 Sep 2009 20:33:56 +0000 (20:33 +0000)]
[freeldr] Never ever define a macro as multiple instructions. It may lead to subtle bugs

svn path=/trunk/; revision=43117

11 years ago- Fix memory leak
Johannes Anderwald [Tue, 22 Sep 2009 20:09:11 +0000 (20:09 +0000)]
- Fix memory leak
- Fix displaying of random characters if there is no device name

svn path=/trunk/; revision=43116

11 years ago[freeldr] Rework NTFS filesystem to not be tied to boot filesystem
Hervé Poussineau [Tue, 22 Sep 2009 19:37:11 +0000 (19:37 +0000)]
[freeldr] Rework NTFS filesystem to not be tied to boot filesystem

svn path=/trunk/; revision=43115

11 years ago[freeldr] Move definition of maximum number of available file descriptors to fs.h
Hervé Poussineau [Tue, 22 Sep 2009 19:33:34 +0000 (19:33 +0000)]
[freeldr] Move definition of maximum number of available file descriptors to fs.h
Fix typos

svn path=/trunk/; revision=43114

11 years ago[freeldr] Accept to read blocks whose size is not a multiple of device sector size
Hervé Poussineau [Tue, 22 Sep 2009 19:32:35 +0000 (19:32 +0000)]
[freeldr] Accept to read blocks whose size is not a multiple of device sector size

svn path=/trunk/; revision=43113

11 years ago- Partly implement IBandSite, IMenuBand
Johannes Anderwald [Tue, 22 Sep 2009 18:30:39 +0000 (18:30 +0000)]
- Partly implement IBandSite, IMenuBand

svn path=/trunk/; revision=43112

11 years ago- Fix a bug spotted by Timo
Johannes Anderwald [Tue, 22 Sep 2009 13:54:33 +0000 (13:54 +0000)]
- Fix a bug spotted by Timo

svn path=/trunk/; revision=43111

11 years ago- Stubplement IBandSite interface
Johannes Anderwald [Tue, 22 Sep 2009 13:52:54 +0000 (13:52 +0000)]
- Stubplement IBandSite interface

svn path=/trunk/; revision=43110

11 years ago- don't return false on success
Kamil Hornicek [Tue, 22 Sep 2009 10:29:27 +0000 (10:29 +0000)]
- don't return false on success

svn path=/trunk/; revision=43109

11 years ago- Use __writeeflags instead of clc to clear the carry flag.
Stefan Ginsberg [Mon, 21 Sep 2009 22:08:44 +0000 (22:08 +0000)]
- Use __writeeflags instead of clc to clear the carry flag.

svn path=/trunk/; revision=43108

11 years ago- Fix up-down control spinning
Johannes Anderwald [Mon, 21 Sep 2009 19:31:19 +0000 (19:31 +0000)]
- Fix up-down control spinning

See issue #3390 for more details.

svn path=/trunk/; revision=43107

11 years ago- Fix playing global thermo nuclear war in ReactOS
Johannes Anderwald [Mon, 21 Sep 2009 18:11:52 +0000 (18:11 +0000)]
- Fix playing global thermo nuclear war in ReactOS
- Found by encoded

svn path=/trunk/; revision=43105

11 years ago- Add the missing Result return pointed out by Michael Martin.
James Tabor [Mon, 21 Sep 2009 17:29:26 +0000 (17:29 +0000)]
- Add the missing Result return pointed out by Michael Martin.

svn path=/trunk/; revision=43104

11 years agoMega compiler intrinsics patch:
Stefan Ginsberg [Mon, 21 Sep 2009 15:20:18 +0000 (15:20 +0000)]
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

11 years agoLogfWriteData: Add missing LeaveCriticalSection before returning from function. Found...
Michael Martin [Mon, 21 Sep 2009 12:49:25 +0000 (12:49 +0000)]
LogfWriteData: Add missing LeaveCriticalSection before returning from function. Found by Amine Khaldi

svn path=/trunk/; revision=43102

11 years ago- Working with Michael Martin to fix the LoadMenu callback bug. MenuName is a variabl...
James Tabor [Mon, 21 Sep 2009 01:22:32 +0000 (01:22 +0000)]
- 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

11 years ago - Stub and export GetAddrInfoW
Cameron Gutman [Sun, 20 Sep 2009 22:20:16 +0000 (22:20 +0000)]
 - Stub and export GetAddrInfoW

svn path=/trunk/; revision=43100

11 years ago - Simplify and fix a few bugs in datagram reassembly
Cameron Gutman [Sun, 20 Sep 2009 21:07:45 +0000 (21:07 +0000)]
 - Simplify and fix a few bugs in datagram reassembly
 - Implement reassembly timeout

svn path=/trunk/; revision=43099

11 years agoUpdate / add Japanese translations. Tomoya Kitagawa, bug #4852.
Dmitry Gorbachev [Sun, 20 Sep 2009 19:35:23 +0000 (19:35 +0000)]
Update / add Japanese translations. Tomoya Kitagawa, bug #4852.

svn path=/trunk/; revision=43098

11 years ago- Fix a crash when an application hasnt defined a event label
Johannes Anderwald [Sun, 20 Sep 2009 17:44:52 +0000 (17:44 +0000)]
- Fix a crash when an application hasnt defined a event label

svn path=/trunk/; revision=43097

11 years ago- Rewrite sound scheme handling
Johannes Anderwald [Sun, 20 Sep 2009 15:47:32 +0000 (15:47 +0000)]
- Rewrite sound scheme handling
- Implement changing sound scheme & sound action

svn path=/trunk/; revision=43096

11 years ago - Partial rewrite of dispatch()
Cameron Gutman [Sun, 20 Sep 2009 15:00:08 +0000 (15:00 +0000)]
 - 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

11 years ago- Fix several bugs in printer ' IShellFolder implementation
Johannes Anderwald [Sun, 20 Sep 2009 04:21:29 +0000 (04:21 +0000)]
- 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

11 years ago - Remove a DbgPrint that was forgotten
Cameron Gutman [Sun, 20 Sep 2009 01:58:06 +0000 (01:58 +0000)]
 - Remove a DbgPrint that was forgotten

svn path=/trunk/; revision=43093

11 years ago - Fix GetIpNetTable
Cameron Gutman [Sun, 20 Sep 2009 01:37:40 +0000 (01:37 +0000)]
 - Fix GetIpNetTable
 - Arp -a will now show a complete list of ARP information

svn path=/trunk/; revision=43092

11 years ago- Update Edit wine tests.
James Tabor [Sat, 19 Sep 2009 23:37:32 +0000 (23:37 +0000)]
- Update Edit wine tests.

svn path=/trunk/; revision=43090

11 years ago- Wine sync up to 1.1.29 Edit controls.
James Tabor [Sat, 19 Sep 2009 23:31:17 +0000 (23:31 +0000)]
- Wine sync up to 1.1.29 Edit controls.

svn path=/trunk/; revision=43089

11 years ago- Header cleanup +1.
James Tabor [Sat, 19 Sep 2009 22:21:12 +0000 (22:21 +0000)]
- Header cleanup +1.

svn path=/trunk/; revision=43088

11 years ago- Header cleanup.
James Tabor [Sat, 19 Sep 2009 22:20:43 +0000 (22:20 +0000)]
- Header cleanup.

svn path=/trunk/; revision=43087

11 years ago- Two bugs found by Michael Martin.
James Tabor [Sat, 19 Sep 2009 22:17:25 +0000 (22:17 +0000)]
- Two bugs found by Michael Martin.

svn path=/trunk/; revision=43086

11 years agoMerge from amd64 branch:
Timo Kreuzer [Sat, 19 Sep 2009 22:16:27 +0000 (22:16 +0000)]
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

11 years agomerge from amd-64 branch:
Timo Kreuzer [Sat, 19 Sep 2009 16:13:34 +0000 (16:13 +0000)]
merge from amd-64 branch:
r40992: msconfig: don't use inline functions as case labels [[Timo Kreuzer]]

svn path=/trunk/; revision=43082

11 years ago- Implement "Settings" dialog.
Dmitry Chapyshev [Sat, 19 Sep 2009 16:04:38 +0000 (16:04 +0000)]
- Implement "Settings" dialog.
- Implement save of position of a window
- Implement installation/deinstallation logs
- Implement auto updating programs list at start
- Remove unused code from loaddlg.c
- Some small changes bug fixes

svn path=/trunk/; revision=43081

11 years agoconvert to spec and fix duplicate definition
Timo Kreuzer [Sat, 19 Sep 2009 14:06:47 +0000 (14:06 +0000)]
convert to spec and fix duplicate definition

svn path=/branches/ros-amd64-bringup/; revision=43080

11 years agoSync with trunk r43000
Timo Kreuzer [Sat, 19 Sep 2009 13:58:16 +0000 (13:58 +0000)]
Sync with trunk r43000

svn path=/branches/ros-amd64-bringup/; revision=43079

11 years ago - Fix a small bug in the route selection code
Cameron Gutman [Sat, 19 Sep 2009 03:22:26 +0000 (03:22 +0000)]
 - Fix a small bug in the route selection code

svn path=/trunk/; revision=43078

11 years ago - Changed some behavior from the last neighbor cache rewrite
Cameron Gutman [Sat, 19 Sep 2009 01:39:16 +0000 (01:39 +0000)]
 - Changed some behavior from the last neighbor cache rewrite
 - NCEs are no longer destroyed when they become stale so the hardware address can be saved for direct communication
 - The route selection code has been changed to choose against stale NCEs if possible

svn path=/trunk/; revision=43077

11 years ago - Partial rewrite of CHEW
Cameron Gutman [Sat, 19 Sep 2009 00:58:36 +0000 (00:58 +0000)]
 - Partial rewrite of CHEW
 - Remove some unneeded work item usage
 - Remove an unused member of DISCONNECT_TYPE

svn path=/trunk/; revision=43076

11 years ago- Fix a couple of bugs in the uniata ATA code spotted by bearwindows. ICH8/ICH9/ICH10...
Aleksey Bragin [Fri, 18 Sep 2009 22:25:34 +0000 (22:25 +0000)]
- Fix a couple of bugs in the uniata ATA code spotted by bearwindows. ICH8/ICH9/ICH10 should be supported now.

svn path=/trunk/; revision=43075

11 years ago- Use msvc intrinsics in HAL instead of Ke386*
Stefan Ginsberg [Fri, 18 Sep 2009 20:56:49 +0000 (20:56 +0000)]
- Use msvc intrinsics in HAL instead of Ke386*

svn path=/trunk/; revision=43074

11 years ago- _mingw.h: Don't define __attribute__ to nothing -- this is only good for creating...
Stefan Ginsberg [Fri, 18 Sep 2009 15:22:28 +0000 (15:22 +0000)]
- _mingw.h: Don't define __attribute__ to nothing -- this is only good for creating bugs.
- sect_attribs.h: Define _CRTALLOC for msvc. Enable #pragma section and add missing .tls and .tls$ZZZ.
- mingw runtime: Only use __attribute__((weak)) for gcc.
- freeldr: Use #pragma pack instead of __attribute__((packed)).
- kernel32: Only alias __cxa_pure_virtual to _purecall for gcc.

svn path=/trunk/; revision=43073