Alexandre Julliard
aaf3503ea5
Moved almost all remaining process, thread, fiber and exception
...
functions to dlls/kernel.
2003-09-17 05:31:32 +00:00
Alexandre Julliard
1479aebda3
Moved instruction emulation to dlls/kernel.
2003-09-17 04:34:31 +00:00
Steven Edwards
c07808a04b
Remove redundant includes.
2003-09-17 04:16:51 +00:00
Alexandre Julliard
65e7196fed
Moved most kernel string functions to dlls/kernel.
2003-09-16 20:35:42 +00:00
Alexandre Julliard
0f170015f1
Moved most 32-bit heap functions to dlls/kernel.
2003-09-16 20:34:14 +00:00
Eric Pouech
9fd54b2838
- Implemented a few information classes in NtQuerySystemInformation.
...
- Added handle information to (wineserver) process snapshot.
2003-09-16 01:07:21 +00:00
Francois Gouget
ae50013017
Fix the case of product and company names.
2003-09-08 19:38:45 +00:00
Alexandre Julliard
2eb5d8b9b1
On TlsFree, clear the released TLS index in all threads.
2003-09-08 19:02:01 +00:00
Alexandre Julliard
e37c6e18d0
Fixed header dependencies to be fully compatible with the Windows
...
headers (with help from Dimitrie O. Paun).
2003-09-05 23:08:26 +00:00
Alexandre Julliard
80e34dbb66
Moved the implementation of the pthread wrappers to dlls/kernel.
2003-09-03 00:26:08 +00:00
Alexandre Julliard
ca3bfd8318
Export SYSDEPS_SwitchToThreadStack() functionality from libwine as
...
wine_switch_to_stack().
2003-08-29 22:23:42 +00:00
John K. Hohm
a3f6410f9e
Set SE_GROUP_ENABLED in Attributes of Administrators SID during
...
NtQueryInformationToken for TokenGroups.
2003-08-29 22:10:53 +00:00
Alexandre Julliard
7df1b9e03a
Start using the exported TEB structure from winternl.h where
...
possible.
2003-08-28 19:57:35 +00:00
Dave Belanger
06da8c2869
Fixed a compile error.
2003-08-28 19:39:42 +00:00
Alexandre Julliard
b91e9cb3e6
Renamed a few more TEB fields.
2003-08-28 03:44:41 +00:00
Alexandre Julliard
ee106783d0
Renamed EXCEPTION_FRAME to EXCEPTION_REGISTRATION_RECORD since that
...
seems to be the official name.
2003-08-28 03:07:56 +00:00
Alexandre Julliard
02f2813968
Renamed a few TEB fields to use the "official" names.
2003-08-27 23:14:29 +00:00
Alexandre Julliard
bf97962a51
Avoid including stackframe.h if it's not needed.
2003-08-27 02:52:17 +00:00
Alexandre Julliard
94463d7bbe
Moved profile functions to dlls/kernel.
2003-08-26 02:54:37 +00:00
Alexandre Julliard
0ac9690081
Moved 16-bit relay and snoop support to dlls/kernel.
2003-08-26 02:28:59 +00:00
Alexandre Julliard
3be5d62b29
Moved 16-bit calls initialization and exception handling to kernel32.
...
Store the call_to_16 return address on the stack from the C code so
that we don't need two variants of call_to_16_regs.
2003-08-25 00:56:37 +00:00
Alexandre Julliard
9ca159b61a
Moved 16-bit builtin module handling to dlls/kernel/ne_module.c.
2003-08-23 23:07:10 +00:00
Alexandre Julliard
af62e83d1c
Got rid of 16-bit glue code generation since it is no longer used.
2003-08-23 00:45:20 +00:00
Alexandre Julliard
5fbb446cfc
Moved most of the 16-bit task support and NE module loader to
...
dlls/kernel.
2003-08-23 00:03:40 +00:00
Alexandre Julliard
aee989a7ed
Store the debug info structure on the thread stack.
...
Moved thread initialization code from sysdeps.c to thread.c to avoid
an indirection.
2003-08-21 21:34:33 +00:00
Alexandre Julliard
864ca06832
winnls.h must not include winbase.h.
2003-08-20 18:22:31 +00:00
Dmitry Timoshkov
4aec75f017
Apply only specified tests.
...
Implement IS_TEXT_UNICODE_REVERSE_SIGNATURE, IS_TEXT_UNICODE_STATISTICS
and IS_TEXT_UNICODE_NULL_BYTES tests.
Revert IS_TEXT_UNICODE_ODD_LENGTH test.
2003-08-20 03:34:45 +00:00
Alexandre Julliard
9b8a0595bc
_ftol should return a 64-bit int (spotted by Jon Griffiths).
2003-08-19 01:03:08 +00:00
Jon Griffiths
08922859c6
Make RtlTimeToSecondsSince1970 consistent with other time calls.
...
Documentation fixes.
2003-08-19 00:56:34 +00:00
Jon Griffiths
228f22e967
Add some new types and functions.
...
Remove ITU_IMPLEMENTED_TESTS, its not part of the Win32 Api.
2003-08-18 19:54:13 +00:00
Eric Pouech
a851c88001
Regression fixes for Nt{Read|Write}File:
...
- actually block in TIMEOUT mode
- in overlapped mode, if any data is already available then process it
without returning a pending status code
2003-08-18 19:45:53 +00:00
Alexandre Julliard
03d7998970
Moved __errno_location() handling to pthread.c, and added similar
...
handling for __res_state().
2003-08-15 03:55:06 +00:00
Alexandre Julliard
52b9cedb8e
Don't try to allocate the debug info before the process heap exists.
2003-08-13 01:09:45 +00:00
Alexandre Julliard
19b6a49845
Allocate DebugInfo field for all critical sections (based on a patch
...
by Alex Pasadyn).
Get rid of the Wine-specific CRITICAL_SECTION_INIT macro.
2003-08-12 23:50:54 +00:00
Alexandre Julliard
06e34ffc12
Minor tracing fix.
2003-08-12 20:34:06 +00:00
Alexandre Julliard
97d862c93c
Fixed the pthread wrappers to work with the new glibc/linuxthreads
...
interface in glibc 2.3.2.
2003-08-12 18:59:13 +00:00
Alexandre Julliard
d7fca891e9
Avoid non-portable long long constants.
2003-08-06 22:09:11 +00:00
Alexandre Julliard
8669193d11
Properly free thread stacks on NPTL systems.
2003-08-02 00:44:25 +00:00
Mike McCormack
36cd6f5dbb
Added a security token object in wineserver.
2003-07-24 00:07:00 +00:00
Pierre d'Herbemont
8eb55b8892
Added PowerPC support in SYSDEPS_SwitchToThreadStack.
2003-07-24 00:02:40 +00:00
Marcus Meissner
20ea3a2d52
Added missing register defines for Linux/PPC.
2003-07-21 20:03:07 +00:00
Jon Griffiths
3c95046d03
Fix -W warnings.
2003-07-19 03:06:03 +00:00
Alexandre Julliard
0fb0f2a306
Print status codes in hex.
2003-07-18 23:00:49 +00:00
Jon Griffiths
7787587587
Documentation updates.
2003-07-18 22:55:28 +00:00
Jon Griffiths
b62fb40f54
Added some new Rtl* tests.
2003-07-18 22:55:15 +00:00
Pierre d'Herbemont
3b9f280d81
Change __darwin__ to __APPLE__.
2003-07-16 23:29:40 +00:00
Pierre d'Herbemont
41670d3ed7
Added support for the TEB on Mac OS X.
2003-07-16 23:29:14 +00:00
Francois Gouget
3ca761220a
Spelling fixes (s/occured/occurred/ and variants).
2003-07-15 20:53:39 +00:00
Paul Rupe
eede817da2
register_new_async sets status already. Do not overwrite it with the
...
function's return value.
2003-07-11 21:44:17 +00:00
Alexandre Julliard
09029b2878
Implemented the SMTO_ABORTIFHUNG flag of SendMessageTimeout.
2003-07-11 04:09:42 +00:00
Dmitry Timoshkov
14d766845c
Fix spec entry for ZwSetTimerResolution.
2003-07-09 19:44:51 +00:00
Alexandre Julliard
4f196ead13
Implemented the ThreadBasicInformation case for
...
NtQueryInformationThread.
2003-07-09 02:57:57 +00:00
Mike McCormack
99c67eefcd
Null parameters need to be quoted on the commandline.
2003-07-09 02:50:15 +00:00
Alexandre Julliard
4f4b980c1e
Implemented NtRead/WriteVirtualMemory.
2003-07-08 21:18:45 +00:00
Alexandre Julliard
d9780a8b3e
Fixed compile when functions are not inlined.
2003-07-03 18:12:38 +00:00
Francois Gouget
14a5d168e9
Fixed some common spelling errors.
2003-07-02 04:37:26 +00:00
Eric Pouech
675b75597b
- removed next & prev fields from WINE_MODREF and implement instead
...
the three linked lists in LDR_MODULE
- added PEB_LDR_DATA structure to PEB
- removed a couple of no longer needed global & static variables
2003-07-01 03:38:56 +00:00
Jukka Heinonen
2a3ce4c425
Start processing asynchronous DOS events in DPMI mode.
2003-07-01 03:37:41 +00:00
Alexandre Julliard
217fdab78f
Implemented NtDelayExecution and make Sleep call it.
...
The handle count must not be 0 in NtWaitForMultipleObjects (spotted by
Troy Rollo).
2003-06-30 21:00:15 +00:00
Dmitry Timoshkov
85d4281616
Implement LCMapString using unicode collation tables.
...
Move CompareString and LCMapString to dlls/kernel/locale.c.
2003-06-27 19:02:23 +00:00
Alexandre Julliard
4cb212063b
Moved some of the process functions to dlls/kernel.
...
Removed kernel dependencies from sysdeps.c and moved it to dlls/ntdll.
2003-06-27 04:08:04 +00:00
Alexandre Julliard
b379334271
Make sure to return an error if load_dll fails because the load order
...
is empty.
2003-06-27 04:06:23 +00:00
Troy Rollo
b58e121326
Removed FIXME when loading second exe file.
2003-06-27 04:05:27 +00:00
Eric Pouech
9bd4f6bf15
- made async.h ready for use in ntdll: replaced all calls to kernel32
...
functions with ntdll equivalent
- replaced status setter/getter for wine async structures with direct
access to a (now included) IO_STATUS_BLOCK structure
- since we now have a IO_STATUS_BLOCK in async_private, we no longer
need in most of the user (derivated) structures a field for
LPOVERLAPPED (it's stored as the IO_STATUS_BLOCK)
- rewrote the async.h users accordingly
- implemented ntdll.Nt{Read|Write}File and let
kernel32.{Read|Write}File(Ex)? use those new ntdll functions
- rewrote smb read/write interfaces to be more ntdll stylish (no
overlapped yet)
2003-06-26 02:08:17 +00:00
Eric Pouech
583bb3fd3e
- started implementing ntdll.NtDeviceIoControlFile and made
...
kernel32.DeviceIoControl call it
- changed cdrom ioctl function's prototype to stick to
ntdll.NtDeviceIoControlFile signature
2003-06-24 19:28:21 +00:00
Alexandre Julliard
dc4b0c7655
Moved tape.c to dlls/kernel.
...
Moved critical section and resource update functions to dlls/kernel.
Started moving some of the thread functions too.
2003-06-24 03:34:15 +00:00
Eric Pouech
f6a70969e1
- start moving a few file related functions from files/file.c to
...
dlls/kernel subdir (also splitting 16bit APIs in a separate file)
- implemented ntdll.Nt{Lock|Unlock}File, and made use of those for the
kernel32 equivalent
- implemented a few information classes in NtQueryInformationFile and
NtSetInformationFile (still lots of missing classes)
- enhanced the get_file_info server request in order to implement
correctly NtQueryInformationFile (change time & file alloc size)
- rewrote registry loading to comply with latest changes
2003-06-24 02:32:01 +00:00
Eric Pouech
c962a6997c
- in kernel32, replaced all {Enter|Leave}CriticalSection calls with
...
ntdll counterparts
- {Enter|Leave}CriticalSection is now a pure forward from kernel32 to
ntdll (we now longer can use {Enter|Leave}CriticalSection in kernel32)
- replaced a few kernel32 heap management calls from ntdll, with
RtlHeap* equivalents
2003-06-23 18:12:28 +00:00
Eric Pouech
415dfa63e5
Fixed section mapping in PE loading when both
...
IMAGE_SCN_CNT_UNINITIALIZED_DATA and IMAGE_SCN_CNT_INITIALIZED_DATA
are set.
2003-06-21 02:02:27 +00:00
Francois Gouget
9591836ffb
'sizeof type' is best avoided as it won't always compile (e.g. 'int
...
main() {return sizeof int;}'). Use 'sizeof(type)' instead.
2003-06-18 19:45:22 +00:00
Francois Gouget
c5f775a9c7
Typos/spelling fixes.
2003-06-18 03:30:39 +00:00
Eric Pouech
9d0fa2f02e
- kernel32's environment tests: a few more tests now succeed
...
- added some console related tests to process creation
- added a few more test cases to the ntdll environment tests
2003-06-18 03:24:20 +00:00
Eric Pouech
b53b5bcb50
- fixed a couple of bugs in ntdll environment functions (one in trace,
...
the other one in environment variable expansion)
- the process parameters, when passed thru wineserver, are now fully
handled in ntdll, they are stored in the RTL_USER_PROCESS_PARAMETERS
structure.
- later on in kernel32 loading sequence, those parameters are copied
into STARTUPINFO shadow structures
- later modification to those paramters are now reflected to the
RTL_USER_PROCESS_PARAMETERS structure (and STARTUPINFO is kept
untouched) (for example, StdHandle setting) (Win 2k behaves like this)
- ENVDB has been removed
- command line inheritance (from unix command line) is now purely in ntdll
- all kernel32 environment functions now rely on their ntdll counterparts
- goodies: input/output handle inheritance while asking for a detached
console is better handled; a few more kernel32 environment tests now
pass ; silenced a valgrind warning in process creation
2003-06-18 03:23:22 +00:00
736ff98510
Added AddAccessAllowdAceEx, AddAccessDeniedAceEx, GetAclInformation.
2003-06-16 19:44:06 +00:00
Mike Hearn
25b4d10138
Add the ID of the blocking thread to the error message.
2003-06-16 19:36:22 +00:00
Eric Pouech
2e5cdf95da
Implemented:
...
- RtlDoesFileExists_U as a stub
- RtlDosSearchPath_U
2003-06-16 01:24:30 +00:00
Jukka Heinonen
ae906923a1
Remove SIGALRM handler.
...
Reserve TEB field for DPMI virtual interrupt flag.
2003-06-16 01:18:26 +00:00
Eric Pouech
1bb3859ece
Added support for overlapped ioctl requests (and a few other
...
cosmetics).
2003-06-13 16:33:50 +00:00
Eric Pouech
8638b26483
Correctly convert into EXCEPTION_RECORD SIGTRAPs received from
...
DebugBreakProcess.
2003-06-07 00:33:13 +00:00
Yorick Hardy
4b1f667e73
Improve CDROM_GetIdeInterface (becomes CDROM_GetInterfaceInfo), in
...
order to better support SCSI drives.
2003-06-04 20:15:59 +00:00
Yorick Hardy
6dd0685f74
Use SA_RESTART on NetBSD.
2003-06-04 20:15:10 +00:00
Jukka Heinonen
38fa857648
Timer routines must check for NULL timer name.
2003-06-04 20:14:24 +00:00
Alexandre Julliard
6bc5091160
Start to make use of the proper PEB structure for process
...
information.
2003-05-22 03:44:01 +00:00
Alexandre Julliard
78d108b964
Moved misc/error.c to dlls/kernel/error16.c.
...
Get rid of misc/main.c.
2003-05-21 18:31:01 +00:00
Alexandre Julliard
81e72d8f2d
Moved all process initialisation code to process.c and removed
...
loader/main.c.
2003-05-20 19:21:43 +00:00
Eric Pouech
b350438074
Implemented NtQueryObject and NtSetInformationObject for the
...
ObjectDataInformation class.
2003-05-20 19:20:42 +00:00
Yorick Hardy
d1d5ca539d
Implement CDROM_ScsiPassThrough and CDROM_ScsiPassThroughDirect on
...
NetBSD.
2003-05-20 19:17:04 +00:00
Alexandre Julliard
b2f32bc604
Moved system.dll implementation to dlls/kernel.
2003-05-20 17:50:59 +00:00
Eric Pouech
c00a4473bd
Implement anonymous pipes on top of named pipes.
2003-05-20 04:32:53 +00:00
Alexandre Julliard
9bf3ac619e
Moved timer functions to dlls/kernel.
2003-05-20 04:14:45 +00:00
Eric Pouech
4c591d4ef3
Implemented timer related functions in ntdll and make the kernel32
...
functions use them.
2003-05-20 04:00:42 +00:00
Alexandre Julliard
c7a51eec43
Only create the 16-bit dummy module when we need really it.
2003-05-20 02:32:26 +00:00
Yorick Hardy
c26b7dbad9
Added the implementation for CDROM_GetIdeInterface on NetBSD.
2003-05-19 21:46:09 +00:00
Alexandre Julliard
3d15c86cf8
Moved atom functions to dlls/kernel.
2003-05-16 00:05:08 +00:00
Alexandre Julliard
a098c82aac
Moved vxd support to winedos.
2003-05-15 23:25:49 +00:00
Mike McCormack
ef8b94622a
- rewrite of the named pipe code
...
- allow NtFileFlushBuffers to wait
- allow DisconnectNamedPipe to invalidate client cached fd
- fix the pipe test now that one extra test passes
2003-05-15 04:22:45 +00:00
Eric Pouech
35d5d06ac9
Implemented RtlDosPathNameToNtPathName_U, RtlGetCurrentDirectory_U,
...
RtlGetFullPathName_U and RtlSetCurrentDirectory_U (the last one
partially as we can't test whether a path exists or not).
2003-05-15 04:20:42 +00:00
Alexandre Julliard
adb532903c
Rewrote module TLS support and moved it to ntdll.
2003-05-14 19:51:14 +00:00
Alexandre Julliard
0b34697abb
Made INSTR_EmulateInstruction return the exception code.
...
Don't allow intXX instructions from 32-bit code (based on a patch by
Jukka Heinonen).
2003-05-14 19:41:16 +00:00
Eric Pouech
f06a996a07
Enhanced test for queries, added tests for expansion.
2003-05-13 04:46:05 +00:00