Skip to content

Commit

Permalink
Updated versions and dates
Browse files Browse the repository at this point in the history
  • Loading branch information
redtide committed Apr 14, 2023
1 parent 3292631 commit 5a3d0bd
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 5 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion cmake/LV2Config.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down
13 changes: 11 additions & 2 deletions plugins/editor/src/editor/DlgAbout.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,10 @@
#include "utility/vstgui_after.h"

#include <absl/strings/str_cat.h>

#if 0
#include <absl/time/clock.h>
#include <absl/time/time.h>
#endif
using namespace gui;

SAboutDialog::SAboutDialog(const CRect& bounds)
Expand Down Expand Up @@ -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;
};
Expand Down

0 comments on commit 5a3d0bd

Please sign in to comment.