Commit graph

31936 commits

Author SHA1 Message Date
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
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 6b4c969767 - Disable lsasrv and advapi debug tracing, accidentally committed in 38041
svn path=/trunk/; revision=38063
2008-12-14 00:05:19 +00:00
Timo Kreuzer 14fa0ef142 fix build of rostests
svn path=/trunk/; revision=38059
2008-12-13 23:12:44 +00:00
Timo Kreuzer 76a198afb9 Update crt headers and mingw lib from mingw64. Update crt a bit. 4 msvcrt time tests fixed.
svn path=/trunk/; revision=38052
2008-12-13 21:28:05 +00:00
Gregor Schneider d7b72f79a2 Update RtlIsTextUnicode, ntdll rtlstr winetest failure down by 10, one remaining
svn path=/trunk/; revision=38051
2008-12-13 21:22:07 +00:00
Gregor Schneider 681e0e0b24 - Update _makepath and _wmakepath to allow in place operation and separated extension processing, based on wine code
- Fixes all 14 msvcrt dir winetests

svn path=/trunk/; revision=38050
2008-12-13 21:06:47 +00:00
Aleksey Bragin 70195c5fa2 - Add missing PSHARED_CACHE_MAP.
svn path=/trunk/; revision=38048
2008-12-13 19:31:40 +00:00
Aleksey Bragin fcd0ee7931 - Sync with Wine.
svn path=/trunk/; revision=38047
2008-12-13 19:30:38 +00:00
Dmitry Gorbachev 8a8705ed19 Remove workaround for GCC 4.4.0 bug, it is already fixed.
svn path=/trunk/; revision=38043
2008-12-13 15:49:41 +00:00
Dmitry Gorbachev 030afbd185 - Remove DBCSCodePage field from NLS_FILE_HEADER structure.
- Make RtlInitCodePageTable function slightly clearer.
- Fix IntIsLeadByte function (thanks to Gregor Schneider, bug #3944).

svn path=/trunk/; revision=38042
2008-12-13 15:42:56 +00:00
Eric Kohl 8fb679dc7c Do not start LSASS as a service but as an ordinary process because:
1) LSASS and the NetLogon service are not the same.
2) The service manager must wait for LSASS to finish initialization. If LSASS is started as a service we will have a classic deadlock scenario.

svn path=/trunk/; revision=38041
2008-12-13 14:47:07 +00:00
Timo Kreuzer 0dc6254f67 errcode is a type. using it as parameter name in a old type function declaration doesn't work.
Use modern style declaration

svn path=/trunk/; revision=38039
2008-12-13 01:05:46 +00:00
Timo Kreuzer 0c36e47417 update dbghelp_ros.diff. Only one tiny change left
svn path=/trunk/; revision=38038
2008-12-13 00:54:45 +00:00
Timo Kreuzer eacec70b46 sync dbghelp to wine head
- replace wine's spec file with an own one
- add back the stubs file and rename it to rosstubs.c, so next time someone syncs dbghelp, he might notice that this file is ros specific and does NOT delete it
- fix FindFileInPath definition in dbghelp.h
- update wine/mscvpdb.h

svn path=/trunk/; revision=38037
2008-12-13 00:52:11 +00:00
Timo Kreuzer 4666ae75a3 add _strtoi64 and _strtoui64 to stdlib.h
svn path=/trunk/; revision=38036
2008-12-13 00:32:37 +00:00
Timo Kreuzer 88f1899dcb reduce the amount of hacks in dbghelp_ros.diff, also fix declaration of _strtoui64
svn path=/trunk/; revision=38034
2008-12-12 20:12:21 +00:00
Timo Kreuzer 019f6c6133 when defining ssize_t, also define _SSIZE_T_DEFINED
svn path=/trunk/; revision=38033
2008-12-12 19:37:56 +00:00
Timo Kreuzer d6326245c7 remove useless circle definition _setjmp -> setjmp -> _setjmp
svn path=/trunk/; revision=38032
2008-12-12 19:27:14 +00:00
Timo Kreuzer 076f1a2735 MAX_PATH is neither defined by ntddk.h nor by crt headers, use _MAX_PATH instead
svn path=/trunk/; revision=38031
2008-12-12 19:06:57 +00:00
Aleksey Bragin 3858e67cb6 - Stubplement winsta.dll, based on a patch by Samuel Serapion.
See issue #2299 for more details.

svn path=/trunk/; revision=38030
2008-12-12 18:26:42 +00:00
Johannes Anderwald 99a9a89ee8 - Partly implement IPortTopology port driver
svn path=/trunk/; revision=38029
2008-12-12 17:20:15 +00:00
Johannes Anderwald 39d9b7ca5c - interfaces definition for IMiniportTopology
svn path=/trunk/; revision=38028
2008-12-12 17:18:26 +00:00
Johannes Anderwald 710a394cb2 - Partly implement IPortWavePci interface
- Use IServiceSink interface for notification when capture frames are available

