Commit Graph

412 Commits

Author SHA1 Message Date
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
Alexandre Julliard 053db33ac1 Fixed duplication of typename in 16-bit assembly output. 2000-10-23 01:29:52 +00:00
Joerg Mayer 959d73e8dd Reduce the number of warnings about missing initializers. 2000-10-22 23:56:32 +00:00
Patrik Stridvall 46b0072cde Minor API files update. 2000-10-22 23:54:09 +00:00
Alexandre Julliard 57f05e1913 Converted a few more server requests to the new mechanism. 2000-10-15 00:40:25 +00:00
Lawson Whitney 471323665d Make findfunc look for .spec files, and put it with the other tools. 2000-10-13 23:06:40 +00:00
Patrik Stridvall 1051c3fe13 - Support for stdcall64
- Minor API updates.
2000-10-02 03:34:14 +00:00
Alexandre Julliard bcf393a5e5 Converted some of the registry server requests to the new request
mechanism.
2000-10-01 01:44:50 +00:00
Alexandre Julliard a83784944b Added stdcall64 entry point type to allow correct relay debugging
support for functions that return 64-bit values.
2000-10-01 01:33:50 +00:00
Alexandre Julliard c585a501d9 Changed the Win32 dll descriptor to be in IMAGE_NT_HEADERS format.
Generate the import table directly in PE format.
Added gui/cuiexe_no_main modes in EXE spec files, and use this for the
main wine binary.
2000-09-27 23:40:43 +00:00
Alexandre Julliard a80d8c6cf0 Generate Win32 dll descriptor structure in the .spec.c file so that we
don't need to depend on builtin32.h.
2000-09-27 01:20:01 +00:00
Francois Gouget e355ee2df1 Filenames may contain '/' and '\'.
Small typo fixes.
2000-09-24 03:02:12 +00:00
Ulrich Weigand a761e3dad0 Modified CallTo16Register routines to update register context after
call returns. Callers adapted.
2000-09-13 20:29:44 +00:00
Lionel Ulmer 3d2f32dcfb Added possibility to use XVideo. 2000-09-06 19:46:59 +00:00
Phil Cole 3c0dbc1f01 Added two directories to default non-windows install. 2000-09-06 19:43:08 +00:00
Patrik Stridvall faf64aa9ef Minor API files update. 2000-09-04 20:20:47 +00:00
Phil Cole 67019ae03d The Path variable in the created .winerc must be in dos format. 2000-08-31 02:07:57 +00:00
Phil Cole a7c48b1549 Small fix. 2000-08-31 02:07:07 +00:00
Alexandre Julliard 92643003cf Converted a lot of server requests to the new exception handling
mechanism.
2000-08-31 01:59:51 +00:00
Alexandre Julliard 9c2370bd75 Added exception handling wrapper to a number of server requests.
Changed a few requests to use the new vararg mechanism.
2000-08-30 00:00:48 +00:00
Alexandre Julliard 8611353053 Added the data structures and macros that will be needed to support
reentrant server requests.
2000-08-29 03:54:30 +00:00
Andreas Mohr 8bba9badaf Added a wine rpm uninstall section to wineinstall. 2000-08-28 21:32:08 +00:00
Bertho Stultiens c5a46ba96e Fixed a LALR(2) problem while scanning usertype resources which had
identifiers for both name and type.
2000-08-25 21:32:18 +00:00
Alexandre Julliard 198746d812 Replaced global Callbacks structure by appropriate glue code
generation. Removed a few unused entries in the Callout structure.
2000-08-14 14:29:22 +00:00
Mike McCormack e0df32ff4f Created default c2man compatible perl script for generating
documentation, in case c2man isn't installed.
2000-08-11 21:15:21 +00:00
Alexandre Julliard a007f3364a Moved a few non-standard headers into their respective dlls. 2000-08-09 00:54:58 +00:00
Patrik Stridvall c1d5dc40c5 - Warn about directories specified in modules.dat that are not used.
- Eliminated the warnings caused by the change above.
- Minor API files update.
- Minor bug fixes.
2000-08-04 21:08:47 +00:00
Marcus Meissner 80d62c7888 PE_MESSAGE_HEADER.Length contains the header itself too. 2000-08-02 00:56:28 +00:00
Francois Jacques 5b6879c5c0 - implementation of SetWindowsRgn and GetWindowRgn
- X11DRV and TTYDRV updated with new API SetWindowRgn
2000-07-28 23:04:54 +00:00
Patrik Stridvall c92f4c1f97 Minor API files update. 2000-07-28 22:21:49 +00:00
Patrik Stridvall 4b8b3158d8 Solaris specific fixes. 2000-07-28 22:21:38 +00:00
Alexandre Julliard 76d3671bee Added 'owner' field to 16-bit spec files to specify the name of the
32-bit dll that contains it.
2000-07-28 00:07:18 +00:00
Alexandre Julliard 7e495e1d66 Make unicode.o into a separate ELF library so that we can use it from
the wineserver too.
2000-07-25 21:01:59 +00:00
Patrik Stridvall cc55165617 Minor API files update. 2000-07-25 17:44:39 +00:00
Bertho Stultiens b37a889f2f - Implemented a bug-work-around for Berkeley yacc (byacc) which
does not generate proper default transition rules for non-terminals.
  See comments in parser.y how the fix works.
