reactos.git
12 years agoI hope I did not screw up the propset...
Steven Edwards [Mon, 1 Dec 2008 18:34:15 +0000 (18:34 +0000)]
I hope I did not screw up the propset...

Simple telnet daemon, I found, hacked in to a service.
Its wrong, I know, humor me, it works, someone more
interested can finish this off and follow the spec.txt

svn path=/trunk/; revision=37799

12 years agoGimme back mah ftp.
Andrew Munger [Mon, 1 Dec 2008 18:33:55 +0000 (18:33 +0000)]
Gimme back mah ftp.
Revert 37791.

svn path=/trunk/; revision=37798

12 years ago- Pass the directory of the file to ShellExecuteExW
Johannes Anderwald [Mon, 1 Dec 2008 16:51:59 +0000 (16:51 +0000)]
- Pass the directory of the file to ShellExecuteExW

svn path=/trunk/; revision=37797

12 years ago- Don't enable FULL debug output for a module in trunk unless REALLY necessary.
Aleksey Bragin [Mon, 1 Dec 2008 16:30:15 +0000 (16:30 +0000)]
- Don't enable FULL debug output for a module in trunk unless REALLY necessary.

svn path=/trunk/; revision=37796

12 years ago- Don't redefine PKSYSTEM_ROUTINE
Stefan Ginsberg [Mon, 1 Dec 2008 16:27:58 +0000 (16:27 +0000)]
- 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

12 years ago- Remove the remaining system_header from DDK -- this era has now come to an end
Stefan Ginsberg [Mon, 1 Dec 2008 15:28:54 +0000 (15:28 +0000)]
- Remove the remaining system_header from DDK -- this era has now come to an end

svn path=/trunk/; revision=37793

12 years ago- Get rid of DDK's dependency on windef.h and winnt.h
Stefan Ginsberg [Mon, 1 Dec 2008 15:12:23 +0000 (15:12 +0000)]
- 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

12 years ago- revert 37497
Johannes Anderwald [Mon, 1 Dec 2008 14:57:34 +0000 (14:57 +0000)]
- revert 37497
- use FindFirstFileW to obtain to original filename which is passed to CreateProcess
- fixes bug 3875

svn path=/trunk/; revision=37791

12 years agofix build
Johannes Anderwald [Mon, 1 Dec 2008 14:08:48 +0000 (14:08 +0000)]
fix build
mea culpa

svn path=/trunk/; revision=37790

12 years ago- fix ipconfig output when no nic adapter is present, patch by Lucas Suggs, <anakha...
Johannes Anderwald [Mon, 1 Dec 2008 13:54:25 +0000 (13:54 +0000)]
- 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

12 years ago- Patch by hto: User32: MDICascade() bug, see bug 3919.
James Tabor [Mon, 1 Dec 2008 04:57:58 +0000 (04:57 +0000)]
- Patch by hto: User32: MDICascade() bug, see bug 3919.

svn path=/trunk/; revision=37788

12 years ago- Moved SelectBitmap/Font to their proper places.
James Tabor [Mon, 1 Dec 2008 00:13:45 +0000 (00:13 +0000)]
- 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

12 years ago- Fixed hooking bug for Firefox, a plus, new SEH found a bug!
James Tabor [Sun, 30 Nov 2008 23:39:20 +0000 (23:39 +0000)]
- Fixed hooking bug for Firefox, a plus, new SEH found a bug!

svn path=/trunk/; revision=37783

12 years agoBug closing extravaganza holiday special commit!
KJK::Hyperion [Sun, 30 Nov 2008 23:08:02 +0000 (23:08 +0000)]
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

12 years agoDefault debugging format might not be stabs - pass -gstabs+ instead of -g to gcc...
KJK::Hyperion [Sun, 30 Nov 2008 21:26:04 +0000 (21:26 +0000)]
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

12 years ago- Make this shit readable -- oh wait this is a commit message... Clean up indentation...
Stefan Ginsberg [Sun, 30 Nov 2008 20:12:04 +0000 (20:12 +0000)]
- Make this shit readable -- oh wait this is a commit message... Clean up indentation a bit.

svn path=/trunk/; revision=37779

12 years agoCorrectly parse the output of gcc --version for TDM builds of gcc. We can now upgrade...
KJK::Hyperion [Sun, 30 Nov 2008 19:56:43 +0000 (19:56 +0000)]
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

