Commit graph

24 commits

Author SHA1 Message Date
Joachim Henze a7276188a7 [0.4.9][DESK] Fix handle leaks in screensaver preview and other small fixes
- Fix leaking two handles to avoid creating zombie processes when closing the
screensaver preview

fix is *partial* pick of 0.4.15-dev-5495-g 71123b72fa which *partially* fixes CORE-18680 (#4921)
The other part of that fix is not safe, neither on master, nor when porting back due to yet unfixed Win32K bugs.
-------------------------
*partial* pick of 0.4.15-dev-3154-g 158a479a4e "\r\n"->"\n" in desk.cpl
-------------------------
furthermore port back some EOL-whitespace cleanup and some minor translation improvements
-------------------------
also *partial* pick of 0.4.15-dev-5521-g 5ecb9e8cb5 (#4943)
only the parts that are relevant for older releases
-------------------------
0.4.14-dev-111-g 72e5c2e77c hShell32 is always non-NULL in epilogue
2022-12-16 21:02:27 +01:00
Joachim Henze aaf1943349 [0.4.9][DESK] Fix GetDC/ReleaseDC error management
Fix missing ReleaseDC related to the spectrum (color depth)

We leaked one device context for each bpp change within the
desk.cpl-session, which gave the following logging when closing desk.cpl:
(win32ss/user/ntuser/windc.c:749) err: [00060138] GetDC() without ReleaseDC()!
1 time for each leak.

Partial backport of (#2707)
Fix picked from 0.4.15-dev-2867-g d635ce0cc0
2021-07-06 00:51:17 +02:00
Joachim Henze 253ab3e235 [0.4.9][DESK] Update zh-CN.rc & zh-TW.rc
Improves some strings, but actually I ported that back to reduce binary size.
The translated strings are shorter even than the english ones. Win-win!
Source was state of 0.4.12-release-31-g62822df.

desk.cpl built with RosBE2.1.6 on Windows with GCC4.7.2 debug building with I18N=all:
                                   539.136bytes for 0.4.12-release-31-g62822df (was source)
0.4.11 before 539.648bytes   after 539.136bytes
0.4.10 before 539.648bytes   after 539.136bytes
0.4. 9 before 539.648bytes   after 539.136bytes
0.4. 8 before 539.648bytes   after 539.136bytes
0.4. 7 before 528.896bytes   after 528.384bytes
2021-01-17 07:36:53 +01:00
Joachim Henze 8e0c120a94 [0.4.9][DESK] Dialog is too big still for et-EE.rc Estonian CORE-17428
et-EE.rc was added by 0.4.8-dev-930-g d80ef2c90a
while in parallel the dialogs have been shrinked by 0.4.8-dev-939-g 2595538558

Since both were under git PR review in parallel, that specific
language was left at the old dialog sizes accidently.

We can fix that glitch by syncing et-EE.rc to 100% to the improved state of that file in
0.4.11-release-44-g958556c because the glitch has been fixed by several commits before that rev.
2021-01-17 01:40:41 +01:00
Abdulganiev Rafael 8da88e9473 [0.4.9][DESK.CPL] Remove monitor resource scaling (#876)
This improves both: the visual quality of the dialog and also
decreases desk.cpl binary size.

Fix picked from 0.4.11-dev-244-g 6f138e2811

------------------------------
But it also inherently includes
0.4.11-dev-94-g 25f4ed75a0
"[CPL][DESK] Update monitor resource (#816)"
which replaces the CRT bmp with a TFT bitmap
2021-01-16 22:42:41 +01:00
Serge Gautherie 444553c7f0 [DESK.CPL] Fix a Clang-Cl warning about "LogPixels"
"warning: logical not is only applied to the left hand side of this comparison [-Wlogical-not-parentheses]"

CORE-14306
2018-05-04 22:02:48 +02:00
Joachim Henze 40e5832369 [DESK] Fix text truncation in fr-FR.rc
CORE-13514
2018-02-28 23:00:31 +01:00
Luo Yufan a13c998183 [TRANSLATION] Simplified Chinese translations updated. (#348) 2018-02-01 02:50:29 +01:00
Stanislav Motylkov 2595538558 [DESK.CPL] Fix dialog appearance in 640x480 resolution
CORE-14274
2018-01-29 22:32:01 +01:00
Joann Mõndresku d80ef2c90a [TRANSLATION] Various translations to Estonian (#329)
Estonian translations for shell + explorer, cpl files (access, appwiz, desk, timedate), devmgr, browseui, comctl32, aclui, avifil32, comdlg32 and credui.
2018-01-29 17:03:27 +01:00
Adam Słaboń fbcf05062e [TRANSLATION] Polish translation update (#328) 2018-01-27 13:21:22 +01:00
Stanislav Motylkov 0acd59b541 [TRANSLATION] [DESK] Update russian translation (#323) 2018-01-24 16:13:51 +01:00
Joachim Henze 2382435e88 [DESK.CPL] Update de-DE.rc for flat menus option 2018-01-23 19:29:28 +01:00
Stanislav Motylkov e8ec23fcd2 [DESK.CPL] Fix hardcoded colors in classic theme preview
CORE-14238 #resolve
2018-01-22 21:45:03 +02:00
Stanislav Motylkov 46c40d4cb5 [DESK.CPL] Add flat menus option to effects dialog 2018-01-22 20:42:10 +02:00
Adam Słaboń 86908fc647
[TRANSLATION] Polish translation update (#284). 2018-01-19 12:06:38 +01:00
Joachim Henze 9078c335f7 [DESK] Fix text truncation for ru-RU CORE-13845 2018-01-14 13:52:34 +01:00
Erdem Ersoy ba3f074320 [TRANSLATIONS] Update the email address and add a note in the Turkish translation document (#271) 2018-01-07 22:09:42 +01:00
Luo Yufan 59aa6b9e74 [TRANSLATION] Improve Simplified Chinese Translations (#265)
* Update Simplified Chinese translation of SYSSETUP
* Update Simplified Chinese translations and font settings.
* Update Translation of SHELL32.
2018-01-05 14:15:03 +01:00
Luo Yufan 2524a0b636 [TRANSLATIONS] Simplified Chinese translation update. #251 2018-01-02 18:39:24 +01:00
Katayama Hirofumi MZ 2b91b29642
[CPL] Control Panel Applets: Use correct font name in Chinese resources, CORE-9566 (#220).
Localized resources should use the correct Chinese font names compatible with Windows.
2017-12-26 20:57:48 +01:00
Amine Khaldi 5e4f6c69c7 [DESK] Rename DATA structures and some functions. #179 2017-12-25 21:12:00 +01:00
Waritnan Sookbuntherng 1128447196 [WIN32K][DESK.CPL]: Add fit and fill background placement options (#28)
- WIN32K and DESK.CPL: Add fit and fill background placement options.
- DESK.CPL: Define wallpaper placement constants; update translations.
- WIN32K: Fix coding style.
CORE-13360
2017-10-13 21:44:02 +02:00
Colin Finck c2c66aff7d Git conversion: Make reactos the root directory, move rosapps, rostests, wallpapers into modules, and delete rossubsys. 2017-10-03 07:45:34 +00:00