reactos.git
11 years ago- Partial sync with Wine. It fixes 37 tests ("kernel32_winetest profile")
Dmitry Chapyshev [Sat, 27 Dec 2008 08:34:30 +0000 (08:34 +0000)]
- Partial sync with Wine. It fixes 37 tests ("kernel32_winetest profile")

svn path=/trunk/; revision=38368

11 years ago- Formatting fix
Dmitry Chapyshev [Sat, 27 Dec 2008 05:45:51 +0000 (05:45 +0000)]
- Formatting fix

svn path=/trunk/; revision=38367

11 years ago- Fix SystemTimeToTzSpecificLocalTime. +378 passed tests
Dmitry Chapyshev [Sat, 27 Dec 2008 05:31:06 +0000 (05:31 +0000)]
- Fix SystemTimeToTzSpecificLocalTime. +378 passed tests

svn path=/trunk/; revision=38366

11 years ago- Fix VideoPortInt10 implementation. The previous implementation was passing a signif...
Michael Martin [Sat, 27 Dec 2008 04:01:26 +0000 (04:01 +0000)]
- Fix VideoPortInt10 implementation. The previous implementation was passing a significantly smaller KV86M_REGISTERS struct vice CONTEXT struct to Ke386CallBios, resulting in memory corruption.
- Part 2 of ? fixes for bug 2286.

svn path=/trunk/; revision=38365

11 years ago- Lets try this again. Re-implement inet_aton so that it does not fail in 255.255...
Michael Martin [Sat, 27 Dec 2008 02:54:03 +0000 (02:54 +0000)]
- Lets try this again. Re-implement inet_aton so that it does not fail in 255.255.255.255. See bug 3962 for more info.

svn path=/trunk/; revision=38364

11 years ago- Total commander crashes after pressing any key, see bug 2292.
James Tabor [Fri, 26 Dec 2008 23:00:03 +0000 (23:00 +0000)]
- Total commander crashes after pressing any key, see bug 2292.

svn path=/trunk/; revision=38363

11 years agomodified dll/win32/kernel32/k32.h
KJK::Hyperion [Fri, 26 Dec 2008 22:09:38 +0000 (22:09 +0000)]
modified   dll/win32/kernel32/k32.h
modified   dll/win32/kernel32/kernel32.rbuild
modified   dll/win32/kernel32/misc/comm.c
added      dll/win32/kernel32/misc/commdcb.c
   Define _KERNEL32_ globally for kernel32, outside the common header file
   Reimplemented the whole BuildCommDCB family of APIs, deleting embarrassing code by my younger self, written almost 6 years ago. Passes the full Wine test suite, too

svn path=/trunk/; revision=38362

11 years ago- Fix one more typo in the IoBuildPartialMdl code leading to ignore of TargetMdl...
Aleksey Bragin [Fri, 26 Dec 2008 21:57:11 +0000 (21:57 +0000)]
- Fix one more typo in the IoBuildPartialMdl code leading to ignore of TargetMdl flags and always setting MDL_ALLOCATED_FIXED_SIZE and MDL_ALLOCATED_MUST_SUCCEED even if a caller did not want so. Thanks to Alex Ionescu.

svn path=/trunk/; revision=38361

11 years ago- Fix broken behavior of IoBuildPartialMdl, which instead of copying 4 flags from...
Aleksey Bragin [Fri, 26 Dec 2008 20:34:40 +0000 (20:34 +0000)]
- Fix broken behavior of IoBuildPartialMdl, which instead of copying 4 flags from a source mdl to a target one was always setting all of them, thus often making resultant mdl unusable.

svn path=/trunk/; revision=38360

11 years ago- Don't try to set remaining bits if there are none. Fixes memory
Aleksey Bragin [Fri, 26 Dec 2008 20:21:52 +0000 (20:21 +0000)]
- Don't try to set remaining bits if there are none. Fixes memory
corruption.

Patch sent to Wine: http://www.winehq.org/pipermail/wine-patches/2008-December/066716.html

svn path=/trunk/; revision=38359

11 years ago- Leftover, fixes build.
Aleksey Bragin [Fri, 26 Dec 2008 16:27:44 +0000 (16:27 +0000)]
- Leftover, fixes build.

