Commit graph

63388 commits

Author SHA1 Message Date
Sylvain Petreolle 4921df2054 [COM_APITEST]
Do not test for ISFHelper anymore.

svn path=/trunk/; revision=68919
2015-09-02 20:52:34 +00:00
Pierre Schweitzer e3825569ca [RTL]
Finally, use the correct implementation for RtlAssert().

In testbots, the behavior will be the following:
On prompt, sysreg will always issue a 'break once' instruction. In umode, where kdbg isn't instructed to handle breakpoint, this will lead to application being killed. With a lot of noise. This matches previous behavior.
In kmode, where kdbg handles breakpoints, sysreg2 will ask for a bt and will reboot the VM. As it was done previously.

The testbots already have the newest available sysreg2 revision.

This was made possible thanks to the help of Stefan and Thomas.
It was also made possible thanks to the commits:
- in trunk: r68899, r68905, r68917
- in project-tools: r2074, r2232

CORE-10088 #resolve #comment Fixed with r68918

svn path=/trunk/; revision=68918
2015-09-02 20:18:42 +00:00
Pierre Schweitzer db71d8393e [KERNEL32]
Always print information about unhandled exception, even when GUI error dialog boxes are disabled

CORE-10088

svn path=/trunk/; revision=68917
2015-09-02 20:11:39 +00:00
Giannis Adamopoulos a5b00b8271 [SHELL32] - Remove Reactos only ISFHelper interface that is no longer used.
svn path=/trunk/; revision=68916
2015-09-02 18:20:40 +00:00
Giannis Adamopoulos b228db061a [SHELL32]
- CNewMenu: Get the folder path from the pidl passed in the Initialize method. No need to query the defview for that.
- Dont use a reactos only interface to create a new directory. Prefer to do it with less code using exported functions.
- Add a new SelectNewItem method that is used when creating a new file or directory.
- Apply same fix for browse for folder dialog.

svn path=/trunk/; revision=68915
2015-09-02 13:14:46 +00:00
Christoph von Wittich 1ac43d0e3f [CRT] just print the error number if we don't have a matching string
svn path=/trunk/; revision=68914
2015-09-02 12:33:11 +00:00
Christoph von Wittich 3c5b952cb3 [CRT] fix null pointer deref in _gmtime64_s CID 515314
svn path=/trunk/; revision=68913
2015-09-02 10:20:21 +00:00
Giannis Adamopoulos cba771af31 [SHELL32] - Fix copy paste bug
svn path=/trunk/; revision=68912
2015-09-02 09:31:16 +00:00
Thomas Faber f14431ec16 [NTOS:SE]
- Correctly check ACE type in SeFastTraverseCheck. CID 1102005

svn path=/trunk/; revision=68911
2015-09-02 09:19:52 +00:00
Christoph von Wittich e560a1993f [NTMARTA] fix copypasta
svn path=/trunk/; revision=68910
2015-09-02 08:56:58 +00:00
Thomas Faber 16deb5bf24 [RTL]
- Fix check for optional parameters in RtlGetCallersAddress

svn path=/trunk/; revision=68909
2015-09-02 05:38:02 +00:00
James Tabor ff31610bfb [Win32k]
- Fix painting message regression.

svn path=/trunk/; revision=68908
2015-09-01 23:58:23 +00:00
Stefan Ginsberg e4007ae73a - Implement super-simple KeSweepICache that always flushes the entire instruction cache. Use it in KD64 after modifying memory to make sure CPU gets the correct code to execute, and in NtFlushInstructionCache. May improve breakpoints somewhat.
- Move NtFlushInstructionCache from sysinfo.c to virtual.c where it fits better. Likewise, move it from kefuncs to mmfuncs in NDK, and fix function arguments (ULONG -> SIZE_T).
- Re-enable TRAP_DEBUG, adding back critical checks in the trap code. Checks can be improved but it is better than potentially silently messing up system state.
- Move remaining RtlPrefetchMemoryNonTemporal code into kernel. Stubbed for non-x86.
- By Hermes suggestion, override ASSERT to NT_ASSERT only for MSVC builds as that is where the main benefit is.

svn path=/trunk/; revision=68907
2015-09-01 23:45:48 +00:00
Pierre Schweitzer e33dc625bc [HHPCOMP]
Fix headers inclusion on MacOSX.
This fixes hhpcomp build on MacOSX
Patch by Nicolas Rouvière

CORE-10084 #resolve #comment Committed in r68906. Thanks!

svn path=/trunk/; revision=68906
2015-09-01 22:44:56 +00:00
Pierre Schweitzer 9bd7b06448 [NTOSKRNL]
Fix KdpPrompt():
- Don't attempt to return in the middle of the loop. It leads to keep the mouse disabled instead of reenabling it.
- Also, return a string length that actually matches what was written to the output buffer.

