Eric Kohl [Wed, 29 May 2019 11:27:49 +0000 (13:27 +0200)]
[NETLOGON] Add the netlogon service.
Katayama Hirofumi MZ [Wed, 29 May 2019 11:32:32 +0000 (20:32 +0900)]
[WIN32KNT_APITEST] Split win32knt_apitest to 3 modules (#1588)
Split win32knt_apitest to 3 modules (win32knt_apitest, win32knt_xpsp2_apitest and win32knt_2k3sp2_apitest) for usability. These 3 modules are different in linking (win32u.dll, win32u_xpsp2.dll and win32u_2k3sp2.dll). I think it's better to separate for clarity.
Eric Kohl [Wed, 29 May 2019 10:56:43 +0000 (12:56 +0200)]
[NETAPI32] Implement NetpAllocWStrFromStr(), NetpAllocWStrFromAnsiStr() (not public, but useful) and NetpAllocWStrFromWStr().
Katayama Hirofumi MZ [Wed, 29 May 2019 10:59:40 +0000 (19:59 +0900)]
[SYSSETUP] Set registry hostname in WriteComputerSettings (#1589)
Based on @Doug-Lyons's patch. CORE-16067
Eric Kohl [Tue, 28 May 2019 15:23:43 +0000 (17:23 +0200)]
[NET] Fix remaining issues with logon hours.
Eric Kohl [Tue, 28 May 2019 06:27:23 +0000 (08:27 +0200)]
[NET] Load the names of the days of week for the 'times' parser routine from the netmsg.dll.
Eric Kohl [Mon, 27 May 2019 15:00:56 +0000 (17:00 +0200)]
[NET] Fix the timezone issue in the logon hours parser and display code of the USER command.
Timo Kreuzer [Sun, 28 Apr 2019 15:22:34 +0000 (17:22 +0200)]
[TELNET] Add missing curly braces to for-statement
Fixes GCC 8 warning:
base/applications/network/telnet/src/tnmain.cpp:171:8: error: this 'for' clause does not guard... [-Werror=misleading-indentation]
for (j = cursor; j >= 0; j--)
^~~
base/applications/network/telnet/src/tnmain.cpp:174:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
for (k = --j; k >= 0; k--)
^~~
Timo Kreuzer [Sun, 28 Apr 2019 15:20:02 +0000 (17:20 +0200)]
[TELNET] Add missing curly braces to while-statement
Fixes GCC 8 warning:
base/applications/network/telnet/src/tmapldr.cpp:70:3: error: this 'while' clause does not guard... [-Werror=misleading-indentation]
while (buf[len])
^~~~~
base/applications/network/telnet/src/tmapldr.cpp:74:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while'
if (len && (buf[len-1] == ' ')) {
^~
Timo Kreuzer [Sun, 28 Apr 2019 15:05:33 +0000 (17:05 +0200)]
[TELNET] Add missing curly braces to if-statelent
Fixes GCC 8 warning:
base/applications/network/telnet/src/tnmain.cpp:171:8: error: this 'for' clause does not guard... [-Werror=misleading-indentation]
for (j = cursor; j >= 0; j--)
^~~
base/applications/network/telnet/src/tnmain.cpp:174:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
for (k = --j; k >= 0; k--)
^~~
Timo Kreuzer [Sun, 28 Apr 2019 14:22:34 +0000 (16:22 +0200)]
[TELNET] disable restrict warnings
Fixes GCC 8 warning:
base/applications/network/telnet/src/tnmain.cpp:190:13: error: 'char* strcpy(char*, const char*)' accessing 1 byte at offsets [0,
2147483647] and [0,
2147483647] may overlap 1 byte at offset 0 [-Werror=restrict]
strcpy(&buf[cursor],&buf[cursor+1]);
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Hervé Poussineau [Mon, 27 May 2019 10:17:16 +0000 (12:17 +0200)]
[LDR] Silence some debug logs when images overlap
Timo Kreuzer [Sun, 28 Apr 2019 18:30:18 +0000 (20:30 +0200)]
[BROWSEUI] Fix indentation
Fixes GCC 8 warning:
dll/win32/browseui/explorerband.cpp:1332:17: error: this 'if' clause does not guard... [-Werror=misleading-indentation]
if (!SUCCEEDED(hr) || !pParent.p)
^~
dll/win32/browseui/explorerband.cpp:1335:21: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
hr = pParent->SetNameOf(0, pidlChild, dispInfo->item.pszText, SHGDN_INFOLDER, &pidlNew);
^~
Timo Kreuzer [Sun, 28 Apr 2019 18:56:40 +0000 (20:56 +0200)]
[GLU32] Fix indentation
Fixes GCC 8 warnings:
dll/opengl/glu32/src/libnurbs/internals/subdivider.cc:852:2: error: this 'if' clause does not guard... [-Werror=misleading-indentation]
if( jarc->pwlArc ) jarc->pwlArc->deleteMe( pwlarcpool ); jarc->pwlArc = 0;
^~
dll/opengl/glu32/src/libnurbs/internals/subdivider.cc:852:59: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
if( jarc->pwlArc ) jarc->pwlArc->deleteMe( pwlarcpool ); jarc->pwlArc = 0;
^~~~
Timo Kreuzer [Sun, 28 Apr 2019 18:27:21 +0000 (20:27 +0200)]
[MSHTML] Convert tabs to spaces
Fixes GCC 8 warning:
dll/win32/mshtml/script.c:844:4: error: this 'if' clause does not guard... [-Werror=misleading-indentation]
if(!new_buf)
^~
dll/win32/mshtml/script.c:846:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
This->size <<= 1;
^~~~
Timo Kreuzer [Sun, 28 Apr 2019 16:18:23 +0000 (18:18 +0200)]
[REISERFS] Convert a tab to spaces
Fixes GCC 8 warning:
drivers/filesystems/reiserfs/src/memory.c:874:5: error: this 'if' clause does not guard... [-Werror=misleading-indentation]
if (Mcb->RfsdFcb)
^~
drivers/filesystems/reiserfs/src/memory.c:877:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
if (RfsdLoadInode(Vcb, &(Mcb->Key), &RfsdIno)) {
^~
Timo Kreuzer [Sun, 28 Apr 2019 17:29:45 +0000 (19:29 +0200)]
[TFTPD] Disable format-overflow warnings
Timo Kreuzer [Sun, 28 Apr 2019 16:46:40 +0000 (18:46 +0200)]
[MINIZIP] Add curly braces to if-statement and fix indentation
Fixes GCC 8 warning:
sdk/lib/3rdparty/zlib/contrib/minizip/zip.c:521:5: error: this 'for' clause does not guard... [-Werror=misleading-indentation]
for (i=(int)uReadSize-3; (i--)>0;)
^~~
sdk/lib/3rdparty/zlib/contrib/minizip/zip.c:529:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
if (uPosFound!=0)
^~
Timo Kreuzer [Sun, 28 Apr 2019 19:35:13 +0000 (21:35 +0200)]
[LIBXSLT] Disable misleading-indentation warnings
Fixes GCC 8 warning:
dll/3rdparty/libxslt/security.c:358:5: error: this 'else' clause does not guard... [-Werror=misleading-indentation]
else
^~~~
dll/3rdparty/libxslt/security.c:365:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else'
if (ret <= 0) {
^~
Timo Kreuzer [Sun, 28 Apr 2019 16:01:11 +0000 (18:01 +0200)]
[RSAENH] Use StringCbPrintfA instead of sprintf
Fixes GCC 8 warning:
dll/win32/rsaenh/rsaenh.c:161:23: error: '%s' directive writing up to 259 bytes into a region of size 235 [-Werror=format-overflow=]
#define RSAENH_REGKEY "Software\\Wine\\Crypto\\RSA\\%s"
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
dll/win32/rsaenh/rsaenh.c:161:23: note: in definition of macro 'RSAENH_REGKEY'
#define RSAENH_REGKEY "Software\\Wine\\Crypto\\RSA\\%s"
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
dll/win32/rsaenh/rsaenh.c:1107:5: note: 'sprintf' output between 26 and 285 bytes into a destination of size 260
sprintf(szRSABase, RSAENH_REGKEY, pKeyContainer->szName);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Timo Kreuzer [Sun, 28 Apr 2019 19:03:35 +0000 (21:03 +0200)]
[USETUP] Use RtlStringCbPrintfA instead of sprintf
Fixes GCC 8 warning:
base/setup/usetup/usetup.c:3407:78: error: '%S' directive writing up to 521 bytes into a region of size 200 [-Werror=format-overflow=]
"Setup is currently unable to check a partition formatted in %S.\n"
^~
base/setup/usetup/usetup.c:3406:9: note: 'sprintf' output between 128 and 649 bytes into a destination of size 260
sprintf(Buffer,
^~~~~~~~~~~~~~~
"Setup is currently unable to check a partition formatted in %S.\n"
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
"\n"
~~~~
" \x07 Press ENTER to continue Setup.\n"
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
" \x07 Press F3 to quit Setup.",
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
PartEntry->FileSystem);
~~~~~~~~~~~~~~~~~~~~~~
Timo Kreuzer [Sat, 27 Apr 2019 21:31:03 +0000 (23:31 +0200)]
[MINGW32] Add some definitions to fix building with GLIBCXX
Timo Kreuzer [Sun, 28 Apr 2019 09:28:24 +0000 (11:28 +0200)]
[CRT] Add missing posix error codes
These are required by latest mingw-w64 stl and we are mixing this with our crt headers.
Define _CRT_NO_POSIX_ERROR_CODES in all modules that define their own constants.
Hervé Poussineau [Mon, 27 May 2019 10:54:01 +0000 (12:54 +0200)]
[CMAKE] Disable unused-const-variable warning
This prevents some errors like this one:
In file included from ../dll/win32/wldap32/ber.c:27:0:
../sdk/include/reactos/wine/debug.h:378:48: error: '__wine_dbch___default' defined but not used [-Werror=unused-const-variable=]
static struct __wine_debug_channel * const __wine_dbch___default = &__wine_dbch_##ch
^
../dll/win32/wldap32/ber.c:29:1: note: in expansion of macro 'WINE_DEFAULT_DEBUG_CHANNEL'
WINE_DEFAULT_DEBUG_CHANNEL(wldap32);
^~~~~~~~~~~~~~~~~~~~~~~~~~
Hervé Poussineau [Mon, 27 May 2019 10:20:47 +0000 (12:20 +0200)]
[CMAKE] Disable --compress-debug-sections on GCC >= 7.0
This leads to 'bad reloc address in section .zdebug_info'
Katayama Hirofumi MZ [Mon, 27 May 2019 09:35:43 +0000 (18:35 +0900)]
[WIN32SS][NTGDI] Don't use FLOAT in ftGdiGetGlyphOutline (#1576)
Don't use FLOAT variable in ftGdiGetGlyphOutline function. CORE-15838
Katayama Hirofumi MZ [Mon, 27 May 2019 07:52:45 +0000 (16:52 +0900)]
[WIN32SS][NTGDI] Avoid allocation of zero size in NtGdiGetGlyphIndicesW (#1577)
In NtGdiGetGlyphIndicesW function, allocation of zero size had caused fatal failures.
Avoid allocation of zero size in ExAllocatePoolWithTag calls. Optimize for cwc == 0. CORE-12825
Eric Kohl [Mon, 27 May 2019 07:27:03 +0000 (09:27 +0200)]
[NET] Implement a parser for the '/times' option of the 'user' command.
Work in progress:
- Does not obey to the users time zone.
- Accepts english abbreviations of the days of week only.
Katayama Hirofumi MZ [Mon, 27 May 2019 07:18:38 +0000 (16:18 +0900)]
[KERNEL32] Fix SetComputerNameExW (#1583)
Based on @Doug-Lyons's patch. CORE-16058
Katayama Hirofumi MZ [Mon, 27 May 2019 02:24:16 +0000 (11:24 +0900)]
[KERNEL32_APITEST] Check also 'NV Hostname' in SetComputerNameExW testcase (#1581)
Also test NV Hostname registry value in the testcase of kernel32!SetComputerNameW. ROSTESTS-322
Katayama Hirofumi MZ [Mon, 27 May 2019 02:19:44 +0000 (11:19 +0900)]
[GDI32_APITEST] Improve GetGlyphIndices testcase (#1582)
Strengthen the testcase for gdi32!GetGlyphIndicesW. CORE-12825
Jose Carlos Jesus [Mon, 20 May 2019 18:15:10 +0000 (19:15 +0100)]
[EXPLORER] Update Portuguese Translation
Jose Carlos Jesus [Fri, 17 May 2019 17:32:10 +0000 (18:32 +0100)]
[TRANSLATIONS] Update/Add Portuguese translations.
Translations for: reactos/setup, usetup, syssetup, netshell, shell32.
Katayama Hirofumi MZ [Sun, 26 May 2019 17:34:32 +0000 (02:34 +0900)]
[KERNEL32_APITEST] Fix build
Serge Gautherie [Sun, 26 May 2019 17:33:03 +0000 (19:33 +0200)]
[KERNEL32_APITEST] Improve SetComputerNameExW test a bit (#1580)
Addendum to
8aeb6a9. ROSTESTS-227
Katayama Hirofumi MZ [Sun, 26 May 2019 07:12:35 +0000 (16:12 +0900)]
[WIN32SS][NTGDI] Improve Text Transformation (#1573)
Reduce gdi32_apitest!TextTransform failures. Optimize for speed. Add Width and Escapement parameters to FONT_CACHE_ENTRY structure.
CORE-15554
Hermès Bélusca-Maïto [Sat, 25 May 2019 22:00:39 +0000 (00:00 +0200)]
[CONSRV] Minor code cleanup.
Katayama Hirofumi MZ [Sat, 25 May 2019 12:15:24 +0000 (21:15 +0900)]
[KERNEL32_APITEST] Add SetComputerNameExW testcase (#1578)
Add testcase of kernel32!SetComputerNameExW function. ROSTESTS-227
Katayama Hirofumi MZ [Thu, 23 May 2019 23:24:21 +0000 (08:24 +0900)]
[WIN32SS][NTGDI] Don't use FLOAT for orientation (#1574)
Addendum to
0137096. Use 16.16 fixed-point values instead of FLOAT. CORE-15838
Oleg Dubinskiy [Thu, 23 May 2019 18:47:21 +0000 (21:47 +0300)]
[SETUP] Fix controls position in 1st stage GUI setup for Russian translation
Katayama Hirofumi MZ [Thu, 23 May 2019 10:40:54 +0000 (19:40 +0900)]
[WIN32SS][NTGDI] Don't use FLOAT in IntEscapeMatrix (#1572)
Appendum to
1a40284. Use a 16.16 fixed point value instead of FLOAT. CORE-15838
Hervé Poussineau [Thu, 23 May 2019 08:59:53 +0000 (10:59 +0200)]
[NTOS:KDBG] Use CONTEXT instead of KTRAP_FRAME
Change KdbpTrapFrameToKdbTrapFrame to prefer CONTEXT (if available) over
KTRAP_FRAME.
Hervé Poussineau [Mon, 20 May 2019 10:17:22 +0000 (12:17 +0200)]
[NTOS:KD] Remove some _WINDK_ usages
- Always include kd64.h
- Change KdpPrompt() prototype to be compatible between KDBG and _WINDK_
- Rename KdComponentTable to KdpComponentTable to prevent a conflict
- Add some functions stubs and global variables
Hervé Poussineau [Mon, 20 May 2019 11:20:31 +0000 (13:20 +0200)]
[NTOS:KD] Remove dead code
Hervé Poussineau [Mon, 20 May 2019 11:35:08 +0000 (13:35 +0200)]
[NTOS:KD] Remove CTRL+C pending support left over, likely broken by
5a6adb4f13abeafcc842e880384a16b05b797ffb
Hervé Poussineau [Fri, 17 May 2019 12:18:52 +0000 (14:18 +0200)]
[NTOS:KD] Remove /BREAK support left over, likely broken by
819a0ed90a7c1a5dedff08aa3b3c5501dc58c632
Katayama Hirofumi MZ [Wed, 22 May 2019 23:32:41 +0000 (08:32 +0900)]
[WIN32SS][NTUSER] Fix msvc-x64 build
Joachim Henze [Wed, 22 May 2019 21:14:42 +0000 (23:14 +0200)]
[FREETYPE] Fix regression CORE-16041 Font/Text Rotation Angles Too Small
Thanks to the patches author Doug Lyons
and the reviewers hbelusca and Katayama Hirofumi MZ.
The regression was introduced by
0.4.13-dev-24-g
61475b9fede67b4eb2236c4ff9a495052c66cda9
jimtabor [Tue, 21 May 2019 21:24:52 +0000 (16:24 -0500)]
[NtUser] Fix setting screen size.
Back set change size to the server information metrics.
Fixes CORE-15477. Still more work is required.
Patch based on reactosfanboy original patch.
Pierre Schweitzer [Tue, 21 May 2019 17:27:32 +0000 (19:27 +0200)]
[NTOSKRNL] Use the security descriptor for all the symlinks
Pierre Schweitzer [Tue, 21 May 2019 06:50:55 +0000 (08:50 +0200)]
[NTOSKRNL] Simplify ObpCreateGlobalDosDevicesSD by using a SD on the stack
Rename it to ObpGetDosDevicesProtection to reflect the two previous changes:
its purpose is to return a DACL matching protection mode
Pierre Schweitzer [Tue, 21 May 2019 06:37:36 +0000 (08:37 +0200)]
[NTOSKRNL] Use relaxed ACLs in ObpCreateGlobalDosDevicesSD when protection mode is not set
Pierre Schweitzer [Tue, 21 May 2019 06:34:16 +0000 (08:34 +0200)]
[NTOSKRNL] Save ProtectionMode value on boot
Eric Kohl [Mon, 20 May 2019 20:35:11 +0000 (22:35 +0200)]
[NET] Start parsing the /times option of the USER command.
Only '/times:' and '/times:all' are accepted yet.
Victor Perevertkin [Sun, 19 May 2019 22:28:33 +0000 (01:28 +0300)]
[HIVESYS] Add missing UpperFilters for mouse and keyboard classes
Hermès Bélusca-Maïto [Sun, 19 May 2019 20:55:14 +0000 (22:55 +0200)]
[CONSOLE][CONCFG][CONSRV] Provide support for specified additional TrueType fonts + bugfixes.
CORE-12451 CORE-13182 CORE-13196
- CONSOLE: Initialize the additional TrueType fonts cache.
* Fix the font preview when a TrueType font has been selected.
* Refresh the available fonts and the font preview when the selected
code page is changed (Work In Progress), or when the OS pool of
font resources has changed (WM_FONTCHANGE message).
- CONCFG: Implement support for the additional TrueType fonts cache:
the contents of the cache is enumerated under the registry key
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Console\TrueTypeFont
* Add helper functions and macros.
* In CreateConsoleFontEx(), set the mandatory font pitch&family flags
and remove those that we do not support.
* In IsValidConsoleFont2(), update the validity checks and the
documentation links.
- CONSRV: Load/refresh the additional TrueType fonts cache when needed.
Jose Carlos Jesus [Sat, 11 May 2019 20:23:06 +0000 (21:23 +0100)]
[TRANSLATIONS] Update/Add Portuguese translations. (#1564)
Translations for: deskadp, deskmon, reactos/setup, usetup, syssetup.
Co-Authored-By: Bișoc George <fraizeraust99@gmail.com>
Eric Kohl [Sun, 19 May 2019 14:26:22 +0000 (16:26 +0200)]
[MMSYS] Reset the speaker volume to its initial value when the user clicks the "Cancel" button
CORE-13815
Katayama Hirofumi MZ [Sun, 19 May 2019 10:11:12 +0000 (19:11 +0900)]
[GDI32_APITEST] Strengthen TextTransform more (#1568)
Appendant to #1567. Add more tests for gdi32_apitest!TextTransform. CORE-15554
Katayama Hirofumi MZ [Sun, 19 May 2019 06:08:38 +0000 (15:08 +0900)]
[GDI32_APITEST] Fix MSVC build
Katayama Hirofumi MZ [Sun, 19 May 2019 05:13:56 +0000 (14:13 +0900)]
[GDI32_APITEST] Strengthen TextTransform testcase (#1567)
CORE-15554
Eric Kohl [Sat, 18 May 2019 19:21:39 +0000 (21:21 +0200)]
[NET] Display the 'no logon hours' case in the USER command.
Eric Kohl [Sat, 18 May 2019 12:46:04 +0000 (14:46 +0200)]
[NET] Implement proper output of logon hour ranges in the USER command.
Pierre Schweitzer [Sat, 18 May 2019 11:37:35 +0000 (13:37 +0200)]
[BASESRV] Handle failures instead of asserting
Eric Kohl [Sat, 18 May 2019 09:26:02 +0000 (11:26 +0200)]
[NET] Print raw logon hour ranges in the USER command.
Pierre Schweitzer [Sat, 18 May 2019 09:05:30 +0000 (11:05 +0200)]
[BASESRV] Take ObjectSecurityMode and ProtectionMode into account when creating DACLs
Pierre Schweitzer [Sat, 18 May 2019 08:36:29 +0000 (10:36 +0200)]
[NTOSKRNL] Implement NtQuerySystemInformation(SystemObjectSecurityMode)
Pierre Schweitzer [Sat, 18 May 2019 08:28:32 +0000 (10:28 +0200)]
[NTOSKRNL] Save ObjectSecurityMode value on boot
Mark Jansen [Tue, 30 Apr 2019 17:03:17 +0000 (19:03 +0200)]
[NTOS/MM] Recognize AMD64 image in PeFmtCreateSection failure case
Pierre Schweitzer [Wed, 15 May 2019 06:32:55 +0000 (08:32 +0200)]
[BASESRV] Strengthen default permissions for DOS devices
This is linked to previous work done on DOS devices creation
in basesrv. If this DWORD is not set (or 0), DOS devices will
be created with an ACL that make the symlink readable by any
and modifiable by any.
With protection mode set, the symlink will be still readable by
any but not modifiable by anyone but the owner.
This should also affect some objects managed by session manager.
By default, on W2K3, that protection mode is set.
Bișoc George [Sun, 12 May 2019 14:18:28 +0000 (16:18 +0200)]
[MAGNIFY] Initialize the common controls as the program has a manifest
Hermès Bélusca-Maïto [Sat, 11 May 2019 23:05:53 +0000 (01:05 +0200)]
[FIND] Improvements / bug-fixes. (#1553)
- Only include the strictly necessary headers.
- Get rid of the dependency on shell and user DLLs.
- fgetws() gets the string buffer size in number of characters.
- We can use the CRT functions for lengths of the arguments etc.
- The cFileName member of the WIN32_FIND_DATAW structure does not
contain the full PATH to the enumerated file, but only its name.
In order to use _wfopen(), build a full file path out of the
directory part of the file specification and the full file name.
- Simplify a ConPrintf() call to make it "atomic".
- Fix the "confusion" lLineCount vs. lLineNumber vocable in the code.
- Do not emit an extra newline after having displayed the results for
a given file.
- Uppercase the switches for performing the comparisons.
- Send the errors to the StdErr stream.
- Remove trailing whitespace.
Paweł Cholewa [Sat, 4 May 2019 22:39:14 +0000 (00:39 +0200)]
[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.
Hervé Poussineau [Tue, 14 May 2019 12:18:21 +0000 (14:18 +0200)]
[HIDCLASS] Implement IRP_MJ_WRITE
jimtabor [Mon, 13 May 2019 16:31:58 +0000 (11:31 -0500)]
[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.
Pierre Schweitzer [Mon, 13 May 2019 06:33:00 +0000 (08:33 +0200)]
[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
Eric Kohl [Sun, 12 May 2019 21:52:08 +0000 (23:52 +0200)]
[POWERCFG] Show the hibernate page only if the S4 power state is available
Eric Kohl [Sun, 12 May 2019 21:48:36 +0000 (23:48 +0200)]
[POWERCFG] Add a separate power schemes dialog for ac-only systems
The layout issues will be fixed by a future patch.
Jose Carlos Jesus [Thu, 25 Apr 2019 18:31:58 +0000 (19:31 +0100)]
[EXPLORER] Add Portuguese (Portugal) pt-PT.rc translation. CORE-15967 (#1558)
jimtabor [Sat, 11 May 2019 16:22:06 +0000 (11:22 -0500)]
[Gdi32] Batch Type Select Mode for Testing
Do not allow setting hdc if no batch type is found.
See CORE-15988.
Pierre Schweitzer [Sat, 11 May 2019 09:53:13 +0000 (11:53 +0200)]
[BTRFS] Upgrade to 1.2.1
CORE-16004
Pierre Schweitzer [Sat, 11 May 2019 09:24:42 +0000 (11:24 +0200)]
[UBTRFS] Upgrade to 1.2.1
CORE-16004
Pierre Schweitzer [Sat, 11 May 2019 09:20:02 +0000 (11:20 +0200)]
[BTRFS] Upgrade to 1.2.1
CORE-16004
Hervé Poussineau [Fri, 10 May 2019 09:28:28 +0000 (11:28 +0200)]
[HIDPARSER] Implement HidP_GetValueCaps
Hervé Poussineau [Fri, 10 May 2019 06:39:10 +0000 (08:39 +0200)]
[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.
Eric Kohl [Thu, 9 May 2019 21:56:37 +0000 (23:56 +0200)]
[POWERCFG] Fix-up the lid, power button and sleep button settings according to the power capabilities.
jimtabor [Thu, 9 May 2019 17:35:21 +0000 (12:35 -0500)]
[Win32SS] Plug in Last Batch
Plugging in last batch after 12 years.
jimtabor [Thu, 9 May 2019 17:33:21 +0000 (12:33 -0500)]
[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.
Pierre Schweitzer [Thu, 9 May 2019 06:56:29 +0000 (08:56 +0200)]
[BASESRV] Misc fixes: use BaseSrvHeap and silent a DPRINT
Eric Kohl [Wed, 8 May 2019 20:56:55 +0000 (22:56 +0200)]
[POWERCFG] Do not re-initialize all paged directly when the hibernate file setting changes. Re-initialize the pages on PSN_SETACTIVE instead.
Pierre Schweitzer [Wed, 8 May 2019 18:39:57 +0000 (20:39 +0200)]
[BASESRV] Make Buffer MAX_PATH big again
Pierre Schweitzer [Wed, 8 May 2019 18:35:31 +0000 (20:35 +0200)]
[BASESVR] Take SessionId into account while creating BNO directory
Pierre Schweitzer [Wed, 8 May 2019 18:06:49 +0000 (20:06 +0200)]
[BASESRV] Fix the BNO string buffer usage
This avoids reinitializing it before use.
jimtabor [Wed, 8 May 2019 17:31:17 +0000 (12:31 -0500)]
[Win32nt|ApiTests] Add ExtSelectClipRgn test
For CORE-13817 and CORE-15906
Pierre Schweitzer [Wed, 8 May 2019 16:29:52 +0000 (18:29 +0200)]
[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.
Pierre Schweitzer [Wed, 8 May 2019 16:13:30 +0000 (18:13 +0200)]
[KERNEL32] Drop unused line breaks
Pierre Schweitzer [Tue, 7 May 2019 20:48:41 +0000 (22:48 +0200)]
[BASESRV] Enable the ProtectionMode query code
And make it global
Pierre Schweitzer [Tue, 7 May 2019 20:41:30 +0000 (22:41 +0200)]
[BASESRV] Make SessionId global
Thomas Faber [Tue, 7 May 2019 11:51:06 +0000 (13:51 +0200)]
[NTOS:CM] Do not call ZwQueryObject with a zero-size buffer. CORE-15882
Actually fixes ntdll_apitest:NtLoadUnloadKey.
Serge Gautherie [Tue, 7 May 2019 06:39:52 +0000 (08:39 +0200)]
[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.