Commit graph

1770 commits

Author SHA1 Message Date
Dmitry Gorbachev eb68ff54ba - Change description of what OARCH option does.
- Add a separate TUNE option.

svn path=/trunk/; revision=38401
2008-12-28 05:12:45 +00:00
Aleksey Bragin 7738237964 - Leftover, fixes build.
svn path=/trunk/; revision=38357
2008-12-26 16:27:44 +00:00
Aleksey Bragin fd4de76baf - Fix 38352, XMLLoadFile seems to need a separate instance of Path, so revert that optimisation and leave it only to NormalizeFilename.
svn path=/trunk/; revision=38353
2008-12-26 13:25:55 +00:00
Aleksey Bragin 03a011db89 - Add defaultPath global var and use it instead of creating Path objects all the time a filename is queried and/or xml file is read.
svn path=/trunk/; revision=38352
2008-12-26 11:03:16 +00:00
Christoph von Wittich 82cffd5af5 fix some more typos
svn path=/trunk/; revision=38345
2008-12-25 12:27:47 +00:00
Aleksey Bragin f0ad8ee641 - Get back to using deprecated functions (because of linux...).
- Disable warning 4996.

svn path=/trunk/; revision=38301
2008-12-23 14:35:23 +00:00
Aleksey Bragin 9a27812344 - Replace all deprecated functions with underscored names.
- Add _CRT_SECURE_NO_DEPRECATE to VC project file to suppress security warnings.

svn path=/trunk/; revision=38300
2008-12-23 14:19:19 +00:00
KJK::Hyperion 77911bbdee modified include/reactos/wine/exception.h
Farewell Wine exception handling macros. You won't be missed

modified   dll/win32/icmp/icmp_main.c
   Removed gratuitous use of _getpid
   Winsock APIs don't set errno, they set the last error
   As a consequence, icmp.dll no longer depends on msvcrt.dll

