Commit graph

488 commits

Author SHA1 Message Date
Chris Morgan
3a21321583 Update for the new config format and location of the default config
file.  Add a conf_quesion to convert an old user config file, or use
the default Wine config file.  Removed the setting of obsolete
EXTRA_LD_LIBRARY_PATH.  Added a conf_question to give the user the
option to install local config and registry files when the script is
being run by root.
2001-01-11 20:18:06 +00:00
François Gouget
38b3ac5986 Create the main_target in single-target mode.
The defined(@array) construct is said to be deprecated, avoid it.
Simplify the usage reporting.
Add a word of caution to the usage message.
2001-01-11 20:17:42 +00:00
François Gouget
c1f016be08 Require that the user specify a work directory. This provides a
safeguard against accidental invocations.
2001-01-10 22:43:21 +00:00
François Gouget
ba5bb0bb11 (configure) Look for the headers in $WINE_ROOT/include/wine and
/opt/wine/include/wine.
2001-01-09 20:50:34 +00:00
Leonard Norrgård
47d4165822 Reference $(SRCDIR) when installing the perl script (it doesn't exist
in the build directory).
2001-01-07 21:52:39 +00:00
Alexandre Julliard
8081e5a1e5 Added handle_t type to server interface so that we can make handles
pointers later on.
Always use 0 to signal invalid handle in server requests.
2001-01-05 04:08:07 +00:00
Jon Griffiths
c7a3fec5be Added spec generation tool specmaker. 2001-01-04 19:45:49 +00:00
Ulrich Weigand
3e08d4608e Delayed import thunks for Sparc. 2001-01-02 22:22:12 +00:00
Ulrich Weigand
b5533c1dc6 - Fixed a byteorder conversion problem with message tables.
- Carefully read and write (possibly) misaligned data elements
  to avoid crashes on architectures where this is not allowed.
