Commit graph

39236 commits

Author SHA1 Message Date
Stefan Ginsberg 87db0af5db Hey Arch, how do you expect kernel32 to build with Microsoft's headers if you define a NTDDI_VERSION that conflicts with _WIN32_WINNT and makes sdkddkver.h cry? Remove the conflicting define from the .rbuild and redefine it in the header before including the NDK (this is needed because we need Vista types from the PSDK but require 2003 types from the NDK -- glorious, eh?).
Prepare sddkver.h for mingw-w64 import:
- Point out the fact that the header is in the public domain.
- Add some missing stuff, including a NTDDI_VERSION sanity check.
- Format fixes, add some comments

svn path=/trunk/; revision=43205
2009-09-28 17:45:23 +00:00
Johannes Anderwald 1130b7dee4 - Implement KSPROPERTY_PIN_NAME properly
- KsPinPropertyHandler does *NOT* set Status in the IRP

svn path=/trunk/; revision=43204
2009-09-28 13:33:17 +00:00
Aleksey Bragin 6c1fab522b [fastfat_new]
- Add an internal routine for opening root DCB (a stub for now).
- Add code for checking if this is a relative or absolute open. Start implementing absolute opening part.

svn path=/trunk/; revision=43203
2009-09-28 11:02:34 +00:00
Aleksey Bragin dfe3bd48b3 [fastfat_new]
- Fix wrong comment in FatiCreate, spotted by Ged Murphy.
- Add some parameters validation to FatiCreate, and a check for volume open request.
- Add node types and a decoding routine.
- Implement VCB locking/unlocking.

svn path=/trunk/; revision=43202
2009-09-28 10:43:27 +00:00
Johannes Anderwald eaf6203af2 - Fix 2 bugs:
- The Category member is LPGUID not GUID
- Check if there is a category member

svn path=/trunk/; revision=43201
2009-09-28 10:38:23 +00:00
Johannes Anderwald 6dbd846a42 - Handle variable sized PCPIN_DESCRIPTORs
svn path=/trunk/; revision=43200
2009-09-28 10:30:34 +00:00
Aleksey Bragin 5fced5449b [fastfat_new]
- Start implementing one of the most massive IFS driver routines - IRP_MJ_CREATE handler. Right now it just does some preliminary work, deciphers all options, prepares all variables, prints out debug stuff.

svn path=/trunk/; revision=43199
2009-09-28 09:49:16 +00:00
Hervé Poussineau e19fb94e99 bootvid.dll is in system32, not system32\drivers
svn path=/trunk/; revision=43198
2009-09-28 09:36:02 +00:00
Hervé Poussineau 04b1587c63 Fix debug message
svn path=/trunk/; revision=43197
2009-09-28 09:30:27 +00:00
Stefan Ginsberg e97d4af887 - Remove superfluous VOID casts from 42314.
svn path=/trunk/; revision=43196
2009-09-27 20:34:40 +00:00
Stefan Ginsberg a857ca2b6a - "Worked for me!"
svn path=/trunk/; revision=43195
2009-09-27 20:28:33 +00:00
Aleksey Bragin 7245b3c04b [fastfat_new]
- Acquire global lock before touching FatGlobalData structure.
- Initialize global VCB list, fixes a crash at volume mounting.
- Loading goes up to volume mounting, an attempt to query information and open a file.

svn path=/trunk/; revision=43194
2009-09-27 20:24:22 +00:00
Stefan Ginsberg ef64669349 - Add more padding so our gcc compatible C_ASSERT doesn't conflict with ntoskrnl.h
svn path=/trunk/; revision=43193
2009-09-27 20:17:52 +00:00
Stefan Ginsberg e7e6699ae1 - Use MAXUINT, MAXULONG, MAXDWORD, MAXULONGLONG and MAXULONGLONG instead of ~0 or casting -1 to unsigned.
- bintype.c: Use INVALID_SET_FILE_POINTER instead of (DWORD)-1.
- irp.c: KsGetNodeIdFromIrp returns KSFILTER_NODE (which is -1).
- basetsd.h: Add missing MAXUINT and MAXULONGLONG.
- typedefs.h: Add MAXULONG for mkhive.
- elf.inc.h and pe.c: Remove incorrect and unneeded MAXULONG define.

