Commit graph

69535 commits

Author SHA1 Message Date
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
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
Alexander Shaposhnikov 9f9cf93785 [RAPPS]
- Style changes, typo fixes etc.

svn path=/branches/GSoC_2017/rapps/; revision=75560
2017-08-15 22:35:45 +00:00
Alexander Shaposhnikov 0a7403c03b [RAPPS]
- Quit CmdParser() as soon as no valid key supplied

svn path=/branches/GSoC_2017/rapps/; revision=75559
2017-08-15 21:39:21 +00:00
Alexander Shaposhnikov 96d2f529a5 [RAPPS]
- Close the INF file after loading the info

svn path=/branches/GSoC_2017/rapps/; revision=75558
2017-08-15 20:47:10 +00:00
Alexander Shaposhnikov 5af894b102 [RAPPS]
- Added the icon provided by Pi_User5

svn path=/branches/GSoC_2017/rapps/; revision=75556
2017-08-15 19:39:20 +00:00
Alexander Shaposhnikov 14be048f6f [RAPPS]
- Changed "/SETUP" key to "/INSTALL"
- Added support for multiple apps install by "/INSTALL"
  rapps /INSTALL 7-Zip AkelPad [...]
- Added INF based batch install with the "/SETUP" key
  Works for the full path for the .inf file
  TODO: detect if user entered the relative path for the inf and correct it
- Moved CmdParser to include/unattended.h and unattended.cpp

svn path=/branches/GSoC_2017/rapps/; revision=75555
2017-08-15 19:36:23 +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