Commit Graph

1750 Commits

Author SHA1 Message Date
Alexandre Julliard 0aa6cc298e Removed a few external dependencies from ntdll. 2000-07-29 21:56:59 +00:00
Alexandre Julliard cd770eafcd Temporarily moved advapi32 registry support back into libwine.so, and
made advapi32 a separate dll.
2000-07-25 15:10:52 +00:00
Ove Kaaven 9b2060afab Change the V86BASE macro to call DOSMEM_MemoryBase() instead of using
the ugly Dr7 hack.
2000-07-23 13:36:41 +00:00
Marcus Meissner 12298c5cad Return "no debugger attached" in NtQueryInformationProcess to satisfy
some copy protection mechanisms.
2000-06-25 12:51:55 +00:00
Gerald Pfeifer e384fa6b6d Added missing #include <math.h>. 2000-06-24 12:50:56 +00:00
Dave Hawkes 52b6bd95d3 Exception handling for SIGFPE must always clear the FPU interrupt
status.
2000-06-23 16:49:09 +00:00
Alexandre Julliard 4f356e86e4 Moved shared crtdll/ntdll functions into ntdll.
Made crtdll a separate dll.
2000-06-23 16:16:30 +00:00
Alexandre Julliard 5ea22474bb Use the Unicode string functions from wine/unicode.h instead of the
crtdll ones.
2000-06-13 01:10:29 +00:00
Alexandre Julliard 261abcd5bc Reimplemented Unicode case mapping in a slightly more efficient way.
Moved case mapping support to the unicode directory.
Some cleanups in cpmap.pl, use WCHAR instead of unsigned short.
2000-06-12 01:16: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 42cc2bdf46 Setup signal handling and exceptions only after REQ_INIT_PROCESS_DONE
has been sent, to avoid deadlocking the debugger.
2000-06-07 03:49:41 +00:00
Ulrich Weigand afd6a4b810 Updated support for Solaris/Sparc architecture. 2000-06-04 01:48:05 +00:00
Juergen Schmied cfeb6afda3 Stub for RtlConvertSidToUnicodeString. 2000-06-01 22:47:13 +00:00
Patrik Stridvall f0deb8a17e Fixed some issues reported by winapi_check. 2000-04-15 20:44:21 +00:00
Alexandre Julliard 0045def764 Fixed signal stack handling on Linux when sigaltstack is available.
Added a direct sigaltstack syscall to work-around the glibc bug.
2000-04-13 19:25:52 +00:00
Alexandre Julliard 51f6aeb462 Implemented guard pages and stack overflow exceptions. 2000-04-13 17:21:36 +00:00
Andreas Mohr e529d36010 Stub for NtAllocateUuids. 2000-04-13 15:56:40 +00:00
Patrik Stridvall fcfacb95a7 Added/fixed some documentation reported by winapi_check. 2000-03-24 20:46:04 +00:00
Patrik Stridvall 98fde73f14 Fixed some issues reported by winapi_check. 2000-03-24 20:43:33 +00:00
Patrik Stridvall d628f43693 Fixed some ANSI C violations. 2000-03-24 20:42:08 +00:00
Alexandre Julliard ea0d028a0b Added specific routines for OUTPUT_DEBUG_STRING and EXCEPTION debug events.
Generate a breakpoint event on process attach.
Misc cleanups in request handling.
2000-03-10 22:16:10 +00:00
Alexandre Julliard 00641d5b1c Removed PDB32_DEBUGGED flag and send all debug events unconditionally.
Implemented IsDebuggerPresent().
2000-03-08 16:41:37 +00:00
Alexandre Julliard 7d0dd5f327 Added DbgBreakPoint. Fixed exception record contents on SIGTRAP. 2000-03-07 13:10:21 +00:00
Dan Scott 4d8d8b5669 Fixed typos in _alldiv() and _allmul(). 2000-03-04 19:22:13 +00:00
Juergen Schmied 9f50d049ea Fixed definition of the RtlMemory functions. Use macros internally and
for Winelib, use real functions for exports from ntdll.
2000-02-26 19:35:50 +00:00
Alexandre Julliard 916f975624 Improved the selector get/set functions.
Support ANSI-compatible inline asm (with the help of Patrik Stridvall).
2000-02-26 16:51:13 +00:00
Patrik Stridvall 0ee98cc39f Fixed ANSI C violations. 2000-02-26 13:17:55 +00:00
Dmitry Timoshkov 6fdfd53eaa Do not overwrite the valid ObjectAttributes->RootDirectory.
Perform case insensitive comparison for the registry paths.
2000-02-25 21:37:21 +00:00
Andreas Mohr 63e8bd5d50 Added stub for RtlAssert(). 2000-02-20 13:47:28 +00:00
David Howells 53ec9f3287 Implemented isw*() wctype.h functions. 2000-02-13 15:04:24 +00:00
Alexandre Julliard 383da68cf9 Optimized debugging API to reduce code size. 2000-02-10 22:15:21 +00:00
Jeremy White d3e22d9d55 Removed #include of wingdi.h and windef.h from winuser.h (and resolved
the resulting compilation failures).
2000-02-10 19:03:02 +00:00
Ulrich Weigand 7d43bceb7e Moved debugger to libwine to make it available to WineLib apps.
Try to invoke external debugger if internal debugger crashes.
Try to handle early invocation of debugger more gracefully.
2000-01-30 21:16:45 +00:00
Alexandre Julliard 0dd3655fd0 Removed debugstr.h. 2000-01-29 19:49:58 +00:00
Juergen Schmied 6a9f1906a5 Small fix. 2000-01-27 05:39:44 +00:00
Alexandre Julliard fee65e4672 Don't crash when ObjectAttributes is NULL. 2000-01-26 01:39:51 +00:00
Alexandre Julliard cb1fc735f0 Changed the server to return STATUS_* error codes. 2000-01-24 21:58:06 +00:00
Alexandre Julliard 2646fb6047 Built a complete translation table for RtlNtStatusToDosError. 2000-01-24 20:59:45 +00:00
Juergen Schmied 02d45e52c5 - implementation of RtlReg* (read access), RtlEvent*, RtlSemaphore*,
NtAllocateLocallyUniqueId
- implementation or stubs for NtAccessCheck, NtSetSecurityObject,
  RtlClearBits, RtlEqualPrefixSid, RtlFindClearBits,
  RtlFormatCurrentUserKeyPath, RtlGetControlSecurityDescriptor,
  RtlIdentifierAuthoritySid, RtlImpersonateSelf, RtlInitializeBitMap,
  RtlInitializeGenericTable, RtlMakeSelfRelativeSD,
  RtlPrefixUnicodeString, RtlSetBits, RtlUnicodeToMultiByteN,
  RtlUpcaseUnicodeStringToOemString, RtlUpcaseUnicodeToOemN,
  RtlValidSid, RtlxUnicodeStringToOemSize