svn path=/trunk/; revision=38357

11 years ago- Add missing assignments to CallingProcess variable. Part 1 of ? fixes for bug 2286.
Michael Martin [Fri, 26 Dec 2008 15:24:54 +0000 (15:24 +0000)]
- Add missing assignments to CallingProcess variable. Part 1 of ? fixes for bug 2286.

svn path=/trunk/; revision=38355

11 years ago[FORMATTING] Fix indentation.
Dmitry Gorbachev [Fri, 26 Dec 2008 13:50:35 +0000 (13:50 +0000)]
[FORMATTING] Fix indentation.

svn path=/trunk/; revision=38354

11 years ago- Fix 38352, XMLLoadFile seems to need a separate instance of Path, so revert that...
Aleksey Bragin [Fri, 26 Dec 2008 13:25:55 +0000 (13:25 +0000)]
- Fix 38352, XMLLoadFile seems to need a separate instance of Path, so revert that optimisation and leave it only to NormalizeFilename.

svn path=/trunk/; revision=38353

11 years ago- Add defaultPath global var and use it instead of creating Path objects all the...
Aleksey Bragin [Fri, 26 Dec 2008 11:03:16 +0000 (11:03 +0000)]
- Add defaultPath global var and use it instead of creating Path objects all the time a filename is queried and/or xml file is read.

svn path=/trunk/; revision=38352

11 years ago- Revert r38346 as its incorrect fix. Real problem is implementation of inet_aton...
Michael Martin [Fri, 26 Dec 2008 10:38:21 +0000 (10:38 +0000)]
- Revert r38346 as its incorrect fix. Real problem is implementation of inet_aton in compat.c. So back to address 255.255.255.255 failing.

svn path=/trunk/; revision=38351

11 years agoRemove the entries for green, as they are imcomplete. Use the provided inf to install...
Andrew Munger [Fri, 26 Dec 2008 09:43:28 +0000 (09:43 +0000)]
Remove the entries for green, as they are imcomplete. Use the provided inf to install green.

svn path=/trunk/; revision=38350

11 years ago- Patch by Andre Wisplinghoff: Text is auto-selected when mouse down is hovered outsi...
James Tabor [Fri, 26 Dec 2008 00:42:13 +0000 (00:42 +0000)]
- Patch by Andre Wisplinghoff: Text is auto-selected when mouse down is hovered outside window (notepad). See bug 953.

svn path=/trunk/; revision=38349

11 years ago- Example of a thread overrun? HAX-Fixes wine cursoricon test.
James Tabor [Thu, 25 Dec 2008 23:44:23 +0000 (23:44 +0000)]
- Example of a thread overrun? HAX-Fixes wine cursoricon test.

svn path=/trunk/; revision=38348

11 years agoAllow the DIR command to be interrupted via Ctrl-C even while in the middle of a...
Jeffrey Morlan [Thu, 25 Dec 2008 23:12:54 +0000 (23:12 +0000)]
Allow the DIR command to be interrupted via Ctrl-C even while in the middle of a directory. (Bug 3967)

svn path=/trunk/; revision=38347

11 years ago- ipv4addrs should search for decimals not spaces when calling strtok. See bug 3962...
Michael Martin [Thu, 25 Dec 2008 12:43:32 +0000 (12:43 +0000)]
- ipv4addrs should search for decimals not spaces when calling strtok. See bug 3962 for more info.

svn path=/trunk/; revision=38346

11 years agofix some more typos
Christoph von Wittich [Thu, 25 Dec 2008 12:27:47 +0000 (12:27 +0000)]
fix some more typos

svn path=/trunk/; revision=38345

11 years ago- Fix typo.
James Tabor [Thu, 25 Dec 2008 11:36:51 +0000 (11:36 +0000)]
- Fix typo.

svn path=/trunk/; revision=38344

11 years ago- Check for same intput desktop with GetCursorPos. Cleanup GetCursorInfo.
James Tabor [Thu, 25 Dec 2008 11:29:53 +0000 (11:29 +0000)]
- Check for same intput desktop with GetCursorPos. Cleanup GetCursorInfo.

svn path=/trunk/; revision=38343

