Commit Graph

762 Commits

Author SHA1 Message Date
François Gouget ebd110bc6a Fix command-line parsing for Winelib applications. 2002-08-15 23:21:03 +00:00
Alexandre Julliard f22ba0560d Added support for #pragma code_page.
Fixed a few bugs in language handling.
Added error message when Ansi->Unicode conversion in the current
codepage loses information.
2002-08-15 21:57:36 +00:00
Marcus Meissner f0b8fe562e The text section alignment should be default, not 1. 2002-08-15 21:47:27 +00:00
Alexandre Julliard 124eaf809c Builtin modules must be aligned on 64K boundary. 2002-08-14 21:09:55 +00:00
Alexandre Julliard ea97b39a79 Avoid dependencies on y.tab.h. 2002-08-13 03:30:58 +00:00
Alexandre Julliard 6006757996 Setup exception frame around 16-bit calls to unwind stack properly. 2002-08-13 03:29:17 +00:00
Alexandre Julliard 27189627cb Added explicit dependency on y.tab.h for lex output. 2002-08-10 00:03:08 +00:00
Patrik Stridvall 5694feeeb8 API file update. 2002-08-09 01:03:48 +00:00
Andriy Palamarchuk a8b66d5f7b Updated to generate build scripts working with current Wine, use some
Wine conventions.
Generated configure now finds libraries in binary Wine installation.
2002-08-09 00:57:57 +00:00
Gregg Mattinson 8c9bdcc9e1 Fixes for Sparc build. 2002-08-07 01:18:41 +00:00
Alexandre Julliard 547d236fe1 Get rid of removed winapi_check subdirs. 2002-08-07 00:03:01 +00:00
Alexandre Julliard 59ffa9fff7 Removed struct user to avoid conflicts with system headers (spotted by
Martin Cracauer).
2002-08-02 00:55:42 +00:00
Alexandre Julliard 1862a67d2d In -spec and -exe mode, accept multiple object files and link them
together internally to find the undefined symbols.
In -glue mode, accept multiple C files and generate a single glue
file for all of them.
2002-08-01 18:34:12 +00:00
Marcus Meissner 786d24903b Check for mkstemp, added a port implementation if it is not
present. Use mkstemp() in various places needing tmp files.
2002-07-29 23:55:39 +00:00
Michael Stefaniuc d97432ac94 Include <stdlib.h> needed by exit(). 2002-07-29 00:15:31 +00:00
Alexandre Julliard 3bd7d224fc Added a winebuild man page. 2002-07-28 18:58:41 +00:00
Alexandre Julliard 15a75259bd Added support for importing by ordinal. 2002-07-28 17:54:31 +00:00
Alexandre Julliard 112c665f83 Set correct dll file name when building a .def file. 2002-07-28 17:52:01 +00:00
Gerald Pfeifer 2cbbcc1875 #include <unistd.h> which is required for unlink(). 2002-07-25 23:57:54 +00:00
Andriy Palamarchuk 9b9d85fe4c winebuild searches libraries specified in -l parameter only in the
library directories specified before in the -L parameter, but
winemaker added -L parameter after -l.
2002-07-25 23:55:29 +00:00
Alexandre Julliard d25878f28e Put correct ordinal hints in the import table. 2002-07-25 00:25:40 +00:00
Patrik Stridvall 5379c7901c - Report broken forwards.
- API files update.
2002-07-23 01:59:09 +00:00
Alexandre Julliard 65c6d38581 Replace all uses of PREFIX and @function by the __ASM_NAME and
__ASM_FUNC macros.
2002-07-22 20:47:11 +00:00
Patrik Stridvall 1932045ec0 Handle forwarded functions properly (based on a patch by Francois
Gouget).
2002-07-22 20:37:30 +00:00
Patrik Stridvall 098883be33 Fixed winapi_extract. 2002-07-20 20:06:13 +00:00
Alexandre Julliard 5f1565e7fd Explicitly specify the path to wpp.h so we don't need to change the
include path, to avoid conflicts with multiple y.tab.h files.
2002-07-20 19:00:52 +00:00
Gregg Mattinson 8a191ff5b8 Avoid structures or arrays of size 0. 2002-07-19 03:18:05 +00:00
Gregg Mattinson 2aad72c426 - Removed name, type, mode, rsrc, and import statements from .spec
file.
- Added imports and resources to Makefile.in.
- Checked for __sparc__ and __sun__, same as Wine's configure.
- Checked $WINE_ROOT/library for library files.
- Changed mixedcrt directory to msvcrt.
2002-07-19 03:15:20 +00:00
Patrik Stridvall 0704650f64 Merged all API files into two files (Win16/Win32). 2002-07-19 00:31:05 +00:00
Jon Griffiths 0d66be89ac Update output for recent build changes. 2002-07-19 00:26:41 +00:00
Alexandre Julliard 4bc1ebbdaf Fixed temp name handling. 2002-07-16 03:21:35 +00:00
Alexandre Julliard 7d4ee77cab Merged the IDL compiler written by Ove Kaaven. 2002-07-16 03:20:45 +00:00
Alexandre Julliard b7d3c79beb Split the C preprocessor from wrc into a separate library.
Prefixed exported functions by 'pp' to avoid namespace conflicts.
2002-07-16 02:33:10 +00:00
Chris Morgan 38855a952b Windows registry not found should be a notice to the user, not a
critical error.
2002-07-08 20:43:21 +00:00
Gregg Mattinson 803eb16dfa - Replaced .previous with a .section statement for the appropriate
section.
- '.section .text' is incorrect.  It should be '.section ".text"'.
2002-07-05 00:20:42 +00:00
Gregg Mattinson 7c4cb515b6 Cast void* to char* for pointer arithmetic. 2002-07-03 21:10:43 +00:00
Alexandre Julliard 77afd6c47e Made some more spec file entries optional or unnecessary.
Fixed a few DLLName/DLLFileName mismatches.
2002-06-21 19:15:45 +00:00
Steven Edwards a0587c4a08 Portability fix. 2002-06-20 22:44:41 +00:00
Alexandre Julliard f673b71ece Fixed make install target to work even when nothing has been compiled
yet.
Added install-lib and install-dev targets to allow partial
installations; moved winemaker.man and winelauncher.in to better fit
in the new install categories.
2002-06-14 23:48:27 +00:00
Alexandre Julliard cceab98642 Unregister 16-bit dlls on module unload. 2002-06-14 23:42:53 +00:00
Patrik Stridvall 05fffb15ec API files update. 2002-06-04 22:13:21 +00:00
Andriy Palamarchuk 4bdd90dcbc Corrected installation of the wine applications, fixed call to
regedit.
2002-06-02 21:23:21 +00:00
Steven Edwards fa679847ed Portability fix. 2002-06-02 21:22:50 +00:00
Vincent Béron c075f35e1a Show in which file the function is actually implemented, as well as
the header in which it is defined.
2002-06-02 21:16:58 +00:00
Alexandre Julliard 7cae558bdc Removed some more trailing whitespace. 2002-06-01 02:55:48 +00:00
Alexandre Julliard ffb4956f4a Added fallback read() for missing/failing mmap(). 2002-06-01 02:47:58 +00:00
Vincent Béron 9a62491660 Removed trailing whitespace. 2002-05-31 23:06:46 +00:00
Steven Edwards 0b386cdc48 Fixes for building on mingw. 2002-05-30 20:36:29 +00:00
Alexandre Julliard 5188574984 Renamed handle_t to obj_handle_t to avoid conflict with rpcdce.h. 2002-05-30 20:12:58 +00:00
Tony Lambregts 0427479abc Removed -managed option. 2002-05-30 20:08:26 +00:00
Vincent Béron 6a5ba8fba2 Fixed some more missing \n in traces. 2002-05-29 19:09:54 +00:00
Eric Pouech 6a2ca011b6 Added the ability to add local configuration to winewrapper. 2002-05-28 22:48:17 +00:00
Alexandre Julliard 5e47acbc6d Only add extra symbols if they are not already exported by this dll. 2002-05-25 21:09:15 +00:00
Dustin Navea 9df2e56b72 Support for KDE3. 2002-05-23 16:31:22 +00:00
Dustin Navea 3ebea438cc Added creation of c:/windows/fonts and
c:/windows/Start Menu/Programs/Startup.
2002-05-23 16:30:42 +00:00
Alexandre Julliard 7fbd74ea55 Replaced the GET/PUT_UA macros by memcpy. Fixed a few big-endian
issues.
2002-05-23 02:53:10 +00:00
Alexandre Julliard 6db69f0b9b Avoid 0-byte files. 2002-05-22 21:34:14 +00:00
Alexandre Julliard 3536316a31 New loading scheme for Winelib apps, makes them behave like builtin
dlls and takes load order into account. Install them in dlldir.
Improved MODULE_GetBinaryType to recognize ELF binaries.
Added a wrapper script to setup the environment when running directly
from inside the source tree.
2002-05-22 21:32:49 +00:00
Patrik Stridvall bb7cc80fc8 API files update. 2002-05-22 01:52:56 +00:00
Alexandre Julliard 476aabc95a Do not output stubs in the .def file. 2002-05-19 22:29:34 +00:00
Alexandre Julliard bf90f4db87 Adapted to use the argc/argv variables from libwine.
Automatically import libraries that contain the symbols that the
.spec.c file is using.
2002-05-16 23:17:37 +00:00
Alexandre Julliard 59008670be Moved the selector access functions out of winnt.h into libwine. 2002-05-16 20:32:16 +00:00
Andriy Palamarchuk e02fd411f1 Place "Common Files" under "Program Files" instead of root directory. 2002-05-16 20:27:27 +00:00
Alexandre Julliard 1f18f61bfa Fixed missing call to make_c_identifier. 2002-05-16 18:44:06 +00:00
Steven Edwards 0a2d211139 Added check for sys/mman.h. 2002-05-16 18:29:11 +00:00
Dustin Navea 1222aa63d5 Fixes for kde3 and Desktop directory. 2002-05-14 23:20:45 +00:00
Dustin Navea 629895b7f9 Fix for $libdir check. 2002-05-14 23:19:28 +00:00
Alexandre Julliard ad53383f9b Added winebuild support for generating a .dbg.c file containing the
debug channels definitions.
Made win32 the default type for spec files.
Ignore C compiler in winebuild so we can simply pass it $(DEFS).
Removed type win32 and debug_channels from spec files.
Fixed winebuild to always generate correct C identifiers (reported by
Vincent Béron).
2002-05-14 20:54:58 +00:00
Alexandre Julliard 9bb05fc48e Specify the complete source file list for a dll inside the main
makefile and get rid of the subdirectories makefiles.
2002-05-14 18:36:54 +00:00
Alexandre Julliard 67371bcc8d Added -res option to specify resources on winebuild command-line.
Added -exe mode to generate a .spec.c for an exe without having to
provide a .spec.
Removed some no longer needed spec files.
Removed .dll extension in makefiles import specifications.
2002-05-11 23:06:32 +00:00
Eric Pouech 7f9cc2e4dc Allowed options to be put between mode keyword and main argument. 2002-05-11 22:58:57 +00:00
Steven Edwards 0a8e15abfb Detect snprintf && _snprintf, use _snprintf on stupid platforms
(windows).
2002-05-10 01:33:40 +00:00
Alexandre Julliard ea69f8eeb4 Added some #ifdefs HAVE_X11_XLIB_H where appropriate. 2002-05-10 01:08:56 +00:00
Alexandre Julliard ce830a9c18 Added mkinstalldirs to create directories more portably. 2002-05-09 04:31:39 +00:00
Alexandre Julliard 58faa1cf7f Updated to the latest version. 2002-05-09 01:51:04 +00:00
Alexandre Julliard 32459912dc Moved imports specification from the .spec into the Makefile so that
it can be used on platforms that don't build a .spec.c file.
2002-05-09 00:05:48 +00:00
Andriy Palamarchuk 1827e7d11f Direct bug reports to Wine bugzilla. Some other minor documentation
changes.
2002-05-08 23:14:19 +00:00
Patrik Stridvall 3751ff045c MS C related changes. 2002-05-04 18:37:08 +00:00
Andriy Palamarchuk a38f2d9fbd Made wineinstall to create symbolic links to Wine applications in fake
Windows folders. Replaced usage of obsolete regapi with regedit.
2002-05-04 18:31:24 +00:00
Warren Baird 714bfd7e4a Solve alignment problems by converting bitmap headers *after* they
have been copied into an aligned location, and then copying the
converted header back over the original header.
2002-05-04 18:26:34 +00:00
Dustin Navea 7200ca9803 Changed bug report address. 2002-05-02 21:36:38 +00:00
Michael Cardenas c4e9ea1a7e Fixed quoting of KDE desktop entry. 2002-05-01 18:05:57 +00:00
Dustin Navea 35ba7b9e81 Write menu information to /usr/lib/menu/wine.
Try to autodetect KDE version using kde-config.
2002-04-29 19:33:09 +00:00
Patrik Stridvall c56ed505f3 - API files update.
- Fixed parser to handle C/C++ comments in strings.
- Report if C++ comments are used.
2002-04-29 18:45:12 +00:00
Alexandre Julliard 9a68b7bef0 Link the tools and the server against libwine so we can use the
portability functions in there.
2002-04-27 21:19:22 +00:00
Dustin Navea 693d719f63 Always run ldconfig even if we don't change ld.so.conf. 2002-04-27 00:15:12 +00:00
Alexandre Julliard 5769d1de00 Better support for configure detection of missing types, added check
for ssize_t.
Removed a couple of no longer used portability functions.
Various portability fixes in port.h.
2002-04-26 19:05:15 +00:00
Alexandre Julliard 894b188fcf Moved __ASM_GLOBAL_FUNC macros and interlocked functions to port.[ch] 2002-04-25 21:40:56 +00:00
Alexandre Julliard 21e916676f Load libXrender at run-time with dlopen (based on a patch by Huw
Davies).
2002-04-23 22:06:41 +00:00
Dustin Navea 4940c37787 Find ntfs drives and supermount cd-roms.
Fix finding non-supermount cd-roms mounted at /cdrom.
2002-04-23 19:34:11 +00:00
Dustin Navea e052196134 Search for real-windows registry now actually accesses a file.
Find clean-install win2k registry.
Find correct partition of real Drive C (most of the time).
2002-04-23 19:29:55 +00:00
Alexandre Julliard 48f26b7c4d Fixed typo in su command. 2002-04-22 22:36:50 +00:00
Tony Lambregts 73cef71b8d Correctly detect the presence of a wine binary. 2002-04-21 22:06:36 +00:00
Bill Medland c31086870f Handle when ldconfig is not on the path, and do not run it until after
the libdir has been populated.
2002-04-20 20:53:24 +00:00
Bill Medland bfcd7b8f38 Prevent error message if LD_LIBRARY_PATH is not being used.
Comment out the DEBUG message.
2002-04-20 20:52:53 +00:00
Martin Wilck 4b807a1fc2 Fix winemaker-generated references to dlls that have changed their names. 2002-04-14 19:31:23 +00:00
Patrik Stridvall 8657ed51b6 - Minor API file update.
- Minor bug fixes.
2002-04-03 02:35:34 +00:00
Alexandre Julliard e16bb784a3 Got rid of #ifdef USE_STABS. 2002-04-01 21:07:16 +00:00
Chris Morgan ee626fe6fd Prevent the user from running wineinstall as root, add script commands
so we 'su root' for installing and other commands that require root
access.  Fix modification time comparison of wrong file.  Added
missing sed line. Always 'make' before we run make install so no build
files become owned by root.
2002-04-01 20:56:51 +00:00
Alexandre Julliard 624f8e9ec7 Fixed winelauncher for new dll files layout. 2002-03-29 18:08:31 +00:00