Commit Graph

911 Commits

Author SHA1 Message Date
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
Alexandre Julliard add0b5d28f Ignore imports and resources when building a .def file. 2002-03-26 01:55:25 +00:00
Patrik Stridvall 65dbf4f647 - API file update.
- Missing API file entries now only reported once.
2002-03-23 21:39:31 +00:00
Eric Pouech 3a0b3bbd6b Fixed VxD call tracing. 2002-03-23 18:44:13 +00:00
Alexandre Julliard 1cefed8122 Make warnings quiet by default and added -w option. 2002-03-21 01:38:53 +00:00
Alexandre Julliard c1bfca04e1 Changed builtin dlls file names to make it clear they are not normal
Unix libraries, and install them in $libdir/wine instead of $libdir to
avoid name conflicts in /usr/lib.
2002-03-20 22:19:06 +00:00
Patrik Stridvall 235da7975b Made winebuild (almost) compile and work on Windows. 2002-03-11 05:09:02 +00:00
Patrik Stridvall eb8a93cf66 - Minor API update.
- Minor bug fixes.
2002-03-11 01:17:04 +00:00
Alexandre Julliard 711b53212c Removed some obsolete files. 2002-03-10 00:31:56 +00:00
Alexandre Julliard 0799c1a780 Added LGPL standard comment, and copyright notices where necessary.
Global replacement of debugtools.h by wine/debug.h.
2002-03-09 23:29:33 +00:00
Alexandre Julliard ee346956eb Cosmetic fixes. 2002-02-27 18:50:42 +00:00
Andreas Mohr 8bc7f16caa Spelling/alignment fixes. 2002-02-27 01:34:08 +00:00
Andreas Mohr a0ff2b4adf - stress the fact that wineinstall is in Wine source
- add missing ttydrv/x11drv section to wine.conf.man
- make sure that we also load shdocvw as builtin in sample config file
- add sample AppDefaults section to sample config file
- winecheck update
2002-02-27 01:30:32 +00:00
Adam D. Moss e3d9406fcd Partially revert previous changes, force configure to write an
old-style config.cache.
2002-02-21 20:07:49 +00:00
Adam D. Moss 49185ac25f Make wineinstall work in the new-autoconf-version world. 2002-02-19 18:30:54 +00:00
Alexandre Julliard fed8f1cbf2 Modified makedep to handle #include <> correctly (based on a patch by
Patrik Stridvall).
2002-02-15 19:57:27 +00:00
Alexandre Julliard f5818d2f7a Upgraded configure script to use autoconf 2.50 features, and renamed
to configure.ac.
Changed a few things to better follow the autoconf guidelines.
2002-02-14 19:47:29 +00:00
Alexandre Julliard fb2b1c85b7 Updated to newer version. 2002-02-14 19:43:53 +00:00
Gavriel State f98c52b11f Some older versions of GDB need to have the filename data available
for each section, so we need to output it again for the data section.
2002-02-12 18:46:14 +00:00
Dmitry Timoshkov 93a5b8681d Support for generation of .def files from .spec files. 2002-02-04 18:48:18 +00:00
Andreas Mohr 2295e87be8 Fixed some more missing parenthesis issues. 2002-02-02 18:06:03 +00:00
Patrik Stridvall f94462fb75 Move __stdcall/__cdecl to the right place. 2002-01-31 23:22:07 +00:00
Patrik Stridvall a44d9fca54 Minor API update. 2002-01-31 21:46:40 +00:00
Francois Gouget 42dcd97e4c 'test -e' is not supported on Solaris, replace with '-f' or '-d'. 2002-01-29 17:52:28 +00:00
Clemens 37d960faee Should process the .dynsym of shared libraries instead of the .stab. 2002-01-29 02:58:20 +00:00
Alexandre Julliard dbe2cd907d Moved debug definitions to include/wine/debug.h. 2002-01-22 00:55:18 +00:00
Francois Gouget 5f30ee0651 Comment out/ifdef out unused code and variables. 2002-01-21 23:37:53 +00:00
Patrik Stridvall b6754d8313 Generate Perl modules defining prototypes for exported functions. 2002-01-21 17:36:35 +00:00
Patrik Stridvall 4d4a52c803 Minor API files update. 2002-01-18 18:53:45 +00:00
Francois Gouget 638ae43c89 Small typo fix. 2002-01-15 20:41:59 +00:00
Ove Kaaven f0cd93f554 Prepend "--" to arguments. 2002-01-14 18:32:12 +00:00
François Gouget 2945c0a89e which is more portable than type (FreeBSD). 2002-01-10 18:19:01 +00:00
Patrik Stridvall aa4efd49b1 - API files update
- Minor bug fixes
2002-01-07 21:08:18 +00:00
Alexandre Julliard 9e458b99d0 Added support for dumping resources. 2002-01-06 19:09:17 +00:00
Alexandre Julliard 18e4b5e293 We no longer need libXpm. 2002-01-04 18:52:40 +00:00
Alexandre Julliard 8850a5fc32 We no longer need the xpm wrappers. 2002-01-04 18:47:01 +00:00
Andreas Mohr a69c039c80 Documentation update. 2001-12-26 20:40:47 +00:00
Michael Stefaniuc 690d24f28e Replaced MAX with max and deleted definition of MAX. 2001-12-19 18:47:46 +00:00
Alexandre Julliard 7662ea1004 Made register and interrupt flags instead of entry point types, so
that we can have both stdcall and cdecl register functions.
Changed 16-bit .spec.c file generation to avoid including builtin16.h.
2001-12-14 23:14:22 +00:00
Simon Walton 44b15b18c9 Fixed a bashism. 2001-12-14 22:45:06 +00:00
Marcus Meissner 9c6af0a490 Fixed some places where whitespace was not handled correctly.
Do not use `cmd`s within cat <<EOF since bash1 sometimes gets confused
by it.
2001-12-13 00:58:20 +00:00
Alexandre Julliard eb9a863116 Exported CALL32_Regs from ntdll, renamed to __wine_call_from_32_regs
to follow the naming convention for this type of functions.
Split 16 and 32-bit relay functions into separate files, and moved the
32-bit ones to dlls/ntdll.
2001-12-11 00:50:33 +00:00
Gerard Patel 322d087335 Better handling of configuration with several Windows installations. 2001-12-04 19:38:46 +00:00
Alexandre Julliard 9caa71eef4 Redesign of the server communication protocol to allow arbitrary sized
data to be exchanged.
Split request and reply structures to make backwards compatibility
easier.
Moved many console functions to dlls/kernel, added code page support,
changed a few requests to behave properly with the new protocol.
2001-11-30 18:46:42 +00:00
Andreas Mohr 8c2e573f9d Avoid potential problems with filenames containing spaces. 2001-11-25 00:51:36 +00:00
Eric Pouech 0b83d4cbc6 New console code based on Win32 windows. 2001-11-23 23:04:58 +00:00
Patrik Stridvall 433e6a2765 Minor API files update. 2001-11-20 18:54:43 +00:00
Dusan Lacko 8e44ba1c89 Add Debian/Mandrake menu system support. 2001-11-20 18:53:33 +00:00
Andreas Mohr 9cef2d0b1d - fix wrong hexadecimal GetLastError() output
- misc fixes
- changed my email address
2001-11-19 02:30:01 +00:00
James Juran 49c779a862 Prevent warnings about labels at end of switch statements when
compiling with gcc-3.x.
2001-11-19 02:24:14 +00:00
Francois Gouget 381111d58f Fix a buffer overflow in write_name_str, bug found by
jonathan@corvu.com.au.
2001-11-06 22:23:37 +00:00
443904d59b Avoid parsing the whole tree to find libwine.so. 2001-11-06 22:22:53 +00:00
François Gouget 1425941e29 Fix the #include order for config.h.
Add #include "config.h" directives where needed.
2001-11-06 20:57:11 +00:00
Eric Pouech de6d4e211b Fixed and globalized some path and module name handling.
Tweaked the demangling of function pointers as function parameters.
2001-11-05 23:54:11 +00:00
Andreas Mohr e15badb478 Cosmetics. 2001-10-21 15:18:15 +00:00
Alexandre Julliard 0d50965a13 Added requests to store window rectangles in the server. 2001-10-16 21:55:37 +00:00
Guy L. Albertelli daa6a7a97d - eliminate different segmentation faults.
- when attempting to open a dll, append ".dll" to find it (was
  stripped previously).
