Commit Graph

439 Commits

Author SHA1 Message Date
Francois Gouget e1685e6bf5 ok() does not support '%S'. Store the Ansi version, convert to Unicode
when needed, and print the Ansi version using ok().
Fix 'value is so large it is unsigned' warnings.
2003-01-16 00:11:32 +00:00
Robert Shearman bda22de541 - Add some stubs.
- Implement kernel32.FatalExit.
2003-01-13 20:44:13 +00:00
Dimitrie O. Paun 297f3d898d Define NONAMELESS{STRUCT,UNION} explicitly in the files that need them. 2003-01-07 20:36:20 +00:00
Alexandre Julliard b4a4c05aed Removed a few more #ifdef __WINE__. 2003-01-04 00:19:17 +00:00
Alexandre Julliard 78ff6763ed Added wine_dbg_sprintf function that allocates a temporary buffer in
the per-thread strings area.
Added inline functions to format POINT, SIZE and RECT structures.
2003-01-03 03:12:58 +00:00
Francois Gouget e0af6d0218 Call lstrcmpW rather than wcscmp. 2003-01-03 03:02:15 +00:00
Francois Gouget dadbce9a44 Fix mapping of STATUS_DEVICE_NOT_CONNECTED to match XP.
Fixed the prototype of statustodoserror to make the test work on NT4.
Added alternate return values to make the test work on Win98.
Check whether RtlNtStatusToDosError ismissing to make the test work on
Win95.
Added a strict option to cause the test to only accept the standard
mapping.
2003-01-02 17:50:48 +00:00
Alexandre Julliard ea2b6df7f6 Avoid some warnings. 2002-12-19 21:15:41 +00:00
Alexandre Julliard a16ed909c5 Implemented RtlTimeToElapsedTimeFields. 2002-12-18 02:31:33 +00:00
Alexandre Julliard 9e8e5ff71d Implemented the Fiber* functions (with the help of Huw Davies). 2002-12-17 21:06:25 +00:00
Jukka Heinonen bbb7dc0fad When asynchronous signals are blocked, block also SIGUSR2.
Fix race that made signal handler forget to restore FS register.
2002-12-13 23:28:01 +00:00
Alexandre Julliard dcc3afd259 Avoid casts between LARGE_INTEGER and FILETIME.
Fixed day of week of epoch.
Small cleanups.
2002-12-13 20:53:04 +00:00
György 'Nog' Jeney f7694794de - Reimplement time functions using ntdll functions.
- Some cleanups.
2002-12-13 20:30:06 +00:00
Dimitrie O. Paun 737d4be892 Move excpt.h out of include/msvcrt/ as it does not conflict with any
standard Unix header.
2002-12-12 23:34:01 +00:00
Alex Pasadyn a96caa0700 Fix return from IOCTL_CDROM_CHECK_VERIFY. 2002-12-12 22:23:35 +00:00
Alexandre Julliard dbf8b78acd Added .spec.def files. 2002-12-12 22:04:04 +00:00
Alexandre Julliard 72e1c64345 Added list of symbols to ignore by default in winebuild.
Made the -i option support removing ignored symbols too.
Removed the -noimport flag in spec files.
2002-12-12 02:20:47 +00:00
György 'Nog' Jeney 4d6ba25d4b - Implement RtlLocalTimeToSystemTime and RtlSystemTimeToLocalTime.
- Use new time functions to reimplement FileTimeToLocalTime and
  LocalTimeToFileTime.