svn path=/trunk/; revision=38027
2008-12-12 15:01:31 +00:00
Johannes Anderwald c2dbafa667 - Add IPortWavePciStream, IMiniportWavePciStream, IMiniportWavePci
svn path=/trunk/; revision=38026
2008-12-11 23:06:58 +00:00
Aleksey Bragin f611b44733 Cary Xiao" <xiaowave@gmail.com>
- Add some code to complete breakpoint of gdbstub.
See issue #1817 for more details.

svn path=/trunk/; revision=38024
2008-12-11 19:44:56 +00:00
Aleksey Bragin dd0e4d213f - Add a commented out entry for green.sys driver.
See issue #3689 for more details.

svn path=/trunk/; revision=38023
2008-12-11 18:52:18 +00:00
Aleksey Bragin 3e8d35325b - Fix incorrect drivers installation directories.
See issue #3689 for more details.

svn path=/trunk/; revision=38022
2008-12-11 18:49:20 +00:00
Aleksey Bragin c026b4fed5 Daniel Zimmerman <netzimme@aim.com>
- Fix the "OVERRUN STATIC error" in CID 557-574 in explorer (use a byte array instead of a shortfilename-sized array).
See issue #3914 for more details.

svn path=/trunk/; revision=38020
2008-12-11 17:16:11 +00:00
Aleksey Bragin e30784ec7b - An "almost working" kbhit implementation by Russel. The code is rather crappy, feel free to improve it.
Some notes:
1) Forgive my sloppy coding skills (all those LeaveCriticalSections, use of malloc/free), a lot of it was written in a rush to get something going. 2) For some reason, the first char entered isn't detected (on windows and reactos)
3) The thread safety code is questionable, I haven't tested this, but windows does use critical sections for it.
4) Compared to the windows way of doing it, it is probably wrong.
5) Maybe other things as well.

But it does work (at least when I tested it on windows and reactos) compared to the previous implementation of it which did not at all.
See issue #3747 for more details.

svn path=/trunk/; revision=38019
2008-12-11 16:44:07 +00:00
Johannes Anderwald 9507d41bad - Implement IDrmPort, IDrmPort2 interface
svn path=/trunk/; revision=38018
2008-12-11 14:51:57 +00:00
Johannes Anderwald 4e50d43e45 - Add IDrmPort, IDrmPort2 interfaces
svn path=/trunk/; revision=38017
2008-12-11 14:51:27 +00:00
Aleksey Bragin 77a33b8c79 - Add Dll Characteristics defines.
svn path=/trunk/; revision=38016
2008-12-11 12:50:37 +00:00
Christoph von Wittich 71f965358d convert most of syssetup to unicode
svn path=/trunk/; revision=38012
2008-12-11 11:24:32 +00:00
Johannes Anderwald d56dde4a07 - Use FILE_DEVICE_KS when creating new device object
- Partly implement PcNewRegistryKey, PcRegisterSubdevice
- DPC event is a Synchronization event- Implement PcRegisterAdapterPowerManagement

svn path=/trunk/; revision=38011
2008-12-11 11:23:14 +00:00
Johannes Anderwald ce51a7b299 - Add IAdapterPowerManagement interface
svn path=/trunk/; revision=38010
2008-12-11 11:21:02 +00:00
Johannes Anderwald a5b0f9d3dc - Add undef macro to avoid warnings
svn path=/trunk/; revision=38009
2008-12-11 10:55:09 +00:00
Johannes Anderwald 283ad79b4a - add IID_IServiceSink
- add IID_IServiceGroup
- add enum for IRegistryKey

svn path=/trunk/; revision=38008
2008-12-11 10:44:50 +00:00
Christoph von Wittich 15ea296cd4 convert parts of syssetup to WCHAR - please help to fix this mess
svn path=/trunk/; revision=38007
2008-12-11 09:41:55 +00:00
Johannes Anderwald dbd198da9d - Fix RegSetValueEx parameters
- Found by Chris

svn path=/trunk/; revision=38006
2008-12-11 09:05:19 +00:00
Christoph von Wittich 193151855a don't set testplatform to wine anymore as our services code succeeds in wine todo blocks
svn path=/trunk/; revision=38005
2008-12-11 06:47:06 +00:00
Dmitry Gorbachev 676070c406 Update NLS files.
svn path=/trunk/; revision=38004
2008-12-10 22:43:37 +00:00
James Tabor af9b7168ed - Yet another victim of the Win32k Initialization BUG!
- Creating an Information DC is wrong when using it with Icon Creation. This makes the default bitmap monochrome and this is why CreateCompatibleBitmap is broken. Plus all the hacks related to making it all work in Win32k.

svn path=/trunk/; revision=38002
2008-12-10 21:14:02 +00:00
Aleksey Bragin 2794dbc70a - Impersonation level should be indeed higher that the lowest one. Fix the check accordingly. Spotted by Dmitry Gorbachev and GCC.
See issue #3939 for more details.