- corrected most RtlString* functions, added documentation
- more fixes and partial implementations
2000-01-23 22:35:33 +00:00
Adam Sacarny d2304aa893 Fix for compilers that don't support 'long long' (From Ove Kaaven). 2000-01-05 01:42:13 +00:00
Andreas Mohr 06b3475048 Added spec entry for _itoa. 2000-01-04 00:24:38 +00:00
Alexandre Julliard 6f715732e7 Make use of automatic ordinal allocation. 2000-01-01 22:06:18 +00:00
Juergen Schmied 044db46459 Stubs for LsaFreeMemory, LsaQueryInformationPolicy, LsaClose.
Small fixes.
1999-12-11 23:19:54 +00:00
Marcus Meissner eff4087da1 Added NtPowerInformation stub. 1999-12-10 03:27:15 +00:00
Alexandre Julliard ad47a30f5e Implemented waitable timers. 1999-11-29 01:58:35 +00:00
Juergen Lock ba6d54a4a6 Set/use fs/gs from the sigcontext struct, the corresponding kernel
change now finally has been MFC'd to -stable.
1999-11-25 23:17:58 +00:00
Alexandre Julliard 1d2ba529aa Added current context to the exception debug event sent to the server. 1999-11-24 01:24:50 +00:00
Niels Kristian Bech Jensen 1d5bc469cc Removed extra #include statements. 1999-11-21 02:14:36 +00:00
Ulrich Weigand eb94c7d2c4 Adapted to new register function handling. 1999-11-13 23:54:04 +00:00
Ulrich Weigand 6bba78e1e7 Moved GET_IP macro to winnt.h 1999-11-13 20:56:01 +00:00
Ulrich Weigand 65bc810555 Added signal handling for SPARC / Solaris. 1999-11-12 01:00:34 +00:00
Ulrich Weigand 248c75e613 (Preliminary) CONTEXT structure for SPARC added. 1999-11-10 20:18:53 +00:00
Ulrich Weigand ae8342df48 Bugfix: Exception handlers are *not* WINAPI. 1999-11-10 19:42:13 +00:00
Patrik Stridvall d7da486c96 Added spec file declarations for already implemented functions. 1999-10-24 21:35:16 +00:00
Patrik Stridvall 282b13bcdc Solaris compile fix. 1999-10-24 21:29:48 +00:00
Gerard Patel 5f3d3a8d78 Reorder parameters to fix position of base reg relative to exception
frame.
1999-10-23 23:55:50 +00:00
Patrik Stridvall e216de9794 Fixed some of the issues reported by winapi-check, by adding arguments
to varargs.
1999-09-29 10:27:00 +00:00
Alexandre Julliard de5e1af2bd Support TRAP_sig for FreeBSD (with the help of Juergen Lock). 1999-09-28 13:15:27 +00:00
Alexandre Julliard 3d06d20bab Moved all signal support to a new platform-specific file.
Make use of the per-thread signal stack (Juergen Lock).
Fixed %fs in signal handler for non FS_sig case (Ulrich Weigand).
1999-09-27 10:58:45 +00:00
Juergen Schmied f53d7b3cbd Do not set EH_NONCONTINUABLE. 1999-09-22 15:25:45 +00:00
Juergen Lock 808403fe6f Fix EXC_segv for the TRAP_sig undefined case (eg FreeBSD). 1999-09-03 12:46:38 +00:00
Alexandre Julliard 89f079bfd1 Replaced a few calls to lstr* functions by their CRTDLL or libc
equivalent.
1999-08-08 18:54:47 +00:00
Alexandre Julliard d229b98c61 Reimplemented multi-byte and wide-chars functions to not depend on
lstr* functions; added a few missing ones; fixed a couple of bugs.
1999-08-08 18:47:59 +00:00
Alexandre Julliard bdf83bc546 Removed SIGNAL_MaskAsyncEvents and cleaned up signal handling. 1999-08-01 14:54:16 +00:00
Alexandre Julliard b375678277 Changed INSTR_EmulateInstruction to use a CONTEXT86 instead of a
SIGCONTEXT.
1999-08-01 12:15:12 +00:00
Patrik Stridvall b8684a266b Fixed some of the issues reported by winapi-check. 1999-07-31 17:32:05 +00:00
Ulrich Weigand daed93ee99 Moved .spec files to corresponding dlls/ directory. 1999-07-25 13:14:13 +00:00
Patrik Stridvall a4b80d4495 Fixes for compile on non-Intel platforms. 1999-07-04 11:05:57 +00:00
Alexandre Julliard 617955db88 Changed CONTEXT into CONTEXT86 everywhere we really want an i386
context.
Added #ifdef __i386__ around accesses to 386 registers in the generic
CONTEXT structure.
1999-06-26 18:40:24 +00:00
Patrik Stridvall 1ed4ecffa8 ANSI C fixes.
Removed warnings.
Made the include files self-sufficient.
Some Solaris fixes.
1999-06-26 14:58:24 +00:00
Alexandre Julliard 0a860a01f9 Merged THDB and TEB structures.
Made SetLastError(), GetCurrentThreadId() and PROCESS_Current() inline.
1999-06-22 11:43:42 +00:00
Alexandre Julliard 1eeed68514 Moved signal handling to exception.c, generate exceptions on signals.
Added hook for debugger in exception handling (temporary).
1999-06-18 18:21:24 +00:00
Patrik Stridvall fdcfdb9a6d Added missing/wrong includes. 1999-06-12 14:55:11 +00:00
Alexandre Julliard d131a17ee0 Use the new debug functions to send debug events at appropriate places.
Pass the process creation flags to PROCESS_Create.
1999-05-23 20:02:04 +00:00
Alexandre Julliard 156570906f Converted to the new debug interface, using script written by Patrik
Stridvall.
1999-05-23 10:25:25 +00:00
Alexandre Julliard 0a277b638c Adapted for new register functions support (ESP_reg in register
functions now points after the arguments).
1999-05-13 16:21:37 +00:00
Alexandre Julliard 3b3ff2bb06 Added macros and definitions for using exception inside Wine or
Winelib code.
1999-05-12 13:10:39 +00:00
Alexandre Julliard dd93d25577 Improved exception handling.
Based on the work of Sergey Turchanov <turchanov@usa.net>.
1999-05-09 16:12:19 +00:00
Patrik Stridvall 896889f317 ANSI C fixes. 1999-05-08 12:50:36 +00:00
Patrik Stridvall a9a671d7ca Fixed ANSI compabillity. 1999-04-25 19:01:52 +00:00
Patrik Stridvall 0f8bc5b5c7 Fixed ANSI compabillity. 1999-04-22 16:27:50 +00:00
Patrik Stridvall b4b9fae671 New debug scheme with explicit debug channels declaration. 1999-04-19 14:56:29 +00:00
Juergen Schmied d1f10c50ef Implemented NtTerminateProcess and NtDisplayString. 1999-04-11 14:53:24 +00:00
David Luyer 26cd7a17f1 Added string.h. 1999-03-25 15:57:35 +00:00
Marcus Meissner e9437c73c1 Added #ifdef HAVE_WCTYPE_H. 1999-03-12 17:28:09 +00:00
Juergen Schmied 026d9db8c5 - sorted API by groups
- new stubs:  NtQueryDirectoryFile,  ZwQueryDirectoryFile
- impl.: RtlAllocateHeap, RtlCreateHeap, RtlDestroyHeap, RtlFreeHeap,
  RtlGetDaclSecurityDescriptor, RtlGetSaclSecurityDescriptor
