reactos.git
15 years agoRepeat after me "typedef INT_PTR(CALLBACK *DLGPROC)(HWND,UINT,WPARAM,LPARAM);", sorry.
Samuel Serapion [Mon, 22 Dec 2008 06:45:49 +0000 (06:45 +0000)]
Repeat after me "typedef INT_PTR(CALLBACK *DLGPROC)(HWND,UINT,WPARAM,LPARAM);", sorry.

svn path=/branches/ros-amd64-bringup/; revision=38268

15 years agodevcpux:
Samuel Serapion [Mon, 22 Dec 2008 05:42:05 +0000 (05:42 +0000)]
devcpux:
- Fix ProcessorDlgProc definition
- Convert to spec.
slayer:
- Convert to spec.

svn path=/branches/ros-amd64-bringup/; revision=38265

15 years agoFix compilation and some warnings.
Samuel Serapion [Mon, 22 Dec 2008 04:51:38 +0000 (04:51 +0000)]
Fix compilation and some warnings.

svn path=/branches/ros-amd64-bringup/; revision=38264

15 years agoFix definitions of WAVEOPENDESC, WAVEHDR structures.
Samuel Serapion [Mon, 22 Dec 2008 04:50:48 +0000 (04:50 +0000)]
Fix definitions of WAVEOPENDESC, WAVEHDR structures.
Fix prototypes for DefDriverProc, waveOutMessage, waveOutGetDevCapsA/W, waveInGetDevCapsA/W, waveInMessage, midiStreamOpen, midiOutGetDevCapsA/W, midiOutOpen, midiOutMessage, midiInGetDevCapsA/W, midiInOpen, midiInMessage, auxGetDevCapsA/W, auxOutMessage, mixerGetDevCapsA/W, mixerOpen, timeSetEvent, joyGetDevCapsA/W, mciSendCommandA/W, and mciGetCreatorTask.

svn path=/branches/ros-amd64-bringup/; revision=38263

15 years agoFix EDITSTREAM structure
Samuel Serapion [Mon, 22 Dec 2008 03:22:05 +0000 (03:22 +0000)]
Fix EDITSTREAM structure

svn path=/branches/ros-amd64-bringup/; revision=38260

15 years agoSupport IMAGE_REL_BASED_DIR64.
Samuel Serapion [Mon, 22 Dec 2008 03:09:04 +0000 (03:09 +0000)]
Support IMAGE_REL_BASED_DIR64.

svn path=/branches/ros-amd64-bringup/; revision=38259

15 years agoconvert to spec
Timo Kreuzer [Wed, 17 Dec 2008 15:27:56 +0000 (15:27 +0000)]
convert to spec

svn path=/branches/ros-amd64-bringup/; revision=38151

15 years agofix a cast and convert to spec
Timo Kreuzer [Wed, 17 Dec 2008 15:19:08 +0000 (15:19 +0000)]
fix a cast and convert to spec

svn path=/branches/ros-amd64-bringup/; revision=38150

15 years agoFix pointer<->ULONG cast
Timo Kreuzer [Wed, 17 Dec 2008 14:46:23 +0000 (14:46 +0000)]
Fix pointer<->ULONG cast

svn path=/branches/ros-amd64-bringup/; revision=38149

15 years agoconvert to spec
Timo Kreuzer [Wed, 17 Dec 2008 14:43:12 +0000 (14:43 +0000)]
convert to spec

svn path=/branches/ros-amd64-bringup/; revision=38148

15 years agorevert 38134, it breaks other stuff
Timo Kreuzer [Wed, 17 Dec 2008 01:36:21 +0000 (01:36 +0000)]
revert 38134, it breaks other stuff

svn path=/branches/ros-amd64-bringup/; revision=38139

15 years agoUpdate ntdll def file
Timo Kreuzer [Wed, 17 Dec 2008 01:30:12 +0000 (01:30 +0000)]
Update ntdll def file

svn path=/branches/ros-amd64-bringup/; revision=38138

15 years agocomment out a few exports, now msvcrt can be built
Timo Kreuzer [Wed, 17 Dec 2008 01:29:41 +0000 (01:29 +0000)]
comment out a few exports, now msvcrt can be built

