Commit graph

33969 commits

Author SHA1 Message Date
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
Daniel Reimer
480c8cbd40 Sync winfile with wine HEAD.
Bug 3881: Greek update by Apostolos Alexiadis

svn path=/trunk/; revision=38153
2008-12-17 15:41:17 +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
Stefan Ginsberg
52eab0439a - Hack-skip the gdi32 font test in an attempt to fix the infinite loop build server encounters
svn path=/trunk/; revision=38140
2008-12-17 05:46:56 +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
Stefan Ginsberg
a99a144adb - Sync gdiplus Winetest too
svn path=/trunk/; revision=38124
2008-12-16 18:41:26 +00:00
Stefan Ginsberg
587db429a4 - Sync gdiplus with Wine head
svn path=/trunk/; revision=38123
2008-12-16 18:41:07 +00:00
Timo Kreuzer
327684fd1c Fix usage of PNTSTATUS instead of NTSTATUS in NT_SUCCESS, which could result in IopCheckVpbMounted returning a wrong status code
svn path=/trunk/; revision=38121
2008-12-16 18:12:13 +00:00
Stefan Ginsberg
1258b49708 - Add missing break (<3 kjk <3)
svn path=/trunk/; revision=38120
2008-12-16 17:51:57 +00:00
Timo Kreuzer
7d2ae2011e Let rbuild throw an exception when an implicit module dependency (like mingw lib) cannot be resolved instead of silently failing.
svn path=/trunk/; revision=38118
2008-12-16 15:51:55 +00:00
Stefan Ginsberg
2521c1979a - Remove KeRosDumpStackFrames export and make the call go through KdSystemDebugControl instead
svn path=/trunk/; revision=38117
2008-12-16 15:25:51 +00:00
Stefan Ginsberg
45aaa00ef8 - Temporarily revert part of 38078 to make build server builds bootable again
svn path=/trunk/; revision=38116
2008-12-16 14:50:57 +00:00
Johannes Anderwald
7f7f904854 - Implement KsCreateAllocator, KsRegisterWorker, KsUnregisterWorker, KsRegisterCountedWorker, KsDecrementCountedWorker, KsIncrementCountedWorker, KsQueueWorkItem
svn path=/trunk/; revision=38115
2008-12-16 13:19:53 +00:00
Dmitry Gorbachev
4c0f9b5052 Fix TLS callbacks. Testers, please test it on real software.
svn path=/trunk/; revision=38113
2008-12-15 18:19:18 +00:00
Stefan Ginsberg
3e536240a1 - Revert part of 37861 on kjk's request
svn path=/trunk/; revision=38112
2008-12-15 18:18:23 +00:00
Stefan Ginsberg
ab621541ae - Silence debug spam
svn path=/trunk/; revision=38109
2008-12-15 14:43:25 +00:00
Timo Kreuzer
e50e0d8646 - remove outdated files from mingw lib
- remove allowwarnings=true

svn path=/trunk/; revision=38108
2008-12-15 14:02:28 +00:00
Dmitry Chapyshev
32dfe68057 - Formatting fix
svn path=/trunk/; revision=38107
2008-12-15 13:54:34 +00:00
Timo Kreuzer
be2c347725 fix a typo
svn path=/trunk/; revision=38104
2008-12-15 12:26:16 +00:00
Dmitry Chapyshev
d07b497cbb - Add ACTIVATION_CONTEXT_STACK structure
- Add ICVERSION define

svn path=/trunk/; revision=38103
2008-12-15 10:48:53 +00:00
James Tabor
58d352809d - Fix bitmap tests.
svn path=/trunk/; revision=38102
2008-12-15 05:48:22 +00:00
James Tabor
8a3fedace3 - Implement DIB section attribute flag support.
- Fix height negativity being passed to NtGdiCreateCompatibleBitmap. See bug 3947.

svn path=/trunk/; revision=38101
2008-12-15 05:25:31 +00:00
Timo Kreuzer
e9d55d0638 mbctype.h: fix broken _mbctype[] and _mbcasemap[] declarations
sec_api/time_s.h: add asctime_s
stdio.h: comment out defines for non-conforming swprintfs
sys/utime.h: fix definition of _utime / _utime32 to be compatible to msvc while linking to msvcrt.dll
tchar.h: add secure time functions
fixes msvcrt_winetest

