From b624b120880d7eef751473c2ec7f50629170fc78 Mon Sep 17 00:00:00 2001 From: Stefano D'Angelo Date: Thu, 22 Feb 2024 12:31:35 +0100 Subject: [PATCH] copyright notices --- templates/android-make/Makefile | 20 ++++++++++++++++++++ templates/android-make/tibia-index.js | 20 ++++++++++++++++++++ templates/android-make/vars.mk | 20 ++++++++++++++++++++ templates/android/src/MainActivity.java | 16 ++++++++++++++++ templates/android/src/data.h | 20 ++++++++++++++++++++ templates/android/src/index.html | 21 +++++++++++++++++++++ templates/android/src/jni.cpp | 16 ++++++++++++++++ templates/android/tibia-index.js | 20 ++++++++++++++++++++ templates/cmd-make/Makefile | 20 ++++++++++++++++++++ templates/cmd-make/tibia-index.js | 20 ++++++++++++++++++++ templates/cmd-make/vars.mk | 20 ++++++++++++++++++++ templates/cmd/src/data.h | 20 ++++++++++++++++++++ templates/cmd/src/main.c | 20 ++++++++++++++++++++ templates/cmd/tibia-index.js | 20 ++++++++++++++++++++ templates/daisy-seed-make/Makefile | 20 ++++++++++++++++++++ templates/daisy-seed-make/tibia-index.js | 20 ++++++++++++++++++++ templates/daisy-seed-make/vars.mk | 20 ++++++++++++++++++++ templates/daisy-seed/src/data.h | 20 ++++++++++++++++++++ templates/daisy-seed/src/main.cpp | 20 ++++++++++++++++++++ templates/daisy-seed/tibia-index.js | 20 ++++++++++++++++++++ templates/ios-make/Makefile | 20 ++++++++++++++++++++ templates/ios-make/project.yml | 20 ++++++++++++++++++++ templates/ios-make/tibia-index.js | 20 ++++++++++++++++++++ templates/ios-make/vars.mk | 20 ++++++++++++++++++++ templates/ios/src/app-Bridging-Header.h | 16 ++++++++++++++++ templates/ios/src/app.swift | 17 ++++++++++++++++- templates/ios/src/data.h | 20 ++++++++++++++++++++ templates/ios/src/index.html | 21 +++++++++++++++++++++ templates/ios/src/native.mm | 16 ++++++++++++++++ templates/ios/tibia-index.js | 20 ++++++++++++++++++++ templates/lv2-make/Makefile | 20 ++++++++++++++++++++ templates/lv2-make/tibia-index.js | 20 ++++++++++++++++++++ templates/lv2-make/vars.mk | 20 ++++++++++++++++++++ templates/lv2/src/data.h | 20 ++++++++++++++++++++ templates/lv2/src/lv2.c | 20 ++++++++++++++++++++ templates/lv2/tibia-index.js | 20 ++++++++++++++++++++ templates/vst3-make/Makefile | 20 ++++++++++++++++++++ templates/vst3-make/tibia-index.js | 20 ++++++++++++++++++++ templates/vst3-make/vars.mk | 20 ++++++++++++++++++++ templates/vst3/src/data.h | 20 ++++++++++++++++++++ templates/vst3/src/vst3.c | 20 ++++++++++++++++++++ templates/vst3/tibia-index.js | 20 ++++++++++++++++++++ templates/web-demo/demo.mk | 20 ++++++++++++++++++++ templates/web-demo/src/index.html | 21 +++++++++++++++++++++ templates/web-demo/tibia-index.js | 20 ++++++++++++++++++++ templates/web-make/Makefile | 20 ++++++++++++++++++++ templates/web-make/tibia-index.js | 20 ++++++++++++++++++++ templates/web-make/vars.mk | 20 ++++++++++++++++++++ templates/web/src/data.h | 20 ++++++++++++++++++++ templates/web/src/module.js | 20 ++++++++++++++++++++ templates/web/src/new.cpp | 20 ++++++++++++++++++++ templates/web/src/processor.c | 16 ++++++++++++++++ templates/web/src/processor.js | 18 +++++++++++++++++- templates/web/src/string.c | 16 ++++++++++++++++ templates/web/src/string.h | 18 +++++++++++++++++- templates/web/src/walloc.c | 16 ++++++++++++++++ templates/web/src/walloc.h | 16 ++++++++++++++++ templates/web/tibia-index.js | 20 ++++++++++++++++++++ test/plugin.h | 20 ++++++++++++++++++++ 59 files changed, 1141 insertions(+), 3 deletions(-) diff --git a/templates/android-make/Makefile b/templates/android-make/Makefile index 532deff..03618b7 100644 --- a/templates/android-make/Makefile +++ b/templates/android-make/Makefile @@ -1,3 +1,23 @@ +# +# Tibia +# +# Copyright (C) 2023, 2024 Orastron Srl unipersonale +# +# Tibia 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, version 3 of the License. +# +# Tibia 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 Tibia. If not, see . +# +# File author: Stefano D'Angelo +# + include vars.mk ifeq (${HAS_MIDI_IN}, yes) diff --git a/templates/android-make/tibia-index.js b/templates/android-make/tibia-index.js index 53d79fb..d01e5ad 100644 --- a/templates/android-make/tibia-index.js +++ b/templates/android-make/tibia-index.js @@ -1,3 +1,23 @@ +/* + * Tibia + * + * Copyright (C) 2024 Orastron Srl unipersonale + * + * Tibia 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, version 3 of the License. + * + * Tibia 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 Tibia. If not, see . + * + * File author: Stefano D'Angelo + */ + module.exports = function (data, api) { api.copyFile(`Makefile`, `Makefile`); api.generateFileFromTemplateFile(`vars.mk`, `vars.mk`, data); diff --git a/templates/android-make/vars.mk b/templates/android-make/vars.mk index 09d11e7..699fa30 100644 --- a/templates/android-make/vars.mk +++ b/templates/android-make/vars.mk @@ -1,3 +1,23 @@ +# +# Tibia +# +# Copyright (C) 2024 Orastron Srl unipersonale +# +# Tibia 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, version 3 of the License. +# +# Tibia 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 Tibia. If not, see . +# +# File author: Stefano D'Angelo +# + BUNDLE_NAME := {{=it.product.bundleName}} JAVA_PACKAGE_NAME := {{=it.android.javaPackageName}} diff --git a/templates/android/src/MainActivity.java b/templates/android/src/MainActivity.java index afc1ce8..2cb72bb 100644 --- a/templates/android/src/MainActivity.java +++ b/templates/android/src/MainActivity.java @@ -1,5 +1,21 @@ /* + * Tibia + * * Copyright (C) 2023, 2024 Orastron Srl unipersonale + * + * Tibia 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, version 3 of the License. + * + * Tibia 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 Tibia. If not, see . + * + * File authors: Stefano D'Angelo, Paolo Marrone */ package {{=it.android.javaPackageName}}; diff --git a/templates/android/src/data.h b/templates/android/src/data.h index df869c6..4c99f3a 100644 --- a/templates/android/src/data.h +++ b/templates/android/src/data.h @@ -1,3 +1,23 @@ +/* + * Tibia + * + * Copyright (C) 2024 Orastron Srl unipersonale + * + * Tibia 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, version 3 of the License. + * + * Tibia 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 Tibia. If not, see . + * + * File author: Stefano D'Angelo + */ + #define NUM_AUDIO_BUSES_IN {{=it.product.buses.filter(x => x.type == "audio" && x.direction == "input").length}} #define NUM_AUDIO_BUSES_OUT {{=it.product.buses.filter(x => x.type == "audio" && x.direction == "output").length}} diff --git a/templates/android/src/index.html b/templates/android/src/index.html index db8e9b5..98db7e5 100644 --- a/templates/android/src/index.html +++ b/templates/android/src/index.html @@ -1,4 +1,25 @@ + diff --git a/templates/android/src/jni.cpp b/templates/android/src/jni.cpp index dc038c1..dce5b70 100644 --- a/templates/android/src/jni.cpp +++ b/templates/android/src/jni.cpp @@ -1,5 +1,21 @@ /* + * Tibia + * * Copyright (C) 2023, 2024 Orastron Srl unipersonale + * + * Tibia 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, version 3 of the License. + * + * Tibia 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 Tibia. If not, see . + * + * File authors: Stefano D'Angelo, Paolo Marrone */ #include diff --git a/templates/android/tibia-index.js b/templates/android/tibia-index.js index 90f5ade..e227774 100644 --- a/templates/android/tibia-index.js +++ b/templates/android/tibia-index.js @@ -1,3 +1,23 @@ +/* + * Tibia + * + * Copyright (C) 2024 Orastron Srl unipersonale + * + * Tibia 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, version 3 of the License. + * + * Tibia 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 Tibia. If not, see . + * + * File author: Stefano D'Angelo + */ + var path = require("path"); var sep = path.sep; diff --git a/templates/cmd-make/Makefile b/templates/cmd-make/Makefile index 59e3e11..073799e 100644 --- a/templates/cmd-make/Makefile +++ b/templates/cmd-make/Makefile @@ -1,3 +1,23 @@ +# +# Tibia +# +# Copyright (C) 2024 Orastron Srl unipersonale +# +# Tibia 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, version 3 of the License. +# +# Tibia 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 Tibia. If not, see . +# +# File author: Stefano D'Angelo +# + include vars.mk ifeq ($(OS), Windows_NT) diff --git a/templates/cmd-make/tibia-index.js b/templates/cmd-make/tibia-index.js index 53d79fb..d01e5ad 100644 --- a/templates/cmd-make/tibia-index.js +++ b/templates/cmd-make/tibia-index.js @@ -1,3 +1,23 @@ +/* + * Tibia + * + * Copyright (C) 2024 Orastron Srl unipersonale + * + * Tibia 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, version 3 of the License. + * + * Tibia 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 Tibia. If not, see . + * + * File author: Stefano D'Angelo + */ + module.exports = function (data, api) { api.copyFile(`Makefile`, `Makefile`); api.generateFileFromTemplateFile(`vars.mk`, `vars.mk`, data); diff --git a/templates/cmd-make/vars.mk b/templates/cmd-make/vars.mk index efb4b23..9df87f8 100644 --- a/templates/cmd-make/vars.mk +++ b/templates/cmd-make/vars.mk @@ -1,3 +1,23 @@ +# +# Tibia +# +# Copyright (C) 2024 Orastron Srl unipersonale +# +# Tibia 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, version 3 of the License. +# +# Tibia 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 Tibia. If not, see . +# +# File author: Stefano D'Angelo +# + BUNDLE_NAME := {{=it.product.bundleName}} CFLAGS_EXTRA := {{=it.make && it.make.cflags ? it.make.cflags : ""}} {{=it.cmd_make.cflags ? it.cmd_make.cflags : ""}} diff --git a/templates/cmd/src/data.h b/templates/cmd/src/data.h index d9236ef..e6e6f67 100644 --- a/templates/cmd/src/data.h +++ b/templates/cmd/src/data.h @@ -1,3 +1,23 @@ +/* + * Tibia + * + * Copyright (C) 2024 Orastron Srl unipersonale + * + * Tibia 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, version 3 of the License. + * + * Tibia 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 Tibia. If not, see . + * + * File author: Stefano D'Angelo + */ + #define NUM_AUDIO_BUSES_IN {{=it.product.buses.filter(x => x.type == "audio" && x.direction == "input").length}} #define NUM_AUDIO_BUSES_OUT {{=it.product.buses.filter(x => x.type == "audio" && x.direction == "output").length}} diff --git a/templates/cmd/src/main.c b/templates/cmd/src/main.c index 9cc0f72..f814e0b 100644 --- a/templates/cmd/src/main.c +++ b/templates/cmd/src/main.c @@ -1,3 +1,23 @@ +/* + * Tibia + * + * Copyright (C) 2024 Orastron Srl unipersonale + * + * Tibia 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, version 3 of the License. + * + * Tibia 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 Tibia. If not, see . + * + * File author: Stefano D'Angelo + */ + #include #include diff --git a/templates/cmd/tibia-index.js b/templates/cmd/tibia-index.js index 1ee19c3..aecdbbc 100644 --- a/templates/cmd/tibia-index.js +++ b/templates/cmd/tibia-index.js @@ -1,3 +1,23 @@ +/* + * Tibia + * + * Copyright (C) 2024 Orastron Srl unipersonale + * + * Tibia 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, version 3 of the License. + * + * Tibia 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 Tibia. If not, see . + * + * File author: Stefano D'Angelo + */ + var path = require("path"); var sep = path.sep; diff --git a/templates/daisy-seed-make/Makefile b/templates/daisy-seed-make/Makefile index 39246c5..9975da7 100644 --- a/templates/daisy-seed-make/Makefile +++ b/templates/daisy-seed-make/Makefile @@ -1,3 +1,23 @@ +# +# Tibia +# +# Copyright (C) 2023, 2024 Orastron Srl unipersonale +# +# Tibia 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, version 3 of the License. +# +# Tibia 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 Tibia. If not, see . +# +# File author: Stefano D'Angelo +# + include vars.mk TARGET = ${BUNDLE_NAME} diff --git a/templates/daisy-seed-make/tibia-index.js b/templates/daisy-seed-make/tibia-index.js index 53d79fb..d01e5ad 100644 --- a/templates/daisy-seed-make/tibia-index.js +++ b/templates/daisy-seed-make/tibia-index.js @@ -1,3 +1,23 @@ +/* + * Tibia + * + * Copyright (C) 2024 Orastron Srl unipersonale + * + * Tibia 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, version 3 of the License. + * + * Tibia 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 Tibia. If not, see . + * + * File author: Stefano D'Angelo + */ + module.exports = function (data, api) { api.copyFile(`Makefile`, `Makefile`); api.generateFileFromTemplateFile(`vars.mk`, `vars.mk`, data); diff --git a/templates/daisy-seed-make/vars.mk b/templates/daisy-seed-make/vars.mk index a05372b..1daa763 100644 --- a/templates/daisy-seed-make/vars.mk +++ b/templates/daisy-seed-make/vars.mk @@ -1,3 +1,23 @@ +# +# Tibia +# +# Copyright (C) 2024 Orastron Srl unipersonale +# +# Tibia 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, version 3 of the License. +# +# Tibia 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 Tibia. If not, see . +# +# File author: Stefano D'Angelo +# + BUNDLE_NAME := {{=it.product.bundleName}} CFLAGS_EXTRA := {{=it.make && it.make.cflags ? it.make.cflags : ""}} {{=it.daisy_seed_make.cflags ? it.daisy_seed_make.cflags : ""}} diff --git a/templates/daisy-seed/src/data.h b/templates/daisy-seed/src/data.h index 5d33dde..ea0e3ec 100644 --- a/templates/daisy-seed/src/data.h +++ b/templates/daisy-seed/src/data.h @@ -1,3 +1,23 @@ +/* + * Tibia + * + * Copyright (C) 2024 Orastron Srl unipersonale + * + * Tibia 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, version 3 of the License. + * + * Tibia 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 Tibia. If not, see . + * + * File author: Stefano D'Angelo + */ + #define NUM_AUDIO_BUSES_IN {{=it.product.buses.filter(x => x.type == "audio" && x.direction == "input").length}} #define NUM_AUDIO_BUSES_OUT {{=it.product.buses.filter(x => x.type == "audio" && x.direction == "output").length}} diff --git a/templates/daisy-seed/src/main.cpp b/templates/daisy-seed/src/main.cpp index 4540917..5f792da 100644 --- a/templates/daisy-seed/src/main.cpp +++ b/templates/daisy-seed/src/main.cpp @@ -1,3 +1,23 @@ +/* + * Tibia + * + * Copyright (C) 2023, 2024 Orastron Srl unipersonale + * + * Tibia 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, version 3 of the License. + * + * Tibia 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 Tibia. If not, see . + * + * File author: Stefano D'Angelo + */ + #include #include diff --git a/templates/daisy-seed/tibia-index.js b/templates/daisy-seed/tibia-index.js index 7d34326..7826d36 100644 --- a/templates/daisy-seed/tibia-index.js +++ b/templates/daisy-seed/tibia-index.js @@ -1,3 +1,23 @@ +/* + * Tibia + * + * Copyright (C) 2024 Orastron Srl unipersonale + * + * Tibia 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, version 3 of the License. + * + * Tibia 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 Tibia. If not, see . + * + * File author: Stefano D'Angelo + */ + var path = require("path"); var sep = path.sep; diff --git a/templates/ios-make/Makefile b/templates/ios-make/Makefile index f9362fa..7c15760 100644 --- a/templates/ios-make/Makefile +++ b/templates/ios-make/Makefile @@ -1,3 +1,23 @@ +# +# Tibia +# +# Copyright (C) 2024 Orastron Srl unipersonale +# +# Tibia 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, version 3 of the License. +# +# Tibia 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 Tibia. If not, see . +# +# File author: Stefano D'Angelo +# + include vars.mk COMMON_DIR := $(or $(COMMON_DIR),.) diff --git a/templates/ios-make/project.yml b/templates/ios-make/project.yml index 662b925..b963bef 100644 --- a/templates/ios-make/project.yml +++ b/templates/ios-make/project.yml @@ -1,3 +1,23 @@ +# +# Tibia +# +# Copyright (C) 2023, 2024 Orastron Srl unipersonale +# +# Tibia 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, version 3 of the License. +# +# Tibia 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 Tibia. If not, see . +# +# File author: Stefano D'Angelo +# + name: {{=it.product.bundleName}} targets: {{=it.product.bundleName}}: diff --git a/templates/ios-make/tibia-index.js b/templates/ios-make/tibia-index.js index 4367ed3..070236f 100644 --- a/templates/ios-make/tibia-index.js +++ b/templates/ios-make/tibia-index.js @@ -1,3 +1,23 @@ +/* + * Tibia + * + * Copyright (C) 2024 Orastron Srl unipersonale + * + * Tibia 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, version 3 of the License. + * + * Tibia 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 Tibia. If not, see . + * + * File author: Stefano D'Angelo + */ + module.exports = function (data, api) { api.copyFile(`Makefile`, `Makefile`); api.generateFileFromTemplateFile(`vars.mk`, `vars.mk`, data); diff --git a/templates/ios-make/vars.mk b/templates/ios-make/vars.mk index 470a7aa..ce53055 100644 --- a/templates/ios-make/vars.mk +++ b/templates/ios-make/vars.mk @@ -1,3 +1,23 @@ +# +# Tibia +# +# Copyright (C) 2024 Orastron Srl unipersonale +# +# Tibia 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, version 3 of the License. +# +# Tibia 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 Tibia. If not, see . +# +# File author: Stefano D'Angelo +# + BUNDLE_NAME := {{=it.product.bundleName}} C_SRCS_EXTRA := {{=it.make && it.make.cSrcs ? it.make.cSrcs : ""}} {{=it.ios_make && it.ios_make.cSrcs ? it.ios_make.cSrcs : ""}} diff --git a/templates/ios/src/app-Bridging-Header.h b/templates/ios/src/app-Bridging-Header.h index f89b144..e232263 100644 --- a/templates/ios/src/app-Bridging-Header.h +++ b/templates/ios/src/app-Bridging-Header.h @@ -1,5 +1,21 @@ /* + * Tibia + * * Copyright (C) 2023, 2024 Orastron Srl unipersonale + * + * Tibia 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, version 3 of the License. + * + * Tibia 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 Tibia. If not, see . + * + * File author: Stefano D'Angelo, Paolo Marrone */ char audioStart(); diff --git a/templates/ios/src/app.swift b/templates/ios/src/app.swift index 34d5697..41e7608 100644 --- a/templates/ios/src/app.swift +++ b/templates/ios/src/app.swift @@ -1,8 +1,23 @@ /* + * Tibia + * * Copyright (C) 2023, 2024 Orastron Srl unipersonale + * + * Tibia 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, version 3 of the License. + * + * Tibia 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 Tibia. If not, see . + * + * File author: Stefano D'Angelo, Paolo Marrone */ - import SwiftUI import WebKit import AVFoundation diff --git a/templates/ios/src/data.h b/templates/ios/src/data.h index b6a2898..8b3d2a1 100644 --- a/templates/ios/src/data.h +++ b/templates/ios/src/data.h @@ -1,3 +1,23 @@ +/* + * Tibia + * + * Copyright (C) 2024 Orastron Srl unipersonale + * + * Tibia 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, version 3 of the License. + * + * Tibia 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 Tibia. If not, see . + * + * File author: Stefano D'Angelo + */ + #define NUM_AUDIO_BUSES_IN {{=it.product.buses.filter(x => x.type == "audio" && x.direction == "input").length}} #define NUM_AUDIO_BUSES_OUT {{=it.product.buses.filter(x => x.type == "audio" && x.direction == "output").length}} diff --git a/templates/ios/src/index.html b/templates/ios/src/index.html index a1cc967..ce7e217 100644 --- a/templates/ios/src/index.html +++ b/templates/ios/src/index.html @@ -1,4 +1,25 @@ + diff --git a/templates/ios/src/native.mm b/templates/ios/src/native.mm index 5219110..5a1c570 100644 --- a/templates/ios/src/native.mm +++ b/templates/ios/src/native.mm @@ -1,5 +1,21 @@ /* + * Tibia + * * Copyright (C) 2023, 2024 Orastron Srl unipersonale + * + * Tibia 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, version 3 of the License. + * + * Tibia 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 Tibia. If not, see . + * + * File author: Stefano D'Angelo, Paolo Marrone */ #include diff --git a/templates/ios/tibia-index.js b/templates/ios/tibia-index.js index c7085d6..f7f4c64 100644 --- a/templates/ios/tibia-index.js +++ b/templates/ios/tibia-index.js @@ -1,3 +1,23 @@ +/* + * Tibia + * + * Copyright (C) 2024 Orastron Srl unipersonale + * + * Tibia 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, version 3 of the License. + * + * Tibia 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 Tibia. If not, see . + * + * File author: Stefano D'Angelo + */ + var path = require("path"); var sep = path.sep; diff --git a/templates/lv2-make/Makefile b/templates/lv2-make/Makefile index 2ff90dc..399c810 100644 --- a/templates/lv2-make/Makefile +++ b/templates/lv2-make/Makefile @@ -1,3 +1,23 @@ +# +# Tibia +# +# Copyright (C) 2024 Orastron Srl unipersonale +# +# Tibia 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, version 3 of the License. +# +# Tibia 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 Tibia. If not, see . +# +# File author: Stefano D'Angelo +# + include vars.mk ifeq ($(OS), Windows_NT) diff --git a/templates/lv2-make/tibia-index.js b/templates/lv2-make/tibia-index.js index 53d79fb..d01e5ad 100644 --- a/templates/lv2-make/tibia-index.js +++ b/templates/lv2-make/tibia-index.js @@ -1,3 +1,23 @@ +/* + * Tibia + * + * Copyright (C) 2024 Orastron Srl unipersonale + * + * Tibia 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, version 3 of the License. + * + * Tibia 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 Tibia. If not, see . + * + * File author: Stefano D'Angelo + */ + module.exports = function (data, api) { api.copyFile(`Makefile`, `Makefile`); api.generateFileFromTemplateFile(`vars.mk`, `vars.mk`, data); diff --git a/templates/lv2-make/vars.mk b/templates/lv2-make/vars.mk index 6eaee13..7176f15 100644 --- a/templates/lv2-make/vars.mk +++ b/templates/lv2-make/vars.mk @@ -1,3 +1,23 @@ +# +# Tibia +# +# Copyright (C) 2024 Orastron Srl unipersonale +# +# Tibia 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, version 3 of the License. +# +# Tibia 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 Tibia. If not, see . +# +# File author: Stefano D'Angelo +# + BUNDLE_NAME := {{=it.product.bundleName}} CFLAGS_EXTRA := {{=it.make && it.make.cflags ? it.make.cflags : ""}} {{=it.lv2_make && it.lv2_make.cflags ? it.lv2_make.cflags : ""}} diff --git a/templates/lv2/src/data.h b/templates/lv2/src/data.h index bbf03fc..6916f6a 100644 --- a/templates/lv2/src/data.h +++ b/templates/lv2/src/data.h @@ -1,3 +1,23 @@ +/* + * Tibia + * + * Copyright (C) 2024 Orastron Srl unipersonale + * + * Tibia 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, version 3 of the License. + * + * Tibia 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 Tibia. If not, see . + * + * File author: Stefano D'Angelo + */ + #define DATA_LV2_URI "{{=it.tibia.CGetUTF8StringLiteral(it.tibia.lv2.expandURI(it.lv2.uri))}}" #define DATA_PRODUCT_AUDIO_INPUT_CHANNELS_N {{=it.product.buses.filter(x => x.type == "audio" && x.direction == "input").reduce((s, x) => s += x.channels == "mono" ? 1 : 2, 0)}} diff --git a/templates/lv2/src/lv2.c b/templates/lv2/src/lv2.c index d1182c4..a620f8d 100644 --- a/templates/lv2/src/lv2.c +++ b/templates/lv2/src/lv2.c @@ -1,3 +1,23 @@ +/* + * Tibia + * + * Copyright (C) 2024 Orastron Srl unipersonale + * + * Tibia 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, version 3 of the License. + * + * Tibia 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 Tibia. If not, see . + * + * File author: Stefano D'Angelo + */ + #include #include diff --git a/templates/lv2/tibia-index.js b/templates/lv2/tibia-index.js index 8727e5f..8c630a0 100644 --- a/templates/lv2/tibia-index.js +++ b/templates/lv2/tibia-index.js @@ -1,3 +1,23 @@ +/* + * Tibia + * + * Copyright (C) 2024 Orastron Srl unipersonale + * + * Tibia 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, version 3 of the License. + * + * Tibia 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 Tibia. If not, see . + * + * File author: Stefano D'Angelo + */ + var path = require("path"); var sep = path.sep; diff --git a/templates/vst3-make/Makefile b/templates/vst3-make/Makefile index 5f22ee3..984be2e 100644 --- a/templates/vst3-make/Makefile +++ b/templates/vst3-make/Makefile @@ -1,3 +1,23 @@ +# +# Tibia +# +# Copyright (C) 2023, 2024 Orastron Srl unipersonale +# +# Tibia 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, version 3 of the License. +# +# Tibia 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 Tibia. If not, see . +# +# File author: Stefano D'Angelo +# + include vars.mk ifeq ($(OS), Windows_NT) diff --git a/templates/vst3-make/tibia-index.js b/templates/vst3-make/tibia-index.js index 53d79fb..d01e5ad 100644 --- a/templates/vst3-make/tibia-index.js +++ b/templates/vst3-make/tibia-index.js @@ -1,3 +1,23 @@ +/* + * Tibia + * + * Copyright (C) 2024 Orastron Srl unipersonale + * + * Tibia 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, version 3 of the License. + * + * Tibia 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 Tibia. If not, see . + * + * File author: Stefano D'Angelo + */ + module.exports = function (data, api) { api.copyFile(`Makefile`, `Makefile`); api.generateFileFromTemplateFile(`vars.mk`, `vars.mk`, data); diff --git a/templates/vst3-make/vars.mk b/templates/vst3-make/vars.mk index de43f05..edd50db 100644 --- a/templates/vst3-make/vars.mk +++ b/templates/vst3-make/vars.mk @@ -1,3 +1,23 @@ +# +# Tibia +# +# Copyright (C) 2023, 2024 Orastron Srl unipersonale +# +# Tibia 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, version 3 of the License. +# +# Tibia 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 Tibia. If not, see . +# +# File author: Stefano D'Angelo +# + BUNDLE_NAME := {{=it.product.bundleName}} CFLAGS_EXTRA := {{=it.make && it.make.cflags ? it.make.cflags : ""}} {{=it.vst3_make && it.vst3_make.cflags ? it.vst3_make.cflags : ""}} diff --git a/templates/vst3/src/data.h b/templates/vst3/src/data.h index 282e18f..7c1cab8 100644 --- a/templates/vst3/src/data.h +++ b/templates/vst3/src/data.h @@ -1,3 +1,23 @@ +/* + * Tibia + * + * Copyright (C) 2023, 2024 Orastron Srl unipersonale + * + * Tibia 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, version 3 of the License. + * + * Tibia 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 Tibia. If not, see . + * + * File author: Stefano D'Angelo + */ + #define DATA_COMPANY_NAME "{{=it.tibia.CGetUTF8StringLiteral(it.company.name, 63)}}" #define DATA_COMPANY_URL "{{=it.tibia.CGetUTF8StringLiteral(it.company.url, 255)}}" #define DATA_COMPANY_EMAIL "{{=it.tibia.CGetUTF8StringLiteral(it.company.email, 127)}}" diff --git a/templates/vst3/src/vst3.c b/templates/vst3/src/vst3.c index 9d7ccb0..eeb6cfb 100644 --- a/templates/vst3/src/vst3.c +++ b/templates/vst3/src/vst3.c @@ -1,3 +1,23 @@ +/* + * Tibia + * + * Copyright (C) 2023, 2024 Orastron Srl unipersonale + * + * Tibia 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, version 3 of the License. + * + * Tibia 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 Tibia. If not, see . + * + * File author: Stefano D'Angelo + */ + #include #include #include diff --git a/templates/vst3/tibia-index.js b/templates/vst3/tibia-index.js index 61c303b..ae0efd5 100644 --- a/templates/vst3/tibia-index.js +++ b/templates/vst3/tibia-index.js @@ -1,3 +1,23 @@ +/* + * Tibia + * + * Copyright (C) 2023, 2024 Orastron Srl unipersonale + * + * Tibia 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, version 3 of the License. + * + * Tibia 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 Tibia. If not, see . + * + * File author: Stefano D'Angelo + */ + var path = require("path"); var sep = path.sep; diff --git a/templates/web-demo/demo.mk b/templates/web-demo/demo.mk index 7953447..82b18f3 100644 --- a/templates/web-demo/demo.mk +++ b/templates/web-demo/demo.mk @@ -1,3 +1,23 @@ +# +# Tibia +# +# Copyright (C) 2023, 2024 Orastron Srl unipersonale +# +# Tibia 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, version 3 of the License. +# +# Tibia 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 Tibia. If not, see . +# +# File author: Stefano D'Angelo +# + ALL += build/web/index.html build/web/cert.pem build/web/key.pem build/web/index.html: ${DATA_DIR}/src/index.html | build diff --git a/templates/web-demo/src/index.html b/templates/web-demo/src/index.html index e0cb02d..df051f7 100644 --- a/templates/web-demo/src/index.html +++ b/templates/web-demo/src/index.html @@ -1,4 +1,25 @@ + {{=it.product.name}} diff --git a/templates/web-demo/tibia-index.js b/templates/web-demo/tibia-index.js index 4d9bb3f..10d87d7 100644 --- a/templates/web-demo/tibia-index.js +++ b/templates/web-demo/tibia-index.js @@ -1,3 +1,23 @@ +/* + * Tibia + * + * Copyright (C) 2024 Orastron Srl unipersonale + * + * Tibia 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, version 3 of the License. + * + * Tibia 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 Tibia. If not, see . + * + * File author: Stefano D'Angelo + */ + var path = require("path"); var sep = path.sep; diff --git a/templates/web-make/Makefile b/templates/web-make/Makefile index 1f60ce3..965f23f 100644 --- a/templates/web-make/Makefile +++ b/templates/web-make/Makefile @@ -1,3 +1,23 @@ +# +# Tibia +# +# Copyright (C) 2023, 2024 Orastron Srl unipersonale +# +# Tibia 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, version 3 of the License. +# +# Tibia 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 Tibia. If not, see . +# +# File author: Stefano D'Angelo +# + include vars.mk COMMON_DIR := $(or $(COMMON_DIR),.) diff --git a/templates/web-make/tibia-index.js b/templates/web-make/tibia-index.js index 53d79fb..d01e5ad 100644 --- a/templates/web-make/tibia-index.js +++ b/templates/web-make/tibia-index.js @@ -1,3 +1,23 @@ +/* + * Tibia + * + * Copyright (C) 2024 Orastron Srl unipersonale + * + * Tibia 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, version 3 of the License. + * + * Tibia 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 Tibia. If not, see . + * + * File author: Stefano D'Angelo + */ + module.exports = function (data, api) { api.copyFile(`Makefile`, `Makefile`); api.generateFileFromTemplateFile(`vars.mk`, `vars.mk`, data); diff --git a/templates/web-make/vars.mk b/templates/web-make/vars.mk index 7ba0744..f5a4cb9 100644 --- a/templates/web-make/vars.mk +++ b/templates/web-make/vars.mk @@ -1,3 +1,23 @@ +# +# Tibia +# +# Copyright (C) 2024 Orastron Srl unipersonale +# +# Tibia 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, version 3 of the License. +# +# Tibia 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 Tibia. If not, see . +# +# File author: Stefano D'Angelo +# + BUNDLE_NAME := {{=it.product.bundleName}} CFLAGS_EXTRA := {{=it.make && it.make.cflags ? it.make.cflags : ""}} {{=it.web_make && it.web_make.cflags ? it.web_make.cflags : ""}} diff --git a/templates/web/src/data.h b/templates/web/src/data.h index 165a6e6..d97fd2d 100644 --- a/templates/web/src/data.h +++ b/templates/web/src/data.h @@ -1,3 +1,23 @@ +/* + * Tibia + * + * Copyright (C) 2024 Orastron Srl unipersonale + * + * Tibia 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, version 3 of the License. + * + * Tibia 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 Tibia. If not, see . + * + * File author: Stefano D'Angelo + */ + #define DATA_PRODUCT_AUDIO_INPUT_CHANNELS_N {{=it.product.buses.filter(x => x.type == "audio" && x.direction == "input").reduce((s, x) => s += x.channels == "mono" ? 1 : 2, 0)}} #define DATA_PRODUCT_AUDIO_OUTPUT_CHANNELS_N {{=it.product.buses.filter(x => x.type == "audio" && x.direction == "output").reduce((s, x) => s += x.channels == "mono" ? 1 : 2, 0)}} #define DATA_PRODUCT_MIDI_INPUTS_N {{=it.product.buses.filter(x => x.type == "midi" && x.direction == "input").length}} diff --git a/templates/web/src/module.js b/templates/web/src/module.js index a06236b..c298a51 100644 --- a/templates/web/src/module.js +++ b/templates/web/src/module.js @@ -1,3 +1,23 @@ +/* + * Tibia + * + * Copyright (C) 2022-2024 Orastron Srl unipersonale + * + * Tibia 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, version 3 of the License. + * + * Tibia 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 Tibia. If not, see . + * + * File author: Stefano D'Angelo + */ + const data = { company: {{=JSON.stringify(it.company, null, 2)}}, product: {{=JSON.stringify(it.product, null, 2)}} diff --git a/templates/web/src/new.cpp b/templates/web/src/new.cpp index 045d673..137be6e 100644 --- a/templates/web/src/new.cpp +++ b/templates/web/src/new.cpp @@ -1,3 +1,23 @@ +/* + * Tibia + * + * Copyright (C) 2021, 2024 Orastron Srl unipersonale + * + * Tibia 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, version 3 of the License. + * + * Tibia 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 Tibia. If not, see . + * + * File author: Paolo Marrone, Stefano D'Angelo + */ + #include "walloc.h" void * operator new(size_t size) { diff --git a/templates/web/src/processor.c b/templates/web/src/processor.c index ee0ed31..c1be991 100644 --- a/templates/web/src/processor.c +++ b/templates/web/src/processor.c @@ -1,5 +1,21 @@ /* + * Tibia + * * Copyright (C) 2022-2024 Orastron Srl unipersonale + * + * Tibia 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, version 3 of the License. + * + * Tibia 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 Tibia. If not, see . + * + * File author: Stefano D'Angelo */ #include diff --git a/templates/web/src/processor.js b/templates/web/src/processor.js index 22d186c..efd1eae 100644 --- a/templates/web/src/processor.js +++ b/templates/web/src/processor.js @@ -1,5 +1,21 @@ -/* +/* + * Tibia + * * Copyright (C) 2022, 2024 Orastron Srl unipersonale + * + * Tibia 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, version 3 of the License. + * + * Tibia 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 Tibia. If not, see . + * + * File author: Stefano D'Angelo */ var buses = {{=JSON.stringify(it.product.buses, null, 2)}}; diff --git a/templates/web/src/string.c b/templates/web/src/string.c index 5871569..ff4d0cf 100644 --- a/templates/web/src/string.c +++ b/templates/web/src/string.c @@ -1,5 +1,21 @@ /* + * Tibia + * * Copyright (C) 2023, 2024 Orastron Srl unipersonale + * + * Tibia 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, version 3 of the License. + * + * Tibia 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 Tibia. If not, see . + * + * File author: Stefano D'Angelo */ #include "string.h" diff --git a/templates/web/src/string.h b/templates/web/src/string.h index 0d1d32a..fab65ea 100644 --- a/templates/web/src/string.h +++ b/templates/web/src/string.h @@ -1,5 +1,21 @@ /* - * Copyright (C) 2023 Orastron Srl unipersonale + * Tibia + * + * Copyright (C) 2023, 2024 Orastron Srl unipersonale + * + * Tibia 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, version 3 of the License. + * + * Tibia 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 Tibia. If not, see . + * + * File author: Stefano D'Angelo */ #ifndef STRING_H diff --git a/templates/web/src/walloc.c b/templates/web/src/walloc.c index 4fb7939..4da47a7 100644 --- a/templates/web/src/walloc.c +++ b/templates/web/src/walloc.c @@ -1,5 +1,21 @@ /* + * Tibia + * * Copyright (C) 2021, 2022, 2024 Orastron Srl unipersonale + * + * Tibia 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, version 3 of the License. + * + * Tibia 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 Tibia. If not, see . + * + * File author: Stefano D'Angelo */ #include "walloc.h" diff --git a/templates/web/src/walloc.h b/templates/web/src/walloc.h index f4a2bb9..825006b 100644 --- a/templates/web/src/walloc.h +++ b/templates/web/src/walloc.h @@ -1,5 +1,21 @@ /* + * Tibia + * * Copyright (C) 2021, 2022, 2024 Orastron Srl unipersonale + * + * Tibia 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, version 3 of the License. + * + * Tibia 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 Tibia. If not, see . + * + * File author: Stefano D'Angelo */ #ifndef WALLOC_H diff --git a/templates/web/tibia-index.js b/templates/web/tibia-index.js index 7065667..6428f42 100644 --- a/templates/web/tibia-index.js +++ b/templates/web/tibia-index.js @@ -1,3 +1,23 @@ +/* + * Tibia + * + * Copyright (C) 2024 Orastron Srl unipersonale + * + * Tibia 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, version 3 of the License. + * + * Tibia 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 Tibia. If not, see . + * + * File author: Stefano D'Angelo + */ + var path = require("path"); var sep = path.sep; diff --git a/test/plugin.h b/test/plugin.h index 7a083be..592a38b 100644 --- a/test/plugin.h +++ b/test/plugin.h @@ -1,3 +1,23 @@ +/* + * Tibia + * + * Copyright (C) 2023, 2024 Orastron Srl unipersonale + * + * Tibia 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, version 3 of the License. + * + * Tibia 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 Tibia. If not, see . + * + * File author: Stefano D'Angelo + */ + typedef struct plugin { float sample_rate; size_t delay_line_length;