Commit Graph

424 Commits

Author SHA1 Message Date
Gerald Pfeifer 41fc7e5d55 Do not #include <malloc.h>, which is non-standard and not needed. 2002-07-16 01:17:21 +00:00
Andriy Palamarchuk 83ad886aad A few cosmetic changes plus fixes for problems spotted by Dmitry
Timoshkov.
2002-07-16 01:09:24 +00:00
Rok Mandeljc b0ef56c2b7 Added Slovenian resources. 2002-07-16 01:08:43 +00:00
Andriy Palamarchuk c55dce0103 Use rich text edit control instead of handling user input and
rendering on its own, use named constants instead of magic numbers,
cleaned code, implemented Undo functionality.
2002-07-08 19:41:09 +00:00
Gregg Mattinson d0f8bf3743 Modified WCMD_filesize64 to handle unsigned numbers. 2002-07-05 22:47:56 +00:00
Alexandre Julliard e7ea9b65ca Use Wine debugging API. Fixed MessageBox loop. 2002-07-05 21:23:54 +00:00
Andreas Mohr 02ecbd1939 - make sure even GUI users notice a "missing xmessage" problem by
checking for tons of X11 editors
- replace duplicated (3x) code with function launch_winesetup()
- improved "winesetup not found" error message
- break looping (via code 127) in case no xmessage installed
- stress the fact that people should remember that they can regain certain
  settings by deleting flag files