modified   tools/rbuild/module.cpp
   Link DLLs to ntdll's CRT instead of msvcrt's by default (most DLLs don't actually need msvcrt)

Everything else:
   Set crt attribute of <module> to "msvcrt" if ntdll isn't good enough
   Link to pseh if necessary

svn path=/trunk/; revision=38221
2008-12-21 03:58:19 +00:00
Jeffrey Morlan 5c760c2d22 widl: Don't assume that host void* is the same size as target void*
svn path=/trunk/; revision=38212
2008-12-21 00:43:56 +00:00
Timo Kreuzer 7d2ae2011e Let rbuild throw an exception when an implicit module dependency (like mingw lib) cannot be resolved instead of silently failing.
svn path=/trunk/; revision=38118
2008-12-16 15:51:55 +00:00
Stefan Ginsberg 3e536240a1 - Revert part of 37861 on kjk's request
svn path=/trunk/; revision=38112
2008-12-15 18:18:23 +00:00
Timo Kreuzer 76a198afb9 Update crt headers and mingw lib from mingw64. Update crt a bit. 4 msvcrt time tests fixed.
svn path=/trunk/; revision=38052
2008-12-13 21:28:05 +00:00
Eric Kohl 7366e052b4 Sync to wine-1.1.4:
- Rob Shearman <robertshearman@gmail.com> Tue, 26 Aug 2008
widl: Raise RPC_X_SS_IN_NULL_CONTEXT exception for NULL in-only context handles instead of RPC_X_NULL_REF_PTR.

Based on a patch by Michael Martin.

- Alexandre Julliard <julliard@winehq.org> Sat, 30 Aug 2008
widl: Replace write_name() by get_name() to make the code more readable.

- Dan Hipschman <dsh@linux.ucla.edu> Tue, 2 Sep 2008
widl: Output NULL for inherited methods in the vtbl.

svn path=/trunk/; revision=37862
2008-12-04 21:22:42 +00:00
KJK::Hyperion 31b83f59b6 modified tools/rbuild/backend/mingw/modulehandler.cpp
DWARF debugging information confuses rsym, and DWARF-2 information from internal libraries (like libgcc) results in huge executables that don't even run on Windows. Therefore, before the rsym phase, strip all DWARF-2 sections
   This is a HACK for gcc builds compiled with DWARF-2 symbols (e.g. 4.3.2-tdm-1). The real solution (to be implemented soon) is to parse DWARF-2 line numbers in rsym
   Amendment to r37851: use objcopy instead of strip because strip gets us more than we bargained for, and strips all debug information too

modified   tools/rsym.c
   Don't overrun a heap block when there are discarded relocations

svn path=/trunk/; revision=37861
2008-12-04 21:13:43 +00:00
Eric Kohl 599818849a Sync to wine-1.1.3:
- Dan Hipschman <dsh@linux.ucla.edu> Thu, 7 Aug 2008
widl: Honor typedef pointer attributes.

svn path=/trunk/; revision=37860
2008-12-04 20:20:08 +00:00
Eric Kohl f12d11b4f7 Sync to wine-1.1.1 (Patch 10 of 10):
- Alexandre Julliard <julliard@winehq.org> Mon, 7 Jul 2008
Add noinput directive to all lex files to avoid a compiler warning.

svn path=/trunk/; revision=37859
2008-12-04 19:52:55 +00:00
Eric Kohl 663337847e Sync to wine-1.1.1 (Patch 9 of 10):
- Alexandre Julliard <julliard@winehq.org> Mon, 7 Jul 2008
widl: Fix a couple of uninitialized variable compiler warnings.

svn path=/trunk/; revision=37858
2008-12-04 19:37:53 +00:00
KJK::Hyperion 45f6b70b73 Undo r37851 because rsym sucks
svn path=/trunk/; revision=37856
2008-12-04 19:01:50 +00:00
KJK::Hyperion 0e80776aff DWARF debugging information confuses rsym, and DWARF-2 information from internal libraries (like libgcc) results in huge executables that don't even run on Windows. Therefore, before the rsym phase, strip all DWARF-2 sections
This is a HACK for gcc builds compiled with DWARF-2 symbols (e.g. 4.3.2-tdm-1). The real solution (to be implemented soon) is to parse DWARF-2 line numbers in rsym

svn path=/trunk/; revision=37851
2008-12-04 16:09:26 +00:00
KJK::Hyperion bf1d153d93 modified lib/3rdparty/mingw/main.c
Make -Wno-main redundant

modified   tools/rbuild/backend/mingw/modulehandler.cpp
   -Wno-main now redundant

svn path=/trunk/; revision=37850
2008-12-04 15:49:47 +00:00
Dmitry Gorbachev 5bc250cc36 Silence compiler warnings (11/11).
svn path=/trunk/; revision=37833
2008-12-03 17:37:58 +00:00
Eric Kohl 4a6ded56dd Sync to wine-1.1.1 (Patch 8 of 10):
- Rob Shearman <robertshearman@gmail.com> Fri, 4 Jul 2008
widl: Remove some unnecessary calls to duptype.

svn path=/trunk/; revision=37814
2008-12-02 21:08:02 +00:00
Eric Kohl 9fcfc6eb1e Sync to wine-1.1.1 (Patch 7 of 10):
- Rob Shearman <robertshearman@gmail.com> Fri, 4 Jul 2008
widl: Rename find_type_helper, find_type and find_type2 to find_type, find_type_error and find_type_error2 respectively.

svn path=/trunk/; revision=37813
2008-12-02 20:45:09 +00:00
Colin Finck 48068dfdd4 Revert r37802, which reverted r37801, which was previously reverted in r37477 reverting r37476.
In other words: Reapply ekohl's widl change part 4, as the Release slave should build it properly now.

svn path=/trunk/; revision=37812
2008-12-02 19:17:32 +00:00
Colin Finck c00c841bd4 Revert my changes in r37808.
Reenable testing on undefined properties, they are treated as being empty now. This feature got lost when moving the <if> block parsing entirely to rbuild in r34852.

Should fix the Release build properly _with_ touching rbuild :-)

svn path=/trunk/; revision=37811
2008-12-02 19:05:11 +00:00
Eric Kohl 371bfcc3b2 Revert 37801 because it still breaks the release build.
svn path=/trunk/; revision=37802
2008-12-01 20:38:24 +00:00
Eric Kohl 4b639a0b94 Sync to wine-1.1.1 (Patch 4 of 10):
ATTENTION: You MUST run "clean" before building ReactOS, otherwise WIDL will crash when it is run.

- Dan Hipschman <dsh@linux.ucla.edu> Tue, 1 Jul 2008
widl: Implement type redefinition checks.

This allows widl to catch type redefinitions and report an error, like MIDL.
However, this does a better job than MIDL since it also reports the location of the originial definition, like GCC.

CREDITS: Thanks to Christoph and Martin von Wittich for updating the Release-Buildslave. This patch should now build on both Buildslaves.