- identify named exports so that the ordinal number is "@" in .spec
  file.
- setup output dll name prior to creating ordinal symbols.
- don't overlay the named exports with the ordinal exports.
- correct test for last symbol.
- fix generated install script to match current make files.
2001-10-16 21:46:58 +00:00
Francois Gouget 386cf6e342 When including 'wine/port.h', include it first.
Remove redundant 'config.h' includes.
2001-10-14 16:25:47 +00:00
Francois Gouget e5ddd26dd7 When including config.h, include it first. 2001-10-14 16:18:52 +00:00
Francois Gouget 60cccba562 Fix handling of empty lists in install and uninstall targets.
Install the executables .so libraries in $bindir (not $libdir!).
2001-10-14 16:06:18 +00:00
Alexandre Julliard d8a8c1131d Added atom_t type for atoms to make sure we use the same type
everywhere. Handle MIN_STR_ATOM offset in the server.
2001-10-12 18:45:29 +00:00
Francois Gouget 3b3025b6f8 Fix the Wine tools search path.
Add /usr/local/lib to the default ntdll search path.
2001-10-12 18:41:26 +00:00
Francois Gouget 4c282bf49b Fix the .spec.c rule. 2001-10-11 20:47:26 +00:00
Patrik Stridvall c3c5746415 API files update. 2001-10-09 21:49:07 +00:00
Francois Gouget d599c5a9b5 Wrappers must always be compiled in STRICT mode. 2001-10-08 20:30:18 +00:00
Daniel Sabo cebf8b659d A 'fi' was needed in the last if statement. 2001-10-05 19:37:04 +00:00
Alexandre Julliard 5b1e934218 Avoid including winbase.h in generated .spec.c files. 2001-10-02 20:32:58 +00:00
Andreas Mohr f359895daf Yet another documentation/message text patch. 2001-10-02 17:49:20 +00:00
Bill Medland ce4e0a6158 Add support for making a build environment without editing the source
and spec files.
2001-09-24 01:11:50 +00:00
Eric Pouech f19887971a Some dumb fixes. 2001-09-21 21:03:53 +00:00
Guy Albertelli 2011fa2d34 Add support for the +snoop style output. 2001-09-20 18:58:25 +00:00
Andreas Mohr 7bed696aa3 Updates and error message improvements. 2001-09-19 22:34:38 +00:00
Eric Pouech 5bdbc1a37e Fixed demangling invocation.
Be a bit more verbose on implemented features.
2001-09-17 20:26:27 +00:00
Huw D M Davies ff453fcd38 Add config check and thread safe wrappers for the XRender library. 2001-09-14 01:04:25 +00:00
Dmitry Timoshkov b56a2ef780 Add missing CALLBACK modifier. 2001-09-14 01:00:39 +00:00
Alexandre Julliard 705bfe9aac Fixed dumping of dll export table. 2001-09-14 00:16:12 +00:00
Francois Gouget 724c7d7a4f Place the log in $TMP if set and /tmp otherwise. 2001-09-14 00:10:22 +00:00
Patrik Stridvall d171a552bb - FreeBSD now supported.
- Much more work on the new C parser.
- API files update.
2001-09-10 23:16:05 +00:00
Eric Lammerts 38909c5900 Preserve wine return status. 2001-09-10 23:02:02 +00:00
Justin Santa Barbara c60bc0c9a5 Fixed problem with check for special characters. 2001-09-07 19:57:35 +00:00
Eric Pouech d786a12d58 Added PE dump capabilities to specmaker and renamed specmaker into
winedump.
2001-09-07 16:04:38 +00:00
Alexandre Julliard 1a66d226eb Added global management of user handles in the server.
Very preliminary support for shared window handles.
2001-08-28 18:44:52 +00:00
Alexandre Julliard 99eac46f65 Output correct assembly function headers for all functions. 2001-08-28 17:26:49 +00:00
Patrik Stridvall aeb023f352 - Continued on the new C parser.
- More reorganizations and fixes.
- API files update.
2001-08-22 18:09:15 +00:00
Patrik Stridvall 4b33b1322d - Begun implementation of a C statements parser.
- More reorganizations and fixes.
2001-08-09 21:35:38 +00:00
Andreas Mohr 635d965a16 Small winecheck update (DGA check is bogus). 2001-08-09 21:15:19 +00:00
Patrik Stridvall 647ac511a7 Made it possible to install the winapi tools. 2001-07-30 20:21:34 +00:00
Patrik Stridvall cec294e4f3 A few bug fixes. 2001-07-30 18:49:10 +00:00
Francois Gouget 89a0c02b3f Fix handling of the '--with-wine-xxx' options: only look in the
specified path.
Libraries and wine dlls are separate notions that need separate paths
-> add WINE_DLL_{ROOT,PATH}, --with-wine-dlls and a '-P' option.
Small fixes to the search order.
2001-07-30 18:44:48 +00:00
Patrik Stridvall 5bc9a0b623 A few bug fixes. 2001-07-29 20:19:14 +00:00
Francois Gouget 849cea008b Put the per project paths before the wine paths.
Remove unnecessary libraries from the wine link test.
Move DLL_LINK from configure.in to the Make.rules file.
2001-07-27 23:56:58 +00:00
Patrik Stridvall 67f0a70c33 - A few more bug fixes
- Reorganization continues
- New tool (make_filter) for filtering make output added
2001-07-26 21:42:12 +00:00
Patrik Stridvall 1c61b3babc Yet another major reorganization and a few new features. 2001-07-23 23:20:56 +00:00
Patrik Stridvall 027c7a1f9b Minor reorganisation and a few bug fixes. 2001-07-19 19:10:03 +00:00
Alexandre Julliard 37ec927536 Use the new protocol.def file to build the request structures.
Define protocol structures in a separate server_protocol.h file.
Removed __WINE_SERVER__ checks now that all includes are in the right
directory.
2001-07-19 00:35:37 +00:00
Patrik Stridvall d07a646f0f Several additions and bug fixes. 2001-07-18 20:09:12 +00:00
Bill Medland 4eb22c68b3 Make the font name and size settings reflect the data in the font file
rather than arbitrary values.
2001-07-18 20:00:44 +00:00
Francois Gouget 384c2325d3 Handle spaces properly when restarting winelauncher for debug. 2001-07-17 00:40:50 +00:00
Patrik Stridvall bda507405e Several additions and bug fixes. 2001-07-14 00:48:41 +00:00
Patrik Stridvall b59a9c7622 Several additions and bug fixes. 2001-07-12 22:22:05 +00:00
Bill Medland 987ea4688b Get winemaker to drop the trailing CtrlZ that is still to be found on
quite a lot of DOS files.
2001-07-12 22:21:44 +00:00
Patrik Stridvall c3e8ac32d9 Major reorganization and cleanup. 2001-07-11 17:27:45 +00:00
Patrik Stridvall 47a99e1a78 Several bug fixes and additions. 2001-07-08 20:33:20 +00:00
Patrik Stridvall 0e397febb0 Several bug fixes and additions. 2001-07-02 01:21:48 +00:00
Patrik Stridvall f20beca7e6 Several bug fixes and additions. 2001-06-28 18:01:39 +00:00
Bang Jun-Young a556f688ec Add a workaround for a bug in byacc (again). 2001-06-24 00:23:37 +00:00
Eric Pouech 1055481a71 Fixed for new relay format. added thread knowledge. 2001-06-24 00:23:18 +00:00
Patrik Stridvall 35a723b5bf Several bug fixes and additions. 2001-06-20 22:53:21 +00:00
Alexandre Julliard 838d65aebe Moved hardware message queue handling to the server. 2001-06-19 19:16:41 +00:00
Patrik Stridvall 20ca00113b - Slightly better handling of external/internal names.
- Minor bug fixes.
- Minor API files update.
2001-06-19 03:34:52 +00:00
Patrik Stridvall 163652b3f6 Several bug fixes and additions. 2001-06-19 03:34:39 +00:00
Patrik Stridvall 87f48fcc7b Added support for autoconf 2.50. 2001-06-19 03:30:13 +00:00
Patrik Stridvall 6a012e2502 - New common code for the winapi tools.
- New tool for extracting source code information.
- New tool for automatically modifying (fixing) the source code.
2001-06-13 19:38:29 +00:00
Patrik Stridvall 41f99ba2c9 - Minor API files update.
- Minor bug fixes.
2001-06-11 20:13:21 +00:00
Bob Goodwin d349241ff4 Mask out garbage in the upper half of stack pointer. 2001-06-08 20:25:34 +00:00
Marcus Meissner b63ab44599 Implemented glu32.dll as libGLU.so forwarder. 2001-06-08 19:02:57 +00:00
Alexandre Julliard 3581865229 Support for specifying stack size of Winelib apps. 2001-06-07 22:29:03 +00:00
Donn Miller 6562310d41 Case insensitive search for win.ini. 2001-06-07 22:25:06 +00:00
Francois Gouget f0c20b2d87 Wrc no longer needs to parse C code. Remove c-junk handling code. 2001-06-06 21:04:07 +00:00
Maciek Kaliszewski d7c69a5d5f Added support for RCINCLUDE directive. Now wrc ignores everything
except preprocessor directives from included *.h *.c files.
2001-06-04 03:09:11 +00:00
Francois Gouget 22507a018d Fix the conversion of MS style '#line' directives to gcc style. 2001-06-04 03:00:39 +00:00
Francois Gouget 27e7f28d8b INSTALL_LIBRARY does not exist, use INSTALL_PROGRAM. Fix handling of
the INSTALL* variables.
Winelib applications don't need to link with X, i386, ossaudio, xpg4,
mmap, util, dl or curses. Only wine does (normally).
Remove YACC & LEX variables (Make.rules.in).
Winemaker's makefiles don't use ldconfig.
2001-06-04 02:50:29 +00:00
Maciek Kaliszewski 8722373d9a Added better GCC-style #line directive handling. 2001-05-29 20:51:26 +00:00
Francois Gouget 27c3b59124 configure.in: Remove unnecessary AC_PROG_RANLIB check
Make.rules.in: Add missing CXX variable
Cosmetic changes
2001-05-29 20:50:58 +00:00
Dmitry Timoshkov 3724de93d7 Fixed some issues. 2001-05-22 19:55:51 +00:00
Francois Gouget ffc9c8a035 Don't start applications in the background to avoid breaking console
applications.
2001-05-10 03:16:37 +00:00
Francois Gouget 764a371738 Renamed 'operator_compliment' to 'operator_complement'. 2001-05-09 17:13:14 +00:00
Francois Gouget 35246cbb8d Remove the anonymous function parameter from generate_list calls when
it is unnecessary.
Modify the .spec.c rule to allow compilation out of $(TOPSRCDIR).
2001-05-07 18:19:57 +00:00
Francois Gouget 0e85f54db7 -l/-L were not renamed to -t/-T in the usage messages. 2001-05-07 18:17:58 +00:00
Patrik Stridvall f6d5c6ce36 - Minor API files update
- Minor bug fixes
2001-04-25 19:52:34 +00:00
Francois Gouget 3fafafa937 Files with special characters may not have been renamed. Try to match
both forms.
2001-04-23 18:16:13 +00:00
Andreas Mohr f32f918123 Spelling fixes. 2001-04-20 18:36:05 +00:00
Francois Gouget 647bb8f03d Fix file lossage in subdirectories of an 'include' directory (closes #163).
When case fixing #includes, take into account that the file may have
been renamed (closes #161).
Better support of $(SRCDIR) in -I directives.
RTF was not recognised in rc files because it was in the wrong place.
Escape weird characters when putting the rc filename in the spec file.
2001-04-20 18:26:35 +00:00
Francois Gouget c1159bedb0 Enhanced the pragma pack handling.
Enhanced the 'afxres.h' handling (the indentation).
Start issuing winemaker's warnings in the source files themselves.
2001-04-18 17:39:42 +00:00
Andreas Mohr de53c487ce Added uninstall hints. 2001-04-09 18:32:16 +00:00
Alexandre Julliard 04689b26f0 Always load the 32-bit dll containing a given 16-bit builtin.
Check the module name in addition to the file name when loading a
16-bit builtin dll.
2001-03-28 01:47:28 +00:00
Francois Gouget 3c6c20f89d Added handling of .hpp files (another extension for C++ headers).
The wrapper code needs to import dlls too.
All the generated wrapper files were identical, the 'variable'
subsitution was done on the template itself. Oups!
2001-03-23 19:07:59 +00:00
Jeff Garzik f46eb1db43 Added some inclusions of string.h where necessary. 2001-03-21 20:30:46 +00:00
Satsuki Fujishima f34f418926 Use INSTALL_SCRIPT instead of INSTALL_PROGRAM for scripts. 2001-03-19 19:19:23 +00:00
Marcus Meissner ed9c2df70e Replaced one .kde with .kde2 in KDE2 menu code. 2001-03-16 16:40:12 +00:00
Francois Gouget d554996c1e Set LD_LIBRARY_PATH if necessary before calling wrc & winebuild. 2001-03-16 16:39:02 +00:00
Francois Gouget 49fc317f23 Added missing extension for 'ole32.dll'. 2001-03-10 19:15:16 +00:00
Andreas Mohr 5142150f9c Added a perl script to check many aspects of Wine configuration. 2001-03-08 01:14:13 +00:00
Marcus Meissner b686a90e75 Added SHELL linking of KDE2 desktop/menu entries. 2001-03-08 01:12:52 +00:00
Alexandre Julliard 566a52ad8c Changed isolated for loops to while loops (based on a patch by Andreas
Mohr).
2001-03-05 19:34:17 +00:00
Francois Gouget 8d0e1e767a If a target has C++ sources, then use g++ to link it (fixes #162).
Removed SONAME, it's not relevant for dlls and was unused anyway.
2001-03-04 01:03:55 +00:00
Francois Gouget 3266b88746 Add files found in an 'include' directory, to the 'misc sources' list. 2001-03-03 00:17:11 +00:00
Francois Gouget afa36ce1f1 Reenable the wrapper support. 2001-03-01 22:11:10 +00:00
Alexandre Julliard 67a749999a New set of macros for server calls; makes requests without variable
part somewhat faster.
2001-02-27 02:09:16 +00:00
Ove Kaaven 26c35ce3d2 Handle filenames with spaces. 2001-02-26 22:32:53 +00:00
Ove Kaaven a3a0251515 Made the winelauncher support winelib app invocations. Fixed a few
file path issues.
2001-02-23 01:10:11 +00:00
Jon Griffiths dd2247817e - Create entries for ordinal only exports, use ordinals if non-standard.
- Improve C++ demangler, recognise data types, fix some bugs.
2001-02-16 19:06:05 +00:00
Alexandre Julliard 4988696cd4 Added support for backslash escaping of special characters. 2001-02-15 21:27:06 +00:00
Morten Welinder 1da4707f05 Output the right number of backslashes in values. 2001-02-14 21:45:12 +00:00
Patrik Stridvall 2859af9060 - Minor API files fixes
- Minor bug fixes
2001-02-13 20:19:39 +00:00
Jon Griffiths 38bed0608a Implement a bunch of shlwapi functions, add some new stubs. 2001-02-13 20:17:59 +00:00
Josh DuBois 0b64cfb3f7 More portable .align directive.
Ignore -delay directive on ppc only.
Added code to call the dll constructors.
2001-02-13 02:06:38 +00:00
Andreas Mohr 8ee6cca354 - TRACE opened registry handles
- add proper quotes to wineinstall
- spelling
2001-02-12 18:10:43 +00:00
Rein Klazes 3932f3a648 Added support for the Malayan language. 2001-02-12 03:47:10 +00:00
Patrik Stridvall 7d0f2ba5f1 - Addded support for API:s implemented with __ASM_GLOBAL_FUNC
- Reorganized documentation checking.
- Minor API files fixes
2001-02-12 03:44:41 +00:00
François Gouget a62703e676 Make sure all files are terminated with a '\n'.
Remove obsolete comment about 'afxres.h' coming back after editing in VC.
Added support for the RTF qualifier in RC files.
2001-02-12 01:22:58 +00:00
Andreas Mohr 696ff19578 - fix wineconf to generate new config file format
- fix some variable checks
2001-02-12 01:19:43 +00:00
Jon Griffiths d0f41e0894 Remove xmalloc/xrealloc limits for large binary resources. 2001-02-12 01:15:37 +00:00
Jon Griffiths 0395a4fba4 Improve name demangling, add 'demangle symbol' option. 2001-01-28 23:08:52 +00:00
Jeremy White 0350d2fd62 Remove the keyword 'function', as requested by Robert Luberda. 2001-01-26 21:01:32 +00:00
Patrik Stridvall d5f824b482 Fixed some issues found by winapi_check. 2001-01-25 22:23:08 +00:00
Patrik Stridvall ad00529bd8 Minor bugfixes. 2001-01-25 22:22:37 +00:00
Francois Gouget 05fc3cdf9a Typo fixes in comments. 2001-01-22 02:22:26 +00:00
Jon Griffiths 4ab1558d8a - Remove <string.h> from winnt.h.
- ntdll: complete crt functions, prevent libc imports, fix sscanf.
2001-01-22 02:17:29 +00:00
Patrik Stridvall 9086d42d73 - Minor API files update.
- Minor bug fixes.
- Minor documentation check improvements.
2001-01-20 02:16:31 +00:00
Chris Morgan a00cefb7e4 Switched from wine.config back to wine.conf, no need to use something
not linux standard.  Removed use of obsolete "--config" option when
calling regapi.  Lots of cleanup and reorganization.  Check to see if
wine is installed when wineinstall is not run as root.
2001-01-18 20:29:21 +00:00
Jeremy White 8dad1d8ed3 Revised wineshelllink to wake up KDE 1.x so that applications that get
installed show up without a manual KDE menu refresh required.
Added a few usage checks to make manual invocation a little less
painful.
2001-01-17 20:17:03 +00:00
Alexandre Julliard 1b2e90e31b Fixed tmpfile buffer size. 2001-01-17 01:55:21 +00:00
Jeremy White 4aaaf41019 Make winelauncher test for xmessage and warn the user if they don't
have it.
2001-01-17 01:47:18 +00:00
Nathan Neulinger d9b114df03 Renamed struct option to avoid conflicts with getopt.h. 2001-01-11 22:31:04 +00:00
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