Commit Graph

42088 Commits

Author SHA1 Message Date
Stefan Ginsberg
054ccf1593 - Remove ntdll exports not applicable for amd64, fix a couple of broken export names and stub out RtlInitializeCriticalSectionEx until its parameters are determined
- Add rtl and ntdll stubs for arch specific routines
- Now ntdll almost links, but some missing crt support is left to do

svn path=/branches/ros-amd64-bringup/; revision=37004
2008-10-26 21:35:03 +00:00
Gregor Schneider
2d24e47d1d DWORD is unsigned, so cast to signed type before checking for < 0. Fixes one gdi32 winetest.
svn path=/trunk/; revision=37002
2008-10-26 21:06:11 +00:00
Eric Kohl
53177f48f4 Initialize _RetVal properly in order to avoid compiler warnings.
svn path=/trunk/; revision=37001
2008-10-26 21:03:11 +00:00
Matthias Kupfer
d0c2deb15d Olaf Siejka (Caemyr) <olaf_siejka AT o2 DOT pl>
- Cleanup reactos installation package list

svn path=/trunk/; revision=36999
2008-10-26 20:54:05 +00:00
Gregor Schneider
f32b7b7615 - Add missing cleanup code
- Rename variables to fit the naming scheme
- Extend error dprints
- Some comment changes
- Fixes CIDs 617, 618, 619, 620

svn path=/trunk/; revision=36998
2008-10-26 18:29:56 +00:00
Gregor Schneider
5a80a9a5c6 StretchBlt:
- Pixel size depends on the type of the destination surface, so don't always write ULONG values
- Use PutPixel and remove now unneeded position code
- Fixes high red zone overwrites, see bug #812 (vlc) and bug #3807 (ccleaner)
- Enable dprints for unhandled sources
- Add a parameter dprint for 24bpp

svn path=/trunk/; revision=36997
2008-10-26 18:07:10 +00:00
Christoph von Wittich
8fb42ca34d fix some advapi32 security winetests
svn path=/trunk/; revision=36996
2008-10-26 18:03:38 +00:00
Colin Finck
4ad62aac38 - Add a "host" attribute to the project's <include> and <define> tags to make it possible to define global includes/defines for host components
- Define TARGET_arm/TARGET_i386 in the ReactOS-arm.rbuild/ReactOS-i386.rbuild files for the host tools to make it possible for them to know about the target to build
- Make use of this define in winebuild to fix the issue of r36927 properly
- Define global includes for host tools to simplify all host tool/library rbuild files
- Remove dead rbuild code

- Remove the include/reactos/config.h file, none of its defines are still used
- Fix components accidentally using that file

svn path=/trunk/; revision=36995
2008-10-26 18:03:06 +00:00
Aleksey Bragin
3ad56b6c40 - Port RegDeleteTreeW from Wine, and remove previous implementation (fixes registry regtests). That previous implementation was better due to the fact it was not recursive, however it's buggy and noone managed to fix it since the commit's date (revision ~17000). It's wrapped into #if0-#endif now so the code doesn't get lost.
svn path=/trunk/; revision=36994
2008-10-26 15:40:44 +00:00
Stefan Ginsberg
a9ef487300 - Convert to .spec
svn path=/branches/ros-amd64-bringup/; revision=36993
2008-10-26 15:34:08 +00:00
Stefan Ginsberg
3120b5e9f9 - Fix csrss compilation (treat handles as pointer sized, use SIZE_T where appropriate)
svn path=/branches/ros-amd64-bringup/; revision=36992
2008-10-26 15:23:00 +00:00
Eric Kohl
725ff32421 Service Manager:
- Get rid of the globally created binding handle and use the WIDL-generated custom binding handles and context handles instead.

The other RPC interfaces will be converted as soon as possible.

svn path=/trunk/; revision=36991
2008-10-26 15:11:28 +00:00
Stefan Ginsberg
1d619ca266 - Fix function definitions to match header changes
- Don't use x86 fiber assembly for amd64, just stub it out completely
- Use AMD64 definitions in BasepInitializeContext, and add a broken KGDT_64_R3_TEB

svn path=/branches/ros-amd64-bringup/; revision=36990
2008-10-26 14:45:13 +00:00
Aleksey Bragin
323b029e49 - Print out event GUID if it's unknown in umpnpmgr.
- Fix a typo in vdmmain.c.

