Skip to content

Commit 0b3e36f

Browse files
committed
Changed the license of libtiled and tmxviewer from GPL to BSD
Making it possible to use libtiled in another project regardless of the license of that project or the way libtiled is used. Permission for this change of license was granted by all those who contributed code used in libtiled.
1 parent 3541c63 commit 0b3e36f

35 files changed

+1465
-681
lines changed

COPYING

+14-340
Large diffs are not rendered by default.

LICENSE.BSD

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
Redistribution and use in source and binary forms, with or without
2+
modification, are permitted provided that the following conditions are met:
3+
4+
1. Redistributions of source code must retain the above copyright notice,
5+
this list of conditions and the following disclaimer.
6+
7+
2. Redistributions in binary form must reproduce the above copyright
8+
notice, this list of conditions and the following disclaimer in the
9+
documentation and/or other materials provided with the distribution.
10+
11+
THIS SOFTWARE IS PROVIDED BY THE CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR
12+
IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
13+
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
14+
EVENT SHALL THE CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
15+
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
16+
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
17+
OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
18+
WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
19+
OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
20+
ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

LICENSE.GPL

+340
Large diffs are not rendered by default.

LICENSE.LGPL

+502
Large diffs are not rendered by default.

src/libtiled/compression.cpp

+19-11
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,28 @@
22
* compression.cpp
33
* Copyright 2008, Thorbjørn Lindeijer <[email protected]>
44
*
5-
* This file is part of Tiled.
5+
* This file is part of libtiled.
66
*
7-
* This program is free software; you can redistribute it and/or modify it
8-
* under the terms of the GNU General Public License as published by the Free
9-
* Software Foundation; either version 2 of the License, or (at your option)
10-
* any later version.
7+
* Redistribution and use in source and binary forms, with or without
8+
* modification, are permitted provided that the following conditions are met:
119
*
12-
* This program is distributed in the hope that it will be useful, but WITHOUT
13-
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
14-
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
15-
* more details.
10+
* 1. Redistributions of source code must retain the above copyright notice,
11+
* this list of conditions and the following disclaimer.
1612
*
17-
* You should have received a copy of the GNU General Public License along with
18-
* this program. If not, see <http://www.gnu.org/licenses/>.
13+
* 2. Redistributions in binary form must reproduce the above copyright
14+
* notice, this list of conditions and the following disclaimer in the
15+
* documentation and/or other materials provided with the distribution.
16+
*
17+
* THIS SOFTWARE IS PROVIDED BY THE CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR
18+
* IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
19+
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
20+
* EVENT SHALL THE CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
21+
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
22+
* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
23+
* OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
24+
* WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
25+
* OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
26+
* ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1927
*/
2028

2129
#include "compression.h"

src/libtiled/compression.h

+19-11
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,28 @@
22
* compression.h
33
* Copyright 2008, Thorbjørn Lindeijer <[email protected]>
44
*
5-
* This file is part of Tiled.
5+
* This file is part of libtiled.
66
*
7-
* This program is free software; you can redistribute it and/or modify it
8-
* under the terms of the GNU General Public License as published by the Free
9-
* Software Foundation; either version 2 of the License, or (at your option)
10-
* any later version.
7+
* Redistribution and use in source and binary forms, with or without
8+
* modification, are permitted provided that the following conditions are met:
119
*
12-
* This program is distributed in the hope that it will be useful, but WITHOUT
13-
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
14-
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
15-
* more details.
10+
* 1. Redistributions of source code must retain the above copyright notice,
11+
* this list of conditions and the following disclaimer.
1612
*
17-
* You should have received a copy of the GNU General Public License along with
18-
* this program. If not, see <http://www.gnu.org/licenses/>.
13+
* 2. Redistributions in binary form must reproduce the above copyright
14+
* notice, this list of conditions and the following disclaimer in the
15+
* documentation and/or other materials provided with the distribution.
16+
*
17+
* THIS SOFTWARE IS PROVIDED BY THE CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR
18+
* IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
19+
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
20+
* EVENT SHALL THE CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
21+
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
22+
* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
23+
* OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
24+
* WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
25+
* OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
26+
* ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1927
*/
2028

2129
#ifndef COMPRESSION_H

src/libtiled/isometricrenderer.cpp

