Commit Graph

803 Commits

Author SHA1 Message Date
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 1425941e29 Fix the #include order for config.h.
Add #include "config.h" directives where needed.
2001-11-06 20:57:11 +00:00
Francois Gouget 4ae7195c25 Add versions for WinME and WinXP.
Fix the 16bit version return for Win2000.
More closely match the Win95/98 CSDVersion fields.
Enhance documentation of Win95 version numbers.
Confirm the existing data for Win2000.
2001-11-06 00:49:48 +00:00
Ove Kaaven 708a846a88 Save a disk file's drive type in the server object. 2001-10-24 00:23:25 +00:00
Marcus Meissner 099c159610 Revert 16bit win95 version back to original value. Fixes InstallShield
installer version check.
2001-10-23 19:55:11 +00:00
Francois Gouget 386cf6e342 When including 'wine/port.h', include it first.
Remove redundant 'config.h' includes.
2001-10-14 16:25:47 +00:00
Francois Gouget 5686dc0fe8 Move WINDEBUGINFO from winbase.h to winbase16.h and rename to
WINDEBUGINFO16.
Move the related macros to version.c and ifdef them out (kept for
documentation only, they are not used).
2001-10-08 22:30:34 +00:00
Francois Gouget 086f1cbb2c Move the ERR_XXX macros from winbase.h to error.c. 2001-10-08 20:37:34 +00:00
Andreas Mohr b7afbd4bcb Speed optimization. 2001-10-01 20:52:37 +00:00
Andreas Mohr da920ee9b9 Spelling fixes. 2001-08-09 21:16:55 +00:00
Bob Goodwin 07b740fa3f Fix the 16bit win95 version. 2001-07-27 23:57:38 +00:00
Alexandre Julliard f899ef07a6 Removed some unnecessary includes. 2001-07-23 00:04:00 +00:00
Alexandre Julliard 37e9503ae8 Moved server.h to include/wine. 2001-07-19 00:39:09 +00:00
Patrik Stridvall 33929be46f - Made sure that the files that contains the declarations
of implementated functions are included.
- Corrected mismatching prototypes.
- Cleaned up the include section.
2001-07-18 21:04:23 +00:00
Patrik Stridvall 044855c6ec Documentation fixes. 2001-07-11 18:56:41 +00:00
Patrik Stridvall 01d5e5b071 Documentation fixes. 2001-07-02 19:59:40 +00:00
Andreas Mohr e8f90883d8 Fix misleading P4 warning message appearing even in case of match. 2001-06-27 21:38:58 +00:00
Andreas Mohr 99f2f396b5 Spelling fixes. 2001-06-22 23:21:47 +00:00
Andreas Mohr 5fc46a2569 GetSystemInfo() Pentium 4 support. 2001-06-22 23:21:20 +00:00
Patrik Stridvall 3ca9823941 Documentation ordinal fixes. 2001-06-20 23:03:14 +00:00
Dmitry Timoshkov affc9a8817 Move IsCharAlphaA and IsCharAlphaNumericA to user32.
Better implement some of user32 *Char* functions regarding locale.
Remove kernel32 dependency on user32.
2001-06-14 19:27:01 +00:00
Patrik Stridvall dae8de69e2 Documentation ordinal fixes (using winapi_fixup). 2001-06-13 20:13:18 +00:00
Patrik Stridvall 172cd1b967 Fixed some issues found by winapi_check. 2001-06-11 20:16:11 +00:00
James Juran 94cd060d80 Only fail with ERROR_INSUFFICIENT_BUFFER if the structure size is
actually too small.
2001-05-24 18:38:49 +00:00
Francois Gouget 39e1f318c5 Use memset rather than bzero. 2001-05-22 19:19:12 +00:00
James Juran b7c2f2ff68 Add missing newline to WARN messages. 2001-05-09 17:09:04 +00:00
Alexandre Julliard 26320d1f75 Cleanup properly on x11drv unloading.
Moved --synchronous option into config file.
Removed --desktop, --display and --language command-line options.
2001-03-23 23:45:45 +00:00
Alexandre Julliard b9c9cdc5d4 - Added support for app-specific dll overrides using
AppDefaults\<appname>\DllOverrides configuration section.
- Better support for multiple --dll options.
- Added warning message to discourage putting multiple dlls in a
  single override entry.
