Commit graph

33312 commits

Author SHA1 Message Date
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
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
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
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
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
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
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
Christoph von Wittich d80a56b7f9 fix advpack_winetest build
svn path=/trunk/; revision=36943
2008-10-25 14:16:58 +00:00
Christoph von Wittich 89ae880958 remove all version defines from rostests
svn path=/trunk/; revision=36942
2008-10-25 14:04:03 +00:00
Aleksey Bragin 5b1318aae8 - Remove version defines.
svn path=/trunk/; revision=36941
2008-10-25 14:00:02 +00:00
Aleksey Bragin d20963f130 - Remove version defines.
svn path=/trunk/; revision=36940
2008-10-25 12:16:25 +00:00
Aleksey Bragin 64bd93d803 - Globalize ReactOS target version (there are a few overrides for our abuse of RegDeleteTree API).
*** .rbuild files MUST NOT contain version definitions now, please pay attention to this when doing Wine-syncs, adding new modules, or applying old patches! ***
Same applies to source code files, header files, and other includables. Thanks to Marc Piulachs for doing the base work, which I continued, and which resulted in this commit.
See issue #2745 for more details.

svn path=/trunk/; revision=36939
2008-10-25 12:15:44 +00:00
Aleksey Bragin f39710c68c Dmitry Gorbachev
- Change include order to prevent redefinition of _pctype.
See issue #3801 for more details.

svn path=/trunk/; revision=36938
2008-10-25 11:09:33 +00:00
Dmitry Chapyshev 8d30598bdf - Change SetSysColorsTemp declaration
svn path=/trunk/; revision=36934
2008-10-25 07:39:33 +00:00
Dmitry Chapyshev 1e2dcd06e8 DefWindowProcA/W:
- Fix WM_GETTEXTLENGHT message
- Add WM_IME_NOTIFY message
- Implement WM_IME_KEYDOWN, WM_IME_KEYUP, WM_IME_SETCONTEXT, WM_IME_CHAR, WM_IME_STARTCOMPOSITION, WM_IME_COMPOSITION, WM_IME_ENDCOMPOSITION, WM_IME_SELECT, WM_IME_NOTIFY
- Remove CascadeWindows and TileWindows from window.c (it is already declared in mdi.c)
- Implement TileChildWindows, CascadeChildWindows, GetInternalWindowPos, SetSysColorsTemp
- Add checking params for GetProcessDefaultLayout, SetProcessDefaultLayout, GetMouseMovePointsEx, GetRawInputDeviceList
- LockSetForegroundWindow return TRUE
- GetRawInputBuffer, GetRawInputDeviceInfoA/W, DefRawInputProc, GetRawInputData, GetRegisteredRawInputDevices return 0
Based on Wine implementation

svn path=/trunk/; revision=36933
2008-10-25 07:37:48 +00:00
Dmitry Chapyshev 8a90945651 - Sync iads.idl with wine
- Add some defines to winnt.h

svn path=/trunk/; revision=36932
2008-10-25 07:15:16 +00:00
Dmitry Chapyshev df2aabc6ab - Implement RtlFindCharInUnicodeString
- Implement RtlInitializeSListHead, RtlFirstEntrySList, RtlQueryDepthSList
Based on Wine implementation

svn path=/trunk/; revision=36931
2008-10-25 07:12:41 +00:00
KJK::Hyperion 7661ad3e1c modified tools/rbuild/backend/mingw/modulehandler.cpp
Allow static libraries to "link" to other static libraries
   Removed some dead code

modified   dll/nls/normaliz_redist/normaliz_redist.rbuild
modified   dll/win32/kernel32/kernel32.rbuild
   No need to specify icu4ros explicitely anymore, thanks to the rbuild changes
   Make kernel32_base include normalize, rather than linking it as an external dependency of kernel32

