Commit graph

42531 commits

Author SHA1 Message Date
Eric Kohl d259616ce4 [RTL]
Implement RtlEncodeSystemPointer using the user shared data cookie.

svn path=/trunk/; revision=47429
2010-05-29 21:15:48 +00:00
Eric Kohl 6af485d3aa [FORMATTING]
No code changes.

svn path=/trunk/; revision=47428
2010-05-29 20:40:28 +00:00
Sir Richard fa9cd08b02 Timo/Physicus: Please validate for AMD64.
[NTOS]: Write down the PTE attribute flags for X86/AMD64. Timo/Physicus: Please double-check.
[NTOS]: Write down the array that converts from the MM_ protection flags arleady defined, into the appropriate PTE attribute flags that are architecture-specific.
[NTOS]: This will allow constant-time conversion of NT attributes into PTE attributes. Win32 attributes to NT attributes conversion won't be needed until VAD support.

svn path=/trunk/; revision=47427
2010-05-29 19:27:32 +00:00
Sir Richard 27957c2212 [NTOS]: Fix Implementation of BreakOnTermination -- Process Flags should be accessed with interlocked bit semantics, not through C bitfield extension.
[NTOS]: Revert 47425 and apply a better fix.

svn path=/trunk/; revision=47426
2010-05-29 19:21:08 +00:00
Eric Kohl c5cc4a4bd7 [NTOSKRNL]
Do not use _SEH2_YIELD in NtSetInformationProcess, NtQueryInformationThread and NtSetInformationThread while a thread or process is still being referenced.

svn path=/trunk/; revision=47425
2010-05-29 19:13:19 +00:00
Sir Richard c916ce9d20 Testers: Please pay attention to this build and test it fully:
[NTOS]: Implement MiDecrementShareCount (to start replacing MmReleasePageMemoryConsumer calls for pages that were grabbed through ARM3, not Mm).
[NTOS]: Implement MiInitializePfn (to initialize pages grabbed through ARM3/MiRemoveAnyPage instead of Mm/MmAllocPage).
[NTOS]: For stack pages, use new ARM3 PFN alloc/free routines, as a first test/beginning of the new ARM3 ABI.
[NTOS]: Implement and start using the Pending-Deletion PFN flag.
[NTOS]: As a result, for stack pages, the Transition page state will now be seen, and the new routine for re-inserting pages into the free list will now be used. Tracking of page table references is also done now for these pages (but we don't free the PT since this doesn't seem safe yet).


svn path=/trunk/; revision=47424
2010-05-29 18:33:50 +00:00
Eric Kohl 00fbba2fb4 [NTOSKRNL / RTL]
- Implement BreakOnTermination case for NtQueryInformationProcess and NtSetInformationProcess.
- Implement RtlSetProcessIsCritical.

svn path=/trunk/; revision=47423
2010-05-29 18:22:47 +00:00
Christoph von Wittich 5e8f4e5fd6 [MSHTML_WINETEST]
sync to wine 1.2 RC2

svn path=/trunk/; revision=47422
2010-05-29 18:04:05 +00:00
Gregor Schneider fcb1ce77af [CMD] File completion
- Don't pass device paths to FindFirstFile (similar to r47418)
- Allows to complete files, whose names start like DOS devices (COMx, LPTx. AUX, NUL, CON, etc)
See issue #4848 for more details.

svn path=/trunk/; revision=47421
2010-05-29 18:01:20 +00:00
Christoph von Wittich 4141772cae [SHLWAPI]
sync to wine 1.2 RC2

svn path=/trunk/; revision=47420
2010-05-29 17:47:03 +00:00
Christoph von Wittich 2489a60f61 [WS2_32]
implement WSAAddressToStringA/W (taken from wine)

svn path=/trunk/; revision=47419
2010-05-29 17:33:37 +00:00
Gregor Schneider 08ca572fc4 [CMD] copy command:
- Don't pass device path to FindFirstFile, use short path instead
- Join duplicate code to simplify processing
See issue #3575 for more details.

svn path=/trunk/; revision=47418
2010-05-29 16:49:23 +00:00
Cameron Gutman 04c946cecc [NTOSKRNL]
- Fix stack skipping logic in IofCompleteRequest
- Fixes displaying MULTIPLE_IRP_COMPLETE_REQUESTS bug check
- Patch by lassy with a typo fix by me

svn path=/trunk/; revision=47417
2010-05-29 16:00:43 +00:00
Christoph von Wittich 7f10ebad54 [MSHTML]
-sync to wine 1.2 RC2
-add ros_diff.patch

svn path=/trunk/; revision=47416
2010-05-29 14:54:55 +00:00
Christoph von Wittich bc9b61ca21 [MSHTML]
restore local mshtml changes lost by last wine sync

svn path=/trunk/; revision=47415
2010-05-29 14:44:13 +00:00
Christoph von Wittich da3904b159 [BOOTDATA]
revert 47055

svn path=/trunk/; revision=47414
2010-05-29 14:42:39 +00:00
Christoph von Wittich b2caf487ee [JSCRIPT]
sync to wine 1.2 RC2

