reactos.git
8 years ago[ROSAPPS]
Timo Kreuzer [Sat, 14 Mar 2015 23:32:00 +0000 (23:32 +0000)]
[ROSAPPS]
Fix GCC warnings

svn path=/trunk/; revision=66714

8 years ago[PSDK]
Timo Kreuzer [Sat, 14 Mar 2015 22:11:20 +0000 (22:11 +0000)]
[PSDK]
winnt.h: Improve Rtl*Memory defines, add missing RtlEqualMemory

svn path=/trunk/; revision=66713

8 years ago[NOTEPAD]
Hermès Bélusca-Maïto [Sat, 14 Mar 2015 20:00:39 +0000 (20:00 +0000)]
[NOTEPAD]
- Remove unneeded ChangeLog file (we have SVN)
- Partial wine resync of notepad (part 1/x): it's just to bring back some of their fixes and improvements. CORE-9371

svn path=/trunk/; revision=66712

8 years ago[PSDK]
Timo Kreuzer [Sat, 14 Mar 2015 18:12:50 +0000 (18:12 +0000)]
[PSDK]
Add missing _Enum_is_bitflag_ and _Strict_type_match_ annotations. remove a wrong annotation

svn path=/trunk/; revision=66711

8 years ago- fix build
Johannes Anderwald [Sat, 14 Mar 2015 17:53:52 +0000 (17:53 +0000)]
- fix build

svn path=/trunk/; revision=66710

8 years ago[WDMAUD]
Johannes Anderwald [Sat, 14 Mar 2015 17:50:30 +0000 (17:50 +0000)]
[WDMAUD]
- convert wdmaud to a software pnp device
- register device interface
[WDMAUD.DRV]
- open wdmaud via device interface

svn path=/trunk/; revision=66709

8 years ago[NTOS]: Do not assert if we haven't shut down ReactOS yet, in 99.99% cases it's becau...
Hermès Bélusca-Maïto [Sat, 14 Mar 2015 16:40:26 +0000 (16:40 +0000)]
[NTOS]: Do not assert if we haven't shut down ReactOS yet, in 99.99% cases it's because you asked it to go into a non-yet implemented power state.
CORE-8537 #resolve #comment Replaced the ASSERT by an informative message when the power action is not implemented. r66708.

svn path=/trunk/; revision=66708

8 years ago[CMAKE/GCC] Prevent GCC from searching any of the default directories, except when...
Amine Khaldi [Sat, 14 Mar 2015 15:47:04 +0000 (15:47 +0000)]
[CMAKE/GCC] Prevent GCC from searching any of the default directories, except when we're dealing with set_cpp. Now GCC build is on par with the MSVC build in terms of header inclusions.

svn path=/trunk/; revision=66707

8 years ago[WS2_32_WINETEST] Fix MSVC build.
Amine Khaldi [Sat, 14 Mar 2015 15:45:07 +0000 (15:45 +0000)]
[WS2_32_WINETEST] Fix MSVC build.

svn path=/trunk/; revision=66706

8 years ago[FMIFS]: Reorganize a bit the inclusions, and always compile the DLL in UNICODE.
Hermès Bélusca-Maïto [Sat, 14 Mar 2015 15:37:00 +0000 (15:37 +0000)]
[FMIFS]: Reorganize a bit the inclusions, and always compile the DLL in UNICODE.

svn path=/trunk/; revision=66705

8 years ago[PSDK]
Timo Kreuzer [Sat, 14 Mar 2015 15:34:48 +0000 (15:34 +0000)]
[PSDK]
Avoid redefinition of FILE_DEVICE_SMARTCARD in winsmcrd.h, when combined with wine/winioctl.h. A similar #ifdef exists in the MS header.

svn path=/trunk/; revision=66704

8 years ago[WINETESTS] Addendum to r66701. Fixes MSVC build.
Amine Khaldi [Sat, 14 Mar 2015 15:22:32 +0000 (15:22 +0000)]
[WINETESTS] Addendum to r66701. Fixes MSVC build.

svn path=/trunk/; revision=66703

