summaryrefslogtreecommitdiffstats
path: root/thirdparty
Commit message (Collapse)AuthorAgeFilesLines
* -Added EXR supprot for HDR (no BC6 compression yet though)Juan Linietsky2017-05-262-0/+12395
| | | | | | -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
* Improve documentation of thirdparty code snippetsRémi Verschelde2017-05-071-1/+24
|
* Move other lone thirdparty files to thirdparty/miscRémi Verschelde2017-04-2813-1/+8732
| | | | | Also move Box2D ConvexDecomposition contrib code to thirdparty/b2d_convexdecomp.
* Split thirdparty smaz.c out of compressed_translation.cppRémi Verschelde2017-04-283-0/+232
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 ```
* Move core thirdparty files to thirdparty/{minizip,misc}Rémi Verschelde2017-04-2826-0/+12148
|
* libpng: Update to upstream version 1.6.29Rémi Verschelde2017-04-098-40/+138
|
* opus: Update to upstream version 1.1.4Rémi Verschelde2017-04-092-2/+3
|
* squish: Update to upstream version 1.15Rémi Verschelde2017-04-093-9/+26
| | | | Also fix clang-format pre-commit hook to ignore thirdparty files.
* Add "Godot Engine contributors" copyright lineRémi Verschelde2017-04-082-0/+2
|
* ENet code cleanup and changes from review.Fabio Alessandrelli2017-03-243-2/+61
|
* Cleanup unused ENet files and updated thirdparty READMEFabio Alessandrelli2017-03-245-1160/+8
|
* Allow non blocking UDP put_packet in C++.Fabio Alessandrelli2017-03-241-1/+9
| | | | | | - Add blocking mode option to PacketPeerUDP. - put_packet returns ERR_UNAVAILABLE when operation would block. - ENet module uses non-blocking UDP.
* Convert ENetAddress host to 16 bytes to accomote IPv6Fabio Alessandrelli2017-03-083-13/+19
|
* Add godot socket implementationFabio Alessandrelli2017-03-082-0/+238
|
* Update libwebp to 0.6.0volzhs2017-02-17138-3621/+10111
|
* Reorder the folders in tools to prepare moving tools/editorRémi Verschelde2017-02-0911-0/+4947
| | | | | | | | | - `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.
* WIP new AudioServer, with buses, effects, etc.Juan Linietsky2017-01-211-0/+5399
|
* zlib: Update to upstream version 1.2.11Rémi Verschelde2017-01-169-24/+30
|
* Remove libmpcdec bundled lib, no longer usedRémi Verschelde2017-01-1123-4262/+0
| | | | Musepack support was removed in 857c50db70ba52723214eca4639fe230fd827864.
* opus: Update to upstream opusfile 0.8Rémi Verschelde2017-01-085-72/+111
| | | | Had missed it in the previous commit as the upstream website is outdated.
* Remove bundled glew, obsoleted by gladRémi Verschelde2017-01-066-47346/+0
| | | | | Also make Haiku load the glad header for GLES3 too, though I haven't test it.
* glad: Update to upstream 0.1.13a0Rémi Verschelde2017-01-063-10/+22
| | | | Upstreams the workaround we had to use for OSX.
* Move glad files to thirdparty dirRémi Verschelde2017-01-063-0/+5798
|
* opus: Update to upstream libopus 1.1.3Rémi Verschelde2017-01-0510-77/+238
|
* zlib: Update to upstream 1.2.10Rémi Verschelde2017-01-0522-767/+3415
|
* libpng: Update to upstream 1.6.28Rémi Verschelde2017-01-057-58/+46
| | | | Fixes a NULL pointer dereference bug (CVE-2016-10087).
* Merge remote-tracking branch 'origin/gles3' into gles3-on-masterRémi Verschelde2017-01-024-2115/+7791
| | | | | Various merge conflicts have been fixed manually and some mistakes might have been made - time will tell :)
* Update libwebp to 0.5.2volzhs2016-12-2428-230/+311
|
* WebM: Fix crash when there is no audio streamBłażej Szczygieł2016-12-012-2/+4
| | | | Sync with libsimplewebm-git: 05cfdc2
* Fix compilation with MSVC 2013Błażej Szczygieł2016-11-151-1/+5
|
* Merge pull request #7019 from vnen/rename-winrt-uwpRémi Verschelde2016-11-067-21/+21
|\ | | | | Rename WinRT platform to UWP
| * Rename remaining WinRT references to UWPGeorge Marques2016-11-032-3/+3
| |
| * Rename WINRT_ENABLED to UWP_ENABLEDGeorge Marques2016-11-036-18/+18
| |
| * Rename WinRT files to UWPGeorge Marques2016-11-032-0/+0
| |
* | opus: Move public headers to match system installRémi Verschelde2016-11-037-1/+1
|/
* libpng: Update to upstream 1.6.26Rémi Verschelde2016-11-0223-1115/+1436
|
* libvpx: Necessary modificationsBłażej Szczygieł2016-10-1926-47/+5429
| | | | | | | - convert ARM assembly (NEON) files, - add rtcd for run-time CPU features detection, - modify "system_state.h", - "arm_cpudetect.c" fixes.
* Add libvpx thirdparty libraryBłażej Szczygieł2016-10-19275-0/+83150
| | | | Only necessary files
* Add libsimplewebm and libwebm thirdparty librariesBłażej Szczygieł2016-10-1716-0/+10124
|
* freetype: Make it a module and split thirdparty libraryRémi Verschelde2016-10-15479-1/+190775
| | | | | Comment out the weird workaround for building on Windows at it might not be needed anymore. Testing needed to confirm.
* zlib: Split thirdparty files, simplify scons optionRémi Verschelde2016-10-1522-16/+10824
|
* glew: Split thirdparty files and isolate envRémi Verschelde2016-10-156-0/+41671
| | | | | | 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.
* squish: Update to upstream 1.14Rémi Verschelde2016-10-1525-3810/+4079
| | | | Sources are untouched, tarball from https://sourceforge.net/projects/libsquish
* squish: Move to a module and split thirdparty libRémi Verschelde2016-10-1525-0/+4484
|
* rtaudio: Split thirdparty filesRémi Verschelde2016-10-153-0/+11426
|
* mpc: Move to a module and split thirdparty libmpcdecRémi Verschelde2016-10-1523-0/+4262
|
* theora: Move to a module and split thirdparty libRémi Verschelde2016-10-1573-0/+31600
| | | | Same rationale as the previous commits.
* openssl: Move to a module and split thirdparty libRémi Verschelde2016-10-15946-0/+354810
| | | | Same rationale as the previous commits.
* ogg/vorbis/opus: Make them modules and unbundle thirdparty libsRémi Verschelde2016-10-15382-0/+142877
| | | | | | | | | 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.
* webp: Make it a module and unbundle libwebp thirdparty filesRémi Verschelde2016-10-15150-0/+58480
| | | | | | Note that there are two Godot-specific changes made to libwebp for the javascript/HTML5 platform. They are documented in the README.md.