Commit Graph

355 Commits

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