- spelling fixes
2002-07-05 21:18:41 +00:00
Gregg Mattinson bac71315d2 Removed non-static structure initializers. 2002-07-03 21:06:58 +00:00
Gregg Mattinson 62a329a528 Removed unusual type casting. 2002-07-03 01:16:13 +00:00
Gregg Mattinson b6666f93ca Avoid multi-line string constants. 2002-07-03 01:15:52 +00:00
Alexandre Julliard 01c1466c67 Removed redundant GetMessage call. 2002-07-02 02:14:08 +00:00
Alexandre Julliard 958732d21c Fixed warnings. 2002-07-02 02:09:39 +00:00
Andreas Mohr 17a2fe0f71 - Use PeekMessage loop around GetMessage.
- Added German resource file.
- Realign some dialog parts.
- "Property" -> "Properties"
- Add some traces.
2002-07-01 23:22:48 +00:00
Gregg Mattinson 88773cd403 Removed C++ style comments. 2002-06-28 17:37:34 +00:00
Andriy Palamarchuk d2aa62bf45 Fixed a few bugs, added processing of REG_MULTI_SZ format. 2002-06-28 17:33:09 +00:00
Andreas Mohr e75096a0df Made initialization more verbose in case of errors. 2002-06-24 23:00:47 +00:00
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
James Juran ffc61c80b3 Only include the necessary files to avoid conflicts in gethostname
prototypes between winsock.h and unistd.h
2001-12-04 20:16:58 +00:00
Alexandre Julliard 9caa71eef4 Redesign of the server communication protocol to allow arbitrary sized
data to be exchanged.
Split request and reply structures to make backwards compatibility
easier.
Moved many console functions to dlls/kernel, added code page support,
changed a few requests to behave properly with the new protocol.
2001-11-30 18:46:42 +00:00
Eric Pouech 1ac2b1e3c7 Now passing event with --use-event to let programs starting with
digits being run.
2001-11-25 00:49:36 +00:00
Alexandre Julliard bef8e16fdf Compile all programs with -DSTRICT -DNONAMELESSUNION -DNONAMELESSSTRUCT. 2001-11-24 17:07:08 +00:00
Eric Pouech 0b83d4cbc6 New console code based on Win32 windows. 2001-11-23 23:04:58 +00:00
Andreas Mohr 9cef2d0b1d - fix wrong hexadecimal GetLastError() output
- misc fixes
- changed my email address
2001-11-19 02:30:01 +00:00
François Gouget a5bb38e402 Correct handling of strings in setValue.
Better handling of str(x) and hex(x) in setValue.
Misc typos.
2001-11-09 19:32:02 +00:00
François Gouget c9b0237513 strsep is not implemented on Solaris, replace it with our own portable
implementation.
2001-11-06 22:24:40 +00:00
Hidenori Takeshima ae8a4019a6 The 'dword' values should be stored as big endian values. 2001-11-06 17:53:09 +00:00
Jeremy White d08c72a5ba Add --list facility to list installed programs.
Add --remove xxx facility to remove a specific program.
2001-07-08 20:28:23 +00:00
Dave Pickles a9d0209c75 - Fix uninitialised variable problem in DIR command.
- Correct some comments.
2001-06-20 22:52:12 +00:00
Francois Gouget f860ded319 ULARGE_INTEGER may have a dummy struct name. 2001-06-08 18:59:03 +00:00
Andreas Mohr 1426c8cb74 Documentation updates. 2001-06-06 21:06:27 +00:00
Dave Pickles 64fba1cb84 - Report file and directory sizes using 64-bit arithmetic (like NT).
- Handle pipes in commands.
2001-06-04 02:55:38 +00:00
Alexandre Julliard 4b0b5d0c4a Got rid of MakeMaker so we can build outside the source tree. 2001-05-09 19:47:39 +00:00
Alexandre Julliard 9377ea999a Pass the correct string length to RegSetValueExA. 2001-04-10 21:31:58 +00:00
Alexandre Julliard 77c1618d7f Store the function pointer in the %prototypes hash instead of the
function name to avoid looking it up on every call.
Fixed callback thunks to use stdcall calling convention.
2001-04-09 18:49:14 +00:00
John F Sturtz 5dabda3d55 Added support for callback functions. 2001-03-31 00:53:15 +00:00
Alexandre Julliard fc68434791 Added first version of the Perl regression testing framework. 2001-03-21 21:41:27 +00:00
Alexandre Julliard 566a52ad8c Changed isolated for loops to while loops (based on a patch by Andreas
Mohr).
2001-03-05 19:34:17 +00:00
Francois Gouget 282f7270c1 Small 'typos in comments' fixes. 2001-02-28 05:31:02 +00:00
François Gouget 4188fbcb9b Misc typos in comments. 2001-02-14 21:43:06 +00:00
Andreas Mohr 8ee6cca354 - TRACE opened registry handles
- add proper quotes to wineinstall
- spelling
2001-02-12 18:10:43 +00:00
Francois Gouget b87a83866f Change the callback declarations to a safer format. 2001-02-12 03:51:04 +00:00
Matthew Clarke 2081b8b0f6 Don't assume .spec files are found in the current directory, as this
is not the case when building outside the source tree.
2001-01-29 02:03:31 +00:00
Andreas Mohr c9cf70d448 Some more cleanups. 2001-01-26 20:40:50 +00:00
Alexandre Julliard 8bb7fb960c Fixed a number of incompatibilities in OEM icons/cursors handling. 2001-01-20 02:48:30 +00:00
Ulrich Weigand ecb8e6b662 Fixed unnamed union dummy names. 2001-01-11 00:54:38 +00:00
François Gouget 980eeecf99 I triple checked but yes, CHOOSECOLOR.hInstance is an HWND... 2001-01-05 03:45:40 +00:00
François Gouget 9a36a2f2f0 The WndProc function was missing the CALLBACK modifier. 2001-01-05 03:43:40 +00:00
François Gouget 2a6480231a The first 2 parameters of WinMain are HINSTANCEs, not HANDLEs. 2001-01-05 03:42:54 +00:00
François Gouget af68026c94 Replaced calls to OpenFile with the equivalent call to
CreateFile. Removes the need to cast the result to HANDLE.
2001-01-02 20:44:02 +00:00
François Gouget 12b352694b The last parameter of CreateFile is a HANDLE and should thus be NULL. 2001-01-02 20:40:58 +00:00
Gerald Pfeifer 3bc434f0ee <malloc.h> is not ISO C, <stdlib.h> is. 2000-12-24 19:55:09 +00:00