NEWS.md: Dark Mode is fully implemented.

Update copyrights for the various components:
- ysc3839 and PolyHook_2_0 are MIT.
- TortoiseGit is GPLv2.
- Notepad++ is GPLv3.
This commit is contained in:
David Korth 2023-11-19 12:54:16 -05:00
parent df75ef2b9b
commit daaf1622a6
11 changed files with 81 additions and 12 deletions

View File

@ -19,8 +19,12 @@
GtkWidget.
* Windows: Dark Mode is now supported on Windows 10 1809 and later in the
installation program and rp-config.
* Note that tab controls are not properly themed yet, and RichEdit controls
have some minor glitches.
* Portions of the Dark Mode functionality were taken from:
* win32-darkmode: https://github.com/ysc3839/win32-darkmode [MIT license]
* TortoiseGit: https://gitlab.com/tortoisegit/tortoisegit/-/blob/HEAD/src/Utils/Theme.cpp [GPLv2]
* Notepad++: https://github.com/notepad-plus-plus/notepad-plus-plus/tree/master/PowerEditor/src/WinControls [GPLv3]
* Due to Notepad++ using GPLv3, any Windows builds that use Dark Mode
will also be considered GPLv3.
* New parsers:
* Wim: Microsoft Windows Images, used by the Windows installer starting with

24
debian/copyright vendored
View File

@ -214,6 +214,30 @@ Files:
Copyright: Copyright (c) 2017 rxi
License: MIT
Files:
src/libwin32darkmode/DarkMode.?pp
src/libwin32darkmode/ListViewUtil.?pp
Copyright: Copyright (c) 2019 Richard Yu
License: MIT
Files:
src/libwin32darkmode/IatHook.hpp
Copyright: Copyright (c) 2018 Stephen Eckels
License: MIT
Files:
src/libwin32darkmode/TGDarkMode.cpp
Copyright:
Copyright (C) 2020, 2023 - TortoiseGit
Copyright (C) 2020-2021 - TortoiseSVN
License: GPL-2+
Files:
src/libwin32darkmode/NppDarkMode.cpp
Copyright:
Copyright (C)2021 Don HO <don.h@free.fr>
License: GPL-3+
License: BSD-2-clause
All rights reserved.
.

View File

@ -1,4 +1,13 @@
// https://github.com/ysc3839/win32-darkmode
/**
* Undocumented Win32 APIs for Dark Mode functionality.
*
* Based on ysc3839's win32-darkmode example application:
* https://github.com/ysc3839/win32-darkmode/blob/master/win32-darkmode/DarkMode.h
* Copyright (c) 2019 Richard Yu
* SPDX-License-Identifier: MIT
*
* See LICENSE.ysc3839 for more information.
*/
#include "libwin32common/RpWin32_sdk.h"
#include <tchar.h>

View File

@ -1,4 +1,13 @@
// https://github.com/ysc3839/win32-darkmode
/**
* Undocumented Win32 APIs for Dark Mode functionality.
*
* Based on ysc3839's win32-darkmode example application:
* https://github.com/ysc3839/win32-darkmode/blob/master/win32-darkmode/DarkMode.h
* Copyright (c) 2019 Richard Yu
* SPDX-License-Identifier: MIT
*
* See LICENSE.ysc3839 for more information.
*/
#pragma once
// for HTHEME

View File

@ -1,9 +1,13 @@
// https://github.com/ysc3839/win32-darkmode
// This file contains code from
// https://github.com/stevemk14ebr/PolyHook_2_0/blob/master/sources/IatHook.cpp
// which is licensed under the MIT License.
// See PolyHook_2_0-LICENSE for more information.
/**
* Undocumented Win32 APIs for Dark Mode functionality.
*
* Based on ysc3839's win32-darkmode example application:
* https://github.com/stevemk14ebr/PolyHook_2_0/blob/master/sources/IatHook.cpp
* Copyright (c) 2018 Stephen Eckels
* SPDX-License-Identifier: MIT
*
* See LICENSE.PolyHook_2_0 for more information.
*/
#pragma once

View File

@ -1,4 +1,11 @@
// https://github.com/ysc3839/win32-darkmode
/**
* Undocumented Win32 APIs for Dark Mode functionality.
*
* Based on ysc3839's win32-darkmode example application:
* https://github.com/ysc3839/win32-darkmode/blob/master/win32-darkmode/ListViewUtil.h
* Copyright (c) 2019 Richard Yu
* SPDX-License-Identifier: MIT
*/
#include "libwin32common/RpWin32_sdk.h"
#include <commctrl.h> // SubclassProc()

View File

@ -1,4 +1,11 @@
// https://github.com/ysc3839/win32-darkmode
/**
* Undocumented Win32 APIs for Dark Mode functionality.
*
* Based on ysc3839's win32-darkmode example application:
* https://github.com/ysc3839/win32-darkmode/blob/master/win32-darkmode/ListViewUtil.h
* Copyright (c) 2019 Richard Yu
* SPDX-License-Identifier: MIT
*/
#pragma once
#ifdef __cplusplus

View File

@ -3,6 +3,8 @@
*
* Based on Notepad++'s controls:
* https://github.com/notepad-plus-plus/notepad-plus-plus/tree/master/PowerEditor/src/WinControls
* Copyright (C)2021 Don HO <don.h@free.fr>
* SPDX-License-Identifier: GPL-3.0-or-later
*/
#include "NppDarkMode.hpp"

View File

@ -3,6 +3,9 @@
*
* Based on TortoiseGit's dark mode theme:
* https://gitlab.com/tortoisegit/tortoisegit/-/blob/HEAD/src/Utils/Theme.cpp
* Copyright (C) 2020, 2023 - TortoiseGit
* Copyright (C) 2020-2021 - TortoiseSVN
* SPDX-License-Identifier: GPL-2.0-or-later
*/
#include "TGDarkMode.hpp"