Commit graph

77134 commits

Author SHA1 Message Date
Timo Kreuzer 4860aa645c [WINSRV] Use DIB section for frame buffer bitmap 2020-03-22 12:05:05 +01:00
Eric Kohl 01fd69dfe2 [STOBJECT] Remove obsolete code and use string resources instead of hard-coded strings 2020-03-22 11:32:35 +01:00
jimtabor 78098f99e0 [Explorer|Shell32] Fix Build
Missed a file. See CORE-14439.
2020-03-21 19:18:15 -05:00
jimtabor 10d1afea18 [Explorer|Shell32]
Fix SHAppBarMessage (not perfect) by adapting wine code. See CORE-14439.
More work is required. Kept the original code for reference.
Example : SetWindowPos should be called via Post Message.
Code commit is to wake up other developers.
2020-03-21 19:13:55 -05:00
Eric Kohl fc999e18af [STDOBJECT] Show the hotplug icon when a USB-Stick is inserted
- Enable the hotplug service by default
- Start a timer on WM_DEVICECHANGE:DBT_DEVNODES_CHANGED to trigger the removable device detection.
2020-03-21 23:46:24 +01:00
Eric Kohl 93e72ed3d6 [NTOS:IO] Fix indentation. No code changes! 2020-03-21 14:32:18 +01:00
Eric Kohl 52d22630f5 [NTOS:PNP] Fix indentation. No code changes! 2020-03-21 13:23:23 +01:00
Eric Kohl a8846037e1 [NTOS:PNP] Map device capabilities to capability flags
This fixes a devices Capabilities value in the registry.
2020-03-21 13:23:22 +01:00
Eric Kohl bac4e185fb [USBHUB] Set the Removable flag for all ports of a USB hub 2020-03-21 13:23:21 +01:00
Hervé Poussineau 7b1e28e724 [ISAPNP] Fix some warnings 2020-03-21 08:29:15 +01:00
Hervé Poussineau b915dce420 [INF] Do not require a device for the ISAPNP read data port 2020-03-20 22:42:57 +01:00
Hervé Poussineau 2abd853b37 [ISAPNP] Implement some more IRP_MJ_PNP/IRP_MN_* requests
We either succeed them, or we pass them down to the ISAPNP FDO.
2020-03-20 22:40:11 +01:00
Hervé Poussineau 8b53ed1d9b [ISAPNP] Implement IRP_MN_QUERY_PNP_DEVICE_STATE for ReadDataPort 2020-03-20 22:40:11 +01:00
Hervé Poussineau 5b9929a076 [ISAPNP] Detect devices only once ReadDataPort is started
Also let kernel choose the read data port address, by using the resources given in IRP_MN_START_DEVICE.
2020-03-20 22:40:11 +01:00
Hervé Poussineau 5a404e6c50 [ISAPNP] Implement IRP_MN_QUERY_RESOURCES/IRP_MN_QUERY_RESOURCE_REQUIREMENTS for ReadDataPort 2020-03-20 22:40:11 +01:00
Hervé Poussineau 2fe644dc86 [ISAPNP] Report removal relations on ReadDataPort 2020-03-20 22:40:11 +01:00
Hervé Poussineau c4813f73f5 [ISAPNP] Report a ReadDataPort PDO
This PDO will later request resources required for ISAPNP bus.
2020-03-20 22:40:11 +01:00
Hervé Poussineau e0607fcebf [ISAPNP] Create PDO identifiers ahead of IRP_MN_QUERY_ID 2020-03-20 22:40:11 +01:00
Hervé Poussineau 89aff07a67 [ISAPNP] Extract function to create DOs 2020-03-20 22:40:11 +01:00
Hervé Poussineau d0c7bd98c7 [ISAPNP] Fix some return codes 2020-03-20 22:40:11 +01:00
Hervé Poussineau 947b49aac3 [ISAPNP] Reformat files. No code change. 2020-03-20 22:40:11 +01:00
Serge Gautherie a8dbe6805a
[GDI32_WINETEST][USER32_WINETEST] Remove forced WINVER defines (#2455)
No impact, as already deactivated.

Import
d0fd12b909
2020-03-20 19:20:52 +01:00
Tibor Lajos Füzi 432a5ddc7f
[TRANSLATION] Update Hungarian translation of usetup, syssetup, explorer, netshell, userenv, shortcuts (#2442) 2020-03-20 17:52:46 +01:00
Jose Carlos Jesus ad9bd69246
[TRANSLATION] Update portuguese translation (#2447)
Update translation for main.cpl and add new translation for powercfg.cpl.
2020-03-20 17:34:43 +01:00
Katayama Hirofumi MZ 8c5308b5e8
[USER32] Relax conditions for creating MDI windows (#2454)
The creation conditions of MDI window was too strict. CORE-15633
2020-03-20 07:38:33 +09:00
Robert Naumann fc4c4d4911
Sync brsfolder.c with keyboard shortcut code from wine (#2290)
* [SHELL32] Add shortcut to rename folders with the F2 key.

Sync Wine Commit 2e25a43f3fb6230460447bae6fb5db2edbd4a42f by Fabian Maurer

* [SHELL32] Add shortcut to delete folders with the delete key.

Sync Wine Commit 43f44ffb3779ff23c863d9b3297f92720e7e3733 by Fabian Maurer

* Disable the code for file deletion. The Wine way doesn't work on ROS. Add an explaining comment why we can't use the Wine code, as requested by Amine
2020-03-18 21:57:10 +01:00
Katayama Hirofumi MZ 1816e4f6cb
[USER32_APITEST] Strengthen DrawText testcase (#2450)
Add uFormat and pszText parameters into user32_apitest DrawText testcase. CORE-16753
2020-03-17 23:24:11 +09:00
Eric Kohl 3ecbbd991f [JOY] Use APPLET_PROC instead of a custom CPLAPPLET_PROC and simpify the code 2020-03-15 18:12:54 +01:00
Eric Kohl 6977833e06 [POWERCFG] Add hints on missing property pages and remove an obsolete declaration 2020-03-15 16:06:49 +01:00
Eric Kohl d1d9920b06 [INPUT] Use APPLET_PROC instead of a custom CPLAPPLET_PROC and simpify the code 2020-03-15 15:10:14 +01:00
Eric Kohl beeb989eaa [POWERCFG] Disable the "Enable hibernation" checkbox if the system does not support hibernation 2020-03-15 14:21:11 +01:00
Mark Jansen 315765ed8b
[MSVCRT] Add _snwscanf 2020-03-15 13:12:20 +01:00
Mark Jansen 550ce7e818
[WINTRUST] Add WTHelperGetFileHash stub 2020-03-15 13:12:05 +01:00
Eric Kohl a88d7b5c2f [DESK][CONTROL] Select property pages by command line, for example 'control desk.cpl,,1' and fix 'control color' 2020-03-15 11:46:31 +01:00
Hervé Poussineau 7a98d28d7f [ISAPNP] Rewrite device reporting method
IoCreateDevice() was called too early, when a spinlock was acquired.
Create ISAPNP_LOGICAL_DEVICE structure when a device is detected, and call IoCreateDevice() later, when required.
2020-03-14 23:39:01 +01:00
Hervé Poussineau 58e8be6258 [ISAPNP] Fix reading of serial number 2020-03-14 23:39:00 +01:00
Thomas Faber 111721a64a
[CMD] Fix another NtReadVirtualMemory parameter.
Spotted by Hermès.
2020-03-14 21:23:06 +01:00
Stanislav Motylkov dc7eac583f
[FREELDR] Move built-in VGA font to better location (#2429)
Addendum to 97eacb9.
2020-03-14 18:13:49 +01:00
Eric Kohl 5ea8314e67 [MAIN] Select property pages by command line, for example 'control main.cpl,@0,2' 2020-03-14 18:03:52 +01:00
Timo Kreuzer 64bc9c233f [HOST] Do not pack structures
Most of them are unaffected by packing, the ones that are affected have pointers, and packing them will only misalign them, but not making the structures 32 bit compatible.
2020-03-14 10:26:21 +01:00
Bișoc George 3af1141a61
[SNDVOL32] Restore the previous placement data of the window (#2420)
Save the current coordinate data of the window to the Registry when the user closes the Sound Volume applet.
2020-03-14 07:33:36 +09:00
Thomas Faber 72c51aabba
[NTOS:IO][GDI32][CMD] Fix some under-sized variables. CORE-14922
Fixes x64 boot with RTC.
2020-03-13 20:45:06 +01:00
Serge Gautherie cb5aa7bee4
[APITESTS] Tested function must be called before GetLastError() log (#2433)
So as to get the relevant LastError value.
Fixes for apphelp_apitest, kernel32_apitest and ws2_32_apitest.
2020-03-13 18:15:21 +01:00
Serge Gautherie dbfd511ecd
[PSDK] SYSTEM_POWER_STATUS: Rename Reserved1 to SystemStatusFlag (#2419)
As on Win10.

Cherry pick
7c5ea436af
2020-03-13 18:14:16 +01:00
Thomas Faber cdab20283a
[BOOTDATA] Update caroots.inf. CORE-16743
* Add "Entrust Root Certification Authority - G4" (https://bugzilla.mozilla.org/show_bug.cgi?id=1591178)
* Add "Hongkong Post Root CA 3" (https://bugzilla.mozilla.org/show_bug.cgi?id=1532753)
* Add "emSign ECC Root CA - C3", "emSign Root CA - C1", "emSign ECC Root CA - G3", "emSign Root CA - G1" (https://bugzilla.mozilla.org/show_bug.cgi?id=1515457)
* Add "Certigna Root CA" (https://bugzilla.mozilla.org/show_bug.cgi?id=1505614)
* Add "UCA Extended Validation Root", "UCA Global G2 Root" (https://bugzilla.mozilla.org/show_bug.cgi?id=1496214)
* Add "GTS Root R4", "GTS Root R3", "GTS Root R2", "GTS Root R1" (https://bugzilla.mozilla.org/show_bug.cgi?id=1325532)
* Add "OISTE WISeKey Global Root GC CA" (https://bugzilla.mozilla.org/show_bug.cgi?id=1483924)
* Add "GlobalSign Root CA - R6" (https://bugzilla.mozilla.org/show_bug.cgi?id=1390803)

* Remove "OpenTrust Root CA G3", "OpenTrust Root CA G2", "OpenTrust Root CA G1"
* Remove "Certplus Root CA G2", "Certplus Root CA G1"
* Remove "Certinomis - Root CA"
* Remove "TÜRKTRUST Elektronik Sertifika Hizmet Sağlayıcısı H5"
* Remove "Deutsche Telekom Root CA 2", "Certplus Class 2 Primary CA" (expired, https://bugzilla.mozilla.org/show_bug.cgi?id=1574670)
* Remove "Visa eCommerce Root"
2020-03-13 13:29:48 +01:00
Joachim Henze 8bb9434d3e [WIN32SS] Fix regression CORE-16721
"Scrolling by pressing the scrollbar arrows does not draw the arrows as pressed"
Fixed by a patch of JIRA-user 'I_kill_bugs'. Thank you very much!

The regression was introduced by 0.4.11-dev-586-g
929a2c6637
(which itself aimed to fix CORE-13986,
but not CORE-13918 as erroneously stated in commit comment)

I intend to port this back into 0.4.13-RC later.
2020-03-12 22:55:04 +01:00
Katayama Hirofumi MZ 6bd0c70f15 [SHLWAPI] Sorry, I updated wrong function at 5a440b2 (#2430)
CORE-13950
2020-03-11 10:41:39 +09:00
Katayama Hirofumi MZ 5a440b2d90 [SHLWAPI] Follow-up of #2430
Add a NULL check in SHLockSharedEx function. CORE-13950
2020-03-11 07:36:07 +09:00
Joachim Henze 23f6b36174 [USBHUB] Demote a DbgBreakPoint CORE-16394
The DbgBreakPoint() was reported to be continuable without
obvious side-effects by Doug Lyons.
Thank you for your tests Doug.

To prevent what end-users may otherwise perceive as a
freeze-regression caused by enabling the new driver in
0.4.13-dev-1048-g
6392c5a78c
2020-03-10 22:48:02 +01:00
Katayama Hirofumi MZ 7fcdf0be03
[SHLWAPI] Implement SHLockSharedEx function (#2430)
- Implement shlwapi!SHLockSharedEx function.
- Modify shlwapi.spec file (some argument conversions from long to ptr).
CORE-13950
2020-03-11 00:03:45 +09:00