svn path=/trunk/; revision=43192
2009-09-27 20:07:43 +00:00
Daniel Reimer d9fe1b8579 Synched the UniATA Inf to the internal support list. Now ROS can detect all supported SATA Controller even after 1st stage and properly shows them in the HW Wizard.
svn path=/trunk/; revision=43191
2009-09-27 14:21:47 +00:00
Sylvain Petreolle 10a06cc8a3 remove BOM
svn path=/trunk/; revision=43190
2009-09-27 13:44:37 +00:00
Daniel Reimer 18cf3ddaa4 Bug 4854: slovak updates by Mario Kacmar
Bug 4864: Bulgarian translation update for ReactOS.by CCTAHEB

svn path=/trunk/; revision=43189
2009-09-27 13:28:08 +00:00
Sylvain Petreolle 039e34f08c Arch, why are you using Unicode BOM ?
svn path=/trunk/; revision=43188
2009-09-27 13:27:36 +00:00
Stefan Ginsberg 0e4aca0ab4 - Remove deprecated GCC 4.4 hack
svn path=/trunk/; revision=43187
2009-09-27 13:20:44 +00:00
Kamil Hornicek dc0fc114d6 - remove wgl* stubs added in r512, they don't belong here
svn path=/trunk/; revision=43186
2009-09-27 12:41:16 +00:00
Daniel Reimer c4214a9722 Sync WinFile to Wine 1.1.30
svn path=/trunk/; revision=43185
2009-09-27 12:09:24 +00:00
Daniel Reimer ae1fbc5ade Sync xcopy, winhlp32 and wordpad to Wine 1.1.30
svn path=/trunk/; revision=43184
2009-09-27 12:09:18 +00:00
Dmitry Gorbachev 4e0e2244b3 Fix undefined behavior, already fixed in Wine.
svn path=/trunk/; revision=43183
2009-09-27 11:56:35 +00:00
Dmitry Gorbachev 49cd47f946 Kill goto, avoid compiler warnings.
svn path=/trunk/; revision=43182
2009-09-27 11:56:16 +00:00
Dmitry Gorbachev d9a760415b Give a name to a structure.
svn path=/trunk/; revision=43181
2009-09-27 11:55:47 +00:00
Stefan Ginsberg 8fa95b6a9c - 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
2009-09-27 10:09:38 +00:00
Aleksey Bragin 733f6cb89b [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
2009-09-27 10:04:21 +00:00
Johannes Anderwald 1c464b19ec - Add a few nodetypes
svn path=/trunk/; revision=43178
2009-09-27 09:56:14 +00:00
Aleksey Bragin 36bc68e508 - Add more supported ICH/PCH ids, confirmed by bearwindows.
svn path=/trunk/; revision=43177
2009-09-27 09:26:59 +00:00
James Tabor 91faf8f601 - [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
2009-09-27 03:12:02 +00:00
Johannes Anderwald efc1228ec6 - Rewrite registering physical connection handling to support KSPROPERTY_PIN_PHYSICALCONNECTION
svn path=/trunk/; revision=43175
2009-09-27 00:50:06 +00:00
Timo Kreuzer 307f8beca8 Add rbuild files for x64 build. Dedicated to encoded.
svn path=/trunk/; revision=43174
2009-09-26 21:52:00 +00:00
Timo Kreuzer f57f4193e5 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
2009-09-26 21:32:53 +00:00
Johannes Anderwald 40e44f56e1 - Add macros
svn path=/trunk/; revision=43172
2009-09-26 20:19:28 +00:00
Gregor Schneider b96785f363 Don't add quick launch icon copies after showing a context menu
See issue #2453 for more details.

svn path=/trunk/; revision=43170
2009-09-26 19:24:39 +00:00
Dmitry Gorbachev ad3b46fccd - 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
2009-09-26 17:37:25 +00:00
Stefan Ginsberg 4c53cb03cc 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
2009-09-26 15:42:34 +00:00
Stefan Ginsberg 7e11f6d4bc - 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
2009-09-26 13:41:57 +00:00
Kamil Hornicek 53240a7115 - sync d3d8, d3d9, ddraw, wined3d with Wine 1.1.30
svn path=/trunk/; revision=43166
2009-09-26 11:13:40 +00:00
Dmitry Chapyshev 0e0e175f8d - Sync winhlp32 with Wine 1.1.30
svn path=/trunk/; revision=43165
2009-09-26 10:49:56 +00:00
Dmitry Chapyshev 2545051fec - Fix building of tests
svn path=/trunk/; revision=43164
2009-09-26 10:49:05 +00:00
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