Commit graph

33784 commits

Author SHA1 Message Date
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
KJK::Hyperion 778dbb0862 Bug closing extravaganza holiday special commit!
modified   base/shell/cmd/ren.c
added      base/shell/cmd/ren.txt
   Correct implementation of "ren" command in cmd
   Patch by Victor Martinez <vicmarcal@hotmail.com>

added      include/crt/mingw32/intrin.h
added      include/crt/mingw32/intrin_arm.h
added      include/crt/mingw32/intrin_ppc.h
added      include/crt/mingw32/intrin_x86.h
added      include/crt/mingw32/intrin_x86_64.h
deleted    include/psdk/intrin.h
deleted    include/psdk/intrin_arm.h
deleted    include/psdk/intrin_ppc.h
deleted    include/psdk/intrin_x86.h
deleted    include/psdk/intrin_x86_64.h
   intrin.h positively IS NOT a PSDK header
   The "a" argument to _bittestandcomplement, _bittestandreset and _bittestandset is an input AND output argument, unlike the argument to _bittest. Move argument to outputs, change constraint to "+mr"
   Spotted by hto

modified   lib/3rdparty/mingw/cpu_features.c
   Stray semicolon
   Patch by hto from Bugzilla

modified   lib/sdk/crt/locale/locale.c
   Missing colon
   Patch by hto from Bugzilla
See issue #3902,3921,3924,3926 for more details.

svn path=/trunk/; revision=37781
2008-11-30 23:08:02 +00:00
KJK::Hyperion c1338f0192 Default debugging format might not be stabs - pass -gstabs+ instead of -g to gcc. And did you know ld doesn't actually have a -g switch?
_Now_ we can upgrade to gcc 4.3.2
After a suggestion by hto from Bugzilla. Dmitry, start doing your own commits already
See issue #3922 for more details.

svn path=/trunk/; revision=37780
2008-11-30 21:26:04 +00:00
Stefan Ginsberg eaac85ec75 - Make this shit readable -- oh wait this is a commit message... Clean up indentation a bit.
svn path=/trunk/; revision=37779
2008-11-30 20:12:04 +00:00
KJK::Hyperion f3818b0b92 Correctly parse the output of gcc --version for TDM builds of gcc. We can now upgrade to gcc 4.3.2
Patch by niski from Bugzilla
See issue #3922 for more details.

svn path=/trunk/; revision=37778
2008-11-30 19:56:43 +00:00
KJK::Hyperion 8eb9176f8b Patch by hto from Bugzilla
See issue #3827 for more details.

svn path=/trunk/; revision=37777
2008-11-30 19:50:25 +00:00
KJK::Hyperion 1bd07ee187 modified include/reactos/probe.h
Workaround for gcc 4.1.3. See http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38054#c7

modified   ntoskrnl/include/internal/mm.h
   gcc 4.3.2 doesn't like to be told to inline MmAcquirePageListLock

modified   ntoskrnl/include/internal/probe.h
   Cleaning up after TSVN's buggy "apply patch"

modified   subsystems/win32/win32k/ntuser/message.c
   Silence a gcc 4.3.2 warning (possibly incorrectly)

modified   dll/directx/ddraw/ddraw.rbuild
modified   dll/win32/gdi32/gdi32.rbuild
modified   dll/win32/kernel32/kernel32.rbuild
modified   dll/win32/psapi/psapi.rbuild
modified   dll/win32/setupapi/setupapi.rbuild
modified   dll/win32/syssetup/syssetup.rbuild
modified   dll/win32/user32/user32.rbuild
modified   drivers/input/kbdclass/kbdclass.rbuild
modified   drivers/input/mouclass/mouclass.rbuild
modified   drivers/network/afd/afd.rbuild
modified   drivers/network/tcpip/tcpip.rbuild
modified   lib/rtl/rtl.rbuild
modified   subsystems/win32/win32k/win32k.rbuild
modified   subsystems/win32/win32k/objects/gdiobj.c
   gcc 4.1.3 workarounds. See embedded comments

modified   base/services/eventlog/eventlog.h
modified   dll/win32/advapi32/advapi32.h
   Removed superfluous includes of pseh/pseh.h

