Commit Graph

646 Commits

Author SHA1 Message Date
Jeremy White 3a2b900124 Make winelauncher work better for source tree builds.
Make winelauncher detect the lack of a ~/.winerc file and prompt the
user about it.
Pass command line parameters a bit more graciously; improves
interaction with gmc and kfm.
2000-12-01 20:43:51 +00:00
Francois Gouget 3af251e4d8 - In interactive mode, don't ignore invalid options, ask the user again
- Uppercase extensions are not supported after all (hint: $(SRC:.c=.o))
- Pass the global defines and include path to WRC
- Base the cleanup on the OBJS variable so that it works even if the
  sources are in a subdirectory
2000-11-30 20:36:04 +00:00
Francois Gouget fb5b590ed1 - Fix the handling of relative include/library paths
- In interactive mode, print "./" for the top level directory rather
  than an empty string
- We don't need to force a space before assignments
- Align TOPSRCDIR & co like all the other assignements
- Compile Dlls first (dependencies would do it more or less anyway)
- Wording change in the usage
2000-11-30 20:34:39 +00:00
Patrik Stridvall a896531f38 - Added new option --documentation-arguments
- Minor API files update
2000-11-30 01:31:44 +00:00
Alexandre Julliard e296bf3717 Renamed CallTo16* functions to wine_call_to_16* and export them from
kernel32.spec.
2000-11-29 19:39:30 +00:00
Dimitrie O. Paun 529da54394 Require {DECLARE,DEFAULT}_DEBUG_CHANNEL statements to end in a ; 2000-11-27 23:54:25 +00:00
Alexandre Julliard 1a5e22f558 Set debugging option based on NO_TRACE_MSGS define. Only output 32-bit
relay stubs if debugging is on.
2000-11-27 23:48:08 +00:00
Jon Griffiths d6deb6db91 - configure tests for finite()/fpclass(), fixes BSD compile
- winapi_check updates, fix errno in more math calls
2000-11-27 01:37:28 +00:00
Francois Gouget c87c5e3d22 The init function can be called main. 2000-11-27 01:33:55 +00:00
Alexandre Julliard 39b3195ce6 Added entry point flags -noimport, -norelay, -ret64 and -i386.
Replaced 'byte', 'word' and 'long' by 'variable' and made it work for
Win32 too.
Made parser more robust against truncated files.
2000-11-26 04:31:48 +00:00
Patrik Stridvall 0c0193aa73 Minor API files update. 2000-11-26 04:02:54 +00:00
Marcus Meissner c9ea5f1aeb The __wine_call_from_16_ calls in the import table should use a valid
segment for dereferencing their pointer (using CS).
2000-11-26 04:02:09 +00:00
Hidenori Takeshima a85b0a6d41 Added checking for mmap. 2000-11-25 23:54:12 +00:00
Alexandre Julliard 01af00a518 Added a few missing languages. 2000-11-25 23:53:01 +00:00
Patrik Stridvall b2c89dce8c Minor API files update. 2000-11-25 03:08:52 +00:00
Francois Gouget 82747b7d76 When autodetected the MFC were still generating wrappers.
Fixed inconsistencies in the use of 'no' in the option names.
Updated the MFC link-list (configure.in).
Made the Makefile.in layout more readable.
2000-11-25 01:38:39 +00:00
Andreas Mohr 8724ea8573 Made wineinstall a bit more verbose. 2000-11-25 01:23:32 +00:00
Alexandre Julliard ab687979fd Moved standard syslevel APIs declaration to winbase.h.
Use exported syslevel function wherever possible.
Moved SEGPTR declaration to windef16.h.
2000-11-15 23:41:46 +00:00
Francois Gouget 7f12601969 Allow the user to stick the option and its argument together. 2000-11-15 23:12:06 +00:00
Jon Griffiths 4b43b4d558 - Complete the implementation of heap functions
- Forward j0,j1,jn,y0,y1,yn math calls to libc
- Add strnextc, pass text flag in creat, winapi_check fixes
2000-11-15 23:11:38 +00:00
Dimitrie O. Paun 8643f4e882 Include config.h. 2000-11-15 22:14:07 +00:00
Francois Gouget be85959226 Distinguish between IMPORTS and LIBRARIES.
Renamed LIBRARIES to DLLS to avoid confusion with the above, renamed
PROGRAMS to EXES to match.
Added a '-i' option for importing a Winelib library. '-l' is still
there but is only used for linking in the Unix sense.
Disabled the 'wrapper' options. It will be removed as a separate
patch.
No longer link with all of Wine's libraries.
Import the same default set of dlls as Visual Studio.
Avoid duplicate imports when generating the .spec file.
Updated the way winebuild is used.
Link applications as libraries and create a symbolic link to wine.
Detect where 'wine' is located in the configure script.
Removed unused/no longer used variables: DLLFLAGS, XLIB, X_DLLS,
XFILES, DLLS (configure.in)
Updated LDSHARED AND LDDLLFLAGS detection (configure.in).
Removed the rules pertaining to spec files from the Make.rules.
Updated the clean command to remove the symbolic links.
2000-11-15 22:12:20 +00:00
Alexandre Julliard 914406f854 Moved LDT handling to libwine.so. Changed the interface to use the
exported LDT_ENTRY structure.
2000-11-14 01:54:49 +00:00
Alexandre Julliard 745ec84c8b Export the CallFrom16xxx functions from kernel32. Renamed them
__wine_call_from_16 to follow the naming convention.
2000-11-13 04:54:45 +00:00
Alexandre Julliard 3570bfd41f Do not warn for unused imported dlls when forwards to the same dlls
are present.
2000-11-13 04:46:34 +00:00
Alexandre Julliard f3a15607ad Don't include wine internal functions in the relay debugging table. 2000-11-13 04:17:25 +00:00
Francois Gouget 7f1ab7acf6 Fixed the detection of the link flags for NetBSD/Cygwin (configure.in)
Added AC_PATH_HEADER and AC_PATH_LIBRARY
Better header/library detection. Now works if things are already in
the include/library path
Look for the wine/MFC headers and libraries in more places so that it
works out of the box if Wine/MFC is installed in a standard place
(although there is not really a standard place yet for the MFC)
Renamed the '--with-xxx' options to have simpler more natural names
Renamed the corresponding 'WINELIB_xxx' variables to 'WINE_xxx'
2000-11-13 04:13:22 +00:00
Alexandre Julliard 0a8114c152 Raise an exception for unimplemented 16-bit entry points too.
Added check for duplicate names in 16-bit spec files.
2000-11-12 03:45:55 +00:00
Hidenori Takeshima 4ca46fda34 Fix for APIs that don't have any ordinal (ordinal=@). 2000-11-12 03:40:27 +00:00
Joerg Mayer abe635cfd7 Get rid of some warnings about unused variables, signed/unsigned
comparisons and incomplete initializations.
2000-11-11 00:38:37 +00:00
Jeremy White 28fd558077 Make winelauncher smarter about finding the Wine libraries and
binaries.  Change the color scheme.  Handle launches with no
arguments, correctly handle invocation as a mime-type handler from
KDE.
2000-11-10 22:35:06 +00:00
Francois Gouget a106edb71a Convert include statements of not-found files to lower case by
default
Added --no-lower-include option to override the above
Beautified the interactive mode output to make it easier to follow
Interactive mode: support the --mfc and --wrap options for both
projects and targets
Fixed the mfc/wrap propagation between project and targets (goes both
ways)
Autodetect MFC based projects by looking for an 'stdafx.(cpp|h)' file
Don't put the stdafx.cpp file in the list of files to compile (it's
just there for pre-compiled headers, yuk)
Fixed LD_LIBRARY_PATH when linking an application with a library from
the same makefile
Don't forget 'extra' sources when looking for a file for configure.in
Renamed the '--no-makefile' option to '-no-generated-file'
2000-11-10 22:29:11 +00:00
Alexandre Julliard 000c13a0da Added support in winebuild for resolving function imports (-sym option).
Added -L option for locating imported dlls.
Changed generated exe init code to use __wine_get_main_args.
2000-11-09 20:31:18 +00:00
Jon Griffiths d3576a9f85 - Implemented 73 CRT functions
- Reimplemented file I/O using Win32 calls
- Set errno/doserrno in most calls
2000-11-08 22:42:53 +00:00
Alexandre Julliard e087508f57 Moved builtin dll registration to libwine.
Changed process initialization to not load imported dlls too early.
2000-11-08 04:33:20 +00:00
Francois Gouget b430295cf6 Fix the include path handling in get_real_include_name
Modified get_real_include_name so that it can follow an include path
starting with $(TOPSRCDIR)
Indent the debug messages a bit more so that winemaker's is still
readable when they are on
The ATL_INCLUDE_ROOT variable was set wrong (configure.in)
The MFC include path must contain the path to the ATL headers
(configure.in)
2000-11-07 20:27:16 +00:00
Alexandre Julliard d19ad3962e Better error message when an include file is not found by makedep.
Added support for .mc extension.
Do not try to open *.tab.h and *.mc.rc include files.
2000-11-06 05:32:59 +00:00
Jeremy White f9f030b87a Added a winelauncher shell script which makes the process of running
Wine a little nicer for an end user.  The intent of winelauncher is to
be used inside of a distribution package.
2000-11-05 20:06:56 +00:00
Francois Gouget 755bb92e15 New script for porting Windows source code to WineLib. 2000-11-05 05:23:39 +00:00
Alexandre Julliard 94613ab03e New debug channel mechanism allowing decentralized channel
declarations.
2000-11-05 04:51:34 +00:00
Alexandre Julliard 9a634693e7 Added debug_channels support. 2000-11-05 04:49:13 +00:00
Alexandre Julliard e2b4efbd02 Create Gnome/KDE desktop and menu entries from IShellLink
interface. Based on the work of James Thomson and Dusan Lacko.
2000-11-02 20:22:07 +00:00
Francois Gouget 9488b6476f Make sure to carefully quote file names. 2000-11-02 20:07:53 +00:00
Patrik Stridvall 51ecb37618 Minor API files update. 2000-11-01 01:48:03 +00:00
Ove Kaaven 6e143b3379 Some bugfixes, another function for packaging, and some text
reformatting from Eric Maryniak.
2000-10-31 00:59:01 +00:00
Alexandre Julliard 2fa4f767aa Build ntdll as a real dll, including everything that was previously in
libwine.so. Created a new (mostly empty) libwine.so in library/ subdir.
2000-10-31 00:20:51 +00:00
Lionel Ulmer d654f94f21 Added a '-inifile' option to specify the location of the wine.ini file
used in the building of the new wine.ini file.
2000-10-29 18:04:09 +00:00
Ove Kaaven 2c76752ada wineinstall improvements, mostly for usage in package postinstall
scripts.
2000-10-29 18:02:53 +00:00
Alexandre Julliard aa5a1162a3 Patch flat cs of 16-bit entry points if current %cs is different from
compiled value, and retrieve flat ds from a global variable. This
should avoid problems with win4lin kernels.
2000-10-29 01:28:30 +00:00
Federico Schwindt a5b696b6b4 Fixes for OpenBSD. 2000-10-28 00:32:08 +00:00
Alexandre Julliard 634824be58 Raise an exception when a stub entry point is called. 2000-10-26 22:03:34 +00:00
Kristoffer Gleditsch d2e2bb240a Added LDFLAGS to linking of wine-related binaries. 2000-10-25 21:36:54 +00:00
Alexandre Julliard cbeb644a94 Added support for loading .res files for 16-bit resources. 2000-10-25 20:33:58 +00:00
Alexandre Julliard e904bf3b07 16-bit resource size must be scaled by alignment. 2000-10-25 20:31:51 +00:00
Alexandre Julliard 1d1f5f3eed Added codepage translation based on the language id (based on a patch
by Junichi Kuchinishi <jkuchi@mahoroba.ne.jp>).
2000-10-24 21:29:28 +00:00
David Elliott 2d83b63594 Fixed OFFSETOF macro definition for gcc 2.96. 2000-10-24 01:42:17 +00:00
Alexandre Julliard 21ec006fc1 Build Win32 resources as .res files and dump them into the .spec.c file. 2000-10-23 21:39:39 +00:00
Alexandre Julliard 003e24cadc Added support for loading Win32 .res files. 2000-10-23 21:33:06 +00:00
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
Patrik Stridvall 3d511617f4 Removed X_DISPLAY_MISSING. 2000-04-25 19:55:35 +00:00
Patrik Stridvall 14bb7f1478 - Updated API files.
- Improved misplaced function checking.
- Fixed minor bugs.
2000-04-24 18:02:32 +00:00
Dmitry Timoshkov fca70fe032 Adapted unimap.pl script and generated by it casemap.h to the Unicode
Standard, Version 3.0.
2000-04-23 19:58:17 +00:00
John R. Sheets b741cc0f52 Minor cleanups, plus fixed a couple bugs in .DBG parsing code.
Added dump for MISC section.
2000-04-19 16:46:42 +00:00
Alexandre Julliard 180a088beb Moved PE header definitions to winnt.h where they belong. 2000-04-18 11:58:24 +00:00
Alexandre Julliard b44595283f Improved Winelib apps initialisation code. No longer need to link
winestub.o with Winelib apps.
2000-04-15 21:00:55 +00:00
Patrik Stridvall 1932d402ec - API files update.
- Add new options --all and --none that enable/disables all check
  respectively.