11 years ago- Use Cursor position from server information. I guess the logic is, one workstation...
James Tabor [Thu, 25 Dec 2008 00:35:02 +0000 (00:35 +0000)]
- Use Cursor position from server information. I guess the logic is, one workstation per system with multiple desktops. So we would always have one cursor pointer, not one per desktop.

svn path=/trunk/; revision=38342

11 years agoThis is why we can't have nice things. Fixes r38338 build regression
KJK::Hyperion [Wed, 24 Dec 2008 23:31:09 +0000 (23:31 +0000)]
This is why we can't have nice things. Fixes r38338 build regression

svn path=/trunk/; revision=38340

11 years agoNow a single test suite with 89 tests, instead of 89 test suites with 1 test each
KJK::Hyperion [Wed, 24 Dec 2008 23:22:04 +0000 (23:22 +0000)]
Now a single test suite with 89 tests, instead of 89 test suites with 1 test each
Added dummy implementations of sanity checks for compilers/architectures I didn't write them for yet. Long story short: now compiles and runs with Visual C++, both x86 and x64
Added copyright/license header

svn path=/trunk/; revision=38339

11 years agoThe macro fairy left a DECLSPEC_NOINLINE under my pillow
KJK::Hyperion [Wed, 24 Dec 2008 23:18:55 +0000 (23:18 +0000)]
The macro fairy left a DECLSPEC_NOINLINE under my pillow

svn path=/trunk/; revision=38338

11 years ago- Someone needs to wine they are using the wrong ACP. They might not care since wine...
James Tabor [Wed, 24 Dec 2008 23:07:13 +0000 (23:07 +0000)]
- Someone needs to wine they are using the wrong ACP. They might not care since wine is not an OS but just a hacky add on.

svn path=/trunk/; revision=38337

11 years ago[sginsberg] fixed some warnings.
James Tabor [Wed, 24 Dec 2008 22:58:21 +0000 (22:58 +0000)]
[sginsberg] fixed some warnings.

svn path=/trunk/; revision=38336

11 years ago- Welcome to Winetests -Wno-format, goodbye format warnings.
Stefan Ginsberg [Wed, 24 Dec 2008 16:52:58 +0000 (16:52 +0000)]
- Welcome to Winetests -Wno-format, goodbye format warnings.

svn path=/trunk/; revision=38329

11 years ago- Put Dx values at start of buffer to have alignemnt of 4
Timo Kreuzer [Wed, 24 Dec 2008 15:35:40 +0000 (15:35 +0000)]
- Put Dx values at start of buffer to have alignemnt of 4
- increase size of stack buffer to 100, results in >90% buffer hits
- Handle Dy values when ETO_PDY is specified (patch by Alexander Potashev, aspotashev at gmail dot com)

See issue #3958 for more details.

svn path=/trunk/; revision=38328

11 years ago- Update structs and flags to correct names based on documentation.
Michael Martin [Wed, 24 Dec 2008 12:14:30 +0000 (12:14 +0000)]
- Update structs and flags to correct names based on documentation.

svn path=/trunk/; revision=38327

11 years ago- DEVMGR: wcsnicmp -> _wcsnicmp
Stefan Ginsberg [Wed, 24 Dec 2008 10:39:48 +0000 (10:39 +0000)]
- DEVMGR: wcsnicmp -> _wcsnicmp

svn path=/trunk/; revision=38325

11 years ago- Don't calculate remaining bits if there are none. Fixes out-of-bounds read of a...
Aleksey Bragin [Wed, 24 Dec 2008 10:12:01 +0000 (10:12 +0000)]
- Don't calculate remaining bits if there are none. Fixes out-of-bounds read of a buffer.
- Patch sent to Wine: http://www.winehq.org/pipermail/wine-patches/2008-December/066692.html

svn path=/trunk/; revision=38324

11 years ago- Silence wined3d format warnings
Stefan Ginsberg [Wed, 24 Dec 2008 09:43:45 +0000 (09:43 +0000)]
- Silence wined3d format warnings

svn path=/trunk/; revision=38323

11 years ago- DHCP: strlwr -> _strlwr and remove allowwarnings=true
Stefan Ginsberg [Wed, 24 Dec 2008 09:20:04 +0000 (09:20 +0000)]
- DHCP: strlwr -> _strlwr and remove allowwarnings=true

