From 0de5af700002236189c862f0e1d74a570aea8e9c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=91=D1=80=D0=B0=D0=BD=D0=B8=D0=BC=D0=B8=D1=80=20=D0=9A?= =?UTF-8?q?=D0=B0=D1=80=D0=B0=D1=9F=D0=B8=D1=9B?= Date: Sat, 30 Jul 2022 10:55:48 -0700 Subject: [PATCH] Updated license docs. --- 3rdparty/iconfontheaders/.gitignore | 58 -------------------- 3rdparty/iconfontheaders/README.md | 53 ------------------ 3rdparty/stb/LICENSE | 37 +++++++++++++ docs/license.rst | 85 +++++------------------------ 4 files changed, 51 insertions(+), 182 deletions(-) delete mode 100644 3rdparty/iconfontheaders/.gitignore delete mode 100644 3rdparty/iconfontheaders/README.md create mode 100644 3rdparty/stb/LICENSE diff --git a/3rdparty/iconfontheaders/.gitignore b/3rdparty/iconfontheaders/.gitignore deleted file mode 100644 index 31b83a9bc..000000000 --- a/3rdparty/iconfontheaders/.gitignore +++ /dev/null @@ -1,58 +0,0 @@ -# Byte-compiled / optimized / DLL files -__pycache__/ -*.py[cod] - -# C extensions -*.so - -# Distribution / packaging -.Python -env/ -build/ -develop-eggs/ -dist/ -downloads/ -eggs/ -.eggs/ -lib/ -lib64/ -parts/ -sdist/ -var/ -*.egg-info/ -.installed.cfg -*.egg - -# PyInstaller -# Usually these files are written by a python script from a template -# before PyInstaller builds the exe, so as to inject date/other infos into it. -*.manifest -*.spec - -# Installer logs -pip-log.txt -pip-delete-this-directory.txt - -# Unit test / coverage reports -htmlcov/ -.tox/ -.coverage -.coverage.* -.cache -nosetests.xml -coverage.xml -*,cover - -# Translations -*.mo -*.pot - -# Django stuff: -*.log - -# Sphinx documentation -docs/_build/ - -# PyBuilder -target/ -.idea/ diff --git a/3rdparty/iconfontheaders/README.md b/3rdparty/iconfontheaders/README.md deleted file mode 100644 index f22b76057..000000000 --- a/3rdparty/iconfontheaders/README.md +++ /dev/null @@ -1,53 +0,0 @@ -# IconFontCppHeaders - -[https://github.com/juliettef/IconFontCppHeaders](https://github.com/juliettef/IconFontCppHeaders) - -C++11, C89 and None headers for icon fonts Font Awesome, Google Material Design icons and Kenney game icons. - -A set of header files for using icon fonts in C, C++ and [None](https://bitbucket.org/duangle/nonelang/src), along with the python generator used to create the files. - -Each header contains defines for one font, with each icon code point defined as ICON_*, along with the min and max code points for font loading purposes. - -## Fonts - -* [Font Awesome](http://fontawesome.io/) - * [github repository](https://github.com/FortAwesome/Font-Awesome/) - * [fontawesome-webfont.ttf](https://github.com/FortAwesome/Font-Awesome/blob/master/fonts/fontawesome-webfont.ttf) -* [Google Material Design icons](https://design.google.com/icons/) - * [github repository](https://github.com/google/material-design-icons/) - * [MaterialIcons-Regular.ttf](https://github.com/google/material-design-icons/blob/master/iconfont/MaterialIcons-Regular.ttf) -* [Kenney Game icons](http://kenney.nl/assets/game-icons) and [Game icons expansion](http://kenney.nl/assets/game-icons-expansion) - * [github repository](https://github.com/SamBrishes/kenney-icon-font) - * [kenney-icon-font.ttf](https://github.com/SamBrishes/kenney-icon-font/blob/master/fonts/kenney-icon-font.ttf) - -## Example Code - -Using [dear imgui](https://github.com/ocornut/imgui) as an example UI library: - - #include "IconsFontAwesome.h" - - ImGuiIO& io = ImGui::GetIO(); - io.Fonts->AddFontDefault(); - - // merge in icons from Font Awesome - static const ImWchar icons_ranges[] = { ICON_MIN_FA, ICON_MAX_FA, 0 }; - ImFontConfig icons_config; icons_config.MergeMode = true; icons_config.PixelSnapH = true; - io.Fonts->AddFontFromFileTTF( fontFile.c_str(), 16.0f, &icons_config, icons_ranges); - - // in an imgui window somewhere... - ImGui::Text( ICON_FA_FILE " File" ); // use string literal concatenation, ouputs a file icon and File as a string. - -## Projects using the font icon header files - -### [bgfx](https://github.com/bkaradzic/bgfx) - Cross-platform rendering library - -### [Avoyd](http://www.avoyd.com) - Game -The Edit Tool UI uses [dear imgui](https://github.com/ocornut/imgui) with [Font Awesome](http://fontawesome.io/) fonts. - -![Avoyd Edit Tool with Font Awesome fonts](https://www.enkisoftware.com/images/2017-02-22_Avoyd_Editor_UI_ImGui_Font_Awesome.png) - -## Credits - -Development - [Juliette Foucaut](http://www.enkisoftware.com/about.html#juliette) - [@juliettef](https://github.com/juliettef) -Requirements - [Doug Binks](http://www.enkisoftware.com/about.html#doug) - [@dougbinks](https://github.com/dougbinks) -[None language](https://bitbucket.org/duangle/nonelang/src) [format definition and refactoring](https://gist.github.com/paniq/4a734e9d8e86a2373b5bc4ca719855ec) - [Leonard Ritter](http://www.leonard-ritter.com/) - [@paniq](https://github.com/paniq) diff --git a/3rdparty/stb/LICENSE b/3rdparty/stb/LICENSE new file mode 100644 index 000000000..a77ae91f3 --- /dev/null +++ b/3rdparty/stb/LICENSE @@ -0,0 +1,37 @@ +This software is available under 2 licenses -- choose whichever you prefer. +------------------------------------------------------------------------------ +ALTERNATIVE A - MIT License +Copyright (c) 2017 Sean Barrett +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies +of the Software, and to permit persons to whom the Software is furnished to do +so, subject to the following conditions: +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +------------------------------------------------------------------------------ +ALTERNATIVE B - Public Domain (www.unlicense.org) +This is free and unencumbered software released into the public domain. +Anyone is free to copy, modify, publish, use, compile, sell, or distribute this +software, either in source code form or as a compiled binary, for any purpose, +commercial or non-commercial, and by any means. +In jurisdictions that recognize copyright laws, the author or authors of this +software dedicate any and all copyright interest in the software to the public +domain. We make this dedication for the benefit of the public at large and to +the detriment of our heirs and successors. We intend this dedication to be an +overt act of relinquishment in perpetuity of all present and future rights to +this software under copyright law. +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN +ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/docs/license.rst b/docs/license.rst index 151515753..11daeb0ca 100644 --- a/docs/license.rst +++ b/docs/license.rst @@ -36,77 +36,20 @@ All required 3rd party libraries are included in bgfx repository in `3rdparty/ `__ directory. -Blendish (MIT) -~~~~~~~~~~~~~~ - -Blendish - Blender 2.5 UI based theming functions for NanoVG. - - - https://bitbucket.org/duangle/oui-blendish - -edtaa3 (MIT) -~~~~~~~~~~~~ - -Contour Rendering by Distance Fields - - - https://github.com/OpenGLInsights/OpenGLInsightsCode/tree/master/Chapter%2012%202D%20Shape%20Rendering%20by%20Distance%20Fields - -fcpp (BSD) -~~~~~~~~~~ - -Frexx C preprocessor - - - https://github.com/bagder/fcpp - -Forsyth Triangle Order Optimizer (Public Domain) -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - - - http://gameangst.com/?p=9 - -FreeType -~~~~~~~~ - - - http://www.freetype.org/ - -glsl-optimizer (MIT) -~~~~~~~~~~~~~~~~~~~~ - -GLSL optimizer based on Mesa's GLSL compiler. Used in Unity for mobile -shader optimization. - - - https://github.com/aras-p/glsl-optimizer - -NanoVG (ZLIB) -~~~~~~~~~~~~~ - -NanoVG is small antialiased vector graphics rendering library. - - - https://github.com/memononen/nanovg - -ImGui (MIT) -~~~~~~~~~~~ - -Bloat-free Immediate Mode Graphical User interface for C++ with minimal -dependencies. - - - https://github.com/ocornut/imgui - -SDF (MIT) -~~~~~~~~~ - -Sweep-and-update Euclidean distance transform of an antialised image for -contour texturing. - - - https://github.com/memononen/SDF - -stb (Public Domain) -~~~~~~~~~~~~~~~~~~~ - - - http://nothings.org - -Vertex Cache Optimised Index Buffer Compression (BSD) -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - - - https://github.com/ConorStokes/IndexBufferCompression + - cgltf (`MIT `__) + - Dear ImGui (`MIT `__) + - Blendish (`MIT `__) + - fcpp (`BSD `__) + - glsl-optimizer (`MIT `__) + - glslang (`Apache 2.0 `__) + - IconFontCppHeaders (`MIT `__) + - meshoptimizer (`MIT `__) + - NanoVG (`ZLIB `__) + - SDF (`MIT `__) + - spirv-cross (`Apache 2.0 `__) + - spirv-headers (`Khronos/MIT `__) + - spirv-tools (`Apache 2.0 `__) + - stb (`Public Domain `__) Assets ------