8 years ago[TASKMGR]: Use correct headers aka. NDK instead of wine/winternl.h . Also remove...
Hermès Bélusca-Maïto [Sat, 14 Mar 2015 15:19:07 +0000 (15:19 +0000)]
[TASKMGR]: Use correct headers aka. NDK instead of wine/winternl.h . Also remove an unneeded header. Spotted by Sylvain.

svn path=/trunk/; revision=66702

8 years ago[KERNEL32_WINETEST] Really fix winternl.h inclusions. Our GCC build missed these.
Amine Khaldi [Sat, 14 Mar 2015 15:14:41 +0000 (15:14 +0000)]
[KERNEL32_WINETEST] Really fix winternl.h inclusions. Our GCC build missed these.

svn path=/trunk/; revision=66701

8 years ago[CMAKE] Disable PCH when the host system is Apple OS X.
Amine Khaldi [Sat, 14 Mar 2015 14:55:41 +0000 (14:55 +0000)]
[CMAKE] Disable PCH when the host system is Apple OS X.

svn path=/trunk/; revision=66700

8 years ago[ROSAPPS]
Timo Kreuzer [Sat, 14 Mar 2015 14:45:51 +0000 (14:45 +0000)]
[ROSAPPS]
Fix 2 warnings

svn path=/trunk/; revision=66699

8 years ago[PSAPI_WINETEST]
Christoph von Wittich [Sat, 14 Mar 2015 14:04:46 +0000 (14:04 +0000)]
[PSAPI_WINETEST]
fix build

svn path=/trunk/; revision=66698

8 years ago[WINETESTS]
Christoph von Wittich [Sat, 14 Mar 2015 14:02:06 +0000 (14:02 +0000)]
[WINETESTS]
fix kernel32 and ntdll winetest build

svn path=/trunk/; revision=66697

8 years ago[WS2_32_APITEST]
Timo Kreuzer [Sat, 14 Mar 2015 13:41:50 +0000 (13:41 +0000)]
[WS2_32_APITEST]
Addendum to r66695: use winternl.h from wine folder

svn path=/trunk/; revision=66696

8 years ago[PSDK]
Timo Kreuzer [Sat, 14 Mar 2015 13:40:36 +0000 (13:40 +0000)]
[PSDK]
Move winternl.h to include/reactos/wine.

svn path=/trunk/; revision=66695

8 years ago[FONTVIEW]
Timo Kreuzer [Sat, 14 Mar 2015 12:45:21 +0000 (12:45 +0000)]
[FONTVIEW]
In WinMain, higher the scope of szFileName to ensure that it and all variables that point to it are valid
throughout the program.
Should fix CID 731447.
Patch by Ricardo Hanke
CORE-9360 #resolve

svn path=/trunk/; revision=66694

8 years ago[RAPPS]
Daniel Reimer [Sat, 14 Mar 2015 12:39:55 +0000 (12:39 +0000)]
[RAPPS]
Update russian description for Tuxpaint in rapps by Petr Akhlamov
CORE-9153 #resolve #comment Added. Thx.

svn path=/trunk/; revision=66693

8 years ago[PSDK]
Timo Kreuzer [Sat, 14 Mar 2015 12:32:08 +0000 (12:32 +0000)]
[PSDK]
Sync winternl.h with wine

svn path=/trunk/; revision=66692

8 years ago[RAPPS]
Daniel Reimer [Sat, 14 Mar 2015 12:28:12 +0000 (12:28 +0000)]
[RAPPS]
Add File search 6.8.1 to Database. Updates and German translation by me.
CORE-9338 #resolve #comment Added, thx for reporting.

svn path=/trunk/; revision=66691

8 years ago[RAPPS]
Daniel Reimer [Sat, 14 Mar 2015 12:20:45 +0000 (12:20 +0000)]
[RAPPS]
lack of a proxy configuration by Peter Hater. German translation updated by me.
CORE-4852 #resolve #comment Committed, thx for help.

svn path=/trunk/; revision=66690

8 years ago[SHELL32] Show/Hide hidden files/folders through registry. By Lee Schroeder. CORE...
Amine Khaldi [Sat, 14 Mar 2015 12:18:33 +0000 (12:18 +0000)]
[SHELL32] Show/Hide hidden files/folders through registry. By Lee Schroeder. CORE-9207

