From f1a6589f43a1083a266792ec2c2f6e9d1ce138ca Mon Sep 17 00:00:00 2001 From: Philipp Hofmann Date: Wed, 4 Oct 2023 10:41:40 +0200 Subject: [PATCH] chore: Add links for derived source code (#3326) Add a link for derived source code to comply with our open-source code policy. Fixes GH-2844 --- .../TrendingMovies/ImageProcessing/UIImageEffects.h | 5 ++++- .../TrendingMovies/ImageProcessing/UIImageEffects.m | 5 ++++- SentryTestUtils/Dynamic/Dynamic.swift | 1 + SentryTestUtils/Dynamic/Invocation.swift | 1 + SentryTestUtils/Dynamic/Logger.swift | 3 ++- SentryTestUtils/Dynamic/TypeMapping.swift | 1 + Sources/Sentry/SentryReachability.m | 4 ++-- Sources/Sentry/include/SentryReachability.h | 4 ++-- 8 files changed, 17 insertions(+), 7 deletions(-) diff --git a/Samples/TrendingMovies/TrendingMovies/ImageProcessing/UIImageEffects.h b/Samples/TrendingMovies/TrendingMovies/ImageProcessing/UIImageEffects.h index 37f981eb636..f31df233fa2 100644 --- a/Samples/TrendingMovies/TrendingMovies/ImageProcessing/UIImageEffects.h +++ b/Samples/TrendingMovies/TrendingMovies/ImageProcessing/UIImageEffects.h @@ -1,5 +1,8 @@ /* - File: UIImageEffects.h + Copied from + https://github.com/robovm/apple-ios-samples/blob/1f6b14ef6e2bda610ef8f1c93b16bf76b8594fbb/UIImageEffects/UIImageEffects/UIImageEffects.h + + File: UIImageEffects.h Abstract: This class contains methods to apply blur and tint effects to an image. This is the code you’ll want to look out to find out how to use vImage to efficiently calculate a blur. diff --git a/Samples/TrendingMovies/TrendingMovies/ImageProcessing/UIImageEffects.m b/Samples/TrendingMovies/TrendingMovies/ImageProcessing/UIImageEffects.m index ad2b777d4cc..5ff40ad4569 100644 --- a/Samples/TrendingMovies/TrendingMovies/ImageProcessing/UIImageEffects.m +++ b/Samples/TrendingMovies/TrendingMovies/ImageProcessing/UIImageEffects.m @@ -1,5 +1,8 @@ /* - File: UIImageEffects.m + Copied from + https://github.com/robovm/apple-ios-samples/blob/1f6b14ef6e2bda610ef8f1c93b16bf76b8594fbb/UIImageEffects/UIImageEffects/UIImageEffects.m + + File: UIImageEffects.m Abstract: This class contains methods to apply blur and tint effects to an image. This is the code you’ll want to look out to find out how to use vImage to efficiently calculate a blur. diff --git a/SentryTestUtils/Dynamic/Dynamic.swift b/SentryTestUtils/Dynamic/Dynamic.swift index e5b8ec39df9..4bc544762c1 100644 --- a/SentryTestUtils/Dynamic/Dynamic.swift +++ b/SentryTestUtils/Dynamic/Dynamic.swift @@ -1,3 +1,4 @@ +// Copied from https://github.com/mhdhejazi/Dynamic/blob/772883073d044bc754d401cabb6574624eb3778f/Sources/Dynamic/Dynamic.swift // // Dynamic // Created by Mhd Hejazi on 4/15/20. diff --git a/SentryTestUtils/Dynamic/Invocation.swift b/SentryTestUtils/Dynamic/Invocation.swift index 2a9b36138fe..b80764db75a 100644 --- a/SentryTestUtils/Dynamic/Invocation.swift +++ b/SentryTestUtils/Dynamic/Invocation.swift @@ -1,3 +1,4 @@ +// Copied from https://github.com/mhdhejazi/Dynamic/blob/772883073d044bc754d401cabb6574624eb3778f/Sources/Dynamic/Invocation.swift // // Dynamic // Created by Mhd Hejazi on 4/15/20. diff --git a/SentryTestUtils/Dynamic/Logger.swift b/SentryTestUtils/Dynamic/Logger.swift index 52077cc69bf..cd757bb8dfb 100644 --- a/SentryTestUtils/Dynamic/Logger.swift +++ b/SentryTestUtils/Dynamic/Logger.swift @@ -1,4 +1,5 @@ -// +// Copied from https://github.com/mhdhejazi/Dynamic/blob/772883073d044bc754d401cabb6574624eb3778f/Sources/Dynamic/Logger.swift +// // Dynamic // Created by Mhd Hejazi on 4/15/20. // Copyright © 2020 Samabox. All rights reserved. diff --git a/SentryTestUtils/Dynamic/TypeMapping.swift b/SentryTestUtils/Dynamic/TypeMapping.swift index a03d8ea85aa..bace68ef8e0 100644 --- a/SentryTestUtils/Dynamic/TypeMapping.swift +++ b/SentryTestUtils/Dynamic/TypeMapping.swift @@ -1,3 +1,4 @@ +// Copied from https://github.com/mhdhejazi/Dynamic/blob/772883073d044bc754d401cabb6574624eb3778f/Sources/Dynamic/TypeMapping.swift // // Dynamic // Created by Mhd Hejazi on 4/18/20. diff --git a/Sources/Sentry/SentryReachability.m b/Sources/Sentry/SentryReachability.m index 3af2292bc13..3157f10cbdb 100644 --- a/Sources/Sentry/SentryReachability.m +++ b/Sources/Sentry/SentryReachability.m @@ -1,5 +1,5 @@ -// -// SentryReachability.m +// Adapted from +// https://github.com/bugsnag/bugsnag-cocoa/blob/2f373f21b965f1b13d7070662e2d35f46c17d975/Bugsnag/Delivery/BSGConnectivity.m // // Created by Jamie Lynch on 2017-09-04. // diff --git a/Sources/Sentry/include/SentryReachability.h b/Sources/Sentry/include/SentryReachability.h index bfd62b80600..029b5aaf787 100644 --- a/Sources/Sentry/include/SentryReachability.h +++ b/Sources/Sentry/include/SentryReachability.h @@ -1,5 +1,5 @@ -// -// SentryReachability.h +// Adapted from +// https://github.com/bugsnag/bugsnag-cocoa/blob/2f373f21b965f1b13d7070662e2d35f46c17d975/Bugsnag/Delivery/BSGConnectivity.h // // Created by Jamie Lynch on 2017-09-04. //