Mike Hearn
43cb03be3a
Implemented RegFlushKey and NtFlushKey.
2004-01-03 00:38:30 +00:00
Mike Hearn
5f5034ff3b
Print exe name when initialization fails.
2003-12-31 00:11:48 +00:00
Alexandre Julliard
5c92266987
Fixed RtlUnwind signature (reported by Pierre d'Herbemont).
2003-12-30 19:26:19 +00:00
Mike McCormack
9acaadea3f
Return an SID when GetTokenInformation is called with class
...
TokenOwner.
2003-12-30 19:17:05 +00:00
Hans Leidekker
73593d7eed
Check if a function exists before testing it.
2003-12-15 20:18:50 +00:00
Marcus Meissner
34528b91a9
Fixed potentially uninitialised sz.
2003-12-15 19:46:51 +00:00
Francois Gouget
8f63a714b2
Try not to display uninitialized data in traces (found by Valgrind).
2003-12-13 01:34:40 +00:00
Jon Griffiths
ae0ca56453
Added RtlNtStatusToDosErrorNoTeb, RtlGet/Set/RestoreLastWin32Error,
...
RtlGUIDFromString, RtlStringFromGUID.
2003-12-12 05:56:44 +00:00
Dimitrie O. Paun
2eaefbd1a4
Move content of global.h into the appropriate private headers.
2003-12-08 21:58:55 +00:00
Alexandre Julliard
bb4ddfec28
Added a WINEDEBUG environment variable that allows turning on debug
...
output as early as possible during startup.
2003-12-05 00:17:41 +00:00
Jon Griffiths
03ce33f629
Implement the Rtlp* registry functions.
2003-12-04 20:52:12 +00:00
Alexandre Julliard
f752be843e
Implement some more register functions using DEFINE_REGS_ENTRYPOINT to
...
make them available for imports.
2003-12-04 05:51:01 +00:00
Alexandre Julliard
e85491274d
Moved the DEFINE_REGS_ENTRYPOINT macros to include/wine/port.h.
...
Removed the C fallback code, do that in the callers instead.
2003-12-04 05:48:03 +00:00
Alexandre Julliard
86c905ab0c
We no longer need a special case for codepages on startup,
...
initialization is done in the correct order now.
2003-12-04 05:13:03 +00:00
Alexandre Julliard
0382aead65
Removed no longer used extra space allocated in the modref structure.
2003-12-03 20:28:41 +00:00
Alexandre Julliard
f3f435ffa1
Added wine_server_release_fd function to release the fd returned by
...
wine_server_handle_to_fd. Fixed a couple of potential fd leaks.
2003-12-01 23:01:12 +00:00
Alexandre Julliard
854e59d9ec
Allow RELAY_SetupDLL to be called twice on the same dll.
2003-12-01 22:49:33 +00:00
Alexandre Julliard
2ae6f4bd24
Fixed bitmap range checking to avoid integer overflows.
2003-11-29 00:23:23 +00:00
Francois Gouget
82bff6bddd
Only convert '/'s to '\\'s up to the '\0' as the rest of the buffer
...
may not be initialized (found by Valgrind).
2003-11-28 23:36:06 +00:00
Alexandre Julliard
402b79a1e8
Porting fixes.
2003-11-27 00:59:36 +00:00
Dmitry Timoshkov
602c4a7e8a
Fix another RtlReAllocateHeap call.
2003-11-26 22:03:21 +00:00
Alexandre Julliard
cba157e998
Better support for loading exe files as libraries.
...
Make sure kernel32 and ntdll have a full path name even though they
are loaded before we know the system dir.
2003-11-25 05:28:57 +00:00
Alexandre Julliard
6281d82e87
Store the thread entry point in the startup info passed to the new
...
thread instead of the TEB.
2003-11-25 03:42:05 +00:00
Alexandre Julliard
9e73f55af3
Store the last error code at the TEB offset used by NT instead of the
...
Win9x one.
2003-11-25 01:53:23 +00:00
Alexandre Julliard
16b4411669
Removed MODULE_GetLoadOrderA.
2003-11-25 01:03:04 +00:00
Dimitrie O. Paun
c762f5d7af
RtlHeapReAllocate() should not allocate memory.
...
Add small test to make sure it doesn't return.
Don't import ntdll for tests, we need to load it dynamically.
2003-11-25 01:02:02 +00:00
Robert Shearman
3842103c74
Handle EIO file error.
2003-11-21 23:53:44 +00:00
Dimitrie O. Paun
f448b79e79
RtlReAllocateHeap() does not allocate memory.
2003-11-20 23:44:13 +00:00
Alexandre Julliard
746d900b04
Force minimum stack size to 1Mb for Xlib.
2003-11-18 00:14:17 +00:00
Alexandre Julliard
f9be2f3d21
Removed some unnecessary includes.
2003-11-17 20:31:29 +00:00
Alexandre Julliard
8fb98a41e0
Added wine_ldt_is_system() to replace the IS_SELECTOR_SYSTEM macro,
...
and stop exporting the WINE_LDT_FIRST_ENTRY constant.
2003-11-17 20:12:56 +00:00
Alexandre Julliard
daeccba704
Moved the exec_wine_binary function to the wine library, and use it to
...
exec the wineserver too.
2003-11-11 22:21:29 +00:00
Alexandre Julliard
dfe1df6408
Make sure the protection flags on the memory view of the PE header
...
match the actual mmap protection.
2003-11-11 22:06:59 +00:00
Ulrich Czekalla
fd5e811c4e
Added stubs for AccessCheckByType, AddAuditAccessAce,
...
GetNamedSecurityInfoA, GetNamedSecurityInfoW.
Implemented ConvertStringSecurityDescriptorToSecurityDescriptorW,
DeleteAce, MakeAbsoluteSD, GetAclInformation, ConvertStringSidToSidW,
RtlDeleteAce, RtlQueryInformationAcl.
2003-11-11 22:03:24 +00:00
Carlos Lozano
b40a287e03
NtReadFile checks that offset is not null.
2003-11-11 21:57:07 +00:00
Jukka Heinonen
d7ee5f3f31
Fix race in real mode event handling.
...
Merge real mode pending event checking routines.
Remove some obsolete code.
2003-11-11 00:44:10 +00:00
Alexandre Julliard
50fba7ffec
Moved the remaining SYSDEPS_* functions to the wine_pthread interface.
...
Let the pthread library allocate the stack itself.
2003-11-09 01:25:23 +00:00
Alexandre Julliard
4dba172e55
Added server_abort_thread to replace SYSDEPS_AbortThread.
...
Removed no longer used SIGNAL_Block and SIGNAL_Reset.
Moved some internal ntdll definitions to ntdll_misc.h.
2003-11-06 00:08:05 +00:00
Alexandre Julliard
8574412e1e
Added wine_pthread_create_thread and wine_pthread_exit_thread to the
...
pthread support, and removed the corresponding SYSDEPS functions.
Moved stack allocation for new threads to wine_pthread_create_thread
to allow more flexibility.
2003-11-05 23:31:11 +00:00
Ulrich Czekalla
da10653f6f
Implemented RtlSelfRelativeToAbsoluteSD and RtlMakeSelfRelativeSD.
...
Fixed some related SE_SELF_RELATIVE bugs.
2003-11-05 01:41:20 +00:00
Alexandre Julliard
063cff8686
Use the signal stack pointer to determine the current thread.
...
Converted the SIGUSR2 handler to use setup_exception (probably still
not working properly).
2003-11-05 00:52:29 +00:00
Alexandre Julliard
7924f421e9
Allocate the TEB and signal stack separately from the main stack.
...
Dynamically allocate the initial TEB too so that it is properly
page-aligned.
2003-11-04 04:50:18 +00:00
Gerald Pfeifer
bcb09c198d
The CDDA case of CDROM_RawRead() no longer works on FreeBSD -CURRENT,
...
remove it. Also, combine the FreeBSD and NetBSD NYI notes.
2003-11-04 04:23:49 +00:00
Alexandre Julliard
a062677a95
Allocate a memory view for builtin dlls so that VirtualQuery returns
...
something sensible.
2003-11-03 22:23:09 +00:00
Alexandre Julliard
7fcc737faa
Fixed type and protection values returned by NtQueryVirtualMemory to
...
be closer to what Windows does.
Allow using MEM_SYSTEM without MEM_RESERVE to avoid 64k alignment.
Use pread instead of lseek+read when faking mmap.
2003-11-03 22:21:55 +00:00
Alexandre Julliard
7370f60120
Implemented RtlCreateUserThread, and use it to move thread creation to
...
ntdll.
2003-10-31 00:16:20 +00:00
Alexandre Julliard
0f95d5498d
Fixed race in %gs selector restoring during vm86 mode return.
...
Minor cleanups.
2003-10-30 23:15:56 +00:00
Pavel Roskin
0f252372b7
Include ntdll_misc.h to avoid undefined reference to GetProcessHeap
...
when compiled without optimization.
2003-10-30 23:06:41 +00:00
Alexandre Julliard
07931f2d70
Removed no longer needed SIGNAL_Unblock() function.
2003-10-28 21:46:46 +00:00
Alexandre Julliard
54b1d87daf
Implemented Add/RemoveVectoredExceptionHandler.
2003-10-28 21:22:50 +00:00