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
Alexandre Julliard
84555cc771
Generate the __ASM_NAME and __ASM_FUNC macros directly from
...
configure.
Simplified the WINE_TRY_ASM_LINK test.
Moved DECL_GLOBAL_CONSTRUCTOR to wine/port.h.
2002-07-22 20:51:02 +00:00
Alexandre Julliard
65c6d38581
Replace all uses of PREFIX and @function by the __ASM_NAME and
...
__ASM_FUNC macros.
2002-07-22 20:47:11 +00:00
Patrik Stridvall
a3868218d0
Fixed some issues found by winapi_check.
2002-07-19 00:30:16 +00:00
Admiral Coeyman
9cb2b210aa
Added support for FPU emulation interrupts.
2002-07-10 23:22:29 +00:00
Gregg Mattinson
2e38a17021
Void functions can't return a value, even if it is the return value
...
from another void function.
2002-07-03 01:20:07 +00:00
Alexandre Julliard
82696f43ee
Make sure allocated blocks are aligned on an 8-byte boundary.
2002-07-01 18:41:47 +00:00
Gregg Mattinson
2f4ae7ba2c
Avoid alignment problem in NtQuerySystemTime.
2002-07-01 18:14:27 +00:00
Gregg Mattinson
07db325edb
Implemented DbgBreakPoint and DbgUserBreakPoint for Sparc. Debugger
...
must already be attached for this implementation to work.
2002-06-21 20:10:07 +00:00
Alexandre Julliard
77afd6c47e
Made some more spec file entries optional or unnecessary.
...
Fixed a few DLLName/DLLFileName mismatches.
2002-06-21 19:15:45 +00:00
Alexandre Julliard
1c40426e95
Removed install_libdir targets and centralized the symlinks creation
...
in the main dll makefile.
2002-06-14 02:09:08 +00:00
Mike McCormack
55d1ea7c75
Partially implement NtOpenFile and NtReadFile.
2002-06-14 00:36:20 +00:00
François Gouget
103295c769
Reset signals to SIG_DFL before starting a child process.
2002-06-13 21:57:38 +00:00
Alexandre Julliard
4301d3e5c6
Restored MakeCriticalSectionGlobal that got lost somewhere.
2002-06-13 21:46:46 +00:00
Alexandre Julliard
f8d321c2d6
Don't try to open CDROM device if none was specified.
2002-06-13 21:46:02 +00:00
Mike McCormack
4e73595a0d
- Partially implement LdrGetDllHandle.
...
- Implement LdrGetProcedureAddress.
2002-06-10 02:28:00 +00:00
Eric Pouech
0d588a4a82
Fixed DebugBreakProcess (now generates EXCEPTION_BREAKPOINT instead of
...
EXCEPTION_SINGLE_STEP).
2002-06-02 21:36:39 +00:00
Eric Pouech
93bfa0d6b1
Implementation for console control events (includes process groups
...
support).
2002-06-02 21:22:22 +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
Alexandre Julliard
be367c7270
Added wine_server_fd_to_handle to replace FILE_DupUnixHandle.
2002-05-30 20:40:02 +00:00
Alexandre Julliard
5aead170c2
Portability fixes.
2002-05-30 20:07:51 +00:00
Alexandre Julliard
94152d5038
Fixed some alignment issues (based on a patch by Gregg Mattinson).
2002-05-29 17:04:10 +00:00
James Juran
32886f6b88
Add missing \n to output messages.
2002-05-24 21:17:59 +00:00
Alexandre Julliard
7fbd74ea55
Replaced the GET/PUT_UA macros by memcpy. Fixed a few big-endian
...
issues.
2002-05-23 02:53:10 +00:00
Francois Gouget
3009185c0a
Dump thread id instead of %fs.
2002-05-20 18:00:46 +00:00
Alexandre Julliard
35389149de
Export the debug API as functions instead of pointers.
...
A few other import fixes for Mingw.
2002-05-19 22:29:01 +00:00
John K. Hohm
454d99f0a2
More comcat.dll implementation, swprintf fix, winerror.h additions.
2002-05-19 22:27:41 +00:00
Andreas Mohr
7632452e96
- Improve error messages.
...
- Add error code mapping EPERM -> STATUS_ACCESS_DENIED.
2002-05-19 22:23:56 +00:00
Vincent Béron
244462cc70
Correct implementation of VerSetConditionMask.
2002-05-19 22:20:09 +00:00
Alexandre Julliard
0aa28b5b8d
Export the debugging API from libwine instead of ntdll.
...
Removed debugres_[aw].
2002-05-17 02:55:48 +00:00
Alexandre Julliard
702b158e70
Export global argc/argv variables from libwine and remove the
...
__wine_get_main_args functions from ntdll.
2002-05-16 23:16:01 +00:00
Alexandre Julliard
59008670be
Moved the selector access functions out of winnt.h into libwine.
2002-05-16 20:32:16 +00:00
Alexandre Julliard
9b6f433ebb
Implemented strtolW/strtoulW in libwine_unicode and used it to replace
...
wcstol and friends.
2002-05-16 18:58:47 +00:00
Alexandre Julliard
c3e06df941
Portability fixes.
2002-05-14 23:18:23 +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
9bb05fc48e
Specify the complete source file list for a dll inside the main
...
makefile and get rid of the subdirectories makefiles.
2002-05-14 18:36:54 +00:00
Juergen Schmied
5ec1b0d121
Corrected RtlConvertSidToUnicodeString, stub for VerSetConditionMask.
2002-05-09 20:30:52 +00:00
Juergen Schmied
76a9fa12f7
Types and partial implementation for NtQueryVolumeInformationFile.
2002-05-09 19:40:30 +00:00
Rizsanyi Zsolt
e7c6d17b3e
Implemented IOCTL_SCSI_GET_ADDRESS for non true scsi cdrom drives
...
(only on linux).
Initialize registry under HKEY_LOCAL_MACHINE/HARDWARE/DEVICEMAP/Scsi.
Added IOCTL_CDROM_MEDIA_REMOVAL support.
2002-05-01 22:25:41 +00:00
Laurent Pinchart
b50a532aff
Fixed NtQueryInformationProcess to return correct information and
...
error code for ProcessDebugPort when no debugger is attached.
2002-05-01 22:02:02 +00:00
Laurent Pinchart
0314a65a58
Implementation of IOCTL_SCSI_PASS_THROUGH and
...
IOCTL_SCSI_PASS_THROUGH_DIRECT.
2002-05-01 22:01:30 +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
Alexandre Julliard
894b188fcf
Moved __ASM_GLOBAL_FUNC macros and interlocked functions to port.[ch]
2002-04-25 21:40:56 +00:00
Gerald Pfeifer
4e589cd171
Use ENOMEDIUM errno code only when defined.
2002-04-02 19:19:49 +00:00
Alexandre Julliard
ed8218791c
Fixed length handling in RtlUnicodeStringToAnsi/OemString.
2002-04-02 02:43:53 +00:00
Francois Gouget
0763abf115
Fix warnings for Linux, FreeBSD and Solaris.
2002-04-01 21:08:16 +00:00
Andreas Mohr
66c72d0bf3
Added mapping for errno ENOMEDIUM to STATUS_NO_MEDIA_IN_DEVICE.
2002-03-29 17:57:43 +00:00
Alexandre Julliard
8d1550d1c6
Export the FILE_GetUnixHandle functionality from ntdll.
2002-03-23 18:48:12 +00:00
Alexandre Julliard
c1bfca04e1
Changed builtin dlls file names to make it clear they are not normal
...
Unix libraries, and install them in $libdir/wine instead of $libdir to
avoid name conflicts in /usr/lib.
2002-03-20 22:19:06 +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
Peter Hunnisett
73ab649ced
New file msvcrt/excpt.h. Move some stuff out of winnt.h into it.
2002-02-25 20:10:35 +00:00
Peter Hunnisett
3290038929
Add spec stub for RtlGetNtVersionNumbers.
2002-02-22 21:21:38 +00:00
Patrik Stridvall
651a8ba880
Added some defines for compatibility with Windows headers.
2002-02-15 19:12:35 +00:00
Dmitry Timoshkov
1e55094e8a
Added LdrDisableThreadCalloutsForDll.
2002-01-29 18:30:16 +00:00
Dmitry Timoshkov
263341484c
Fixed RtlAddAccessAllowedAce return value.
2002-01-29 18:17:46 +00:00
Francois Gouget
7aa67c1d6a
Make the Wine trace facilities accessible from Winelib applications.
2002-01-21 23:39:36 +00:00
Bang Jun-Young
8121e941a2
Fix NetBSD compile errors; CDIOCREADAUDIO is not available on NetBSD.
2002-01-18 18:11:04 +00:00
Francois Gouget
aae77c6da2
Fix compilation errors on FreeBSD.
2002-01-14 18:34:34 +00:00
Eric Pouech
5cc6105b39
Changed the Wine internal cdrom interface to the NT model.
2002-01-13 01:44:00 +00:00
Alexandre Julliard
466b2b474a
Updated debug channels.
2002-01-12 21:17:10 +00:00
Alexandre Julliard
c77c4df35e
Allocate debug_info structure at the same time as the TEB.
...
Removed the TEB cleanup service.
2002-01-07 18:03:14 +00:00
Alexandre Julliard
50c6b74a34
Added SIGNAL_Reset function.
2002-01-07 18:02:35 +00:00
Alexandre Julliard
7c822cc0dc
Removed obsolete dosmod.
2002-01-06 18:38:45 +00:00
Ove Kaaven
4eb0bebd90
Fixed vm86_enter race conditions.
2002-01-04 21:57:04 +00:00
Dmitry Timoshkov
4e78461b5e
Print FIXME() for not implemented NtQueryVolumeInformationFile.
2002-01-04 18:24:51 +00:00
Ove Kaaven
d553a9b000
Made the output of --debugmsg +seh a bit more verbose.
2002-01-02 21:44:05 +00:00
Alexandre Julliard
b0f586178a
Moved heap functions to ntdll.
...
Got rid of internal heap flags.
Reimplemented MapLS to not depend on the segptr heap.
2001-12-19 19:16:27 +00:00
Alexandre Julliard
7662ea1004
Made register and interrupt flags instead of entry point types, so
...
that we can have both stdcall and cdecl register functions.
Changed 16-bit .spec.c file generation to avoid including builtin16.h.
2001-12-14 23:14:22 +00:00
Alexandre Julliard
eb9a863116
Exported CALL32_Regs from ntdll, renamed to __wine_call_from_32_regs
...
to follow the naming convention for this type of functions.
Split 16 and 32-bit relay functions into separate files, and moved the
32-bit ones to dlls/ntdll.
2001-12-11 00:50:33 +00:00
Alexandre Julliard
996c0bff59
Removed ntdll dependency on MultiByteToWideChar/WideCharToMultiByte
...
kernel32 functions, plus a few small cleanups.
2001-12-05 22:14:57 +00:00
Alexandre Julliard
8cd55d0eba
Moved most of the real-mode stuff to dlls/winedos.
2001-12-04 19:54:44 +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
Alexandre Julliard
b0fa2a8ca8
Fixed registry routines broken by the structure sizes fix.
2001-11-24 03:41:37 +00:00
Dmitry Timoshkov
6b6596a1e3
Fixed packing and layout of many system structures.
2001-11-23 18:44:43 +00:00
Francois Gouget
ea31cf0a57
Fix LUID definition.
2001-11-20 18:52:20 +00:00
Francois Gouget
070e749cfb
Don't prefix %p with 0x.
...
Various English fixes.
2001-11-06 21:01:32 +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
Ove Kaaven
bf1e9682f4
Protect against an interrupt-pending signal recursion.
2001-10-28 21:16:22 +00:00
Francois Gouget
3bb9a36ee0
Spelling, grammar and a bit of comment formatting fixes.
2001-10-22 19:04:32 +00:00
David Elliott
bfa70fe642
Implemented the wcstoul function.
2001-10-22 18:58:21 +00:00
Alexandre Julliard
6ca71d39b2
Avoid crashing on non-initialized debug info.
2001-10-21 15:04:04 +00:00
Johan Gill
42a074dfcd
Relay tracing would crash if it came upon a function call with an
...
invalid pointer as a parameter.
2001-10-17 19:39:22 +00:00
Francois Gouget
e5ddd26dd7
When including config.h, include it first.
2001-10-14 16:18:52 +00:00
Huw D M Davies
899861d130
Better handling of typelibs loaded with a trailing resource number.
...
The logic for determining whether an SLTG typelib has a function param
as a 'short' or 'long' type has been 'refined'.
2001-09-26 23:05:35 +00:00
Patrik Stridvall
3c0211f969
Cleanup code that is strange or difficult to parse.
2001-09-11 00:32:32 +00:00
Johann Messner
4014c74e14
Fixed bug in _ultoa.
2001-09-07 19:48:31 +00:00
Dmitry Timoshkov
29fdbe9f98
Correct .spec file parameters for msvcrt._fullpath and ntdll._splitpath.
2001-09-07 15:25:31 +00:00
Alexandre Julliard
301df6b5cd
Added names to standard critical sections (suggested by Andreas
...
Mohr).
2001-08-16 18:12:56 +00:00
Jörg Mayer
e5b5af9d66
Fixed a few signed/unsigned and "unsigned < 0 always true" warnings.
2001-08-10 22:49:35 +00:00
Alexandre Julliard
e994d5036e
Added Interlocked*Pointer functions.
...
Fixed InterlockedCompareExchange prototype.
2001-08-09 21:21:13 +00:00
Dmitry Timoshkov
9a57ef4de1
Fix a typo.
2001-07-26 21:41:22 +00:00
Alexandre Julliard
1922c72b8a
Removed unnecessary inclusion of heap.h.
2001-07-25 00:43:29 +00:00