Commit graph

72985 commits

Author SHA1 Message Date
Baruch Rutman 87c529a537
[LPK] Small fix and a related comment. (#890)
[LPK][USER32] Fix reading layout checks.

- Both functions don't care about DT_RTLREADING flag.
- Added a different method to check reading order.

[USER32] Remove gcc-build breaker semicolon.
2018-10-08 16:17:42 +02:00
Baruch Rutman 17d4df8102
[USER32] Implement UserLpkPSMTextOut(). (#890)
This function is a condensed version of LpkPSMTextOut() (from lpk.dll),
but not bug-for-bug equivalent.
The main difference is that the underscore is drawn without taking into
account any kind of script processing.
2018-10-08 16:16:52 +02:00
Baruch Rutman a494d0583f
[LPK] Implement LpkPSMTextOut(). (#890)
- The function is almost fully implemented, but some return values change wildly.
  The results are mostly compatible to the Windows results.

- Remove #ifdef (this is primary ReactOS code).
2018-10-08 16:16:40 +02:00
Stanislav Motylkov b3179a0771 [APPWIZ] Update russian translation (#917) 2018-10-08 14:53:11 +02:00
Katayama Hirofumi MZ 951335cd15 [FONT][WIN32SS] Use GOT_PENALTY macro to specify the penalty (#910)
Define and use GOT_PENALTY macro to specify the font penalty info.
CORE-5519
2018-10-08 14:38:38 +02:00
Bișoc George cb499cd1fd [APPWIZ] Display a message box in case of failure (#913)
When the downloading process of Gecko fails, display a warning message box.
2018-10-08 14:36:40 +02:00
Stanislav Motylkov ab9baa2d09 [SYSDM] Fix IDC_ROSVERSION in Romanian translation 2018-10-08 14:34:11 +02:00
Stanislav Motylkov 3779c2e770 [SYSDM] Add system uptime information 2018-10-08 14:34:11 +02:00
Stanislav Motylkov 80d26b1646 [SYSDM] Make MHz and GHz strings translatable 2018-10-08 14:34:11 +02:00
Hermès Bélusca-Maïto 2cbac3d049
[SHELL32] Finally fix the icon location path (un)expansion for shell links, and explain why I originally used SHExpandEnvironmentStringsW().
CORE-14009 CORE-14982
2018-10-08 00:50:38 +02:00
Eric Kohl 1e20a3e5b5 [SHELL32] Fix a potential buffer overrun.
Patch by Kudratov Olimjon.

CORE-8545
2018-10-07 22:56:16 +02:00
Eric Kohl bb7292b287 [CRT] Fix two obvious typos in _mbbtype().
Patch by Kudratov Olimjon.

CORE-8545
2018-10-07 22:56:14 +02:00
Luo Yufan b70ef2ee56 [TRANSLATION] Update Simplified Chinese translation. (#912) 2018-10-07 20:44:00 +02:00
Hermès Bélusca-Maïto 40737bdddb
[USER32] Fix the ICO_ExtractIconExW() helper with respect to what is found with the user32_apitest:PrivateExtractIcons test.
CORE-15150
2018-10-07 20:32:42 +02:00
Hermès Bélusca-Maïto 57a9fca04b
[USER32_APITEST] Add a test for PrivateExtractIcons(A/W) that shows that this API can accept unexpanded file paths.
CORE-15150
2018-10-07 20:32:26 +02:00
Hermès Bélusca-Maïto cd473963f4
[SHELL32_APITEST] Fix the code with respect to what the comments say. No change in test results happen. 2018-10-07 20:32:22 +02:00
Stanislav Motylkov 732a6b0801 [NETCFGX] Update russian translation 2018-10-07 18:28:43 +02:00
Stanislav Motylkov 0934d4f171 [MSPORTS] Update russian translation 2018-10-07 18:28:43 +02:00
Stanislav Motylkov 10b7b94f45 [DEVMGR] Update russian translation 2018-10-07 18:28:43 +02:00
Eric Kohl 45cd6d5e4e [NETCFGX] NetPropPageProvider: Store the parameters in the registry 2018-10-06 23:57:17 +02:00
Eric Kohl 7ad65a3773 [NETCFGX] NetPropPageProvider: Improve the handling of optional parameters
- Add a pointer to the current parameter.
- Change the 'present' and 'not present' radio buttons to auto radio buttons.
- Display present and non-present optional parameters properly.
2018-10-06 14:33:48 +02:00
Pierre Schweitzer 0d90b4dd5f
[KMTESTS:CC] A pin BCB has a node type code 2018-10-06 12:09:07 +02:00
Eric Kohl c603c54ab0 [MSPORTS] When the LPT port number gets changed, update the PortName and FriendlyName values in the registry. 2018-10-06 11:12:16 +02:00
Pierre Schweitzer 52ccfcf6fe
[KMTESTS:CC] Fix a typo 2018-10-05 21:26:16 +02:00
Pierre Schweitzer bd39459f89
[NTOSKRNL] Implement support for PIN_IF_BCB flag 2018-10-05 21:26:16 +02:00
Pierre Schweitzer 7fd2751c87
[NTOSKRNL] When pinning data, try to find an already pinned BCB
If found, attempt to lock it and return it.

This fixes a lot of CcPinRead tests (and seems to speed up a bit ReactOS)
2018-10-05 21:26:16 +02:00
Pierre Schweitzer 9fc75c1132
[NTOSKRNL] When mapping data, try to find if there's already a BCB
If so, return such BCB instead of creating a new one. This will
allow (at some point) to be more consistent in case of concurrent
mapping.

This fixes a few CcMapData tests.
2018-10-05 21:26:16 +02:00
Pierre Schweitzer f284947622
[NTOSKRNL] Move the PinCount out of the VACB to the BCB
Given current ReactOS implementation, a VACB can be pinned
several times, with different BCB. In next commits, a single
BCB will be able to be pinned several times. That would
lead to severe inconsistencies in counting and thus corruption.
2018-10-05 21:26:16 +02:00
Eric Kohl f9739601b3 [DEVMGR] Hackfix CORE-5643 2018-10-05 15:09:27 +02:00
Eric Kohl 9159190039 [SERVICES] Ignore the case when we compare account names 2018-10-05 12:04:21 +02:00
Pierre Schweitzer 0b713d4fa0
[NTOSKRNL] On open, verify and validate the hint device object if any 2018-10-05 10:49:59 +02:00
Pierre Schweitzer 779d87b483
[NTOSKRNL] Implement IopCheckTopDeviceHint() 2018-10-05 10:49:59 +02:00
Pierre Schweitzer 670a7ac718
[NTOSKRNL] In IoGetRelatedDeviceObject(), validate hint is on the stack before returning it 2018-10-05 10:49:59 +02:00
Pierre Schweitzer 161b6728ef
[NTOSKRNL] Implement IopVerifyDeviceObjectOnStack() 2018-10-05 10:49:59 +02:00
Eric Kohl 1820aa8fe6 [SERVICES] Revert f6d81f22 because it breaks the advapi32 LockServiceDatabase test. 2018-10-05 09:41:50 +02:00
Eric Kohl f6d81f2257 [SERVICES] Fix timeout when a service is stopped
RSetServiceStatus: Send the stop command for the dispatcher thread from a separate thread.

Fixes CORE-15064
2018-10-05 08:41:23 +02:00
Pierre Schweitzer 2a182931b6
[NTOSKRNL] A bit of cleanup in Io*FilterContext() 2018-10-04 22:24:52 +02:00
Pierre Schweitzer 5f0d02eb52
[NTOSKRNL] Implement IoChangeFileObjectFilterContext() 2018-10-04 19:30:39 +02:00
Pierre Schweitzer a43fb5e054
[NTOSKRNL] Implement IoGetFileObjectFilterContext() 2018-10-04 19:30:38 +02:00
Serge Gautherie 043faab089 [KMTESTS:TCPIP] Add an "Associate address IRP completed" trace 2018-10-04 18:28:08 +02:00
Serge Gautherie 302144c5ac [KMTESTS:TCPIP] ReturnAddress: Expect NT5 result, not NT6+ one
ROSTESTS-268
2018-10-04 18:17:15 +02:00
Pierre Schweitzer f2f24c1fa7
[DEVMGR] Update French translation 2018-10-04 11:13:15 +02:00
Pierre Schweitzer e19e907a2c
[NTOSKRNL] Quickly check for alignment in NtRead/WriteFile
This quick check based on bits and operation is for 2^ based
sector sizes (most of the cases) and will perform faster than
the modulo operation which is still used in fallback in case
the sector size wouldn't be a power of 2.
2018-10-04 10:45:10 +02:00
Pierre Schweitzer 44155053cd
[NTOSKRNL] Use captured variable to check parameters in NtRead/WriteFile 2018-10-04 10:45:10 +02:00
Eric Kohl c444231b87 [MSPORTS] Check and show which parallel port is in use. 2018-10-04 10:21:06 +02:00
Pierre Schweitzer bf59669065
[NTOSKRNL] On read/write, also check buffer respects device alignment requirements 2018-10-04 07:56:23 +02:00
Pierre Schweitzer 1bd25c5c24
[NTOSKRNL] When checking for byte offset alignment, tolerate some magic values 2018-10-04 07:53:12 +02:00
Eric Kohl fd33402104 [NTOSKRNL] NtReadFile/NtWriteFile: If a file has been opened for non-cached access, Length and ByteOffset must be sector size aligned.
This fixed two ntdll apitests.
2018-10-04 01:17:58 +02:00
Pierre Schweitzer d8f22735ed
[NTOSKRNL] In IopQueryNameInternal(), enclose output copy in a SEH statement 2018-10-03 22:55:23 +02:00
Pierre Schweitzer 15b9a6aa4c
[NTOSKRNL] Call IoCreateFileSpecifyDeviceObjectHint with the hint if it was specified 2018-10-03 21:29:12 +02:00