Permalink
Browse files

[ios-sdk] Fix up copyright headers.

Summary:
A handful of source/header files still had a Facebook copyright but no Apache license.
Added the licensing text to them.

Removed copyright notices from readme files.

Test Plan: - Stuff still builds.

Reviewers: ekoneil, mmarucheck, jacl, gregschechte

Reviewed By: jacl

Differential Revision: https://phabricator.fb.com/D488687
  • Loading branch information...
1 parent c8c19d5 commit 5a7aff7d18500b3bd8e07f1563c103f1042bd27b @clang13 clang13 committed Jun 7, 2012
@@ -1,10 +1,18 @@
-//
-// BOGAppDelegate.h
-// BooleanOGSample
-//
-// Created by Jason Clark on 4/19/12.
-// Copyright (c) 2012 __MyCompanyName__. All rights reserved.
-//
+/*
+ * Copyright 2012 Facebook
+ *
+ * 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.
+ */
#import <UIKit/UIKit.h>
#import <FBiOSSDK/FacebookSDK.h>
@@ -1,10 +1,18 @@
-//
-// BOGAppDelegate.m
-// BooleanOGSample
-//
-// Created by Jason Clark on 4/19/12.
-// Copyright (c) 2012 __MyCompanyName__. All rights reserved.
-//
+/*
+ * Copyright 2012 Facebook
+ *
+ * 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.
+ */
#import "BOGAppDelegate.h"
#import "BOGFirstViewController.h"
@@ -1,10 +1,18 @@
-//
-// BOGFirstViewController.h
-// BooleanOGSample
-//
-// Created by Jason Clark on 4/19/12.
-// Copyright (c) 2012 __MyCompanyName__. All rights reserved.
-//
+/*
+ * Copyright 2012 Facebook
+ *
+ * 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.
+ */
#import <UIKit/UIKit.h>
@@ -1,10 +1,18 @@
-//
-// BOGFirstViewController.m
-// BooleanOGSample
-//
-// Created by Jason Clark on 4/19/12.
-// Copyright (c) 2012 __MyCompanyName__. All rights reserved.
-//
+/*
+ * Copyright 2012 Facebook
+ *
+ * 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.
+ */
#import "BOGFirstViewController.h"
#import "BOGAppDelegate.h"
@@ -1,10 +1,18 @@
-//
-// BOGSecondViewController.h
-// BooleanOGSample
-//
-// Created by Jason Clark on 4/19/12.
-// Copyright (c) 2012 __MyCompanyName__. All rights reserved.
-//
+/*
+ * Copyright 2012 Facebook
+ *
+ * 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.
+ */
#import <UIKit/UIKit.h>
@@ -1,10 +1,18 @@
-//
-// BOGSecondViewController.m
-// BooleanOGSample
-//
-// Created by Jason Clark on 4/19/12.
-// Copyright (c) 2012 __MyCompanyName__. All rights reserved.
-//
+/*
+ * Copyright 2012 Facebook
+ *
+ * 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.
+ */
#import "BOGSecondViewController.h"
@@ -1,10 +1,18 @@
-//
-// main.m
-// BooleanOGSample
-//
-// Created by Jason Clark on 4/19/12.
-// Copyright (c) 2012 __MyCompanyName__. All rights reserved.
-//
+/*
+ * Copyright 2012 Facebook
+ *
+ * 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.
+ */
#import <UIKit/UIKit.h>
@@ -15,4 +15,3 @@ Launch the FriendPickerSample project using Xcode from the <iOS SDK>/samples/Fri
Changes from Previous Versions
1.0 - First release.
-Copyright (c) 2012 Facebook
@@ -34,4 +34,4 @@ Class that defines the UI data for the app. The main menu, sub menus, and method
Changes from Previous Versions
1.0 - First release.
-Copyright (C) 2010 Facebook
+
@@ -16,4 +16,4 @@ Launch the JustLoginSample project using Xcode from the
Changes from Previous Versions
1.0 - First release.
-Copyright (c) 2012 Facebook
+
@@ -1,10 +1,18 @@
-//
-// main.m
-// JustRequestSample
-//
-// Created by Michael Marucheck on 4/3/12.
-// Copyright (c) 2012 __MyCompanyName__. All rights reserved.
-//
+/*
+ * Copyright 2012 Facebook
+ *
+ * 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.
+ */
#import <UIKit/UIKit.h>
@@ -15,4 +15,4 @@ Launch the JustRequestSample project using Xcode from the <iOS SDK>/samples/Just
Changes from Previous Versions
1.0 - First release.
-Copyright (c) 2012 Facebook
+
@@ -17,4 +17,3 @@ Launch the PlacePickerSample project using Xcode from the
Changes from Previous Versions
1.0 - First release.
-Copyright (c) 2012 Facebook
@@ -16,4 +16,3 @@ Launch the ProfilePictureSample project using Xcode from the <iOS SDK>/samples/P
Changes from Previous Versions
1.0 - First release.
-Copyright (c) 2012 Facebook
@@ -21,4 +21,3 @@ Launch the SwitchUsersSample project using Xcode from the <iOS SDK>/samples/Swit
Changes from Previous Versions
1.0 - First release.
-Copyright (c) 2012 Facebook
View
@@ -1,6 +1,18 @@
#!/bin/sh
#
-# Copyright 2004-present Facebook. All Rights Reserved.
+# Copyright 2012 Facebook
+#
+# 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.
#
# This script builds the FBiOSSDK.framework, all samples, and the distribution package.
@@ -1,6 +1,18 @@
#!/bin/sh
#
-# Copyright 2004-present Facebook. All Rights Reserved.
+# Copyright 2012 Facebook
+#
+# 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.
#
# This script builds the FBiOSSDK.framework that is distributed at
@@ -1,6 +1,18 @@
#!/bin/sh
#
-# Copyright 2004-present Facebook. All Rights Reserved.
+# Copyright 2012 Facebook
+#
+# 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.
#
# This script builds the API documentation from source-level comments.
View
@@ -1,6 +1,18 @@
#!/bin/sh
#
-# Copyright 2004-present Facebook. All Rights Reserved.
+# Copyright 2012 Facebook
+#
+# 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.
#
# This script builds the FBiOSSDK.framework that is distributed at
View
@@ -1,6 +1,18 @@
#!/bin/sh
#
-# Copyright 2004-present Facebook. All Rights Reserved.
+# Copyright 2012 Facebook
+#
+# 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.
#
# This script builds all of the samples in the samples subdirectory.
@@ -1,7 +1,21 @@
#!/bin/sh
#
-# Copyright 2004-present Facebook. All Rights Reserved.
+# Copyright 2012 Facebook
#
+# 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.
+#
+
+
# This script builds the Scrumptious sample app for internal distribution.
# It requires a provisioning profile UUID, build number, and file name for
# the final package.
View
@@ -1,6 +1,18 @@
#!/bin/sh
#
-# Copyright 2004-present Facebook. All Rights Reserved.
+# Copyright 2012 Facebook
+#
+# 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.
#
# This script sets up a consistent environment for the other scripts in this directory.
Oops, something went wrong.

0 comments on commit 5a7aff7

Please sign in to comment.