svn path=/trunk/; revision=38322

11 years agoBulgarian translations by CCTAHEB (sstpr [at] narod [dot] ru).
Dmitry Gorbachev [Wed, 24 Dec 2008 07:53:09 +0000 (07:53 +0000)]
Bulgarian translations by CCTAHEB (sstpr [at] narod [dot] ru).
Bug #3965 (2/2).

svn path=/trunk/; revision=38321

11 years agoBulgarian translations by CCTAHEB (sstpr [at] narod [dot] ru).
Dmitry Gorbachev [Wed, 24 Dec 2008 07:50:52 +0000 (07:50 +0000)]
Bulgarian translations by CCTAHEB (sstpr [at] narod [dot] ru).
Bug #3965 (1/2).

svn path=/trunk/; revision=38320

11 years agoFix error: suggest explicit braces to avoid ambiguous 'else'.
Dmitry Gorbachev [Wed, 24 Dec 2008 07:04:49 +0000 (07:04 +0000)]
Fix error: suggest explicit braces to avoid ambiguous 'else'.
When compiling with GCC 4.4.0.

svn path=/trunk/; revision=38319

11 years agoDo not print garbage, initialize the variable. Bug #3916.
Dmitry Gorbachev [Wed, 24 Dec 2008 07:00:43 +0000 (07:00 +0000)]
Do not print garbage, initialize the variable. Bug #3916.

svn path=/trunk/; revision=38318

11 years ago- Add IntGetCharDimensions and text metrics for win32k server info.
James Tabor [Wed, 24 Dec 2008 02:23:30 +0000 (02:23 +0000)]
- Add IntGetCharDimensions and text metrics for win32k server info.

svn path=/trunk/; revision=38317

11 years agoAlso print messages to output, so the tool is more generally useful
KJK::Hyperion [Tue, 23 Dec 2008 20:37:53 +0000 (20:37 +0000)]
Also print messages to output, so the tool is more generally useful

svn path=/trunk/; revision=38316

11 years ago- Skip certain process and pipe tests due to timeouts as it was done before, update...
Gregor Schneider [Tue, 23 Dec 2008 20:05:39 +0000 (20:05 +0000)]
- Skip certain process and pipe tests due to timeouts as it was done before, update diff file

svn path=/trunk/; revision=38315

11 years ago- Update kernel32 winetest, thanks to Stefan100 for making this possible
Gregor Schneider [Tue, 23 Dec 2008 20:02:47 +0000 (20:02 +0000)]
- Update kernel32 winetest, thanks to Stefan100 for making this possible

svn path=/trunk/; revision=38314

11 years agoMissing from previous commit
KJK::Hyperion [Tue, 23 Dec 2008 19:56:42 +0000 (19:56 +0000)]
Missing from previous commit

svn path=/trunk/; revision=38313

11 years ago- Kill 1 static, kill 1 allowarnings=true
Stefan Ginsberg [Tue, 23 Dec 2008 19:53:44 +0000 (19:53 +0000)]
- Kill 1 static, kill 1 allowarnings=true

svn path=/trunk/; revision=38312

11 years agoPSEH 2 test suite - around 90 tests so far, and more coming
KJK::Hyperion [Tue, 23 Dec 2008 19:47:30 +0000 (19:47 +0000)]
PSEH 2 test suite - around 90 tests so far, and more coming

svn path=/trunk/; revision=38311

11 years ago- CCHAR is 'char', not 'const char'
Stefan Ginsberg [Tue, 23 Dec 2008 19:24:35 +0000 (19:24 +0000)]
- CCHAR is 'char', not 'const char'

svn path=/trunk/; revision=38310

11 years ago- Add One Param Call GetCursorPos. This will be used when GDIPOINTER is deprecated.
James Tabor [Tue, 23 Dec 2008 19:04:40 +0000 (19:04 +0000)]
- Add One Param Call GetCursorPos. This will be used when GDIPOINTER is deprecated.

svn path=/trunk/; revision=38309

11 years ago- Welcome -w. Goodbye 3rd party warnings.
Stefan Ginsberg [Tue, 23 Dec 2008 19:00:05 +0000 (19:00 +0000)]
- Welcome -w. Goodbye 3rd party warnings.

svn path=/trunk/; revision=38308

