Commit Graph

358 Commits

Author SHA1 Message Date
Alexandre Julliard 75de8fe16c Added printf format checking to the ok() and trace() macros, and fixed
the resulting warnings.
2002-06-22 00:08:10 +00:00
Bill Medland bbea612b30 Test the ability to handle hex values in excess of 1024 bytes and
input lines in excess of 4096 bytes.
2002-06-21 20:12:20 +00:00
Bill Medland 530b4e9aca - Rework the line reading. This version uses a single expanding
buffer rather than a main buffer and a "next line" buffer.  This
  version does not overflow the allocated memory (hopefully).  The
  previous version did when concatenating the continuation lines.
- Add protection to the HexCSVToHex to prevent overflow.
- Allow for conversion of larger hex values.  Tested on a real 2.6KB
  value.
2002-06-21 20:12:02 +00:00
Bill Medland 6a948491e8 Correct the comparison of two files. Just because they are the same
size doesn't mean they have the same content.
2002-06-21 20:10:56 +00:00
Alexandre Julliard 4b9cc8684b Added dependency on program symlink for unit tests. 2002-06-20 23:10:19 +00:00
Andriy Palamarchuk f5aad76936 Added regedit unit test, a couple minor changes to regedit. 2002-06-20 23:09:33 +00:00
Andriy Palamarchuk a47710717b Removed traces of the regedit unit tests. 2002-06-20 22:46:04 +00:00
Alexandre Julliard f673b71ece Fixed make install target to work even when nothing has been compiled
yet.
Added install-lib and install-dev targets to allow partial
installations; moved winemaker.man and winelauncher.in to better fit
in the new install categories.
2002-06-14 23:48:27 +00:00
Alexandre Julliard 336185a864 Don't use msvcrt. 2002-06-13 19:12:14 +00:00
Gregg Mattinson 53989ddd89 Replaced stricmp/strnicmp with strcasecmp/strncasecmp. 2002-06-13 19:11:53 +00:00
Alexandre Julliard 65a42168e3 Merged Martin Fuchs' file manager (with the help of Steven Edwards). 2002-06-04 21:29:40 +00:00
Eric Pouech 5e765fb36a Fixed some selection bugs. 2002-06-02 21:20:43 +00:00
Alexandre Julliard 7cae558bdc Removed some more trailing whitespace. 2002-06-01 02:55:48 +00:00
Vincent Béron 9a62491660 Removed trailing whitespace. 2002-05-31 23:06:46 +00:00
Andriy Palamarchuk 2da362f5b6 Use native libc functions instead of msvcrt ones. 2002-05-31 18:22:11 +00:00
Alexandre Julliard 5188574984 Renamed handle_t to obj_handle_t to avoid conflict with rpcdce.h. 2002-05-30 20:12:58 +00:00
Vincent Béron 8e2cbcab7b Fixed warnings. 2002-05-28 22:42:11 +00:00
Alexandre Julliard 55e845d11b Removed most inclusions of options.h.
Removed a few no longer used PROFILE_* functions.
2002-05-23 19:40:18 +00:00
Alexandre Julliard 3536316a31 New loading scheme for Winelib apps, makes them behave like builtin
dlls and takes load order into account. Install them in dlldir.
Improved MODULE_GetBinaryType to recognize ELF binaries.
Added a wrapper script to setup the environment when running directly
from inside the source tree.
2002-05-22 21:32:49 +00:00
Alexandre Julliard cc2ee7636d Renamed Winelib apps to .exe.so to follow the dll naming convention. 2002-05-21 19:42:29 +00:00
Eric Pouech 0587a47235 Allow ANSI charset in font enumeration.
Added ability not to close the wineconsole on console object
destruction.
2002-05-21 18:05:16 +00:00
Alexandre Julliard acfda14a81 Moved expand.c from libtest to programs/expand.
Removed the rest of the libtest directory.
2002-05-20 19:18:16 +00:00
Alexandre Julliard 2ab7625934 Removed most imports of ntdll since we no longer import Wine internal
functions from there.
2002-05-17 03:37:12 +00:00
Alexandre Julliard a0994a7d42 Better usage message. Flush stderr before exiting. 2002-05-16 20:32:50 +00:00
Eric Pouech e53cd36e63 Removed Trace macro and replaced it by Wine debug channel facility.
Made the font lookup at startup more robust and now save registry at
startup time if a new font is chosen (as spotted by Sylvain Petreolle).
Fixed an update bug spotted by Jason Edmeades.
2002-05-14 21:45:13 +00:00
Alexandre Julliard ad53383f9b Added winebuild support for generating a .dbg.c file containing the
debug channels definitions.
Made win32 the default type for spec files.
Ignore C compiler in winebuild so we can simply pass it $(DEFS).
Removed type win32 and debug_channels from spec files.
Fixed winebuild to always generate correct C identifiers (reported by
Vincent Béron).
2002-05-14 20:54:58 +00:00
Alexandre Julliard 011c08db44 No longer used. 2002-05-14 04:02:31 +00:00
Sylvain Petreolle efbe9c53ee - Converted Winhelp for use of NLS
- Minor bugfix
- Disable support of Va.rc for now (rumantsch swiss)
2002-05-14 03:48:10 +00:00
Alexandre Julliard fc01b729f6 Added some support for cross-compilation using mingw32. 2002-05-12 03:16:39 +00:00
Alexandre Julliard 67371bcc8d Added -res option to specify resources on winebuild command-line.
Added -exe mode to generate a .spec.c for an exe without having to
provide a .spec.
Removed some no longer needed spec files.
Removed .dll extension in makefiles import specifications.
2002-05-11 23:06:32 +00:00
Alexandre Julliard ce830a9c18 Added mkinstalldirs to create directories more portably. 2002-05-09 04:31:39 +00:00
Alexandre Julliard 32459912dc Moved imports specification from the .spec into the Makefile so that
it can be used on platforms that don't build a .spec.c file.
2002-05-09 00:05:48 +00:00
Alexandre Julliard 019a7f3da2 Run make test for all programs by default. 2002-05-08 00:36:10 +00:00
Raul Dias 5de5a44378 - Make possible to diff registry information that contains
timestamps.
- Create safe temp files in /tmp.
2002-05-08 00:17:11 +00:00
Mike Wetherell 0d8a9fac90 Utility to convert between Unix and Windows paths at the command
line.
2002-05-05 20:31:54 +00:00
Andriy Palamarchuk cff4a12bdf Fixed a problem when regedit interpreted file names, starting from '/'
as switches.
2002-05-04 18:30:27 +00:00
Jason Edmeades bcc6256bf0 Add support for the 'title' command. 2002-05-04 18:29:31 +00:00
Alexandre Julliard 7dd9e339c9 Install more of the Winelib programs by default (based on a patch by
Andriy Palamarchuk).
2002-05-02 01:42:01 +00:00
Andriy Palamarchuk 6e5d46e80e Do not install hlp2sgml. 2002-05-02 01:40:34 +00:00
Andriy Palamarchuk 2f0d85c202 Implemented regsvr32 tool. Based on ReactOS implementation. 2002-04-29 23:47:39 +00:00
Jason Edmeades a88289500c - Support for dir /w and /b flags
- Fixed a couple of unclosed FindFirst/FindNext pairs
2002-04-29 23:33:09 +00:00
Jason Edmeades a4c214e736 Emulate the dos cmd 'cls'. 2002-04-29 17:12:57 +00:00
Alexandre Julliard c1494edc3e Updated module definitions for Perl unit tests. 2002-04-27 00:19:41 +00:00
Alexandre Julliard 575f5f8cac Added possibility of specifying a name for the .pm file that can be
different from the header name.
2002-04-27 00:18:42 +00:00
Alexandre Julliard 5769d1de00 Better support for configure detection of missing types, added check
for ssize_t.
Removed a couple of no longer used portability functions.
Various portability fixes in port.h.
2002-04-26 19:05:15 +00:00
Jason Edmeades 13c5117fbb - Fixed move and copy when no destination supplied (assumes '.' now as
per windows)
- Fixed move so uses full path name for destination file, and if
  destination is a directory, uses original filename.
