Commit graph

34312 commits

Author SHA1 Message Date
Gregor Schneider 20d4a1d899 - Update kernel32 winetest, thanks to Stefan100 for making this possible
svn path=/trunk/; revision=38314
2008-12-23 20:02:47 +00:00
KJK::Hyperion 6d0b61ca56 Missing from previous commit
svn path=/trunk/; revision=38313
2008-12-23 19:56:42 +00:00
Stefan Ginsberg 3ab11f598d - Kill 1 static, kill 1 allowarnings=true
svn path=/trunk/; revision=38312
2008-12-23 19:53:44 +00:00
KJK::Hyperion dbd93ad414 PSEH 2 test suite - around 90 tests so far, and more coming
svn path=/trunk/; revision=38311
2008-12-23 19:47:30 +00:00
Stefan Ginsberg 81b01d0eaf - CCHAR is 'char', not 'const char'
svn path=/trunk/; revision=38310
2008-12-23 19:24:35 +00:00
James Tabor db48311d5b - Add One Param Call GetCursorPos. This will be used when GDIPOINTER is deprecated.
svn path=/trunk/; revision=38309
2008-12-23 19:04:40 +00:00
Stefan Ginsberg 80eedc2faf - Welcome -w. Goodbye 3rd party warnings.
svn path=/trunk/; revision=38308
2008-12-23 19:00:05 +00:00
Stefan Ginsberg 5d44d1b196 - Never, ever, mix warning fixes with code logic changes. Should fix setup boot.
svn path=/trunk/; revision=38307
2008-12-23 18:46:59 +00:00
Stefan Ginsberg 06da69ad88 - Make KS compile warning-free, add a note to janderwald (!!!)
svn path=/trunk/; revision=38306
2008-12-23 18:28:07 +00:00
Stefan Ginsberg d61d98270c - Forgot a comment
svn path=/trunk/; revision=38305
2008-12-23 18:18:23 +00:00
Stefan Ginsberg 54bd4baacd - Kill oskittcp warnings. Somewhat hacky? Yes indeed.
svn path=/trunk/; revision=38304
2008-12-23 18:16:48 +00:00
KJK::Hyperion 20cf8d2ace modified include/reactos/libs/pseh/pseh2.h
Actually support PSEH 2 on top of native syntax

svn path=/trunk/; revision=38303
2008-12-23 18:12:21 +00:00
Stefan Ginsberg d2bf1c5f4f - Silence ext2 FSD warnings. Also fix some bugs where the return status wasn't properly set.
- 'allowwarnings=true' -- not anymore

svn path=/trunk/; revision=38302
2008-12-23 17:43:25 +00:00
Aleksey Bragin f0ad8ee641 - Get back to using deprecated functions (because of linux...).
- Disable warning 4996.

svn path=/trunk/; revision=38301
2008-12-23 14:35:23 +00:00
Aleksey Bragin 9a27812344 - Replace all deprecated functions with underscored names.
- Add _CRT_SECURE_NO_DEPRECATE to VC project file to suppress security warnings.

svn path=/trunk/; revision=38300
2008-12-23 14:19:19 +00:00
James Tabor edc3ce63d5 - More updates to global server information structure.
svn path=/trunk/; revision=38296
2008-12-23 04:51:03 +00:00
KJK::Hyperion f72b85bdf7 modified include/reactos/libs/pseh/pseh2.h
modified   lib/pseh/framebased-gcchack.c
modified   lib/pseh/i386/framebased-gcchack.S
   (Re)added arguments to _SEH2_EXCEPT nested routines, so that using _SEH2_GetExceptionCode and _SEH2_GetExceptionInformation in exception filters doesn't force the creation of function trampolines (and related horrid inline code)
   Reimplemented some internal library routines in C

svn path=/trunk/; revision=38295
2008-12-23 02:45:25 +00:00
Timo Kreuzer 4750c0b942 For some unknown reason wmc likes to include string.h from the wine folder and we cannot link it on linux hosts. This hack should hopefully resolve the issue.
svn path=/trunk/; revision=38294
2008-12-23 02:36:25 +00:00
Timo Kreuzer c8ad8b0005 sorry forgot this file, another wine compatibility header
svn path=/trunk/; revision=38293
2008-12-23 02:22:44 +00:00
Timo Kreuzer d7b6e7cdad CRT header compatibility update.
asser.h:
- prototypes for _assert and _wassert, add wassert macro, TODO: reenable assert macro
conio.h:
- Add deprecation macros and some cleanup
crtdbg.h:
- Add _ASSERT_WRN, ASSERTE_WRN, ASSERT_EXPR_WRN
ctype.h:
- cleaup and fix _pctype and __pctype_func
- add _CRTIMP where needed
- add deprecation macros
dos.h:
- enable _enable and _disable
io.h:
- enable use of _INTEGRAL_MAX_BITS
- remove some defines, other cleanup
math.h:
- remove system_header
- rename include guard to _INC_MATH
- fix definition of _HUGE
- add _CRTIMP where needed
stdio.h:
- fix _iob[] and stdstram defines
- add _CRTIMP where needed
- enable non-conforming swprintf defines
- remove some mingw specific stuff
string.h:
- add _CRTIMP and deprecation macros
sys/stat.h:
- some cleanup
sys/timeb.h:
- add struct timeb
- remove #defines
- add deprecation macros
sys/utime.h:
- remove unneeded inline functions, cleanup
time.h:
- remove #defines
- add _CRTIMP and deprecation macros
wchar.h:
- fix _iob[], stdstream, _pctype and __pctype_func
- add _wfinddate_t, _wfinddatai64_t and _stat
- add _CRTIMP where needed
- remove defines