2002-12-11 00:19:56 +00:00
Alexandre Julliard 435e2e63f4 winnt.h should not be self-contained, it must depend on windef.h so
that STRICT works correctly; moved some definitions back to windef.h
where they belong, and removed a couple of definitions that don't
exist on Windows.
2002-12-10 22:56:43 +00:00
Alberto Massari 067a981233 Added parameters to NtXxxPort functions prototypes. 2002-12-10 20:04:40 +00:00
Patrik Stridvall 75dee506ae Replace 0x%p with %p. 2002-12-05 19:56:15 +00:00
Alexandre Julliard 9169729b0b Merged font.h and path.h into gdi.h. Moved x11font.h to
dlls/x11drv. Removed a number of unnecessary #includes.
2002-12-03 19:18:41 +00:00
Patrik Stridvall 6cd866b0e6 Fixed some issues found by winapi_check. 2002-11-27 20:21:24 +00:00
Jukka Heinonen 3546290285 Moved handlers for int25 and int26 to winedos. 2002-11-27 20:18:50 +00:00
Vincent Béron ea966aa6d3 Fix for implicit declaration of abs. 2002-11-27 20:14:45 +00:00
Steve Lustbader f1e1fd05eb Assorted Win2k/WinXP stubs. 2002-11-25 20:50:53 +00:00
György 'Nog' Jeney 6f3015b8ee - Move SetSystemTime, GetTimeZoneInformation and
SetTimeZoneInformation implementation to ntdll.
- Docu updates.
2002-11-25 01:12:39 +00:00
Jukka Heinonen 98058eb14d Moved handlers for int11, int15 and int5c to winedos. 2002-11-24 22:34:04 +00:00
Jukka Heinonen ab163db7c0 Move int2f handler to winedos.
Clean winedos headers a bit.
2002-11-23 02:23:54 +00:00
Andrew John Hughes ed800c69c8 Build ntdll with -DSTRICT. 2002-11-21 03:45:01 +00:00
Jukka Heinonen 1a665058e8 Removed last users of msdos/interrupts.c. 2002-11-21 00:02:09 +00:00
Jukka Heinonen 1a6afad1a4 Removed obsolete code. 2002-11-20 19:39:11 +00:00
Jukka Heinonen a9fecb90c4 Removed last user of msdos/int1a.c. 2002-11-18 23:11:18 +00:00
Marcus Meissner d0aef218a0 Fixed strict aliasing problem in RtlEnlargedUnsignedDivide. 2002-11-18 19:49:18 +00:00
Martin Wilck 6d886a52b3 - Allow setting NetBIOS ComputerName through registry.
- Keep old behavior as default, using new config option to change.
- Implement SetComputerName(), SetComputerNameEx(),
  GetComputerNameEx().
- ComputerName initialization moved to kernel32.
2002-11-15 01:01:47 +00:00
Mike McCormack 40f81e7cc3 Partial implementation of RtlDosPathNameToNtPathName_U. 2002-11-15 01:00:08 +00:00
Huw Davies ac2a662a64 Reduce the maximum length of debug strings to 80 characters. 2002-11-13 19:38:17 +00:00
Jukka Heinonen 416c2aeb00 Move simple interrupt handlers to winedos. 2002-11-12 23:29:48 +00:00
Robert Shearman bd4a385c7e First of tests for the Rtl* string manipulation functions. 2002-11-12 02:18:10 +00:00
Robert Shearman 59e81ec15a Implemented RtlUnicodeStringToInteger. 2002-11-12 02:17:34 +00:00
Patrik Stridvall 9398d9c129 Updated the generated tests. 2002-11-12 01:13:10 +00:00
Juraj Hercek 386d51d1b6 Fixed bug in context registers, added HANDLER_DEF and HANDLER_CONTEXT
macros.
2002-11-08 18:54:10 +00:00
Marcus Meissner 727c31d7a0 Only enable VM86 mode if we have the <sys/vm86.h> include file. 2002-11-08 18:53:32 +00:00
Alexandre Julliard ac36f95082 Disable address space limit check on non-i386 platforms. 2002-11-06 22:33:17 +00:00
Patrik Stridvall 74476416b0 Updated the generated tests. 2002-11-06 21:59:15 +00:00
György 'Nog' Jeney 39433b9481 - Fix RtlTimeToTimeFields to actually work.
- Remove comments about leap seconds, windows doesn't take that into
  account.
