From 16cd907fe7482cb54a7374cd28b8501f138116be Mon Sep 17 00:00:00 2001 From: Thomas Goyne Date: Sat, 18 Aug 2012 16:43:11 +0000 Subject: [PATCH] Add a BOM to all of the lua files since they're no longer assumed to be UTF-8 Originally committed to SVN as r6962. --- aegisub/automation/autoload/clean-info.lua | 2 +- aegisub/automation/autoload/cleantags-autoload.lua | 2 +- aegisub/automation/autoload/kara-templater.lua | 2 +- aegisub/automation/autoload/karaoke-auto-leadin.lua | 2 +- aegisub/automation/autoload/macro-1-edgeblur.lua | 2 +- aegisub/automation/autoload/macro-2-mkfullwitdh.lua | 2 +- aegisub/automation/autoload/select-overlaps.lua | 2 +- aegisub/automation/autoload/strip-tags.lua | 2 +- aegisub/automation/demos/future-windy-blur.lua | 2 +- aegisub/automation/demos/raytracer.lua | 2 +- aegisub/automation/include/cleantags.lua | 2 +- aegisub/automation/include/clipboard.lua | 2 +- aegisub/automation/include/karaskel-auto4.lua | 2 +- aegisub/automation/include/karaskel.lua | 2 +- aegisub/automation/include/re.lua | 2 +- aegisub/automation/include/unicode.lua | 2 +- aegisub/automation/include/utils-auto4.lua | 2 +- aegisub/automation/include/utils.lua | 2 +- aegisub/automation/tests/appended-lines.lua | 2 +- aegisub/automation/tests/basic-export-test.lua | 2 +- aegisub/automation/tests/basic-tests.lua | 2 +- aegisub/automation/tests/config-dialog-test.lua | 2 +- aegisub/automation/tests/gen-absurd-t-line.lua | 2 +- aegisub/automation/tests/hello-world.lua | 2 +- aegisub/automation/tests/karaoke-parse-test.lua | 2 +- aegisub/automation/tests/progress-reporting-test.lua | 2 +- aegisub/automation/tests/selection-set-test.lua | 2 +- aegisub/automation/tests/test-filter-name-clash.lua | 2 +- aegisub/automation/tests/test-furi.lua | 2 +- aegisub/automation/tests/test-tablecopy-recursive.lua | 2 +- aegisub/automation/tests/test-text_extents.lua | 2 +- aegisub/automation/tests/text-extents-test.lua | 2 +- aegisub/automation/tests/trace-level-test.lua | 2 +- aegisub/automation/tests/unicode-test.lua | 2 +- 34 files changed, 34 insertions(+), 34 deletions(-) diff --git a/aegisub/automation/autoload/clean-info.lua b/aegisub/automation/autoload/clean-info.lua index 48839b428..f28dfa182 100644 --- a/aegisub/automation/autoload/clean-info.lua +++ b/aegisub/automation/autoload/clean-info.lua @@ -1,4 +1,4 @@ --- Copyright (c) 2012, Thomas Goyne +-- Copyright (c) 2012, Thomas Goyne -- -- Permission to use, copy, modify, and distribute this software for any -- purpose with or without fee is hereby granted, provided that the above diff --git a/aegisub/automation/autoload/cleantags-autoload.lua b/aegisub/automation/autoload/cleantags-autoload.lua index 3d739dd55..285cecdc7 100644 --- a/aegisub/automation/autoload/cleantags-autoload.lua +++ b/aegisub/automation/autoload/cleantags-autoload.lua @@ -1,4 +1,4 @@ ---[[ +--[[ "Clean Tags" -- An Auto4 LUA script for cleaning up ASS subtitle lines of badly-formed override blocks and redundant/duplicate tags * Designed to work for Aegisub 2.0 and above (only pre-release version was available at the time of diff --git a/aegisub/automation/autoload/kara-templater.lua b/aegisub/automation/autoload/kara-templater.lua index 6178dfa65..d1ea07972 100644 --- a/aegisub/automation/autoload/kara-templater.lua +++ b/aegisub/automation/autoload/kara-templater.lua @@ -1,4 +1,4 @@ ---[[ +--[[ Copyright (c) 2007, Niels Martin Hansen, Rodrigo Braz Monteiro All rights reserved. diff --git a/aegisub/automation/autoload/karaoke-auto-leadin.lua b/aegisub/automation/autoload/karaoke-auto-leadin.lua index 7544f45a7..c3dfb0961 100644 --- a/aegisub/automation/autoload/karaoke-auto-leadin.lua +++ b/aegisub/automation/autoload/karaoke-auto-leadin.lua @@ -1,4 +1,4 @@ ---[[ +--[[ Copyright (c) 2007, Niels Martin Hansen All rights reserved. diff --git a/aegisub/automation/autoload/macro-1-edgeblur.lua b/aegisub/automation/autoload/macro-1-edgeblur.lua index 9c316c695..f49321cd1 100644 --- a/aegisub/automation/autoload/macro-1-edgeblur.lua +++ b/aegisub/automation/autoload/macro-1-edgeblur.lua @@ -1,4 +1,4 @@ --- Automation 4 demo script +-- Automation 4 demo script -- Macro that adds \be1 tags in front of every selected line local tr = aegisub.gettext diff --git a/aegisub/automation/autoload/macro-2-mkfullwitdh.lua b/aegisub/automation/autoload/macro-2-mkfullwitdh.lua index 3a01cbb9f..c10668eb3 100644 --- a/aegisub/automation/autoload/macro-2-mkfullwitdh.lua +++ b/aegisub/automation/autoload/macro-2-mkfullwitdh.lua @@ -1,4 +1,4 @@ --- Automation 4 demo script +-- Automation 4 demo script -- Converts halfwidth (ASCII) Latin letters to fullwidth JIS Latin letters local tr = aegisub.gettext diff --git a/aegisub/automation/autoload/select-overlaps.lua b/aegisub/automation/autoload/select-overlaps.lua index 63c78069e..35bb38bce 100644 --- a/aegisub/automation/autoload/select-overlaps.lua +++ b/aegisub/automation/autoload/select-overlaps.lua @@ -1,4 +1,4 @@ --- Copyright (c) 2010, Thomas Goyne +-- Copyright (c) 2010, Thomas Goyne -- -- Permission to use, copy, modify, and distribute this software for any -- purpose with or without fee is hereby granted, provided that the above diff --git a/aegisub/automation/autoload/strip-tags.lua b/aegisub/automation/autoload/strip-tags.lua index c17fcb654..4e0f9f92d 100644 --- a/aegisub/automation/autoload/strip-tags.lua +++ b/aegisub/automation/autoload/strip-tags.lua @@ -1,4 +1,4 @@ --- Copyright (c) 2010, Thomas Goyne +-- Copyright (c) 2010, Thomas Goyne -- -- Permission to use, copy, modify, and distribute this software for any -- purpose with or without fee is hereby granted, provided that the above diff --git a/aegisub/automation/demos/future-windy-blur.lua b/aegisub/automation/demos/future-windy-blur.lua index f67206ed9..00711a650 100644 --- a/aegisub/automation/demos/future-windy-blur.lua +++ b/aegisub/automation/demos/future-windy-blur.lua @@ -1,4 +1,4 @@ --- This script is given to the public domain. +-- This script is given to the public domain. -- You can use and modify the effect freely, also without credit, although I would appreciate some. include("karaskel.lua") diff --git a/aegisub/automation/demos/raytracer.lua b/aegisub/automation/demos/raytracer.lua index 16f153919..ab684b149 100644 --- a/aegisub/automation/demos/raytracer.lua +++ b/aegisub/automation/demos/raytracer.lua @@ -1,4 +1,4 @@ --- This script is given to the public domain +-- This script is given to the public domain -- It was originally intended as an april fool's joke in 2007, though it never really caught on. -- You're encouraged to experiment with this if you have plenty of time. -- Even if it's made as a joke, it does show that "anything is possible with ASS, although some things are insane to try." diff --git a/aegisub/automation/include/cleantags.lua b/aegisub/automation/include/cleantags.lua index 51bc016b8..0ca65daa9 100644 --- a/aegisub/automation/include/cleantags.lua +++ b/aegisub/automation/include/cleantags.lua @@ -1,4 +1,4 @@ ---[[ +--[[ "Clean Tags" -- An Auto4 LUA script for cleaning up ASS subtitle lines of badly-formed override blocks and redundant/duplicate tags * Designed to work for Aegisub 2.0 and above diff --git a/aegisub/automation/include/clipboard.lua b/aegisub/automation/include/clipboard.lua index ffc87be55..55588d7b1 100644 --- a/aegisub/automation/include/clipboard.lua +++ b/aegisub/automation/include/clipboard.lua @@ -1,4 +1,4 @@ --- Copyright (c) 2012, Thomas Goyne +-- Copyright (c) 2012, Thomas Goyne -- -- Permission to use, copy, modify, and distribute this software for any -- purpose with or without fee is hereby granted, provided that the above diff --git a/aegisub/automation/include/karaskel-auto4.lua b/aegisub/automation/include/karaskel-auto4.lua index 11bb2f35c..275cb56aa 100644 --- a/aegisub/automation/include/karaskel-auto4.lua +++ b/aegisub/automation/include/karaskel-auto4.lua @@ -1,4 +1,4 @@ ---[[ +--[[ Copyright (c) 2007, 2010, Niels Martin Hansen, Rodrigo Braz Monteiro All rights reserved. diff --git a/aegisub/automation/include/karaskel.lua b/aegisub/automation/include/karaskel.lua index 3dea6b8cb..7a1f2e4f6 100644 --- a/aegisub/automation/include/karaskel.lua +++ b/aegisub/automation/include/karaskel.lua @@ -1,4 +1,4 @@ ---[[ +--[[ Copyright (c) 2007, Niels Martin Hansen, Rodrigo Braz Monteiro All rights reserved. diff --git a/aegisub/automation/include/re.lua b/aegisub/automation/include/re.lua index 7461eb378..47f55d490 100644 --- a/aegisub/automation/include/re.lua +++ b/aegisub/automation/include/re.lua @@ -1,4 +1,4 @@ --- Copyright (c) 2012, Thomas Goyne +-- Copyright (c) 2012, Thomas Goyne -- -- Permission to use, copy, modify, and distribute this software for any -- purpose with or without fee is hereby granted, provided that the above diff --git a/aegisub/automation/include/unicode.lua b/aegisub/automation/include/unicode.lua index 91136f5c6..be4611b3a 100644 --- a/aegisub/automation/include/unicode.lua +++ b/aegisub/automation/include/unicode.lua @@ -1,4 +1,4 @@ ---[[ +--[[ Copyright (c) 2007, Niels Martin Hansen, Rodrigo Braz Monteiro All rights reserved. diff --git a/aegisub/automation/include/utils-auto4.lua b/aegisub/automation/include/utils-auto4.lua index 30ac1004f..552598191 100644 --- a/aegisub/automation/include/utils-auto4.lua +++ b/aegisub/automation/include/utils-auto4.lua @@ -1,4 +1,4 @@ ---[[ +--[[ Copyright (c) 2005-2010, Niels Martin Hansen, Rodrigo Braz Monteiro All rights reserved. diff --git a/aegisub/automation/include/utils.lua b/aegisub/automation/include/utils.lua index f9b70157a..053a5c0b2 100644 --- a/aegisub/automation/include/utils.lua +++ b/aegisub/automation/include/utils.lua @@ -1,4 +1,4 @@ ---[[ +--[[ Copyright (c) 2005-2006, Niels Martin Hansen, Rodrigo Braz Monteiro All rights reserved. diff --git a/aegisub/automation/tests/appended-lines.lua b/aegisub/automation/tests/appended-lines.lua index 72234b3a7..b66ca54db 100644 --- a/aegisub/automation/tests/appended-lines.lua +++ b/aegisub/automation/tests/appended-lines.lua @@ -1,4 +1,4 @@ --- Automation 4 test file +-- Automation 4 test file -- Test that appending lines to a file places the lines in the appropriate -- sections of the file, creating the sections if needed diff --git a/aegisub/automation/tests/basic-export-test.lua b/aegisub/automation/tests/basic-export-test.lua index 997d68a9a..e7ff46bc4 100644 --- a/aegisub/automation/tests/basic-export-test.lua +++ b/aegisub/automation/tests/basic-export-test.lua @@ -1,4 +1,4 @@ --- Automation 4 test file +-- Automation 4 test file -- Create a Filter feature that does some kara stuff script_name = "Automation 4 test 6" diff --git a/aegisub/automation/tests/basic-tests.lua b/aegisub/automation/tests/basic-tests.lua index 46be3e701..6edea3c87 100644 --- a/aegisub/automation/tests/basic-tests.lua +++ b/aegisub/automation/tests/basic-tests.lua @@ -1,4 +1,4 @@ --- Automation 4 test file +-- Automation 4 test file -- Create a Macro feature, that displays some text script_name = "Automation 4 test 2" diff --git a/aegisub/automation/tests/config-dialog-test.lua b/aegisub/automation/tests/config-dialog-test.lua index d09a2e091..d85279304 100644 --- a/aegisub/automation/tests/config-dialog-test.lua +++ b/aegisub/automation/tests/config-dialog-test.lua @@ -1,4 +1,4 @@ --- Automation 4 test file +-- Automation 4 test file -- Create a Filter feature that does some kara stuff script_name = "Automation 4 test 7" diff --git a/aegisub/automation/tests/gen-absurd-t-line.lua b/aegisub/automation/tests/gen-absurd-t-line.lua index 8bf0fac1e..bf44d9b36 100644 --- a/aegisub/automation/tests/gen-absurd-t-line.lua +++ b/aegisub/automation/tests/gen-absurd-t-line.lua @@ -1,4 +1,4 @@ -script_name = "Absurdness" +script_name = "Absurdness" script_description = "Benchmark renderers by testing how they react to an absurd number of \\t tags in one line, and an absurd amount of lines each with a single \\t." script_author = "jfs" diff --git a/aegisub/automation/tests/hello-world.lua b/aegisub/automation/tests/hello-world.lua index 8ee13073e..3db3c581b 100644 --- a/aegisub/automation/tests/hello-world.lua +++ b/aegisub/automation/tests/hello-world.lua @@ -1,4 +1,4 @@ --- Automation 4 test file +-- Automation 4 test file -- Create a Macro feature, that displays some text script_name = "Automation 4 test 1" diff --git a/aegisub/automation/tests/karaoke-parse-test.lua b/aegisub/automation/tests/karaoke-parse-test.lua index 802b01dda..9475443e6 100644 --- a/aegisub/automation/tests/karaoke-parse-test.lua +++ b/aegisub/automation/tests/karaoke-parse-test.lua @@ -1,4 +1,4 @@ --- Automation 4 test file +-- Automation 4 test file -- Create a Macro feature, that displays some text script_name = "Automation 4 test 3" diff --git a/aegisub/automation/tests/progress-reporting-test.lua b/aegisub/automation/tests/progress-reporting-test.lua index 4e8304bcb..a906762c2 100644 --- a/aegisub/automation/tests/progress-reporting-test.lua +++ b/aegisub/automation/tests/progress-reporting-test.lua @@ -1,4 +1,4 @@ --- Automation 4 test file +-- Automation 4 test file -- Create a Macro feature, that displays some text script_name = "Automation 4 test 4" diff --git a/aegisub/automation/tests/selection-set-test.lua b/aegisub/automation/tests/selection-set-test.lua index 60a576475..6ed0417a0 100644 --- a/aegisub/automation/tests/selection-set-test.lua +++ b/aegisub/automation/tests/selection-set-test.lua @@ -1,4 +1,4 @@ --- Automation 4 test file +-- Automation 4 test file -- Create a Macro feature, that displays some text script_name = "Automation 4 set-selection test" diff --git a/aegisub/automation/tests/test-filter-name-clash.lua b/aegisub/automation/tests/test-filter-name-clash.lua index 8c847c620..f773e1409 100644 --- a/aegisub/automation/tests/test-filter-name-clash.lua +++ b/aegisub/automation/tests/test-filter-name-clash.lua @@ -1,4 +1,4 @@ --- Automation 4 test file +-- Automation 4 test file -- Create a Filter feature that does some kara stuff script_name = "Automation 4 test 10" diff --git a/aegisub/automation/tests/test-furi.lua b/aegisub/automation/tests/test-furi.lua index 7d31025f9..777be27a4 100644 --- a/aegisub/automation/tests/test-furi.lua +++ b/aegisub/automation/tests/test-furi.lua @@ -1,4 +1,4 @@ -script_name = "Test furigana" +script_name = "Test furigana" script_description = "Tests the Auto4/Lua karaskel furigana and multi-highlight code" script_author = "jfs" diff --git a/aegisub/automation/tests/test-tablecopy-recursive.lua b/aegisub/automation/tests/test-tablecopy-recursive.lua index 3a7fa98bb..f9c895fec 100644 --- a/aegisub/automation/tests/test-tablecopy-recursive.lua +++ b/aegisub/automation/tests/test-tablecopy-recursive.lua @@ -1,4 +1,4 @@ -script_name = "Test table.copy_deep" +script_name = "Test table.copy_deep" script_description = "Tests the Auto4 Lua utils.lua table.copy_deep function" script_author = "Niels Martin Hansen" diff --git a/aegisub/automation/tests/test-text_extents.lua b/aegisub/automation/tests/test-text_extents.lua index c3ba6b735..190add4e7 100644 --- a/aegisub/automation/tests/test-text_extents.lua +++ b/aegisub/automation/tests/test-text_extents.lua @@ -1,4 +1,4 @@ --- Automation 4 test file +-- Automation 4 test file -- Test the result of the text_extents function script_name = "Test text_extents" diff --git a/aegisub/automation/tests/text-extents-test.lua b/aegisub/automation/tests/text-extents-test.lua index c81c9f31c..f2bc3a5f6 100644 --- a/aegisub/automation/tests/text-extents-test.lua +++ b/aegisub/automation/tests/text-extents-test.lua @@ -1,4 +1,4 @@ --- Automation 4 test file +-- Automation 4 test file -- Create a Macro feature, that displays some text script_name = "Automation 4 test 5" diff --git a/aegisub/automation/tests/trace-level-test.lua b/aegisub/automation/tests/trace-level-test.lua index b8afef972..6fdfbb9f6 100644 --- a/aegisub/automation/tests/trace-level-test.lua +++ b/aegisub/automation/tests/trace-level-test.lua @@ -1,4 +1,4 @@ -script_name = "Automation 4 test 9" +script_name = "Automation 4 test 9" script_description = "Test debug out function" script_author = "Niels Martin Hansen" script_version = "2" diff --git a/aegisub/automation/tests/unicode-test.lua b/aegisub/automation/tests/unicode-test.lua index 472b81cf6..bfed6feb6 100644 --- a/aegisub/automation/tests/unicode-test.lua +++ b/aegisub/automation/tests/unicode-test.lua @@ -1,4 +1,4 @@ --- Automation 4 test file +-- Automation 4 test file -- Test the unicode.lua include script_name = "Automation 4 test 7"