Commit graph

68075 commits

Author SHA1 Message Date
Giannis Adamopoulos 8e371f8e7f [SHELL32] -Try to fix themes when opening the control panel applet from the control panel.
svn path=/trunk/; revision=73833
2017-02-19 09:10:03 +00:00
Mark Jansen 099a790594 [KS] Cleanup in the failure path of KsCreateDefaultClock. Patch by Sebastian Gasiorek. CID 1322124 CORE-12784 #resolve #comment Thanks!
svn path=/trunk/; revision=73832
2017-02-18 22:54:31 +00:00
Pierre Schweitzer 590c4dcc8c [FASTFAT]
Get rid of the ENTRY_DELETED2, ENTRY_VOLUME2 and ENTRY_END2 macros.

svn path=/trunk/; revision=73831
2017-02-18 21:37:56 +00:00
Pierre Schweitzer 1dc27a26be [FASTFAT]
Modify ReadVolumeLabel() so that it is able to read the volume label, even without using the VCB, the root FCB, Cc, the universe.
This is important, because in case of device verifying, you cannot rely on these elements anylonger, but you need to read the label.
A readme has been attached to the function, to indicate how to call it (I wish I could have put more asserts!). It's ugly, I know.

This allows fixing a FIXME in VfatVerify(): we can also check the volume label for FATX volumes.
The FIXME comment was misleading: MS FastFAT doesn't make any checksum or whatever of FAT root. Let's not do it.

svn path=/trunk/; revision=73830
2017-02-18 21:24:31 +00:00
Pierre Schweitzer 9c5c0b479a [FASTFAT]
Move ReadVolumeLabel() to fsctl.c close to functions that need it

svn path=/trunk/; revision=73829
2017-02-18 18:35:48 +00:00
Giannis Adamopoulos 9a213745ca [DESK.CPL] -Apparently the second parameter of ApplyTheme is not a string. One case is that it is not a pointer and another case that it is a pointer to a struct. What I'm sure of is that as it is now the position of the string in the binary affects the behavior of ApplyTheme. Thankfully 0 works great on windows.
svn path=/trunk/; revision=73828
2017-02-18 18:14:32 +00:00
Thomas Faber e4b71d31f9 [KMTESTS:MM]
- Add some stricter checks and improved error handling in NtCreateSection_user

svn path=/trunk/; revision=73827
2017-02-18 14:22:44 +00:00
Thomas Faber 8056edf828 [USBSTOR]
- Fix a broken assert (yes, calling NTOHL is wrong, ContiguousLogicBlocksByte0 is the MSB). CID 701077

svn path=/trunk/; revision=73826
2017-02-18 11:47:40 +00:00
Mark Jansen 29631b02e2 [GDI32_APITEST] Add tests for GetFontResourceInfoW. Patch by Katayama Hirofumi MZ. CORE-6621
svn path=/trunk/; revision=73825
2017-02-18 11:25:31 +00:00
Thomas Faber 5d76039958 [PSDK]
- Fix KsFilterFactoryGetDevice
CORE-11794

svn path=/trunk/; revision=73824
2017-02-18 09:30:59 +00:00
Kamil Hornicek 67e4aa500e [SHELL32]
- Make the "Open with" dialog start in Program Files as is done in Windows (doesn't really changes anything because comdlg32 doesn't expand environment variables).

svn path=/trunk/; revision=73823
2017-02-17 23:39:39 +00:00
Pierre Schweitzer 1f58ae3a5d [FASTFAT]
Generalize the usage of functions pointers for FatX vs Fat specific code (direntry).
This should also help speeding up FastFAT.

svn path=/trunk/; revision=73822
2017-02-17 22:25:03 +00:00
Pierre Schweitzer 41f23cace3 [FASTFAT]
In the FCB, get rid of the FCB_IS_FATX_ENTRY flag. It makes no sense to have it on each and every file as the VCB already has such flag

svn path=/trunk/; revision=73821
2017-02-17 21:24:12 +00:00
Pierre Schweitzer 36bd380f3a [FASTFAT]
Fix a typo brought in r73819

svn path=/trunk/; revision=73820
2017-02-17 18:06:38 +00:00
Pierre Schweitzer 92922765ac [FASTFAT]
More FastFAT cleanup.
Except a light performances boost due to useless checks removal in read/write and to some functions inlining

More to follow...

svn path=/trunk/; revision=73819
2017-02-17 17:58:18 +00:00
Giannis Adamopoulos 2667ff688f [SHELL32] -Expand the name of the cpl file because CreateActCtx needs a full path.
svn path=/trunk/; revision=73818
2017-02-17 17:23:17 +00:00
Mark Jansen b742e89b01 [DBGHELP] Add experimental rsym support. CORE-12773
svn path=/trunk/; revision=73817
2017-02-17 16:18:15 +00:00
Mark Jansen e2c97e602f [DBGHELP_APITEST] Add tests for pdb and rsym parsing. CORE-12773
svn path=/trunk/; revision=73816
2017-02-17 16:15:49 +00:00
Mark Jansen 17a622f506 [SDK][KERNEL32] Add defines for PEB.AppCompatFlags CORE-12768 #resolve
svn path=/trunk/; revision=73815
2017-02-17 16:12:19 +00:00
Thomas Faber eb5ff5ce18 [LIBTIFF]
- Fix GCC non-PCH build
CORE-12775

