Commit Graph

1232 Commits

Author SHA1 Message Date
Dimitrie O. Paun 69880eb587 Rewrite winegcc in preparation for merging with winewrap.
We now have comprehensive (and correct) options parsing.
2004-02-21 04:01:38 +00:00
Dimitrie O. Paun a9d4b07166 Fix typo introduced during the path search reorganizaton. 2004-02-20 19:57:56 +00:00
Patrik Stridvall 9c39156efd - API files update.
- Minor bug fixes.
2004-02-20 19:57:42 +00:00
Michael Stefaniuc 8ae9b8926e Added winedump man page, heavily based on the README file. 2004-02-17 22:49:33 +00:00
Alexandre Julliard 492ac292b9 Added support for building a dll from a .def file for cases where we
don't want to write a full .spec.
Renamed --spec option to --dll for consistency.
2004-02-17 20:36:16 +00:00
Alexandre Julliard 095b498b17 Renamed --exe-mode option to --mode now that it can be used for dlls
too.
2004-02-16 22:24:24 +00:00
Marcus Meissner d496eb08e7 No need to check for DllEntryPoint style constants. 2004-02-16 20:24:32 +00:00
Alexandre Julliard 5e4a5beccb Added native mode dll support (based on a patch by Marcus Meissner). 2004-02-13 22:42:13 +00:00
Dimitrie O. Paun 242885cd03 For each lib dir, look for .so, .def. and .a files, instead of the
other way around.
2004-02-13 20:20:57 +00:00
Ove Kaaven 560a756790 Don't add imported constructs to any typelib output by default. 2004-02-12 00:31:40 +00:00
Ove Kaaven 88bbfadb2c Parse the [input_sync] attribute. 2004-02-11 23:57:58 +00:00
Alexandre Julliard 8611e654fc Store all information about the current dll in a structure instead of
using global variables to make it easier to reuse the parsing
routines.
2004-02-11 06:41:01 +00:00
Alexandre Julliard 6a1a6c71bb libwine_uuid has been renamed to libuuid. 2004-02-09 21:11:08 +00:00
Robert Shearman 932a102dcd Fix proc name reported in delay load failure. 2004-02-09 20:58:42 +00:00
Jon Griffiths 541545b21e Allow API-doc generation for non WINAPI calls (e.g. msvcrt). 2004-02-09 20:44:22 +00:00
Leonardo Quijano Vincenzi 6064b41dff Added check for unhide option. 2004-02-07 01:04:13 +00:00
Kirill Smelkov 5420ec4781 Try to use -fshort-wchar if possible. 2004-02-03 00:09:09 +00:00
Francois Gouget 69e0d0674b Preserve the original WINEDLLPATH so we can load out-of-tree Winelib
applications.
2004-02-02 23:02:57 +00:00
Francois Gouget 15487bcac6 Link with msvcrt and use the msvcrt headers by default to improve the
Visual C++ compatibility.
Add a '--nomsvcrt' option to generate makefiles that do not use
msvcrt.
2004-02-02 23:02:32 +00:00
Francois Gouget b1ff875d0e Update the handling of uuid.
Modify the autoconf script to detect '-z defs' and '-init/-fini'.
2004-01-30 22:55:00 +00:00
Hans Leidekker c9b4f601cb Fixed misuse of scalar reference variable. 2004-01-20 23:37:35 +00:00
Francois Gouget b358b7ad4f Generate ok("...\n") calls. 2004-01-20 21:50:01 +00:00
Alexandre Julliard e97fb4b0d6 Windows rename() needs an unlink() first (reported by Steven
Edwards).
2004-01-18 23:32:56 +00:00
Vincent Béron 8451240526 Added a new flag to wrc, to be used to assess translations
advancement.
2004-01-18 23:24:04 +00:00
Hans Leidekker b2fa420831 Get rid of the static module list. 2004-01-18 22:09:39 +00:00
Vincent Béron 23c4ccf990 Yet another new spec file, this time iccvid.spec. 2004-01-16 02:00:50 +00:00
Alexandre Julliard f33de52f5e Tweaked the init code so that it works properly no matter what linker
options are used.
2004-01-15 04:58:17 +00:00
Eric Pouech 6c08994c36 Be more strict about checks (especially in RVA translations). 2004-01-15 01:47:46 +00:00
Robert Lunnon 16bd45d733 Included limits.h to resolve missing macro definition. 2004-01-14 05:12:33 +00:00
Vincent Béron 7183e443b5 Add yet another spec file for a new dll. 2004-01-13 04:58:44 +00:00
Vincent Béron 5ba5d756cb Add spec files for new dlls. 2004-01-12 21:07:36 +00:00
Dimitrie O. Paun 2bc1816948 Remove the wrapper generation from winewrap, it is no longer necessary
(fixed by Alexandre's constructor patch).
2004-01-09 20:08:22 +00:00
Dimitrie O. Paun a16d725964 Do not fail if we can't load some libs in the wrapper.
No need to link the wrapper with all libs, we know what we need.
2004-01-09 00:33:56 +00:00
Alexandre Julliard 90e075c3c7 If supported, add -init and -fini flags to the linker invocation. 2004-01-09 00:03:55 +00:00
Alexandre Julliard 3604824262 If supported by the linker, prevent the ELF loader from calling the
dll constructors at load time and call them from the dll entry point
instead.
2004-01-08 03:36:53 +00:00
Ove Kaaven 5d267d7372 Added rules to parse library, coclass, dispinterface, and module
definitions, and a number of attributes, and cleaned up a few things.
Started on a typelib generation framework.
2004-01-07 04:21:27 +00:00
Francois Gouget 640cc3f3e1 Assorted spelling fixes. 2004-01-06 22:08:33 +00:00
Chris Morgan d888d36e1d Added winebrowser app that launches a Unix browser. 2004-01-06 20:49:58 +00:00
Mike McCormack 06113289f9 Avoid a crash if the dialog style is missing. 2004-01-02 20:12:25 +00:00
Kirill Smelkov 599b0b73c5 Added mfc/Include and mfc/src as possible places for includes and the
library.
2003-12-15 21:06:55 +00:00
Martin Fuchs f74e715bab Fixed options for winebuild. 2003-12-15 19:50:42 +00:00
Kirill Smelkov 746c6feccf Added test for -fms-extensions to generated configure.ac. 2003-12-15 19:46:34 +00:00
Alexandre Julliard 4715f13209 Moved all the files in graphics/x11drv to dlls/x11drv. 2003-12-05 00:20:27 +00:00
Richard Cohen 698729476c Search for libraries in the order - .so - .def - .a 2003-12-03 03:58:52 +00:00
Alexandre Julliard 177f3d1e25 Removed some no longer used programs. 2003-11-30 01:55:54 +00:00
Alexandre Julliard 0b19a6f7bc Better support for div and ldiv in Winelib apps. 2003-11-28 23:17:28 +00:00
Richard Cohen b29f02a9df - Add standard dll path last instead of first.
- Add standard lib path as well.
- Remove . from default library search path.
- Compiling with -lwine needs to use the given -L paths.
2003-11-28 23:10:55 +00:00
Ivan Leo Murray-Smith 709cc31438 Changed Adam Sacarny's email, and -debugmsg to --debugmsg. 2003-11-26 05:05:17 +00:00
Dimitrie O. Paun c0232546bd Make the winehq.org domain the official one. 2003-11-26 03:55:01 +00:00
Pierre d'Herbemont 794bf0fda0 Add Darwin/Mac OS X support to the build system. 2003-11-25 03:31:26 +00:00
Ivan Leo Murray-Smith a7bdb744c9 Added winver information for windows me and windows server 2003.
Updated date format from YYMMDD to YYYYMMDD.
Changed a few output messages so they are more
intuitive/constructive/up to date.
2003-11-25 01:47:22 +00:00
Alexandre Julliard 15c64e704b Removed the ts_xlib files. 2003-11-21 21:50:59 +00:00
Gerald Pfeifer abeb325cdf Remove wineconf.libs from EXTRASUBDIRS. 2003-11-20 22:02:15 +00:00
Alexandre Julliard f01e7c6364 open_input_file(): try to open the file in the current directory
before trying the source directory.
2003-11-20 04:21:56 +00:00
Dimitrie O. Paun d1b344b1e2 Don't ignore libs specified by the user while linking. 2003-11-20 04:20:17 +00:00
Alexandre Julliard 582f7d5daa Removed obsolete wineconf tcl implementation. 2003-11-18 20:48:13 +00:00
Alexandre Julliard 129f1e6910 Generate the authors list for the shell about dialog from AUTHORS at
compile time. Converted the about dialog to Unicode.
2003-11-18 19:50:24 +00:00
Francois Gouget 72143c68fc Fix the generation of wineapploader in sub directories. 2003-11-18 19:39:11 +00:00
Vincent Béron 778f4b261a Add a couple of missing spec files. 2003-11-17 20:01:20 +00:00
Alexandre Julliard 97657b1dcf Get rid of the msdos/ directory. 2003-11-14 21:12:03 +00:00
Alexandre Julliard 7999469e7d Moved memory/environ.c, memory/virtual.c and misc/cpu.c to
dlls/kernel.
Get rid of the memory/ directory.
2003-11-13 20:58:55 +00:00
Alexandre Julliard a628c13e90 Added a wine-glibc binary that detects the glibc threading in use and
execs the corresponding wine binary.
Removed the --with-nptl configure option.
2003-11-12 03:28:21 +00:00
Alexandre Julliard 6d06d3b927 Cosmetics. 2003-11-11 22:04:33 +00:00
Alexandre Julliard 357c7401b9 Re-use the loader directory for the main wine loader, and get rid of
the miscemu directory.
2003-11-06 01:17:56 +00:00
Alexandre Julliard 18b4cbf12a Put better values for code and data sizes in the NT header of builtin
dlls.
2003-11-03 22:19:44 +00:00
Gerald Pfeifer 4f47bbc277 Change some variables from int to unsigned to avoid signedness
mismatches.
2003-10-30 23:09:25 +00:00
Gerald Pfeifer c5dc9d29e1 Add proper casts to avoid signed vs. unsigned mismatches in
strmake().
2003-10-30 23:09:09 +00:00
Alexandre Julliard 03711317de Better defaults for heap and stack sizes. 2003-10-30 22:49:01 +00:00
Francois Gouget f405629e8e Weekly spelling fixes. 2003-10-28 21:45:30 +00:00
Francois Gouget 1dd5325427 Add support for .dbg.c files. This makes it possible to use the Wine
tracing macros in Winelib applications.
The wine/lib, wine/ole, wine/unicode directories are gone. Simplify
the wine_unicode and wine_uuid detection.
Fix generation of the clean target (in some corner cases it could
generate a $(RM) command with no parameter).
Move the distclean target to the top-level Makefile and make it more
thorough.
Update a few autoconf constructs.
Remote commented out code in wrapper.c. If we need that code we can
always get it from CVS.
2003-10-28 21:13:54 +00:00
Alexandre Julliard 4cb001967a Switch back to the main process stack before calling exception
handlers.
2003-10-28 00:30:55 +00:00
Alexandre Julliard fa755119be libntdll.dll.so no longer exists, check for libntdll.def instead. 2003-10-27 22:14:15 +00:00
Alexandre Julliard e940eb502d Added printing of the target of forwarded exports. 2003-10-27 22:11:57 +00:00
Pierre d'Herbemont e961418bcf Fix PowerPC assembler syntax mistakes. 2003-10-27 22:04:54 +00:00
Alexandre Julliard 2f31228dfe Specify include quotes in the tests.dat file. 2003-10-24 04:43:16 +00:00
Pierre d'Herbemont 6661f30409 Change mctr PowerPC asm instruction to mtctr. Add Support for the
.text section and the .space section of darwin's ld.
2003-10-24 00:27:27 +00:00
Vincent Béron 5fb351b40e Added support for neutral language. 2003-10-22 03:23:36 +00:00
Francois Gouget 56b63e85c3 Update tests.dat to include the various #include fixes.
gcc says that sizeof(long double)==12.
Fix the detection of pragma packs to detect #include <...>.
Generate ok("...\n") calls.
2003-10-21 23:48:13 +00:00
Francois Gouget 3707ed8b68 Change all head/tail -X to head/tail -n X to be more POSIXly
compliant.
2003-10-21 23:47:47 +00:00
Daniel Marmier f95be92d24 Fixed warnings with gcc option "-Wwrite-strings". 2003-10-15 03:35:54 +00:00
Daniel Marmier 4034ff36c0 Fixed warnings with gcc option "-Wwrite-strings". 2003-10-14 01:19:27 +00:00
Alexandre Julliard e8dae9c029 We no longer need to link against ntdll in the Unix sense. 2003-10-11 01:00:35 +00:00
Dimitrie O. Paun 64df545885 Have the wrapper load the used DLLs in case the main program
calls them from constructors (with help from Alexandre Julliard).
2003-10-10 23:33:45 +00:00
Alexandre Julliard 67d9f38059 Added __wine_set_signal_fs function to avoid sharing the
SYSLEVEL_Win16CurrentTeb variable between kernel and ntdll.
On the kernel side, replaced SYSLEVEL_Win16CurrentTeb by
CallTo16_TebSelector stored directly in the asm relay code to avoid a
run-time relocation.
2003-10-08 22:59:22 +00:00
Pavel Roskin 671f02c606 Read and write binary files in binary mode on Windows. 2003-10-06 21:05:28 +00:00
Vincent Béron 3ce7ed5c15 Get rid of useless comment (empty function header). 2003-10-06 20:57:36 +00:00
Daniel Marmier 9bb19ac2d2 Fixed warnings with gcc option "-Wwrite-strings". 2003-10-03 03:35:20 +00:00
Dimitrie O. Paun d50fdcdc04 Make bin2res silent by default. 2003-10-03 03:34:10 +00:00
Gerald Pfeifer aa0f37940f Cast time_t parameters to fprintf(...,"%l",...) to long. 2003-10-02 04:29:30 +00:00
Gerald Pfeifer 27005516a3 Cast time_t to long for printing. 2003-10-01 03:32:16 +00:00
Dimitrie O. Paun 4ff35b52a5 Teach bin2res to deal with one file at a time. 2003-10-01 03:13:31 +00:00
Jon Griffiths 0239d6bb10 Ensure we generate for -noname ordinals documented as '@'. 2003-10-01 03:05:43 +00:00
Daniel Marmier a613de2a22 Use #ifdef instead of #if for all feature tests.
Check that _MSC_VER is defined before using it.
2003-09-30 00:33:47 +00:00
Francois Gouget bc4f8f980f Return 2 in case of a usage error.
Use -z instead of comparing to an empty string.
2003-09-30 00:28:13 +00:00
Alexandre Julliard 1bb7a9f736 Try to catch the case of a non-writable source directory before
running configure.
2003-09-29 20:25:47 +00:00
Alexandre Julliard f3434c2539 Fixed handling of Unicode strings used as filenames (reports by Martin
Fuchs).
2003-09-29 20:23:15 +00:00
Francois Gouget 7aa0f3c41d Update winapi and c2man so they know about -ret16. Remove support for
the obsolete pascal16 and -noimport.
Update modules.dat so winapi knows about the new dlls.
2003-09-29 20:15:24 +00:00
Alexandre Julliard 757caa0103 Added dumping of the resident name table of NE files. 2003-09-27 02:34:54 +00:00
Alexandre Julliard 60c857e19c Store the dll name for the export directory inside the exported names
list.
2003-09-26 04:36:46 +00:00
Dimitrie O. Paun 8b255842ec Remove the obsolete pascal16 (replaced by pascal -ret16). 2003-09-26 04:32:19 +00:00
Alexandre Julliard 2052538a47 Moved loadorder support to dlls/ntdll.
Removed the --dll option and replaced it by the WINEDLLOVERRIDES
environment variable.
2003-09-25 20:33:41 +00:00
Jon Griffiths 821b228cda MSVC warning fix. 2003-09-24 05:12:28 +00:00
Jon Griffiths 33c069ae30 Added some needed config.h entries. 2003-09-23 22:51:11 +00:00
Vincent Béron a8fb3d786e Fix strncpyWtoA to actually act as advertised (and not overflow the
input buffer).
Small cleanups of it at the same time.
2003-09-22 19:45:29 +00:00
Michael Günnewig 92967e2044 Adapted winecheck to use new environment variable syntax
(ex. %HOME%).
2003-09-22 19:28:46 +00:00
Steven Edwards a23b8c8fbe Porting fix for Alpha. 2003-09-22 19:27:56 +00:00
Alexandre Julliard ccc7570b84 Get rid of relay32 directory. 2003-09-19 04:36:54 +00:00
Richard Cohen 6bfd84a331 Handle default linker output name in winewrap instead of winegcc. 2003-09-19 00:19:36 +00:00
Richard Cohen 5bcf35a385 Add printf format attributes & fix the warnings. 2003-09-19 00:19:16 +00:00
Dimitrie O. Paun fb9c47d522 Complete rewrite of bin2res, for a cleaner codebase.
Add online help describing how the program works.
Sanitize command line options.
2003-09-18 20:53:10 +00:00
Eric Frias 16f4ededb6 Fixed combobox flags handling to allow CBS_DROPDOWN style. 2003-09-18 04:31:15 +00:00
Dimitrie O. Paun dd0a6c874b Do not require GUI support for displaying errors in wrapper.
Link the wrapper only against kernel (no dl, msvcrt, etc).
Allow the setting of the app DLL when a wrapper is created.
2003-09-16 20:27:14 +00:00
Dimitrie O. Paun 120abaed95 Teach winegcc to masquerade as cpp. 2003-09-15 20:02:30 +00:00
Richard Cohen fc7e8f5c7b Handle -L<dir> in a separate array. 2003-09-12 00:25:14 +00:00
Alexandre Julliard 2be0fa40e4 Set the dll search path to the location specified in configure
(spotted by Vincent Béron).
2003-09-11 23:11:33 +00:00
Richard Cohen 2e6eed67cd Use an extendable array to store the lists of strings.
Only make wrapper argument lists if we're going to use them.
2003-09-11 22:16:33 +00:00
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