Improve documentation of thirdparty code snippets

(cherry picked from commit c8aea60324)
This commit is contained in:
Rémi Verschelde 2017-05-06 23:38:44 +02:00
parent 4a1c9de869
commit d432ad1e17
36 changed files with 256 additions and 31 deletions

View file

@ -1,2 +1,3 @@
Godot Logo (c) Andrea Calabró, distributed under the terms of the CC By License:
https://creativecommons.org/licenses/by/3.0/legalcode
Godot Logo (C) Andrea Calabró
Distributed under the terms of the Creative Commons Attribution License
version 3.0 (CC-BY 3.0) <https://creativecommons.org/licenses/by/3.0/legalcode>.

View file

@ -1,5 +1,6 @@
# Bengali translation of the Godot Engine editor
# Copyright (C) 2016-2017 Juan Linietsky, Ariel Manzur and the Godot community
# Copyright (C) 2007-2017 Juan Linietsky, Ariel Manzur
# Copyright (C) 2014-2017 Godot Engine contributors (cf. AUTHORS.md)
# This file is distributed under the same license as the Godot source code.
#
# Abu Md. Maruf Sarker <maruf.webdev@gmail.com>, 2016-2017.

View file

@ -1,5 +1,6 @@
# Catalan translation of the Godot Engine editor
# Copyright (C) 2016-2017 Juan Linietsky, Ariel Manzur and the Godot community
# Copyright (C) 2007-2017 Juan Linietsky, Ariel Manzur
# Copyright (C) 2014-2017 Godot Engine contributors (cf. AUTHORS.md)
# This file is distributed under the same license as the Godot source code.
#
# Roger BR <drai_kin@hotmail.com>, 2016.

View file

@ -1,5 +1,6 @@
# Czech translation of the Godot Engine editor
# Copyright (C) 2016-2017 Juan Linietsky, Ariel Manzur and the Godot community
# Copyright (C) 2007-2017 Juan Linietsky, Ariel Manzur
# Copyright (C) 2014-2017 Godot Engine contributors (cf. AUTHORS.md)
# This file is distributed under the same license as the Godot source code.
#
# Jan 'spl!te' Kondelík <j.kondelik@centrum.cz>, 2016.

View file

@ -1,5 +1,6 @@
# Danish translation of the Godot Engine editor
# Copyright (C) 2016-2017 Juan Linietsky, Ariel Manzur and the Godot community
# Copyright (C) 2007-2017 Juan Linietsky, Ariel Manzur
# Copyright (C) 2014-2017 Godot Engine contributors (cf. AUTHORS.md)
# This file is distributed under the same license as the Godot source code.
#
# David Lamhauge <davidlamhauge@gmail.com>, 2016.

View file

@ -1,5 +1,6 @@
# German translation of the Godot Engine editor
# Copyright (C) 2016-2017 Juan Linietsky, Ariel Manzur and the Godot community
# Copyright (C) 2007-2017 Juan Linietsky, Ariel Manzur
# Copyright (C) 2014-2017 Godot Engine contributors (cf. AUTHORS.md)
# This file is distributed under the same license as the Godot source code.
#
# Alexander Mahr <alex.mahr@gmail.com>, 2016.

View file

@ -1,5 +1,6 @@
# LANGUAGE translation of the Godot Engine editor
# Copyright (C) 2016-2017 Juan Linietsky, Ariel Manzur and the Godot community
# Copyright (C) 2007-2017 Juan Linietsky, Ariel Manzur
# Copyright (C) 2014-2017 Godot Engine contributors (cf. AUTHORS.md)
# This file is distributed under the same license as the Godot source code.
#
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.

View file

@ -1,5 +1,6 @@
# Greek translation of the Godot Engine editor
# Copyright (C) 2016-2017 Juan Linietsky, Ariel Manzur and the Godot community
# Copyright (C) 2007-2017 Juan Linietsky, Ariel Manzur
# Copyright (C) 2014-2017 Godot Engine contributors (cf. AUTHORS.md)
# This file is distributed under the same license as the Godot source code.
#
# gtsiam <gtsiam@windowslive.com>, 2017.

View file

@ -1,5 +1,6 @@
# Spanish translation of the Godot Engine editor
# Copyright (C) 2016-2017 Juan Linietsky, Ariel Manzur and the Godot community
# Copyright (C) 2007-2017 Juan Linietsky, Ariel Manzur
# Copyright (C) 2014-2017 Godot Engine contributors (cf. AUTHORS.md)
# This file is distributed under the same license as the Godot source code.
#
# Alejandro Alvarez <eliluminado00@gmail.com>, 2017.

View file