2002-11-06 21:57:23 +00:00
Alexandre Julliard 910851a20e Added winebuild -e option to specify the entry point and removed the
'init' spec file directive.
Winebuild long options now use a more standard double dash format
(older format still supported for backwards compatibility).
2002-11-06 20:02:59 +00:00
Patrik Stridvall df7ffb8017 Updated the generated tests. 2002-11-04 22:40:40 +00:00
Marcus Meissner 0d238f7150 Powerpc instruction pointer is Iar, not Eip. 2002-10-30 20:25:55 +00:00
Patrik Stridvall 7d226139e9 Updated the generated tests. 2002-10-29 21:24:09 +00:00
Lionel Ulmer bdb44555a3 Raise an exception if any Wine or Winelib code does an assert. 2002-10-28 23:56:58 +00:00
Alexandre Julliard 9b5c3f939d Made the ntdll registry functions use HKEY instead of HANDLE. 2002-10-25 19:14:29 +00:00
Patrik Stridvall ab974c310c Updated the generated tests. 2002-10-23 18:45:15 +00:00
Alexandre Julliard 23bb3715f7 Added support for building certain dlls with -DSTRICT.
Added -DWINE_NO_STRICT flag to dlls that don't support STRICT yet.
2002-10-18 23:46:28 +00:00
Patrik Stridvall ebf582cd48 Updated the generated tests. 2002-10-15 01:53:45 +00:00
Alexandre Julliard f8da8541eb Make sure all Zw functions whose Nt equivalent is implemented are
implemented too.
2002-10-10 17:55:48 +00:00
Alexandre Julliard d0590c0658 Fixed buffer size in _ultoa (spotted by Joerg Mayer). 2002-10-09 20:27:33 +00:00
Alexandre Julliard c728efc3c9 Added --disable-win16 configure option. 2002-10-02 02:34:09 +00:00
Alexandre Julliard 69d7cb5681 Avoid calling some kernel functions. 2002-09-18 23:13:35 +00:00
Alexandre Julliard 341b7dceb4 Implemented the ntdll virtual memory functions, and made the kernel
functions use them.
2002-09-17 18:54:42 +00:00
Francois Gouget bba4bb1bc4 Remove references to PCVOID and LPUINT.
Remove types that don't exist on Windows.
2002-09-17 01:35:09 +00:00
Francois Gouget de0f015df0 Move all STATUS_* and RPC_NT_* to ntstatus.h as per Windows SDK.
Add some missing constants.
Include ntstatus.h in winnt.h.
2002-09-17 00:03:39 +00:00
Alexandre Julliard ac7b9d3797 Implemented NtDuplicateObject. 2002-09-16 19:32:50 +00:00
Alexandre Julliard f2ef2c2bb2 Handle special registry root keys directly in advapi32, and avoid
using them in kernel and ntdll.
2002-09-13 21:42:28 +00:00
Alexandre Julliard fb40a72f8f Copied the registry functions needed by VMM into device.c and got rid
of memory/registry.c.
2002-09-13 18:52:57 +00:00
Alexandre Julliard c227edc5c3 RtlFormatCurrentUserKeyPath: return path containing the user name
instead of .Default.
2002-09-13 17:45:07 +00:00
Alexandre Julliard 1668870f38 Fixed warnings caused by new winternl.h. 2002-09-12 22:28:01 +00:00
Patrik Stridvall 9c1de6de30 Moved all the content of the DDK files ntdef.h and ntddk.h to
winternl.h.
2002-09-12 22:07:02 +00:00
Patrik Stridvall a62a26ced0 Fixed some issues found by winapi_check. 2002-09-09 19:26:55 +00:00
Andriy Palamarchuk 442f5f56d1 RtlNtStatusToDosError: Added new NT status to error codes mapping,
added missed definitions of the used constants, created unit test for
subset of the mappings.
2002-09-09 19:25:29 +00:00
Alexandre Julliard cea2e825b2 Link all remaining dlls except kernel32 as separated dlls, by
temporarily exporting the few functions that are not properly
separated yet.
2002-09-06 18:51:31 +00:00
Patrik Stridvall 51e6c0ccb1 MSVC compatibility fixes. 2002-08-31 19:04:14 +00:00
Marcus Meissner c87c2c4f1a Use Iar (Instruction Address Register) instead of Fill[0].
siginfo.si_code uses the lower 16bit for the type of the exception.
2002-08-30 00:00:57 +00:00
Patrik Stridvall 9aab47ed24 MSVC compatibility fixes. 2002-08-28 23:42:34 +00:00
Alexandre Julliard dba83c8bfc Added wine_get_user_name function and got rid of some of the getpwuid
portability stuff.
More portable printf formats for 64-bit types.
2002-08-27 18:30:53 +00:00
Patrik Stridvall ef0e2af708 MSVC long long fixes. 2002-08-27 18:17:49 +00:00
Dmitry Timoshkov d75aed2c92 Convert most of the file APIs to Unicode. 2002-08-27 01:13:58 +00:00
Marcus Meissner cf51b65457 Implemented signal handling for PPC. 2002-08-27 00:30:20 +00:00
Patrik Stridvall 57bf45067a MSVC compatibility fixes. 2002-08-26 21:53:24 +00:00
Patrik Stridvall fc34344d14 Fixed some issues found by winapi_check. 2002-08-20 00:20:43 +00:00
Marcus Meissner 9fc17ee371 Implemented server context/ptrace handling for Linux/PowerPC. 2002-08-17 01:19:06 +00:00
Patrik Stridvall d016f819f1 Added include protection for unistd.h and sys/time.h. 2002-08-17 00:43:16 +00:00
Alexandre Julliard 66e3183099 Fixed GetLocaleInfoW to handle Unicode properly and completed
implementation.
Update win.ini and registry on startup when language changed.
More logical priority order for locale environment variables.
Implemented SetLocaleInfoW.
Moved some locale functions to kernel32.dll.
2002-08-15 23:18:47 +00:00
Alexandre Julliard becccaf168 Trap exceptions in RtlImageNtHeader. 2002-08-15 22:09:53 +00:00
Jon Griffiths 1da297178a Implement and test rtl bitmap functions.
Add a couple of other misc rtl functions.
2002-08-15 22:08:40 +00:00
Dmitry Timoshkov 035887513d Cosmetics. 2002-08-13 18:18:38 +00:00
Dmitry Timoshkov 4c903ea4b8 us->Length is in bytes. 2002-08-13 18:10:28 +00:00
Dmitry Timoshkov 9447958bc1 Throw exception only for Wine internal locks. 2002-08-13 18:09:22 +00:00
Alexandre Julliard 6006757996 Setup exception frame around 16-bit calls to unwind stack properly. 2002-08-13 03:29:17 +00:00
Alexandre Julliard a5dea216cc Implemented the RtlImage* functions, and use them to replace the
PE_HEADER macro.
2002-08-09 19:57:38 +00:00
Patrik Stridvall 4325554aef Fixed some issues found by winapi_check. 2002-08-09 01:07:29 +00:00
Alexandre Julliard 526531eb6c Create at most one glue file for a single dll.
Avoid the intermediate .tmp.o file when building programs.
2002-08-01 18:36:58 +00:00
Rafael Kitover ac81d02a58 Portability fixes for Cygwin. 2002-07-31 20:04:20 +00:00
Alexandre Julliard 7375597fe2 Fixed some handle type mismatches and added a few casts in prevision
of void* handles.
2002-07-31 19:26:03 +00:00
Eric Pouech 05d42e5b2f Moved all client-side console code to kernel. 2002-07-31 19:20:28 +00:00
Eric Pouech 3d4d7e0153 Added a generic mechanism to set up hooks for dispatching signal
handlers outside ntdll.
2002-07-31 18:46:09 +00:00
Alexandre Julliard a6cff2b3c8 We have to use the Rtl variant of Enter/LeaveCriticalSection inside
ntdll.
2002-07-31 17:56:54 +00:00
Ryan Cumming 08be8f06cc Implementation of RtlGetNtVersionNumbers. 2002-07-28 17:49:26 +00:00
Rafael Kitover 44d3fd429e Minor fix for ide-scsi cdroms. 2002-07-28 17:48:01 +00:00
Alexandre Julliard 891d23e57f Added support for ordinal hint in PE_FindExportedFunction. 2002-07-24 19:04:41 +00:00