From 5a3d0bdf26892cebb618aed7be2187bf8d76d0ef Mon Sep 17 00:00:00 2001 From: redtide Date: Sat, 15 Apr 2023 00:53:47 +0200 Subject: [PATCH] Updated versions and dates --- CMakeLists.txt | 2 +- LICENSE | 2 +- cmake/LV2Config.cmake | 2 +- plugins/editor/src/editor/DlgAbout.cpp | 13 +++++++++++-- 4 files changed, 14 insertions(+), 5 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index f469b2a3b..f4bf67757 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -8,7 +8,7 @@ else() endif() endif() -project (sfizz VERSION 1.2.0 LANGUAGES CXX C) +project (sfizz VERSION 1.2.1 LANGUAGES CXX C) set (PROJECT_DESCRIPTION "A library to load SFZ description files and use them to render music.") # External configuration CMake scripts diff --git a/LICENSE b/LICENSE index 7334143fc..28b1f2fea 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ BSD 2-Clause License -Copyright (c) 2021, sfizz contributors (detailed in AUTHORS.md) +Copyright (c) 2021-2023, sfizz contributors (detailed in AUTHORS.md) All rights reserved. Redistribution and use in source and binary forms, with or without diff --git a/cmake/LV2Config.cmake b/cmake/LV2Config.cmake index 0ccac5e2e..d28c47a10 100644 --- a/cmake/LV2Config.cmake +++ b/cmake/LV2Config.cmake @@ -4,7 +4,7 @@ option(SFIZZ_LV2_PSA "Enable plugin-side MIDI automations" ON) # Configuration for this plugin # TODO: generate version from git set(LV2PLUGIN_VERSION_MINOR 10) -set(LV2PLUGIN_VERSION_MICRO 0) +set(LV2PLUGIN_VERSION_MICRO 2) set(LV2PLUGIN_NAME "sfizz") set(LV2PLUGIN_COMMENT "SFZ sampler") set(LV2PLUGIN_URI "http://sfztools.github.io/sfizz") diff --git a/plugins/editor/src/editor/DlgAbout.cpp b/plugins/editor/src/editor/DlgAbout.cpp index a095fdaa4..6bf5ed8ef 100644 --- a/plugins/editor/src/editor/DlgAbout.cpp +++ b/plugins/editor/src/editor/DlgAbout.cpp @@ -15,7 +15,10 @@ #include "utility/vstgui_after.h" #include - +#if 0 +#include +#include +#endif using namespace gui; SAboutDialog::SAboutDialog(const CRect& bounds) @@ -54,9 +57,15 @@ SAboutDialog::SAboutDialog(const CRect& bounds) versionBuf = absl::StrCat(SFIZZ_VERSION ".", GitBuildId); version = versionBuf.c_str(); } +#if 0 + absl::TimeZone utc = absl::UTCTimeZone(); + absl::Time time = absl::Now(); + absl::CivilYear date = absl::ToCivilYear(time, utc); + // u8"Copyright 2019-", date.year(), u8" by SFZTools Team,\n" +#endif lbl->setText(absl::StrCat( u8"Version ", version, u8"\n" - u8"Copyright 2019-2021 by SFZTools Team,\n" + u8"Copyright 2019-2023 by SFZTools Team,\n" u8"licensed under BSD 2-clause license.")); return lbl; };