Commit graph

69461 commits

Author SHA1 Message Date
Giannis Adamopoulos
8998ffaca2 [WIN32K] -NtUserEmptyClipboard: Change its behaviour to wait for WM_DESTROYCLIPBOARD to return so it behaves like windows and our ole32 doesn't trip on its assumptions that everything works fine. A test will be written soon to prove that this is correct. CORE-12302
svn path=/trunk/; revision=75616
2017-08-18 17:18:17 +00:00
Benedikt Freisen
44fc547ffa [MSPAINT] Use Gdiplus::Bitmap in place of ATL::CImage to load pictures -- this un-breaks loading a picture's resolution from file
svn path=/trunk/; revision=75615
2017-08-18 17:01:01 +00:00
Timo Kreuzer
369ad20c7b [FTFD] Ignore NULL objects in free() wrapper
svn path=/trunk/; revision=75613
2017-08-18 15:02:05 +00:00
Timo Kreuzer
45720ed145 [FTFD] Fix indentation
svn path=/trunk/; revision=75612
2017-08-18 15:02:01 +00:00
Eric Kohl
7a47c14c8f [STOBJECT]
- Add support for the hotplug icon.
- Set default menu items in the context menus.
- Use a timer to properly distinguish between a single and a double click on an icon.
- Some code cleanup.

svn path=/trunk/; revision=75611
2017-08-18 14:49:11 +00:00
Timo Kreuzer
6c364c895d [NTOSKRNL] Fix 64 bit warnings about conversion in PsExitSpecialApc and PspTerminateThreadByPointer
svn path=/trunk/; revision=75610
2017-08-18 12:31:19 +00:00
Timo Kreuzer
8dea5dc526 Revert "[WIN32K] Fix probing and parameter validation in NtGdiPolyPolyDraw"
svn path=/trunk/; revision=75609
2017-08-18 12:18:41 +00:00
Timo Kreuzer
dd172a4fce [WIN32K] Fix probing and parameter validation in NtGdiPolyPolyDraw
svn path=/trunk/; revision=75608
2017-08-18 11:15:54 +00:00
Giannis Adamopoulos
d800840ef7 [SHELL32] Shell extension support for files.
- CFSFolder: Implement binding to files, implement loading arbitrary extensions for GetUIObjectOf from the registry, implement loading IconHandler shell extensions. Use the new helper routines to simplify getting the drop target.
- Improve the shortcut icons hack.

svn path=/trunk/; revision=75607
2017-08-18 09:11:59 +00:00
Timo Kreuzer
0d5f8b292a [NDK] Fix prototype of Nt/ZwQuerySystemInformation
svn path=/trunk/; revision=75606
2017-08-18 08:44:08 +00:00
Timo Kreuzer
44ae2b0fee [NTOSKRNL] Fix memory area macros
svn path=/trunk/; revision=75605
2017-08-18 08:42:43 +00:00
Giannis Adamopoulos
ce6b6fab9f [STOBJECT] Fix bug that caused some resource strings not to be loaded.
- These strings need to either be in every language file or have their own resource range but since we are using the same resource ids with windows I will just duplicate them.

svn path=/trunk/; revision=75604
2017-08-18 08:38:52 +00:00
Benedikt Freisen
bac7b8613e [PSDK][GDIPLUS] Further work on Graphics
svn path=/trunk/; revision=75603
2017-08-18 08:09:04 +00:00
Timo Kreuzer
7f3f55628a [NTOSKRNL] Remove duplicate fields from MEMORY_AREA
svn path=/trunk/; revision=75602
2017-08-18 07:13:34 +00:00
Giannis Adamopoulos
695d9ff51e [WIN32K] -Fix a bug with TransparentBlt when it should really ignore the alpha channel. CORE-13040. Approved by Timo.
svn path=/trunk/; revision=75601
2017-08-17 22:45:51 +00:00
Giannis Adamopoulos
c312beab6a [UXTHEME] -Remove some dead code
svn path=/trunk/; revision=75600
2017-08-17 21:31:52 +00:00
Thomas Faber
18c780f243 [USBHUB_NEW]
- Fix interval calculation in USBH_Wait. Patch by Vadim Galyant.

svn path=/trunk/; revision=75599
2017-08-17 19:55:13 +00:00
Thomas Faber
a93c1aa32f [CMIDriver]
- Set svn:eol-style to CRLF for inf files. Files that end up on the iso should never have 'native' line endings.