+19-11
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,28 @@
22
* isometricrenderer.cpp
33
* Copyright 2009-2010, Thorbjørn Lindeijer <[email protected]>
44
*
5-
* This file is part of Tiled.
5+
* This file is part of libtiled.
66
*
7-
* This program is free software; you can redistribute it and/or modify it
8-
* under the terms of the GNU General Public License as published by the Free
9-
* Software Foundation; either version 2 of the License, or (at your option)
10-
* any later version.
7+
* Redistribution and use in source and binary forms, with or without
8+
* modification, are permitted provided that the following conditions are met:
119
*
12-
* This program is distributed in the hope that it will be useful, but WITHOUT
13-
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
14-
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
15-
* more details.
10+
* 1. Redistributions of source code must retain the above copyright notice,
11+
* this list of conditions and the following disclaimer.
1612
*
17-
* You should have received a copy of the GNU General Public License along with
18-
* this program. If not, see <http://www.gnu.org/licenses/>.
13+
* 2. Redistributions in binary form must reproduce the above copyright
14+
* notice, this list of conditions and the following disclaimer in the
15+
* documentation and/or other materials provided with the distribution.
16+
*
17+
* THIS SOFTWARE IS PROVIDED BY THE CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR
18+
* IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
19+
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
20+
* EVENT SHALL THE CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
21+
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
22+
* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
23+
* OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
24+
* WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
25+
* OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
26+
* ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1927
*/
2028

2129
#include "isometricrenderer.h"

src/libtiled/isometricrenderer.h

+19-11
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,28 @@
22
* isometricrenderer.h
33
* Copyright 2009-2010, Thorbjørn Lindeijer <[email protected]>
44
*
5-
* This file is part of Tiled.
5+
* This file is part of libtiled.
66
*
7-
* This program is free software; you can redistribute it and/or modify it
8-
* under the terms of the GNU General Public License as published by the Free
9-
* Software Foundation; either version 2 of the License, or (at your option)
10-
* any later version.
7+
* Redistribution and use in source and binary forms, with or without
8+
* modification, are permitted provided that the following conditions are met:
119
*
12-
* This program is distributed in the hope that it will be useful, but WITHOUT
13-
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
14-
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
15-
* more details.
10+
* 1. Redistributions of source code must retain the above copyright notice,
11+
* this list of conditions and the following disclaimer.
1612
*
17-
* You should have received a copy of the GNU General Public License along with
18-
* this program. If not, see <http://www.gnu.org/licenses/>.
13+
* 2. Redistributions in binary form must reproduce the above copyright
14+
* notice, this list of conditions and the following disclaimer in the
15+
* documentation and/or other materials provided with the distribution.
16+
*
17+
* THIS SOFTWARE IS PROVIDED BY THE CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR
18+
* IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
19+
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
20+
* EVENT SHALL THE CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
21+
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
22+
* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
23+
* OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
24+
* WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
25+
* OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
26+
* ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1927
*/
2028

2129
#ifndef ISOMETRICRENDERER_H

src/libtiled/layer.cpp

+19-11
Original file line numberDiff line numberDiff line change
@@ -3,20 +3,28 @@
33
* Copyright 2008-2010, Thorbjørn Lindeijer <[email protected]>
44
* Copyright 2009, Jeff Bland <[email protected]>
55
*
6-
* This file is part of Tiled.
6+
* This file is part of libtiled.
77
*
8-
* This program is free software; you can redistribute it and/or modify it
9-
* under the terms of the GNU General Public License as published by the Free
10-
* Software Foundation; either version 2 of the License, or (at your option)
11-
* any later version.
8+
* Redistribution and use in source and binary forms, with or without
9+
* modification, are permitted provided that the following conditions are met:
1210
*
13-
* This program is distributed in the hope that it will be useful, but WITHOUT
14-
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
15-
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
16-
* more details.
11+
* 1. Redistributions of source code must retain the above copyright notice,
12+
* this list of conditions and the following disclaimer.
1713
*
18-
* You should have received a copy of the GNU General Public License along with
19-
* this program. If not, see <http://www.gnu.org/licenses/>.
14+
* 2. Redistributions in binary form must reproduce the above copyright
15+
* notice, this list of conditions and the following disclaimer in the
16+
* documentation and/or other materials provided with the distribution.
17+
*
18+
* THIS SOFTWARE IS PROVIDED BY THE CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR
19+
* IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
20+
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
21+
* EVENT SHALL THE CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
22+
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
23+
* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
24+
* OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
25+
* WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
26+
* OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
27+
* ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2028
*/
2129

2230
#include "layer.h"

src/libtiled/layer.h