2001-01-02 20:46:28 +00:00
Ulrich Weigand
775fc630da Fixed builtin imports broken by latest change. 2000-12-29 17:44:40 +00:00
Ulrich Weigand
0108d83818 Fixed winebuild to work on non-Intel architectures. 2000-12-29 05:17:33 +00:00
Jon Griffiths
38e5a6c425 Allow stubs for exports that are not legal C identifiers. 2000-12-29 03:26:27 +00:00
Alexandre Julliard
c4d1176754 Renamed libuuid.a to libwine_uuid.a 2000-12-27 19:06:44 +00:00
Eric Pouech
5e32d16628 Added ability to delay loading of an imported DLL until it's needed
(new -delay option for import directive in spec file).
2000-12-26 01:22:34 +00:00
Patrik Stridvall
d72981946f - Minor API file update.
- Minor bug fixes.
- Added new option on --documentation-ordinal (off by default).
- Added new option on --documentation-pedantic (off by default).
2000-12-21 21:05:52 +00:00
Jon Griffiths
5d4cf0679a - Add several mbcs and CP 932 functions, fix some existing calls
- Bug fixes, -W warnings and winapi_check updates.
- Don't be so strict setting default locale, store codepage
2000-12-19 23:29:15 +00:00
François Gouget
44a182229b winuser.h now requires that we include winbase.h first. 2000-12-19 04:53:20 +00:00
Patrik Stridvall
35d288bca1 Solaris fixes. 2000-12-18 03:13:52 +00:00
Patrik Stridvall
fa29de7c6c - Minor API file update.
- Turned on --documentation-arguments by default.
2000-12-16 21:54:49 +00:00
Alexandre Julliard
66fed8cb2d Allocate entry points dynamically to allow for a larger number of
ordinals.
2000-12-15 23:04:40 +00:00
Francois Gouget
73995e2e4c Always link with uuid. 2000-12-15 22:58:55 +00:00
Alexandre Julliard
909eff9932 Added support for Unicode applications in winebuild.
Removed cuiexe_no_main hack.
Avoid stdcall function declarations inside functions because of gcc bug.
2000-12-15 03:38:11 +00:00
Jon Griffiths
4f12e61ca7 Added "ignore" directive for skipping individual symbol resolution. 2000-12-14 22:18:22 +00:00
Andreas Mohr
1a0eeb53a6 Fixed an unquoted string. 2000-12-14 20:30:35 +00:00
Eric Pouech
d848c251b1 Fixed path resolution for a/b.c source files. 2000-12-13 21:27:26 +00:00
Alexandre Julliard
db0747d095 Removed some unnecessary includes.
Got rid of ldt.h.
2000-12-13 20:23:41 +00:00
Alexandre Julliard
2a37decc39 Output the exports table in assembly code to make it possible to
export C++ mangled names.
2000-12-11 03:42:20 +00:00
Francois Gouget
a11664cc9b Added a prototype for closesocket. 2000-12-07 23:13:23 +00:00
Alexandre Julliard
9fd831f68a Don't make the spec file constructors static so that they don't get
optimized out.
2000-12-06 20:18:35 +00:00
Michael Veksler
cfb63bd289 Add basic NLS information needed for Hebrew. 2000-12-06 20:11:40 +00:00
Eric Pouech
0335095f5d Now prints line number for 'x.dll imported but no symbols used' warning. 2000-12-06 03:32:26 +00:00
Alexandre Julliard
e2222fd8ff Use libwine and libwine_unicode directly from their build directory
instead of using symlinks.
2000-12-06 00:05:14 +00:00
Alexandre Julliard
b018239fef Build tsx11 layer as a separate shared library. 2000-12-06 00:04:10 +00:00
Nerijus Baliunas
01eeb01f0b Fixed Serbian language code page. 2000-12-05 21:12:56 +00:00
Dimitrie O. Paun
b631a813f8 - overwrite (rather than append) the output file if we have no separator
- avoid output if there is nothing to do
2000-12-05 03:57:35 +00:00
Andreas Mohr
6dc005488b wineinstall didn't create the default no-windows directory /c
when just pressing enter.
2000-12-05 03:53:51 +00:00
Patrik Stridvall
da384ba225 Minor API files update. 2000-12-02 23:43:31 +00:00
Alexandre Julliard
218188c2d2 Always put the dll constructor in the .init section, and like the
.spec.o file first to ensure correct calling order of the constructors.
2000-12-02 20:38:47 +00:00
Francois Gouget
4ec10596ce If there is a single target, it should also get the 'project_settings
sources'.
If a subdirectory is called 'include' then add it to the include path.
2000-12-02 20:12:45 +00:00
Patrik Stridvall
94a507781b - Fixed a bug concerning Win16 documentation.
- Fixed some bugs concerning argument documentation
- Minor API files update
2000-12-01 23:51:33 +00:00
Alexandre Julliard
ef57e18f99 Removed some unnecessary includes. 2000-12-01 21:32:55 +00:00
Dimitrie O. Paun
31b6d090df Modified winebuild to use the __ASM_FUNC macro for greater portability. 2000-12-01 21:27:43 +00:00
Jeremy White
3a2b900124 Make winelauncher work better for source tree builds.
Make winelauncher detect the lack of a ~/.winerc file and prompt the
user about it.
Pass command line parameters a bit more graciously; improves
interaction with gmc and kfm.
2000-12-01 20:43:51 +00:00
Francois Gouget
3af251e4d8 - In interactive mode, don't ignore invalid options, ask the user again
- Uppercase extensions are not supported after all (hint: $(SRC:.c=.o))
- Pass the global defines and include path to WRC
- Base the cleanup on the OBJS variable so that it works even if the
  sources are in a subdirectory
2000-11-30 20:36:04 +00:00
Francois Gouget
fb5b590ed1 - Fix the handling of relative include/library paths
- In interactive mode, print "./" for the top level directory rather
  than an empty string