svn path=/trunk/; revision=75598
2017-08-17 19:25:32 +00:00
Giannis Adamopoulos
e8f24951d6 [SHELL32] -Simplify some coe in CShellLink.cpp
svn path=/trunk/; revision=75597
2017-08-17 16:46:15 +00:00
Mark Jansen
9d8fe6f238 [SHIMENG] Enable the Application Compatibility framework by default.
- Also add disabled keys to configure the logging
- Demote a noisy print used in the shim engine.
At this point the shim engine should be functional enough to be used.
One thing that remains is creating more shims(fixes) to use, and implement more features for the already existing ones.
CORE-13284

svn path=/trunk/; revision=75596
2017-08-17 16:42:29 +00:00
Giannis Adamopoulos
123a0e6818 [SHELL32] -AddFSClassKeysToArray: Increase the size of the buffer for the value read from the registry. There are cases when 40 are not enough.
svn path=/trunk/; revision=75595
2017-08-17 16:35:16 +00:00
Mark Jansen
1eee5db1a5 [ACLAYERS] Add a compatibility shim + layer for the VMWare Horizon setup.
This fixes the setup trying to print some debug strings.
For now the shim has to be applied manually, however the setup does not complete yet.
Patch bits & fixes by Thomas.
CORE-13434

svn path=/trunk/; revision=75594
2017-08-17 16:27:56 +00:00
Giannis Adamopoulos
41f448998f [COM_APITEST] -Add tests for CLSID_AttachmentServices.
svn path=/trunk/; revision=75593
2017-08-17 16:01:29 +00:00
Giannis Adamopoulos
58edf0b679 [ADVAPI32] -RegOpenKeyExW: Call NtOpenKey again with aligned parameters if STATUS_DATATYPE_MISALIGNMENT was returned the first time. CORE-13689
svn path=/trunk/; revision=75592
2017-08-17 14:37:24 +00:00
Colin Finck
fb160be266 [CDFS]
- Add a basic CDFS filesystem library "cdfslib" for checking and formatting a CDFS volume. Checking is unimplemented and formatting not supported anyway :)
- Use this library in the new "ucdfs" DLL and that DLL in "autochk". Fixes the "Unable to verify a CDFS volume" message at boot.
- Return the right device type (FILE_DEVICE_CD_ROM or FILE_DEVICE_DISK) in when querying volume information in cdfs.sys to get the proper icon in Explorer.

svn path=/trunk/; revision=75591
2017-08-17 12:21:27 +00:00
Colin Finck
d31e5d598c [FORMATTING]
Convert all tabs to spaces in ntdddisk.h

svn path=/trunk/; revision=75590
2017-08-17 12:18:28 +00:00
Eric Kohl
38f8c1bdc2 [ADVAPI32]
RegQueryInfoKey: Initializing *lpcbSecurityDescriptor before calling NtQueryKey fixes the remaining api tests.

svn path=/trunk/; revision=75589
2017-08-17 12:11:10 +00:00
Mark Jansen
dd1078cd17 [NTDLL_APITEST] Test unaligned pointers for NtOpenKey
CORE-13689

