Commit graph

76422 commits

Author SHA1 Message Date
Amine Khaldi 39343ec6e1 [SCRRUN] Sync with Wine Staging 4.18. CORE-16441 2019-11-30 14:47:27 +01:00
Amine Khaldi 858af2db9d [SCCBASE] Sync with Wine Staging 4.18. CORE-16441 2019-11-30 14:46:59 +01:00
Eric Kohl c1f22c88ca [STORAGE] Storage driver cleanup part 5 (last part)
Move the fdc and flpydrv drivers into the floppy directory.
2019-11-30 13:33:32 +01:00
Eric Kohl 2a2040a9fe [STORAGE] Storage driver cleanup part 4
Move the floppy driver into the floppy/floppy directory.
2019-11-30 13:13:59 +01:00
Eric Kohl 9393c6a48b [STORAGE] Storage driver cleanup part 3
Move the storahci driver into the port directory.
2019-11-30 12:58:59 +01:00
Eric Kohl d736908967 [STORAGE] Storage driver cleanup part 2
Move the scsiport driver into the port directory.
2019-11-30 12:19:03 +01:00
Eric Kohl 6b687478d1 [STORAGE] Storage driver cleanup part 1
Move the classpnp driver into the class directory because it is a class driver, just like the class2 driver.
2019-11-30 11:54:33 +01:00
Katayama Hirofumi MZ 0e2bb5b0b8
[SHELL32] Validate file operation (#2085)
- Support FOF_RENAMEONCOLLISION flag of SHFileOperationW.
- Add validate_operation function and use it in SHFileOperationW.

CORE-10225
2019-11-30 15:36:16 +09:00
Katayama Hirofumi MZ ccc52d2e5b
[KERNEL32] Fix multibyte conversion in default char (#2111)
Fix kernel32!MultiByteToWideChar function. The default character was wrong. CORE-16468
2019-11-30 15:10:10 +09:00
Katayama Hirofumi MZ 1ad16a37f2 [USERENV] Fix Japanese profile info
Probably we shouldn't localize IDS_APPDATA and IDS_LOCALSETTINGS resource strings of userenv module until localization complete.
CORE-16539
2019-11-30 14:55:45 +09:00
Katayama Hirofumi MZ 00fb9053f9
[MEDIA][NLS] Fix c_932.nls header (#2110)
Modify and fix file c_932.nls that is codepage 932 information of NLS (National Language Support). CORE-16468
2019-11-30 12:57:29 +09:00
Oleg Dubinskiy 965e17dbc4 [WINSTA] Export WinStationRedirectErrorMessage (#2072)
Add export for WinStationRedirectErrorMessage() function in Winsta. We already have a stub for this function in dll/win32/winsta/logon.c, but for some reason it is not exported.
Required by MS Winlogon with Win32SS and some other needed dlls replaced. Now it fails due to missing WinStationCanLogonProceed, for which we currently haven't a stub.

This function has been introduced with Win2k3 SP1 (and exists in SP2 as well), see http://blog.airesoft.co.uk/apichanges/changes-Server2003%20SP0-To-Server2003%20SP1.xml#winsta.dll

JIRA issue: CORE-16458
2019-11-29 14:51:04 +01:00
Oleg Dubinskiy be460fe03f [RPCRT4] Stub RpcGetAuthorizationContextForClient (#2042)
## Purpose

Add a stub for RpcGetAuthorizationContextForClient function into rpcrt4, according to https://docs.microsoft.com/en-us/windows/win32/api/rpcasync/nf-rpcasync-rpcgetauthorizationcontextforclient (but with Wine-specific diffs in the syntax, according to the code guidelines: https://wiki.winehq.org/Submitting_Patches#Code_guidelines, since we're syncing rpcrt4 with Wine). Required by MS Winlogon with also Win32 subsystem and some other dlls replaced (aka ROS-Frankenstein), so after my changes it doesn't fail with our rpcrt4.dll at the system startup.
I think I also need to submit a patch in Wine, but it is a bit problematically to reproduce this error there, since Wine has no even winlogon.exe, and launching MS Winlogon in pair with profmap.dll, causes the crash due to unimplemented RtlSetProcessIsCritical function in ntdll (which is completely different than our). Ftr, our ntdll already has it implemented: https://git.reactos.org/?p=reactos.git;a=blob;f=sdk/lib/rtl/process.c;hb=67c78d88c885ca92c72e2bcf59ddcf1d429096b1#l453 But with MS ntdll.dll, as far as I know, Wine will not work.

JIRA issue: CORE-16458

Although this PR doesn't fix that shutdown issue, it at least improves the situation with replaced system files and allows to investigate it more.

## Proposed changes

- Add a stub for the function in `dll/win32/rpcrt4/rpc_async.c`;
- Properly call it in `dll/win32/rpcrt4/rpcrt4.spec`.
2019-11-29 14:19:56 +01:00
Serge Gautherie 7e1338eac2 [BOOTDATA] Restore "CMD here" 'Extended' key, but commented out (#2093)
Addendum to db5a2fff
CORE-16519
2019-11-29 14:13:59 +01:00
Serge Gautherie ad6f1ac72b [DEVMGR] CClassNode::SetupNode(): Properly use Type (#2100) 2019-11-29 14:13:13 +01:00
Katayama Hirofumi MZ 6bf099a662 [ATTRIB] Delete unused variable 'szText' 2019-11-29 20:08:46 +09:00
Katayama Hirofumi MZ 189f648584
[CMDUTILS][ATTRIB] Support folder attributes (#2103)
CORE-16538
2019-11-29 20:03:19 +09:00
Oleg Dubinskiy c6b64448ce [KERNEL32] Stub GetSystemTimePreciseAsFileTime 2019-11-29 09:03:09 +01:00
William Kent 192926ee02 Stub GetCurrentPackageId() (#1942)
* [KERNEL32] Add stub implementation for GetCurrentPackageId() function

This Windows 8+ function is called by WiX bundles (EXE-based installers) upon exit, if the export is present. If it is a stub in the spec, they will crash, even if they are coded to be compatible with Windows XP/ReactOS.
Also add GetCurrentPackageId() forwarder to apiset.
2019-11-29 08:56:02 +01:00
Serge Gautherie 3d84e25ac0 [CHARMAP] LoadSettings(): Properly use RegQueryValueEx() 2019-11-29 10:45:02 +03:00
Serge Gautherie 2c8f2a099b [OPENGLCFG] general.c: Fix overruns and warnings, improve code consistency (#1923)
* [OPENGLCFG] dwNumDrivers: Fix related pOglDrivers[] overruns

Follow-up to e7b8f27309.

* [OPENGLCFG] dwNumDrivers: Sync related iKey to DWORD type

* [OPENGLCFG] Fix 2 MSVC-x64 'C4267' warnings about RegSetValueExW()
2019-11-29 08:43:15 +01:00
Serge Gautherie 1fa2780796 [NETSTAT] Fix output formats and more (#1709)
* [NETSTAT] Restore expected output formats

"Revert" parts of bd3c852012.

CORE-16119

* [NETSTAT] Improve default and ICMPv4 output formats

* [NETSTAT] Fix a few typos, in output strings

* [NETSTAT] Output usage to StdErr

* [NETSTAT] Be more explicit about unimplemented -b/-t/-v options
2019-11-29 08:26:19 +01:00
Katayama Hirofumi MZ 5734570a15
[BOOT][SHELL32][INCLUDE] Support 'SuperHidden' files (#2102)
PR #2101 shows desktop.ini files on Desktop. I want to hide them.
- Add "ShowSuperHidden" setting to Explorer.
- Add SHCONTF_INCLUDESUPERHIDDEN flag.
- Support SHCONTF_INCLUDESUPERHIDDEN in Explorer.
CORE-10045
2019-11-29 15:14:18 +09:00
Katayama Hirofumi MZ 2c272a9017
[SHELL32] Add desktop.ini more to some folders (#2101)
Provides special icons for special folders by adding desktop.ini. CORE-10045
2019-11-29 14:40:04 +09:00
Katayama Hirofumi MZ f7ef99fcc8
[CMD_APITEST] Add attrib testcase (#2104)
CORE-16284
2019-11-29 11:13:17 +09:00
Mark Jansen 82b758974f
[URLMON] Delay-load advpack
CORE-5007
2019-11-28 21:40:20 +01:00
Katayama Hirofumi MZ 5d7c5cf459 [USERENV] Improve Japanese translation (again) 2019-11-28 18:50:45 +09:00
Katayama Hirofumi MZ f06516bc66 [USERENV] Improve Japanese translation 2019-11-28 13:44:50 +09:00
Katayama Hirofumi MZ 5538facfdd
[SHELL32] Add SendTo DeskLink (Retry) (#2099)
CORE-12562
2019-11-27 20:09:19 +09:00
Katayama Hirofumi MZ 004e08383a
[SENDMAIL][INCLUDE][INF] Add sendmail.dll for DeskLink (#2092)
*.DeskLink file realizes SendTo Desktop (Create shortcut) in Windows. DeskLink is implemented in the sendmail.dll module. CORE-12562
2019-11-27 19:26:49 +09:00
Jared Smudde 30e0c2430d [SHELL32] Disable all controls during format and re-enable after format is complete. (#2098) 2019-11-27 09:18:50 +01:00
Katayama Hirofumi MZ 0b938a35bd [MEDIA][FONTS] Improve tahomabd.ttf (Latin and Punctuation) No.33
Tahoma Bold.
Version 0.019 khmz.
13px COMMERCIAL AT.
13px LATIN CAPITAL LETTER V.
13px LATIN CAPITAL LETTER W.
13px LATIN CAPITAL LETTER W WITH CIRCUMFLEX.
13px LATIN SMALL LETTER V.
13px LATIN SMALL LETTER W.
13px LATIN SMALL LETTER W WITH CIRCUMFLEX.
13px LATIN SMALL LETTER ETH.
CORE-8408
2019-11-27 16:53:05 +09:00
Serge Gautherie 9c82d16b14 [DEVMGR] m_DisplayName: Some functions need bytes, not chars
Also:
Always use explicit _countof() and sizeof().
Add a missing 'Size' re-init.
2019-11-27 10:22:46 +03:00
Katayama Hirofumi MZ c3da027012 [MEDIA][FONTS] Improve tahomabd.ttf (Punctuations) No.32
Tahoma Bold.
Version 0.018 khmz.
NUMBER SIGN.
CORE-8408
2019-11-27 16:15:09 +09:00
Serge Gautherie f5b10b4d0d [CABMAN] Fix 2 handle leaks, in case of error (#2044)
CORE-11090
2019-11-27 01:49:08 +01:00
Serge Gautherie c741b1c185 [SETUPAPI] profile_items_callback(): Check LinkName (#2049)
CORE-11612
2019-11-27 01:48:32 +01:00
Mas4hmad 9d1ce7c35c [TRANSLATION] Update Indonesian translation (#2037)
Update Indonesian translation for AVIFILE, CLIPBRD and USERENV.
2019-11-27 01:40:51 +01:00
Hermès Bélusca-Maïto f986527d49
[BOOTLIB] Remove a useless 'FontDirectory' check as it becomes always valid (!= NULL) through the function.
CORE-11590

Adapted from Victor Martinez patch & Serge Gautherie PR #2062
2019-11-27 01:30:56 +01:00
Katayama Hirofumi MZ 591b2b807c [MEDIA][FONTS] Improve tahomabd.ttf (Punctuations) No.31
Tahoma Bold.
Version 0.017 khmz.
GRAVE ACCENT.
CORE-8408
2019-11-27 09:06:21 +09:00
Serge Gautherie 27502f5c51 [COMCTL32] Minimize Wine diff (#2035)
Addendum to b931f643e3.

CORE-16466
2019-11-27 07:27:21 +09:00
Serge Gautherie 3bc93e9353 [MMC] DoSaveFileAs(): Respect szPath size (#2068)
CORE-11688
2019-11-27 07:24:51 +09:00
Katayama Hirofumi MZ cfdbccf937
[SHELL32] Follow-up of #2076 (#2091)
Fix EXE and SCR file icons. CORE-16533
2019-11-26 21:45:58 +09:00
Katayama Hirofumi MZ bd25333e24
[SHELL32] Make SHFormatDrive multi-thread (#2080)
CORE-12756
2019-11-26 18:26:25 +09:00
Katayama Hirofumi MZ cd75a87cfd
[SHELL32] Improve DragEnter of CFSDropTarget (#2073)
Reduce failures of DragDrop testcase. CORE-11238
2019-11-26 17:34:24 +09:00
Katayama Hirofumi MZ d8187d33be [MEDIA][FONTS] Improve tahomabd.ttf (Punctuations) No.30
Tahoma Bold.
Version 0.016 khmz.
PUNCTUATIONS.
CORE-8408
2019-11-26 09:41:46 +09:00
Timo Kreuzer 21647e2c4e [NTOS] Revert pool debugging code
Revert "[NTOS] On DBG builds, fill pool allocations with 0xCD and freed pool with 0xDD"
This reverts commit 24f240be8a.

Revert "[NTOS] Add compile time option to trace callers of pool allocations"
This reverts commit 8b20755040.

Revert "WIP"
This reverts commit 8cfd5c601f.
2019-11-25 19:32:06 +01:00
Serge Gautherie 1f8dcf3c0e [SYSDM] IMGINFO: Fix 'iPLanes' typo (#2059) 2019-11-25 18:50:03 +01:00
Serge Gautherie fdc787c11d [HALX86] Remove a now useless ASSERT() (#2089)
By construction now the assertion will always be verified.
Addendum to 5887b170.
2019-11-25 18:29:03 +01:00
Hermès Bélusca-Maïto 28b77a40ca
[NDK][NTOS:INBV] Remove non-exported INBV functions from NDK; do some cleanup in INBV headers; label both InbvSetProgressBarSubset() and InbvSetProgressBarCoordinates() as INIT_FUNCTION since they are used only for the boot splash. And fix MSVC build. 2019-11-25 15:54:45 +01:00
Hermès Bélusca-Maïto 04c8ed493d
[NDK] Addendum to 592f01a5, fix build. 2019-11-25 02:28:08 +01:00