12 years agoPatch by hto from Bugzilla
KJK::Hyperion [Sun, 30 Nov 2008 19:50:25 +0000 (19:50 +0000)]
Patch by hto from Bugzilla
See issue #3827 for more details.

svn path=/trunk/; revision=37777

12 years agomodified include/reactos/probe.h
KJK::Hyperion [Sun, 30 Nov 2008 19:28:11 +0000 (19:28 +0000)]
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

12 years agoUpdate C++ demangle code to recent wine, now all msvcrt cpp tests pass except one.
Gregor Schneider [Sun, 30 Nov 2008 19:19:45 +0000 (19:19 +0000)]
Update C++ demangle code to recent wine, now all msvcrt cpp tests pass except one.

svn path=/trunk/; revision=37774

12 years ago... by Seungju Kim
Daniel Reimer [Sun, 30 Nov 2008 19:03:24 +0000 (19:03 +0000)]
... by Seungju Kim

svn path=/trunk/; revision=37773

12 years agoBug 3890: updated a few slovak translations by Mario Kacmar
Daniel Reimer [Sun, 30 Nov 2008 19:00:01 +0000 (19:00 +0000)]
Bug 3890: updated a few slovak translations by Mario Kacmar
Bug 3915: Korean translation of Dxdiag by

svn path=/trunk/; revision=37772

12 years agoBug 3890: updated a few slovak translations by Mario Kacmar
Daniel Reimer [Sun, 30 Nov 2008 18:40:11 +0000 (18:40 +0000)]
Bug 3890: updated a few slovak translations by Mario Kacmar

svn path=/trunk/; revision=37771

12 years ago- Replace the last instances of STDCALL with WINAPI/NTAPI -- this non-standard specif...
Stefan Ginsberg [Sun, 30 Nov 2008 13:46:35 +0000 (13:46 +0000)]
- 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

12 years ago- Remove straggler STDCALL
Stefan Ginsberg [Sun, 30 Nov 2008 13:28:04 +0000 (13:28 +0000)]
- Remove straggler STDCALL

svn path=/trunk/; revision=37768

12 years ago- Sync in rev 37720: Magnus Olsen, add GdiGetBitmapBitsSize is a new api from windows...
James Tabor [Sun, 30 Nov 2008 13:17:52 +0000 (13:17 +0000)]
- 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

12 years ago- Sync in rev 37720: Magnus Olsen, add GdiGetBitmapBitsSize is a new api from windows...
James Tabor [Sun, 30 Nov 2008 13:17:19 +0000 (13:17 +0000)]
- 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

12 years agoUpdated polish translation by Olaf Siejka, <olaf_siejka AT o2 DOT pl>
Gregor Schneider [Sun, 30 Nov 2008 12:52:07 +0000 (12:52 +0000)]
Updated polish translation by Olaf Siejka, <olaf_siejka AT o2 DOT pl>

svn path=/trunk/; revision=37765

12 years ago- Add dialog to deal cards again after winning solitaire, fixes the winning infinitel...
Gregor Schneider [Sun, 30 Nov 2008 12:09:36 +0000 (12:09 +0000)]
- 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

12 years ago- Go away STDCALL, time has come for WINAPI and NTAPI
Stefan Ginsberg [Sun, 30 Nov 2008 11:42:05 +0000 (11:42 +0000)]
- Go away STDCALL, time has come for WINAPI and NTAPI

svn path=/trunk/; revision=37763

12 years ago- Kill off more STDCALL
Stefan Ginsberg [Sun, 30 Nov 2008 11:16:55 +0000 (11:16 +0000)]
- Kill off more STDCALL

svn path=/trunk/; revision=37762

12 years ago- No need to include winddk.h, ntddk.h includes it for us
Stefan Ginsberg [Sun, 30 Nov 2008 10:10:19 +0000 (10:10 +0000)]
- No need to include winddk.h, ntddk.h includes it for us

svn path=/trunk/; revision=37761

12 years agofix a bug reported by aicom: get peer name fails running xitami web server
Art Yerkes [Sun, 30 Nov 2008 08:26:52 +0000 (08:26 +0000)]
fix a bug reported by aicom: get peer name fails running xitami web server

svn path=/trunk/; revision=37759

