reactos.git
15 months ago[NTOS:CM] Cleanup the hive in case linking it to master fails (#4969) 4969/head
George Bișoc [Sat, 31 Dec 2022 16:50:25 +0000 (17:50 +0100)]
[NTOS:CM] Cleanup the hive in case linking it to master fails (#4969)

Currently the failure code path doesn't do any kind of cleanup against
the hive that was being linked to master. The cleanup is pretty
straightforward as you just simply close the hive file handles and free
the registry kernel structures.

CORE-5772
CORE-17263
CORE-13559

15 months ago🎊 🍾 🥳 Happy New Year 2023 to the ReactOS Community! 🎆 ⚛️ ☢️
Hermès Bélusca-Maïto [Sat, 31 Dec 2022 21:00:00 +0000 (00:00 +0300)]
🎊 🍾 🥳 Happy New Year 2023 to the ReactOS Community! 🎆 ⚛️ ☢️

.:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:._.:
 __,  ,__)            __,  ,__)       __, ,__)        ░▄████▄░▄███▄░▄████▄░▄█▀▀█▄░
(--|__| _ ,_ ,_      (--|\ | _       (--\ | _  _ ,_   ░▀▀░▄██░██░██░▀▀░▄██░░░░▄█▀░
  _|  |(_||_)|_)(_|    _| \|(/_(_|_)     \|(/_(_||    ░░▄██▀░░██░██░░▄██▀░░▄░▀▀█▄░
 (        |  |  ,_|   (                (__|           ░██████░▀███▀░██████░▀█▄▄█▀░
.:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:._.:*~*:._.:

15 months ago[NTOBJSHEX] Return early from GetInfoFromPidl when pcidl is null in LPCITEMIDLIST...
Muthu R Kumar [Sat, 31 Dec 2022 15:53:02 +0000 (07:53 -0800)]
[NTOBJSHEX] Return early from GetInfoFromPidl when pcidl is null in LPCITEMIDLIST (#4946)

This fixes a crash when attempting to drag-n-drop items from NTObject Namespace and System Registry.
CORE-18480, CORE-18481

15 months ago[MSPAINT] Don't allow to set image as wallpaper if it has the wrong format (#4924)
Egor Ananyin [Sat, 31 Dec 2022 15:08:14 +0000 (18:08 +0300)]
[MSPAINT] Don't allow to set image as wallpaper if it has the wrong format (#4924)

CORE-18661

Our Paint allows user to try to set a .ico file as a wallpaper, which isn't possible. Different Windows versions have different behaviour, so it was decided that the simplest fix would be to just grey out "Set as wallpaper" buttons as in 2K3 (See the Jira ticket).

15 months ago[SDK][CMLIB] Properly check for failure if hive free list creation fails
George Bișoc [Fri, 30 Dec 2022 18:47:21 +0000 (19:47 +0100)]
[SDK][CMLIB] Properly check for failure if hive free list creation fails

HvpCreateHiveFreeCellList returns a NTSTATUS code yet the way the code path checks
checks for failure is just wrong. This was spotted whilst working on #4571 PR.

15 months ago[WIN32NT_APITEST] Fix entirely broken win32knt_apitest NtGdiDdQueryDirectDrawObject
Timo Kreuzer [Sun, 25 Dec 2022 08:15:46 +0000 (09:15 +0100)]
[WIN32NT_APITEST] Fix entirely broken win32knt_apitest NtGdiDdQueryDirectDrawObject

15 months ago[DBGHELP_APITEST] Comment out rsym test for anything other than x86 for now
Timo Kreuzer [Fri, 9 Dec 2022 20:54:35 +0000 (22:54 +0200)]
[DBGHELP_APITEST] Comment out rsym test for anything other than x86 for now

15 months ago[GDI32_APITEST] Fix test results for SetWorldTransform on Windows 2003 x64
Timo Kreuzer [Fri, 16 Dec 2022 10:48:20 +0000 (12:48 +0200)]
[GDI32_APITEST] Fix test results for SetWorldTransform on Windows 2003 x64

15 months ago[GDI32_APITEST] Fix test results for CombineTransform on Windows 2003 x64
Timo Kreuzer [Fri, 16 Dec 2022 10:19:51 +0000 (12:19 +0200)]
[GDI32_APITEST] Fix test results for CombineTransform on Windows 2003 x64

15 months ago[XMLLITE_WINETEST] Fix stack corruption on 64 bit
Timo Kreuzer [Sun, 28 Aug 2022 15:40:54 +0000 (17:40 +0200)]
[XMLLITE_WINETEST] Fix stack corruption on 64 bit

15 months ago[WS2_32_WINETEST] Fix use of uninitialized variable
Timo Kreuzer [Wed, 31 Aug 2022 16:07:00 +0000 (18:07 +0200)]
[WS2_32_WINETEST] Fix use of uninitialized variable

15 months ago[NTDLL_APITEST] Fix LdrEnumResources test for x64
Timo Kreuzer [Fri, 9 Dec 2022 20:56:02 +0000 (22:56 +0200)]
[NTDLL_APITEST] Fix LdrEnumResources test for x64

15 months ago[NDK] Fix definition of RTL_DEBUG_INFORMATION
Timo Kreuzer [Tue, 27 Dec 2022 10:06:45 +0000 (11:06 +0100)]
[NDK] Fix definition of RTL_DEBUG_INFORMATION

Fixes ntdll_aiptest RtlDebugInformation on x64

15 months ago[NDK] Fix definition of LDR_ENUM_RESOURCE_INFO
Timo Kreuzer [Sun, 25 Dec 2022 13:02:11 +0000 (15:02 +0200)]
[NDK] Fix definition of LDR_ENUM_RESOURCE_INFO

This fixes ntdll_apitest LdrEnumResources on x64 Windows

15 months ago[LOG2LINES] Compile the tool for MSVC builds 4809/head
Mark Jansen [Mon, 24 Oct 2022 19:56:54 +0000 (21:56 +0200)]
[LOG2LINES] Compile the tool for MSVC builds

15 months ago[NTOS] Set SwapBusy properly for i386
Justin Miller [Sun, 27 Mar 2022 05:22:45 +0000 (22:22 -0700)]
[NTOS] Set SwapBusy properly for i386

Co-authored-by: Hermès BÉLUSCA - MAÏTO <hermes.belusca-maito@reactos.org>
15 months ago[NTOS] Increment ActiveProcessors accurately
Justin Miller [Sun, 27 Mar 2022 05:18:31 +0000 (22:18 -0700)]
[NTOS] Increment ActiveProcessors accurately

15 months ago[NTOS] fix timer lock data and hardcod
Justin Miller [Sun, 27 Mar 2022 05:16:25 +0000 (22:16 -0700)]
[NTOS] fix timer lock data and hardcod

15 months ago[NTOS] Swap MAXIMUM_PROCESSORS with NUMBER_POOL_LOOKASIDE_LISTS
Justin Miller [Sun, 27 Mar 2022 05:11:02 +0000 (05:11 +0000)]
[NTOS] Swap MAXIMUM_PROCESSORS with NUMBER_POOL_LOOKASIDE_LISTS

15 months ago[INF] More deduplication and style harmonization (#4952)
Joachim Henze [Wed, 28 Dec 2022 01:26:17 +0000 (02:26 +0100)]
[INF] More deduplication and style harmonization (#4952)

- deduplication of manufacturer strings
- at some places harmonizes the different length of separator lines within the same file, centers the words (as requested by hbelusca during review), harmonizes those lines to 74characters length each
- moving some strings that are not to be localized into the non-localization string section
- other minor formatting preferences coauthored by StasM

15 months ago[SYSSETUP] Fix *.rc combobox for the timezone is too small CORE-18587
Joachim Henze [Mon, 26 Dec 2022 18:58:31 +0000 (19:58 +0100)]
[SYSSETUP] Fix *.rc combobox for the timezone is too small CORE-18587

Use the same width for COMBOBOX IDC_TIMEZONELIST that we use in timedate.cpl to
prevent strings from getting cut off for some timezones with long names.
To still make it look appealing afterwards, enlarge and move a bit to the right also IDC_TIMEPICKER.

IDC_AUTODAYLIGHT used different widths in several translations, we can harmonize
for all languages to the biggest one that was used: 230 (taken from eu-ES.rc).

And also fix a few additional whitespace-glitches in zh-CN, zh-HK, zh-TW and en-GB.

After this commit the whole dialog IDD_DATETIMEPAGE uses the exact same dimension for
all of its controls for all languages.

15 months ago[TIMEDATE] Limit the expanded combobox height by using CBS_NOINTEGRALHEIGHT CORE...
Joachim Henze [Mon, 26 Dec 2022 15:26:51 +0000 (16:26 +0100)]
[TIMEDATE] Limit the expanded combobox height by using CBS_NOINTEGRALHEIGHT CORE-18665

It is good practice to not make the expanded combobox larger than the dialog itself.
CBS_NOINTEGRALHEIGHT will allow to set a fixed amount of pixels for the v6 combobox,
and therefore allows us to hide the problem for this specific dialog.

The problem was unhidden by 0.4.12-dev-882-g e3e173ffaafbccb0e9b52926d41626d5a4dc38cd

Even after this patch I think Wines comctl32 can be improved for comboboxes with very
many elements that do not use this small trick yet. I will create a follow-up-ticket.

15 months ago[REG] Fix mis-converted Yes-No-All keypress shortcuts strings.
Hermès Bélusca-Maïto [Mon, 26 Dec 2022 12:16:17 +0000 (13:16 +0100)]
[REG] Fix mis-converted Yes-No-All keypress shortcuts strings.

The PO \"#msgctx\" control strings were not stripped out.

16 months ago[NTOS:CM] Enable verbose debug output of registry lazy flushing component 4955/head
George Bișoc [Thu, 22 Dec 2022 21:14:36 +0000 (22:14 +0100)]
[NTOS:CM] Enable verbose debug output of registry lazy flushing component

Log debug output of the lazy flusher as much information as possible so that we can examine how does the lazy flusher behave, since it didn't work for almost a decade. Verbose debugging will be disabled once we're confident enough the registry implementation in ReactOS is rock solid.

16 months ago[NTOS:CM] Don't lazy flush the registry during unlocking operation
George Bișoc [Thu, 22 Dec 2022 21:12:55 +0000 (22:12 +0100)]
[NTOS:CM] Don't lazy flush the registry during unlocking operation

Whenever ReactOS finishes its operations onto the registry and unlocks it, a lazy flush is invoked to do an eventual flushing of the registry to the backing storage of the system. Except that... lazy flushing never comes into place.

This is because whenever CmpLazyFlush is called that sets up a timer which needs to expire in order to trigger the lazy flusher engine worker. However, registry locking/unlocking is a frequent occurrence, mainly when on desktop. Therefore as a matter of fact, CmpLazyFlush keeps removing and inserting the timer and the lazy flusher will never kick in that way.

Ironically the lazy flusher actually does the flushing when on USETUP installation phase because during text-mode setup installation in ReactOS the frequency of registry operations is actually less so the timer has the opportunity to expire and fire up the flusher.

In addition to that, we must queue a lazy flush when marking cells as dirty because such dirty data has to be flushed down to the media storage of the system. Of course, the real place where lazy flushing operation is done should be in a subset helper like HvMarkDirty that marks parts of a hive as dirty but since we do not have that, we'll be lazy flushing the registry during cells dirty marking instead for now.

CORE-18303

16 months agoTranslate favorites menu
Fernando Isnaldo Silva de Faria [Thu, 22 Dec 2022 22:05:15 +0000 (19:05 -0300)]
Translate favorites menu

Improve translation for Favorites menu

16 months ago[TRANSLATION] Don't translate Documents and Settings folder
Jose Carlos Jesus [Tue, 6 Dec 2022 00:42:19 +0000 (00:42 +0000)]
[TRANSLATION] Don't translate Documents and Settings folder

16 months ago[SHELL32][USER32] Improve pt-PT translation
Jose Carlos Jesus [Sat, 26 Nov 2022 14:35:41 +0000 (14:35 +0000)]
[SHELL32][USER32] Improve pt-PT translation

16 months ago[TRANSLATION] Hungarian translation update for sysdm
Tibor Lajos Füzi [Tue, 6 Dec 2022 21:31:15 +0000 (22:31 +0100)]
[TRANSLATION] Hungarian translation update for sysdm

16 months ago[DXDIAG] Fix Portuguese (pt-BR) translation (#4953)
Fernando Isnaldo Silva de Faria [Thu, 22 Dec 2022 12:30:51 +0000 (09:30 -0300)]
[DXDIAG] Fix Portuguese (pt-BR) translation (#4953)

Fix minor translation error.

16 months ago[NTUSER] Fix zombie window created by CTRL+ALT+DEL (#4935)
Thamatip Chitpong [Thu, 22 Dec 2022 00:38:53 +0000 (07:38 +0700)]
[NTUSER] Fix zombie window created by CTRL+ALT+DEL (#4935)

Based on patch by I_Kill_Bugs. CORE-18258
See also commit 58b0558f9.

16 months ago[WIN32K:NTGDI] PATH_PathToRegion(): Update documentation (#4941)
Serge Gautherie [Thu, 22 Dec 2022 00:27:51 +0000 (01:27 +0100)]
[WIN32K:NTGDI] PATH_PathToRegion(): Update documentation (#4941)

Addendum to 215e0d9 (r64177).

16 months ago[NTOBJSHEX] Fix displayed registry value type and icon (#4949)
Serge Gautherie [Wed, 21 Dec 2022 12:42:36 +0000 (13:42 +0100)]
[NTOBJSHEX] Fix displayed registry value type and icon (#4949)

- RegistryTypeNames[]: Remove an unwanted space

- CRegistryFolderExtractIcon::GetIconLocation():
  Add the REG_ENTRY_VALUE_WITH_CONTENT case

- CRegistryFolder::GetDetailsOf(): Fix copypasta

- CRegistryFolder::FormatValueData(): Fix magic constant

CORE-18747

16 months ago[NTOBJSHEX] Fix sorting elements by different columns (#4947)
Egor Ananyin [Tue, 20 Dec 2022 20:58:30 +0000 (23:58 +0300)]
[NTOBJSHEX] Fix sorting elements by different columns (#4947)

- Add ability to sort NT objects by symlinks
- Add ability to sort registry entries by type/value

CORE-18761 CORE-18762

16 months ago[SHELL32] Read the label for a CD from autorun.inf (#4945)
Egor Ananyin [Tue, 20 Dec 2022 19:30:09 +0000 (22:30 +0300)]
[SHELL32] Read the label for a CD from autorun.inf (#4945)

Some CDs may set a custom label using autorun.inf.
Read the label from the file, and if it succeeds, show it to the user.

CORE-18567

16 months ago[NTOBJSHEX] Formatting only
Stanislav Motylkov [Tue, 20 Dec 2022 17:08:08 +0000 (20:08 +0300)]
[NTOBJSHEX] Formatting only

16 months ago[SHELL32] Fix detailed list views in Control Panel and Registry Folder
Muthu R Kumar [Tue, 20 Dec 2022 15:42:07 +0000 (07:42 -0800)]
[SHELL32] Fix detailed list views in Control Panel and Registry Folder

- Add enums for Control Panel and Registry Folder columns
- Fix iColumn values in GetDetailsOf() and fix checks in
  GetDefaultColumnState()

Current CControlPanelFolder::CompareIDs was using wrong lparam column
index. Actual column index should be 1 instead of 4. Because of this
the comment column next to name in details view was not being displayed
correctly. The same fixes for CRegFolder class functions.

PR #4944. CORE-18743 CORE-18501

16 months ago[RPCRT4_WINETEST] Remove obsolete todo_wine
Eric Kohl [Mon, 19 Dec 2022 16:58:02 +0000 (17:58 +0100)]
[RPCRT4_WINETEST] Remove obsolete todo_wine

Addendum to 00ccbd2f

16 months ago[RPCRT4] RpcStringBindingParseA/W must fail, if a colon is missing in the string...
Eric Kohl [Mon, 19 Dec 2022 15:13:58 +0000 (16:13 +0100)]
[RPCRT4] RpcStringBindingParseA/W must fail, if a colon is missing in the string binding

This fixes a bug in the rpc winetest.
This patch will be sent upstream.

16 months ago[RPCRT4] Call WSAStartup in rpcrt4_ip_tcp_get_top_of_tower
Eric Kohl [Mon, 19 Dec 2022 12:39:52 +0000 (13:39 +0100)]
[RPCRT4] Call WSAStartup in rpcrt4_ip_tcp_get_top_of_tower

This fixes the crash in the rpc winetest.

16 months ago[RPCRT4] RpcStringFreeA/W must set the pointer to NULL
Eric Kohl [Mon, 19 Dec 2022 08:18:22 +0000 (09:18 +0100)]
[RPCRT4] RpcStringFreeA/W must set the pointer to NULL

Add a matching wine test.

This change will be sent upstream.

16 months ago[DESK] Update german translation de-DE.rc (#4943)
Joachim Henze [Fri, 16 Dec 2022 15:29:17 +0000 (16:29 +0100)]
[DESK] Update german translation de-DE.rc (#4943)

16 months ago[NTOS:IO] Replace an outdated E-Mail Address
Eric Kohl [Fri, 16 Dec 2022 09:34:51 +0000 (10:34 +0100)]
[NTOS:IO] Replace an outdated E-Mail Address

The old Address will be gone soon.

16 months ago[SYSSETUP] Fix missing comma in german translation de-DE.rc
Joachim Henze [Wed, 14 Dec 2022 23:14:57 +0000 (00:14 +0100)]
[SYSSETUP] Fix missing comma in german translation de-DE.rc

The old string lacked a *mandatory* comma before the word "übereinstimmen"
as the part "die Sie nutzen wollen" is a relative clause,
relative to the noun "Anwendungen".
But we can fix it without having to add the comma by some shuffling.
That also improves the reading flow.

16 months ago[WINLOGON] Update german translation de-DE.rc
Joachim Henze [Wed, 14 Dec 2022 22:27:37 +0000 (23:27 +0100)]
[WINLOGON] Update german translation de-DE.rc

Addendum to 0.4.15-dev-2358-g 5f033392397a101b6a9113b2d0de5c09e0a71737
to avoid regressing the german translation compared to releases/0.4.14

16 months ago[WIN32K] Workaround for broken/retarded (on non-x86) FLOATOBJ_GetFloat
Timo Kreuzer [Sat, 3 Dec 2022 13:00:28 +0000 (15:00 +0200)]
[WIN32K] Workaround for broken/retarded (on non-x86) FLOATOBJ_GetFloat

The official definition in winddi.h always returns the result in an ULONG. This works to assign to a FLOATL on x86, which is also an ULONG, but it doesn't work on any other architecture, where FLOATL is actually a FLOAT, so the assignment would convert the ULONG encoding of the FLOAT to an actual float, which gives broken results. Work around this by simply replacing the definition with a sane one in win32k.

16 months ago[WIN32K] Fix memory leak on failure in REGION_SetPolyPolygonRgn
Timo Kreuzer [Sat, 3 Dec 2022 10:44:38 +0000 (12:44 +0200)]
[WIN32K] Fix memory leak on failure in REGION_SetPolyPolygonRgn

16 months ago[WIN32K] Fix a bug in PATH_PathToRegion
Timo Kreuzer [Sat, 3 Dec 2022 10:42:04 +0000 (12:42 +0200)]
[WIN32K] Fix a bug in PATH_PathToRegion

16 months ago[WIN32K] Fix missing NULL check in NtGdiPathToRegion
Timo Kreuzer [Sat, 3 Dec 2022 08:27:33 +0000 (10:27 +0200)]
[WIN32K] Fix missing NULL check in NtGdiPathToRegion

16 months ago[WIN32K] Fix uninitialized variable in IntExtTextOutW
Timo Kreuzer [Sun, 27 Nov 2022 13:22:36 +0000 (15:22 +0200)]
[WIN32K] Fix uninitialized variable in IntExtTextOutW

16 months ago[NTOS] Fix saving of XMM registers on some trap handlers
Timo Kreuzer [Sat, 3 Dec 2022 12:59:14 +0000 (14:59 +0200)]
[NTOS] Fix saving of XMM registers on some trap handlers

16 months ago[KMTEST] Add a NULL check
Timo Kreuzer [Mon, 28 Nov 2022 07:56:03 +0000 (09:56 +0200)]
[KMTEST] Add a NULL check

16 months ago[KMTEST] Handle failure in KmtLoadDriver and KmtOpenDriver
Timo Kreuzer [Mon, 8 Aug 2022 07:50:28 +0000 (10:50 +0300)]
[KMTEST] Handle failure in KmtLoadDriver and KmtOpenDriver

16 months ago[NTOS:IO] Bring back the NDEBUG definition
Victor Perevertkin [Mon, 12 Dec 2022 22:49:32 +0000 (01:49 +0300)]
[NTOS:IO] Bring back the NDEBUG definition

Addendum to 947f60b20716e1581b0785360d2d71363eff3657

16 months ago[NTOS:IO] Allow REG_SZ type for ImagePath of a driver
Victor Perevertkin [Mon, 12 Dec 2022 22:46:20 +0000 (01:46 +0300)]
[NTOS:IO] Allow REG_SZ type for ImagePath of a driver

Fixes the load of the Sysinternals FileMon driver.

CORE-18725

16 months ago[BTRFS] btrfs.inf: Comment out mkbtrfs.exe (#4937)
Serge Gautherie [Sun, 11 Dec 2022 22:10:02 +0000 (23:10 +0100)]
[BTRFS] btrfs.inf: Comment out mkbtrfs.exe (#4937)

It is not imported into ReactOS.

Addendum to 0.4.13-dev-788-g c8875c182ac638a9aed627ecaf39e30ab22daf40 and 0.4.14-dev-1535-g 194ea909fdff60294ce2d5434cbded63f5377754

16 months ago['OLD'_WORDPAD] General resources in rsrc.rc are language-neutral.
Hermès Bélusca-Maïto [Fri, 9 Dec 2022 23:40:53 +0000 (00:40 +0100)]
['OLD'_WORDPAD] General resources in rsrc.rc are language-neutral.

16 months ago[ROSAPPS] Exclude the templates from compilation by default.
Hermès Bélusca-Maïto [Fri, 9 Dec 2022 23:30:28 +0000 (00:30 +0100)]
[ROSAPPS] Exclude the templates from compilation by default.

16 months ago[MDI] Template MDI app is Win32 GUI, not CUI.
Hermès Bélusca-Maïto [Fri, 9 Dec 2022 23:29:53 +0000 (00:29 +0100)]
[MDI] Template MDI app is Win32 GUI, not CUI.

16 months ago[CONSOLE] Improve font preview and Update de-DE.rc (#4933)
Joachim Henze [Fri, 9 Dec 2022 20:28:38 +0000 (21:28 +0100)]
[CONSOLE] Improve font preview and Update de-DE.rc (#4933)

An addendum to bc1e2dbb92340b89ed043545ff761f75ea013301 == SVN r74465
from CORE13182 (I intentionally did not want JIRA to auto-link)

16 months ago[SHELL32] Improve "Empty Recycle Bin" sound code (#4927)
Thamatip Chitpong [Fri, 9 Dec 2022 20:14:09 +0000 (03:14 +0700)]
[SHELL32] Improve "Empty Recycle Bin" sound code (#4927)

Split off from PR #4755. This change doesn't require WINMM fixes (#4635).

- Remove `MAX_PATH` limit
- Use ATL classes
- Play the sound asynchronously

16 months ago[SHELL32] Fix My Documents properties (#4906)
Thamatip Chitpong [Fri, 9 Dec 2022 13:00:24 +0000 (20:00 +0700)]
[SHELL32] Fix My Documents properties (#4906)

Tell the caller to run default action by returning S_FALSE in else case.

CORE-17509

16 months ago[NTOS:IO] Properly zero-initialize a file object created by IopParseDevice (#4931)
Oleg Dubinskiy [Wed, 7 Dec 2022 22:15:42 +0000 (23:15 +0100)]
[NTOS:IO] Properly zero-initialize a file object created by IopParseDevice (#4931)

Fix uninitialized kernel memory leakage for a case when a file object extension is appended.

CORE-18711

16 months ago[MSPAINT] Fix manifest for mspaint.
Hermès Bélusca-Maïto [Tue, 6 Dec 2022 14:25:47 +0000 (15:25 +0100)]
[MSPAINT] Fix manifest for mspaint.

16 months ago[SYSDM] System Parameters: Add close button (#4928)
Thamatip Chitpong [Tue, 6 Dec 2022 12:50:12 +0000 (19:50 +0700)]
[SYSDM] System Parameters: Add close button (#4928)

Follow-up of PR #4891 (commit f125cd1c7).

16 months ago[KDGDB] Fix compilation following commit de81021ba (#4930) 4930/head
Hermès Bélusca-Maïto [Mon, 5 Dec 2022 23:48:49 +0000 (00:48 +0100)]
[KDGDB] Fix compilation following commit de81021ba (#4930)

Use cast to be compatible with "public" structure definition.

16 months ago[BOOTDATA][INF] Add Japanese (ja-JP) translation to timezone
Katayama Hirofumi MZ [Mon, 5 Dec 2022 02:29:02 +0000 (11:29 +0900)]
[BOOTDATA][INF] Add Japanese (ja-JP) translation to timezone

CORE-18706

16 months ago[DESK] Fix screensaver preview after calling its settings (#4921)
Egor Ananyin [Sun, 4 Dec 2022 15:04:23 +0000 (18:04 +0300)]
[DESK] Fix screensaver preview after calling its settings (#4921)

Fix a bug when after closing the settings window for a screensaver,
the preview for it wouldn't restart.

- Keep waiting for messages from the settings window while it's open
- Fix leaking two handles to avoid creating zombie processes

CORE-18680

16 months ago[MMSYS] Prevent the same sound from being added multiple times (#4898)
Thamatip Chitpong [Sun, 4 Dec 2022 14:12:36 +0000 (21:12 +0700)]
[MMSYS] Prevent the same sound from being added multiple times (#4898)

Check if the list already contains the sound.

16 months ago[NTGDI][FREETYPE] Follow-up of #4920 (e316d61); Rename functions
Katayama Hirofumi MZ [Sun, 4 Dec 2022 13:11:46 +0000 (22:11 +0900)]
[NTGDI][FREETYPE] Follow-up of #4920 (e316d61); Rename functions

Follow the naming policy.

- ftGdiGetRealGlyph --> IntGetRealGlyph
- ftGdiGlyphCacheGet --> IntFindGlyphCache
- ftGdiGlyphSet --> IntGetBitmapGlyphNoCache
- ftGdiGlyphCacheSet --> IntGetBitmapGlyphWithCache
- FtMatrixFromMx --> IntMatrixFromMx

CORE-11848

16 months ago[OSK] Delete WS_EX_NOACTIVATE workaround code
Katayama Hirofumi MZ [Sun, 4 Dec 2022 01:15:56 +0000 (10:15 +0900)]
[OSK] Delete WS_EX_NOACTIVATE workaround code

CORE-18528

16 months ago[NTUSER] Fix SetActiveWindow return value
Katayama Hirofumi MZ [Sat, 3 Dec 2022 23:58:34 +0000 (08:58 +0900)]
[NTUSER] Fix SetActiveWindow return value

Apply set-active.patch. CORE-13257

16 months ago[SENDMAIL] Fix Send To -> Desktop (create shortcut) behavior (#4913)
Thamatip Chitpong [Sat, 3 Dec 2022 17:06:45 +0000 (00:06 +0700)]
[SENDMAIL] Fix Send To -> Desktop (create shortcut) behavior (#4913)

Several fixes and improvements to the CDeskLinkDropHandler:
- Set default working directory for shortcuts (except folders and zip files)
- Copy existing shortcut to the desktop if the source file is a shortcut
- Prevent destination file name collision

Verified on Windows XP SP3 and Windows 7 SP1.

16 months ago[EXPLORER] Fix Windows XP compatibility (#4923)
Thamatip Chitpong [Sat, 3 Dec 2022 15:00:22 +0000 (22:00 +0700)]
[EXPLORER] Fix Windows XP compatibility (#4923)

CORE-18694
It regressed by 0.4.15-dev-4596-g 1aa95f389772901970369afa3abfb207df6f57f6

16 months ago[NTGDI][FREETYPE] lfEscapement for TextOut (#4920)
Katayama Hirofumi MZ [Sat, 3 Dec 2022 04:03:28 +0000 (13:03 +0900)]
[NTGDI][FREETYPE] lfEscapement for TextOut (#4920)

Rotation and shearing transformation of font/text is now available. Retrial of PR #1207.
- Rename ftGdiGetTextWidth as IntGetTextDisposition and add a Y parameter.
- Apply lfEscapement values (by multiplying matrices).
- Add IntEngFillPolygon and IntEngFillBox helper functions.
CORE-11848

16 months ago[NTOS] Fix double free on allocation failure in ObCreateObject
Timo Kreuzer [Wed, 31 Aug 2022 13:08:41 +0000 (15:08 +0200)]
[NTOS] Fix double free on allocation failure in ObCreateObject

16 months ago[SPOOLSS] Fix prototype of BuildOtherNamesFromMachineName
Timo Kreuzer [Sun, 28 Aug 2022 16:18:58 +0000 (18:18 +0200)]
[SPOOLSS] Fix prototype of BuildOtherNamesFromMachineName

16 months ago[NTOS] Improve MmDeleteProcessAddressSpace
Timo Kreuzer [Mon, 15 Aug 2022 12:53:44 +0000 (15:53 +0300)]
[NTOS] Improve MmDeleteProcessAddressSpace

16 months ago[NTOS] Improve MmCleanProcessAddressSpace
Timo Kreuzer [Sun, 14 Aug 2022 20:33:18 +0000 (23:33 +0300)]
[NTOS] Improve MmCleanProcessAddressSpace

16 months ago[WIN32K] Fix missing NULL check in IntCreateDIBitmap
Timo Kreuzer [Mon, 8 Aug 2022 07:40:40 +0000 (09:40 +0200)]
[WIN32K] Fix missing NULL check in IntCreateDIBitmap

16 months ago[NTOS:EX] Initialize ExpTimeRefreshLock
Timo Kreuzer [Tue, 9 Aug 2022 13:48:48 +0000 (15:48 +0200)]
[NTOS:EX] Initialize ExpTimeRefreshLock

16 months ago[KERNEL32] Fix a bug in GetVolumeNameForRoot
Timo Kreuzer [Mon, 8 Aug 2022 13:44:03 +0000 (15:44 +0200)]
[KERNEL32] Fix a bug in GetVolumeNameForRoot

16 months ago[WS2_32_APITEST] Fix uninitialized variable
Timo Kreuzer [Sun, 14 Aug 2022 20:40:39 +0000 (22:40 +0200)]
[WS2_32_APITEST] Fix uninitialized variable

16 months ago[CRT_APITEST] Restore direction flag to avoid false RTC break
Timo Kreuzer [Mon, 8 Aug 2022 07:33:02 +0000 (10:33 +0300)]
[CRT_APITEST] Restore direction flag to avoid false RTC break

With set direction flag the variables will not be initialized properly.

16 months ago[CRT] Add simplistic fallback implementation of sincos to make GCC 11 happy
Timo Kreuzer [Sat, 25 Jun 2022 10:27:39 +0000 (12:27 +0200)]
[CRT] Add simplistic fallback implementation of sincos to make GCC 11 happy

16 months ago[CRT] Replace amd64 math functions/stubs with libm
Timo Kreuzer [Tue, 23 Aug 2022 14:37:14 +0000 (17:37 +0300)]
[CRT] Replace amd64 math functions/stubs with libm

16 months ago[FREELDR] Add stubs for pow and log to avoid pulling in the data from CRT (maybe...
Timo Kreuzer [Sun, 10 Jul 2022 13:46:04 +0000 (16:46 +0300)]
[FREELDR] Add stubs for pow and log to avoid pulling in the data from CRT (maybe fix printf functions instead?)

16 months ago[CRT] Add basic version of handle_error
Timo Kreuzer [Sat, 18 Jun 2022 08:19:18 +0000 (10:19 +0200)]
[CRT] Add basic version of handle_error

16 months ago[CRT] Improve _matherr handling
Timo Kreuzer [Tue, 23 Aug 2022 21:36:33 +0000 (23:36 +0200)]
[CRT] Improve _matherr handling

16 months ago[CRT] Implement _set_statfp
Timo Kreuzer [Sun, 12 Jun 2022 18:01:53 +0000 (20:01 +0200)]
[CRT] Implement _set_statfp

16 months ago[ASMPP] Implement asm preprocessor
Timo Kreuzer [Mon, 20 Jun 2022 15:29:01 +0000 (18:29 +0300)]
[ASMPP] Implement asm preprocessor

This converts ML style assembly to GAS compatible syntax

16 months ago[LIBM] Fix ldexp.c / ldexpf.c
Timo Kreuzer [Fri, 24 Jun 2022 18:21:17 +0000 (20:21 +0200)]
[LIBM] Fix ldexp.c / ldexpf.c

16 months ago[LIBM] Add ldexp.c and ldexpf.c from aocl-libm-ose
Timo Kreuzer [Fri, 24 Jun 2022 18:05:47 +0000 (20:05 +0200)]
[LIBM] Add ldexp.c and ldexpf.c from aocl-libm-ose

16 months ago[LIBM] Fix up some asm files
Timo Kreuzer [Sat, 25 Jun 2022 10:00:01 +0000 (13:00 +0300)]
[LIBM] Fix up some asm files

This allows to compile them with GAS after translation

16 months ago[LIBM] Convert tables from asm to C
Timo Kreuzer [Sat, 18 Jun 2022 10:16:29 +0000 (12:16 +0200)]
[LIBM] Convert tables from asm to C

16 months ago[LIBM] Fix build
Timo Kreuzer [Sun, 12 Jun 2022 11:16:22 +0000 (14:16 +0300)]
[LIBM] Fix build

16 months ago[LIBM] Import win-libm from AMD
Timo Kreuzer [Sun, 12 Jun 2022 10:02:01 +0000 (12:02 +0200)]
[LIBM] Import win-libm from AMD

Source: https://github.com/amd/win-libm

16 months ago[XDK] Silence some GCC x64 warnings
Timo Kreuzer [Wed, 24 Aug 2022 11:10:02 +0000 (13:10 +0200)]
[XDK] Silence some GCC x64 warnings

16 months ago[CRT] Add a workaround for CORE-18255
Timo Kreuzer [Wed, 24 Aug 2022 08:42:19 +0000 (10:42 +0200)]
[CRT] Add a workaround for CORE-18255

16 months ago[NTGDI][FREETYPE] lfWidth for GetTextMetrics and GetCharWidth (#4919)
Katayama Hirofumi MZ [Wed, 30 Nov 2022 23:54:39 +0000 (08:54 +0900)]
[NTGDI][FREETYPE] lfWidth for GetTextMetrics and GetCharWidth (#4919)

- Add lfWidth member into FONTGDI structure.
- Delete IntWidthMatrix function.
- Fix IntRequestFontSize behavior for processing lfWidth value.
- Apply lfWidth in GetTextMetrics and GetCharWidth.
- Ignore the XFORM values in GetTextMetrics and GetCharWidth.
CORE-11848