Stefan Ginsberg
5a52daeb1b
- Less hack, more assert
...
svn path=/trunk/; revision=38275
2008-12-22 19:55:23 +00:00
Timo Kreuzer
695eb19e19
Build MP kernel/hal by default
...
svn path=/trunk/; revision=38274
2008-12-22 19:22:23 +00:00
Stefan Ginsberg
9775c57652
- Re-enable some Winetests now that Cm sucks less
...
- Add missing ROS-HACK tag
svn path=/trunk/; revision=38273
2008-12-22 18:48:06 +00:00
Aleksey Bragin
4054e57321
- Fix registry lock leakages in CmpDoOpen in failure cases.
...
- Add support for a special case of opening existing (cached) KCBs by CmpDoOpen.
- Specify a flag for that case in one specific case inside CmpParseKey, which allows us to get rid of the "\\REGISTRY" hack inside the code, fixes the 'Kcb->RefCount == 1' assertion failure, and certainly fixes registry-related regression tests. There might be some side effects in theory, but since this hack only applied to the root key, they shouldn't happen. Thanks to Stefan for helping in debugging and a testcase.
svn path=/trunk/; revision=38272
2008-12-22 18:47:38 +00:00
Aleksey Bragin
35fab756b4
- Add control flags for CmpDoOpen, CmpCreateKey and CmpUnloadKey.
...
- Add CmUnloadKey prototype.
svn path=/trunk/; revision=38271
2008-12-22 18:17:23 +00:00
Timo Kreuzer
1f9c4940d2
Introduce new config flag BUILD_MP. Compile MP kernel and hal only when this is set to 1 to save us some time and space.
...
svn path=/trunk/; revision=38270
2008-12-22 15:23:08 +00:00
Aleksey Bragin
c8d9e123b7
- Fix KCB ref leaks in Cm parse routine (thanks Stefan).
...
svn path=/trunk/; revision=38269
2008-12-22 13:35:08 +00:00
Timo Kreuzer
fce144efaa
fix another instance of _STATIC_ASSERT
...
svn path=/trunk/; revision=38267
2008-12-22 06:37:53 +00:00
Timo Kreuzer
1cfe56ee4b
Move all stuff from _mingw.h to crtdefs.h that belongs there. Get rid off MINGW_IMPORT
...
svn path=/trunk/; revision=38266
2008-12-22 05:55:21 +00:00
Timo Kreuzer
a4e64ebf0e
If ETO_PDY is specified, Dx is a pair of INTs, make sure we access the correct index.
...
based on aspotashev's patch. Should fix bug #3958
See issue #3958 for more details.
svn path=/trunk/; revision=38262
2008-12-22 04:26:51 +00:00
Timo Kreuzer
766c25b7e3
Some people were thinking they could use NtGdiExtTextOut from within Win32k and get away with it. Since MmCopyFromCaller is broken, it was actually working. Implement NtGdiExtTextOutW as a wrapper around the real function, that is now called GreExtTextOutW, using the naming style that ms also uses to get some more stucture in here. Also get rid of 2 pool allocations and use only one if a local buffer is not sufficient. Should get us more TextOut performance.
...
svn path=/trunk/; revision=38261
2008-12-22 03:58:04 +00:00
James Tabor
955a660368
- Start populating server information structure. This fixes the icon issues with other languages.
...
svn path=/trunk/; revision=38258
2008-12-22 02:52:47 +00:00
Stefan Ginsberg
e48fb0b04c
- More hack
...
svn path=/trunk/; revision=38256
2008-12-21 23:42:08 +00:00
Timo Kreuzer
ff489f9473
Include crtdefs.h instead of _mingw.h in the crt headers (like ms does), so only one header left (crtdefs.h) that includes a non-standard header
...
svn path=/trunk/; revision=38255
2008-12-21 23:33:19 +00:00
Stefan Ginsberg
31733a5f8a
- Disable shell32 execute tests
...
- Add missing ole32 diff
svn path=/trunk/; revision=38254
2008-12-21 23:16:59 +00:00
Stefan Ginsberg
3f4562d5c7
- Skip a buck load of ole32 tests too
...
svn path=/trunk/; revision=38253
2008-12-21 22:58:10 +00:00
Timo Kreuzer
ebd5a724c6
Update excpt.h, fcntl.h, float.h, math.c, mbctype.h, setjmp.h, share.h, stddef.h, stdio.h, stdlib.h, string.h, wchar.h from ming64
...
- fix __p__mbctype()
- add some stuff to wine/exception.h that was formerly in except.h, but doesn't belong there
- inlcude intrin.h from _mingw.h
svn path=/trunk/; revision=38252
2008-12-21 22:43:46 +00:00
Stefan Ginsberg
fec3246837
- Skip port tests due to missing kernel support
...
svn path=/trunk/; revision=38251
2008-12-21 22:34:32 +00:00
Stefan Ginsberg
504c9127d3
- Hack away a whole load of msi tests, because Cm sucks
...
svn path=/trunk/; revision=38250
2008-12-21 22:19:03 +00:00
Stefan Ginsberg
2d59827e7e
- Hack away kernel32 pipe tests -- ros' npfs is in a sad, sorry state
...
- Also skip process console tests (what's that you say? I am a lazy, hacky person? Couldn't agree more)
svn path=/trunk/; revision=38249
2008-12-21 21:52:28 +00:00
Stefan Ginsberg
4bd273ce6c
- Use the specified timeout when reading from a mailslot
...
svn path=/trunk/; revision=38248
2008-12-21 20:52:31 +00:00
Stefan Ginsberg
8270c55829
- Revert 38233 as it kills dhcp.exe
...
svn path=/trunk/; revision=38247
2008-12-21 20:35:19 +00:00
KJK::Hyperion
b4bf27864c
modified include/reactos/libs/pseh/pseh2.h
...
The return_twice and always_inline attributes don't mix: dump _SEH2PretendSetjmp, mark _SEH2EnterFrame as returns_twice (i.e. setjmp-like) instead, piggybacking the pretend-setjmp annotation on a function that's always called anyway. This ACTUALLY ensures GCC won't put variables in registers that might be clobbered by a SEH catch - at nearly no cost in binary code size and complexity
svn path=/trunk/; revision=38246
2008-12-21 19:51:09 +00:00
Stefan Ginsberg
9b32d1a358
- Missed PCACTIVATION_CONTEXT_BASIC_INFORMATION in last commit
...
svn path=/trunk/; revision=38245
2008-12-21 19:42:23 +00:00
Stefan Ginsberg
af117a341f
- Add missing ACTIVATION_CONTEXT_BASIC_INFORMATION and WRITE_WATCH_FLAG_RESET
...
svn path=/trunk/; revision=38244
2008-12-21 19:37:18 +00:00
KJK::Hyperion
21ec6bc780
Remove superfluous dependencies on msvcrt
...
svn path=/trunk/; revision=38243
2008-12-21 18:21:56 +00:00
Stefan Ginsberg
6b3bec6873
- Uhm...don't pool free user handles, and don't hand them to ObDereferenceObject
...
svn path=/trunk/; revision=38242
2008-12-21 18:16:12 +00:00
Timo Kreuzer
e8c93086b1
Add some headers from mingw64
...
svn path=/trunk/; revision=38241
2008-12-21 18:11:53 +00:00
Timo Kreuzer
044b7c4522
include time.h instead of sys/time.h
...
svn path=/trunk/; revision=38240
2008-12-21 18:01:57 +00:00
Timo Kreuzer
5dc072842a
Add __WINESRC__ define amd reactos/wine include path to libwine. This will be needed later, when the crt header files are cleaned up.
...
svn path=/trunk/; revision=38239
2008-12-21 18:00:49 +00:00
Timo Kreuzer
97d64c6776
Fix definition of _assert()
...
svn path=/trunk/; revision=38238
2008-12-21 17:51:00 +00:00
Timo Kreuzer
79532867dd
remove struct timezone from time.h, always declare __tzset(), revert changes from 38052 to ftp.
...
svn path=/trunk/; revision=38237
2008-12-21 17:26:39 +00:00
Timo Kreuzer
9483d7bc6c
Use _wcsicmp instead of non-standard wcsicmp
...
svn path=/trunk/; revision=38236
2008-12-21 16:58:56 +00:00
Stefan Ginsberg
9b1a3eb696
- Hack skipping mapping tests too *sigh*
...
svn path=/trunk/; revision=38235
2008-12-21 16:57:34 +00:00
Timo Kreuzer
a3d97cbae7
Add prototype for __globallocalestatus, it's going to be removed from crt headers later.
...
svn path=/trunk/; revision=38234
2008-12-21 16:55:29 +00:00
Michael Martin
7907aea509
- Preform the if (!Adapter) check before setting adapter to 0. Fixes Debug message reporting that the adapter was rejected.
...
svn path=/trunk/; revision=38233
2008-12-21 16:36:03 +00:00
Stefan Ginsberg
66bbcfb1cc
- Make advapi32 Winetest do a basic check instead of assuming that the routine won't fail
...
svn path=/trunk/; revision=38232
2008-12-21 16:29:23 +00:00
Aleksey Bragin
41556963b7
Olaf Siejka <olaf_siejka@o2.pl>
...
- Fix NSWPAT=1 build.
svn path=/trunk/; revision=38231
2008-12-21 12:47:01 +00:00
Kamil Hornicek
aecdd2f5e9
- avoid crash, pszExt is null when creating a link to a file without extension
...
svn path=/trunk/; revision=38230
2008-12-21 12:17:36 +00:00
Andrew Munger
aa10663d0b
Fix packmgr linkage.
...
svn path=/trunk/; revision=38229
2008-12-21 09:22:46 +00:00
Stefan Ginsberg
0fe3a6fdff
- _popen/_wpopen: When overriding the default standard input/output handles, don't set 2/3 to 0 -- use the standard handles instead (fix by kjk). Fixes the 'CsrGetObject returning invalid handle' errors
...
svn path=/trunk/; revision=38228
2008-12-21 08:30:41 +00:00
Gregor Brunmar
9ebb5e3555
Implemented IDirect3DDevice9::GetFrontBufferData()
...
svn path=/trunk/; revision=38227
2008-12-21 08:26:47 +00:00
Gregor Brunmar
277703cc64
* Implemented IDirect3D9Device::SetGammaRamp()
...
* Added stub for IDirect3DSwapChain9::SetGammaRamp()
svn path=/trunk/; revision=38226
2008-12-21 08:09:25 +00:00
Gregor Brunmar
c95ddefd79
* Implemented IDirect3DDevice9::Present()
...
svn path=/trunk/; revision=38225
2008-12-21 07:56:38 +00:00
Gregor Brunmar
e2d4313431
* Implemented IDirect3DDevice9::GetBackBuffer()
...
* Forgotten documentation for IDirect3DDevice9::GetRasterStatus()
svn path=/trunk/; revision=38224
2008-12-21 07:11:30 +00:00
Michael Martin
13ee594843
- Add missing break in ExDereferenceCallBackBlock so ExReleaseRundownProtection does not get called more than once.
...
svn path=/trunk/; revision=38223
2008-12-21 06:01:23 +00:00
Michael Martin
f082d72190
- As per http://msdn.microsoft.com/en-us/library/ms802952.aspx , call ExDoCallBack with correct parameters.
...
svn path=/trunk/; revision=38222
2008-12-21 05:08:18 +00:00
KJK::Hyperion
77911bbdee
modified include/reactos/wine/exception.h
...
Farewell Wine exception handling macros. You won't be missed
modified dll/win32/icmp/icmp_main.c
Removed gratuitous use of _getpid
Winsock APIs don't set errno, they set the last error
As a consequence, icmp.dll no longer depends on msvcrt.dll
modified tools/rbuild/module.cpp
Link DLLs to ntdll's CRT instead of msvcrt's by default (most DLLs don't actually need msvcrt)
Everything else:
Set crt attribute of <module> to "msvcrt" if ntdll isn't good enough
Link to pseh if necessary
svn path=/trunk/; revision=38221
2008-12-21 03:58:19 +00:00
Timo Kreuzer
0cbe39b8da
Use "C" interface for intrinsic functions to avoid problems with C++. Fix _rotr and _rotl.
...
svn path=/trunk/; revision=38220
2008-12-21 03:22:17 +00:00
Timo Kreuzer
420cb2282d
Include io.h. It's needed and was implicitly included so far. But that'll be soon gone.
...
svn path=/trunk/; revision=38219
2008-12-21 03:15:46 +00:00