Skip to content
This repository has been archived by the owner on Apr 18, 2019. It is now read-only.

Commit

Permalink
CB-5: Switching license to Apache license.
Browse files Browse the repository at this point in the history
  • Loading branch information
Drew Walters committed Feb 2, 2012
1 parent 64fd138 commit 6068288
Show file tree
Hide file tree
Showing 100 changed files with 1,859 additions and 521 deletions.
332 changes: 268 additions & 64 deletions LICENSE

Large diffs are not rendered by default.

8 changes: 8 additions & 0 deletions NOTICE
Original file line number Original file line Diff line number Diff line change
@@ -0,0 +1,8 @@
Apache Cordova
Copyright 2012 The Apache Software Foundation

This product includes software developed by
The Apache Software Foundation (http://www.apache.org)

This product includes software developed by
Ant-Contrib project (http://sourceforge.net/projects/ant-contrib).
Original file line number Original file line Diff line number Diff line change
@@ -1,6 +1,20 @@
/* /*
* PhoneGap is available under *either* the terms of the modified BSD license *or* the * Licensed to the Apache Software Foundation (ASF) under one
* MIT License (2008). See http://opensource.org/licenses/alphabetical for full text. * 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.
* *
* Copyright (c) 2011, Research In Motion Limited. * Copyright (c) 2011, Research In Motion Limited.
*/ */
Expand Down
20 changes: 16 additions & 4 deletions framework/ext/src/com/phonegap/PhoneGapExtension.java
Original file line number Original file line Diff line number Diff line change
@@ -1,9 +1,21 @@
/* /*
* PhoneGap is available under *either* the terms of the modified BSD license *or* the * Licensed to the Apache Software Foundation (ASF) under one
* MIT License (2008). See http://opensource.org/licenses/alphabetical for full text. * 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.
* *
* Copyright (c) 2005-2010, Nitobi Software Inc.
* Copyright (c) 2010, IBM Corporation
* Copyright (c) 2011, Research In Motion Limited. * Copyright (c) 2011, Research In Motion Limited.
*/ */
package com.phonegap; package com.phonegap;
Expand Down
21 changes: 16 additions & 5 deletions framework/ext/src/com/phonegap/accelerometer/Accelerometer.java
Original file line number Original file line Diff line number Diff line change
@@ -1,9 +1,20 @@
/* /*
* PhoneGap is available under *either* the terms of the modified BSD license *or* the * Licensed to the Apache Software Foundation (ASF) under one
* MIT License (2008). See http://opensource.org/licenses/alphabetical for full text. * or more contributor license agreements. See the NOTICE file
* * distributed with this work for additional information
* Copyright (c) 2005-2010, Nitobi Software Inc. * regarding copyright ownership. The ASF licenses this file
* Copyright (c) 2010, IBM Corporation * 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.
*/ */
package com.phonegap.accelerometer; package com.phonegap.accelerometer;


Expand Down
21 changes: 16 additions & 5 deletions framework/ext/src/com/phonegap/api/IPlugin.java
Original file line number Original file line Diff line number Diff line change
@@ -1,9 +1,20 @@
/* /*
* PhoneGap is available under *either* the terms of the modified BSD license *or* the * Licensed to the Apache Software Foundation (ASF) under one
* MIT License (2008). See http://opensource.org/licenses/alphabetical for full text. * or more contributor license agreements. See the NOTICE file
* * distributed with this work for additional information
* Copyright (c) 2005-2010, Nitobi Software Inc. * regarding copyright ownership. The ASF licenses this file
* Copyright (c) 2010, IBM Corporation * 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.
*/ */
package com.phonegap.api; package com.phonegap.api;


Expand Down
21 changes: 16 additions & 5 deletions framework/ext/src/com/phonegap/api/Plugin.java
Original file line number Original file line Diff line number Diff line change
@@ -1,9 +1,20 @@
/* /*
* PhoneGap is available under *either* the terms of the modified BSD license *or* the * Licensed to the Apache Software Foundation (ASF) under one
* MIT License (2008). See http://opensource.org/licenses/alphabetical for full text. * or more contributor license agreements. See the NOTICE file
* * distributed with this work for additional information
* Copyright (c) 2005-2010, Nitobi Software Inc. * regarding copyright ownership. The ASF licenses this file
* Copyright (c) 2010, IBM Corporation * 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.
*/ */
package com.phonegap.api; package com.phonegap.api;


Expand Down
23 changes: 17 additions & 6 deletions framework/ext/src/com/phonegap/api/PluginManager.java
Original file line number Original file line Diff line number Diff line change
@@ -1,9 +1,20 @@
/* /*
* PhoneGap is available under *either* the terms of the modified BSD license *or* the * Licensed to the Apache Software Foundation (ASF) under one
* MIT License (2008). See http://opensource.org/licenses/alphabetical for full text. * or more contributor license agreements. See the NOTICE file
* * distributed with this work for additional information
* Copyright (c) 2005-2010, Nitobi Software Inc. * regarding copyright ownership. The ASF licenses this file
* Copyright (c) 2010, IBM Corporation * 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.
*/ */
package com.phonegap.api; package com.phonegap.api;


Expand Down Expand Up @@ -155,4 +166,4 @@ public void destroy() {
public String getClassForService(String serviceName) { public String getClassForService(String serviceName) {
return (String)this.services.get(serviceName); return (String)this.services.get(serviceName);
} }
} }
21 changes: 16 additions & 5 deletions framework/ext/src/com/phonegap/api/PluginManagerFunction.java
Original file line number Original file line Diff line number Diff line change
@@ -1,9 +1,20 @@
/* /*
* PhoneGap is available under *either* the terms of the modified BSD license *or* the * Licensed to the Apache Software Foundation (ASF) under one
* MIT License (2008). See http://opensource.org/licenses/alphabetical for full text. * or more contributor license agreements. See the NOTICE file
* * distributed with this work for additional information
* Copyright (c) 2005-2010, Nitobi Software Inc. * regarding copyright ownership. The ASF licenses this file
* Copyright (c) 2010, IBM Corporation * 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.
*/ */
package com.phonegap.api; package com.phonegap.api;


Expand Down
21 changes: 16 additions & 5 deletions framework/ext/src/com/phonegap/api/PluginResult.java
Original file line number Original file line Diff line number Diff line change
@@ -1,9 +1,20 @@
/* /*
* PhoneGap is available under *either* the terms of the modified BSD license *or* the * Licensed to the Apache Software Foundation (ASF) under one
* MIT License (2008). See http://opensource.org/licenses/alphabetical for full text. * or more contributor license agreements. See the NOTICE file
* * distributed with this work for additional information
* Copyright (c) 2005-2010, Nitobi Software Inc. * regarding copyright ownership. The ASF licenses this file
* Copyright (c) 2010, IBM Corporation * 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.
*/ */
package com.phonegap.api; package com.phonegap.api;


Expand Down
19 changes: 15 additions & 4 deletions framework/ext/src/com/phonegap/app/App.java
Original file line number Original file line Diff line number Diff line change
@@ -1,9 +1,20 @@
/* /*
* PhoneGap is available under *either* the terms of the modified BSD license *or* the * Licensed to the Apache Software Foundation (ASF) under one
* MIT License (2008). See http://opensource.org/licenses/alphabetical for full text. * 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
* *
* Copyright (c) 2005-2011, Nitobi Software Inc. * http://www.apache.org/licenses/LICENSE-2.0
* Copyright (c) 2010-2011, IBM Corporation *
* 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.
*/ */
package com.phonegap.app; package com.phonegap.app;


Expand Down
19 changes: 15 additions & 4 deletions framework/ext/src/com/phonegap/battery/Battery.java
Original file line number Original file line Diff line number Diff line change
@@ -1,9 +1,20 @@
/* /*
* PhoneGap is available under *either* the terms of the modified BSD license *or* the * Licensed to the Apache Software Foundation (ASF) under one
* MIT License (2008). See http://opensource.org/licenses/alphabetical for full text. * 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
* *
* Copyright (c) 2005-2010, Nitobi Software Inc. * http://www.apache.org/licenses/LICENSE-2.0
* Copyright (c) 2010-2011, IBM Corporation *
* 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.
*/ */
package com.phonegap.battery; package com.phonegap.battery;


Expand Down
21 changes: 16 additions & 5 deletions framework/ext/src/com/phonegap/camera/Camera.java
Original file line number Original file line Diff line number Diff line change
@@ -1,9 +1,20 @@
/* /*
* PhoneGap is available under *either* the terms of the modified BSD license *or* the * Licensed to the Apache Software Foundation (ASF) under one
* MIT License (2008). See http://opensource.org/licenses/alphabetical for full text. * or more contributor license agreements. See the NOTICE file
* * distributed with this work for additional information
* Copyright (c) 2005-2011, Nitobi Software Inc. * regarding copyright ownership. The ASF licenses this file
* Copyright (c) 2010-2011, IBM Corporation * 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.
*/ */
package com.phonegap.camera; package com.phonegap.camera;


Expand Down
19 changes: 15 additions & 4 deletions framework/ext/src/com/phonegap/camera/CameraOptions.java
Original file line number Original file line Diff line number Diff line change
@@ -1,9 +1,20 @@
/* /*
* PhoneGap is available under *either* the terms of the modified BSD license *or* the * Licensed to the Apache Software Foundation (ASF) under one
* MIT License (2008). See http://opensource.org/licenses/alphabetical for full text. * 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
* *
* Copyright (c) 2005-2011, Nitobi Software Inc. * http://www.apache.org/licenses/LICENSE-2.0
* Copyright (c) 2010-2011, IBM Corporation *
* 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.
*/ */
package com.phonegap.camera; package com.phonegap.camera;


Expand Down
23 changes: 17 additions & 6 deletions framework/ext/src/com/phonegap/camera/PhotoListener.java
Original file line number Original file line Diff line number Diff line change
@@ -1,10 +1,21 @@
/* /*
* PhoneGap is available under *either* the terms of the modified BSD license *or* the * Licensed to the Apache Software Foundation (ASF) under one
* MIT License (2008). See http://opensource.org/licenses/alphabetical for full text. * or more contributor license agreements. See the NOTICE file
* * distributed with this work for additional information
* Copyright (c) 2005-2011, Nitobi * regarding copyright ownership. The ASF licenses this file
* Copyright (c) 2010-2011, IBM Corporation * 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.
*/
package com.phonegap.camera; package com.phonegap.camera;


import net.rim.device.api.io.file.FileSystemJournal; import net.rim.device.api.io.file.FileSystemJournal;
Expand Down
20 changes: 16 additions & 4 deletions framework/ext/src/com/phonegap/device/Device.java
Original file line number Original file line Diff line number Diff line change
@@ -1,9 +1,21 @@
/* /*
* PhoneGap is available under *either* the terms of the modified BSD license *or* the * Licensed to the Apache Software Foundation (ASF) under one
* MIT License (2008). See http://opensource.org/licenses/alphabetical for full text. * 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.
* *
* Copyright (c) 2005-2011, Nitobi Software Inc.
* Copyright (c) 2010-2011, IBM Corporation
* Copyright (c) 2011, Research In Motion Limited. * Copyright (c) 2011, Research In Motion Limited.
*/ */
package com.phonegap.device; package com.phonegap.device;
Expand Down
Loading

0 comments on commit 6068288

Please sign in to comment.