svn path=/trunk/; revision=36989
2008-10-26 14:38:50 +00:00
Stefan Ginsberg
b58ab412df - Make user32 compile and link by defining Get/SetClass/WindowLongPtrA/W
svn path=/branches/ros-amd64-bringup/; revision=36988
2008-10-26 14:25:12 +00:00
Samuel Serapion
1ca859a549 - Fix user32 compilation errors.
- Don't let stefan steal the glory.

svn path=/branches/ros-amd64-bringup/; revision=36987
2008-10-26 13:56:59 +00:00
Christoph von Wittich
41ab62c3a6 import LookupPrivilegeNameA from wine
svn path=/trunk/; revision=36986
2008-10-26 12:35:42 +00:00
Eric Kohl
c22ad7e659 Service Manager:
- Fix declaration of SERVICE_STATUS_HANDLE in the PSDK.
- Add a new custom binding handle to svcctl.idl as an alias of SERVICE_STATUS_HANDLE.
- Enable all custom binding handles in svcctl.idl and fix services.exe and advapi32.dll accordingly.

svn path=/trunk/; revision=36985
2008-10-26 12:33:36 +00:00
Stefan Ginsberg
d1c6a82adb - Switch Win32K export list to .spec
svn path=/trunk/; revision=36984
2008-10-26 12:31:40 +00:00
Stefan Ginsberg
355b8a2859 - Add missing EngMapFile and EngQueryFileTimeStamp
- Swap EngUnmapFile and EngUnmapEvent to maintain alphabetical ordering

svn path=/trunk/; revision=36983
2008-10-26 12:22:45 +00:00
Eric Kohl
1e39b5fb16 WIDL: Enable the use of scalar types (non-pointer types) as custom binding handles.
svn path=/trunk/; revision=36982
2008-10-26 12:17:36 +00:00
Christoph von Wittich
13dcae5f0c -move ConvertSecurityDescriptorToStringSecurityDescriptorA/W from sec.c to sid.c
-import ConvertSecurityDescriptorToStringSecurityDescriptorA from wine

svn path=/trunk/; revision=36981
2008-10-26 12:16:48 +00:00
Aleksey Bragin
b46e8cc18b - Let's get back to one RTL library for now, because:
* 36761 just separated the library, but all hacks remain in the tree.
 * Real solution needs at least 3 RTL libraries (kernelmode, usermode, bootloader), otherwise we'll still have to have RTL-libsupp library.
 * I couldn't reach consensuss with developers about either method.
 * Since the only disadvantages now are the usermode/kernelmode structure differences hack (which was not removed) and additional small support libraries (which were not removed, including RtlpGetMode, which remained), there is no reason to waste time for compiling RTL twice without benefits.

svn path=/trunk/; revision=36980
2008-10-26 12:16:04 +00:00
Aleksey Bragin
a15056faf9 Dmitry Gorbachev
- Fix a modifier flag in interlocked functions' inlined asm. See detailed explanation in bug 3772.
See issue #3772 for more details.

svn path=/trunk/; revision=36979
2008-10-26 10:47:07 +00:00
James Tabor
861ffcb4ce - Update user connect structure.
svn path=/trunk/; revision=36977
2008-10-26 00:50:16 +00:00
Stefan Ginsberg
1937a19400 - Add missing EngPlgBlt export
svn path=/trunk/; revision=36975
2008-10-25 23:46:56 +00:00
Cameron Gutman
6089f9fe0b - Merge aicom-network-fixes up to r36973
svn path=/trunk/; revision=36974
2008-10-25 23:44:41 +00:00
Stefan Ginsberg
5d8f94e352 - When doing pointer arithmetic, ULONG_PTR is your friend
svn path=/branches/ros-amd64-bringup/; revision=36972
2008-10-25 22:57:16 +00:00
Stefan Ginsberg
02a9619cec - Don't typedef ULONG_PTR to a 32-bit value
svn path=/branches/ros-amd64-bringup/; revision=36971
2008-10-25 22:48:28 +00:00
Stefan Ginsberg
fa5b3a90b9 - Make videoprt compile for 64-bit
- Disable Int10 support as it uses x86 specific structures (is this support still available on amd64?)
- Disable VideoPortEnable/DisableInterrupt -- HalEnable/DisableSystemInterrupt are not apparently present on NT AMD64, so need to figure out what else to use (and if these routine are still present on amd64 videoprt)