svn path=/trunk/; revision=66689

8 years ago[DESK] Implement and export InstallScreenSaver{A,W}. By Peter Hater. CORE-6812
Amine Khaldi [Sat, 14 Mar 2015 12:10:33 +0000 (12:10 +0000)]
[DESK] Implement and export InstallScreenSaver{A,W}. By Peter Hater. CORE-6812

svn path=/trunk/; revision=66688

8 years ago[MPLAY32] Remove szPrevFile and related code without removing the part that invokes...
Amine Khaldi [Sat, 14 Mar 2015 12:05:49 +0000 (12:05 +0000)]
[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

8 years ago[INETCPL] Add a certificate picture to the Content Tab. Brought to you by Jared....
Amine Khaldi [Sat, 14 Mar 2015 12:00:24 +0000 (12:00 +0000)]
[INETCPL] Add a certificate picture to the Content Tab. Brought to you by Jared. CORE-9263

svn path=/trunk/; revision=66686

8 years ago[WIN32K]
Timo Kreuzer [Sat, 14 Mar 2015 11:22:31 +0000 (11:22 +0000)]
[WIN32K]
Initialize list entry after removing a message from DispatchingMessagesHead. Fixes list corruption.
CORE-9357 #resolve

svn path=/trunk/; revision=66685

8 years ago[MMSYS]
Johannes Anderwald [Sat, 14 Mar 2015 11:12:32 +0000 (11:12 +0000)]
[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

8 years ago[KERNEL32] Silence a DPRINT.
Amine Khaldi [Sat, 14 Mar 2015 10:59:40 +0000 (10:59 +0000)]
[KERNEL32] Silence a DPRINT.

svn path=/trunk/; revision=66683

8 years ago[DDK] Bring nt_vdd.h up to DDK formatting standards and use annotations. NFC.
Amine Khaldi [Sat, 14 Mar 2015 10:50:52 +0000 (10:50 +0000)]
[DDK] Bring nt_vdd.h up to DDK formatting standards and use annotations. NFC.

svn path=/trunk/; revision=66682

8 years ago[DESK] Set the default value for the placement combobox and load the monitor bitmap...
Amine Khaldi [Sat, 14 Mar 2015 10:28:22 +0000 (10:28 +0000)]
[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

8 years ago[SYSDM] Add new icons to the Hardware tab of sysdm. Brought to you by Jared. CORE...
Amine Khaldi [Sat, 14 Mar 2015 10:15:13 +0000 (10:15 +0000)]
[SYSDM] Add new icons to the Hardware tab of sysdm. Brought to you by Jared. CORE-9317

svn path=/trunk/; revision=66680

8 years ago[DESK] Fix a freeze caused by changing screensaver settings. By Peter Hater. CORE...
Amine Khaldi [Sat, 14 Mar 2015 10:10:06 +0000 (10:10 +0000)]
[DESK] Fix a freeze caused by changing screensaver settings. By Peter Hater. CORE-5718

svn path=/trunk/; revision=66679

8 years ago[PSDK] Add missing ulFileCount field in the ACTIVATION_CONTEXT_ASSEMBLY_DETAILED_INFO...
Amine Khaldi [Sat, 14 Mar 2015 10:06:04 +0000 (10:06 +0000)]
[PSDK] Add missing ulFileCount field in the ACTIVATION_CONTEXT_ASSEMBLY_DETAILED_INFORMATION structure. Fixes a kernel32:actctx test failure.

svn path=/trunk/; revision=66678

8 years ago[NTDLL_WINETEST] Fix test failures on systems with broken RtlDecompressBuffer()....
Amine Khaldi [Sat, 14 Mar 2015 10:03:10 +0000 (10:03 +0000)]
[NTDLL_WINETEST] Fix test failures on systems with broken RtlDecompressBuffer(). By Sebastian Lackner.

svn path=/trunk/; revision=66677

8 years ago[NTOBJSHEX]
David Quintana [Sat, 14 Mar 2015 04:04:27 +0000 (04:04 +0000)]
[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

8 years ago[NTVDM]: Move EMS support as a BIOS module (and initialize it after the BIOS has...
Hermès Bélusca-Maïto [Sat, 14 Mar 2015 03:37:54 +0000 (03:37 +0000)]
[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

8 years ago[NTOBJSHEX]
David Quintana [Sat, 14 Mar 2015 03:15:36 +0000 (03:15 +0000)]
[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

8 years ago[NTVDM]
Aleksandar Andrejevic [Sat, 14 Mar 2015 01:54:35 +0000 (01:54 +0000)]
[NTVDM]
Implement the EMS memory handlers.
Make memory hooks expandable.

svn path=/trunk/; revision=66673

8 years agoYou haven't seen those changes. Never.
Hermès Bélusca-Maïto [Sat, 14 Mar 2015 01:50:05 +0000 (01:50 +0000)]
You haven't seen those changes. Never.

svn path=/trunk/; revision=66672

8 years ago[NTVDM]
Hermès Bélusca-Maïto [Sat, 14 Mar 2015 01:45:50 +0000 (01:45 +0000)]
[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

8 years ago[NTVDM]
Hermès Bélusca-Maïto [Fri, 13 Mar 2015 23:26:33 +0000 (23:26 +0000)]
[NTVDM]
- Export VDDInstallMemoryHook and VDDDeInstallMemoryHook.
- Stubplement and export VDDAllocMem, VDDFreeMem, VDDIncludeMem and VDDExcludeMem (undocumented).

svn path=/trunk/; revision=66670

8 years ago[NTVDM]
Hermès Bélusca-Maïto [Fri, 13 Mar 2015 22:38:44 +0000 (22:38 +0000)]
[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

8 years ago[WLANSVC]
Christoph von Wittich [Fri, 13 Mar 2015 19:09:32 +0000 (19:09 +0000)]
[WLANSVC]
fix a typo
spotted by Eric

svn path=/trunk/; revision=66668

8 years ago[NTVDM]
Aleksandar Andrejevic [Fri, 13 Mar 2015 18:28:45 +0000 (18:28 +0000)]
[NTVDM]
Fix copypasta in the file headers.

svn path=/trunk/; revision=66667

8 years ago[NTVDM][FAST486]
Aleksandar Andrejevic [Fri, 13 Mar 2015 17:57:51 +0000 (17:57 +0000)]
[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

8 years ago[INCLUDE/WINE]
Timo Kreuzer [Wed, 11 Mar 2015 18:02:11 +0000 (18:02 +0000)]
[INCLUDE/WINE]
Delete mmreg.h from wine folder, we have an almost identical and more complete version in psdk

svn path=/trunk/; revision=66665

8 years ago[DDK][NDK][XDK]
Thomas Faber [Wed, 11 Mar 2015 09:21:10 +0000 (09:21 +0000)]
[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

8 years ago[WIN32K]
Hermès Bélusca-Maïto [Wed, 11 Mar 2015 01:21:29 +0000 (01:21 +0000)]
[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

8 years ago[WIN32K]
Timo Kreuzer [Tue, 10 Mar 2015 10:27:00 +0000 (10:27 +0000)]
[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

8 years ago[ADVAPI32_WINETEST] Sync with Wine Staging 1.7.37. CORE-9246
Amine Khaldi [Tue, 10 Mar 2015 10:10:54 +0000 (10:10 +0000)]
[ADVAPI32_WINETEST] Sync with Wine Staging 1.7.37. CORE-9246

svn path=/trunk/; revision=66660

8 years ago[MSVCRT_WINETEST] Sync with Wine Staging 1.7.37. CORE-9246
Amine Khaldi [Tue, 10 Mar 2015 10:10:35 +0000 (10:10 +0000)]
[MSVCRT_WINETEST] Sync with Wine Staging 1.7.37. CORE-9246

svn path=/trunk/; revision=66659

8 years ago[NTDLL_WINETEST] Sync with Wine Staging 1.7.37. CORE-9246
Amine Khaldi [Tue, 10 Mar 2015 10:10:04 +0000 (10:10 +0000)]
[NTDLL_WINETEST] Sync with Wine Staging 1.7.37. CORE-9246

svn path=/trunk/; revision=66658

8 years ago[PSDK] Add missing KEY_NAME_INFORMATION structure. CORE-9246
Amine Khaldi [Tue, 10 Mar 2015 10:09:14 +0000 (10:09 +0000)]
[PSDK] Add missing KEY_NAME_INFORMATION structure. CORE-9246

svn path=/trunk/; revision=66657

8 years ago[WIN32K]
Timo Kreuzer [Tue, 10 Mar 2015 10:01:44 +0000 (10:01 +0000)]
[WIN32K]
Fix a typo introduced in r66644. Fixes icon corruption / testbot regression.
CORE-9351 #resolve

svn path=/trunk/; revision=66656

8 years ago[NDK]
Timo Kreuzer [Tue, 10 Mar 2015 09:10:14 +0000 (09:10 +0000)]
[NDK]
Update no_sal2.h

svn path=/trunk/; revision=66655

8 years ago[SAL]
Timo Kreuzer [Tue, 10 Mar 2015 09:10:00 +0000 (09:10 +0000)]
[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

8 years ago[INCLUDE/CRT]
Timo Kreuzer [Tue, 10 Mar 2015 09:09:48 +0000 (09:09 +0000)]
[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

8 years ago[SAL]
Timo Kreuzer [Tue, 10 Mar 2015 09:09:31 +0000 (09:09 +0000)]
[SAL]
Implement _Deref_post_bytecount_, _Outptr_result_maybenull_z_, _Pre_unknown_ and _Maybe_raises_SEH_exception_ annotations

svn path=/trunk/; revision=66652

8 years ago[XDK]
Timo Kreuzer [Tue, 10 Mar 2015 09:05:08 +0000 (09:05 +0000)]
[XDK]
Fix typos, spotted by Thomas.

svn path=/trunk/; revision=66651

8 years ago[WIN32K]
Timo Kreuzer [Tue, 10 Mar 2015 00:13:43 +0000 (00:13 +0000)]
[WIN32K]
Annotate eng/mapping.c

svn path=/trunk/; revision=66650

8 years ago[WIN32K]
Timo Kreuzer [Tue, 10 Mar 2015 00:13:29 +0000 (00:13 +0000)]
[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

8 years ago[WIN32K]
Timo Kreuzer [Tue, 10 Mar 2015 00:13:17 +0000 (00:13 +0000)]
[WIN32K]
Annotate rect.c

svn path=/trunk/; revision=66648

8 years ago[WIN32K]
Timo Kreuzer [Tue, 10 Mar 2015 00:13:04 +0000 (00:13 +0000)]
[WIN32K]
- Annotate eng/device.c and semaphor.c.
- Get rid of IntGdiAcquire/ReleaseSemaphore
- Move some prototypes where they belong

svn path=/trunk/; revision=66647

8 years ago[WIN32K]
Timo Kreuzer [Tue, 10 Mar 2015 00:12:41 +0000 (00:12 +0000)]
[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

8 years ago[WIN32K]
Timo Kreuzer [Tue, 10 Mar 2015 00:11:43 +0000 (00:11 +0000)]
[WIN32K]
Apply proper formatting to polyfill.c

svn path=/trunk/; revision=66645

8 years ago[WIN32K]
Timo Kreuzer [Tue, 10 Mar 2015 00:11:29 +0000 (00:11 +0000)]
[WIN32K]
Annotate a number of GDI functions to match public header declarations.

svn path=/trunk/; revision=66644

8 years ago[PSDK]
Timo Kreuzer [Tue, 10 Mar 2015 00:10:57 +0000 (00:10 +0000)]
[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

8 years ago[PSDK/DDK/XDK]
Timo Kreuzer [Tue, 10 Mar 2015 00:10:46 +0000 (00:10 +0000)]
[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

8 years ago[PSDK]
Timo Kreuzer [Tue, 10 Mar 2015 00:10:33 +0000 (00:10 +0000)]
[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

8 years ago[PSDK]
Timo Kreuzer [Tue, 10 Mar 2015 00:10:09 +0000 (00:10 +0000)]
[PSDK]
struct _DRVENABLEDATA -> struct tagDRVENABLEDATA

svn path=/trunk/; revision=66640

8 years ago[CMAKE]
Timo Kreuzer [Tue, 10 Mar 2015 00:09:58 +0000 (00:09 +0000)]
[CMAKE]
Make warning C4716 (function must return a value) an error on MSVC

svn path=/trunk/; revision=66639

8 years ago[WIN32K]
Timo Kreuzer [Tue, 10 Mar 2015 00:09:41 +0000 (00:09 +0000)]
[WIN32K]
Fix bug in EngMapEvent

svn path=/trunk/; revision=66638

8 years ago[PSDK]
Timo Kreuzer [Tue, 10 Mar 2015 00:09:30 +0000 (00:09 +0000)]
[PSDK]
Fix NULL-termination bugs in ntstrunsafe.h

svn path=/trunk/; revision=66637

8 years ago[DDK/XDK]
Timo Kreuzer [Tue, 10 Mar 2015 00:09:20 +0000 (00:09 +0000)]
[DDK/XDK]
- Fix some prototypes in wdm.h (PMDLX -> PMDL)
- Fix annotations for ExFreePool(WithTag)

svn path=/trunk/; revision=66636

8 years ago[WIN32K]
Timo Kreuzer [Tue, 10 Mar 2015 00:08:54 +0000 (00:08 +0000)]
[WIN32K]
Fix some annotations

svn path=/trunk/; revision=66635

8 years ago[VMWINST] Use StringCb{Copy,Cat} instead of wcs{cpy,cat} to ensure that no buffer...
Amine Khaldi [Mon, 9 Mar 2015 20:50:42 +0000 (20:50 +0000)]
[VMWINST] Use StringCb{Copy,Cat} instead of wcs{cpy,cat} to ensure that no buffer overflows occur. CID 514272s and 515210. By Ricardo Hanke. CORE-9347

svn path=/trunk/; revision=66634

8 years ago[MSI_WINETEST] Sync with Wine Staging 1.7.37. CORE-9246
Amine Khaldi [Mon, 9 Mar 2015 20:28:54 +0000 (20:28 +0000)]
[MSI_WINETEST] Sync with Wine Staging 1.7.37. CORE-9246

svn path=/trunk/; revision=66633

8 years ago[MSI] Sync with Wine Staging 1.7.37. CORE-9246
Amine Khaldi [Mon, 9 Mar 2015 20:28:19 +0000 (20:28 +0000)]
[MSI] Sync with Wine Staging 1.7.37. CORE-9246

svn path=/trunk/; revision=66632

8 years ago[PSDK] Add missing MsiProvidedComponent{A,W} declarations. CORE-9246
Amine Khaldi [Mon, 9 Mar 2015 20:26:03 +0000 (20:26 +0000)]
[PSDK] Add missing MsiProvidedComponent{A,W} declarations. CORE-9246

svn path=/trunk/; revision=66631

8 years ago[MSIEXEC] Sync with Wine Staging 1.7.37. CORE-9246
Amine Khaldi [Mon, 9 Mar 2015 20:02:20 +0000 (20:02 +0000)]
[MSIEXEC] Sync with Wine Staging 1.7.37. CORE-9246

svn path=/trunk/; revision=66630

8 years ago[OLE32_WINETEST] Sync with Wine Staging 1.7.37. CORE-9246
Amine Khaldi [Mon, 9 Mar 2015 19:58:31 +0000 (19:58 +0000)]
[OLE32_WINETEST] Sync with Wine Staging 1.7.37. CORE-9246

svn path=/trunk/; revision=66629

8 years ago[OLE32] Sync with Wine Staging 1.7.37. CORE-9246
Amine Khaldi [Mon, 9 Mar 2015 19:57:38 +0000 (19:57 +0000)]
[OLE32] Sync with Wine Staging 1.7.37. CORE-9246

svn path=/trunk/; revision=66628

8 years ago[ADVPACK_WINETEST] Sync with Wine Staging 1.7.37. CORE-9246
Amine Khaldi [Mon, 9 Mar 2015 19:20:13 +0000 (19:20 +0000)]
[ADVPACK_WINETEST] Sync with Wine Staging 1.7.37. CORE-9246

svn path=/trunk/; revision=66627

8 years ago[ADVPACK] Sync with Wine Staging 1.7.37. CORE-9246
Amine Khaldi [Mon, 9 Mar 2015 19:19:38 +0000 (19:19 +0000)]
[ADVPACK] Sync with Wine Staging 1.7.37. CORE-9246

svn path=/trunk/; revision=66626

8 years ago* Silence a debug print. Spotted by Aleksey.
Amine Khaldi [Mon, 9 Mar 2015 19:08:16 +0000 (19:08 +0000)]
* Silence a debug print. Spotted by Aleksey.

svn path=/trunk/; revision=66625

8 years ago[GDI32]
Christoph von Wittich [Mon, 9 Mar 2015 19:05:58 +0000 (19:05 +0000)]
[GDI32]
fix gdi32 clipping winetest

svn path=/trunk/; revision=66624

8 years ago[RTL] Partly sync actctx.c with Wine Staging 1.7.37. CORE-9246
Amine Khaldi [Mon, 9 Mar 2015 18:08:15 +0000 (18:08 +0000)]
[RTL] Partly sync actctx.c with Wine Staging 1.7.37. CORE-9246

svn path=/trunk/; revision=66623

8 years ago[KERNEL32] Sync GetStringTypeW() with Wine Staging 1.7.37. CORE-9246
Amine Khaldi [Mon, 9 Mar 2015 17:53:20 +0000 (17:53 +0000)]
[KERNEL32] Sync GetStringTypeW() with Wine Staging 1.7.37. CORE-9246

svn path=/trunk/; revision=66622

8 years ago[TASKMGR] Do not show negative CPU usage. By Peter Hater. CORE-9050
Amine Khaldi [Mon, 9 Mar 2015 17:38:31 +0000 (17:38 +0000)]
[TASKMGR] Do not show negative CPU usage. By Peter Hater. CORE-9050

svn path=/trunk/; revision=66621

8 years ago[KERNEL32_WINETEST] Sync with Wine Staging 1.7.37. CORE-9246
Amine Khaldi [Mon, 9 Mar 2015 17:15:16 +0000 (17:15 +0000)]
[KERNEL32_WINETEST] Sync with Wine Staging 1.7.37. CORE-9246

svn path=/trunk/; revision=66620

8 years ago[WIN32K]
Timo Kreuzer [Mon, 9 Mar 2015 01:11:06 +0000 (01:11 +0000)]
[WIN32K]
Fix another typo in the same line... Spotted by Jerome.

svn path=/trunk/; revision=66619

8 years ago[WIN32K]
Timo Kreuzer [Sun, 8 Mar 2015 23:37:06 +0000 (23:37 +0000)]
[WIN32K]
Replace ROUND_UP with ALIGN_UP_BY

svn path=/trunk/; revision=66618

8 years ago[WIN32K]
Timo Kreuzer [Sun, 8 Mar 2015 23:36:49 +0000 (23:36 +0000)]
[WIN32K]
Improve the situation with ROP handling, trying to make things clearer.

svn path=/trunk/; revision=66617

8 years ago[WIN32K]
Timo Kreuzer [Sun, 8 Mar 2015 23:36:36 +0000 (23:36 +0000)]
[WIN32K]
- Pass size in bytes to UnsafeSetBitmapBits from NtGdiCreateBitmap
- In NtGdiSetBitmapBits check for stock bitmap and non-API bitmap.

svn path=/trunk/; revision=66616

8 years ago[WIN32K]
Timo Kreuzer [Sun, 8 Mar 2015 23:36:25 +0000 (23:36 +0000)]
[WIN32K]
- Remove wrong flags when initializing a DC
- Set DC::prgnattr before potentially passing it to the cleanup function after failure to create a handle. Add a comment that this is not actually enough. Will be fixed, once we use C++
- Increase GDI object stack levels to 20

svn path=/trunk/; revision=66615

8 years ago[WIN32K]
Timo Kreuzer [Sun, 8 Mar 2015 23:36:14 +0000 (23:36 +0000)]
[WIN32K]
Make sure a region is reasonably initialized, before potentially passing it to the cleanup function, when failing to create a handle.

svn path=/trunk/; revision=66614