Commit graph

54495 commits

Author SHA1 Message Date
Timo Kreuzer eadabe5a68 [WIN32K]
Improve prototype of NtUserNotifyProcessCreate

svn path=/trunk/; revision=60104
2013-09-14 15:43:49 +00:00
Daniel Reimer b93011476c CORE-7456 #resolve #comment Committed in r60103. Thank you.
svn path=/trunk/; revision=60103
2013-09-14 15:00:02 +00:00
Hermès Bélusca-Maïto b56d260d39 [NET][SERVMAN]: Fix warning C4090.
[CMAKE]: Temporarily reconsider C4090 as a warning, otherwise we would have to fix ~= 33 problems in Wine dlls.

svn path=/trunk/; revision=60102
2013-09-14 14:51:56 +00:00
Amine Khaldi 1887b24413 [DXSDK]
* Update some DirectX headers and import others from Wine.
[D3DX9_*]
* Sync with Wine 1.7.1.

svn path=/trunk/; revision=60101
2013-09-14 13:44:28 +00:00
Hermès Bélusca-Maïto 38db7e5e01 [CMAKE:MSVC]
Add warning C4090 (different 'modifier' qualifiers -- for C programs only; for C++ programs, the compiler error C2440 is issued --) as an error (usually, when I hit this warning, it means that I'm doing an error in my code...). This warning can be caused when a pointer to a const or volatile item is assigned to a pointer not declared as pointing to const or volatile.
This warning is already treated as an error by GCC...

svn path=/trunk/; revision=60100
2013-09-14 13:18:51 +00:00
Eric Kohl e66dc8a754 [NETAPI32]
NetUserGetLocalGroups: Fix a typo that broke the enumeration of account aliases.

svn path=/trunk/; revision=60099
2013-09-14 12:22:36 +00:00
Amine Khaldi 1f1d1b19dc [WPP]
* Introduce wpp as a cross compiling lib, and rename out host one as wpphost.
[WIDL]
* Update the link reference to the host wpp.
[PSDK]
* Update d3d9types.h and import d3d11shader.h and d3dcompiler.h from Wine.
[DXGUID]
* Introduce dx10guid to contain some GUIDs needed only by Wine DirectX modules.
[D3DCOMPILER_43]
* Import from Wine 1.7.1.

svn path=/trunk/; revision=60098
2013-09-14 10:30:44 +00:00
Timo Kreuzer 35c4461605 [CRT]
_cdecl -> __cdecl

svn path=/trunk/; revision=60097
2013-09-14 10:28:30 +00:00
Timo Kreuzer 76dd7e5f1d [SMSS]
Fix some MSVC warnings.

svn path=/trunk/; revision=60096
2013-09-14 10:25:59 +00:00
Timo Kreuzer 5550a1f54e [KERNEL32]
Fix MSVC warnings.

svn path=/trunk/; revision=60095
2013-09-14 10:20:11 +00:00
Amine Khaldi ba3d6d39e7 [D3DXOF]
* Import from Wine 1.7.1.

svn path=/trunk/; revision=60094
2013-09-14 10:13:29 +00:00
Thomas Faber fb0811a01f [KERNEL32]
- Fix an off-by-one in the UNC case in WaitNamedPipeW
- Some readability

svn path=/trunk/; revision=60093
2013-09-14 09:12:12 +00:00
Amine Khaldi dd79f09da8 [WPP]
* Sync with Wine 1.7.1.

svn path=/trunk/; revision=60092
2013-09-14 09:02:13 +00:00
Amine Khaldi ab785e9440 [DDRAW]
* Remove some now unneeded source files.

svn path=/trunk/; revision=60091
2013-09-13 23:56:46 +00:00
Amine Khaldi f380442435 [DXGI][D3D8][D3D9][DDRAW][WINED3D]
* Sync with Wine 1.7.1.

svn path=/trunk/; revision=60090
2013-09-13 23:50:10 +00:00
Amine Khaldi 70566203be [ATL100_WINETEST]
* Import from Wine 1.7.1.

svn path=/trunk/; revision=60088
2013-09-13 22:51:58 +00:00
Amine Khaldi e4852d7c49 [ATL100]
* Sync with Wine 1.7.1.

svn path=/trunk/; revision=60087
2013-09-13 22:50:10 +00:00
Alex Ionescu 1a0744c854 [KERNEL32/NTDLL]: Fix definition of RtlCreateActivationContext (although the code is still 100% incompatible with Windows, at least it won't destroy the stack anymore when Windows' kernel32.dll tries to call it). Take the Windows definition of ACTIVATION_CONTEXT and use it instead. Also do the Windows behavior of allocating an ACTIVATION_CONTEXT_WRAPPED structure (which has a magic header), and returning the internal ACTIVATION_CONTEXT (and then looking up the "WRAPPED" whenever we need to check the magic). Ran kernel32:actctx and no regressions seen. My hope is to get the Rtl* interfaces at least compatible enough to Kernel32 from Windows so that when using it in ROS, it doesn't immediately crash and burn, we'll see how far that goes. I don't want to rewrite 2500 lines of XML parsing.
svn path=/trunk/; revision=60086
2013-09-13 22:44:57 +00:00
Hermès Bélusca-Maïto 6e8c79e64d [KERNEL32]
- npipe.c:
  * Use RtlPrefixUnicodeString instead of RtlPrefixString with casts.
  * Check results of RtlCreateUnicodeString and RtlPrefixUnicodeString, return FALSE if they fail and set an appropriate last error.
  * Free the string created with RtlCreateUnicodeString instead of leaking memory.
  * Fix a path type check (RtlPathTypeUncAbsolute instead of RtlPathTypeRootLocalDevice).
- path.c: I prefer seeing the default case at the end of the switch (no functional changes).

[NTOS:MM]
- Use RtlPrefixUnicodeString instead of RtlPrefixString with casts.

[RTL]
- RtlPrefixString acts on general PSTRINGs (which are not UNICODE).
- Remove extra spaces between names of functions and parentheses.
- Clarify the fact that we run over characters.

svn path=/trunk/; revision=60085
2013-09-13 22:27:41 +00:00
Amine Khaldi 02d7889f97 [HIDUSB][USBHUB]
* Silence some debug prints.

svn path=/trunk/; revision=60084
2013-09-13 22:03:47 +00:00
Hermès Bélusca-Maïto a927f1d071 [MOUNTMGR]
- Clarify the code (use properly RtlPrefixUnicodeString)
- 'if' level--;

svn path=/trunk/; revision=60083
2013-09-13 22:02:07 +00:00
Amine Khaldi 60b1848efb [XCOPY]
* Move the resource files to the lang folder.
CORE-7455 #resolve

svn path=/trunk/; revision=60082
2013-09-13 20:36:02 +00:00
Amine Khaldi 38d24bf8fe [INCLUDES]
* Deduplicate wpp.h and make the host one redirect to it.

svn path=/trunk/; revision=60081
2013-09-13 20:32:30 +00:00
Amine Khaldi 421e45116c [PSDK]
* Add missing EDS_ROTATEDMODE definition.

svn path=/trunk/; revision=60080
2013-09-13 20:10:57 +00:00
Thomas Faber 402a58ad80 [QMGR_WINETEST]
- Enable qmgr tests again. They all get skipped now instead of crashing. When npfs_new manages to run these, we know it's really working well ;)
CORE-6536

svn path=/trunk/; revision=60079
2013-09-13 12:54:33 +00:00
Thomas Faber 95073a9f10 [NPFS_NEW]
- Use documented functions

svn path=/trunk/; revision=60078
2013-09-13 12:46:32 +00:00
Thomas Faber b8cd2c0b63 [NPFS_NEW]
- Fix another DataQueue->QueueState condition
- Use IsListEmpty for readability

svn path=/trunk/; revision=60077
2013-09-13 12:41:44 +00:00
Amine Khaldi 97ac51ad68 [WINE/TEST]
* Make win_skip work for ReactOS test platform too.

svn path=/trunk/; revision=60076
2013-09-13 10:54:12 +00:00
Amine Khaldi eb17ba28c4 [SCRRUN_WINETEST]
* Import from Wine 1.7.1.

svn path=/trunk/; revision=60075
2013-09-13 10:19:51 +00:00
Amine Khaldi 2884eb4ffb [WINE/TEST]
* Introduce a way to properly mark the todos instead of counting them as failures. Brought to you by Thomas Faber.

svn path=/trunk/; revision=60074
2013-09-13 09:20:52 +00:00
Amine Khaldi e6b9ab39f6 [KERNEL32]
* Silence some debug prints.

svn path=/trunk/; revision=60073
2013-09-13 09:02:56 +00:00
Alex Ionescu d6b7cc394d [NPFS-NEW]: Activate NPFS-NEW. Let's see what happens.
svn path=/trunk/; revision=60072
2013-09-13 08:01:10 +00:00
Alex Ionescu 384e5d6f11 [NTOSKRNL]: Activate the pseudo-quota system. It doesnt' do much but at least it can silence the debug spam. I think mike wrote it..
svn path=/trunk/; revision=60071
2013-09-13 08:00:16 +00:00
Alex Ionescu f2ca6ff5d0 [NPFS-NEW]: Fix pool corruption and crashing bugs in NpPeek, which was using sizeof instead of FIELD_OFFSET.
[NPFS-NEW]: Actually implement NpCancelWaiter instead of making it ASSERT.
[NPFS-NEW]: Critical fixes to NpAddWaiter and NpWaitForNamedPipe to fix logic flaws.
NPFS-NEW now behaves without any visible regressions, and exhibits only 2 failures in the kernel32 pipe winetest -- vs 120+ failures with the current NPFS driver. It has 0 ntdll pipe failures, and 0 kmtest pipe failures.

svn path=/trunk/; revision=60070
2013-09-13 07:49:42 +00:00
Alex Ionescu f9cb414f74 [NPFS-NEW]: Implement NpImpersonate, needed by FSCTL_PIPE_IMPERSONATE, called by ImpersonateNamedPipeClient (in advapi). Down to only 12 kernel32:pipe failures, a 1100% improvement over npfs.
svn path=/trunk/; revision=60069
2013-09-12 23:55:56 +00:00
Alex Ionescu 6f65345379 [NPFS-NEW]: Fix a bug in NpRemoveDataQueueEntry.
[NPFS-NEW]: Fix busted up NpGetNextRealDataQueueEntry and fix its usage.
These changes don't appear to "fix" any tests, but they were real bugs. Thanks to ThFabba.

svn path=/trunk/; revision=60068
2013-09-12 23:54:59 +00:00
Alex Ionescu fb79499369 [NPFS-NEW]: Fix moar bougs. pipe: 33920 tests execute (0 marked as todo, 84 failures), 0 skipped. Note that this is already better than trunk's npfs!
svn path=/trunk/; revision=60067
2013-09-12 22:42:13 +00:00
Jérôme Gardou 4f9c6d1106 [VGA_NEW]
- Lessons learnt: the more trivial, the more suspicious.
Fix build, and remind that MSDN is not always right.

svn path=/trunk/; revision=60066
2013-09-12 21:22:42 +00:00
Alex Ionescu b77b18fac3 [CSRSRV]: hbelusca: wait a sec ;-) Fix CsrCreateWait and CSR_WAIT_BLOCK to match Windows Server 2003 semantics, which don't have a "UserWaitList". Fix our winsrv not to call CsrCreateWait incorrectly (which corrupted the heap/stack when using windows's csrsrv.dll).
svn path=/trunk/; revision=60065
2013-09-12 21:05:58 +00:00
Jérôme Gardou fabd7b9297 [VGA_NEW]
- Use VideoDebugPrint macro instead of VideoPortDebugPrint function.
It's the same, but different (tm).