- impl. by Rex Jolliff (rex@lvcablemodem.com): RtlTimeToTimeFields,
  RtlTimeFieldsToTime
1999-03-09 17:47:51 +00:00
Alexandre Julliard a396029270 Large-scale renaming of all Win32 functions and types to use the
standard Windows names.
1999-02-26 11:11:13 +00:00
Juergen Schmied 3426d85319 - made the security functions consistent. advapi calls down to ntdll now
- new SetSecurityDescriptorGroup,  SetSecurityDescriptorOwner,
  SetSecurityDescriptorSacl, GetSecurityDescriptorDacl
- nt-header cleanup
1999-02-19 16:29:05 +00:00
Huw D M Davies 34acebc14b Fixed a few broken includes. 1999-02-19 16:03:19 +00:00
Francois Gouget 289211cc3b Fixed a number of warnings concerning the matching of the printf
format string and the associated parameters (actually it's mostly
TRACE and FIXMEs).
1999-02-17 16:15:11 +00:00
Marcus Meissner 317af320cf Optimized include/*.h: (recursively) include all headers needed by
this .h file, but only those. Necessary fixes to a lot of .c files,
started optimizing "windows.h" away from some of them. Moved
GetCurrentTask prototype to wine/winbase16.h.
1999-02-17 13:51:06 +00:00
Juergen Schmied 6f4435b104 - documented most of the undocumented functions in nt.c
- implemented RtlGetDaclSecurityDescriptor
- stubs for NtEnumerateKey, NtOpenSymbolicLinkObject, NtQueryKey
- stubs for NtRaiseException, RtlRaiseException (this both will crash)
1999-02-13 07:35:31 +00:00
Alex Korobka 6479f0fab2 Added an implementation of MRSW locks. 1999-01-31 09:24:44 +00:00
Marcus Meissner 03479f8adb Fixed a lot of warnings for possible problems. 1999-01-28 10:06:38 +00:00
Alexandre Julliard 8da12c43a9 Group commit for recovery after disk crash.
See Changelog for changes WRT release 990110.
1999-01-17 16:55:11 +00:00
Alexandre Julliard 638f169b1e Recovery of release 990110 after disk crash.
See Changelog for changes between 990103 and 990110.
1999-01-17 16:32:32 +00:00
Juergen Schmied 276ef66cc8 New stubs. 1998-12-24 14:34:55 +00:00
Andreas Mohr 7a6228d1e1 Fixed a bunch of compiler warnings. 1998-12-11 09:16:48 +00:00
Juergen Schmied 42e68a6aab Stubs: SetServiceStatus, RegisterServiceCtrlHandlerA/W,
StartServiceCtrlDispatcher32A/W, RtlSystemTimeToLocalTime,
RtlTimeToTimeFields.
1998-11-14 16:43:19 +00:00
Marcus Meissner 51505b12b3 More Nt* and Rtl* function stubs, moved ntdll.c to dlls/ntdll/. 1998-11-01 14:00:21 +00:00