svn path=/trunk/; revision=36929
2008-10-25 02:52:24 +00:00
Timo Kreuzer f258a9cc26 merge 36224 and 36910 from amd64 branch
svn path=/trunk/; revision=36928
2008-10-24 22:13:45 +00:00
Timo Kreuzer 4ed5661801 merge 36223 from amd64-branch
svn path=/trunk/; revision=36927
2008-10-24 21:32:48 +00:00
Cameron Gutman 497d2b42a7 - Merge aicom-network-fixes up to r36921
svn path=/trunk/; revision=36922
2008-10-24 09:09:00 +00:00
Stefan Ginsberg 2f626cf5fe - Fix EPROFILE/KPROFILE.Segment member -- it is a pointer
svn path=/trunk/; revision=36917
2008-10-23 19:15:44 +00:00
Stefan Ginsberg be7afb4f81 - Fix Nt/ZwMapViewOfSection parameters (ULONG -> ULONG_PTR and SIZE_T) and the few callers which sent incorrect types
- Also fix MapViewOfFile/Ex parameters

svn path=/trunk/; revision=36915
2008-10-23 18:19:20 +00:00
Timo Kreuzer 688a20a68b Quickfix for bug 3808
Don't set SystemMetrics to -1, when there's no CurInfo. Apparently we initialize the metrics before we have a WindowStation. This code needs to be improved...
See issue #3808 for more details.

svn path=/trunk/; revision=36913
2008-10-23 17:26:50 +00:00
Stefan Ginsberg 922bd47d8d - More 64-bit fixes
svn path=/trunk/; revision=36912
2008-10-23 17:05:40 +00:00
Stefan Ginsberg 63516132ef - 64-bit fixes (ULONG -> SIZE_T)
svn path=/trunk/; revision=36911
2008-10-23 15:56:27 +00:00
Johannes Anderwald cbfc164757 - Fix bug 3782 take #2
- Apply the fix to right source file and not to code which isnt build anymore

svn path=/trunk/; revision=36904
2008-10-23 06:15:43 +00:00
Johannes Anderwald 6a8e7cb444 - Fix bug 3782
- Thanks to vicmarcel for bugtracking

svn path=/trunk/; revision=36897
2008-10-22 18:40:36 +00:00
Aleksey Bragin e432b7cb6a - Typo fix.
See issue #3804 for more details.

svn path=/trunk/; revision=36896
2008-10-22 18:10:17 +00:00
Johannes Anderwald 8f68e42bf2 * Implement details status dialog
* Update all languages with en-US resource file

svn path=/trunk/; revision=36895
2008-10-22 17:46:55 +00:00
Stefan Ginsberg 3113d2a3ba - Notify umpnpmgr about logon after the shell has initialized
- This makes it possible to progress if userinit crashes due to heavy debug output (due to timing issues in its communication with umpnpmgr), which would leave you stranded with no shell. Not really a hack, as it doesn't hide or fix the crash -- just limits it to a missing "Pending device installations" prompt in case there are any pending. Also, it appears to be done the same way on Windows.

svn path=/trunk/; revision=36894
2008-10-22 13:59:01 +00:00
Stefan Ginsberg f9eb539194 - Fix an assertion by casting to internal structures correctly
svn path=/trunk/; revision=36893
2008-10-22 13:24:01 +00:00
Johannes Anderwald e2192f9e89 - Convert the string using the WideCharToMultiByte function and fix passed parameters
- Always zero-terminate the converted buffer
- Remove querying NameServer / DhcpNameServer under Parameters key because it is not used and was not working
- Initialize PrivateNSEnum CurrentName member 
- Make sure that only successfully converted NameServer get copied

svn path=/trunk/; revision=36892
2008-10-22 11:37:33 +00:00
Stefan Ginsberg 8929e5773c - Fix some debug prints
svn path=/trunk/; revision=36891
2008-10-22 11:16:52 +00:00
Johannes Anderwald 0b9841ccba - delete DhcpNameServer key when storing static Nameserver entries
svn path=/trunk/; revision=36890
2008-10-22 09:21:33 +00:00
Johannes Anderwald 04b274e07b - Query first for DhcpNameServer key value as this key is only present when DHCP is activated
svn path=/trunk/; revision=36889
2008-10-22 09:13:15 +00:00
Johannes Anderwald 627d39b522 - Delete old DhcpNameServer key when no nameservers could be obtained
- Close registry key when done

svn path=/trunk/; revision=36888
2008-10-22 09:00:33 +00:00
Daniel Reimer ad02070158 Bug 3668: spanish inf files by Javier Remacha
Bug 3678: Greek translation for some media.inf files by Apostolos Alexiadis
Bug 3777: netcfgx and netshell translation update by Maciej Bialas

svn path=/trunk/; revision=36887
2008-10-22 06:07:13 +00:00