summaryrefslogtreecommitdiff
path: root/thirdparty
AgeCommit message (Collapse)Author
2017-05-26-Added EXR supprot for HDR (no BC6 compression yet though)Juan Linietsky
-Improvements to texture importer -Proper detection of S3TC compression modes, and added all modes to Image -Fixes to non-power of 2 compressed textures, which should all be supported by GLES3
2017-05-07Improve documentation of thirdparty code snippetsRémi Verschelde
2017-04-28Move other lone thirdparty files to thirdparty/miscRémi Verschelde
Also move Box2D ConvexDecomposition contrib code to thirdparty/b2d_convexdecomp.
2017-04-28Split thirdparty smaz.c out of compressed_translation.cppRémi Verschelde
Code comes from https://github.com/antirez/smaz/blob/150e125cbae2e8fd20dd332432776ce13395d4d4/smaz.c With a small modification to match Godot expectations: ``` diff --git a/thirdparty/core/smaz.c b/thirdparty/core/smaz.c index 9b1ebc2..555dfea 100644 --- a/thirdparty/core/smaz.c +++ b/thirdparty/core/smaz.c @@ -14,7 +14,7 @@ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND #include <string.h> /* Our compression codebook, used for compression */ -static char *Smaz_cb[241] = { +static const char *Smaz_cb[241] = { "\002s,\266", "\003had\232\002leW", "\003on \216", "", "\001yS", "\002ma\255\002li\227", "\003or \260", "", "\002ll\230\003s t\277", "\004fromg\002mel", "", "\003its\332", "\001z\333", "\003ingF", "\001>\336", @@ -89,7 +89,7 @@ static char *Smaz_rcb[254] = { "e, ", " it", "whi", " ma", "ge", "x", "e c", "men", ".com" }; -int smaz_compress(char *in, int inlen, char *out, int outlen) { +int smaz_compress(const char *in, int inlen, char *out, int outlen) { unsigned int h1,h2,h3=0; int verblen = 0, _outlen = outlen; char verb[256], *_out = out; @@ -167,7 +167,7 @@ out: return out-_out; } -int smaz_decompress(char *in, int inlen, char *out, int outlen) { +int smaz_decompress(const char *in, int inlen, char *out, int outlen) { unsigned char *c = (unsigned char*) in; char *_out = out; int _outlen = outlen; @@ -192,7 +192,7 @@ int smaz_decompress(char *in, int inlen, char *out, int outlen) { inlen -= 2+len; } else { /* Codebook entry */ - char *s = Smaz_rcb[*c]; + const char *s = Smaz_rcb[*c]; int len = strlen(s); if (outlen < len) return _outlen+1; diff --git a/thirdparty/core/smaz.h b/thirdparty/core/smaz.h index a547d89..a9d8a33 100644 --- a/thirdparty/core/smaz.h +++ b/thirdparty/core/smaz.h @@ -14,7 +14,7 @@ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND #ifndef _SMAZ_H #define _SMAZ_H -int smaz_compress(char *in, int inlen, char *out, int outlen); -int smaz_decompress(char *in, int inlen, char *out, int outlen); +int smaz_compress(const char *in, int inlen, char *out, int outlen); +int smaz_decompress(const char *in, int inlen, char *out, int outlen); #endif ```
2017-04-28Move core thirdparty files to thirdparty/{minizip,misc}Rémi Verschelde
2017-04-09libpng: Update to upstream version 1.6.29Rémi Verschelde
2017-04-09opus: Update to upstream version 1.1.4Rémi Verschelde
2017-04-09squish: Update to upstream version 1.15Rémi Verschelde
Also fix clang-format pre-commit hook to ignore thirdparty files.
2017-04-08Add "Godot Engine contributors" copyright lineRémi Verschelde
2017-03-24ENet code cleanup and changes from review.Fabio Alessandrelli
2017-03-24Cleanup unused ENet files and updated thirdparty READMEFabio Alessandrelli
2017-03-24Allow non blocking UDP put_packet in C++.Fabio Alessandrelli
- Add blocking mode option to PacketPeerUDP. - put_packet returns ERR_UNAVAILABLE when operation would block. - ENet module uses non-blocking UDP.
2017-03-08Convert ENetAddress host to 16 bytes to accomote IPv6Fabio Alessandrelli
2017-03-08Add godot socket implementationFabio Alessandrelli
2017-02-17Update libwebp to 0.6.0volzhs
2017-02-09Reorder the folders in tools to prepare moving tools/editorRémi Verschelde
- `certs` and `editor_fonts` go to `thirdparty` - `dist` and `scripts` go to a new `misc` folder - `collada` and `doc` go to `tools/editor` The next step will be to rename `tools/editor` to `editor` directly, but this will be done at the right time to avoid breaking too many PRs.
2017-01-21WIP new AudioServer, with buses, effects, etc.Juan Linietsky
2017-01-16zlib: Update to upstream version 1.2.11Rémi Verschelde
2017-01-11Remove libmpcdec bundled lib, no longer usedRémi Verschelde
Musepack support was removed in 857c50db70ba52723214eca4639fe230fd827864.
2017-01-08opus: Update to upstream opusfile 0.8Rémi Verschelde
Had missed it in the previous commit as the upstream website is outdated.
2017-01-06Remove bundled glew, obsoleted by gladRémi Verschelde
Also make Haiku load the glad header for GLES3 too, though I haven't test it.
2017-01-06glad: Update to upstream 0.1.13a0Rémi Verschelde
Upstreams the workaround we had to use for OSX.
2017-01-06Move glad files to thirdparty dirRémi Verschelde
2017-01-05opus: Update to upstream libopus 1.1.3Rémi Verschelde
2017-01-05zlib: Update to upstream 1.2.10Rémi Verschelde
2017-01-05libpng: Update to upstream 1.6.28Rémi Verschelde
Fixes a NULL pointer dereference bug (CVE-2016-10087).
2017-01-02Merge remote-tracking branch 'origin/gles3' into gles3-on-masterRémi Verschelde
Various merge conflicts have been fixed manually and some mistakes might have been made - time will tell :)
2016-12-24Update libwebp to 0.5.2volzhs
2016-12-01WebM: Fix crash when there is no audio streamBłażej Szczygieł
Sync with libsimplewebm-git: 05cfdc2
2016-11-15Fix compilation with MSVC 2013Błażej Szczygieł
2016-11-06Merge pull request #7019 from vnen/rename-winrt-uwpRémi Verschelde
Rename WinRT platform to UWP
2016-11-03opus: Move public headers to match system installRémi Verschelde
2016-11-03Rename remaining WinRT references to UWPGeorge Marques
2016-11-03Rename WINRT_ENABLED to UWP_ENABLEDGeorge Marques
2016-11-03Rename WinRT files to UWPGeorge Marques
2016-11-02libpng: Update to upstream 1.6.26Rémi Verschelde
2016-10-19libvpx: Necessary modificationsBłażej Szczygieł
- convert ARM assembly (NEON) files, - add rtcd for run-time CPU features detection, - modify "system_state.h", - "arm_cpudetect.c" fixes.
2016-10-19Add libvpx thirdparty libraryBłażej Szczygieł
Only necessary files
2016-10-17Add libsimplewebm and libwebm thirdparty librariesBłażej Szczygieł
2016-10-15freetype: Make it a module and split thirdparty libraryRémi Verschelde
Comment out the weird workaround for building on Windows at it might not be needed anymore. Testing needed to confirm.
2016-10-15zlib: Split thirdparty files, simplify scons optionRémi Verschelde
2016-10-15glew: Split thirdparty files and isolate envRémi Verschelde
Not fully happy about the way this one interacts with the various platforms. Maybe the platform_config.h should be generated by the SCsub instead of passing a define just to know where is the header.
2016-10-15squish: Update to upstream 1.14Rémi Verschelde
Sources are untouched, tarball from https://sourceforge.net/projects/libsquish
2016-10-15squish: Move to a module and split thirdparty libRémi Verschelde
2016-10-15rtaudio: Split thirdparty filesRémi Verschelde
2016-10-15mpc: Move to a module and split thirdparty libmpcdecRémi Verschelde
2016-10-15theora: Move to a module and split thirdparty libRémi Verschelde
Same rationale as the previous commits.
2016-10-15openssl: Move to a module and split thirdparty libRémi Verschelde
Same rationale as the previous commits.
2016-10-15ogg/vorbis/opus: Make them modules and unbundle thirdparty libsRémi Verschelde
Took the opportunity to undo the Godot changed made to the opus source. The opus module should eventually be built in its own environment to avoid polluting others with too many include dirs and defines. TODO: Fix the platform/ stuff for opus.
2016-10-15webp: Make it a module and unbundle libwebp thirdparty filesRémi Verschelde
Note that there are two Godot-specific changes made to libwebp for the javascript/HTML5 platform. They are documented in the README.md.