This fixes invalid behavior on RtlAssert when used with #if 0 moved to #if 1, or when Windows NTDLL is used in ReactOS.

CORE-10082 #resolve #comment Fixed with r68905
CORE-10083 #resolve #comment Fixed with r68905

svn path=/trunk/; revision=68905
2015-09-01 22:32:55 +00:00
James Tabor 6dfa71c487 [Win32SS|UxTheme]
- Move Menu to server side. See CORE-7797 and CORE-8299.
- This was for speed while moving windows about the desktop and fixed test results too.

svn path=/trunk/; revision=68904
2015-09-01 22:10:13 +00:00
Stefan Ginsberg eebbf23330 - Move misplaced RtlPrefetchMemoryNonTemporal from rtl into kernel where it belongs (it only exists as an export for use by drivers to safely try to use prefetchnta even if it may not be available). Use existing global KePrefetchNTAGranularity that is set to the correct value via cpuid instead of hardcoded "Ke386CacheAlignment".
svn path=/trunk/; revision=68903
2015-09-01 19:51:52 +00:00
Thomas Faber fb17ced703 [NTOS:KE]
- Enable DPC timeout check on debug builds. Suggested by Stefan

svn path=/trunk/; revision=68902
2015-09-01 18:26:29 +00:00
Thomas Faber 62945a0c1c [NTOS:EX]
- Remove the timer's list entry instead of the list head in NtSetTimer and NtCancelTimer. Fixes list entry corruption on VMware Hybrid builder
CORE-10081 #resolve

svn path=/trunk/; revision=68901
2015-09-01 17:52:09 +00:00
Pierre Schweitzer aafd9216cf [NTOSKRNL]
Fix MSVC build?

svn path=/trunk/; revision=68900
2015-09-01 17:32:34 +00:00
Pierre Schweitzer 82cc4faad5 [NTOSKRNL]
Probe buffers in case they come from user-mode in KdpPrint() and KdpPrompt().
This fixes two fixme.

svn path=/trunk/; revision=68899
2015-09-01 17:23:56 +00:00
Thomas Faber ee071ab752 [CRT]
- Rewrite _fpreset based on Wine. Fixes the last kernel32:thread test failure

svn path=/trunk/; revision=68898
2015-09-01 14:57:30 +00:00
Thomas Faber 59201c3063 [NETAPI32]
- Correctly reallocate buffer in NetWkstaUserGetInfo. Fixes one of the many exceptions when running netapi32 tests with DPH.

svn path=/trunk/; revision=68897
2015-09-01 14:09:51 +00:00
Thomas Faber 373dce19d4 [PSDK]
- Sync access.idl and msinkaut.idl with Wine. Fixes MIDL warnings.

svn path=/trunk/; revision=68896
2015-09-01 14:07:06 +00:00
Christoph von Wittich 53fa26a2bf [STOBJECT] only change the volume icon when the state changed
svn path=/trunk/; revision=68895
2015-09-01 13:55:34 +00:00
Stefan Ginsberg cb58261a0c - Fix what should hopefully be the last bug in the floating point state save/load code -- in KiNpxHandler check if the state is loaded before unloading it instead of checking if it is *unloaded* before... unloading it. Also clear up some comments.
- Thomas is da man.

svn path=/trunk/; revision=68894
2015-09-01 13:20:50 +00:00
David Quintana 332652615a [EXPLORER]
* Remove old icons from the tray imagelist.

svn path=/trunk/; revision=68893
2015-09-01 12:32:05 +00:00
Giannis Adamopoulos 4a52a2ec13 [SHELL32]
- Fix a hack that broke copying files after recent fixes.

svn path=/trunk/; revision=68892
2015-09-01 10:18:40 +00:00
Stefan Ginsberg e441f06d17 - You know what, NT_ASSERT is awesome.
svn path=/trunk/; revision=68891
2015-09-01 09:25:18 +00:00
Stefan Ginsberg 33f24ed20a - Missed these. Goodbye NT_ASSERT.
svn path=/trunk/; revision=68890
2015-09-01 08:41:39 +00:00
James Tabor 7627920bef [Win32k]
- Fix more ATI issues, pass more related tests. See CORE-6551.

svn path=/trunk/; revision=68889
2015-09-01 01:48:37 +00:00
Stefan Ginsberg e4fd9b81bc - Remove all NT_ASSERT from the kernel and replace with good old ASSERT, for ease of debugging, especially for tests run on the build servers. There is no need to use NT_ASSERT in the kernel.
- The fish is long gone.