- Changed the error-line/char position to make emacs happy parsing
  the position of the error.
- Added comments in the documentation in which order the line-numer
  and character-position of the error is written.
2000-07-25 17:44:08 +00:00
Dmitry Timoshkov fef718655d Make fnt2bdf produce correct fonts. 2000-07-25 12:25:40 +00:00
Ove Kaaven 690142dc5b Fix a few typos and such. 2000-07-23 13:43:00 +00:00
Ove Kaaven 91ae8cb23c Fixed a few problems. 2000-07-23 13:32:04 +00:00
Andreas Mohr 6f83a5ee8f Doc and trace updates. 2000-07-16 15:43:07 +00:00
Patrik Stridvall c5f948c256 - Minor API files fixes.
- Minor bug fixes and additions.
2000-07-15 21:32:55 +00:00
Peter Ganten 13a07b999f Try to unlink output file before opening it. 2000-07-15 15:13:09 +00:00
Stas Sergeev 5c13c2189e Make it possible to change the encoding of fonts from the command
line, even if autodetected.
2000-07-10 13:04:08 +00:00
Bradley Baetz a1491dea90 Implemented a large number of the msvideo dll routines. 2000-07-08 12:50:26 +00:00
Bertho Stultiens 24b5050a7f - Bugfix: Macro expansion of strings would assert an internal error
or a segfault due to a lacking '\0' in the expansion.
- Bugfix: Prevent buffer overflow in reallocation of macro expansion
  buffers.
- Bugfix: Wrc's version information was not passed as numerical to the
  preprocessor due to an error in the definition of the macro.
- Relaxed the newline constraint in global LANGUAGE statements, which
  was introduced in version 1.1.3, so that some fancy preprocessor
  constructs can work.
- Removed the gcc-style #line handling from the resource-parser to the
  resource-scanner so that it is possible to include files at any stage
  of the source, independent of the parser-state.
- Bugfix: Stringtables were not correctly searched for duplicates
  because the language comparison disregarded the sublanguage.
- Eliminated a repetitive warning when writing stringtables with zero
  length string entries. These are perfectly valid (but make no sense:-).
  Warnings are now only generated during parse in pedantic mode.