svn path=/trunk/; revision=38292
2008-12-23 02:15:24 +00:00
Timo Kreuzer f6eb8adfb6 Replace all deprecate functions like wcsicmp with the new ones, like _wcsicmp in our own code. Define __WINESRC__ or _CRT_NONSTDC_NO_DEPRECATE where neccessary in 3rd party code to silence warnings about deprecated functions, that the upcoming crt header update will create. Remove allowwarnings="true" from telnet.
svn path=/trunk/; revision=38291
2008-12-23 01:23:25 +00:00
Timo Kreuzer 565970f956 Replace deprecated stricmp with _stricmp
svn path=/trunk/; revision=38290
2008-12-23 01:22:36 +00:00
Jeffrey Morlan 8bb3a3af67 - cmd_mkdir: Give an error message if the directory already exists (Bug 3961)
- Also, allow multiple directories to be created by one invocation

svn path=/trunk/; revision=38289
2008-12-22 23:50:53 +00:00
Timo Kreuzer a3bf2399ff kjk_hyperion: "underscores solve all issues"
replace wcsicmp with _wcsicmp

svn path=/trunk/; revision=38288
2008-12-22 23:49:02 +00:00
Dmitry Gorbachev d284aa7851 Fix spurious warning/error reported by GCC 4.4.0.
svn path=/trunk/; revision=38287
2008-12-22 23:46:23 +00:00
Dmitry Gorbachev 95e0371f4f Do not pop and push the same reg.
svn path=/trunk/; revision=38286
2008-12-22 23:44:15 +00:00
Dmitry Gorbachev 898f34d2de Define __MINGW_MSC_PREREQ() macro,
build failed with GCC 4.4.0 without it.

svn path=/trunk/; revision=38285
2008-12-22 23:43:10 +00:00
Timo Kreuzer 1be3ebb61b don't define strcasecmp to strcmp, use _stricmp, and define strcasecmp to _strnicmp.
svn path=/trunk/; revision=38284
2008-12-22 23:35:35 +00:00
Timo Kreuzer da70a17936 Replace deprectaed function (unlink, stricmp) with new ones (_unlink, _stricmp)
svn path=/trunk/; revision=38283
2008-12-22 23:24:18 +00:00
Timo Kreuzer a0f2421f8e use _str(n)icmp instead of non-standard str(n)casecmp
svn path=/trunk/; revision=38282
2008-12-22 23:11:21 +00:00
Timo Kreuzer 1fc586e88c Use _getch instead of deprecated getch
svn path=/trunk/; revision=38281
2008-12-22 22:58:41 +00:00
Jeffrey Morlan 781ae61f03 - Make IF command a special form; necessary to make nested multi-line IF blocks work properly
- Implement IF /I option, IF CMDEXTVERSION, and generic comparisons (EQU etc)
- Make IF ERRORLEVEL return true if the errorlevel is greater than the number
- Remove hacked support for multi-line IF blocks from batch.c

svn path=/trunk/; revision=38280
2008-12-22 22:34:51 +00:00
Timo Kreuzer 940dd12ea9 Remove all stuff that is either already defined in crtdefs.h or doesn't belong in the header, based on what ms defines.
svn path=/trunk/; revision=38279
2008-12-22 20:59:56 +00:00
Timo Kreuzer 6da76aad1d Don't use wine's headers and wintrnl.h for exception handling in crt. Instead include ndk and add the few definitions we need to cppexcept.h
svn path=/trunk/; revision=38278
2008-12-22 20:32:47 +00:00
Timo Kreuzer 53c3a69e0c - Add reactos/wine/sys/types.h compatibility header
- winspool: add reactos/wine to include folders

svn path=/trunk/; revision=38277
2008-12-22 20:28:26 +00:00
Timo Kreuzer 79f756b317 Add ssize_t to rosdhcp.h, as ms crt headers (and so our future crt headers) don't define it.
svn path=/trunk/; revision=38276
2008-12-22 20:25:44 +00:00
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