@ -1,5 +1,6 @@
# Spanish (Argentina) translation of the Godot Engine editor
# Copyright (C) 2016-2017 Juan Linietsky, Ariel Manzur and the Godot community
# Copyright (C) 2007-2017 Juan Linietsky, Ariel Manzur
# Copyright (C) 2014-2017 Godot Engine contributors (cf. AUTHORS.md)
# This file is distributed under the same license as the Godot source code.
#
# Lisandro Lorea <lisandrolorea@gmail.com>, 2016-2017.

View file

@ -38,7 +38,8 @@ unique_str = []
unique_loc = {}
main_po = """
# LANGUAGE translation of the Godot Engine editor
# Copyright (C) 2016-2017 Juan Linietsky, Ariel Manzur and the Godot community
# Copyright (C) 2007-2017 Juan Linietsky, Ariel Manzur
# Copyright (C) 2014-2017 Godot Engine contributors (cf. AUTHORS.md)
# This file is distributed under the same license as the Godot source code.
#
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.

View file

@ -1,5 +1,6 @@
# Persian translation of the Godot Engine editor
# Copyright (C) 2016-2017 Juan Linietsky, Ariel Manzur and the Godot community
# Copyright (C) 2007-2017 Juan Linietsky, Ariel Manzur
# Copyright (C) 2014-2017 Godot Engine contributors (cf. AUTHORS.md)
# This file is distributed under the same license as the Godot source code.
#
# alabd14313 <alabd14313@yahoo.com>, 2016.

View file

@ -1,5 +1,6 @@
# French translation of the Godot Engine editor
# Copyright (C) 2016-2017 Juan Linietsky, Ariel Manzur and the Godot community
# Copyright (C) 2007-2017 Juan Linietsky, Ariel Manzur
# Copyright (C) 2014-2017 Godot Engine contributors (cf. AUTHORS.md)
# This file is distributed under the same license as the Godot source code.
#
# Brice <bbric@free.fr>, 2016.

View file

@ -1,5 +1,6 @@
# Indonesian translation of the Godot Engine editor
# Copyright (C) 2016-2017 Juan Linietsky, Ariel Manzur and the Godot community
# Copyright (C) 2007-2017 Juan Linietsky, Ariel Manzur
# Copyright (C) 2014-2017 Godot Engine contributors (cf. AUTHORS.md)
# This file is distributed under the same license as the Godot source code.
#
# Abdul Aziz Muslim Alqudsy <abdul.aziz.muslim.alqudsy@gmail.com>, 2016.

View file

@ -1,5 +1,6 @@
# Italian translation of the Godot Engine editor
# Copyright (C) 2016-2017 Juan Linietsky, Ariel Manzur and the Godot community
# Copyright (C) 2007-2017 Juan Linietsky, Ariel Manzur
# Copyright (C) 2014-2017 Godot Engine contributors (cf. AUTHORS.md)
# This file is distributed under the same license as the Godot source code.
#
# Dario Bonfanti <bonfi.96@hotmail.it>, 2016-2017.

View file

@ -1,5 +1,6 @@
# Korean translation of the Godot Engine editor
# Copyright (C) 2016-2017 Juan Linietsky, Ariel Manzur and the Godot community
# Copyright (C) 2007-2017 Juan Linietsky, Ariel Manzur
# Copyright (C) 2014-2017 Godot Engine contributors (cf. AUTHORS.md)
# This file is distributed under the same license as the Godot source code.
#
# 박한얼 (volzhs) <volzhs@gmail.com>, 2016-2017.

View file

@ -1,5 +1,6 @@
# Dutch translation of the Godot Engine editor
# Copyright (C) 2016-2017 Juan Linietsky, Ariel Manzur and the Godot community
# Copyright (C) 2007-2017 Juan Linietsky, Ariel Manzur
# Copyright (C) 2014-2017 Godot Engine contributors (cf. AUTHORS.md)
# This file is distributed under the same license as the Godot source code.
#
# Aram Nap <xyphex.aram@gmail.com>, 2017

View file

@ -1,5 +1,6 @@
# Polish translation of the Godot Engine editor
# Copyright (C) 2016-2017 Juan Linietsky, Ariel Manzur and the Godot community
# Copyright (C) 2007-2017 Juan Linietsky, Ariel Manzur
# Copyright (C) 2014-2017 Godot Engine contributors (cf. AUTHORS.md)
# This file is distributed under the same license as the Godot source code.
#
# 8-bit Pixel <dawdejw@gmail.com>, 2016.

View file

@ -1,5 +1,6 @@
# Portuguese (Brazil) translation of the Godot Engine editor
# Copyright (C) 2016-2017 Juan Linietsky, Ariel Manzur and the Godot community
# Copyright (C) 2007-2017 Juan Linietsky, Ariel Manzur
# Copyright (C) 2014-2017 Godot Engine contributors (cf. AUTHORS.md)
# This file is distributed under the same license as the Godot source code.
#
# Allyson Souza <allyson_as@outlook.com>, 2017.

View file

@ -1,5 +1,6 @@
# Russian translation of the Godot Engine editor
# Copyright (C) 2016-2017 Juan Linietsky, Ariel Manzur and the Godot community
# Copyright (C) 2007-2017 Juan Linietsky, Ariel Manzur
# Copyright (C) 2014-2017 Godot Engine contributors (cf. AUTHORS.md)
# This file is distributed under the same license as the Godot source code.
#
# DimOkGamer <dimokgamer@gmail.com>, 2016-2017.

View file

@ -1,5 +1,6 @@
# Thai translation of the Godot Engine editor
# Copyright (C) 2016-2017 Juan Linietsky, Ariel Manzur and the Godot community
# Copyright (C) 2007-2017 Juan Linietsky, Ariel Manzur
# Copyright (C) 2014-2017 Godot Engine contributors (cf. AUTHORS.md)
# This file is distributed under the same license as the Godot source code.
#
# Poommetee Ketson <poommetee@protonmail.com>, 2017.

View file

@ -1,5 +1,6 @@
# Turkish translation of the Godot Engine editor
# Copyright (C) 2016-2017 Juan Linietsky, Ariel Manzur and the Godot community
# Copyright (C) 2007-2017 Juan Linietsky, Ariel Manzur
# Copyright (C) 2014-2017 Godot Engine contributors (cf. AUTHORS.md)
# This file is distributed under the same license as the Godot source code.
#
# Aprın Çor Tigin <kabusturk38@gmail.com>, 2016-2017.

View file

@ -1,5 +1,6 @@
# Chinese (China) translation of the Godot Engine editor
# Copyright (C) 2016-2017 Juan Linietsky, Ariel Manzur and the Godot community
# Copyright (C) 2007-2017 Juan Linietsky, Ariel Manzur
# Copyright (C) 2014-2017 Godot Engine contributors (cf. AUTHORS.md)
# This file is distributed under the same license as the Godot source code.
#
# 纯洁的坏蛋 <tqj.zyy@gmail.com>, 2016.

View file

@ -5,7 +5,8 @@
/* GODOT ENGINE */
/* http://www.godotengine.org */
/*************************************************************************/
/* Copyright (c) 2007-2016 Juan Linietsky, Ariel Manzur. */
/* Copyright (c) 2007-2017 Juan Linietsky, Ariel Manzur. */
/* Copyright (c) 2014-2017 Godot Engine contributors (cf. AUTHORS.md) */
/* */
/* Permission is hereby granted, free of charge, to any person obtaining */
/* a copy of this software and associated documentation files (the */

View file

@ -5,7 +5,8 @@
/* GODOT ENGINE */
/* http://www.godotengine.org */
/*************************************************************************/
/* Copyright (c) 2007-2016 Juan Linietsky, Ariel Manzur. */
/* Copyright (c) 2007-2017 Juan Linietsky, Ariel Manzur. */
/* Copyright (c) 2014-2017 Godot Engine contributors (cf. AUTHORS.md) */
/* */
/* Permission is hereby granted, free of charge, to any person obtaining */
/* a copy of this software and associated documentation files (the */

View file

@ -1,3 +1,19 @@
/*
* Copyright (C) 2010 The Android Open Source Project
*
* 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 file is auto-generated. DO NOT MODIFY.
* Original file: aidl/ILicenseResultListener.aidl

View file

@ -1,3 +1,19 @@
/*
* Copyright (C) 2010 The Android Open Source Project
*
* 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 file is auto-generated. DO NOT MODIFY.
* Original file: aidl/ILicensingService.aidl

View file

@ -1,3 +1,19 @@
/*
* Copyright (c) 2011-2013 Research In Motion Limited.
*
* 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.
*/
#include <assert.h>
#include <ctype.h>
#include <stdio.h>

View file

@ -1,3 +1,19 @@
/*
* Copyright (c) 2011-2013 Research In Motion Limited.
*
* 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.
*/
#ifndef _UTILITY_H_INCLUDED
#define _UTILITY_H_INCLUDED

View file

@ -31,6 +31,31 @@
/*************** Bullet's GJK-EPA2 IMPLEMENTATION *******************/
/*
Bullet Continuous Collision Detection and Physics Library
Copyright (c) 2003-2008 Erwin Coumans http://continuousphysics.com/Bullet/
This software is provided 'as-is', without any express or implied warranty.
In no event will the authors be held liable for any damages arising from the
use of this software.
Permission is granted to anyone to use this software for any purpose,
including commercial applications, and to alter it and redistribute it
freely,
subject to the following restrictions:
1. The origin of this software must not be misrepresented; you must not
claim that you wrote the original software. If you use this software in a
product, an acknowledgment in the product documentation would be appreciated
but is not required.
2. Altered source versions must be plainly marked as such, and must not be
misrepresented as being the original software.
3. This notice may not be removed or altered from any source distribution.
*/
/*
GJK-EPA collision solver by Nathanael Presson, 2008
*/
// Config
/* GJK */

View file

@ -30,7 +30,23 @@
/*
Adapted to Godot from the Bullet library.
See corresponding header file for licensing info.
*/
/*
Bullet Continuous Collision Detection and Physics Library
ConeTwistJointSW is Copyright (c) 2007 Starbreeze Studios
This software is provided 'as-is', without any express or implied warranty.
In no event will the authors be held liable for any damages arising from the use of this software.
Permission is granted to anyone to use this software for any purpose,
including commercial applications, and to alter it and redistribute it freely,
subject to the following restrictions:
1. The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required.
2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software.
3. This notice may not be removed or altered from any source distribution.
Written by: Marcus Hennix
*/
#include "cone_twist_joint_sw.h"

View file

@ -30,7 +30,28 @@
/*
Adapted to Godot from the Bullet library.
See corresponding header file for licensing info.
*/
/*
Bullet Continuous Collision Detection and Physics Library
Copyright (c) 2003-2006 Erwin Coumans http://continuousphysics.com/Bullet/
This software is provided 'as-is', without any express or implied warranty.
In no event will the authors be held liable for any damages arising from the use of this software.
Permission is granted to anyone to use this software for any purpose,
including commercial applications, and to alter it and redistribute it freely,
subject to the following restrictions:
1. The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required.
2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software.
3. This notice may not be removed or altered from any source distribution.
*/
/*
2007-09-09
Generic6DOFJointSW Refactored by Francisco Le?n
email: projectileman@yahoo.com
http://gimpact.sf.net
*/
#include "generic_6dof_joint_sw.h"

View file

@ -30,7 +30,21 @@
/*
Adapted to Godot from the Bullet library.
See corresponding header file for licensing info.
*/
/*
Bullet Continuous Collision Detection and Physics Library
Copyright (c) 2003-2006 Erwin Coumans http://continuousphysics.com/Bullet/
This software is provided 'as-is', without any express or implied warranty.
In no event will the authors be held liable for any damages arising from the use of this software.
Permission is granted to anyone to use this software for any purpose,
including commercial applications, and to alter it and redistribute it freely,
subject to the following restrictions:
1. The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required.
2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software.
3. This notice may not be removed or altered from any source distribution.
*/
#include "hinge_joint_sw.h"

View file

@ -30,7 +30,21 @@
/*
Adapted to Godot from the Bullet library.
See corresponding header file for licensing info.
*/
/*
Bullet Continuous Collision Detection and Physics Library
Copyright (c) 2003-2006 Erwin Coumans http://continuousphysics.com/Bullet/
This software is provided 'as-is', without any express or implied warranty.
In no event will the authors be held liable for any damages arising from the use of this software.
Permission is granted to anyone to use this software for any purpose,
including commercial applications, and to alter it and redistribute it freely,
subject to the following restrictions:
1. The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required.
2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software.
3. This notice may not be removed or altered from any source distribution.
*/
#include "pin_joint_sw.h"

View file

@ -30,7 +30,27 @@
/*
Adapted to Godot from the Bullet library.
See corresponding header file for licensing info.
*/
/*
Bullet Continuous Collision Detection and Physics Library
Copyright (c) 2003-2006 Erwin Coumans http://continuousphysics.com/Bullet/
This software is provided 'as-is', without any express or implied warranty.
In no event will the authors be held liable for any damages arising from the use of this software.
Permission is granted to anyone to use this software for any purpose,
including commercial applications, and to alter it and redistribute it freely,
subject to the following restrictions:
1. The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required.
2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software.
3. This notice may not be removed or altered from any source distribution.
*/
/*
Added by Roman Ponomarev (rponom@gmail.com)
April 04, 2008
*/
#include "slider_joint_sw.h"

View file

@ -1,3 +1,29 @@
/* Thirdparty code presumably from http://wss.co.uk/pinknoise/yuv2rgb/ */
/*
This YUV2RGB code is Copyright (C) 2008-11 Robin Watts
<theorarm@wss.co.uk>.
The software is released under the BSD license.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION
OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
In particular, I warrant absolutely nothing about how patent free
this method is. It is your responsibility to ensure that this code
does not infringe any patents that apply in your area before you
ship it.
*/
#ifndef YUV2RGB_H
#define YUV2RGB_H