Commit Graph

365 Commits

Author SHA1 Message Date
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
Eric Pouech 5c312198f6 Removed a crash in program/clock. 2000-12-13 01:53:51 +00:00
Dennis Bjorklund 93dd2d694f Remove old link before creating the new one. 2000-12-10 23:11:41 +00:00
Andreas Mohr 1081dfee33 Fixed MessageBox() usage. 2000-12-09 03:06:54 +00:00
Alexandre Julliard e2222fd8ff Use libwine and libwine_unicode directly from their build directory
instead of using symlinks.
2000-12-06 00:05:14 +00:00
Alexandre Julliard 218188c2d2 Always put the dll constructor in the .init section, and like the
.spec.o file first to ensure correct calling order of the constructors.
2000-12-02 20:38:47 +00:00
Alexandre Julliard b4bb1f7dce Fixed progman internal dependencies and build it like the other
programs.
2000-11-30 18:54:34 +00:00
Vasily I. Volchenko 1475e102ed Added Russian language support.
Fixed bug of file browsing operation (filepath length corrected).
2000-11-25 23:55:53 +00:00
Alexandre Julliard a10fbddeb9 Build most programs as .so files. 2000-11-10 23:45:20 +00:00
Alexandre Julliard 626f425b6a Added Makeprog.rules.in containing rules for building Winelib
programs.
2000-11-10 23:35:20 +00:00
Alexandre Julliard 3da872daaf Fixed language handling. Removed some dependencies on Wine internals. 2000-11-10 01:06:36 +00:00
Alexandre Julliard 231cc27c80 Added some missing imports. 2000-11-09 20:41:13 +00:00
Alexandre Julliard a6697b4639 Added middle mouse button handling. 2000-11-08 05:06:58 +00:00
Alexandre Julliard d19ad3962e Better error message when an include file is not found by makedep.
Added support for .mc extension.
Do not try to open *.tab.h and *.mc.rc include files.
2000-11-06 05:32:59 +00:00
Dave Pickles ebb2791164 Pause command interpreter while executing a console-mode app. 2000-11-02 20:07:07 +00:00
Peter Ivanyi 1da3befe54 Added/upgraded Slovak messages, and Slovak and Czech keyboard layout. 2000-10-31 01:19:11 +00:00
Alexandre Julliard 1a3f705fc1 Added import of ntdll. 2000-10-31 00:22:41 +00:00
Alexandre Julliard 21ec006fc1 Build Win32 resources as .res files and dump them into the .spec.c file. 2000-10-23 21:39:39 +00:00
Eric Williams 95105908f5 Changed GROUP to PROGGROUP. 2000-10-19 20:40:49 +00:00
Chris Morgan 4494a500d6 Added changing mouse cursor when over a help topic link. 2000-10-13 23:07:43 +00:00
Alexandre Julliard 74af67ef42 Removed shell.h. Cleaned up the nested includes mess in wine/obj_*.h. 2000-09-26 00:00:55 +00:00
Francois Gouget 73925ab11a Added the missing library dependencies. 2000-09-09 19:41:58 +00:00
Alexandre Julliard 5ab9d860f2 Removed some unnecessary #includes and dll dependencies. 2000-08-09 22:35:05 +00:00
Andreas Mohr c2f37af646 Add an edit control showing the command line of the currently selected
deinstall item.
2000-08-07 17:11:12 +00:00
Hidenori Takeshima 269b409712 Added a few missing imports. 2000-08-04 21:07:23 +00:00
Alexandre Julliard 74cc65a940 Added a few missing imports. 2000-08-04 04:12:08 +00:00
Dave Pickles ebecf50229 Added support for ERRORLEVEL.
Most errors reported via FormatMessage().
COPY command now works correctly if output specifier is a directory.
2000-08-01 22:02:18 +00:00
Jason Edmeades a5910f45bd - Support whitespace around commands better, and support the @
prefix better
- Enhance the set support to unset, display value error correctly
- Enhance the command line support for parms, and env var expansion
- Enhance the echo command to not loose whitespace, and display
  output with % signs better
