summaryrefslogtreecommitdiffstats
path: root/thirdparty/misc
Commit message (Collapse)AuthorAgeFilesLines
* Refactor and move easing equationskobewi2021-09-241-323/+0
|
* Add a special case for 0-time interpolationskobewi2021-09-241-0/+4
|
* Replace stb_vorbis with libogg+libvorbisEllen Poe2021-09-092-5565/+0
|
* Complete rewrite of TweensTomasz Chabora2021-06-191-2/+2
| | | | | | | | | | * Tweens were changed from Node to RefCounted. New API is inspired by DOTween. * Tweens are created and managed by SceneTree, similar to SceneTreeTimer, which makes them ultra cheap to use a lot. * Animating with Tweens is done by creating sequences of Tweeners. You create them from code and they autostart by default (fire-and-forget). * There are 4 Tweeners that cover the former Tween functionality: PropertyTweener, IntervalTweener, CallbackTweener and MethodTweener. * The methods were simplified a lot. Long argument lists are replaced with chained calls on Tweens and Tweeners. * Tweeners by default execute in sequence, so it's easy to create complex chained animations. * You can bind a Tween to a node. Tween will be removed automatically when the bound node is freed.
* Implement shader cachingreduz2021-05-312-0/+2277
| | | | | | | | | | | | * Shader compilation is now cached. Subsequent loads take less than a millisecond. * Improved game, editor and project manager startup time. * Editor uses .godot/shader_cache to store shaders. * Game uses user://shader_cache * Project manager uses $config_dir/shader_cache * Options to tweak shader caching in project settings. * Editor path configuration moved from EditorSettings to new class, EditorPaths, so it can be available early on (before shaders are compiled). * Reworked ShaderCompilerRD to ensure deterministic shader code creation (else shader may change and cache will be invalidated). * Added shader compression with SMOLV: https://github.com/aras-p/smol-v
* Fix STL to Godot type convertion of polypartitionHaoyu Qiu2021-05-212-12/+12
|
* Update PolyPartition / Triangulator libraryAaron Franke2021-01-125-1856/+3046
|
* r128: Update to upstream 1.4.4, fixes warningsRémi Verschelde2021-01-081-5/+5
|
* Rename empty() to is_empty()Marcel Admiraal2020-12-281-10/+10
|
* Fix some easing equations' undefined behaviours.Fabio Alessandrelli2020-12-081-12/+23
| | | | | | Spotted via -Wunsequenced. Easing equations had different behaviours depending on the toolchain due to its abusing of inline assignments.
* Updated open-simplex to have const noise functionsSacha Waked2020-12-042-13/+13
| | | "open-simplex-noise-in-c" now updated to master and "opensimplex" module refactored accordingly
* Update "open-simplex-noise-in-c" to fix undefined signed overflow.bruvzg2020-11-091-5/+6
|
* Reorganized core/ directory, it was too fatty alreadyreduz2020-11-071-2/+2
| | | | | | -Removed FuncRef, since Callable makes it obsolete -Removed int_types.h as its obsolete in c++11+ -Changed color names code
* Exposed randi_range to global funcs + renamed rand_range to randf_rangeYuri Roubinsky2020-11-061-0/+23
|
* Fix biased output of randi_rangeYuri Roubinsky2020-10-292-0/+11
|
* stb_vorbis: Update to upstream version 1.20Rémi Verschelde2020-07-201-5/+10
| | | | Upstreams our crash fixes from #38422 and #40174.
* stb_vorbis: Add missing error checks in comment reading mallocsRémi Verschelde2020-07-071-0/+3
| | | | | | Backported from https://github.com/nothings/stb/pull/989. Fixes #40164.
* Merge pull request #38711 from clayjohn/force-floatRémi Verschelde2020-05-181-2/+2
|\ | | | | Force using floats in cubemap coefficient
| * Force using floats in cubemap coefficientclayjohn2020-05-121-2/+2
| |
* | Remove HQ2X and the `Image.expand_2x_hq2x()` methodHugo Locurcio2020-05-162-2655/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | As of Godot 3.0, HQ2X is no longer used to upscale the editor theme and icons on hiDPI displays, which limited its effective uses. HQ2X was also used to upscale the project theme when the "Use Hidpi" project setting was enabled, but results were often less than ideal. The new StyleBoxFlat and SVG support also make HQ2X less important to have as a core feature. This decreases binary sizes slightly (-150 KB on most platforms, -212 KB on WebAssembly release). This partially addresses #12419.
* | Update r128.h to include latest fix for mingw-64 32 bit builds.Marcel Admiraal2020-05-161-7/+7
|/
* thirdparty: Cleanup after #38386, document provenance and copyrightRémi Verschelde2020-05-113-0/+2753
| | | | Also renamed `delaunay.h` to `delaunay_2d.h` to match the class name.
* Fix crash in stb_vorbis.cPedro J. Estébanez2020-05-031-1/+1
|
* Merge pull request #38361 from akien-mga/stb_vorbis-1.19Rémi Verschelde2020-04-301-82/+135
|\ | | | | stb_vorbis: Update to upstream version 1.19
| * stb_vorbis: Update to upstream version 1.19Rémi Verschelde2020-04-301-82/+135
| | | | | | | | | | | | 1.19 - 2020-02-05 - warnings 1.18 - 2020-02-02 - fix seek bugs; parse header comments; misc warnings etc.
* | Merge pull request #38360 from akien-mga/drop-unused-curl_hostcheckRémi Verschelde2020-04-302-256/+0
|\ \ | | | | | | Drop now unused curl_hostcheck.c
| * | Drop now unused curl_hostcheck.cRémi Verschelde2020-04-302-256/+0
| |/ | | | | | | One less thirdparty library to document \o/
* / FastLZ: Update to upstream version 0.5.0Rémi Verschelde2020-04-302-409/+447
|/ | | | | | | | | | | | | Upstream development restarted after 13 years. Changes: 2020-02-02: Version 0.5.0 Minor speed improvement on the decompressor. Prevent memory violation when decompressing corrupted input. 2020-01-10: Version 0.4.0 Only code & infrastructure clean-up, no new functionality.
* Fix copyright headers for recently added filesRémi Verschelde2020-03-281-0/+28
|
* Mono/C#: Several android fixesIgnacio Etcheverry2019-12-041-0/+19
| | | | | | | - Added correct config file for android dllmaps. - Fix __Internal DllImports with a dlopen fallback. - Add missing P/Invoke functions and internal calls expected by the monodroid BCL and our custom version of the 'Android.Runtime.AndroidEnvironment' class (this last one can be found in the godot-mono-builds repo). - Make sure to set 'btls' instead of 'legacy' as the default TLS provider on Android.
* Update stb_vorbis to 1.17Jonathan Mannancheril2019-11-101-8/+24
|
* Remove unused stb_truetype-based DynamicFont implementationHugo Locurcio2019-10-031-4882/+0
| | | | | | | | | | The DynamicFont implementation currently in use is based on FreeType, which provides much better visual quality. This old implementation wasn't exposed anywhere, so this shouldn't break compatibility. This decreases binary sizes by a few kilobytes.
* stb_vorbis: Update to upstream version 1.16Rémi Verschelde2019-07-111-2/+9
|
* CryptoCore class to access to base crypto utils.Fabio Alessandrelli2019-07-028-1202/+0
| | | | | | | | | | | | | | | | | | Godot core needs MD5/SHA256/AES/Base64 which used to be provided by separate libraries. Since we bundle mbedtls in most cases, and we can easily only include the needed sources if we so desire, let's use it. To simplify library changes in the future, and better isolate header dependencies all functions have been wrapped around inside a class in `core/math/crypto_base.h`. If the mbedtls module is disabled, we only bundle the needed source files independently of the `builtin_mbedtls` option. If the module is enabled, the `builtin_mbedtls` option works as usual. Also remove some unused headers from StreamPeerMbedTLS which were causing build issues.
* Build Clipper with `tools=no` and patch it to auto-disable exceptionsAndrii Doroshenko (Xrayez)2019-05-222-14/+200
| | | | | | | | | | | | | | | | | | | | | Reverts "Build polygon clipper only in tools builds" (see #17319) which allows to build Clipper with tools disabled (release) and because of that, Clipper has to be patched to optionally disable exceptions in order to be built on some platforms. Patched Clipper 6.4.2 to be compiled with exceptions enabled/disabled. and ensure that Clipper-specific exception macros are defined: don't use exceptions by default unless exception handling is detected. Compilation with exceptions will be determined by various C++ exceptions defines: * ` __cpp_exceptions` is part of C++ feature testing macros (since C++98); * `__EXCEPTIONS` is used by some GNU compilers; * `_CPPUNWIND` is used by MSVC. The user can override specific exceptions behavior via corresponding `*_USER` macros (i.e. compiling for embedded systems).
* Fix non UTF8-encoded thirdparty filesRémi Verschelde2019-05-221-4/+4
|
* Merge pull request #26051 from 20kdc/videofixRémi Verschelde2019-04-301-82/+39
|\ | | | | webm/theora/yuv2rgb/libsimplewebm: Fix colour issues I could find.
| * webm/theora/yuv2rgb: Fix YUV conversion issues and add BGRP WEBM handling. ↵20kdc2019-02-211-82/+39
| | | | | | | | | | | | | | | | | | | | | | | | (Now clang-format friendly.) This should fix the various issues with colours in Ogg Theora and WEBM playback. (A reference project is attached to PR #26051, which this commit should be part of.) This version of the commit, rather than moving x->RGBA handling into libsimplewebm, uses a colourspace field added to libsimplewebm by a PR there. Thus, the commit that precedes this should be the synchronization & cleanup commit for that. Also, this version is now clang-format friendly. I hope.
* | Properly setup seed in RNGChaosus2019-03-272-0/+11
| |
* | stb: Update to upstream stb_truetype 1.21 and stb_vorbis 1.15Rémi Verschelde2019-03-042-36/+82
|/
* base64.h: Fix return type mismatchRémi Verschelde2019-01-221-2/+2
| | | | Fixes #25220.
* Android: Better identify thirdparty C/C++ codeRémi Verschelde2018-12-202-0/+267
| | | | | | | | | | | | | | | | | | | - The `cpu-features.{c,h}` code was only used by chance by the webm (libvpx) code, so I moved it there. It was actually introduced before that and wasn't in use, and libvpx just happened to be able to compile thanks to it being bundled. It could potentially be compiled on the fly from the Android NDK, but since we plan to replace the webm module by a GDNative plugin in the near future, I went the bundling route. - `ifaddrs_android.h` is already provided in the Android NDK as `ifaddrs.h`, same as on other Unixes. Yet we cannot use it until we up the min API level to 24, where `getifaddrs` is first defined. I moved the files to `thirdparty/misc` and synced them with upstream WebRTC (only indentation changes and removal of `static` qualifiers). Also removes dropped thirdparty files from COPYRIGHT.txt after changes in #24105 and #24145.
* Fix warning about functions defined but not used [-Wunused-function]Rémi Verschelde2018-09-291-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes the following GCC 5 warnings: ``` core/io/zip_io.h:128:26: warning: 'zlib_filefunc_def zipio_create_io_from_file(FileAccess**)' defined but not used [-Wunused-function] core/script_debugger_remote.cpp:110:17: warning: 'ObjectID safe_get_instance_id(const Variant&)' defined but not used [-Wunused-function] drivers/unix/socket_helpers.h:103:12: warning: 'int _socket_create(IP::Type&, int, int)' defined but not used [-Wunused-function] drivers/unix/socket_helpers.h:45:15: warning: 'size_t _set_sockaddr(sockaddr_storage*, const IP_Address&, int, IP::Type)' defined but not used [-Wunused-function] drivers/unix/socket_helpers.h:76:15: warning: 'size_t _set_listen_sockaddr(sockaddr_storage*, int, IP::Type, IP_Address)' defined but not used [-Wunused-function] editor/editor_fonts.cpp:40:24: warning: 'Ref<BitmapFont> make_font(int, int, int, int, const int*, const Ref<Texture>&)' defined but not used [-Wunused-function] editor/editor_themes.cpp:85:26: warning: 'Ref<StyleBoxFlat> change_border_color(Ref<StyleBoxFlat>, Color)' defined but not used [-Wunused-function] editor/import/editor_import_collada.cpp:493:13: warning: 'void _generate_normals(const PoolVector<int>&, const PoolVector<Vector3>&, PoolVector<Vector3>&)' defined but not used [-Wunused-function] editor/import/editor_import_collada.cpp:524:13: warning: 'void _generate_tangents_and_binormals(const PoolVector<int>&, const PoolVector<Vector3>&, const PoolVector<Vector3>&, const PoolVector<Vector3>&, PoolVector<float>&)' defined but not used [-Wunused-function] editor/pvrtc_compress.cpp:118:13: warning: 'void _compress_etc(Image*)' defined but not used [-Wunused-function] modules/etc/image_etc.cpp:89:13: warning: 'void _decompress_etc1(Image*)' defined but not used [-Wunused-function] modules/etc/image_etc.cpp:93:13: warning: 'void _decompress_etc2(Image*)' defined but not used [-Wunused-function] modules/gdscript/editor/gdscript_highlighter.cpp:46:13: warning: 'bool _is_whitespace(CharType)' defined but not used [-Wunused-function] scene/2d/cpu_particles_2d.cpp:510:14: warning: 'float rand_from_seed_m1_p1(uint32_t&)' defined but not used [-Wunused-function] scene/3d/cpu_particles.cpp:474:14: warning: 'float rand_from_seed_m1_p1(uint32_t&)' defined but not used [-Wunused-function] scene/resources/default_theme/default_theme.cpp:123:20: warning: 'Ref<Shader> make_shader(const char*, const char*, const char*)' defined but not used [-Wunused-function] scene/resources/default_theme/default_theme.cpp:130:24: warning: 'Ref<BitmapFont> make_font(int, int, int, int, const int*, const Ref<Texture>&)' defined but not used [-Wunused-function] ``` Had to split `core/io/zip_io.h` into header and .cpp file without 'static' keyword. Not fixed yet (static definition in header used in some files but not all): ``` modules/websocket/lws_helper.h:111:13: warning: 'void _lws_make_protocols(void*, int (*)(lws*, lws_callback_reasons, void*, void*, size_t), PoolVector<String>, _LWSRef**)' defined but not used [-Wunused-function] ``` Also fixed a couple other warnings missed in previous commits.
* Move Penner easing equations to thirdparty/miscRémi Verschelde2018-09-281-0/+308
| | | | | | | | | It was Godot-ified and integrated into Tween originally (#628) without mention that it was thirdparty code, but it's actually derived from https://github.com/jesusgollonet/ofpennereasing. It's also very bad quality code and should be replaced by a better, properly-maintained library of easing equations.
* Add SimplexNoise and NoiseTexture as new resourcesJFonS2018-09-144-0/+2470
| | | | | | | SimplexNoise can be used to generate parameterized fractal noise based on Open Simplex. NoiseTexture uses SimplexNoise to generate noise textures for using in shaders/visual effects.
* Make core/ includes absolute, remove subfolders from include pathRémi Verschelde2018-09-127-10/+10
| | | | | | This allows more consistency in the manner we include core headers, where previously there would be a mix of absolute, relative and include path-dependent includes.
* [Core] Change math_2d includes to vector2 includes where relevantAaron Franke2018-08-101-1/+1
|
* Update stb_truetype to 1.19 and stb_vorbis to 1.14Guilherme Felipe2018-05-242-240/+540
|
* Add base support for 2D meshes in Godot, including Sprite -> Mesh2D conversion.Juan Linietsky2018-02-212-0/+5035
|
* stb: Update to upstream stb_truetype 1.17 and stb_vorbis 1.11Rémi Verschelde2017-08-272-125/+1474
| | | | | Also fix documented OpenSSL version, it was updated to 1.0.2l in 67305d1b0a6dbcdb032d5a5a0e92122cf8f10b8d.