svn path=/trunk/; revision=37801
2008-12-01 20:33:43 +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
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
Sylvain Petreolle 36859720df add missing parenthesis in utf16le
svn path=/trunk/; revision=37753
2008-11-29 23:11:14 +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
Matthias Kupfer 39128171c4 - tool for autoconverting INF files to utf-16le from an arbitrary unicode encoding
svn path=/trunk/; revision=37676
2008-11-26 20:38:15 +00:00
KJK::Hyperion e995c386a7 Supersedes r37631
Undoing fishy patch for warnings in Wine code (see r37629)

svn path=/trunk/; revision=37632
2008-11-25 14:17:27 +00:00
KJK::Hyperion 69f549f59c Undoing fishy patch for warnings in Wine code (see r37629)
svn path=/trunk/; revision=37631
2008-11-25 14:11:55 +00:00
KJK::Hyperion ea60c32d4f Supersedes r37623 with fixes for cross compilation
modified   base/shell/explorer/explorer.rbuild
modified   dll/win32/glu32/glu32.rbuild
modified   dll/win32/kernel32/kernel32.rbuild
modified   drivers/wdm/audio/backpln/portcls/portcls.rbuild
modified   ReactOS-generic.rbuild
   Set -Wno-non-virtual-dtor globally because we have no use for this warning and it only messes with COM interface definitions
   This alone disables a ton of spurious warnings

modified   tools/rbuild/backend/mingw/mingw.cpp
modified   tools/rbuild/backend/mingw/modulehandler.cpp
modified   tools/rbuild/backend/mingw/modulehandler.h
   Project-global compiler flags now actually work as intended
   Removed some dead code

modified   dll/directx/dxdiagn/container.c
modified   dll/directx/wine/d3d8/device.c
modified   dll/directx/wine/d3d9/device.c
modified   dll/win32/comdlg32/printdlg.c
modified   dll/win32/crypt32/chain.c
modified   dll/win32/crypt32/main.c
modified   dll/win32/crypt32/oid.c
modified   dll/win32/crypt32/protectdata.c
modified   dll/win32/crypt32/rootstore.c
modified   dll/win32/dbghelp/pe_module.c
modified   dll/win32/fusion/assembly.c
modified   dll/win32/gdiplus/font.c
modified   dll/win32/gdiplus/image.c
modified   dll/win32/icmp/icmp_main.c
   Get rid of warnings.
   Patch by Robin Geuze <r.geuze@chello.nl>

svn path=/trunk/; revision=37629
2008-11-25 13:44:30 +00:00
KJK::Hyperion f7f455d197 Undo r37623 until cross compilation is fixed
svn path=/trunk/; revision=37626
2008-11-24 21:32:17 +00:00
KJK::Hyperion 6b4a3178e3 modified base/shell/explorer/explorer.rbuild
modified   dll/win32/glu32/glu32.rbuild
modified   dll/win32/kernel32/kernel32.rbuild
modified   drivers/wdm/audio/backpln/portcls/portcls.rbuild
modified   ReactOS-generic.rbuild
   Set -Wno-non-virtual-dtor globally because we have no use for this warning and it only messes with COM interface definitions
   This alone disables a ton of spurious warnings

modified   tools/rbuild/backend/mingw/mingw.cpp
modified   tools/rbuild/backend/mingw/modulehandler.cpp
modified   tools/rbuild/backend/mingw/modulehandler.h
   Project-global compiler flags now actually work as intended
   Removed some dead code

modified   dll/directx/dxdiagn/container.c
modified   dll/directx/wine/d3d8/device.c
modified   dll/directx/wine/d3d9/device.c
modified   dll/win32/comdlg32/printdlg.c
modified   dll/win32/crypt32/chain.c
modified   dll/win32/crypt32/main.c
modified   dll/win32/crypt32/oid.c
modified   dll/win32/crypt32/protectdata.c
modified   dll/win32/crypt32/rootstore.c
modified   dll/win32/dbghelp/pe_module.c
modified   dll/win32/fusion/assembly.c
modified   dll/win32/gdiplus/font.c
modified   dll/win32/gdiplus/image.c
modified   dll/win32/icmp/icmp_main.c
   Get rid of warnings.
   Patch by Robin Geuze <r.geuze@chello.nl>

svn path=/trunk/; revision=37623
2008-11-24 19:29:13 +00:00
KJK::Hyperion 0cc5134395 modified include/psdk/rpc.h
Implemented RPC exception handling macros with PSEH 2.0

