Commit graph

31936 commits

Author SHA1 Message Date
Christoph von Wittich 6631d1c7cf sync msi with wine 1.1.11
svn path=/trunk/; revision=38391
2008-12-27 15:10:14 +00:00
Christoph von Wittich 9776114e82 fix undo after insert date/time
svn path=/trunk/; revision=38390
2008-12-27 14:26:03 +00:00
Christoph von Wittich fc993f8780 rename "New..." to "New" and "Open" to "Open..." (for german and english only)
svn path=/trunk/; revision=38389
2008-12-27 14:18:11 +00:00
Kamil Hornicek 64fcc33d8b update PSDK
- patch by encoded

svn path=/trunk/; revision=38388
2008-12-27 13:28:36 +00:00
Christoph von Wittich 7596b69232 sync hlink with wine 1.1.11
svn path=/trunk/; revision=38387
2008-12-27 13:09:48 +00:00
Christoph von Wittich 6e140c6069 sync fusion with wine 1.1.11
svn path=/trunk/; revision=38386
2008-12-27 13:08:23 +00:00
Christoph von Wittich c5aa8b9f1f sync atl with wine 1.1.11
svn path=/trunk/; revision=38385
2008-12-27 13:06:42 +00:00
Christoph von Wittich da81dbeb59 sync advpack with wine 1.1.11
svn path=/trunk/; revision=38384
2008-12-27 13:04:52 +00:00
Christoph von Wittich 653f7f1919 sync comdlg32 with wine 1.1.11
svn path=/trunk/; revision=38383
2008-12-27 12:31:20 +00:00
Andrew Munger 22aa9ace50 Clarify comment.
svn path=/trunk/; revision=38382
2008-12-27 11:55:43 +00:00
Andrew Munger ae171d25d2 Return mostly correct information so taskmgr doesn't just report zero for "System Cache".
svn path=/trunk/; revision=38381
2008-12-27 11:44:21 +00:00
Aleksey Bragin 769ff5b164 - Fix build.
svn path=/trunk/; revision=38380
2008-12-27 11:44:18 +00:00
Christoph von Wittich b5e794bdfe sync cryptnet with wine 1.1.11
svn path=/trunk/; revision=38379
2008-12-27 11:43:39 +00:00
Christoph von Wittich 6a5c426679 sync oleacc with wine 1.1.11
svn path=/trunk/; revision=38378
2008-12-27 11:08:40 +00:00
Christoph von Wittich 22610b8493 get rid of oleacc.h - it is autogenerated from the idl
svn path=/trunk/; revision=38377
2008-12-27 11:05:08 +00:00
Christoph von Wittich 82082818ca sync crypt32 with wine 1.1.11
svn path=/trunk/; revision=38376
2008-12-27 11:03:19 +00:00
Aleksey Bragin e73f968c8a - Implement query case of SystemTimeAdjustmentInformation.
- Implement a better stub for setting case of SystemTimeAdjustmentInformation.