2002-04-20 20:54:38 +00:00
Eric Pouech fbaef1cc9a Now C tests are able to access argc/argv as passed to the program. 2002-04-20 20:51:11 +00:00
Paul Millar 81f8264bdd Added option for announcement of successful test results. 2002-04-19 00:01:52 +00:00
Andriy Palamarchuk 4e2e176c2f Created regedit replacement. Fixed some bugs. 2002-04-11 23:58:40 +00:00
Alexandre Julliard 65a7a108b1 Removed changelog entries that are in the main changelog, and added
notice to not edit the secondary changelogs anymore.
2002-04-11 23:49:59 +00:00
Alexandre Julliard daa2886c10 Updated configure to take advantage of new autoconf 2.53 features. 2002-04-11 21:54:01 +00:00
Geoffrey Hausheer b1f478fada Added comments explaing how to use cygwin/mingw/wine headers.
Added 'clean' and 'distclean'
Added new options -s and -i.
Archives will now include the entire './include' directory instead of
just './include/wine'.
Renamed makefile from Makefile.cyg to Makefile.win.
The makefile is now mingw compatible as well (although it's be better
if we could detect the correct location of the windows.h headers).
2002-04-08 20:17:51 +00:00
Jeremy White a5e9bf7321 Fixed exit status in some cases. 2002-04-06 00:38:33 +00:00
Geoffrey Hausheer 7ec41ed981 Added perl script which will build a Makefile for running C tests on
Windows through Cygwin/gcc.
2002-04-02 19:21:43 +00:00
Alexandre Julliard d7c606d624 Various makefile fixes for the test environment. 2002-04-02 02:58:45 +00:00
François Gouget 21038f2120 Make the testing framework thread safe. 2002-04-02 00:44:17 +00:00
Alexandre Julliard e8f99472fb Use ExitProcess to terminate the application. 2002-03-29 18:05:17 +00:00
Alexandre Julliard b3d60997b2 Need to set WINEDLLPATH too. 2002-03-28 18:21:06 +00:00
Sylvain Petreolle fdff523099 Converted to use of NLS. 2002-03-27 21:17:01 +00:00
Eric Pouech be9268a4ca Wineconsole is now able to handle non raster fonts (vector, true
type).
2002-03-23 20:14:04 +00:00
Eric Pouech ead221211f Started implementing event reduction. 2002-03-23 18:45:57 +00:00
Eric Pouech 7e00f87470 Fixed some issues in resources definition. 2002-03-23 18:45:40 +00:00
Francois Gouget 58ed1f173d Add trace function (same as in the perl framework).
Add support for todo tests.
Make it possible to specify a printf-style message in ok.
Include windef.h in test.h for compiling tests on Windows.
2002-03-22 00:58:00 +00:00
Sylvain Petreolle eaa8df60ed Made notepad uses NLS properly. 2002-03-20 22:55:46 +00:00
Andreas Mohr 5333872105 - fix complete listbox messup by only updating in case it needs
updating
- fix listbox selection breakage causing multiple programs to get
  uninstalled