svn path=/trunk/; revision=47413
2010-05-29 14:21:43 +00:00
Christoph von Wittich e2a40983d0 [WININET]
-sync to wine 1.2 RC2
-enable http compression with zlib

svn path=/trunk/; revision=47412
2010-05-29 13:41:35 +00:00
Daniel Reimer 85122dfdc4 Update zlib from 1.2.3 to 1.2.5
svn path=/trunk/; revision=47411
2010-05-29 13:22:48 +00:00
Christoph von Wittich c5d6cf73b0 [CRYPT32]
sync to wine 1.2 RC2

svn path=/trunk/; revision=47410
2010-05-29 13:14:05 +00:00
Gregor Schneider c60e69763c [BOOTVID] Don't increment an uninitialized and unused variable, bug #5103
svn path=/trunk/; revision=47409
2010-05-29 12:57:29 +00:00
Daniel Reimer f435dab493 Update:
DejaVu Fonts 2.30 -> 2.31
Liberation Fonts 1.04 -> 1.05.2

svn path=/trunk/; revision=47408
2010-05-29 12:47:30 +00:00
Gregor Schneider c8e90e9d05 [KERNEL32] ReplaceFileW:
- Initialize Unicode string structure, so that only allocated buffers are freed when leaving the function
- Fixes several heap warnings in kernel32:file test

svn path=/trunk/; revision=47407
2010-05-29 12:31:48 +00:00
Gregor Schneider 24dd4301ad [KERNEL32] WaitNamedPipeW: Free Unicode buffer when leaving the function
svn path=/trunk/; revision=47406
2010-05-29 12:29:26 +00:00
Christoph von Wittich c48e118c70 [OLE32]
sync to wine 1.2 RC2

svn path=/trunk/; revision=47405
2010-05-29 11:34:57 +00:00
Christoph von Wittich 1d5afb8039 [CRT]
fix behavior of _system (fixes msvcrt environ winetest)

svn path=/trunk/; revision=47403
2010-05-29 09:23:23 +00:00
Christoph von Wittich e701f228c2 [MSVCRT_WINETEST]
partial sync to wine 1.2 RC2

svn path=/trunk/; revision=47402
2010-05-29 09:22:07 +00:00
Christoph von Wittich b6ed2f2fbf [QUARTZ]
sync to wine 1.2 RC2

svn path=/trunk/; revision=47401
2010-05-29 09:07:32 +00:00
Christoph von Wittich cdabe0cf21 [QEDIT]
sync to wine 1.2 RC2

svn path=/trunk/; revision=47400
2010-05-29 09:05:43 +00:00
Christoph von Wittich def4a5f1f5 [RSAENH]
sync to wine 1.2 RC2

svn path=/trunk/; revision=47399
2010-05-29 09:03:59 +00:00
Christoph von Wittich bc732ca2d3 [MSXML3]
sync to wine 1.2 RC2

svn path=/trunk/; revision=47398
2010-05-29 09:02:25 +00:00
Christoph von Wittich 348790ffe6 [MSI]
sync to wine 1.2 RC2

svn path=/trunk/; revision=47397
2010-05-29 08:55:43 +00:00
Christoph von Wittich 11ebf0a0dc [MSI]
delete msi_ros.diff

svn path=/trunk/; revision=47394
2010-05-29 08:01:25 +00:00
Michael Martin a8a65751a3 [win32k]
- The timer is created usingUserCreateObject. It may be a good idea to save the handle in the timer object so that it can be deleted later.
- Dereference the object before attempting to delete it.

svn path=/trunk/; revision=47393
2010-05-29 06:51:03 +00:00
Cameron Gutman 61325bb279 [NTOSKRNL]
- Set the Status variable to STATUS_SUCCESS in PIP_RETURN_DATA
- Fixes testbot

svn path=/trunk/; revision=47391
2010-05-29 00:29:12 +00:00
Cameron Gutman 848f77424e [NTOSKRNL]
- Use PnpDetermineResourceListSize to determine the resource list size and remove the broken IopCalculateResourceListSize function

svn path=/trunk/; revision=47390
2010-05-28 23:17:59 +00:00
Sir Richard 58055397a5 [NTOS]: Root Bus PDO should not override Status with STATUS_NOT_IMPLEMENTED and instead use the current IRP status (which drivers/PnP will typically set to STATUS_NOT_SUPPORTED). Found by testing the new PCIx driver (probably fixes other bus drivers too).
svn path=/trunk/; revision=47389
2010-05-28 23:08:41 +00:00
Sir Richard 6b6a3291e8 [NTOS]: Re-implement IoGetDeviceProperty. Main changes are usage of existing (and new) helper functions for registry/IRP access, much better factored code, correct implementation of DevicePropertyPhysicalDeviceObjectName, fixed implementation of DevicePropertyBootConfigurationTranslated and DevicePropertyBootConfiguration (do not crash the system anymore), and support for more device properties.
[NTOS]: Fix caller of IoGetDeviceProperty in pnpres.c to work with new function behavior (which matches WDK documentation and test cases).
[NTOS]: Implement helper function PnpBusTypeGuidGet, should be used later in other PnP code, but now used only for this patch.
[NTOS]: Implement helper function PnpDetermineResourceListSize, ditto. N.B. Current IopCalculateResourceListSize function is broken and callers should use this one instead.
[NTOS]: Implement helper function PpIrpQueryCapabilities, should be used later in device node code, but now only used for this patch.
[NTOS]: Implement helper function PnpDeviceObjectToDeviceInstance, ditto.
Main purpose of this patch is to unblock the new PCIx driver.