- We don't need to force a space before assignments
- Align TOPSRCDIR & co like all the other assignements
- Compile Dlls first (dependencies would do it more or less anyway)
- Wording change in the usage
2000-11-30 20:34:39 +00:00
Patrik Stridvall
a896531f38 - Added new option --documentation-arguments
- Minor API files update
2000-11-30 01:31:44 +00:00
Alexandre Julliard
e296bf3717 Renamed CallTo16* functions to wine_call_to_16* and export them from
kernel32.spec.
2000-11-29 19:39:30 +00:00
Dimitrie O. Paun
529da54394 Require {DECLARE,DEFAULT}_DEBUG_CHANNEL statements to end in a ; 2000-11-27 23:54:25 +00:00
Alexandre Julliard
1a5e22f558 Set debugging option based on NO_TRACE_MSGS define. Only output 32-bit
relay stubs if debugging is on.
2000-11-27 23:48:08 +00:00
Jon Griffiths
d6deb6db91 - configure tests for finite()/fpclass(), fixes BSD compile
- winapi_check updates, fix errno in more math calls
2000-11-27 01:37:28 +00:00
Francois Gouget
c87c5e3d22 The init function can be called main. 2000-11-27 01:33:55 +00:00
Alexandre Julliard
39b3195ce6 Added entry point flags -noimport, -norelay, -ret64 and -i386.
Replaced 'byte', 'word' and 'long' by 'variable' and made it work for
Win32 too.
Made parser more robust against truncated files.
2000-11-26 04:31:48 +00:00
Patrik Stridvall
0c0193aa73 Minor API files update. 2000-11-26 04:02:54 +00:00
Marcus Meissner
c9ea5f1aeb The __wine_call_from_16_ calls in the import table should use a valid
segment for dereferencing their pointer (using CS).
2000-11-26 04:02:09 +00:00
Hidenori Takeshima
a85b0a6d41 Added checking for mmap. 2000-11-25 23:54:12 +00:00
Alexandre Julliard
01af00a518 Added a few missing languages. 2000-11-25 23:53:01 +00:00
Patrik Stridvall
b2c89dce8c Minor API files update. 2000-11-25 03:08:52 +00:00
Francois Gouget
82747b7d76 When autodetected the MFC were still generating wrappers.
Fixed inconsistencies in the use of 'no' in the option names.
Updated the MFC link-list (configure.in).
Made the Makefile.in layout more readable.
2000-11-25 01:38:39 +00:00
Andreas Mohr
8724ea8573 Made wineinstall a bit more verbose. 2000-11-25 01:23:32 +00:00
Alexandre Julliard
ab687979fd Moved standard syslevel APIs declaration to winbase.h.
Use exported syslevel function wherever possible.
Moved SEGPTR declaration to windef16.h.
2000-11-15 23:41:46 +00:00
Francois Gouget
7f12601969 Allow the user to stick the option and its argument together. 2000-11-15 23:12:06 +00:00
Jon Griffiths
4b43b4d558 - Complete the implementation of heap functions
- Forward j0,j1,jn,y0,y1,yn math calls to libc
- Add strnextc, pass text flag in creat, winapi_check fixes
2000-11-15 23:11:38 +00:00
Dimitrie O. Paun
8643f4e882 Include config.h. 2000-11-15 22:14:07 +00:00
Francois Gouget
be85959226 Distinguish between IMPORTS and LIBRARIES.
Renamed LIBRARIES to DLLS to avoid confusion with the above, renamed
PROGRAMS to EXES to match.
Added a '-i' option for importing a Winelib library. '-l' is still
there but is only used for linking in the Unix sense.
Disabled the 'wrapper' options. It will be removed as a separate
patch.
No longer link with all of Wine's libraries.
Import the same default set of dlls as Visual Studio.
Avoid duplicate imports when generating the .spec file.
Updated the way winebuild is used.
Link applications as libraries and create a symbolic link to wine.
Detect where 'wine' is located in the configure script.
Removed unused/no longer used variables: DLLFLAGS, XLIB, X_DLLS,
XFILES, DLLS (configure.in)
Updated LDSHARED AND LDDLLFLAGS detection (configure.in).
Removed the rules pertaining to spec files from the Make.rules.
Updated the clean command to remove the symbolic links.
2000-11-15 22:12:20 +00:00
Alexandre Julliard
914406f854 Moved LDT handling to libwine.so. Changed the interface to use the
exported LDT_ENTRY structure.
2000-11-14 01:54:49 +00:00
Alexandre Julliard
745ec84c8b Export the CallFrom16xxx functions from kernel32. Renamed them
__wine_call_from_16 to follow the naming convention.
2000-11-13 04:54:45 +00:00
Alexandre Julliard
3570bfd41f Do not warn for unused imported dlls when forwards to the same dlls
are present.
2000-11-13 04:46:34 +00:00
Alexandre Julliard
f3a15607ad Don't include wine internal functions in the relay debugging table. 2000-11-13 04:17:25 +00:00
Francois Gouget
7f1ab7acf6 Fixed the detection of the link flags for NetBSD/Cygwin (configure.in)
Added AC_PATH_HEADER and AC_PATH_LIBRARY
Better header/library detection. Now works if things are already in
the include/library path
Look for the wine/MFC headers and libraries in more places so that it
works out of the box if Wine/MFC is installed in a standard place
(although there is not really a standard place yet for the MFC)
Renamed the '--with-xxx' options to have simpler more natural names
Renamed the corresponding 'WINELIB_xxx' variables to 'WINE_xxx'
2000-11-13 04:13:22 +00:00
Alexandre Julliard
0a8114c152 Raise an exception for unimplemented 16-bit entry points too.
Added check for duplicate names in 16-bit spec files.
2000-11-12 03:45:55 +00:00
Hidenori Takeshima
4ca46fda34 Fix for APIs that don't have any ordinal (ordinal=@). 2000-11-12 03:40:27 +00:00
Joerg Mayer
abe635cfd7 Get rid of some warnings about unused variables, signed/unsigned
comparisons and incomplete initializations.
2000-11-11 00:38:37 +00:00
Jeremy White
28fd558077 Make winelauncher smarter about finding the Wine libraries and
binaries.  Change the color scheme.  Handle launches with no
arguments, correctly handle invocation as a mime-type handler from
KDE.
2000-11-10 22:35:06 +00:00
Francois Gouget
a106edb71a Convert include statements of not-found files to lower case by
default
Added --no-lower-include option to override the above
Beautified the interactive mode output to make it easier to follow
Interactive mode: support the --mfc and --wrap options for both
projects and targets
Fixed the mfc/wrap propagation between project and targets (goes both
ways)
Autodetect MFC based projects by looking for an 'stdafx.(cpp|h)' file
Don't put the stdafx.cpp file in the list of files to compile (it's
just there for pre-compiled headers, yuk)
Fixed LD_LIBRARY_PATH when linking an application with a library from
the same makefile
Don't forget 'extra' sources when looking for a file for configure.in
Renamed the '--no-makefile' option to '-no-generated-file'
2000-11-10 22:29:11 +00:00
Alexandre Julliard
000c13a0da Added support in winebuild for resolving function imports (-sym option).
Added -L option for locating imported dlls.
Changed generated exe init code to use __wine_get_main_args.
2000-11-09 20:31:18 +00:00
Jon Griffiths
d3576a9f85 - Implemented 73 CRT functions
- Reimplemented file I/O using Win32 calls
- Set errno/doserrno in most calls
2000-11-08 22:42:53 +00:00
Alexandre Julliard
e087508f57 Moved builtin dll registration to libwine.
Changed process initialization to not load imported dlls too early.
2000-11-08 04:33:20 +00:00
Francois Gouget
b430295cf6 Fix the include path handling in get_real_include_name
Modified get_real_include_name so that it can follow an include path
starting with $(TOPSRCDIR)
Indent the debug messages a bit more so that winemaker's is still
readable when they are on
The ATL_INCLUDE_ROOT variable was set wrong (configure.in)
The MFC include path must contain the path to the ATL headers
(configure.in)
2000-11-07 20:27:16 +00:00
Alexandre Julliard
d19ad3962e Better error message when an include file is not found by makedep.
Added support for .mc extension.
Do not try to open *.tab.h and *.mc.rc include files.
2000-11-06 05:32:59 +00:00
Jeremy White
f9f030b87a Added a winelauncher shell script which makes the process of running
Wine a little nicer for an end user.  The intent of winelauncher is to
be used inside of a distribution package.
2000-11-05 20:06:56 +00:00
Francois Gouget
755bb92e15 New script for porting Windows source code to WineLib. 2000-11-05 05:23:39 +00:00
Alexandre Julliard
94613ab03e New debug channel mechanism allowing decentralized channel
declarations.
2000-11-05 04:51:34 +00:00
Alexandre Julliard
9a634693e7 Added debug_channels support. 2000-11-05 04:49:13 +00:00
Alexandre Julliard
e2b4efbd02 Create Gnome/KDE desktop and menu entries from IShellLink
interface. Based on the work of James Thomson and Dusan Lacko.
2000-11-02 20:22:07 +00:00
Francois Gouget
9488b6476f Make sure to carefully quote file names. 2000-11-02 20:07:53 +00:00
Patrik Stridvall
51ecb37618 Minor API files update. 2000-11-01 01:48:03 +00:00
Ove Kaaven
6e143b3379 Some bugfixes, another function for packaging, and some text
reformatting from Eric Maryniak.
2000-10-31 00:59:01 +00:00
Alexandre Julliard
2fa4f767aa Build ntdll as a real dll, including everything that was previously in
libwine.so. Created a new (mostly empty) libwine.so in library/ subdir.
2000-10-31 00:20:51 +00:00
Lionel Ulmer
d654f94f21 Added a '-inifile' option to specify the location of the wine.ini file
used in the building of the new wine.ini file.
2000-10-29 18:04:09 +00:00
Ove Kaaven
2c76752ada wineinstall improvements, mostly for usage in package postinstall
scripts.
2000-10-29 18:02:53 +00:00
Alexandre Julliard
aa5a1162a3 Patch flat cs of 16-bit entry points if current %cs is different from
compiled value, and retrieve flat ds from a global variable. This
should avoid problems with win4lin kernels.
2000-10-29 01:28:30 +00:00
Federico Schwindt
a5b696b6b4 Fixes for OpenBSD. 2000-10-28 00:32:08 +00:00
Alexandre Julliard
634824be58 Raise an exception when a stub entry point is called. 2000-10-26 22:03:34 +00:00
Kristoffer Gleditsch
d2e2bb240a Added LDFLAGS to linking of wine-related binaries. 2000-10-25 21:36:54 +00:00
Alexandre Julliard
cbeb644a94 Added support for loading .res files for 16-bit resources. 2000-10-25 20:33:58 +00:00
Alexandre Julliard
e904bf3b07 16-bit resource size must be scaled by alignment. 2000-10-25 20:31:51 +00:00
Alexandre Julliard
1d1f5f3eed Added codepage translation based on the language id (based on a patch
by Junichi Kuchinishi <jkuchi@mahoroba.ne.jp>).
2000-10-24 21:29:28 +00:00
David Elliott
2d83b63594 Fixed OFFSETOF macro definition for gcc 2.96. 2000-10-24 01:42:17 +00:00
Alexandre Julliard
21ec006fc1 Build Win32 resources as .res files and dump them into the .spec.c file. 2000-10-23 21:39:39 +00:00
Alexandre Julliard
003e24cadc Added support for loading Win32 .res files. 2000-10-23 21:33:06 +00:00