Commit Graph

303 Commits

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