Commit Graph

1069 Commits

Author SHA1 Message Date
Dimitrie O. Paun fbeaaa3b6f Properly link agains .a files using the -l switch.
Support more verbose output.
2003-01-03 22:31:45 +00:00
Dimitrie O. Paun 939ebca849 Simplify the code for the generated wrapper.
Miscellaneous small cleanups.
2003-01-03 21:02:53 +00:00
Dimitrie O. Paun a4ed7eda9a Support outputing files to a different directory than pwd.
Small cleanups.
2003-01-03 03:06:02 +00:00
Patrik Stridvall b6077c6632 Added --include-quotes option that fixes #include to use the correct
of <> and "".
2003-01-03 03:05:41 +00:00
Dimitrie O. Paun f1efde303b Added C++ support & small cleanups. 2003-01-02 23:07:52 +00:00
Dimitrie O. Paun 1cd0ea87ee Support C++ linking with a new -C switch.
Modify the app launcher to pass all options but --debugmsg and --dll
to the app.
Link the wrapper against all of the app's libs.
Drop support for passing the dll names to the launcher.
2003-01-02 23:07:40 +00:00
Alexandre Julliard 60d84e8127 Updated for recent options changes. 2003-01-02 19:30:17 +00:00
Jeff Smith caa74b66be Several improvements and corrections, foremost being correcting wrc
flags and shared object file naming.
2003-01-02 19:27:23 +00:00
Patrik Stridvall 4715b802a7 - API files update.
- Minor improvement and bug fixes.
2003-01-02 19:26:11 +00:00
Dimitrie O. Paun 8aa4e4ed25 Add support for wrapper generation to winewrap.
Quite a few micro cleanups, code should be simpler to follow.
2003-01-02 19:24:03 +00:00
Dimitrie O. Paun f6933ae49f Compile with WINE_UNICODE_NATIVE defined, essential for C++.
New -V option to display the version.
Do not link -lc, screws up linking, just get the default.
2003-01-02 19:23:48 +00:00
Eric Pouech 0fcada9fa7 Removed unused #include of module.h. 2003-01-02 17:59:47 +00:00
Andreas Mohr 3e7628e901 Increment log output from 200 lines to 3000 lines.
Added Win XP as a listed Windows version.
2003-01-02 17:53:26 +00:00
Dimitrie O. Paun 959562bdcd Add the -F option to set a DLL's filename. 2003-01-02 17:48:05 +00:00
Dimitrie O. Paun c607ee253c Add support for library path (-L).
Add support for linking against static libs.
Ignore -W for gcc compatibility.
2002-12-23 02:04:34 +00:00
Alexandre Julliard 9ba2e89ae5 Don't ignore sprintf/sscanf imports, semantics are not exactly the
same on Windows.
2002-12-20 00:36:18 +00:00
Alexandre Julliard a6cc590688 Renamed mingwrap to winegcc.
Removed -DWINE_DEFINE_WCHAR_T.
2002-12-19 23:41:30 +00:00
Tapio Kautto 7e1722d966 Fix for missing ppdebug variable. 2002-12-19 23:38:11 +00:00
Alexandre Julliard 041756d8e8 Avoid referencing potentially freed token. 2002-12-19 04:20:23 +00:00
Dimitrie O. Paun d07e901c86 Remove the -L wrc option, as no automatic fudging of filenames can
ever be correct.
2002-12-19 04:14:38 +00:00
Francois Gouget 95217843d5 The link command specifies which version of the C library to link with
(see /M[TD]d? option). So we must not explicitly link with
'msvcrt.lib'. Fixes the msvcrt test crashes.
2002-12-18 02:22:12 +00:00
Alexandre Julliard ea118ecb50 Fix the type of the This pointer in the vtbl functions inherited from
the base class.
2002-12-17 21:05:16 +00:00
Dimitrie O. Paun 70c4fc4109 Better handling of errors while fork/execing.
Add verbose command line switch.
Add -z defs at link stage, to catch missing symbols.
2002-12-17 04:15:59 +00:00
Dimitrie O. Paun 8efafbdef7 Pass the gui flag to winewrap if we're linking a GUI app. 2002-12-17 04:15:42 +00:00
Francois Gouget 841f695959 On Windows windef.h must be included before winbase.h. 2002-12-16 22:12:47 +00:00
Francois Gouget 3efdf38fcd Add '--' option for passing extra arguments to the test. 2002-12-16 22:11:51 +00:00
Ove Kaaven 998236b7cf Output raw ICOM-less C/C++ interface definitions by default. Added new
-b and -B command-line options for compatibility with ICOM macros.
2002-12-15 03:01:20 +00:00
Jeff Smith c327246af3 Updated winemaker to account for change in wine's linking method. 2002-12-15 03:00:40 +00:00
Alexandre Julliard 470cbf2757 Added support for defining forward functions as stdcall so that we can
get the proper number of arguments for stdcall decoration.
2002-12-15 01:22:40 +00:00
Alexandre Julliard f9875bc1ca Added y.tab.[ch] pseudo-dependencies to fix parallel makes. 2002-12-15 01:19:53 +00:00
Dimitrie O. Paun cc1577cddc Teach mingwrap to use winewrap to do the linking, just like gcc uses
ld to link on Unix. Based loosely on a uClib utility developed by
Manuel Novoa III.
2002-12-15 01:17:10 +00:00
Dimitrie O. Paun 3e1c6132ef Small cleanups to match current build process. 2002-12-15 01:16:08 +00:00
Ove Kaaven 064c48a607 Include guiddef.h in widltypes.h. 2002-12-15 01:13:18 +00:00
Dimitrie O. Paun 15344ee7c9 New wine build utility that should make it easy for Winelib apps to
link, and generate an executable.
2002-12-13 00:38:42 +00:00
Jeff Smith 8232cbdacb Add 'distclean' target to winemaker-generated projects. 2002-12-12 22:26:18 +00:00
Dimitrie O. Paun e41ec931c7 Do not display the long options in the usage message if we don't
actually support them. Small other cleanups.
2002-12-12 22:23:55 +00:00
Alexandre Julliard ada5e6521b Implemented import libraries; on Unix we import the .def file
directly, on Mingw we use it to build the .a library.
2002-12-12 22:03:14 +00:00
Alexandre Julliard b42dc56fce Made stdcall decoration in .def files the default, and added -k option
to switch it off.
2002-12-12 04:06:28 +00:00
Alexandre Julliard 72e1c64345 Added list of symbols to ignore by default in winebuild.
Made the -i option support removing ignored symbols too.
Removed the -noimport flag in spec files.
2002-12-12 02:20:47 +00:00
Alexandre Julliard 93f85cba0c Warning fix. 2002-12-12 02:17:56 +00:00
Alexandre Julliard d2b651aed6 Wine internal includes should not be in the include path. 2002-12-11 01:31:56 +00:00
Dimitrie O. Paun 6f264583aa wrc should be aware of the location of the system headers. 2002-12-11 01:31:22 +00:00
Alexandre Julliard 4d9e7036b9 Updated to the latest version. 2002-12-11 01:30:41 +00:00
Alexandre Julliard 184c40a397 Try to open source file in current directory first in case it is a
generated file.
2002-12-11 01:30:14 +00:00
Francois Gouget 2837103fec Fix stderr redirection.
Simplify $infile existence test.
2002-12-11 00:18:11 +00:00
Alexandre Julliard 435e2e63f4 winnt.h should not be self-contained, it must depend on windef.h so
that STRICT works correctly; moved some definitions back to windef.h
where they belong, and removed a couple of definitions that don't
exist on Windows.
2002-12-10 22:56:43 +00:00
Dimitrie O. Paun 647c1a33c8 Gracefully degrade to getopt if getopt_long does not exist. 2002-12-10 19:16:24 +00:00
Alexandre Julliard 2cd4ed2e15 Replaced 'ignore' spec file directive by the -i option. 2002-12-07 23:54:12 +00:00
Alexandre Julliard 310de886e9 Check file header to differentiate between object files and resources
so that the -r option is not necessary.
2002-12-06 23:26:29 +00:00
Alexandre Julliard 9afea97a0f Fixed mingwrap install command. 2002-12-06 23:22:39 +00:00
Dimitrie O. Paun 9d8b149773 Make wrc command line compatible with windres. 2002-12-06 19:49:36 +00:00
Alexandre Julliard 6f0e60dd1f Fixed passing of -DINCLUDEDIR when building mingwrap. 2002-12-06 19:49:13 +00:00
Dimitrie O. Paun 2652dcf4f0 New MinGW wrapper that makes gcc on Linux behave like MinGW on
Windows, using the Wine headers.
2002-12-05 19:12:13 +00:00
Sylvain Petreolle 11666bb5f4 Install apps in windows\system since that's what the system directory
is set to in the config file.
2002-12-05 19:05:44 +00:00
Ove Kaaven e30a96776a Parse the NOT operator, the [idempotent] attribute, and the handle_t
and error_status_t types. Improved some parsing rules to get rid of
the LINK_LAST and LINK_SAFE macros. Enclose generated .h file within
an extern "C" (for C++). Output function prototypes for regular RPC
interfaces.  Fixed a couple of bugs.
2002-12-03 19:12:07 +00:00
Patrik Stridvall fc46e46240 - Fixed bug caused by changes to Wine.
- Added support for running all the tests in batch.
2002-11-30 19:03:51 +00:00
Ove Kaaven 34e2f87f8f Handle encapsulated unions in a cleaner (and less buggy) way. Emit the
names "DUMMYUNIONNAME" and "DUMMYSTRUCTNAME" for anonymous unions and
structs. Support const and extern definitions. Retain tokens (and
whether numbers are hex or not) used for computing constant
expressions, so that the full expression can be written to the header
file instead of the computed integer result of the expression. Parse
the sizeof() operator.  Compute and remember constant definitions and
enum values so they can be used in expressions. Improved identifier
lookup speed. Fixed some bugs.
2002-11-30 01:49:46 +00:00
Patrik Stridvall f2c2eafafb - API files update.
- Minor improvement and bug fixes.
2002-11-27 20:11:10 +00:00
Gerald Pfeifer af53e11fa0 Avoid using labels at the end of commpound statements. 2002-11-24 22:12:40 +00:00
Alexandre Julliard d16a64e327 Removed support for converting old format config, everybody should
have converted by now.
Removed log info from wineinstall, this info is already in ChangeLog.
2002-11-22 20:44:13 +00:00
Matthew Davison 994c1b3f00 Remove obsolete --enable-opengl. 2002-11-21 23:46:06 +00:00
Shachar Shemesh 2deda85b4b - If running wineinstall and asking not to install, the symbolic links
are no created pointing to the source tree files rather to the
  (non-existing) $libdir
