Commit Graph

2846 Commits

Author SHA1 Message Date
Hans Leidekker 71beac3219 ntdll: Don't call NtClose directly in delete_view. 2010-12-02 12:47:42 +01:00
Louis Lenders fa2b7066e5 ntdll: Set the IdleTime member from the SystemPerformanceInformation info class in NtQuerySystemInformation. 2010-11-26 14:58:39 +01:00
Gerald Pfeifer 8c7164603f ntdll/tests: Remove unused variable from test_query_volume_information_file. 2010-11-24 12:07:04 +01:00
Louis Lenders 5eac14f11c ntdll/tests: Add tests for NtQueryVolumeInformationFile with FileFsVolumeInformation class. 2010-11-23 14:19:08 +01:00
Hans Leidekker 63c19ab495 ntdll: Add a stub implementation of FSCTL_GET_RETRIEVAL_POINTERS. 2010-11-23 13:22:30 +01:00
Detlef Riekenberg 48f3335ffa ntdll: Add semi stub for TokenElevationType in NtQueryInformationToken. 2010-11-15 14:55:24 +01:00
Marcus Meissner da8c179d61 ntdll: Fixed file view mapping in regards to no-exec. 2010-11-15 13:20:09 +01:00
Vitaliy Margolen aafa74908b ntdll: Mask invalid flags for RtlQueueWorkItem. 2010-11-11 18:12:47 +01:00
André Hentschel 574a21cc14 ntdll/tests: Fix crash in japanese and chinese test. 2010-11-11 12:22:08 +01:00
Alexandre Julliard 11e71ede14 ntdll: Don't call vectored exception handlers under the critical section. 2010-11-10 20:55:07 +01:00
Alexandre Julliard 177a7e5683 Revert "ntdll: Fix possible deadlock in vectored exception handling."
This reverts commit eb0e82a755.
It's causing different deadlocks, notably when a thread tries to
remove a handler inside a handler.
2010-11-10 19:17:41 +01:00
Marcus Meissner 2e7dc35786 ntdll: Check and fix PE header protections. 2010-11-08 18:12:57 +01:00
Detlef Riekenberg 5e95d7039e ntdll: Add stubs for Rtl[G/S]etCurrentTransaction. 2010-11-08 13:30:20 +01:00
Alexandre Julliard 3aa6e3bd89 ntdll: Explicitly check for failure to map page 0. 2010-11-04 17:48:01 +01:00
Alexandre Julliard 3fa03e1c78 ntdll: Report memory areas in DOS memory to be free even when not reserved. 2010-11-04 17:47:29 +01:00
André Hentschel 3151ef0d06 ntdll: Detect more processor features. 2010-11-04 11:48:44 +01:00
André Hentschel 186ada5472 ntdll: Add Support for loading ARM PEs. 2010-11-02 11:16:37 +01:00
Alexandre Julliard adb0703cff ntdll: Don't try to join with the main thread. 2010-11-01 11:28:38 +01:00
Alexandre Julliard 4a1379d804 include: The FLOATING_SAVE_AREA type is i386-specific. 2010-10-20 18:37:09 +02:00
Alexandre Julliard 085d398302 ntdll: Avoid using the CONTEXT86 type. 2010-10-20 18:37:07 +02:00
Alexandre Julliard e7c67c0cb1 ntdll: More complete implementation of NtAreMappedFilesTheSame. 2010-10-19 16:14:40 +02:00
Alexandre Julliard 31d37b3489 ntdll: Get rid of the FILE_VIEW typedef. 2010-10-19 15:34:36 +02:00
Krzysztof Nowicki eb0e82a755 ntdll: Fix possible deadlock in vectored exception handling. 2010-10-12 12:30:48 +02:00
Alexandre Julliard 4d7ad03c3c ntdll: Use the more portable cfsetospeed() function to set serial baud rate. 2010-10-08 11:56:46 +02:00
Stefan Oberhumer 024530133c ntdll/tests: Add some more tests for qsort(). 2010-10-05 15:16:39 +02:00
Stefan Oberhumer 6a3ca3ca5d ntdll: Fix possible overflow computing middle in NTDLL_mergesort(). 2010-10-05 12:20:19 +02:00
Stefan Oberhumer c8fb366eb0 ntdll: qsort: Comparator must not get the same pointer. 2010-10-05 12:20:08 +02:00
Stefan Oberhumer 38769ddfe9 ntdll: qsort: Check if necessary to sort. 2010-10-05 12:20:00 +02:00
Rudolf Mayerhofer d0e0e69ff1 ntdll: Set CPU_FEATURE_HTT when running on a HTT capable system. 2010-10-04 15:00:07 +02:00
Stefan Oberhumer 1d241bb200 ntdll: Make NTDLL_mergesort() stable. 2010-10-04 15:00:07 +02:00
Stefan Oberhumer 98134a8c5a ntdll: Fix 64 bit issue within NTDLL_mergesort(). 2010-10-04 15:00:07 +02:00
Alexandre Julliard be94563670 ntdll/tests: Make some variables static. 2010-10-01 13:37:03 +02:00
Alexandre Julliard 9227eb2c9d ntdll: Add a workaround for Ubuntu's stupid ptrace breakage. 2010-09-30 17:51:12 +02:00
Alexandre Julliard dec7effac0 ntdll: Add support for retrieving the server pid from the socket credentials. 2010-09-30 17:05:13 +02:00
Alexandre Julliard 179715251d server: Make the fd passing code slightly more portable. 2010-09-30 11:53:07 +02:00
Alexandre Julliard 7a151d5e3e ntdll/tests: Fix a test failure on 64-bit platforms. 2010-09-30 11:19:31 +02:00
Hans Leidekker 92b7f57e1e winecfg: Update Windows 7 version to Service Pack 1. 2010-09-27 14:10:45 +02:00
Peter Oberndorfer 9c2203123d ntdll/tests: Remove unused NtWaitForSingleObject import. 2010-09-22 19:57:37 +02:00
André Hentschel 171c9a5327 ntdll: Add ARM support. 2010-09-20 12:58:44 +02:00
Alexandre Julliard 81b8ee863e makefiles: Add a standard header for all makefiles to replace the common variable initializations. 2010-09-19 12:36:48 +02:00
Brad Smith 466b64032f ntll: Fix the detection of the number of CPUs for OpenBSD. 2010-09-18 13:10:07 +02:00
Alexandre Julliard e317b6068e ntdll/tests: Fix the image protection test on Mac OS where the image limits are only approximative. 2010-09-15 11:28:54 -05:00
Henri Verbeet 689c45b9b9 ntdll: Do not return STATUS_SUCCESS on failure in NtQueryObject(). 2010-09-15 10:32:55 -05:00
André Hentschel 053be78e39 ntdll: Remove an unused function from signal_powerpc. 2010-09-08 13:30:23 +02:00
Eric Pouech 45ade6c2f5 ntdll: Allocate a console (without renderer) when starting a program from unix console. 2010-09-01 14:01:03 +02:00
Alexandre Julliard d03705eafb ntdll: Use int64 in the spec file for 64-bit integers. 2010-08-31 14:23:48 +02:00
Alexandre Julliard 7c9b525128 winebuild: Use the correct registers for relay debugging of floating point arguments on x86_64. 2010-08-30 12:41:28 +02:00
Alexandre Julliard dfdea6c4a5 msvcrt: Add -ret64 flag on some functions that return a 64-bit value. 2010-08-29 12:09:36 +02:00
Alexandre Julliard 5393f0a947 ntdll: Fix the protection state of writable sections. 2010-08-26 18:06:10 +02:00
Alexandre Julliard 8e2e95ed7e ntdll/tests: Add a test for the protection state of the read-write data section. 2010-08-26 18:05:55 +02:00
Alexandre Julliard 22d5180b9f winebuild: Support relay debugging for thiscall functions. 2010-08-24 19:59:44 +02:00
Marcus Meissner 2ca5513a62 ntdll: Set correct protection flags on sections in builtin DLLs. 2010-08-24 17:22:32 +02:00
Austin English b3b55ea4fa ntdll: Sparc support for map_image(). 2010-08-24 12:22:18 +02:00
Austin English 51e4f9a5a6 ntdll: Make sure ill_handler() and bus_handler() are used on Sparc. 2010-08-24 12:21:44 +02:00
Austin English 7b37a6d47e ntdll: Add Sparc processor support. 2010-08-24 12:21:38 +02:00
Alexandre Julliard a2ca2ebd50 server: Change the removable fd flag to a cacheable flag to make it possible for fd users to set it dynamically. 2010-08-23 17:09:45 +02:00
Detlef Riekenberg 2b76f8661d ntdll: Add a stub for TokenElevation in NtQueryInformationToken. 2010-08-23 13:46:24 +02:00
Detlef Riekenberg 0fa0d17d67 ntdll/tests: Add tests for RtlIpv4AddressToString / RtlIpv4AddressToStringEx. 2010-08-20 13:21:35 +02:00
Jacek Caban 9713d62e89 ntdll: IMAGE_REL_BASED_HIGH, IMAGE_REL_BASED_LOW and IMAGE_REL_BASED_HIGHLOW should be supported on win64. 2010-08-20 13:21:27 +02:00
Detlef Riekenberg 4aef9446ba ntdll: Implement RtlIpv4AddressToString / RtlIpv4AddressToStringEx. 2010-08-19 11:52:47 +02:00
Austin English f7c1978548 ntdll: Check for __FreeBSD_kernel__, remove redundant ifdef's, make FIXME's consistent. 2010-08-19 11:30:58 +02:00
André Hentschel 40bc5f646f ntdll: Add more error codes. 2010-08-17 11:55:39 +02:00
Juan Lang a4331aaf5d ntdll: Implement NtSetInformationProcess for ProcessDefaultHardErrorMode. 2010-08-16 16:39:53 +02:00
Juan Lang 9cb3664bb7 ntdll: Implement NtQueryInformationProcess for ProcessDefaultHardErrorMode. 2010-08-16 16:39:49 +02:00
André Hentschel 38ca35fe57 ntdll: Add SXS error codes. 2010-08-04 12:13:50 +02:00
Andrey Turkin fc4d5393a5 ntdll/tests: Do not check signedness for char types. 2010-08-02 12:55:21 +02:00
Reece Dunn fd66d61861 ntdll/tests: check io.Status in the file tests. 2010-07-28 16:28:21 +02:00
Andrew Nguyen d7956bab54 ntdll: Fix the status code for ProcessDebugObjectHandle class in NtQueryInformationProcess when the debugger is absent. 2010-07-28 16:28:19 +02:00
Michael Stefaniuc 76c06a6d94 ntdll: Use IsEqualGUID instead of memcmp to compare GUIDs. 2010-07-28 12:22:26 +02:00
Max TenEyck Woodbury a17c7f0bd0 ntdll: Setting FileAllInformation is not allowed. 2010-07-26 18:38:30 +02:00
Alexandre Julliard f195c1eb5a winegcc: Don't import winecrt0 by default when building with -nodefaultlibs. 2010-07-26 12:46:00 +02:00
Damjan Jovanovic 2f877b0a79 ntdll: Convert even Unix paths outside Wine's drive mappings to DOS paths. 2010-07-23 13:05:32 +02:00
Maarten Lankhorst e8c5e2b890 ntdll: Use syscall instead of int $0x80. 2010-07-22 10:24:48 +02:00
Alexandre Julliard b86d515ed6 dlls: Remove explicit imports of kernel32 and ntdll. 2010-07-21 17:38:36 +02:00
Alexandre Julliard f9253bbb45 makefiles: Specify -nodefaultlibs when building low-level dlls. 2010-07-21 17:38:18 +02:00
André Hentschel 10e1387f61 ntdll: Add LDT error codes. 2010-07-21 09:33:27 +02:00
Marcus Meissner c7bbf3652e ntdll: Handle error cases in om test (Coverity). 2010-07-09 13:34:36 +02:00
Ken Thomases 85f32011cd ntdll: Fix set_baud_rate for high rates for non-Linux (bad copy/paste). 2010-07-06 19:28:27 +02:00
Alexandre Julliard 604f79dbdb ntdll/tests: Fix a few test failures in the new exe protection tests. 2010-07-06 19:28:27 +02:00
Marcus Meissner 917089a954 ntdll: Add tests for NtQueryVirtualMemory. 2010-07-05 13:24:17 +02:00
Alexandre Julliard 929ba3f11d ntdll/tests: Add some tests for NtQuerySymbolicLinkObject. 2010-06-30 16:11:55 +02:00
Alexandre Julliard 6df7e7b943 ntdll: Append a terminating null and return the correct length in NtQuerySymbolicLinkObject. 2010-06-30 16:11:42 +02:00
Alexandre Julliard f712af41f5 ntdll/tests: Add a test for the exception resulting from an icebp instruction. 2010-06-30 11:55:32 +02:00
Austin English 5bd468179b ntdll: Add stub for NtSystemDebugControl. 2010-06-29 10:55:41 +02:00
Alexandre Julliard 6a9f170b1c ntdll: Round up the initial commit size to the commit granularity. 2010-06-29 10:55:20 +02:00
Alexandre Julliard a49891f1e2 ntdll: Add a WINEARCH environment variable that allows forcing a specific 32- or 64-bit architecture. 2010-06-24 15:10:58 +02:00
Francois Gouget 4c8b3b0f3d ntdll: Fix a typo in a parameter name. 2010-06-22 20:04:03 +02:00
Alexandre Julliard 0fdcab06ac ntdll/tests: Fix some exception tests for Wow64. 2010-06-22 13:51:18 +02:00
Alexandre Julliard 0db65fd36e ntdll: Fix the initial FPU control word on 32-bit too. 2010-06-22 11:19:02 +02:00
Andrey Turkin 5b3750e2a4 ntdll: Fix race in NtRead/WriteFile. 2010-06-21 16:48:27 +02:00
Alexandre Julliard 8b54390686 ntdll: Fix the initial FPU control word on 64-bit. 2010-06-21 11:49:25 +02:00
Henri Verbeet 772a5c7c09 ntdll: The FPU control word for newly created threads is 0x27f.
This fixes a regression introduced by
e6611e22fb.
2010-06-17 11:50:23 +02:00
Andrew Nguyen bdf583b349 ntdll/tests: Add tests to examine output file part pointer behavior for RtlGetFullPathName_U. 2010-06-17 11:48:37 +02:00
Alexandre Julliard b9a13d6d81 ntdll: Print a warning when failing to set execute permissions on a section. 2010-06-16 20:06:47 +02:00
Alexandre Julliard 903488b354 ntdll: Make the DOS area accessible even when not using it to hide bugs in broken apps. 2010-06-15 18:29:07 +02:00
Octavian Voicu 0d8e7983c1 ntdll: Show one-time ERR if NOFILE limit is reached. 2010-06-11 11:57:11 +02:00
Alexandre Julliard 28e1398237 ntdll: Set a valid process title for the initial process. 2010-06-08 11:55:23 +02:00
Austin English da77e7456b ntdll: Add signal context function definitions for FreeBSD. 2010-06-01 11:04:01 +02:00
Austin English 84179f4e1d ntdll: Add stub implementation of IOCTL_STORAGE_GET_MEDIA_TYPES/IOCTL_STORAGE_GET_MEDIA_TYPES_EX. 2010-05-31 12:46:08 +02:00
Andrey Turkin 85cc2c13f6 server: Connect named pipe synchronously when overlapped param is NULL. 2010-05-24 12:39:35 +02:00
Austin English 40b3d2ed13 ntdll: Add %gs support for FreeBSD. 2010-05-24 11:32:40 +02:00
Marcus Meissner 34d17c9ea1 ntdll: qsort: comparator must not get the same pointer. 2010-05-24 11:27:25 +02:00
Alexandre Julliard 4dae774893 ntdll: Reimplement bsearch to avoid redundant and possibly out of bounds comparisons. 2010-05-23 22:26:51 +02:00
Austin English c4ea80cf9b ntdll: Add stub for NtRaiseHardError. 2010-05-21 18:58:05 +02:00
Michael Stefaniuc aef5374c8b ntdll: Remove superfluous "not NULL" check for the count arg. 2010-05-19 11:17:55 +02:00
Alexandre Julliard d0093f0055 ntdll: Avoid a compiler warning on NetBSD. 2010-05-17 12:42:32 +02:00
Alexandre Julliard 39d54523a3 ntdll: Preserve registers in call_thread_entry_point on x86_64. 2010-05-16 12:34:07 +02:00
Hans Leidekker d1c8769b64 ntdll: Add some tests for RtlIsTextUnicode. 2010-05-14 18:03:03 +02:00
Marcus Meissner 2ecd1dfaba ntdll: Implement bsearch, lfind to use correct comparator functions. 2010-05-13 11:50:51 +02:00
Marcus Meissner 364242fcf3 ntdll: Rename mergesort to NTDLL_mergesort. 2010-05-12 14:13:15 +02:00
Marcus Meissner 7642e03c63 ntdll: Reimplement qsort() using generic mergesort. 2010-05-11 11:27:03 +02:00
Gerald Pfeifer b8ee145992 ntdll/tests: Remove variable len which is not really used from create_file_test. 2010-05-05 10:52:30 +02:00
Charles Davis 1e0cee6d3c ntdll: Implement IOCTL_SCSI_PASS_THROUGH(_DIRECT) on Mac OS. 2010-05-05 10:46:36 +02:00
Alexandre Julliard ac69fcb14f server: Check that the prefix type can support the client architecture. 2010-05-04 20:27:20 +02:00
Alexandre Julliard bc3ae58f1d ntdll: Add support for saving/restoring CFA frame state. 2010-05-04 13:14:43 +02:00
Alexandre Julliard 2e823590d4 ntdll: Make TAPE_GetStatus inline to avoid a unused function warning. 2010-04-26 07:18:46 -05:00
Michael Stefaniuc ed1711ec54 ntdll/tests: Avoid using the 'long' types. 2010-04-21 11:57:33 +02:00
Maarten Lankhorst 8734d5b9ac ntdll: Clear alignment flag in exception handlers. 2010-04-20 11:15:11 +02:00
André Hentschel b999b69ee9 ntdll: Add SP2 for Vista. 2010-04-20 11:15:00 +02:00
Alexandre Julliard 4fc65126cf ntdll: Report the correct processor architecture. 2010-04-16 16:59:01 +02:00
Paul Vriens 42094d2598 ntdll/tests: Prevent test failures on Windows. 2010-04-12 15:38:51 +02:00
Paul Vriens a155cf5f35 ntdll/tests: We need a bigger buffer for NtQueryInformationFile. 2010-04-12 15:38:45 +02:00
Paul Vriens 3536770083 ntdll/tests: Enumerate one by one. 2010-04-12 15:38:36 +02:00
Paul Vriens 8b8d2038fb ntdll/tests: Make sure we can enumerate the directory. 2010-04-12 15:38:27 +02:00
Alexandre Julliard 281f701880 ntdll: Make cfi annotations optional for x86_64. 2010-04-12 12:38:27 +02:00
Alexandre Julliard 4ce995451e ntdll: Build the virtual_release_address_space function on all platforms. 2010-04-09 16:50:20 +02:00
Alexandre Julliard 9e6903c4b3 ntdll: Restructure x86_64 exception processing to treat all functions with missing exception data as leaf functions. 2010-04-09 13:15:41 +02:00
Alexandre Julliard 5189eef6bb ntdll: Fix affinity mask check for 64-bit. 2010-04-08 23:57:08 +02:00
André Hentschel 66612e2626 ntdll: Use NULL for a pointer. 2010-04-08 12:25:19 +02:00
Alexandre Julliard b141e6e33b winapi: Add a few more types to the ntdll generated tests. 2010-04-07 18:04:00 +02:00
Alexandre Julliard a8e86e35dd winapi: Generate the 64-bit variant of structure size/alignment tests. 2010-04-07 18:03:00 +02:00
Eric Pouech 2bebb68a0b ntdll: On x86_64 systems (as on i386 ones), hw breakpoints must generate a EXCEPTION_SINGLE_STEP exception. 2010-04-07 13:50:39 +02:00
Alexandre Julliard 29937272cb ntdll/tests: Skip a couple of exception tests that crash on Wow64. 2010-04-02 15:22:50 +02:00
Alexandre Julliard 935cc7987d server: Update the registry key and value name length limits to the now documented values. 2010-04-02 11:48:50 +02:00
Alexandre Julliard 71ce9dae67 ntdll/tests: Don't free a string that wasn't allocated. 2010-03-31 16:12:26 +02:00
Alexandre Julliard 9608085bf6 ntdll/tests: Port functions use the 64-bit structure on Wow64. 2010-03-31 16:12:26 +02:00
Alexandre Julliard b7b2a20aa2 ntdll/tests: Fix a number of test failures on Wow64. 2010-03-31 16:12:26 +02:00
Henri Verbeet 7bfe6c4308 ntdll: Return a more reasonable value for "Reserved3".
The value is based on 64-bit Win 7, the main thing we care about is that it's
not 0.
2010-03-29 15:50:52 +02:00
Mikhail Maroukhine 2b8f11b8c0 ntdll: Fix compiler warnings with flag -Wcast-qual. 2010-03-29 12:15:28 +02:00
Louis Lenders 226a5019e7 Quiet two noisy FIXME's. 2010-03-26 15:34:57 +01:00
André Hentschel 877a4e6136 ntdll: Update error code mapping. 2010-03-22 15:52:35 +01:00
André Hentschel 8a6d1df863 ntdll: Fix error strict mode tests on vista+. 2010-03-22 15:52:35 +01:00
Alexandre Julliard bef5645eb1 makefiles: Remove the no longer needed explicit separators for dependencies. 2010-03-16 13:28:19 +01:00
Henri Verbeet f0a5045254 ntdll: Improve support for the ProcessDebugPort info class in NtQueryInformationProcess(). 2010-03-15 15:56:42 +01:00
Henri Verbeet 4ce43cd919 ntdll: Fix the ProcessDebugPort information length in NtQueryInformationProcess(). 2010-03-15 15:56:02 +01:00
Gerald Pfeifer dfa200d1e8 ntdll: Avoid compiler warning in the default case in append_entry. 2010-03-15 13:41:39 +01:00
Alexandre Julliard c09df80620 ntdll: Always restore the context after an exception even if setting the debug registers fails. 2010-03-05 12:25:34 +01:00
Alexandre Julliard 5e12f65a1a ntdll/tests: Add tests for HKLM\Software\Classes Wow64 sharing. 2010-03-04 21:49:14 +01:00
Alexandre Julliard 83c272a258 ntdll: Return STATUS_IMAGE_NOT_AT_BASE when an image mapping has to be relocated. 2010-03-03 20:05:40 +01:00
Alexandre Julliard ac08b038f0 server: Initial support for Wow64 registry redirection. 2010-03-02 12:03:17 +01:00