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
Jérôme Gardou
e3141c833c
[SYSSETUP] Install nettcpip.inf
...
CORE-17514
2021-03-19 14:23:28 +01:00
Jérôme Gardou
525d19d469
[NDK][XDK] Use decimal literals for MINxxxx defines
...
Because myLongLong < MINLONG is supposed to behave like you'd expect
2021-03-19 11:04:19 +01:00
Victor Perevertkin
16173c0798
[UMPNPMGR] Fix GCC build
...
Addendum to 420c4a7abf
2021-03-19 09:14:05 +03:00
Victor Perevertkin
420c4a7abf
[UMPNPMGR] Install drivers for all devices available on boot
...
Don't wait for their events to appear, just retrieve the list and
install drivers. This fixes the installation of manually reported device
nodes
CORE-17212 CORE-17398
2021-03-19 08:59:42 +03:00
Victor Perevertkin
0fed07b7e4
[NTOS:PNP] Initialize DeviceDesc and LocationInformation registry fields
...
for manually reported devices, as it is required by the newdev.dll
for installing drivers from INF files
CORE-17212 CORE-17398
Co-authored-by: Stanislav Motylkov <x86corez@gmail.com>
2021-03-19 07:57:41 +03: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
Victor Perevertkin
aec3d9cc8f
[NTOS:IO][NTOS:PNP] Fix incorrect usage of IopGetRegistryValue
...
KEY_VALUE_FULL_INFORMATION was not always freed properly
2021-03-19 01:07:22 +03:00
Jérôme Gardou
42094071ee
[NTOS:MM] Silence noisy DPRINTs
2021-03-18 12:24:21 +01:00
Jérôme Gardou
4ff5d39edb
[NTOS:MM] Use a define for the big pool table occupation rate
2021-03-18 12:24:21 +01:00
Jérôme Gardou
8494688eeb
[NTOS:MM] Do not use atomic operations to set a bit while holding a lock.
...
Saving your fingers from typing it doesn't make it better code.
2021-03-18 12:24:21 +01:00
Jérôme Gardou
f06b58925d
[NTOS:MM] Implement shrinking big pool allocation table
...
Shrink when using 1/8 of its allocated capacity (thus use 25% of it at the end of the process)
Expand when using 3/4 of its allocated capacity (thus use ~40% of it at the end of the process)
2021-03-18 12:24:21 +01:00
Jérôme Gardou
54354712e2
[NTOS:MM] Fail allocating non-paged pool when running out of available pages
2021-03-18 12:24:21 +01:00
Jérôme Gardou
34630a06ca
[NTOS:MM] Do not bugcheck when we are freeing a big allocation for which we didn't manage to insert the tag
2021-03-18 12:24:21 +01:00
Katayama Hirofumi MZ
f9b89c9961
[SDK][INCLUDE] msgdump.h: Support RegisterWindowMessage
...
msgdump.h: Version 18.
2021-03-18 18:41:03 +09:00
Katayama Hirofumi MZ
ea3c56b659
[BROWSEUI_APITEST] Strengthen ACListISF testcase ( #3538 )
...
Add tests for ACListISF testcase to clarify the details. CORE-9281
2021-03-18 09:49:40 +09: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
Jérôme Gardou
162f51e6b8
[OLDNAMES] Add missing isascii
2021-03-17 18:52:58 +01:00
Jérôme Gardou
d5fa0788d8
[NTOS:MM] Silence a DPRINT which became noisy
2021-03-16 13:23:21 +01:00
Jérôme Gardou
7e5c1872ee
[RTL] Improve performance by introducing a hint array for free entries
...
The array is there for the entries smaller than the decommit threshold, the rationale
being that entries which are larger will likely be split for honoring other allocations
or be coalesced and eventually decommitted.
This with the previous commits make a huge perf boost to memory-intensive applications like cmake
CORE-15793
2021-03-16 13:23:21 +01:00
Jérôme Gardou
325737f855
[SDK:RTL] Track the end of uncommitted ranges thanks to a "Guard" entry that we put at the end of each committed page
...
This avoids busy loop to get the last valid entry of the previous committed range when committing a new one.
CORE-15793
2021-03-16 13:23:21 +01:00
Victor Perevertkin
abbc5ba45a
[UMPNPMGR][USETUP] Use PlugPlayControlStartDevice in usetup and umpnpmgr
...
Instead of PlugPlayControlResetDevice, PlugPlayControlStartDevice should
be used for a newly installed device.
For usetup, add a device status check before starting attempt, so we're
not touching devices which are already started.
CORE-17463 CORE-17490
2021-03-16 03:17:58 +03:00
Victor Perevertkin
59a5dba443
[NTOS:PNP] Implement PlugPlayControlStartDevice control class
...
This control class is triggered when a driver is being installed for a
non-critical device. The driver info should already be in the registry
so we just need to push the device through the state graph
Meanwhile, combine the code for similar control classes into
PiControlSyncDeviceAction routine
CORE-17463 CORE-17490
2021-03-16 03:17:57 +03:00
Victor Perevertkin
029accdcf7
[NDK] Change the data structure for PlugPlayControlResetDevice control class
...
PlugPlayControlResetDevice shares the input structure with several other
control classes.
Source: ProcessHacker sources e9c8121f41/ntpnpapi.h
2021-03-16 03:17:42 +03: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
Victor Perevertkin
a064c5d9a0
[HALX86] Remove unused and empty files, remove halapic
...
halapic (a.k.a. non-ACPI APIC HAL) is not going to be supported in near
future
2021-03-15 02:51:25 +03:00
Victor Perevertkin
7601fb549c
[HALX86] Rearrange files in x86 HAL
...
- Rename UP -> PIC. The "up" folder in fact contains the code for
managing the Intel 8259 PIC chip
- Move amd64/processor.c -> apic/processor.c. The code is not tied to
amd64
- Remove platform from "halinit*" files. They already reside in the
corresponding folder
2021-03-15 02:48:35 +03: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
ac507691fb
[SDK][INCLUDE] layout.h: Use SWP_NOCOPYBITS to refresh controls
2021-03-14 12:28:48 +09:00
Katayama Hirofumi MZ
e076e0576f
[ATL] Add NULL-check in CWindowImplBaseT::WindowProc assertions
...
CORE-17505
2021-03-11 21:20: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
4f83032a12
[ATL] Split CWindowImplBaseT::WindowProc asserion
...
CORE-9281
2021-03-11 17:18:43 +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
Serge Gautherie
0975c5ef40
[ATL] CMakeLists.txt: Use a bare endif() ( #3523 )
...
Addendum to 98203ce
.
2021-03-11 08:38:04 +09: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
Victor Perevertkin
df35c8d05e
[SDK:KMDF] Populate OsVersionInfo in our static linking hack
2021-03-10 18:41:46 +03:00
Victor Perevertkin
6d1ca3553e
[SDK:KMDF] Fix calling convention for the kernel function pointers
2021-03-10 18:41:03 +03:00
Katayama Hirofumi MZ
98203cea23
[CMAKE] Define _DEBUG for better ATL debugging (Retry) ( #3519 )
...
CORE-17505
2021-03-10 22:59:13 +09:00
Victor Perevertkin
0a26c7c5d2
[SDK:DDK] Implement the Auxiliary Kernel-Mode Library
...
And uncomment the code in KMDF which uses it
2021-03-10 16:43:59 +03:00