reactos.git
5 years ago[USETUP] Romanian translation update
Bișoc George [Sun, 9 Sep 2018 17:36:24 +0000 (19:36 +0200)]
[USETUP] Romanian translation update

5 years ago[BIDITEXT] Add more demo code. (#842) 842/head
Baruch Rutman [Fri, 7 Sep 2018 07:59:59 +0000 (10:59 +0300)]
[BIDITEXT] Add more demo code. (#842)

Add code that demonstrates the use of the lpOrder and lpCaretPos struct members of GCP_RESULTS w/ and  w/o GCP_REORDER flag.
Changed demo string literals to arrays containing character unicode values.

5 years ago[LPK] Make GetCharacterPlacement caret positions respect bidi. (#842)
Baruch Rutman [Fri, 7 Sep 2018 07:45:35 +0000 (10:45 +0300)]
[LPK] Make GetCharacterPlacement caret positions respect bidi. (#842)

- Try to make use of ScriptStringCPtoX when trying to fill the lpCaretPos struct member;
  if USP10 error happens fallback to the unreorder method.
- Remove now incorrect debug print.

5 years ago[WIN32SS][COMCTL32] Fix button text Y positioning (#766)
Katayama Hirofumi MZ [Sun, 9 Sep 2018 15:37:37 +0000 (00:37 +0900)]
[WIN32SS][COMCTL32] Fix button text Y positioning (#766)

Fixes the vertical position of button text.
CORE-14906

5 years ago[NETAPI32] Implement NetGroupAddUser and NetGroupDelUser
Eric Kohl [Sun, 9 Sep 2018 15:33:03 +0000 (17:33 +0200)]
[NETAPI32] Implement NetGroupAddUser and NetGroupDelUser

5 years ago[SETUP][REACTOS] Added Vietnamese translation. (#716)
Nguyễn Thanh Sơn [Sun, 9 Sep 2018 15:34:21 +0000 (22:34 +0700)]
[SETUP][REACTOS] Added Vietnamese translation. (#716)

5 years ago[USETUP] Update French translation.
Hermès Bélusca-Maïto [Sun, 9 Sep 2018 15:24:38 +0000 (17:24 +0200)]
[USETUP] Update French translation.

5 years ago[USETUP] Implement the shutdown timeout progress bar. (#833) 833/head
Bișoc George [Wed, 22 Aug 2018 09:10:18 +0000 (11:10 +0200)]
[USETUP] Implement the shutdown timeout progress bar. (#833)

- Add the MUI ID resource.
- Implement the shutdown timeout progress bar function and the TimeOut string handler.
- Add the resource string to other resource languages.

5 years ago[NTOSKRNL] Move data mapping implementation to an internel helper
Pierre Schweitzer [Sun, 9 Sep 2018 09:14:42 +0000 (11:14 +0200)]
[NTOSKRNL] Move data mapping implementation to an internel helper

5 years ago[NETAPI32] Implement NetGroupSetInfo
Eric Kohl [Sun, 9 Sep 2018 11:39:01 +0000 (13:39 +0200)]
[NETAPI32] Implement NetGroupSetInfo

5 years ago[NETAPI32] Implement NetGroupAdd and NetGroupDel
Eric Kohl [Sun, 9 Sep 2018 09:52:08 +0000 (11:52 +0200)]
[NETAPI32] Implement NetGroupAdd and NetGroupDel

5 years ago[USBHUB_NEW][USBPORT] Fix buffer size calculation for multi-sz values in IRP_MN_QUERY_ID.
Vadim Galyant [Sat, 8 Sep 2018 18:52:06 +0000 (20:52 +0200)]
[USBHUB_NEW][USBPORT] Fix buffer size calculation for multi-sz values in IRP_MN_QUERY_ID.

Also fix some copypasta'd DPRINTs.

5 years ago[NETAPI] Implement NetGroupGetInfo
Eric Kohl [Sun, 9 Sep 2018 07:40:11 +0000 (09:40 +0200)]
[NETAPI] Implement NetGroupGetInfo

5 years ago[PSDK] Add missing struct _GROUP_INFO_3 to lmaccess.h
Eric Kohl [Sat, 8 Sep 2018 20:21:15 +0000 (22:21 +0200)]
[PSDK] Add missing struct _GROUP_INFO_3 to lmaccess.h

5 years ago[NETAPI] Implement NetGroupEnum
Eric Kohl [Sat, 8 Sep 2018 18:55:13 +0000 (20:55 +0200)]
[NETAPI] Implement NetGroupEnum

5 years ago[SAMSRV] Fix SamrQueryInformationGroup
Eric Kohl [Sat, 8 Sep 2018 17:23:00 +0000 (19:23 +0200)]
[SAMSRV] Fix SamrQueryInformationGroup

- Use the registry value AdminComment for admin comments instead of Description. Fix SamrSetInformationGroup as well.
- Add some TRACEs.
- Do not fail if the Members value does not exist.

5 years ago[KMTESTS:CC] Fix two failing tests on WHS bot
Pierre Schweitzer [Sat, 8 Sep 2018 13:19:45 +0000 (15:19 +0200)]
[KMTESTS:CC] Fix two failing tests on WHS bot

5 years ago[NET] Implement the group command
Eric Kohl [Sat, 8 Sep 2018 12:14:13 +0000 (14:14 +0200)]
[NET] Implement the group command

5 years ago[SDK] Make gen_baseaddress.py compatible with Python 3.
Thomas Faber [Sat, 8 Sep 2018 09:10:51 +0000 (11:10 +0200)]
[SDK] Make gen_baseaddress.py compatible with Python 3.

5 years ago[USBUHCI_NEW] Add license headers.
Thomas Faber [Sat, 8 Sep 2018 08:13:43 +0000 (10:13 +0200)]
[USBUHCI_NEW] Add license headers.

5 years ago[USBOHCI_NEW] Add license headers.
Thomas Faber [Sat, 8 Sep 2018 08:12:39 +0000 (10:12 +0200)]
[USBOHCI_NEW] Add license headers.

5 years ago[DDK] Add NT6+ implementation for Rx*PrefixTableLock macros
Pierre Schweitzer [Sat, 8 Sep 2018 08:05:41 +0000 (10:05 +0200)]
[DDK] Add NT6+ implementation for Rx*PrefixTableLock macros

5 years ago[USBOHCI_NEW][USBUHCI_NEW] Avoid unnecessary/incorrect status defines.
Thomas Faber [Sun, 2 Sep 2018 17:39:46 +0000 (19:39 +0200)]
[USBOHCI_NEW][USBUHCI_NEW] Avoid unnecessary/incorrect status defines.

5 years ago[KMTESTS:FLTMGR] Hide FltMgrLoad and FltMgrReg
Serge Gautherie [Sat, 1 Sep 2018 15:50:23 +0000 (17:50 +0200)]
[KMTESTS:FLTMGR] Hide FltMgrLoad and FltMgrReg

And add "// TODO: WIP/untested/crashes."

ROSTESTS-299

5 years ago[CPL][DESK] Update monitor resource (#816)
Abdulganiev Rafael [Fri, 7 Sep 2018 07:43:36 +0000 (11:43 +0400)]
[CPL][DESK] Update monitor resource (#816)

[DESK.CPL] Update monitor resource

5 years ago[LIBTIRPC] Fix CVE-2018-14622 by backporting its fix
Pierre Schweitzer [Wed, 5 Sep 2018 19:44:47 +0000 (21:44 +0200)]
[LIBTIRPC] Fix CVE-2018-14622 by backporting its fix

CORE-15005

5 years ago[NTOSKRNL] Don't raise a status when parameters are invalid on file mapping
Pierre Schweitzer [Mon, 3 Sep 2018 06:12:58 +0000 (08:12 +0200)]
[NTOSKRNL] Don't raise a status when parameters are invalid on file mapping

5 years ago[NTOSKRNL] When allocating a new BCB, save it in a list
Pierre Schweitzer [Sun, 2 Sep 2018 12:37:47 +0000 (14:37 +0200)]
[NTOSKRNL] When allocating a new BCB, save it in a list

This list is stored in the shared map. Later, this will allow
reusing BCB when appropriate

5 years ago[SDK] Generate msvc baseaddresses from an RTC build
Mark Jansen [Wed, 5 Sep 2018 19:38:26 +0000 (21:38 +0200)]
[SDK] Generate msvc baseaddresses from an RTC build

5 years ago[CMLIB] Fix compiling as NT6+ (#840)
Serge Gautherie [Wed, 5 Sep 2018 18:18:14 +0000 (20:18 +0200)]
[CMLIB] Fix compiling as NT6+ (#840)

Addendum to r70582 (734bc291).
CORE-12596

5 years ago[MSV1_0] LsaApLogonUser: Update the logon time/count and bad password time/count
Eric Kohl [Tue, 4 Sep 2018 22:10:54 +0000 (00:10 +0200)]
[MSV1_0] LsaApLogonUser: Update the logon time/count and bad password time/count

5 years ago[MSV1_0] Use the account expiration time and check account expiration on logon
Eric Kohl [Tue, 4 Sep 2018 21:15:15 +0000 (23:15 +0200)]
[MSV1_0] Use the account expiration time and check account expiration on logon

5 years ago[IDL] Implement parts of SamrSetInformationUser.UserInternal2Information
Eric Kohl [Tue, 4 Sep 2018 20:42:07 +0000 (22:42 +0200)]
[IDL] Implement parts of SamrSetInformationUser.UserInternal2Information

5 years ago[IDL] Add some Flags SamrSetInformationUser.UserInternal2Information
Eric Kohl [Tue, 4 Sep 2018 20:41:04 +0000 (22:41 +0200)]
[IDL] Add some Flags SamrSetInformationUser.UserInternal2Information

5 years ago[FONTEXT] Add Italian translation (#831)
Bișoc George [Tue, 4 Sep 2018 20:02:44 +0000 (22:02 +0200)]
[FONTEXT] Add Italian translation (#831)

5 years ago[ACCESS] Fix some truncated strings in French resource (#838)
Bișoc George [Mon, 3 Sep 2018 12:14:57 +0000 (14:14 +0200)]
[ACCESS] Fix some truncated strings in French resource (#838)

5 years ago[SAMSRV] Implement SamrQueryInformationUser.UserInternal2Information
Eric Kohl [Sun, 2 Sep 2018 15:53:29 +0000 (17:53 +0200)]
[SAMSRV] Implement SamrQueryInformationUser.UserInternal2Information

5 years ago[MSGINA] Update russian translation (#834)
Stanislav Motylkov [Sun, 2 Sep 2018 13:59:33 +0000 (16:59 +0300)]
[MSGINA] Update russian translation (#834)

Addendum to 6f4d70b.

5 years ago[IDL] Add the undocumented struct _SAMPR_USER_INTERNAL2_INFORMATION to sam.idl
Eric Kohl [Sun, 2 Sep 2018 09:58:30 +0000 (11:58 +0200)]
[IDL] Add the  undocumented struct _SAMPR_USER_INTERNAL2_INFORMATION to sam.idl

5 years ago[KMTESTS:CC] Add tests showing our CcMapData/CcPinRead raise invalid status
Pierre Schweitzer [Sun, 2 Sep 2018 09:48:16 +0000 (11:48 +0200)]
[KMTESTS:CC] Add tests showing our CcMapData/CcPinRead raise invalid status

5 years ago[WIN32K:NTUSER] co_UserDestroyWindow(): Simplify the destruction of the owned windows.
Hermès Bélusca-Maïto [Sat, 1 Sep 2018 21:45:11 +0000 (23:45 +0200)]
[WIN32K:NTUSER] co_UserDestroyWindow(): Simplify the destruction of the owned windows.

5 years ago[WIN32K:NTUSER] Optimize IntWinListOwnedPopups() a little bit. Improve a trace.
Hermès Bélusca-Maïto [Sat, 1 Sep 2018 21:42:11 +0000 (23:42 +0200)]
[WIN32K:NTUSER] Optimize IntWinListOwnedPopups() a little bit. Improve a trace.

5 years ago[WIN32K:NTUSER] Code formatting only.
Hermès Bélusca-Maïto [Sat, 1 Sep 2018 21:39:38 +0000 (23:39 +0200)]
[WIN32K:NTUSER] Code formatting only.

5 years ago[KMTESTS:CC] Add tests for BCB extension
Pierre Schweitzer [Sat, 1 Sep 2018 19:52:39 +0000 (21:52 +0200)]
[KMTESTS:CC] Add tests for BCB extension

5 years ago[KMTESTS:CC] Add more tests crossing CcPinRead and CcMapData
Pierre Schweitzer [Sat, 1 Sep 2018 19:26:24 +0000 (21:26 +0200)]
[KMTESTS:CC] Add more tests crossing CcPinRead and CcMapData

5 years ago[MSGINA] Display the 'account expired' message when a user tries to log on using...
Eric Kohl [Sat, 1 Sep 2018 19:08:14 +0000 (21:08 +0200)]
[MSGINA] Display the 'account expired' message when a user tries to log on using an expired account.

5 years ago[USBOHCI_NEW] Avoid storing pointers as ULONG and physical addresses as pointers.
Thomas Faber [Sat, 1 Sep 2018 16:23:25 +0000 (18:23 +0200)]
[USBOHCI_NEW] Avoid storing pointers as ULONG and physical addresses as pointers.

5 years ago[USBHUB_NEW] Fix x64 warnings.
Thomas Faber [Sat, 1 Sep 2018 16:01:40 +0000 (18:01 +0200)]
[USBHUB_NEW] Fix x64 warnings.

5 years ago[USBUHCI_NEW] Bring-in the USB UHCI miniport driver created by Vadim Galyant. (#245)
Amine Khaldi [Sat, 1 Sep 2018 15:45:45 +0000 (16:45 +0100)]
[USBUHCI_NEW] Bring-in the USB UHCI miniport driver created by Vadim Galyant. (#245)

5 years ago[KERNEL32] fix spec file for -version=0x600+
Denis Malikov [Sat, 25 Aug 2018 15:26:18 +0000 (22:26 +0700)]
[KERNEL32] fix spec file for -version=0x600+

CORE-12596

5 years ago[GDI32_APITEST:GetTextFace] Replace tabs by spaces.
Hermès Bélusca-Maïto [Sat, 1 Sep 2018 15:18:03 +0000 (17:18 +0200)]
[GDI32_APITEST:GetTextFace] Replace tabs by spaces.

5 years ago[GDI32_APITEST] Add tests for GetTextFaceAliasW(), based on Katayama Hirofumi MZ...
Doug Lyons [Sat, 1 Sep 2018 15:13:50 +0000 (17:13 +0200)]
[GDI32_APITEST] Add tests for GetTextFaceAliasW(), based on Katayama Hirofumi MZ's tests from CORE-14926.

CORE-14995

5 years ago[KERNEL32] Shhhh!
Pierre Schweitzer [Sat, 1 Sep 2018 13:46:44 +0000 (15:46 +0200)]
[KERNEL32] Shhhh!

5 years ago[KMTESTS:CC] Add tests for PIN_EXCLUSIVE
Pierre Schweitzer [Sat, 1 Sep 2018 13:22:41 +0000 (15:22 +0200)]
[KMTESTS:CC] Add tests for PIN_EXCLUSIVE

5 years ago[KMTESTS:CC] Add a test for pinning without access
Pierre Schweitzer [Sat, 1 Sep 2018 10:40:24 +0000 (12:40 +0200)]
[KMTESTS:CC] Add a test for pinning without access

5 years ago[NTOSKRNL] Fail on pinning when there's no pin access set
Pierre Schweitzer [Sat, 1 Sep 2018 10:39:05 +0000 (12:39 +0200)]
[NTOSKRNL] Fail on pinning when there's no pin access set

Instead of assert, now, CcPinRead will just fail. This is
not consistent without Windows behavior, but still better
than asserting while testing!

5 years ago[KMTESTS:CC] Add tests for PIN_IF_BCB flag
Pierre Schweitzer [Sat, 1 Sep 2018 10:29:09 +0000 (12:29 +0200)]
[KMTESTS:CC] Add tests for PIN_IF_BCB flag

5 years ago[KMTESTS:CC] Duplicate tests for CcPinRead
Pierre Schweitzer [Sat, 1 Sep 2018 10:20:17 +0000 (12:20 +0200)]
[KMTESTS:CC] Duplicate tests for CcPinRead

To be extended.

5 years ago[KMTESTS:CC] Add missing FsRtlEnter/ExitFileSystem() calls
Pierre Schweitzer [Sat, 1 Sep 2018 10:18:51 +0000 (12:18 +0200)]
[KMTESTS:CC] Add missing FsRtlEnter/ExitFileSystem() calls

Spotted by Thomas

5 years ago[KMTESTS:CC] That wasn't meant to be committed
Pierre Schweitzer [Sat, 1 Sep 2018 08:10:09 +0000 (10:10 +0200)]
[KMTESTS:CC] That wasn't meant to be committed

5 years ago[COMCTL32_WINETEST] treeview.c: Skip test_right_click() 827/head
Serge Gautherie [Mon, 27 Aug 2018 17:12:56 +0000 (19:12 +0200)]
[COMCTL32_WINETEST] treeview.c: Skip test_right_click()

until CORE-14975 is fixed upstream and WINESYNC.

CORE-14975

5 years ago[KMTESTS:CC] Add a test to show we map our buffers wrong in CC
Pierre Schweitzer [Fri, 31 Aug 2018 21:29:59 +0000 (23:29 +0200)]
[KMTESTS:CC] Add a test to show we map our buffers wrong in CC

That is expected (cf. CORE-14259)

5 years ago[KMTESTS:CC] Remove dummy leftover
Pierre Schweitzer [Fri, 31 Aug 2018 21:08:25 +0000 (23:08 +0200)]
[KMTESTS:CC] Remove dummy leftover

5 years ago[KMTESTS:CC] Extended previous test to show an overlap is enough
Pierre Schweitzer [Fri, 31 Aug 2018 21:07:46 +0000 (23:07 +0200)]
[KMTESTS:CC] Extended previous test to show an overlap is enough

5 years ago[KMTESTS:CC] Add a test that shows that our CC implementation duplicates BCB
Pierre Schweitzer [Fri, 31 Aug 2018 21:01:06 +0000 (23:01 +0200)]
[KMTESTS:CC] Add a test that shows that our CC implementation duplicates BCB

It should instead reuse BCBs when mapping something already mapped.

5 years ago[NTOSKRNL] Fix a typo
Pierre Schweitzer [Fri, 31 Aug 2018 17:48:03 +0000 (19:48 +0200)]
[NTOSKRNL] Fix a typo

5 years ago[NTOSKRNL] Warn about unimplemented feature in CcMapData() (in all callers)
Pierre Schweitzer [Fri, 31 Aug 2018 17:43:04 +0000 (19:43 +0200)]
[NTOSKRNL] Warn about unimplemented feature in CcMapData() (in all callers)

Currently, our CcMapData() behavior (same goes for CcPinRead()) is broken
and is the total opposite of what Windows kernel does. By default, the later
will let you map a view in memory without even attempting to bring its
data in memory. On first access, there will be a fault and memory will
be read from the hardware and brought to memory. If you want to force read
on mapping/pinning, you have to set the MAP_NO_READ (or PIN_NO_READ) flag
where kernel will fault on your behalf (hence the need for MAP_WAIT/PIN_WAIT).

On ReactOS, by default, on mapping (and thus pinning), we will force a view
read so that data is in memory. The way our cache memory is managed at the
moment seems not to allow to fault on invalid access and if we don't force
read, the memory content will just be zeroed.
So trying to match Windows behavior, by default, now CcMapData() will enforce
the MAP_NO_READ flag and warn once about this behavior change.

5 years ago[KMTESTS] Re-enable kmtest_.exe installation (#389)
Serge Gautherie [Fri, 31 Aug 2018 06:46:48 +0000 (08:46 +0200)]
[KMTESTS] Re-enable kmtest_.exe installation (#389)

ExPools and other tests don't break Windows Server 2003 anymore.

Revert r73535, so KmTests run on "Test WHS" bot.

CORE-12657

5 years ago[MODULES] Order the cmake inclusions alphabetically as we're used to everywhere else.
Hermès Bélusca-Maïto [Thu, 30 Aug 2018 20:54:49 +0000 (22:54 +0200)]
[MODULES] Order the cmake inclusions alphabetically as we're used to everywhere else.

5 years ago[REACTOS] Introduce a "DEBUGFORMAT" environment variable that allows to select differ... 793/head
Hermès Bélusca-Maïto [Sun, 5 Nov 2017 20:15:08 +0000 (21:15 +0100)]
[REACTOS] Introduce a "DEBUGFORMAT" environment variable that allows to select different debug trace formats.
CORE-12671

- The default format is used when no format name is specified: this is
  the one we use so far in ReactOS:

    <debug_class>:(<file>:<line>) <message>

  with "debug_class" being "trace", "warn", "err".

- The "wine" format is the one used by Wine. It can be used when trying
  to diff-compare traces for a module with the corresponding one
  obtained from a Wine run. It can also be useful because the logging of
  Wine-synced code assumes that the function names are automatically
  added by the helper macros "FIXME()", "TRACE()", "WARN()" or "ERR()",
  and not manually inside the logging string given to these macros:
  for example:

    FIXME("(%params) message\n", params);

  displays:

    fixme:<module>:SomeFunc(params) message

- The "extended" (or "ext") format is very noisy and tries to output a
  lot of information; it is a hybrid of the previous two formats:

    <debug_class>:(<file>:<line>):<channel>:SomeFunc <message>

Support for displaying the current process ID is added in
addition to the already existing support for thread ID.

5 years ago[WIN32SS][FONT] Fix GetTextFace function and related (#829)
Katayama Hirofumi MZ [Thu, 30 Aug 2018 12:34:03 +0000 (21:34 +0900)]
[WIN32SS][FONT] Fix GetTextFace function and related (#829)

Google Chrome with -no-sandbox parameter in ReactOS wouldn't display the web page because first-chance exception raised.
CORE-14926

- Remove FullName, Style, and FaceName members from TEXTOBJ structure.
- Add TextFace member into TEXTOBJ structure.
- Add MatchFontName() and MatchFontNames() helper functions.
- Fix GetTextFace() and related.

5 years ago[FONT][SETUP] Add 'Tms Rmn' and 'Times' font substitutes (#830)
Katayama Hirofumi MZ [Thu, 30 Aug 2018 11:07:22 +0000 (20:07 +0900)]
[FONT][SETUP] Add 'Tms Rmn' and 'Times' font substitutes (#830)

Add "Tms Rmn" and "Times" font substitutes (same as "Times New Roman"). Windows has these substitutes, hence we also need those to remain compatible.

5 years ago[CMAKE] Update baseaddress files to match latest changes.
David Quintana [Thu, 30 Aug 2018 01:45:40 +0000 (03:45 +0200)]
[CMAKE] Update baseaddress files to match latest changes.

5 years ago[STORAHCI] Fix MSVC "uninitialized local variable" error (C4700) (#828)
Katayama Hirofumi MZ [Wed, 29 Aug 2018 22:50:06 +0000 (07:50 +0900)]
[STORAHCI] Fix MSVC "uninitialized local variable" error (C4700) (#828)

See also PR #821.

5 years ago[SDK] Duplicate English messages as Polish Messages (#826)
Katayama Hirofumi MZ [Wed, 29 Aug 2018 22:46:02 +0000 (07:46 +0900)]
[SDK] Duplicate English messages as Polish Messages (#826)

5 years ago[MC] Fix VS2017 build.
David Quintana [Wed, 29 Aug 2018 22:26:47 +0000 (00:26 +0200)]
[MC] Fix VS2017 build.

5 years ago[NET] Initialize a new users primary group ID in order to fix logon failures
Eric Kohl [Wed, 29 Aug 2018 20:03:53 +0000 (22:03 +0200)]
[NET] Initialize a new users primary group ID in order to fix logon failures

5 years ago[NET] Fix indentation
Eric Kohl [Sun, 26 Aug 2018 22:43:34 +0000 (00:43 +0200)]
[NET] Fix indentation

5 years ago[CDFS] Revert 9d0596a
Pierre Schweitzer [Wed, 29 Aug 2018 06:32:08 +0000 (08:32 +0200)]
[CDFS] Revert 9d0596a

The appropriate fix was the previous one, where the macro
for checking legal chars have been fixed.

Thanks to MS for their review :-).

CORE-14067

5 years ago[SDK] Fix the implementation of the FsRtlIsAnsiCharacter* macros.
Pierre Schweitzer [Wed, 29 Aug 2018 06:30:18 +0000 (08:30 +0200)]
[SDK] Fix the implementation of the FsRtlIsAnsiCharacter* macros.

These macros should be implemented using the FsRtlTestAnsiCharacter() macro
that performs extended tests, especially for buffer overruns.
This fixes FsRtlIsAnsiCharacterWild(), FsRtlIsAnsiCharacterLegalFat(),
FsRtlIsAnsiCharacterLegalHpfs(), FsRtlIsAnsiCharacterLegalNtfs().

CORE-14067

5 years ago[SHELL32] Fix typo in comment
Joachim Henze [Tue, 28 Aug 2018 12:24:49 +0000 (14:24 +0200)]
[SHELL32] Fix typo in comment

5 years ago[TCPSVCS] Remove hardcoded C drive letter (#800)
Katayama Hirofumi MZ [Tue, 28 Aug 2018 10:45:03 +0000 (19:45 +0900)]
[TCPSVCS] Remove hardcoded C drive letter (#800)

CORE-13228, CORE-13235

For USETUP, add a comment about why the code uses it when adding a boot-sector boot entry to NTLDR. CORE-13226

5 years ago[CDFS] Properly check for legal names in CdIsLegalName()
Pierre Schweitzer [Tue, 28 Aug 2018 05:48:44 +0000 (07:48 +0200)]
[CDFS] Properly check for legal names in CdIsLegalName()

Up to now, it was working by chance. Indeed, due to the invalid
ASCII check performed before calling FsRtlIsAnsiCharacterLegalHpfs(), the
macro is improperly called and overruns the FsRtlLegalAnsiCharacterArray
buffer. Fortunately, up to now, right after that buffer in kernel binary
there are strings which are more or less consistent with the flags that
are expected by the macro, causing a decent behavior of
FsRtlIsAnsiCharacterLegalHpfs() even for extended ASCII characters
(whereas FsRtlIsAnsiCharacterLegalHpfs() is only designed for ASCII
characters). But this is a totally out of control and wrong behavior.
A single change in the way the kernel was built could have caused the
CDFS driver not to work as previously.

I have made the choice to allow any extended ASCII character as done
for the unicode characters. This is a good compromise to avoid drastic
regressions for users having extended ASCII characters in their CD
file names.

This imports proposed upstream commit 1b6b625641dffb49951e60398e1a9c672318ea71
See pull request https://github.com/Microsoft/Windows-driver-samples/pull/278

CORE-14067

5 years ago[USETUP] Progress-bar: minor improvements.
Hermès Bélusca-Maïto [Mon, 27 Aug 2018 21:55:58 +0000 (23:55 +0200)]
[USETUP] Progress-bar: minor improvements.

- Simplify the usage of the PUPDATE_PROGRESS callback.

- Add the possibility of specifying an initial non-zero StepCount when
  creating the progress-bar (using the -Ex version), so that it can be
  initially drawn with the expected initial count.
  Of course ProgressSetStepCount() can continue to be used.

5 years ago[LDR] Load kernel32 in LdrpInitializeProcess. 805/head
Mark Jansen [Thu, 23 Aug 2018 22:15:02 +0000 (00:15 +0200)]
[LDR] Load kernel32 in LdrpInitializeProcess.
This allows kernel32 to register itself for manifest probing when loading dlls
CORE-9219

5 years ago[NTDLL_APITEST] Various small fixes
Mark Jansen [Thu, 23 Aug 2018 12:53:57 +0000 (14:53 +0200)]
[NTDLL_APITEST] Various small fixes
- Add a missing file
- Add convenience targets for MSVC_IDE
- Remove whitespace at the end of the lines

5 years ago[COMCTL32] Unregister some classes that were registered. 811/head
Mark Jansen [Fri, 24 Aug 2018 13:59:57 +0000 (15:59 +0200)]
[COMCTL32] Unregister some classes that were registered.
This should help fix some crashes.

5 years ago[MAGNIFY] Fix the magnification ratio bug for CORE-14946 (#823)
LuRenJia [Mon, 27 Aug 2018 12:36:28 +0000 (20:36 +0800)]
[MAGNIFY] Fix the magnification ratio bug for CORE-14946 (#823)

This bug was caused by leaving the magnify window unrefreshed when updating the "Magnification Level" ComboBox.
CORE-14946

5 years ago[SHELL32] Adjust the IDC_PICKICON_LIST control's height in the IDD_PICK_ICON dialog...
Katayama Hirofumi MZ [Mon, 27 Aug 2018 10:21:51 +0000 (19:21 +0900)]
[SHELL32] Adjust the IDC_PICKICON_LIST control's height in the IDD_PICK_ICON dialog resource. (#824)

CORE-14974

5 years ago[SHELL32] Check the result from PathUnExpandEnvStringsW 817/head
Mark Jansen [Sun, 26 Aug 2018 20:38:27 +0000 (22:38 +0200)]
[SHELL32] Check the result from PathUnExpandEnvStringsW

5 years ago[SHELL32] Remove some mostly dead code from CShellLink
Mark Jansen [Sun, 26 Aug 2018 20:37:49 +0000 (22:37 +0200)]
[SHELL32] Remove some mostly dead code from CShellLink

5 years ago[SDK][CRT] Fix _ismbblead undefined error on MSVC 818/head
Katayama Hirofumi MZ [Mon, 27 Aug 2018 01:12:55 +0000 (10:12 +0900)]
[SDK][CRT] Fix _ismbblead undefined error on MSVC

5 years ago[TIMEOUT] Fix a typo.
Hermès Bélusca-Maïto [Sun, 26 Aug 2018 22:25:48 +0000 (00:25 +0200)]
[TIMEOUT] Fix a typo.

5 years ago[USETUP] Implement a basic console 'input queue' and implement PeekConsoleInput(...
Hermès Bélusca-Maïto [Sun, 26 Aug 2018 22:22:07 +0000 (00:22 +0200)]
[USETUP] Implement a basic console 'input queue' and implement PeekConsoleInput() and CONSOLE_ConInKeyPeek() around it.

5 years ago[LSASRV] LsapLogonUser creates an impersonation token for a network logon
Eric Kohl [Sun, 26 Aug 2018 22:19:10 +0000 (00:19 +0200)]
[LSASRV] LsapLogonUser creates an impersonation token for a network logon

5 years ago[SAMSRV] Simplify the initialization of the account expiration time
Eric Kohl [Sun, 26 Aug 2018 22:12:44 +0000 (00:12 +0200)]
[SAMSRV] Simplify the initialization of the account expiration time

5 years ago[SAMLIB] Add stubs for SamTestPrivateFunctionsDomain and SamTestPrivateFunctionsUser
Eric Kohl [Sun, 26 Aug 2018 22:11:21 +0000 (00:11 +0200)]
[SAMLIB] Add stubs for SamTestPrivateFunctionsDomain and SamTestPrivateFunctionsUser

5 years ago[NTOSKRNL] Properly reset pinning state on pinning failure
Pierre Schweitzer [Sun, 26 Aug 2018 20:56:25 +0000 (22:56 +0200)]
[NTOSKRNL] Properly reset pinning state on pinning failure

5 years ago[NTOSKRNL] When acquiring BCB shared, starve exclusive waiters
Pierre Schweitzer [Sun, 26 Aug 2018 20:47:48 +0000 (22:47 +0200)]
[NTOSKRNL] When acquiring BCB shared, starve exclusive waiters

5 years ago[NTOSKRNL] Handle the PIN_WAIT flag in CcPinMappedData()
Pierre Schweitzer [Sun, 26 Aug 2018 20:04:46 +0000 (22:04 +0200)]
[NTOSKRNL] Handle the PIN_WAIT flag in CcPinMappedData()