reactos.git
2 years ago[GDI32] Reduce verbosity on debug builds
Pierre Schweitzer [Sat, 20 Apr 2019 09:24:54 +0000 (11:24 +0200)]
[GDI32] Reduce verbosity on debug builds

2 years ago[NTOSKRNL] Don't set VACB dirty on release if already dirty
Pierre Schweitzer [Sat, 20 Apr 2019 09:23:35 +0000 (11:23 +0200)]
[NTOSKRNL] Don't set VACB dirty on release if already dirty

CORE-15954

2 years ago[ATL][ATLTEST] Adapt to RATL and improvements (#1501)
Katayama Hirofumi MZ [Fri, 19 Apr 2019 23:35:39 +0000 (08:35 +0900)]
[ATL][ATLTEST] Adapt to RATL and improvements (#1501)

- Modify atldef.h for non-ReactOS environments.
- Update ATL testcase project files (from v120_xp to v140_xp).
- #define HAVE_APITEST and use it.
- s/NULL/0/

2 years ago[HIDCLASS] Implement IOCTL_HID_GET_FEATURE/IOCTL_HID_SET_FEATURE
Hervé Poussineau [Fri, 19 Apr 2019 20:40:32 +0000 (22:40 +0200)]
[HIDCLASS] Implement IOCTL_HID_GET_FEATURE/IOCTL_HID_SET_FEATURE

2 years ago[KERNEL32] GetSystemPowerStatus(): Set the BATTERY_FLAG_CRITICAL flag if the battery...
Eric Kohl [Fri, 19 Apr 2019 20:30:46 +0000 (22:30 +0200)]
[KERNEL32] GetSystemPowerStatus(): Set the BATTERY_FLAG_CRITICAL flag if the battery life gets lower than 5 percent.

2 years ago[KERNEL32] GetSystemPowerStatus(): Fix coding style. No code changes!
Eric Kohl [Fri, 19 Apr 2019 20:28:11 +0000 (22:28 +0200)]
[KERNEL32] GetSystemPowerStatus(): Fix coding style. No code changes!

2 years ago[STOBJECT] Improvements to the power notification icon
Eric Kohl [Fri, 19 Apr 2019 19:50:13 +0000 (21:50 +0200)]
[STOBJECT] Improvements to the power notification icon

- Use GetSystemPowerStatus() instead of querying each battery.
- Add an ugly AC power icon. Should be fixed or replaced.
- Display AC power, battery charging, battery depleting and error cases. The AC power case was missing.
- Update some strings because we are no longer using float for the charge percentage.

@Turkish translators: Please check and update the translation of IDS_PWR_CHARGING!

2 years ago[DBGHELP] SymFromAddr: Handle 2 or more symbols at the same address correct. 1055/head
Andreas Maier [Thu, 22 Nov 2018 21:15:55 +0000 (22:15 +0100)]
[DBGHELP] SymFromAddr: Handle 2 or more symbols at the same address correct.

There could be more then 2 symbols at the same addr.
Adjust function to handle that case correct.

2 years ago[DBGHELP] Set LastError for SymGetModuleBase-calls to ERROR_MOD_NOT_FOUND.
Andreas Maier [Thu, 22 Nov 2018 21:14:24 +0000 (22:14 +0100)]
[DBGHELP] Set LastError for SymGetModuleBase-calls to ERROR_MOD_NOT_FOUND.

Correct last error in module_find_by_addr.

2 years ago[DBGHELP] set correct values in symt_fill_sym_info (SYMBOL_INFO).
Andreas Maier [Thu, 22 Nov 2018 20:47:45 +0000 (21:47 +0100)]
[DBGHELP] set correct values in symt_fill_sym_info (SYMBOL_INFO).

* symtype: set to SymPdb not SymCv (may be for old pdb-files pre VS 6.0)
* flags: return SYMFLAG_PUBLIC_CODE for SymTagPublicSymbol if its a function.
* flags: do not return SYMFLAG_FUNCTION for SymTagFuncion.

2 years ago[DBGHELP] Add SYMFLAG_- and SYMTYPE_-defines.
Andreas Maier [Thu, 22 Nov 2018 20:34:14 +0000 (21:34 +0100)]
[DBGHELP] Add SYMFLAG_- and SYMTYPE_-defines.

2 years ago[DBGHELP] use correct record in codeview_snarf_public.
Andreas Maier [Thu, 22 Nov 2018 20:27:48 +0000 (21:27 +0100)]
[DBGHELP] use correct record in codeview_snarf_public.

Use public_vx iststead of data_vx for public symbols.

2 years ago[DBGHELP] search for debugfiles in modulepath too.
Andreas Maier [Sat, 3 Nov 2018 20:26:48 +0000 (21:26 +0100)]
[DBGHELP] search for debugfiles in modulepath too.

Debug symbols (like PDB, ...) could not be found if the direcory of
the module and application differs. Applying this patch they will
be found.
Dbghelp searches the module path too. (See MS docs).

2 years ago[CMAKE] msvc.cmake: Remove now redundant '/we4028' special case
Serge Gautherie [Fri, 19 Apr 2019 13:39:16 +0000 (15:39 +0200)]
[CMAKE] msvc.cmake: Remove now redundant '/we4028' special case

Addendum to 545a2c79367e1457e4bc7ac14d3c0f840c7e063c.

CORE-7538

2 years ago[APPVEYOR] Enable fast_finish (#1494)
Katayama Hirofumi MZ [Fri, 19 Apr 2019 14:39:18 +0000 (23:39 +0900)]
[APPVEYOR] Enable fast_finish (#1494)

It stops the remaining jobs if any error happened. It becomes less time for waiting for building.

2 years ago[BOOTDATA] AHKAppTests.cmd: Fix 'media' typo (#1502)
Serge Gautherie [Fri, 19 Apr 2019 13:12:16 +0000 (15:12 +0200)]
[BOOTDATA] AHKAppTests.cmd: Fix 'media' typo (#1502)

Addendum to df2a8c4. s/media/medium/

2 years ago[NTOBJSHEX] Reorder include files in the precompiled header 1474/head
Mark Jansen [Thu, 18 Apr 2019 19:17:00 +0000 (21:17 +0200)]
[NTOBJSHEX] Reorder include files in the precompiled header

2 years ago[APPHELP] Fix warnings
Mark Jansen [Thu, 18 Apr 2019 17:21:25 +0000 (19:21 +0200)]
[APPHELP] Fix warnings

2 years ago[RSHELL] Disable exceptions in atl when compiling without exceptions
Mark Jansen [Thu, 18 Apr 2019 17:21:00 +0000 (19:21 +0200)]
[RSHELL] Disable exceptions in atl when compiling without exceptions

2 years ago[SHELL32_APITEST] Disable exceptions in atl when compiling without exceptions
Mark Jansen [Tue, 16 Apr 2019 21:04:07 +0000 (23:04 +0200)]
[SHELL32_APITEST] Disable exceptions in atl when compiling without exceptions

2 years ago[MSGINA_APITEST] Disable exceptions in atl when compiling without exceptions
Mark Jansen [Tue, 16 Apr 2019 21:03:42 +0000 (23:03 +0200)]
[MSGINA_APITEST] Disable exceptions in atl when compiling without exceptions

2 years ago[NETREG] Use exceptions with stl
Mark Jansen [Tue, 16 Apr 2019 21:03:22 +0000 (23:03 +0200)]
[NETREG] Use exceptions with stl

2 years ago[MSGINA] Disable exceptions in atl when compiling without exceptions
Mark Jansen [Tue, 16 Apr 2019 20:53:56 +0000 (22:53 +0200)]
[MSGINA] Disable exceptions in atl when compiling without exceptions

2 years ago[NTOBJSHEX] Disable exceptions in atl when compiling without exceptions
Mark Jansen [Tue, 16 Apr 2019 20:51:34 +0000 (22:51 +0200)]
[NTOBJSHEX] Disable exceptions in atl when compiling without exceptions

2 years ago[APPHELP_APITEST] Disable exceptions in atl when compiling without exceptions
Mark Jansen [Tue, 16 Apr 2019 20:49:55 +0000 (22:49 +0200)]
[APPHELP_APITEST] Disable exceptions in atl when compiling without exceptions

2 years ago[SHELL32] Use the same definitions for shell32 and it's static libs
Mark Jansen [Tue, 16 Apr 2019 20:39:36 +0000 (22:39 +0200)]
[SHELL32] Use the same definitions for shell32 and it's static libs

2 years ago[ATL] Retire atlnew
Mark Jansen [Sat, 6 Apr 2019 20:37:13 +0000 (22:37 +0200)]
[ATL] Retire atlnew

2 years ago[ATL][ATL_APITEST] Add test + implementation for CAtlFileMapping
Mark Jansen [Fri, 5 Apr 2019 21:22:55 +0000 (23:22 +0200)]
[ATL][ATL_APITEST] Add test + implementation for CAtlFileMapping

2 years ago[NTOSKRNL] Drop the no longer needed Dirty field
Pierre Schweitzer [Thu, 18 Apr 2019 06:14:41 +0000 (08:14 +0200)]
[NTOSKRNL] Drop the no longer needed Dirty field

CORE-15954

2 years ago[NTOSKRNL] Don't mark VACB dirty on unpin
Pierre Schweitzer [Wed, 17 Apr 2019 20:23:57 +0000 (22:23 +0200)]
[NTOSKRNL] Don't mark VACB dirty on unpin

This could happen if BCB was marked dirty previously.
Marking VACB dirty on unpin could lead to a double write of
the VACB, even if clean.
Indeed, now that setting BCB dirty leads to marking VACB
dirty, the VACB can be flushed in between by the lazy-writer.
The BCB state is not reset on VACB flush, contrary to the VACB state.
Thus, on unpin even if the VACB was already flushed, we were
setting back the dirty state, leading the VACB to be flushed again.

This could bring a small performance downgrade. Though it remains
limited since this is mostly used for FS metadata.
Possibly it could lead to metadata corruption, but this is likely
less possible.

CORE-15954

2 years ago[NtGDI] Update Region code
jimtabor [Wed, 17 Apr 2019 19:43:24 +0000 (14:43 -0500)]
[NtGDI] Update Region code

Wine Sync/Port and update for Regions. See CORE-15906.

2 years ago[GDI] Fixup attribute support for Regions
jimtabor [Wed, 17 Apr 2019 19:09:58 +0000 (14:09 -0500)]
[GDI] Fixup attribute support for Regions

Start to fix CORE-13817 when GDI batch is turn on for SelectClipRgn.

2 years ago[NTOSKRNL] NtPowerInformation: Report an AC powered machine by default.
Eric Kohl [Tue, 16 Apr 2019 18:14:36 +0000 (20:14 +0200)]
[NTOSKRNL] NtPowerInformation: Report an AC powered machine by default.

2 years ago[KMTESTS:CC] Add tests for CcCopyWrite
Pierre Schweitzer [Tue, 16 Apr 2019 06:25:09 +0000 (08:25 +0200)]
[KMTESTS:CC] Add tests for CcCopyWrite

CORE-15384

2 years ago[KERNEL32] Implement InvalidateNLSCache
Katayama Hirofumi MZ [Tue, 16 Apr 2019 12:41:58 +0000 (21:41 +0900)]
[KERNEL32] Implement InvalidateNLSCache

2 years ago[KERNEL32] Fix handle leak and caching (follow-up of 7e38267)
Katayama Hirofumi MZ [Tue, 16 Apr 2019 11:57:02 +0000 (20:57 +0900)]
[KERNEL32] Fix handle leak and caching (follow-up of 7e38267)

2 years ago[KERNEL32] Era first year is GANNEN
Katayama Hirofumi MZ [Tue, 16 Apr 2019 02:10:00 +0000 (11:10 +0900)]
[KERNEL32] Era first year is GANNEN

2 years ago[BOOTDATA] Improve AHKAppTests.cmd (follow-up of #1476)
Katayama Hirofumi MZ [Tue, 16 Apr 2019 01:38:51 +0000 (10:38 +0900)]
[BOOTDATA] Improve AHKAppTests.cmd (follow-up of #1476)

2 years ago[USBHUB_NEW] Support NULL HubExtension in USBH_PdoRemoveDevice. 1484/head
Thomas Faber [Mon, 4 Mar 2019 19:36:32 +0000 (20:36 +0100)]
[USBHUB_NEW] Support NULL HubExtension in USBH_PdoRemoveDevice.

Device removal can happen multiple times for PDOs.

2 years ago[USBHUB_NEW] Fix inverted check in USBH_RestoreDevice.
Thomas Faber [Mon, 1 Apr 2019 12:04:56 +0000 (14:04 +0200)]
[USBHUB_NEW] Fix inverted check in USBH_RestoreDevice.

This allows re-enabling a disabled device.

2 years ago[USBCCGP] Allow unconfiguring the device in USBCCGP_PDOSelectConfiguration.
Thomas Faber [Sun, 7 Apr 2019 09:54:43 +0000 (11:54 +0200)]
[USBCCGP] Allow unconfiguring the device in USBCCGP_PDOSelectConfiguration.

Fixes device removal for USB audio devices.

2 years ago[USBCCGP] Do not try to unconfigure a device that is not configured.
Thomas Faber [Sun, 3 Mar 2019 17:24:44 +0000 (18:24 +0100)]
[USBCCGP] Do not try to unconfigure a device that is not configured.

Fixes handling failed IRP_MN_START_DEVICE.

2 years ago[COMCTL32] Remove an unnecessary include.
Thomas Faber [Sun, 14 Apr 2019 12:25:35 +0000 (14:25 +0200)]
[COMCTL32] Remove an unnecessary include.

2 years ago[BOOTDATA] Remove stray value.
Hermès Bélusca-Maïto [Sat, 13 Apr 2019 23:25:35 +0000 (01:25 +0200)]
[BOOTDATA] Remove stray value.

2 years ago[WIN32SS:NTGDI] IntEscapeMatrix(): Use FreeType trigonometric functions instead of...
Hermès Bélusca-Maïto [Sat, 13 Apr 2019 23:19:03 +0000 (01:19 +0200)]
[WIN32SS:NTGDI] IntEscapeMatrix(): Use FreeType trigonometric functions instead of CRT ones.

2 years ago[GDI32] Do not 'hard-assert' during the font-unit-test.
Hermès Bélusca-Maïto [Sat, 13 Apr 2019 23:17:15 +0000 (01:17 +0200)]
[GDI32] Do not 'hard-assert' during the font-unit-test.

2 years ago[3RDPARTY] Addendum to 146096cd: Make some warnings non-fatal.
Hermès Bélusca-Maïto [Sat, 13 Apr 2019 16:24:01 +0000 (18:24 +0200)]
[3RDPARTY] Addendum to 146096cd: Make some warnings non-fatal.

2 years ago[OPENGLCFG] Edit the applet name so it uses the same capitalization scheme as the...
Jared Smudde [Fri, 12 Apr 2019 23:20:59 +0000 (18:20 -0500)]
[OPENGLCFG] Edit the applet name so it uses the same capitalization scheme as the other Control Panel applets.

2 years ago[RAPPS] Fix blurry Theme category icon.
Jared Smudde [Fri, 12 Apr 2019 23:47:31 +0000 (18:47 -0500)]
[RAPPS] Fix blurry Theme category icon.

2 years ago[DIRECTX] Fix typos in readme.txt (#1498)
Oleg Dubinskiy [Sat, 13 Apr 2019 15:07:02 +0000 (18:07 +0300)]
[DIRECTX] Fix typos in readme.txt (#1498)

See also PR #687.

2 years ago[CMAKE] Don't use the PCH for generated files.
Thomas Faber [Mon, 8 Apr 2019 05:12:20 +0000 (07:12 +0200)]
[CMAKE] Don't use the PCH for generated files.

The PCH must be used with the same compiler flags it was generated with,
so don't use it for files that use modified flags.

2 years ago[CMAKE] Add 3 more critical warnings for MSVC
Timo Kreuzer [Tue, 27 Feb 2018 21:00:40 +0000 (22:00 +0100)]
[CMAKE] Add 3 more critical warnings for MSVC
- C4311: pointer truncation from '<pointer>' to '<integer>'
- C4312: conversion from '<integer>' to '<pointer>' of greater size
- C4133: incompatible types - from '<x> *' to '<y> *'
- C4028: formal parameter different from declaration

2 years ago[3RDPARTY] Make some warnings non-fatal
Timo Kreuzer [Mon, 1 Apr 2019 15:55:03 +0000 (17:55 +0200)]
[3RDPARTY] Make some warnings non-fatal

2 years ago[DBGHELP] Fix 64 bit issue
Timo Kreuzer [Sun, 7 Apr 2019 16:17:18 +0000 (18:17 +0200)]
[DBGHELP] Fix 64 bit issue

2 years ago[REACTOS] Fix misc 64 bit issues
Timo Kreuzer [Mon, 1 Apr 2019 12:24:05 +0000 (14:24 +0200)]
[REACTOS] Fix misc 64 bit issues

2 years ago[TREELIST] Fix 64 bit warnings
Timo Kreuzer [Fri, 4 Jan 2019 13:48:25 +0000 (14:48 +0100)]
[TREELIST] Fix 64 bit warnings

2 years ago[WIN32SS][NTUSER] Fix message time (#1259)
Katayama Hirofumi MZ [Thu, 11 Apr 2019 22:56:04 +0000 (07:56 +0900)]
[WIN32SS][NTUSER] Fix message time (#1259)

Fix CORE-15565 and make #1245 GetMessageTime testcase successful. CORE-15565
- Erase MsqCalculateMessageTime function.
- Use (DWORD)EngGetTickCount() instead.
- Ghosting is temporarily disabled.

2 years ago[WIN32SS][NTGDI] Delete unnecessary (ULONG) cast CORE-15755
Katayama Hirofumi MZ [Thu, 11 Apr 2019 09:23:32 +0000 (18:23 +0900)]
[WIN32SS][NTGDI] Delete unnecessary (ULONG) cast CORE-15755

2 years ago[GDI32][NTGDI] Avoid integer overflow (follow-up of #1492) (#1495)
Katayama Hirofumi MZ [Thu, 11 Apr 2019 08:57:57 +0000 (17:57 +0900)]
[GDI32][NTGDI] Avoid integer overflow (follow-up of #1492) (#1495)

Follow up of #1492. CORE-15755
- Use RtlULongMult function to check integer overflows.

2 years ago[GDI32][NTGDI][SETUP] Fix font enumeration part 2 (#1492)
Katayama Hirofumi MZ [Thu, 11 Apr 2019 02:46:52 +0000 (11:46 +0900)]
[GDI32][NTGDI][SETUP] Fix font enumeration part 2 (#1492)

Eliminate some bugs about font enumeration. CORE-15755

- Add "Microsoft Sans Serif" font substitution.
- Fix and improve the treatment of the nominal font names.
- Split IntGetFontFamilyInfo function from NtGdiGetFontFamilyInfo.
- Add DoFontSystemUnittest function for font system unittest to GDI32.
- Call DoFontSystemUnittest function at CreateFontIndirectW first call.

2 years ago[NtUser] Fix Theme Non Client Painting.
jimtabor [Thu, 11 Apr 2019 01:52:01 +0000 (20:52 -0500)]
[NtUser] Fix Theme Non Client Painting.

See CORE-7166 & CORE-15934.

2 years ago[DDraw] Fix DxDiag tests.
jimtabor [Thu, 11 Apr 2019 00:24:50 +0000 (19:24 -0500)]
[DDraw] Fix DxDiag tests.

After the DC work is done while before releasing the DC flush the GDI
batch.
See CORE-15905. Someone may need to notify wine about this change.

2 years ago[NET][MC] Move remaining generic strings from net.exe to netmsg.dll.
Eric Kohl [Tue, 9 Apr 2019 19:44:03 +0000 (21:44 +0200)]
[NET][MC] Move remaining generic strings from net.exe to netmsg.dll.

Translators, please check the translations!

2 years ago[GDI32] Improve IntFontFamilyListUnique function (#1491)
Katayama Hirofumi MZ [Tue, 9 Apr 2019 08:39:42 +0000 (17:39 +0900)]
[GDI32] Improve IntFontFamilyListUnique function (#1491)

Make gdi32!IntFontFamilyListUnique function std::unique compatible. Previous code didn't set the first entry correctly. CORE-15785

2 years ago[GDI32] add some DPRINT's for font enum functions
Katayama Hirofumi MZ [Tue, 9 Apr 2019 07:44:44 +0000 (16:44 +0900)]
[GDI32] add some DPRINT's for font enum functions

2 years ago[THEMES] Mizu Bitmap Updates. CORE-15936 (#1490) 1490/head
Foxlet [Mon, 8 Apr 2019 22:04:54 +0000 (18:04 -0400)]
[THEMES] Mizu Bitmap Updates. CORE-15936 (#1490)

- Add compatibility with XP and fix some bugs with its rendering engine.
- New Help and Slider bitmaps.

Co-authored-by: Stanislav Motylkov <x86corez@gmail.com>
2 years ago[NET][MC] Move generic strings from net.exe to netmsg.dll.
Eric Kohl [Mon, 8 Apr 2019 20:48:06 +0000 (22:48 +0200)]
[NET][MC] Move generic strings from net.exe to netmsg.dll.

Translators, please check the translations!

2 years ago[NTOSKRNL] Initialize GUID_DEVICE_BATTERY properly
Eric Kohl [Mon, 8 Apr 2019 16:24:33 +0000 (18:24 +0200)]
[NTOSKRNL] Initialize GUID_DEVICE_BATTERY properly

2 years ago[SDK] Raise KERNEL_VERSION_PATCH_LEVEL to 13 in the version.cmake 0.4.13-dev
Joachim Henze [Mon, 8 Apr 2019 16:25:01 +0000 (18:25 +0200)]
[SDK] Raise KERNEL_VERSION_PATCH_LEVEL to 13 in the version.cmake

2 years ago[THEMES][CMAKE] Cmake file fixup for Modern theme
Stanislav Motylkov [Mon, 8 Apr 2019 14:19:16 +0000 (17:19 +0300)]
[THEMES][CMAKE] Cmake file fixup for Modern theme

Addendum to 00ff951. CORE-13020

2 years ago[THEMES] Overhaul ReactOS modern theme. CORE-13020 (#1424) 1424/head
Jake Collins [Sun, 17 Mar 2019 22:27:56 +0000 (22:27 +0000)]
[THEMES] Overhaul ReactOS modern theme. CORE-13020 (#1424)

2 years ago[SHELL32] Fix SHFileOperation Move operation (#1487)
Katayama Hirofumi MZ [Mon, 8 Apr 2019 12:59:33 +0000 (21:59 +0900)]
[SHELL32] Fix SHFileOperation Move operation (#1487)

Reduce failures of Move operation of shell32!SHFileOperation function. CORE-13450

2 years ago[USBHID] Do not assert if the device was unplugged during an operation.
Victor Perevertkin [Mon, 1 Apr 2019 01:00:52 +0000 (04:00 +0300)]
[USBHID] Do not assert if the device was unplugged during an operation.

2 years ago[RAPPS] Update Russian translation
Stanislav Motylkov [Sun, 7 Apr 2019 20:12:15 +0000 (23:12 +0300)]
[RAPPS] Update Russian translation

Addendum to 07f3691 and d5b4570.

2 years ago[SYSSETUP] Update Russian translation
Stanislav Motylkov [Sun, 7 Apr 2019 20:10:23 +0000 (23:10 +0300)]
[SYSSETUP] Update Russian translation

Addendum to 5d4d48a21b7648, and ea799b7.

2 years ago[SYSSETUP] Add Mizu to syssetup.
Foxlet [Sat, 6 Apr 2019 02:10:59 +0000 (22:10 -0400)]
[SYSSETUP] Add Mizu to syssetup.

2 years ago[THEMES] Mizu Theme RC.
Foxlet [Thu, 4 Apr 2019 07:40:12 +0000 (03:40 -0400)]
[THEMES] Mizu Theme RC.

2 years ago[FONTS] Add Source Sans font family.
Foxlet [Thu, 4 Apr 2019 07:35:42 +0000 (03:35 -0400)]
[FONTS] Add Source Sans font family.

Source Sans Pro sourced from https://github.com/adobe-fonts/source-sans-pro ,
Source Code Pro sourced from https://github.com/adobe-fonts/source-code-pro

2 years ago[CMAKE] Temporarly disable pch in some modules to fix travis-ci
Hervé Poussineau [Sun, 7 Apr 2019 19:00:33 +0000 (21:00 +0200)]
[CMAKE] Temporarly disable pch in some modules to fix travis-ci

Problem appeared after 09c4d0a74b2362e2c9d29ec87c54ecc3bddd5b79

2 years ago[UDFS] Fix macros to support 'bit' being a complex expression
Hervé Poussineau [Sun, 7 Apr 2019 17:08:53 +0000 (19:08 +0200)]
[UDFS] Fix macros to support 'bit' being a complex expression

This is for example used in udf_info/mount.cpp:
    UDFSetUsedBits(new_bm, i & ~(d-1), d);

2 years ago[UDFS] Keep same includes/defines on x64 as on other architectures
Hervé Poussineau [Sun, 7 Apr 2019 17:08:04 +0000 (19:08 +0200)]
[UDFS] Keep same includes/defines on x64 as on other architectures

2 years ago[NTOS:FSRTL] Use _SEH2_AbnormalTermination() instead of _abnormal_termination()
Hervé Poussineau [Sun, 7 Apr 2019 16:59:36 +0000 (18:59 +0200)]
[NTOS:FSRTL] Use _SEH2_AbnormalTermination() instead of _abnormal_termination()

We're already using SEH2 macros, so also use SEH2 functions

2 years ago[MUP] Use _SEH2_AbnormalTermination() instead of _abnormal_termination()
Hervé Poussineau [Sun, 7 Apr 2019 16:59:13 +0000 (18:59 +0200)]
[MUP] Use _SEH2_AbnormalTermination() instead of _abnormal_termination()

We're already using SEH2 macros, so also use SEH2 functions

2 years ago[SDK] Fix _SEH2_AbnormalTermination() macro in dummy SEH
Hervé Poussineau [Sun, 7 Apr 2019 17:16:04 +0000 (19:16 +0200)]
[SDK] Fix _SEH2_AbnormalTermination() macro in dummy SEH

2 years ago[ADVAPI32] Send correct type to ElfrChangeNotify()
Hervé Poussineau [Sun, 7 Apr 2019 16:26:26 +0000 (18:26 +0200)]
[ADVAPI32] Send correct type to ElfrChangeNotify()

This fixes the following compiler error:
../dll/win32/advapi32/service/eventlog.c:658:59: error: passing argument 3 of 'ElfrChangeNotify' makes integer from pointer without a cast [-Werror=int-conversion]
dll/win32/advapi32/eventlogrpc_c.h:391:20: note: expected 'ULONG {aka long unsigned int}' but argument is of type 'HANDLE {aka void *}'

2 years ago[ACLAYERS] Use correct prototypes
Hervé Poussineau [Sun, 7 Apr 2019 15:43:58 +0000 (17:43 +0200)]
[ACLAYERS] Use correct prototypes

FARPROC is defined in windef.h as "typedef INT_PTR (WINAPI *FARPROC)();"

2 years ago[EXT2] Add __REACTOS__ check around changes done in 76910c358f7197a6b8e283ea267faf7b5...
Hervé Poussineau [Sun, 7 Apr 2019 06:58:46 +0000 (08:58 +0200)]
[EXT2] Add __REACTOS__ check around changes done in 76910c358f7197a6b8e283ea267faf7b5c1812ff

2 years ago[CMAKE] Prevent out-of-bound accesses in parser/lexer files
Hervé Poussineau [Sat, 6 Apr 2019 21:35:37 +0000 (23:35 +0200)]
[CMAKE] Prevent out-of-bound accesses in parser/lexer files

which try to remove path prefix from them.

2 years ago[DHCPCSVC] Eliminate unused code and associated parameters
Hervé Poussineau [Sat, 6 Apr 2019 21:11:53 +0000 (23:11 +0200)]
[DHCPCSVC] Eliminate unused code and associated parameters

This is mostly the same as OpenBSD commit b4e4f16f2ae0ddf1e786bb12c99b8c51170a1a33

2 years ago[SDK] Remove double declaration of _alloca
Hervé Poussineau [Thu, 4 Apr 2019 12:19:27 +0000 (14:19 +0200)]
[SDK] Remove double declaration of _alloca

_alloca() is already defined in sdk/include/crt/malloc.h

2 years ago[NTOSKRNL] Use global power capabilities and report button presence
Eric Kohl [Sun, 7 Apr 2019 14:41:56 +0000 (16:41 +0200)]
[NTOSKRNL] Use global power capabilities and report button presence

- Add and initialize a global power capabilities variable.
- Return the global power capabilities via NtPowerInformation.SystemPowerCapabilities.
- Report the presence of power button, sleep button and lid.

2 years ago[COMCTL32] Improve status bar margin for unthemed and themed CORE-15834
Joachim Henze [Sun, 7 Apr 2019 13:15:25 +0000 (15:15 +0200)]
[COMCTL32] Improve status bar margin for unthemed and themed CORE-15834

Improve further what was recently committed in
0.4.12-dev-361-g
da9accfba6e8eb769dcd317185a9b57d161275b7

2 years ago[SHELL32] Fix explorer file item label background CORE-15937
Katayama Hirofumi MZ [Sun, 7 Apr 2019 12:38:00 +0000 (21:38 +0900)]
[SHELL32] Fix explorer file item label background CORE-15937

2 years ago[KERNEL32] Support Japanese calendar (#1482)
Katayama Hirofumi MZ [Sun, 7 Apr 2019 11:20:23 +0000 (20:20 +0900)]
[KERNEL32] Support Japanese calendar (#1482)

Implement the Japanese calendar in kernel32. Locale info and date formatting. CORE-15920

2 years ago[KERNEL32_APITEST] Improve one-character Heisei tests (#1483)
Katayama Hirofumi MZ [Sun, 7 Apr 2019 09:35:52 +0000 (18:35 +0900)]
[KERNEL32_APITEST] Improve one-character Heisei tests (#1483)

One-character Heisei for CAL_SABBREVERASTRING locale info can be U+337B or U+5E73. And one-character Reiwa U+32FF, U+4EE4, and U+F9A8 are also added. Improve kernel32_apitest testcase. Thanks @ThFabba CORE-15920

2 years ago[ACPICA] Update to version 20190405. CORE-15926
Thomas Faber [Sat, 6 Apr 2019 13:21:35 +0000 (15:21 +0200)]
[ACPICA] Update to version 20190405. CORE-15926

2 years ago[NET][MC] Move the remaining STATISTICS and USER strings from net.exe to netmsg.dll.
Eric Kohl [Sun, 7 Apr 2019 07:21:34 +0000 (09:21 +0200)]
[NET][MC] Move the remaining STATISTICS and USER strings from net.exe to netmsg.dll.

Translators, please check the translations!

2 years ago[KERNEL32_APITEST] JapaneseCalendar must work even if not codepage 932"
Katayama Hirofumi MZ [Sun, 7 Apr 2019 03:18:54 +0000 (12:18 +0900)]
[KERNEL32_APITEST] JapaneseCalendar must work even if not codepage 932"

Delete (GetACP() != 932) check.

2 years ago[FONT] Fix FontSmoothing
Maxim Smirnov [Fri, 5 Apr 2019 10:16:07 +0000 (13:16 +0300)]
[FONT] Fix FontSmoothing

2 years ago[BOOTDATA] Improve error message of AHKAppTests.cmd (#1476)
Katayama Hirofumi MZ [Sat, 6 Apr 2019 23:05:35 +0000 (08:05 +0900)]
[BOOTDATA] Improve error message of AHKAppTests.cmd (#1476)

+    dbgprint "Insert ReactOS CD and try again."