- implemented sorting of entries
- much better debug strings
2002-03-19 02:03:58 +00:00
Alexandre Julliard 0799c1a780 Added LGPL standard comment, and copyright notices where necessary.
Global replacement of debugtools.h by wine/debug.h.
2002-03-09 23:29:33 +00:00
Andriy Palamarchuk 5db40a2aa6 Made regapi scripts able to process .reg files in regedit
format. Implemented unit tests for reg diff functionality.
2002-02-28 21:46:43 +00:00
Andriy Palamarchuk 7ab787fa87 Removed alternative make scripts. 2002-02-27 18:49:56 +00:00
Andreas Mohr 8bc7f16caa Spelling/alignment fixes. 2002-02-27 01:34:08 +00:00
Andreas Mohr d2a8f01ae6 Remember the currently active index before refreshing. 2002-02-22 21:20:04 +00:00
Alexandre Julliard caa03388bc Preliminary version of the C unit tests run-time environment.
Added make rules for building and running C unit tests.
2002-02-20 19:03:59 +00:00
Andriy Palamarchuk 5d5f36f7ce - made notepad compile with Cygwin
- made changes to the precompiler directives to check for specific
  features instead of checking for the environment version.
2002-02-20 18:57:10 +00:00
Andriy Palamarchuk be49563060 Implemented parsing of file name, passed in command line, loading new
file on startup.
2002-02-19 18:38:22 +00:00
Alexandre Julliard 70437035e3 version.h is now in include/wine directory. 2002-02-14 19:48:16 +00:00
Alexandre Julliard f5818d2f7a Upgraded configure script to use autoconf 2.50 features, and renamed
to configure.ac.
Changed a few things to better follow the autoconf guidelines.
2002-02-14 19:47:29 +00:00
Eric Pouech 5ef8871c62 - wineconsole now exits if the started program inside it terminates
before the console actually starts up.
- Removed the last Ansi imported APIs since now Propsheet has a decent
  Unicode interface.