svn path=/trunk/; revision=37998
2008-12-10 15:24:55 +00:00
Dmitry Gorbachev 28cddcaf8e Update NLS files.
svn path=/trunk/; revision=37997
2008-12-10 12:07:43 +00:00
Christoph von Wittich c7e268bb6b fail when there are no sub authorities
svn path=/trunk/; revision=37996
2008-12-10 08:29:03 +00:00
Christoph von Wittich 8ab21576b5 use constant instead of value to avoid further "hm?" from Alex
svn path=/trunk/; revision=37995
2008-12-10 07:34:02 +00:00
Daniel Reimer 29b4de77bf Bug 3942: "Translate update norwegian" by Lars Martin Hambro
Small sidenote: I accidently commited a patch for XBox Support from Martin_sW in r31325 ~1 year ago...
It adds handover XBox HDD information to ROS Kernel into freeldr and is needed for new ROS Versions to start on XBox.
This + xbox hal + xbox vbe driver + moddded bootvid driver (not commited yet (/me looks at Fireball)) makes ROS boot on XBox.

svn path=/trunk/; revision=37994
2008-12-10 07:08:31 +00:00
James Tabor 50f45e4521 - Make sure SecurityDescriptor is not NULL.
svn path=/trunk/; revision=37983
2008-12-09 20:28:26 +00:00
Stefan Ginsberg 2291d9b3b4 - Remove traces
svn path=/trunk/; revision=37979
2008-12-09 19:00:46 +00:00
Stefan Ginsberg 2327d45c5a - Remove trace, change trace
svn path=/trunk/; revision=37977
2008-12-09 18:35:06 +00:00
Stefan Ginsberg cd8bdd5562 - More trace :/
svn path=/trunk/; revision=37975
2008-12-09 18:20:18 +00:00
Stefan Ginsberg be8a2bb4fb - Temporarily add tracing to ConvertStringSecurityDescriptorToSecurityDescriptorW and LocalAlloc to figure out why the tests crashes on build server -- will be reverted ASAP
svn path=/trunk/; revision=37974
2008-12-09 18:04:58 +00:00
Christoph von Wittich f39793d4ca implement hex value support for ParseAccessMaskString
sync ComputeStringSidSize with wine

svn path=/trunk/; revision=37971
2008-12-09 16:39:03 +00:00
Dmitry Gorbachev 69096be449 Fix IntIsValidSBCSMapping(). Bug #3903.
svn path=/trunk/; revision=37970
2008-12-09 16:13:51 +00:00
Dmitry Gorbachev 14572bf220 Provide memcmp() for GCC 4.4.0.
svn path=/trunk/; revision=37965
2008-12-09 15:05:02 +00:00
Kamil Hornicek cc0170cf68 - sync d3d8, d3d9 with wine
svn path=/trunk/; revision=37962
2008-12-09 13:50:12 +00:00
Kamil Hornicek cbea1f27b7 - revert 37958 for now, sorry
svn path=/trunk/; revision=37959
2008-12-09 12:27:50 +00:00
Kamil Hornicek 5c70658299 - remove leftovers
svn path=/trunk/; revision=37958
2008-12-09 12:17:40 +00:00
Kamil Hornicek 5fd8a2eae0 - sync wined3d with wine
svn path=/trunk/; revision=37957
2008-12-09 12:16:19 +00:00
Christoph von Wittich 185cda7129 SeUnsolicitedInputPrivilege is obsolete - the LUID is used by SE_MACHINE_ACCOUNT_PRIVILEGE now
svn path=/trunk/; revision=37955
2008-12-09 08:33:26 +00:00
Christoph von Wittich cb7b9ef083 sync CreateWellKnownSid with wine
svn path=/trunk/; revision=37954
2008-12-09 07:09:25 +00:00
James Tabor f785412af3 - Fixed build.
svn path=/trunk/; revision=37953
2008-12-09 06:05:29 +00:00
James Tabor 87e41ba6e7 - Add CP_UNIXCP for CP_ACP, this will help cross tests.
svn path=/trunk/; revision=37952
2008-12-09 05:58:23 +00:00
James Tabor cf7857d09f - New patch by hto: Suspicious code in User32.dll, see bug 3935.
svn path=/trunk/; revision=37951
2008-12-09 01:40:37 +00:00
Johannes Anderwald 0bfc5f6d4d - implement IServiceGroup interface
- implement PcNewServiceGroup

svn path=/trunk/; revision=37950
2008-12-08 23:30:16 +00:00
Johannes Anderwald c28aa247f6 - Partly implement PcRegisterIoTimeout, PcUnregisterIoTimeout
svn path=/trunk/; revision=37946
2008-12-08 21:42:44 +00:00
Johannes Anderwald 6fe59166a1 - Implement IResourceList_AddEntryFromParent
- Implement PcNewResourceSublist

svn path=/trunk/; revision=37945
2008-12-08 20:18:02 +00:00
Gregor Schneider e9c0e48377 - IntGetDeviceGammaRamp: remove unneeded code, i * 256 is always smaller than 65535 (255*256=65280 is the biggest value), CID 35
- IntSetDeviceGammaRamp: don't copy data to NULL buffer, CID 195

