From c3b8923ff7c8413b5c0f151bd50e7b0f325b79cb Mon Sep 17 00:00:00 2001 From: leper Date: Mon, 1 Jun 2015 01:09:19 +0000 Subject: [PATCH] Update tinygettext. Updates tinygettext to upstream commit 0e34a55e514763a48f8abe7812405ffe722a31f4. No actual code changes from the previously bundled version, but it was relicensed to zlib. Keeps the addition of precompiled.h and win32 dirent. This was SVN commit r16705. --- LICENSE.txt | 2 +- source/third_party/tinygettext/LICENSE.md | 33 +++++++++++++++++++ source/third_party/tinygettext/README | 21 ------------ source/third_party/tinygettext/README.md | 23 +++++++++++++ .../include/tinygettext/dictionary.hpp | 28 ++++++++-------- .../tinygettext/dictionary_manager.hpp | 28 ++++++++-------- .../include/tinygettext/file_system.hpp | 28 ++++++++-------- .../tinygettext/include/tinygettext/iconv.hpp | 27 ++++++++------- .../include/tinygettext/language.hpp | 28 ++++++++-------- .../tinygettext/include/tinygettext/log.hpp | 28 ++++++++-------- .../include/tinygettext/log_stream.hpp | 28 ++++++++-------- .../include/tinygettext/plural_forms.hpp | 28 ++++++++-------- .../include/tinygettext/po_parser.hpp | 28 ++++++++-------- .../include/tinygettext/tinygettext.hpp | 28 ++++++++-------- .../include/tinygettext/unix_file_system.hpp | 28 ++++++++-------- .../tinygettext/src/dictionary.cpp | 28 ++++++++-------- .../tinygettext/src/dictionary_manager.cpp | 28 ++++++++-------- source/third_party/tinygettext/src/iconv.cpp | 28 ++++++++-------- .../third_party/tinygettext/src/language.cpp | 28 ++++++++-------- source/third_party/tinygettext/src/log.cpp | 28 ++++++++-------- .../tinygettext/src/plural_forms.cpp | 28 ++++++++-------- .../third_party/tinygettext/src/po_parser.cpp | 28 ++++++++-------- .../tinygettext/src/tinygettext.cpp | 29 ++++++++-------- .../tinygettext/src/unix_file_system.cpp | 28 ++++++++-------- 24 files changed, 358 insertions(+), 281 deletions(-) create mode 100644 source/third_party/tinygettext/LICENSE.md delete mode 100644 source/third_party/tinygettext/README create mode 100644 source/third_party/tinygettext/README.md diff --git a/LICENSE.txt b/LICENSE.txt index 361b5e6fcf..d9550727a4 100644 --- a/LICENSE.txt +++ b/LICENSE.txt @@ -72,7 +72,7 @@ in particular, let us know and we can try to clarify it. MIT /source/third_party/tinygettext - GPL version 2 (or later) - see license_gpl-2.0.txt + zlib /source/tools Various - see LICENSE.txt within that directory diff --git a/source/third_party/tinygettext/LICENSE.md b/source/third_party/tinygettext/LICENSE.md new file mode 100644 index 0000000000..6f27604094 --- /dev/null +++ b/source/third_party/tinygettext/LICENSE.md @@ -0,0 +1,33 @@ +tinygettext - A gettext replacement that works directly on .po files + +Copyright (c) 2004-2015 + +* Bastiaan Zapf +* Christoph Sommer +* Georg Kilzer (leper) +* Ingo Ruhnke +* Mathnerd314 +* Matt McCutchen +* Matthias Braun +* Nathan Phillip Brink +* Poren Chiang +* Ravu al Hemio +* Ryan Flegel +* Tim Goya +* Wolfgang Becker + +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 acknowledgement 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. diff --git a/source/third_party/tinygettext/README b/source/third_party/tinygettext/README deleted file mode 100644 index 79753a6382..0000000000 --- a/source/third_party/tinygettext/README +++ /dev/null @@ -1,21 +0,0 @@ -tinygettext -=========== - -tinygettext is a minimal gettext() replacement written in C++. It can -read .po files directly and doesn't need .mo files generated from .po. -It also can read the .po files from arbitary locations, so it's much -better suited for non-Unix systems and situations in which one wants -to store or distribute .po files seperately from the software itself. - - - -Detecting the locale setting -============================ - -Different operating systems store the default locale in different -places; a portable way to find it is provided by FindLocale: - - * http://icculus.org/~aspirin/findlocale/ - - -# EOF # diff --git a/source/third_party/tinygettext/README.md b/source/third_party/tinygettext/README.md new file mode 100644 index 0000000000..7460654192 --- /dev/null +++ b/source/third_party/tinygettext/README.md @@ -0,0 +1,23 @@ +tinygettext +=========== + +tinygettext is a minimal replacement for gettext written in C++. It +can read `.po` files directly and doesn't need `.mo` files generated +from `.po`. It also can read the `.po` files from arbitary locations, +so it's better suited for non-Unix systems and situations in which one +wants to store or distribute `.po` files seperately from the software +itself. It is licensed under +[zlib license](http://en.wikipedia.org/wiki/Zlib_License). + +The latest version can be found at: + +* https://github.com/tinygettext/tinygettext + + +Detecting the locale setting +---------------------------- + +Different operating systems store the default locale in different +places; a portable way to find it is provided by FindLocale: + +* http://icculus.org/~aspirin/findlocale/ diff --git a/source/third_party/tinygettext/include/tinygettext/dictionary.hpp b/source/third_party/tinygettext/include/tinygettext/dictionary.hpp index 4290008ffc..4c821d78eb 100644 --- a/source/third_party/tinygettext/include/tinygettext/dictionary.hpp +++ b/source/third_party/tinygettext/include/tinygettext/dictionary.hpp @@ -1,19 +1,21 @@ -// tinygettext - A gettext replacement that works directly on .po files -// Copyright (C) 2006 Ingo Ruhnke +// tinygettext - A gettext replacement that works directly on .po files +// Copyright (c) 2006 Ingo Ruhnke // -// This program is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License -// as published by the Free Software Foundation; either version 2 -// of the License, or (at your option) any later version. +// 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. // -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. +// 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: // -// You should have received a copy of the GNU General Public License -// along with this program; if not, write to the Free Software -// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +// 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 acknowledgement 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. #ifndef HEADER_TINYGETTEXT_DICTIONARY_HPP #define HEADER_TINYGETTEXT_DICTIONARY_HPP diff --git a/source/third_party/tinygettext/include/tinygettext/dictionary_manager.hpp b/source/third_party/tinygettext/include/tinygettext/dictionary_manager.hpp index 1b4f5b1e17..4b7000050c 100644 --- a/source/third_party/tinygettext/include/tinygettext/dictionary_manager.hpp +++ b/source/third_party/tinygettext/include/tinygettext/dictionary_manager.hpp @@ -1,19 +1,21 @@ -// tinygettext - A gettext replacement that works directly on .po files -// Copyright (C) 2006 Ingo Ruhnke +// tinygettext - A gettext replacement that works directly on .po files +// Copyright (c) 2006 Ingo Ruhnke // -// This program is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License -// as published by the Free Software Foundation; either version 2 -// of the License, or (at your option) any later version. +// 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. // -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. +// 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: // -// You should have received a copy of the GNU General Public License -// along with this program; if not, write to the Free Software -// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +// 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 acknowledgement 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. #ifndef HEADER_TINYGETTEXT_DICTIONARY_MANAGER_HPP #define HEADER_TINYGETTEXT_DICTIONARY_MANAGER_HPP diff --git a/source/third_party/tinygettext/include/tinygettext/file_system.hpp b/source/third_party/tinygettext/include/tinygettext/file_system.hpp index 6e5c04fd23..654d53550b 100644 --- a/source/third_party/tinygettext/include/tinygettext/file_system.hpp +++ b/source/third_party/tinygettext/include/tinygettext/file_system.hpp @@ -1,19 +1,21 @@ -// tinygettext - A gettext replacement that works directly on .po files -// Copyright (C) 2009 Ingo Ruhnke +// tinygettext - A gettext replacement that works directly on .po files +// Copyright (c) 2009 Ingo Ruhnke // -// This program is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License -// as published by the Free Software Foundation; either version 2 -// of the License, or (at your option) any later version. +// 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. // -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. +// 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: // -// You should have received a copy of the GNU General Public License -// along with this program; if not, write to the Free Software -// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +// 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 acknowledgement 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. #ifndef HEADER_TINYGETTEXT_FILE_SYSTEM_HPP #define HEADER_TINYGETTEXT_FILE_SYSTEM_HPP diff --git a/source/third_party/tinygettext/include/tinygettext/iconv.hpp b/source/third_party/tinygettext/include/tinygettext/iconv.hpp index 4091498c00..95df1c6078 100644 --- a/source/third_party/tinygettext/include/tinygettext/iconv.hpp +++ b/source/third_party/tinygettext/include/tinygettext/iconv.hpp @@ -1,18 +1,21 @@ -// tinygettext - A gettext replacement that works directly on .po files -// Copyright (C) 2006 Ingo Ruhnke +// tinygettext - A gettext replacement that works directly on .po files +// Copyright (c) 2006 Ingo Ruhnke // -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU General Public License as published by -// the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. +// 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. // -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. +// 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: // -// You should have received a copy of the GNU General Public License -// along with this program. If not, see . +// 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 acknowledgement 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. #ifndef HEADER_TINYGETTEXT_ICONV_HPP #define HEADER_TINYGETTEXT_ICONV_HPP diff --git a/source/third_party/tinygettext/include/tinygettext/language.hpp b/source/third_party/tinygettext/include/tinygettext/language.hpp index c6546bba91..205d0db2a2 100644 --- a/source/third_party/tinygettext/include/tinygettext/language.hpp +++ b/source/third_party/tinygettext/include/tinygettext/language.hpp @@ -1,19 +1,21 @@ -// tinygettext - A gettext replacement that works directly on .po files -// Copyright (C) 2006 Ingo Ruhnke +// tinygettext - A gettext replacement that works directly on .po files +// Copyright (c) 2006 Ingo Ruhnke // -// This program is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License -// as published by the Free Software Foundation; either version 2 -// of the License, or (at your option) any later version. +// 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. // -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. +// 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: // -// You should have received a copy of the GNU General Public License -// along with this program; if not, write to the Free Software -// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +// 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 acknowledgement 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. #ifndef HEADER_TINYGETTEXT_LANGUAGE_HPP #define HEADER_TINYGETTEXT_LANGUAGE_HPP diff --git a/source/third_party/tinygettext/include/tinygettext/log.hpp b/source/third_party/tinygettext/include/tinygettext/log.hpp index 4adc80fd52..cc576bab90 100644 --- a/source/third_party/tinygettext/include/tinygettext/log.hpp +++ b/source/third_party/tinygettext/include/tinygettext/log.hpp @@ -1,19 +1,21 @@ -// tinygettext - A gettext replacement that works directly on .po files -// Copyright (C) 2009 Ingo Ruhnke +// tinygettext - A gettext replacement that works directly on .po files +// Copyright (c) 2009 Ingo Ruhnke // -// This program is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License -// as published by the Free Software Foundation; either version 2 -// of the License, or (at your option) any later version. +// 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. // -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. +// 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: // -// You should have received a copy of the GNU General Public License -// along with this program; if not, write to the Free Software -// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +// 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 acknowledgement 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. #ifndef HEADER_TINYGETTEXT_LOG_HPP #define HEADER_TINYGETTEXT_LOG_HPP diff --git a/source/third_party/tinygettext/include/tinygettext/log_stream.hpp b/source/third_party/tinygettext/include/tinygettext/log_stream.hpp index 8ad4c022d6..6ca9b3c28e 100644 --- a/source/third_party/tinygettext/include/tinygettext/log_stream.hpp +++ b/source/third_party/tinygettext/include/tinygettext/log_stream.hpp @@ -1,19 +1,21 @@ -// tinygettext - A gettext replacement that works directly on .po files -// Copyright (C) 2009 Ingo Ruhnke +// tinygettext - A gettext replacement that works directly on .po files +// Copyright (c) 2009 Ingo Ruhnke // -// This program is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License -// as published by the Free Software Foundation; either version 2 -// of the License, or (at your option) any later version. +// 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. // -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. +// 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: // -// You should have received a copy of the GNU General Public License -// along with this program; if not, write to the Free Software -// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +// 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 acknowledgement 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. #ifndef HEADER_TINYGETTEXT_LOG_STREAM_HPP #define HEADER_TINYGETTEXT_LOG_STREAM_HPP diff --git a/source/third_party/tinygettext/include/tinygettext/plural_forms.hpp b/source/third_party/tinygettext/include/tinygettext/plural_forms.hpp index 75c1c833af..5a8ea9aef4 100644 --- a/source/third_party/tinygettext/include/tinygettext/plural_forms.hpp +++ b/source/third_party/tinygettext/include/tinygettext/plural_forms.hpp @@ -1,19 +1,21 @@ -// tinygettext - A gettext replacement that works directly on .po files -// Copyright (C) 2006 Ingo Ruhnke +// tinygettext - A gettext replacement that works directly on .po files +// Copyright (c) 2006 Ingo Ruhnke // -// This program is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License -// as published by the Free Software Foundation; either version 2 -// of the License, or (at your option) any later version. +// 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. // -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. +// 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: // -// You should have received a copy of the GNU General Public License -// along with this program; if not, write to the Free Software -// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +// 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 acknowledgement 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. #ifndef HEADER_TINYGETTEXT_PLURAL_FORMS_HPP #define HEADER_TINYGETTEXT_PLURAL_FORMS_HPP diff --git a/source/third_party/tinygettext/include/tinygettext/po_parser.hpp b/source/third_party/tinygettext/include/tinygettext/po_parser.hpp index 00c7f4cca7..99c03aabce 100644 --- a/source/third_party/tinygettext/include/tinygettext/po_parser.hpp +++ b/source/third_party/tinygettext/include/tinygettext/po_parser.hpp @@ -1,19 +1,21 @@ -// tinygettext - A gettext replacement that works directly on .po files -// Copyright (C) 2009 Ingo Ruhnke +// tinygettext - A gettext replacement that works directly on .po files +// Copyright (c) 2009 Ingo Ruhnke // -// This program is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License -// as published by the Free Software Foundation; either version 2 -// of the License, or (at your option) any later version. +// 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. // -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. +// 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: // -// You should have received a copy of the GNU General Public License -// along with this program; if not, write to the Free Software -// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +// 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 acknowledgement 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. #ifndef HEADER_TINYGETTEXT_PO_PARSER_HPP #define HEADER_TINYGETTEXT_PO_PARSER_HPP diff --git a/source/third_party/tinygettext/include/tinygettext/tinygettext.hpp b/source/third_party/tinygettext/include/tinygettext/tinygettext.hpp index 19fd4c657b..5553bc2b36 100644 --- a/source/third_party/tinygettext/include/tinygettext/tinygettext.hpp +++ b/source/third_party/tinygettext/include/tinygettext/tinygettext.hpp @@ -1,19 +1,21 @@ -// tinygettext - A gettext replacement that works directly on .po files -// Copyright (C) 2006 Ingo Ruhnke +// tinygettext - A gettext replacement that works directly on .po files +// Copyright (c) 2006 Ingo Ruhnke // -// This program is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License -// as published by the Free Software Foundation; either version 2 -// of the License, or (at your option) any later version. +// 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. // -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. +// 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: // -// You should have received a copy of the GNU General Public License -// along with this program; if not, write to the Free Software -// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +// 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 acknowledgement 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. #ifndef HEADER_TINYGETTEXT_TINYGETTEXT_HPP #define HEADER_TINYGETTEXT_TINYGETTEXT_HPP diff --git a/source/third_party/tinygettext/include/tinygettext/unix_file_system.hpp b/source/third_party/tinygettext/include/tinygettext/unix_file_system.hpp index aa2552442b..d4fef9cd13 100644 --- a/source/third_party/tinygettext/include/tinygettext/unix_file_system.hpp +++ b/source/third_party/tinygettext/include/tinygettext/unix_file_system.hpp @@ -1,19 +1,21 @@ -// tinygettext - A gettext replacement that works directly on .po files -// Copyright (C) 2009 Ingo Ruhnke +// tinygettext - A gettext replacement that works directly on .po files +// Copyright (c) 2009 Ingo Ruhnke // -// This program is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License -// as published by the Free Software Foundation; either version 2 -// of the License, or (at your option) any later version. +// 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. // -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. +// 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: // -// You should have received a copy of the GNU General Public License -// along with this program; if not, write to the Free Software -// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +// 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 acknowledgement 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. #ifndef HEADER_TINYGETTEXT_UNIX_FILE_SYSTEM_HPP #define HEADER_TINYGETTEXT_UNIX_FILE_SYSTEM_HPP diff --git a/source/third_party/tinygettext/src/dictionary.cpp b/source/third_party/tinygettext/src/dictionary.cpp index bfc7456b9a..cdf00725c6 100644 --- a/source/third_party/tinygettext/src/dictionary.cpp +++ b/source/third_party/tinygettext/src/dictionary.cpp @@ -1,19 +1,21 @@ -// tinygettext - A gettext replacement that works directly on .po files -// Copyright (C) 2006 Ingo Ruhnke +// tinygettext - A gettext replacement that works directly on .po files +// Copyright (c) 2006 Ingo Ruhnke // -// This program is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License -// as published by the Free Software Foundation; either version 2 -// of the License, or (at your option) any later version. +// 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. // -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. +// 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: // -// You should have received a copy of the GNU General Public License -// along with this program; if not, write to the Free Software -// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +// 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 acknowledgement 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 "precompiled.h" diff --git a/source/third_party/tinygettext/src/dictionary_manager.cpp b/source/third_party/tinygettext/src/dictionary_manager.cpp index 65a9d50de5..f65aba5567 100644 --- a/source/third_party/tinygettext/src/dictionary_manager.cpp +++ b/source/third_party/tinygettext/src/dictionary_manager.cpp @@ -1,19 +1,21 @@ -// tinygettext - A gettext replacement that works directly on .po files -// Copyright (C) 2006 Ingo Ruhnke +// tinygettext - A gettext replacement that works directly on .po files +// Copyright (c) 2006 Ingo Ruhnke // -// This program is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License -// as published by the Free Software Foundation; either version 2 -// of the License, or (at your option) any later version. +// 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. // -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. +// 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: // -// You should have received a copy of the GNU General Public License -// along with this program; if not, write to the Free Software -// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +// 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 acknowledgement 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 "precompiled.h" diff --git a/source/third_party/tinygettext/src/iconv.cpp b/source/third_party/tinygettext/src/iconv.cpp index 6d48f8f512..be21ab11d8 100644 --- a/source/third_party/tinygettext/src/iconv.cpp +++ b/source/third_party/tinygettext/src/iconv.cpp @@ -1,19 +1,21 @@ -// tinygettext - A gettext replacement that works directly on .po files -// Copyright (C) 2009 Ingo Ruhnke +// tinygettext - A gettext replacement that works directly on .po files +// Copyright (c) 2009 Ingo Ruhnke // -// This program is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License -// as published by the Free Software Foundation; either version 2 -// of the License, or (at your option) any later version. +// 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. // -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. +// 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: // -// You should have received a copy of the GNU General Public License -// along with this program; if not, write to the Free Software -// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +// 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 acknowledgement 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 "precompiled.h" diff --git a/source/third_party/tinygettext/src/language.cpp b/source/third_party/tinygettext/src/language.cpp index aa607c5bd5..c53124d4f5 100644 --- a/source/third_party/tinygettext/src/language.cpp +++ b/source/third_party/tinygettext/src/language.cpp @@ -1,19 +1,21 @@ -// tinygettext - A gettext replacement that works directly on .po files -// Copyright (C) 2006 Ingo Ruhnke +// tinygettext - A gettext replacement that works directly on .po files +// Copyright (c) 2006 Ingo Ruhnke // -// This program is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License -// as published by the Free Software Foundation; either version 2 -// of the License, or (at your option) any later version. +// 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. // -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. +// 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: // -// You should have received a copy of the GNU General Public License -// along with this program; if not, write to the Free Software -// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +// 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 acknowledgement 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 "precompiled.h" diff --git a/source/third_party/tinygettext/src/log.cpp b/source/third_party/tinygettext/src/log.cpp index d4e22964e2..2f9bce8a34 100644 --- a/source/third_party/tinygettext/src/log.cpp +++ b/source/third_party/tinygettext/src/log.cpp @@ -1,19 +1,21 @@ -// tinygettext - A gettext replacement that works directly on .po files -// Copyright (C) 2009 Ingo Ruhnke +// tinygettext - A gettext replacement that works directly on .po files +// Copyright (c) 2009 Ingo Ruhnke // -// This program is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License -// as published by the Free Software Foundation; either version 2 -// of the License, or (at your option) any later version. +// 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. // -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. +// 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: // -// You should have received a copy of the GNU General Public License -// along with this program; if not, write to the Free Software -// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +// 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 acknowledgement 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 "precompiled.h" diff --git a/source/third_party/tinygettext/src/plural_forms.cpp b/source/third_party/tinygettext/src/plural_forms.cpp index 5d2b6fc4b1..091f2ab73c 100644 --- a/source/third_party/tinygettext/src/plural_forms.cpp +++ b/source/third_party/tinygettext/src/plural_forms.cpp @@ -1,19 +1,21 @@ -// tinygettext - A gettext replacement that works directly on .po files -// Copyright (C) 2006 Ingo Ruhnke +// tinygettext - A gettext replacement that works directly on .po files +// Copyright (c) 2006 Ingo Ruhnke // -// This program is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License -// as published by the Free Software Foundation; either version 2 -// of the License, or (at your option) any later version. +// 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. // -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. +// 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: // -// You should have received a copy of the GNU General Public License -// along with this program; if not, write to the Free Software -// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +// 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 acknowledgement 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 "precompiled.h" diff --git a/source/third_party/tinygettext/src/po_parser.cpp b/source/third_party/tinygettext/src/po_parser.cpp index 2f49ee77ee..a90eb0c4fb 100644 --- a/source/third_party/tinygettext/src/po_parser.cpp +++ b/source/third_party/tinygettext/src/po_parser.cpp @@ -1,19 +1,21 @@ -// tinygettext - A gettext replacement that works directly on .po files -// Copyright (C) 2009 Ingo Ruhnke +// tinygettext - A gettext replacement that works directly on .po files +// Copyright (c) 2009 Ingo Ruhnke // -// This program is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License -// as published by the Free Software Foundation; either version 2 -// of the License, or (at your option) any later version. +// 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. // -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. +// 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: // -// You should have received a copy of the GNU General Public License -// along with this program; if not, write to the Free Software -// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +// 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 acknowledgement 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 "precompiled.h" diff --git a/source/third_party/tinygettext/src/tinygettext.cpp b/source/third_party/tinygettext/src/tinygettext.cpp index 331a7232fc..13657d87c7 100644 --- a/source/third_party/tinygettext/src/tinygettext.cpp +++ b/source/third_party/tinygettext/src/tinygettext.cpp @@ -1,19 +1,22 @@ -// tinygettext - A gettext replacement that works directly on .po files -// Copyright (C) 2006 Ingo Ruhnke +// tinygettext - A gettext replacement that works directly on .po files +// Copyright (c) 2006 Ingo Ruhnke // -// This program is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License -// as published by the Free Software Foundation; either version 2 -// of the License, or (at your option) any later version. +// 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. // -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. +// 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: // -// You should have received a copy of the GNU General Public License -// along with this program; if not, write to the Free Software -// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +// 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 acknowledgement 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 "precompiled.h" namespace tinygettext { diff --git a/source/third_party/tinygettext/src/unix_file_system.cpp b/source/third_party/tinygettext/src/unix_file_system.cpp index 2bb4e6493b..22500d0268 100644 --- a/source/third_party/tinygettext/src/unix_file_system.cpp +++ b/source/third_party/tinygettext/src/unix_file_system.cpp @@ -1,19 +1,21 @@ -// tinygettext - A gettext replacement that works directly on .po files -// Copyright (C) 2009 Ingo Ruhnke +// tinygettext - A gettext replacement that works directly on .po files +// Copyright (c) 2009 Ingo Ruhnke // -// This program is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License -// as published by the Free Software Foundation; either version 2 -// of the License, or (at your option) any later version. +// 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. // -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. +// 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: // -// You should have received a copy of the GNU General Public License -// along with this program; if not, write to the Free Software -// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +// 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 acknowledgement 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 "precompiled.h"