svn path=/trunk/; revision=38375
2008-12-27 10:58:46 +00:00
Dmitry Chapyshev 683099598f - Fix 11 tests for OpenFile
svn path=/trunk/; revision=38374
2008-12-27 10:31:53 +00:00
Christoph von Wittich 128f584a7d sync rsaenh to wine 1.1.11
svn path=/trunk/; revision=38373
2008-12-27 10:11:34 +00:00
Christoph von Wittich a4c232b9e4 sync cabinet to wine 1.1.11
svn path=/trunk/; revision=38372
2008-12-27 10:00:27 +00:00
Andrew Munger 01a550f50b Remove the i8042prt entry from the static hive, it was correctly installed by PnP all all tested cases.
svn path=/trunk/; revision=38371
2008-12-27 09:04:15 +00:00
Christoph von Wittich 4324dea95c sync riched20 with wine 1.1.11
svn path=/trunk/; revision=38370
2008-12-27 08:49:35 +00:00
Christoph von Wittich 133de9dcc5 add EM_GETIMESTATUS and EM_SETIMESTATUS
svn path=/trunk/; revision=38369
2008-12-27 08:38:03 +00:00
Dmitry Chapyshev d3294eb866 - Partial sync with Wine. It fixes 37 tests ("kernel32_winetest profile")
svn path=/trunk/; revision=38368
2008-12-27 08:34:30 +00:00
Dmitry Chapyshev 77f0be0bc8 - Formatting fix
svn path=/trunk/; revision=38367
2008-12-27 05:45:51 +00:00
Dmitry Chapyshev 0e4778a15d - Fix SystemTimeToTzSpecificLocalTime. +378 passed tests
svn path=/trunk/; revision=38366
2008-12-27 05:31:06 +00:00
Michael Martin 51dc30a02c - 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
2008-12-27 04:01:26 +00:00
Michael Martin a7e5b19f4c - 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
2008-12-27 02:54:03 +00:00
James Tabor 15381523f2 - Total commander crashes after pressing any key, see bug 2292.
svn path=/trunk/; revision=38363
2008-12-26 23:00:03 +00:00
KJK::Hyperion 873c2a2f8e 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
2008-12-26 22:09:38 +00:00
Aleksey Bragin 1015905d06 - 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
2008-12-26 21:57:11 +00:00
Aleksey Bragin 65dc6d8f5c - 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
2008-12-26 20:34:40 +00:00
Aleksey Bragin d3a5bca37f - 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
2008-12-26 20:21:52 +00:00
Aleksey Bragin 7738237964 - Leftover, fixes build.
svn path=/trunk/; revision=38357
2008-12-26 16:27:44 +00:00
Michael Martin 97048a494b - Add missing assignments to CallingProcess variable. Part 1 of ? fixes for bug 2286.
svn path=/trunk/; revision=38355
2008-12-26 15:24:54 +00:00
Dmitry Gorbachev 4d4d9e60fb [FORMATTING] Fix indentation.
svn path=/trunk/; revision=38354
2008-12-26 13:50:35 +00:00
Aleksey Bragin fd4de76baf - 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
2008-12-26 13:25:55 +00:00
Aleksey Bragin 03a011db89 - 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
2008-12-26 11:03:16 +00:00
Michael Martin c5c0af3081 - 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
2008-12-26 10:38:21 +00:00
Andrew Munger 389caf97fd Remove the entries for green, as they are imcomplete. Use the provided inf to install green.
svn path=/trunk/; revision=38350
2008-12-26 09:43:28 +00:00
James Tabor ea9bc8715d - Patch by Andre Wisplinghoff: Text is auto-selected when mouse down is hovered outside window (notepad). See bug 953.
svn path=/trunk/; revision=38349
2008-12-26 00:42:13 +00:00
James Tabor 131b8b30ad - Example of a thread overrun? HAX-Fixes wine cursoricon test.
svn path=/trunk/; revision=38348
2008-12-25 23:44:23 +00:00
Jeffrey Morlan 238bb2f73a 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
2008-12-25 23:12:54 +00:00
Michael Martin 10d052aa36 - ipv4addrs should search for decimals not spaces when calling strtok. See bug 3962 for more info.
svn path=/trunk/; revision=38346
2008-12-25 12:43:32 +00:00
Christoph von Wittich 82cffd5af5 fix some more typos
svn path=/trunk/; revision=38345
2008-12-25 12:27:47 +00:00
James Tabor 1d97cdc07b - Fix typo.
svn path=/trunk/; revision=38344
2008-12-25 11:36:51 +00:00
James Tabor af2f0d64d5 - Check for same intput desktop with GetCursorPos. Cleanup GetCursorInfo.
svn path=/trunk/; revision=38343
2008-12-25 11:29:53 +00:00
James Tabor d120bf4591 - 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
2008-12-25 00:35:02 +00:00
KJK::Hyperion e4fdb61e4c This is why we can't have nice things. Fixes r38338 build regression
svn path=/trunk/; revision=38340
2008-12-24 23:31:09 +00:00
KJK::Hyperion d785178de6 The macro fairy left a DECLSPEC_NOINLINE under my pillow
svn path=/trunk/; revision=38338
2008-12-24 23:18:55 +00:00
James Tabor 1de27563a1 - 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
2008-12-24 23:07:13 +00:00
James Tabor e5b0a21e66 [sginsberg] fixed some warnings.
svn path=/trunk/; revision=38336
2008-12-24 22:58:21 +00:00
Timo Kreuzer ba15efc312 - 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
2008-12-24 15:35:40 +00:00
Michael Martin 21c30014ed - Update structs and flags to correct names based on documentation.
svn path=/trunk/; revision=38327
2008-12-24 12:14:30 +00:00
Stefan Ginsberg 5759ff871c - DEVMGR: wcsnicmp -> _wcsnicmp
svn path=/trunk/; revision=38325
2008-12-24 10:39:48 +00:00
Aleksey Bragin 16726f509e - 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
2008-12-24 10:12:01 +00:00
Stefan Ginsberg ebef3e5d4e - Silence wined3d format warnings
svn path=/trunk/; revision=38323
2008-12-24 09:43:45 +00:00
Stefan Ginsberg 728213a13c - DHCP: strlwr -> _strlwr and remove allowwarnings=true
svn path=/trunk/; revision=38322
2008-12-24 09:20:04 +00:00
Dmitry Gorbachev 1b5adc87fa Bulgarian translations by CCTAHEB (sstpr [at] narod [dot] ru).
Bug #3965 (2/2).

svn path=/trunk/; revision=38321
2008-12-24 07:53:09 +00:00
Dmitry Gorbachev 984e698116 Bulgarian translations by CCTAHEB (sstpr [at] narod [dot] ru).
Bug #3965 (1/2).

svn path=/trunk/; revision=38320
2008-12-24 07:50:52 +00:00
Dmitry Gorbachev 9d13412630 Fix error: suggest explicit braces to avoid ambiguous 'else'.
When compiling with GCC 4.4.0.

svn path=/trunk/; revision=38319
2008-12-24 07:04:49 +00:00
Dmitry Gorbachev cee8fc3735 Do not print garbage, initialize the variable. Bug #3916.
svn path=/trunk/; revision=38318
2008-12-24 07:00:43 +00:00
James Tabor 9b5914abf0 - Add IntGetCharDimensions and text metrics for win32k server info.
svn path=/trunk/; revision=38317
2008-12-24 02:23:30 +00:00
KJK::Hyperion 4349cee957 Also print messages to output, so the tool is more generally useful
svn path=/trunk/; revision=38316
2008-12-23 20:37:53 +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
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
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
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 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
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
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