modified   base/services/rpcss/rpcss.rbuild
modified   dll/win32/rpcrt4/rpcrt4.rbuild
   RPC proxy stubs now depend on pseh. We should really add pseh as a link dependency automatically in rbuild, but, eh

modified   tools/rbuild/backend/mingw/modulehandler.cpp
   Compile RPC proxy stubs with -fno-unit-at-a-time due to a GCC bug. See also http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17982 and http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38054

svn path=/trunk/; revision=37614
2008-11-24 13:05:40 +00:00
Aleksey Bragin 7da3ae674b - Fix most of the warnings in mkhive.
svn path=/trunk/; revision=37613
2008-11-24 13:01:56 +00:00
Eric Kohl 62a7ad910e SySync to wine-1.1.1 (Patch 6 of 10):
- Rob Shearman <robertshearman@gmail.com> Thu, 3 Jul 2008
widl: Consolidate top-level parameter conformance/variance expression writing into a separate function.

Descend through as many pointer types as necessary to find the
fundamental type and determine whether it needs a top-level parameter
conformance/variance expression to be written.

Add support for writing top-level parameter conformance/variance
expressions for non-encapsulated unions.

svn path=/trunk/; revision=37491
2008-11-20 20:37:09 +00:00
Eric Kohl 783e8e1be3 SySync to wine-1.1.1 (Patch 5 of 10):
- Dan Hipschman <dsh@linux.ucla.edu> Tue, 1 Jul 2008
widl: Factor a small part of the grammar.

svn path=/trunk/; revision=37489
2008-11-20 20:21:33 +00:00
Eric Kohl 4bc0878195 Revert 37476 because it breaks the build bot.
svn path=/trunk/; revision=37477
2008-11-19 23:22:44 +00:00
Eric Kohl 75e18ffafa Sync to wine-1.1.1 (Patch 4 of 10):
ATTENTION: You MUST run "clean" before building ReactOS, otherwise WIDL will crash when it is run.

- Dan Hipschman <dsh@linux.ucla.edu> Tue, 1 Jul 2008
widl: Implement type redefinition checks.

This allows widl to catch type redefinitions and report an error, like MIDL.
However, this does a better job than MIDL since it also reports the location
of the originial definition, like GCC.

svn path=/trunk/; revision=37476
2008-11-19 23:13:05 +00:00
Eric Kohl 79b0c90fa8 Sync to wine-1.1.1 (Patch 3 of 10):
- Rob Shearman <robertshearman@gmail.com> Tue, 1 Jul 2008
widl: Check that the structure has been defined in check_remoting_args.

svn path=/trunk/; revision=37470
2008-11-19 21:44:03 +00:00
Colin Finck 66ea4d510a - Rearrange "host/typedefs.h" to make it look more logical
- Fix wrong definition of INT_PTR and UINT_PTR in this file
- Revert a hack added to winebuild in r32609 and r37206, which was added to work around these previously buggy definitions

svn path=/trunk/; revision=37468
2008-11-19 21:05:49 +00:00
Eric Kohl df50518f1e Sync to wine-1.1.1 (Patch 2 of 10):
- Rob Shearman <robertshearman@gmail.com> Tue, 1 Jul 2008
widl: Increment the buffer offset by 8 for embedded pointers inside varying arrays in varying structures.

The 8 bytes are for the variance and offset and are added just before
the array, as seen in the marshalling code in rpcrt4. No offset needs
to be added for non-varying structures since the buffer mark is set
after the conformance in marshalled or unmarshalled.

svn path=/trunk/; revision=37467
2008-11-19 21:01:47 +00:00
Eric Kohl 5e41cc9ce8 Sync to wine-1.1.1 (Patch 1 of 10):
- Alexandre Julliard <julliard@winehq.org> Tue, 1 Jul 2008
widl: Add some support for unencapsulated unions that need a conformance descriptor.

svn path=/trunk/; revision=37466
2008-11-19 20:33:58 +00:00
Colin Finck 3bf81471d2 Dmitry Gorbachev
- Fix compiler warnings, treated as errors due to our settings, which are emitted when using GCC 4.3.2

See issue #3849 for more details.

svn path=/trunk/; revision=37465
2008-11-19 19:59:54 +00:00
Matthias Kupfer 5ae753abf9 revert to revision 37390
svn path=/trunk/; revision=37454
2008-11-19 12:00:23 +00:00
Eric Kohl 29ddbaa8c9 Revert 37416 because it does not build on all machines.
svn path=/trunk/; revision=37446
2008-11-18 18:51:13 +00:00