reactos.git
6 years agoRename 'wallpaper' repo to 'wallpapers' (since it doesn't contain only 1 wallpaper...
Hermès Bélusca-Maïto [Sun, 15 Mar 2015 16:06:50 +0000 (16:06 +0000)]
Rename 'wallpaper' repo to 'wallpapers' (since it doesn't contain only 1 wallpaper :p )

svn path=/trunk/; revision=66725

6 years ago[REACTOS][WALLPAPERS]
Hermès Bélusca-Maïto [Sun, 15 Mar 2015 16:04:48 +0000 (16:04 +0000)]
[REACTOS][WALLPAPERS]
- Add a whole bunch of new wallpapers (easier to grab them from the repo instead of going through Forum + Jira to search for them). Now that we support JPG/PNG/... wallpapers (in addition to bitmap ones) since r66394, we can have many jpg wallpapers for the price (read: same size) of 1 bitmap one.
- Move a file to a better appropriate place.

svn path=/trunk/; revision=66724

6 years ago[UXTHEME]
Giannis Adamopoulos [Sun, 15 Mar 2015 13:39:15 +0000 (13:39 +0000)]
[UXTHEME]
- Call DrawCaption in user32 when we get WM_NCUAHDRAWCAPTION and there is no active theme.
- Should finally fix CORE-9016.

svn path=/trunk/; revision=66723

6 years ago[USER32]
Giannis Adamopoulos [Sun, 15 Mar 2015 13:37:13 +0000 (13:37 +0000)]
[USER32]
- Implement RealUserDrawCaption and pass it to uxtheme in order to paint the classic caption when needed.
CORE-9016

svn path=/trunk/; revision=66722

6 years ago[PSDK]
Timo Kreuzer [Sun, 15 Mar 2015 00:10:26 +0000 (00:10 +0000)]
[PSDK]
Add winternl.h, which is compatible with the native one. Do not use this header. USE NDK! (Thanks Hermes!) It's only there for SDK compatibility and to make sure nobody will think it's missing and add it to make use of it.
And to make sure, nobody will use this header, it will #error if you include it from a reactos module.

svn path=/trunk/; revision=66721

6 years ago[DDK/PSDK/NDK/XDK]
Timo Kreuzer [Sun, 15 Mar 2015 00:05:50 +0000 (00:05 +0000)]
[DDK/PSDK/NDK/XDK]
- Improve annotations for some functions
- Sync winnt.h with XDK

svn path=/trunk/; revision=66720

6 years ago[NTOBJSHEX]
David Quintana [Sun, 15 Mar 2015 00:00:13 +0000 (00:00 +0000)]
[NTOBJSHEX]
* Implement loading the hardcoded list of root keys.
* Add support for root keys to the registry PIDL structure.
* Add support for root-key PIDLs in the registry folder.
* Implement loading root keys when no path is specified.
* Expose the registry folder as a namespace extension to My Computer.
* Make the namespace extension folder names load from resources.
* Add icons for registry keys and values.
CORE-9244 #resolve #comment Basic registry browsing should now be functional. Any other issues (including editing capability), would go in followup issues.

svn path=/trunk/; revision=66719

6 years ago[QUARTZ_WINETEST]
Timo Kreuzer [Sat, 14 Mar 2015 23:58:45 +0000 (23:58 +0000)]
[QUARTZ_WINETEST]
Add missing dxsdk dependency

svn path=/trunk/; revision=66718

6 years ago[GDI32]
Timo Kreuzer [Sat, 14 Mar 2015 23:35:27 +0000 (23:35 +0000)]
[GDI32]
Make sure winternl.h is included from the wine folder

svn path=/trunk/; revision=66717

6 years ago[DLLS]
Timo Kreuzer [Sat, 14 Mar 2015 23:34:31 +0000 (23:34 +0000)]
[DLLS]
Make sure include/reactos/wine is included BEFORE PSDK headers. (I didn't tackle all DLLs, only those that (will) need it)

svn path=/trunk/; revision=66716

6 years ago[WINETESTS]
Timo Kreuzer [Sat, 14 Mar 2015 23:33:29 +0000 (23:33 +0000)]
[WINETESTS]
Make sure include/reactos/wine is included BEFORE PSDK headers.

svn path=/trunk/; revision=66715

6 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

6 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

6 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

6 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

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

svn path=/trunk/; revision=66710

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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