- Fixed and improved stub statistics.
- Fixed bug that prevented checking of the first function in the .spec files.
- Partial implementation of a more advanced misplaced function checking.
- Minor fixes.
2000-04-15 20:39:55 +00:00
Ove Kaaven b5d37ec72c Symlink root's registry to global registry. Minor cleanups. 2000-04-15 20:37:14 +00:00
Eric Pouech e1885d17f2 Added ability to put new-lines in changelog entry.
Added -p to locate destination directory.
2000-04-09 18:39:08 +00:00
Alexandre Julliard c53ceba478 Improved support for Makefiles that need to recurse in subdirectories. 2000-04-09 18:19:59 +00:00
Ove Kaaven e1858881c4 wineinstall now properly configures no-windows installs, and should now
be easier to adapt for binary packages too.
2000-04-08 20:20:21 +00:00
Patrik Stridvall 6a4e8a5ff1 - Implemented stub statistics. Turned off by default. (Requested by Francois
Gouget).
- Implemented missing prototype checking. Turned off by default (Requested
by Dimitry Timoshkov).
- Implemented .spec file name sanity checking. Turned off by default.
- Implemented documentation width checking. Turned off by default.
- Minor bug fixes.
2000-04-06 20:11:04 +00:00
Alexandre Julliard ef88637f5b Made request tracing more robust against bogus lengths. 2000-04-04 19:33:27 +00:00
Patrik Stridvall 6d5299523c - Updated the API files.
- Minor bug fixes
2000-03-28 19:29:13 +00:00
Patrik Stridvall 2fb8f9b61f Minor fix in wrc to support the Solaris preprocessor. 2000-03-28 19:25:46 +00:00
John R. Sheets e61d33bfd1 Added cvdump tool to dump CodeView symbol information. 2000-03-26 20:25:23 +00:00
Francois Gouget 6d77d3a1df Use min/max instead of MIN/MAX. 2000-03-25 21:44:35 +00:00
Patrik Stridvall 4bb532e72d - Updated API files
- Don't check the *.spec.c files
- Better parsing of strings
- Better documentation checking
- Minor bug fixes
2000-03-24 20:39:51 +00:00
Gerald Pfeifer f4c902c957 Further code simplifications and interface (consistency) improvements.
Fix selection of the Wine binary which was broken by a recent change.
2000-03-24 19:48:05 +00:00
Alexandre Julliard 2d4b33a145 Added support for source files stored in subdirectories. 2000-03-19 21:20:16 +00:00
Steven Elliott a51c603848 Made various changes to tools/genpatch including suggestions from Ove
Kaaven (Place added files last in the patch.  Add a switch that
specifies modified files.)
2000-03-19 12:46:02 +00:00
Francois Gouget 524bd76997 - An extern statement finishes with the first closing '}' or the first
outer ';'
- Handle '#error', '#line' and '#pragma' even when in the 'pp_strips',
  'pp_stripe', 'pp_stripp' or 'pp_false' contexts (just like '#if' and
  co).  But still don't issue an error if '#error' is found when in the
  'pp_false' state.