2000-07-08 11:49:29 +00:00
Hidenori Takeshima 34e10ee30f GetCommandLine should return non-const strings. 2000-06-24 13:37:05 +00:00
Alexandre Julliard e482eebf2f Split the build program in several files.
Renamed it 'winebuild' to avoid possible conflicts.
Cleaned up command-line parsing.
Make it understand -fPIC instead of -pic.
Merged call16.s and call32.s generated files.
2000-06-23 20:15:35 +00:00
Patrik Stridvall e5102f2997 - Minor API files fixes.
- Minor bug fixes and additions.
2000-06-23 15:46:26 +00:00
Alexander V. Lukyanov 90e756a30b Fixed problems with compilation/install out of source tree. 2000-06-20 20:50:50 +00:00
Francois Gouget 326e2ba5a1 Added some missing prototypes.
Define the HDRAWDIB handle type.
2000-06-18 17:26:44 +00:00
Gerald Pfeifer 19f8f46eea Distinguish between SUBDIRS and INSTALLSUBDIRS. 2000-06-18 17:20:53 +00:00
Alexandre Julliard 2f158c2678 Removed @PROGEXT@ (it was broken anyway).
Improved 'make install'.
Cleaned up the main Makefile.
2000-06-14 21:45:38 +00:00
Bertho Stultiens 3085591767 Initial release of the message compiler. 2000-06-13 04:34:41 +00:00
Bertho Stultiens 661a94033e - Bugfix: Corrected "off by one" error in the linenumber while parsing
resource.
- Bugfix: A segfault would occur if messagetables were parsed without
  memory options attached. Also added buffer-overflow safeguard while
  converting between byteorders.
- Finished remapping usertype resources onto standars types by tricking
  the parser into accepting a different token. The remapping can be
  disabled with a new commandline option '-m'.
- Resolved some warning about chars used as index on SGI O2 machine
  (the ctype isXXX() routines are macros there).
2000-06-13 03:37:56 +00:00
Patrik Stridvall a831f2a1e7 Fixed some warnings. 2000-06-11 20:03:17 +00:00
Patrik Stridvall 360c3f2b47 - Minor API files fixes
- Use output prefix instead of high order functions that, for some
  reason, leaks memory. The memory usage of winapi_check is now greatly
  reduced. :-)
- Turned on argument kind checking of doubles by default
2000-06-11 20:02:29 +00:00
Bertho Stultiens c107f714d0 - Implemented MESSAGETABLE resource type.
- Usertype resources that cause a type-clash with defined resources
  are now detected and a warning is generated. Some types should be
  rerouted through other code so that they will be (re-)interpreted.
- Bugfix: Line-continuation in strings in resources include a newline.
  This `feature' got deleted with the builtin preprocessor, but has been
  put back into place (see last changes comment from version 1.1.0).
- Bugfix: The preprocessor now correctly will see "\\\r\n" as a line-
  continuation.
- Bugfix: Assemblers on some platforms do not use 16bit quantities
  for `.word'. This directive is now changed into `.short'.
- All types that accept inline data definitions (a la RCDATA) now
  also accept a file specification. This unifies the structure a bit.
2000-06-08 00:38:47 +00:00
Patrik Stridvall d18837b7aa - Minor API files update.
- Turned on calling convention checking for Win32 functions by
  default.
2000-06-07 02:11:42 +00:00
Ulrich Weigand 9299890257 Fixed size of pe_header on machines with non-4K pages. 2000-06-07 02:02:25 +00:00
Ulrich Weigand 7e85ea7c86 Moved stack switch handling (large stack) to sysdeps.c
Enable exception dispatch while on large stack.
2000-06-04 01:35:43 +00:00
Patrik Stridvall c97d07b0de API files update. 2000-06-03 20:42:21 +00:00
Ove Kaaven 9bd682d899 Add "Unix drives" /tmp and ${HOME}, and Device and Filesystem
statements, to autogenerated wine.conf.
2000-06-02 20:20:27 +00:00
Peter Ganten 0ea83643c4 Added a shell-script for easier font-installation. 2000-05-30 20:49:07 +00:00
Marcus Meissner 35201ffc14 Add a ; needed by some YACCs. 2000-05-30 20:05:30 +00:00
Alexandre Julliard 24c3c5ed87 Revived the GEN_C_SRCS variable to support wrc lex/yacc sources. 2000-05-24 03:31:04 +00:00
Patrik Stridvall 0d9748159d - Updated API files
- Better headers and prototype checking
- Prototype checking now called --prototype instead of --headers
- New options --headers-{duplicated,misplaced} for
  duplicated/misplaced functions checking of the headers.
