Commit graph

69333 commits

Author SHA1 Message Date
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
Eric Kohl 66de37e22f [SETUPAPI]
- Implement CMP_GetBlockedDriverInfo.
- Make sure that CMP_GetServerSideDeviceInstallFlags and CMP_WaitServicesAvailable can be called on local and remote machines.

svn path=/trunk/; revision=75565
2017-08-16 11:45:21 +00:00
Colin Finck a6222fc8f3 [FREELDR]
Lower MAX_DISKREADBUFFER_SIZE to let INT 13h, AH=42h only read a maximum of 127 sectors (instead of 128 previously).
This fixes USB booting into the kernel on at least Dell Latitude D531 and Lenovo ThinkPad X61.

Now CORE-13184 remains (in a VM and on real hardware, probably related to the CDFS driver)

svn path=/trunk/; revision=75564
2017-08-16 10:44:15 +00:00
Benedikt Freisen 87980a1275 [PSDK][GDIPLUS] Forward NULL parameters to wrapped functions instead of blindly dereferencing them when trying to pass a pointee's pointer member to the wrapped function
svn path=/trunk/; revision=75563
2017-08-16 09:57:56 +00:00
Eric Kohl 0078433e69 [SETUPAPI]
Implement CM_Create_Range_List and CM_Free_Range_List. Still WIP.

svn path=/trunk/; revision=75562
2017-08-16 09:44:20 +00:00
Giannis Adamopoulos 40b5e9f4f8 [SHLWAPI] -Addendum to 75533. Pass the id offset to IContextMenu::InvokeCommand. Fixes launching applications from the start menu. CORE-13680
svn path=/trunk/; revision=75561
2017-08-15 23:02:45 +00:00
Timo Kreuzer cdcf2da12e [WIN32K] IntEngBitBlt returns BOOL, not NTSTATUS!
Fix usage in NtGdiSetDIBitsToDeviceInternal accordingly and get rid of NTSTATUS variable entirely.

svn path=/trunk/; revision=75553
2017-08-15 18:13:14 +00:00
Mark Jansen a5b5ed5bd3 [ACPPAGE] Do not allow shims to be applied to files in System32/WinSxs.
CORE-13618

svn path=/trunk/; revision=75552
2017-08-15 12:37:25 +00:00
Thomas Faber 0435bc7005 [DDK]
- Fix calling convention for NDIS_PROC. Fixes stack corruption when running 3rd party network drivers
CORE-13685 #resolve

svn path=/trunk/; revision=75551
2017-08-15 12:32:05 +00:00
Giannis Adamopoulos 2af89ef8f0 [SHELL32] -Greatly optimize the already hacky implementations of ILIsEqual, ILIsParent and ILFindChild by not using the crappy _ILSimpleGetText but the new one _ILHACKCompareSimpleIds. CORE-13681
svn path=/trunk/; revision=75550
2017-08-15 12:13:19 +00:00
Mark Jansen c06d8a94c9 [ATL] Use the AtlThrow helper so we can disable exceptions by defining _ATL_NO_EXCEPTIONS
svn path=/trunk/; revision=75549
2017-08-15 09:02:17 +00:00
Eric Kohl 4730de1195 [EXPLORER]
Improve the taskbar property sheet.
- Improve the preview images (pixel perfect).
- Improve the Japanese translation.
Patch by Katayama Hirofumi MZ.
CORE-13574

svn path=/trunk/; revision=75548
2017-08-14 20:43:14 +00:00
Eric Kohl 3cb9b85a65 [VARIOUS]
Mass update for Romanian resource files.
Patch by Ștefan Fulea.
CORE-13599

svn path=/trunk/; revision=75547
2017-08-14 20:14:19 +00:00
Mark Jansen f70b9ef65f [SHIMENG] Filter shims based on the include/exclude node specified, as well as their presence in certain directories.
- Shims are not allowed on files from System32 / WinSxs.
- Individual shims can override this per module with includes/excludes.
- Shims can specify additional dlls to ignore or include.
- Specify a default list of dlls to be included from system32.
CORE-13618

svn path=/trunk/; revision=75541
2017-08-14 16:34:56 +00:00
Thomas Faber 84de59dab1 [USETUP]
- Include some actually useful information when printing errors

svn path=/trunk/; revision=75536
2017-08-14 16:01:46 +00:00
Giannis Adamopoulos 976a20a098 [COMCTL32] -DrawShadowText: Don't print an error when GdiAlphaBlend fails. This can happen when the painting is outside the clip region. Some themes tend to move text elements in weird places so as just to hide them so this only causes spam.
svn path=/trunk/; revision=75535
2017-08-14 15:51:12 +00:00
Eric Kohl 959a179f58 missing german translation and sort treeview alphabetically
Patches by: reactosfanboy and Katayama Hierofumi MZ
CORE-13674 #resolve #comment Thanks a lot!

