Skip to content

Commit

Permalink
[License] Update all Texture source files to be pure Apache 2.
Browse files Browse the repository at this point in the history
  • Loading branch information
appleguy committed Aug 21, 2018
1 parent 4467acb commit ffa0fbb
Show file tree
Hide file tree
Showing 915 changed files with 2,885 additions and 7,323 deletions.
5 changes: 2 additions & 3 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,12 +88,11 @@ Ensure this license header is included on all files in the repository, including
// Texture
//
// Copyright (c) 2017-present, Pinterest, Inc. All rights reserved.
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// Licensed under the Apache License, Version 2.0 (the "License").
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
//
```

# Semantic Versioning
Expand Down
15 changes: 4 additions & 11 deletions Dangerfile
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,8 @@ end

# Ensure new files have proper header
new_source_license_header = <<-HEREDOC
// Copyright (c) 2018-present, Pinterest, Inc. All rights reserved.
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// Copyright (c) 2017-present, Pinterest, Inc. All rights reserved.
// Licensed under the Apache License, Version 2.0 (the "License").
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
Expand All @@ -84,14 +83,8 @@ end

# Ensure modified files have proper header
modified_source_license_header = <<-HEREDOC
// Copyright (c) 2014-present, Facebook, Inc. All rights reserved.
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the /ASDK-Licenses directory of this source tree. An additional
// grant of patent rights can be found in the PATENTS file in the same directory.
//
// Modifications to this file made after 4/13/2017 are: Copyright (c) through the present,
// Pinterest, Inc. Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// Copyright (c) 2017-present, Pinterest, Inc. All rights reserved.
// Licensed under the Apache License, Version 2.0 (the "License").
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
Expand Down
10 changes: 2 additions & 8 deletions Source/ASBlockTypes.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,8 @@
// ASBlockTypes.h
// Texture
//
// Copyright (c) 2014-present, Facebook, Inc. All rights reserved.
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the /ASDK-Licenses directory of this source tree. An additional
// grant of patent rights can be found in the PATENTS file in the same directory.
//
// Modifications to this file made after 4/13/2017 are: Copyright (c) 2017-present,
// Pinterest, Inc. Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// Copyright (c) 2017-present, Pinterest, Inc. All rights reserved.
// Licensed under the Apache License, Version 2.0 (the "License").
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
Expand Down
10 changes: 2 additions & 8 deletions Source/ASButtonNode.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,8 @@
// ASButtonNode.h
// Texture
//
// Copyright (c) 2014-present, Facebook, Inc. All rights reserved.
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the /ASDK-Licenses directory of this source tree. An additional
// grant of patent rights can be found in the PATENTS file in the same directory.
//
// Modifications to this file made after 4/13/2017 are: Copyright (c) 2017-present,
// Pinterest, Inc. Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// Copyright (c) 2017-present, Pinterest, Inc. All rights reserved.
// Licensed under the Apache License, Version 2.0 (the "License").
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
Expand Down
10 changes: 2 additions & 8 deletions Source/ASButtonNode.mm
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,8 @@
// ASButtonNode.mm
// Texture
//
// Copyright (c) 2014-present, Facebook, Inc. All rights reserved.
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the /ASDK-Licenses directory of this source tree. An additional
// grant of patent rights can be found in the PATENTS file in the same directory.
//
// Modifications to this file made after 4/13/2017 are: Copyright (c) 2017-present,
// Pinterest, Inc. Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// Copyright (c) 2017-present, Pinterest, Inc. All rights reserved.
// Licensed under the Apache License, Version 2.0 (the "License").
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
Expand Down
5 changes: 2 additions & 3 deletions Source/ASCGImageBuffer.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,8 @@
// ASCGImageBuffer.h
// Texture
//
// Copyright (c) 2018-present, Pinterest, Inc. All rights reserved.
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// Copyright (c) 2017-present, Pinterest, Inc. All rights reserved.
// Licensed under the Apache License, Version 2.0 (the "License").
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
Expand Down
5 changes: 2 additions & 3 deletions Source/ASCGImageBuffer.m
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,8 @@
// ASCGImageBuffer.m
// Texture
//
// Copyright (c) 2018-present, Pinterest, Inc. All rights reserved.
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// Copyright (c) 2017-present, Pinterest, Inc. All rights reserved.
// Licensed under the Apache License, Version 2.0 (the "License").
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
Expand Down
10 changes: 2 additions & 8 deletions Source/ASCellNode.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,8 @@
// ASCellNode.h
// Texture
//
// Copyright (c) 2014-present, Facebook, Inc. All rights reserved.
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the /ASDK-Licenses directory of this source tree. An additional
// grant of patent rights can be found in the PATENTS file in the same directory.
//
// Modifications to this file made after 4/13/2017 are: Copyright (c) 2017-present,
// Pinterest, Inc. Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// Copyright (c) 2017-present, Pinterest, Inc. All rights reserved.
// Licensed under the Apache License, Version 2.0 (the "License").
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
Expand Down
10 changes: 2 additions & 8 deletions Source/ASCellNode.mm
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,8 @@
// ASCellNode.mm
// Texture
//
// Copyright (c) 2014-present, Facebook, Inc. All rights reserved.
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the /ASDK-Licenses directory of this source tree. An additional
// grant of patent rights can be found in the PATENTS file in the same directory.
//
// Modifications to this file made after 4/13/2017 are: Copyright (c) 2017-present,
// Pinterest, Inc. Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// Copyright (c) 2017-present, Pinterest, Inc. All rights reserved.
// Licensed under the Apache License, Version 2.0 (the "License").
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
Expand Down
10 changes: 2 additions & 8 deletions Source/ASCollectionNode+Beta.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,8 @@
// ASCollectionNode+Beta.h
// Texture
//
// Copyright (c) 2014-present, Facebook, Inc. All rights reserved.
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the /ASDK-Licenses directory of this source tree. An additional
// grant of patent rights can be found in the PATENTS file in the same directory.
//
// Modifications to this file made after 4/13/2017 are: Copyright (c) 2017-present,
// Pinterest, Inc. Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// Copyright (c) 2017-present, Pinterest, Inc. All rights reserved.
// Licensed under the Apache License, Version 2.0 (the "License").
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
Expand Down
10 changes: 2 additions & 8 deletions Source/ASCollectionNode.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,8 @@
// ASCollectionNode.h
// Texture
//
// Copyright (c) 2014-present, Facebook, Inc. All rights reserved.
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the /ASDK-Licenses directory of this source tree. An additional
// grant of patent rights can be found in the PATENTS file in the same directory.
//
// Modifications to this file made after 4/13/2017 are: Copyright (c) 2017-present,
// Pinterest, Inc. Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// Copyright (c) 2017-present, Pinterest, Inc. All rights reserved.
// Licensed under the Apache License, Version 2.0 (the "License").
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
Expand Down
10 changes: 2 additions & 8 deletions Source/ASCollectionNode.mm
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,8 @@
// ASCollectionNode.mm
// Texture
//
// Copyright (c) 2014-present, Facebook, Inc. All rights reserved.
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the /ASDK-Licenses directory of this source tree. An additional
// grant of patent rights can be found in the PATENTS file in the same directory.
//
// Modifications to this file made after 4/13/2017 are: Copyright (c) 2017-present,
// Pinterest, Inc. Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// Copyright (c) 2017-present, Pinterest, Inc. All rights reserved.
// Licensed under the Apache License, Version 2.0 (the "License").
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
Expand Down
10 changes: 2 additions & 8 deletions Source/ASCollectionView.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,8 @@
// ASCollectionView.h
// Texture
//
// Copyright (c) 2014-present, Facebook, Inc. All rights reserved.
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the /ASDK-Licenses directory of this source tree. An additional
// grant of patent rights can be found in the PATENTS file in the same directory.
//
// Modifications to this file made after 4/13/2017 are: Copyright (c) 2017-present,
// Pinterest, Inc. Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// Copyright (c) 2017-present, Pinterest, Inc. All rights reserved.
// Licensed under the Apache License, Version 2.0 (the "License").
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
Expand Down
10 changes: 2 additions & 8 deletions Source/ASCollectionView.mm
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,8 @@
// ASCollectionView.mm
// Texture
//
// Copyright (c) 2014-present, Facebook, Inc. All rights reserved.
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the /ASDK-Licenses directory of this source tree. An additional
// grant of patent rights can be found in the PATENTS file in the same directory.
//
// Modifications to this file made after 4/13/2017 are: Copyright (c) 2017-present,
// Pinterest, Inc. Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// Copyright (c) 2017-present, Pinterest, Inc. All rights reserved.
// Licensed under the Apache License, Version 2.0 (the "License").
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
Expand Down
10 changes: 2 additions & 8 deletions Source/ASCollectionViewLayoutFacilitatorProtocol.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,8 @@
// ASCollectionViewLayoutFacilitatorProtocol.h
// Texture
//
// Copyright (c) 2014-present, Facebook, Inc. All rights reserved.
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the /ASDK-Licenses directory of this source tree. An additional
// grant of patent rights can be found in the PATENTS file in the same directory.
//
// Modifications to this file made after 4/13/2017 are: Copyright (c) 2017-present,
// Pinterest, Inc. Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// Copyright (c) 2017-present, Pinterest, Inc. All rights reserved.
// Licensed under the Apache License, Version 2.0 (the "License").
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
Expand Down
10 changes: 2 additions & 8 deletions Source/ASCollectionViewProtocols.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,8 @@
// ASCollectionViewProtocols.h
// Texture
//
// Copyright (c) 2014-present, Facebook, Inc. All rights reserved.
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the /ASDK-Licenses directory of this source tree. An additional
// grant of patent rights can be found in the PATENTS file in the same directory.
//
// Modifications to this file made after 4/13/2017 are: Copyright (c) 2017-present,
// Pinterest, Inc. Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// Copyright (c) 2017-present, Pinterest, Inc. All rights reserved.
// Licensed under the Apache License, Version 2.0 (the "License").
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
Expand Down
5 changes: 2 additions & 3 deletions Source/ASCollections.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,8 @@
// ASCollections.h
// Texture
//
// Copyright (c) 2018-present, Pinterest, Inc. All rights reserved.
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// Copyright (c) 2017-present, Pinterest, Inc. All rights reserved.
// Licensed under the Apache License, Version 2.0 (the "License").
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
Expand Down
5 changes: 2 additions & 3 deletions Source/ASCollections.m
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,8 @@
// ASCollections.m
// Texture
//
// Copyright (c) 2018-present, Pinterest, Inc. All rights reserved.
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// Copyright (c) 2017-present, Pinterest, Inc. All rights reserved.
// Licensed under the Apache License, Version 2.0 (the "License").
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
Expand Down
5 changes: 2 additions & 3 deletions Source/ASConfiguration.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,8 @@
// ASConfiguration.h
// Texture
//
// Copyright (c) 2018-present, Pinterest, Inc. All rights reserved.
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// Copyright (c) 2017-present, Pinterest, Inc. All rights reserved.
// Licensed under the Apache License, Version 2.0 (the "License").
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
Expand Down
5 changes: 2 additions & 3 deletions Source/ASConfiguration.m
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,8 @@
// ASConfiguration.m
// Texture
//
// Copyright (c) 2018-present, Pinterest, Inc. All rights reserved.
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// Copyright (c) 2017-present, Pinterest, Inc. All rights reserved.
// Licensed under the Apache License, Version 2.0 (the "License").
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
Expand Down
5 changes: 2 additions & 3 deletions Source/ASConfigurationDelegate.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,8 @@
// ASConfigurationDelegate.h
// Texture
//
// Copyright (c) 2018-present, Pinterest, Inc. All rights reserved.
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// Copyright (c) 2017-present, Pinterest, Inc. All rights reserved.
// Licensed under the Apache License, Version 2.0 (the "License").
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
Expand Down
5 changes: 2 additions & 3 deletions Source/ASConfigurationInternal.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,8 @@
// ASConfigurationInternal.h
// Texture
//
// Copyright (c) 2018-present, Pinterest, Inc. All rights reserved.
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// Copyright (c) 2017-present, Pinterest, Inc. All rights reserved.
// Licensed under the Apache License, Version 2.0 (the "License").
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
Expand Down
5 changes: 2 additions & 3 deletions Source/ASConfigurationInternal.m
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,8 @@
// ASConfigurationInternal.m
// Texture
//
// Copyright (c) 2018-present, Pinterest, Inc. All rights reserved.
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// Copyright (c) 2017-present, Pinterest, Inc. All rights reserved.
// Licensed under the Apache License, Version 2.0 (the "License").
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
Expand Down
10 changes: 2 additions & 8 deletions Source/ASContextTransitioning.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,8 @@
// ASContextTransitioning.h
// Texture
//
// Copyright (c) 2014-present, Facebook, Inc. All rights reserved.
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the /ASDK-Licenses directory of this source tree. An additional
// grant of patent rights can be found in the PATENTS file in the same directory.
//
// Modifications to this file made after 4/13/2017 are: Copyright (c) 2017-present,
// Pinterest, Inc. Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// Copyright (c) 2017-present, Pinterest, Inc. All rights reserved.
// Licensed under the Apache License, Version 2.0 (the "License").
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
Expand Down
10 changes: 2 additions & 8 deletions Source/ASControlNode+Subclasses.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,8 @@
// ASControlNode+Subclasses.h
// Texture
//
// Copyright (c) 2014-present, Facebook, Inc. All rights reserved.
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the /ASDK-Licenses directory of this source tree. An additional
// grant of patent rights can be found in the PATENTS file in the same directory.
//
// Modifications to this file made after 4/13/2017 are: Copyright (c) 2017-present,
// Pinterest, Inc. Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// Copyright (c) 2017-present, Pinterest, Inc. All rights reserved.
// Licensed under the Apache License, Version 2.0 (the "License").
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
Expand Down
Loading

0 comments on commit ffa0fbb

Please sign in to comment.