Skip to content

Commit 725cb0a

Browse files
committed
Add license and copyright notices
1 parent b3966d0 commit 725cb0a

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+763
-0
lines changed

LICENSE

+674
Large diffs are not rendered by default.

README.md

+1

dict/dicts.lua

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
-- Immersive is licensed under the terms of the GNU GPL v3: https://www.gnu.org/licenses/; © 2020 Ben Kerman
2+
13
local BasicOverlay = require "interface.basic_overlay"
24
local cfg = require "systems.config"
35
local util = require "dict.util"

dict/migaku.lua

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
-- Immersive is licensed under the terms of the GNU GPL v3: https://www.gnu.org/licenses/; © 2020 Ben Kerman
2+
13
local util = require "dict.util"
24
local helper = require "utility.helper"
35
local mpu = require "mp.utils"

dict/migaku/default.lua

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
-- Immersive is licensed under the terms of the GNU GPL v3: https://www.gnu.org/licenses/; © 2020 Ben Kerman
2+
13
local config = require "systems.config"
24
local templater = require "systems.templater"
35
local utf_8 = require "utility.utf_8"

dict/util.lua

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
-- Immersive is licensed under the terms of the GNU GPL v3: https://www.gnu.org/licenses/; © 2020 Ben Kerman
2+
13
local helper = require "utility.helper"
24
local mpu = require "mp.utils"
35
local msg require "systems.message"

dict/yomichan.lua

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
-- Immersive is licensed under the terms of the GNU GPL v3: https://www.gnu.org/licenses/; © 2020 Ben Kerman
2+
13
local util = require "dict.util"
24
local helper = require "utility.helper"
35
local mpu = require "mp.utils"

dict/yomichan/default.lua

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
-- Immersive is licensed under the terms of the GNU GPL v3: https://www.gnu.org/licenses/; © 2020 Ben Kerman
2+
13
local config = require "systems.config"
24
local msg = require "systems.message"
35
local templater = require "systems.templater"

interface/active_sub_lookup.lua

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
-- Immersive is licensed under the terms of the GNU GPL v3: https://www.gnu.org/licenses/; © 2020 Ben Kerman
2+
13
local cfg = require "systems.config"
24
local DefinitionSelect = require "interface.definition_select"
35
local helper = require "utility.helper"

interface/basic_overlay.lua

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
-- Immersive is licensed under the terms of the GNU GPL v3: https://www.gnu.org/licenses/; © 2020 Ben Kerman
2+
13
local ssa = require "systems.ssa"
24

35
local BasicOverlay = {}

interface/definition_select.lua

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
-- Immersive is licensed under the terms of the GNU GPL v3: https://www.gnu.org/licenses/; © 2020 Ben Kerman
2+
13
local cfg = require "systems.config"
24
local dicts = require "dict.dicts"
35
local helper = require "utility.helper"

interface/dict_target_menu.lua

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
-- Immersive is licensed under the terms of the GNU GPL v3: https://www.gnu.org/licenses/; © 2020 Ben Kerman
2+
13
local anki = require "systems.anki"
24
local dicts = require "dict.dicts"
35
local Menu = require "interface.menu"

interface/export_menu.lua

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
-- Immersive is licensed under the terms of the GNU GPL v3: https://www.gnu.org/licenses/; © 2020 Ben Kerman
2+
13
local anki = require "systems.anki"
24
local export = require "systems.export"
35
local Menu = require "interface.menu"

interface/forvo.lua

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
-- Immersive is licensed under the terms of the GNU GPL v3: https://www.gnu.org/licenses/; © 2020 Ben Kerman
2+
13
local b64 = require "utility.base64"
24
local BasicOverlay = require "interface.basic_overlay"
35
local cfg = require "systems.config"

interface/line_select.lua

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
-- Immersive is licensed under the terms of the GNU GPL v3: https://www.gnu.org/licenses/; © 2020 Ben Kerman
2+
13
local kbds = require "systems.key_bindings"
24
local ssa = require "systems.ssa"
35
local ext = require "utility.extension"

interface/line_text_select.lua

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
-- Immersive is licensed under the terms of the GNU GPL v3: https://www.gnu.org/licenses/; © 2020 Ben Kerman
2+
13
local LineSelect = require "interface.line_select"
24
local ssa = require "systems.ssa"
35
local TextSelect = require "interface.text_select"

