Commit graph

61262 commits

Author SHA1 Message Date
Amine Khaldi f759acbfe3 [SHELL32] Show/Hide hidden files/folders through registry. By Lee Schroeder. CORE-9207
svn path=/trunk/; revision=66689
2015-03-14 12:18:33 +00:00
Amine Khaldi ff09513565 [DESK] Implement and export InstallScreenSaver{A,W}. By Peter Hater. CORE-6812
svn path=/trunk/; revision=66688
2015-03-14 12:10:33 +00:00
Amine Khaldi 6b8bf7348d [MPLAY32] Remove szPrevFile and related code without removing the part that invokes the file open dialog if playback is started when no media file is opened. By Ricardo Hanke. CORE-8477
svn path=/trunk/; revision=66687
2015-03-14 12:05:49 +00:00
Amine Khaldi 5828eec88b [INETCPL] Add a certificate picture to the Content Tab. Brought to you by Jared. CORE-9263
svn path=/trunk/; revision=66686
2015-03-14 12:00:24 +00:00
Timo Kreuzer e4ce29c7c6 [WIN32K]
Initialize list entry after removing a message from DispatchingMessagesHead. Fixes list corruption.
CORE-9357 #resolve

svn path=/trunk/; revision=66685
2015-03-14 11:22:31 +00:00
Johannes Anderwald 11164521c3 [MMSYS]
- hardware ids must be terminated by 2 zero bytes
[KS]
- more fixes to software bus pnp enumerator
[MMIXER]
- dont assert on buggy topology lines
[NTOS]
- keys must be REG_OPTION_VOLATILE
- allocate file object with correct tag
[INF]
- register wdmaudio as pnp software device (not yet ready)

svn path=/trunk/; revision=66684
2015-03-14 11:12:32 +00:00
Amine Khaldi 7236b07eec [KERNEL32] Silence a DPRINT.
svn path=/trunk/; revision=66683
2015-03-14 10:59:40 +00:00
Amine Khaldi d534d99907 [DDK] Bring nt_vdd.h up to DDK formatting standards and use annotations. NFC.
svn path=/trunk/; revision=66682
2015-03-14 10:50:52 +00:00
Amine Khaldi 959962a683 [DESK] Set the default value for the placement combobox and load the monitor bitmap before the registry is accessed. Lower the requested access rights for RegOpenKeyEx to HKEY_QUERY_VALUE. In case RegOpenKeyEx fails, simply return to the calling function. Remove result and varType variables. By Ricardo Hanke. CORE-9365
svn path=/trunk/; revision=66681
2015-03-14 10:28:22 +00:00
Amine Khaldi 4ec3e6e63e [SYSDM] Add new icons to the Hardware tab of sysdm. Brought to you by Jared. CORE-9317
svn path=/trunk/; revision=66680
2015-03-14 10:15:13 +00:00
Amine Khaldi 0524088717 [DESK] Fix a freeze caused by changing screensaver settings. By Peter Hater. CORE-5718
svn path=/trunk/; revision=66679
2015-03-14 10:10:06 +00:00
Amine Khaldi a7516a6c98 [PSDK] Add missing ulFileCount field in the ACTIVATION_CONTEXT_ASSEMBLY_DETAILED_INFORMATION structure. Fixes a kernel32:actctx test failure.
svn path=/trunk/; revision=66678
2015-03-14 10:06:04 +00:00
Amine Khaldi 99300d7111 [NTDLL_WINETEST] Fix test failures on systems with broken RtlDecompressBuffer(). By Sebastian Lackner.
svn path=/trunk/; revision=66677
2015-03-14 10:03:10 +00:00
David Quintana a5f9430988 [NTOBJSHEX]
* Fix content type column to represent the correct type, or "Key". This column would contain the custom class name if it was ever assigned (I have not seen such a case).
* Implement reading registry values when enumerating details.
Now the registry browsing is semi-useful, albeit read-only.

svn path=/trunk/; revision=66676
2015-03-14 04:04:27 +00:00
Hermès Bélusca-Maïto 9606bcd3f2 [NTVDM]: Move EMS support as a BIOS module (and initialize it after the BIOS has finished its initialization, including resetting the INT handlers).
svn path=/trunk/; revision=66675
2015-03-14 03:37:54 +00:00
David Quintana 6928fadeff [NTOBJSHEX]
* Replace the custom context menu classes with the default implementation from shell32. As a side-effect, navigation now works in ReactOS.
* Make use of the default implementations of IDataObject and IQueryAssociations from shell32 (required by the IContextMenu implementation of Win2003).
* Fix initialization of the NT Object Folder's pidl.
* Make CompareIDs recursive.
* Fix the recursivity in GetDisplayNameOf, when called with FORPARSING.
NOTE: There is still some issue with GetDisplayNameOf, where the address shown in the addressbar seems to skip path components.

svn path=/trunk/; revision=66674
2015-03-14 03:15:36 +00:00
Aleksandar Andrejevic d2d2431614 [NTVDM]
Implement the EMS memory handlers.
Make memory hooks expandable.


