You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by be...@apache.org on 2012/01/18 17:16:15 UTC
[2/2] Refs #cb-7 Update source headers to apache license
http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/blob/0b9e3500/PhoneGapLib/Classes/PGViewController.m
----------------------------------------------------------------------
diff --git a/PhoneGapLib/Classes/PGViewController.m b/PhoneGapLib/Classes/PGViewController.m
index 96a4e28..c0b51bf 100644
--- a/PhoneGapLib/Classes/PGViewController.m
+++ b/PhoneGapLib/Classes/PGViewController.m
@@ -1,9 +1,21 @@
-//
-// PGViewController.m
-//
-// Created by Jesse MacFadyen on 11-12-08.
-// Copyright 2011 Nitobi. All rights reserved.
-//
+/*
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you 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 "PGViewController.h"
#import "PGPlugin.h"
http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/blob/0b9e3500/PhoneGapLib/Classes/PGWhitelist.h
----------------------------------------------------------------------
diff --git a/PhoneGapLib/Classes/PGWhitelist.h b/PhoneGapLib/Classes/PGWhitelist.h
index 89fcb68..53686e6 100644
--- a/PhoneGapLib/Classes/PGWhitelist.h
+++ b/PhoneGapLib/Classes/PGWhitelist.h
@@ -1,10 +1,21 @@
-//
-// PGWhitelist.h
-// PhoneGapLib
-//
-// Created by Shazron Abdullah on 11-08-25.
-// Copyright 2011 __MyCompanyName__. All rights reserved.
-//
+/*
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you 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 <Foundation/Foundation.h>
http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/blob/0b9e3500/PhoneGapLib/Classes/PGWhitelist.m
----------------------------------------------------------------------
diff --git a/PhoneGapLib/Classes/PGWhitelist.m b/PhoneGapLib/Classes/PGWhitelist.m
index 0c41df6..8e7cc4b 100644
--- a/PhoneGapLib/Classes/PGWhitelist.m
+++ b/PhoneGapLib/Classes/PGWhitelist.m
@@ -1,10 +1,21 @@
-//
-// PGWhitelist.m
-// PhoneGapLib
-//
-// Created by Shazron Abdullah on 11-08-25.
-// Copyright 2011 __MyCompanyName__. All rights reserved.
-//
+/*
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you 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 "PGWhitelist.h"
http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/blob/0b9e3500/PhoneGapLib/Classes/PhoneGapDelegate.h
----------------------------------------------------------------------
diff --git a/PhoneGapLib/Classes/PhoneGapDelegate.h b/PhoneGapLib/Classes/PhoneGapDelegate.h
index edfa0f7..d1f491c 100755
--- a/PhoneGapLib/Classes/PhoneGapDelegate.h
+++ b/PhoneGapLib/Classes/PhoneGapDelegate.h
@@ -1,9 +1,20 @@
/*
- * PhoneGap is available under *either* the terms of the modified BSD license *or* the
- * MIT License (2008). See http://opensource.org/licenses/alphabetical for full text.
- *
- * Copyright (c) 2005-2010, Nitobi Software Inc.
- * Copyright (c) 2010, IBM Corporation
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you 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>
http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/blob/0b9e3500/PhoneGapLib/Classes/PhoneGapDelegate.m
----------------------------------------------------------------------
diff --git a/PhoneGapLib/Classes/PhoneGapDelegate.m b/PhoneGapLib/Classes/PhoneGapDelegate.m
index 048a27e..b83db91 100755
--- a/PhoneGapLib/Classes/PhoneGapDelegate.m
+++ b/PhoneGapLib/Classes/PhoneGapDelegate.m
@@ -1,9 +1,20 @@
/*
- * PhoneGap is available under *either* the terms of the modified BSD license *or* the
- * MIT License (2008). See http://opensource.org/licenses/alphabetical for full text.
- *
- * Copyright (c) 2005-2010, Nitobi Software Inc.
- * Copyright (c) 2010, IBM Corporation
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you 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>
http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/blob/0b9e3500/PhoneGapLib/Classes/PhoneGapViewController.h
----------------------------------------------------------------------
diff --git a/PhoneGapLib/Classes/PhoneGapViewController.h b/PhoneGapLib/Classes/PhoneGapViewController.h
index 16acd67..5e3a592 100755
--- a/PhoneGapLib/Classes/PhoneGapViewController.h
+++ b/PhoneGapLib/Classes/PhoneGapViewController.h
@@ -1,8 +1,20 @@
/*
- * PhoneGap is available under *either* the terms of the modified BSD license *or* the
- * MIT License (2008). See http://opensource.org/licenses/alphabetical for full text.
- *
- * Copyright (c) 2005-2010, Nitobi Software Inc.
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you 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.
*/
http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/blob/0b9e3500/PhoneGapLib/Classes/PhoneGapViewController.m
----------------------------------------------------------------------
diff --git a/PhoneGapLib/Classes/PhoneGapViewController.m b/PhoneGapLib/Classes/PhoneGapViewController.m
index 1db03e1..8dee206 100755
--- a/PhoneGapLib/Classes/PhoneGapViewController.m
+++ b/PhoneGapLib/Classes/PhoneGapViewController.m
@@ -1,8 +1,20 @@
/*
- * PhoneGap is available under *either* the terms of the modified BSD license *or* the
- * MIT License (2008). See http://opensource.org/licenses/alphabetical for full text.
- *
- * Copyright (c) 2005-2010, Nitobi Software Inc.
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you 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.
*/
http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/blob/0b9e3500/PhoneGapLib/Classes/PluginResult.h
----------------------------------------------------------------------
diff --git a/PhoneGapLib/Classes/PluginResult.h b/PhoneGapLib/Classes/PluginResult.h
index e0ba1d5..0cec738 100644
--- a/PhoneGapLib/Classes/PluginResult.h
+++ b/PhoneGapLib/Classes/PluginResult.h
@@ -1,9 +1,20 @@
/*
- * PhoneGap is available under *either* the terms of the modified BSD license *or* the
- * MIT License (2008). See http://opensource.org/licenses/alphabetical for full text.
- *
- * Copyright (c) 2005-2011, Nitobi Software Inc.
- * Copyright 2011, IBM.
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you 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 <Foundation/Foundation.h>
http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/blob/0b9e3500/PhoneGapLib/Classes/PluginResult.m
----------------------------------------------------------------------
diff --git a/PhoneGapLib/Classes/PluginResult.m b/PhoneGapLib/Classes/PluginResult.m
index 16c0ee0..8e08585 100644
--- a/PhoneGapLib/Classes/PluginResult.m
+++ b/PhoneGapLib/Classes/PluginResult.m
@@ -1,12 +1,22 @@
/*
- * PhoneGap is available under *either* the terms of the modified BSD license *or* the
- * MIT License (2008). See http://opensource.org/licenses/alphabetical for full text.
- *
- * Copyright (c) 2005-2011, Nitobi Software Inc.
- * Copyright 2011, IBM.
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you 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 "PluginResult.h"
#import "JSONKit.h"
#import "PGDebug.h"
http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/blob/0b9e3500/PhoneGapLib/Classes/Sound.h
----------------------------------------------------------------------
diff --git a/PhoneGapLib/Classes/Sound.h b/PhoneGapLib/Classes/Sound.h
index dea1727..3f1335a 100755
--- a/PhoneGapLib/Classes/Sound.h
+++ b/PhoneGapLib/Classes/Sound.h
@@ -1,8 +1,20 @@
/*
- * PhoneGap is available under *either* the terms of the modified BSD license *or* the
- * MIT License (2008). See http://opensource.org/licenses/alphabetical for full text.
- *
- * Copyright (c) 2005-2010, Nitobi Software Inc.
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you 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.
*/
http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/blob/0b9e3500/PhoneGapLib/Classes/Sound.m
----------------------------------------------------------------------
diff --git a/PhoneGapLib/Classes/Sound.m b/PhoneGapLib/Classes/Sound.m
index ee4a5c6..f262137 100644
--- a/PhoneGapLib/Classes/Sound.m
+++ b/PhoneGapLib/Classes/Sound.m
@@ -1,8 +1,20 @@
/*
- * PhoneGap is available under *either* the terms of the modified BSD license *or* the
- * MIT License (2008). See http://opensource.org/licenses/alphabetical for full text.
- *
- * Copyright (c) 2005-2010, Nitobi Software Inc.
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you 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.
*/
http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/blob/0b9e3500/PhoneGapLib/Classes/UIGapView.h
----------------------------------------------------------------------
diff --git a/PhoneGapLib/Classes/UIGapView.h b/PhoneGapLib/Classes/UIGapView.h
index 45277f4..5cdfa4f 100644
--- a/PhoneGapLib/Classes/UIGapView.h
+++ b/PhoneGapLib/Classes/UIGapView.h
@@ -1,10 +1,21 @@
-//
-// UIGapView.h
-// BetaGapApp
-//
-// Created by Jesse MacFadyen on 11-01-29.
-// Copyright 2011 RisingJ.com. All rights reserved.
-//
+/*
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you 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>
http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/blob/0b9e3500/PhoneGapLib/Classes/UIGapView.m
----------------------------------------------------------------------
diff --git a/PhoneGapLib/Classes/UIGapView.m b/PhoneGapLib/Classes/UIGapView.m
index efd939c..2ed7f42 100644
--- a/PhoneGapLib/Classes/UIGapView.m
+++ b/PhoneGapLib/Classes/UIGapView.m
@@ -1,10 +1,21 @@
-//
-// UIGapView.m
-// BetaGapApp
-//
-// Created by Jesse MacFadyen on 11-01-29.
-// Copyright 2011 RisingJ.com. All rights reserved.
-//
+/*
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you 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 "UIGapView.h"
http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/blob/0b9e3500/PhoneGapLib/PhoneGapLibTests/MockUIWebview.h
----------------------------------------------------------------------
diff --git a/PhoneGapLib/PhoneGapLibTests/MockUIWebview.h b/PhoneGapLib/PhoneGapLibTests/MockUIWebview.h
index 3cf1815..a368a75 100644
--- a/PhoneGapLib/PhoneGapLibTests/MockUIWebview.h
+++ b/PhoneGapLib/PhoneGapLibTests/MockUIWebview.h
@@ -1,10 +1,21 @@
-//
-// MockUIWebview.h
-// PhoneGapLib
-//
-// Created by Shazron Abdullah on 11-09-08.
-// Copyright 2011 Nitobi Software Inc. All rights reserved.
-//
+/*
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you 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 <Foundation/Foundation.h>
http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/blob/0b9e3500/PhoneGapLib/PhoneGapLibTests/MockUIWebview.m
----------------------------------------------------------------------
diff --git a/PhoneGapLib/PhoneGapLibTests/MockUIWebview.m b/PhoneGapLib/PhoneGapLibTests/MockUIWebview.m
index 95899c2..4d4e039 100644
--- a/PhoneGapLib/PhoneGapLibTests/MockUIWebview.m
+++ b/PhoneGapLib/PhoneGapLibTests/MockUIWebview.m
@@ -1,10 +1,21 @@
-//
-// MockUIWebview.m
-// PhoneGapLib
-//
-// Created by Shazron Abdullah on 11-09-08.
-// Copyright 2011 Nitobi Software Inc. All rights reserved.
-//
+/*
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you 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 "MockUIWebview.h"
http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/blob/0b9e3500/PhoneGapLib/PhoneGapLibTests/PGContactsTests.h
----------------------------------------------------------------------
diff --git a/PhoneGapLib/PhoneGapLibTests/PGContactsTests.h b/PhoneGapLib/PhoneGapLibTests/PGContactsTests.h
index 326ce5c..f382e52 100644
--- a/PhoneGapLib/PhoneGapLibTests/PGContactsTests.h
+++ b/PhoneGapLib/PhoneGapLibTests/PGContactsTests.h
@@ -1,11 +1,21 @@
-//
-// PGContactsTests.h
-// PhoneGapLib
-//
-// Created by Shazron Abdullah on 11-09-08.
-// Copyright 2011 Nitobi Software Inc. All rights reserved.
-//
-
+/*
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you 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 <SenTestingKit/SenTestingKit.h>
http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/blob/0b9e3500/PhoneGapLib/PhoneGapLibTests/PGContactsTests.m
----------------------------------------------------------------------
diff --git a/PhoneGapLib/PhoneGapLibTests/PGContactsTests.m b/PhoneGapLib/PhoneGapLibTests/PGContactsTests.m
index f8c0952..fc3f559 100644
--- a/PhoneGapLib/PhoneGapLibTests/PGContactsTests.m
+++ b/PhoneGapLib/PhoneGapLibTests/PGContactsTests.m
@@ -1,10 +1,21 @@
-//
-// PGContactsTests.m
-// PhoneGapLib
-//
-// Created by Shazron Abdullah on 11-09-08.
-// Copyright Nitobi Software Inc. 2011 . All rights reserved.
-//
+/*
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you 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 "PGContactsTests.h"
#import "MockUIWebview.h"
http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/blob/0b9e3500/PhoneGapLib/PhoneGapLibTests/PGWhitelistTests.h
----------------------------------------------------------------------
diff --git a/PhoneGapLib/PhoneGapLibTests/PGWhitelistTests.h b/PhoneGapLib/PhoneGapLibTests/PGWhitelistTests.h
index f74db00..6cd2428 100644
--- a/PhoneGapLib/PhoneGapLibTests/PGWhitelistTests.h
+++ b/PhoneGapLib/PhoneGapLibTests/PGWhitelistTests.h
@@ -1,11 +1,21 @@
-//
-// PGWhitelistTests.h
-// PhoneGapLib
-//
-// Created by Shazron Abdullah on 11-09-01.
-// Copyright 2011 Nitobi Software Inc. All rights reserved.
-//
-
+/*
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you 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 <SenTestingKit/SenTestingKit.h>
http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/blob/0b9e3500/PhoneGapLib/PhoneGapLibTests/PGWhitelistTests.m
----------------------------------------------------------------------
diff --git a/PhoneGapLib/PhoneGapLibTests/PGWhitelistTests.m b/PhoneGapLib/PhoneGapLibTests/PGWhitelistTests.m
index bb696cf..90566ba 100644
--- a/PhoneGapLib/PhoneGapLibTests/PGWhitelistTests.m
+++ b/PhoneGapLib/PhoneGapLibTests/PGWhitelistTests.m
@@ -1,10 +1,21 @@
-//
-// PGWhitelistTests.m
-// PhoneGapLib
-//
-// Created by Shazron Abdullah on 11-09-01.
-// Copyright 2011 Nitobi Software Inc. All rights reserved.
-//
+/*
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you 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 "PGWhitelistTests.h"
#import "PGWhitelist.h"
http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/blob/0b9e3500/PhoneGapLib/PhoneGapLibTests/PluginResultJSONSerializationTests.h
----------------------------------------------------------------------
diff --git a/PhoneGapLib/PhoneGapLibTests/PluginResultJSONSerializationTests.h b/PhoneGapLib/PhoneGapLibTests/PluginResultJSONSerializationTests.h
index 31192b5..c975963 100644
--- a/PhoneGapLib/PhoneGapLibTests/PluginResultJSONSerializationTests.h
+++ b/PhoneGapLib/PhoneGapLibTests/PluginResultJSONSerializationTests.h
@@ -1,9 +1,20 @@
/*
- * PhoneGap is available under *either* the terms of the modified BSD license *or* the
- * MIT License (2008). See http://opensource.org/licenses/alphabetical for full text.
- *
- * Created by David Hu on 9/1/11.
- * Copyright (c) 2005-2011, Nitobi Software Inc.
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you 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 <SenTestingKit/SenTestingKit.h>
http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/blob/0b9e3500/PhoneGapLib/PhoneGapLibTests/PluginResultJSONSerializationTests.m
----------------------------------------------------------------------
diff --git a/PhoneGapLib/PhoneGapLibTests/PluginResultJSONSerializationTests.m b/PhoneGapLib/PhoneGapLibTests/PluginResultJSONSerializationTests.m
index 0e3ba23..5fabedb 100644
--- a/PhoneGapLib/PhoneGapLibTests/PluginResultJSONSerializationTests.m
+++ b/PhoneGapLib/PhoneGapLibTests/PluginResultJSONSerializationTests.m
@@ -1,9 +1,20 @@
/*
- * PhoneGap is available under *either* the terms of the modified BSD license *or* the
- * MIT License (2008). See http://opensource.org/licenses/alphabetical for full text.
- *
- * Created by David Hu on 9/1/11.
- * Copyright (c) 2005-2011, Nitobi Software Inc.
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you 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 <Foundation/Foundation.h>
http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/blob/0b9e3500/PhoneGapLib/javascripts/core/battery.js
----------------------------------------------------------------------
diff --git a/PhoneGapLib/javascripts/core/battery.js b/PhoneGapLib/javascripts/core/battery.js
index 7a353ac..05bc9f4 100644
--- a/PhoneGapLib/javascripts/core/battery.js
+++ b/PhoneGapLib/javascripts/core/battery.js
@@ -1,10 +1,3 @@
-/*
- * PhoneGap is available under *either* the terms of the modified BSD license *or* the
- * MIT License (2008). See http://opensource.org/licenses/alphabetical for full text.
- *
- * Copyright (c) 2005-2010, Nitobi Software Inc.
- * Copyright (c) 2010-2011, IBM Corporation
- */
if (!PhoneGap.hasResource("battery")) {
PhoneGap.addResource("battery");
http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/blob/0b9e3500/PhoneGapLib/javascripts/core/filetransfer.js
----------------------------------------------------------------------
diff --git a/PhoneGapLib/javascripts/core/filetransfer.js b/PhoneGapLib/javascripts/core/filetransfer.js
index 076bf93..c4c662e 100644
--- a/PhoneGapLib/javascripts/core/filetransfer.js
+++ b/PhoneGapLib/javascripts/core/filetransfer.js
@@ -1,8 +1,4 @@
/*
- * PhoneGap is available under *either* the terms of the modified BSD license *or* the
- * MIT License (2008). See http://opensource.org/licenses/alphabetical for full text.
- *
- * Copyright (c) 2005-2011, Nitobi Software Inc.
* Copyright (c) 2011, Matt Kane
*/
http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/blob/0b9e3500/PhoneGapLib/javascripts/core/license.js
----------------------------------------------------------------------
diff --git a/PhoneGapLib/javascripts/core/license.js b/PhoneGapLib/javascripts/core/license.js
index fe5b05a..58ca144 100644
--- a/PhoneGapLib/javascripts/core/license.js
+++ b/PhoneGapLib/javascripts/core/license.js
@@ -1,11 +1,20 @@
/*
- * PhoneGap v{VERSION} is available under *either* the terms of the modified BSD license *or* the
- * MIT License (2008). See http://opensource.org/licenses/alphabetical for full text.
- *
- * Copyright (c) 2005-2010, Nitobi Software Inc.
- * Copyright (c) 2010-2011, IBM Corporation
- * Copyright (c) 2011, Codevise Solutions Ltd.
- * Copyright (c) 2011, Proyectos Equis Ka, S.L.
- *
- */
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you 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.
+*/
+
http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/blob/0b9e3500/PhoneGapLib/javascripts/core/media.js
----------------------------------------------------------------------
diff --git a/PhoneGapLib/javascripts/core/media.js b/PhoneGapLib/javascripts/core/media.js
index 2534dfc..8d7839d 100644
--- a/PhoneGapLib/javascripts/core/media.js
+++ b/PhoneGapLib/javascripts/core/media.js
@@ -2,14 +2,6 @@
if (!PhoneGap.hasResource("media")) {
PhoneGap.addResource("media");
-/*
- * PhoneGap is available under *either* the terms of the modified BSD license *or* the
- * MIT License (2008). See http://opensource.org/licenses/alphabetical for full text.
- *
- * Copyright (c) 2005-2010, Nitobi Software Inc.
- * Copyright (c) 2010,2011 IBM Corporation
- */
-
/**
* List of media objects.
* PRIVATE
http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/blob/0b9e3500/PhoneGapLib/javascripts/core/phonegap.js.base
----------------------------------------------------------------------
diff --git a/PhoneGapLib/javascripts/core/phonegap.js.base b/PhoneGapLib/javascripts/core/phonegap.js.base
index ce554cf..f56bafa 100644
--- a/PhoneGapLib/javascripts/core/phonegap.js.base
+++ b/PhoneGapLib/javascripts/core/phonegap.js.base
@@ -1,3 +1,8 @@
+/*
+ * Some base contributions
+ * Copyright (c) 2011, Proyectos Equis Ka, S.L.
+ */
+
if (typeof PhoneGap === "undefined") {
if (typeof(DeviceInfo) !== 'object'){
http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/blob/0b9e3500/Uninstall PhoneGap.applescript
----------------------------------------------------------------------
diff --git a/Uninstall PhoneGap.applescript b/Uninstall PhoneGap.applescript
index 94abf01..9b1e762 100644
--- a/Uninstall PhoneGap.applescript
+++ b/Uninstall PhoneGap.applescript
@@ -1,6 +1,19 @@
--- PhoneGap Uninstaller for Mac OS X
--- MIT Licensed
--- Copyright 2011 Nitobi Software Inc.
+-- Licensed to the Apache Software Foundation (ASF) under one
+-- or more contributor license agreements. See the NOTICE file
+-- distributed with this work for additional information
+-- regarding copyright ownership. The ASF licenses this file
+-- to you 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.
set question to display dialog "Uninstall PhoneGap?" buttons {"Yes", "No"} default button 2 with icon caution
set answer to button returned of question