svn path=/trunk/; revision=37944
2008-12-08 19:44:13 +00:00
Johannes Anderwald e20af6d632 - Experimental IInterrupt object implementation
svn path=/trunk/; revision=37943
2008-12-08 19:08:07 +00:00
Johannes Anderwald 1972995045 - Add IID_IInterruptSync
svn path=/trunk/; revision=37942
2008-12-08 19:06:15 +00:00
Gregor Schneider fb604382b6 Fix two duplicate checks - obviously copy/pasted, CIDs 74 and 75
svn path=/trunk/; revision=37941
2008-12-08 17:02:19 +00:00
Gregor Schneider 866e5d59a0 - Remove unreachable code, CID 53
- Simplify parameter checks, fix return value, set last error correctly, fix typo

svn path=/trunk/; revision=37940
2008-12-08 16:27:28 +00:00
Christoph von Wittich 8019ca7330 fix ConvertStringSidToSidW
svn path=/trunk/; revision=37939
2008-12-08 15:51:53 +00:00
Stefan Ginsberg e03e004690 - 'STATIC' -> 'static'
svn path=/trunk/; revision=37936
2008-12-08 13:33:44 +00:00
Aleksey Bragin 68eb71cda7 - Move KeQueryRuntimeThread declaration to winddk.h (spotted by Stefan Ginsberg).
svn path=/trunk/; revision=37935
2008-12-08 13:13:36 +00:00
Aleksey Bragin 7b11a5fcdb - Implement KeQueryRuntimeProcess for querying total user/kernel times of a process.
- Use it for obtaining idle process times, and per-process information in QuerySystemInformation routines.
- Fix incorrect multiplier being applied to user/kernel times (should be KeMaximumIncrement instead of 100000).
- Slightly rework SystemProcessorPerformanceInformation to provide valid data.
- This fixed a bug existing since revision 24148, 2 years ago.
See issue #2329 for more details.

