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
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
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
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
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
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
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
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
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
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
Timo Kreuzer
54831b15db
TextOut functions take a character count, not a byte count. Rename cb to cch.
...
svn path=/trunk/; revision=38204
2008-12-20 21:19:43 +00:00
Timo Kreuzer
869fc7ead9
Handle ETO_PDY more correctly (dy values still ignored)
...
svn path=/trunk/; revision=38203
2008-12-20 21:01:14 +00:00
Kamil Hornicek
3e2f6025fc
- add check for NULL pointer, "first" is NULL for folders, files without extension etc. see bug 3959
...
See issue #3959 for more details.
svn path=/trunk/; revision=38202
2008-12-20 20:48:08 +00:00
Timo Kreuzer
98a6b82bc5
When fuOptions has ETO_PDY specified, the DxBuffer in NtGdiExtTextOutW consists of pairs of INTs, thus the Buffer must be twice as big. (Thanks to aspotashev for locating the problem) MmCopyToCaller -> SEH2. Allocate only one buffer for the string and the Dx values.
...
See issue #3958 for more details.
svn path=/trunk/; revision=38201
2008-12-20 20:38:23 +00:00
Timo Kreuzer
93d4ecb9e8
[FORMATTING]
...
Fix indentation. No code change.
svn path=/trunk/; revision=38199
2008-12-20 19:43:11 +00:00
Stefan Ginsberg
35568f58b0
- Revert 38116 -- the SEH issues should be gone now
...
svn path=/trunk/; revision=38198
2008-12-20 13:48:35 +00:00
KJK::Hyperion
e6f465bb78
Supersedes r38084. Take three
...
modified include/reactos/libs/pseh/pseh2.h
modified lib/pseh/framebased-gcchack.c
modified lib/pseh/i386/framebased-gcchack.S
Disassemble trampolines in the library, instead of the macros. Results in better, smaller code. As a side effect, PSEH no longer requires a trampoline for nested functions - which results in even better, even smaller code in many common cases where the nested functions don't use any variables from the containing function
Simulate a no-op setjmp so that GCC correctly handles variables in registers, instead of surprise-corrupting random variables in random conditions
Save EBP and ESP every time a _SEH2_TRY/_SEH2_EXCEPT is entered, instead of only the first time. Probably not entirely correct yet
Don't generate a nested function for a _SEH2_EXCEPT() filter expression if the value is a compile-time constant: convert the value to (void *)0, (void *)1 or (void *)-1, and set that as the filter, instead (like Visual C++ does, incidentally)
If a _SEH2_EXCEPT() filter expression is a compile-time constant evaluating to EXCEPTION_CONTINUE_EXECUTION or EXCEPTION_CONTINUE_SEARCH, allow GCC to optimize out the body of the _SEH2_EXCEPT (because it'd be unreachable). This should really result in a compile-time warning, but #pragma message is unsupported in GCC 4.1.3
Let _SEH2_EXCEPT() accept a comma expression as filter expression (e.g. _SEH2_EXCEPT(MessageBox(...), EXCEPTION_EXECUTE_HANDLER) instead of _SEH2_EXCEPT((MessageBox(...), EXCEPTION_EXECUTE_HANDLER)))
Small optimizations in PSEH library
Clean up GCC hacks
Remove currently unused PSEH 3 hacks
svn path=/trunk/; revision=38197
2008-12-20 13:05:57 +00:00
Dmitry Gorbachev
5866c97424
- Do not use pGlobalData after freeing,
...
- do not load color spectrum bitmaps if no adapter found,
- do not use HEAP_ZERO_MEMORY, use memset(),
- check SelectObject() result,
- fix indentation.
svn path=/trunk/; revision=38196
2008-12-20 11:06:21 +00:00
Johannes Anderwald
7b6fe6680a
- Fix parameters for CreateService
...
svn path=/trunk/; revision=38195
2008-12-20 10:09:25 +00:00
Dmitry Chapyshev
78ef81691e
- Fix all wine tests for MoveFileA/W
...
svn path=/trunk/; revision=38194
2008-12-20 10:08:11 +00:00
Andrew Munger
2873eff0cb
Null dereference FTL.
...
svn path=/trunk/; revision=38193
2008-12-20 09:30:12 +00:00
Dmitry Chapyshev
145ffd10f1
- Formatting fix
...
svn path=/trunk/; revision=38192
2008-12-20 08:07:10 +00:00
Dmitry Chapyshev
6fadfd9daf
- Fix 2 winetests
...
svn path=/trunk/; revision=38191
2008-12-20 08:02:25 +00:00
Timo Kreuzer
b412cbd236
- fix _STATIC_ASSERT
...
- fix indentation
- move some headers from crt/ming to crt
svn path=/trunk/; revision=38190
2008-12-19 23:34:20 +00:00
James Tabor
6a59679c8e
- Properly implement LookupIconIdFromDirectoryEx.
...
- Remove hack for GetDeviceCaps.
- This fixes one part of the Win32k Initialization Bug. If this change creates a problem some where else, the problem is not in this change.
svn path=/trunk/; revision=38189
2008-12-19 22:33:11 +00:00
Timo Kreuzer
2b40f401d6
enable GetTimeZoneInformation in _getsystime
...
svn path=/trunk/; revision=38188
2008-12-19 19:57:21 +00:00
Timo Kreuzer
ecae93aaa2
add DECLSPEC_SELECTANY
...
svn path=/trunk/; revision=38187
2008-12-19 18:39:32 +00:00
Timo Kreuzer
fb37c99b05
NtGdiGetFontUnicodeRanges:
...
- Don't probe the safe buffer, but the usermode buffer
svn path=/trunk/; revision=38186
2008-12-19 18:16:04 +00:00
Gregor Schneider
f45ee646df
- Update fputwc implementation to current wine sources
...
- Fixes 23 msvcrt file winetests
svn path=/trunk/; revision=38185
2008-12-19 16:57:48 +00:00
Gregor Schneider
855ea53e48
- Fix return values for fputc and _flsbuf: return only one char
...
- Fixes three msvcrt file winetests
svn path=/trunk/; revision=38184
2008-12-19 11:39:04 +00:00
Timo Kreuzer
fd478ccca5
Zero the last character in lfFaceName when converting a LOGFONT from A to W or vice versa. Fixes 1 gdi32_winetest font.
...
DPRINT1 -> DPRINT
svn path=/trunk/; revision=38183
2008-12-19 00:12:43 +00:00
Gregor Schneider
23eb0e8a4a
- Remove static qualifier from g_mbcp_is_multibyte variable (locale.c) to allow external reference
...
- Update _mbccpy, _mbsncpy and _mbsnbcpy, so that they handle leading bytes correctly
- Fixes 6 of 7 failing msvcrt string winetests, the remaining failure is related to memcpy behavior
svn path=/trunk/; revision=38182
2008-12-18 22:06:07 +00:00
Gregor Schneider
5fe4b4b425
- Update _mbclen, mblen, _mbslen, _mbsnextc and _mbstrlen which should rely on the leadbyte mechanism
...
- Fixes 9 msvcrt string tests, 7 failures tbd
- Remove leftover function declaration from ismblead.c
svn path=/trunk/; revision=38181
2008-12-18 21:17:22 +00:00
James Tabor
589af34558
- From SDK, LD_ flags.
...
svn path=/trunk/; revision=38180
2008-12-18 20:59:12 +00:00
Jeffrey Morlan
220378c764
VfatSetAllocationSizeInformation: The fast code for extending the size of a non-empty file did have a bug in that it didn't always set Fcb->LastCluster/Fcb->LastOffset but the OffsetToCluster call was made assuming that it did. However, the code that replaced it had a bug as well, in that it did not set Cluster to the original final cluster like the error handling code expected, so it would crash when out of disk space. Bringing back the fast code, but with its bug fixed.
...
svn path=/trunk/; revision=38179
2008-12-18 20:47:20 +00:00
Gregor Schneider
9b0331478f
- Update _mbsbtype and _mbsninc functions
...
- Fixes 17 msvcrt string tests, 16 to go
svn path=/trunk/; revision=38178
2008-12-18 20:26:57 +00:00
Gregor Brunmar
101cb70315
Implemented IDirect3DDevice9::GetRasterStatus()
...
svn path=/trunk/; revision=38177
2008-12-18 19:48:17 +00:00
Gregor Schneider
b34362b5a5
- Close registry key handle of both RegQueryValueEx calls fail. I don't see anything else leaking.
...
svn path=/trunk/; revision=38176
2008-12-18 19:38:01 +00:00
Gregor Brunmar
36ac3e9c57
Implemented IDirect3DDevice9::GetGammaRamp()
...
svn path=/trunk/; revision=38175
2008-12-18 19:29:49 +00:00
Gregor Brunmar
1cc6243d5e
Implemented IDirect3DDevice9::CreateAdditionalSwapChain()
...
svn path=/trunk/; revision=38174
2008-12-18 19:08:17 +00:00
Gregor Schneider
1c8d9a1277
- Remove duplicate harcoded _mbctype, rename MSVCRT_mbctype to fit the new role
...
- Update related functions _ismbblead, _ismbslead, _ismbbtrail, _ismbstrail to use Wine _mbctype indexing
- Fixes 28 msvcrt string tests, 33 left
- Minor header updates
svn path=/trunk/; revision=38173
2008-12-18 18:58:43 +00:00
Dmitry Chapyshev
10ffe93130
- Revert r37085. It fix work kbswitch, but I think, that somewhere (in kbswitch) there is a memory leak. Help somebody to find it
...
svn path=/trunk/; revision=38172
2008-12-18 12:32:46 +00:00
Christoph von Wittich
f74a13b345
GENERIC_WRITE is required to flush the input buffer
...
svn path=/trunk/; revision=38171
2008-12-18 12:32:32 +00:00
Dmitry Gorbachev
6c8e595de5
Add a hack which allows to boot with Armenian language.
...
svn path=/trunk/; revision=38170
2008-12-18 12:26:52 +00:00
Dmitry Gorbachev
32eb774e68
Fix some keyboard layout related stuff in USetup.
...
svn path=/trunk/; revision=38169
2008-12-18 12:26:47 +00:00
Dmitry Gorbachev
35da2f5ea3
Armenian registry settings.
...
svn path=/trunk/; revision=38168
2008-12-18 12:26:42 +00:00
Dmitry Gorbachev
c31b0b4bc9
Add these two old translations:
...
- Armenian (Notepad) by Andranik Haroyan (andranik_haroyan at yahoo),
- Thai (Calculator) by Sumath Aowsakulsutthi (punth1 at gmail).
svn path=/trunk/; revision=38167
2008-12-18 12:26:33 +00:00
Johannes Anderwald
e0f42218c7
- Add GUID_DEVCLASS_SOUND
...
svn path=/trunk/; revision=38166
2008-12-18 09:16:13 +00:00
Christoph von Wittich
222fa8743a
DPRINT1 -> DPRINT on failure to prevent spamming of buildbot winetest logs
...
svn path=/trunk/; revision=38164
2008-12-18 07:26:07 +00:00
Jeffrey Morlan
36ac6dbed7
FAT##FindAndMarkAvailableCluster: Decrement the AvailableClusters count to keep reported free space consistent.
...
svn path=/trunk/; revision=38163
2008-12-18 03:09:45 +00:00
James Tabor
46ef532ab0
Patch by Aric Stewart : user32: Implement handling of WM_INPUTLANGCHANGE. Updated header and made WIN_ListChildren global.
...
svn path=/trunk/; revision=38162
2008-12-18 01:14:39 +00:00
Daniel Reimer
8a36d2a8ba
Add German Table to Kernel32
...
svn path=/trunk/; revision=38161
2008-12-17 23:19:08 +00:00
Johannes Anderwald
347a9d5cf0
- Sorry I BROKE build
...
svn path=/trunk/; revision=38160
2008-12-17 21:16:31 +00:00
Johannes Anderwald
18960d88d3
- add ks.sys & portcls.sys to bootcd image
...
svn path=/trunk/; revision=38159
2008-12-17 20:59:31 +00:00
Dmitry Chapyshev
75e639eabf
- More implement GetCPInfoExW
...
- Add resources for getting localized of code pages names
svn path=/trunk/; revision=38157
2008-12-17 16:30:31 +00:00
Johannes Anderwald
ff1e60162f
- Handle PcNewRegistryKey for DeviceRegistryKey, DriverRegistryKey, HwProfileRegistryKey
...
- Implement IPortClsVersion interface
svn path=/trunk/; revision=38156
2008-12-17 16:01:32 +00:00
Johannes Anderwald
d48a47ec8a
- Add IID_IPortClsVersion
...
svn path=/trunk/; revision=38155
2008-12-17 15:58:32 +00:00
Daniel Reimer
6c1d6b1345
Synched winhlp32 and wordpad with wine HEAD.
...
Added some Dutch Translations I had lying around here. Credits go to the guy who gave them to me and who's name i forgot...
Bug 3881: Greek update by Apostolos Alexiadis
svn path=/trunk/; revision=38154
2008-12-17 15:42:39 +00:00
Johannes Anderwald
05a75b23b1
- Add IUnregisterSubdevice && IUnregisterPhysicalConnection interfaces
...
svn path=/trunk/; revision=38152
2008-12-17 15:36:19 +00:00
Matthias Kupfer
f711cf7ae8
move variable declaration
...
svn path=/trunk/; revision=38147
2008-12-17 13:54:50 +00:00
Matthias Kupfer
829b0c63d9
Maciej Bialas <bjauy AT tlen DOT pl>
...
- Set LocaleID from unattend.inf
- See issue #3943 for more details.
svn path=/trunk/; revision=38146
2008-12-17 13:06:32 +00:00
Dmitry Chapyshev
84a5eed60e
- Implement __lconv_init
...
svn path=/trunk/; revision=38143
2008-12-17 10:24:13 +00:00
Dmitry Gorbachev
99cdd75fa7
Allow to dynamically load a library which uses static TLS.
...
svn path=/trunk/; revision=38142
2008-12-17 05:51:06 +00:00
Dmitry Gorbachev
466378bd87
In GetQueuedCompletionStatus function:
...
- change order of arguments of NtRemoveIoCompletion function,
- check maybe it returns STATUS_TIMEOUT.
svn path=/trunk/; revision=38141
2008-12-17 05:50:20 +00:00
Jeffrey Morlan
82f0f59917
Fix bug where DIR /D wouldn't always show all files; merge duplicated code between /W and /D
...
svn path=/trunk/; revision=38131
2008-12-16 23:51:20 +00:00