From 64bde0a6b1dc36839786b5d520934587d37696af Mon Sep 17 00:00:00 2001 From: apoorv569 Date: Sun, 18 Jul 2021 09:50:42 +0530 Subject: [PATCH] Add license header to all files, and bump version number to 0.8.4_alpha.1 --- meson.build | 21 ++++++++++++++++++++- src/App.cpp | 20 ++++++++++++++++++++ src/App.hpp | 20 ++++++++++++++++++++ src/ControlID_Enums.hpp | 20 ++++++++++++++++++++ src/Database.cpp | 20 ++++++++++++++++++++ src/Database.hpp | 20 ++++++++++++++++++++ src/MainFrame.cpp | 28 ++++++++++++++++++++++++---- src/MainFrame.hpp | 20 ++++++++++++++++++++ src/Sample.cpp | 20 ++++++++++++++++++++ src/Sample.hpp | 20 ++++++++++++++++++++ src/Serialize.cpp | 20 ++++++++++++++++++++ src/Serialize.hpp | 20 ++++++++++++++++++++ src/SettingsDialog.cpp | 20 ++++++++++++++++++++ src/SettingsDialog.hpp | 20 ++++++++++++++++++++ src/TagEditorDialog.cpp | 20 ++++++++++++++++++++ src/TagEditorDialog.hpp | 20 ++++++++++++++++++++ src/Tags.cpp | 20 ++++++++++++++++++++ src/Tags.hpp | 20 ++++++++++++++++++++ 18 files changed, 364 insertions(+), 5 deletions(-) diff --git a/meson.build b/meson.build index e3f4a6d..f5bb822 100755 --- a/meson.build +++ b/meson.build @@ -1,5 +1,24 @@ +# Sample Hive +# Copyright (C) 2021 Apoorv Singh +# A simple, modern audio sample browser/manager for GNU/Linux. +# +# This file is a part of SampleHive +# +# SampleHive is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . + project('SampleHive', 'cpp', - version : '0.1', + version : 'v0.8.4_alpha.1', license : 'GPL v3', default_options : ['warning_level=1', 'cpp_std=c++11']) diff --git a/src/App.cpp b/src/App.cpp index e31d5af..370731f 100644 --- a/src/App.cpp +++ b/src/App.cpp @@ -1,3 +1,23 @@ +/* SampleHive + * Copyright (C) 2021 Apoorv Singh + * A simple, modern audio sample browser/manager for GNU/Linux. + * + * This file is a part of SampleHive + * + * SampleHive is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + #include "App.hpp" #include "SampleHiveConfig.hpp" diff --git a/src/App.hpp b/src/App.hpp index c8d70f9..9ac8428 100644 --- a/src/App.hpp +++ b/src/App.hpp @@ -1,3 +1,23 @@ +/* SampleHive + * Copyright (C) 2021 Apoorv Singh + * A simple, modern audio sample browser/manager for GNU/Linux. + * + * This file is a part of SampleHive + * + * SampleHive is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + #pragma once #include diff --git a/src/ControlID_Enums.hpp b/src/ControlID_Enums.hpp index 433b838..93d66ab 100644 --- a/src/ControlID_Enums.hpp +++ b/src/ControlID_Enums.hpp @@ -1,3 +1,23 @@ +/* SampleHive + * Copyright (C) 2021 Apoorv Singh + * A simple, modern audio sample browser/manager for GNU/Linux. + * + * This file is a part of SampleHive + * + * SampleHive is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + #include enum ControlIDs diff --git a/src/Database.cpp b/src/Database.cpp index a284bd7..ddf2489 100644 --- a/src/Database.cpp +++ b/src/Database.cpp @@ -1,3 +1,23 @@ +/* SampleHive + * Copyright (C) 2021 Apoorv Singh + * A simple, modern audio sample browser/manager for GNU/Linux. + * + * This file is a part of SampleHive + * + * SampleHive is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + #include #include diff --git a/src/Database.hpp b/src/Database.hpp index aacf088..59259ba 100644 --- a/src/Database.hpp +++ b/src/Database.hpp @@ -1,3 +1,23 @@ +/* SampleHive + * Copyright (C) 2021 Apoorv Singh + * A simple, modern audio sample browser/manager for GNU/Linux. + * + * This file is a part of SampleHive + * + * SampleHive is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + #include #include #include diff --git a/src/MainFrame.cpp b/src/MainFrame.cpp index 28e956d..a461b34 100644 --- a/src/MainFrame.cpp +++ b/src/MainFrame.cpp @@ -1,3 +1,23 @@ +/* SampleHive + * Copyright (C) 2021 Apoorv Singh + * A simple, modern audio sample browser/manager for GNU/Linux. + * + * This file is a part of SampleHive + * + * SampleHive is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + #include #include #include @@ -69,7 +89,7 @@ MainFrame::MainFrame() m_StatusBar = CreateStatusBar(4); // Set width for each section of the statusbar - int status_width[4] = { 300, -6, 30, -1 }; + int status_width[4] = { 300, -6, -1, -2 }; m_StatusBar->SetStatusWidths(4, status_width); m_HiveBitmap = new wxStaticBitmap(m_StatusBar, wxID_ANY, wxBitmap(ICON_HIVE_24px)); @@ -2543,7 +2563,7 @@ void MainFrame::LoadConfigFile() this->CenterOnScreen(wxBOTH); this->SetIcon(wxIcon(ICON_HIVE_24px, wxICON_DEFAULT_TYPE, -1, -1)); this->SetTitle("SampleHive"); - this->SetStatusText("SampleHive v0.1", 3); + this->SetStatusText("SampleHive v0.8.4_alpha.1", 3); this->SetStatusText(_("Stopped"), 1); } @@ -2746,13 +2766,13 @@ void MainFrame::OnSelectAbout(wxCommandEvent& event) aboutInfo.SetName("SampleHive"); aboutInfo.SetIcon(wxIcon(ICON_HIVE_64px)); aboutInfo.AddArtist("Apoorv"); - aboutInfo.SetVersion("0.1", _("Version 0.1")); + aboutInfo.SetVersion("v0.8.4_alpha.1", _("Version 0.8.4_alpha.1")); aboutInfo.SetDescription(_("A simple, modern audio sample browser/manager for GNU/Linux.")); aboutInfo.SetCopyright("(C) 2020-2021"); aboutInfo.SetWebSite("http://samplehive.gitlab.io"); aboutInfo.AddDeveloper("Apoorv"); aboutInfo.SetLicence(wxString::FromAscii( - "SampleHive\n" + "SampleHive v0.8.4_alpha.1\n" "Copyright (C) 2021 Apoorv Singh\n" "\n" "This program is free software: you can redistribute it and/or modify\n" diff --git a/src/MainFrame.hpp b/src/MainFrame.hpp index adbbc65..7f188e6 100644 --- a/src/MainFrame.hpp +++ b/src/MainFrame.hpp @@ -1,3 +1,23 @@ +/* SampleHive + * Copyright (C) 2021 Apoorv Singh + * A simple, modern audio sample browser/manager for GNU/Linux. + * + * This file is a part of SampleHive + * + * SampleHive is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + #pragma once #include diff --git a/src/Sample.cpp b/src/Sample.cpp index 8fdfcc2..b7f3e3b 100644 --- a/src/Sample.cpp +++ b/src/Sample.cpp @@ -1,3 +1,23 @@ +/* SampleHive + * Copyright (C) 2021 Apoorv Singh + * A simple, modern audio sample browser/manager for GNU/Linux. + * + * This file is a part of SampleHive + * + * SampleHive is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + /** * @file Sample.hpp * @brief Defines Sample diff --git a/src/Sample.hpp b/src/Sample.hpp index 8508c26..b02bc5f 100644 --- a/src/Sample.hpp +++ b/src/Sample.hpp @@ -1,3 +1,23 @@ +/* SampleHive + * Copyright (C) 2021 Apoorv Singh + * A simple, modern audio sample browser/manager for GNU/Linux. + * + * This file is a part of SampleHive + * + * SampleHive is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + /** * @file Sample.hpp * @brief Declares Sample diff --git a/src/Serialize.cpp b/src/Serialize.cpp index 9520cf9..eb9da89 100644 --- a/src/Serialize.cpp +++ b/src/Serialize.cpp @@ -1,3 +1,23 @@ +/* SampleHive + * Copyright (C) 2021 Apoorv Singh + * A simple, modern audio sample browser/manager for GNU/Linux. + * + * This file is a part of SampleHive + * + * SampleHive is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + #include #include diff --git a/src/Serialize.hpp b/src/Serialize.hpp index 240ed0a..41edb68 100644 --- a/src/Serialize.hpp +++ b/src/Serialize.hpp @@ -1,3 +1,23 @@ +/* SampleHive + * Copyright (C) 2021 Apoorv Singh + * A simple, modern audio sample browser/manager for GNU/Linux. + * + * This file is a part of SampleHive + * + * SampleHive is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + #include #include diff --git a/src/SettingsDialog.cpp b/src/SettingsDialog.cpp index 041732e..40a06c1 100644 --- a/src/SettingsDialog.cpp +++ b/src/SettingsDialog.cpp @@ -1,3 +1,23 @@ +/* SampleHive + * Copyright (C) 2021 Apoorv Singh + * A simple, modern audio sample browser/manager for GNU/Linux. + * + * This file is a part of SampleHive + * + * SampleHive is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + #include #include #include diff --git a/src/SettingsDialog.hpp b/src/SettingsDialog.hpp index 6564dbf..80a6dcd 100644 --- a/src/SettingsDialog.hpp +++ b/src/SettingsDialog.hpp @@ -1,3 +1,23 @@ +/* SampleHive + * Copyright (C) 2021 Apoorv Singh + * A simple, modern audio sample browser/manager for GNU/Linux. + * + * This file is a part of SampleHive + * + * SampleHive is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + #pragma once #include diff --git a/src/TagEditorDialog.cpp b/src/TagEditorDialog.cpp index 94bf375..988fd56 100644 --- a/src/TagEditorDialog.cpp +++ b/src/TagEditorDialog.cpp @@ -1,3 +1,23 @@ +/* SampleHive + * Copyright (C) 2021 Apoorv Singh + * A simple, modern audio sample browser/manager for GNU/Linux. + * + * This file is a part of SampleHive + * + * SampleHive is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + #include #include #include diff --git a/src/TagEditorDialog.hpp b/src/TagEditorDialog.hpp index c9070d3..7c00edd 100644 --- a/src/TagEditorDialog.hpp +++ b/src/TagEditorDialog.hpp @@ -1,3 +1,23 @@ +/* SampleHive + * Copyright (C) 2021 Apoorv Singh + * A simple, modern audio sample browser/manager for GNU/Linux. + * + * This file is a part of SampleHive + * + * SampleHive is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + #pragma once #include diff --git a/src/Tags.cpp b/src/Tags.cpp index 6ae9b1c..af6411a 100644 --- a/src/Tags.cpp +++ b/src/Tags.cpp @@ -1,3 +1,23 @@ +/* SampleHive + * Copyright (C) 2021 Apoorv Singh + * A simple, modern audio sample browser/manager for GNU/Linux. + * + * This file is a part of SampleHive + * + * SampleHive is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + #include #include #include diff --git a/src/Tags.hpp b/src/Tags.hpp index 0836495..8fdc630 100644 --- a/src/Tags.hpp +++ b/src/Tags.hpp @@ -1,3 +1,23 @@ +/* SampleHive + * Copyright (C) 2021 Apoorv Singh + * A simple, modern audio sample browser/manager for GNU/Linux. + * + * This file is a part of SampleHive + * + * SampleHive is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + #pragma once #include