2000-03-19 12:44:46 +00:00
Francois Gouget b8d1b48736 Make the first comma in the control's definition optional. 2000-03-19 12:44:03 +00:00
Gerald Pfeifer 92d76bd7b5 Further simplify the code and remove some redundant code.
Make the user interface more consistent and appealing.
2000-03-17 15:07:52 +00:00
Gerald Pfeifer 9217b66587 Improved the visual appearence of the user interface. Made the code
somewhat simpler.
2000-03-15 19:04:25 +00:00
Alexandre Julliard ea0d028a0b Added specific routines for OUTPUT_DEBUG_STRING and EXCEPTION debug events.
Generate a breakpoint event on process attach.
Misc cleanups in request handling.
2000-03-10 22:16:10 +00:00
Alexandre Julliard 5fb54566d2 Added server protocol version check. 2000-03-08 22:01:02 +00:00
Ove Kaaven ce2b7241a0 Fixed a couple of config.cache problems. 2000-03-04 19:13:52 +00:00
Patrik Stridvall 1deeeef1fe Moved the rest of the API specification from the global file to the
local files.
2000-02-29 21:59:09 +00:00
Patrik Stridvall 89cf0ae158 - Fixed some Solaris specific assembler problems
- Fixed some missing .type @function (helps debugging with dbx)
- Fixed code needing __attribute__((constructor))__ for non-GCC ELF compilers
- Fixed use of zero width arrays (ANSI C violation)
- @GOTOFF on Solaris doesn't work - use @GOT and redirection instead
2000-02-27 17:02:03 +00:00
Patrik Stridvall 2e8fa343e6 Updated winapi_check. 2000-02-27 16:37:26 +00:00
Steven Elliott 32bfb62a91 Added utility that generates patches for submission to
wine-patches@winehq.com.
2000-02-27 16:36:59 +00:00
Alexandre Julliard 916f975624 Improved the selector get/set functions.
Support ANSI-compatible inline asm (with the help of Patrik Stridvall).
2000-02-26 16:51:13 +00:00
Patrik Stridvall 0ee98cc39f Fixed ANSI C violations. 2000-02-26 13:17:55 +00:00
James Abbatiello 1758f2d81a Misc. fixes for compiler warnings. 2000-02-25 21:01:50 +00:00
Patrik Stridvall 0d5a815592 Moved some of the API specification from the global file to the local
files.
2000-02-25 20:54:43 +00:00
Ove Kaaven b822b84173 Check for Xpm headers and add /usr/local/lib to /etc/ld.so.conf if
necessary.
2000-02-25 20:51:09 +00:00
Alexandre Julliard 383da68cf9 Optimized debugging API to reduce code size. 2000-02-10 22:15:21 +00:00
Jeremy White d3e22d9d55 Removed #include of wingdi.h and windef.h from winuser.h (and resolved
the resulting compilation failures).
2000-02-10 19:03:02 +00:00
Alexandre Julliard b2f6f0e7d2 Removed resource.h. 2000-02-03 01:54:36 +00:00
Ulrich Weigand 9ffd403001 Added .spec keyword 'mode' to allow creating built-in EXE modules.
Use built-in EXE modules for WineLib apps (instead of ELF modules).
Removed dummy ELF module creation.
Removed LIBRES handling.
2000-02-03 01:33:48 +00:00
Patrik Stridvall 87698cb8e2 - Minor fixes.
- Moved some of the API specifications from the global file to the
  local files.