svn path=/branches/ros-amd64-bringup/; revision=38137

15 years agofix overcomplicated and broken definitions of __iob_func and _iob
Timo Kreuzer [Wed, 17 Dec 2008 01:28:37 +0000 (01:28 +0000)]
fix overcomplicated and broken definitions of __iob_func and _iob

svn path=/branches/ros-amd64-bringup/; revision=38136

15 years agofix _locaktime64 for x86
Timo Kreuzer [Wed, 17 Dec 2008 01:27:37 +0000 (01:27 +0000)]
fix _locaktime64 for x86

svn path=/branches/ros-amd64-bringup/; revision=38135

15 years agocomment out some files from mingw lib that result in duplicate definitions, as they...
Timo Kreuzer [Wed, 17 Dec 2008 01:17:47 +0000 (01:17 +0000)]
comment out some files from mingw lib that result in duplicate definitions, as they are also in crt

svn path=/branches/ros-amd64-bringup/; revision=38134

15 years ago- Add asm stubs for atan2, exp, fmod, ldexp, log10
Timo Kreuzer [Wed, 17 Dec 2008 01:16:58 +0000 (01:16 +0000)]
- Add asm stubs for atan2, exp, fmod, ldexp, log10
- hack in _time64 and _localtime64

svn path=/branches/ros-amd64-bringup/; revision=38133

15 years agoremove RtlpGetStackLimits from crt
Timo Kreuzer [Wed, 17 Dec 2008 01:14:36 +0000 (01:14 +0000)]
remove RtlpGetStackLimits from crt

svn path=/branches/ros-amd64-bringup/; revision=38132

15 years agoMake sure mingw_common imports are resolved, by adding it to mingw_main, mingw_wmain...
Timo Kreuzer [Tue, 16 Dec 2008 23:33:43 +0000 (23:33 +0000)]
Make sure mingw_common imports are resolved, by adding it to mingw_main, mingw_wmain and mingw_dllmain

svn path=/branches/ros-amd64-bringup/; revision=38130

15 years ago- DLLs that don't contain any code (like cfgmgr) don't need to have an .eh_frame...
Timo Kreuzer [Tue, 16 Dec 2008 23:32:03 +0000 (23:32 +0000)]
- DLLs that don't contain any code (like cfgmgr) don't need to have an .eh_frame section. Make sure rsym64 continues in that case.
- Handle DW_CFA_GNU_args_size

svn path=/branches/ros-amd64-bringup/; revision=38129

15 years agonew def file for ntdll, based on Vista64 exports
Timo Kreuzer [Tue, 16 Dec 2008 22:45:26 +0000 (22:45 +0000)]
new def file for ntdll, based on Vista64 exports

svn path=/branches/ros-amd64-bringup/; revision=38128

15 years agoImplement asm stubs for alldiv, atan, ceil, cos, fabs, floor, log, pow, sin, sqrt...
Timo Kreuzer [Tue, 16 Dec 2008 20:46:34 +0000 (20:46 +0000)]
Implement asm stubs for alldiv, atan, ceil, cos, fabs, floor, log, pow, sin, sqrt, tan, _chkstk, _alloca_probe to libcntpr. Now we can build ntdll.

svn path=/branches/ros-amd64-bringup/; revision=38127

15 years agoreduce hacks: build complete lib folder
Timo Kreuzer [Tue, 16 Dec 2008 18:44:20 +0000 (18:44 +0000)]
reduce hacks: build complete lib folder

svn path=/branches/ros-amd64-bringup/; revision=38126

15 years agohack away broken UNALIGNED. Maybe someone has a real solution for this... encoded?
Timo Kreuzer [Tue, 16 Dec 2008 18:44:09 +0000 (18:44 +0000)]
hack away broken UNALIGNED. Maybe someone has a real solution for this... encoded?

svn path=/branches/ros-amd64-bringup/; revision=38125