- Fixed a couple of menu related bugs (states were wrong).
- Finished input selection code (mark and key for selection moving are
  operational, generating mouse events to programs attached to the
  console).
2002-02-04 18:41:32 +00:00
Patrik Stridvall 57e5784c21 Move __stdcall/__cdecl to the right place. 2002-02-02 18:42:11 +00:00
Patrik Stridvall e2e70236a1 - Made runtest "use strict".
- Added new option -M to specify which modules should be tested as
  builtin.
2002-02-02 18:22:08 +00:00
Francois Gouget 62f083ce48 malloc.h is obsolete and stdlib.h should be used instead. 2002-02-02 18:16:25 +00:00
Alexandre Julliard 536ee943e4 We can use normal imports for shell32 now. 2002-02-02 18:15:27 +00:00
Francois Gouget 419b4da388 config.h should be included first (if at all).
Fix return of convert_value.
2002-02-01 19:09:32 +00:00
Alexandre Julliard 16d7d94f1f Fixed copy/paste bug. 2002-01-29 03:13:00 +00:00
Patrik Stridvall 74e4d21ebe Avoid wildcards in .cvsignore. 2002-01-29 03:05:12 +00:00
Steven Edwards ba7ccc4cc6 Changes wine_main to main to properly build on all platforms. 2002-01-29 02:59:22 +00:00
Alexandre Julliard 6ca0ba2a73 Don't convert "ptr" return type to a Perl string.
Call GetProcAddress only when a function is actually called, not at
declaration time.
2002-01-21 17:41:52 +00:00
Patrik Stridvall b6754d8313 Generate Perl modules defining prototypes for exported functions. 2002-01-21 17:36:35 +00:00
Alexandre Julliard 7fd287d575 Added some prototypes to function declarations. 2002-01-15 20:54:41 +00:00
Patrik Stridvall f1d80a3986 - Made the Perl module generated by make_symbols a real exporting
module.
- Use constants instead of variables.
2002-01-15 20:54:06 +00:00
Patrik Stridvall 04c160e507 Added the possibility (it is optional for backward compability) to
specify argument types in order to fix a "bug" concerning
integer/string scalars.
2002-01-15 20:44:32 +00:00
Alexandre Julliard c1742366f8 Integrated test script for winetest into the make test
infrastructure.
Added a few tests for the new wine.pm functions.
2002-01-14 20:00:32 +00:00
Alexandre Julliard 9384184a11 Rewrote runtest in Perl so that it can be used on the Windows side.
Added options for include directories, debug level and target platform.
selection.
2002-01-14 19:56:46 +00:00
Alexandre Julliard ebd225cbaf Added ok() function that doesn't stop the test on the first error.
Added trace() function for debugging tests.
Added support for todo functionality.
Moved wine.pm to include directory.
2002-01-14 19:54:29 +00:00
Alexandre Julliard 500793dc10 Added Perl modules containing the #defines values for the
corresponding Windows headers.
2002-01-14 19:48:07 +00:00
Alexandre Julliard 13b0c0915b Added rules for running tests. 2002-01-10 03:30:21 +00:00
Eric Pouech a90875686f Fixed color definition (bg and fg were swapped).
Fixed some initialisation issues.
Fixed exit condition when nothing was allocated.
2002-01-02 21:45:47 +00:00
James Juran 424a080c30 Include <stdlib.h> to get prototype for abs() function. 2002-01-01 00:14:02 +00:00
Marcus Meissner 09534f32da Swap fg/bg color to be correct. 2001-12-31 22:20:56 +00:00
Andreas Mohr 0e1cbfd5b0 Updated to not rely on rundll32.exe any more. 2001-12-26 20:34:50 +00:00
Michael Stefaniuc 1b3c04d2c1 Check the return value of *snprintf for C99 style overflow reporting. 2001-12-26 19:48:15 +00:00
Eric Pouech 94719d43d1 - allow to save/restore some properties into the registry (like font,
cursor size...)
- implement the two sets of properties (default & current)
- fixed some bugs mainly in dialog
- enhanced font selection mechanisms,
- added and protected sub-menu for all operations (sysmenu is not
  avail in managed mode)
- better data separation for the backend(s)
2001-12-04 20:46:54 +00:00