Commit graph

77404 commits

Author SHA1 Message Date
Serge Gautherie c8448b2d39 [0.4.14][SYSSETUP] DoWriteProductOption(): Fix 'pData' copypastas (#2826)
Addendum to 0.4.14-RC-18-g
8e17342c8c

Fixes CORE-17069
Fixes unittests ntdll:RtlGetNtProductType

cherry picked from commit 0.4.15-dev-289-g
ef6711c904
2020-05-22 00:13:15 +02:00
Joachim Henze 8e17342c8c [0.4.14][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
612729b092

../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

fix cherry-picked from 0.4.15-dev-278-g
4cbb21761c
-------------------------
[0.4.14][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.

To fix regression with Visual Studio 2010 setup CORE-17028

I took 2 translation files in their most recent version from master 0.4.15-dev-275-g
612729b to prevent having to resolve any conflicts manually:
tr-TR.rc
uk-UA.rc

cherry picked from commit 0.4.15-dev-275-g
612729b092
2020-05-19 22:44:51 +02:00
Mark Jansen f6cc6681ce [0.4.14][COMDLG32] Differentiate between real and virtual folders,
do not allow traversal inside virtual folders when selecting a file

part of the fix for CORE-16908
"Unable to select a Zip file for sending with Common Open Dialog"
which was unhidden by 0.4.9-dev-632-g
da6a46c6ac

fix cherry-picked from commit 0.4.15-dev-254-g
332889b8d7
2020-05-19 02:26:07 +02:00
Mark Jansen e13ff4aeb8 [0.4.14][SHELL32] Properly enumerate virtual shell folders (on files) as fake folders
part of the fix for CORE-16908
"Unable to select a Zip file for sending with Common Open Dialog"
which was unhidden by 0.4.9-dev-632-g
da6a46c6ac

fix cherry-picked from commit 0.4.15-dev-252-g
f379a29606
2020-05-19 02:11:08 +02:00
Mark Jansen b217260f87 [0.4.14][SHELL32] Update CFileSysEnum to be maintaineable
part of the fix for CORE-16908
"Unable to select a Zip file for sending with Common Open Dialog"
which was unhidden by 0.4.9-dev-632-g
da6a46c6ac

fix cherry picked from commit 0.4.15-dev-251-g
b1003ae909
2020-05-19 02:09:43 +02:00
Mark Jansen c37382ea72 [0.4.14][SHLWAPI] Fix SHRegGetCLSIDKeyW
part of the fix for CORE-16908
"Unable to select a Zip file for sending with Common Open Dialog"
which was unhidden by 0.4.9-dev-632-g
da6a46c6ac

fix cherry-picked from commit 0.4.15-dev-250-g
ac215455bb
2020-05-19 02:08:10 +02:00
Joachim Henze 8d60d2e115 [0.4.14][NTOSKRNL] Restore section layout for NTOSKRNL to fix BSOD regression CORE-14683
This version (after .rsrc) works different than the
proper version I used for 0.4.12 (after .reloc).

Inserting after .rsrc is actually not correct, but Thomas believes it can
be used as a temporary trick to avoid random memory corruption upon
relocations of the kernel, caused by ROSBE-154.

I follow his advice, although when judging from practical tests only:
as long as we limit this script to NTOSKRNL like I do for releases
there have no negative consequences been observed in real life yet
even with the proper version of 0.4.12.
Up to now those problems have only been observed when used for drivers
MODULE TYPE sdk/cmake/gcc.cmake as well, like
it was tried for a moment in master 0.4.13-dev-609-g
c4d8e2a6e9

Using for drivers immediately did lead to BSODs like CORE-16183 and therefore was
mitigated in master by total disabling of the scripts for both,
kernel and drivers in
0.4.13-dev-621-g
36e9a6f8dd

To allow installing DVDWritenow without BSOD,
we need the script at least for ntoskrnl!

I committed this patch (after .rsrc) already into 0.4.13RC and master
cherry picked from commit 0.4.15-dev-220-g
d28677795e
2020-05-13 17:14:27 +02:00
Joachim Henze 39c8537e20 [0.4.14][MSAFD] Workaround regression CORE-15804
To fix 'MSTSC fails to connect with error "ERROR: Bad packet header"'
which regressed by 0.4.12-dev-752-g
6bc61f63f1

In 0.4.12 and 0.4.13 releases I totally reverted
Pierre Schweitzer's work instead.

Thanks to Doug Lyons, author of this new workaround,
we can keep Pierre's work.
We think MSAFD is a better place to workaround than
our MSTSC binary, because our MSTSC runs fine on
W2K3SP2.

fix cherry picked from commit 0.4.15-dev-211-g
666fe66fe9
2020-05-13 02:44:03 +02:00
Joachim Henze 63217a736b [0.4.14][UNIATA] Workaround regression CORE-16078, booting broke on specific Intel Z170
JIRA-user "Illen" reported booting from his Z170 controller worked up to
0.4.12-dev-936-g89aaf0e
and would refuse booting - beginning with uniata commit
0.4.12-dev-937-g
b546130731

For sure this workaround is just a temporary and no proper solution,
but was confirmed to be working by "Illen".
We have no clear understanding of the real bug yet.
Can be replaced by something better at any time.
It was already committed into 0.4.12, 0.4.13, and master.
We never had an affected release therefore.

cherry picked from commit 0.4.15-dev-210-g
6c0ff7bd84
2020-05-12 21:23:41 +02:00
Katayama Hirofumi MZ 5a1776933b [0.4.14][WIN32SS] Fix DrawTextExWorker extent for Spotify (#2759)
fixes regression CORE-16747 according to JIRA user 'Oleg Dubinskiy'.
The regression did not reproduce for me when I tested the unpatched
state locally though.

According to Oleg Dubinskiy the regression started to happen in
0.4.14-dev-599-g
2d4d3f5fce

fix cherry picked from commit 0.4.15-dev-204-g
97ccef7761
2020-05-11 21:41:09 +02:00
Kyle Katarn 24c8e87ece [0.4.14][COMCTL32] Treeview undo handling of WM_SYSKEYDOWN (#2731)
Remove WM_SYSKEYDOWN handling at component level, in consistency with other components (ListView,...)
Early embodiement of the fix proposed to WineHQ:
https://bugs.winehq.org/show_bug.cgi?id=49097 in order to remove functional limitation in ReactOS.

Fixes regressions CORE-17020 and CORE-12203 that were once introduced
by SVN r72320 == git 297e33f228
during COMCTL32 WineSync 1.9.16 CORE-11866

Fix cherry.picked from 0.4.15-dev-191-g
295ba62820
2020-05-11 15:41:09 +02:00
Victor Perevertkin 1734c56e24 [0.4.14][HTTPAPI] Convert httpapi.dll to a stub-only library
Wine's implementation relies on http.sys driver, which we don't have
anyway. Function declarations are taken from Wine 5.7

This fixes regression "failure of VS2010 setup" CORE-16963
which was introduced by 0.4.14-dev-198-g
ebcc4c6109

cherry picked from commit 0.4.15-dev-161-g
8bd9450da8

Luckily no release was ever affected by this therefore.
2020-05-07 15:03:18 +02:00
Joachim Henze 33d3631d35 [0.4.14][FREELDR] Workaround regression CORE-16469
This prevents ReactOS asserting when 'My computer'
is opened, while it tries to send commands to floppy drive.

Many thanks to patches author Doug Lyons.

The regression was introduced by 0.4.13-dev-1081-g
eeff926ede

patch was committed to 0.4.13rls and 0.4.14rls as well.

Today it was committed to master as well, as
the initially planned investigation for the root cause
did still not happen and we can not afford the time
to retest and workaround this over and over again.
Thank god that Oleg Dubinskiy was still around to retest
this again and confirmed it can still happen, because
unlike initially, personally I was not able to reproduce it
today anymore!

Since every release was work-arounded, we did never
expose the bug in any final release.

cherry-picked from 0.4.15-dev-174-g
7c81fb8f56
2020-05-06 23:49:20 +02:00
Kyle Katarn c3c6958cbf [0.4.14][MMSYS] Fix combo box and play icon on "Sound" properties page (#2690)
CORE-16935

I merged that back, because at least the play-icon was a regression.
We did not always use an icon here, but instead earlier we just had some
font glyph displaying the play-symbol. It was once changed to icon to improve
display for some asian localization (japanese? iirc).
And the current bad display most likely was a consequence of that.

cherry picked from commit 0.4.15-dev-86-g
bdb4da009a
2020-05-05 02:40:36 +02:00
Victor Perevertkin 88506d54aa [0.4.14][CMAKE] Fix build with CMake 3.17.1-ReactOS (RosBE 2.2)
Although I do not intend to build the 0.4.14rls with the new
ROSBE2.2.0 RC yet, it may still be helpful in the future to have
the flexibility to build it not only with the old RosBE2.1.6.
I tested the build process successfully in XPSP3 with RosBE2.2.0
after applying this patch. Without it fails with PCH issue.

cherry picked from commit 0.4.15-dev-61-g
8639a131b0
2020-04-30 02:46:37 +02:00
Mark Jansen ccdc721c41 [0.4.14][WIN32K] CORE-16993 / (CORE-13019) Mute a DPRINT
which spams and hits performance. It wasn't present in ancient times.

cherry picked from commit 0.4.15-dev-67-g
a98bebb0b0
2020-04-30 00:41:35 +02:00
Serge Gautherie 85a7dbaa56 [0.4.14][MSVCRT][APISETS] Update spec files for __DestructExceptionObject() (#2682)
- [MSVCRT] __DestructExceptionObject(): Remove '-version=0x600+'
- [APISETS] __DestructExceptionObject(): Forward it to msvcrt

CORE-15135

I cherry-picked this, because we did export a stub for that historically at least
"commented". :-)
Exporting it 0x600+ only is regression of
0.4.13-dev-1032-g
99fe069ce6
Sure unobservable, because was a change within a comment only.

cherry picked from commit 0.4.15-dev-87-g
a9161650ad
2020-04-29 23:58:51 +02:00
Joachim Henze 824f887383 [0.4.14] Vista+ Apiset Exposure OPT-IN in releases instead of OPT-OUT in master
By using the capabilities created in CORE-16631.
This will fix many crash-regressions in apps that have "Vista+ready"-manifests.
A good default setting for releases to protect "average Joe".
We think that's a tolerable balance.

E.g: This will fix CORE-16700 and CORE-16707 for releases.

The reason for those crashes is that we have far too many gaps in our apisets still.

Adventurous users have two options in releases if they want to expose more apisets
(and additional crashes when apisets are not implemented yet):
1.) change registry setting "HKLM\SOFTWARE\Policies\Microsoft\Windows\AppCompat" "DisableCompatGuidDetection" back to 0
to switch the global behavior to act like master-state (== opt-out)
or
2.) Select the "Windows 7" shim for example individually per app for more apiset exposure.
(more safe than option 1)

Contrary master will remain affected by such crashes and users will
have to manually apply shim "IgnoreManifestCompatVersion" on each affected app for opt-out,
as we intend to abuse master as a testing platform to spot gaps in apisets and problematic apps more quickly.

Thanks to Mark Jansen for having implemented that flexibility.

Like done in last release.
2020-04-25 03:20:59 +02:00
Thomas Faber 0fbebb8f73 [0.4.14][WIN32SS] Mask WndProc exceptions to hide all tickets linked to CORE-11915
my testcase: this allows opening an exe/dll with MsDepends (CORE-12052)
Unfortunately still necessary, luckily still effective
and also reliably hides a lot of other crashes due to uncaught exceptions

like done in all earlier releases since 0.4.3
cherry picked from commit bca25b10b4
2020-04-25 01:44:58 +02:00
Joachim Henze 5d7dbc8a4e [0.4.14] Branch releases/0.4.14 & change KERNEL_VERSION_BUILD_TYPE "RC" 2020-04-24 22:16:48 +02:00
Kyle Katarn 4d2d2dbb25
[SYSDM] Virtual Memory panel : improve settings for pagefile + fr-fr translation
* Fix for CORE-12486

Co-Authored-By: Katayama Hirofumi MZ <katayama.hirofumi.mz@gmail.com>
Co-authored-by: Sylvain Deverre <deverre.sylv@gmail.com>
2020-04-24 18:28:38 +02:00
Kyle Katarn 216b702fb6
[INTL] Translate hardcoded string (#2654)
CORE-16951
2020-04-24 17:27:07 +03:00
Thomas Faber 3e9c4dad66
[WINDOWSCODECS] Use upstream Wine fix for 4bps BGRA TIFF. CORE-16796
Import Wine commits by Dmitry Timoshkov:
* 0cd8502b49 windowscodecs: Add support for 4bps RGBA format to TIFF decoder.
* 962bb99352 windowscodecs/tests: Add a separate test for 4bps BGRA TIFF format.
2020-04-24 14:56:26 +02:00
Thomas Faber b01a480163
[LIBXSLT] Update to version 1.1.34. CORE-16952 2020-04-24 14:45:03 +02:00
Thomas Faber f22fa382fe
[LIBXML2] Update to version 2.9.10. CORE-16952 2020-04-24 14:44:52 +02:00
Timo Kreuzer b82bf8ce16
[NTOS:IO] Fix parsing of resource lists
Also add a hack to avoid failing on now occurring resource conflict detection and try to fix at least one resource in ACPI hal.

CORE-10146
CORE-12892
2020-04-24 13:58:09 +03:00
Victor Perevertkin c42e1246d1
[GITIGNORE] Remove "build" folder, which discards some commited files 2020-04-24 12:44:05 +03:00
Katayama Hirofumi MZ 774ef4e80e
[SDK][RTL][NTDLL_APITEST] Add RtlMultipleAllocateHeap and RtlMultipleFreeHeap (#2641)
- Add RtlMultipleAllocateHeap and RtlMultipleFreeHeap functions (2k3+).
- Add a testcase for two functions.
CORE-12026
2020-04-24 17:45:43 +09:00
Kyle Katarn cb43d8a89a
[SHELL32] Fix for incorrect init of hide/show hidden files & folders 2020-04-24 08:38:41 +02:00
Stanislav Motylkov 56c060b876
[INTL] Fix build (#2612)
Addendum to 76dd2fc.
2020-04-24 02:48:22 +03:00
Serge Gautherie 268b21f92e [REACTOS] Remove some ending spaces 2020-04-24 02:32:05 +03:00
Serge Gautherie 7f8929c595 [REACTOS] Update some external URLs 2020-04-24 02:32:05 +03:00
Serge Gautherie b7503df6ed
[README] Update now-redirected 'www.reactos.org' URLs (#2633) 2020-04-24 02:30:40 +03:00
Mas Ahmad Muhammad 76dd2fcff3
[TRANSLATION] Update Indonesian translation for CPL applets (#2612)
Signed-off-by: Mas Ahmad Muhammad <m.charly81@gmail.com>
2020-04-24 02:24:32 +03:00
Sylvain Deverre ca2aab6964 [NETKVM] Fix GCC build 2020-04-23 20:11:10 +02:00
Kyle Katarn 9118a1b8af
[SENDMAIL] Add french translation for "Send To" shell extension 2020-04-23 19:58:32 +02:00
James Tabor eecfb2362d [NETKVM] Fix Build 2020-04-23 09:33:32 -05:00
Nguyen Trung Khanh 4c37757e81
[NETKVM] Import NetKVM network adapter driver by Red Hat
CORE-15841
2020-04-23 16:33:09 +03:00
Katayama Hirofumi MZ 52fb8c1a8d
[NTGDI][FREETYPE] Return non-zero gm.gmBlackBoxX/Y (#2643)
In return of GetGlyphOutline function call, gm.gmBlackBoxX and gm.gmBlackBoxY must be non-zero to avoid Division by Zero. At epilogue of ftGdiGetGlyphOutline, we adjust the values. CORE-15949
2020-04-23 22:02:41 +09:00
Serge Gautherie 5ce61092b5 [EXPLORER] Update now-redirected 'http' and 'www.reactos.org' URLs 2020-04-23 10:20:15 +02:00
Serge Gautherie c2040413ec [ACPPAGE] Update now-redirected 'www.reactos.org' URLs 2020-04-23 10:18:10 +02:00
Serge Gautherie 546c606aaa [SYSDM] Update now-redirected 'http' and 'www.reactos.org' URLs 2020-04-23 10:17:52 +02:00
Katayama Hirofumi MZ 352f6a6ad7 [ZIPFLDR] Improve Japanese translation 2020-04-23 16:03:55 +09:00
Katayama Hirofumi MZ b88d45c676 [SENDMAIL] Improve Japanese IDS_SHORTCUT translation 2020-04-23 15:59:32 +09:00
Piotr Hetnarowicz 1abd40fd3e
[sendmail] pl-pl update (#2637) 2020-04-23 08:50:35 +02:00
Victor Perevertkin 3c4a68ec46
[BTRFS] Fix amd64 build
CORE-16679
2020-04-23 07:49:35 +03:00
Victor Perevertkin 3ba423996c
[BTRFS] Fix build
CORE-16679
2020-04-23 07:29:04 +03:00
Victor Perevertkin 194ea909fd
[BTRFS][UBTRFS][SHELLBTRFS] Upgrade to 1.7.2
CORE-16679
2020-04-23 07:07:36 +03:00
Katayama Hirofumi MZ c2d36912b9 [BOOT][BOOTDATA] Improve Japanese translation of hivedef.inf 2020-04-23 12:57:48 +09:00
Katayama Hirofumi MZ a48aa21102
[SENDMAIL][ZIPFLDR][MYDOCS] Fix creation of SendTo files (#2616)
- Improve and move SendTo files creation code and timing.
- Delete IDS_DESKLINK of shell32.
- Add IDS_DESKLINK into sendmail.
CORE-16924
2020-04-23 04:19:20 +09:00