2000-01-29 21:01:47 +00:00
Alexandre Julliard 0a7c1f6c5b Implemented GetThreadSelectorEntry through the server. 2000-01-27 02:54:17 +00:00
Alexandre Julliard 3e2517caa7 Added Get/SetThreadContext support through the server. 2000-01-20 18:59:03 +00:00
Alexandre Julliard 112d30781f Added automatic registration of built-in DLLs. 2000-01-16 03:37:05 +00:00
Ulrich Weigand 602306ebdf Fix (harmless) assembler warnings. 2000-01-12 04:57:03 +00:00
Alexandre Julliard 74e4a28a34 Built-in DLLs resources are now specified in spec file.
Removed unnecessary flags in built-in DLLs tables.
2000-01-09 04:20:31 +00:00
Patrik Stridvall e44eb4bcc4 - Added support for auto allocated ordinals
- Fixed varargs (16 bit) bug
- Minor fixes
2000-01-08 22:20:32 +00:00
Patrik Stridvall 416a42c34c Updated winapi_check to handle the new additions. 2000-01-04 00:31:47 +00:00
Bertho Stultiens 3781d0d6e7 Generated labels of resource names must be unique throughout the
generated code.
2000-01-04 00:24:05 +00:00
Alexandre Julliard 5919ae42cb Added support for automatic ordinal allocation.
Output list of function names in sorted order.
Added support for nameless (ordinal-only) entry points.
Cleaned up error handling.
1999-12-26 23:11:58 +00:00
Patrik Stridvall 9af5e69107 Fixed some issues found by winapi_check. 1999-12-11 23:02:15 +00:00
Patrik Stridvall af1601b076 Minor fixes and additions. 1999-12-11 23:01:45 +00:00
Alexandre Julliard 1a61a03be4 Bug fixes. 1999-11-28 21:03:46 +00:00
Alexandre Julliard fbb9a9fddc Differentiate tracing functions between request and reply.
Added possibility to have dumping functions for specific types.
1999-11-23 19:38:18 +00:00
Niels Kristian Bech Jensen 1d5bc469cc Removed extra #include statements. 1999-11-21 02:14:36 +00:00
Peter Hunnisett 6661bcc972 Fixed compile error. 1999-11-21 01:01:42 +00:00
Eric Pouech 7e6e92cbef Added missing ';'. 1999-11-21 00:53:59 +00:00
Eric Pouech 3a95198c97 Error reporting fix. 1999-11-21 00:53:44 +00:00
Andreas Mohr a706ff5e0a Changed default relay line number from 100 to 200. 1999-11-21 00:53:12 +00:00
Ulrich Weigand 9b233bdb8a Modified Win32 register function handling. 1999-11-13 23:51:13 +00:00
Juergen Schmied 04f7fe7de3 New tool to convert the binary resources in *.rc files (hexdumps) from
and to a binary.
1999-11-13 22:32:21 +00:00
Ulrich Weigand e7957d6b48 Determine expected_version of PE buddies from the SubsystemVersion. 1999-11-10 19:45:56 +00:00
Patrik Stridvall 2e46eb04e4 Minor fixes and reorganizations. 1999-11-07 23:35:03 +00:00
Juergen Schmied 1ce88e9584 - Bugfix: Styles were evaluated as expressions. The NOT in combination
with style flags was not overwriting the default styles like WS_VISIBLE.
  Solved by introducing own rules for parsing styles.
1999-11-07 21:08:57 +00:00
Patrik Stridvall 659fcd81df - Minor fixes and reorganizations.
- Added checks for documentation inconsistencies.
1999-10-31 02:08:38 +00:00
Francois Gouget cff5ec26fd Fixed small typos and slightly outdated comments. 1999-10-25 15:38:58 +00:00
Patrik Stridvall 96336324cf - Added missing configuration #if:s and #includes:s.
- Minor configuration related changes.
1999-10-24 22:13:47 +00:00
Patrik Stridvall feb94cbbcb Made the include files self-sufficient. 1999-10-24 21:48:50 +00:00
Patrik Stridvall 5b3b6d981d - Fixed the long long problem.
- Added configure include consistancy checking.
- Added progress indicator.
- Began splitting up the win16api.dat and win32api.dat files.
- Added various minor checks.
- Minor fixes.
1999-10-24 21:45:39 +00:00
Eric Pouech 117f9f9713 Added filename to 32 bit builtin module descriptors. 1999-10-13 16:00:18 +00:00
Patrik Stridvall e216de9794 Fixed some of the issues reported by winapi-check, by adding arguments
to varargs.
1999-09-29 10:27:00 +00:00
Patrik Stridvall afe3b0cd54 - Adapted to changes in Wine.
- Minor improvements.
1999-09-29 10:22:00 +00:00
Patrik Stridvall 37fd2d1c85 Made a new improved version of winapi-check in perl. 1999-09-23 15:14:20 +00:00
Patrik Stridvall e92331ffd0 Fixed ANSI C violations. 1999-09-20 18:52:06 +00:00
Lionel Ulmer d94475bdb2 Added the possibility to use DGA 2.0. 1999-09-20 18:42:46 +00:00
Adam Sacarny 9f1d5a7446 Now works around wine never exiting the debugger.
Should put bug reports in the right place now.
1999-09-10 13:53:20 +00:00
Ulrich Weigand a3d14f884e Use typedef to work around egcs problem. 1999-08-18 18:40:52 +00:00
Ulrich Weigand 0007842ed8 Bugfix: EFlags were passed incorrectly by CallFrom16Register. 1999-08-18 18:25:00 +00:00
Bertho Stultiens c13c3f9ba8 Wrc did not check any IDs which are only 16 bit. Common dialogs had some
IDs larger and that caused problems. This is now solved (I hope).
1999-08-18 18:23:34 +00:00
James Juran c4c129dc50 Document use of "init" in build-spec.txt, and make build.c print a
warning if someone tries to use "init" in a Win16 spec file.
1999-08-15 14:17:50 +00:00
Ulrich Weigand 6ab0fb18b0 CallTo16... / CallFrom16... Wine thunks reorganized:
- Cleaner separation between core and glue code.
- Argument conversion glue code now in C.
- Glue code needed for 16-bit .spec files inlined.
1999-08-15 12:43:17 +00:00
Bertho Stultiens fbde5be239 Version 1.0.14 of wrc. 1999-08-14 15:01:54 +00:00
Joerg Mayer d178fb0266 Create sysconfdir on install. 1999-08-04 14:26:08 +00:00
Patrik Stridvall 2c684081c1 Fixed some of the issues reported by Solaris Lint. 1999-07-31 17:36:48 +00:00
Patrik Stridvall 109767a6f5 Fixed missing prototypes and made it work with Solaris X11. 1999-07-31 14:38:31 +00:00
Ulrich Weigand b5151d003d Relay code for Win16 register functions converts arguments.
New 'interrupt' keyword added (for Win16 interrupt handlers).
Adapted .spec files and implementations of register routines.
1999-07-25 11:27:36 +00:00
Ulrich Weigand 22d2c527b8 Bugfix: Reverted CallTo16 routines to STDCALL convention. 1999-07-23 19:27:36 +00:00
Bertho Stultiens 62451da52c - Generalized the distinction between 2 and 4 byte integers slightly through
a new parser state. The is now a warning when a 2 byte integer is larger
  than 16 bit (and is truncated).
- Fixed a couple of cosmetic things in the DLGINIT stuff so that dumping of
  this type will work as expected.
- Added generalized language/version/characteristics support to the DLGINIT
  resource type.

Ulrich Czekalla <ulrichc@corel.ca>
- Added support for DLGINIT resource-type.
- Added string continuation and embedded quoting.
- Added numeric IDs for icons in controls.