svn path=/trunk/; revision=60064
2013-09-12 20:58:12 +00:00
Jérôme Gardou 613e1df799 [VGA_NEW]
- Zero out the Int10 Bios call arguments structure before calling Videoprt Int10CallBios
 - Properly check for VESA BIOS return value from such calls
 - Use VGA registers to update the palette when possible.
Now bochs goes up to 3rd stage when using this driver in conjunction with framebuf_new.

svn path=/trunk/; revision=60063
2013-09-12 20:25:24 +00:00
Jérôme Gardou 1997f1ae38 [SETUPAPI]
SourceDisksFiles and SourceDisksNames inf section can be platform dependant.

svn path=/trunk/; revision=60062
2013-09-12 20:18:26 +00:00
Kamil Hornicek 4e23142740 [NTOSKRNL][KERNEL32]
Fix a few more cases of missing _SEH2_YIELD.

svn path=/trunk/; revision=60061
2013-09-12 10:06:34 +00:00
Thomas Faber 768c9544be [NTMARTA]
- Request the necessary SYNCHRONIZE access right. Fixes advapi32:security regression

svn path=/trunk/; revision=60060
2013-09-12 09:57:25 +00:00
Alex Ionescu 45d60558d0 [NTOSKRNL]: Implement ThreadIsTermination info class in NtQueryInformationThread.
[CSRSRV]: CsrInsertThread should call this API to make sure the thread isn't dead already. Update the callers to handle this possible failure.
This behavior was obeserved in Windows' CSRSRV.DLL. It now works in ReactOS as well.