svn path=/branches/ros-amd64-bringup/; revision=36969
2008-10-25 22:33:55 +00:00
Michael Martin
f4ab2b4a4b - Correct fix for handling WM_MOUSEACTIVATE and Bug #3111. If no parent, use MsgWindow->hSelf as wParam.
svn path=/trunk/; revision=36965
2008-10-25 18:42:42 +00:00
Stefan Ginsberg
e26b785954 - Fix DXG 64-bit compilation (fix not entirely correct though)
svn path=/branches/ros-amd64-bringup/; revision=36964
2008-10-25 18:18:03 +00:00
KJK::Hyperion
79e9ba171b Visual C++ backend for rbuild (for now just a hacked mingw backend) and related compilation fixes. Just run vcvars.bat from a RosBE console and "make"!
modified   dll/win32/aclui/guid.c
modified   dll/win32/aclui/precomp.h
modified   drivers/bus/acpi/include/actypes.h
modified   drivers/bus/acpi/include/platform/acenv.h
   Miscellaneous compilation fixes

modified   dll/win32/aclui/sidcache.c
   Damn, forgot to commit this to trunk

deleted    include/psdk/intrin.h
added      include/psdk/intrin.h.bak
   intrin.h is positively not a PSDK header

modified   lib/3rdparty/mingw/wcrt1.c
   Port to Visual C++

modified   ReactOS-generic.rbuild
   Use Visual C++'s built-in CRT headers for now

modified   ReactOS-i386.rbuild
   Translate global compiler flags to Visual C++

modified   tools/rbuild/backend/mingw/mingw.cpp
   No need for -pipe in Visual C++
   Disable precompiled headers for now
   Enable a whole lotta warnings, and disable a few. Should move this to a response file somewhere