Eric Pouech <Eric.Pouech@wanadoo.fr>
- Bugfix: Distinguish between 2 and 4 byte integers in RCDATA.
1999-07-20 14:54:54 +00:00
Patrik Stridvall 021bd85834 Make it possible to compile with GNU C's -I- option. 1999-07-18 18:40:11 +00:00
Ulrich Weigand 4b32fd0d43 Use position-independent code in assembly glue when building .so.
Include if1632/ and graphics/win16drv/ into WineLib.
Move miscemu/emulate.c into dlls/win87em/.
1999-07-15 14:51:40 +00:00
Alexandre Julliard 4220b29be9 Take advantage of the new registers saved in the STACK16FRAME to turn
some 'register' functions into normal functions.
Removed the few remaining 'return' functions to simplify relay
handling.
1999-07-11 17:20:01 +00:00
Ulrich Weigand 3dff7bb842 Modularized CallFrom/To16 routines. Adapted dependent routines,
16-bit snoop/relay debugging, and make rules.
1999-07-11 13:58:31 +00:00
Patrik Stridvall 2d0bb2a78c Started on an implementation of Win64 for use on 64 bit platforms. 1999-07-04 15:56:03 +00:00
Patrik Stridvall a4b80d4495 Fixes for compile on non-Intel platforms. 1999-07-04 11:05:57 +00:00
Alexandre Julliard 617955db88 Changed CONTEXT into CONTEXT86 everywhere we really want an i386
context.
Added #ifdef __i386__ around accesses to 386 registers in the generic
CONTEXT structure.
1999-06-26 18:40:24 +00:00
Patrik Stridvall 1ed4ecffa8 ANSI C fixes.
Removed warnings.
Made the include files self-sufficient.
Some Solaris fixes.
1999-06-26 14:58:24 +00:00
Alexandre Julliard ebe29ef376 Further server optimizations:
- merged request and reply structures
- build requests directly into the buffer to avoid a copy
1999-06-26 08:43:26 +00:00
Alexandre Julliard 5bc78089db Made server communication faster by using a shared memory block.
A few other optimizations in request processing in the server.
Moved automatically generated request definitions to server.h and
removed include/server/request.h.
1999-06-22 17:26:53 +00:00
Alexandre Julliard 0a860a01f9 Merged THDB and TEB structures.
Made SetLastError(), GetCurrentThreadId() and PROCESS_Current() inline.
1999-06-22 11:43:42 +00:00
Patrik Stridvall 857eb39206 Mad the include files idempotent using a consistent macro naming
scheme.
1999-06-12 18:36:54 +00:00
Ove Kaaven d2ca108b34 Clear high word of %esp when returning from CallFrom16. 1999-06-12 06:44:56 +00:00
Alexandre Julliard 039aa42373 Return console handles in alloc_console request.
Fixed read_console_input parameters to conform to the reply structure
declaration.
1999-06-11 18:31:22 +00:00
Ulrich Weigand bba76eed9c Switch stacks in CALL32_Init(). 1999-06-06 14:49:55 +00:00
Paul Quinn f981c6cbab ver.h is a legacy header. winver.h should be used instead. 1999-05-29 11:15:39 +00:00
Alexandre Julliard d2b7a0ba65 Added support for dumping variable-size data of server replies.
Added cmd_line and cmd_show in new_process request.
1999-05-24 12:33:10 +00:00
Ulrich Weigand eec4c25468 Set %ebx to point to real 16-bit stack in CBClientThunkSL.
Pass %esi back-and-forth in CBClientThunkSL(Ex).
Copy modified buffers back after return from FT_Thunk.
Fix broken recognition of LS thunklets.
1999-05-22 11:24:46 +00:00
Alexandre Julliard 43c190e7ba Server reorganization:
- moved request handlers to the specific C files
- moved handle management to handle.c
- moved server private includes to server/ instead of include/server/
1999-05-15 10:48:19 +00:00
Alexandre Julliard ded196cb13 Converted to the new debug interface. 1999-05-14 08:11:40 +00:00
Alexandre Julliard 06b978991b Win32 register functions can now have arguments.
Simplified relay debugging for register functions.
1999-05-13 16:13:17 +00:00
Alexandre Julliard e4177e67cf Added import declaration for Win32 built-ins. 1999-05-12 09:57:37 +00:00
Alexandre Julliard 3eb441c7c4 Added support for forwarded ordinals in built-in dlls. 1999-05-10 14:44:47 +00:00
Jean-Louis Thirot d7da0f68ee Added graphical configuration tool wineconf.tcl. 1999-05-08 18:39:04 +00:00
Patrik Stridvall 1bb9403938 ANSI C fixes. 1999-05-08 15:47:44 +00:00
Alexandre Julliard 50b3d7b3e3 Misc fixes and improvements. 1999-05-02 14:24:15 +00:00
Gerald Pfeifer ce597b48c9 Don't include alloca.h. 1999-04-26 14:57:54 +00:00
Patrik Stridvall a9a671d7ca Fixed ANSI compabillity. 1999-04-25 19:01:52 +00:00
Jim Aston 10141fec52 Added some missing #defines I've run across. 1999-04-25 12:31:20 +00:00
Eric Pouech 455414cfb2 Allow to automatically copy part of wine.ini into generated file.
Small perl enhancement (work in strict mode).
Small updates in heuristics.
1999-04-25 12:18:36 +00:00
Bertho Stultiens ade16a3833 - Fixed a counting bug in the win32 count and sort routine.
- Fixed sort order of resources (must be name before ordinal).
- Shuffled a couple of global variables so that built-in dlls now can
  load resources through the proper PE interface.
1999-04-25 11:06:12 +00:00
Adam Sacarny c85f0992ff Much nicer way to select wine's location.
Option to disable creation of debugging output.
Debugging output is now created in directory script was started in.
1999-04-25 09:20:40 +00:00
Ulrich Weigand b8cde48f92 Bugfix: Internal NE entry point tables were bad (one huge bundle). 1999-04-22 09:07:09 +00:00
Patrik Stridvall b4b9fae671 New debug scheme with explicit debug channels declaration. 1999-04-19 14:56:29 +00:00
Alexandre Julliard 1ae869c9a3 Added env ptr to new_process request 1999-04-18 14:41:41 +00:00
Ove Kaaven 2043ba0675 Automatic install script, which automatically configures and compiles
wine and regapi, runs tools/wineconf to generate a configuration file
if one does not already exist, and uses regapi to install the default
registry.
1999-04-18 13:16:29 +00:00
Andreas Mohr dca5e56b90 - Implemented proper ("real", compressed) Win16 entry tables.
- Fixed MyAlloc (AKA NE_AllocateSegment).
- Implemented PatchCodeHandle16.
1999-04-16 08:17:17 +00:00
Robert Pouliot 0a9975242a A few patches to help Wine to compile on OS/2. 1999-04-16 06:55:26 +00:00
Adam Sacarny 833e47d2ef Added sanity check for whitespace in file names, various other fixups. 1999-04-06 06:59:49 +00:00
Alex Korobka 4f1ac05dea Moved hrgnUpdate from client to window coordinates, made nonclient
painting depend on the update region, reworked SetWindowPos() and
RedrawWindow() to speed up update region calculation, made -desktop
work properly, added WM_CANCELMODE here and there, fixed several
window activation bugs that crept in since the last time.
1999-03-28 09:37:57 +00:00
Adam Sacarny 733c124d10 Check if the build is stripped, and die if it is.
Check for Bash 2.0, and if so use different STDERR->STDOUT redirctor
(thanks Ryan Cumming!).
1999-03-22 12:39:49 +00:00
Jim Aston 2e1cafa288 Renamed wintypes.h to windef.h. 1999-03-14 16:35:05 +00:00
Marcus Meissner 064f170f76 More include optimisations and fixes. 1999-02-28 19:14:33 +00:00
Alexandre Julliard a396029270 Large-scale renaming of all Win32 functions and types to use the
standard Windows names.
1999-02-26 11:11:13 +00:00
Marcus Meissner 219cfd8387 Optimized away more includes, readded some #includes for necessary
prototypes.
1999-02-24 13:05:13 +00:00
Bertho Stultiens b17522817b Fix a couple of 64bit platform problems and speed up compilation. See
tools/wrc/CHANGES for details.
1999-02-20 16:09:24 +00:00
Jeff Garzik c3e1f72bac Added missing string.h include. 1999-02-19 15:42:11 +00:00
Adam the Jazz Guy b5e0271aba Fixed formatting of code
Now changes to directory of program to be run before starting wine
1999-02-09 14:07:49 +00:00
Patrik Stridvall 48b5de8388 Non-X11 compile fix for generated code. 1999-02-04 10:51:35 +00:00
Albert den Haan 9cab0d1078 Fixed wrong order of res_ico and res_bmp which must be in RT_xxx order. 1999-02-02 13:02:59 +00:00
Adam the Jazz Guy 5a8cd24d93 Fixed various bugs.
Made newbie mode easier.
1999-01-28 09:55:51 +00:00
Adam the Jazz Guy c17616299a A perl script to produce a bug report with little hassle. 1999-01-26 17:22:15 +00:00
Ulrich Weigand 9cf066e32c Implemented KERNEL.621 (CBClientThunkSLEx). 1999-01-24 09:43:08 +00:00
Alexandre Julliard 9120c0ad3d Added long type format. 1999-01-19 17:06:13 +00:00
Alexandre Julliard 638f169b1e Recovery of release 990110 after disk crash.
See Changelog for changes between 990103 and 990110.
1999-01-17 16:32:32 +00:00
Alexandre Julliard 502055ffc1 Send debugging output to stderr. 1999-01-01 17:04:42 +00:00
Alexandre Julliard 338e757d08 Added beginnings of server-side file handling.
Added -debugmsg +server support.
Better server request dumping for varargs requests.
1998-12-27 15:28:54 +00:00
Todd Vierling 7d6620d6df Global constructors using `.section .ctors' are bogus for NetBSD's
assembler. Use the appropriate `.stabs' when on NetBSD.
1998-12-15 15:20:47 +00:00
Bertho Stultiens 61608a270c - Added a global label for elf-dll linking and a long with the resource
size and a long with the directory size.
- Killed an annoying warning since version 1.0.0 in parser.y about a
  var being used before init.