svn path=/trunk/; revision=75588
2017-08-17 11:42:13 +00:00
Mark Jansen
441f8dc306 [ADVAPI32_APITEST] Addendum to 75585, use void pointers to work around gcc ignoring pshpack1.
svn path=/trunk/; revision=75587
2017-08-17 11:06:46 +00:00
Colin Finck
956092d462 - Add 0x96 as ISO9660 partition type to ntdddisk.h (from https://en.wikipedia.org/wiki/Partition_type) and detect it using IsRecognizedPartition.
- Make our isohybrid create an MBR with partition type 0x96.

This properly assigns a drive letter to the Live-CD and lets me boot into desktop using "qemu -hda livecd.iso".
Fixes CORE-13184

svn path=/trunk/; revision=75586
2017-08-17 11:03:40 +00:00
Mark Jansen
ddcdef0768 [ADVAPI32_APITEST] Test unaligned pointers for RegOpenKeyExW.
svn path=/trunk/; revision=75585
2017-08-17 10:30:10 +00:00
Benedikt Freisen
2e7b5c5b11 [PSDK][GDIPLUS] Further work on wrapper classes Pen, Graphics and Brush
svn path=/trunk/; revision=75584
2017-08-17 09:44:57 +00:00
Timo Kreuzer
26e00e78a8 [WIN32K] Revert an accidental change from r75566
Fixes gdi32_winetest metafile regression

svn path=/trunk/; revision=75583
2017-08-17 09:39:43 +00:00
Timo Kreuzer
e1e2478e77 [WIN32K] Don't call IntIsFontRenderingEnabled() while holding an exclusive GDI object lock.
Should fix GUI hangs.

svn path=/trunk/; revision=75582
2017-08-17 09:08:57 +00:00
Colin Finck
7607ced6c6 [CDFS]
Fix uninitialized variable usage (why did neither MSVC nor GCC catch this?)

svn path=/trunk/; revision=75581
2017-08-16 23:12:55 +00:00
Timo Kreuzer
7462d87d28 [NTOS] Make the GET_HASH_ENTRY() macro return a pointer to the entry instead of the entry itself.
Implicitly it was already returning a pointer, which was then referenced using a "." instead of "->", giving the impression we were working on the returned object instead of the original data. - Convert some macros to inline functions

svn path=/trunk/; revision=75580
2017-08-16 20:30:45 +00:00
Colin Finck
3c64b4cbe9 [CDFS]
Register CDFS as a disk filesystem too in order to flash our ISOs directly to USB drives and boot from them. Also fix some DPRINTs in the course of that.

One step closer towards CORE-13184: This gets qemu -hda bootcd.iso to work.
What still doesn't work is qemu -hda livecd.iso and booting from a flashed USB drive on real hardware.
Further changes are also required in fs_rec, but this code isn't ready yet and doesn't seem to be the current blocker either.

Credits go to the entire Hackfest Team for helping on this!!

svn path=/trunk/; revision=75579
2017-08-16 20:04:55 +00:00
Benedikt Freisen
03d7bcb26c [PSDK][GDIPLUS] Further Pen work
svn path=/trunk/; revision=75578
2017-08-16 18:13:22 +00:00
Timo Kreuzer
4c0b46fd0a [PSDK] Add Win10 NTDDI version defines, improve version check
svn path=/trunk/; revision=75577
2017-08-16 17:10:06 +00:00
Benedikt Freisen
ee3e42bee0 [PSDK][GDIPLUS] Partly implement Pen
svn path=/trunk/; revision=75576
2017-08-16 16:19:17 +00:00
Timo Kreuzer
366d9c7141 [FLTMC][NFSD] Fix version definition
svn path=/trunk/; revision=75575
2017-08-16 16:06:41 +00:00
Timo Kreuzer
85f9842aab [KERNEL32] Support PAGE_EXECUTE_WRITECOPY in CreateFileMappingW if OsMajorVersion is 6+.
svn path=/trunk/; revision=75574
2017-08-16 16:06:36 +00:00
Timo Kreuzer
e7ffae1153 [DELAYIMP] Use underscore symbol prefix only on x86
svn path=/trunk/; revision=75573
2017-08-16 16:06:31 +00:00
Timo Kreuzer
2bb99ee284 [PSDK] Add SymSrvIsStoreW prototype to dbghelp.h
svn path=/trunk/; revision=75572
2017-08-16 16:06:27 +00:00
Timo Kreuzer
28b262929a [INTRIN.H] Add _mul128 and _umul128 prototypes and remove some obsolete ones from the MSC version.
svn path=/trunk/; revision=75571
2017-08-16 16:06:22 +00:00
Timo Kreuzer
4a92978784 [FAT32] Remove duplicated print
svn path=/trunk/; revision=75570
2017-08-16 16:06:18 +00:00
Timo Kreuzer
af3006ca2d [SHELLDESKTOP] Add missing dependency to psdk
svn path=/trunk/; revision=75569
2017-08-16 16:06:14 +00:00
Eric Kohl
49141de174 [SETUPAPI]
Add stubs for the remaining range list functions.

svn path=/trunk/; revision=75568
2017-08-16 14:18:42 +00:00
Timo Kreuzer
566a13042f [WIN32K] Remove old comments
svn path=/trunk/; revision=75567
2017-08-16 14:18:08 +00:00
Timo Kreuzer
93cecddaa8 [WIN32K]
- Refactor GreExtTextOutW to use a single exit path instead of 3
- Call MouseSafetyOnDraw* only for direct DCs

svn path=/trunk/; revision=75566
2017-08-16 13:37:15 +00:00