2001-03-20 02:11:08 +00:00
Alexandre Julliard 67a749999a New set of macros for server calls; makes requests without variable
part somewhat faster.
2001-02-27 02:09:16 +00:00
Patrik Stridvall d0a41774a3 Documentation ordinal fixes. 2001-02-14 23:11:17 +00:00
James Abbatiello 4570478a6e Use the Pentium's rdtsc instruction (if available) to implement
QueryPerformanceCounter.
2001-02-13 20:20:27 +00:00
Rein Klazes 3932f3a648 Added support for the Malayan language. 2001-02-12 03:47:10 +00:00
Martin Pilka ac0b814444 Fixed typo which caused the WritetoHomeRegistryFiles option to be
ignored.
2001-01-26 21:00:48 +00:00
Alexandre Julliard 306fc9c475 Fixed typo in HKEY_USERS/.Default creation. 2001-01-25 21:48:24 +00:00
Alexandre Julliard a41b2cfdd0 Moved tweak support to USER dll. Removed tweak.h and cache.h. 2001-01-15 20:12:55 +00:00
Alexandre Julliard ca43a641b7 Removed all traces of the --config option. 2001-01-10 23:56:59 +00:00
Ryan Cumming 418e27ea68 Make CDROM_GetLabel return 0 in the event of failure, and make the
default label for drives a string of 11 spaces.
2001-01-09 20:54:11 +00:00
Alexandre Julliard 8081e5a1e5 Added handle_t type to server interface so that we can make handles
pointers later on.
Always use 0 to signal invalid handle in server requests.
2001-01-05 04:08:07 +00:00
Alexandre Julliard 40060a1365 Removed obsolete code. 2001-01-04 19:56:29 +00:00
Guy L. Albertelli 8d91b501dd Reimplemented "relay=" and "snoop=" suboptions. 2001-01-04 19:37:37 +00:00
François Gouget 44a182229b winuser.h now requires that we include winbase.h first. 2000-12-19 04:53:20 +00:00
Morten Welinder 87093f5386 (parse_options): Allow GNU-like option arguments like
"--desktop=800x600".  (Not perfect -- we don't allow shorthands.)
2000-12-18 03:49:49 +00:00
Andreas Mohr 1f192c15bb Improved usage message. 2000-12-15 21:28:47 +00:00
Huw D M Davies ebb3a68cbc Status of CDROM_AUDIO_INVALID seems to mean the disk is stopped. 2000-12-15 20:55:39 +00:00
Alexandre Julliard 909eff9932 Added support for Unicode applications in winebuild.
Removed cuiexe_no_main hack.
Avoid stdcall function declarations inside functions because of gcc bug.
2000-12-15 03:38:11 +00:00
Martin Pilka 57f8eb71da - registry loading speed up (reduced client <-> server communication)
- make the code a bit more understandable
2000-12-15 03:22:27 +00:00
Alexandre Julliard db0747d095 Removed some unnecessary includes.
Got rid of ldt.h.
2000-12-13 20:23:41 +00:00
Alexandre Julliard 6c8edaa667 Use getpagesize() instead of VIRTUAL_GetPageSize(). 2000-12-13 20:22:47 +00:00
Alexandre Julliard 982a223f36 Replaced PTR_SEG_TO_LIN macro by exported MapSL function.
Fixed a few ptr/segptr mismatches.
Moved CONV_RECT/POINT macros to wingdi16.h.
2000-12-13 20:20:09 +00:00
Alexandre Julliard 751625e089 Got rid of main.h. 2000-12-12 00:50:19 +00:00
Alexandre Julliard bf67259a41 Use the DRIVE_* API constants instead of the DRIVETYPE enum.
Changed DRIVE_CANNOTDETERMINE and DRIVE_DOESNOTEXIST to use the
correct names.
Cleaned up a few dependencies on internal drive.c functions.
2000-12-12 00:44:42 +00:00
Alexandre Julliard becb9a353b Moved all Wine internal definitions out of process.h. 2000-12-11 03:48:15 +00:00
Andreas Mohr 1af53cbb2a - README update
- add offsets to ASPI struct defines
- spelling
2000-12-09 03:15:32 +00:00
Michael Veksler cfb63bd289 Add basic NLS information needed for Hebrew. 2000-12-06 20:11:40 +00:00
Alexandre Julliard 633293f093 Build the debugger as a .so. 2000-12-06 03:20:47 +00:00
Eric Pouech 816845026c Fixed bugs when tray was open. 2000-12-02 23:42:42 +00:00
Francois Gouget 519346a47e Fixed miscellaneous typos, syntactic and grammatical errors. 2000-12-02 20:18:08 +00:00
Patrik Stridvall 2b3aa616e8 Added/modified documentation for function arguments. 2000-12-01 23:58:28 +00:00
Patrik Stridvall 7a4e599780 Fixed some issues found by winapi_check. 2000-12-01 23:53:46 +00:00
Alexandre Julliard ef57e18f99 Removed some unnecessary includes. 2000-12-01 21:32:55 +00:00
Alexandre Julliard 5ce2329a95 Finished separation of advapi32. 2000-11-30 20:31:41 +00:00
Andreas Mohr c3350c537e Added alias capability to --winver.
win2000 is the official value.
2000-11-30 01:29:45 +00:00
Alexandre Julliard e296bf3717 Renamed CallTo16* functions to wine_call_to_16* and export them from
kernel32.spec.
2000-11-29 19:39:30 +00:00
Marcus Meissner db6fc1ce61 linux-2.4.0-test10 now calls 'flags' as 'features'. 2000-11-28 23:54:36 +00:00
Alexandre Julliard 24a62ab9b0 Got rid of the Wine internal lstrcpy* functions and of winestring.h. 2000-11-28 22:40:56 +00:00
Dimitrie O. Paun 529da54394 Require {DECLARE,DEFAULT}_DEBUG_CHANNEL statements to end in a ; 2000-11-27 23:54:25 +00:00
Andreas Mohr 162378420c Add FloatingPointProcessor empty entry to the registry. 2000-11-27 22:46:00 +00:00
Andreas Mohr cb45438be2 - added winver settings nt2k, win30 and win20 (yes, some rare programs need this)
and *document* it (win98 was not documented previously)
- OaBuildVersion: add value for NT4 SP6
- spelling fixes
2000-11-27 01:39:05 +00:00
Alexandre Julliard 5b971f009a Moved wsprintf functions to dlls/user. 2000-11-26 22:39:50 +00:00
Marcus Meissner 8f1e39f3a7 RegSetValueEx16 might get passed 0 as count of databytes, determine
string length for ourselves in this case.
2000-11-15 22:13:11 +00:00
Alexandre Julliard b1e70285b4 Added __wine_get_main_args to retrieve command-line arguments for the
application.
2000-11-09 20:29:42 +00:00
Alexandre Julliard 85423c6a6b Added new library.h header for libwine definitions.
Added getpagesize() and wine_anon_mmap() portability functions.
2000-11-08 04:28:54 +00:00
Alexandre Julliard 94613ab03e New debug channel mechanism allowing decentralized channel
declarations.
2000-11-05 04:51:34 +00:00
Alexandre Julliard 908464d448 Authors: Andreas Mohr <amohr@codeweavers.com>, Dimitrie O. Paun <dimi@cs.toronto.edu>, Patrik Stridvall <ps@leissner.se>
Various warning fixes.
2000-11-01 03:11:12 +00:00
David Elliott c6161ac66a _nt_parse_nk() should not close keys that it does not open. 2000-10-31 01:36:50 +00:00
Alexandre Julliard 2fa4f767aa Build ntdll as a real dll, including everything that was previously in
libwine.so. Created a new (mostly empty) libwine.so in library/ subdir.
2000-10-31 00:20:51 +00:00
Francois Gouget bec545ae98 Return a more plausible value for MinimumApplicationAddress. 2000-10-28 00:34:16 +00:00
Patrik Stridvall a9f6a9daec Explicitly initialize structures. 2000-10-24 02:22:16 +00:00
Andreas Mohr 588ee35618 Always open/close the CD-ROM device for every Windows API CD-ROM
access.
2000-10-23 00:40:23 +00:00
Alexandre Julliard 57f05e1913 Converted a few more server requests to the new mechanism. 2000-10-15 00:40:25 +00:00
Mike McCormack 11776c1fcf Moved comm.c into kernel32. 2000-10-13 17:11:30 +00:00
Alexandre Julliard 15bfcd0398 Moved $(MODULE).o rule out of Make.rules into the individual
Makefiles.
2000-09-29 00:28:25 +00:00
Alexandre Julliard d8fab2e67c Removed some of the XXX_reg macros now that we are using the standard
CONTEXT86 structure everywhere.
2000-09-25 23:53:07 +00:00
Alexandre Julliard 072dfb57e3 Removed inclusion of wine/winestring.h from winbase.h and added it to
the C files that need it.
2000-09-25 23:30:56 +00:00
Andreas Mohr c941effc24 Make GetTickCount not use the whole Unix epoch (since 1970) any more,
since that crashed several games or caused problems with them as they
aren't used to a high Windows uptime of more than 24.9 days.
2000-09-22 22:37:56 +00:00
Andreas Mohr fd8104987f fixed the win95 registry loader to have somewhat stricter checking. 2000-09-22 20:50:35 +00:00
Mike McCormack 556d11de46 - removed redundant functions COMM_Get(Read/Write)Fd
- corrected the name of 16bit functions in comments
- removed unused static variable
2000-09-18 01:41:07 +00:00
Mike McCormack 654fcc721b Implemented SetCommMask, SetCommTimeouts, GetCommMask, GetCommTimeouts. 2000-09-16 20:55:12 +00:00
Andreas Mohr 0c6e36999b Silence some bogus error message. 2000-09-16 20:47:00 +00:00
Andreas Mohr 20cd9356a8 - fixes debugger output
- get rid of wrong comments
- fix comments
- .spec spelling fix
- improve warning message
2000-09-12 23:40:40 +00:00
Mike McCormack 44b5bf5998 Added serial port object to the server. 2000-09-07 18:39:51 +00:00
Alexandre Julliard 92643003cf Converted a lot of server requests to the new exception handling
mechanism.
2000-08-31 01:59:51 +00:00
Alexandre Julliard 9c2370bd75 Added exception handling wrapper to a number of server requests.
Changed a few requests to use the new vararg mechanism.
2000-08-30 00:00:48 +00:00
Andreas Mohr 2951862be2 Fixed verbose CD-ROM serial number warnings and some spelling errors. 2000-08-29 23:56:20 +00:00
Peter Ganten c7c4246a99 - Always store the full path name of 32bit modules in WINE_MODREF
- Add the possibility to use path names with the --dll command line
  option
- Add the possibility to use the --dll command line option several
  times.
- Note: The colon-sign is now exchanged with the plus-sign, as it is
  part of dos path names.
2000-08-28 21:33:28 +00:00
Andreas Mohr 349655636b - made the MIDI sequencer error message much better for confused users
to be found on #WineHQ
- use strerror instead of errno at important places
- got rid of HAVE_STRERROR macro
- removed some #include:s (hopefully I didn't break anything)
2000-08-26 20:31:48 +00:00
Andreas Mohr 217a682b4f Minor cosmetic changes. 2000-08-25 21:56:19 +00:00
Andreas Mohr 8337f28b70 Cleanup and speedup of init code. 2000-08-25 21:55:23 +00:00
Marcus Meissner 9e0ae86d06 Use int instead of CHAR/WCHAR in va_arg() (fixes gcc-current compile
problem).
2000-08-25 21:31:57 +00:00
Dmitry Timoshkov 56f8e274c7 Added new language detection scheme that uses NLS data base instead of
hard coded values.
2000-08-20 03:39:41 +00:00
Ed Snow 9fcb4f551e Corrected serial number generation for CD's with 1 or 2 tracks. 2000-08-19 20:19:46 +00:00
Stefan Leichter eb0ab1b1ec Fixed return value of CDROM_GetLabel if CDROM_Open failed (e.g. no
Device entry for drive in wine.conf).
2000-08-18 23:45:46 +00:00
Alexandre Julliard dcd247e55f Moved CharUpper* and CharLower* functions to dlls/user. 2000-08-14 17:39:15 +00:00
Alexandre Julliard d586dc99be Replaced VERSION_* calls by exported API equivalents. 2000-08-14 14:35:01 +00:00
Alexandre Julliard 198746d812 Replaced global Callbacks structure by appropriate glue code
generation. Removed a few unused entries in the Callout structure.
2000-08-14 14:29:22 +00:00
Alexandre Julliard c97bb4c5d6 Added Unicode ctype support. 2000-08-11 20:53:40 +00:00
Alexandre Julliard 42d20f9dca Merged clipboard driver into USER driver.
Moved all ttydrv source files to dlls/ttydrv.
Load functions pointer for the USER driver from the graphics driver
dll with GetProcAddress.
2000-08-10 01:16:19 +00:00
Alexandre Julliard 5ab9d860f2 Removed some unnecessary #includes and dll dependencies. 2000-08-09 22:35:05 +00:00
Alexandre Julliard 46733de12b Removed winver and service_table from the PDB and made them static
variables.
2000-08-09 22:31:24 +00:00
Alexandre Julliard 081ee94117 - Fixed resource functions to work directly from the HMODULE instead of
requiring a modref.
- Attempted to get LOAD_LIBRARY_AS_DATAFILE right (based on patches by
  Eric Pouech and Dusan Lacko).
- Simplified modref structure and handling.
2000-08-07 04:12:41 +00:00
Alexandre Julliard 3850c1ae16 Moved most USER string functions to dlls/user.
Cleaned up a few more inter-dll dependencies.
2000-08-06 02:42:46 +00:00
Alexandre Julliard cb10fdab99 Replaced lstrlen/lstrcmp by libc equivalents everywhere we don't need
to trap exceptions.
2000-08-06 02:41:16 +00:00
Alexandre Julliard 93652e1a68 Moved a bunch of functions out of libwine/kernel/gdi into USER. 2000-08-04 04:21:02 +00:00
Alexandre Julliard 09ddb59142 Make USER and GDI separate dlls. 2000-08-03 22:22:42 +00:00
Alexandre Julliard 646c562f9c Cleaned up some more USER dependencies. 2000-07-31 23:32:47 +00:00
Alexandre Julliard 6b141176be Moved toolhelp implementation into kernel32 dll. 2000-07-31 21:01:05 +00:00
Alexandre Julliard 946a4448af Cleaned up a few USER dependencies. 2000-07-30 13:50:27 +00:00
Alexandre Julliard 58d5a0a786 Removed some unnecessary inclusions of wingdi.h and winuser.h 2000-07-29 21:58:17 +00:00
Dmitry Timoshkov f1fd89db42 FindResourceExA/W should search for the specified language resource only.
FindResourceA/W should search for any language resource.
2000-07-29 00:01:57 +00:00
Andreas Mohr 3084b58606 - fixed a gross bug in SetCurrentDirectoryA (where changing to a new
non-existent directory would leave the new drive enabled upon aborting
  (fixes CuteFTP install and should fix MANY apps)
  This has probably been caused by myself. *brownpaperbag*
- added GetVolumeInformation serial number bug-for-bug compatibility
- corrected Unicode labels (better CD-ROM handling in general)
- moved CD-ROM label detection code to misc/cdrom.c
- possible to use loopback mounted ISO9660 files
- init some uninitialised drive fields
- remove some unnecessary header includes
2000-07-25 20:59:59 +00:00
Dave Pickles a64603d3d6 Improved FormatMessage:
- Added full support for FORMAT_MESSAGE_FROM_SYSTEM
- Implemented language search as documented
- Illegal combinations of options trapped.
- Message table for system messages added.
2000-07-25 17:53:58 +00:00
Patrik Stridvall 315b00e861 Fixed issues found by winapi_check. 2000-07-25 17:45:14 +00:00
Alexandre Julliard d5041fc45a Moved thunking functions off to kernel32.dll. 2000-07-25 16:42:25 +00:00
Alexandre Julliard a3e0cfc5fb Get full path of argv[0] before we change directories.
Make sure process names are long path names.
Cleaned up initialisation a bit.
2000-07-16 18:21:34 +00:00
Mike McCormack a341a96789 Hook serialui dll into existing comm functions. 2000-07-15 21:36:31 +00:00
Alexandre Julliard ce4784d8a5 Made --language behave the same as setting the LANGUAGE environment
variable.
2000-07-15 19:59:10 +00:00
Gerald Pfeifer 5dae382f68 Fixed an incorrect format string. 2000-07-15 14:58:32 +00:00
Eric Pouech 254cd6b6de Fixed FormatMessage[A|16] against some buffer overflow cases. 2000-07-10 13:06:25 +00:00
Stefan Leichter dcb9733580 Fixes the BuildCommDCBA function. 2000-07-09 12:19:44 +00:00
Hidenori Takeshima 01f78aaa9c Added configure check for libutil.h. 2000-07-09 12:19:09 +00:00
Alexandre Julliard ad28d39d98 Fixed lstrcpynAtoW usage (reported by Stas Sergeev).
Small cleanups.
2000-07-09 11:20:59 +00:00
Stefan Leichter 00e7c3346d Started implementation of the functions GetDefaultCommConfigA/W. 2000-07-08 18:29:54 +00:00
Joerg Mayer 257ca83d04 Fixed the debugmsg help. 2000-07-08 11:45:13 +00:00
Alexandre Julliard 42acc339ed Split bidi16.c and network.c out of misc/ into their respective dlls. 2000-06-24 12:41:05 +00:00
Alexandre Julliard 917910324f Cleaned up a few inter-dll dependencies. 2000-06-23 16:13:33 +00:00
Frederic Boulanger f93dcc2532 CreateSpoolFile is called with a dos name, we have to make sure that
when we create the spoolfile we use the unix name associated to the
dos file name.
2000-06-15 00:29:54 +00:00
Mike McCormack 6a31f96111 - add prototypes for serial API functions
- correct existing serial API prototypes incorrectly using DWORD
  instead of HANDLE
- define more structures and values in serial API
2000-06-15 00:15:11 +00:00
Andreas Mohr c5648f2be3 Made the DLL version clash error message more verbose. 2000-06-12 01:18:11 +00:00
Dmitry Timoshkov 0072c88111 Implement NTDLL.towupper and NTDLL.towlower using already existing
case conversion tables. Replace all direct calls to towupper/towlower
either to NTDLL for core or to CRTDLL if latter already used in the
non core dll.
2000-06-08 20:05:18 +00:00
Alexandre Julliard 45fccb8c0c Fixed off-by-one error in string allocation. 2000-06-07 02:03:54 +00:00
Alexandre Julliard eac0e1837c Removed MSG_WineStartTicks (does not work for multiple address spaces
anyway).
2000-06-03 20:46:53 +00:00
Juergen Schmied 0dc0d4461b Fixed crash. 2000-06-03 00:08:24 +00:00
Andreas Mohr 2e011a5243 Lots of spelling fixes that accumulated in my tree again, made several
error msgs more verbose, doc updates.
2000-06-01 23:28:25 +00:00
Zoran Dzelajlija 846880b7e6 Basic Croatian language support. 2000-05-30 20:50:45 +00:00
Alexandre Julliard eeaae3cae9 Make child processes inherit command-line options through the
WINEOPTIONS environment variable.
2000-05-30 17:51:44 +00:00
Gerald Pfeifer 093af59b74 Fixed warning. 2000-05-30 15:28:37 +00:00
Alexandre Julliard c192ba2468 Exec a separate wine binary for every win32 process so that they run
in separate address spaces.
Run 16-bit tasks as Win32 threads, not processes.
2000-05-29 21:25:10 +00:00
James Juran 2fc028977d DEBUG_ExternalDebugger() needs to be a part of wine, not winedbg. 2000-05-26 01:14:55 +00:00
Patrik Stridvall cbab7705f1 Fixed issues found by winapi_test. 2000-05-18 00:52:08 +00:00
Dimitrie O. Paun 81eafedaf1 Moved DDEML into dlls/user. 2000-05-14 23:34:41 +00:00