2000-08-01 02:14:33 +00:00
Andreas Mohr 4eefb96db5 Added an uninstaller for InstallShield, WISE etc. 2000-08-01 00:27:35 +00:00
Francois Gouget e4e99a5dfc ole32 now requires linking with kernel32
shell32 now requires linking with kernel32 and shlwapi
2000-07-29 11:35:12 +00:00
Eric Pouech 731e9f5309 - removed (now obsolete) driver.h file (it's content is now in mmsystem.h)
- upgraded vfw.h content
2000-07-26 18:07:04 +00:00
Francois Gouget 56045a55d8 Fixed int/HANDLE mismatches revealed by -DSTRICT.
Replaced the Win16 hmemcpy16 (obsolete) with memcpy.
2000-07-23 19:33:42 +00:00
Francois Gouget 9620dfc61e Fixed WinMain's signature.
Replaced the Win16 hmemcpy16 (obsolete) with memcpy.
Removed obsolete references to the Languages array.
2000-07-23 19:33:05 +00:00
Francois Gouget d03a341797 Removed obsolete references to the Languages array. 2000-07-23 19:32:45 +00:00
Francois Gouget fea6d13bd8 Fixed WinMain's signature.
Fixed parameter order for the call to CreateWindow.
2000-07-23 19:32:29 +00:00
Francois Gouget 28fc36d38c Fixed WinMain's signature. 2000-07-23 19:32:11 +00:00
Francois Gouget 49d251ff30 Added -DSTRICT.
Added missing libraries comctl32 and rpcrt4.
2000-07-23 19:30:48 +00:00
Mike McCormack 0e2d0e076f Added some basic text display and editing capabilities, cursor
positioning, a bit of scrolling and a text file loader.
2000-07-23 14:22:47 +00:00
Rein Klazes 9cc9d591ef Fix a crash in winhelp caused by hmemcpy16 without prototype.
Fix some compiler warnings.
2000-06-20 20:34:11 +00:00
Alexandre Julliard 27b790b4a6 Compile fix. 2000-06-08 04:58:18 +00:00
Alexandre Julliard 01e819ad9f Simplified wrc flags handling. 2000-06-08 04:52:11 +00:00
Juergen Lock 991b03f8d5 Minor update. 2000-05-18 00:52:22 +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
Alexandre Julliard edd77b933b Changed imports of winspool to winspool.drv. 2000-04-28 14:50:54 +00:00
Alexandre Julliard e1e75371d9 Implemented on-demand loading of builtin dlls using dlopen(). 2000-04-24 17:17:49 +00:00
Alexandre Julliard bc4b88ffcd Fixed resource loading. 2000-04-19 16:47:20 +00:00
Uwe Bonnes 72e1be10ea Corrected WinMain.
Added test case for RegCreateKeyEx showing win95 behaviour.
2000-04-16 20:27:35 +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
Dave Pickles ca7f923270 Registry key used in LoadBoard() was not the same as the one used in
SaveBoard(). Also fixed a typo in the position saving code.
2000-04-09 18:37:50 +00:00
Alexandre Julliard c53ceba478 Improved support for Makefiles that need to recurse in subdirectories. 2000-04-09 18:19:59 +00:00
Joshua Thielen 0872f30af7 Added DestroyBoard function to delete bitmap handles.
Moved SelectObject outside of DrawMine.
Selected old object's back into hMemDC.
2000-04-04 18:55:55 +00:00
Gavriel State 5b5d04dc77 This patch adds the ability for regapi to call the DllRegisterServer or
DllUnregisterServer for a list of DLLs.
2000-04-04 18:54:26 +00:00
Peter Hunnisett 9aaf13e7e3 - Fix painting bug with middle button down when dragging mouse
- Speed up drawing and hence overall speed
- Fix compiler warnings
- Added some optional debugging information
- Added a new known bug to the list
2000-03-30 20:25:07 +00:00
Niels Kristian Bech Jensen c9742b3204 - Fix some compiler warnings.
- Remove superfluous #include statement.
2000-03-28 20:44:59 +00:00
Hidenori Takeshima e0a71f83f5 Added import of comdlg32.dll in spec file. 2000-03-26 14:40:15 +00:00
Francois Gouget 6d77d3a1df Use min/max instead of MIN/MAX. 2000-03-25 21:44:35 +00:00
Patrik Stridvall 205721e724 Fixed ANSI C related compile problems. 2000-03-24 20:40:41 +00:00
Niels Kristian Bech Jensen 52be93cbb4 Fixed some compiler errors and warnings. 2000-03-19 21:49:49 +00:00
Joshua Thielen a3f2380f01 Added winemine app. 2000-03-15 19:06:39 +00:00
Mike Castle 457df9206c Added resource.h include. 2000-03-09 18:37:53 +00:00