modified   tools/rbuild/backend/mingw/modulehandler.cpp
   .a -> .lib
   .o -> .obj
   .coff -> .res.obj, fix windres command line to remove the ambiguity
   ${gcc}/${gpp} -> ${cl}, translate command line options
   ECHO_CC -> ECHO_CL
   Pass *_RCFLAGS to gas instead of *_CFLAGS, for now, so that gas only sees includes and defines (in the future we'll have something like *_ASFLAGS)
   Disabled some gcc-specific code for now

modified   tools/rbuild/module.cpp
   .a -> .lib, .o -> .obj, lib<name>.a -> <name>.lib; and why the hell is this in the front-end?

svn path=/branches/the-real-msvc/; revision=36963
2008-10-25 18:13:25 +00:00
Stefan Ginsberg
2121dff3f7 - Make serial build for 64 bit -- explicitly cast first parameter to InterlockedCompareExchangePointer
to PVOID (not needed, with ros headers, on 32-bit for whatever reason)

svn path=/branches/ros-amd64-bringup/; revision=36961
2008-10-25 17:58:43 +00:00
KJK::Hyperion
c0fa485960 The real, definitive, Visual C++ support branch. Accept no substitutes
svn path=/branches/the-real-msvc/; revision=36960
2008-10-25 17:56:00 +00:00
Stefan Ginsberg
b1fb36d594 - Fix isapnp compilation for 64-bit
svn path=/branches/ros-amd64-bringup/; revision=36958
2008-10-25 17:50:42 +00:00
KJK::Hyperion
10c26d1da1 modified dll/win32/kernel32/kernel32.rbuild
Disable exceptions and RTTI in kernel32_base
   Move icustubs.cpp closer to other NLS stuff

This commit dedicated to Stefan100

svn path=/trunk/; revision=36957
2008-10-25 17:41:48 +00:00
KJK::Hyperion
384cece98f I did not, in fact, test my commit
svn path=/trunk/; revision=36956
2008-10-25 17:36:53 +00:00
Gregor Schneider
672d2fbba6 Misc. typo fixes
svn path=/trunk/; revision=36955
2008-10-25 17:35:45 +00:00
KJK::Hyperion
168997c0d1 modified base/applications/screensavers/3dtext/3dtext.rbuild
modified   lib/sdk/crt/crt.rbuild
   Split chkstk away from crt
   Link 3dtext to chkstk for Visual C++ builds (a gcc-built 3dtext would simply crash, I guess?)

modified   dll/cpl/access/display.c
modified   dll/cpl/access/general.c
modified   dll/cpl/access/keyboard.c
modified   dll/cpl/access/mouse.c
   Fixed signedness violations (thank you cl -Wall -W4)

modified   dll/win32/acledit/acledit.rbuild
modified   dll/win32/aclui/aclui.rbuild
   Removed empty stubs (thank you cl -Wall -W4)

modified   dll/win32/aclui/checklist.c
   Fixed signedness violations
   wcsnicmp is not a standard C routine
   BOOL is not a boolean
   Thank you cl -Wall -W4

modified   dll/win32/aclui/sidcache.c
   Marked possible overflow (thank you cl -Wall -W4)

modified   dll/win32/msvcrt/msvcrt.def
   __iob_func and __p_iob are the same thing
   Export non-conforming swprintf as _swprintf, too (will fix for real later)
   Thank you cl -Wall -W4

modified   include/ddk/winddk.h
   Zero-length array field in struct _SCATTER_GATHER_LIST
   Forward-declare structures out of argument lists
   Thank you cl -Wall -W4

modified   include/reactos/msvctarget.h
   No need to emulate Visual C++ flags when compiling with Visual C++

modified   lib/3rdparty/mingw/cpu_features.c
modified   lib/3rdparty/mingw/cpu_features.h
   Useless dependency from stdbool.h removed
   Now compiles with Visual C++ too

modified   lib/3rdparty/mingw/getopt.c
   Silence harmless warning

modified   lib/3rdparty/mingw/isascii.c
modified   lib/3rdparty/mingw/iscsym.c
modified   lib/3rdparty/mingw/iscsymf.c
modified   lib/3rdparty/mingw/toascii.c
   Undefine conflicting macro names before declaring the functions

modified   Makefile
   Visual C++ support is coming, did you bring your coat?

svn path=/trunk/; revision=36954
2008-10-25 17:32:54 +00:00
Stefan Ginsberg
c194188c58 - Fix AFD compilation for 64-bit (treat handles as ULONG_PTR-sized)
- Also correct Winsock's SOCKET definition

svn path=/branches/ros-amd64-bringup/; revision=36953
2008-10-25 17:15:23 +00:00
Stefan Ginsberg
fb787b7deb - More correct MmGetSystemAddressForMdlSafe macro
svn path=/branches/ros-amd64-bringup/; revision=36952
2008-10-25 16:26:30 +00:00
Stefan Ginsberg
360b21c776 - Fix ne2000 compilation (treat pointer size as ULONG_PTR, correct function prototypes)
svn path=/branches/ros-amd64-bringup/; revision=36951
2008-10-25 16:12:03 +00:00
Michael Martin
b8e2e47d4e - Do not send the WM_MOUSEACTIVATE message for a window that has no parent.
- Fixes visual basic application crashes when clicking on form. See bug #3111 for more details.

svn path=/trunk/; revision=36950
2008-10-25 16:08:59 +00:00
Stefan Ginsberg
12569cc78d - Fix NTFS FSD compilation (correct 2 casts)
svn path=/branches/ros-amd64-bringup/; revision=36949
2008-10-25 16:00:42 +00:00
James Tabor
bb641e28cb - Patch by hto: Do not wait until process is closed with process database locked. See Bug 3805.
svn path=/trunk/; revision=36948
2008-10-25 15:33:02 +00:00
Colin Finck
6d2f6893bc Don't export ScreenSaverProc and ScreenSaverConfigureDialog anymore
I don't know any app still needing these exports and even Windows screensavers don't export anything nowadays.

svn path=/trunk/; revision=36947
2008-10-25 15:15:54 +00:00
Colin Finck
8c81c894b0 Return if the screensaver window couldn't be created to avoid a warning about using the uninitialized variable "msg".
Spotted by KJK & CL

svn path=/trunk/; revision=36946
2008-10-25 15:14:09 +00:00
Aleksey Bragin
d0ccc9c5ec - Remove version defines.
svn path=/trunk/; revision=36945
2008-10-25 15:03:02 +00:00
Colin Finck
ce96d49c36 Fix build broken in r36927
The #ifdef's here are defined by the host, not by the target.
Therefore we can't check with #if defined(__x86_64__) whether we build for 64-bit. Probably a _TARGET_PE64 solution like we have for rsym is needed here to fix this properly also for the AMD64 port.

svn path=/trunk/; revision=36944
2008-10-25 14:49:51 +00:00