Eric Kohl
a65a260919
[POWERCFG] Show the hibernate page only if the S4 power state is available
2019-05-12 23:52:08 +02:00
Eric Kohl
c58a2163d7
[POWERCFG] Add a separate power schemes dialog for ac-only systems
...
The layout issues will be fixed by a future patch.
2019-05-12 23:48:36 +02:00
Eric Kohl
3a207cdf27
[POWERCFG] Fix-up the lid, power button and sleep button settings according to the power capabilities.
2019-05-09 23:56:37 +02:00
Eric Kohl
cc13842ad4
[POWERCFG] Do not re-initialize all paged directly when the hibernate file setting changes. Re-initialize the pages on PSN_SETACTIVE instead.
2019-05-08 23:31:00 +02:00
Pierre Schweitzer
ea7aca8bdd
[KERNEL32] Drop unused line breaks
2019-05-08 18:34:28 +02:00
Eric Kohl
535b8dda8d
[POWERCFG] Implement the power scheme 'Save As' feature
...
CORE-12565
2019-05-06 23:55:42 +02:00
Eric Kohl
af14108ee2
[POWERCFG] Do not call other pages init routines when the hibernate setting changes. This will be fixed later.
2019-05-06 23:39:09 +02:00
Eric Kohl
1dcf8376f0
[POWERCFG] Fix power scheme deletion
...
CORE-12566, CORE-12567
2019-05-05 22:48:53 +02:00
Eric Kohl
077dcfedb9
[POWERCFG] Improve the error handling in AddPowerScheme() and keep track of the current power scheme.
2019-05-05 22:10:00 +02:00
Pierre Schweitzer
204bfa8574
[KERNEL32] Misc. fixes to DefineDosDeviceW
...
- Add support for LUIDDeviceMapsEnabled;
- Broadcast proper message in case of device removal;
- Use less memory for strings management;
- Make code a bit cleaner.
2019-05-05 18:33:15 +02:00
Eric Kohl
b5e6280a72
[POWERCFG] Really fix the power schemes exceptions!
2019-05-05 17:05:59 +02:00
Pierre Schweitzer
5d20d512be
[KERNEL32] Rewrite QueryDosDeviceW to handle global and local MS-DOS namespaces
...
It also comes with a small performance boost: instead of performing object
queries one after another, we query them all at once.
2019-05-05 14:18:09 +02:00
Pierre Schweitzer
8d128aa441
[KERNEL32] Reduce QueryDosDeviceA memory footprint
...
by using TEB static unicode string (which is already
preallocated).
Also, properly handle RtlUnicodeStringToAnsiString failures.
Finally, make sure output buffer is properly 0 terminated.
2019-05-05 10:17:16 +02:00
Pierre Schweitzer
1ed7f27466
[KERNEL32] Reduce DefineDosDeviceA memory footprint
...
by using TEB static unicode string (which is already
preallocated).
2019-05-05 10:17:16 +02:00
Hermès Bélusca-Maïto
2ebda0e3d0
[CONSOLE.CPL] Fix the console screen preview when selecting TrueType fonts.
...
CORE-13182 CORE-13196
- Use the correct character height & width.
- Additions: use StringCch*() when initializing the dialog title.
[CONSRV:CONCFG] Minor fixes.
- When retrieving font characteristics in ConCfgReadUserSettings(),
check for NULL/zero values that indicate that we should use default
ones instead.
- Rename 'dwNumSubKeys' into 'dwNumValues'.
2019-05-05 01:20:19 +02:00
Eric Kohl
5164c852e8
[POWERPROF] ValidatePowerPolicies: Do not fail because of legal power states which were set by FixSystemPowerState.
2019-05-02 20:39:58 +02:00
Hervé Poussineau
7033ab18df
[HID] Use hidparser static library for HidP_* functions
...
hid.dll and hidparse.sys must understand the same HID preparsed data,
so use the same code in hid.dll and in hidparse.sys
At the same time, this permis implementation of some HidP_* functions.
2019-05-02 20:06:47 +02:00
Katayama Hirofumi MZ
dcaaf3e7af
[COMDLG32] Fix treatment of wrong filename extension ( #1545 )
...
Fix treatment of wrong filename extensions upon GetOpenFileName/GetSaveFileName. CORE-15270
2019-05-02 22:48:01 +09:00
Mark Jansen
575ab6c760
[ACGENRAL] Add a test shim
2019-05-01 19:22:19 +02:00
Mark Jansen
1570f08b4d
[APPHELP] Add ordinal import support
2019-05-01 19:22:19 +02:00
Eric Kohl
2872cfc3b7
[POWERCFG] Fix indentation. No code changes!
2019-05-01 13:16:38 +02:00
Hermès Bélusca-Maïto
77d234b049
[KERNEL32] Addendum to 0e3a0435
(PR #803 ): always return TRUE in the stub-plemented SetThreadStackGuarantee() to continue satisfying programs that use it. CORE-15989
2019-04-29 22:51:35 +02:00
Serge Gautherie
cf48f8bf8a
[REACTOS] Replace remnant legacy SPIF_SENDWININICHANGE by SPIF_SENDCHANGE ( #1526 )
...
No functional change otherwise.
2019-04-28 21:19:42 +02:00
Bișoc George
89f6929dae
[ACCESS] Reposition the "ToggleKeys" group box control ( #1541 )
...
CORE-15383
2019-04-28 20:21:38 +02:00
Eric Kohl
93b54d007f
[POWERCFG] Fix minor power scheme issues
...
- Really fix the exception that occurs on closing the property sheet.
- Use the correct scheme ID when the current power scheme is set.
2019-04-28 13:18:52 +02:00
Katayama Hirofumi MZ
2da24f7274
[COMDLG32] Follow up of #1514 CORE-7114 Don't load asterisk extension
2019-04-28 08:44:52 +09:00
Hermès Bélusca-Maïto
9256c808b1
[NFS] Fix a typo in the precompiled header.
2019-04-28 01:42:52 +02:00
Eric Kohl
ce218f70ec
[POWERCFG] Fix an exception that occurs when the control panel is closed.
2019-04-27 19:01:35 +02:00
Hermès Bélusca-Maïto
0e3a043526
[KERNEL32] Add an (incomplete) pre-implementation for SetThreadStackGuarantee(). ( #803 )
...
This should remove some of the "SetThreadStackGuarantee(): stub" messages in some simple cases.
2019-04-27 18:41:50 +02:00
Katayama Hirofumi MZ
6a7d8112c3
[COMDLG32] Save open/save location by extension ( #1514 )
...
Use the proper open/save initial folder for comdlg32.GetOpenFileName and comdlg32.GetSaveFileName. CORE-7114
2019-04-27 23:02:34 +09:00
Andrew Cook
716613cddc
[CMAKE] Use new policies for CMP0005 and CMP0018 ( #1481 )
...
* [CMAKE] Fix for CMP0018
The new behaviour lets us explicitly disabling position independent code, avoiding the need to change undocumented variables
* LINK_DEPENDS is semicolon separated
* [CMAKE] Fix for CMP0005
it seems impossible to have cmake correct escape PROXY_CLSID_IS so move it to the header
2019-04-27 11:33:37 +02:00
Eric Kohl
9a24e9799e
[POWERCFG] Show the name of the power scheme in the delete confirmation message box
2019-04-26 23:12:36 +02:00
Eric Kohl
7251020e41
[POWERCFG] Some small cleanup
...
- Rename IDC_HYBERNATE... to IDC_HIBERNATE...
- Rename IDS_PORCENT to IDS_PERCENT
- Replace %1 by %s in IDS_CONFIG1 and IDS_CONFIG2
2019-04-26 21:52:30 +02:00
Eric Kohl
0ca4b50791
[POWERCFG] Fix the initialization of the power schemes page
...
CORE-4995
2019-04-26 00:03:27 +02:00
Oleg Dubinskiy
c8611aea13
[DPNHPAST] Import dpnhpast.dll from Wine (Staging) 4.5
2019-04-24 19:59:15 +02:00
Jared Smudde
7e18b6d0eb
[BROWSEUI] Enable the Disconnect Network Drive menu item. ( #1522 )
...
CORE-13516, CORE-13518
2019-04-24 04:28:05 +02:00
Jared Smudde
bf431dd278
[MPR] Implement the function WNetDisconnectDialog(). ( #1522 )
...
CORE-13516, CORE-13518
2019-04-24 04:28:01 +02:00
Jared Smudde
d1404a7a2a
[NETPLWIZ] Implement the Disconnect Network Drive dialog. ( #1522 )
...
CORE-13516, CORE-13518
2019-04-24 04:26:12 +02:00
Katayama Hirofumi MZ
9de816c971
[APPWIZ.CPL] Set a default shortcut-link description ( #1520 )
...
CORE-15511
2019-04-24 03:44:44 +02:00
Hermès Bélusca-Maïto
62823a08ce
[SHELL32] Make the new-item menu work (aka. make it dynamic) when the .lnk handler doesn't have any ShellNew entry.
2019-04-24 03:41:41 +02:00
Hermès Bélusca-Maïto
0416c598f8
[SHELL32] Code formatting/style/whitespace fix + fix two memory leaks in failure paths of CNewMenu::LoadItem().
2019-04-24 03:36:27 +02:00
Katayama Hirofumi MZ
8e60c2efee
[SHELL32] Implement 'New Link' (Retrial of #1510 ), CORE-15511 ( #1518 )
...
Correctly create cache about ".lnk" and handling in the member functions.
Co-authored-by: Hermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
2019-04-24 03:28:17 +02:00
Eric Kohl
8c30fdab1c
[STOBJECT] Store the "Show x icon in the taskbar" setting for the hotplug, power and volume icons.
...
CORE-12365
CORE-12972
CORE-15234
2019-04-23 00:12:23 +02:00
Eric Kohl
22411ef223
[POWERCFG] Fix indentation and coding style. No code changes!
2019-04-23 00:09:10 +02:00
Eric Kohl
8fb2a2dd12
[STOBJECT][MMSYS][POWERCFG] Store the "Show x icon in the taskbar" setting for the hotplug, power and volume icons.
...
CORE-12365
CORE-12972
CORE-15234
2019-04-23 00:04:01 +02:00
Hermès Bélusca-Maïto
05b052fee2
[OPENGL32] Fix the order of the specified callbacks for the DrvSetCallbackProcs() call.
...
References:
- https://github.com/OpenSWR/openswr/blob/master/ogldriver/wgl.cpp
- https://github.com/Igalia/mesa/blob/master/src/gallium/state_trackers/wgl/stw_icd.h
- "OpenGL Installable Client Driver, Version 1.101 -- Reference Guide" by Microsoft Corporation.
2019-04-22 18:29:43 +02:00
Bernhard Feichtinger
a8fa5394ef
[OPENGL32] Fix usage of TEB members.
2019-04-22 17:42:13 +02:00
Mark Jansen
774f497721
[SYSSETUP] Fix a broken DPRINT
...
Thanks to Thomas for spotting it.
2019-04-22 16:24:59 +02:00
Eric Kohl
754a35b210
[STOBJECT] Mark hotplug, power and volume context menu default items
2019-04-22 10:36:17 +02:00
Eric Kohl
eabae983e0
[POWRPROF] EnumPwrSchemes: Fix callback string lengths
...
The callback routine should get the real lengths of the name and description strings in bytes instead of the buffer sizes in characters. This fixes buffer overflows in powercfg.cpl.
2019-04-22 00:44:47 +02:00