1998-12-14 16:04:49 +00:00
Marcus Meissner 1ef1a21000 Kill swapped out (wine) processes too and truncate diff after some xxx
lines.
1998-12-11 10:21:46 +00:00
Alexandre Julliard 3f11e9eba3 Removed extra output. 1998-12-10 16:04:51 +00:00
Alexandre Julliard 77977234ab Script to generate authors files 1998-12-10 09:35:50 +00:00
Pablo Saratxaga b13f23e4fc Improved the handling of font encodings. 1998-12-09 14:51:48 +00:00
Alexandre Julliard e9bc26ad27 Tried another kludge for the Xmd.h problem. 1998-12-08 15:06:38 +00:00
Stephen Crowley 399931a293 Added fullscreen DGA support. 1998-12-08 13:10:56 +00:00
Ulrich Weigand 75de18d807 Allow recursively reentering CALL32_LargeStack. 1998-12-07 10:23:10 +00:00
Lionel Ulmer 16704da018 Some corrections to the handling of off-screen buffers.
Correction to the EnumDisplayModes function.
Added XShm support to Xlib driver.
Open a DirectX window even when using the DGA driver.
1998-11-15 16:43:32 +00:00
Marcus Meissner 735bec0f2f Clean invalid selectors on the pop %xs from the STACKFRAME itself
instead of using linked list hack.
1998-11-15 11:34:10 +00:00
Bertho Stultiens 3b7212809b Bugfix in write_name_str() [writeres.c] where the length byte/word was
wrongly counted in the length of the string.
Thanks to Ulrich Weigand <weigand@informatik.uni-erlangen.de>
1998-11-06 10:51:40 +00:00
Jesper Skov 5c3e457b16 egcs 'ambiguous else' warnings fixes. 1998-11-01 19:27:22 +00:00
Marcus Meissner 0e62bbac28 Now allows specification of a start directory on the cmdline. 1998-10-31 12:07:21 +00:00
Marcus Meissner 96dad15fd8 XQueryKeymap -> TSXQueryKeymap (fixes the XIO errors reported). 1998-10-22 07:55:33 +00:00
Ulrich Weigand 5efaf50ed5 Implemented (partially) the KERNEL Thunklet API and Callback Client
API (KERNEL.560-568,604-612,619-622).
Added stubs for K228, K237, KERNEL.365, KERNEL.447.
1998-10-11 19:26:00 +00:00
Andreas Mohr c21650e17f Small fix. 1998-10-11 17:37:53 +00:00
Marcus Meissner 7ed9441684 A few function prototype fixes. 1998-10-11 11:27:05 +00:00
Alexandre Julliard c0d52e0688 Initial revision 1998-10-04 18:02:24 +00:00
Alexandre Julliard d30dfd24d6 Release 980927
Sun Sep 27 14:25:38 1998  Petter Reinholdtsen <pere@td.org.uit.no>

	* [files/drive.c]
	Make sure GetDriveType32A() handles param NULL.  Added some
	doc on function.

Sun Sep 27 14:07:26 1998  Huw D M Davies <daviesh@abacus.physics.ox.ac.uk>

	* [controls/edit.c] [windows/win.c]
	Don't call SetWindowLong() in EDIT_WM_NCREATE.
	Fix SetWindowLong(GWL_[EX]STYLE) to work for 16bit windows. Remove
	UpdateWindow() call. 

