Commit Graph

1053 Commits

Author SHA1 Message Date
Thomas Mertes 639362bfb0 Change c2man that it works with the new format of the spec files
(without exported name).
2003-04-16 23:09:28 +00:00
Hans Leidekker 3de094e271 Handle multiline output from grep and don't grep for empty strings. 2003-04-14 21:34:45 +00:00
Alexandre Julliard 2d5519f15c The com_interface attribute is not needed on derived classes.
Removed the ICOM_CTHIS* macros.
2003-04-12 00:09:14 +00:00
Alexandre Julliard aa89eccc71 Added support for generating dependencies for idl files. 2003-04-11 00:38:56 +00:00
Alexandre Julliard aae3cb61cd Simplified COM interface declarations, removing the need to define
both an xxx_METHODS and an xxx_IMETHODS macro.
2003-04-11 00:31:02 +00:00
Alexandre Julliard 55379110c5 Get rid of the ICOM_CALL macros. 2003-04-10 21:13:58 +00:00
Alexandre Julliard 6d1f9b037d Ignore "U " in nm -u output. 2003-04-10 18:36:40 +00:00
Alexandre Julliard f00c46f030 Use a more compatible technique to declare COM interfaces methods,
using Microsoft's STDMETHOD macros instead of the Wine-specific
ICOM_METHOD ones.
2003-04-10 00:19:24 +00:00
Dimitrie O. Paun 7e264690cf We don't need to dlopen the app module before the LoadLibrary(). 2003-04-09 23:34:19 +00:00
Juraj Hercek 8df180a624 Fixed generation of makefiles and wrapper files when "--wrap" option
is used.
2003-04-08 19:42:30 +00:00
Hans Leidekker 5803dc3bcf Add some more newly arrived dlls. 2003-04-08 19:41:25 +00:00
Hans Leidekker 0c3e654b1c Make winapi_check handle spec files where no handler is specified. 2003-04-07 23:19:43 +00:00
Hans Leidekker 2d5cf55352 Sync winapi_check to Wine spec files. 2003-04-07 23:19:28 +00:00
Andreas Mohr c08b948f46 Structure README file in a better way, some doc fixes. 2003-04-04 22:12:21 +00:00
Alexandre Julliard 08dfb8c91a Don't output register function code if it's a forwarded entry point. 2003-04-03 18:05:17 +00:00
Alexandre Julliard 462172a3d6 Added abs_time_t structure to the server protocol, and added a dump
routine for it that displays the relative timeout to make timeout
values easier to interpret.
2003-04-02 22:48:59 +00:00
Dimitrie O. Paun 832e4388d4 Make use of the new spawnvp function in wine{gcc,wrap}. 2003-04-02 22:36:29 +00:00
Alexandre Julliard 6606615f0b Dump string resources in a more readable way. 2003-04-02 05:20:54 +00:00
Andreas Mohr 114b667f41 Some spelling and formatting fixes. 2003-04-02 01:23:43 +00:00
Alexandre Julliard c45bbad3d6 Use _spawnvp to replace fork for non-Unix platforms. 2003-04-01 00:12:02 +00:00
Alexandre Julliard 5577637034 Added support for specifying an stdcall dll entry point. 2003-04-01 00:08:32 +00:00
Sylvain Petreolle 8f4d437a9a Use regedit instead of regapi. 2003-03-31 19:34:53 +00:00
Dimitrie O. Paun 29ba6163aa Remove the no longer needed -m option, ignore -r for compatibility
with rc.
Rename -B to --endianess, -d to --debug, -W to --pedantic.
Add a new -U,--undefine option to undefined preprocessor symbols.
Cleanup the help message (order the long options alphabetically).
2003-03-28 19:31:49 +00:00
Dimitrie O. Paun c7a3480223 Allow wpp users to undefine previously defined symbols. 2003-03-27 18:50:14 +00:00
Dimitrie O. Paun 8794935e12 Remove unused options -a and -C.
Collapse the -w into -O, for symmetry with -J.
Update the man page to the latest options.
2003-03-27 18:37:59 +00:00
Dimitrie O. Paun b29fa342af Do not pass unnecessary flags to wrc in generated makefiles. 2003-03-27 18:36:27 +00:00
Alexandre Julliard 78675ba234 Store %gs in the TEB on every call to 16-bit code, and don't restore
it from the TEB for signals that did not happen in 16-bit code.
2003-03-25 00:36:16 +00:00
Alexandre Julliard 0c9abbeead Avoid reference to wine_get_cs function from libwine. 2003-03-24 19:44:20 +00:00
Brian Vincent d6841ee98d Prompt the user again if they don't get the root password right. 2003-03-24 19:29:38 +00:00
Dimitrie O. Paun 978f29db41 Don't attempt to compile .res files. 2003-03-24 19:29:05 +00:00
Alexandre Julliard 9e4fc4c9b6 Converted winebuild option parsing to use getopt_long. Added a number
of long aliases for the existing short options.
2003-03-23 01:12:30 +00:00
Christian Costa f814cf87af Make use of .half and/or .asciiz assembler keywords when necessary. 2003-03-23 00:18:26 +00:00
Alexandre Julliard 2d1c79066e Moved libwine to libs/ directory.
Some makefile fixes and cleanups.
2003-03-22 20:40:48 +00:00
Alexandre Julliard 25fe361010 Added 'wine' prefix to libwine_unicode exports. 2003-03-21 21:30:51 +00:00
Alexandre Julliard 7ab9a715a8 Moved libwine_unicode to the libs/ directory. 2003-03-21 05:06:48 +00:00
Alexandre Julliard b2817098d3 Replaced tempnam by mkstemps. 2003-03-20 21:09:06 +00:00
Alexandre Julliard 8cbdb9784e Don't use libwine_port in makedep to avoid dependency problems. 2003-03-20 21:08:28 +00:00
Alexandre Julliard 2ee8b5bb13 Replaced mkstemp by mkstemps from libiberty.
Removed a couple of unnecessary portability functions.
2003-03-20 21:07:49 +00:00
Dimitrie O. Paun fea0164996 Introduce the -J, --input-format options for compatibility with
windres.
Collpase the -e option into the -J option. Update man page.
Cleanup file header (remove history that's already in log msgs, etc.)
2003-03-20 19:23:08 +00:00
Alexandre Julliard f84dbdce51 Added check for duplicate ordinals, and fixed bug it uncovered in
msnet32.spec.
2003-03-20 03:30:58 +00:00
Dimitrie O. Paun d5a194b7dd Remove -J, -P, and -V as they have long options equivalents.
Update documentation, small code cleanups.
2003-03-19 22:45:51 +00:00
Alexandre Julliard 6a9fe36de2 Created a separate static portability library and moved some of the
libwine routines in there.
2003-03-19 22:09:16 +00:00
Alexandre Julliard 49edd19650 Handle end of line as a syntactic element in the spec file parser;
backslashes can be used to continue lines. This allows us to skip over
errors to continue parsing, and also to make specification of an entry
point link name optional.
2003-03-18 05:30:54 +00:00
Alexandre Julliard f489a272d2 Removed support for the 'forward' ordinal type. 2003-03-17 04:56:10 +00:00
Alexandre Julliard 52ec0a3ff3 Disable 'variable' in Win32 spec files.
Added support for forwarded 'extern' ordinals.
2003-03-17 00:02:11 +00:00
Alexandre Julliard daecaba4a3 Don't enter an imported dll in the import table at all if we didn't
need to import any symbol from it.
2003-03-16 23:59:48 +00:00
Alexandre Julliard 3d4dcc2a25 Make sure we display the correct file name and line in error messages. 2003-03-16 23:52:24 +00:00
Jon Griffiths a2807a9a5e Improve the look/content of the man page output.
Generate for all exported functions (that have docs).
Add dll summary page, HTML and SGML output.
2003-03-15 19:45:48 +00:00
Jon Griffiths 59182a92c1 Only sort the number of symbols actually found. 2003-03-15 19:36:31 +00:00
Jon Griffiths 272d240402 Output a dummy function for linking.
Define __WINE_USE_NATIVE_HEADERS for tests that need to care.
Change the debug information format to prevent winedbg from crashing.
2003-03-15 19:36:16 +00:00
Duane Clark 3377a9c8e2 Add full listing format option.
Fix an infinite loop if the last line is a partial line.
2003-03-05 02:48:04 +00:00
Alexandre Julliard 551797bc57 Properly save/restore %gs register across 16-bit calls. 2003-02-27 21:11:13 +00:00
Dimitrie O. Paun deaf02a586 Remove assembly generation from wrc. 2003-02-26 05:04:12 +00:00
Dimitrie O. Paun 1b74cf2cb6 No need to support -mwindows as a synonim for -mgui: it's a gcc-ism
that is handled in winegcc.
Link in GDI only in gui mode.
2003-02-25 03:57:09 +00:00
Dimitrie O. Paun 7be7c67c8a Link in shell32 only in gui mode.
Add all the standard defines that MinGW provides (with the exception
of __MINGW__, that's MinGW prerogative).
Do not pass along linker options when only compiling.
2003-02-24 20:38:25 +00:00
Steven Edwards faaeb19329 Porting fixes. 2003-02-18 23:23:10 +00:00
Tony Lambregts 816c86c407 Modify the wineconf tags so that the sample config can be included in
the documentation.
2003-02-12 01:12:18 +00:00
Dimitrie O. Paun 095322e271 Add option to set preprocessor (not yet implemented).
Remove the -N option, which is equivalent to '-P cat'.
2003-02-11 21:58:46 +00:00
Alexandre Julliard 91befe1d64 Made process and thread ids small integers instead of pointers. 2003-02-01 01:38:40 +00:00
Dimitrie O. Paun c306f35197 Merge README.wrc into wrc's man page. 2003-02-01 00:36:59 +00:00
Dimitrie O. Paun 68481e8e72 Remove header file generation, and related options. 2003-01-31 03:20:49 +00:00
Gerald Pfeifer 714148c555 Declare variable only if needed. 2003-01-23 21:21:50 +00:00
Dan Kegel ba02ae412e Added Windows-compatible start.exe. 2003-01-21 20:14:36 +00:00
Dan Kegel 74e15940cc \ at EOL in string now behaves like in msvc6's rc. 2003-01-21 00:28:28 +00:00
Dimitrie O. Paun 42f9f0c29f Remove the obsolete wrc options: -A, -T, and -t. 2003-01-20 23:29:27 +00:00
Marcus Meissner 18e7e0d933 Include $prefix/include/wine/windows into the WINE include search path.
wrc no longer understands -r (not needed).
2003-01-20 23:27:49 +00:00
Johannes E. Schindelin 60b75e3f2d Allow C++ comments after #endif. 2003-01-11 21:02:03 +00:00
Dimitrie O. Paun d26933edbd Added windres compatibility switches: -v, --[no-]use-temp-file.
New -h option to conform to standard practice (and MS' rc).
Updated documentation, minor option parsing cleanup.
2003-01-11 20:55:18 +00:00
Alexandre Julliard 73802eb354 Fixed handling of trailing whitespace after #else and #endif. 2003-01-10 01:49:00 +00:00
Dimitrie O. Paun 2692308a79 Support default output name (a.out); some configure scripts check for
it.
2003-01-10 01:44:52 +00:00
Alexandre Julliard f8bac62769 Do not define __WINESRC__ when building tools and miscemu. 2003-01-09 01:57:15 +00:00
Ove Kaaven be3c1141e3 Declare user-marshaller prototypes for types declared with [wire_marshal].
Define __WIDL__ preprocessor macro, so Wine-specific IDL can be enclosed
in #ifdef __WIDL__. Fixed a file output bug.
2003-01-09 01:05:54 +00:00
Dimitrie O. Paun 4a883a55f6 Collapse the -hHrs options into the -O option.
Generate .res files by default.
2003-01-09 00:03:53 +00:00
Dimitrie O. Paun 297f3d898d Define NONAMELESS{STRUCT,UNION} explicitly in the files that need them. 2003-01-07 20:36:20 +00:00
Dimitrie O. Paun 60d1134d25 Teach winegcc to produce executables directly from a bunch of source files.
Create a wineg++ akin to g++. Drop support for the abused -xc++ switched.
2003-01-07 19:47:19 +00:00
Francois Gouget dcfc25e982 Add support for .drv extension (for winspool.drv tests for instance). 2003-01-07 19:40:00 +00:00
Dimitrie O. Paun 9d863f044d mingw links in comdlg32, shell32, and advapi32 by default. 2003-01-05 20:28:54 +00:00
Francois Gouget 7572148823 Standardize the capitalization of Wine. 2003-01-05 01:08:56 +00:00
Dimitrie O. Paun b816cb8ce2 Pass -l's that are not .dll's or .a's to the linker. 2003-01-05 01:07:09 +00:00
Dimitrie O. Paun d7b8882a1f - Define the standard __WINE__ and __WIN32__ macros.
- Map -luuid to -lwine_uuid, in Unix -luuid does something else.
2003-01-05 01:06:55 +00:00
Dimitrie O. Paun 8b36681bad Rename __WINE__ to __WINESRC__. 2003-01-04 00:52:18 +00:00
Dimitrie O. Paun 5b7f945a73 Pass only the -o -l -L options to winewrap, ignore the rest. 2003-01-04 00:15:49 +00:00
Alexandre Julliard d9ebfe6d4f Removed a couple of no longer used tests in the generated configure
script.
2003-01-03 22:36:39 +00:00
Dimitrie O. Paun 126c655819 Properly handle the -M switch. 2003-01-03 22:31:56 +00:00
Dimitrie O. Paun fbeaaa3b6f Properly link agains .a files using the -l switch.
Support more verbose output.
2003-01-03 22:31:45 +00:00
Dimitrie O. Paun 939ebca849 Simplify the code for the generated wrapper.
Miscellaneous small cleanups.
2003-01-03 21:02:53 +00:00
Dimitrie O. Paun a4ed7eda9a Support outputing files to a different directory than pwd.
Small cleanups.
2003-01-03 03:06:02 +00:00
Patrik Stridvall b6077c6632 Added --include-quotes option that fixes #include to use the correct
of <> and "".
2003-01-03 03:05:41 +00:00
Dimitrie O. Paun f1efde303b Added C++ support & small cleanups. 2003-01-02 23:07:52 +00:00
Dimitrie O. Paun 1cd0ea87ee Support C++ linking with a new -C switch.
Modify the app launcher to pass all options but --debugmsg and --dll
to the app.
Link the wrapper against all of the app's libs.
Drop support for passing the dll names to the launcher.
2003-01-02 23:07:40 +00:00
Alexandre Julliard 60d84e8127 Updated for recent options changes. 2003-01-02 19:30:17 +00:00
Jeff Smith caa74b66be Several improvements and corrections, foremost being correcting wrc
flags and shared object file naming.
2003-01-02 19:27:23 +00:00
Patrik Stridvall 4715b802a7 - API files update.
- Minor improvement and bug fixes.
2003-01-02 19:26:11 +00:00
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
Alexandre Julliard d16a64e327 Removed support for converting old format config, everybody should
have converted by now.
Removed log info from wineinstall, this info is already in ChangeLog.
2002-11-22 20:44:13 +00:00
Matthew Davison 994c1b3f00 Remove obsolete --enable-opengl. 2002-11-21 23:46:06 +00:00
Shachar Shemesh 2deda85b4b - If running wineinstall and asking not to install, the symbolic links
are no created pointing to the source tree files rather to the
  (non-existing) $libdir
- If Windows is found on the system, the installer does not assume
  that the user is interested in using it. Instead, the user is asked,
  and if she answers "no", Wine is installed as if no Windows was
  found.
2002-11-21 00:03:14 +00:00
Ove Kaaven 189397795d Added "generate headers only" command-line option. Implemented imports
from inside interface definitions. Fixed a few problems with
generating header files for COM interfaces.
2002-11-21 00:02:38 +00:00
Tisheng Chen 80a6620815 Added Simplified Chinese support. 2002-11-20 19:47:44 +00:00
Alberto Massari ff3dc34797 winedump was still using the "init" keyword in the .spec file. 2002-11-20 19:45:50 +00:00
Alexandre Julliard a9135e8333 Removed support for 'rsrc' spec file statement. 2002-11-18 23:16:09 +00:00