interface/menu.lua

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
-- Immersive is licensed under the terms of the GNU GPL v3: https://www.gnu.org/licenses/; © 2020 Ben Kerman
2+
13
local cfg = require "systems.config"
24
local kbds = require "systems.key_bindings"
35
local ssa = require "systems.ssa"

interface/menu_stack.lua

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
-- Immersive is licensed under the terms of the GNU GPL v3: https://www.gnu.org/licenses/; © 2020 Ben Kerman
2+
13
local stack = {}
24

35
local function exec_top(fn_name)

interface/note_select.lua

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
-- Immersive is licensed under the terms of the GNU GPL v3: https://www.gnu.org/licenses/; © 2020 Ben Kerman
2+
13
local anki = require "systems.anki"
24
local export = require "systems.export"
35
local LineSelect = require "interface.line_select"

interface/screen_blackout.lua

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
-- Immersive is licensed under the terms of the GNU GPL v3: https://www.gnu.org/licenses/; © 2020 Ben Kerman
2+
13
local cfg = require "systems.config"
24
local ssa = require "systems.ssa"
35

interface/sub_select.lua

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
-- Immersive is licensed under the terms of the GNU GPL v3: https://www.gnu.org/licenses/; © 2020 Ben Kerman
2+
13
local BasicOverlay = require "interface.basic_overlay"
24
local cfg = require "systems.config"
35
local export = require "systems.export"

interface/target_select.lua

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
-- Immersive is licensed under the terms of the GNU GPL v3: https://www.gnu.org/licenses/; © 2020 Ben Kerman
2+
13
local BasicOverlay = require "interface.basic_overlay"
24
local cfg = require "systems.config"
35
local DefinitionSelect = require "interface.definition_select"

interface/text_select.lua

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
-- Immersive is licensed under the terms of the GNU GPL v3: https://www.gnu.org/licenses/; © 2020 Ben Kerman
2+
13
local kbds = require "systems.key_bindings"
24
local msg = require "systems.message"
35
local ssa = require "systems.ssa"

main.lua

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
-- Immersive is licensed under the terms of the GNU GPL v3: https://www.gnu.org/licenses/; © 2020 Ben Kerman
2+
13
script_name = mp.get_script_name()
24

35
-- always log verbose messages unless the user overrides msg-level

systems/anki.lua

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
-- Immersive is licensed under the terms of the GNU GPL v3: https://www.gnu.org/licenses/; © 2020 Ben Kerman
2+
13
local cfg = require "systems.config"
24
local helper = require "utility.helper"
35
local mpu = require "mp.utils"

systems/ankiconnect.lua

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
-- Immersive is licensed under the terms of the GNU GPL v3: https://www.gnu.org/licenses/; © 2020 Ben Kerman
2+
13
local cfg = require "systems.config"
24
local anki = require "systems.anki"
35
local http = require "systems.http"

systems/config.lua

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
-- Immersive is licensed under the terms of the GNU GPL v3: https://www.gnu.org/licenses/; © 2020 Ben Kerman
2+
13
local mpo = require "mp.options"
24
local mpu = require "mp.utils"
35
local msg = require "systems.message"

systems/encoder.lua

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
-- Immersive is licensed under the terms of the GNU GPL v3: https://www.gnu.org/licenses/; © 2020 Ben Kerman
2+
13
local anki = require "systems.anki"
24
local helper = require "utility.helper"
35
local sys = require "systems.system"

systems/export.lua

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
-- Immersive is licensed under the terms of the GNU GPL v3: https://www.gnu.org/licenses/; © 2020 Ben Kerman
2+
13
local anki = require "systems.anki"
24
local ankicon = require "systems.ankiconnect"
35
local cfg = require "systems.config"

systems/http.lua

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
-- Immersive is licensed under the terms of the GNU GPL v3: https://www.gnu.org/licenses/; © 2020 Ben Kerman
2+
13
local mpu = require "mp.utils"
24
local msg = require "systems.message"
35
local sys = require "systems.system"