Sun Sep 27 13:41:22 1998  Alexandre Julliard  <julliard@lrc.epfl.ch>

	* [scheduler/*.c] [server/event.c] [server/mutex.c]
	  [server/semaphore.c]
	Implemented server-side synchronisation objects.

Sun Sep 27 01:13:35 1998  Alex Priem <alexp@sci.kun.nl>

	* [dlls/comctl32/treeview.c] [include/treeview.h] [include/comctl.h]
	Treeview implementation.

	* [dlls/comctl32/trackbar.c] [include/trackbar.h] 
	Trackbar implementation.

Sat Sep 26 20:49:13 1998  Ulrich Weigand <weigand@informatik.uni-erlangen.de>

	* [if1632/thunk.c] [tools/build.c] [win32/kernel32.c]
	Bugfix: several problems with flat thunks fixed.

	* [memory/selector.c]
	Bugfix: IsBad...Ptr16 didn't work for limit_in_pages segments.

	* [scheduler/thread.c]
	Bugfix: CreateThread: Allow id parameter == NULL.

	* [objects/gdiobj.c]
	Bugfix: IsGDIObject: Return correct object type for stock objects.

	* [msdos/dpmi.c]
	Bugfix: fixed typo in INT_DoRealModeInt.

	* [msdos/int21.c]
	Bugfix: int21 READ *must* use WIN16_hread, not _hread16.

	* [if1632/kernel.spec] [if1632/dummy.c] [if1632/thunk.c]
	  [loader/ne/module.c] [scheduler/event.c] [scheduler/synchro.c]
	  [scheduler/thread.c] [win32/kernel32.c] [win32/ordinals.c]
	Added names/stubs for all undocumented KERNEL routines (Win95).
	Added the following undoc. 16-bit equivalents to Win32 routines:
	KERNEL.441-443,449-453,456-462,471-476,479-486,488.
	Added stubs for some other KERNEL routines.

	* [memory/heap.c] [memory/global.c] [include/global.h]
	Implemented Local32... 32-bit local heap routines (KERNEL.208-215, 229).

	* [miscemu/instr.c] [loader/module.c] [include/module.h]
	Implemented __GP fault handling and HasGPHandler (KERNEL.338).

	* [misc/error.c]
	Implemented LogParamErrorRegs (KERNEL.327).

	* [loader/task.c] [include/windows.h]
	Implemented GetCodeInfo (KERNEL.104).

	* [loader/task.c] [scheduler/thread.c] [include/thread.h]
	Implemented [GS]etThreadQueue and [GS]etFastQueue (KERNEL.463/4, 624/5).

	* [if1632/gdi.spec] [objects/dc.c] [objects/dib.c]
	  [objects/bitmap.c] [include/windows.h]
	Bugfix: fixed wrong parameter for CreateDIBSection16.
	Added [GS]etDIBColorTable16, stub for GetBoundsRect16.
	Partially implemented BITMAP_GetObject16 for DIBs.

	* [if1632/gdi.spec] [relay32/gdi32.spec] [objects/palette.c]
	Added some GDI stubs.

	* [if1632/Makefile.in] [if1632/display.spec] [if1632/mouse.spec]
	  [if1632/keyboard.spec] [if1632/builtin.c] [windows/keyboard.c]
	Added some stubs for Win16 drivers: KEYBOARD, MOUSE, DISPLAY.

	* [if1632/wprocs.spec] [msdos/vxd.c]
	Added some stubs for VxDs: VMM, ConfigMG, TimerAPI.

	* [msdos/int2f.c]
	Added some stubs for real-mode network drivers.

Sat Sep 26 18:18:18 1998  Marcus Meissner <marcus@jet.franken.de>

	* [configure.in]
	Merged in some more of the FreeBSD ports/emulators/wine patches. 
	(Maintainer(s) of this port: You can just submit these
	patches to Alexandre directly.)

	 * [loader/pe_image.c]
	Check filesize of image against size derived from header
	to spot truncated executeables without crashing.

	* [files/directory.c]
	Set envvar "COMSPEC". One win32(!!) program crashes without it.

	* [multimedia/mmio.c]
	Added mmioSetInfo32.

	* [include/file.h]
	Return STD_ERROR_HANDLE for AUX and PRT dos handles.

	* [loader/module.c]
	Handle executeables with spaces in their names a bit better in
	CreateProcess.

	* [relay32/msvfw32.spec][if1632/msvideo.spec][multimedia/msvideo.c][include/vfw.h]
	Started on MS Video support (can load Win32 ICMs).

	* [tools/testrun]
	A bit smarter use of ps.

	* [memory/virtual.c]
	Report PAGE_GUARDed pages as PAGE_PROTECTED (AutoCAD LT R17 fails
	without that check (since Win95 doesn't know about PAGE_GUARD)).

Sat Sep 26 15:04:05 1998  Ove Kaaven <ovek@arcticnet.no>

	* [include/miscemu.h] [if1632/builtin.c] [loader/task.c]
	  [miscemu/instr.c] [msdos/dpmi.c] [msdos/int21.c]
	  [msdos/interrupts.c] [windows/user.c]
	INT_[S|G]etHandler was renamed to INT_[S|G]etPMHandler.
	Added handlers to deal with real-mode interrupts; DOS
	programs are now able to hook real-mode interrupts.

	* [loader/dos/module.c] [msdos/dosmem.c] [msdos/int21.c]
	Moved real-mode interrupt table initialization to
	msdos/dosmem.c, and made new V86 tasks get a full copy
	of the existing "system memory" instead of almost empty
	space. Misc fixes.

	* [include/dosexe.h] [loader/dos/module.c] [msdos/dpmi.c]
	  [msdos/int2f.c]
	First shot at letting DOS programs start up DPMI (but DPMI
	is still disabled for DOS programs, for pkunzip's sake).

	* [include/debugger.h] [debugger/break.c] [debugger/dbg.y]
	  [debugger/registers.c] [debugger/memory.c] [debugger/info.c]
	  [loader/dos/dosvm.c]
	First shot at making Wine's debugger work for DOS programs.
	The -debug flag works, as do "nexti" and "stepi".

Sat Sep 26 13:13:13 1998  Juergen Schmied <juergen.schmied@metronet.de>

	* [dlls/shell32/dataobject.c]
	New classes IEnumFORMATETC implemented, IDataObject stubs.
	
	* [dlls/shell32/*.*][relay32/shell32.spec]
	Bugfixes.
	New: ICM_InsertItem(), ILCreateFromPath().
	Implemented: ILCloneFirst().
	Stubs: ILIsEqual(), ILFindChild(), SHLogILFromFSIL(),
	  PathMatchSpec(), PathIsExe().
	Changed: ILGetSize(), _ILIsDesktop(), PathCombine().

	* [include/shlobj.h]
	New SHLGUID's
	New structures: DVTARGETDEVICE32, STGMEDIUM32, FORMATETC32,
	CLIPFORMAT32.
	New interfaces: IEnumFORMATETC, IDataObject, ICommDlgBrowser
	IDockingWindowFrame, IServiceProvider.

	* [dlls/shell32/folders.c]
	Stubs for IShellLink.

	* [loader/resource.c]
	Small fixes.

	* [misc/crtdll.c][relay32/crtdll.spec]
	New __dllonexit().

	* [windows/message.c]
	SendNotifyMessageA, SendMessageCallBack32A half implemented.

	* [controls/edit.c]
	EDIT_WM_SetText set EF_UPDATE flag not for ES_MULTILINE.

	* [files/file.c]
	Handling of fileposition fixed.

Fri Sep 25 18:13:30 1998  Patrik Stridvall <ps@leissner.se>

	* [include/windows.h] [include/wintypes.h]
	  [ole/ole2nls.h] [relay32/kernel32.spec]
	Implemented EnumDateFormats and EnumTimeFormats.
	Only adds US English support.

	* [Makefile.in] [configure.in] 
	  [dlls/Makefile.in] [dlls/psapi/Makefile.in] 
	  [dlls/psapi/psapi_main.c] 
	New files to implement stubs for PSAPI.DLL (NT only).

	* [relay32/Makefile.in] [relay32/builtin32.c] 
	  [relay32/psapi.spec]
	New spec file for PSAPI.DLL (NT only).

	* [scheduler/handle.c]
	HANDLE_GetObjPtr should only interpret the pseudo handles as the
	current thread or the current process if a thread or a process is
	requested.

	* [include/winversion.h] [misc/version.c]
	Adds the global function VERSION_GetVersion() so functions can
	have different behavior depending on the -winver flag.

	* [include/oledlg.h] [ole/oledlg.c]
	Minor fixes. 

	* [windows/winproc.c]
	Minor changes.

	* [include/imm.h] [misc/imm.c]
	Now returns correct values under both Windows 95 and NT 4.0.

Thu Sep 24 22:11:44 1998  Kristian Nielsen  <kristian.nielsen@risoe.dk>

	* [configure.in] [include/acconfig.h] [include/thread.h]
	  [scheduler/sysdeps.c]
	Autoconfig test for non-reentrant libc.

Wed Sep 23 19:52:12 1998  Matthew Becker <mbecker@glasscity.net>

	* [*/*.c]
	Miscellaneous documentation updates and debugging output 
	standardizations.

	* [objects/clipping.c]
	Added ExtSelectClipRgn.