svn path=/trunk/; revision=47388
2010-05-28 23:03:27 +00:00
Cameron Gutman 799b6ad5b8 [FREELOADER]
- Fix DoOptionsMenu and implement AppendBootOptions to support F8 boot options
- Fixes bug 5363

svn path=/trunk/; revision=47387
2010-05-28 22:54:27 +00:00
Michael Martin 18c065e00d [win32k]
- Remove use of TMRF_DELETEPENDING for deleting timers as this was a bad idea. 
Timers need to be deleted immediately as waiting for them to be deleted resulted in some processes running out of handles.
Fixes richedit winetest for editor.
- Add flag TMRF_TIFROMWND for timers created from user mode so the thread stored in the timer object is from the window and not caller.
Fixes an issue where FireFox would not show any of its windows and looked dead.
- When creating and deleting timers, If the window is non null and IDEvent is 0 then the IDEvent is changed to 1.
- When modifying timer list use UserEnter and Leave instead of a Critical Region only.

svn path=/trunk/; revision=47385
2010-05-28 20:35:30 +00:00
Eric Kohl f9cd9b9a5b [NTOSKRNL]
- Implement SeAppendPrivileges().

svn path=/trunk/; revision=47384
2010-05-28 19:36:57 +00:00
Eric Kohl f0910f33d3 [FORMATTING]
No code changes.

svn path=/trunk/; revision=47383
2010-05-28 16:28:27 +00:00
Eric Kohl 4e25539b71 [NTOSKRNL]
Implement SeFreePrivileges().

svn path=/trunk/; revision=47382
2010-05-28 15:03:09 +00:00
Cameron Gutman d30c42f367 [MSAFD]
- Fix a broken call to WSPBind that I missed in r47378

svn path=/trunk/; revision=47380
2010-05-28 05:15:42 +00:00
Cameron Gutman d36292eecf [TCPIP]
- Return STATUS_INVALID_ADDRESS if the caller tries to get a non-local address
- Return STATUS_ADDRESS_ALREADY_EXISTS if the caller uses an address that is in use
[MSAFD]
- Translate STATUS_ADDRESS_ALREADY_EXISTS -> WSAEADDRINUSE, STATUS_LOCAL_DISCONNECT -> WSAECONNABORTED, and STATUS_REMOTE_DISCONNECT -> WSAECONNRESET
[IP]
- Translate OSK_EADDRINUSE -> STATUS_ADDRESS_ALREADY_EXISTS, OSK_ECONNABORTED -> STATUS_LOCAL_DISCONNECT, and OSK_ECONNRESET -> STATUS_REMOTE_DISCONNECT
- Fixes waiting for binding during ws2_32 sock winetest

svn path=/trunk/; revision=47379
2010-05-28 04:39:49 +00:00
Cameron Gutman 54b6aff827 [MSAFD]
- Pass a valid pointer for lpErrno to WSPBind when performing an implicit bind
- Remove the hack in MsafdReturnWithErrno for dealing with stupid callers that provide don't provide a valid Errno pointer

svn path=/trunk/; revision=47378
2010-05-28 04:07:39 +00:00
Cameron Gutman 219cc11d6a [MSAFD]
- Remove an incorrect change
- Create a new function called TranslateNtStatusError to translate NTSTATUS to winsock error codes
- Call the TranslateNtStatusError in MsafdReturnWithErrno and also use it to translate AFD's poll event error codes
[AFD]
- Track the status for each poll event in our FCB and copy it back when we get an IOCTL_AFD_ENUM_NETWORK_EVENTS IRP
- Remove some useless PollReeval calls

svn path=/trunk/; revision=47377
2010-05-28 03:55:50 +00:00
Cameron Gutman f06be4552d [MSAFD]
- Zero the entire struct not just the lpNetworkEvents member
- Write the error codes returned from AFD to the iErrorCode array
- Fixes hundreds of ws2_32_winetest sock failures (only 104 failures now)
- Dedicated to Physicus

svn path=/trunk/; revision=47376
2010-05-28 02:25:56 +00:00
Cameron Gutman f73d8199f7 [NPFS]
- Partially revert r47370 and apply a better patch
- Change ReadEvent and WriteEvent to notification events because we reset those events manually when we run out of buffer space

svn path=/trunk/; revision=47375
2010-05-27 23:52:32 +00:00
Eric Kohl b85a7deb22 The global flag FLG_HEAP_ENABLE_CALL_TRACING has been replaced by FLG_ENABLE_SYSTEM_CRIT_BREAKS in Windows XP and above.
svn path=/trunk/; revision=47374
2010-05-27 20:15:35 +00:00