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
- 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
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
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
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
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
_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
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
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
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
- 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
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
- 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
- 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
- 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
- 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
- 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