svn path=/trunk/; revision=37934
2008-12-08 12:57:53 +00:00
James Tabor 0e162bfb0b - Please dont break functionality due to a compiler problem, just fix it.
svn path=/trunk/; revision=37928
2008-12-08 07:57:18 +00:00
James Tabor cbe31af1b2 - Patch by hto: Suspicious code in User32.dll, see bug 3935.
svn path=/trunk/; revision=37922
2008-12-08 03:34:22 +00:00
Dmitry Gorbachev c63a203efa Put inline functions into header files.
svn path=/trunk/; revision=37921
2008-12-07 23:40:23 +00:00
Dmitry Gorbachev 32580ec32a Silence GCC warnings.
svn path=/trunk/; revision=37919
2008-12-07 21:52:22 +00:00
Dmitry Gorbachev 2772b79efd Remove stray semicolon, change indentation.
svn path=/trunk/; revision=37918
2008-12-07 21:49:30 +00:00
Dmitry Gorbachev 309ea97e6c Add missing parentheses.
svn path=/trunk/; revision=37917
2008-12-07 21:48:44 +00:00
Stefan Ginsberg cdb295c734 - Change more ASSERT(FALSE) to KeBugCheck(MEMORY_MANAGEMENT) so it dies on release build too
svn path=/trunk/; revision=37914
2008-12-07 18:05:28 +00:00
Gregor Schneider 2c22befead - Fix drawing the status bar over the play cards, happened if no status bar was specified on sol startup (Win and ROS behavior); the bar has to be created to get the coords right - so we'll just hide it if we don't need it (like it's done when toggling status bar visibility in options)
- Additional cleanup by Roel Messiant, <roelmessiant AT gmail DOT com>:
- Replace the default options magic value by the proper constant
- Status bar height was being set wrong, but the system's constraint was fixing this behind the screens
- See bugs #3336 and #3820 for more info

svn path=/trunk/; revision=37913
2008-12-07 18:04:56 +00:00
Timo Kreuzer be0e9fd9c7 Merge 34758, 34771, 34786, 34787, 34906, 35826, 36174, 36274, 36444, 36445, 36446, 36447, 36448, 36477, 36511, 36898, 36903 from amd64 branch
svn path=/trunk/; revision=37910
2008-12-07 12:11:46 +00:00
Eric Kohl 467aff9230 - Introduce a common header file.
- Use Wine-style debug code everywhere.

svn path=/trunk/; revision=37906
2008-12-06 21:33:49 +00:00
Aleksey Bragin 5abd794cd0 - Fix a potential case of non-paged pool memory double freeing. Spotted by Michael Martin.
svn path=/trunk/; revision=37905
2008-12-06 19:35:54 +00:00
Timo Kreuzer d610c156c6 - move CONTEXT stuff from wdm.h to winddk.h / armddk.h
- inlcude intrin.h in wdm.h
- avoid redefining PCONTEXT
- use intrinsics for BitScanForward/Reverse

svn path=/trunk/; revision=37902
2008-12-06 18:31:33 +00:00
Timo Kreuzer 72d7ea8bc3 rename section "init" to "INIT", so that pefixup will actually recognize it
svn path=/trunk/; revision=37901
2008-12-06 18:25:06 +00:00
Aleksey Bragin 12376e5bfa - Implement IoGetRemainingStackSize.
svn path=/trunk/; revision=37900
2008-12-06 14:59:11 +00:00
Aleksey Bragin 3cf14110c4 - Add missing function declarations.
svn path=/trunk/; revision=37899
2008-12-06 14:52:16 +00:00
Aleksey Bragin fd38a91b3a - Merge Pierre's changes to ntifs.h from the branch, with my edits.
- Remove a duplicate structure which does not exist in official ntifs.h.
- Fix a typo in PNOTIFY_SYNC declaration.

svn path=/trunk/; revision=37898
2008-12-06 14:36:03 +00:00
Hervé Poussineau 2a8bf4162a Fix a race condition between umpnpmgr service and CMP_WaitNoPendingInstallEvents API.
svn path=/trunk/; revision=37894
2008-12-06 12:54:24 +00:00
Dmitry Chapyshev 1a716522d1 - Add localui from Wine
- Add baseaddress for localui
- Add localui to bootcd

svn path=/trunk/; revision=37893
2008-12-06 12:09:14 +00:00
Dmitry Chapyshev 52ce98d5ec - Update headers
- Add more stubs for winspool

svn path=/trunk/; revision=37892
2008-12-06 11:18:08 +00:00
Eric Kohl b7903f6d19 Replace call to ExtractIconExW (shell32.dll) by a call to PrivateExtractIconExw (user32.dll) and remove shell32.dll from the list of linked libraries because shell32.dll requires a valid user account upon initialization.
Please remember: Don't use high-level DLLs in low-level components (dll or exe)!!!!

svn path=/trunk/; revision=37891
2008-12-06 11:13:50 +00:00
Aleksey Bragin fa01d268d4 - Add reserved reparse tags definitions.
svn path=/trunk/; revision=37890
2008-12-06 11:05:21 +00:00
Dmitry Chapyshev 6928b46129 .def -> .spec
svn path=/trunk/; revision=37888
2008-12-06 10:28:06 +00:00
Dmitry Chapyshev acb0743239 - Sync mlang with Wine 1.1.10
svn path=/trunk/; revision=37885
2008-12-06 09:39:38 +00:00
Dmitry Chapyshev 5efd259091 - Sync headers with Wine head
- Sync gdiplus with Wine head

svn path=/trunk/; revision=37882
2008-12-06 09:26:01 +00:00
Dmitry Chapyshev 5947224729 - Add CFSTR_SHELLIDLISTA
svn path=/trunk/; revision=37877
2008-12-06 09:10:05 +00:00
Dmitry Chapyshev 336ef53fac - Implement SetupInstallFileA/W
- Stub implement SetupPromptForDiskA/W
All from Wine.

svn path=/trunk/; revision=37876
2008-12-06 09:07:05 +00:00
Timo Kreuzer 1f8539a65e fix FIELD_OFFSET macro
svn path=/trunk/; revision=37866
2008-12-05 12:10:31 +00:00
Timo Kreuzer 8156dcd959 fix x64 definition of __readmsr()
svn path=/trunk/; revision=37865
2008-12-05 12:00:39 +00:00
Eric Kohl 7366e052b4 Sync to wine-1.1.4:
- Rob Shearman <robertshearman@gmail.com> Tue, 26 Aug 2008
widl: Raise RPC_X_SS_IN_NULL_CONTEXT exception for NULL in-only context handles instead of RPC_X_NULL_REF_PTR.

Based on a patch by Michael Martin.

- Alexandre Julliard <julliard@winehq.org> Sat, 30 Aug 2008
widl: Replace write_name() by get_name() to make the code more readable.

- Dan Hipschman <dsh@linux.ucla.edu> Tue, 2 Sep 2008
widl: Output NULL for inherited methods in the vtbl.

svn path=/trunk/; revision=37862
2008-12-04 21:22:42 +00:00
KJK::Hyperion 31b83f59b6 modified tools/rbuild/backend/mingw/modulehandler.cpp
DWARF debugging information confuses rsym, and DWARF-2 information from internal libraries (like libgcc) results in huge executables that don't even run on Windows. Therefore, before the rsym phase, strip all DWARF-2 sections
   This is a HACK for gcc builds compiled with DWARF-2 symbols (e.g. 4.3.2-tdm-1). The real solution (to be implemented soon) is to parse DWARF-2 line numbers in rsym
   Amendment to r37851: use objcopy instead of strip because strip gets us more than we bargained for, and strips all debug information too

modified   tools/rsym.c
   Don't overrun a heap block when there are discarded relocations

svn path=/trunk/; revision=37861
2008-12-04 21:13:43 +00:00
Eric Kohl 599818849a Sync to wine-1.1.3:
- Dan Hipschman <dsh@linux.ucla.edu> Thu, 7 Aug 2008
widl: Honor typedef pointer attributes.

svn path=/trunk/; revision=37860
2008-12-04 20:20:08 +00:00
Eric Kohl f12d11b4f7 Sync to wine-1.1.1 (Patch 10 of 10):
- Alexandre Julliard <julliard@winehq.org> Mon, 7 Jul 2008
Add noinput directive to all lex files to avoid a compiler warning.

svn path=/trunk/; revision=37859
2008-12-04 19:52:55 +00:00
Eric Kohl 663337847e Sync to wine-1.1.1 (Patch 9 of 10):
- Alexandre Julliard <julliard@winehq.org> Mon, 7 Jul 2008
widl: Fix a couple of uninitialized variable compiler warnings.

svn path=/trunk/; revision=37858
2008-12-04 19:37:53 +00:00
Timo Kreuzer 25105f9fec fix some ULONG/ULONG_PTR issues
svn path=/trunk/; revision=37857
2008-12-04 19:08:55 +00:00
KJK::Hyperion 45f6b70b73 Undo r37851 because rsym sucks
svn path=/trunk/; revision=37856
2008-12-04 19:01:50 +00:00
Johannes Anderwald b355317137 - Implement PcGetDeviceProperty, PcGetTimeInterval
- Stub interfaces of IDmaChannel, IDmaChannelSlave
- Stub IMiniport adapters IMiniportDMus
- Stub IPort drivers (IPortDMus, IPortMidi, IPortTopology, IPortWaveCyclic, IPortWavePci)
- Implement IRegistryKey interface
- Enhance IResource interface

svn path=/trunk/; revision=37855
2008-12-04 18:43:42 +00:00
Gregor Schneider ea4870e585 Free allocated resource on error, CID 1358.
svn path=/trunk/; revision=37853
2008-12-04 16:46:54 +00:00
Johannes Anderwald d27e3fc707 - Add interfaces for IMasterClock, IMXF, IAllocatorMXF, IPortDMus, IMiniportDMus
svn path=/trunk/; revision=37852
2008-12-04 16:29:56 +00:00
KJK::Hyperion 0e80776aff DWARF debugging information confuses rsym, and DWARF-2 information from internal libraries (like libgcc) results in huge executables that don't even run on Windows. Therefore, before the rsym phase, strip all DWARF-2 sections
This is a HACK for gcc builds compiled with DWARF-2 symbols (e.g. 4.3.2-tdm-1). The real solution (to be implemented soon) is to parse DWARF-2 line numbers in rsym

svn path=/trunk/; revision=37851
2008-12-04 16:09:26 +00:00
KJK::Hyperion bf1d153d93 modified lib/3rdparty/mingw/main.c
Make -Wno-main redundant

modified   tools/rbuild/backend/mingw/modulehandler.cpp
   -Wno-main now redundant

svn path=/trunk/; revision=37850
2008-12-04 15:49:47 +00:00
Stefan Ginsberg 54e241e287 - Don't cache a value if we might dereference NULL
- Fix for CID 653

svn path=/trunk/; revision=37848
2008-12-04 15:15:01 +00:00
Stefan Ginsberg 529ad41347 - Fix some redefinitions
svn path=/trunk/; revision=37846
2008-12-04 14:11:57 +00:00
Aleksey Bragin d085625992 - WDK defines PNOTIFY_SYNC as a pointer to VOID.
svn path=/trunk/; revision=37845
2008-12-04 14:01:50 +00:00
Aleksey Bragin 8c52058f73 - Fix FsRtlFastCheckLockForRead and Write function prototypes.
svn path=/trunk/; revision=37843
2008-12-04 11:12:42 +00:00
Johannes Anderwald 2242fa6da1 - Add CLSIDs for Miniport drivers
- Add IIDs for IResourceList, IRegistryKey
- Add IMiniportWaveCyclicStream, IMiniportWaveCyclic interface 

svn path=/trunk/; revision=37842
2008-12-04 08:44:17 +00:00
Dmitry Gorbachev 987313245b Fix them second time.
svn path=/trunk/; revision=37841
2008-12-04 00:55:15 +00:00
Dmitry Gorbachev 5bbb02373a Fix Ke386Get(Global|Local|Interrupt)DescriptorTable, Ke386GetTr.
svn path=/trunk/; revision=37840
2008-12-03 22:24:29 +00:00
Dmitry Gorbachev 9791da2e85 Trying to fix...
svn path=/trunk/; revision=37839
2008-12-03 18:04:26 +00:00
Dmitry Gorbachev d633d025d8 Slovak patch by Mario Kacmar aka Kario (bug #3934).
svn path=/trunk/; revision=37838
2008-12-03 17:52:24 +00:00
Dmitry Gorbachev a8089cfb97 Fix Unicode -> Multibyte conversion (bug #3903).
svn path=/trunk/; revision=37836
2008-12-03 17:40:49 +00:00
Dmitry Gorbachev 774b7483da Remove stray semicolons, GCC gratias.
svn path=/trunk/; revision=37835
2008-12-03 17:39:55 +00:00
Dmitry Gorbachev c920f222c0 Fix GCC complaints about uninitialized variables (bug #3912).
svn path=/trunk/; revision=37834
2008-12-03 17:38:56 +00:00
Dmitry Gorbachev 5bc250cc36 Silence compiler warnings (11/11).
svn path=/trunk/; revision=37833
2008-12-03 17:37:58 +00:00
Dmitry Gorbachev e1f79c3b49 Silence compiler warnings (10/11).
svn path=/trunk/; revision=37832
2008-12-03 17:37:23 +00:00
Dmitry Gorbachev b3597def85 Silence compiler warnings (9/11).
svn path=/trunk/; revision=37831
2008-12-03 17:36:23 +00:00
Dmitry Gorbachev 7e3410d2b3 Silence compiler warnings (8/11).
svn path=/trunk/; revision=37830
2008-12-03 17:34:49 +00:00
Dmitry Gorbachev ff091bdac5 Silence compiler warnings (7/11).
svn path=/trunk/; revision=37829
2008-12-03 17:33:13 +00:00
Dmitry Gorbachev 120359ef8e Silence compiler warnings (6/11).
svn path=/trunk/; revision=37828
2008-12-03 17:32:36 +00:00
Dmitry Gorbachev 620e4cad34 Silence compiler warnings (5/11).
svn path=/trunk/; revision=37827
2008-12-03 17:31:38 +00:00
Dmitry Gorbachev ebaf0cf88c Silence compiler warnings (4/11).
svn path=/trunk/; revision=37826
2008-12-03 17:29:38 +00:00
Dmitry Gorbachev d202dab4fa Silence compiler warnings (3/11).
svn path=/trunk/; revision=37825
2008-12-03 17:28:59 +00:00
Dmitry Gorbachev 44c8aa557c Silence compiler warnings (2/11).
svn path=/trunk/; revision=37824
2008-12-03 17:28:33 +00:00
Dmitry Gorbachev 5148a03069 Silence compiler warnings (1/11).
svn path=/trunk/; revision=37823
2008-12-03 17:28:24 +00:00
Stefan Ginsberg 2220f06c73 - Make imagehlp compile warning free (don't mix Wine and ros debug style, add missing casts)
svn path=/trunk/; revision=37817
2008-12-03 13:05:54 +00:00
Stefan Ginsberg 902da9ebac - Patch by hto: Correct definitions of PSN_* constants
See issue #3925 for more details.

svn path=/trunk/; revision=37816
2008-12-03 12:48:53 +00:00
KJK::Hyperion d3e2e5e2ca MinGW does have vsnprintf. Fixes a warning in libxml2
Dedicated to Samuel Serapión

svn path=/trunk/; revision=37815
2008-12-02 23:18:25 +00:00
Eric Kohl 4a6ded56dd Sync to wine-1.1.1 (Patch 8 of 10):
- Rob Shearman <robertshearman@gmail.com> Fri, 4 Jul 2008
widl: Remove some unnecessary calls to duptype.

svn path=/trunk/; revision=37814
2008-12-02 21:08:02 +00:00
Eric Kohl 9fcfc6eb1e Sync to wine-1.1.1 (Patch 7 of 10):
- Rob Shearman <robertshearman@gmail.com> Fri, 4 Jul 2008
widl: Rename find_type_helper, find_type and find_type2 to find_type, find_type_error and find_type_error2 respectively.

svn path=/trunk/; revision=37813
2008-12-02 20:45:09 +00:00
Colin Finck 48068dfdd4 Revert r37802, which reverted r37801, which was previously reverted in r37477 reverting r37476.
In other words: Reapply ekohl's widl change part 4, as the Release slave should build it properly now.

svn path=/trunk/; revision=37812
2008-12-02 19:17:32 +00:00
Colin Finck c00c841bd4 Revert my changes in r37808.
Reenable testing on undefined properties, they are treated as being empty now. This feature got lost when moving the <if> block parsing entirely to rbuild in r34852.

Should fix the Release build properly _with_ touching rbuild :-)

svn path=/trunk/; revision=37811
2008-12-02 19:05:11 +00:00
Daniel Reimer 533570807b RamDRV is not in our tree anymore.
svn path=/trunk/; revision=37809
2008-12-02 15:55:24 +00:00
Colin Finck 61eedb351a KDBG needs DBG to be set, I can't imagine any useful situation for KDBG without DBG.
Change the <if> logic in ReactOS-general.rbuild (and ReactOS-arm.rbuild for the ARM guys) accordingly. This also supersedes DBG_OR_KDBG, which never worked properly for Release builds anyway.

Should fix the Release build without touching rbuild itself :-)

svn path=/trunk/; revision=37808
2008-12-02 11:38:23 +00:00
Daniel Reimer 9bec5399de ByeBye 100 MB Log File. Byebye, 200 kB/s
svn path=/trunk/; revision=37806
2008-12-02 09:08:01 +00:00
Andrew Munger ed4de66a9b Nevermind, I'd rather have the debug build. Someone fix this correctly, please.
svn path=/trunk/; revision=37805
2008-12-02 08:38:03 +00:00
Andrew Munger 6fa1c22603 "Fix" the release build.
svn path=/trunk/; revision=37804
2008-12-02 08:10:36 +00:00
James Tabor 3f5de2feb4 - Correct the copyright header for path.c. Crediting Dmitry Timoshkov for his great work in the Open Source Software movement.
svn path=/trunk/; revision=37803
2008-12-01 21:38:57 +00:00
Eric Kohl 371bfcc3b2 Revert 37801 because it still breaks the release build.
svn path=/trunk/; revision=37802
2008-12-01 20:38:24 +00:00
Eric Kohl 4b639a0b94 Sync to wine-1.1.1 (Patch 4 of 10):
ATTENTION: You MUST run "clean" before building ReactOS, otherwise WIDL will crash when it is run.

- Dan Hipschman <dsh@linux.ucla.edu> Tue, 1 Jul 2008
widl: Implement type redefinition checks.

This allows widl to catch type redefinitions and report an error, like MIDL.
However, this does a better job than MIDL since it also reports the location of the originial definition, like GCC.

CREDITS: Thanks to Christoph and Martin von Wittich for updating the Release-Buildslave. This patch should now build on both Buildslaves.

svn path=/trunk/; revision=37801
2008-12-01 20:33:43 +00:00
Andrew Munger a8e3000e64 Gimme back mah ftp.
Revert 37791.

svn path=/trunk/; revision=37798
2008-12-01 18:33:55 +00:00
Johannes Anderwald 6d553afec5 - Pass the directory of the file to ShellExecuteExW
svn path=/trunk/; revision=37797
2008-12-01 16:51:59 +00:00
Aleksey Bragin b4a3a4d8e3 - Don't enable FULL debug output for a module in trunk unless REALLY necessary.
svn path=/trunk/; revision=37796
2008-12-01 16:30:15 +00:00
Stefan Ginsberg 61106bdf73 - Don't redefine PKSYSTEM_ROUTINE
- Don't include x86 headers for all architectures
- Don't use system_header
- Add a note for ARM team

svn path=/trunk/; revision=37795
2008-12-01 16:27:58 +00:00
Stefan Ginsberg 9bd2938989 - Remove the remaining system_header from DDK -- this era has now come to an end
svn path=/trunk/; revision=37793
2008-12-01 15:28:54 +00:00
Stefan Ginsberg 6d811e8712 - Get rid of DDK's dependency on windef.h and winnt.h
- Clean up, fix, and add missing types to ntdef.h/ntifs.h/winddk.h/wdm.h/ntpoapi.h
- Add ntimage.h and use it in rossym and NDK
- Fix a gcc compatibility issue -- some internal NT structures have their pointer types defined in the DDK headers, but we define them along with the "struct" type when defining the full structure. MSVC is okay with this double definition, but gcc treats it as an error (hidden by system_header). Only define the "struct" type when declaring the full structure, making it compatible with both compilers.
- Also fix/add some types and header guards in NDK
- Clean up ks/portcls/drmk headers
- Fix incorrect types for some KS APIs (msdn is wrong for these) and add missing header guards
- Also, remove system_header (more of this coming up)

svn path=/trunk/; revision=37792
2008-12-01 15:12:23 +00:00
Johannes Anderwald 53db82f49c - revert 37497
- use FindFirstFileW to obtain to original filename which is passed to CreateProcess
- fixes bug 3875

svn path=/trunk/; revision=37791
2008-12-01 14:57:34 +00:00
Johannes Anderwald 7723cee0b0 fix build
mea culpa

svn path=/trunk/; revision=37790
2008-12-01 14:08:48 +00:00
Johannes Anderwald 6b053be6fe - fix ipconfig output when no nic adapter is present, patch by Lucas Suggs, <anakha AT cat DOT pdx DOT edu>
- bug 3928
- fix a few memory leaks

svn path=/trunk/; revision=37789
2008-12-01 13:54:25 +00:00
James Tabor 1de5c6737b - Patch by hto: User32: MDICascade() bug, see bug 3919.
svn path=/trunk/; revision=37788
2008-12-01 04:57:58 +00:00
James Tabor 27204c5847 - Moved SelectBitmap/Font to their proper places.
- Correct CreateCompatibleBitmap issues, finding more bugs and noted them.
- DibObj.c is a work in progress, needing more love. Managing SEH in a proper manner, fixing the SEH abuse.
- Wine gdi bitmap cross tests looking better, 16 bpp down to 50 faults.
- Need full spectrum testing, I exhausted my test suite so anything will do.


svn path=/trunk/; revision=37784
2008-12-01 00:13:45 +00:00
James Tabor 1af0b46120 - Fixed hooking bug for Firefox, a plus, new SEH found a bug!
svn path=/trunk/; revision=37783
2008-11-30 23:39:20 +00:00