Commit graph

318 commits

Author SHA1 Message Date
Joachim Henze ca0223e31d [0.4.14][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
2022-12-16 20:51:18 +01:00
Joachim Henze c9e07b2437 [0.4.14][SYSDM] uk-UA.rc Trivial whitespace addendum (in context of CORE-17827)
A resource compiler 'warning RC4206 : title string too long; truncated at 256'
had been fixed by
0.4.12-dev-920-g 8fb10879fc already
and I am porting this back into releases/0.4.7 till releases/0.4.11 right now.

Back then the trailing space before that comment
' //TOO LONG, MAX 256 CHARS ALLOWED' was forgotten to be removed.
That part was already done on master head since then though as part of 0.4.15-dev-3152-g bbabe2489e

I decided to port back 'the final thing' of that line instead of having several intermediate states.
Therefore the stupid-looking one-character-change in this branch.
2022-02-27 13:48:14 +01:00
Joachim Henze 323e3526cc [0.4.14][SYSDM] MSVC warnings RC4206 : title string too long; truncated at 256 CORE-17827
Fix picked from:
0.4.15-dev-3699-g b1264c13f7 for el-GR.rc
0.4.15-dev-3700-g 98999eebe4 for sk-SK.rc
0.4.15-dev-3701-g bacc0479ce for sq-AL.rc
0.4.15-dev-3702-g cf984cc9fe for pt-PT.rc
2022-01-16 17:52:03 +01:00
Joachim Henze 7ce4d2a848 [0.4.14][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:47:48 +02: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
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
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
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
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
Stanislav Motylkov 56c060b876
[INTL] Fix build (#2612)
Addendum to 76dd2fc.
2020-04-24 02:48:22 +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
Serge Gautherie 546c606aaa [SYSDM] Update now-redirected 'http' and 'www.reactos.org' URLs 2020-04-23 10:17:52 +02:00
Hermès Bélusca-Maïto aa69236646
[TIMEDATE.CPL] In case TimeZone data does not contain a valid StandardName, perform comparisons against the time-zone numerical values instead.
It may happen that the time-zone information in the registry key
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\TimeZoneInformation
contains an empty StandardName / DaylightName, or is too long for the
standard maximum 32-character length, and therefore is returned empty.
And/or it may happen as well that some of the standard names (value "Std")
present in some of the time zones listed in
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones
are similarly too long, and therefore are returned as empty strings.

In case this happens, perform comparisons instead with the numerical
values Bias, StandardBias, DaylightBias, StandardDate and DaylightDate
in order to find a match.

It is interesting to note also that in Vista+ there is an additional
REG_SZ value "TimeZoneKeyName" in
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\TimeZoneInformation
that allows to directly find a match in the time zones list in
"Windows NT\CurrentVersion\Time Zones".
2020-04-22 00:58:34 +02:00
Hermès Bélusca-Maïto 7c3e96a26a
[TIMEDATE.CPL][SYSSETUP][TZLIB] Introduce a small static library "tzlib": "TimeZone Utilities Library", and use it in timedate.cpl and syssetup.dll.
This small win32 library provides time-zone utility wrappers around
Win32 functions, that are used by different ReactOS modules such as
timedate.cpl, syssetup.dll, and a possible future 'tzutil' tool.

The code has been extracted from the common code found in both
timedate.cpl and syssetup.dll.
2020-04-22 00:58:32 +02:00
Jose Carlos Jesus 77b12181a5
[TRANSLATION] New Portuguese translation (#2588)
* [TRANSLATION] New PT translation to inetcpl

* [TRANSLATION] Fix SUBLANG in file cpl/joy/lang/pt-PT.rc to SUBLAG_NEUTRAL

* [TRANSLATION] New PT translation to cpl/mmsys/lang/pt-PT.rc

* [TRANSLATION] Fix SUBLANG in cryptui_Pt.rc file
2020-04-18 23:49:35 +02:00
Piotr Hetnarowicz 92d9a028aa
[TIMEDATE] Polish translation update (#2567) 2020-04-18 19:19:52 +02:00
Kyle Katarn 40e82c4b94
[INETCPL][SERVMAN] French translation update (#2572)
CORE-16900

Co-authored-by: Hermès BÉLUSCA - MAÏTO <hermes.belusca-maito@reactos.org>
2020-04-18 13:21:37 +02:00
Kyle Katarn fa1cc2e1e8
[INETCPL] French translation update #2571
CORE-16900
2020-04-18 12:16:58 +02:00
Joachim Henze b983c647d7 [MMSYS] CORE-16881 fr-FR "Save As" button too narrow 2020-04-18 00:45:32 +02:00
Piotr Hetnarowicz 5c86e1012b
[APPWIZ] Update Polish translation (#2337) 2020-04-16 09:51:40 +03:00
Joachim Henze feeeca2695 [SYSDM.CPL] fr-FR Resize & Reposition 3 buttons CORE-16595
to avoid text truncation of the button
"Environment Variables"
2020-04-14 01:35:10 +02:00
Eric Kohl 4735cc2ab5 [TIMEDATE] Pervent running multiple NTP updates at once
- Run the NTP uptate from a separate thread
- Do not accept another update until the current one has finished

CORE-16835
2020-04-12 13:12:23 +02:00
Mas Ahmad Muhammad b8dd046ee4
[TRANSLATION] Add and update Indonesian translations (#2506)
- CMDUTILS: attrib, label (update translation)
- USETUP (add translation)
- HOTPLUG (add translation)
- CONSRV  (update translation)
- USERSRV (update translation)
- USER32  (update translation)
- ACLUI  (update translation)
- LICCPA  (update translation)
- SUBST  (update translation)
- REGSVR32  (update translation)
- REGEDIT-CLB  (update translation)
- ACPPAGE  (update translation)
- TIMEDATE  (update translation)
- SOLITAIRE  (update translation)
- FDEBUG  (update translation)
- SYSSETUP (update translation)
2020-04-09 18:49:45 +02:00
Julen Urizar Compains f7cab5a1d4
[TRANSLATION] Multiple minor fixes and addings. (#2516)
- Applications: eventvwr, fltmgr, servman.
- rosapps: arping, CTM, fontsub, fraginator, imagesoft, systeminfo, vcdcontroltool, vgafontedit.
- CPLs: desk.cpl.
- ReactOS Setup GUI app.
- Screensavers: butterflies, maze, Starfield.
- System: NTVDM, printing/monitors/localmon; the freeze dialog in user32, the error strings in usersrv.
2020-04-09 18:13:46 +02:00
Eric Kohl bfdd6261f2 [HOTPLUG] Add the context menu to the device tree view 2020-04-05 09:50:34 +02:00
Eric Kohl 68b6639ade [HOTPLUG] Display devices that are attached to a removable device 2020-04-04 18:13:03 +02:00
Stanislav Motylkov 61a54aef9e
[SYSDM] Cumulative update 2020-04-01 for SMBIOS parser (#2495) 2020-04-02 19:57:53 +02:00
Eric Kohl 45e79efd06 [HOTPLUG] Display class icons for removable devices 2020-03-31 22:44:31 +02:00
Jared Smudde 8aa58c19a6
[HOTPLUG] Add 32 pixel icon. (#2486)
Add a 32 pixel icon to the main icon for hotplug.cpl so the Safely Remove Hardware dialog looks normal.
2020-03-30 23:54:17 +02:00
Eric Kohl cbdf649f2c [HOTPLUG] Show removable devices and update the list on arrival and removal. 2020-03-30 23:11:44 +02:00
Eric Kohl 2125fec23a [HOTPLUG] Enable the hotplug.cpl and add the 'Safely Remove Hardware' dialog 2020-03-30 00:38:33 +02:00
Jose Carlos Jesus ad9bd69246
[TRANSLATION] Update portuguese translation (#2447)
Update translation for main.cpl and add new translation for powercfg.cpl.
2020-03-20 17:34:43 +01:00
Eric Kohl 3ecbbd991f [JOY] Use APPLET_PROC instead of a custom CPLAPPLET_PROC and simpify the code 2020-03-15 18:12:54 +01:00
Eric Kohl 6977833e06 [POWERCFG] Add hints on missing property pages and remove an obsolete declaration 2020-03-15 16:06:49 +01:00
Eric Kohl d1d9920b06 [INPUT] Use APPLET_PROC instead of a custom CPLAPPLET_PROC and simpify the code 2020-03-15 15:10:14 +01:00
Eric Kohl beeb989eaa [POWERCFG] Disable the "Enable hibernation" checkbox if the system does not support hibernation 2020-03-15 14:21:11 +01:00
Eric Kohl a88d7b5c2f [DESK][CONTROL] Select property pages by command line, for example 'control desk.cpl,,1' and fix 'control color' 2020-03-15 11:46:31 +01:00
Eric Kohl 5ea8314e67 [MAIN] Select property pages by command line, for example 'control main.cpl,@0,2' 2020-03-14 18:03:52 +01:00
Serge Gautherie 92aabb07fb
[REACTOS] Fix remaining ' \n' typos, in *.rc (#2393)
Addendum to commit 554c41e4 (#2387).
Co-authored-by: Hermès BÉLUSCA - MAÏTO <hermes.belusca-maito@reactos.org>
2020-03-06 19:08:25 +01:00
Hermès BÉLUSCA - MAÏTO d4699bc67f
[CPL][TIMEDATE] Romanian & Italian translation update (#2404) 2020-03-05 00:21:31 +01:00
Serge Gautherie 554c41e4d7
[REACTOS] Fix trailing spaces and other typos in string resources (#2387) 2020-02-26 11:45:27 +03:00
Katayama Hirofumi MZ 1e60116563
[SYSDM][MSGINA][NETID][SHELL32] Japanese translation (retrial) (#2369)
Improve Japanese resources. This PR is based on @Midi730's work (#2361).
2020-02-25 10:27:49 +09:00
Bișoc George b77008a709
[TIMEDATE] Remove lpszSyncStatus member entirely (#2383)
And directly pass the formatted string to SetDlgItemTextW(). Addendum to 5a81a5b.
2020-02-24 16:59:11 +01:00
Bișoc George 5a81a5bc14
[TIMEDATE] Implement the dynamic NTP status notification (#2352)
Time/Date control panel applet displays the status of the NTP server synchronization with the system informing the user the actual condition of the said sync, if it has failed or suceeded. The commit also implements IDS_INETTIMEWELCOME which serves as a placeholder as Time/Date loads the last successful attempt of NTP synchronization which I don't know how the CPL remembers it. With that said, IDS_INETTIMEWELCOME will stay for a while until someone figures out how timedate.cpl works internally.
CORE-16684
2020-02-24 19:56:02 +09:00
Katayama Hirofumi MZ 9da842a647 [CPL][ACCESS] Japanese translation more 2020-02-15 11:09:04 +09:00
Katayama Hirofumi MZ ddd4a6502f [CPL][ACCESS] Improve Japanese translation 2020-02-15 10:57:49 +09:00
Eric Kohl 065a0bbf0f [MMSYS] Select a property page by command line, for expample 'control mmsys.cpl,,1' 2020-02-11 05:42:27 +01:00
Eric Kohl 62721aefe5 [ACCESS] Select a property page by command line, for example 'control access.cpl,,2' 2020-02-10 09:48:37 +01:00