Paweł Cholewa
1bd330cd81
[FIND] Rewrite of the find utility. ( #1553 )
...
This commit contains a complete rewrite of find console utility.
The goal of it was to make the source code easier to maintain
and to add a missing feature (/offline switch).
Additional changes:
* now the program operates on Unicode strings;
* added conutils and shlwapi as program's libraries;
* added IDS_INVALID_SWITCH string into resources;
* modified IDS_USAGE string to include /offline switch
description.
https://ss64.com/nt/find.html was used for reference.
2019-05-14 20:37:38 +02:00
Hervé Poussineau
9a6eb70ff9
[HIDCLASS] Implement IRP_MJ_WRITE
2019-05-14 14:37:22 +02:00
jimtabor
2161dd85dc
[NtUser] Fix Paint Messages
...
This is a HACK for forcing painting of non client areas. Paint code
seems very restricted.
See CORE-7166 & CORE-15934.
2019-05-13 11:31:58 -05:00
Pierre Schweitzer
0bcf43482b
[APPVEYOR] Disable the clang-cl
...
The compiler hits an assert while building a file
The two "officially" supported compilers are working though
This will bring back green status for our CI on GitHub
2019-05-13 08:35:23 +02:00
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
Jose Carlos Jesus
1a23f3c9df
[EXPLORER] Add Portuguese (Portugal) pt-PT.rc translation. CORE-15967 ( #1558 )
2019-05-11 22:31:00 +02:00
jimtabor
5418f394ab
[Gdi32] Batch Type Select Mode for Testing
...
Do not allow setting hdc if no batch type is found.
See CORE-15988.
2019-05-11 11:22:06 -05:00
Pierre Schweitzer
34cbb45ff6
[BTRFS] Upgrade to 1.2.1
...
CORE-16004
2019-05-11 11:53:13 +02:00
Pierre Schweitzer
52550485e2
[UBTRFS] Upgrade to 1.2.1
...
CORE-16004
2019-05-11 11:25:13 +02:00
Pierre Schweitzer
883b1f31ac
[BTRFS] Upgrade to 1.2.1
...
CORE-16004
2019-05-11 11:20:02 +02:00
Hervé Poussineau
927e1d0968
[HIDPARSER] Implement HidP_GetValueCaps
2019-05-10 11:35:01 +02:00
Hervé Poussineau
2d5a230810
[MOUHID] Correctly detect tablet devices
...
Some mice give a logical min/logical max which is the maximum move
that they can provide. Those were wrongly detected as absolute mice,
and mouse pointer was mostly stuck at the upper left corner of the
screen.
2019-05-10 11:35:01 +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
jimtabor
dc7f4f682f
[Win32SS] Plug in Last Batch
...
Plugging in last batch after 12 years.
2019-05-09 12:35:21 -05:00
jimtabor
94b4b5c127
[NtGDI] Fix ExtSelectClipRgn Tests
...
Fix results from tests, add (last one) gdi batch support for
ExtSelectClipRgn. Left commented out test code in tree this time.
Pass Katayama Hirofumi MZ SelectClipRgn tests. After commit will plug in
the last batch. After 12 years.
See CORE-13817 and CORE-15906.
2019-05-09 12:33:21 -05:00
Pierre Schweitzer
e1e6cfd312
[BASESRV] Misc fixes: use BaseSrvHeap and silent a DPRINT
2019-05-09 08:57:43 +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
bd7b0c96c6
[BASESRV] Make Buffer MAX_PATH big again
2019-05-08 20:39:57 +02:00
Pierre Schweitzer
20f5797386
[BASESVR] Take SessionId into account while creating BNO directory
2019-05-08 20:35:31 +02:00
Pierre Schweitzer
a802726577
[BASESRV] Fix the BNO string buffer usage
...
This avoids reinitializing it before use.
2019-05-08 20:08:13 +02:00
jimtabor
25198d5cbd
[Win32nt|ApiTests] Add ExtSelectClipRgn test
...
For CORE-13817 and CORE-15906
2019-05-08 12:31:17 -05:00
Pierre Schweitzer
0a392b188a
[BASESRV] Rewrite DOS devices management
...
This will notably bring support for DOS mapping with LUID devices
(not yet supported in the kernel, though).
This also reduces complexity (and thus memory usage) with the "history"
thing. Multiple targets are stored in the link target as MULTI_SZ string.
This fixes regressions introduced with kernel32 fixes/rewrites.
2019-05-08 18:34:28 +02:00
Pierre Schweitzer
ea7aca8bdd
[KERNEL32] Drop unused line breaks
2019-05-08 18:34:28 +02:00
Pierre Schweitzer
eea0beca35
[BASESRV] Enable the ProtectionMode query code
...
And make it global
2019-05-08 18:34:28 +02:00
Pierre Schweitzer
6e4f0365e3
[BASESRV] Make SessionId global
2019-05-08 18:34:28 +02:00
Thomas Faber
f86360fdbc
[NTOS:CM] Do not call ZwQueryObject with a zero-size buffer. CORE-15882
...
Actually fixes ntdll_apitest:NtLoadUnloadKey.
2019-05-07 13:52:50 +02:00
Serge Gautherie
627f0242ad
[ROSAUTOTEST] Fix and improve some log handling ( #1531 )
...
* wmain(): Use endl instead of '\n', for 'System uptime'
* wmain(): Output "[ROSAUTOTEST] " in two cases: 'System uptime' and all CSimpleException.
2019-05-07 08:39:52 +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
Benjamin Aerni
3da616a918
[DDK][PSDK] Added the rest of the defines for netkvm
2019-05-06 23:11:45 +02:00
Hermès Bélusca-Maïto
6a67dfd191
[DDK][PSDK] Add some missing NDIS definitions/types. Caught by Benjamin Aerni.
2019-05-05 23:19:53 +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
Oleg Dubinskiy
4172325559
[NOTEPAD] Duplicate notepad.exe in SystemRoot. CORE-16003 ( #1555 )
...
This is also done on Windows for backwards compatibility with Windows 3.x/9x.
But, it's also used (i.e. "required") by some installers, like Doom 3 Demo installer and Battlefield 1942 Single Player Demo installer, for successful opening of their Readme file at the end of their installation!
2019-05-05 19:48:37 +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
Thomas Faber
d3fa3b0ca2
[NTOS:CM] Check for correct status from ZwQueryObject. CORE-15882
...
Fixes regression in ntdll_apitest:NtLoadUnloadKey from d570482bc7
.
2019-05-05 17:57:12 +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
Thomas Faber
5706f6e9f4
[NTOS:PNP] Reduce the size of the pool buffer in IopGetParentIdPrefix. CORE-15882
2019-05-05 10:39:29 +02:00
Thomas Faber
2f1fab41fa
[NTOS:CM] Reduce the size of some unnecessarily large stack buffers. CORE-15882
2019-05-05 10:39:26 +02:00
Thomas Faber
047a3bf79a
[NTOS:CM] Simplify CmpGetRegistryPath to avoid unnecessary stack buffers. CORE-15882
2019-05-05 10:39:22 +02:00
Thomas Faber
d570482bc7
[NTOS:CM] Avoid a fixed-length stack buffer in CmpCmdHiveOpen. CORE-15882
2019-05-05 10:39:18 +02:00
Thomas Faber
26ab9f8a03
[NTOS:CM] Avoid a fixed-length stack buffer in CmpAddToHiveFileList. CORE-15882
2019-05-05 10:39:14 +02:00
Thomas Faber
f3a280f52b
[NTOS] Use correct buffer size when calling MiResolveImageReferences. CORE-15882
2019-05-05 10:39:11 +02:00
Thomas Faber
ccb91bebbe
[NTOS:PNP] Avoid a fixed-length stack buffer in IopActionConfigureChildServices. CORE-15882
2019-05-05 10:39:07 +02:00
Thomas Faber
e1b20681f5
[NTOS:IO] Avoid a fixed-length buffer in IopGetDriverObject. CORE-15882
2019-05-05 10:39:01 +02:00
Thomas Faber
6fdff1f970
[NTOS:KDBG] Avoid use of MAX_PATH. CORE-15882
2019-05-05 10:38:10 +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