svn path=/trunk/; revision=66673
2015-03-14 01:54:35 +00:00
Hermès Bélusca-Maïto a0ee24eb0b You haven't seen those changes. Never.
svn path=/trunk/; revision=66672
2015-03-14 01:50:05 +00:00
Hermès Bélusca-Maïto c80f97eea6 [NTVDM]
- cpu.c: Convert the faulting address to "real" (VM) address before calling the exception handler.
- ems.c: Simplify code by using ARRAY_INDEX; some poiters should point to physical memory.
- ems.c: Memory hook addresses should be "real".
- memory.c: Remove an extra MemFastMoveMemory call; really use IsListEmpty (was commented by error in my previous commit).

svn path=/trunk/; revision=66671
2015-03-14 01:45:50 +00:00
Hermès Bélusca-Maïto c73bb5a49f [NTVDM]
- Export VDDInstallMemoryHook and VDDDeInstallMemoryHook.
- Stubplement and export VDDAllocMem, VDDFreeMem, VDDIncludeMem and VDDExcludeMem (undocumented).

svn path=/trunk/; revision=66670
2015-03-13 23:26:33 +00:00
Hermès Bélusca-Maïto 682debaaf6 [NTVDM]
- Move the VDD memory handler API prototypes to the corresponding DDK header.
- Fix few function arguments types and add few more comments :)
- Move all NTVDM-memory related functions to memory.c
- Prefer checking for !IsListEmpty(&list) instead of doing list.Flink != &list (ehh! NTVDM is not win32k!!)

svn path=/trunk/; revision=66669
2015-03-13 22:38:44 +00:00
Christoph von Wittich 6ea4a782ee [WLANSVC]
fix a typo
spotted by Eric

svn path=/trunk/; revision=66668
2015-03-13 19:09:32 +00:00
Aleksandar Andrejevic f0154e5af4 [NTVDM]
Fix copypasta in the file headers.


svn path=/trunk/; revision=66667
2015-03-13 18:28:45 +00:00
Aleksandar Andrejevic 888e1c450b [NTVDM][FAST486]
- Implement VDDInstallMemoryHook and VDDDeInstallMemoryHook using page guards.
- Implement another API for memory hooks that should be faster than page guards
(for NTVDM only).
- Adjust the VGA and EMS memory handlers to use this method.
- In Fast486, implement a method that will allow us to "rewind" the current instruction,
in case it was interrupted by a memory hook page fault.
- Use a memory hook to protect the BIOS ROM from being written to.


svn path=/trunk/; revision=66666
2015-03-13 17:57:51 +00:00
Timo Kreuzer 027720cd57 [INCLUDE/WINE]
Delete mmreg.h from wine folder, we have an almost identical and more complete version in psdk

svn path=/trunk/; revision=66665
2015-03-11 18:02:11 +00:00
Thomas Faber 07aa0d698c [DDK][NDK][XDK]
- Update some definitions to match WDK8.1. Fixes a few compatibility issues between NDK and WDK.
CORE-9356 #resolve

svn path=/trunk/; revision=66663
2015-03-11 09:21:10 +00:00
Hermès Bélusca-Maïto 444d33d50b [WIN32K]
- Implement NtUserResolveDesktop, which opens a desktop and a window station based on a desktop path string (format: "WinSta\Desktop").
- Move NtUserConsoleControl to a more suitable file, and implement the control code that allows CSRSS to assign console input threads to given desktops.
- Simplify a bit the code in NtUserSetInformationThread.

[CONSRV]
Turn the console input thread to a real one. There should be one such thread per desktop. When a console process is started, we open the desktop on which the process is going to start, we create a new input thread (attach it to the desktop) if needed, or reuse the existing one, and then we open the terminal on the correct desktop.

CORE-9346 #resolve #comment Fixed in revision 66662.

svn path=/trunk/; revision=66662
2015-03-11 01:21:29 +00:00
Timo Kreuzer 3ea483bc85 [WIN32K]
Don't set Message->DispatchingListEntry.Flink to NULL / compare against NULL, but use InitializeListHead and IsListEmpty. Make sure the list entry is properly initialize, when the item is removed Fixes list corruption.

svn path=/trunk/; revision=66661
2015-03-10 10:27:00 +00:00
Amine Khaldi e5c8124164 [ADVAPI32_WINETEST] Sync with Wine Staging 1.7.37. CORE-9246
svn path=/trunk/; revision=66660
2015-03-10 10:10:54 +00:00
Amine Khaldi 8d12ad730d [MSVCRT_WINETEST] Sync with Wine Staging 1.7.37. CORE-9246
svn path=/trunk/; revision=66659
2015-03-10 10:10:35 +00:00
Amine Khaldi 26326ca7d5 [NTDLL_WINETEST] Sync with Wine Staging 1.7.37. CORE-9246
svn path=/trunk/; revision=66658
2015-03-10 10:10:04 +00:00
Amine Khaldi 6bd29991d4 [PSDK] Add missing KEY_NAME_INFORMATION structure. CORE-9246
svn path=/trunk/; revision=66657
2015-03-10 10:09:14 +00:00
Timo Kreuzer 5f980c38ce [WIN32K]
Fix a typo introduced in r66644. Fixes icon corruption / testbot regression.
CORE-9351 #resolve