- If Windows is found on the system, the installer does not assume
  that the user is interested in using it. Instead, the user is asked,
  and if she answers "no", Wine is installed as if no Windows was
  found.
2002-11-21 00:03:14 +00:00
Ove Kaaven 189397795d Added "generate headers only" command-line option. Implemented imports
from inside interface definitions. Fixed a few problems with
generating header files for COM interfaces.
2002-11-21 00:02:38 +00:00
Tisheng Chen 80a6620815 Added Simplified Chinese support. 2002-11-20 19:47:44 +00:00
Alberto Massari ff3dc34797 winedump was still using the "init" keyword in the .spec file. 2002-11-20 19:45:50 +00:00
Alexandre Julliard a9135e8333 Removed support for 'rsrc' spec file statement. 2002-11-18 23:16:09 +00:00
Vincent Béron 1eb106b92f Removed some unused types. 2002-11-18 23:12:44 +00:00
Alberto Massari 488a6a5788 Install link to rundll32.exe too. 2002-11-18 19:42:34 +00:00
Alexandre Julliard 98f12a0db1 Make sure widl doesn't depend on the headers it has to generate. 2002-11-13 21:31:01 +00:00
Alexandre Julliard b1c3a89ade Moved rpc.h inclusion in widl-generated file so that tests compile. 2002-11-13 04:18:38 +00:00
Ove Kaaven 03c7d46806 Support for enums, arrays, encapsulated unions, signed/unsigned
qualifiers, UUIDs, include guards, the new ICOM_DEFINE1 macro, and
some other improvements.
2002-11-12 02:12:35 +00:00
Patrik Stridvall b3da4abc57 Added tests for a few new DLLs. 2002-11-12 01:05:17 +00:00
Dimitrie O. Paun e39e8a172b Rewrite make_ctests and runtest in shell. 2002-11-11 20:25:54 +00:00
Patrik Stridvall 14fa65948b - API files update.
- Fixed options --cross-call-{unicode-ascii,win32-win16}.
- Minor reorganization of the global checks.
2002-11-11 19:55:11 +00:00
Eric Frias 1046fe3051 Added quotes to assembly language output. 2002-11-06 22:07:38 +00:00
Patrik Stridvall aac9ff400c - Added code for detection of missing types.
- Added missing types.
- Added a function for each type test to improve compiling with -O2.
2002-11-06 21:58:50 +00:00
Alexandre Julliard 910851a20e Added winebuild -e option to specify the entry point and removed the
'init' spec file directive.
Winebuild long options now use a more standard double dash format
(older format still supported for backwards compatibility).
2002-11-06 20:02:59 +00:00
Patrik Stridvall eb4db9471f API files update. 2002-11-06 19:58:02 +00:00
Alexandre Julliard 1e1313d54c Made the dll entry point default to DllMain and removed most of the
'init' spec file declarations.
2002-11-04 23:53:41 +00:00
Alexandre Julliard 07f736bc3d Hack to detect register functions automatically so that relay debug
also works for functions using the DEFINE_REGS_ENTRY_POINT macros.
2002-11-04 22:50:24 +00:00
Patrik Stridvall 93cf466cba - Updated it to support changes in Wine.
- Added support for C++ compilation (off by default).
2002-11-04 22:41:00 +00:00
Patrik Stridvall 5554838292 Added tests for normal types (not just structures). 2002-11-04 22:40:13 +00:00
Alexandre Julliard 4a301f5d26 Removed no longer needed support for patching the debugger path in the
registry.
2002-10-29 23:27:37 +00:00
Patrik Stridvall ec50ab2a33 API file update. 2002-10-29 21:30:32 +00:00
Patrik Stridvall 011fc645a3 Add new options --wine and --winetest so workspace and project files
for Wine and Winetest might be generated independently.
2002-10-29 21:25:09 +00:00
Patrik Stridvall 1a6898b8ef Added support for excluding optional fields. 2002-10-29 21:23:44 +00:00
Andreas Mohr 0739ed720e - check for root user
- silence errors
2002-10-25 03:11:33 +00:00
Patrik Stridvall ccfd32fbf6 - Added proper parsing of the Makefile.in's to find the tests.
- Added support for optionally using the Microsoft headers instead of
  the Wine headers.
