Repo // Simplify license header format, etc.

This commit is contained in:
ShikiSuen 2022-08-03 17:43:06 +08:00
parent e545641a15
commit 79a9073412
85 changed files with 465 additions and 1825 deletions

View File

@ -1,28 +1,12 @@
#!/usr/bin/env swift #!/usr/bin/env swift
// Copyright (c) 2021 and onwards The vChewing Project (MIT-NTL License). // Copyright (c) 2021 and onwards The vChewing Project (MIT-NTL License).
/* // ====================
Permission is hereby granted, free of charge, to any person obtaining a copy of // This code is released under the MIT license (SPDX-License-Identifier: MIT)
this software and associated documentation files (the "Software"), to deal in // ... with NTL restriction stating that:
the Software without restriction, including without limitation the rights to // No trademark license is granted to use the trade names, trademarks, service
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of // marks, or product names of Contributor, except as required to fulfill notice
the Software, and to permit persons to whom the Software is furnished to do so, // requirements defined in MIT License.
subject to the following conditions:
1. The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
2. No trademark license is granted to use the trade names, trademarks, service
marks, or product names of Contributor, except as required to fulfill notice
requirements above.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
import Cocoa import Cocoa

View File

@ -1,28 +1,12 @@
#!/usr/bin/env swift #!/usr/bin/env swift
// Copyright (c) 2021 and onwards The vChewing Project (MIT-NTL License). // Copyright (c) 2021 and onwards The vChewing Project (MIT-NTL License).
/* // ====================
Permission is hereby granted, free of charge, to any person obtaining a copy of // This code is released under the MIT license (SPDX-License-Identifier: MIT)
this software and associated documentation files (the "Software"), to deal in // ... with NTL restriction stating that:
the Software without restriction, including without limitation the rights to // No trademark license is granted to use the trade names, trademarks, service
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of // marks, or product names of Contributor, except as required to fulfill notice
the Software, and to permit persons to whom the Software is furnished to do so, // requirements defined in MIT License.
subject to the following conditions:
1. The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
2. No trademark license is granted to use the trade names, trademarks, service
marks, or product names of Contributor, except as required to fulfill notice
requirements above.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
import Foundation import Foundation

View File

@ -1,28 +1,12 @@
// Copyright (c) 2011 and onwards The OpenVanilla Project (MIT License). // Copyright (c) 2011 and onwards The OpenVanilla Project (MIT License).
// All possible vChewing-specific modifications are of: // All possible vChewing-specific modifications are of:
// (c) 2021 and onwards The vChewing Project (MIT-NTL License). // (c) 2021 and onwards The vChewing Project (MIT-NTL License).
/* // ====================
Permission is hereby granted, free of charge, to any person obtaining a copy of // This code is released under the MIT license (SPDX-License-Identifier: MIT)
this software and associated documentation files (the "Software"), to deal in // ... with NTL restriction stating that:
the Software without restriction, including without limitation the rights to // No trademark license is granted to use the trade names, trademarks, service
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of // marks, or product names of Contributor, except as required to fulfill notice
the Software, and to permit persons to whom the Software is furnished to do so, // requirements defined in MIT License.
subject to the following conditions:
1. The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
2. No trademark license is granted to use the trade names, trademarks, service
marks, or product names of Contributor, except as required to fulfill notice
requirements above.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
import Cocoa import Cocoa

View File

@ -1,28 +1,12 @@
// Copyright (c) 2011 and onwards The OpenVanilla Project (MIT License). // Copyright (c) 2011 and onwards The OpenVanilla Project (MIT License).
// All possible vChewing-specific modifications are of: // All possible vChewing-specific modifications are of:
// (c) 2021 and onwards The vChewing Project (MIT-NTL License). // (c) 2021 and onwards The vChewing Project (MIT-NTL License).
/* // ====================
Permission is hereby granted, free of charge, to any person obtaining a copy of // This code is released under the MIT license (SPDX-License-Identifier: MIT)
this software and associated documentation files (the "Software"), to deal in // ... with NTL restriction stating that:
the Software without restriction, including without limitation the rights to // No trademark license is granted to use the trade names, trademarks, service
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of // marks, or product names of Contributor, except as required to fulfill notice
the Software, and to permit persons to whom the Software is furnished to do so, // requirements defined in MIT License.
subject to the following conditions:
1. The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
2. No trademark license is granted to use the trade names, trademarks, service
marks, or product names of Contributor, except as required to fulfill notice
requirements above.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
import Cocoa import Cocoa

View File

@ -1,31 +1,15 @@
// Copyright (c) 2021 and onwards The vChewing Project (MIT-NTL License). // Copyright (c) 2021 and onwards The vChewing Project (MIT-NTL License).
/* // ====================
Permission is hereby granted, free of charge, to any person obtaining a copy of // This code is released under the MIT license (SPDX-License-Identifier: MIT)
this software and associated documentation files (the "Software"), to deal in // ... with NTL restriction stating that:
the Software without restriction, including without limitation the rights to // No trademark license is granted to use the trade names, trademarks, service
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of // marks, or product names of Contributor, except as required to fulfill notice
the Software, and to permit persons to whom the Software is furnished to do so, // requirements defined in MIT License.
subject to the following conditions:
1. The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
2. No trademark license is granted to use the trade names, trademarks, service
marks, or product names of Contributor, except as required to fulfill notice
requirements above.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
import Foundation import Foundation
public class ChineseConverter { public enum ChineseConverter {
public static let shared = HotenkaChineseConverter.init(plistDir: mgrLangModel.getBundleDataPath("convdict")) public static let shared = HotenkaChineseConverter(plistDir: mgrLangModel.getBundleDataPath("convdict"))
/// ///
private static let currencyNumeralDictTable: [String: (String, String, String, String)] = [ private static let currencyNumeralDictTable: [String: (String, String, String, String)] = [
@ -52,7 +36,6 @@ public class ChineseConverter {
default: target = target.replacingOccurrences(of: key, with: result.1) // Contemporary default: target = target.replacingOccurrences(of: key, with: result.1) // Contemporary
} }
} }
return
} }
/// CrossConvert. /// CrossConvert.
@ -71,7 +54,7 @@ public class ChineseConverter {
} }
public static func cnvTradToKangXi(_ strObj: String) -> String { public static func cnvTradToKangXi(_ strObj: String) -> String {
return shared.convert(strObj, to: .zhHantKX) shared.convert(strObj, to: .zhHantKX)
} }
public static func cnvTradToJIS(_ strObj: String) -> String { public static func cnvTradToJIS(_ strObj: String) -> String {

View File

@ -1,27 +1,11 @@
// Swiftified by (c) 2022 and onwards The vChewing Project (MIT-NTL License). // Swiftified by (c) 2022 and onwards The vChewing Project (MIT-NTL License).
// Rebranded from (c) Nick Chen's Obj-C library "NCChineseConverter" (MIT License). // Rebranded from (c) Nick Chen's Obj-C library "NCChineseConverter" (MIT License).
/* // ====================
Permission is hereby granted, free of charge, to any person obtaining a copy of // This code is released under the MIT license (SPDX-License-Identifier: MIT)
this software and associated documentation files (the "Software"), to deal in // ... with NTL restriction stating that:
the Software without restriction, including without limitation the rights to // No trademark license is granted to use the trade names, trademarks, service
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of // marks, or product names of Contributor, except as required to fulfill notice
the Software, and to permit persons to whom the Software is furnished to do so, // requirements defined in MIT License.
subject to the following conditions:
1. The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
2. No trademark license is granted to use the trade names, trademarks, service
marks, or product names of Contributor, except as required to fulfill notice
requirements above.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
import Foundation import Foundation

View File

@ -1,22 +1,6 @@
// Copyright (c) 2018 and onwards Sindre Sorhus (MIT License). // Copyright (c) 2018 and onwards Sindre Sorhus (MIT License).
/* // ====================
Permission is hereby granted, free of charge, to any person obtaining a copy of // This code is released under the MIT license (SPDX-License-Identifier: MIT)
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
the Software, and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
import SwiftUI import SwiftUI

View File

@ -1,22 +1,6 @@
// Copyright (c) 2018 and onwards Sindre Sorhus (MIT License). // Copyright (c) 2018 and onwards Sindre Sorhus (MIT License).
/* // ====================
Permission is hereby granted, free of charge, to any person obtaining a copy of // This code is released under the MIT license (SPDX-License-Identifier: MIT)
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
the Software, and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
import Foundation import Foundation

View File

@ -1,22 +1,6 @@
// Copyright (c) 2018 and onwards Sindre Sorhus (MIT License). // Copyright (c) 2018 and onwards Sindre Sorhus (MIT License).
/* // ====================
Permission is hereby granted, free of charge, to any person obtaining a copy of // This code is released under the MIT license (SPDX-License-Identifier: MIT)
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
the Software, and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
import SwiftUI import SwiftUI

View File

@ -1,22 +1,6 @@
// Copyright (c) 2018 and onwards Sindre Sorhus (MIT License). // Copyright (c) 2018 and onwards Sindre Sorhus (MIT License).
/* // ====================
Permission is hereby granted, free of charge, to any person obtaining a copy of // This code is released under the MIT license (SPDX-License-Identifier: MIT)
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
the Software, and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
import Cocoa import Cocoa

View File

@ -1,22 +1,6 @@
// Copyright (c) 2018 and onwards Sindre Sorhus (MIT License). // Copyright (c) 2018 and onwards Sindre Sorhus (MIT License).
/* // ====================
Permission is hereby granted, free of charge, to any person obtaining a copy of // This code is released under the MIT license (SPDX-License-Identifier: MIT)
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
the Software, and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
/// The namespace for this package. /// The namespace for this package.
public enum Preferences {} public enum Preferences {}

View File

@ -1,22 +1,6 @@
// Copyright (c) 2018 and onwards Sindre Sorhus (MIT License). // Copyright (c) 2018 and onwards Sindre Sorhus (MIT License).
/* // ====================
Permission is hereby granted, free of charge, to any person obtaining a copy of // This code is released under the MIT license (SPDX-License-Identifier: MIT)
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
the Software, and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
import Cocoa import Cocoa

View File

@ -1,22 +1,6 @@
// Copyright (c) 2018 and onwards Sindre Sorhus (MIT License). // Copyright (c) 2018 and onwards Sindre Sorhus (MIT License).
/* // ====================
Permission is hereby granted, free of charge, to any person obtaining a copy of // This code is released under the MIT license (SPDX-License-Identifier: MIT)
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
the Software, and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
import Cocoa import Cocoa

View File

@ -1,22 +1,6 @@
// Copyright (c) 2018 and onwards Sindre Sorhus (MIT License). // Copyright (c) 2018 and onwards Sindre Sorhus (MIT License).
/* // ====================
Permission is hereby granted, free of charge, to any person obtaining a copy of // This code is released under the MIT license (SPDX-License-Identifier: MIT)
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
the Software, and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
import Cocoa import Cocoa

View File

@ -1,22 +1,6 @@
// Copyright (c) 2018 and onwards Sindre Sorhus (MIT License). // Copyright (c) 2018 and onwards Sindre Sorhus (MIT License).
/* // ====================
Permission is hereby granted, free of charge, to any person obtaining a copy of // This code is released under the MIT license (SPDX-License-Identifier: MIT)
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
the Software, and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
import Cocoa import Cocoa

View File

@ -1,22 +1,6 @@
// Copyright (c) 2018 and onwards Sindre Sorhus (MIT License). // Copyright (c) 2018 and onwards Sindre Sorhus (MIT License).
/* // ====================
Permission is hereby granted, free of charge, to any person obtaining a copy of // This code is released under the MIT license (SPDX-License-Identifier: MIT)
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
the Software, and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
import SwiftUI import SwiftUI

View File

@ -1,22 +1,6 @@
// Copyright (c) 2018 and onwards Sindre Sorhus (MIT License). // Copyright (c) 2018 and onwards Sindre Sorhus (MIT License).
/* // ====================
Permission is hereby granted, free of charge, to any person obtaining a copy of // This code is released under the MIT license (SPDX-License-Identifier: MIT)
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
the Software, and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
import Cocoa import Cocoa

View File

@ -1,22 +1,6 @@
// Copyright (c) 2018 and onwards Sindre Sorhus (MIT License). // Copyright (c) 2018 and onwards Sindre Sorhus (MIT License).
/* // ====================
Permission is hereby granted, free of charge, to any person obtaining a copy of // This code is released under the MIT license (SPDX-License-Identifier: MIT)
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
the Software, and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
import Cocoa import Cocoa

View File

@ -1,22 +1,6 @@
// Copyright (c) 2018 and onwards Sindre Sorhus (MIT License). // Copyright (c) 2018 and onwards Sindre Sorhus (MIT License).
/* // ====================
Permission is hereby granted, free of charge, to any person obtaining a copy of // This code is released under the MIT license (SPDX-License-Identifier: MIT)
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
the Software, and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
import Cocoa import Cocoa
import SwiftUI import SwiftUI

View File

@ -1,28 +1,12 @@
// Copyright (c) 2011 and onwards The OpenVanilla Project (MIT License). // Copyright (c) 2011 and onwards The OpenVanilla Project (MIT License).
// All possible vChewing-specific modifications are of: // All possible vChewing-specific modifications are of:
// (c) 2021 and onwards The vChewing Project (MIT-NTL License). // (c) 2021 and onwards The vChewing Project (MIT-NTL License).
/* // ====================
Permission is hereby granted, free of charge, to any person obtaining a copy of // This code is released under the MIT license (SPDX-License-Identifier: MIT)
this software and associated documentation files (the "Software"), to deal in // ... with NTL restriction stating that:
the Software without restriction, including without limitation the rights to // No trademark license is granted to use the trade names, trademarks, service
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of // marks, or product names of Contributor, except as required to fulfill notice
the Software, and to permit persons to whom the Software is furnished to do so, // requirements defined in MIT License.
subject to the following conditions:
1. The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
2. No trademark license is granted to use the trade names, trademarks, service
marks, or product names of Contributor, except as required to fulfill notice
requirements above.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
import Cocoa import Cocoa
import InputMethodKit import InputMethodKit
@ -64,7 +48,7 @@ class AppDelegate: NSObject, NSApplicationDelegate, ctlNonModalAlertWindowDelega
} }
func userNotificationCenter(_: NSUserNotificationCenter, shouldPresent _: NSUserNotification) -> Bool { func userNotificationCenter(_: NSUserNotificationCenter, shouldPresent _: NSUserNotification) -> Bool {
return true true
} }
func applicationDidFinishLaunching(_: Notification) { func applicationDidFinishLaunching(_: Notification) {

View File

@ -1,26 +1,10 @@
// Copyright (c) 2021 and onwards The vChewing Project (MIT-NTL License). // Copyright (c) 2021 and onwards The vChewing Project (MIT-NTL License).
/* // ====================
Permission is hereby granted, free of charge, to any person obtaining a copy of // This code is released under the MIT license (SPDX-License-Identifier: MIT)
this software and associated documentation files (the "Software"), to deal in // ... with NTL restriction stating that:
the Software without restriction, including without limitation the rights to // No trademark license is granted to use the trade names, trademarks, service
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of // marks, or product names of Contributor, except as required to fulfill notice
the Software, and to permit persons to whom the Software is furnished to do so, // requirements defined in MIT License.
subject to the following conditions:
1. The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
2. No trademark license is granted to use the trade names, trademarks, service
marks, or product names of Contributor, except as required to fulfill notice
requirements above.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
import Cocoa import Cocoa

View File

@ -1,28 +1,12 @@
// Copyright (c) 2011 and onwards The OpenVanilla Project (MIT License). // Copyright (c) 2011 and onwards The OpenVanilla Project (MIT License).
// All possible vChewing-specific modifications are of: // All possible vChewing-specific modifications are of:
// (c) 2021 and onwards The vChewing Project (MIT-NTL License). // (c) 2021 and onwards The vChewing Project (MIT-NTL License).
/* // ====================
Permission is hereby granted, free of charge, to any person obtaining a copy of // This code is released under the MIT license (SPDX-License-Identifier: MIT)
this software and associated documentation files (the "Software"), to deal in // ... with NTL restriction stating that:
the Software without restriction, including without limitation the rights to // No trademark license is granted to use the trade names, trademarks, service
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of // marks, or product names of Contributor, except as required to fulfill notice
the Software, and to permit persons to whom the Software is furnished to do so, // requirements defined in MIT License.
subject to the following conditions:
1. The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
2. No trademark license is granted to use the trade names, trademarks, service
marks, or product names of Contributor, except as required to fulfill notice
requirements above.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
import Cocoa import Cocoa

View File

@ -1,28 +1,12 @@
// Copyright (c) 2011 and onwards The OpenVanilla Project (MIT License). // Copyright (c) 2011 and onwards The OpenVanilla Project (MIT License).
// All possible vChewing-specific modifications are of: // All possible vChewing-specific modifications are of:
// (c) 2021 and onwards The vChewing Project (MIT-NTL License). // (c) 2021 and onwards The vChewing Project (MIT-NTL License).
/* // ====================
Permission is hereby granted, free of charge, to any person obtaining a copy of // This code is released under the MIT license (SPDX-License-Identifier: MIT)
this software and associated documentation files (the "Software"), to deal in // ... with NTL restriction stating that:
the Software without restriction, including without limitation the rights to // No trademark license is granted to use the trade names, trademarks, service
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of // marks, or product names of Contributor, except as required to fulfill notice
the Software, and to permit persons to whom the Software is furnished to do so, // requirements defined in MIT License.
subject to the following conditions:
1. The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
2. No trademark license is granted to use the trade names, trademarks, service
marks, or product names of Contributor, except as required to fulfill notice
requirements above.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
import Cocoa import Cocoa
@ -238,7 +222,8 @@ public enum InputState {
override init(composingBuffer: String, cursorIndex: Int, reading: String = "", nodeValuesArray: [String] = []) { override init(composingBuffer: String, cursorIndex: Int, reading: String = "", nodeValuesArray: [String] = []) {
super.init( super.init(
composingBuffer: composingBuffer, cursorIndex: cursorIndex, reading: reading, nodeValuesArray: nodeValuesArray) composingBuffer: composingBuffer, cursorIndex: cursorIndex, reading: reading, nodeValuesArray: nodeValuesArray
)
} }
override var description: String { override var description: String {

View File

@ -1,28 +1,12 @@
// Copyright (c) 2021 and onwards The vChewing Project (MIT-NTL License). // Copyright (c) 2021 and onwards The vChewing Project (MIT-NTL License).
// Refactored from the ObjCpp-version of this class by: // Refactored from the ObjCpp-version of this class by:
// (c) 2011 and onwards The OpenVanilla Project (MIT License). // (c) 2011 and onwards The OpenVanilla Project (MIT License).
/* // ====================
Permission is hereby granted, free of charge, to any person obtaining a copy of // This code is released under the MIT license (SPDX-License-Identifier: MIT)
this software and associated documentation files (the "Software"), to deal in // ... with NTL restriction stating that:
the Software without restriction, including without limitation the rights to // No trademark license is granted to use the trade names, trademarks, service
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of // marks, or product names of Contributor, except as required to fulfill notice
the Software, and to permit persons to whom the Software is furnished to do so, // requirements defined in MIT License.
subject to the following conditions:
1. The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
2. No trademark license is granted to use the trade names, trademarks, service
marks, or product names of Contributor, except as required to fulfill notice
requirements above.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
/// 調 /// 調
/// Megrez Tekkon /// Megrez Tekkon

View File

@ -1,28 +1,12 @@
// Copyright (c) 2021 and onwards The vChewing Project (MIT-NTL License). // Copyright (c) 2021 and onwards The vChewing Project (MIT-NTL License).
// Refactored from the ObjCpp-version of this class by: // Refactored from the ObjCpp-version of this class by:
// (c) 2011 and onwards The OpenVanilla Project (MIT License). // (c) 2011 and onwards The OpenVanilla Project (MIT License).
/* // ====================
Permission is hereby granted, free of charge, to any person obtaining a copy of // This code is released under the MIT license (SPDX-License-Identifier: MIT)
this software and associated documentation files (the "Software"), to deal in // ... with NTL restriction stating that:
the Software without restriction, including without limitation the rights to // No trademark license is granted to use the trade names, trademarks, service
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of // marks, or product names of Contributor, except as required to fulfill notice
the Software, and to permit persons to whom the Software is furnished to do so, // requirements defined in MIT License.
subject to the following conditions:
1. The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
2. No trademark license is granted to use the trade names, trademarks, service
marks, or product names of Contributor, except as required to fulfill notice
requirements above.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
/// 調 /// 調

View File

@ -1,28 +1,12 @@
// Copyright (c) 2021 and onwards The vChewing Project (MIT-NTL License). // Copyright (c) 2021 and onwards The vChewing Project (MIT-NTL License).
// Refactored from the ObjCpp-version of this class by: // Refactored from the ObjCpp-version of this class by:
// (c) 2011 and onwards The OpenVanilla Project (MIT License). // (c) 2011 and onwards The OpenVanilla Project (MIT License).
/* // ====================
Permission is hereby granted, free of charge, to any person obtaining a copy of // This code is released under the MIT license (SPDX-License-Identifier: MIT)
this software and associated documentation files (the "Software"), to deal in // ... with NTL restriction stating that:
the Software without restriction, including without limitation the rights to // No trademark license is granted to use the trade names, trademarks, service
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of // marks, or product names of Contributor, except as required to fulfill notice
the Software, and to permit persons to whom the Software is furnished to do so, // requirements defined in MIT License.
subject to the following conditions:
1. The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
2. No trademark license is granted to use the trade names, trademarks, service
marks, or product names of Contributor, except as required to fulfill notice
requirements above.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
/// KeyHandler.HandleInput() /// KeyHandler.HandleInput()

View File

@ -1,28 +1,12 @@
// Copyright (c) 2021 and onwards The vChewing Project (MIT-NTL License). // Copyright (c) 2021 and onwards The vChewing Project (MIT-NTL License).
// Refactored from the ObjCpp-version of this class by: // Refactored from the ObjCpp-version of this class by:
// (c) 2011 and onwards The OpenVanilla Project (MIT License). // (c) 2011 and onwards The OpenVanilla Project (MIT License).
/* // ====================
Permission is hereby granted, free of charge, to any person obtaining a copy of // This code is released under the MIT license (SPDX-License-Identifier: MIT)
this software and associated documentation files (the "Software"), to deal in // ... with NTL restriction stating that:
the Software without restriction, including without limitation the rights to // No trademark license is granted to use the trade names, trademarks, service
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of // marks, or product names of Contributor, except as required to fulfill notice
the Software, and to permit persons to whom the Software is furnished to do so, // requirements defined in MIT License.
subject to the following conditions:
1. The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
2. No trademark license is granted to use the trade names, trademarks, service
marks, or product names of Contributor, except as required to fulfill notice
requirements above.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
/// 調 IMK 調 /// 調 IMK 調
/// 調 /// 調

View File

@ -1,28 +1,12 @@
// Copyright (c) 2021 and onwards The vChewing Project (MIT-NTL License). // Copyright (c) 2021 and onwards The vChewing Project (MIT-NTL License).
// Refactored from the ObjCpp-version of this class by: // Refactored from the ObjCpp-version of this class by:
// (c) 2011 and onwards The OpenVanilla Project (MIT License). // (c) 2011 and onwards The OpenVanilla Project (MIT License).
/* // ====================
Permission is hereby granted, free of charge, to any person obtaining a copy of // This code is released under the MIT license (SPDX-License-Identifier: MIT)
this software and associated documentation files (the "Software"), to deal in // ... with NTL restriction stating that:
the Software without restriction, including without limitation the rights to // No trademark license is granted to use the trade names, trademarks, service
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of // marks, or product names of Contributor, except as required to fulfill notice
the Software, and to permit persons to whom the Software is furnished to do so, // requirements defined in MIT License.
subject to the following conditions:
1. The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
2. No trademark license is granted to use the trade names, trademarks, service
marks, or product names of Contributor, except as required to fulfill notice
requirements above.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
/// 調調 /// 調調

View File

@ -1,28 +1,12 @@
// Copyright (c) 2011 and onwards The OpenVanilla Project (MIT License). // Copyright (c) 2011 and onwards The OpenVanilla Project (MIT License).
// All possible vChewing-specific modifications are of: // All possible vChewing-specific modifications are of:
// (c) 2021 and onwards The vChewing Project (MIT-NTL License). // (c) 2021 and onwards The vChewing Project (MIT-NTL License).
/* // ====================
Permission is hereby granted, free of charge, to any person obtaining a copy of // This code is released under the MIT license (SPDX-License-Identifier: MIT)
this software and associated documentation files (the "Software"), to deal in // ... with NTL restriction stating that:
the Software without restriction, including without limitation the rights to // No trademark license is granted to use the trade names, trademarks, service
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of // marks, or product names of Contributor, except as required to fulfill notice
the Software, and to permit persons to whom the Software is furnished to do so, // requirements defined in MIT License.
subject to the following conditions:
1. The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
2. No trademark license is granted to use the trade names, trademarks, service
marks, or product names of Contributor, except as required to fulfill notice
requirements above.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
import Cocoa import Cocoa

View File

@ -1,26 +1,10 @@
// (c) 2022 and onwards The vChewing Project (MIT-NTL License). // (c) 2022 and onwards The vChewing Project (MIT-NTL License).
/* // ====================
Permission is hereby granted, free of charge, to any person obtaining a copy of // This code is released under the MIT license (SPDX-License-Identifier: MIT)
this software and associated documentation files (the "Software"), to deal in // ... with NTL restriction stating that:
the Software without restriction, including without limitation the rights to // No trademark license is granted to use the trade names, trademarks, service
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of // marks, or product names of Contributor, except as required to fulfill notice
the Software, and to permit persons to whom the Software is furnished to do so, // requirements defined in MIT License.
subject to the following conditions:
1. The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
2. No trademark license is granted to use the trade names, trademarks, service
marks, or product names of Contributor, except as required to fulfill notice
requirements above.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
import Foundation import Foundation

View File

@ -1,28 +1,12 @@
// Copyright (c) 2011 and onwards The OpenVanilla Project (MIT License). // Copyright (c) 2011 and onwards The OpenVanilla Project (MIT License).
// All possible vChewing-specific modifications are of: // All possible vChewing-specific modifications are of:
// (c) 2021 and onwards The vChewing Project (MIT-NTL License). // (c) 2021 and onwards The vChewing Project (MIT-NTL License).
/* // ====================
Permission is hereby granted, free of charge, to any person obtaining a copy of // This code is released under the MIT license (SPDX-License-Identifier: MIT)
this software and associated documentation files (the "Software"), to deal in // ... with NTL restriction stating that:
the Software without restriction, including without limitation the rights to // No trademark license is granted to use the trade names, trademarks, service
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of // marks, or product names of Contributor, except as required to fulfill notice
the Software, and to permit persons to whom the Software is furnished to do so, // requirements defined in MIT License.
subject to the following conditions:
1. The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
2. No trademark license is granted to use the trade names, trademarks, service
marks, or product names of Contributor, except as required to fulfill notice
requirements above.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
import Cocoa import Cocoa
import InputMethodKit import InputMethodKit
@ -99,7 +83,7 @@ class ctlInputMethod: IMKInputController {
// activateServer nil // activateServer nil
// //
if keyHandler.delegate == nil { keyHandler.delegate = self } if keyHandler.delegate == nil { keyHandler.delegate = self }
setValue(IME.currentInputMode.rawValue, forTag: 114514, client: client()) setValue(IME.currentInputMode.rawValue, forTag: 114_514, client: client())
keyHandler.clear() keyHandler.clear()
keyHandler.ensureParser() keyHandler.ensureParser()

View File

@ -1,28 +1,12 @@
// Copyright (c) 2011 and onwards The OpenVanilla Project (MIT License). // Copyright (c) 2011 and onwards The OpenVanilla Project (MIT License).
// All possible vChewing-specific modifications are of: // All possible vChewing-specific modifications are of:
// (c) 2021 and onwards The vChewing Project (MIT-NTL License). // (c) 2021 and onwards The vChewing Project (MIT-NTL License).
/* // ====================
Permission is hereby granted, free of charge, to any person obtaining a copy of // This code is released under the MIT license (SPDX-License-Identifier: MIT)
this software and associated documentation files (the "Software"), to deal in // ... with NTL restriction stating that:
the Software without restriction, including without limitation the rights to // No trademark license is granted to use the trade names, trademarks, service
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of // marks, or product names of Contributor, except as required to fulfill notice
the Software, and to permit persons to whom the Software is furnished to do so, // requirements defined in MIT License.
subject to the following conditions:
1. The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
2. No trademark license is granted to use the trade names, trademarks, service
marks, or product names of Contributor, except as required to fulfill notice
requirements above.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
import Cocoa import Cocoa

View File

@ -1,28 +1,12 @@
// Copyright (c) 2011 and onwards The OpenVanilla Project (MIT License). // Copyright (c) 2011 and onwards The OpenVanilla Project (MIT License).
// All possible vChewing-specific modifications are of: // All possible vChewing-specific modifications are of:
// (c) 2021 and onwards The vChewing Project (MIT-NTL License). // (c) 2021 and onwards The vChewing Project (MIT-NTL License).
/* // ====================
Permission is hereby granted, free of charge, to any person obtaining a copy of // This code is released under the MIT license (SPDX-License-Identifier: MIT)
this software and associated documentation files (the "Software"), to deal in // ... with NTL restriction stating that:
the Software without restriction, including without limitation the rights to // No trademark license is granted to use the trade names, trademarks, service
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of // marks, or product names of Contributor, except as required to fulfill notice
the Software, and to permit persons to whom the Software is furnished to do so, // requirements defined in MIT License.
subject to the following conditions:
1. The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
2. No trademark license is granted to use the trade names, trademarks, service
marks, or product names of Contributor, except as required to fulfill notice
requirements above.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
import Cocoa import Cocoa
import Foundation import Foundation

View File

@ -1,28 +1,12 @@
// Copyright (c) 2011 and onwards The OpenVanilla Project (MIT License). // Copyright (c) 2011 and onwards The OpenVanilla Project (MIT License).
// All possible vChewing-specific modifications are of: // All possible vChewing-specific modifications are of:
// (c) 2021 and onwards The vChewing Project (MIT-NTL License). // (c) 2021 and onwards The vChewing Project (MIT-NTL License).
/* // ====================
Permission is hereby granted, free of charge, to any person obtaining a copy of // This code is released under the MIT license (SPDX-License-Identifier: MIT)
this software and associated documentation files (the "Software"), to deal in // ... with NTL restriction stating that:
the Software without restriction, including without limitation the rights to // No trademark license is granted to use the trade names, trademarks, service
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of // marks, or product names of Contributor, except as required to fulfill notice
the Software, and to permit persons to whom the Software is furnished to do so, // requirements defined in MIT License.
subject to the following conditions:
1. The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
2. No trademark license is granted to use the trade names, trademarks, service
marks, or product names of Contributor, except as required to fulfill notice
requirements above.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
import Foundation import Foundation

View File

@ -1,28 +1,12 @@
// Copyright (c) 2011 and onwards The OpenVanilla Project (MIT License). // Copyright (c) 2011 and onwards The OpenVanilla Project (MIT License).
// All possible vChewing-specific modifications are of: // All possible vChewing-specific modifications are of:
// (c) 2021 and onwards The vChewing Project (MIT-NTL License). // (c) 2021 and onwards The vChewing Project (MIT-NTL License).
/* // ====================
Permission is hereby granted, free of charge, to any person obtaining a copy of // This code is released under the MIT license (SPDX-License-Identifier: MIT)
this software and associated documentation files (the "Software"), to deal in // ... with NTL restriction stating that:
the Software without restriction, including without limitation the rights to // No trademark license is granted to use the trade names, trademarks, service
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of // marks, or product names of Contributor, except as required to fulfill notice
the Software, and to permit persons to whom the Software is furnished to do so, // requirements defined in MIT License.
subject to the following conditions:
1. The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
2. No trademark license is granted to use the trade names, trademarks, service
marks, or product names of Contributor, except as required to fulfill notice
requirements above.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
import Cocoa import Cocoa

View File

@ -1,28 +1,12 @@
// Copyright (c) 2011 and onwards The OpenVanilla Project (MIT License). // Copyright (c) 2011 and onwards The OpenVanilla Project (MIT License).
// All possible vChewing-specific modifications are of: // All possible vChewing-specific modifications are of:
// (c) 2021 and onwards The vChewing Project (MIT-NTL License). // (c) 2021 and onwards The vChewing Project (MIT-NTL License).
/* // ====================
Permission is hereby granted, free of charge, to any person obtaining a copy of // This code is released under the MIT license (SPDX-License-Identifier: MIT)
this software and associated documentation files (the "Software"), to deal in // ... with NTL restriction stating that:
the Software without restriction, including without limitation the rights to // No trademark license is granted to use the trade names, trademarks, service
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of // marks, or product names of Contributor, except as required to fulfill notice
the Software, and to permit persons to whom the Software is furnished to do so, // requirements defined in MIT License.
subject to the following conditions:
1. The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
2. No trademark license is granted to use the trade names, trademarks, service
marks, or product names of Contributor, except as required to fulfill notice
requirements above.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
import Cocoa import Cocoa

View File

@ -1,26 +1,10 @@
// Copyright (c) 2021 and onwards The vChewing Project (MIT-NTL License). // Copyright (c) 2021 and onwards The vChewing Project (MIT-NTL License).
/* // ====================
Permission is hereby granted, free of charge, to any person obtaining a copy of // This code is released under the MIT license (SPDX-License-Identifier: MIT)
this software and associated documentation files (the "Software"), to deal in // ... with NTL restriction stating that:
the Software without restriction, including without limitation the rights to // No trademark license is granted to use the trade names, trademarks, service
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of // marks, or product names of Contributor, except as required to fulfill notice
the Software, and to permit persons to whom the Software is furnished to do so, // requirements defined in MIT License.
subject to the following conditions:
1. The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
2. No trademark license is granted to use the trade names, trademarks, service
marks, or product names of Contributor, except as required to fulfill notice
requirements above.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
import Carbon import Carbon
import Cocoa import Cocoa

View File

@ -1,28 +1,12 @@
// Copyright (c) 2011 and onwards The OpenVanilla Project (MIT License). // Copyright (c) 2011 and onwards The OpenVanilla Project (MIT License).
// All possible vChewing-specific modifications are of: // All possible vChewing-specific modifications are of:
// (c) 2021 and onwards The vChewing Project (MIT-NTL License). // (c) 2021 and onwards The vChewing Project (MIT-NTL License).
/* // ====================
Permission is hereby granted, free of charge, to any person obtaining a copy of // This code is released under the MIT license (SPDX-License-Identifier: MIT)
this software and associated documentation files (the "Software"), to deal in // ... with NTL restriction stating that:
the Software without restriction, including without limitation the rights to // No trademark license is granted to use the trade names, trademarks, service
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of // marks, or product names of Contributor, except as required to fulfill notice
the Software, and to permit persons to whom the Software is furnished to do so, // requirements defined in MIT License.
subject to the following conditions:
1. The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
2. No trademark license is granted to use the trade names, trademarks, service
marks, or product names of Contributor, except as required to fulfill notice
requirements above.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
import Carbon import Carbon
import Cocoa import Cocoa

View File

@ -1,28 +1,12 @@
// Copyright (c) 2011 and onwards The OpenVanilla Project (MIT License). // Copyright (c) 2011 and onwards The OpenVanilla Project (MIT License).
// All possible vChewing-specific modifications are of: // All possible vChewing-specific modifications are of:
// (c) 2021 and onwards The vChewing Project (MIT-NTL License). // (c) 2021 and onwards The vChewing Project (MIT-NTL License).
/* // ====================
Permission is hereby granted, free of charge, to any person obtaining a copy of // This code is released under the MIT license (SPDX-License-Identifier: MIT)
this software and associated documentation files (the "Software"), to deal in // ... with NTL restriction stating that:
the Software without restriction, including without limitation the rights to // No trademark license is granted to use the trade names, trademarks, service
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of // marks, or product names of Contributor, except as required to fulfill notice
the Software, and to permit persons to whom the Software is furnished to do so, // requirements defined in MIT License.
subject to the following conditions:
1. The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
2. No trademark license is granted to use the trade names, trademarks, service
marks, or product names of Contributor, except as required to fulfill notice
requirements above.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
import Cocoa import Cocoa

View File

@ -1,28 +1,12 @@
// Copyright (c) 2011 and onwards The OpenVanilla Project (MIT License). // Copyright (c) 2011 and onwards The OpenVanilla Project (MIT License).
// All possible vChewing-specific modifications are of: // All possible vChewing-specific modifications are of:
// (c) 2021 and onwards The vChewing Project (MIT-NTL License). // (c) 2021 and onwards The vChewing Project (MIT-NTL License).
/* // ====================
Permission is hereby granted, free of charge, to any person obtaining a copy of // This code is released under the MIT license (SPDX-License-Identifier: MIT)
this software and associated documentation files (the "Software"), to deal in // ... with NTL restriction stating that:
the Software without restriction, including without limitation the rights to // No trademark license is granted to use the trade names, trademarks, service
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of // marks, or product names of Contributor, except as required to fulfill notice
the Software, and to permit persons to whom the Software is furnished to do so, // requirements defined in MIT License.
subject to the following conditions:
1. The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
2. No trademark license is granted to use the trade names, trademarks, service
marks, or product names of Contributor, except as required to fulfill notice
requirements above.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
import Cocoa import Cocoa

View File

@ -1,26 +1,10 @@
// Copyright (c) 2021 and onwards The vChewing Project (MIT-NTL License). // Copyright (c) 2021 and onwards The vChewing Project (MIT-NTL License).
/* // ====================
Permission is hereby granted, free of charge, to any person obtaining a copy of // This code is released under the MIT license (SPDX-License-Identifier: MIT)
this software and associated documentation files (the "Software"), to deal in // ... with NTL restriction stating that:
the Software without restriction, including without limitation the rights to // No trademark license is granted to use the trade names, trademarks, service
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of // marks, or product names of Contributor, except as required to fulfill notice
the Software, and to permit persons to whom the Software is furnished to do so, // requirements defined in MIT License.
subject to the following conditions:
1. The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
2. No trademark license is granted to use the trade names, trademarks, service
marks, or product names of Contributor, except as required to fulfill notice
requirements above.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
import Foundation import Foundation

View File

@ -1,28 +1,12 @@
// Copyright (c) 2021 and onwards The vChewing Project (MIT-NTL License). // Copyright (c) 2021 and onwards The vChewing Project (MIT-NTL License).
// Refactored from the ObjCpp-version of this class by: // Refactored from the ObjCpp-version of this class by:
// (c) 2011 and onwards The OpenVanilla Project (MIT License). // (c) 2011 and onwards The OpenVanilla Project (MIT License).
/* // ====================
Permission is hereby granted, free of charge, to any person obtaining a copy of // This code is released under the MIT license (SPDX-License-Identifier: MIT)
this software and associated documentation files (the "Software"), to deal in // ... with NTL restriction stating that:
the Software without restriction, including without limitation the rights to // No trademark license is granted to use the trade names, trademarks, service
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of // marks, or product names of Contributor, except as required to fulfill notice
the Software, and to permit persons to whom the Software is furnished to do so, // requirements defined in MIT License.
subject to the following conditions:
1. The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
2. No trademark license is granted to use the trade names, trademarks, service
marks, or product names of Contributor, except as required to fulfill notice
requirements above.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
import Foundation import Foundation

View File

@ -1,28 +1,12 @@
// Copyright (c) 2011 and onwards The OpenVanilla Project (MIT License). // Copyright (c) 2011 and onwards The OpenVanilla Project (MIT License).
// All possible vChewing-specific modifications are of: // All possible vChewing-specific modifications are of:
// (c) 2021 and onwards The vChewing Project (MIT-NTL License). // (c) 2021 and onwards The vChewing Project (MIT-NTL License).
/* // ====================
Permission is hereby granted, free of charge, to any person obtaining a copy of // This code is released under the MIT license (SPDX-License-Identifier: MIT)
this software and associated documentation files (the "Software"), to deal in // ... with NTL restriction stating that:
the Software without restriction, including without limitation the rights to // No trademark license is granted to use the trade names, trademarks, service
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of // marks, or product names of Contributor, except as required to fulfill notice
the Software, and to permit persons to whom the Software is furnished to do so, // requirements defined in MIT License.
subject to the following conditions:
1. The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
2. No trademark license is granted to use the trade names, trademarks, service
marks, or product names of Contributor, except as required to fulfill notice
requirements above.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
import Foundation import Foundation

View File

@ -1,27 +1,11 @@
// Copyright (c) 2021 and onwards The vChewing Project (MIT-NTL License). // Copyright (c) 2021 and onwards The vChewing Project (MIT-NTL License).
// StringView Ranges extension by (c) 2022 and onwards Isaac Xen (MIT License). // StringView Ranges extension by (c) 2022 and onwards Isaac Xen (MIT License).
/* // ====================
Permission is hereby granted, free of charge, to any person obtaining a copy of // This code is released under the MIT license (SPDX-License-Identifier: MIT)
this software and associated documentation files (the "Software"), to deal in // ... with NTL restriction stating that:
the Software without restriction, including without limitation the rights to // No trademark license is granted to use the trade names, trademarks, service
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of // marks, or product names of Contributor, except as required to fulfill notice
the Software, and to permit persons to whom the Software is furnished to do so, // requirements defined in MIT License.
subject to the following conditions:
1. The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
2. No trademark license is granted to use the trade names, trademarks, service
marks, or product names of Contributor, except as required to fulfill notice
requirements above.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
import Foundation import Foundation

View File

@ -1,27 +1,11 @@
// Copyright (c) 2021 and onwards The vChewing Project (MIT-NTL License). // Copyright (c) 2021 and onwards The vChewing Project (MIT-NTL License).
// StringView Ranges extension by (c) 2022 and onwards Isaac Xen (MIT License). // StringView Ranges extension by (c) 2022 and onwards Isaac Xen (MIT License).
/* // ====================
Permission is hereby granted, free of charge, to any person obtaining a copy of // This code is released under the MIT license (SPDX-License-Identifier: MIT)
this software and associated documentation files (the "Software"), to deal in // ... with NTL restriction stating that:
the Software without restriction, including without limitation the rights to // No trademark license is granted to use the trade names, trademarks, service
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of // marks, or product names of Contributor, except as required to fulfill notice
the Software, and to permit persons to whom the Software is furnished to do so, // requirements defined in MIT License.
subject to the following conditions:
1. The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
2. No trademark license is granted to use the trade names, trademarks, service
marks, or product names of Contributor, except as required to fulfill notice
requirements above.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
import Foundation import Foundation

View File

@ -1,26 +1,10 @@
// Copyright (c) 2021 and onwards The vChewing Project (MIT-NTL License). // Copyright (c) 2021 and onwards The vChewing Project (MIT-NTL License).
/* // ====================
Permission is hereby granted, free of charge, to any person obtaining a copy of // This code is released under the MIT license (SPDX-License-Identifier: MIT)
this software and associated documentation files (the "Software"), to deal in // ... with NTL restriction stating that:
the Software without restriction, including without limitation the rights to // No trademark license is granted to use the trade names, trademarks, service
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of // marks, or product names of Contributor, except as required to fulfill notice
the Software, and to permit persons to whom the Software is furnished to do so, // requirements defined in MIT License.
subject to the following conditions:
1. The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
2. No trademark license is granted to use the trade names, trademarks, service
marks, or product names of Contributor, except as required to fulfill notice
requirements above.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
import Foundation import Foundation

View File

@ -1,27 +1,11 @@
// Copyright (c) 2021 and onwards The vChewing Project (MIT-NTL License). // Copyright (c) 2021 and onwards The vChewing Project (MIT-NTL License).
// StringView Ranges extension by (c) 2022 and onwards Isaac Xen (MIT License). // StringView Ranges extension by (c) 2022 and onwards Isaac Xen (MIT License).
/* // ====================
Permission is hereby granted, free of charge, to any person obtaining a copy of // This code is released under the MIT license (SPDX-License-Identifier: MIT)
this software and associated documentation files (the "Software"), to deal in // ... with NTL restriction stating that:
the Software without restriction, including without limitation the rights to // No trademark license is granted to use the trade names, trademarks, service
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of // marks, or product names of Contributor, except as required to fulfill notice
the Software, and to permit persons to whom the Software is furnished to do so, // requirements defined in MIT License.
subject to the following conditions:
1. The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
2. No trademark license is granted to use the trade names, trademarks, service
marks, or product names of Contributor, except as required to fulfill notice
requirements above.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
import Foundation import Foundation

View File

@ -1,27 +1,11 @@
// Copyright (c) 2021 and onwards The vChewing Project (MIT-NTL License). // Copyright (c) 2021 and onwards The vChewing Project (MIT-NTL License).
// Refactored from the Cpp version of this class by Mengjuei Hsieh (MIT License). // Refactored from the Cpp version of this class by Mengjuei Hsieh (MIT License).
/* // ====================
Permission is hereby granted, free of charge, to any person obtaining a copy of // This code is released under the MIT license (SPDX-License-Identifier: MIT)
this software and associated documentation files (the "Software"), to deal in // ... with NTL restriction stating that:
the Software without restriction, including without limitation the rights to // No trademark license is granted to use the trade names, trademarks, service
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of // marks, or product names of Contributor, except as required to fulfill notice
the Software, and to permit persons to whom the Software is furnished to do so, // requirements defined in MIT License.
subject to the following conditions:
1. The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
2. No trademark license is granted to use the trade names, trademarks, service
marks, or product names of Contributor, except as required to fulfill notice
requirements above.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
import Foundation import Foundation

View File

@ -1,28 +1,12 @@
// Copyright (c) 2021 and onwards The vChewing Project (MIT-NTL License). // Copyright (c) 2021 and onwards The vChewing Project (MIT-NTL License).
// Refactored from the ObjCpp-version of this class by: // Refactored from the ObjCpp-version of this class by:
// (c) 2011 and onwards The OpenVanilla Project (MIT License). // (c) 2011 and onwards The OpenVanilla Project (MIT License).
/* // ====================
Permission is hereby granted, free of charge, to any person obtaining a copy of // This code is released under the MIT license (SPDX-License-Identifier: MIT)
this software and associated documentation files (the "Software"), to deal in // ... with NTL restriction stating that:
the Software without restriction, including without limitation the rights to // No trademark license is granted to use the trade names, trademarks, service
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of // marks, or product names of Contributor, except as required to fulfill notice
the Software, and to permit persons to whom the Software is furnished to do so, // requirements defined in MIT License.
subject to the following conditions:
1. The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
2. No trademark license is granted to use the trade names, trademarks, service
marks, or product names of Contributor, except as required to fulfill notice
requirements above.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
import Cocoa import Cocoa

View File

@ -1,27 +1,11 @@
// Swiftified by (c) 2022 and onwards The vChewing Project (MIT-NTL License). // Swiftified by (c) 2022 and onwards The vChewing Project (MIT-NTL License).
// Rebranded from (c) Lukhnos Liu's C++ library "Gramambular" (MIT License). // Rebranded from (c) Lukhnos Liu's C++ library "Gramambular" (MIT License).
/* // ====================
Permission is hereby granted, free of charge, to any person obtaining a copy of // This code is released under the MIT license (SPDX-License-Identifier: MIT)
this software and associated documentation files (the "Software"), to deal in // ... with NTL restriction stating that:
the Software without restriction, including without limitation the rights to // No trademark license is granted to use the trade names, trademarks, service
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of // marks, or product names of Contributor, except as required to fulfill notice
the Software, and to permit persons to whom the Software is furnished to do so, // requirements defined in MIT License.
subject to the following conditions:
1. The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
2. No trademark license is granted to use the trade names, trademarks, service
marks, or product names of Contributor, except as required to fulfill notice
requirements above.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
/// The namespace for this package. /// The namespace for this package.
public enum Megrez {} public enum Megrez {}

View File

@ -1,27 +1,11 @@
// Swiftified by (c) 2022 and onwards The vChewing Project (MIT-NTL License). // Swiftified by (c) 2022 and onwards The vChewing Project (MIT-NTL License).
// Rebranded from (c) Lukhnos Liu's C++ library "Gramambular" (MIT License). // Rebranded from (c) Lukhnos Liu's C++ library "Gramambular" (MIT License).
/* // ====================
Permission is hereby granted, free of charge, to any person obtaining a copy of // This code is released under the MIT license (SPDX-License-Identifier: MIT)
this software and associated documentation files (the "Software"), to deal in // ... with NTL restriction stating that:
the Software without restriction, including without limitation the rights to // No trademark license is granted to use the trade names, trademarks, service
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of // marks, or product names of Contributor, except as required to fulfill notice
the Software, and to permit persons to whom the Software is furnished to do so, // requirements defined in MIT License.
subject to the following conditions:
1. The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
2. No trademark license is granted to use the trade names, trademarks, service
marks, or product names of Contributor, except as required to fulfill notice
requirements above.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
extension Megrez { extension Megrez {
/// ///

View File

@ -1,27 +1,11 @@
// Swiftified by (c) 2022 and onwards The vChewing Project (MIT-NTL License). // Swiftified by (c) 2022 and onwards The vChewing Project (MIT-NTL License).
// Rebranded from (c) Lukhnos Liu's C++ library "Gramambular" (MIT License). // Rebranded from (c) Lukhnos Liu's C++ library "Gramambular" (MIT License).
/* // ====================
Permission is hereby granted, free of charge, to any person obtaining a copy of // This code is released under the MIT license (SPDX-License-Identifier: MIT)
this software and associated documentation files (the "Software"), to deal in // ... with NTL restriction stating that:
the Software without restriction, including without limitation the rights to // No trademark license is granted to use the trade names, trademarks, service
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of // marks, or product names of Contributor, except as required to fulfill notice
the Software, and to permit persons to whom the Software is furnished to do so, // requirements defined in MIT License.
subject to the following conditions:
1. The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
2. No trademark license is granted to use the trade names, trademarks, service
marks, or product names of Contributor, except as required to fulfill notice
requirements above.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
extension Megrez { extension Megrez {
/// ///

View File

@ -1,27 +1,11 @@
// Swiftified by (c) 2022 and onwards The vChewing Project (MIT-NTL License). // Swiftified by (c) 2022 and onwards The vChewing Project (MIT-NTL License).
// Rebranded from (c) Lukhnos Liu's C++ library "Gramambular" (MIT License). // Rebranded from (c) Lukhnos Liu's C++ library "Gramambular" (MIT License).
/* // ====================
Permission is hereby granted, free of charge, to any person obtaining a copy of // This code is released under the MIT license (SPDX-License-Identifier: MIT)
this software and associated documentation files (the "Software"), to deal in // ... with NTL restriction stating that:
the Software without restriction, including without limitation the rights to // No trademark license is granted to use the trade names, trademarks, service
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of // marks, or product names of Contributor, except as required to fulfill notice
the Software, and to permit persons to whom the Software is furnished to do so, // requirements defined in MIT License.
subject to the following conditions:
1. The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
2. No trademark license is granted to use the trade names, trademarks, service
marks, or product names of Contributor, except as required to fulfill notice
requirements above.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
extension Megrez { extension Megrez {
/// ///

View File

@ -1,27 +1,11 @@
// Swiftified by (c) 2022 and onwards The vChewing Project (MIT-NTL License). // Swiftified by (c) 2022 and onwards The vChewing Project (MIT-NTL License).
// Rebranded from (c) Lukhnos Liu's C++ library "Gramambular" (MIT License). // Rebranded from (c) Lukhnos Liu's C++ library "Gramambular" (MIT License).
/* // ====================
Permission is hereby granted, free of charge, to any person obtaining a copy of // This code is released under the MIT license (SPDX-License-Identifier: MIT)
this software and associated documentation files (the "Software"), to deal in // ... with NTL restriction stating that:
the Software without restriction, including without limitation the rights to // No trademark license is granted to use the trade names, trademarks, service
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of // marks, or product names of Contributor, except as required to fulfill notice
the Software, and to permit persons to whom the Software is furnished to do so, // requirements defined in MIT License.
subject to the following conditions:
1. The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
2. No trademark license is granted to use the trade names, trademarks, service
marks, or product names of Contributor, except as required to fulfill notice
requirements above.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
extension Megrez { extension Megrez {
/// ///

View File

@ -1,27 +1,11 @@
// Swiftified by (c) 2022 and onwards The vChewing Project (MIT-NTL License). // Swiftified by (c) 2022 and onwards The vChewing Project (MIT-NTL License).
// Rebranded from (c) Lukhnos Liu's C++ library "Gramambular" (MIT License). // Rebranded from (c) Lukhnos Liu's C++ library "Gramambular" (MIT License).
/* // ====================
Permission is hereby granted, free of charge, to any person obtaining a copy of // This code is released under the MIT license (SPDX-License-Identifier: MIT)
this software and associated documentation files (the "Software"), to deal in // ... with NTL restriction stating that:
the Software without restriction, including without limitation the rights to // No trademark license is granted to use the trade names, trademarks, service
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of // marks, or product names of Contributor, except as required to fulfill notice
the Software, and to permit persons to whom the Software is furnished to do so, // requirements defined in MIT License.
subject to the following conditions:
1. The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
2. No trademark license is granted to use the trade names, trademarks, service
marks, or product names of Contributor, except as required to fulfill notice
requirements above.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
extension Megrez { extension Megrez {
/// ///

View File

@ -1,27 +1,11 @@
// Swiftified by (c) 2022 and onwards The vChewing Project (MIT-NTL License). // Swiftified by (c) 2022 and onwards The vChewing Project (MIT-NTL License).
// Rebranded from (c) Lukhnos Liu's C++ library "Gramambular" (MIT License). // Rebranded from (c) Lukhnos Liu's C++ library "Gramambular" (MIT License).
/* // ====================
Permission is hereby granted, free of charge, to any person obtaining a copy of // This code is released under the MIT license (SPDX-License-Identifier: MIT)
this software and associated documentation files (the "Software"), to deal in // ... with NTL restriction stating that:
the Software without restriction, including without limitation the rights to // No trademark license is granted to use the trade names, trademarks, service
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of // marks, or product names of Contributor, except as required to fulfill notice
the Software, and to permit persons to whom the Software is furnished to do so, // requirements defined in MIT License.
subject to the following conditions:
1. The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
2. No trademark license is granted to use the trade names, trademarks, service
marks, or product names of Contributor, except as required to fulfill notice
requirements above.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
public protocol LangModelProtocol { public protocol LangModelProtocol {
/// ///

View File

@ -1,27 +1,11 @@
// Swiftified by (c) 2022 and onwards The vChewing Project (MIT-NTL License). // Swiftified by (c) 2022 and onwards The vChewing Project (MIT-NTL License).
// Rebranded from (c) Lukhnos Liu's C++ library "Gramambular" (MIT License). // Rebranded from (c) Lukhnos Liu's C++ library "Gramambular" (MIT License).
/* // ====================
Permission is hereby granted, free of charge, to any person obtaining a copy of // This code is released under the MIT license (SPDX-License-Identifier: MIT)
this software and associated documentation files (the "Software"), to deal in // ... with NTL restriction stating that:
the Software without restriction, including without limitation the rights to // No trademark license is granted to use the trade names, trademarks, service
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of // marks, or product names of Contributor, except as required to fulfill notice
the Software, and to permit persons to whom the Software is furnished to do so, // requirements defined in MIT License.
subject to the following conditions:
1. The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
2. No trademark license is granted to use the trade names, trademarks, service
marks, or product names of Contributor, except as required to fulfill notice
requirements above.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
extension Megrez { extension Megrez {
/// ///

View File

@ -1,27 +1,11 @@
// Swiftified by (c) 2022 and onwards The vChewing Project (MIT-NTL License). // Swiftified by (c) 2022 and onwards The vChewing Project (MIT-NTL License).
// Rebranded from (c) Lukhnos Liu's C++ library "Gramambular" (MIT License). // Rebranded from (c) Lukhnos Liu's C++ library "Gramambular" (MIT License).
/* // ====================
Permission is hereby granted, free of charge, to any person obtaining a copy of // This code is released under the MIT license (SPDX-License-Identifier: MIT)
this software and associated documentation files (the "Software"), to deal in // ... with NTL restriction stating that:
the Software without restriction, including without limitation the rights to // No trademark license is granted to use the trade names, trademarks, service
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of // marks, or product names of Contributor, except as required to fulfill notice
the Software, and to permit persons to whom the Software is furnished to do so, // requirements defined in MIT License.
subject to the following conditions:
1. The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
2. No trademark license is granted to use the trade names, trademarks, service
marks, or product names of Contributor, except as required to fulfill notice
requirements above.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
extension Megrez { extension Megrez {
/// ///

View File

@ -1,27 +1,11 @@
// Swiftified by (c) 2022 and onwards The vChewing Project (MIT-NTL License). // Swiftified by (c) 2022 and onwards The vChewing Project (MIT-NTL License).
// Rebranded from (c) Lukhnos Liu's C++ library "Gramambular" (MIT License). // Rebranded from (c) Lukhnos Liu's C++ library "Gramambular" (MIT License).
/* // ====================
Permission is hereby granted, free of charge, to any person obtaining a copy of // This code is released under the MIT license (SPDX-License-Identifier: MIT)
this software and associated documentation files (the "Software"), to deal in // ... with NTL restriction stating that:
the Software without restriction, including without limitation the rights to // No trademark license is granted to use the trade names, trademarks, service
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of // marks, or product names of Contributor, except as required to fulfill notice
the Software, and to permit persons to whom the Software is furnished to do so, // requirements defined in MIT License.
subject to the following conditions:
1. The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
2. No trademark license is granted to use the trade names, trademarks, service
marks, or product names of Contributor, except as required to fulfill notice
requirements above.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
extension Megrez { extension Megrez {
/// ///

View File

@ -1,26 +1,10 @@
// Copyright (c) 2021 and onwards The vChewing Project (MIT-NTL License). // Copyright (c) 2021 and onwards The vChewing Project (MIT-NTL License).
/* // ====================
Permission is hereby granted, free of charge, to any person obtaining a copy of // This code is released under the MIT license (SPDX-License-Identifier: MIT)
this software and associated documentation files (the "Software"), to deal in // ... with NTL restriction stating that:
the Software without restriction, including without limitation the rights to // No trademark license is granted to use the trade names, trademarks, service
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of // marks, or product names of Contributor, except as required to fulfill notice
the Software, and to permit persons to whom the Software is furnished to do so, // requirements defined in MIT License.
subject to the following conditions:
1. The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
2. No trademark license is granted to use the trade names, trademarks, service
marks, or product names of Contributor, except as required to fulfill notice
requirements above.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
import AVFoundation import AVFoundation
import Foundation import Foundation

View File

@ -1,28 +1,12 @@
// Copyright (c) 2011 and onwards The OpenVanilla Project (MIT License). // Copyright (c) 2011 and onwards The OpenVanilla Project (MIT License).
// All possible vChewing-specific modifications are of: // All possible vChewing-specific modifications are of:
// (c) 2021 and onwards The vChewing Project (MIT-NTL License). // (c) 2021 and onwards The vChewing Project (MIT-NTL License).
/* // ====================
Permission is hereby granted, free of charge, to any person obtaining a copy of // This code is released under the MIT license (SPDX-License-Identifier: MIT)
this software and associated documentation files (the "Software"), to deal in // ... with NTL restriction stating that:
the Software without restriction, including without limitation the rights to // No trademark license is granted to use the trade names, trademarks, service
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of // marks, or product names of Contributor, except as required to fulfill notice
the Software, and to permit persons to whom the Software is furnished to do so, // requirements defined in MIT License.
subject to the following conditions:
1. The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
2. No trademark license is granted to use the trade names, trademarks, service
marks, or product names of Contributor, except as required to fulfill notice
requirements above.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
import Cocoa import Cocoa
import InputMethodKit import InputMethodKit

View File

@ -1,28 +1,12 @@
// Copyright (c) 2011 and onwards The OpenVanilla Project (MIT License). // Copyright (c) 2011 and onwards The OpenVanilla Project (MIT License).
// All possible vChewing-specific modifications are of: // All possible vChewing-specific modifications are of:
// (c) 2021 and onwards The vChewing Project (MIT-NTL License). // (c) 2021 and onwards The vChewing Project (MIT-NTL License).
/* // ====================
Permission is hereby granted, free of charge, to any person obtaining a copy of // This code is released under the MIT license (SPDX-License-Identifier: MIT)
this software and associated documentation files (the "Software"), to deal in // ... with NTL restriction stating that:
the Software without restriction, including without limitation the rights to // No trademark license is granted to use the trade names, trademarks, service
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of // marks, or product names of Contributor, except as required to fulfill notice
the Software, and to permit persons to whom the Software is furnished to do so, // requirements defined in MIT License.
subject to the following conditions:
1. The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
2. No trademark license is granted to use the trade names, trademarks, service
marks, or product names of Contributor, except as required to fulfill notice
requirements above.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
import Cocoa import Cocoa

View File

@ -1,26 +1,10 @@
// Copyright (c) 2021 and onwards The vChewing Project (MIT-NTL License). // Copyright (c) 2021 and onwards The vChewing Project (MIT-NTL License).
/* // ====================
Permission is hereby granted, free of charge, to any person obtaining a copy of // This code is released under the MIT license (SPDX-License-Identifier: MIT)
this software and associated documentation files (the "Software"), to deal in // ... with NTL restriction stating that:
the Software without restriction, including without limitation the rights to // No trademark license is granted to use the trade names, trademarks, service
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of // marks, or product names of Contributor, except as required to fulfill notice
the Software, and to permit persons to whom the Software is furnished to do so, // requirements defined in MIT License.
subject to the following conditions:
1. The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
2. No trademark license is granted to use the trade names, trademarks, service
marks, or product names of Contributor, except as required to fulfill notice
requirements above.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
import Foundation import Foundation
import InputMethodKit import InputMethodKit

View File

@ -1,28 +1,12 @@
// Copyright (c) 2011 and onwards The OpenVanilla Project (MIT License). // Copyright (c) 2011 and onwards The OpenVanilla Project (MIT License).
// All possible vChewing-specific modifications are of: // All possible vChewing-specific modifications are of:
// (c) 2021 and onwards The vChewing Project (MIT-NTL License). // (c) 2021 and onwards The vChewing Project (MIT-NTL License).
/* // ====================
Permission is hereby granted, free of charge, to any person obtaining a copy of // This code is released under the MIT license (SPDX-License-Identifier: MIT)
this software and associated documentation files (the "Software"), to deal in // ... with NTL restriction stating that:
the Software without restriction, including without limitation the rights to // No trademark license is granted to use the trade names, trademarks, service
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of // marks, or product names of Contributor, except as required to fulfill notice
the Software, and to permit persons to whom the Software is furnished to do so, // requirements defined in MIT License.
subject to the following conditions:
1. The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
2. No trademark license is granted to use the trade names, trademarks, service
marks, or product names of Contributor, except as required to fulfill notice
requirements above.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
import Cocoa import Cocoa

View File

@ -1,28 +1,12 @@
// Copyright (c) 2021 and onwards Weizhong Yang (MIT License). // Copyright (c) 2021 and onwards Weizhong Yang (MIT License).
// All possible vChewing-specific modifications are of: // All possible vChewing-specific modifications are of:
// (c) 2021 and onwards The vChewing Project (MIT-NTL License). // (c) 2021 and onwards The vChewing Project (MIT-NTL License).
/* // ====================
Permission is hereby granted, free of charge, to any person obtaining a copy of // This code is released under the MIT license (SPDX-License-Identifier: MIT)
this software and associated documentation files (the "Software"), to deal in // ... with NTL restriction stating that:
the Software without restriction, including without limitation the rights to // No trademark license is granted to use the trade names, trademarks, service
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of // marks, or product names of Contributor, except as required to fulfill notice
the Software, and to permit persons to whom the Software is furnished to do so, // requirements defined in MIT License.
subject to the following conditions:
1. The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
2. No trademark license is granted to use the trade names, trademarks, service
marks, or product names of Contributor, except as required to fulfill notice
requirements above.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
import Cocoa import Cocoa

View File

@ -1,26 +1,10 @@
// Copyright (c) 2021 and onwards The vChewing Project (MIT-NTL License). // Copyright (c) 2021 and onwards The vChewing Project (MIT-NTL License).
/* // ====================
Permission is hereby granted, free of charge, to any person obtaining a copy of // This code is released under the MIT license (SPDX-License-Identifier: MIT)
this software and associated documentation files (the "Software"), to deal in // ... with NTL restriction stating that:
the Software without restriction, including without limitation the rights to // No trademark license is granted to use the trade names, trademarks, service
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of // marks, or product names of Contributor, except as required to fulfill notice
the Software, and to permit persons to whom the Software is furnished to do so, // requirements defined in MIT License.
subject to the following conditions:
1. The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
2. No trademark license is granted to use the trade names, trademarks, service
marks, or product names of Contributor, except as required to fulfill notice
requirements above.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
import Cocoa import Cocoa

View File

@ -1,26 +1,10 @@
// Copyright (c) 2021 and onwards The vChewing Project (MIT-NTL License). // Copyright (c) 2021 and onwards The vChewing Project (MIT-NTL License).
/* // ====================
Permission is hereby granted, free of charge, to any person obtaining a copy of // This code is released under the MIT license (SPDX-License-Identifier: MIT)
this software and associated documentation files (the "Software"), to deal in // ... with NTL restriction stating that:
the Software without restriction, including without limitation the rights to // No trademark license is granted to use the trade names, trademarks, service
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of // marks, or product names of Contributor, except as required to fulfill notice
the Software, and to permit persons to whom the Software is furnished to do so, // requirements defined in MIT License.
subject to the following conditions:
1. The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
2. No trademark license is granted to use the trade names, trademarks, service
marks, or product names of Contributor, except as required to fulfill notice
requirements above.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
import SwiftUI import SwiftUI

View File

@ -1,26 +1,10 @@
// Copyright (c) 2021 and onwards The vChewing Project (MIT-NTL License). // Copyright (c) 2021 and onwards The vChewing Project (MIT-NTL License).
/* // ====================
Permission is hereby granted, free of charge, to any person obtaining a copy of // This code is released under the MIT license (SPDX-License-Identifier: MIT)
this software and associated documentation files (the "Software"), to deal in // ... with NTL restriction stating that:
the Software without restriction, including without limitation the rights to // No trademark license is granted to use the trade names, trademarks, service
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of // marks, or product names of Contributor, except as required to fulfill notice
the Software, and to permit persons to whom the Software is furnished to do so, // requirements defined in MIT License.
subject to the following conditions:
1. The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
2. No trademark license is granted to use the trade names, trademarks, service
marks, or product names of Contributor, except as required to fulfill notice
requirements above.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
import Cocoa import Cocoa
import SwiftUI import SwiftUI

View File

@ -1,26 +1,10 @@
// Copyright (c) 2021 and onwards The vChewing Project (MIT-NTL License). // Copyright (c) 2021 and onwards The vChewing Project (MIT-NTL License).
/* // ====================
Permission is hereby granted, free of charge, to any person obtaining a copy of // This code is released under the MIT license (SPDX-License-Identifier: MIT)
this software and associated documentation files (the "Software"), to deal in // ... with NTL restriction stating that:
the Software without restriction, including without limitation the rights to // No trademark license is granted to use the trade names, trademarks, service
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of // marks, or product names of Contributor, except as required to fulfill notice
the Software, and to permit persons to whom the Software is furnished to do so, // requirements defined in MIT License.
subject to the following conditions:
1. The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
2. No trademark license is granted to use the trade names, trademarks, service
marks, or product names of Contributor, except as required to fulfill notice
requirements above.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
import Cocoa import Cocoa
import SwiftUI import SwiftUI

View File

@ -1,26 +1,10 @@
// Copyright (c) 2021 and onwards The vChewing Project (MIT-NTL License). // Copyright (c) 2021 and onwards The vChewing Project (MIT-NTL License).
/* // ====================
Permission is hereby granted, free of charge, to any person obtaining a copy of // This code is released under the MIT license (SPDX-License-Identifier: MIT)
this software and associated documentation files (the "Software"), to deal in // ... with NTL restriction stating that:
the Software without restriction, including without limitation the rights to // No trademark license is granted to use the trade names, trademarks, service
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of // marks, or product names of Contributor, except as required to fulfill notice
the Software, and to permit persons to whom the Software is furnished to do so, // requirements defined in MIT License.
subject to the following conditions:
1. The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
2. No trademark license is granted to use the trade names, trademarks, service
marks, or product names of Contributor, except as required to fulfill notice
requirements above.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
import SwiftUI import SwiftUI

View File

@ -1,28 +1,12 @@
// Copyright (c) 2021 and onwards Weizhong Yang (MIT License). // Copyright (c) 2021 and onwards Weizhong Yang (MIT License).
// All possible vChewing-specific modifications are of: // All possible vChewing-specific modifications are of:
// (c) 2021 and onwards The vChewing Project (MIT-NTL License). // (c) 2021 and onwards The vChewing Project (MIT-NTL License).
/* // ====================
Permission is hereby granted, free of charge, to any person obtaining a copy of // This code is released under the MIT license (SPDX-License-Identifier: MIT)
this software and associated documentation files (the "Software"), to deal in // ... with NTL restriction stating that:
the Software without restriction, including without limitation the rights to // No trademark license is granted to use the trade names, trademarks, service
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of // marks, or product names of Contributor, except as required to fulfill notice
the Software, and to permit persons to whom the Software is furnished to do so, // requirements defined in MIT License.
subject to the following conditions:
1. The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
2. No trademark license is granted to use the trade names, trademarks, service
marks, or product names of Contributor, except as required to fulfill notice
requirements above.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
import Cocoa import Cocoa

View File

@ -1,28 +1,12 @@
// Copyright (c) 2011 and onwards The OpenVanilla Project (MIT License). // Copyright (c) 2011 and onwards The OpenVanilla Project (MIT License).
// All possible vChewing-specific modifications are of: // All possible vChewing-specific modifications are of:
// (c) 2021 and onwards The vChewing Project (MIT-NTL License). // (c) 2021 and onwards The vChewing Project (MIT-NTL License).
/* // ====================
Permission is hereby granted, free of charge, to any person obtaining a copy of // This code is released under the MIT license (SPDX-License-Identifier: MIT)
this software and associated documentation files (the "Software"), to deal in // ... with NTL restriction stating that:
the Software without restriction, including without limitation the rights to // No trademark license is granted to use the trade names, trademarks, service
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of // marks, or product names of Contributor, except as required to fulfill notice
the Software, and to permit persons to whom the Software is furnished to do so, // requirements defined in MIT License.
subject to the following conditions:
1. The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
2. No trademark license is granted to use the trade names, trademarks, service
marks, or product names of Contributor, except as required to fulfill notice
requirements above.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
import Cocoa import Cocoa

View File

@ -1,28 +1,12 @@
// Copyright (c) 2011 and onwards The OpenVanilla Project (MIT License). // Copyright (c) 2011 and onwards The OpenVanilla Project (MIT License).
// All possible vChewing-specific modifications are of: // All possible vChewing-specific modifications are of:
// (c) 2021 and onwards The vChewing Project (MIT-NTL License). // (c) 2021 and onwards The vChewing Project (MIT-NTL License).
/* // ====================
Permission is hereby granted, free of charge, to any person obtaining a copy of // This code is released under the MIT license (SPDX-License-Identifier: MIT)
this software and associated documentation files (the "Software"), to deal in // ... with NTL restriction stating that:
the Software without restriction, including without limitation the rights to // No trademark license is granted to use the trade names, trademarks, service
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of // marks, or product names of Contributor, except as required to fulfill notice
the Software, and to permit persons to whom the Software is furnished to do so, // requirements defined in MIT License.
subject to the following conditions:
1. The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
2. No trademark license is granted to use the trade names, trademarks, service
marks, or product names of Contributor, except as required to fulfill notice
requirements above.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
import Cocoa import Cocoa

View File

@ -1,28 +1,12 @@
// Copyright (c) 2011 and onwards The OpenVanilla Project (MIT License). // Copyright (c) 2011 and onwards The OpenVanilla Project (MIT License).
// All possible vChewing-specific modifications are of: // All possible vChewing-specific modifications are of:
// (c) 2021 and onwards The vChewing Project (MIT-NTL License). // (c) 2021 and onwards The vChewing Project (MIT-NTL License).
/* // ====================
Permission is hereby granted, free of charge, to any person obtaining a copy of // This code is released under the MIT license (SPDX-License-Identifier: MIT)
this software and associated documentation files (the "Software"), to deal in // ... with NTL restriction stating that:
the Software without restriction, including without limitation the rights to // No trademark license is granted to use the trade names, trademarks, service
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of // marks, or product names of Contributor, except as required to fulfill notice
the Software, and to permit persons to whom the Software is furnished to do so, // requirements defined in MIT License.
subject to the following conditions:
1. The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
2. No trademark license is granted to use the trade names, trademarks, service
marks, or product names of Contributor, except as required to fulfill notice
requirements above.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
import Carbon import Carbon
import Cocoa import Cocoa

View File

@ -1,26 +1,10 @@
// Copyright (c) 2021 and onwards The vChewing Project (MIT-NTL License). // Copyright (c) 2021 and onwards The vChewing Project (MIT-NTL License).
/* // ====================
Permission is hereby granted, free of charge, to any person obtaining a copy of // This code is released under the MIT license (SPDX-License-Identifier: MIT)
this software and associated documentation files (the "Software"), to deal in // ... with NTL restriction stating that:
the Software without restriction, including without limitation the rights to // No trademark license is granted to use the trade names, trademarks, service
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of // marks, or product names of Contributor, except as required to fulfill notice
the Software, and to permit persons to whom the Software is furnished to do so, // requirements defined in MIT License.
subject to the following conditions:
1. The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
2. No trademark license is granted to use the trade names, trademarks, service
marks, or product names of Contributor, except as required to fulfill notice
requirements above.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
import Cocoa import Cocoa

View File

@ -1,26 +1,10 @@
// Copyright (c) 2021 and onwards The vChewing Project (MIT-NTL License). // Copyright (c) 2021 and onwards The vChewing Project (MIT-NTL License).
/* // ====================
Permission is hereby granted, free of charge, to any person obtaining a copy of // This code is released under the MIT license (SPDX-License-Identifier: MIT)
this software and associated documentation files (the "Software"), to deal in // ... with NTL restriction stating that:
the Software without restriction, including without limitation the rights to // No trademark license is granted to use the trade names, trademarks, service
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of // marks, or product names of Contributor, except as required to fulfill notice
the Software, and to permit persons to whom the Software is furnished to do so, // requirements defined in MIT License.
subject to the following conditions:
1. The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
2. No trademark license is granted to use the trade names, trademarks, service
marks, or product names of Contributor, except as required to fulfill notice
requirements above.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
import Cocoa import Cocoa
import Foundation import Foundation

View File

@ -1,26 +1,10 @@
// Copyright (c) 2021 and onwards The vChewing Project (MIT-NTL License). // Copyright (c) 2021 and onwards The vChewing Project (MIT-NTL License).
/* // ====================
Permission is hereby granted, free of charge, to any person obtaining a copy of // This code is released under the MIT license (SPDX-License-Identifier: MIT)
this software and associated documentation files (the "Software"), to deal in // ... with NTL restriction stating that:
the Software without restriction, including without limitation the rights to // No trademark license is granted to use the trade names, trademarks, service
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of // marks, or product names of Contributor, except as required to fulfill notice
the Software, and to permit persons to whom the Software is furnished to do so, // requirements defined in MIT License.
subject to the following conditions:
1. The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
2. No trademark license is granted to use the trade names, trademarks, service
marks, or product names of Contributor, except as required to fulfill notice
requirements above.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
import Cocoa import Cocoa

View File

@ -1,26 +1,10 @@
// Copyright (c) 2021 and onwards The vChewing Project (MIT-NTL License). // Copyright (c) 2021 and onwards The vChewing Project (MIT-NTL License).
/* // ====================
Permission is hereby granted, free of charge, to any person obtaining a copy of // This code is released under the MIT license (SPDX-License-Identifier: MIT)
this software and associated documentation files (the "Software"), to deal in // ... with NTL restriction stating that:
the Software without restriction, including without limitation the rights to // No trademark license is granted to use the trade names, trademarks, service
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of // marks, or product names of Contributor, except as required to fulfill notice
the Software, and to permit persons to whom the Software is furnished to do so, // requirements defined in MIT License.
subject to the following conditions:
1. The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
2. No trademark license is granted to use the trade names, trademarks, service
marks, or product names of Contributor, except as required to fulfill notice
requirements above.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
import Foundation import Foundation

View File

@ -1,26 +1,10 @@
// Copyright (c) 2021 and onwards The vChewing Project (MIT-NTL License). // Copyright (c) 2021 and onwards The vChewing Project (MIT-NTL License).
/* // ====================
Permission is hereby granted, free of charge, to any person obtaining a copy of // This code is released under the MIT license (SPDX-License-Identifier: MIT)
this software and associated documentation files (the "Software"), to deal in // ... with NTL restriction stating that:
the Software without restriction, including without limitation the rights to // No trademark license is granted to use the trade names, trademarks, service
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of // marks, or product names of Contributor, except as required to fulfill notice
the Software, and to permit persons to whom the Software is furnished to do so, // requirements defined in MIT License.
subject to the following conditions:
1. The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
2. No trademark license is granted to use the trade names, trademarks, service
marks, or product names of Contributor, except as required to fulfill notice
requirements above.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
import Cocoa import Cocoa

View File

@ -1,26 +1,10 @@
// Copyright (c) 2021 and onwards The vChewing Project (MIT-NTL License). // Copyright (c) 2021 and onwards The vChewing Project (MIT-NTL License).
/* // ====================
Permission is hereby granted, free of charge, to any person obtaining a copy of // This code is released under the MIT license (SPDX-License-Identifier: MIT)
this software and associated documentation files (the "Software"), to deal in // ... with NTL restriction stating that:
the Software without restriction, including without limitation the rights to // No trademark license is granted to use the trade names, trademarks, service
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of // marks, or product names of Contributor, except as required to fulfill notice
the Software, and to permit persons to whom the Software is furnished to do so, // requirements defined in MIT License.
subject to the following conditions:
1. The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
2. No trademark license is granted to use the trade names, trademarks, service
marks, or product names of Contributor, except as required to fulfill notice
requirements above.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
import Cocoa import Cocoa

View File

@ -1,28 +1,12 @@
// Copyright (c) 2011 and onwards The OpenVanilla Project (MIT License). // Copyright (c) 2011 and onwards The OpenVanilla Project (MIT License).
// All possible vChewing-specific modifications are of: // All possible vChewing-specific modifications are of:
// (c) 2021 and onwards The vChewing Project (MIT-NTL License). // (c) 2021 and onwards The vChewing Project (MIT-NTL License).
/* // ====================
Permission is hereby granted, free of charge, to any person obtaining a copy of // This code is released under the MIT license (SPDX-License-Identifier: MIT)
this software and associated documentation files (the "Software"), to deal in // ... with NTL restriction stating that:
the Software without restriction, including without limitation the rights to // No trademark license is granted to use the trade names, trademarks, service
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of // marks, or product names of Contributor, except as required to fulfill notice
the Software, and to permit persons to whom the Software is furnished to do so, // requirements defined in MIT License.
subject to the following conditions:
1. The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
2. No trademark license is granted to use the trade names, trademarks, service
marks, or product names of Contributor, except as required to fulfill notice
requirements above.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
import Cocoa import Cocoa

View File

@ -1,28 +1,12 @@
// Copyright (c) 2021 and onwards Zonble Yang (MIT-NTL License). // Copyright (c) 2021 and onwards Zonble Yang (MIT-NTL License).
// All possible vChewing-specific modifications are of: // All possible vChewing-specific modifications are of:
// (c) 2021 and onwards The vChewing Project (MIT-NTL License). // (c) 2021 and onwards The vChewing Project (MIT-NTL License).
/* // ====================
Permission is hereby granted, free of charge, to any person obtaining a copy of // This code is released under the MIT license (SPDX-License-Identifier: MIT)
this software and associated documentation files (the "Software"), to deal in // ... with NTL restriction stating that:
the Software without restriction, including without limitation the rights to // No trademark license is granted to use the trade names, trademarks, service
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of // marks, or product names of Contributor, except as required to fulfill notice
the Software, and to permit persons to whom the Software is furnished to do so, // requirements defined in MIT License.
subject to the following conditions:
1. The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
2. No trademark license is granted to use the trade names, trademarks, service
marks, or product names of Contributor, except as required to fulfill notice
requirements above.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
import XCTest import XCTest

View File

@ -1,28 +1,12 @@
// Copyright (c) 2021 and onwards Zonble Yang (MIT-NTL License). // Copyright (c) 2021 and onwards Zonble Yang (MIT-NTL License).
// All possible vChewing-specific modifications are of: // All possible vChewing-specific modifications are of:
// (c) 2021 and onwards The vChewing Project (MIT-NTL License). // (c) 2021 and onwards The vChewing Project (MIT-NTL License).
/* // ====================
Permission is hereby granted, free of charge, to any person obtaining a copy of // This code is released under the MIT license (SPDX-License-Identifier: MIT)
this software and associated documentation files (the "Software"), to deal in // ... with NTL restriction stating that:
the Software without restriction, including without limitation the rights to // No trademark license is granted to use the trade names, trademarks, service
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of // marks, or product names of Contributor, except as required to fulfill notice
the Software, and to permit persons to whom the Software is furnished to do so, // requirements defined in MIT License.
subject to the following conditions:
1. The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
2. No trademark license is granted to use the trade names, trademarks, service
marks, or product names of Contributor, except as required to fulfill notice
requirements above.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
import XCTest import XCTest

View File

@ -1,28 +1,12 @@
// Copyright (c) 2021 and onwards Zonble Yang (MIT-NTL License). // Copyright (c) 2021 and onwards Zonble Yang (MIT-NTL License).
// All possible vChewing-specific modifications are of: // All possible vChewing-specific modifications are of:
// (c) 2021 and onwards The vChewing Project (MIT-NTL License). // (c) 2021 and onwards The vChewing Project (MIT-NTL License).
/* // ====================
Permission is hereby granted, free of charge, to any person obtaining a copy of // This code is released under the MIT license (SPDX-License-Identifier: MIT)
this software and associated documentation files (the "Software"), to deal in // ... with NTL restriction stating that:
the Software without restriction, including without limitation the rights to // No trademark license is granted to use the trade names, trademarks, service
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of // marks, or product names of Contributor, except as required to fulfill notice
the Software, and to permit persons to whom the Software is furnished to do so, // requirements defined in MIT License.
subject to the following conditions:
1. The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
2. No trademark license is granted to use the trade names, trademarks, service
marks, or product names of Contributor, except as required to fulfill notice
requirements above.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
import XCTest import XCTest

View File

@ -1,28 +1,12 @@
// Copyright (c) 2021 and onwards Zonble Yang (MIT-NTL License). // Copyright (c) 2021 and onwards Zonble Yang (MIT-NTL License).
// All possible vChewing-specific modifications are of: // All possible vChewing-specific modifications are of:
// (c) 2021 and onwards The vChewing Project (MIT-NTL License). // (c) 2021 and onwards The vChewing Project (MIT-NTL License).
/* // ====================
Permission is hereby granted, free of charge, to any person obtaining a copy of // This code is released under the MIT license (SPDX-License-Identifier: MIT)
this software and associated documentation files (the "Software"), to deal in // ... with NTL restriction stating that:
the Software without restriction, including without limitation the rights to // No trademark license is granted to use the trade names, trademarks, service
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of // marks, or product names of Contributor, except as required to fulfill notice
the Software, and to permit persons to whom the Software is furnished to do so, // requirements defined in MIT License.
subject to the following conditions:
1. The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
2. No trademark license is granted to use the trade names, trademarks, service
marks, or product names of Contributor, except as required to fulfill notice
requirements above.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
import XCTest import XCTest