svn path=/trunk/; revision=75534
2017-08-14 15:40:15 +00:00
Giannis Adamopoulos 551d8fa312 [SHELL32]
- CDefaultContextMenu: Make it respect the IContextMenu interface and expect menu id offsets instead of real menu ids and actually use the idCmdFirst and idCmdLast parameters in QueryContextMenu. Make the default part use and existed menu from the resources but changed accordingly so the ids of its elements can be adjusted to the next free id of the constructed menu. Rename InsertMenuItemsOfDynamicContextMenuExtension to AddShellExtensionsToMenu, DoDynamicShellExtensions to InvokeShellExt, and DoStaticShellExtensions to InvokeRegVerb. Make AddShellExtensionsToMenu and AddStaticContextMenusToMenu behave like QueryContextMenu to return the number of ids they occupy. Add two helpers SHGetMenuIdFromMenuMsg and SHSetMenuIdInMenuMsg to change the id that is contained in the lparam of WM_DRAWITEM and WM_MEASUREITEM before forwarding them.
- CDefView: When calling QueryContextMenu before using TrackPopupMenu, use 1 as the first id that will filled by the IContextMenu because we want 0 to be used as an indicator that the menu was canceled. Use SHGetMenuIdFromMenuMsg and SHSetMenuIdInMenuMsg to change the lparam of the messages forwarded to the IContextMenu accordingly.
- CDefViewBckgrndMenu: Add a hack so as to keep the code as simple as possible while respecting idCmdFirst and idCmdLast.
- CNewMenu: Remove a hack that was needed because WM_DRAWITEM didn't come with the menu id offset but with the real menu id.
- CDesktopFolder, CFSFolder: Make the callbacks avoid adding an extra separators.
After that shell extensions in menus should work better and callbacks to shell folders should really be able to add several menu items. 

svn path=/trunk/; revision=75533
2017-08-14 15:25:58 +00:00
Hervé Poussineau 9748e8bde3 [USETUP] Remove one special case for keyboard devices
Keyboard devices must have an upperfilter (kdbclass) to work correctly. Detect these
devices using the Keyboard GUID class instead of using the inf section name.

svn path=/trunk/; revision=75532
2017-08-13 13:11:43 +00:00
Pierre Schweitzer 9e84082a45 [MOVEFILE]
Open source the movefile utily that allows queueing deletion/renaming operations for the next reboot

svn path=/trunk/; revision=75531
2017-08-13 10:15:55 +00:00
Pierre Schweitzer 88fd33f6a2 [ROSINTERNALS]
Addendum to r75529

svn path=/trunk/; revision=75530
2017-08-12 20:43:53 +00:00
Pierre Schweitzer a4774e85c1 [ROSINTERNALS]
Move the sysinternals tools to their own directory: rosinternals. To be completed :-)

svn path=/trunk/; revision=75529
2017-08-12 20:39:12 +00:00
Pierre Schweitzer 128ea676bf [PENDMOVES]
Open source the PendMoves utility from Sysinternals that allow easy display of renaming/deleting operations queued for next reboot.
See: https://docs.microsoft.com/en-us/sysinternals/downloads/pendmoves

svn path=/trunk/; revision=75528
2017-08-12 18:17:12 +00:00
Hermès Bélusca-Maïto e7fb5e7c33 [EVTLIB]: Allow specifying a memory allocation tag when freeing the allocated buffers (functionality similar to the Ex**WithTag kernel functions).
[EVENTLOG]: Use the previous functionality; use also the internal LogfpAlloc() / LogfpFree() functions when dealing with buffers related to event log files.

svn path=/trunk/; revision=75527
2017-08-11 12:37:15 +00:00
Mark Jansen bfac984256 [RAPPS] Delete uTorrent until CORE-13666 is cleared up.
svn path=/trunk/; revision=75521
2017-08-10 17:09:58 +00:00
Giannis Adamopoulos 7e43b947a1 [UXTHEME] -Implement taking into account the flags set by SetThemeAppProperties. Now the shim that disables themes per application works.
svn path=/trunk/; revision=75514
2017-08-09 08:14:50 +00:00
Giannis Adamopoulos 61427a2eaf [UXTHEME_APITEST] -Add tests for SetThemeAppProperties.
svn path=/trunk/; revision=75513
2017-08-09 07:14:44 +00:00
Giannis Adamopoulos effafa925c [USER32] -Make it clear when VersionRegisterClass is used. This should be called after a versioned class was not found hence it should appear after some failures in win32k (and this is exactly how RegisterClassNameW was designed to be used, after a failure to find a class).
svn path=/trunk/; revision=75511
2017-08-08 21:09:51 +00:00
Mark Jansen 92d7c962fa [UNATTEND] Show how to enable the lautus theme in unattended mode.
svn path=/trunk/; revision=75510
2017-08-08 19:43:49 +00:00