From e0a6c9fcfada898ec44c310e2c39d42ebb85d5cd Mon Sep 17 00:00:00 2001 From: ator-dev Date: Fri, 27 Dec 2024 18:12:55 +0000 Subject: [PATCH] Add EUPL-1.2-or-later licence notice to files - Add EUPL-1.2-or-later licence notice header to source files as a comment - Include ator-dev and Mark My Search contributors as authors --- pages/options.html | 5 +++++ pages/popup.html | 5 +++++ pages/sendoff.html | 5 +++++ pages/startpage.html | 5 +++++ src/background.ts | 6 ++++++ src/content.ts | 6 ++++++ src/include/page-build.ts | 6 ++++++ src/include/pattern-diacritic.ts | 6 ++++++ src/include/pattern-stem.ts | 6 ++++++ src/include/storage.ts | 6 ++++++ src/include/util-privileged.ts | 6 ++++++ src/include/utility.ts | 6 ++++++ src/pages/options.ts | 6 ++++++ src/pages/popup-build.ts | 6 ++++++ src/pages/sendoff-build.ts | 6 ++++++ src/pages/startpage-build.ts | 6 ++++++ src/paint.ts | 6 ++++++ 17 files changed, 98 insertions(+) diff --git a/pages/options.html b/pages/options.html index 1a38f6f..3fa07c8 100644 --- a/pages/options.html +++ b/pages/options.html @@ -1,3 +1,8 @@ + diff --git a/pages/popup.html b/pages/popup.html index 61183d9..733ac7d 100644 --- a/pages/popup.html +++ b/pages/popup.html @@ -1,3 +1,8 @@ + diff --git a/pages/sendoff.html b/pages/sendoff.html index 20cd129..48ae7b0 100644 --- a/pages/sendoff.html +++ b/pages/sendoff.html @@ -1,3 +1,8 @@ + diff --git a/pages/startpage.html b/pages/startpage.html index 481fa8e..3a9379f 100644 --- a/pages/startpage.html +++ b/pages/startpage.html @@ -1,3 +1,8 @@ + diff --git a/src/background.ts b/src/background.ts index 3ee0d7b..ec626cf 100644 --- a/src/background.ts +++ b/src/background.ts @@ -1,3 +1,9 @@ +/* + * This file is part of Mark My Search. + * Copyright © 2021-present ‘ator-dev’, Mark My Search contributors. + * Licensed under the EUPL-1.2-or-later. + */ + if (this.importScripts) { // Required for service workers, whereas event pages use declarative imports. this.importScripts( diff --git a/src/content.ts b/src/content.ts index ac28a8a..860c15c 100644 --- a/src/content.ts +++ b/src/content.ts @@ -1,3 +1,9 @@ +/* + * This file is part of Mark My Search. + * Copyright © 2021-present ‘ator-dev’, Mark My Search contributors. + * Licensed under the EUPL-1.2-or-later. + */ + type BrowserCommands = Array type HighlightTags = { reject: ReadonlySet, diff --git a/src/include/page-build.ts b/src/include/page-build.ts index f2aeb65..2d8a3f0 100644 --- a/src/include/page-build.ts +++ b/src/include/page-build.ts @@ -1,3 +1,9 @@ +/* + * This file is part of Mark My Search. + * Copyright © 2021-present ‘ator-dev’, Mark My Search contributors. + * Licensed under the EUPL-1.2-or-later. + */ + type PageInteractionObjectRowInfo = { className: string key: string diff --git a/src/include/pattern-diacritic.ts b/src/include/pattern-diacritic.ts index 95c3a61..685cc34 100644 --- a/src/include/pattern-diacritic.ts +++ b/src/include/pattern-diacritic.ts @@ -1,3 +1,9 @@ +/* + * This file is part of Mark My Search. + * Copyright © 2021-present ‘ator-dev’, Mark My Search contributors. + * Licensed under the EUPL-1.2-or-later. + */ + /** * Given any string containing common variants of alphanumeric characters, * creates a regex string which will match the same series of letters in any of their diacritic forms, leaving unrecognised characters. diff --git a/src/include/pattern-stem.ts b/src/include/pattern-stem.ts index 3474a30..bba4075 100644 --- a/src/include/pattern-stem.ts +++ b/src/include/pattern-stem.ts @@ -1,3 +1,9 @@ +/* + * This file is part of Mark My Search. + * Copyright © 2021-present ‘ator-dev’, Mark My Search contributors. + * Licensed under the EUPL-1.2-or-later. + */ + /** * Gets prefix and suffix regex strings for any word. * Only yields meaningful results for English words which fit standard word form patterns. diff --git a/src/include/storage.ts b/src/include/storage.ts index bd7e799..7208d82 100644 --- a/src/include/storage.ts +++ b/src/include/storage.ts @@ -1,3 +1,9 @@ +/* + * This file is part of Mark My Search. + * Copyright © 2021-present ‘ator-dev’, Mark My Search contributors. + * Licensed under the EUPL-1.2-or-later. + */ + chrome.storage = useChromeAPI() ? chrome.storage : browser.storage as typeof chrome.storage; chrome.storage.session ??= chrome.storage.local; diff --git a/src/include/util-privileged.ts b/src/include/util-privileged.ts index ceb9b4c..c5402c6 100644 --- a/src/include/util-privileged.ts +++ b/src/include/util-privileged.ts @@ -1,3 +1,9 @@ +/* + * This file is part of Mark My Search. + * Copyright © 2021-present ‘ator-dev’, Mark My Search contributors. + * Licensed under the EUPL-1.2-or-later. + */ + chrome.tabs.query = useChromeAPI() ? chrome.tabs.query : browser.tabs.query as typeof chrome.tabs.query; chrome.tabs.sendMessage = useChromeAPI() ? chrome.tabs.sendMessage diff --git a/src/include/utility.ts b/src/include/utility.ts index 07551ae..3a1f3f0 100644 --- a/src/include/utility.ts +++ b/src/include/utility.ts @@ -1,3 +1,9 @@ +/* + * This file is part of Mark My Search. + * Copyright © 2021-present ‘ator-dev’, Mark My Search contributors. + * Licensed under the EUPL-1.2-or-later. + */ + type MatchTerms = Array // eslint-disable-next-line @typescript-eslint/no-unused-vars diff --git a/src/pages/options.ts b/src/pages/options.ts index acf3751..5a46456 100644 --- a/src/pages/options.ts +++ b/src/pages/options.ts @@ -1,3 +1,9 @@ +/* + * This file is part of Mark My Search. + * Copyright © 2021-present ‘ator-dev’, Mark My Search contributors. + * Licensed under the EUPL-1.2-or-later. + */ + type OptionsInfo = Array<{ label: string options: Partial void