modified   dll/directx/ddraw/Ddraw/ddraw_displaymode.c
modified   dll/directx/ddraw/Ddraw/ddraw_main.c
modified   dll/directx/ddraw/Ddraw/ddraw_setcooperativelevel.c
modified   dll/directx/ddraw/Ddraw/GetCaps.c
modified   dll/directx/ddraw/Ddraw/GetDeviceIdentifier.c
modified   dll/directx/ddraw/main.c
modified   dll/directx/ddraw/rosdraw.h
modified   dll/directx/ddraw/Surface/surface_main.c
   ddraw migrated to PSEH 2.0

modified   dll/win32/gdi32/include/precomp.h
modified   dll/win32/gdi32/misc/misc.c
modified   dll/win32/gdi32/objects/bitmap.c
   gdi32 migrated to PSEH 2.0

modified   dll/win32/kernel32/except/except.c
modified   dll/win32/kernel32/file/find.c
modified   dll/win32/kernel32/k32.h
modified   dll/win32/kernel32/mem/isbad.c
modified   dll/win32/kernel32/misc/console.c
modified   dll/win32/kernel32/process/procsup.c
modified   dll/win32/kernel32/string/lstring.c
modified   dll/win32/kernel32/thread/thread.c
   kernel32 migrated to PSEH 2.0

modified   dll/win32/psapi/precomp.h
modified   dll/win32/psapi/psapi.c
   psapi migrated to PSEH 2.0

modified   dll/win32/setupapi/cfgmgr.c
modified   dll/win32/setupapi/setupapi_private.h
   setupapi migrated to PSEH 2.0

modified   dll/win32/syssetup/wizard.c
   syssetup migrated to PSEH 2.0

modified   dll/win32/user32/include/user32.h
modified   dll/win32/user32/windows/class.c
modified   dll/win32/user32/windows/text.c
modified   dll/win32/user32/windows/window.c
   user32 migrated to PSEH 2.0

modified   drivers/input/kbdclass/kbdclass.c
modified   drivers/input/kbdclass/kbdclass.h
   kbdclass migrated to PSEH 2.0

modified   drivers/input/mouclass/mouclass.c
modified   drivers/input/mouclass/mouclass.h
   mouclass migrated to PSEH 2.0

modified   drivers/network/afd/afd/info.c
modified   drivers/network/afd/afd/lock.c
modified   drivers/network/afd/afd/tdi.c
modified   drivers/network/afd/afd/tdiconn.c
   afd migrated to PSEH 2.0

modified   drivers/network/lan/lan/lan.c
   lan migrated to PSEH 2.0

modified   drivers/network/tcpip/tcpip/dispatch.c
   tcpip migrated to PSEH 2.0

modified   lib/rtl/debug.c
modified   lib/rtl/res.c
modified   lib/rtl/rtl.h
modified   lib/rtl/unicode.c
modified   lib/rtl/workitem.c
   rtl migrated to PSEH 2.0

modified   ntoskrnl/include/precomp.h
   ntoskrnl migrated to PSEH 2.0

modified   subsystems/csr/csrsrv/api.c
   csrsrv migrated to PSEH 2.0

modified   subsystems/win32/win32k/eng/bitblt.c
modified   subsystems/win32/win32k/eng/mem.c
modified   subsystems/win32/win32k/include/mmcopy.h
modified   subsystems/win32/win32k/misc/copy.c
modified   subsystems/win32/win32k/ntuser/callback.c
modified   subsystems/win32/win32k/ntuser/class.c
modified   subsystems/win32/win32k/ntuser/clipboard.c
modified   subsystems/win32/win32k/ntuser/cursoricon.c
modified   subsystems/win32/win32k/ntuser/display.c
modified   subsystems/win32/win32k/ntuser/hook.c
modified   subsystems/win32/win32k/ntuser/input.c
modified   subsystems/win32/win32k/ntuser/kbdlayout.c
modified   subsystems/win32/win32k/ntuser/menu.c
modified   subsystems/win32/win32k/ntuser/misc.c
modified   subsystems/win32/win32k/ntuser/ntstubs.c
modified   subsystems/win32/win32k/ntuser/painting.c
modified   subsystems/win32/win32k/ntuser/simplecall.c
modified   subsystems/win32/win32k/ntuser/sysparams.c
modified   subsystems/win32/win32k/ntuser/window.c
modified   subsystems/win32/win32k/objects/bitblt.c
modified   subsystems/win32/win32k/objects/bitmaps.c
modified   subsystems/win32/win32k/objects/brush.c
modified   subsystems/win32/win32k/objects/cliprgn.c
modified   subsystems/win32/win32k/objects/color.c
modified   subsystems/win32/win32k/objects/coord.c
modified   subsystems/win32/win32k/objects/dc.c
modified   subsystems/win32/win32k/objects/dcutil.c
modified   subsystems/win32/win32k/objects/dibobj.c
modified   subsystems/win32/win32k/objects/fillshap.c
modified   subsystems/win32/win32k/objects/font.c
modified   subsystems/win32/win32k/objects/freetype.c
modified   subsystems/win32/win32k/objects/icm.c
modified   subsystems/win32/win32k/objects/line.c
modified   subsystems/win32/win32k/objects/path.c
modified   subsystems/win32/win32k/objects/pen.c
modified   subsystems/win32/win32k/objects/print.c
modified   subsystems/win32/win32k/objects/region.c
modified   subsystems/win32/win32k/objects/text.c
modified   subsystems/win32/win32k/pch.h
   win32k migrated to PSEH 2.0

svn path=/trunk/; revision=37776
2008-11-30 19:28:11 +00:00
Gregor Schneider 959c8b42a8 Update C++ demangle code to recent wine, now all msvcrt cpp tests pass except one.
svn path=/trunk/; revision=37774
2008-11-30 19:19:45 +00:00
Daniel Reimer d1dc58212a ... by Seungju Kim
svn path=/trunk/; revision=37773
2008-11-30 19:03:24 +00:00
Daniel Reimer 4f08ac6baf Bug 3890: updated a few slovak translations by Mario Kacmar
Bug 3915: Korean translation of Dxdiag by 

svn path=/trunk/; revision=37772
2008-11-30 19:00:01 +00:00
Daniel Reimer 866fed8490 Bug 3890: updated a few slovak translations by Mario Kacmar
svn path=/trunk/; revision=37771
2008-11-30 18:40:11 +00:00
Stefan Ginsberg ca22a1b844 - Replace the last instances of STDCALL with WINAPI/NTAPI -- this non-standard specifier is now completely deprecated. Now the healing can begin.
svn path=/trunk/; revision=37769
2008-11-30 13:46:35 +00:00
Stefan Ginsberg 8ddb21a39c - Remove straggler STDCALL
svn path=/trunk/; revision=37768
2008-11-30 13:28:04 +00:00
James Tabor 41f45acf3f - Sync in rev 37720: Magnus Olsen, add GdiGetBitmapBitsSize is a new api from windows xp sp3, the code was tested in vs2003. part II
svn path=/trunk/; revision=37767
2008-11-30 13:17:52 +00:00
James Tabor b92cf193fb - Sync in rev 37720: Magnus Olsen, add GdiGetBitmapBitsSize is a new api from windows xp sp3, the code was tested in vs2003.
svn path=/trunk/; revision=37766
2008-11-30 13:17:19 +00:00
Gregor Schneider dbdbfd482e Updated polish translation by Olaf Siejka, <olaf_siejka AT o2 DOT pl>
svn path=/trunk/; revision=37765
2008-11-30 12:52:07 +00:00
Gregor Schneider b0c0e3857d - Add dialog to deal cards again after winning solitaire, fixes the winning infinitely bug
- Patch by Lucas Suggs, <anakha AT cat DOT pdx DOT edu>
- I modified indentation, added german translation, added English strings to all other languages - work for the translators
- See bug #3288 for more information

svn path=/trunk/; revision=37764
2008-11-30 12:09:36 +00:00
Stefan Ginsberg 32545494d9 - Go away STDCALL, time has come for WINAPI and NTAPI
svn path=/trunk/; revision=37763
2008-11-30 11:42:05 +00:00
Stefan Ginsberg b137725c9a - Kill off more STDCALL
svn path=/trunk/; revision=37762
2008-11-30 11:16:55 +00:00
Stefan Ginsberg 2bafd1ffc3 - No need to include winddk.h, ntddk.h includes it for us
svn path=/trunk/; revision=37761
2008-11-30 10:10:19 +00:00
Art Yerkes 4196ecf39b fix a bug reported by aicom: get peer name fails running xitami web server
svn path=/trunk/; revision=37759
2008-11-30 08:26:52 +00:00
KJK::Hyperion adeaeb06b1 Left out of the previous commit by mistake
svn path=/trunk/; revision=37758
2008-11-30 06:00:58 +00:00
KJK::Hyperion feee728349 modified base/shell/explorer/explorer.rbuild
The TDM build of gcc 4.3.2 is affected by PR 27067 (http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27067), apparently due to a missing MinGW-only patch - work around it in the linker

modified   dll/directx/ddraw/d3d/DirectD3D_main.c
modified   dll/directx/ddraw/Ddraw/ddraw_displaymode.c
modified   dll/directx/ddraw/Ddraw/ddraw_main.c
modified   dll/directx/ddraw/Ddraw/ddraw_setcooperativelevel.c
modified   dll/directx/ddraw/Ddraw/GetCaps.c
modified   dll/directx/ddraw/Ddraw/GetDeviceIdentifier.c
modified   dll/directx/ddraw/main.c
modified   dll/directx/ddraw/Surface/createsurface.c
   <pseh/pseh.h> already included in rosdraw.h

