Commit Graph

262 Commits

Author SHA1 Message Date
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