svn path=/trunk/; revision=38088
2008-12-14 23:41:51 +00:00
Timo Kreuzer
2f3c5f280b - Replace a 'for' with a 'do .. while '
- Make sure OutputDebugStringA terminates with a newline
Fixes winetest debug output. I wonder how it worked before. Dedicated to Stefan100.

svn path=/trunk/; revision=38087
2008-12-14 23:18:59 +00:00
Timo Kreuzer
39324400b9 [FORMATTING]
Fix indentation, no code change

svn path=/trunk/; revision=38086
2008-12-14 22:52:51 +00:00
KJK::Hyperion
41dd7167ea Revert r38084
Sigh.

svn path=/trunk/; revision=38085
2008-12-14 22:44:33 +00:00
KJK::Hyperion
41467cc1ad Supersedes r38081
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 every time a _SEH2_TRY/_SEH2_EXCEPT is entered, instead of only the first time: correctly handles code compiled with -fomit-frame-pointers
   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=38084
2008-12-14 21:50:31 +00:00
Dmitry Gorbachev
e415cd9e65 - Use HEAP_ZERO_MEMORY instead of memset().
- Do not crash if no adapter found.

svn path=/trunk/; revision=38083
2008-12-14 20:45:16 +00:00
KJK::Hyperion
966a02f90b Revert r38081
svn path=/trunk/; revision=38082
2008-12-14 19:54:52 +00:00
KJK::Hyperion
0d1b89e5c2 modified include/reactos/libs/pseh/pseh2.h
modified   lib/pseh/framebased-gcchack.c
   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 every time a _SEH2_TRY/_SEH2_EXCEPT is entered, instead of only the first time: correctly handles code compiled with -fomit-frame-pointers
   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=38081
2008-12-14 19:49:05 +00:00
Dmitry Gorbachev
47b29bf325 Fix winsta.dll rbuild file.
svn path=/trunk/; revision=38079
2008-12-14 13:52:28 +00:00
Eric Kohl
41a958b128 - SEH-protect LsaClose, LsaDelete and LsaOpenPolicy.
- Move the code of LsaOpenPolicy into LsarOpenPolicy and make LsaOpenPolicy call LsarOpenPolicy.

svn path=/trunk/; revision=38078
2008-12-14 13:16:16 +00:00
Michael Martin
1605d036fe - Use volatile with PagesLocked and MdlAddress. Fixes bug #3674.
- For safety may have to declare all variable used in except this way.

svn path=/trunk/; revision=38077
2008-12-14 12:14:00 +00:00
Aleksey Bragin
5e305bbdf6 - Undo one "fix" from 38075. Coverity warned you about possible double check of the same pointer (though in || you probably can't go without it), but one check should definately stay! SpiGetLunExtension can return NULL!
svn path=/trunk/; revision=38076
2008-12-14 11:59:21 +00:00
Stefan Ginsberg
a9295e691b - Fix a broken loop
- Remove unnecessary checks
- Fixes CID 171, 172 and 655

svn path=/trunk/; revision=38075
2008-12-14 10:15:49 +00:00
Stefan Ginsberg
afa4c210b2 - Get rid off STATIC, DECL_IMPORT and DECL_EXPORT
- Fix FIELD_OFFSET

svn path=/trunk/; revision=38074
2008-12-14 10:02:46 +00:00
KJK::Hyperion
0cb750adfa modified lib/pseh/framebased-gcchack.c
modified   lib/pseh/i386/framebased-gcchack.S
   Correctly chain exceptions raised during unwinding by "finally" blocks
   Sanitize direction flag before any C code is executed, just to be totally safe
   Clean up code

svn path=/trunk/; revision=38069
2008-12-14 02:55:50 +00:00
Timo Kreuzer
db8c91d651 fix utime usage
svn path=/trunk/; revision=38068
2008-12-14 01:43:24 +00:00
Timo Kreuzer
7f8b6003c6 revert last commit
svn path=/trunk/; revision=38067
2008-12-14 01:28:01 +00:00
Timo Kreuzer
d469155aa7 revert 38059 to see if it has effected the output of winetests
svn path=/trunk/; revision=38066
2008-12-14 01:13:49 +00:00
Eric Kohl
bac49255c5 - Make the service manager wait for LSA.
- Winlogon must not wait for the service mananger, otherwise we will get another deadlock.

svn path=/trunk/; revision=38065
2008-12-14 01:01:16 +00:00
Stefan Ginsberg
76e4f9ca92 - Hack away mru tests as Cm is broken
svn path=/trunk/; revision=38064
2008-12-14 00:46:06 +00:00