+19-11
Original file line numberDiff line numberDiff line change
@@ -3,20 +3,28 @@
33
* Copyright 2008-2010, Thorbjørn Lindeijer <[email protected]>
44
* Copyright 2009, Jeff Bland <[email protected]>
55
*
6-
* This file is part of Tiled.
6+
* This file is part of libtiled.
77
*
8-
* This program is free software; you can redistribute it and/or modify it
9-
* under the terms of the GNU General Public License as published by the Free
10-
* Software Foundation; either version 2 of the License, or (at your option)
11-
* any later version.
8+
* Redistribution and use in source and binary forms, with or without
9+
* modification, are permitted provided that the following conditions are met:
1210
*
13-
* This program is distributed in the hope that it will be useful, but WITHOUT
14-
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
15-
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
16-
* more details.
11+
* 1. Redistributions of source code must retain the above copyright notice,
12+
* this list of conditions and the following disclaimer.
1713
*
18-
* You should have received a copy of the GNU General Public License along with
19-
* this program. If not, see <http://www.gnu.org/licenses/>.
14+
* 2. Redistributions in binary form must reproduce the above copyright
15+
* notice, this list of conditions and the following disclaimer in the
16+
* documentation and/or other materials provided with the distribution.
17+
*
18+
* THIS SOFTWARE IS PROVIDED BY THE CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR
19+
* IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
20+
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
21+
* EVENT SHALL THE CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
22+
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
23+
* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
24+
* OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
25+
* WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
26+
* OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
27+
* ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2028
*/
2129

2230
#ifndef LAYER_H

src/libtiled/map.cpp

+19-11
Original file line numberDiff line numberDiff line change
@@ -4,20 +4,28 @@
44
* Copyright 2008, Roderic Morris <[email protected]>
55
* Copyright 2010, Andrew G. Crowell <[email protected]>
66
*
7-
* This file is part of Tiled.
7+
* This file is part of libtiled.
88
*
9-
* This program is free software; you can redistribute it and/or modify it
10-
* under the terms of the GNU General Public License as published by the Free
11-
* Software Foundation; either version 2 of the License, or (at your option)
12-
* any later version.
9+
* Redistribution and use in source and binary forms, with or without
10+
* modification, are permitted provided that the following conditions are met:
1311
*
14-
* This program is distributed in the hope that it will be useful, but WITHOUT
15-
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
16-
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
17-
* more details.
12+
* 1. Redistributions of source code must retain the above copyright notice,
13+
* this list of conditions and the following disclaimer.
1814
*
19-
* You should have received a copy of the GNU General Public License along with
20-
* this program. If not, see <http://www.gnu.org/licenses/>.
15+
* 2. Redistributions in binary form must reproduce the above copyright
16+
* notice, this list of conditions and the following disclaimer in the
17+
* documentation and/or other materials provided with the distribution.
18+
*
19+
* THIS SOFTWARE IS PROVIDED BY THE CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR
20+
* IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
21+
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
22+
* EVENT SHALL THE CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
23+
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
24+
* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
25+
* OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
26+
* WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
27+
* OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
28+
* ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2129
*/
2230

2331
#include "map.h"

src/libtiled/map.h

+19-11
Original file line numberDiff line numberDiff line change
@@ -4,20 +4,28 @@
44
* Copyright 2008, Roderic Morris <[email protected]>
55
* Copyright 2010, Andrew G. Crowell <[email protected]>
66
*
7-
* This file is part of Tiled.
7+
* This file is part of libtiled.
88
*
9-
* This program is free software; you can redistribute it and/or modify it
10-
* under the terms of the GNU General Public License as published by the Free
11-
* Software Foundation; either version 2 of the License, or (at your option)
12-
* any later version.
9+
* Redistribution and use in source and binary forms, with or without
10+
* modification, are permitted provided that the following conditions are met:
1311
*
14-
* This program is distributed in the hope that it will be useful, but WITHOUT
15-
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
16-
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
17-
* more details.
12+
* 1. Redistributions of source code must retain the above copyright notice,
13+
* this list of conditions and the following disclaimer.
1814
*
19-
* You should have received a copy of the GNU General Public License along with
20-
* this program. If not, see <http://www.gnu.org/licenses/>.
15+
* 2. Redistributions in binary form must reproduce the above copyright
16+
* notice, this list of conditions and the following disclaimer in the
17+
* documentation and/or other materials provided with the distribution.
18+
*
19+
* THIS SOFTWARE IS PROVIDED BY THE CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR
20+
* IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
21+
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
22+
* EVENT SHALL THE CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
23+
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
24+
* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
25+
* OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
26+
* WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
27+
* OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
28+
* ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2129
*/
2230

2331
#ifndef MAP_H

0 commit comments

Comments
 (0)