Wed Sep 23 00:03:28 EDT 1998  Pete Ratzlaff <pratzlaff@cfa.harvard.edu>

	* [include/windows.h] [if1632/user.spec] [relay32/user32.spec]
	  [windows/keyboard.c]
	Added, marginally implemented, GetKeyboardLayoutName().
	Only returns US English keyboard name.

Tue Sep 22 16:32:41 1998  Marcel Baur <mbaur@iiic.ethz.ch>

	* [programs/control/*]
	New Winelib application.

Mon Sep 21 00:29:18 1998  Peter Hunnisett <hunnise@nortel.ca>

	* [include/dplay.h][multimedia/dplay.c][ole/compobj.c]
	Added all DirectPlayLobby interfaces and enhanced DirectPlay
	and DirectPlayLobby support. Still not all that much. Useful
	enough if you just need to start a program, don't try any
	real dplay/lobby stuff.

	* [documentation/status/directplay]
	Added a very little bit.

	* [graphics/ddraw.c]
	- Call to SetWindowLong32A wasn't working because there was no
	  memory set aside when the window class was registered.
	- Fixed some xlib reference counting and change the behaviour
	  of DirectDrawSurface3_SetPalette to mimic observed behaviour
	  (palette is associated will all backbuffers)
	- Also stored all palette colour fields and spit back our saved
	  colour fields rather than query X for them.
	- Added plenty of AddRef and Release traces.
	- Added Xlib support for using -desktop option.
	- Fixed Xlib message handling. Messages weren't being passed to
	  the application. Fixes mouse movements in some xlib DDraw games.
	- Added a few stubs.

	* [windows/win.c][include/winerror.h]
	Fixed up some error handling in WIN_SetWindowLong. SetLastError
	wasn't being used. Could cause problems with 0 return codes.
	Added new error in winerror (1400).

	* [AUTHORS] [include/authors.h]
	Added myself as a Wine author.

Sun Sep 20 21:22:44 1998  Alexander Larsson  <alla@lysator.liu.se>

	* [loader/module.c]
	Changed GetModuleFileName32A so that is returns the
	long version of the filename. Note that just the name
	is long, not the directories.

Sat Sep 19 20:05:30 1998 Per Ångström <pang@mind.nu> 

	* [controls/menu.c]
	Made a couple of fixes to make life easier for applications that alter
	their menus at runtime.

	* [windows/defdlg.c]
	Removed the cast of the return value from dialog procedures to a 16-bit
	bool. The return value needs to retain all its 32 bits, since it is not 
	always a bool, such as when responding to the WM_NCHITTEST message.

Fri Sep 18 11:30:38 1998  Sergey Turchanov <turchanov@usa.net>

	* [loader/resource.c]
	Fixed very funny bug (though gravely affecting further excecution)
	with FindResource[Ex]32 functions.

	* [include/multimon.h] [windows/multimon.c] [relay32/user32.spec]
	  [include/windows.h] [windows/sysmetrics.c]
	Default implementation for Multimonitor API.

	* [include/windows.h] [windows/winpos.c]
	Fixed incorrect declaration (and behaviour) of GetWindowRect32.

Wed Sep 16 10:21:15 1998  Gerard Patel <G.Patel@Wanadoo.fr>

	* [controls/edit.c]
	Fixed EDIT_EM_GetLine to use correctly length of lines.

Tue Sep 15 20:40:16 1998  Eric Kohl <ekohl@abo.rhein-zeitung.de>

	* [misc/tweak.c][include/tweak.h][controls/menu.c]
	Replaced the tweak graphic routines by calls to DrawEdge32().

	* [misc/tweak.c][include/tweak.h][documentation/win95look]
	  [wine.ini][*/*]
	Changed "look and feel" selection. Allows Win3.1, Win95 and
	Win98 (no GUI code implemented) look and feel.

	* [dlls/comctl32/header.c][include/header.h][include/commctrl.h]
	Started callback item support and did some minor improvements.

	* [dlls/comctl32/imagelist.c]
	Fixed bug in transparent image display.
	ImageList_GetIcon is still buggy :-(

	* [dlls/comctl32/toolbar.c]
	Fixed button drawing (partial hack).

	* [dlls/comctl32/commctrl.c]
	Fixed MenuHelp().

	* [controls/button.c]
	Added 3d effect for groupbox.

	* [windows/msgbox.c]
	Added font support for message boxes.

	* [windows/nonclient.c]
	Fixed window moving bug.

	* [dlls/comctl32/*.c]
	Various improvements.

	* [dlls/comctl32/listview.c][dlls/comctl32/rebar.c]
	  [include/commctrl.h]
	More messages.

	* [windows/syscolor.c][include/windows.h]
	Introduced new Win98 system colors.

Tue Sep 15 18:29:45 1998 Wesley Filardo <eightknots@aol.com>

	* [files/profile.c]
	Added support in PROFILE_LoadWineIni for -config option

	* [misc/main.c] [include/options.h]
	Added -config option.

Tue Sep 15 18:22:26 1998  Petter Reinholdtsen <pere@td.org.uit.no>

	* [documentation/Makefile.in]
	Make sure directory exists before installing into it.

Tue Sep 15 01:47:33 1998  Pablo Saratxaga <pablo.sarachaga@ping.be>

	* [ole/nls/*] [ole/ole2nls.c] [include/winnls.h]
	Fixed a few errors and completed some NLS files.

Mon Sep 14 01:23:45 1998  Joseph Pranevich <knight@baltimore.wwaves.com>

	* [include/miscemu.h] [msdos/interrupts.c]
	Removed a compilation warning, added INT 25 to the list of interrupts
	callable from DOS applications, added a debug message when unsupported
	interrupts are used.

Sun Sep 13 19:55:22 1998  Lawson Whitney <lawson_whitney@juno.com>

	* [if1632/relay.c]
	CallProcEx32W should not reverse arguments.

Sun Aug 17 21:18:12 1998  Eric Pouech  <eric.pouech@lemel.fr>

	* [multimedia/midi.c] [multimedia/init.c] [multimedia/mmsys.c] 
	  [include/multimedia.h] [include/mmsystem.h] 
	  [multimedia/Makefile.in] [multimedia/midipatch.c]
	  [if1632/multimedia.spec]
	Made MIDI input and output functional on OSS capable systems.

	* [multimedia/timer.c]
	Changes to trigger callbacks at the accurate pace even when
	fake timers are used.
1998-09-27 18:28:36 +00:00