minor improvements
This commit is contained in:
parent
a0b834a505
commit
0dc0267dbd
12 changed files with 327 additions and 108 deletions
|
|
@ -142,9 +142,9 @@
|
||||||
85AAA0D427FA2DD600F4B9A1 /* Splits */ = {
|
85AAA0D427FA2DD600F4B9A1 /* Splits */ = {
|
||||||
isa = PBXGroup;
|
isa = PBXGroup;
|
||||||
children = (
|
children = (
|
||||||
|
859298C828592F1F00D9D6CB /* Documentation.docc */,
|
||||||
6AB17201286EB414005DED42 /* Splits.entitlements */,
|
6AB17201286EB414005DED42 /* Splits.entitlements */,
|
||||||
85AAA0D527FA2DD600F4B9A1 /* SplitsApp.swift */,
|
85AAA0D527FA2DD600F4B9A1 /* SplitsApp.swift */,
|
||||||
859298C828592F1F00D9D6CB /* Documentation.docc */,
|
|
||||||
6A5CEC51287691BE003D876C /* ChangeLogView.swift */,
|
6A5CEC51287691BE003D876C /* ChangeLogView.swift */,
|
||||||
8502250D27FA5D0800FE8E95 /* ChangeLogData.swift */,
|
8502250D27FA5D0800FE8E95 /* ChangeLogData.swift */,
|
||||||
85AAA0D727FA2DD600F4B9A1 /* ContentView.swift */,
|
85AAA0D727FA2DD600F4B9A1 /* ContentView.swift */,
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
// ChangeLogData.swift
|
// ChangeLogData.swift
|
||||||
// Splits
|
// Splits
|
||||||
//
|
//
|
||||||
// Created by Isaac Greene on 4/3/22.
|
// Created by Isaac Greene on 2022-04-03.
|
||||||
//
|
//
|
||||||
|
|
||||||
import SwiftUI
|
import SwiftUI
|
||||||
|
|
@ -10,6 +10,19 @@ import SwiftUI
|
||||||
struct July2022: View {
|
struct July2022: View {
|
||||||
var body: some View {
|
var body: some View {
|
||||||
ScrollView {
|
ScrollView {
|
||||||
|
//2022-07-19
|
||||||
|
HStack {
|
||||||
|
VStack (alignment: .leading) {
|
||||||
|
Text("2022-07-19")
|
||||||
|
.font(.title2)
|
||||||
|
Text("Version 1.0.0\n")
|
||||||
|
.font(.footnote)
|
||||||
|
Text("\u{2022} Added required software licenses for the libraries I use, and changed the app's license from proprietary to 4-clause BSD")
|
||||||
|
}
|
||||||
|
Spacer()
|
||||||
|
}
|
||||||
|
.padding(30)
|
||||||
|
|
||||||
//2022-07-06
|
//2022-07-06
|
||||||
HStack {
|
HStack {
|
||||||
VStack (alignment: .leading) {
|
VStack (alignment: .leading) {
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
// ChangeLogView.swift
|
// ChangeLogView.swift
|
||||||
// Splits
|
// Splits
|
||||||
//
|
//
|
||||||
// Created by Isaac Greene on 4/3/22.
|
// Created by Isaac Greene on 2022-04-03.
|
||||||
//
|
//
|
||||||
|
|
||||||
import SwiftUI
|
import SwiftUI
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
// ContentView.swift
|
// ContentView.swift
|
||||||
// Splits
|
// Splits
|
||||||
//
|
//
|
||||||
// Created by Isaac Greene on 4/3/22.
|
// Created by Isaac Greene on 2022-04-03.
|
||||||
//
|
//
|
||||||
|
|
||||||
import SwiftUI
|
import SwiftUI
|
||||||
|
|
@ -10,7 +10,7 @@ import Foundation
|
||||||
|
|
||||||
/// Creates the primary tab of ``SplitsApp``
|
/// Creates the primary tab of ``SplitsApp``
|
||||||
///
|
///
|
||||||
/// e
|
/// This view holds
|
||||||
struct ContentView: View {
|
struct ContentView: View {
|
||||||
enum Field {
|
enum Field {
|
||||||
case distance
|
case distance
|
||||||
|
|
|
||||||
|
|
@ -2,38 +2,40 @@
|
||||||
// DocsView.swift
|
// DocsView.swift
|
||||||
// Splits
|
// Splits
|
||||||
//
|
//
|
||||||
// Created by Isaac Greene on 6/3/22.
|
// Created by Isaac Greene on 2022-06-03.
|
||||||
//
|
//
|
||||||
|
|
||||||
import SwiftUI
|
import SwiftUI
|
||||||
import LocalAuthentication
|
import LocalAuthentication
|
||||||
import CryptoKit
|
import CryptoKit
|
||||||
|
|
||||||
/// The system username SHA256 hash for the app
|
/// The system username SHA512 hash for the app
|
||||||
/// - Note: This is not a secure way to do it
|
|
||||||
/// or in any way good practice
|
|
||||||
/// but this is mainly to test out `SecureField`
|
|
||||||
let username = "c7ad44cbad762a5da0a452f9e854fdc1e0e7a52a38015f23f3eab1d80b931dd472634dfac71cd34ebc35d16ab7fb8a90c81f975113d6c7538dc69dd8de9077ec".utf8
|
let username = "c7ad44cbad762a5da0a452f9e854fdc1e0e7a52a38015f23f3eab1d80b931dd472634dfac71cd34ebc35d16ab7fb8a90c81f975113d6c7538dc69dd8de9077ec".utf8
|
||||||
|
|
||||||
/// The system password associated with ``username``
|
/// The system password SHA512 hash associated with ``username``
|
||||||
///
|
|
||||||
/// I'm thinking about hashing them, but that would take work.
|
|
||||||
///
|
|
||||||
/// It would be more secure though.
|
|
||||||
/// - Note: Just as with `username` you should not define
|
|
||||||
/// these unencrypted like they are right now.
|
|
||||||
let password = "3c9909afec25354d551dae21590bb26e38d53f2173b8d3dc3eee4c047e7ab1c1eb8b85103e3be7ba613b31bb5c9c36214dc9f14a42fd7a2fdb84856bca5c44c2".utf8
|
let password = "3c9909afec25354d551dae21590bb26e38d53f2173b8d3dc3eee4c047e7ab1c1eb8b85103e3be7ba613b31bb5c9c36214dc9f14a42fd7a2fdb84856bca5c44c2".utf8
|
||||||
|
|
||||||
/// Holds the views and login for the Docs tab in-app
|
/// Holds the views and login for the Docs
|
||||||
///
|
///
|
||||||
/// Mostly just a long list of sections and calling views
|
/// Mostly just a long list of sections and calling views
|
||||||
/// - Note: New views are best called in this `struct`
|
/// - Note: New views are best called in this `struct`
|
||||||
|
/// and added to their respective categories
|
||||||
struct DocsView: View {
|
struct DocsView: View {
|
||||||
enum Field: Hashable {
|
enum Field: Hashable {
|
||||||
case username
|
case username
|
||||||
case password
|
case password
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// Makes a SHA512 hash of any `String` passed as input
|
||||||
|
///
|
||||||
|
/// Specifically, this function is suited towards checking if
|
||||||
|
/// the username and password provided by the user
|
||||||
|
/// match the hashes of the correct ``username`` and ``password``
|
||||||
|
///
|
||||||
|
/// - Note: The results of this hash are not seen by the user, so they shouldn't even know
|
||||||
|
/// this is taking place
|
||||||
|
///
|
||||||
|
/// - Returns: A `String` of the computed SHA512 hash
|
||||||
func hashSHA512(login: String) -> String {
|
func hashSHA512(login: String) -> String {
|
||||||
let loginAsData = Data(login.utf8)
|
let loginAsData = Data(login.utf8)
|
||||||
let loginHashHex = SHA512.hash(data: loginAsData)
|
let loginHashHex = SHA512.hash(data: loginAsData)
|
||||||
|
|
@ -51,6 +53,7 @@ struct DocsView: View {
|
||||||
List {
|
List {
|
||||||
NavigationLink("Help", destination: HelpView())
|
NavigationLink("Help", destination: HelpView())
|
||||||
NavigationLink("Change Log", destination: ChangeLog())
|
NavigationLink("Change Log", destination: ChangeLog())
|
||||||
|
NavigationLink("Software Licenses", destination: LicenseView())
|
||||||
|
|
||||||
Section(header: Text("Features")) {
|
Section(header: Text("Features")) {
|
||||||
NavigationLink("New", destination: NewFeatures())
|
NavigationLink("New", destination: NewFeatures())
|
||||||
|
|
@ -64,9 +67,8 @@ struct DocsView: View {
|
||||||
NavigationLink("Low Priority", destination: LowPriority())
|
NavigationLink("Low Priority", destination: LowPriority())
|
||||||
}
|
}
|
||||||
Section(header: Text("App Information")) {
|
Section(header: Text("App Information")) {
|
||||||
NavigationLink("Software License", destination: LicenseView())
|
Text("Version: 1.0.0")
|
||||||
Text("Version: Prerelease Build LVSXT10a.4")
|
Text("Release date: 2022-07-19")
|
||||||
Text("Release date: 2022-07-06")
|
|
||||||
Text("Start date: 2022-03-25")
|
Text("Start date: 2022-03-25")
|
||||||
Link("Built with SwiftUI \(Image(systemName: "swift"))", destination: URL(string: "https://developer.apple.com/xcode/swiftui")!)
|
Link("Built with SwiftUI \(Image(systemName: "swift"))", destination: URL(string: "https://developer.apple.com/xcode/swiftui")!)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
// FeaturesView.swift
|
// FeaturesView.swift
|
||||||
// Splits
|
// Splits
|
||||||
//
|
//
|
||||||
// Created by Isaac Greene on 6/3/22.
|
// Created by Isaac Greene on 2022-06-03.
|
||||||
//
|
//
|
||||||
|
|
||||||
import SwiftUI
|
import SwiftUI
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
// ModalView.swift
|
// ModalView.swift
|
||||||
// Splits
|
// Splits
|
||||||
//
|
//
|
||||||
// Created by Isaac Greene on 4/3/22.
|
// Created by Isaac Greene on 2022-04-03.
|
||||||
//
|
//
|
||||||
|
|
||||||
import SwiftUI
|
import SwiftUI
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
// KnownIssues.swift
|
// KnownIssues.swift
|
||||||
// Splits
|
// Splits
|
||||||
//
|
//
|
||||||
// Created by Isaac Greene on 6/3/22.
|
// Created by Isaac Greene on 2022-06-03.
|
||||||
//
|
//
|
||||||
|
|
||||||
import SwiftUI
|
import SwiftUI
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
// LicenseView.swift
|
// LicenseView.swift
|
||||||
// Splits
|
// Splits
|
||||||
//
|
//
|
||||||
// Created by Isaac Greene on 6/9/22.
|
// Created by Isaac Greene on 2022-06-08.
|
||||||
//
|
//
|
||||||
|
|
||||||
import SwiftUI
|
import SwiftUI
|
||||||
|
|
@ -22,86 +22,295 @@ struct LicenseView: View {
|
||||||
ScrollView {
|
ScrollView {
|
||||||
VStack (alignment: .leading) {
|
VStack (alignment: .leading) {
|
||||||
Text("""
|
Text("""
|
||||||
--------------------------------------------------------------------
|
Copyright © 2022, Isaac Greene
|
||||||
| THIS WORK, AND ALL SUBSEQUENT RELEASES, VERSIONS, MODIFICATIONS, |
|
All rights reserved.
|
||||||
| AND UPDATES ARE COPYRIGHT © ISAAC GREENE, AND MAY BE RELEASED |
|
|
||||||
| UNDER THIS LICENSE. |
|
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
|
||||||
| |
|
|
||||||
| COPIES OF THIS SOURCE CODE MAY BE MADE AVAILABLE BY WRITTEN |
|
• Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
|
||||||
| REQUEST TO ISAAC GREENE. ISAAC GREENE IS GIVEN FULL DISCRETION |
|
• Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
|
||||||
| TO APPROVE OR DENY THESE REQUESTS. |
|
• All advertising materials mentioning features or use of this software must display the following acknowledgement: This product includes software developed by Isaac Greene.
|
||||||
| CHANGES MAY BE MADE TO THIS LICENSE AT ANY TIME WITHOUT |
|
• Neither the name of Isaac Greene nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
|
||||||
| NOTICE OR WARNING. |
|
|
||||||
| |
|
THIS SOFTWARE IS PROVIDED BY ISAAC GREENE AS IS AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL ISAAC GREENE BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
| BY ANY USE OF THIS SOFTWARE AND/OR LICENSE YOU AGREE THAT: |
|
|
||||||
| 1. YOU ARE SUBJECT TO THE TERMS PUT FORTH IN THIS LICENSE. |
|
This application makes use of certain third-party open-source software.\nLegal notices:
|
||||||
| 2. YOU HAVE NO GUARANTEED RIGHTS REGARDING THE USE OF THIS |
|
----------
|
||||||
| APPLICATION OR LICENSE. |
|
|
||||||
| 3. YOUR ACCESS TO THIS SOFTWARE MAY BE REVOKED AT ANY TIME |
|
Rob Phillips ( Down )
|
||||||
| 3A. IF YOUR ACCESS IS REVOKED, YOU MAY CONTINUE TO USE |
|
The MIT License (MIT)
|
||||||
| AND KEEP YOUR CURRENT COPY OF THIS SOFTWARE AND THIS |
|
|
||||||
| LICENSE MAY BE REPLACED WITH AN UPDATED VERSION FOR YOU |
|
Copyright (c) 2016 Rob Phillips.
|
||||||
| TO USE |
|
|
||||||
| |
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
| Under the terms of this license, you agree that you may: |
|
of this software and associated documentation files (the "Software"), to deal
|
||||||
| - view source code and files contained in this package |
|
in the Software without restriction, including without limitation the rights
|
||||||
| upon request |
|
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
| - make copies of this code, in whole or in part, for |
|
copies of the Software, and to permit persons to whom the Software is
|
||||||
| personal use |
|
furnished to do so, subject to the following conditions:
|
||||||
| - share copies of this license and/or code, provided this |
|
|
||||||
| work is never publicly available |
|
The above copyright notice and this permission notice shall be included in
|
||||||
| - test this code on your personal systems |
|
all copies or substantial portions of the Software.
|
||||||
| |
|
|
||||||
| Under the terms of this license, you agree that may not: |
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
| - use this code for commercial purposes |
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
| - modify this code or license |
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
| |
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
| ANY RIGHTS NOT EXPLICITLY GRANTED TO YOU IN THIS LICENSE ARE |
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
| AUTOMATICALLY UNDER CONTROL OF ISAAC GREENE. |
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||||
| ALL PROVISIONS IN THIS LICENSE MAY BE MODIFIED ON A PER-CASE |
|
THE SOFTWARE.
|
||||||
| BASIS ON REQUEST, SUBJECT TO APPROVAL. |
|
|
||||||
| Permission to distribute, modify, publish, monetize, or otherwise|
|
-----
|
||||||
| go against the preset terms of this license may be granted, in |
|
|
||||||
| writing and by request, by Isaac Greene. |
|
cmark
|
||||||
| |
|
|
||||||
| ANY AND ALL REDISTRIBUTIONS OF THIS WORK(S) MUST INLCLUDE A COPY |
|
Copyright (c) 2014, John MacFarlane
|
||||||
| OF THIS LICENSE IN THE ABOVE FORM AND THE FOLLOWING DISCLAIMER |
|
|
||||||
| IN THE DOCUMENTATION AND/OR OTHER MATERIALS PROVIDED. |
|
All rights reserved.
|
||||||
| |
|
|
||||||
| THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND |
|
Redistribution and use in source and binary forms, with or without
|
||||||
| CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES |
|
modification, are permitted provided that the following conditions are met:
|
||||||
| INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF |
|
|
||||||
| MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE |
|
* Redistributions of source code must retain the above copyright
|
||||||
| DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR |
|
notice, this list of conditions and the following disclaimer.
|
||||||
| CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, |
|
|
||||||
| SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT |
|
* Redistributions in binary form must reproduce the above
|
||||||
| LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF |
|
copyright notice, this list of conditions and the following
|
||||||
| USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED |
|
disclaimer in the documentation and/or other materials provided
|
||||||
| AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT |
|
with the distribution.
|
||||||
| LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING |
|
|
||||||
| IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF |
|
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||||
| THE POSSIBILITY OF SUCH DAMAGE. |
|
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||||
--------------------------------------------------------------------
|
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||||
|
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||||
|
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||||
|
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||||
|
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||||
|
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||||
|
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||||
|
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||||
|
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
|
-----
|
||||||
|
|
||||||
|
houdini.h, houdini_href_e.c, houdini_html_e.c, houdini_html_u.c,
|
||||||
|
html_unescape.gperf, html_unescape.h
|
||||||
|
|
||||||
|
derive from https://github.com/vmg/houdini (with some modifications)
|
||||||
|
|
||||||
|
Copyright (C) 2012 Vicent Martí
|
||||||
|
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||||
|
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.
|
||||||
|
|
||||||
|
-----
|
||||||
|
|
||||||
|
buffer.h, buffer.c, chunk.h
|
||||||
|
|
||||||
|
are derived from code (C) 2012 Github, Inc.
|
||||||
|
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||||
|
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.
|
||||||
|
|
||||||
|
-----
|
||||||
|
|
||||||
|
utf8.c and utf8.c
|
||||||
|
|
||||||
|
are derived from utf8proc
|
||||||
|
(<http://www.public-software-group.org/utf8proc>),
|
||||||
|
(C) 2009 Public Software Group e. V., Berlin, Germany.
|
||||||
|
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining a
|
||||||
|
copy of 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 normalization code in runtests.py was derived from the
|
||||||
|
markdowntest project, Copyright 2013 Karl Dubost:
|
||||||
|
|
||||||
|
The MIT License (MIT)
|
||||||
|
|
||||||
|
Copyright (c) 2013 Karl Dubost
|
||||||
|
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining
|
||||||
|
a copy of 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 CommonMark spec (test/spec.txt) is
|
||||||
|
|
||||||
|
Copyright (C) 2014-15 John MacFarlane
|
||||||
|
|
||||||
|
Released under the Creative Commons CC-BY-SA 4.0 license:
|
||||||
|
<http://creativecommons.org/licenses/by-sa/4.0/>.
|
||||||
|
|
||||||
|
-----
|
||||||
|
|
||||||
|
The test software in test/ is
|
||||||
|
|
||||||
|
Copyright (c) 2014, John MacFarlane
|
||||||
|
|
||||||
|
All rights reserved.
|
||||||
|
|
||||||
|
Redistribution and use in source and binary forms, with or without
|
||||||
|
modification, are permitted provided that the following conditions are met:
|
||||||
|
|
||||||
|
* Redistributions of source code must retain the above copyright
|
||||||
|
notice, this list of conditions and the following disclaimer.
|
||||||
|
|
||||||
|
* Redistributions in binary form must reproduce the above
|
||||||
|
copyright notice, this list of conditions and the following
|
||||||
|
disclaimer in the documentation and/or other materials provided
|
||||||
|
with the distribution.
|
||||||
|
|
||||||
|
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||||
|
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||||
|
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||||
|
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||||
|
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||||
|
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||||
|
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||||
|
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||||
|
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||||
|
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||||
|
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
|
-----
|
||||||
|
|
||||||
|
The normalization code in runtests.py was derived from the
|
||||||
|
markdowntest project, Copyright 2013 Karl Dubost:
|
||||||
|
|
||||||
|
The MIT License (MIT)
|
||||||
|
|
||||||
|
Copyright (c) 2013 Karl Dubost
|
||||||
|
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining a copy of 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.
|
||||||
|
|
||||||
|
-----
|
||||||
|
|
||||||
|
MathChat ( iosMath )
|
||||||
|
The MIT License (MIT)
|
||||||
|
|
||||||
|
Copyright (c) 2013 MathChat
|
||||||
|
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining a copy of 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.
|
||||||
|
|
||||||
|
-----
|
||||||
|
|
||||||
|
TopHat ( RichTextView )
|
||||||
|
Copyright 2022 TopHat
|
||||||
|
|
||||||
|
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.
|
||||||
|
You may obtain a copy of the License at
|
||||||
|
|
||||||
|
http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
|
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
|
||||||
|
|
||||||
|
-----
|
||||||
|
|
||||||
|
SnapKit Team ( SnapKit )
|
||||||
|
Copyright (c) 2011-Present SnapKit Team - https://github.com/SnapKit
|
||||||
|
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining a copy of 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.
|
||||||
|
|
||||||
|
-----
|
||||||
|
|
||||||
|
Daniele Margutti ( SwiftRichString )
|
||||||
|
The MIT License (MIT)
|
||||||
|
|
||||||
|
Copyright (c) 2018 Daniele Margutti
|
||||||
|
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining a copy of 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.
|
||||||
|
|
||||||
|
----------
|
||||||
|
|
||||||
|
Created: 2022-06-08
|
||||||
|
Updated: 2022-07-19
|
||||||
""")
|
""")
|
||||||
// this part's kind of self explanatory.
|
.font(.custom("Menlo", size: fontSize))
|
||||||
// this is the Software License for all of the
|
|
||||||
// code in this application.
|
|
||||||
.font(.custom("Menlo", size: fontSize))
|
|
||||||
.textSelection(.enabled)
|
|
||||||
.multilineTextAlignment(.leading)
|
|
||||||
// these modifiers simply change the default font
|
|
||||||
// font size, and allows you to select this text
|
|
||||||
Text("\nCreated: 2022-06-08")
|
|
||||||
Text("Updated: 2022-06-09")
|
|
||||||
}
|
}
|
||||||
.navigationTitle("Software License Agreement")
|
.navigationTitle("Licenses")
|
||||||
.navigationBarTitleDisplayMode(.inline)
|
.navigationBarTitleDisplayMode(.inline)
|
||||||
// sets the top of the screen to this text which always
|
|
||||||
// lets you know what page you're in
|
|
||||||
.padding()
|
.padding()
|
||||||
.frame(maxWidth: .infinity)
|
.frame(maxWidth: .infinity)
|
||||||
// this just makes it so you can scroll anywhere on screen
|
|
||||||
// instead of only in the frame
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
// SecretView.swift
|
// SecretView.swift
|
||||||
// Splits
|
// Splits
|
||||||
//
|
//
|
||||||
// Created by Isaac Greene on 6/9/22
|
// Created by Isaac Greene on 2022-06-09.
|
||||||
//
|
//
|
||||||
|
|
||||||
import SwiftUI
|
import SwiftUI
|
||||||
|
|
|
||||||
|
|
@ -2,15 +2,10 @@
|
||||||
// SplitsApp.swift
|
// SplitsApp.swift
|
||||||
// Splits
|
// Splits
|
||||||
//
|
//
|
||||||
// Created by Isaac Greene on 4/3/22.
|
// Created by Isaac Greene on 2022-04-03.
|
||||||
//
|
//
|
||||||
|
|
||||||
import SwiftUI
|
import SwiftUI
|
||||||
// this file will not have comments.
|
|
||||||
// this code is considered simple enough to be
|
|
||||||
// human-readable without aid, as long as
|
|
||||||
// the reader has a basic understanding of
|
|
||||||
// Swift and/or SwiftUI.
|
|
||||||
|
|
||||||
@main
|
@main
|
||||||
/// Builds the main view of the app (``TabViewData``)
|
/// Builds the main view of the app (``TabViewData``)
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
// TabViewData.swift
|
// TabViewData.swift
|
||||||
// Splits
|
// Splits
|
||||||
//
|
//
|
||||||
// Created by Isaac Greene on 4/9/22.
|
// Created by Isaac Greene on 2022-04-09.
|
||||||
//
|
//
|
||||||
|
|
||||||
import SwiftUI
|
import SwiftUI
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue