Commit graph

33896 commits

Author SHA1 Message Date
Steven Edwards 69e77bdaf0 Suggest LogonUser/CreateProcessAsUser as a possible
authentication method


svn path=/trunk/; revision=37800
2008-12-01 19:32:22 +00:00
Steven Edwards f0078accf5 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
2008-12-01 18:34:15 +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
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