860 Commits

Author SHA1 Message Date
Dimitrie O. Paun
8aa4e4ed25 Add support for wrapper generation to winewrap.
Quite a few micro cleanups, code should be simpler to follow.
2003-01-02 19:24:03 +00:00
Dimitrie O. Paun
f6933ae49f Compile with WINE_UNICODE_NATIVE defined, essential for C++.
New -V option to display the version.
Do not link -lc, screws up linking, just get the default.
2003-01-02 19:23:48 +00:00
Eric Pouech
0fcada9fa7 Removed unused #include of module.h. 2003-01-02 17:59:47 +00:00
Andreas Mohr
3e7628e901 Increment log output from 200 lines to 3000 lines.
Added Win XP as a listed Windows version.
2003-01-02 17:53:26 +00:00
Dimitrie O. Paun
959562bdcd Add the -F option to set a DLL's filename. 2003-01-02 17:48:05 +00:00
Dimitrie O. Paun
c607ee253c Add support for library path (-L).
Add support for linking against static libs.
Ignore -W for gcc compatibility.
2002-12-23 02:04:34 +00:00
Alexandre Julliard
9ba2e89ae5 Don't ignore sprintf/sscanf imports, semantics are not exactly the
same on Windows.
2002-12-20 00:36:18 +00:00
Alexandre Julliard
a6cc590688 Renamed mingwrap to winegcc.
Removed -DWINE_DEFINE_WCHAR_T.
2002-12-19 23:41:30 +00:00
Tapio Kautto
7e1722d966 Fix for missing ppdebug variable. 2002-12-19 23:38:11 +00:00
Alexandre Julliard
041756d8e8 Avoid referencing potentially freed token. 2002-12-19 04:20:23 +00:00
Dimitrie O. Paun
d07e901c86 Remove the -L wrc option, as no automatic fudging of filenames can
ever be correct.
2002-12-19 04:14:38 +00:00
Francois Gouget
95217843d5 The link command specifies which version of the C library to link with
(see /M[TD]d? option). So we must not explicitly link with
'msvcrt.lib'. Fixes the msvcrt test crashes.
2002-12-18 02:22:12 +00:00
Alexandre Julliard
ea118ecb50 Fix the type of the This pointer in the vtbl functions inherited from
the base class.
2002-12-17 21:05:16 +00:00
Dimitrie O. Paun
70c4fc4109 Better handling of errors while fork/execing.
Add verbose command line switch.
Add -z defs at link stage, to catch missing symbols.
2002-12-17 04:15:59 +00:00
Dimitrie O. Paun
8efafbdef7 Pass the gui flag to winewrap if we're linking a GUI app. 2002-12-17 04:15:42 +00:00
Francois Gouget
841f695959 On Windows windef.h must be included before winbase.h. 2002-12-16 22:12:47 +00:00
Francois Gouget
3efdf38fcd Add '--' option for passing extra arguments to the test. 2002-12-16 22:11:51 +00:00
Ove Kaaven
998236b7cf Output raw ICOM-less C/C++ interface definitions by default. Added new
-b and -B command-line options for compatibility with ICOM macros.
2002-12-15 03:01:20 +00:00
Jeff Smith
c327246af3 Updated winemaker to account for change in wine's linking method. 2002-12-15 03:00:40 +00:00
Alexandre Julliard
470cbf2757 Added support for defining forward functions as stdcall so that we can
get the proper number of arguments for stdcall decoration.
2002-12-15 01:22:40 +00:00
Alexandre Julliard
f9875bc1ca Added y.tab.[ch] pseudo-dependencies to fix parallel makes. 2002-12-15 01:19:53 +00:00
Dimitrie O. Paun
cc1577cddc Teach mingwrap to use winewrap to do the linking, just like gcc uses
ld to link on Unix. Based loosely on a uClib utility developed by
Manuel Novoa III.
2002-12-15 01:17:10 +00:00
Dimitrie O. Paun
3e1c6132ef Small cleanups to match current build process. 2002-12-15 01:16:08 +00:00
Ove Kaaven
064c48a607 Include guiddef.h in widltypes.h. 2002-12-15 01:13:18 +00:00
Dimitrie O. Paun
15344ee7c9 New wine build utility that should make it easy for Winelib apps to
link, and generate an executable.
2002-12-13 00:38:42 +00:00
Jeff Smith
8232cbdacb Add 'distclean' target to winemaker-generated projects. 2002-12-12 22:26:18 +00:00
Dimitrie O. Paun
e41ec931c7 Do not display the long options in the usage message if we don't
actually support them. Small other cleanups.
2002-12-12 22:23:55 +00:00
Alexandre Julliard
ada5e6521b Implemented import libraries; on Unix we import the .def file
directly, on Mingw we use it to build the .a library.
2002-12-12 22:03:14 +00:00
Alexandre Julliard
b42dc56fce Made stdcall decoration in .def files the default, and added -k option
to switch it off.
2002-12-12 04:06:28 +00:00
Alexandre Julliard
72e1c64345 Added list of symbols to ignore by default in winebuild.
Made the -i option support removing ignored symbols too.
Removed the -noimport flag in spec files.
2002-12-12 02:20:47 +00:00
Alexandre Julliard
93f85cba0c Warning fix. 2002-12-12 02:17:56 +00:00
Alexandre Julliard
d2b651aed6 Wine internal includes should not be in the include path. 2002-12-11 01:31:56 +00:00
Dimitrie O. Paun
6f264583aa wrc should be aware of the location of the system headers. 2002-12-11 01:31:22 +00:00
Alexandre Julliard
4d9e7036b9 Updated to the latest version. 2002-12-11 01:30:41 +00:00
Alexandre Julliard
184c40a397 Try to open source file in current directory first in case it is a
generated file.
2002-12-11 01:30:14 +00:00
Francois Gouget
2837103fec Fix stderr redirection.
Simplify $infile existence test.
2002-12-11 00:18:11 +00:00
Alexandre Julliard
435e2e63f4 winnt.h should not be self-contained, it must depend on windef.h so
that STRICT works correctly; moved some definitions back to windef.h
where they belong, and removed a couple of definitions that don't
exist on Windows.
2002-12-10 22:56:43 +00:00
Dimitrie O. Paun
647c1a33c8 Gracefully degrade to getopt if getopt_long does not exist. 2002-12-10 19:16:24 +00:00
Alexandre Julliard
2cd4ed2e15 Replaced 'ignore' spec file directive by the -i option. 2002-12-07 23:54:12 +00:00
Alexandre Julliard
310de886e9 Check file header to differentiate between object files and resources
so that the -r option is not necessary.
2002-12-06 23:26:29 +00:00
Alexandre Julliard
9afea97a0f Fixed mingwrap install command. 2002-12-06 23:22:39 +00:00
Dimitrie O. Paun
9d8b149773 Make wrc command line compatible with windres. 2002-12-06 19:49:36 +00:00
Alexandre Julliard
6f0e60dd1f Fixed passing of -DINCLUDEDIR when building mingwrap. 2002-12-06 19:49:13 +00:00
Dimitrie O. Paun
2652dcf4f0 New MinGW wrapper that makes gcc on Linux behave like MinGW on
Windows, using the Wine headers.
2002-12-05 19:12:13 +00:00
Sylvain Petreolle
11666bb5f4 Install apps in windows\system since that's what the system directory
is set to in the config file.
2002-12-05 19:05:44 +00:00
Ove Kaaven
e30a96776a Parse the NOT operator, the [idempotent] attribute, and the handle_t
and error_status_t types. Improved some parsing rules to get rid of
the LINK_LAST and LINK_SAFE macros. Enclose generated .h file within
an extern "C" (for C++). Output function prototypes for regular RPC
interfaces.  Fixed a couple of bugs.
2002-12-03 19:12:07 +00:00
Patrik Stridvall
fc46e46240 - Fixed bug caused by changes to Wine.
- Added support for running all the tests in batch.
2002-11-30 19:03:51 +00:00
Ove Kaaven
34e2f87f8f Handle encapsulated unions in a cleaner (and less buggy) way. Emit the
names "DUMMYUNIONNAME" and "DUMMYSTRUCTNAME" for anonymous unions and
structs. Support const and extern definitions. Retain tokens (and
whether numbers are hex or not) used for computing constant
expressions, so that the full expression can be written to the header
file instead of the computed integer result of the expression. Parse
the sizeof() operator.  Compute and remember constant definitions and
enum values so they can be used in expressions. Improved identifier
lookup speed. Fixed some bugs.
2002-11-30 01:49:46 +00:00
Patrik Stridvall
f2c2eafafb - API files update.
- Minor improvement and bug fixes.
2002-11-27 20:11:10 +00:00
Gerald Pfeifer
af53e11fa0 Avoid using labels at the end of commpound statements. 2002-11-24 22:12:40 +00:00