Commit graph

34263 commits

Author SHA1 Message Date
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
Timo Kreuzer d83c08fa82 Don't use sys/time.h
svn path=/trunk/; revision=38218
2008-12-21 03:12:09 +00:00
Timo Kreuzer a331c8e11b Avoid using non-standard names (S_IFITO, ...).
svn path=/trunk/; revision=38217
2008-12-21 02:51:14 +00:00
Timo Kreuzer 879c57d63c use _wcsicmp instead of non-standard wcscmpi
svn path=/trunk/; revision=38216
2008-12-21 02:40:09 +00:00
Timo Kreuzer 9f0e740e7a revert 38201 and 38203 due to regressions
svn path=/trunk/; revision=38215
2008-12-21 02:27:44 +00:00
Timo Kreuzer 9432c31eba Fix definition of EMRCREATECOLORSPACE and EMRPOLYXXX, should fix a bunch of winetests.
svn path=/trunk/; revision=38214
2008-12-21 01:45:13 +00:00
Cameron Gutman ed4682a617 - Merge aicom-network-fixes up to r38205
svn path=/trunk/; revision=38213
2008-12-21 01:29:35 +00:00
Jeffrey Morlan 5c760c2d22 widl: Don't assume that host void* is the same size as target void*
svn path=/trunk/; revision=38212
2008-12-21 00:43:56 +00:00
Timo Kreuzer 2f7e224584 add _tcscpy_s and _tsplitpath_s
svn path=/trunk/; revision=38211
2008-12-21 00:22:15 +00:00
KJK::Hyperion ae3a2aacc2 modified dll/win32/gdi32/gdi32.rbuild
modified   dll/win32/kernel32/kernel32.rbuild
modified   dll/win32/user32/user32.rbuild
   Inexplicably missed the "big three" in r37187. Don't link msvcrt in core Win32 DLLs, for real this time

modified   dll/win32/user32/misc/dllmain.c
   Don't use wcstok. Removes the dependency on msvcrt

svn path=/trunk/; revision=38210
2008-12-21 00:13:08 +00:00
Timo Kreuzer 103afbc4a7 Don't redefine _tcscpy_s and _tsplitpath_s
svn path=/trunk/; revision=38209
2008-12-20 23:55:05 +00:00
KJK::Hyperion e5a9f1615f modified lib/pseh/framebased-gcchack.c
modified   lib/pseh/i386/framebased-gcchack.S
   For some reason, "call _RtlUnwind@16" is being linked as "call 0" (very likely a linker bug). Reimplementing _SEH2GlobalUnwind in C and taking the address of RtlUnwind from C code seems to work
   Annotate functions implemented in assembler with .func/.endfunc, so the symbols are more correct

svn path=/trunk/; revision=38208
2008-12-20 23:27:17 +00:00
Timo Kreuzer aaf7ad6a2b define _INTEGRAL_MAX_BITS only if it was not already defined
svn path=/trunk/; revision=38207
2008-12-20 23:16:49 +00:00
Timo Kreuzer eced695a85 Update ETO constants
svn path=/trunk/; revision=38206
2008-12-20 22:47:24 +00:00