11 years ago- Never, ever, mix warning fixes with code logic changes. Should fix setup boot.
Stefan Ginsberg [Tue, 23 Dec 2008 18:46:59 +0000 (18:46 +0000)]
- Never, ever, mix warning fixes with code logic changes. Should fix setup boot.

svn path=/trunk/; revision=38307

11 years ago- Make KS compile warning-free, add a note to janderwald (!!!)
Stefan Ginsberg [Tue, 23 Dec 2008 18:28:07 +0000 (18:28 +0000)]
- Make KS compile warning-free, add a note to janderwald (!!!)

svn path=/trunk/; revision=38306

11 years ago- Forgot a comment
Stefan Ginsberg [Tue, 23 Dec 2008 18:18:23 +0000 (18:18 +0000)]
- Forgot a comment

svn path=/trunk/; revision=38305

11 years ago- Kill oskittcp warnings. Somewhat hacky? Yes indeed.
Stefan Ginsberg [Tue, 23 Dec 2008 18:16:48 +0000 (18:16 +0000)]
- Kill oskittcp warnings. Somewhat hacky? Yes indeed.

svn path=/trunk/; revision=38304

11 years agomodified include/reactos/libs/pseh/pseh2.h
KJK::Hyperion [Tue, 23 Dec 2008 18:12:21 +0000 (18:12 +0000)]
modified   include/reactos/libs/pseh/pseh2.h
   Actually support PSEH 2 on top of native syntax

svn path=/trunk/; revision=38303

11 years ago- Silence ext2 FSD warnings. Also fix some bugs where the return status wasn't proper...
Stefan Ginsberg [Tue, 23 Dec 2008 17:43:25 +0000 (17:43 +0000)]
- 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

11 years ago- Get back to using deprecated functions (because of linux...).
Aleksey Bragin [Tue, 23 Dec 2008 14:35:23 +0000 (14:35 +0000)]
- Get back to using deprecated functions (because of linux...).
- Disable warning 4996.

svn path=/trunk/; revision=38301

11 years ago- Replace all deprecated functions with underscored names.
Aleksey Bragin [Tue, 23 Dec 2008 14:19:19 +0000 (14:19 +0000)]
- 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

11 years ago- More updates to global server information structure.
James Tabor [Tue, 23 Dec 2008 04:51:03 +0000 (04:51 +0000)]
- More updates to global server information structure.

svn path=/trunk/; revision=38296

11 years agomodified include/reactos/libs/pseh/pseh2.h
KJK::Hyperion [Tue, 23 Dec 2008 02:45:25 +0000 (02:45 +0000)]
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

11 years agoFor some unknown reason wmc likes to include string.h from the wine folder and we...
Timo Kreuzer [Tue, 23 Dec 2008 02:36:25 +0000 (02:36 +0000)]
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

11 years agosorry forgot this file, another wine compatibility header
Timo Kreuzer [Tue, 23 Dec 2008 02:22:44 +0000 (02:22 +0000)]
sorry forgot this file, another wine compatibility header

svn path=/trunk/; revision=38293

11 years agoCRT header compatibility update.
Timo Kreuzer [Tue, 23 Dec 2008 02:15:24 +0000 (02:15 +0000)]
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

11 years agoReplace all deprecate functions like wcsicmp with the new ones, like _wcsicmp in...
Timo Kreuzer [Tue, 23 Dec 2008 01:23:25 +0000 (01:23 +0000)]
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

11 years agoReplace deprecated stricmp with _stricmp
Timo Kreuzer [Tue, 23 Dec 2008 01:22:36 +0000 (01:22 +0000)]
Replace deprecated stricmp with _stricmp

svn path=/trunk/; revision=38290

11 years ago- cmd_mkdir: Give an error message if the directory already exists (Bug 3961)
Jeffrey Morlan [Mon, 22 Dec 2008 23:50:53 +0000 (23:50 +0000)]
- 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

11 years agokjk_hyperion: "underscores solve all issues"
Timo Kreuzer [Mon, 22 Dec 2008 23:49:02 +0000 (23:49 +0000)]
kjk_hyperion: "underscores solve all issues"
replace wcsicmp with _wcsicmp

svn path=/trunk/; revision=38288

