From 84eb6bfa4125808b4bc884e189d7c00ddea99bd8 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Tue, 3 May 2022 19:43:16 +0200 Subject: [PATCH] Consistently use 1992 as the start of the copyright period Use 1992 as the initial date for all non-Mac files, instead of using slightly later years for some of them without any good reason (or at least without any good reason still remembered by anybody). This also allows to simplify the script for updating the year. --- misc/scripts/inc_year | 5 +---- src/common/utilscmn.cpp | 2 +- src/msw/version.rc | 2 +- 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/misc/scripts/inc_year b/misc/scripts/inc_year index 917fef0e81..7e29c7fbd6 100755 --- a/misc/scripts/inc_year +++ b/misc/scripts/inc_year @@ -17,14 +17,11 @@ echo "Updating dates to use $new_year instead of $old_year:" # Update copyright to extend to the new year. for f in docs/doxygen/mainpages/copyright.h docs/doxygen/regen.sh \ interface/wx/aboutdlg.h interface/wx/generic/aboutdlgg.h \ + src/common/utilscmn.cpp src/msw/version.rc \ ; do run_sed $f "s/1992-$old_year/1992-$new_year/" done -# Some files use later initial copyright year, for some reason... -run_sed src/msw/version.rc "s/1993-$old_year/1993-$new_year/" -run_sed src/common/utilscmn.cpp "s/1995-$old_year/1995-$new_year/" - # And Mac files are much newer than that. run_sed CMakeLists.txt "s/2002-$old_year/2002-$new_year/" run_sed build/bakefiles/mac_bundles.bkl "s/2002-$old_year/2002-$new_year/" diff --git a/src/common/utilscmn.cpp b/src/common/utilscmn.cpp index 25fa67c75d..a16fe21c94 100644 --- a/src/common/utilscmn.cpp +++ b/src/common/utilscmn.cpp @@ -1435,7 +1435,7 @@ wxVersionInfo wxGetLibraryVersionInfo() wxMINOR_VERSION, wxRELEASE_NUMBER, msg, - wxS("Copyright (c) 1995-2022 wxWidgets team")); + wxS("Copyright (c) 1992-2022 wxWidgets team")); } void wxInfoMessageBox(wxWindow* parent) diff --git a/src/msw/version.rc b/src/msw/version.rc index 4f0701bf9c..e46f7f2a98 100644 --- a/src/msw/version.rc +++ b/src/msw/version.rc @@ -92,7 +92,7 @@ BEGIN VALUE "FileDescription", "wxWidgets " WXLIBDESC " library\0" VALUE "FileVersion", wxVERSION_NUM_DOT_STRING "\0" VALUE "InternalName", wxSTRINGIZE(WXDLLNAME) "\0" - VALUE "LegalCopyright", "Copyright © 1993-2022 wxWidgets development team\0" + VALUE "LegalCopyright", "Copyright © 1992-2022 wxWidgets development team\0" VALUE "OriginalFilename", wxSTRINGIZE(WXDLLNAME) ".dll\0" VALUE "ProductName", "wxWidgets\0" VALUE "ProductVersion", wxVERSION_NUM_DOT_STRING "\0"