diff --git a/CREDITS.md b/CREDITS.md new file mode 100644 index 00000000..ff1205bb --- /dev/null +++ b/CREDITS.md @@ -0,0 +1,43 @@ +# Credits + +This project uses third-party libraries and code. Their licenses and acknowledgements are listed below. + +--- + +## Compute + +OpenGraphCxx's Data, Graph, Vector and more is modified based on [Compute](https://github.com/jcmosc/Compute)'s implementations. + +Compute is licensed as follows: + +``` +MIT License + +Copyright (c) 2025 James Moschou + +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. +``` + +--- + +## Apple Open Source + +Part of the header file is from Apple Open Source project which is licensed under APSL. + +--- diff --git a/LICENSE b/LICENSE index 9bc2d801..bb1944dd 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2023 Kyle-Ye +Copyright (c) 2023-2025 Kyle-Ye Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal @@ -18,4 +18,4 @@ 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. \ No newline at end of file +SOFTWARE. diff --git a/Package.resolved b/Package.resolved index bb43c475..7d25b194 100644 --- a/Package.resolved +++ b/Package.resolved @@ -7,7 +7,7 @@ "location" : "https://github.com/OpenSwiftUIProject/DarwinPrivateFrameworks.git", "state" : { "branch" : "main", - "revision" : "6ff2b49a335ef2bcbf7c24dda1f65fc71e8a3179" + "revision" : "a86de9754b206fa9be8fc4ccd049cb68d283a2df" } }, { diff --git a/README.md b/README.md index 281a58e9..d2e0dc53 100644 --- a/README.md +++ b/README.md @@ -29,10 +29,10 @@ Currently, this project is in early development. The current suggested toolchain to build the project is Swift 6.1 / Xcode 16.3. -## Credits - -OpenGraphCxx's Data, Graph, Vector and more is modified based on [Compute](https://github.com/jcmosc/Compute)'s implementations. - ## License See LICENSE file - MIT + +## Credits + +See [CREDITS.md](CREDITS.md) for third-party licenses and acknowledgements. diff --git a/Sources/OpenGraphCxx/Data/table.cpp b/Sources/OpenGraphCxx/Data/table.cpp index e916fa25..9e280d70 100644 --- a/Sources/OpenGraphCxx/Data/table.cpp +++ b/Sources/OpenGraphCxx/Data/table.cpp @@ -2,9 +2,9 @@ // table.cpp // OpenGraphCxx // -// Audited for iOS 18.0 +// Audited for 6.5.4 // Status: WIP -// Modified from https://github.com/jcmosc/Compute/blob/0a6b21a4cdeb9bbdd95e7e914c4e18bed37a2456/Sources/ComputeCxx/Data/Table.cpp [MIT License] +// Modified based Compute code #include #include diff --git a/Sources/OpenGraphCxx/include/OpenGraph/OGComparison.h b/Sources/OpenGraphCxx/include/OpenGraph/OGComparison.h index 2f456478..818ed8c9 100644 --- a/Sources/OpenGraphCxx/include/OpenGraph/OGComparison.h +++ b/Sources/OpenGraphCxx/include/OpenGraph/OGComparison.h @@ -2,31 +2,9 @@ // OGComparison.h // OpenGraphCxx // -// Audited for 6.5.4 +// Audited for 6.5.1 // Status: Complete -// -// Modified based on Compute project: https://github.com/jcmosc/Compute/blob/main/Sources/ComputeCxx/Comparison/AGComparison.h -// Copyright (c) 2025 James Moschou -// -// 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, DAMOGES 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. - #ifndef OGComparison_h #define OGComparison_h diff --git a/Sources/OpenGraphCxx/include/OpenGraphCxx/Comparison/OGComparisonPrivate.h b/Sources/OpenGraphCxx/include/OpenGraphCxx/Comparison/OGComparisonPrivate.h index 44024387..cb3a2c1e 100644 --- a/Sources/OpenGraphCxx/include/OpenGraphCxx/Comparison/OGComparisonPrivate.h +++ b/Sources/OpenGraphCxx/include/OpenGraphCxx/Comparison/OGComparisonPrivate.h @@ -2,29 +2,8 @@ // OGComparisonPrivate.h // OpenGraphCxx // -// Audited for 6.5.4 +// Audited for 6.5.1 // Status: Complete -// -// Modified based on Compute project: https://github.com/jcmosc/Compute/blob/main/Sources/ComputeCxx/Comparison/AGComparison-Private.h -// Copyright (c) 2025 James Moschou -// -// 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, DAMOGES 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. #ifndef OGComparisonPrivate_h #define OGComparisonPrivate_h diff --git a/Sources/OpenGraphCxx/include/OpenGraphCxx/Data/ptr.hpp b/Sources/OpenGraphCxx/include/OpenGraphCxx/Data/ptr.hpp index 87209e41..0d97ff2c 100644 --- a/Sources/OpenGraphCxx/include/OpenGraphCxx/Data/ptr.hpp +++ b/Sources/OpenGraphCxx/include/OpenGraphCxx/Data/ptr.hpp @@ -3,15 +3,15 @@ // OpenGraphCxx // // Status: Complete -// Modified from https://github.com/jcmosc/Compute/blob/0a6b21a4cdeb9bbdd95e7e914c4e18bed37a2456/Sources/ComputeCxx/Data/Pointer.h [MIT License] +// Modified based Compute code #ifndef ptr_hpp #define ptr_hpp #include #include -#include #include +#include OG_ASSUME_NONNULL_BEGIN diff --git a/Sources/OpenGraphCxx/include/OpenGraphCxx/Vector/vector.hpp b/Sources/OpenGraphCxx/include/OpenGraphCxx/Vector/vector.hpp index 3f55ed74..8ac8d50c 100644 --- a/Sources/OpenGraphCxx/include/OpenGraphCxx/Vector/vector.hpp +++ b/Sources/OpenGraphCxx/include/OpenGraphCxx/Vector/vector.hpp @@ -3,7 +3,7 @@ // OpenGraphCxx // // Status: Complete -// Modified from https://github.com/jcmosc/Compute/blob/00dfebc2c5852144ac5aada8ebe896b78e5f622a/Sources/ComputeCxx/Vector/Vector.h [MIT License] +// Modified based Compute code #ifndef vector_hpp #define vector_hpp diff --git a/Sources/OpenGraphCxx/include/OpenGraphCxx/Vector/vector.tpp b/Sources/OpenGraphCxx/include/OpenGraphCxx/Vector/vector.tpp index 4e4598fa..b16b9a90 100644 --- a/Sources/OpenGraphCxx/include/OpenGraphCxx/Vector/vector.tpp +++ b/Sources/OpenGraphCxx/include/OpenGraphCxx/Vector/vector.tpp @@ -3,7 +3,7 @@ // OpenGraphCxx // // Status: Complete -// Modified from https://github.com/jcmosc/Compute/blob/00dfebc2c5852144ac5aada8ebe896b78e5f622a/Sources/ComputeCxx/Vector/Vector.tpp [MIT Lisence] +// Modified based Compute code #include #include