12 years agoLeft out of the previous commit by mistake
KJK::Hyperion [Sun, 30 Nov 2008 06:00:58 +0000 (06:00 +0000)]
Left out of the previous commit by mistake

svn path=/trunk/; revision=37758

12 years agomodified base/shell/explorer/explorer.rbuild
KJK::Hyperion [Sun, 30 Nov 2008 05:49:18 +0000 (05:49 +0000)]
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

12 years ago- Relying on includers to define certain macros is an awesome idea -- sustain this...
Stefan Ginsberg [Sat, 29 Nov 2008 23:34:39 +0000 (23:34 +0000)]
- Relying on includers to define certain macros is an awesome idea -- sustain this practice for a little while

svn path=/trunk/; revision=37756

12 years ago- Deprecate STDCALL from HAL
Stefan Ginsberg [Sat, 29 Nov 2008 23:16:39 +0000 (23:16 +0000)]
- Deprecate STDCALL from HAL

svn path=/trunk/; revision=37755

12 years ago- Don't use DDKAPI either
Stefan Ginsberg [Sat, 29 Nov 2008 23:15:54 +0000 (23:15 +0000)]
- Don't use DDKAPI either

svn path=/trunk/; revision=37754

12 years agoadd missing parenthesis in utf16le
Sylvain Petreolle [Sat, 29 Nov 2008 23:11:14 +0000 (23:11 +0000)]
add missing parenthesis in utf16le

svn path=/trunk/; revision=37753

12 years ago- Less STDCALL, more WINAPI/NTAPI/APIENTRY
Stefan Ginsberg [Sat, 29 Nov 2008 22:48:58 +0000 (22:48 +0000)]
- Less STDCALL, more WINAPI/NTAPI/APIENTRY

svn path=/trunk/; revision=37752

12 years ago- STDCALL strikes back
Stefan Ginsberg [Sat, 29 Nov 2008 21:42:41 +0000 (21:42 +0000)]
- STDCALL strikes back

svn path=/trunk/; revision=37751

12 years ago- Hey STDCALL, you just got deprecated from rostests
Stefan Ginsberg [Sat, 29 Nov 2008 21:37:54 +0000 (21:37 +0000)]
- Hey STDCALL, you just got deprecated from rostests

svn path=/trunk/; revision=37750

12 years ago- Welcome to rosapps NTAPI/WINAPI, farewell STDCALL
Stefan Ginsberg [Sat, 29 Nov 2008 21:23:45 +0000 (21:23 +0000)]
- Welcome to rosapps NTAPI/WINAPI, farewell STDCALL

svn path=/trunk/; revision=37749

12 years ago- <@silverblade> it does nothing, it can be destroyed. -- Goodbye avtest, no one...
Stefan Ginsberg [Sat, 29 Nov 2008 21:19:34 +0000 (21:19 +0000)]
- <@silverblade> it does nothing, it can be destroyed. -- Goodbye avtest, no one will miss you

svn path=/trunk/; revision=37748

12 years ago- Don't generate a function with non-standard STDCALL -- WINAPI works great, I promise.
Stefan Ginsberg [Sat, 29 Nov 2008 21:01:42 +0000 (21:01 +0000)]
- Don't generate a function with non-standard STDCALL -- WINAPI works great, I promise.

svn path=/trunk/; revision=37747

12 years ago- Improve parameter checks to prevent access beyond array boundaries
Gregor Schneider [Sat, 29 Nov 2008 21:01:14 +0000 (21:01 +0000)]
- 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

12 years ago- STDCALL -> NTAPI
Stefan Ginsberg [Sat, 29 Nov 2008 20:47:48 +0000 (20:47 +0000)]
- STDCALL -> NTAPI

svn path=/trunk/; revision=37745

12 years ago- Fix two possible memory leaks by freeing resources
Gregor Schneider [Sat, 29 Nov 2008 20:30:18 +0000 (20:30 +0000)]
- 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

12 years ago- Remove system_header
Stefan Ginsberg [Sat, 29 Nov 2008 20:17:45 +0000 (20:17 +0000)]
- Remove system_header

svn path=/trunk/; revision=37743

12 years ago- STDCALL -> NTAPI
Stefan Ginsberg [Sat, 29 Nov 2008 20:14:45 +0000 (20:14 +0000)]
- STDCALL -> NTAPI

svn path=/trunk/; revision=37742

12 years ago- Updated msvcrt winetests introduced new printf testcases and new failures - fixed:
Gregor Schneider [Sat, 29 Nov 2008 19:39:53 +0000 (19:39 +0000)]
- 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

12 years ago- Kill off ramdrv, it is deprecated since a long time ago.
Stefan Ginsberg [Sat, 29 Nov 2008 19:35:04 +0000 (19:35 +0000)]
- Kill off ramdrv, it is deprecated since a long time ago.
See issue #3422 for more details.

svn path=/trunk/; revision=37739

12 years agoUpdate msvcrt winetest, test_codepage still disabled as before
Gregor Schneider [Sat, 29 Nov 2008 19:18:59 +0000 (19:18 +0000)]
Update msvcrt winetest, test_codepage still disabled as before

svn path=/trunk/; revision=37736

12 years ago- Added support for floating point and exponential formats to *printf functions
Gregor Schneider [Sat, 29 Nov 2008 17:07:09 +0000 (17:07 +0000)]
- 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

12 years ago- Implement ScsiPortCompleteRequest based on OSR description.
Aleksey Bragin [Sat, 29 Nov 2008 16:24:29 +0000 (16:24 +0000)]
- Implement ScsiPortCompleteRequest based on OSR description.
See issue #3025 for more details.

svn path=/trunk/; revision=37732

12 years ago- Fix build
Dmitry Chapyshev [Sat, 29 Nov 2008 12:57:50 +0000 (12:57 +0000)]
- Fix build

svn path=/trunk/; revision=37726

12 years ago- DPRINT1(...); -> UNIMPLEMENTED;
Dmitry Chapyshev [Sat, 29 Nov 2008 12:49:08 +0000 (12:49 +0000)]
- DPRINT1(...); -> UNIMPLEMENTED;

svn path=/trunk/; revision=37725

12 years ago- Fix GetSystemPaletteEntries.
James Tabor [Sat, 29 Nov 2008 11:31:40 +0000 (11:31 +0000)]
- Fix GetSystemPaletteEntries.

svn path=/trunk/; revision=37723

12 years ago- guiddef.h: Don't define GUID_NULL as extern as the official header set doesn't...
Stefan Ginsberg [Sat, 29 Nov 2008 10:49:36 +0000 (10:49 +0000)]
- 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

12 years ago- MSFS: Don't rely on PSDK headers for MAILSLOT_NO_MESSAGE/MAILSLOT_WAIT_FOREVER
Stefan Ginsberg [Sat, 29 Nov 2008 10:26:47 +0000 (10:26 +0000)]
- MSFS: Don't rely on PSDK headers for MAILSLOT_NO_MESSAGE/MAILSLOT_WAIT_FOREVER

svn path=/trunk/; revision=37719

12 years ago- Don't redefine basic types
Stefan Ginsberg [Sat, 29 Nov 2008 10:22:57 +0000 (10:22 +0000)]
- Don't redefine basic types

svn path=/trunk/; revision=37718

12 years ago - Fix behavior of kernel APCs interrupting waits on gate objects. Patch by Alex...
Cameron Gutman [Sat, 29 Nov 2008 02:57:21 +0000 (02:57 +0000)]
 - Fix behavior of kernel APCs interrupting waits on gate objects. Patch by Alex Ionescu.

svn path=/trunk/; revision=37714

12 years ago - Merge aicom-network-fixes up to r37712
Cameron Gutman [Sat, 29 Nov 2008 01:51:19 +0000 (01:51 +0000)]
 - Merge aicom-network-fixes up to r37712

svn path=/trunk/; revision=37713

12 years ago- Don't add an include path for internal win32k headers as dxg doesn't include them...
Stefan Ginsberg [Fri, 28 Nov 2008 20:26:25 +0000 (20:26 +0000)]
- Don't add an include path for internal win32k headers as dxg doesn't include them anymore

svn path=/trunk/; revision=37711

12 years ago- Add a header guard for pnp.idl's RESOURCEID, and add an internal define for setupap...
Stefan Ginsberg [Fri, 28 Nov 2008 20:24:36 +0000 (20:24 +0000)]
- Add a header guard for pnp.idl's RESOURCEID, and add an internal define for setupapi as it uses incompatible Wine headers

svn path=/trunk/; revision=37710

12 years ago- Use stdarg.h from psdk so we don't get redefinition conflicts
Stefan Ginsberg [Fri, 28 Nov 2008 20:18:13 +0000 (20:18 +0000)]
- Use stdarg.h from psdk so we don't get redefinition conflicts

svn path=/trunk/; revision=37709

12 years ago- Add a missing define -- fixes DECLARE_INTERFACE and everything related for kernel...
Stefan Ginsberg [Fri, 28 Nov 2008 18:24:30 +0000 (18:24 +0000)]
- Add a missing define -- fixes DECLARE_INTERFACE and everything related for kernel mode

svn path=/trunk/; revision=37707

12 years agoGCC 4.3 correctly aligns stack-allocated objects
KJK::Hyperion [Fri, 28 Nov 2008 14:47:19 +0000 (14:47 +0000)]
GCC 4.3 correctly aligns stack-allocated objects
Patch by "hto", from bugzilla
See issue #3608 for more details.

svn path=/trunk/; revision=37706

12 years agoDon't let ASSERT_SRW_WAITBLOCK evaluate to nothing - make it evaluate to (void)0...
KJK::Hyperion [Fri, 28 Nov 2008 14:38:41 +0000 (14:38 +0000)]
Don't let ASSERT_SRW_WAITBLOCK evaluate to nothing - make it evaluate to (void)0, like ASSERT would
See issue #3608 for more details.

svn path=/trunk/; revision=37705

12 years agoASSERT really needs to be void, despite what DDK headers might say. Fixes following...
KJK::Hyperion [Fri, 28 Nov 2008 14:33:21 +0000 (14:33 +0000)]
ASSERT really needs to be void, despite what DDK headers might say. Fixes following warning:

lib\rtl\srw.c: In function 'RtlAcquireSRWLockShared':
lib\rtl\srw.c:498: error: statement with no effect
lib\rtl\srw.c: In function 'RtlAcquireSRWLockExclusive':
lib\rtl\srw.c:637: error: statement with no effect
lib\rtl\srw.c:668: error: statement with no effect
lib\rtl\srw.c:696: error: statement with no effect
See issue #3922 for more details.

svn path=/trunk/; revision=37704

12 years agoTypo. Bogus text to make commit message long enough.
KJK::Hyperion [Fri, 28 Nov 2008 14:29:12 +0000 (14:29 +0000)]
Typo. Bogus text to make commit message long enough.

svn path=/trunk/; revision=37703

12 years ago- update user32 winetest
Kamil Hornicek [Fri, 28 Nov 2008 12:02:57 +0000 (12:02 +0000)]
- update user32 winetest

svn path=/trunk/; revision=37702

12 years ago- fix a typo
Kamil Hornicek [Fri, 28 Nov 2008 11:51:12 +0000 (11:51 +0000)]
- fix a typo
- add a define for user32 winetest

svn path=/trunk/; revision=37701

12 years agoUpdate UniATA to Version 0.39j Credits go to Samuel Serapion
Daniel Reimer [Fri, 28 Nov 2008 09:02:24 +0000 (09:02 +0000)]
Update UniATA to Version 0.39j Credits go to Samuel Serapion

svn path=/trunk/; revision=37700

12 years ago- Move out stubs and place them where they belong.
James Tabor [Fri, 28 Nov 2008 03:57:57 +0000 (03:57 +0000)]
- Move out stubs and place them where they belong.

svn path=/trunk/; revision=37699

12 years agoUpdate gdi32 winetests, so we don't run out of things to fix.
Gregor Schneider [Thu, 27 Nov 2008 20:52:01 +0000 (20:52 +0000)]
Update gdi32 winetests, so we don't run out of things to fix.

svn path=/trunk/; revision=37695

12 years ago- Finnish up gdi wine pen cross test fixes.
James Tabor [Thu, 27 Nov 2008 20:51:19 +0000 (20:51 +0000)]
- Finnish up gdi wine pen cross test fixes.
- Fix width issue with simple stock pens.
- Fix Info DC building. This was made obvious with wine pen cross tests.

svn path=/trunk/; revision=37694

