Selaa lähdekoodia

Updated license docs.

Бранимир Караџић 3 vuotta sitten
vanhempi
sitoutus
0de5af7000
4 muutettua tiedostoa jossa 51 lisäystä ja 182 poistoa
  1. 0 58
      3rdparty/iconfontheaders/.gitignore
  2. 0 53
      3rdparty/iconfontheaders/README.md
  3. 37 0
      3rdparty/stb/LICENSE
  4. 14 71
      docs/license.rst

+ 0 - 58
3rdparty/iconfontheaders/.gitignore

@@ -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/

+ 0 - 53
3rdparty/iconfontheaders/README.md

@@ -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) 

+ 37 - 0
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.

+ 14 - 71
docs/license.rst

@@ -36,77 +36,20 @@ All required 3rd party libraries are included in bgfx repository in
 `3rdparty/ <https://github.com/bkaradzic/bgfx/tree/master/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 <https://github.com/bkaradzic/bgfx/blob/master/3rdparty/cgltf/LICENSE>`__)
+ - Dear ImGui (`MIT <https://github.com/bkaradzic/bgfx/blob/master/3rdparty/dear-imgui/LICENSE.txt>`__)
+ - Blendish (`MIT <https://github.com/bkaradzic/bgfx/blob/67b2f1e2bfcf6015db6d8b5c2d6fcfd5cee7e167/examples/20-nanovg/blendish.h#L2-L22>`__)
+ - fcpp (`BSD <https://github.com/bkaradzic/bgfx/blob/master/3rdparty/fcpp/COPYING>`__)
+ - glsl-optimizer (`MIT <https://github.com/bkaradzic/bgfx/blob/master/3rdparty/glsl-optimizer/license.txt>`__)
+ - glslang (`Apache 2.0 <https://github.com/bkaradzic/bgfx/blob/master/3rdparty/glslang/LICENSE.txt>`__)
+ - IconFontCppHeaders (`MIT <https://github.com/bkaradzic/bgfx/blob/master/3rdparty/iconfontheaders/LICENSE>`__)
+ - meshoptimizer (`MIT <https://github.com/bkaradzic/bgfx/blob/master/3rdparty/meshoptimizer/LICENSE.md>`__)
+ - NanoVG (`ZLIB <https://github.com/bkaradzic/bgfx/blob/67b2f1e2bfcf6015db6d8b5c2d6fcfd5cee7e167/examples/common/nanovg/nanovg.cpp#L2-L16>`__)
+ - SDF (`MIT <https://github.com/bkaradzic/bgfx/blob/master/3rdparty/sdf/LICENSE.txt>`__)
+ - spirv-cross (`Apache 2.0 <https://github.com/bkaradzic/bgfx/blob/master/3rdparty/spirv-cross/LICENSE>`__)
+ - spirv-headers (`Khronos/MIT <https://github.com/bkaradzic/bgfx/blob/master/3rdparty/spirv-headers/LICENSE>`__)
+ - spirv-tools (`Apache 2.0 <https://github.com/bkaradzic/bgfx/blob/master/3rdparty/spirv-tools/LICENSE>`__)
+ - stb (`Public Domain <https://github.com/bkaradzic/bgfx/blob/master/3rdparty/stb/LICENSE>`__)
 
 Assets
 ------