- Minor bug fixes.
2000-05-23 23:37:51 +00:00
Bertho Stultiens 997e0d782f - Implemented animated cursors and icons resource types.
- Added partial support for font resources (user supplied fontdir is
  required).
- All resources with inline data (a la RCDATA) now support language,
  version and characteristics data.
- Implemented resource name duplicate checks. It is now an error if
  two resources of the same type have the same name.
- Bugfix: Language propagation was not correct when .res files were
  generated.
- Bugfix: VERSIONINFO now handles memory options.
- Bugfix: resource names and the resource type may be equal (e.g. MENU
  MENU {...}). This support was mistakingly deleted in the upgrade to
  the builtin preprocessor.
  The standalone LANGUAGE setting became context sensitive as a consequence
  of this. Now it *must* end with a newline *after* both expressions and
  no newlines are allowed within the line (the statement must fit on one
  line). This is no practical problem though.
2000-05-23 01:18:38 +00:00
Francois Gouget 6b4c347424 Send regular messages to stdout so that they are separate from
progress messages.
2000-05-23 01:17:46 +00:00
Patrik Stridvall 54e1552822 Minor bug fixes. 2000-05-18 00:07:31 +00:00
Patrik Stridvall d303dad1fe Fixed byte order on Solaris and FreeBSD. 2000-05-12 21:39:55 +00:00
Patrik Stridvall f93f998e8c - Check for missing modules in modules.dat.
- New options --debug-messages for debug message checking (turned off
  by default)
- Do not discard the argument name (use in debug message checking)
- Improved parsing
- Minor bug fixes
2000-05-11 21:46:17 +00:00
Alexandre Julliard 246c360631 Reserve space for the PE header at the start of the .so file.
Store the export table inside the data section so that sections can be
properly aligned.
Build the relay function table directly in the .spec.c file.
Moved relay debugging functions to relay386.c.
2000-05-10 03:48:00 +00:00
Bertho Stultiens 3d455c9b16 - Bugfix: Corrected a SEGV in the rawdata handling. Mistakingly took the
address of a pointer instead of its value. This probably slipped in
  during the merge of my tree into the winetree.
  Lesson learned: always double check.
- Verified most resources so that win16 compile also generates correct
  output for reversed endian.
- Implemented byte-ordering for resources. All resources can be forced
  to be little-, big- or native endian with command-line option -B.
- Reading resources from .res-files are only accepted in native byte-
  ordering so that no additional semantic analysis is required.
- Resource directory is still written in native-only format, including
  the strings.
- Wrc is now installed through the makefile with 'make install' and also
  uninstalled with 'make uninstall'.
- Wrote a man-page for better reference. The manpage also gets installed
  and uninstalled.
- Cleaned up the namespace a bit by more agressive use of static.
2000-05-09 22:35:10 +00:00
Ove Kaaven f561aadffc Update for new Wine features; use ttydrv instead of x11drv when
running regapi, and set correct winedbg path in the registry.
2000-05-09 22:32:42 +00:00
Patrik Stridvall aceeaa94f2 - Check for missing modules in modules.dat.
- Minor bug fixes
2000-05-07 18:28:18 +00:00
Bertho Stultiens 27337af65c - Implemented a new preprocessor that is (nearly) ANSI-C compliant. The
old parser has been stripped from the old preprocessor-code which
  cleaned up both resource-scanner and -parser.
- Standard defines have been introduced (see README.wrc)
- Both preprocessor- and resource-scanner have been optimized slightly
  so that no backing up is required (one char lookahead is enough).
- Filename-scanning has been cleaned up, though not perfect yet.
- User-type resources are compatible now.
- Line-continuation in strings is corrected so that it does not
  introduce a newline in the output.
2000-05-01 20:05:58 +00:00
Patrik Stridvall 5dadbf3289 - API files update
- Minor bug fixes.
- Added new option --cross-call-unicode-ascii for checking illegal
  Unicode to ASCII calls.
2000-04-29 14:24:11 +00:00
Eric Pouech ec4f57bec1 Fixed argv handling for cuiexe winelib programs. 2000-04-29 14:18:34 +00:00