systems/key_bindings.lua

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
-- Immersive is licensed under the terms of the GNU GPL v3: https://www.gnu.org/licenses/; © 2020 Ben Kerman
2+
13
local cfg = require "systems.config"
24
local msg = require "systems.message"
35
local ext = require "utility.extension"

systems/message.lua

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
-- Immersive is licensed under the terms of the GNU GPL v3: https://www.gnu.org/licenses/; © 2020 Ben Kerman
2+
13
local ext = require "utility.extension"
24

35
local overlay = mp.create_osd_overlay("ass-events")

systems/player.lua

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
-- Immersive is licensed under the terms of the GNU GPL v3: https://www.gnu.org/licenses/; © 2020 Ben Kerman
2+
13
local mpu = require "mp.utils"
24
local sys = require "systems.system"
35

systems/ssa.lua

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
-- Immersive is licensed under the terms of the GNU GPL v3: https://www.gnu.org/licenses/; © 2020 Ben Kerman
2+
13
local cfg = require "systems.config"
24
local msg = require "systems.message"
35
local tags = require "systems.ssa_tags"

systems/ssa_tags.lua

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
-- Immersive is licensed under the terms of the GNU GPL v3: https://www.gnu.org/licenses/; © 2020 Ben Kerman
2+
13
return {
24
{
35
id = "align",

systems/subtitle.lua

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
-- Immersive is licensed under the terms of the GNU GPL v3: https://www.gnu.org/licenses/; © 2020 Ben Kerman
2+
13
local utf_8 = require "utility.utf_8"
24
local ext = require "utility.extension"
35

systems/system.lua

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
-- Immersive is licensed under the terms of the GNU GPL v3: https://www.gnu.org/licenses/; © 2020 Ben Kerman
2+
13
local cfg = require "systems.config"
24
local mpu = require "mp.utils"
35
local msg = require "systems.message"

systems/templater.lua

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
-- Immersive is licensed under the terms of the GNU GPL v3: https://www.gnu.org/licenses/; © 2020 Ben Kerman
2+
13
local helper = require "utility.helper"
24
local msg = require "systems.message"
35
local ext = require "utility.extension"

utility/base64.lua

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
-- Immersive is licensed under the terms of the GNU GPL v3: https://www.gnu.org/licenses/; © 2020 Ben Kerman
2+
13
local bit_conv = require("utility.bit_compat")[2]
24
local ext = require "utility.extension"
35

utility/bit_compat.lua

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
-- Immersive is licensed under the terms of the GNU GPL v3: https://www.gnu.org/licenses/; © 2020 Ben Kerman
2+
13
local ext = require "utility.extension"
24

35
local bit_conv = {}

utility/extension.lua

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
-- Immersive is licensed under the terms of the GNU GPL v3: https://www.gnu.org/licenses/; © 2020 Ben Kerman
2+
13
local extension = {}
24

35
function extension.list_find(list, predicate)

utility/helper.lua

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
-- Immersive is licensed under the terms of the GNU GPL v3: https://www.gnu.org/licenses/; © 2020 Ben Kerman
2+
13
local cfg = require "systems.config"
24
local mpu = require "mp.utils"
35
local msg = require "systems.message"

utility/series_id.lua

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
-- Immersive is licensed under the terms of the GNU GPL v3: https://www.gnu.org/licenses/; © 2020 Ben Kerman
2+
13
local cfg = require "systems.config"
24
local ext = require "utility.extension"
35

utility/url.lua

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
-- Immersive is licensed under the terms of the GNU GPL v3: https://www.gnu.org/licenses/; © 2020 Ben Kerman
2+
13
local ext = require "utility.extension"
24

35
local unreserved = ext.list_map({

utility/utf_16.lua

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
-- Immersive is licensed under the terms of the GNU GPL v3: https://www.gnu.org/licenses/; © 2020 Ben Kerman
2+
13
local bit_op = require("utility.bit_compat")[1]
24

35
local utf_16 = {}

utility/utf_8.lua

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
-- Immersive is licensed under the terms of the GNU GPL v3: https://www.gnu.org/licenses/; © 2020 Ben Kerman
2+
13
local bit_op = require("utility.bit_compat")[1]
24

35
local function is_ascii(byte)

0 commit comments

Comments
 (0)