11 years agoFix spurious warning/error reported by GCC 4.4.0.
Dmitry Gorbachev [Mon, 22 Dec 2008 23:46:23 +0000 (23:46 +0000)]
Fix spurious warning/error reported by GCC 4.4.0.

svn path=/trunk/; revision=38287

11 years agoDo not pop and push the same reg.
Dmitry Gorbachev [Mon, 22 Dec 2008 23:44:15 +0000 (23:44 +0000)]
Do not pop and push the same reg.

svn path=/trunk/; revision=38286

11 years agoDefine __MINGW_MSC_PREREQ() macro,
Dmitry Gorbachev [Mon, 22 Dec 2008 23:43:10 +0000 (23:43 +0000)]
Define __MINGW_MSC_PREREQ() macro,
build failed with GCC 4.4.0 without it.

svn path=/trunk/; revision=38285

11 years agodon't define strcasecmp to strcmp, use _stricmp, and define strcasecmp to _strnicmp.
Timo Kreuzer [Mon, 22 Dec 2008 23:35:35 +0000 (23:35 +0000)]
don't define strcasecmp to strcmp, use _stricmp, and define strcasecmp to _strnicmp.

svn path=/trunk/; revision=38284

11 years agoReplace deprectaed function (unlink, stricmp) with new ones (_unlink, _stricmp)
Timo Kreuzer [Mon, 22 Dec 2008 23:24:18 +0000 (23:24 +0000)]
Replace deprectaed function (unlink, stricmp) with new ones (_unlink, _stricmp)

svn path=/trunk/; revision=38283

11 years agouse _str(n)icmp instead of non-standard str(n)casecmp
Timo Kreuzer [Mon, 22 Dec 2008 23:11:21 +0000 (23:11 +0000)]
use _str(n)icmp instead of non-standard str(n)casecmp

svn path=/trunk/; revision=38282

11 years agoUse _getch instead of deprecated getch
Timo Kreuzer [Mon, 22 Dec 2008 22:58:41 +0000 (22:58 +0000)]
Use _getch instead of deprecated getch

svn path=/trunk/; revision=38281

11 years ago- Make IF command a special form; necessary to make nested multi-line IF blocks work...
Jeffrey Morlan [Mon, 22 Dec 2008 22:34:51 +0000 (22:34 +0000)]
- 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

11 years agoRemove all stuff that is either already defined in crtdefs.h or doesn't belong in...
Timo Kreuzer [Mon, 22 Dec 2008 20:59:56 +0000 (20:59 +0000)]
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

11 years agoDon't use wine's headers and wintrnl.h for exception handling in crt. Instead include...
Timo Kreuzer [Mon, 22 Dec 2008 20:32:47 +0000 (20:32 +0000)]
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

11 years ago- Add reactos/wine/sys/types.h compatibility header
Timo Kreuzer [Mon, 22 Dec 2008 20:28:26 +0000 (20:28 +0000)]
- Add reactos/wine/sys/types.h compatibility header
- winspool: add reactos/wine to include folders

svn path=/trunk/; revision=38277

11 years agoAdd ssize_t to rosdhcp.h, as ms crt headers (and so our future crt headers) don't...
Timo Kreuzer [Mon, 22 Dec 2008 20:25:44 +0000 (20:25 +0000)]
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

11 years ago- Less hack, more assert
Stefan Ginsberg [Mon, 22 Dec 2008 19:55:23 +0000 (19:55 +0000)]
- Less hack, more assert

svn path=/trunk/; revision=38275

11 years agoBuild MP kernel/hal by default
Timo Kreuzer [Mon, 22 Dec 2008 19:22:23 +0000 (19:22 +0000)]
Build MP kernel/hal by default

svn path=/trunk/; revision=38274

11 years ago- Re-enable some Winetests now that Cm sucks less
Stefan Ginsberg [Mon, 22 Dec 2008 18:48:06 +0000 (18:48 +0000)]
- Re-enable some Winetests now that Cm sucks less
- Add missing ROS-HACK tag

svn path=/trunk/; revision=38273

11 years ago- Fix registry lock leakages in CmpDoOpen in failure cases.
Aleksey Bragin [Mon, 22 Dec 2008 18:47:38 +0000 (18:47 +0000)]
- 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