svn path=/trunk/; revision=60059
2013-09-12 09:02:48 +00:00
Alex Ionescu 951ed16a33 [USER32]: Make ClientThreadSetup return TRUE, and document how initialization should work. Enable CsrConnectToUser in CSRSRV. Works-4-me(TM).
svn path=/trunk/; revision=60058
2013-09-12 08:41:25 +00:00
Alex Ionescu 18bb4e2eaf [SMLIB]: Use the right API port name. Now Windows's SMSS works fine in ROS.
svn path=/trunk/; revision=60057
2013-09-12 08:02:05 +00:00
Alex Ionescu 7e18d05872 [NTOSKRNL]: Fix the fix
svn path=/trunk/; revision=60056
2013-09-12 07:55:45 +00:00
Alex Ionescu b483aad5f9 [NTOSKRNL]: Make MiCreateImageSection return STATUS_SUCCESS, not some fucked-up ROS-specific status code.
[NTOSKRNL]: Make MmCreateSection do the correct access checks and parameter checks, just like ARM3 does. For example, asking for PAGE_EXECUTE on a non-image file no longer requests SYNCHRONIZE and FILE_READ_DATA...it asks... FILE_EXECUTE. Cause you know... that's what the caller..wants. Anyway, this, among other things, fixes LdrValidateImageChecksum (and those annoying errors 0xC0000022 in the logs). SMSS is now checking the checksums of Known DLLs just like before (in Win7 they stopped doing this to improve boot performance, lol). It also makes Windows' SMSS happy.

svn path=/trunk/; revision=60055
2013-09-12 06:01:52 +00:00
James Tabor 558e78421b Attempt to fix CORE-6024
svn path=/trunk/; revision=60054
2013-09-12 02:26:36 +00:00