Hervé Poussineau
4712deb8a8
[SETUPAPI] Fix wrong buffer size given to CM_Get_Device_ID_List_ExW
...
This buffer overflow was introduced in previous commit.
2021-04-03 00:52:01 +02:00
Hervé Poussineau
0f3133c308
[SETUPAPI] Use CM_* functions to get list of devices
...
- this prevents duplicating the code with umpnpmgr::PNP_GetDeviceList
- we can enumerate devices on other computers
This is part of the bugfix for CORE-17529
2021-04-02 21:41:09 +02:00
Katayama Hirofumi MZ
ade5413362
[SHELL32] Auto-completion on Properties for Shortcut ( #3574 )
...
Enable auto-completion on "Properties for Shortcut files". CORE-9281
2021-04-02 17:04:43 +09:00
Katayama Hirofumi MZ
62b13979f5
[NEWDEV] Enable auto-completion on Hardware Wizard ( #3573 )
...
Realize auto-completion on Hardware Wizard. CORE-9281
2021-04-02 11:06:01 +09:00
Katayama Hirofumi MZ
b591bd3354
[NEWDEV] Use new UI dialog for browsing folder
...
Add BIF_USENEWUI flag to BROWSEINFO. CORE-9281
2021-04-02 08:58:09 +09:00
Katayama Hirofumi MZ
bebdfda8b7
[NOTEPAD][WORDPAD][MSPAINT]... Use newer file open dialog ( #3571 )
...
Use new-style file open/save-as dialog.
- Add OFN_EXPLORER flag to OPENFILENAME structure in notepad, wordpad, mspaint, clipbrd, mmc, mplay32, mscutils, regedit, winhlp32, progman, shellbtrfs, cryptui, shell32, setupapi, vgafontedit, infinst, and vfdlib modules.
2021-04-01 22:50:32 +09:00
Katayama Hirofumi MZ
7e6550b35e
[COMDLG32] Enable auto-completion on comdlg32 ( #3564 )
...
Auto-completion will be enabled when the user opens "Open" or "Save As" dialog of the common dialogs. CORE-9281
NOTE: The relative pathes, "..\" and "\" are not working. Those are bugs in CLSID_ACListISF.
2021-04-01 06:41:24 +09:00
Katayama Hirofumi MZ
91e591b3d5
[BROWSEUI] Enable AutoAppend of auto-completion ( #3552 )
...
Fix and improve Auto-Append of auto-completion. CORE-9281
- Implement CAutoComplete::DoAutoAppend method.
2021-03-30 06:50:32 +09:00
Katayama Hirofumi MZ
d5c72a2e09
[BROWSEUI] Support ACO_USETAB and SHACF_USETAB on auto-completion ( #3549 )
...
Support Tab key on auto-completion. CORE-9281
2021-03-25 07:42:24 +09:00
Serge Gautherie
ca1814f2c9
[SYSSETUP] security.c: Remove 3 useless casts
...
And
* Make 1 cast more explicit.
* Fix 1 'SamSetInformationUser' copypasta in DPRINT1() text.
* Optimize 1 '.MaximumLength' assignment.
2021-03-24 12:15:55 +01:00
Serge Gautherie
4cd92f0d01
[SYSSETUP][TIMEDATE] Use exact setTimer() timeouts, to stay in sync ( #3355 )
...
CORE-13121
2021-03-21 12:01:22 +09:00
Katayama Hirofumi MZ
53005587f4
[BROWSEUI] Fix return value on sanity check of auto-completion ( #3544 )
...
Reduce failures on sanity check of auto-completion. CORE-9281
- Return E_FAIL rather than E_INVALIDARG in sanity check of CAutoComplete::Init (IAutoComplete::Init).
2021-03-20 14:04:02 +09:00
Katayama Hirofumi MZ
f49c164428
[BROWSEUI] Fix auto-completion on VK_DELETE ( #3543 )
...
Reduce failures against Delete key on auto-completion. CORE-9281
2021-03-20 13:18:47 +09:00
Mark Jansen
4885c34fa8
[SYSSETUP] SamQueryInformationUser expects a pointer
2021-03-20 00:28:07 +01:00
Piotr Hetnarowicz
e264c3b3f2
Update dll/cpl/hdwwiz/lang/pl-PL.rc
...
Co-authored-by: Adam Stachowicz <saibamenppl@gmail.com>
2021-03-19 22:49:47 +01:00
Piotr Hetnarowicz
edc314e741
Update dll/cpl/hdwwiz/lang/pl-PL.rc
...
Co-authored-by: Adam Stachowicz <saibamenppl@gmail.com>
2021-03-19 22:49:47 +01:00
Piotr Hetnarowicz
a9a6f6e163
Update pl-PL.rc
2021-03-19 22:49:47 +01:00
Piotr Hetnarowicz
9114bd9882
[MMSYSCPL] Update Polish [pl-PL] translation
2021-03-19 22:47:19 +01:00
Katayama Hirofumi MZ
880252fd46
[SHELL32] Fix assertion failure in CDirectoryWatcher.cpp
...
CORE-17511
2021-03-19 08:30:10 +09:00
Mark Jansen
c59ab8fce1
[SYSSETUP] SamQueryInformationDomain expects a pointer
2021-03-18 23:28:17 +01:00
Jérôme Gardou
0d41593749
[WS2_32] Check that the handle table is initialized before accessing it.
2021-03-17 18:53:12 +01:00
Katayama Hirofumi MZ
b66bdef370
[SHELL32] Enable auto-completion on SHBrowseForFolder ( #3535 )
...
This PR realizes auto-completion on SHBrowseForFolder. CORE-9281
- Call SHAutoComplete in WM_INITDIALOG message handling.
- Fix focus.
- Remove ES_NOHIDESEL style.
- Fix layout initialization.
2021-03-15 16:30:32 +09:00
Katayama Hirofumi MZ
2d066c93fe
[SHELL32] Fix SHBrowseForFolder new UI layout ( #3533 )
...
CORE-17507
- Change layout of resource dialogs IDD_BROWSE_FOR_FOLDER_NEW.
- Delete IDC_BROWSE_FOR_FOLDER_FOLDER control.
- Fix focus.
- Add ES_NOHIDESEL style to IDC_BROWSE_FOR_FOLDER_FOLDER_TEXT control.
- Add TVS_SHOWSELALWAYS style to IDC_BROWSE_FOR_FOLDER_TREEVIEW control.
- Fix assertion failure in LayoutUpdate function in <layout.h>.
2021-03-15 07:13:03 +09:00
Katayama Hirofumi MZ
e1a5ba188e
[SHELL32] SHBrowseForFolder with BIF_EDITBOX should use new UI ( #3532 )
...
CORE-17506
- Convert some judgements against BIF_NEWDIALOGSTYLE to judgements against BIF_USENEWUI. Here BIF_USENEWUI == (BIF_NEWDIALOGSTYLE | BIF_EDITBOX).
- Remove WS_SIZEBOX window style from new UI dialog resource (IDD_BROWSE_FOR_FOLDER_NEW).
- Fix header layout.h for resizing without WS_SIZEBOX.
2021-03-14 18:35:40 +09:00
Katayama Hirofumi MZ
9259ded8ae
[ATL][SHELL32][EXPLORER] Disable ATLASSERT ( #3527 )
...
We are not ready for enabling ATLASSERT. Enabling ATL assertions takes time to realize. CORE-17505
- Disable ATLASSERT by undefining _DEBUG.
- Revert currently non-fixable codes.
2021-03-11 20:26:45 +09:00
Katayama Hirofumi MZ
4583eae4f7
[SHELL32] Fix CMenuToolbarBase
...
CORE-17505
2021-03-11 17:51:47 +09:00
Katayama Hirofumi MZ
6546ad7700
[BROWSEUI] Fix CACListISF::Next assertion
...
CORE-9281
2021-03-11 17:12:06 +09:00
Katayama Hirofumi MZ
bcba930622
[BROWSEUI] Fix CAutoComplete::OnMeasureItem assertion
...
CORE-17505
2021-03-11 16:56:01 +09:00
Katayama Hirofumi MZ
32a9b64051
[BROWSEUI] Fix addreseditbox.h assertion
...
CORE-17505
2021-03-11 16:42:36 +09:00
Piotr Hetnarowicz
31f20137b6
[DESKCPL] Update Polish [pl-PL] translation ( #3520 )
2021-03-11 02:36:48 +01:00
Piotr Hetnarowicz
a9b6df917b
[DESKADP] Update Polish [pl-PL] translation ( #3518 )
2021-03-11 02:35:37 +01:00
Mark Jansen
1952e5b795
Fix some assertions now that they are enabled ( #3524 )
...
Fix some assertions, hack out some others (they need more ATL work).
CORE-17505
2021-03-11 07:43:06 +09:00
Katayama Hirofumi MZ
a63213272a
[SHELL32] Enable auto-completion on 'Folder Options' > 'Change Icon' ( #3522 )
...
CORE-9281
2021-03-10 21:00:36 +09:00
Katayama Hirofumi MZ
c43efcb1bb
[APPWIZ] Enable auto-completion on 'Create Shortcut' ( #3521 )
...
CORE-9281
2021-03-10 20:59:57 +09:00
Katayama Hirofumi MZ
71e4450761
[BROWSEUI] Follow-up of #3507
...
Case insensitiveness fix. CORE-9281
2021-03-10 19:45:03 +09:00
Katayama Hirofumi MZ
c19d9df259
[BROWSEUI] Implement auto-completion ( #3507 )
...
Implement IAutoComplete to realize input auto completion. CORE-9281, CORE-1419
- The main features of this PR are Auto-Suggest and Auto-Append.
- Auto-Suggest shows a list near the textbox (an EDIT control) when the user has typed partial pathname into the textbox.
- Auto-Append appends complement text into the textbox to complete the pathname with selected status.
- The list of AutoSuggest is a top-level window whose window class is "Auto-Suggest Dropdown". We call it "the drop-down window".
- The drop-down window contains three controls: a listview, a scrollbar and a sizebox.
- The drop-down window watches the input into the textbox. If the textbox changed, then the window updates the list.
- The sizebox control enables the user to resize the drop-down window.
2021-03-10 16:22:57 +09:00
Chan Chilung
6a31fe6ca7
[TRANSLATION][INF] Update Chinese Traditional (zh-TW) translation ( #3468 )
...
- Add / improve Chinese Traditional Translations for INFs.
- Name changing (removed Aobi in my name)
Add Chinese Traditional translation for:
- cmdutils/at
- cmdutils/comp
- hotplug.cpl
- rosapps' sysutils/ctm
Chinese Traditional (zh-TW) translation update for:
- cmdutils/find
- cmdutils/help
- cmdutils/label
- cmdutils/whoami
- mspaint
- shutdown
- taskmgr
- diskpart
- format
- appwiz.cpl
- input.cpl
- powercfg.cpl
- shimgvw
- user32
2021-03-09 16:51:37 +01:00
George Bișoc
5fbf5e78e1
[SHELL32] Avoid code duplication on FAT and EXT2/BtrFS related FSs insertion ( #3505 )
...
This is a slight refactor of InsertDefaultClusterSizeForFs() code with the goal to avoid having the same code for FAT-related and EXT2/BtrFS filesystems.
2021-03-09 16:17:23 +01:00
Arnav Bhatt
06f57e1696
initial commit ( #3506 )
2021-03-06 19:13:05 +01:00
Serge Gautherie
8c18617fa7
[CMAKE] Fix few copy-paste typos in add_pch() calls ( #3508 )
...
Follow-up to e898c9e
.
2021-03-06 19:11:56 +01:00
Serge Gautherie
62b4c61f82
[NETCFGX] LoadDNSSettings(): Improve one RegQueryValueExW() call ( #2870 )
2021-03-04 23:29:38 +01:00
Jérôme Gardou
43ea864405
[DBGHELP] Fix use of unix path
2021-03-04 17:41:25 +01:00
Jérôme Gardou
93d741c3f4
[SHLWAPI] Use an object library to separate C & C++ compilation units
...
CORE-17423
2021-03-03 08:34:32 +01:00
Jose Carlos Jesus
6e40a96145
[DEVMGR][NETID] Update PT translation ( #3487 )
...
And readjust objects size to fit all text in Driver tab.
2021-03-03 04:18:15 +01:00
Serge Gautherie
55b93aecdc
[CMAKE] target_compile_definitions() calls: Remove (now) useless '-D' ( #3490 )
...
Documented as automatically removed, since CMake 3.12.4 at least.
https://cmake.org/cmake/help/v3.12/command/target_compile_definitions.html
2021-03-03 04:16:02 +01:00
Victor Perevertkin
fc2b105e5d
[CMAKE] Use remove_target_compile_option when disabling manually enabled warnings
2021-03-03 06:04:25 +03:00
George Bișoc
9536f44c81
[SHELL32] Determine if the FS is of type FATX ( #3398 )
...
FATX is listed as a filesystem for format within the list but it's classed out from current proposed filesystems, thus spamming the debug output and not allowing to actually format a storage drive with this FS.
CORE-17272
2021-03-02 19:37:31 +01:00
Piotr Hetnarowicz
27ca352d2b
[SHELL32] Improve Polish [pl-PL] translation ( #3494 )
2021-03-02 19:09:53 +01:00
Jérôme Gardou
42b94e728a
[ADVAPI32] In RegSetValueExW, do not fail if we fault when checking for ending NUL character
2021-03-02 15:42:21 +01:00
Jérôme Gardou
7320c989fe
[WS2_32] Fix error handling on non-existing registry keys
2021-03-02 14:39:22 +01:00