reactos.git
3 years ago[NTOS:KE] Save ExceptionList in the assembly version of KiEnterTrap. CORE-15723 2836/head
Thomas Faber [Fri, 22 May 2020 20:34:56 +0000 (22:34 +0200)]
[NTOS:KE] Save ExceptionList in the assembly version of KiEnterTrap. CORE-15723

If SEH is used in a C trap handler, the exception frame will be
registered before the call to KiEnterTrap, which means we save
the wrong trap handler. We'll therefore also restore this wrong
frame for the excepting code, resulting in a stale SEH chain.

We avoid this problem by saving the handler in the assembly
trap entry code instead of from C. While SEH in a C trap handler
should now theoretically be safe, we still forbid it through
asserts in the C KiEnterTrap variants to make any potential
future problems more obvious. Should this functionality be
needed at some point and deemed safe, these asserts can then be
removed.

3 years ago[NTOS:KE] Split KiCheckForSListFault into its own function. CORE-15723
Thomas Faber [Fri, 22 May 2020 09:18:39 +0000 (11:18 +0200)]
[NTOS:KE] Split KiCheckForSListFault into its own function. CORE-15723

This avoids SEH in a trap handler.
See the following commit for more details.

3 years ago[RTL] Add FPO information to RtlpExecuteHandler. CORE-15723
Thomas Faber [Fri, 22 May 2020 07:22:39 +0000 (09:22 +0200)]
[RTL] Add FPO information to RtlpExecuteHandler. CORE-15723

3 years ago[CDMAKE] Add 'DECLSPEC_NORETURN' to 'error_exit()' (#2893)
Serge Gautherie [Fri, 5 Jun 2020 11:57:49 +0000 (13:57 +0200)]
[CDMAKE] Add 'DECLSPEC_NORETURN' to 'error_exit()' (#2893)

Detected by Cppcheck: doubleFree.

3 years ago[SDK:RTL] RtlValidAcl(): Improve ACL error messages (#2833)
Serge Gautherie [Thu, 4 Jun 2020 21:20:20 +0000 (23:20 +0200)]
[SDK:RTL] RtlValidAcl(): Improve ACL error messages (#2833)

CORE-11506

3 years ago[KERNEL32] FatalAppExitW: Add an 'UNREFERENCED_LOCAL_VARIABLE(Status)' (#2883)
Serge Gautherie [Thu, 4 Jun 2020 20:35:54 +0000 (22:35 +0200)]
[KERNEL32] FatalAppExitW: Add an 'UNREFERENCED_LOCAL_VARIABLE(Status)' (#2883)

Addendum to 21d2accad37825f47e3caa78ff36153751652238 (r71793).

3 years ago[IPHLPAPI] getNumInterfacesInt(): Remove 'if()' redundant condition (#2884)
Serge Gautherie [Thu, 4 Jun 2020 20:26:28 +0000 (22:26 +0200)]
[IPHLPAPI] getNumInterfacesInt(): Remove 'if()' redundant condition (#2884)

No impact.

Detected by Cppcheck: redundantCondition.
Addendum to 1fe3a2d6c307a1ec11d7728a9493360a5808e1ac (r9788).

3 years ago[HALXBOX] Fix clock drift (#2889)
Dmitry Borisov [Tue, 2 Jun 2020 23:14:16 +0000 (05:14 +0600)]
[HALXBOX] Fix clock drift (#2889)

Add a new rollover table for Original Xbox (base frequency is 1.125000 MHz).
This fixes potential time issues in kernel and drivers.

CORE-16216

3 years ago[FREELDR] Fix register offset
Stanislav Motylkov [Tue, 2 Jun 2020 23:04:07 +0000 (02:04 +0300)]
[FREELDR] Fix register offset

Addendum to 10e52f6.

3 years ago[SHELL32] Improve readability of filesystem notification (#2737)
Katayama Hirofumi MZ [Tue, 2 Jun 2020 09:42:07 +0000 (18:42 +0900)]
[SHELL32] Improve readability of filesystem notification (#2737)

Improve human readability of filesystem change notification.
- Rename the identifiers for human readabilities.
- Split the code into CFilePathList and CDirectoryWatcher classes.
- Encapsulation of code.
CORE-13950

3 years ago[TRANSLATION] Add/update Portuguese translation (#2850)
Jose Carlos Jesus [Mon, 1 Jun 2020 18:48:58 +0000 (19:48 +0100)]
[TRANSLATION] Add/update Portuguese translation (#2850)

- Add translation for: iernonce, modmui.
- Update translation for: jscript, msports, shell32.

3 years ago[TRANSLATION] Add/Update Portuguese translation for some shell extensions (#2845)
Jose Carlos Jesus [Mon, 1 Jun 2020 18:31:06 +0000 (19:31 +0100)]
[TRANSLATION]  Add/Update Portuguese translation for some shell extensions (#2845)

- Add translation for: devcpux, netplwiz, ntobjshex, stobject, zipfldr.
- Update translation for: sendmail.

3 years ago[CSRSRV] CsrUnhandledExceptionFilter: Check RtlAdjustPrivilege() result (#2864)
Serge Gautherie [Mon, 1 Jun 2020 18:20:31 +0000 (20:20 +0200)]
[CSRSRV] CsrUnhandledExceptionFilter: Check RtlAdjustPrivilege() result (#2864)

And remove unused NtRaiseHardError() Status assignment.

Detected by Cppcheck: redundantAssignment.
Related to commit d221bdfb (r55647).

3 years ago[APISETS] Fix some functions that are NT10(v1607)+ (#2738)
Serge Gautherie [Mon, 1 Jun 2020 17:04:32 +0000 (19:04 +0200)]
[APISETS] Fix some functions that are NT10(v1607)+ (#2738)

- *_onexit_*() are NT10(v1607)+
- *_seh_filter_*() are NT10(v1607)+ actually

CORE-16700

3 years ago[RAPPS] Update Chinese (Taiwan) translation (#2873)
He Yang [Mon, 1 Jun 2020 11:30:53 +0000 (19:30 +0800)]
[RAPPS] Update Chinese (Taiwan) translation (#2873)

3 years ago[CSRSRV] CsrSetProcessSecurity(): Check 1st NtQueryInformationToken() result (#2862)
Serge Gautherie [Mon, 1 Jun 2020 11:17:29 +0000 (13:17 +0200)]
[CSRSRV] CsrSetProcessSecurity(): Check 1st NtQueryInformationToken() result (#2862)

Also:
* Add 1 NtClose(hToken), in an error case.
* Do not call RtlFreeHeap(..., ..., NULL).

Follow-up to #2857.

3 years ago[MSGINA] gui: Improve DlgData_LoadBitmaps() (#2520)
Serge Gautherie [Mon, 1 Jun 2020 09:26:53 +0000 (11:26 +0200)]
[MSGINA] gui: Improve DlgData_LoadBitmaps() (#2520)

And let bar timer depend on the bar image only.

Addendum to 623dd26ccea5e79001aee769c230fb4f8e304fc8.

3 years ago[APISETS] Some API sets are NT10+ and win32 only (Part 1/2) (#2805)
Serge Gautherie [Mon, 1 Jun 2020 09:20:13 +0000 (11:20 +0200)]
[APISETS] Some API sets are NT10+ and win32 only (Part 1/2) (#2805)

* api-ms-win-downlevel-shell32-l1-1-0.dll is NT10+ and win32 only
* api-ms-win-shcore-obsolete-l1-1-0.dll is NT10+ and win32 only
* api-ms-win-downlevel-shlwapi-l2-1-0.dll is NT10+ and win32 only

CORE-8880

3 years ago[SNDREC32] Use ShellAboutW(..., ..., NULL, ...) (#2827)
Serge Gautherie [Mon, 1 Jun 2020 09:17:29 +0000 (11:17 +0200)]
[SNDREC32] Use ShellAboutW(..., ..., NULL, ...) (#2827)

Addendum to 82e4efea77aa19d79a4a14c41ae2222c2994b829.

3 years ago[USER32] MDIClientWndProc_common(): Properly sync to old Wine (#2843)
Serge Gautherie [Mon, 1 Jun 2020 09:14:38 +0000 (11:14 +0200)]
[USER32] MDIClientWndProc_common(): Properly sync to old Wine (#2843)

No impact.

Missed part of
https://source.winehq.org/git/wine.git/commit/fb6304119a967ea13688ff9e34ed9d819bd50785

Detected by Cppcheck: identicalInnerCondition.
Addendum to 303ece24219da7ec0cac1016767092287abd7877 (r72520).

3 years ago[NTOS:MM] MmDeleteProcessAddressSpace(): Move 'Address' to where it belongs (#2865)
Serge Gautherie [Mon, 1 Jun 2020 09:10:11 +0000 (11:10 +0200)]
[NTOS:MM] MmDeleteProcessAddressSpace(): Move 'Address' to where it belongs (#2865)

No impact.

Detected by Cppcheck: unusedVariable.
Addendum to 2dade10d543589e1f5f762bbc1695f2917341171.

3 years ago[REACTOS] RegQueryValueExW() wants bytes, not chars (#2876)
Serge Gautherie [Mon, 1 Jun 2020 09:06:49 +0000 (11:06 +0200)]
[REACTOS] RegQueryValueExW() wants bytes, not chars (#2876)

Cherry-pick:
https://source.winehq.org/git/wine.git/commit/a359e026662251b7c3367fe2815dcb6cb371af50
https://source.winehq.org/git/wine.git/commit/0662da18b85634928905e72041961ffd3a6e8045
https://source.winehq.org/git/wine.git/commit/e4e5eda3d9afcb5360747ddd97e6bf4fdc0c1c0f

CORE-9665

Co-authored-by: Victor Martinez <vicmarcal@gmail.com>
3 years ago[INF] Add better device descriptions for Original Xbox
Stanislav Motylkov [Sun, 31 May 2020 21:30:51 +0000 (00:30 +0300)]
[INF] Add better device descriptions for Original Xbox

CORE-16216

3 years ago[SCHEDSVC] Implement the job start time calculation for given days of month
Eric Kohl [Sun, 31 May 2020 20:33:49 +0000 (22:33 +0200)]
[SCHEDSVC] Implement the job start time calculation for given days of month

3 years ago[SCHEDSVC] Fix the job start time calculation for given days of week.
Eric Kohl [Sun, 31 May 2020 13:48:07 +0000 (15:48 +0200)]
[SCHEDSVC] Fix the job start time calculation for given days of week.

3 years ago[NTDLL] Use lowest OS version GUID in the application manifest, instead of highest
Timo Kreuzer [Sun, 1 Mar 2020 22:40:57 +0000 (23:40 +0100)]
[NTDLL] Use lowest OS version GUID in the application manifest, instead of highest

3 years ago[MSTASK] Add C stubs and comment out decorated exports
Timo Kreuzer [Fri, 28 Feb 2020 13:09:57 +0000 (14:09 +0100)]
[MSTASK] Add C stubs and comment out decorated exports

MSVC's LINK is not able to export both the undecorated and decorated symbol from the same dll. This results in an incoherence between the spec file entries and the actual exports, breaking the dll export versioning.

3 years ago[NTOSKRNL] Group files in the project file based on directory layout
Mark Jansen [Wed, 27 May 2020 20:28:00 +0000 (22:28 +0200)]
[NTOSKRNL] Group files in the project file based on directory layout

3 years ago[GITHUB] Set up necessary environment variables for Flex and Bison
Victor Perevertkin [Thu, 28 May 2020 20:11:53 +0000 (23:11 +0300)]
[GITHUB] Set up necessary environment variables for Flex and Bison
Decrease ccache size, based on observations
Print ccache statistics in the end of build

3 years ago[CPPRT][CRT] Avoid extern assembly declarations with no type. CORE-17088
Thomas Faber [Thu, 28 May 2020 12:25:31 +0000 (14:25 +0200)]
[CPPRT][CRT] Avoid extern assembly declarations with no type. CORE-17088

Fixes build with ML 14.26.

3 years ago[SHELL32][INCLUDE] Improve CheckEscapesA/W (#2795)
Katayama Hirofumi MZ [Thu, 28 May 2020 01:58:26 +0000 (10:58 +0900)]
[SHELL32][INCLUDE] Improve CheckEscapesA/W (#2795)

Fix and improve shell32!CheckEscapesA/W functions.
Add a testcase for shell32!CheckEscapesA/W to shell32_apitest.

3 years ago[LABEL] wmain(): Initialize 'szBuffer' (#2867)
Serge Gautherie [Wed, 27 May 2020 15:05:33 +0000 (17:05 +0200)]
[LABEL] wmain(): Initialize 'szBuffer' (#2867)

Detected by Cppcheck: uninitvar.

3 years ago[WIN32K:NTUSER] NC_IconForWindow(): Remove redundant if() (#2842)
Serge Gautherie [Tue, 26 May 2020 18:25:39 +0000 (20:25 +0200)]
[WIN32K:NTUSER] NC_IconForWindow(): Remove redundant if() (#2842)

No impact.

Detected by Cppcheck: identicalInnerCondition.
Addendum to 98060c28c8b051bc4cfd460bd008a2eff125658e (r60622).

3 years ago[FORMATTING] [CMAKE] Remove space in 'if (' (#2847)
Serge Gautherie [Tue, 26 May 2020 18:24:02 +0000 (20:24 +0200)]
[FORMATTING] [CMAKE] Remove space in 'if (' (#2847)

3 years ago[WINSPOOL] GetPrinterDriverA(): Refactor failure handling (#2832)
Serge Gautherie [Tue, 26 May 2020 18:21:25 +0000 (20:21 +0200)]
[WINSPOOL] GetPrinterDriverA(): Refactor failure handling (#2832)

* [WINSPOOL] GetPrinterDriverA(): Refactor failure handling

Addendum to d90beaeed26863985486874aaa2a1c3422fd6d9f.

3 years ago[CSRSRV] CsrGetProcessLuid(): Check 1st NtQueryInformationToken() result too (#2857)
Serge Gautherie [Mon, 25 May 2020 21:52:35 +0000 (23:52 +0200)]
[CSRSRV] CsrGetProcessLuid(): Check 1st NtQueryInformationToken() result too (#2857)

Detected by Cppcheck: redundantAssignment.
Co-authored-by: Hermès BÉLUSCA - MAÏTO <hermes.belusca-maito@reactos.org>
3 years ago[NTVDM] GetNextFreeVDDEntry(): Remove 'Entry' redundant initialization (#2859)
Serge Gautherie [Mon, 25 May 2020 21:49:47 +0000 (23:49 +0200)]
[NTVDM] GetNextFreeVDDEntry(): Remove 'Entry' redundant initialization (#2859)

Detected by Cppcheck: redundantInitialization.
Addendum to ed874b41 (r61283).

3 years ago[MMSYS] OnHScroll(): Fix wrong '&&' operator (#2855)
Serge Gautherie [Mon, 25 May 2020 17:57:52 +0000 (19:57 +0200)]
[MMSYS] OnHScroll(): Fix wrong '&&' operator (#2855)

CORE-17079

3 years ago[HAL:HALPPC] HalAllocateCrashDumpRegisters(): Remove redundant MapRegisterNumber...
Serge Gautherie [Mon, 25 May 2020 16:58:17 +0000 (18:58 +0200)]
[HAL:HALPPC] HalAllocateCrashDumpRegisters(): Remove redundant MapRegisterNumber assignment (#2854)

Detected by CppCheck: redundantAssignment.
Addendum to commit 81f09273 (r28793).

3 years ago[PROCESSR][INF] Fix "Intel Intel" duplication typos
Stanislav Motylkov [Sun, 24 May 2020 23:36:17 +0000 (02:36 +0300)]
[PROCESSR][INF] Fix "Intel Intel" duplication typos

Addendum to 3509318.

3 years ago[NTOS:PO] Report correct CPU frequency in CurrentMhz
Stanislav Motylkov [Sun, 24 May 2020 22:24:52 +0000 (01:24 +0300)]
[NTOS:PO] Report correct CPU frequency in CurrentMhz

Also add some relevant FIXME comments. CORE-13206

3 years ago[NTOS:INBV] Fix hardcoded values (#2840)
Yaroslav Kibysh [Sun, 24 May 2020 17:37:47 +0000 (20:37 +0300)]
[NTOS:INBV] Fix hardcoded values (#2840)

3 years ago[NTOS:EX] ExpInitializeExecutive(): Fix 'PerfMem' copypasta (#2841)
Serge Gautherie [Sun, 24 May 2020 17:37:16 +0000 (19:37 +0200)]
[NTOS:EX] ExpInitializeExecutive(): Fix 'PerfMem' copypasta (#2841)

Detected by Cppcheck: identicalInnerCondition.
Addendum to commit c307d73c (r25621).

3 years ago[ADVAPI32] Convert ordinals to @ in spec file
Timo Kreuzer [Sat, 29 Feb 2020 08:37:20 +0000 (09:37 +0100)]
[ADVAPI32] Convert ordinals to @ in spec file

3 years ago[TRANSLATION] Hungarian translation update for shell32 (#2828)
Tibor Lajos Füzi [Sat, 23 May 2020 17:20:16 +0000 (19:20 +0200)]
[TRANSLATION] Hungarian translation update for shell32 (#2828)

3 years ago[LSASRV] LsapLogonUser(): Fix 'AuthenticatingAuthority' copypasta (#2839)
Serge Gautherie [Sat, 23 May 2020 17:07:04 +0000 (19:07 +0200)]
[LSASRV] LsapLogonUser(): Fix 'AuthenticatingAuthority' copypasta (#2839)

Reported by contributor 'qarmin'.
CORE-17074

3 years ago[NTDLL] Rename ExportEntry to ExportDirectory to better represent what it is
Timo Kreuzer [Thu, 29 Aug 2019 20:10:49 +0000 (22:10 +0200)]
[NTDLL] Rename ExportEntry to ExportDirectory to better represent what it is

3 years ago[NTOSKRNL] Sync some INIT_FUNCTION (#2824)
Serge Gautherie [Sat, 23 May 2020 14:05:58 +0000 (16:05 +0200)]
[NTOSKRNL] Sync some INIT_FUNCTION (#2824)

- Sync some INIT_FUNCTION with how they are used and what is already
  specified in the headers.
Addendum to commit 85e5b5be (r49445).

- KdbpGetCommandLineSettings(): Remove INIT_FUNCTION.
Fix MSVC 2015 x86 custom build:
"...\ntoskrnl\kdbg\kdb.c(1699): error C2983: 'KdbpGetCommandLineSettings': all declarations must have an identical __declspec(code_seg(...))"

And may also fix obscure bugs when entering into the KDBG debugger.

3 years ago[NTOSKRNL] Place INIT_FUNCTION before the return type (#2823)
Serge Gautherie [Sat, 23 May 2020 13:56:10 +0000 (15:56 +0200)]
[NTOSKRNL] Place INIT_FUNCTION before the return type (#2823)

(but after 'static' or SAL 2 annotation.)
Follow-up to 71fefa32, which mentions that it's actually required by the compiler in some circumstances.

3 years ago[APPWIZ] Polish translation update (#2790)
Piotr Hetnarowicz [Sat, 23 May 2020 13:43:56 +0000 (15:43 +0200)]
[APPWIZ] Polish translation update (#2790)

FIXED: dialogs, button, description

3 years ago[MC] Update Polish translation of netmsgmsg.mc (#2691)
Piotr Hetnarowicz [Sat, 23 May 2020 13:42:11 +0000 (15:42 +0200)]
[MC] Update Polish translation of netmsgmsg.mc (#2691)

Co-authored-by: Adam Słaboń <asaillen456esx@gmail.com>
Co-authored-by: Adam Stachowicz <saibamenppl@gmail.com>
Co-authored-by: Hermès BÉLUSCA - MAÏTO <hermes.belusca-maito@reactos.org>
3 years ago[RAPPS] Update Portuguese translation (#2820)
Jose Carlos Jesus [Sat, 23 May 2020 13:17:52 +0000 (14:17 +0100)]
[RAPPS] Update Portuguese translation (#2820)

Update translation following PR #2792.

3 years ago[USERENV] Implement DeleteProfileW()
Eric Kohl [Sat, 23 May 2020 10:37:16 +0000 (12:37 +0200)]
[USERENV] Implement DeleteProfileW()

3 years ago[SAMSRV] SampInitializeSAM: Fix indentation and add comments
Eric Kohl [Sat, 23 May 2020 09:27:35 +0000 (11:27 +0200)]
[SAMSRV] SampInitializeSAM: Fix indentation and add comments

3 years ago[WINSPOOL] GetPrinterA(): Refactor failure handling (#2830)
Serge Gautherie [Sat, 23 May 2020 07:08:00 +0000 (09:08 +0200)]
[WINSPOOL] GetPrinterA(): Refactor failure handling (#2830)

Addendum to ecde3768254664ca40a3f2fa49d1342d4bd92c02.

3 years ago[DEVMGR] Use the ShellAboutW API routine to display the about dialog and French trans...
Kyle Katarn [Fri, 22 May 2020 13:53:17 +0000 (15:53 +0200)]
[DEVMGR] Use the ShellAboutW API routine to display the about dialog and French translation update (#2807)

As the dialog simply displays the copyright names and nothing particular it makes sense to use ShellAboutW() instead.
Similar to #2743 by @HBelusca

3 years ago[SYSSETUP][MAIN] Fix Mouse Properties UI and improve French translation (#2810)
Kyle Katarn [Fri, 22 May 2020 13:49:27 +0000 (15:49 +0200)]
[SYSSETUP][MAIN] Fix Mouse Properties UI and improve French translation (#2810)

- PS2 Mouse Advanced Properties : Static control (frame) added
- PS2 Mouse Advanced Properties : French translation added and control layout adapted accordingly
- Mouse CPL > Wheel > Sroll line text box ES_NUMBER style added
- ReactOS Setup : French translation added

3 years ago[BROWSER] Add the browser service
Eric Kohl [Thu, 21 May 2020 20:49:33 +0000 (22:49 +0200)]
[BROWSER] Add the browser service

3 years ago[UMPNPMGR] Start work on PNP_GetNextResDes()
Eric Kohl [Thu, 21 May 2020 19:49:46 +0000 (21:49 +0200)]
[UMPNPMGR] Start work on PNP_GetNextResDes()

3 years ago[SYSSETUP] DoWriteProductOption(): Fix 'pData' copypastas (#2826)
Serge Gautherie [Thu, 21 May 2020 16:52:50 +0000 (18:52 +0200)]
[SYSSETUP] DoWriteProductOption(): Fix 'pData' copypastas (#2826)

Addendum to 612729b09272aeb693e156de6b5991891951dbf2.

CORE-17069

3 years ago[ACCESS.CPL] Improvements to Portuguese translation (#2800)
Jose Carlos Jesus [Thu, 21 May 2020 13:36:33 +0000 (14:36 +0100)]
[ACCESS.CPL] Improvements to Portuguese translation (#2800)

3 years ago[NTOS:INBV] Fix screen flash and more (#2821)
Yaroslav Kibysh [Wed, 20 May 2020 22:23:17 +0000 (01:23 +0300)]
[NTOS:INBV] Fix screen flash and more (#2821)

- Fix screen flash (CORE-16786);
- Don't process rotating bar if not used.

3 years ago[RAPPS] Rapps trivial fixes (#2819)
He Yang [Wed, 20 May 2020 22:21:26 +0000 (06:21 +0800)]
[RAPPS] Rapps trivial fixes (#2819)

- Specify W explicitly for URL_COMPONENTS;
- Remove malloc/free for once used HostName in urlComponents;
- Use PathAppendW to operate on path string.

3 years ago[SDK][FREETYPE] Fix GCC8.4 -O2 build
Victor Perevertkin [Wed, 20 May 2020 22:07:26 +0000 (01:07 +0300)]
[SDK][FREETYPE] Fix GCC8.4 -O2 build

3 years ago[REACTOS] Remove executable bits on source files (#2822)
Serge Gautherie [Wed, 20 May 2020 21:09:44 +0000 (23:09 +0200)]
[REACTOS] Remove executable bits on source files (#2822)

3 years ago[UMPNPMGR] Improve some debug messages
Eric Kohl [Sun, 17 May 2020 18:35:41 +0000 (20:35 +0200)]
[UMPNPMGR] Improve some debug messages

3 years ago[RAPPS] French translation update following PR #2792 (#2815)
Kyle Katarn [Wed, 20 May 2020 14:05:12 +0000 (16:05 +0200)]
[RAPPS] French translation update following PR #2792 (#2815)

3 years ago[MAIN.CPL] Fix of Keyboard settings French translation (#2812)
Kyle Katarn [Wed, 20 May 2020 13:47:24 +0000 (15:47 +0200)]
[MAIN.CPL] Fix of Keyboard settings French translation (#2812)

3 years ago[TIMEDATE] French translation (#2811)
Kyle Katarn [Wed, 20 May 2020 13:45:47 +0000 (15:45 +0200)]
[TIMEDATE] French translation (#2811)

3 years ago[SHELL32] Allow creation of an empty CFileSysEnum
Mark Jansen [Tue, 19 May 2020 18:35:52 +0000 (20:35 +0200)]
[SHELL32] Allow creation of an empty CFileSysEnum
CORE-16908

3 years ago[SYSSETUP] Fix broken build on RosBE2.1.6 CORE-17028
Joachim Henze [Tue, 19 May 2020 18:32:21 +0000 (20:32 +0200)]
[SYSSETUP] Fix broken build on RosBE2.1.6 CORE-17028

The build broke due to a typo introduced by
0.4.15-dev-275-g
612729b09272aeb693e156de6b5991891951dbf2

../dll/win32/syssetup/wizard.c: In function 'ProductPageDlgProc':
../dll/win32/syssetup/wizard.c:527:5: error: ISO C90 forbids mixed declarations and code [-Werror=declaration-
after-statement]
cc1.exe: all warnings being treated as errors

3 years ago[RAPPS] Move database source URL to settings dialog (#2792)
He Yang [Tue, 19 May 2020 17:06:10 +0000 (01:06 +0800)]
[RAPPS] Move database source URL to settings dialog (#2792)

- Add download source in settings dialog, and apply it when download .cab file
- Now user should specify full rappmgr.cab URL
- Check if URL is vaild in settings dialog
- Move source settings to the end of struct (will refactor settings to one value per option later)

3 years ago[JOY] Fix missing UI elements and French translation (#2808)
Kyle Katarn [Tue, 19 May 2020 10:09:05 +0000 (12:09 +0200)]
[JOY] Fix missing UI elements and French translation (#2808)

Missing GUI elements added.
Improve French translation.

3 years ago[SYSSETUP][BOOTDATA] Make Server default again and write Service Pack (#2749)
Katayama Hirofumi MZ [Tue, 19 May 2020 06:41:26 +0000 (15:41 +0900)]
[SYSSETUP][BOOTDATA] Make Server default again and write Service Pack (#2749)

- Make "ReactOS Server" the default product option again instead of "ReactOS Workstation".
- Write "Service Pack" info onto registry.
- Add ProductOption option to bootcd unattend.inf.
- Delete IDC_PRODUCT_SUITE and IDC_PRODUCT_TYPE controls.
CORE-17028

3 years ago[SHELL32_APITEST] Strengthen SHChangeNotify testcase (#2797)
Katayama Hirofumi MZ [Tue, 19 May 2020 00:29:42 +0000 (09:29 +0900)]
[SHELL32_APITEST] Strengthen SHChangeNotify testcase (#2797)

Investigate on nSources and fRecursive parameters. CORE-13950

3 years ago[SHELL32_APITEST] Disabled DragDrop test due to race condition
Victor Perevertkin [Mon, 18 May 2020 17:50:07 +0000 (20:50 +0300)]
[SHELL32_APITEST] Disabled DragDrop test due to race condition
To be enabled back when the bug is fixed
CORE-17057

3 years ago[CMD] Add a ExecuteCommandWithEcho() helper and use it in Batch() and as the implemen...
Hermès Bélusca-Maïto [Mon, 18 May 2020 00:03:15 +0000 (02:03 +0200)]
[CMD] Add a ExecuteCommandWithEcho() helper and use it in Batch() and as the implementation of RunInstance() FOR-loop helper.

3 years ago[CMD] Fix the stop-batch prompt appearance: do not display it more than once in a...
Hermès Bélusca-Maïto [Sun, 17 May 2020 18:13:32 +0000 (20:13 +0200)]
[CMD] Fix the stop-batch prompt appearance: do not display it more than once in a row.

3 years ago[CMD] Fix the ErrorMessage() function.
Hermès Bélusca-Maïto [Sun, 17 May 2020 18:08:41 +0000 (20:08 +0200)]
[CMD] Fix the ErrorMessage() function.

Specify its szFormat parameter optional, and correctly initialize the
szMessage buffer.

3 years ago[DESK][TIMEDATE] Update Portuguese translation (#2801)
Jose Carlos Jesus [Sun, 17 May 2020 21:53:54 +0000 (22:53 +0100)]
[DESK][TIMEDATE] Update Portuguese translation (#2801)

3 years ago[EVENTVWR] Update polish translation (#2804)
Adam Stachowicz [Sun, 17 May 2020 21:39:56 +0000 (23:39 +0200)]
[EVENTVWR] Update polish translation (#2804)

After commit 8756cec0.

3 years ago[FREELDR] Fix I/O range size of serial ports
Hervé Poussineau [Sun, 17 May 2020 20:49:47 +0000 (22:49 +0200)]
[FREELDR] Fix I/O range size of serial ports

3 years ago[NTOS:OB] Fix incorrect variable name in ObfDereferenceObject.
Thomas Faber [Fri, 8 May 2020 15:53:29 +0000 (17:53 +0200)]
[NTOS:OB] Fix incorrect variable name in ObfDereferenceObject.

3 years ago[NTOS] Prohibit use of MAX_PATH in the kernel. Use MAX_WIN32_PATH if you really mean...
Thomas Faber [Sun, 31 Mar 2019 07:18:16 +0000 (09:18 +0200)]
[NTOS] Prohibit use of MAX_PATH in the kernel. Use MAX_WIN32_PATH if you really mean it. CORE-15882

3 years ago[NTOS:PNP] Directly accept a UNICODE_STRING in LocateChildDevice. CORE-15882 2720/head
Thomas Faber [Sat, 2 May 2020 15:57:46 +0000 (17:57 +0200)]
[NTOS:PNP] Directly accept a UNICODE_STRING in LocateChildDevice. CORE-15882

3 years ago[NTOS:PNP] Avoid an unnecessary stack buffer in PnpRootCreateDevice. CORE-15882
Thomas Faber [Sat, 2 May 2020 15:42:40 +0000 (17:42 +0200)]
[NTOS:PNP] Avoid an unnecessary stack buffer in PnpRootCreateDevice. CORE-15882

3 years ago[NTOS:PNP] Avoid an unnecessary stack buffer in EnumerateDevices. CORE-15882
Thomas Faber [Sat, 2 May 2020 15:33:24 +0000 (17:33 +0200)]
[NTOS:PNP] Avoid an unnecessary stack buffer in EnumerateDevices. CORE-15882

3 years ago[NTOS:PNP] Move child device creation into its own function
Thomas Faber [Sat, 2 May 2020 15:08:12 +0000 (17:08 +0200)]
[NTOS:PNP] Move child device creation into its own function

Also fix some leaks and a DPRINT format string.

3 years ago[SETUPAPI] Implement CM_Get_Next_Res_Des_Ex() partially (WIP)
Eric Kohl [Sun, 17 May 2020 17:37:49 +0000 (19:37 +0200)]
[SETUPAPI] Implement CM_Get_Next_Res_Des_Ex() partially (WIP)

3 years ago[EVENTVWR] Implementation of Properties page functionnal code. (#2744)
Kyle Katarn [Sun, 17 May 2020 16:54:39 +0000 (18:54 +0200)]
[EVENTVWR] Implementation of Properties page functionnal code. (#2744)

Implementation of functional code for log properties page in order to allow user to :
- Make modification and have them taken into account when properties page is closed / apply is used;
- Set defaults (including correction of default max size);
- Delete content of log;
- Make "Apply" button functional based on user inputs;
- Correct default value during installation (duration, size).

- Improve InitPropertiesDlg() error;
- Fix SavePropertiesDlg(): When the event log key does not exist, it is not recreated by the event log viewer.
- GetDisplayNameFileAndID(): Show the error also when opening the event log key fails.

Co-authored-by: Hermès BÉLUSCA - MAÏTO <hermes.belusca-maito@reactos.org>
3 years ago[CHARMAP_NEW] Remove non-existing entries. basque_translation
Hermès Bélusca-Maïto [Sun, 17 May 2020 16:46:14 +0000 (18:46 +0200)]
[CHARMAP_NEW] Remove non-existing entries.

3 years ago[TRANSLATION] Update Spanish, and add Basque translation (#2667)
Julen Urizar Compains [Sun, 26 Apr 2020 03:49:07 +0000 (05:49 +0200)]
[TRANSLATION] Update Spanish, and add Basque translation (#2667)

Add/update translation for:
charmap_new, logoff, mspaint, notepad, usetup, welcome,
hotplug.cpl, sysdm.cpl, aclui.dll, comctl32.dll, comdlg32.dll,
hhctrl.ocx, kernel32.dll, msi.dll, oledlg.dll, shell32.dll,
tapiui.dll, themeui.dll, wininet.dll, winmm.dll, wldap32.dll,
winsrv.dll.

3 years ago[BOOTVID][HALXBOX] Implement boot video driver for Xbox (#2774) 2774/head
Stanislav Motylkov [Tue, 12 May 2020 14:32:37 +0000 (17:32 +0300)]
[BOOTVID][HALXBOX] Implement boot video driver for Xbox (#2774)

Also make HalpBiosDisplayReset() function always return FALSE,
because we don't have a BIOS on Xbox.

CORE-16216 CORE-16219

3 years ago[ACPPAGE] Add Portuguese translation (#2802)
Jose Carlos Jesus [Sun, 17 May 2020 16:12:11 +0000 (17:12 +0100)]
[ACPPAGE] Add Portuguese translation (#2802)

3 years ago[COMDLG32] Differentiate between real and virtual folders, 2746/head
Mark Jansen [Wed, 6 May 2020 20:04:11 +0000 (22:04 +0200)]
[COMDLG32] Differentiate between real and virtual folders,
do not allow traversal inside virtual folders when selecting a file
CORE-16908

3 years ago[SHELLUTILS] Fix Win32DbgPrint's result
Mark Jansen [Sun, 13 Oct 2019 16:05:34 +0000 (18:05 +0200)]
[SHELLUTILS] Fix Win32DbgPrint's result

3 years ago[SHELL32] Properly enumerate virtual shell folders (on files) as fake folders
Mark Jansen [Mon, 27 Apr 2020 18:43:16 +0000 (20:43 +0200)]
[SHELL32] Properly enumerate virtual shell folders (on files) as fake folders
CORE-16908

3 years ago[SHELL32] Update CFileSysEnum to be maintaineable
Mark Jansen [Mon, 27 Apr 2020 14:11:21 +0000 (16:11 +0200)]
[SHELL32] Update CFileSysEnum to be maintaineable
CORE-16908

3 years ago[SHLWAPI] Fix SHRegGetCLSIDKeyW
Mark Jansen [Mon, 27 Apr 2020 10:53:47 +0000 (12:53 +0200)]
[SHLWAPI] Fix SHRegGetCLSIDKeyW

3 years ago[PSDK] Add argument names to SHRegGetValue functions
Mark Jansen [Mon, 27 Apr 2020 14:00:20 +0000 (16:00 +0200)]
[PSDK] Add argument names to SHRegGetValue functions