Rémi Verschelde
e59bb87fb6
Merge pull request #10690 from volzhs/editor-font
...
Replace default editor font to NotoSansUI
2017-08-31 11:50:44 +02:00
volzhs
30f4a16cdf
Use Noto fonts for Arabic, Hebrew and Thai
2017-08-29 21:01:31 +09:00
volzhs
412afe42e7
Update source code pro font to 2.030
2017-08-29 17:48:41 +09:00
volzhs
110da7f816
Replace default editor font to NotoSansUI
2017-08-29 17:42:55 +09:00
Rémi Verschelde
dde0e93af8
Copyright: Various fixes
2017-08-27 13:23:09 +02:00
Rémi Verschelde
23813b4179
stb: Update to upstream stb_truetype 1.17
...
Also fix documented OpenSSL version, it was updated to 1.0.2l in
67305d1b0a
.
(cherry picked from commit 560fc0f199
)
2017-08-27 13:05:52 +02:00
Rémi Verschelde
765b500c85
libpng: Update to upstream version 1.6.32
...
Fixes security vulnerability in our 1.6.31rc01 snapshot.
(cherry picked from commit ee1d0179c5
)
2017-08-27 13:05:12 +02:00
Rémi Verschelde
8bbe893319
minizip: Fix compatibility with Gentoo's unique zlib API
...
Fixes #10539 in a diplomatic way (as opposed to telling Gentoo users
to just change their distro or rebuild zlib from upstream...).
(cherry picked from commit 67e6c1b735
)
2017-08-27 12:41:52 +02:00
Rémi Verschelde
67a093e844
minizip: Reapply Godot-specific changes for seek support
...
I have not assessed whether they are still all relevant.
(cherry picked from commit 53fffa12f1
)
2017-08-27 12:41:00 +02:00
Rémi Verschelde
487684921c
minizip: Sync with pristine contrib/minizip from zlib 1.2.4
...
Godot-specific changes are undone in this commit, they will be readded
and properly documented in the following commit.
(cherry picked from commit 5681b7b60a
)
2017-08-27 12:40:46 +02:00
Rémi Verschelde
39f0dcc17d
libpng: Update to upstream version 1.6.31rc01
...
Fixes various issues with 1.6.30, especially ARM build.
Supersedes change in #9722 .
Fixes #9769 .
(cherry picked from commit 492999a33b
)
2017-07-22 18:43:13 +02:00
Rémi Verschelde
cf52c63034
libpng: Update to upstream version 1.6.30
...
(cherry picked from commit b1ca62af52
)
2017-07-14 22:36:34 +02:00
volzhs
05443bd5a8
Update freetype to 2.8
2017-06-25 11:16:45 +09:00
Rémi Verschelde
75a6e0f65a
opus: Update to upstream version 1.1.5
...
(cherry picked from commit 47e0e530a9
)
2017-06-17 11:53:19 +02:00
Rémi Verschelde
1fea09bfeb
openssl: Sync with upstream 1.0.2l
...
(cherry picked from commit 67305d1b0a
)
2017-06-17 11:51:29 +02:00
Rémi Verschelde
22e1512638
openssl: Reapply necessary WinRT changes from patch
...
(cherry picked from commit 996f1ae29e
)
2017-06-17 11:51:28 +02:00
Rémi Verschelde
b5d200898e
openssl: Define WIN32_LEAN_AND_MEAN on Windows
...
This avoids namespace collisions with things such as X509_NAME.
Also force include of necessary definitions in `crypto/o_str.c`
which seem missing on MSVC (but work on MinGW).
(cherry picked from commit c1b0662b40
)
2017-06-17 11:51:28 +02:00
Rémi Verschelde
c2e022c7c9
openssl: Sync with pristine upstream 1.0.2h
...
Our necessary custom changes will be reapplied in later commits for clarity,
and saved as patches for future updates.
(cherry picked from commit cb0f771aaa
)
2017-06-17 11:51:28 +02:00
Rémi Verschelde
8301137b38
openssl: Document update process and delete unused files
...
(cherry picked from commit 022541d917
)
2017-06-17 11:51:28 +02:00
George Marques
b2f8a365f2
Fix cherry-picking issues caused by code updates
2017-06-07 12:59:42 -03:00
George Marques
1cb77c3684
Patch thirdy-party libraries to build for WinRT
...
- Patch enet code.
- Patch OpenSSL code and add shims for unavailable API.
- Add extra definition header for Freetype.
2017-06-07 11:36:00 -03:00
Rémi Verschelde
d432ad1e17
Improve documentation of thirdparty code snippets
...
(cherry picked from commit c8aea60324
)
2017-05-26 23:53:14 +02:00
Rémi Verschelde
6cf507f004
Move other lone thirdparty files to thirdparty/misc
...
Also move Box2D ConvexDecomposition contrib code to
thirdparty/b2d_convexdecomp.
(cherry picked from commit d4029aa51a
)
2017-05-26 23:39:47 +02:00
Rémi Verschelde
86724ba1c6
Split thirdparty smaz.c out of compressed_translation.cpp
...
Code comes from 150e125cba/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
```
(cherry picked from commit c5f830d6b9
)
2017-05-26 23:35:15 +02:00
Rémi Verschelde
8312d421c6
Move core thirdparty files to thirdparty/{minizip,misc}
...
(cherry picked from commit 2398eb6ed4
)
2017-05-26 23:29:26 +02:00
Rémi Verschelde
b7e3ef5f6f
libpng: Update to upstream version 1.6.29
...
(cherry picked from commit d463b6e3d0
)
2017-04-09 15:52:14 +02:00
Rémi Verschelde
2bc0208b2c
opus: Update to upstream version 1.1.4
...
(cherry picked from commit dd8655aac9
)
2017-04-09 15:51:48 +02:00
Rémi Verschelde
20d1a28341
squish: Update to upstream version 1.15
...
Also fix clang-format pre-commit hook to ignore thirdparty files.
(cherry picked from commit fa2d5b91dc
)
2017-04-09 15:51:41 +02:00
Rémi Verschelde
6e5246e312
Reorder the folders in tools to prepare moving tools/editor
...
- `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.
(cherry picked from commit b87a232668
)
2017-03-18 23:29:43 +01:00
volzhs
f7ef78c998
Update libwebp to 0.6.0
2017-02-18 00:05:06 +09:00
Rémi Verschelde
b351d4cbc1
zlib: Update to upstream version 1.2.11
...
(cherry picked from commit 6a3dae5be9
)
2017-01-16 17:58:43 +01:00
Rémi Verschelde
af7fd899f4
opus: Update to upstream opusfile 0.8
...
Had missed it in the previous commit as the upstream website is outdated.
(cherry picked from commit c2310b41fa
)
2017-01-12 19:15:30 +01:00
Rémi Verschelde
3cd976366e
opus: Update to upstream libopus 1.1.3
...
(cherry picked from commit 9845bdde8d
)
2017-01-12 19:15:30 +01:00
Rémi Verschelde
6e9584e0c5
zlib: Update to upstream 1.2.10
...
(cherry picked from commit 2ca0337f5f
)
2017-01-12 19:15:30 +01:00
Rémi Verschelde
c24c2ca17b
libpng: Update to upstream 1.6.28
...
Fixes a NULL pointer dereference bug (CVE-2016-10087).
(cherry picked from commit a0141fa823
)
2017-01-12 19:15:30 +01:00
volzhs
5698571235
Update libwebp to 0.5.2
...
(cherry picked from commit e04c7e11ec
)
2017-01-12 19:15:28 +01:00
Rémi Verschelde
da4a870bc4
opus: Move public headers to match system install
...
(cherry picked from commit 611a94e3a6
)
2016-11-03 21:22:56 +01:00
Rémi Verschelde
5ee9a9962f
libpng: Update to upstream 1.6.26
...
(cherry picked from commit 7504a85e5a
)
2016-11-03 08:34:19 +01:00
Rémi Verschelde
d96842b80e
freetype: Make it a module and split thirdparty library
...
Comment out the weird workaround for building on Windows at it might
not be needed anymore. Testing needed to confirm.
(cherry picked from commit edbc0c0d0b
)
2016-10-30 14:51:33 +01:00
Rémi Verschelde
f1bd2f6f56
zlib: Split thirdparty files, simplify scons option
...
(cherry picked from commit cbf52606f4
)
2016-10-30 14:51:33 +01:00
Rémi Verschelde
e04ec9565b
glew: Split thirdparty files and isolate env
...
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.
(cherry picked from commit 36738ddda4
)
2016-10-30 14:51:33 +01:00
Rémi Verschelde
8263fca121
squish: Update to upstream 1.14
...
Sources are untouched, tarball from https://sourceforge.net/projects/libsquish
(cherry picked from commit 249836e530
)
2016-10-30 14:51:33 +01:00
Rémi Verschelde
1022705707
squish: Move to a module and split thirdparty lib
...
(cherry picked from commit 8311a78df5
)
2016-10-30 14:51:33 +01:00
Rémi Verschelde
4ff4177acc
rtaudio: Split thirdparty files
...
(cherry picked from commit 8981ff8a84
)
2016-10-30 14:51:33 +01:00
Rémi Verschelde
c8a97c3678
mpc: Move to a module and split thirdparty libmpcdec
...
(cherry picked from commit 5c12c9e69b
)
2016-10-30 14:51:33 +01:00
Rémi Verschelde
82e8721715
theora: Move to a module and split thirdparty lib
...
Same rationale as the previous commits.
(cherry picked from commit cfcc8a20e8
)
2016-10-30 14:51:32 +01:00
Rémi Verschelde
4cd640f684
openssl: Move to a module and split thirdparty lib
...
Same rationale as the previous commits.
(cherry picked from commit 422196759f
)
Removed the winrt-specific parts.
2016-10-30 14:51:32 +01:00
Rémi Verschelde
995dcb610c
ogg/vorbis/opus/speex: Make them modules and unbundle thirdparty libs
...
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.
(cherry picked from commit d9a291f641
)
speex module was only added while cherry-picking, as speex is removed
in the master branch but we don't want to break compatibility in 2.1.x.
Unbundling wasn't done as the module uses the internal speex_free,
so it would require some more work.
2016-10-30 14:51:31 +01:00
Rémi Verschelde
55414bc573
webp: Make it a module and unbundle libwebp thirdparty files
...
Note that there are two Godot-specific changes made to libwebp
for the javascript/HTML5 platform. They are documented in the
README.md.
(cherry picked from commit ee3cf211c6
)
2016-10-30 14:51:30 +01:00
Rémi Verschelde
819ccdd340
dds/etc1/pbm/pvr: Make those modules and split thirdparty files
...
They are not particularly packaged in Linux distros so we do not
facilitate unbundling via SCons. There could be done if/when there
is interest.
Also s/pnm/pbm/, long-lived typo :)
(cherry picked from commit b1e8889d96
)
2016-10-30 14:51:30 +01:00