15 years agocomment out RtlWalkFrameChain for x64, we currently implement it in lib/rtl (we proba...
Timo Kreuzer [Tue, 16 Dec 2008 18:28:48 +0000 (18:28 +0000)]
comment out RtlWalkFrameChain for x64, we currently implement it in lib/rtl (we probably need a seperate um implementation later though)

svn path=/branches/ros-amd64-bringup/; revision=38122

15 years agoremove kernel32 dependency from mingw lib
Timo Kreuzer [Tue, 16 Dec 2008 17:37:45 +0000 (17:37 +0000)]
remove kernel32 dependency from mingw lib

svn path=/branches/ros-amd64-bringup/; revision=38119

15 years agouse setjmp/longjmp from libcntpr
Timo Kreuzer [Mon, 15 Dec 2008 20:38:21 +0000 (20:38 +0000)]
use setjmp/longjmp from libcntpr

svn path=/branches/ros-amd64-bringup/; revision=38114

15 years agoopps, same here.
Samuel Serapion [Mon, 15 Dec 2008 17:20:44 +0000 (17:20 +0000)]
opps, same here.

svn path=/branches/ros-amd64-bringup/; revision=38111

15 years ago- Fix UNALIGNED definition in crt.
Samuel Serapion [Mon, 15 Dec 2008 17:19:10 +0000 (17:19 +0000)]
- Fix UNALIGNED definition in crt.
- Definition not fixed in psdk because attribute(packed) is ignored on pointers and causes warnings, that with the pedantic warnings as errors break everything.

svn path=/branches/ros-amd64-bringup/; revision=38110

15 years agoFor some reason SVN didn't sync the line ending changes, although it's a binary file.
Timo Kreuzer [Mon, 15 Dec 2008 13:19:02 +0000 (13:19 +0000)]
For some reason SVN didn't sync the line ending changes, although it's a binary file.

svn path=/branches/ros-amd64-bringup/; revision=38106

15 years agoUse KeGetCurrentPrcb() instead of KeGetPcr()->Prcb / KeGetPcr()->CurrentPrcb
Timo Kreuzer [Mon, 15 Dec 2008 12:56:15 +0000 (12:56 +0000)]
Use KeGetCurrentPrcb() instead of KeGetPcr()->Prcb / KeGetPcr()->CurrentPrcb

svn path=/branches/ros-amd64-bringup/; revision=38105

15 years agoAccidentally undid 64 bit fixes, revert
Samuel Serapion [Mon, 15 Dec 2008 04:28:45 +0000 (04:28 +0000)]
Accidentally undid 64 bit fixes, revert

svn path=/branches/ros-amd64-bringup/; revision=38100

15 years agoattempt to fix kernel build.
Samuel Serapion [Mon, 15 Dec 2008 04:19:03 +0000 (04:19 +0000)]
attempt to fix kernel build.

svn path=/branches/ros-amd64-bringup/; revision=38099

15 years agoFix build a bit.
Samuel Serapion [Mon, 15 Dec 2008 04:17:53 +0000 (04:17 +0000)]
Fix build a bit.

svn path=/branches/ros-amd64-bringup/; revision=38098

15 years agoSync to trunk head(r38096)
Samuel Serapion [Mon, 15 Dec 2008 04:14:26 +0000 (04:14 +0000)]
Sync to trunk head(r38096)

svn path=/branches/ros-amd64-bringup/; revision=38097

15 years agoSync to wine64. Adds support for amd64 relays.. not that we use this feature.
Samuel Serapion [Mon, 15 Dec 2008 02:45:33 +0000 (02:45 +0000)]
Sync to wine64. Adds support for amd64 relays.. not that we use this feature.

svn path=/branches/ros-amd64-bringup/; revision=38096

15 years agoFix packing for commdlg
Samuel Serapion [Mon, 15 Dec 2008 02:17:21 +0000 (02:17 +0000)]
Fix packing for commdlg

svn path=/branches/ros-amd64-bringup/; revision=38095

15 years agoStart making heap 64bit friendly.
Samuel Serapion [Mon, 15 Dec 2008 02:13:20 +0000 (02:13 +0000)]
Start making heap 64bit friendly.

svn path=/branches/ros-amd64-bringup/; revision=38094

15 years agohack for wine specific hack.
Samuel Serapion [Mon, 15 Dec 2008 02:09:44 +0000 (02:09 +0000)]
hack for wine specific hack.

svn path=/branches/ros-amd64-bringup/; revision=38093

15 years agoFix 64bit-warnings.
Samuel Serapion [Mon, 15 Dec 2008 01:45:23 +0000 (01:45 +0000)]
Fix 64bit-warnings.

svn path=/branches/ros-amd64-bringup/; revision=38092

15 years agoFix some 64bit portability issues.
Samuel Serapion [Mon, 15 Dec 2008 00:30:46 +0000 (00:30 +0000)]
Fix some 64bit portability issues.

svn path=/branches/ros-amd64-bringup/; revision=38091

15 years agoFix 64bit widl stubs.
Samuel Serapion [Mon, 15 Dec 2008 00:23:37 +0000 (00:23 +0000)]
Fix 64bit widl stubs.

svn path=/branches/ros-amd64-bringup/; revision=38090

15 years agodefine _SEH2_FINALLY
Samuel Serapion [Mon, 15 Dec 2008 00:22:04 +0000 (00:22 +0000)]
define _SEH2_FINALLY

svn path=/branches/ros-amd64-bringup/; revision=38089

15 years agombctype.h: fix broken _mbctype[] and _mbcasemap[] declarations
Timo Kreuzer [Sun, 14 Dec 2008 23:41:51 +0000 (23:41 +0000)]
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

15 years ago- Replace a 'for' with a 'do .. while '
Timo Kreuzer [Sun, 14 Dec 2008 23:18:59 +0000 (23:18 +0000)]
- 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

15 years ago[FORMATTING]
Timo Kreuzer [Sun, 14 Dec 2008 22:52:51 +0000 (22:52 +0000)]
[FORMATTING]
Fix indentation, no code change

svn path=/trunk/; revision=38086

15 years agoRevert r38084
KJK::Hyperion [Sun, 14 Dec 2008 22:44:33 +0000 (22:44 +0000)]
Revert r38084
Sigh.

svn path=/trunk/; revision=38085

15 years agoSupersedes r38081
KJK::Hyperion [Sun, 14 Dec 2008 21:50:31 +0000 (21:50 +0000)]
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

15 years ago- Use HEAP_ZERO_MEMORY instead of memset().
Dmitry Gorbachev [Sun, 14 Dec 2008 20:45:16 +0000 (20:45 +0000)]
- Use HEAP_ZERO_MEMORY instead of memset().
- Do not crash if no adapter found.

svn path=/trunk/; revision=38083

15 years agoRevert r38081
KJK::Hyperion [Sun, 14 Dec 2008 19:54:52 +0000 (19:54 +0000)]
Revert r38081

svn path=/trunk/; revision=38082

15 years agomodified include/reactos/libs/pseh/pseh2.h
KJK::Hyperion [Sun, 14 Dec 2008 19:49:05 +0000 (19:49 +0000)]
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

15 years agoPatch by encoded: update SHARED_CACHE_MAP
Timo Kreuzer [Sun, 14 Dec 2008 17:59:11 +0000 (17:59 +0000)]
Patch by encoded: update SHARED_CACHE_MAP

svn path=/branches/ros-amd64-bringup/; revision=38080

15 years agoFix winsta.dll rbuild file.
Dmitry Gorbachev [Sun, 14 Dec 2008 13:52:28 +0000 (13:52 +0000)]
Fix winsta.dll rbuild file.

svn path=/trunk/; revision=38079

15 years ago- SEH-protect LsaClose, LsaDelete and LsaOpenPolicy.
Eric Kohl [Sun, 14 Dec 2008 13:16:16 +0000 (13:16 +0000)]
- SEH-protect LsaClose, LsaDelete and LsaOpenPolicy.
- Move the code of LsaOpenPolicy into LsarOpenPolicy and make LsaOpenPolicy call LsarOpenPolicy.

svn path=/trunk/; revision=38078

15 years ago- Use volatile with PagesLocked and MdlAddress. Fixes bug #3674.
Michael Martin [Sun, 14 Dec 2008 12:14:00 +0000 (12:14 +0000)]
- 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

15 years ago- Undo one "fix" from 38075. Coverity warned you about possible double check of the...
Aleksey Bragin [Sun, 14 Dec 2008 11:59:21 +0000 (11:59 +0000)]
- 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

15 years ago- Fix a broken loop
Stefan Ginsberg [Sun, 14 Dec 2008 10:15:49 +0000 (10:15 +0000)]
- Fix a broken loop
- Remove unnecessary checks
- Fixes CID 171, 172 and 655

svn path=/trunk/; revision=38075

15 years ago- Get rid off STATIC, DECL_IMPORT and DECL_EXPORT
Stefan Ginsberg [Sun, 14 Dec 2008 10:02:46 +0000 (10:02 +0000)]
- Get rid off STATIC, DECL_IMPORT and DECL_EXPORT
- Fix FIELD_OFFSET

svn path=/trunk/; revision=38074

15 years agosame here.
Samuel Serapion [Sun, 14 Dec 2008 06:18:50 +0000 (06:18 +0000)]
same here.

svn path=/branches/ros-amd64-bringup/; revision=38073

15 years agorevert CryptReleaseContext "fix", WINE headers made a fool out of me... need sleep.
Samuel Serapion [Sun, 14 Dec 2008 06:17:16 +0000 (06:17 +0000)]
revert CryptReleaseContext "fix", WINE headers made a fool out of me... need sleep.
fix FARPROC, NEARPROC, PROC definitions, for real this time

svn path=/branches/ros-amd64-bringup/; revision=38072

15 years agoFix CryptReleaseContext.
Samuel Serapion [Sun, 14 Dec 2008 05:37:45 +0000 (05:37 +0000)]
Fix CryptReleaseContext.

svn path=/branches/ros-amd64-bringup/; revision=38071

15 years agoFix CryptReleaseContext definition.
Samuel Serapion [Sun, 14 Dec 2008 04:36:07 +0000 (04:36 +0000)]
Fix CryptReleaseContext definition.

svn path=/branches/ros-amd64-bringup/; revision=38070

15 years agomodified lib/pseh/framebased-gcchack.c
KJK::Hyperion [Sun, 14 Dec 2008 02:55:50 +0000 (02:55 +0000)]
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

15 years agofix utime usage
Timo Kreuzer [Sun, 14 Dec 2008 01:43:24 +0000 (01:43 +0000)]
fix utime usage

svn path=/trunk/; revision=38068

15 years agorevert last commit
Timo Kreuzer [Sun, 14 Dec 2008 01:28:01 +0000 (01:28 +0000)]
revert last commit

svn path=/trunk/; revision=38067

15 years agorevert 38059 to see if it has effected the output of winetests
Timo Kreuzer [Sun, 14 Dec 2008 01:13:49 +0000 (01:13 +0000)]
revert 38059 to see if it has effected the output of winetests

svn path=/trunk/; revision=38066

15 years ago- Make the service manager wait for LSA.
Eric Kohl [Sun, 14 Dec 2008 01:01:16 +0000 (01:01 +0000)]
- 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

15 years ago- Hack away mru tests as Cm is broken
Stefan Ginsberg [Sun, 14 Dec 2008 00:46:06 +0000 (00:46 +0000)]
- Hack away mru tests as Cm is broken

svn path=/trunk/; revision=38064

15 years ago- Disable lsasrv and advapi debug tracing, accidentally committed in 38041
Stefan Ginsberg [Sun, 14 Dec 2008 00:05:19 +0000 (00:05 +0000)]
- Disable lsasrv and advapi debug tracing, accidentally committed in 38041

svn path=/trunk/; revision=38063

15 years agoDidn't want to commit this. Use the opportunity to convert spaces -> tabs.
Timo Kreuzer [Sat, 13 Dec 2008 23:50:28 +0000 (23:50 +0000)]
Didn't want to commit this. Use the opportunity to convert spaces -> tabs.

svn path=/trunk/; revision=38062

15 years agofix rosperf build
Timo Kreuzer [Sat, 13 Dec 2008 23:48:38 +0000 (23:48 +0000)]
fix rosperf build

svn path=/trunk/; revision=38061

15 years agoinclude stdlib.h for exit()
Timo Kreuzer [Sat, 13 Dec 2008 23:37:26 +0000 (23:37 +0000)]
include stdlib.h for exit()

svn path=/trunk/; revision=38060

15 years agofix build of rostests
Timo Kreuzer [Sat, 13 Dec 2008 23:12:44 +0000 (23:12 +0000)]
fix build of rostests

svn path=/trunk/; revision=38059

15 years agofix fontview build
Timo Kreuzer [Sat, 13 Dec 2008 22:25:59 +0000 (22:25 +0000)]
fix fontview build

svn path=/trunk/; revision=38058

15 years agoAdd a hack to wait for WinDbg after KdInitSystem.
Timo Kreuzer [Sat, 13 Dec 2008 21:46:38 +0000 (21:46 +0000)]
Add a hack to wait for WinDbg after KdInitSystem.

svn path=/branches/ros-amd64-bringup/; revision=38057

15 years agoProgramCounter is 64 bit, so don't cast to ULONG
Timo Kreuzer [Sat, 13 Dec 2008 21:42:34 +0000 (21:42 +0000)]
ProgramCounter is 64 bit, so don't cast to ULONG

svn path=/branches/ros-amd64-bringup/; revision=38056

15 years agoFix a typo, comment out a DPRINT
Timo Kreuzer [Sat, 13 Dec 2008 21:37:59 +0000 (21:37 +0000)]
Fix a typo, comment out a DPRINT

svn path=/branches/ros-amd64-bringup/; revision=38055

15 years agoAdd _setjmp / longjmp to libcntpr, so we don't need to reimplement it in ntoskrnl...
Timo Kreuzer [Sat, 13 Dec 2008 21:35:24 +0000 (21:35 +0000)]
Add _setjmp / longjmp to libcntpr, so we don't need to reimplement it in ntoskrnl. Should probably be done for x86, too.

svn path=/branches/ros-amd64-bringup/; revision=38053

15 years agoUpdate crt headers and mingw lib from mingw64. Update crt a bit. 4 msvcrt time tests...
Timo Kreuzer [Sat, 13 Dec 2008 21:28:05 +0000 (21:28 +0000)]
Update crt headers and mingw lib from mingw64. Update crt a bit. 4 msvcrt time tests fixed.

svn path=/trunk/; revision=38052

15 years agoUpdate RtlIsTextUnicode, ntdll rtlstr winetest failure down by 10, one remaining
Gregor Schneider [Sat, 13 Dec 2008 21:22:07 +0000 (21:22 +0000)]
Update RtlIsTextUnicode, ntdll rtlstr winetest failure down by 10, one remaining

svn path=/trunk/; revision=38051

15 years ago- Update _makepath and _wmakepath to allow in place operation and separated extension...
Gregor Schneider [Sat, 13 Dec 2008 21:06:47 +0000 (21:06 +0000)]
- 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

15 years agofix build
Timo Kreuzer [Sat, 13 Dec 2008 19:47:24 +0000 (19:47 +0000)]
fix build

svn path=/trunk/; revision=38049

15 years ago- Add missing PSHARED_CACHE_MAP.
Aleksey Bragin [Sat, 13 Dec 2008 19:31:40 +0000 (19:31 +0000)]
- Add missing PSHARED_CACHE_MAP.

svn path=/trunk/; revision=38048

15 years ago- Sync with Wine.
Aleksey Bragin [Sat, 13 Dec 2008 19:30:38 +0000 (19:30 +0000)]
- Sync with Wine.

svn path=/trunk/; revision=38047

15 years agoAdd 101 tests for GetSystemMetrics
Timo Kreuzer [Sat, 13 Dec 2008 17:55:44 +0000 (17:55 +0000)]
Add 101 tests for GetSystemMetrics

svn path=/trunk/; revision=38046

15 years agoAdd DumpMem function to apitests lib for debugging purposes
Timo Kreuzer [Sat, 13 Dec 2008 16:52:49 +0000 (16:52 +0000)]
Add DumpMem function to apitests lib for debugging purposes

svn path=/trunk/; revision=38045

15 years agoAdd tests for NtGdiCombineRgn (14), NtGdiCreateCompatibleDC (4), NtGdiDoPalette ...
Timo Kreuzer [Sat, 13 Dec 2008 16:48:01 +0000 (16:48 +0000)]
Add tests for NtGdiCombineRgn (14), NtGdiCreateCompatibleDC (4), NtGdiDoPalette (1), NtGdiFlushUserBatch (10), NtGdiPolyPolyDraw (60), NtGdiselectBitmap (4), NtGdiSelectPen (6), NtGdiSetDIBitsToDeviceInternal (2), NtUserEnumDisplayMonitors (7), NtUserGetClassInfo (15), NtUserProcessConnect (1), NtUserSelectPalette (13), NtUserSystemParametersInfo (1) (= 138 new tests)

svn path=/trunk/; revision=38044

15 years agoRemove workaround for GCC 4.4.0 bug, it is already fixed.
Dmitry Gorbachev [Sat, 13 Dec 2008 15:49:41 +0000 (15:49 +0000)]
Remove workaround for GCC 4.4.0 bug, it is already fixed.

svn path=/trunk/; revision=38043

15 years ago- Remove DBCSCodePage field from NLS_FILE_HEADER structure.
Dmitry Gorbachev [Sat, 13 Dec 2008 15:42:56 +0000 (15:42 +0000)]
- 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

15 years agoDo not start LSASS as a service but as an ordinary process because:
Eric Kohl [Sat, 13 Dec 2008 14:47:07 +0000 (14:47 +0000)]
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

15 years agoprint out some info on non-type symbols
Timo Kreuzer [Sat, 13 Dec 2008 12:05:16 +0000 (12:05 +0000)]
print out some info on non-type symbols

svn path=/trunk/; revision=38040

15 years agoerrcode is a type. using it as parameter name in a old type function declaration...
Timo Kreuzer [Sat, 13 Dec 2008 01:05:46 +0000 (01:05 +0000)]
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

15 years agoupdate dbghelp_ros.diff. Only one tiny change left
Timo Kreuzer [Sat, 13 Dec 2008 00:54:45 +0000 (00:54 +0000)]
update dbghelp_ros.diff. Only one tiny change left

svn path=/trunk/; revision=38038

15 years agosync dbghelp to wine head
Timo Kreuzer [Sat, 13 Dec 2008 00:52:11 +0000 (00:52 +0000)]
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

15 years agoadd _strtoi64 and _strtoui64 to stdlib.h
Timo Kreuzer [Sat, 13 Dec 2008 00:32:37 +0000 (00:32 +0000)]
add _strtoi64 and _strtoui64 to stdlib.h

svn path=/trunk/; revision=38036

15 years ago- Update ntdll winetests
Gregor Schneider [Fri, 12 Dec 2008 23:42:40 +0000 (23:42 +0000)]
- Update ntdll winetests
- Warning: the reg test may bsod/restart your Windows system- not a problem in ros though

svn path=/trunk/; revision=38035

15 years agoreduce the amount of hacks in dbghelp_ros.diff, also fix declaration of _strtoui64
Timo Kreuzer [Fri, 12 Dec 2008 20:12:21 +0000 (20:12 +0000)]
reduce the amount of hacks in dbghelp_ros.diff, also fix declaration of _strtoui64

svn path=/trunk/; revision=38034

15 years agowhen defining ssize_t, also define _SSIZE_T_DEFINED
Timo Kreuzer [Fri, 12 Dec 2008 19:37:56 +0000 (19:37 +0000)]
when defining ssize_t, also define _SSIZE_T_DEFINED

svn path=/trunk/; revision=38033

15 years agoremove useless circle definition _setjmp -> setjmp -> _setjmp
Timo Kreuzer [Fri, 12 Dec 2008 19:27:14 +0000 (19:27 +0000)]
remove useless circle definition _setjmp -> setjmp -> _setjmp

svn path=/trunk/; revision=38032

15 years agoMAX_PATH is neither defined by ntddk.h nor by crt headers, use _MAX_PATH instead
Timo Kreuzer [Fri, 12 Dec 2008 19:06:57 +0000 (19:06 +0000)]
MAX_PATH is neither defined by ntddk.h nor by crt headers, use _MAX_PATH instead

svn path=/trunk/; revision=38031