Commit graph

34091 commits

Author SHA1 Message Date
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
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