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.
This commit is contained in:
Vadim Zeitlin 2022-05-03 19:43:16 +02:00
parent 9ad589ce1d
commit 84eb6bfa41
3 changed files with 3 additions and 6 deletions

View File

@ -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/"

View File

@ -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)

View File

@ -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"