Commit Graph

1116 Commits

Author SHA1 Message Date
Alexandre Julliard 280661c6f4 Moved winegcc and winewrap to a separate directory. 2003-09-11 21:27:58 +00:00
Alexandre Julliard 3ca93dd715 Added dumping of message table resources. 2003-09-10 04:00:20 +00:00
Steven Edwards 9ef093ea8e Portability fix for language ids. 2003-09-10 03:44:20 +00:00
Francois Gouget ae50013017 Fix the case of product and company names. 2003-09-08 19:38:45 +00:00
Vincent Béron 0996d0c5c2 wineinstall used a Unix-style environment variable in the temporary
config file.
2003-09-08 18:52:12 +00:00
Alexandre Julliard e37c6e18d0 Fixed header dependencies to be fully compatible with the Windows
headers (with help from Dimitrie O. Paun).
2003-09-05 23:08:26 +00:00
Alexandre Julliard ba5a968157 Added partial support for function pointers. 2003-09-03 20:16:24 +00:00
Alexandre Julliard 0bde2bbe01 Use <> format in generated #include statements.
Integer constants should be unsigned.
2003-09-03 19:31:14 +00:00
Dimitrie O. Paun 3e037992dc Forward all arguments to gcc when we have no input files.
Kill the -V option, as it's not compatible with gcc.
Fix silly bug when we are not given an output name.
2003-09-03 19:23:30 +00:00
Vincent Béron 8d0b4ea585 Bring wineinstall in sync regarding expansion of environment variables
in the config file.
2003-09-02 18:16:51 +00:00
Vincent Béron 09a97f0608 Fixed typo. 2003-09-01 23:59:41 +00:00
Alexandre Julliard 7df1b9e03a Start using the exported TEB structure from winternl.h where
possible.
2003-08-28 19:57:35 +00:00
Alexandre Julliard b91e9cb3e6 Renamed a few more TEB fields. 2003-08-28 03:44:41 +00:00
Alexandre Julliard 617839d522 Added varargs support for 16-bit entry points.
Added -ret16 entry point flag to allow 16-bit cdecl and varargs
function to return 16-bit values too.
2003-08-27 02:20:44 +00:00
Alexandre Julliard 4e874ee0d7 The if1632 directory no longer exists. 2003-08-26 02:31:43 +00:00
Alexandre Julliard a5b961c2b0 Moved selector fixup for the relay code to the callto16 exception
handler.
Make sure to only use pop instructions to modify segment registers in
the relay code to simplify the selector fixup.
2003-08-25 23:48:30 +00:00
Alexandre Julliard 3be5d62b29 Moved 16-bit calls initialization and exception handling to kernel32.
Store the call_to_16 return address on the stack from the C code so
that we don't need two variants of call_to_16_regs.
2003-08-25 00:56:37 +00:00
Alexandre Julliard 3a5b7cf105 Extended WOWCallback16Ex to support register functions too. This
allows simplifying the wine_call_to_16 assembly code by moving part of
it to C code, and getting rid of the extra kernel exports.
2003-08-23 23:30:51 +00:00
Alexandre Julliard af62e83d1c Got rid of 16-bit glue code generation since it is no longer used. 2003-08-23 00:45:20 +00:00
Steven Edwards 14e3b19cd0 Fixes for building with w32api headers on Mingw. 2003-08-22 05:05:56 +00:00
Jon Griffiths 99f90bb94f Update install script to match current build process.
Fix a warning in generated dll now we build with -DSTRICT.
2003-08-21 21:25:37 +00:00
Alexandre Julliard e31fcdbe27 BINDIR is no longer needed. 2003-08-20 04:15:19 +00:00
Richard Cohen 1406d20326 Support -mconsole. 2003-08-20 04:15:02 +00:00
Richard Cohen 4936ce6dfa Remove hardcoded BINDIR paths. 2003-08-20 03:49:40 +00:00
Jon Griffiths 140eb97eef Portability fixes. 2003-08-18 20:00:44 +00:00
Jon Griffiths 2d3e50537f Use $(EXEEXT) for the winedump executable. 2003-08-18 19:49:10 +00:00
Jon Griffiths 3e12aba93f Only statics are sure to be set to 0, explicitly initialise globals. 2003-08-18 19:48:58 +00:00
Jon Griffiths 40085f8a8c ole/ directory doesn't exist anymore. 2003-08-18 19:48:14 +00:00
Alexandre Julliard 346ca95af6 Support for Mac OS X powerpc register names (based on a patch by
Pierre d'Herbemont).
2003-08-13 21:57:42 +00:00
Patrik Stridvall c5f834ce6a - API files update.
- Minor bug fixes.
2003-08-08 21:04:17 +00:00
Dimitrie O. Paun a2f937f7f5 Better support for __declspec() (based on a suggestion from Ove
Kaaven).
2003-08-07 20:11:24 +00:00
Martin Wilck 95c5a2b691 Fix -i option for winebuild linking. 2003-08-05 18:31:32 +00:00
Alexandre Julliard e547e10be0 Make sure dllname doesn't get optimized out (spotted by Marcus
Meissner).
2003-08-02 00:45:34 +00:00
Francois Gouget 533f0b5d48 'grep -q' is not portable -> don't use it. 2003-07-30 03:43:55 +00:00
Alexandre Julliard 152b98fa63 Added -private flag for entry points that shouldn't be imported from
other dlls.
Support PRIVATE flag in .def files (based on a patch by Jon
Griffiths).
2003-07-28 19:19:48 +00:00
Alexandre Julliard 40672f99f8 Support objects with no method definitions (suggested by Jon
Griffiths).
2003-07-22 03:18:46 +00:00
Jon Griffiths 12e701c31f Spelling fix. 2003-07-22 00:56:46 +00:00
Jon Griffiths 17c9af5fb6 Support float and function ptr args better, -W warning fixes. 2003-07-22 00:56:31 +00:00
Pierre d'Herbemont 13c308caa7 Change __PPC__ flag to __powerpc__. 2003-07-21 23:51:24 +00:00
Stefan Leichter 4ce42bcad2 Fixed warnings about missing, new spec files. 2003-07-21 19:57:04 +00:00
Jon Griffiths 8edbe90dd2 Correctly spot forwards.
Various improvements and fixes to the output, add index for html.
2003-07-19 03:08:29 +00:00
Jon Griffiths 0e8c8cb246 Handle long file names in pre-build step (quote them).
dlls/gdi/win16drv doesn't exist any more.
2003-07-18 22:53:33 +00:00
Dimitrie O. Paun 6a1e59a59f Add "-wrap" to the wrapped app, to avoid possible name conflicts.
Add the app dir to WINEDLLPATH.
2003-07-18 22:51:34 +00:00
Francois Gouget 3ca761220a Spelling fixes (s/occured/occurred/ and variants). 2003-07-15 20:53:39 +00:00
Juraj Hercek 286c605583 Adjusted grammar to accept also help-ids for dialogex controls. 2003-07-09 21:55:45 +00:00
Alexandre Julliard 09242a8ea6 Add #ifdefs around forwards and interfaces like MIDL does. 2003-07-01 03:43:09 +00:00
Francois Gouget 1568fa3b21 Make sure to return an error if the file generation fails. 2003-06-23 19:51:21 +00:00
Alexandre Julliard 0bcf775555 Added support for #include in IDL files (based on a patch by Robert
Shearman).
2003-06-20 21:31:13 +00:00
Francois Gouget c5f775a9c7 Typos/spelling fixes. 2003-06-18 03:30:39 +00:00
Mike Hearn 4d376c5bc2 Check for /lib/tls directory for Red Hat 9. 2003-06-07 00:35:19 +00:00
Mike Hearn ce05da50b0 Silence error on non-redhat systems. 2003-05-16 20:13:16 +00:00
Hans Leidekker ac0416ad96 Force perl to use byte semantics. 2003-05-16 20:12:41 +00:00
Alexandre Julliard 28b64db6d5 Only print warning on nm failure because it fails on darwin if there
are no symbols (reported by Pierre d'Herbemont).
2003-05-14 19:36:28 +00:00
Mike Hearn 7927b41b6c Make sure prefix is actually honoured by configure.
Temporary hack for redhat users to enable NPTL.
2003-05-13 23:37:09 +00:00
Eric Pouech 6c9a08099d Listed recently added sections' types (resource, tls) for dumping to
usage strings.
Fixed some header size testing.
2003-05-13 04:47:53 +00:00
Dimitrie O. Paun ddefb91fe6 Ignore -mthreads, it's not needed in Unix. 2003-05-13 04:44:58 +00:00
Francois Gouget f803e2a92d Fix miscellaneous spelling errors and typos. 2003-05-13 00:41:57 +00:00
Francois Gouget 617cf92602 library/Makefile.in and unicode/Makefile.in don't exist anymore. 2003-05-13 00:29:09 +00:00
Alexandre Julliard b203b060c1 Added dumping of the TLS directory. 2003-05-08 04:01:12 +00:00
Alexandre Julliard e1a9b10f51 Moved the wpp library from tools/ to libs/.
Create symlinks to the various libraries in the libs directory.
2003-05-01 03:16:21 +00:00
Vincent Béron a03e66dc39 Don't change to ttydrv to install registry, regedit doesn't use X.
Make sure the current dir is mapped in DOS.
2003-04-22 04:03:08 +00:00
Alexandre Julliard 0c2c71bcae Resource names don't need a case-sensitive comparison; this avoids
depending on libwine_unicode.
2003-04-21 23:27:21 +00:00
Dimitrie O. Paun 45864a7775 Add -fo as a synonym for -o, for compatibility with rc.
Line up help message, cleanup some error messages.
2003-04-19 02:47:28 +00:00
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