2002-10-23 20:16:12 +00:00
Patrik Stridvall 1298eb4053 Fixed mismatches between the Wine headers and the Microsoft headers. 2002-10-23 18:50:10 +00:00
Patrik Stridvall 3007bd437e Minor modifications and improvements. 2002-10-23 18:44:46 +00:00
Vincent Béron 8ce90f2f0b Run regedit even if not installed. 2002-10-21 19:19:54 +00:00
Uwe Bonnes 2c481cebcd demangle_datatype: delete superflous free(). 2002-10-19 17:16:29 +00:00
Martin Fuchs 3f44167715 Corrected the alignment of unicode message table strings in wmc, and
switched to unicode for message strings, so that FormatMessage() now
works.
2002-10-19 17:15:00 +00:00
Alexandre Julliard b3332d74b0 Converted the server to -DSTRICT. 2002-10-19 01:00:59 +00:00
Alexandre Julliard 7aee90762a Merged wine_call_to_16_long and wine_call_to_16_short into a single
function.
2002-10-18 00:29:32 +00:00
Patrik Stridvall 724c1a60ff - Better .dsp file generation for .exe outputs
- Added generation of winetest.dsw for building wine tests under
  Windows (currently very kludgy, but it works to some extent).
2002-10-18 00:20:58 +00:00
Patrik Stridvall cff905837f - Fixed broken winapi_extract options --{pseudo-,}stub-statistics.
- Added new winapi_extract options --{pseudo-,}implemented.
2002-10-15 02:15:35 +00:00
Patrik Stridvall 90fb04604d Don't use a special header file for macros used in generated tests.
Have a copy in each generated file instead.
2002-10-15 01:24:03 +00:00
Vincent Béron fc144ada89 Actually compile Wine even if not installing as root. 2002-10-15 01:19:46 +00:00
Vincent Béron 0e668bb9b3 Allow wineinstall to be run from tools/ or from the main Wine
directory.
2002-10-13 17:53:47 +00:00
Patrik Stridvall 65442cd763 - Improved alignment and offset calculations.
- Reorganized and improved enum/union/struct parsing.
2002-10-11 17:53:13 +00:00
Alexandre Julliard 4ce72031a0 Don't list register functions in the .def file. 2002-10-09 20:28:06 +00:00
Patrik Stridvall 91a3686853 Reorganized the code for better support of data structures parsing. 2002-10-09 18:12:02 +00:00
Eric Pouech 5cfcabc3e2 Fixed segv when incorrect command line arguments where given. 2002-10-07 18:22:09 +00:00
Alexandre Julliard 54f228733a Added process_id_t and thread_it_t types to the server interface
instead of using void*, and removed a number of type casts.
2002-10-03 19:54:57 +00:00
Patrik Stridvall df6d37e0f2 - Minor improvements.
- Added tests for GDI and USER.
2002-10-02 19:54:14 +00:00
Alexandre Julliard 16f3c788d0 Preliminary support for dumping NE binaries. 2002-10-02 18:50:09 +00:00
Patrik Stridvall bd68e06896 - API file update.
- Minor bug fixes.
2002-10-02 01:23:55 +00:00
Patrik Stridvall a40a4f719e - Added a new tool winapi_test for generating tests.
- Added a data structure packing test to winapi_test.
- Reorganized and optimized a few things.
2002-10-01 18:10:54 +00:00
Bill Medland f38979349b Minor typo fix. 2002-09-29 17:59:58 +00:00
Francois Gouget af9978e101 Updated the wrapper code to match the new naming executable and
library conventions.
Executables don't need spec files.
Removed unused code.
2002-09-27 22:06:56 +00:00
Francois Gouget 635eb3c2ae Bring the naming of libraries and executable up to current standards.
Install dlls and executables in dlldir.
It is no longer necessary to import ntdll.dll.
2002-09-26 03:20:59 +00:00
Alexandre Julliard 4b9344eb15 Moved ts_xlib.c into x11drv and removed libwine_tsx11. 2002-09-25 03:29:55 +00:00
Alexandre Julliard e9119c198d Removed some more TSX11 functions and files. 2002-09-24 18:36:51 +00:00
Patrik Stridvall de306f2e67 - Don't add standard headers for the dll separation hacks.
- API files update.
2002-09-24 18:27:47 +00:00
Alexandre Julliard df8e6eeb0f Removed a bunch of no longer used TSX wrappers. 2002-09-24 03:17:31 +00:00
Patrik Stridvall d56fd1a72f - Added support for %struct16 (used by CLSID).
- API files update.
2002-09-24 03:07:38 +00:00
Patrik Stridvall 11f0359977 - Made the new C parser handle the current Wine source.
- Added a compabillity layer between the old and the new C parser.
- Added parsing of data structures.
2002-09-23 20:38:30 +00:00
Francois Gouget e30b0780be Install notepad.exe in c:\windows too. 2002-09-23 19:55:12 +00:00
Jon Griffiths 2caa99f2bb Update output for current build process. 2002-09-20 19:20:04 +00:00
Jon Griffiths d756a0ac93 Documentation update. 2002-09-20 19:19:34 +00:00
Martin Wilck 4ae4d66159 Make all target names lower case. 2002-09-18 18:30:29 +00:00
Martin Wilck 0f298433d7 Fix "install" and "uninstall" targets: .exe -> .exe.so; target dir is
$(dlldir), like for the "builtin" wine binaries.
2002-09-17 18:31:31 +00:00
Jan Kratochvil b90930310c Bug fix. 2002-09-17 18:30:38 +00:00
Jan Kratochvil a58134aede New -S: Search only prototype names found in 'symfile'. 2002-09-16 23:59:53 +00:00
Marcus Meissner 2ca7000dc8 Added ctype.h. 2002-09-16 23:58:59 +00:00
Martin Wilck 29d48a504f - Support "-imsvcrt" as an abbreviation of "-imsvcrt.dll".
- Automatically add MSVCRT include path if MSVCRT DLL was requested.
2002-09-13 17:55:54 +00:00
Martin Wilck 90d6528099 - fix perl syntax error in my own patch
- fix perl syntax error in generate_wrapper_file()
- fix order of arguments generate_from_template() in generate_wrapper_file()
- don't ignore command line -l, -I, and -i arguments
- build wrapper with a minimal set of DLLs/libraries
- fix autoconf invocation to support both 2.5x and 2.13
- fix usage message for --nodlls
- target_init(\$global_settings) must not be done after reading command line
- fix appName declaration in wrapper code
2002-09-13 17:43:25 +00:00
Alexandre Julliard 16a303b376 Replaced 'heap' .spec statement by a command line option.
Updated winebuild manpage.
2002-09-12 22:51:20 +00:00
Patrik Stridvall c6629293a8 Minor bug fixes and improvements. 2002-09-12 22:25:35 +00:00
Patrik Stridvall e298097640 - Made remove trailing whitespace a default off option.
- Add support for C++ to C comment conversion.
2002-09-12 20:42:44 +00:00
Dimitrie O. Paun 7e035e290a Remove support for 'file', 'name', and 'mode' in .spec files. 2002-09-12 18:10:05 +00:00
Alexandre Julliard dd0bdbe44e Removed the __uint* types from basetsd.h since they don't exist under
Windows. Fixed a few other issues with type definitions.
2002-09-12 17:29:12 +00:00
Dimitrie O. Paun 7cd2edbb66 Add support for naming the DLL from the command line. 2002-09-12 17:23:25 +00:00
Francois Gouget d19aa5b702 Store the global settings in Make.rules.in instead of duplicating them
in each Makefile.in file.
Introduce generate_from_template which replaces generate_configure
and generate_generic
Simplify the wrapper generation by using generate_from_template.
Rename configure.in to configure.ac. Now works with autoconf 2.5x.
2002-09-11 01:09:58 +00:00
Andreas Mohr 52097fd703 - Implement dumping of COFF debug symbol table.
- Fix winedump syntax description.
- Spelling fixes.
2002-09-11 00:49:48 +00:00
Francois Gouget 85c048f3d8 Fix the Wine detection when using the Wine source tree. 2002-09-11 00:45:16 +00:00
Francois Gouget 96047ce941 Fix detection of 'ln -s'.
Fix computation of TOPOBJDIR.
Install exes and dlls in $(libdir).
-Wl,-rpath is not relevant for dlls.
2002-09-10 00:42:43 +00:00
Martin Wilck 3aa9e8c663 - Fix --nomfc option which is currrently broken.
- Add --nodlls option for small apps.
2002-09-10 00:20:27 +00:00
Patrik Stridvall 15e6c40a2f API files update. 2002-09-09 19:18:16 +00:00
Martin Wilck a76d1a330e - Add "-ldl" for wrapper apps.
- fix Makefile for --wrap.
- Fix wrapper code which was broken for console apps.
2002-09-09 19:17:52 +00:00
Francois Gouget cbe88fc3a1 Some small typo / phrasing fixes. 2002-09-06 19:46:27 +00:00
Francois Gouget e3d26a3e3c Add prototypes to all functions.
Make winemaker work in 'strict' mode.
2002-09-06 18:36:19 +00:00
Rok Mandeljc 8f40af41b8 Added symlinks for winhelp. 2002-09-04 23:30:44 +00:00
Steven Edwards ca14f24af4 Fixed typo in BITMAPV4HEADER stucture. 2002-09-04 18:47:32 +00:00
Patrik Stridvall 51e6c0ccb1 MSVC compatibility fixes. 2002-08-31 19:04:14 +00:00
Patrik Stridvall 175234c893 - Proper handling of GDI32 and USER32.
- Added PACKAGE_* for the config.h generation.
- Proper include path for the resource compiler.
- Minor bug fixes and improvements.
2002-08-30 00:01:55 +00:00
Patrik Stridvall d6b45453a0 API files update. 2002-08-30 00:01:19 +00:00
Patrik Stridvall 1ee88a2bfb Removed trailing white space. 2002-08-28 23:43:43 +00:00
Patrik Stridvall 440b021592 New tool winapi_cleanup for doing simple automatic cleanups.
Currently it removes trailing white space from the .[ch] files.
2002-08-28 23:42:57 +00:00
Alexandre Julliard b0c6e36d5d Fixed line numbers in error messages and improved redefinition error
(based on a patch by Jon Griffiths).
2002-08-27 22:32:01 +00:00
Alexandre Julliard f08b186373 Try to derive temp file names from output file names for better
portability.
2002-08-27 22:29:26 +00:00
Patrik Stridvall cea6df7787 Added Microsoft Visual Studio workspace and project file maker. 2002-08-27 00:29:36 +00:00
Dmitry Timoshkov f59bebe514 Make winedump compilable by MSVC. 2002-08-26 21:47:41 +00:00
Patrik Stridvall 511cea7e50 API files update. 2002-08-20 00:06:18 +00:00
Marcus Meissner 7678791d92 Implemented delayed import assembler thunks for PPC. 2002-08-20 00:00:49 +00:00
Dmitry Timoshkov c63d98038a Include protection for <unistd.h>, <sys/types.h> and <sys/stat.h>. 2002-08-17 18:28:43 +00:00
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