svn path=/trunk/; revision=66656
2015-03-10 10:01:44 +00:00
Timo Kreuzer 649462e5ff [NDK]
Update no_sal2.h

svn path=/trunk/; revision=66655
2015-03-10 09:10:14 +00:00
Timo Kreuzer bb60692b92 [SAL]
- kernelspecs.h: Add IRQL level defines, remove a duplicate annotation and make some definitions more consistent
- concurrencysal.h: Add missing annotations (only dummies so far)
- driverspecs.h: Add some missing annotations
- sal_old.h: remove __inner_callback, which is in sal.h

svn path=/trunk/; revision=66654
2015-03-10 09:10:00 +00:00
Timo Kreuzer ba96aa436b [INCLUDE/CRT]
Fix annotations for _dupenv_s and _wdupenv_s (They are broken in MS headers, looks like nobody uses attributes for SAL...)

svn path=/trunk/; revision=66653
2015-03-10 09:09:48 +00:00
Timo Kreuzer 54b2c750ce [SAL]
Implement _Deref_post_bytecount_, _Outptr_result_maybenull_z_, _Pre_unknown_ and _Maybe_raises_SEH_exception_ annotations

svn path=/trunk/; revision=66652
2015-03-10 09:09:31 +00:00
Timo Kreuzer 05322e37a2 [XDK]
Fix typos, spotted by Thomas.

svn path=/trunk/; revision=66651
2015-03-10 09:05:08 +00:00
Timo Kreuzer 475a0d5255 [WIN32K]
Annotate eng/mapping.c

svn path=/trunk/; revision=66650
2015-03-10 00:13:43 +00:00
Timo Kreuzer eebc6ac87d [WIN32K]
Annotate mouse.c, move some prototypes to the proper location.
Fix bugs in EngSetPointerShape and IntEngSetPointerShape, where the passed in XLATEOBJ could be NULL. Found by MSVC static analyzer.

svn path=/trunk/; revision=66649
2015-03-10 00:13:29 +00:00
Timo Kreuzer af94181e04 [WIN32K]
Annotate rect.c

svn path=/trunk/; revision=66648
2015-03-10 00:13:17 +00:00
Timo Kreuzer b673073aa1 [WIN32K]
- Annotate eng/device.c and semaphor.c.
- Get rid of IntGdiAcquire/ReleaseSemaphore
- Move some prototypes where they belong

svn path=/trunk/; revision=66647
2015-03-10 00:13:04 +00:00
Timo Kreuzer d33bc192ba [WIN32K]
Fix all MSVC static analyzer warnings. (a few are suppressed after checking that it's ok)
Fixes a number of missing or wrong function return checks, wrong printf format specifiers and a few other things,

svn path=/trunk/; revision=66646
2015-03-10 00:12:41 +00:00
Timo Kreuzer 42587dd1d3 [WIN32K]
Apply proper formatting to polyfill.c

svn path=/trunk/; revision=66645
2015-03-10 00:11:43 +00:00
Timo Kreuzer fe4dc5d9d5 [WIN32K]
Annotate a number of GDI functions to match public header declarations.

svn path=/trunk/; revision=66644
2015-03-10 00:11:29 +00:00
Timo Kreuzer 6a2c72929e [PSDK]
Move __analysis_assume to sal.h (like in newer Windows SDKs) and define it (together with _Analysis_assume_) to "((void)0)" instead of to nothing, to allow it to be used with a comma.

svn path=/trunk/; revision=66643
2015-03-10 00:10:57 +00:00
Timo Kreuzer 83779b37e6 [PSDK/DDK/XDK]
- Make NT_ASSERT() give the MSVC static analyzer a hint that the condition can now be excpected to be true. This adds __analysis_unreachable(), which uses __assume(0) on _PREFAST_ builds. This is neccessary, since it seems impossible to make MSVC respect __analysis_noreturn / __declspec(noreturn) on an intrinsic prototype like __int2c().

svn path=/trunk/; revision=66642
2015-03-10 00:10:46 +00:00
Timo Kreuzer a3df492617 [PSDK]
Update ntgdi.h:
- Change some return types from VOID to NTSTATUS. This was done recently on Windows, but there shouldn't be a compatibility issue with returning an NTSTATUS value instead of the random contents of the eax register.
- Change 2 parameters from VOID* to DRIVER_INFO_2W* and 2 parameters from VOID* to POINTL*
- Add annotations

svn path=/trunk/; revision=66641
2015-03-10 00:10:33 +00:00
Timo Kreuzer 6ff50b28b0 [PSDK]
struct _DRVENABLEDATA -> struct tagDRVENABLEDATA

svn path=/trunk/; revision=66640
2015-03-10 00:10:09 +00:00
Timo Kreuzer 4aa79e133e [CMAKE]
Make warning C4716 (function must return a value) an error on MSVC

svn path=/trunk/; revision=66639
2015-03-10 00:09:58 +00:00