svn path=/trunk/; revision=73814
2017-02-17 13:58:26 +00:00
Thomas Faber 34d6ad7853 [LIBTIFF]
- Update to version 4.0.7
CORE-12775 #resolve

svn path=/trunk/; revision=73813
2017-02-17 13:43:05 +00:00
Kamil Hornicek 7db2f3af0f [WIN32K]
- The pattern bitmap can get deleted during the GDI cleanup for process before the brush itself.
- Gets rid of some of those pesky "GreDeleteObject: Trying to delete invalid object" debug prints.

svn path=/trunk/; revision=73812
2017-02-17 13:13:36 +00:00
Thomas Faber 61d91cd9e8 [LIBTIFF]
- Use the official libtiff 4.0.3 def file to determine exported functions (instead of exporting everything in GCC builds, nothing in MSVC builds)
- Remove unused ROS-diffs
CORE-6898 CORE-12275

svn path=/trunk/; revision=73811
2017-02-17 13:05:50 +00:00
Kamil Hornicek 238c9ac8e2 [PING]
- Addendum to r73626. Convert the print specifiers too so that ping doesn't only output the old specifiers themselves.

svn path=/trunk/; revision=73810
2017-02-17 12:30:14 +00:00
Thomas Faber ea55caa53a [WINDOWSCODECS]
- Fix some MSVC-specific definitions

svn path=/trunk/; revision=73809
2017-02-17 12:17:20 +00:00
Pierre Schweitzer 990af47b16 [FASTFAT]
Thomas->happiness++;

svn path=/trunk/; revision=73808
2017-02-17 11:38:05 +00:00
Pierre Schweitzer 57ec8a7319 [FASTFAT]
Fix a few ugly things.
Both Thomas & cppcheck should be happier now!

svn path=/trunk/; revision=73807
2017-02-17 11:08:38 +00:00
Giannis Adamopoulos c607de714c [WIN32k]
-Fix a couple of cases where we use the versioned class atom instead of the non versioned one.

