ソースを参照

Revisited all copyright comments and decided for just one format

Bogdan Poplauschi 9 年 前
コミット
94c1ec3ed0

+ 7 - 7
Examples/SDWebImage Demo/AppDelegate.h

@@ -1,10 +1,10 @@
-//
-//  AppDelegate.h
-//  SDWebImage Demo
-//
-//  Created by Olivier Poitrey on 09/05/12.
-//  Copyright (c) 2012 Dailymotion. All rights reserved.
-//
+/*
+ * This file is part of the SDWebImage package.
+ * (c) Olivier Poitrey <rs@dailymotion.com>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
 
 #import <UIKit/UIKit.h>
 

+ 7 - 7
Examples/SDWebImage Demo/AppDelegate.m

@@ -1,10 +1,10 @@
-//
-//  AppDelegate.m
-//  SDWebImage Demo
-//
-//  Created by Olivier Poitrey on 09/05/12.
-//  Copyright (c) 2012 Dailymotion. All rights reserved.
-//
+/*
+ * This file is part of the SDWebImage package.
+ * (c) Olivier Poitrey <rs@dailymotion.com>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
 
 #import "AppDelegate.h"
 

+ 7 - 7
Examples/SDWebImage Demo/DetailViewController.h

@@ -1,10 +1,10 @@
-//
-//  DetailViewController.h
-//  SDWebImage Demo
-//
-//  Created by Olivier Poitrey on 09/05/12.
-//  Copyright (c) 2012 Dailymotion. All rights reserved.
-//
+/*
+ * This file is part of the SDWebImage package.
+ * (c) Olivier Poitrey <rs@dailymotion.com>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
 
 #import <UIKit/UIKit.h>
 

+ 7 - 7
Examples/SDWebImage Demo/DetailViewController.m

@@ -1,10 +1,10 @@
-//
-//  DetailViewController.m
-//  SDWebImage Demo
-//
-//  Created by Olivier Poitrey on 09/05/12.
-//  Copyright (c) 2012 Dailymotion. All rights reserved.
-//
+/*
+ * This file is part of the SDWebImage package.
+ * (c) Olivier Poitrey <rs@dailymotion.com>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
 
 #import "DetailViewController.h"
 #import <SDWebImage/UIImageView+WebCache.h>

+ 7 - 7
Examples/SDWebImage Demo/MasterViewController.h

@@ -1,10 +1,10 @@
-//
-//  MasterViewController.h
-//  SDWebImage Demo
-//
-//  Created by Olivier Poitrey on 09/05/12.
-//  Copyright (c) 2012 Dailymotion. All rights reserved.
-//
+/*
+ * This file is part of the SDWebImage package.
+ * (c) Olivier Poitrey <rs@dailymotion.com>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
 
 #import <UIKit/UIKit.h>
 

+ 7 - 7
Examples/SDWebImage Demo/MasterViewController.m

@@ -1,10 +1,10 @@
-//
-//  MasterViewController.m
-//  SDWebImage Demo
-//
-//  Created by Olivier Poitrey on 09/05/12.
-//  Copyright (c) 2012 Dailymotion. All rights reserved.
-//
+/*
+ * This file is part of the SDWebImage package.
+ * (c) Olivier Poitrey <rs@dailymotion.com>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
 
 #import "MasterViewController.h"
 #import <SDWebImage/UIImageView+WebCache.h>

+ 7 - 7
Examples/SDWebImage Demo/main.m

@@ -1,10 +1,10 @@
-//
-//  main.m
-//  SDWebImage Demo
-//
-//  Created by Olivier Poitrey on 09/05/12.
-//  Copyright (c) 2012 Dailymotion. All rights reserved.
-//
+/*
+ * This file is part of the SDWebImage package.
+ * (c) Olivier Poitrey <rs@dailymotion.com>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
 
 #import <UIKit/UIKit.h>
 

+ 7 - 7
SDWebImage/MKAnnotationView+WebCache.h

@@ -1,10 +1,10 @@
-//
-//  MKAnnotationView+WebCache.h
-//  SDWebImage
-//
-//  Created by Olivier Poitrey on 14/03/12.
-//  Copyright (c) 2012 Dailymotion. All rights reserved.
-//
+/*
+ * This file is part of the SDWebImage package.
+ * (c) Olivier Poitrey <rs@dailymotion.com>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
 
 #import "MapKit/MapKit.h"
 #import "SDWebImageManager.h"

+ 7 - 7
SDWebImage/MKAnnotationView+WebCache.m

@@ -1,10 +1,10 @@
-//
-//  MKAnnotationView+WebCache.m
-//  SDWebImage
-//
-//  Created by Olivier Poitrey on 14/03/12.
-//  Copyright (c) 2012 Dailymotion. All rights reserved.
-//
+/*
+ * This file is part of the SDWebImage package.
+ * (c) Olivier Poitrey <rs@dailymotion.com>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
 
 #import "MKAnnotationView+WebCache.h"
 #import "objc/runtime.h"

+ 8 - 4
SDWebImage/NSData+ImageContentType.h

@@ -1,7 +1,11 @@
-//
-// Created by Fabrice Aneche on 06/01/14.
-// Copyright (c) 2014 Dailymotion. All rights reserved.
-//
+/*
+ * This file is part of the SDWebImage package.
+ * (c) Olivier Poitrey <rs@dailymotion.com>
+ * (c) Fabrice Aneche
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
 
 #import <Foundation/Foundation.h>
 

+ 8 - 4
SDWebImage/NSData+ImageContentType.m

@@ -1,7 +1,11 @@
-//
-// Created by Fabrice Aneche on 06/01/14.
-// Copyright (c) 2014 Dailymotion. All rights reserved.
-//
+/*
+ * This file is part of the SDWebImage package.
+ * (c) Olivier Poitrey <rs@dailymotion.com>
+ * (c) Fabrice Aneche
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
 
 #import "NSData+ImageContentType.h"
 

+ 7 - 7
SDWebImage/SDWebImageCompat.m

@@ -1,10 +1,10 @@
-//
-//  SDWebImageCompat.m
-//  SDWebImage
-//
-//  Created by Olivier Poitrey on 11/12/12.
-//  Copyright (c) 2012 Dailymotion. All rights reserved.
-//
+/*
+ * This file is part of the SDWebImage package.
+ * (c) Olivier Poitrey <rs@dailymotion.com>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
 
 #import "SDWebImageCompat.h"
 

+ 1 - 2
SDWebImage/SDWebImageDecoder.h

@@ -1,8 +1,7 @@
 /*
  * This file is part of the SDWebImage package.
  * (c) Olivier Poitrey <rs@dailymotion.com>
- *
- * Created by james <https://github.com/mystcolor> on 9/28/11.
+ * (c) james <https://github.com/mystcolor>
  *
  * For the full copyright and license information, please view the LICENSE
  * file that was distributed with this source code.

+ 1 - 2
SDWebImage/SDWebImageDecoder.m

@@ -1,8 +1,7 @@
 /*
  * This file is part of the SDWebImage package.
  * (c) Olivier Poitrey <rs@dailymotion.com>
- *
- * Created by james <https://github.com/mystcolor> on 9/28/11.
+ * (c) james <https://github.com/mystcolor>
  *
  * For the full copyright and license information, please view the LICENSE
  * file that was distributed with this source code.

+ 8 - 7
SDWebImage/UIImage+GIF.h

@@ -1,10 +1,11 @@
-//
-//  UIImage+GIF.h
-//  LBGIFImage
-//
-//  Created by Laurin Brandner on 06.01.12.
-//  Copyright (c) 2012 __MyCompanyName__. All rights reserved.
-//
+/*
+ * This file is part of the SDWebImage package.
+ * (c) Olivier Poitrey <rs@dailymotion.com>
+ * (c) Laurin Brandner
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
 
 #import <UIKit/UIKit.h>
 

+ 8 - 7
SDWebImage/UIImage+GIF.m

@@ -1,10 +1,11 @@
-//
-//  UIImage+GIF.m
-//  LBGIFImage
-//
-//  Created by Laurin Brandner on 06.01.12.
-//  Copyright (c) 2012 __MyCompanyName__. All rights reserved.
-//
+/*
+ * This file is part of the SDWebImage package.
+ * (c) Olivier Poitrey <rs@dailymotion.com>
+ * (c) Laurin Brandner
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
 
 #import "UIImage+GIF.h"
 #import <ImageIO/ImageIO.h>

+ 7 - 7
SDWebImage/UIImage+MultiFormat.h

@@ -1,10 +1,10 @@
-//
-//  UIImage+MultiFormat.h
-//  SDWebImage
-//
-//  Created by Olivier Poitrey on 07/06/13.
-//  Copyright (c) 2013 Dailymotion. All rights reserved.
-//
+/*
+ * This file is part of the SDWebImage package.
+ * (c) Olivier Poitrey <rs@dailymotion.com>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
 
 #import <UIKit/UIKit.h>
 

+ 7 - 7
SDWebImage/UIImage+MultiFormat.m

@@ -1,10 +1,10 @@
-//
-//  UIImage+MultiFormat.m
-//  SDWebImage
-//
-//  Created by Olivier Poitrey on 07/06/13.
-//  Copyright (c) 2013 Dailymotion. All rights reserved.
-//
+/*
+ * This file is part of the SDWebImage package.
+ * (c) Olivier Poitrey <rs@dailymotion.com>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
 
 #import "UIImage+MultiFormat.h"
 #import "UIImage+GIF.h"

+ 7 - 7
SDWebImage/UIImage+WebP.h

@@ -1,10 +1,10 @@
-//
-//  UIImage+WebP.h
-//  SDWebImage
-//
-//  Created by Olivier Poitrey on 07/06/13.
-//  Copyright (c) 2013 Dailymotion. All rights reserved.
-//
+/*
+ * This file is part of the SDWebImage package.
+ * (c) Olivier Poitrey <rs@dailymotion.com>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
 
 #ifdef SD_WEBP
 

+ 7 - 7
SDWebImage/UIImage+WebP.m

@@ -1,10 +1,10 @@
-//
-//  UIImage+WebP.m
-//  SDWebImage
-//
-//  Created by Olivier Poitrey on 07/06/13.
-//  Copyright (c) 2013 Dailymotion. All rights reserved.
-//
+/*
+ * This file is part of the SDWebImage package.
+ * (c) Olivier Poitrey <rs@dailymotion.com>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
 
 #ifdef SD_WEBP
 #import "UIImage+WebP.h"

+ 7 - 7
Tests/Tests/SDImageCacheTests.m

@@ -1,10 +1,10 @@
-//
-//  SDImageCacheTests.m
-//  SDWebImage Tests
-//
-//  Created by Bogdan Poplauschi on 20/06/14.
-//
-//
+/*
+ * This file is part of the SDWebImage package.
+ * (c) Olivier Poitrey <rs@dailymotion.com>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
 
 #define EXP_SHORTHAND   // required by Expecta
 

+ 8 - 7
Tests/Tests/SDWebImageDownloaderTests.m

@@ -1,10 +1,11 @@
-//
-//  SDWebImageDownloaderTests.m
-//  SDWebImage Tests
-//
-//  Created by Matt Galloway on 01/09/2014.
-//
-//
+/*
+ * This file is part of the SDWebImage package.
+ * (c) Olivier Poitrey <rs@dailymotion.com>
+ * (c) Matt Galloway
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
 
 #define EXP_SHORTHAND   // required by Expecta
 

+ 7 - 7
Tests/Tests/SDWebImageManagerTests.m

@@ -1,10 +1,10 @@
-//
-//  SDWebImageManagerTests.m
-//  SDWebImage Tests
-//
-//  Created by Bogdan Poplauschi on 20/06/14.
-//
-//
+/*
+ * This file is part of the SDWebImage package.
+ * (c) Olivier Poitrey <rs@dailymotion.com>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
 
 #define EXP_SHORTHAND   // required by Expecta
 

+ 7 - 7
Tests/Tests/UIImageMultiFormatTests.m

@@ -1,10 +1,10 @@
-//
-//  UIImageMultiFormatTests.m
-//  SDWebImage Tests
-//
-//  Created by Bogdan Poplauschi on 18/07/14.
-//
-//
+/*
+ * This file is part of the SDWebImage package.
+ * (c) Olivier Poitrey <rs@dailymotion.com>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
 
 #define EXP_SHORTHAND   // required by Expecta
 

+ 8 - 7
WebImage/SDWebImage.h

@@ -1,10 +1,11 @@
-//
-//  WebImage.h
-//  WebImage
-//
-//  Created by Florent Vilmart on 2015-03-14.
-//  Copyright (c) 2015 Dailymotion. All rights reserved.
-//
+/*
+ * This file is part of the SDWebImage package.
+ * (c) Olivier Poitrey <rs@dailymotion.com>
+ * (c) Florent Vilmart
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
 
 #import <UIKit/UIKit.h>