Commit graph

77604 commits

Author SHA1 Message Date
Joachim Henze
99f203c36f [0.4.14][NTUSER] DVD Write Now 1.5.12 SP2 setup has no taskbar pane CORE-15669
This is a sane addendum to 0.4.14-RC-67-g ef623b1616
by porting back the following master commits:

[WIN32SS][NTUSER] ShowWindow.SW_MINIMIZE should show window (#3700)
- user32!ShowWindow.SW_MINIMIZE should show the window.
- Fix the return value of ShowWindow function on invalid parameter.
CORE-15669
picked from 0.4.15-dev-2621-g 59d4c11203

[WIN32SS][NTUSER] Improve HSHELL_WINDOWCREATED condition (#3697)
Modify the condition of generating HSHELL_WINDOWCREATED, especially on WS_CHILD window style. CORE-15669
picked from 0.4.15-dev-2618-g 32b0cf6fc6

[USER32_APITEST] Add ShowWindow testcase (#3689)
Investigate the implementation of user32!ShowWindow. CORE-15669
picked from 0.4.15-dev-2616-g a8ed286c86

[SHELL32_APITEST] Strengthen and improve ShellHook testcase (#3687)
- Add tests to find the missing parameters against HSHELL_WINDOWCREATED conditions.
- Improve code readability. CORE-15669
picked from 0.4.15-dev-2611-g d21adc9b31
2021-06-02 04:33:27 +02:00
Joachim Henze
366c46b4fa [0.4.14] Fix VSSolution's msbuild CORE-15991
It regressed by 0.4.12-dev-1064-g 09c4d0a74b
when we tried to mute compiler warnings in the GCC Release configuration
for all modules, that do contain .y files.

In master we switched to use flex+bison to process those files at build-time
in 0.4.15-dev-2277-g 28dadda8be and at the same
time reverted the guilty rev.

In the backport to the old releases we do only revert, but do not introduce
flex+bison. This will reintroduce the warnings in GCC Release configuration.
2021-05-25 23:06:44 +02:00
Katayama Hirofumi MZ
ef623b1616 [0.4.14][NTUSER][SHELL32_APITEST] Fix regressions with taskbar panes CORE-17330 (#3289) (#3294) & CORE-13584
fixes CORE-17330 'Regression, many installers that should have only 1 taskbar pane, now have 2 of them erroneously'
which was introduced by 0.4.14-dev-369-g 141cf04239
and made ros behave a lot different than previous and future releases would perform.
The main fix was picked from 0.4.15-dev-1126-g 58b0558f94 (#3294)
and the new ShellHook testcase from 0.4.15-dev-1123-g 0089291751 (#3289)
The implementation atm passes all those 384 new ShellHookTests.

Beside that it entirely fixes the very old:
CORE-13584 'Winamp 5.666 erroneously has a secret tab shown in taskbar'

But brings back:
CORE-15669 'DVD Write Now 1.5.12 SP2 setup has no taskbar pane' (which was never working in any earlier release up to now)
but which we had fixed for a very short moment in master since the guilty 0.4.14-dev-369-g 141cf04239
That alone would be no biggy, but it also unhides?/introduces? for me the new:
CORE-17338 'Can not open a context menu in the taskbar pane of Double Commander setup, instantly closes'

Well in sum it is an improvement, but we are not in urgent need of porting it back any further than 0.4.14 yet,
because older releases would only benefit from CORE-13584 'Winamp...'
2021-05-22 03:21:11 +02:00
Joachim Henze
40ba76d55d [0.4.14][SHELL32] *.rc Whitespace fixes just, no functional change
Motivation to fix them in 0.4.14 is to avoid having to also port them back
when porting back nearby code.
2021-05-15 03:51:34 +02:00
Doug Lyons
dd0f439b51 [0.4.14][OPENGL32] Fix Red and Green Color Swap (#3478)
CORE-16221

(cherry picked from commit 834394abd9)
2021-05-11 22:10:26 +03:00
Joachim Henze
44e1f96e57 [0.4.14][SYSDM] Restore the general tabs layout and soft localization update
Although the new layout that I committed in the previous commit
was favored by community ratings votes 8:0,
some devs still preferred the old layout with the bigger logo
because they liked the easteregg. So this commit restores
that.

But it syncs to that features latest&greatest implementation
we have in 0.4.15-dev-1685-gd0c237a instead of reverting the
previous commit to not unnecessarily have many bugs with it
that were still affecting the older releases beforehand.

Aside from the general tabs dialogs layout this commit does
also fix some minor issues in the translations for the oldest
branches in pl-PL, jp-JA, zh-CN and zh-TW.

And it fixes an x64 issue in general.c for 0.4.7 and 0.4.8.
2021-02-01 21:44:40 +01:00
Joachim Henze
c84b113225 [0.4.14][SYSDM] Fix version string cutoff CORE-17429
The version string cutoff started to happen when we switched from SVN
with its short revision number to git with the longer hashes.
0.4.7-dev-502-gc2c66af was the first git-only rev (2017-Oct-03)

and brings the dialogs layout closer to XP.
Also fixes some other truncations for specific languages.
And unifies the touched text controls sizes for all languages.

The credits have been moved to readme.txt where they are more present and
we can avoid having to groom all languages files each time we want to add
a new dev (and sysdm.cpl to grow each time). Less maintenance.

sysdm.cpl binary size I18N=all
master before 925.696bytes  after 705.024bytes  gcc 8.4.0 dbg RosBE2.2.1
0.4.14 before 923.136bytes  after 702.464bytes  gcc 8.4.0 dbg RosBE2.2.1
0.4.13 before 904.192bytes  after 684.544bytes  gcc 4.7.2 dbg RosBE2.1.6
0.4.12 before 881.664bytes  after 665.600bytes  gcc 4.7.2 dbg RosBE2.1.6
0.4.11 before 836.096bytes  after 618.496bytes  gcc 4.7.2 dbg RosBE2.1.6
0.4.10 before 806.912bytes  after 588.800bytes  gcc 4.7.2 dbg RosBE2.1.6
0.4. 9 before 788.480bytes  after 585.728bytes  gcc 4.7.2 dbg RosBE2.1.6
0.4. 8 before 788.480bytes  after 585.728bytes  gcc 4.7.2 dbg RosBE2.1.6
0.4. 7 before 788.992bytes  after 585.728bytes  gcc 4.7.2 dbg RosBE2.1.6

readme.txt still fits into a single NTFS cluster afterwards with 3702bytes

Also a very! soft update of some translations ported back.
2021-01-30 20:41:06 +01:00
Joachim Henze
ad8521d023 [0.4.14][RAPPS] "Let's encrypt" Certificate-Issuer-Update hamster-wheel
"Let's encrypt" certificate issuer string changed within last 24hours remotely.
Update its name to make RAPPS stop complaining on DB update.

And also fix a bug in rapps mixing A()/W() in the
messagebox that informs about that cert check failure.

Fix is port of
0.4.15-dev-1120-g 12caaece25
0.4.15-dev-1617-g f77f5a30cf

Next time this happens I will relentlessly undefine CMakeLists.txt USE_CERT_PINNING
2021-01-11 21:14:34 +01:00
Joachim Henze
1d8e74d4aa [0.4.14][WIN32SS][COMCTL32] Commit Flip_Fix_9.patch
flip_fix_9.patch fixes:
CORE-16984 " 'SPINA Thrulg' / 'SPINA Thyr' / 'Sim Thyr' have images flipped"
CORE-17194 "StretchDIBits test" isn't work correctly"
           "Output of 'Project 3 Test'"
CORE-14701 "DVDStyler 3.0.4 transparent toolbars"
CORE-14701 "DVDStyler 3.0.4 erroneously black around icons of welcome-dlg"
CORE-14671 "'Peazip' shows icons in buttons and menubar vertically flipped"
           "Double Commander shoes icons flipped in buttons, menubar, listview and the treeview"
CORE-13273 "Welcome to Lazarus" icon shows flipped
CORE-13026 "'CudaText app' icon shows flipped"

Not all of those are duplicates, although they appear to be at first glance.
It affects different controls and some of those tickets do have different 'guilty revs' than others.

The patch does consist of 3 parts:

1.) win32ss/gdi/ntgdi/dibobj.c
This one is the most clean part of it, that addresses most of the flipping issues now.

2.) The hack in comctl32.h redefining the version:
We used that in the past to appease some, but not all of the issues listed above.
But it does hide additional issues, e.g. in DvDStyler, therefore we seem to still need that appeasement even today.
Most likely it would make sense to aim to avoid this part in the future.
part 2.) was committed as first appeasement on its own already into
0.4.14-RC-24-g 198b61e
0.4.13-RC-7-g 67211fa
0.4.12-RC-5-g 8449527
0.4.11-RC-16-g b906163
0.4.10-RC-7-g f1e80fe
0.4.9-RC-34-g 9d758ae

3.) toolbar.c change
That part fixes at least the toolbar case for DvDStyler
without relying on the comctl32.h hack any longer,
but it was still not enough to completely get rid of part 2.) yet.

Many thanks to all contributors: 'I_kill_Bugs', Doug Lyons and also 'Julenuri' for testing.

The patch gave nice testbot results:
KVM:  https://reactos.org/testman/compare.php?ids=75704,75714
VBox: https://reactos.org/testman/compare.php?ids=75705,75715

and we also created a summary of manual test-results:
https://jira.reactos.org/browse/CORE-17415?focusedCommentId=126668&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-126668

If you read this comment via git blame and your goal is to get rid of the hack in comctl32.h, I would highly recommend
to redo the tests of that testing table, and if that is asked too much, then please test at least the following cases:
CORE-14701 "DVDStyler 3.0.4 transparent toolbars"
CORE-14701 "DVDStyler 3.0.4 erroneously black around icons of welcome-dlg"
           "DVDStyler 3.0.4 erroneously black/transparent within comboboxes of properties of VMGM menu"
and try to add what might be needed to fix them, and double-check again:
           "DoubleCommander optionsDlg the most complex testcase, contains flip-prone icons in treeview, listview, menubar, buttons, statics". Only some of its flipped icons were impacted by the comctl32.h change before.

fix picked from 0.4.15-dev-1603-g 232c45fcd7
2021-01-11 16:42:01 +01:00
Joachim Henze
cf4e1927a2 [0.4.14][SHELL32] Improve German (de-DE) translation
closer to 0.4.15-dev-1604-g 1e9547e
2021-01-06 01:03:13 +01:00
Joachim Henze
e6a5af4315 [0.4.14][CMD] Quick fix for the REM command parser. CORE-17030
This avoids spamming Syntax Errors when starting the VS2010 command prompt.

Fix picked from 0.4.15-dev-202-g 9c11be5a3a
2021-01-04 21:43:50 +01:00
Hermès Bélusca-Maïto
3461c592ab [0.4.14] Happy New Year 2021 to the ReactOS Community!!
picked from 0.4.15-dev-1523-g b570fac
2021-01-01 00:20:51 +01:00
Joachim Henze
59b42fab46 [0.4.14][WIN32SS] Fix BSOD 0x1E nullptr deref via Git-bash CORE-16586
Thanks to the patches author Doug Lyons!

fix picked from 0.4.15-dev-1457-g 870aa1254f
and the whitespace addendum 0.4.15-dev-1458-g 449a341
2020-12-19 18:17:22 +01:00
Joachim Henze
7f55bc9ea6 [0.4.14][CDFS] Fix a macro-copy-paste and shrink the binary size CORE-17405
picked from 0.4.15-dev-1456-g889eab7
2020-12-18 05:44:41 +01:00
Joachim Henze
d073564ce6 [0.4.14][APISETS] api-ms-win-core-winrt-l1-1-0: Ro*() are NT6.2+ (Win8). CORE-16707 #2739
I double-checked and although the crash in Motorbike does *not* happen by default in all of those builds:
0.4.14-RC-54-g6a6672d (hidden by opt-in apisets-default in release branch)
0.4.13-release-1-g2ac9d98 (hidden by opt-in apisets-default in release branch)
0.4.12-release-17-g79780cd (hidden also, I don't understand why)
0.4.11-release-28-gc4d930d (hidden also, I don't understand why)
0.4.10-release-35-g94b4a3e (hidden also, I don't understand why)
0.4.9-release-41-gd3a79fe (hidden also, I don't understand why)
0.4.8-release-46-gd4d58d7 (hidden, does not have apisets yet)
0.4.7-release-56-g835b508 (hidden, does not have apisets yet)

It was really only crashing in master.

I decided to port the proper fix back nevertheless, because:
- the exports are wrong for our target
- I can not guarantee otherwise that it would not pop up all of a sudden later
- and the fix also decreases the binary size of that apiset.

Fix picked from 0.4.15-dev-179-g 02825c20e4
2020-12-18 00:42:17 +01:00
Joachim Henze
6a6672d029 [0.4.14][APISETS][RDBSSLIB][RTL][DISK_NEW] Fix all build issues for MSVC Rls-config CORE-17402
Allows to complete the whole 'ninja bootcd' after 'configure -DCMAKE_BUILD_TYPE=Release'
for compiler MSVC 2010SP1 16.0.40219.1 with RosBE 2.1.6

Similar to the fix committed in 0.4.15-dev-1453-g 4ad7b6d
2020-12-17 13:36:20 +01:00
Serge Gautherie
8ab328b53a [0.4.14][CMAKE] MSVC RUNTIME_CHECKS is a 'Debug'-only feature
"cl : Command line error D8016 : '/Ox' and '/RTC1' command-line options are incompatible"
in MSVC builds with Release Configuration

Addendum to 0.4.14-dev-1373-g 92dfec219d

fix picked from commit 0.4.15-dev-1186-g a2a6038e56
2020-12-14 15:17:33 +01:00
Joachim Henze
263c5f0a2e [0.4.14][USETUP] Do a trick to avoid visual "blinking" during screen clearing. (#3255)
CORE-17312

Hide everything under the same foreground & background colors, so that
the actual color and text blanking reset does not create a visual "blinking".
Then, blank the text and finally reset the actual foreground &
background colors.

We do this because we cannot do the screen scrolling trick that would
allow to change both the text and the colors at the same time (the
function is currently not available in our console "emulation" layer).

The issue was unhidden when we introduced the red progress bar in
0.4.11-dev-111-g e5c0bfacf1

Fix picked from 0.4.15-dev-1078-g 434fa562ce
2020-12-13 03:38:48 +01:00
Doug Lyons
286bfe92b2 [0.4.14][WIN32SS] Repaint the whole window frame on some style bits set (#3199)
This fixes the ReactOS Calculator buttons disappearing in CORE-16827

It once regressed by 0.4.13-dev-221-g
2161dd85dc
which did aim to fix CORE-15934.
Noteworthy that releases/0.4.12 was never affected although I fixed CORE-15934
there as well, but *not* with the fix that went into master later!

fix picked from commit 0.4.15-dev-1197-g
8081ba9332
2020-10-28 01:44:25 +01:00
Joachim Henze
fcf855770c [0.4.14][SHELL32] Demote 2 noisy goodpath loggings to TRACE CORE-17216
Those 2 did spam heavily when browsing folders with
many .zip files within. Mark Jansen confirmed that
this is good-path-logging and was just forgotten
to be disabled earlier. They were introduced by 0.4.14-RC-16-g
e13ff4aeb8

fix picked from commit 0.4.15-dev-628-g
f363c27ab4

which means we have no affected release branches left anymore.
2020-10-27 23:48:21 +01:00
Thomas Faber
4c27b4ae1e [0.4.14][FASTFAT] Implement the overflow queue. CORE-17344 CORE-17328
This avoids blocking all Ex worker threads in fastfat, thereby making Cc
unable to issue the lazy writes that would unblock those workers.
This is more or less directly taken from fastfat_new.

fix picked from commit 0.4.15-dev-1196-g
303f17f884
2020-10-27 15:36:47 +01:00
Thomas Faber
6131648d54 [0.4.14][FASTFAT] Ensure that deferred write IRP contexts are not touched. CORE-17328
Cc may decide to process deferred writes any time, so the context might
already be freed by the time we return from CcDeferWrite.
Also mark the IRP as pending, since we're going to return STATUS_PENDING.

Fixes a BSOD in CrystalDiskMark Sequential Write Test

cherry picked from commit 0.4.15-dev-1139-g
320abafdc3
2020-10-27 15:34:00 +01:00
Katayama Hirofumi MZ
23283deaf3 [0.4.14][COMDLG32][SHELL32] Support accelerator keys F2/del CORE-14332
For FileOpenDlgProc95() & SHBrowseForFolder().
I decided to port those 2 commits back to have CORE-14332
fixed as a whole and not only a part of it.
*If* I would ever decide to port that back even further I should
remember that I will have to pick additionally 0.4.14-dev-1187-g
fc4c4d4911

-------------------------------------------------------------
[COMDLG32] Support shortcut keys on Open/Save Dialog (#3238)

Enable key accelerators on File Open/Save Dialog. CORE-14332
cherry picked from commit 0.4.15-dev-1050-g
c8e1460ac5
--------------------------------------------------------------
[SHELL32] Implement VK_DELETE on SHBrowseForFolder (#2661)

Enable Del/Delete key to delete the selected folder in "Browse for Folder" dialog.
You can use https://jira.reactos.org/secure/attachment/40118/getfolder.zip as a test program.
CORE-7592
cherry picked from commit 0.4.15-dev-39-g
771457f37f
2020-10-15 20:35:13 +02:00
Doug Lyons
0ea7582101 [0.4.14][FASTFAT] Fix create for DOT and DOT-DOT leaving bad directory entry (#3241) CORE-11325
A nice patch of Doug Lyons that, after it has been applied, frees us from all the spam like
(drivers/filesystems/fastfat/fat.c:61) WARNING: File system corruption detected. You may need to run a disk repair utility.
that started to appear when kmtest:IoFilesystem tried to create invalid dir-name and did succeed with that erroneously.
Those warnings continued to spam until the end of the bot-run, making the - actually helpful - warning useless.
After this commit we can trust the warning again to indicate that something yet unknown or random did cause corruption.

fix cherry picked from commit 0.4.15-dev-1125-g
79794b524c
2020-10-13 21:54:46 +02:00
Joachim Henze
9270049eb7 [0.4.14][COMCTL32] Button.c Fix CORE-17260
Press'n'Hold of a button, then leaving the button rect
should redraw the button in unpressed state

Thanks to JIRA user 'I_kill_Bugs' for perfecting
my initial experiments to fix that.

It regressed by 0.4.9-dev-719-g
b3fb8555bf

No need to sync anything with Wine, their code is
correct on Wine head. The bug was in ros specific diff.

cherry picked from commit 0.4.15-dev-1085-g
c947eb4d17
2020-10-13 16:48:02 +02:00
Serge Gautherie
3b122fdc36 [0.4.14][GFLAGS] ModifyStatus(): Remove a remnant HeapFree() (#3283) CORE-17325
Addendum to 0.4.11-dev-439-g
ec621270a1

I will not rebuild any iso for this commit as gflags.exe is by
default not built into our isos.

cherry picked from commit 0.4.15-dev-1101-g
374f9db341
2020-10-11 19:03:36 +02:00
Joachim Henze
1a270d9bbf [0.4.14][WINLOGON] Display the shutdown message popup dialog on the current input desktop. (#3259)
CORE-17050

Display the shutdown message popup dialog on the current input desktop,
and periodically monitor for any change of the input desktop. When the
latter changes, close the dialog and recreate it on the new input desktop.

In addition, retain the current dialog position and restore it when the
dialog is recreated on the new desktop.

A patch authored by HBelusca.

The regression was introduced by 0.4.10-dev-579-g
c697f191cf

This commit is merging back the changes of 0.4.15-dev-1096-g
0ff9b0ff7e
(the minimized patch from JIRA avoiding most surrounding style changes)
2020-10-11 02:06:38 +02:00
Hermès Bélusca-Maïto
902872fc0c [0.4.14][UMPNPMGR][USETUP] Fix the way device-install events are queued and dequeued. Fixes CORE-16103.
Dedicated to the hard work of Joachim Henze! xD

This reverts part of commit 043a98dd (see also commit b2aeafca).

Contrary to what I assumed in commit 043a98dd (and was also assumed in
the older commit b2aeafca), we cannot use the singled-linked lists to
queue and dequeue the PnP device-install events, because:

- the events must be treated from the oldest to the newest ones, for
  consistency, otherwise this creates problems, as shown by e.g. CORE-16103;

- the system singled-linked lists only offer access to the top of the
  list (like a stack) instead of to both the top and the bottom of the
  list, as would be required for a queue. Using the SLISTs would mean
  that only the newest-received events would be treated first, while the
  oldest (which were the first received) events would be treated last,
  and this is wrong.

Therefore one must use e.g. the standard doubly-linked list. Also, using
locked operations (insertion & removal) on the list of device-install
events is necessary, because these operations are done concurrently by
two different threads: PnpEventThread() and DeviceInstallThread().
Since the interlocked linked list functions are not available in user-mode,
we need to use instead locking access through e.g. a mutex.

the regression was introduced by 0.4.12-dev-72-g
043a98ddd9

fix cherry picked from commit 0.4.15-dev-1074-g
ffc96d26ec
2020-10-01 19:57:43 +02:00
Kyle Katarn
f0a2e6efa2 [0.4.14][ROSTEST] Fix copy paste bug in RtlBitmap.c ROSTESTS-356 #3221
The glitch was introduced by 0.4.14-dev-626-g
465745b683

fix cherry picked from commit 0.4.15-dev-1051-g
b217d8bd14
2020-09-28 20:24:55 +02:00
Joachim Henze
bd6c343b4f [0.4.14][DNSRSLVR] Define NDEBUG in cache.c
To avoid leaking private data into logs by default.
Some testers may consider their DNS-suffix private data.
And DnsIntCacheAddEntry() logs that via Record->pName.

The logging was activated by 0.4.14-dev-173-g
d49d7b3282

fix cherry picked from commit 0.4.15-dev-383-g
1b8b339aae
2020-09-28 01:37:50 +02:00
Doug Lyons
eda822a2c7 [0.4.14][IPHLPAPI] Fix for hasArp which crashes some iphlpapi tests. (#3216)
CORE-16513

cherry picked from commit 0.4.15-dev-1020-g
90be2f4e1b
2020-09-26 00:05:50 +02:00
Thomas Faber
4111dfa8bf [0.4.14][RTL] Optimize RtlpFindAndCommitPages CORE-14588
A squashed backmerge of 3 commits authored by Thomas Faber.
They do help to speed up RosBE2.1.6 within ReactOS.
'configure' runs faster by ~ factor 5.
'ninja bootcd -j1' runs faster by ~ factor 2.
I considered back-porting that a necessity because we
considerably lost speed over the last years in those scenarios.
I tested, and it works well also in the 0.4.14RC.

0.4.15-dev-309-g
10d23614d3
Use LastEntryInSegment to speed up RtlpFindAndCommitPages. CORE-14588
--------------------------
0.4.15-dev-307-g
1b7a4b3ebf
Add and populate LastEntryInSegment. CORE-14588
--------------------------
0.4.15-dev-306-g
78dddd125c
Create a define for the common members of HEAP and HEAP_SEGMENT. CORE-14588

The code relies on these members matching up, so it's confusing for them
to be duplicated.
2020-09-25 22:04:30 +02:00
Joachim Henze
0e72f93687 [0.4.14][SHELL32] Fix regression CORE-12364
The sorting in explorer broke by
SVN r73128 == git
24fcf531e7

Thanks to Doug Lyons for providing this patch.

fix cherry picked from commit 0.4.15-dev-752-g
35dbdaaa0e
2020-09-11 02:28:23 +02:00
Joachim Henze
b30846ab77 [0.4.14][SDK][NDK][PSTYPES] Fix regressions CORE-17247 & CORE-17106
By reverting the guilty rev 0.4.14-dev-1239-g
7481bda679

and placing a C_ASSERT() to protect us from doing the
same fault again in the future. (proposed by Mark Jansen)

This will allow again to use kernel32.dll from 2k3sp2 to
reach desktop and it will allow Google Earth to run again.

Unfortunately it will break CORE-16757 again,
but we did not ship that improvement yet
and we believe that revert to be correct.

When approaching CORE-16757 later, make sure to double-check
also CORE-17247 & CORE-17106 with your fix.

We did excessive testing here, see
https://jira.reactos.org/browse/CORE-17247?focusedCommentId=125166&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-125166

fix cherry picked from commit 0.4.15-dev-730-g
abbe656407
2020-09-07 22:22:56 +02:00
Joachim Henze
f1fed684a5 [0.4.14][RPCRT4] Check hBinding != 0 CORE-16936
To prevent logspam that was introduced when syncing
to Wine Staging 4.18 in 0.4.14-dev-422-g
6feb8748d3

Thanks for anyone helping: Doug Lyons,
Fabian Maurer (Wine), Zebediah Figura (Wine)

fix cherry picked from commit 0.4.15-dev-686-g
1cc84c6db7
2020-09-01 22:14:02 +02:00
Joachim Henze
398fd51ef3 [0.4.14][WINSPOOL] Properly fix a double free CORE-16715
Addendum to 0.4.14-dev-957-g
d90beaeed2

Many Thanks to the patches author Doug Lyons!

Fix manually ported back from 0.4.15-dev-682-g
dde92f8ffa
2020-08-31 02:21:49 +02:00
Joachim Henze
0889879ba6 [0.4.14][COMCTL32] Workaround regression with toolbar in 7zip CORE-16169
The regression was introduced by SVN r68553
3b13364f05

Many thanks to the author Doug Lyons for excellent
cooperation once more. Always a pleasure.

Fix cherry picked from commit 0.4.15-dev-663-g
cd7db5df89
and 0.4.15-dev-664-g
7c909cbc7c
2020-08-28 01:07:51 +02:00
Kyle Katarn
0063989011 [0.4.14][OPENGL32] Remove Err Log Spam from wglMakeCurrent in nominal cases (#3096)
CORE-17224

fix cherry picked from commit 0.4.15-dev-655-g
ba006b3d49
2020-08-26 23:30:28 +02:00
Jose Carlos Jesus
71ec0f6c6f [0.4.14][COMCTL32] Fix regression on showing current mouse pointer in main.cpl (#2829)
GetIconInfo() fill info.hbmColor with NULL HBITMAP handle on black/white bitmaps.

CORE-17062

It broke by 0.4.9-dev-719-g
b3fb8555bf

cherry picked from commit 0.4.15-dev-534-g
887764e607
2020-08-18 18:40:53 +02:00
Joachim Henze
6302156cb1 [0.4.14][NTOSKRNL] Workaround CORE-16387 & CORE-16449
Both was introduced by activating feature
MiWriteProtectSystemImage() once.
Imho this feature is not stable yet, therefore I disable
it for releases.

Both problems most likely got visible by 0.4.12-dev-386-g
65dbfc2868

Master remains affected for now.
How long shall I recurrently workaround this?
Someone needs to dig into why that feature on ros
does not work similar to the Windows implementation yet.

Worked around like I did for all releases since 0.4.13 already.
2020-08-15 16:27:12 +02:00
Katayama Hirofumi MZ
22210acfdf [0.4.14][FONTVIEW] Fix regression; opening files won't list files (#3045)
Based on Mark Jansen's patch in CORE-17001.

The issue started to show with 0.4.14-dev-77-g
d9e7c48c1a

fix cherry picked from commit 0.4.15-dev-513-g
49be08bc69

no official ros release was affected therefore.
2020-08-15 13:15:36 +02:00
Katayama Hirofumi MZ
3a96eeb446 [0.4.14][APPWIZ] Don't hung up in Gecko download cancellation #3049
Do not call EndDialog outside the dialog procedure.
CORE-14538

cherry picked from commit 0.4.15-dev-511-g
90456e54a4
2020-08-14 22:16:20 +02:00
Thomas Faber
8e961a1158 [0.4.14][XDK] Avoid defining interlocked intrinsics. CORE-17190
Fixes build with MSVC 19.27+.

cherry picked from commit 0.4.15-dev-510-g
960511094b
2020-08-14 19:20:46 +02:00
Joachim Henze
1128de5b86 [0.4.14] Sledgehammer-revert of the work towards MountMgr
to fix regression CORE-16619 "Delay during bootup due to workqueue deadlocks" (verified)
to fix regression CORE-16511 "Regression: USB drives are not mounted anymore" (verified)
to fix regression CORE-16486 "doubled drive letters for USB drives" (verified)
to fix regression "got ioctl intended for the mount manager"-logspam (verified)
and hopefully to improve on CORE-15575 (this last part still needs verification)

This reverts the following commits:
0.4.14-dev-373-g
0917815efa

0.4.14-dev-296-g
324285f0b9

0.4.14-dev-294-g
887200703c

0.4.14-dev-172-g
6889cff5b5

0.4.14-dev-106-g
5ab1cfc553

0.4.14-dev-105-g
b68104dd87
2020-08-14 16:57:10 +02:00
Thomas Faber
eac5f78b44 [0.4.14][CPPRT][CRT] Avoid extern assembly declarations with no type. CORE-17088
Fixes build with ML 14.26.
Backport was recommended by Thomas Faber. I can not retest that compilation myself.

cherry picked from commit 0.4.15-dev-319-g
e4066536c2
2020-06-07 22:32:04 +02:00
Joachim Henze
198b61e8d5 [0.4.14][COMCTL32] Appease regression CORE-14671 & CORE-14701
Fixes the icons on some buttons being flipped vertically.
Known affected apps: Lazarus IDE, Double Commander, Peazip.

Beside that it also fixes transparency regressions in DVDStyler 3.0.4 (CORE-14701).

Thanks to patches author Doug Lyons.

The patch has not been committed to master yet and has the known side-effect
of introducing flipped icons in the options-treeview of Double-Commander
that are drawn correctly without the hackfix.

Workaround applied again like in all last releases since 0.4.9.
2020-05-27 22:05:40 +02:00
Serge Gautherie
9951f1545d [0.4.14][MMSYS] OnHScroll(): Fix wrong '&&' operator (#2855)
CORE-17079 Found by static code analysis
The wrong code once was introduced by 0.4.12-dev-408-g
431f9bf311
We were not aware of any user observable malfunction caused
by it.

fix cherry picked from commit 0.4.15-dev-311-g
03d5ff7f68
2020-05-27 18:26:50 +02:00
Serge Gautherie
f5ab060c0b [0.4.14][LSASRV] LsapLogonUser(): Fix 'AuthenticatingAuthority' copypasta (#2839)
Reported by contributor 'qarmin', found by static code analysis.
CORE-17074

The glitch once was introduced 7 years ago by SVN r58933 == git
7934e35cdf
There is no real-world-issue known to date caused by this bug.

fix cherry picked from commit 0.4.15-dev-303-g
99d0a348aa
2020-05-25 15:37:27 +02:00
Yaroslav Kibysh
c16d81132e [0.4.14][NTOS:INBV] Fix screen flash and more (#2821)
- Fix screen flash (CORE-16786);
- Don't process rotating bar if not used.

cherry picked from commit 0.4.15-dev-287-g
319374eb71
2020-05-23 09:46:45 +02:00
Mark Jansen
efc990aa3d [0.4.14][SHELL32] Allow creation of an empty CFileSysEnum
part of the fix for CORE-16908
This commit fixes a unittest crash in shell32:CFSFolder
introduced by the previous commits

cherry picked from commit 0.4.15-dev-279-g
83a9f71690
2020-05-22 01:09:33 +02:00