11 years ago- Add control flags for CmpDoOpen, CmpCreateKey and CmpUnloadKey.
Aleksey Bragin [Mon, 22 Dec 2008 18:17:23 +0000 (18:17 +0000)]
- Add control flags for CmpDoOpen, CmpCreateKey and CmpUnloadKey.
- Add CmUnloadKey prototype.

svn path=/trunk/; revision=38271

11 years agoIntroduce new config flag BUILD_MP. Compile MP kernel and hal only when this is set...
Timo Kreuzer [Mon, 22 Dec 2008 15:23:08 +0000 (15:23 +0000)]
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

11 years ago- Fix KCB ref leaks in Cm parse routine (thanks Stefan).
Aleksey Bragin [Mon, 22 Dec 2008 13:35:08 +0000 (13:35 +0000)]
- Fix KCB ref leaks in Cm parse routine (thanks Stefan).

svn path=/trunk/; revision=38269

11 years agofix another instance of _STATIC_ASSERT
Timo Kreuzer [Mon, 22 Dec 2008 06:37:53 +0000 (06:37 +0000)]
fix another instance of _STATIC_ASSERT

svn path=/trunk/; revision=38267

11 years agoMove all stuff from _mingw.h to crtdefs.h that belongs there. Get rid off MINGW_IMPORT
Timo Kreuzer [Mon, 22 Dec 2008 05:55:21 +0000 (05:55 +0000)]
Move all stuff from _mingw.h to crtdefs.h that belongs there. Get rid off MINGW_IMPORT

svn path=/trunk/; revision=38266

11 years agoIf ETO_PDY is specified, Dx is a pair of INTs, make sure we access the correct index.
Timo Kreuzer [Mon, 22 Dec 2008 04:26:51 +0000 (04:26 +0000)]
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

11 years agoSome people were thinking they could use NtGdiExtTextOut from within Win32k and get...
Timo Kreuzer [Mon, 22 Dec 2008 03:58:04 +0000 (03:58 +0000)]
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

11 years ago- Start populating server information structure. This fixes the icon issues with...
James Tabor [Mon, 22 Dec 2008 02:52:47 +0000 (02:52 +0000)]
- Start populating server information structure. This fixes the icon issues with other languages.

svn path=/trunk/; revision=38258

11 years ago- More hack
Stefan Ginsberg [Sun, 21 Dec 2008 23:42:08 +0000 (23:42 +0000)]
- More hack

svn path=/trunk/; revision=38256

11 years agoInclude crtdefs.h instead of _mingw.h in the crt headers (like ms does), so only...
Timo Kreuzer [Sun, 21 Dec 2008 23:33:19 +0000 (23:33 +0000)]
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

11 years ago- Disable shell32 execute tests
Stefan Ginsberg [Sun, 21 Dec 2008 23:16:59 +0000 (23:16 +0000)]
- Disable shell32 execute tests
- Add missing ole32 diff

svn path=/trunk/; revision=38254

11 years ago- Skip a buck load of ole32 tests too
Stefan Ginsberg [Sun, 21 Dec 2008 22:58:10 +0000 (22:58 +0000)]
- Skip a buck load of ole32 tests too

svn path=/trunk/; revision=38253

11 years agoUpdate excpt.h, fcntl.h, float.h, math.c, mbctype.h, setjmp.h, share.h, stddef.h...
Timo Kreuzer [Sun, 21 Dec 2008 22:43:46 +0000 (22:43 +0000)]
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

11 years ago- Skip port tests due to missing kernel support
Stefan Ginsberg [Sun, 21 Dec 2008 22:34:32 +0000 (22:34 +0000)]
- Skip port tests due to missing kernel support

svn path=/trunk/; revision=38251

11 years ago- Hack away a whole load of msi tests, because Cm sucks
Stefan Ginsberg [Sun, 21 Dec 2008 22:19:03 +0000 (22:19 +0000)]
- Hack away a whole load of msi tests, because Cm sucks

svn path=/trunk/; revision=38250

11 years ago- Hack away kernel32 pipe tests -- ros' npfs is in a sad, sorry state
Stefan Ginsberg [Sun, 21 Dec 2008 21:52:28 +0000 (21:52 +0000)]
- 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