12 years ago- PS_NULL might always be a LOGPEN, but can be retrieved as LOGPEN and EXTLOGPEN...
Gregor Schneider [Thu, 27 Nov 2008 20:31:37 +0000 (20:31 +0000)]
- PS_NULL might always be a LOGPEN, but can be retrieved as LOGPEN and EXTLOGPEN, distinguished by the supplied buffer size
- Fixes 8 gdi32 pen winetests, finally all left failures are visible in one cmd window ;-)

svn path=/trunk/; revision=37693

12 years ago- less break, more build
Stefan Ginsberg [Thu, 27 Nov 2008 20:15:51 +0000 (20:15 +0000)]
- less break, more build

svn path=/trunk/; revision=37692

12 years ago- Videoprt should only use the error codes provided in dderror.h, fix that. Also...
Stefan Ginsberg [Thu, 27 Nov 2008 20:05:12 +0000 (20:05 +0000)]
- Videoprt should only use the error codes provided in dderror.h, fix that. Also include dderror.h and make the windef.h dependency explicit.
- Include dderror.h in vbemp/vgamp/xboxvmp too, and make sure vbemp gets its precious HIWORD/LOWORD

svn path=/trunk/; revision=37691

12 years ago- Correct numerous structures to work without windef.h (makes them match official...
Stefan Ginsberg [Thu, 27 Nov 2008 17:02:09 +0000 (17:02 +0000)]
- Correct numerous structures to work without windef.h (makes them match official DDK, too) and fix some double definitions.
- Use same header guard in ddk's ntstatus.h as psdk's to prevent bogus redefinition errors. Also correct some status codes in the psdk version.

svn path=/trunk/; revision=37690

12 years ago- DXAPI: Fix incompatible header inclusion
Stefan Ginsberg [Thu, 27 Nov 2008 15:34:33 +0000 (15:34 +0000)]
- DXAPI: Fix incompatible header inclusion
- DXG: Change the way PDC is defined -- treat the DC structure as opaque instead of including internal win32k headers. Also rework the way DD_BASEOBJECT is defined.

svn path=/trunk/; revision=37689

12 years ago- ACPI: Don't redefine standard DDK types
Stefan Ginsberg [Thu, 27 Nov 2008 15:02:47 +0000 (15:02 +0000)]
- ACPI: Don't redefine standard DDK types
- TCPIP/IP/TDI/Uniata: Don't use user mode types
- USBDRIVER: Remove a peculiar redefinition of ULONG_PTR
- NDIS: Remove duplicate (and undocumented) types from ndis.h, defined in an internal NDIS header long ago. Also fix some warnings, define UINT as appropriate, and add a clever (not really) workaround for a gcc/msvc incompatibility. -- For some obnoxious reason msvc is fine with redeclaring types compatibly, while gcc treats it as an error. PSDK and DDK require this, so we need...extended header checks.

svn path=/trunk/; revision=37688

12 years ago- Add WM_SYSCHAR to U32IsValidAccelMessage. See bug #543 for more info.
Michael Martin [Thu, 27 Nov 2008 13:54:29 +0000 (13:54 +0000)]
- Add WM_SYSCHAR to U32IsValidAccelMessage. See bug #543 for more info.

svn path=/trunk/; revision=37687

12 years ago- sync wined3d, d3d8, d3d9 to wine HEAD part 2/2
Kamil Hornicek [Thu, 27 Nov 2008 09:20:38 +0000 (09:20 +0000)]
- sync wined3d, d3d8, d3d9 to wine HEAD part 2/2

svn path=/trunk/; revision=37684

12 years ago- sync wined3d, d3d8, d3d9 to wine HEAD part 1/2
Kamil Hornicek [Thu, 27 Nov 2008 09:20:16 +0000 (09:20 +0000)]
- sync wined3d, d3d8, d3d9 to wine HEAD part 1/2

svn path=/trunk/; revision=37683

12 years ago- .DEF -> .SPEC
Dmitry Chapyshev [Thu, 27 Nov 2008 08:40:47 +0000 (08:40 +0000)]
- .DEF -> .SPEC
- Add some stubs

svn path=/trunk/; revision=37681

12 years ago- Fixed stock object creation for pens. Now pass all but 25 pen cross tests. Please...
James Tabor [Wed, 26 Nov 2008 20:44:41 +0000 (20:44 +0000)]
- Fixed stock object creation for pens. Now pass all but 25 pen cross tests. Please use latest wine gdi tests.

svn path=/trunk/; revision=37677

12 years ago- tool for autoconverting INF files to utf-16le from an arbitrary unicode encoding
Matthias Kupfer [Wed, 26 Nov 2008 20:38:15 +0000 (20:38 +0000)]
- tool for autoconverting INF files to utf-16le from an arbitrary unicode encoding

svn path=/trunk/; revision=37676

12 years ago- Slightly reorder freeldr.h's include order
Stefan Ginsberg [Wed, 26 Nov 2008 20:33:34 +0000 (20:33 +0000)]
- Slightly reorder freeldr.h's include order

svn path=/trunk/; revision=37675

12 years ago- Fix some definitions, and remove __DD_INCLUDED__ hack
Stefan Ginsberg [Wed, 26 Nov 2008 20:00:14 +0000 (20:00 +0000)]
- Fix some definitions, and remove __DD_INCLUDED__ hack

svn path=/trunk/; revision=37673

12 years agoadd myself
Matthias Kupfer [Wed, 26 Nov 2008 19:48:01 +0000 (19:48 +0000)]
add myself

svn path=/trunk/; revision=37672

12 years ago- Fix release build
Stefan Ginsberg [Wed, 26 Nov 2008 19:24:10 +0000 (19:24 +0000)]
- Fix release build

svn path=/trunk/; revision=37671

12 years ago- Define NTSTATUS in a way compatible with the current header set
Stefan Ginsberg [Wed, 26 Nov 2008 19:22:33 +0000 (19:22 +0000)]
- Define NTSTATUS in a way compatible with the current header set

svn path=/trunk/; revision=37670

12 years ago- Ksuser: Cleanup header usage a bit, and make sure NTSTATUS gets defined
Stefan Ginsberg [Wed, 26 Nov 2008 19:04:55 +0000 (19:04 +0000)]
- Ksuser: Cleanup header usage a bit, and make sure NTSTATUS gets defined
- Kernel32: Undefine IOCTL_SERIAL_LSRMST_INSERT so we don't get a (bogus) incompatible redefinition warning

svn path=/trunk/; revision=37669

12 years ago- Fix some coverity errors.
Aleksey Bragin [Wed, 26 Nov 2008 18:56:41 +0000 (18:56 +0000)]
- Fix some coverity errors.
- Use KeBugCheck(MEMORY_MANAGEMENT) instead of ASSERT(FALSE), so it dies on release builds too.
- Enable support for Hyper-V.
- Fix incorrect gate wait code -- fixes sporadic crashes in the network stack.
- Mark KeBugCheck*, ExRaise* and RtlRaiseStatus as declspec(noreturn), for better optimization of functions which call them, less potential warnings in the compiler, and, assuming coverity understands it, less false CIDs.
- Fix KiUpdateDr7, which resulted in broken support for hardware breakpoints.
- Fix failure cases in EnumerateRootDevices which might've freed non-allocated memory.
- Fix NtAddAtom/NtFindAtom logic when dealing with NULL or kernel Atom names.

Patch by Alex Ionescu.

svn path=/trunk/; revision=37668

12 years ago- kmtest: Don't use user mode types
Stefan Ginsberg [Wed, 26 Nov 2008 18:43:27 +0000 (18:43 +0000)]
- kmtest: Don't use user mode types
- memtest: uh, no. ZwQuerySystemInformation does not return NO_ERROR

svn path=/trunk/; revision=37667

12 years ago- Add ExtCreatePen note: This is an enhancement and prevents a call to kernel space.
James Tabor [Wed, 26 Nov 2008 17:47:21 +0000 (17:47 +0000)]
- Add ExtCreatePen note: This is an enhancement and prevents a call to kernel space.

svn path=/trunk/; revision=37666

12 years ago- Update CL type.
James Tabor [Wed, 26 Nov 2008 17:11:59 +0000 (17:11 +0000)]
- Update CL type.

svn path=/trunk/; revision=37665

12 years agomodified lib/pseh/i386/framebased-gcchack.S
KJK::Hyperion [Wed, 26 Nov 2008 16:15:29 +0000 (16:15 +0000)]
modified   lib/pseh/i386/framebased-gcchack.S
   Typo

svn path=/trunk/; revision=37664