reactos.git
2 years ago[CRT_APITEST] Add tests for __dtoi64/dtou64/stoi64/stou64 on ARM (#3848) 3848/head
Roman Masanin [Mon, 26 Jul 2021 21:31:29 +0000 (00:31 +0300)]
[CRT_APITEST] Add tests for __dtoi64/dtou64/stoi64/stou64 on ARM (#3848)

CORE-17703 CORE-17604

2 years ago[CRT/ARM] Implement __dtoi64/dtou64/stoi64/stou64 functions (#3848)
Roman Masanin [Sun, 25 Jul 2021 14:50:48 +0000 (17:50 +0300)]
[CRT/ARM] Implement __dtoi64/dtou64/stoi64/stou64 functions (#3848)

CORE-17703 CORE-17604

2 years ago[CRT/ARM] Fix modulus on division (#3856) 3856/head
Roman Masanin [Wed, 28 Jul 2021 11:34:59 +0000 (14:34 +0300)]
[CRT/ARM] Fix modulus on division (#3856)

This fixes all tests added in 759bdedc. Addendum to f2bc1f0e.

CORE-17607 CORE-17614 CORE-17604

2 years ago[CRT_APITEST] Add tests for __rt_sdiv/udiv/sdiv64/udiv64 on ARM
Stanislav Motylkov [Wed, 28 Jul 2021 19:38:21 +0000 (22:38 +0300)]
[CRT_APITEST] Add tests for __rt_sdiv/udiv/sdiv64/udiv64 on ARM

Addendum to f2bc1f0e and f1e2c6cb.

CORE-17607 CORE-17614 CORE-17604

2 years ago[IMM32] s/idThread/dwThreadId/
Katayama Hirofumi MZ [Wed, 28 Jul 2021 23:21:33 +0000 (08:21 +0900)]
[IMM32] s/idThread/dwThreadId/

- Rename idThread variable as dwThreadId.
- Rename idImeThread variable as dwImeThreadId.
CORE-11700

2 years ago[IMM32] Rewrite ImmSetCompositionWindow (#3855)
Katayama Hirofumi MZ [Wed, 28 Jul 2021 14:26:02 +0000 (23:26 +0900)]
[IMM32] Rewrite ImmSetCompositionWindow (#3855)

Implementing Japanese input... CORE-11700

2 years ago[IMM32] Implement ImmLoadLayout (#3854)
Katayama Hirofumi MZ [Wed, 28 Jul 2021 14:25:10 +0000 (23:25 +0900)]
[IMM32] Implement ImmLoadLayout (#3854)

Implementing Japanese input... CORE-11700

2 years ago[IMM32] Rewrite ImmNotifyIME (#3853)
Katayama Hirofumi MZ [Wed, 28 Jul 2021 14:24:09 +0000 (23:24 +0900)]
[IMM32] Rewrite ImmNotifyIME (#3853)

Implementing Japanese input... CORE-11700

2 years ago[IMM32] Rewrite ImmSetStatusWindowPos (#3852)
Katayama Hirofumi MZ [Wed, 28 Jul 2021 14:23:09 +0000 (23:23 +0900)]
[IMM32] Rewrite ImmSetStatusWindowPos (#3852)

Implementing Japanese input... CORE-11700

2 years ago[CRT] Fix _matherror and _setusermatherror
Timo Kreuzer [Sat, 24 Jul 2021 16:13:06 +0000 (18:13 +0200)]
[CRT] Fix _matherror and _setusermatherror

We previously used 2 different versions: one from wine and one from mingw-w64.
The former was used in msvcrt, the latter was statically compiled into the executable. When using MS libs, there is only one _matherr, which is statically linked into the executable and does nothing (it's not really a function for users to be called).
_setusermatherror should only exist in msvcrt and not statically, which wouldn't work at all.

2 years ago[CRT] Define NULL in crtdefs.h
Timo Kreuzer [Tue, 27 Jul 2021 13:08:26 +0000 (15:08 +0200)]
[CRT] Define NULL in crtdefs.h

2 years ago[NTOS:MM] Annotate some functions with regards to MmPfnLock
Jérôme Gardou [Fri, 23 Jul 2021 15:14:47 +0000 (17:14 +0200)]
[NTOS:MM] Annotate some functions with regards to MmPfnLock

Also fix MI_ASSERT_PFN_LOCK_HELD macro.
Now in debug builds, SpinLocks are always non-zero when held.

2 years ago[NTOS:MM] Always release PFN lock in MmDereferenceSegmentWithLock
Jérôme Gardou [Fri, 23 Jul 2021 14:38:56 +0000 (16:38 +0200)]
[NTOS:MM] Always release PFN lock in MmDereferenceSegmentWithLock

All callers release it after calling it.
CORE-17698

2 years ago[VIDEOPRT] Fix updating of new registry path values
Timo Kreuzer [Thu, 22 Jul 2021 14:13:38 +0000 (16:13 +0200)]
[VIDEOPRT] Fix updating of new registry path values

CORE-17688
When a new driver is installed for the same device (like VBoxVideo), it uses the same hardware enum registry key and thus reuses the same DisplayId and the same display registry key. Therefore we need to update the setting in that key, even when the key already exists.

This seems to work good and not cause any issues, but testing indicated that on Windows some values are only updated, when the driver has changed. If neccessary, this can be achieved by updating and querying the ActiveService value in the device enum key (e.g. HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\PCI\VEN_80EE&DEV_BEEF&SUSYS_00000000&REV_00\3&267a616a&0&10\Control: ActiveService). If that doesn't match the current device name (from DriverExtension->RegistryPath) the values should be copied over.

2 years ago[WIN32K] Fix uninitialized variable
Timo Kreuzer [Mon, 19 Jul 2021 06:55:09 +0000 (08:55 +0200)]
[WIN32K] Fix uninitialized variable

2 years ago[CRT/arm] Update file headers to new format and change license to MIT
Timo Kreuzer [Sat, 24 Jul 2021 09:41:06 +0000 (11:41 +0200)]
[CRT/arm] Update file headers to new format and change license to MIT

* Add Raman Masanin to copyrights
* Add some comments
* Return long long from __rt_sdiv (no functional difference, just for clarity)

2 years ago[CPPRT] arm: Add 2 'MSVCRTEX_eh_vector_*structor_iterator' aliases
Serge Gautherie [Mon, 24 May 2021 06:56:17 +0000 (08:56 +0200)]
[CPPRT] arm: Add 2 'MSVCRTEX_eh_vector_*structor_iterator' aliases

CORE-17606

2 years ago[NTOS:SE] Remove redundant commented call on token duplication
George Bișoc [Sun, 25 Jul 2021 16:02:32 +0000 (18:02 +0200)]
[NTOS:SE] Remove redundant commented call on token duplication

When duplicating an access token, the authentication ID is already copied from the existing token to the new one anyway so there's no point on having the commented call still left in the code.

2 years ago[DRWTSN32] Fix Clang build. Addendum to bdab437f.
Stanislav Motylkov [Sun, 25 Jul 2021 14:52:33 +0000 (17:52 +0300)]
[DRWTSN32] Fix Clang build. Addendum to bdab437f.

Also use a macro for better code readability.

Co-authored-by: Katayama Hirofumi MZ <katayama.hirofumi.mz@gmail.com>
2 years ago[DRWTSN32] Recognize STATUS_ASSERTION_FAILURE as exception number
Stanislav Motylkov [Sun, 25 Jul 2021 12:32:08 +0000 (15:32 +0300)]
[DRWTSN32] Recognize STATUS_ASSERTION_FAILURE as exception number

2 years ago[IMM32] Imm(Lock|Unlock)ImeDpi and ImmSetOpenStatus (#3830)
Katayama Hirofumi MZ [Sun, 25 Jul 2021 02:57:57 +0000 (11:57 +0900)]
[IMM32] Imm(Lock|Unlock)ImeDpi and ImmSetOpenStatus (#3830)

- Add IMEDPI structure to ntuser.h.
- Implement ImmLockImeDpi/ImmUnlockImeDpi functions.
- Rewrite ImmSetOpenStatus function.
- Modify some NTUSER function prototypes.
- Modify imm32.spec.
CORE-11700

2 years ago[IMM32] Improve ImmGetImeInfoEx (#3833)
Katayama Hirofumi MZ [Sun, 25 Jul 2021 02:56:17 +0000 (11:56 +0900)]
[IMM32] Improve ImmGetImeInfoEx (#3833)

- Rewrite ImmGetImeInfoEx function.
- Implement CtfImmIsTextFrameServiceDisabled function.
- Modify imm32.spec.
CORE-11700

2 years ago[IMM32] Improve ImmUnlockClientImc and Imm32HeapAlloc (#3834)
Katayama Hirofumi MZ [Sun, 25 Jul 2021 02:55:03 +0000 (11:55 +0900)]
[IMM32] Improve ImmUnlockClientImc and Imm32HeapAlloc (#3834)

- Fix Imm32HeapAlloc function.
- Fix ImmUnlockClientImc function.
CORE-11700

2 years ago__rt_div fixes for arm (#3843)
Roman Masanin [Sat, 24 Jul 2021 18:23:58 +0000 (21:23 +0300)]
__rt_div fixes for arm (#3843)

[CRT/arm] Fix __rt_udiv and __rt_sdiv

2 years ago[SHELL32] Update de-DE.rc in IDD_BROWSE_FOR_FOLDER_NEW
Joachim Henze [Sat, 24 Jul 2021 13:11:54 +0000 (15:11 +0200)]
[SHELL32] Update de-DE.rc in IDD_BROWSE_FOR_FOLDER_NEW

More space for the german text in that button.
Correct the keyboard accelerator.

2 years ago[SHELLUTILS] Fix FAILED_UNEXPECTEDLY macro evaluating twice 3829/head
Mark Jansen [Fri, 23 Jul 2021 18:24:13 +0000 (20:24 +0200)]
[SHELLUTILS] Fix FAILED_UNEXPECTEDLY macro evaluating twice

2 years ago[SHELL32] CDefView: Respect item attributes
Mark Jansen [Thu, 15 Jul 2021 20:46:20 +0000 (22:46 +0200)]
[SHELL32] CDefView: Respect item attributes

2 years ago[FONTEXT] Cache attributes, handle sorting
Mark Jansen [Thu, 15 Jul 2021 20:45:19 +0000 (22:45 +0200)]
[FONTEXT] Cache attributes, handle sorting

2 years ago[CMAKE] Turn all warnings into errors on MSVC x86
Timo Kreuzer [Fri, 21 Feb 2020 19:07:27 +0000 (20:07 +0100)]
[CMAKE] Turn all warnings into errors on MSVC x86

2 years ago[REACTOS] Silence warnings in 3r-party code
Timo Kreuzer [Tue, 29 Jun 2021 08:03:28 +0000 (10:03 +0200)]
[REACTOS] Silence warnings in 3r-party code

2 years ago[REACTOS] Fix a number of MSVC warnings
Timo Kreuzer [Tue, 29 Jun 2021 16:50:15 +0000 (18:50 +0200)]
[REACTOS] Fix a number of MSVC warnings

2 years ago[USETUP] Fix invalid use of character count instead of byte count
Timo Kreuzer [Wed, 21 Jul 2021 08:26:42 +0000 (10:26 +0200)]
[USETUP] Fix invalid use of character count instead of byte count

2 years ago[PSDK][NDK] Use hex to define MIN/MAX constants like in native SDK
Timo Kreuzer [Tue, 29 Jun 2021 08:57:43 +0000 (10:57 +0200)]
[PSDK][NDK] Use hex to define MIN/MAX constants like in native SDK

This fixes use of unary minus operator on unsigned type warning.

2 years ago[KMTESTS:NTOS_IO] Fix check of spinlocks in case of checked builds
Jérôme Gardou [Fri, 23 Jul 2021 15:38:22 +0000 (17:38 +0200)]
[KMTESTS:NTOS_IO] Fix check of spinlocks in case of checked builds

Down back to zero failures

2 years ago[EVENTVWR] Update other languages RCs also CORE-17699
Joachim Henze [Thu, 22 Jul 2021 23:37:17 +0000 (01:37 +0200)]
[EVENTVWR] Update other languages RCs also CORE-17699

Use a capital letter for the /L parameter
because the Shells default font in the
help dialog makes a small L look like a small I.
MS also often does use that trick
to differentiate.

2 years ago[EVENTVWR] Update de-DE.rc CORE-17699
Joachim Henze [Thu, 22 Jul 2021 23:23:36 +0000 (01:23 +0200)]
[EVENTVWR] Update de-DE.rc CORE-17699

2 years ago[CRT] Remove checkstk_ms from build (it was unused)
Timo Kreuzer [Sat, 17 Jul 2021 13:47:24 +0000 (15:47 +0200)]
[CRT] Remove checkstk_ms from build (it was unused)

2 years ago[CRT] Refactor CMake files
Timo Kreuzer [Sat, 17 Jul 2021 12:53:17 +0000 (14:53 +0200)]
[CRT] Refactor CMake files

2 years ago[HAL/APIC] Make the real time clock more precise
Timo Kreuzer [Fri, 16 Jul 2021 09:42:45 +0000 (11:42 +0200)]
[HAL/APIC] Make the real time clock more precise

The interval time is now calculated in 0.1ns precision and a running fraction on the 100ns interval is updated on each clock interrupt.
Also adjust minimum, maximum and default clock rate to what Windows uses.

2 years ago[HAL/APIC] Fix clock initialization
Timo Kreuzer [Fri, 16 Jul 2021 09:45:39 +0000 (11:45 +0200)]
[HAL/APIC] Fix clock initialization

Previously we enabled the timer interrupt, before the kernel was notified of our time increment, so when a clock interrupt happened, it would increment the tick count, but add 0 to the system time, resulting in an invalid state, in which timers would be inserted into the wrong timer table slot. Fixes CORE-16253

2 years ago[HAL/APIC] Use APIC_CLOCK_VECTOR everywhere, instead of keeping separate definitions
Timo Kreuzer [Wed, 7 Jul 2021 19:58:23 +0000 (21:58 +0200)]
[HAL/APIC] Use APIC_CLOCK_VECTOR everywhere, instead of keeping separate definitions

2 years ago[BOOTDATA] Update readme.txt
Joachim Henze [Sun, 18 Jul 2021 23:05:00 +0000 (01:05 +0200)]
[BOOTDATA] Update readme.txt

Consistency regarding URLs:
- some URLs had the trailing slash, some had not
- moving all URLs to EOL makes it more convenient to copy-paste them

2 years ago[FONTEXT] Add de-DE translation CORE-17692
Joachim Henze [Sun, 18 Jul 2021 22:33:39 +0000 (00:33 +0200)]
[FONTEXT] Add de-DE translation CORE-17692

2 years ago[FONTEXT] Improve it-IT.rc comments
Joachim Henze [Sun, 18 Jul 2021 21:56:31 +0000 (23:56 +0200)]
[FONTEXT] Improve it-IT.rc comments

addendum to (#831)

2 years ago[SYSSETUP] Update de-DE.rc
Joachim Henze [Sun, 18 Jul 2021 15:51:44 +0000 (17:51 +0200)]
[SYSSETUP] Update de-DE.rc

The buttons name on the last dialog of 2nd stage
is "Fertig" and not "Beenden".
So make the help-texts consistent with that.

2 years ago[EVENTVWR] Add a context menu to TreeView items. (#3828)
Jose Carlos Jesus [Sat, 17 Jul 2021 17:26:48 +0000 (18:26 +0100)]
[EVENTVWR] Add a context menu to TreeView items. (#3828)

Same as in Windows XP/2003.
+ Specify a default extension when opening or saving an event-log file.

2 years ago[ADVAPI32][SERVICES] Use the context handle to encrypt and decrypt service passwords
Eric Kohl [Sat, 17 Jul 2021 14:26:16 +0000 (16:26 +0200)]
[ADVAPI32][SERVICES] Use the context handle to encrypt and decrypt service passwords

2 years ago[IMM32] Rewrite ImmGetStatusWindowPos (#3824)
Katayama Hirofumi MZ [Thu, 15 Jul 2021 22:30:55 +0000 (07:30 +0900)]
[IMM32] Rewrite ImmGetStatusWindowPos (#3824)

Rewrite ImmGetStatusWindowPos function. CORE-11700

2 years ago[IMM32] Rewrite ImmGetCandidateWindow (#3823)
Katayama Hirofumi MZ [Thu, 15 Jul 2021 18:04:00 +0000 (03:04 +0900)]
[IMM32] Rewrite ImmGetCandidateWindow (#3823)

Rewrite ImmGetCandidateWindow function. CORE-11700

2 years ago[NTOS:PS] Support using QUOTA_LIMITS_EX in NtSetInformationProcess(ProcessQuotaLimits)
Hervé Poussineau [Thu, 15 Jul 2021 06:55:06 +0000 (08:55 +0200)]
[NTOS:PS] Support using QUOTA_LIMITS_EX in NtSetInformationProcess(ProcessQuotaLimits)

Both QUOTA_LIMITS and QUOTA_LIMITS_EX are already supported in PspSetQuotaLimits,
but this was broken by a330b56787951d897eec0706b4649a452f8ba623

2 years ago[KMTESTS:SE] Implement initial logon session tests
George Bișoc [Thu, 17 Jun 2021 16:12:12 +0000 (18:12 +0200)]
[KMTESTS:SE] Implement initial logon session tests

This implements tests for SeMarkLogonSessionForTerminationNotification exported routine so far.

2 years ago[NTOS:SE] Implement logon session termination notification
George Bișoc [Thu, 17 Jun 2021 16:11:14 +0000 (18:11 +0200)]
[NTOS:SE] Implement logon session termination notification

Note to SELF and EVERYONE: the commit implements the initial logon session termination notification implementation, the SeMarkLogonSessionForTerminationNotification function, but as it currently stands there are several other tasks to be addressed in the future in order for the logon termination notification to be fully completed. The tasks as of which are.

1. Our SepRmDereferenceLogonSession is not fully implemented, as it doesn't inform the LSA and filesystems of logon deletion notification
2. Implement two worker routines that are actually in charge of such tasks of informing LSA and FSDs
3. Perform logon deletion
4. Do further investigations and check whatever that is left to address, if any

2 years ago[DDRAW] ddraw.c ddraw7_FlipToGDISurface() to Wine-6.8 (#3827) CORE-15128
Doug Lyons [Thu, 15 Jul 2021 17:04:46 +0000 (12:04 -0500)]
[DDRAW] ddraw.c ddraw7_FlipToGDISurface() to Wine-6.8 (#3827) CORE-15128

fixes CORE-15128 "Fall 0.1.3, black controls all over the desktop after exiting the game"
which regressed by 0.4.9-dev-155-g 9987f02917539e05268ba2ad11e62d24a3636972
(the sync to Wine Staging 3.3)

the patch on top of 0.4.15-dev-2923-g2210d23:
KVM: https://reactos.org/testman/compare.php?ids=78290,78295 LGTM
VBox: https://reactos.org/testman/compare.php?ids=78291,78294 LGTM

2 years ago[SAMSRV] SamrQueryInformationDomain: Older functions should call new functions
Eric Kohl [Thu, 15 Jul 2021 15:25:06 +0000 (17:25 +0200)]
[SAMSRV] SamrQueryInformationDomain: Older functions should call new functions

2 years ago[IMM32] Rewrite ImmGetIMEFileNameA/W (#3822)
Katayama Hirofumi MZ [Thu, 15 Jul 2021 14:01:50 +0000 (23:01 +0900)]
[IMM32] Rewrite ImmGetIMEFileNameA/W (#3822)

- Rewrite ImmGetIMEFileNameA and ImmGetIMEFileNameW functions. CORE-11700

2 years ago[IMM32] Rewrite ImmGetDefaultIMEWnd (#3821)
Katayama Hirofumi MZ [Thu, 15 Jul 2021 12:59:53 +0000 (21:59 +0900)]
[IMM32] Rewrite ImmGetDefaultIMEWnd (#3821)

- Rewrite ImmGetDefaultIMEWnd function.
- Add g_dwImm32Flags global variable.
- Add Imm32QueryWindow helper function.
- Implement CtfImmIsCiceroEnabled function.
- Modify imm32.spec.
CORE-11700

2 years ago[WIN32K] Check if a graphics device already exists before trying to add it
Timo Kreuzer [Tue, 13 Jul 2021 20:24:41 +0000 (22:24 +0200)]
[WIN32K] Check if a graphics device already exists before trying to add it

This avoids DPRINTs alleging a failure to open a device.
Also improve another DPRINT.

2 years ago[WIN32K] Fix detection of multiple display devices on VBox
Timo Kreuzer [Tue, 13 Jul 2021 06:29:11 +0000 (08:29 +0200)]
[WIN32K] Fix detection of multiple display devices on VBox

2 years ago[NETAPI32] Return the old values for NetGetJoinInformation() to fix Chrome Installer...
Eric Kohl [Wed, 14 Jul 2021 13:22:17 +0000 (15:22 +0200)]
[NETAPI32] Return the old values for NetGetJoinInformation() to fix Chrome Installer regression

Should fix CORE-17679

2 years ago[IMM32_APITEST] Add clientimc testcase (#3815)
Katayama Hirofumi MZ [Tue, 13 Jul 2021 16:19:35 +0000 (01:19 +0900)]
[IMM32_APITEST] Add clientimc testcase (#3815)

- Add clientimc testcase to imm32_apitest.
- Add "precomp.h".
CORE-11700

2 years ago[IMM32] Rewrite ImmGetCompositionWindow (#3820)
Katayama Hirofumi MZ [Tue, 13 Jul 2021 12:13:39 +0000 (21:13 +0900)]
[IMM32] Rewrite ImmGetCompositionWindow (#3820)

Rewrite ImmGetCompositionWindow function. CORE-11700

2 years ago[IMM32] Rewrite ImmGetCompositionFontA/W (#3813)
Katayama Hirofumi MZ [Tue, 13 Jul 2021 11:51:28 +0000 (20:51 +0900)]
[IMM32] Rewrite ImmGetCompositionFontA/W (#3813)

- Rewrite ImmGetCompositionFontA and ImmGetCompositionFontW functions.
- Add INIT_* macro definitions in <ddk/imm.h>.
CORE-11700

2 years ago[IMM32] Rewrite ImmGetCandidateListCountA/W (#3812)
Katayama Hirofumi MZ [Tue, 13 Jul 2021 11:17:17 +0000 (20:17 +0900)]
[IMM32] Rewrite ImmGetCandidateListCountA/W (#3812)

Implement ImmGetCandidateListCountA and ImmGetCandidateListCountW functions by using newly defined ImmGetCandidateListCountAW function. CORE-11700

2 years ago[COMCTL32] Listview: Only apply horizontal offset when setting header position CORE...
Joachim Henze [Tue, 13 Jul 2021 05:38:45 +0000 (07:38 +0200)]
[COMCTL32] Listview: Only apply horizontal offset when setting header position CORE-17674

This imports
Wine commit https://github.com/wine-mirror/wine/commit/d92906249fd4abd75d5d2ee2fba966855fac2e4c#diff-7f0ae6301b1f6ea1128640b76cd831308e24466f15399de6d5040557b79f0f16
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
Thanks to Doug Lyons who picked the fix for us from Wine 6.0

It fixes for us CORE-17674 "Corruption of the listview header"
which regressed by 0.4.14-dev-150-g 00f14ee1f22a1c285462459f859fa17c90ccc19f
when we synced to Wine Staging 4.18

Testbot results of the patch:
KVM https://reactos.org/testman/compare.php?ids=78225,78270 LGTM
VBox https://reactos.org/testman/compare.php?ids=78226,78271 LGTM

I intend to port this back into 0.4.14RC94 also, so no official reactos release
will ever be affected by it.

2 years ago[DESK] Only try to restart graphic device after installation
Hervé Poussineau [Mon, 12 Jul 2021 21:50:42 +0000 (23:50 +0200)]
[DESK] Only try to restart graphic device after installation

If it fails, require a reboot.

CORE-17675

2 years ago[GITHUB] Add MSVC Release builder
Timo Kreuzer [Sat, 10 Jul 2021 11:27:55 +0000 (13:27 +0200)]
[GITHUB] Add MSVC Release builder

2 years ago[CRT] Add some missing #pragma function
Timo Kreuzer [Sat, 10 Jul 2021 11:24:42 +0000 (13:24 +0200)]
[CRT] Add some missing #pragma function

2 years ago[CRT] Fix handling of intrinsics and inline functions
Timo Kreuzer [Sat, 10 Jul 2021 11:07:18 +0000 (13:07 +0200)]
[CRT] Fix handling of intrinsics and inline functions

2 years ago[CMAKE] Don't turn C4101 (unreferenced local variable) into an error on release builds
Timo Kreuzer [Sat, 10 Jul 2021 10:45:04 +0000 (12:45 +0200)]
[CMAKE] Don't turn C4101 (unreferenced local variable) into an error on release builds

2 years ago[NTOS:MM] Fix MiSetSystemCodeProtection
Timo Kreuzer [Tue, 6 Jul 2021 11:48:52 +0000 (13:48 +0200)]
[NTOS:MM] Fix MiSetSystemCodeProtection

CORE-16387 CORE-17638
Windows only makes the header RO for session space mapped drivers (win32k, dx and display drivers)

2 years ago[SAMSRV] Older functions should call newer functions
Eric Kohl [Sun, 11 Jul 2021 10:54:28 +0000 (12:54 +0200)]
[SAMSRV] Older functions should call newer functions

2 years ago[BROWSEUI] Multithreaded auto-completion (#3794)
Katayama Hirofumi MZ [Sun, 11 Jul 2021 04:00:00 +0000 (13:00 +0900)]
[BROWSEUI] Multithreaded auto-completion (#3794)

- Make auto-completion multi-threaded.
CORE-9281

2 years ago[IMM32] Add some candidate handlings (#3799)
Katayama Hirofumi MZ [Sun, 11 Jul 2021 00:48:15 +0000 (09:48 +0900)]
[IMM32] Add some candidate handlings (#3799)

- Implement ImmGetCandidateListA and ImmGetCandidateListW, by using newly added ImmGetCandidateListAW function.
- Implement ImmLockClientImc and ImmUnlockClientImc functions.
- Modify imm32.spec.
- Remove #ifdef's.
CORE-11700

2 years ago[VIDEOPRT] Write correct MaxObjectNumber to registry
Hervé Poussineau [Sat, 10 Jul 2021 17:01:11 +0000 (19:01 +0200)]
[VIDEOPRT] Write correct MaxObjectNumber to registry

VideoPortMaxObjectNumber variable will be updated later in the function, if everything went fine.

2 years ago[GDI32_APITEST] Clean up loaded fonts
Timo Kreuzer [Sat, 10 Jul 2021 14:04:16 +0000 (16:04 +0200)]
[GDI32_APITEST] Clean up loaded fonts

2 years ago[ROSTESTS] Skip some test on x64
Timo Kreuzer [Fri, 2 Jul 2021 16:12:24 +0000 (18:12 +0200)]
[ROSTESTS] Skip some test on x64

2 years ago[NTDLL_WINETEST] Unhack exception test and include it in x64
Timo Kreuzer [Fri, 9 Jul 2021 08:58:15 +0000 (10:58 +0200)]
[NTDLL_WINETEST] Unhack exception test and include it in x64

This removes the use of a precompiled header, as it causes problems with different usages of NONAMELESSUNION, which had to be hacked already, but this is still causing problems with GCC x64. It's just not worth the hassle to keep reactos specific hacks to save a few ms of compile time.

2 years ago[RPCRT4_WINETEST] Fix 64 bit build
Timo Kreuzer [Fri, 9 Jul 2021 08:29:58 +0000 (10:29 +0200)]
[RPCRT4_WINETEST] Fix 64 bit build

"Should be sent to wine"(tm)

2 years ago[WIN32K] HACK: create a DC on all display devices and display wallpaper
Hervé Poussineau [Sat, 19 Jun 2021 16:18:14 +0000 (18:18 +0200)]
[WIN32K] HACK: create a DC on all display devices and display wallpaper

2 years ago[VIDEOPRT] Do not attach secondary devices to the device stack
Timo Kreuzer [Sun, 4 Jul 2021 18:26:32 +0000 (20:26 +0200)]
[VIDEOPRT] Do not attach secondary devices to the device stack

This fixes display on the primary screen.

2 years ago[VIDEOPRT] Implement VideoPortCreateSecondaryDisplay
Hervé Poussineau [Wed, 23 Jun 2021 06:54:27 +0000 (08:54 +0200)]
[VIDEOPRT] Implement VideoPortCreateSecondaryDisplay

2 years ago[VIDEOPRT] Fix adapter id
Timo Kreuzer [Sat, 3 Jul 2021 20:59:30 +0000 (22:59 +0200)]
[VIDEOPRT] Fix adapter id

2 years ago[VIDEOPRT] Use new registry path
Timo Kreuzer [Sat, 3 Jul 2021 20:58:17 +0000 (22:58 +0200)]
[VIDEOPRT] Use new registry path

2 years ago[VIDEOPRT] Refactor device map key creation
Timo Kreuzer [Sat, 3 Jul 2021 19:26:57 +0000 (21:26 +0200)]
[VIDEOPRT] Refactor device map key creation

2 years ago[DESK] Start video card after its installation + let win32k detect it
Hervé Poussineau [Sat, 19 Jun 2021 15:58:04 +0000 (17:58 +0200)]
[DESK] Start video card after its installation + let win32k detect it

2 years ago[WIN32K] Move detection of available display devices a new fonction EngpUpdateGraphic...
Hervé Poussineau [Sat, 19 Jun 2021 15:07:13 +0000 (17:07 +0200)]
[WIN32K] Move detection of available display devices a new fonction EngpUpdateGraphicsDeviceList

- rewrite InitVideo() to call this new function
- also call it at the start of UserEnumDisplayDevices, to detect new potential devices

2 years ago[VBEMP] Remove too verbose log, when debug is enabled in videoprt
Hervé Poussineau [Fri, 18 Jun 2021 20:46:24 +0000 (22:46 +0200)]
[VBEMP] Remove too verbose log, when debug is enabled in videoprt

2 years ago[IMM32_APITEST] Add imm32_apitest test program (#3810) gsoc/2021/smp-kisystemstartup
Katayama Hirofumi MZ [Fri, 9 Jul 2021 15:05:43 +0000 (00:05 +0900)]
[IMM32_APITEST] Add imm32_apitest test program (#3810)

Add a test program for imm32.dll as a proof of concept. CORE-11700

2 years ago[SDK][INCLUDE] Add offset info to INPUTCONTEXT (#3809)
Katayama Hirofumi MZ [Fri, 9 Jul 2021 14:31:42 +0000 (23:31 +0900)]
[SDK][INCLUDE] Add offset info to INPUTCONTEXT (#3809)

Add offset and size information to INPUTCONTEXT structure for information help. CORE-11700

2 years agoAdd/Update German translation (#3805)
Robert Naumann [Fri, 9 Jul 2021 09:15:34 +0000 (11:15 +0200)]
Add/Update German translation (#3805)

Add translations for:

- [CHARMAP_NEW]
- [COMP]
- [EVENTCREATE]
- [TIMEOUT]
- [WHERE]
- [UTILMAN]
- [CHKDSK]
- [SHELLEXT]: cryptext, devcpux, mycomp, netplwiz
- [MSXML3R]
- [THEMES]: Blackshade, Lunar

Update translations for:

- [CLIPBRD]
- [SHORTCUTS.INF]

2 years ago[SETUPAPI] PNP_RegisterNotification: Parameter 8 seems to be a process ID
Eric Kohl [Thu, 8 Jul 2021 08:58:47 +0000 (10:58 +0200)]
[SETUPAPI] PNP_RegisterNotification: Parameter 8 seems to be a process ID

2 years ago[IDL] Formatting: Add a missing space
Eric Kohl [Thu, 8 Jul 2021 08:55:13 +0000 (10:55 +0200)]
[IDL] Formatting: Add a missing space

2 years ago[IMM32] Rewrite ImmGetOpenStatus (#3804)
Katayama Hirofumi MZ [Thu, 8 Jul 2021 05:24:27 +0000 (14:24 +0900)]
[IMM32] Rewrite ImmGetOpenStatus (#3804)

- Rewrite ImmGetOpenStatus function. CORE-11700

2 years ago[IMM32] Rewrite ImmIsIME (Retry) (#3803)
Katayama Hirofumi MZ [Thu, 8 Jul 2021 05:23:25 +0000 (14:23 +0900)]
[IMM32] Rewrite ImmIsIME (Retry) (#3803)

- Rewrite ImmIsIME function.
- Fix enum IMEINFOEXCLASS.
CORE-11700

2 years ago[DDK] Add missing types DOMAIN_DISPLAY_USER, DOMAIN_DISPLAY_MACHINE and DOMAIN_DISPLA...
Eric Kohl [Wed, 7 Jul 2021 10:26:44 +0000 (12:26 +0200)]
[DDK] Add missing types DOMAIN_DISPLAY_USER, DOMAIN_DISPLAY_MACHINE and DOMAIN_DISPLAY_GROUP

2 years ago[IMM32] Rewrite IMCC handling functions (#3788)
Katayama Hirofumi MZ [Wed, 7 Jul 2021 01:04:30 +0000 (10:04 +0900)]
[IMM32] Rewrite IMCC handling functions (#3788)

Rewrite ImmCreateIMCC, ImmDestroyIMCC, ImmReSizeIMCC, ImmGetIMCCLockCount, ImmUnlockIMCC, ImmLockIMCC, and ImmGetIMCCSize functions. CORE-11700

2 years ago[NETSHELL] Fix MSVC compiler warning in de-DE.rc
Joachim Henze [Tue, 6 Jul 2021 23:51:33 +0000 (01:51 +0200)]
[NETSHELL] Fix MSVC compiler warning in de-DE.rc

MSVC2010 compiler warning shellext\netshell\lang/de-DE.rc(118) : warning RC4206 : title string too long; truncated at 256
introduced by SVN r71434 == git 6ce8ee357a964114dad69bfe7a3b6002ddf47f48

The string was displayed properly and was not truncated even before this patch.

2 years ago[SHELL32] EOL-white-space-fixes dialogs.cpp
Joachim Henze [Tue, 6 Jul 2021 21:27:32 +0000 (23:27 +0200)]
[SHELL32] EOL-white-space-fixes dialogs.cpp

Exclusively touching code that was recently
added during 0.4.15-dev'ing.

2 years ago[SHELL32] Improve Start-Run Dialog Box Features (#3797) CORE-17351 CORE-16898
Doug Lyons [Tue, 6 Jul 2021 17:36:15 +0000 (12:36 -0500)]
[SHELL32] Improve Start-Run Dialog Box Features (#3797) CORE-17351 CORE-16898

Improve performance of Start-Run Dialog Box Options

This will fix:
CORE-17351 'RunDlg fails calling URL without http'
and
CORE-16898 'RunCommand "iexplore" fails to open Wine IE'
Both regressed by 0.4.10-dev-419-g bfcbda227f99c1b59e8ed71f5e0f59f793d496a1

2 years ago[WIN32U_2KSP4] Remove it (#3786)
Serge Gautherie [Tue, 6 Jul 2021 12:05:01 +0000 (14:05 +0200)]
[WIN32U_2KSP4] Remove it (#3786)

ReactOS does not target 2000 SP4 anymore.