modified   dll/win32/advapi32/misc/trace.c
   Silence a warning reported by gcc 4.3.2 (possibly incorrectly, but it's just a stub anyway)

modified   ntoskrnl/include/internal/ntoskrnl.h
added      ntoskrnl/include/internal/probe.h
replaced   ntoskrnl/include/ntoskrnl.h
added      ntoskrnl/include/precomp.h
modified   ntoskrnl/ntoskrnl-generic.rbuild
added      subsystems/win32/win32k/pch.h
replaced   subsystems/win32/win32k/w32k.h
modified   subsystems/win32/win32k/win32k.rbuild
   gcc 4.3.2-tdm-1 doesn't like PSEH in precompiled headers. Shuffle things around a bit to remove PSEH from precompiled headers

svn path=/trunk/; revision=37757
2008-11-30 05:49:18 +00:00
Stefan Ginsberg b43e021fa7 - Relying on includers to define certain macros is an awesome idea -- sustain this practice for a little while
svn path=/trunk/; revision=37756
2008-11-29 23:34:39 +00:00
Stefan Ginsberg 37ba4af619 - Deprecate STDCALL from HAL
svn path=/trunk/; revision=37755
2008-11-29 23:16:39 +00:00
Stefan Ginsberg f5091d00cd - Don't use DDKAPI either
svn path=/trunk/; revision=37754
2008-11-29 23:15:54 +00:00
Sylvain Petreolle 36859720df add missing parenthesis in utf16le
svn path=/trunk/; revision=37753
2008-11-29 23:11:14 +00:00
Stefan Ginsberg ef394b196f - Less STDCALL, more WINAPI/NTAPI/APIENTRY
svn path=/trunk/; revision=37752
2008-11-29 22:48:58 +00:00
Stefan Ginsberg 3dd74720b7 - STDCALL strikes back
svn path=/trunk/; revision=37751
2008-11-29 21:42:41 +00:00
Stefan Ginsberg a153517e86 - Hey STDCALL, you just got deprecated from rostests
svn path=/trunk/; revision=37750
2008-11-29 21:37:54 +00:00
Stefan Ginsberg 5cbe280085 - Welcome to rosapps NTAPI/WINAPI, farewell STDCALL
svn path=/trunk/; revision=37749
2008-11-29 21:23:45 +00:00
Stefan Ginsberg 256458f8ad - <@silverblade> it does nothing, it can be destroyed. -- Goodbye avtest, no one will miss you
svn path=/trunk/; revision=37748
2008-11-29 21:19:34 +00:00
Stefan Ginsberg 8ad61b6d08 - Don't generate a function with non-standard STDCALL -- WINAPI works great, I promise.
svn path=/trunk/; revision=37747
2008-11-29 21:01:42 +00:00
Gregor Schneider 023baca726 - Improve parameter checks to prevent access beyond array boundaries
- Patch by Daniel Zimmermann, <netzimme AT aim DOT com>
- Bug #3913, CIDs 595-598

svn path=/trunk/; revision=37746
2008-11-29 21:01:14 +00:00
Stefan Ginsberg 165bfe865b - STDCALL -> NTAPI
svn path=/trunk/; revision=37745
2008-11-29 20:47:48 +00:00
Gregor Schneider 4de7f1ccff - Fix two possible memory leaks by freeing resources
- Patch by Daniel Zimmermann, <netzimme AT aim DOT com>
- Bug #3911, CIDs 607 and 608

svn path=/trunk/; revision=37744
2008-11-29 20:30:18 +00:00
Stefan Ginsberg 0f123895c2 - Remove system_header
svn path=/trunk/; revision=37743
2008-11-29 20:17:45 +00:00
Stefan Ginsberg 6bfd12deec - STDCALL -> NTAPI
svn path=/trunk/; revision=37742
2008-11-29 20:14:45 +00:00
Gregor Schneider a8e8a546b6 - Updated msvcrt winetests introduced new printf testcases and new failures - fixed:
- Special qualifiers with short gG formats may even skip all decimal digits, but the separator is applied nonetheless
- Padding spaces on the right caused problems in exponential format, because those are split into two parts, the padding was done in between
- Failing fwprintf test was removed from the tests, so the printf test is passed completely now

svn path=/trunk/; revision=37740
2008-11-29 19:39:53 +00:00
Stefan Ginsberg c47ab26e82 - Kill off ramdrv, it is deprecated since a long time ago.
See issue #3422 for more details.

svn path=/trunk/; revision=37739
2008-11-29 19:35:04 +00:00
Gregor Schneider 67ac3637f8 Update msvcrt winetest, test_codepage still disabled as before
svn path=/trunk/; revision=37736
2008-11-29 19:18:59 +00:00
Gregor Schneider 6c677fe4e5 - Added support for floating point and exponential formats to *printf functions
- Based on the tools/ssprintf.cpp implementation, ported to C with changes made to comply with msvcrt behaviour
- Reduces msvcrt winetest printf failure from 13 down to 1 - same failure as WinXP
- Related bugs: bug #1533, bug #3727, bug #3878

svn path=/trunk/; revision=37734
2008-11-29 17:07:09 +00:00
Aleksey Bragin 9c90984e71 - Implement ScsiPortCompleteRequest based on OSR description.
See issue #3025 for more details.

svn path=/trunk/; revision=37732
2008-11-29 16:24:29 +00:00
Dmitry Chapyshev fcefc86234 - Fix build
svn path=/trunk/; revision=37726
2008-11-29 12:57:50 +00:00
Dmitry Chapyshev 17e26906df - DPRINT1(...); -> UNIMPLEMENTED;
svn path=/trunk/; revision=37725
2008-11-29 12:49:08 +00:00
James Tabor a919cea8f4 - Fix GetSystemPaletteEntries.
svn path=/trunk/; revision=37723
2008-11-29 11:31:40 +00:00
Stefan Ginsberg 96c69be3d6 - guiddef.h: Don't define GUID_NULL as extern as the official header set doesn't do this. Also, it causes conflicts under some circumstances.
- regstr.h: Add missing _IN_KERNEL_ guard
- rpcndr.h: Don't use the DWORD type
- windef.h: Add missing types, and put some under the BASETYPES guard
- winnt.h: Don't define types which should be in windef.h
- winuser.h: Correct KEYBOARD_OVERRUN_MAKE_CODE declaration, add missing NOWINDOWSTATION guard
- ntgdityp.h: Fix header guard for "FIX" type declaration

svn path=/trunk/; revision=37721
2008-11-29 10:49:36 +00:00
Stefan Ginsberg f584500e5a - MSFS: Don't rely on PSDK headers for MAILSLOT_NO_MESSAGE/MAILSLOT_WAIT_FOREVER
svn path=/trunk/; revision=37719
2008-11-29 10:26:47 +00:00
Stefan Ginsberg 5e41c16d16 - Don't redefine basic types
svn path=/trunk/; revision=37718
2008-11-29 10:22:57 +00:00