svn path=/trunk/; revision=68888
2015-09-01 01:45:59 +00:00
Stefan Ginsberg a4f0ae9e87 - Fix link fix build.
svn path=/trunk/; revision=68887
2015-09-01 00:38:40 +00:00
Stefan Ginsberg fdeca1b2b2 - Small patch to fix (delayed) loading of floating point state. Enables the special handling of fpu exceptions caused by frstor when used by the kernel, by implementing its use in assembly so the trap handler gets the instruction address it needs (for ALl compilers!). May or may not fix the fact that floating point state is not properly saved between threads.
See CORE-10005.

svn path=/trunk/; revision=68886
2015-09-01 00:20:57 +00:00
Giannis Adamopoulos bb8a6e700c [SHELL32]
- Rename SHELL32_BindToChild to SHELL32_BindToFS. Do not let it be used for guid items any more. Split SHELL32_GetCLSIDForDirectoryout of it and call it only when needed.
- Fix callers to use SHELL32_BindToGuidItem for guid items.
- Fix a bug in CFSFolder which marked folder items as files when a binding context was used.

svn path=/trunk/; revision=68885
2015-08-31 23:44:02 +00:00
Giannis Adamopoulos 5d50aaffdd [SHELL32]
- All shell folders must have the IPersistFolder. Hence their Initialize method is supposed to succeed for them to actually work.

svn path=/trunk/; revision=68884
2015-08-31 23:12:03 +00:00
Amine Khaldi 3f45fd516a [VSSAPI] Import from Wine Staging 1.7.47. Thanks to Thomas Faber for his help. [PSDK] Import vss.idl and vswriter.h from Wine Staging 1.7.47. CORE-9924 CORE-9965
svn path=/trunk/; revision=68883
2015-08-31 19:34:37 +00:00
Amine Khaldi 7509f2af06 [SETUPAPI] Sync setupcab.c with Wine Staging 1.7.47. CORE-9924
svn path=/trunk/; revision=68882
2015-08-31 17:52:48 +00:00
Thomas Faber ac0593b71d [NTOS:EX]
- Don't leak process reference in NtFlushInstructionCache. Spotted by Stefan

svn path=/trunk/; revision=68881
2015-08-31 13:53:14 +00:00
Thomas Faber 847346ed85 [LSASRV]
- Correctly call LsarClose in DsRolepGetBasicInfo

svn path=/trunk/; revision=68880
2015-08-31 13:46:38 +00:00
Thomas Faber c51b0c1318 [NETAPI32]
- Don't try to close the deleted user handle in NetUserDel

svn path=/trunk/; revision=68879
2015-08-31 13:44:57 +00:00
Giannis Adamopoulos 65783dfa91 Fix build.
svn path=/trunk/; revision=68878
2015-08-31 11:35:26 +00:00
Giannis Adamopoulos 8da2ae9374 [SHELL32]
- Make SHELL32_GetDisplayNameOfChild return the result via a STRRET. Fix all callers accordingly.
- Avoid any heap allocations if a shell folder needs to forward the GetDisplayNameOf call to a child.

svn path=/trunk/; revision=68877
2015-08-31 11:28:24 +00:00
James Tabor 8828db039a [NtGdi]
- Fix color setting.

svn path=/trunk/; revision=68876
2015-08-30 23:15:55 +00:00
Amine Khaldi 48844bd8da [FREETYPE] Revert the 2.6.0 sync until we figure out what's causing the second stage bugcheck. CORE-10072
svn path=/trunk/; revision=68875
2015-08-30 17:16:36 +00:00
Amine Khaldi 84ca2e2c16 [FREETYPE] Sync up to 2.6.0. CORE-10072
svn path=/trunk/; revision=68874
2015-08-30 15:54:09 +00:00
Giannis Adamopoulos dc515c2a97 [SHELL32]
- Remove SHELL32_GetItemAttributes for good. It is never a good idea to have one function that handles many types of pidls.

svn path=/trunk/; revision=68873
2015-08-30 14:28:07 +00:00
Pierre Schweitzer 65caa6e448 [NTFS]
No reason to keep NTFS disabled. Make it manually started (ie, by FsRec)

svn path=/trunk/; revision=68872
2015-08-30 13:05:20 +00:00
Thomas Faber 1921cae21e [SERVICES]
- Correctly copy group dependencies in ScmWriteDependencies (DPH)

svn path=/trunk/; revision=68871
2015-08-30 09:52:57 +00:00
Thomas Faber fec1f08cd5 [TCPIP_DRVTEST]
- Handle errors to avoid uninitialized variable usage

svn path=/trunk/; revision=68870
2015-08-30 09:31:23 +00:00