[USER32]
- Add support for versioned classes in RegisterClassExWOWW, GetClassInfoExW, GetClassInfoExA, UnregisterClassA, UnregisterClassW, and User32CreateWindowEx
- Make ClassNameToVersion return the name of the versioned class and the library name that implements it while preserving a hack that lets user32 know which classes are registered by comctl32 (this is needed because the default activation context doesn't contain the non versioned classes yet).
- Make VersionRegisterClass to load the specified library and make it register its classes which is used when the class is not registered yet but its manifest is active.

svn path=/trunk/; revision=73806
2017-02-17 11:07:14 +00:00
Thomas Faber ebf8247723 [LIBJPEG]
- Update to version 9b
CORE-12775

svn path=/trunk/; revision=73805
2017-02-17 11:05:50 +00:00
Thomas Faber d92f2f5ea1 [LIBPNG]
- Update to version 1.6.28
CORE-12775

svn path=/trunk/; revision=73804
2017-02-17 10:42:03 +00:00
Giannis Adamopoulos bb9f71835f [COMCTL32]
- Add and install a manifest for comctl32 version 5.82. 
- Since our comctl32 tries to imitate both version 5 and version 6, register its classes twice, once while having the version 6 manifest active and once when having the version 5 active. 
- Register the themed versions of the built in controls while having the version 6 manifest active (and register them as global classes). This breaks theming of built in controls until versioned classes get implemented.
- Do not try to subclass the dialog class. This is incorrect and can lead to problems like in CORE-8534, CORE-12727, CORE-8387. This removes the background texture of the themed tabs which will be implemented in the future in uxtheme using api hooks.
This breaks a great deal of theming but keep in mind that it is in the middle of a transition to have them implemented correctly without the terrible side effects (broken ansi conversion, not always  using themes for built in controls. However comctl32 is now ready for versioned classes to be enabled.
CORE-12285

svn path=/trunk/; revision=73803
2017-02-17 10:04:24 +00:00
Kamil Hornicek e83d1d9365 [SPIDER]
- Make the formatting a bit more consistent.

[EVENTVWR]
- Remove an useless cast.

svn path=/trunk/; revision=73802
2017-02-15 10:53:41 +00:00
Alex Ionescu 126cfbc810 [BOOTLIB]: Fix assembly file containing Archx86TransferTo32BitApplicationAsm to use assume:nothing, otherwise we end up with SS segment overrides everywhere.
[BOOTLIB]: Correctly bias access to GDT/IDT registers by 2 bytes since this is a 48-bit instruction. The loaded GDT/IDT was previously invalid and causing random GPFs.
[BOOTLIB]: Fix EfiStall in protected mode. It was previously not stalling.
[BOOTLIB]: Fix calculation in MmMapPhysicalAddress 
[BOOTLIB]: Fix missing goto in MmSelectMappingAddress which broke the function in real mode.
[BOOTLIB]: Fix incorrect ranges in MmSelectMappingAddress.
[BOOTLIB]: Fix incorrect offset calculation in MmSelectMappingAddress.
Now hitting (as expected), unimplemented virtual code path in BlMmMapPhysicalAddressEx.

svn path=/trunk/; revision=73801
2017-02-15 00:53:15 +00:00
Giannis Adamopoulos 18d52d4336 [RUNDLL32] -Load and activate the manifest of the hosted dll before loading the library.
svn path=/trunk/; revision=73799
2017-02-14 09:47:13 +00:00
Giannis Adamopoulos c2c30fe940 [NEWDEV] -Use manifest_hosted.rc.
svn path=/trunk/; revision=73798
2017-02-14 09:41:38 +00:00
Alex Ionescu c80fda1b0a [BOOTLIB]: Clarify some attributes now that their meaning is clearer.
[BOOTLIB]: Implement MmSelectMappingAddress and fix its prototype.
[BOOTLIB]: Implement MmPapPageAllocatorExtend and fix MmPapAllocatePagesInRange to use it.
We are trying to choose VA 0 for PA 0x8000 and currently fail due to conflicts. TBD.

svn path=/trunk/; revision=73797
2017-02-13 23:47:06 +00:00
Eric Kohl 8c77497afc [UMPNPMGR]
PNP_GetDeviceList and PNP_GetDeviceListSize:
- Do not return CR_CALL_NOT_IMPLEMENTED by default.
- pulLength is counted in characters, not in bytes!
- Use the correct Relations value for PowerRelations.

[NDK]
Add the PowerRelations value to a comment.

[DEVMGR]
CM_Get_Device_ID_List_Size_ExW and CM_Get_Device_ID_List_ExW count the buffer length in characters, not in bytes!

svn path=/trunk/; revision=73796
2017-02-13 22:59:40 +00:00
Eric Kohl afde7ef918 [NTOSKRNL]
Implement IopGetDeviceRelations().

svn path=/trunk/; revision=73795
2017-02-13 22:38:11 +00:00
Giannis Adamopoulos 6f4d361e2f [SHELL32] -Call CPlApplet export of control panel applets with the correct activation context.
svn path=/trunk/; revision=73794
2017-02-13 22:09:14 +00:00
Pierre Schweitzer 78544a017e [FASTFAT]
In order to make VfatVerify() work on something else than floppies, ask for change count when issuing IOCTL_DISK_CHECK_VERIFY

svn path=/trunk/; revision=73793
2017-02-13 21:17:26 +00:00
Giannis Adamopoulos 25f693843f [UXTHEME] -Move the global variables for the scrollbars into the WND_CONTEXT. Hook ThemeGetScrollInfo to set the correct tracking position as tracking is handled completely in uxtheme. Fixes scrolling while dragging the scrollbar thumb in the listview control.
svn path=/trunk/; revision=73792
2017-02-13 18:45:18 +00:00
Giannis Adamopoulos ffcce8faae [UXTHEME] -Remove an overzealous check that prevented the scrollbar from being repainted when the cursor was moving in it.
svn path=/trunk/; revision=73791
2017-02-13 17:31:14 +00:00
Giannis Adamopoulos 8e63468492 [UXTHEME] -Fix the size of the thump in the themed scrollbar. CORE-7988
svn path=/trunk/; revision=73790
2017-02-13 17:27:13 +00:00
Giannis Adamopoulos aae34d2409 [COMCTL32] -Fix drawing the borders of themed controls. Patch by Sylvain Deverre. CORE-10761
svn path=/trunk/; revision=73789
2017-02-13 15:08:47 +00:00
Giannis Adamopoulos a5ad497158 [BROWSEUI] -Fix a couple of cases where the tree view can cause a crash.
svn path=/trunk/; revision=73788
2017-02-13 15:04:03 +00:00
Giannis Adamopoulos 126bbfdb97 [USER32_APITEST]: Add a couple more tests for GetClassInfoExW.
svn path=/trunk/; revision=73787
2017-02-13 09:58:06 +00:00
Giannis Adamopoulos 6f9bc0e872 [WIN32KNT_APITEST]: Make a test for NtUserGetClassInfo more strict to test its exact return value.
svn path=/trunk/; revision=73786
2017-02-13 09:56:35 +00:00
Thomas Faber 25d242883a [WIN32K:NTUSER]
- Kill a noisy debug print

svn path=/trunk/; revision=73785
2017-02-12 23:09:35 +00:00
Pierre Schweitzer 5b66f1e47b [FASTFAT]
Don't attempt to verify volume if it was already verified in between

svn path=/trunk/; revision=73784
2017-02-12 19:31:31 +00:00
Giannis Adamopoulos 935904f4a0 [WIN32KNT_APITEST]: -Make sure that NtUserUnregisterClass works when it gets the versioned class name. Show that NtUserFindWindowEx needs the non versioned class name.
svn path=/trunk/; revision=73783
2017-02-12 12:11:18 +00:00