| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
| |
This is due to a Godot bug which is now fixed in the master branch, but would require
too much work for a short-lived branch such as 2.1. Building release binaries with GCC 6+
will trigger segfaults due to UB when dereferencing pointers with Object::cast_to.
In theory this check should also be made for Windows cross-compilation with MinGW,
but I am more concerned about Linux distros shipping broken binaries than adventurous
cross-compilers hitting a wall.
|
| | |
|
| | |
|
| |
|
|
|
|
| |
Workaround until #8624 is fixed.
(cherry picked from commit 29768010126edda76229c5b14c85e7d72f1880f4)
|
| |
|
|
|
|
| |
All the warnings are factored out of the platform-specific files and moved to
SConstruct. Will have to check that it does not introduce regressions on some
platforms/compilers.
|
| |
|
|
|
|
|
|
|
|
| |
debug_release doesn't turn off optimizations for release target now. Ensure that sanitizer options apply to both C and C++ files.
Built-in optimization/debug flags are prepended such that user-specified flags can override them.
Based on and around the discussion in PR #5194.
(cherry picked from commit 7a85d25218971506058a992d21821b47e153ec78)
|
| |
|
|
|
|
| |
Fixes #7373.
(cherry picked from commit d945c4e58ea1b49db3e0e96be46751b2d7fa808a)
|
| |
|
|
|
|
|
|
| |
This was the behaviour when building Godot 2.1, which allows to build against
Ubuntu 12.04 and its freetype that links old libpng12, while still bundling
libpng16.
(cherry picked from commit 4965ddfaa1536fb179d4b156d1ecb8a72a3c565f)
|
| |
|
|
|
|
|
|
|
|
|
| |
This reverts commits 5fa1bb331ad9be31dbfc752c7d19ccf7caeb8fa
and ec4be71fade1ee5c6171e323d09197f3bf528499.
Looks like Debian/Ubuntu are not even shipping libpng16 nowadays in their
stable releases, we'll have to go back to statically linking our own
libpng16 to wait for them to stop being 5 years behind everybody.
(cherry picked from commit c32766a482595256bc48155587a47f27848ac8ea)
|
| |
|
|
|
|
|
| |
This bit us for 2.1.1 binaries built on Ubuntu 12.04 LTS where
libpng.pc apparently prioritizes libpng12.
(cherry picked from commit 5fa1bb331ad9be31dbfc752c7d19ccf7caeb8fa4)
|
| |
|
|
|
|
| |
Also prefix all thirdparty-related toggles with `builtin`.
(cherry picked from commit cc95d4448c6005c3007c8460f09b8be1595eb3c0)
|
| |
|
|
|
|
|
|
|
|
|
| |
Done with `autopep8 --select=E3,W3`, fixes:
- E301 - Add missing blank line.
- E302 - Add missing 2 blank lines.
- E303 - Remove extra blank lines.
- E304 - Remove blank line following function decorator.
- E309 - Add missing blank line.
- W391 - Remove trailing blank lines.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Done with `autopep8 --select=E2,W2`, fixes:
- E201 - Remove extraneous whitespace.
- E202 - Remove extraneous whitespace.
- E203 - Remove extraneous whitespace.
- E211 - Remove extraneous whitespace.
- E221 - Fix extraneous whitespace around keywords.
- E222 - Fix extraneous whitespace around keywords.
- E223 - Fix extraneous whitespace around keywords.
- E224 - Remove extraneous whitespace around operator.
- E225 - Fix missing whitespace around operator.
- E226 - Fix missing whitespace around operator.
- E227 - Fix missing whitespace around operator.
- E228 - Fix missing whitespace around operator.
- E231 - Add missing whitespace.
- E231 - Fix various deprecated code (via lib2to3).
- E241 - Fix extraneous whitespace around keywords.
- E242 - Remove extraneous whitespace around operator.
- E251 - Remove whitespace around parameter '=' sign.
- E261 - Fix spacing after comment hash.
- E262 - Fix spacing after comment hash.
- E265 - Format block comments.
- E271 - Fix extraneous whitespace around keywords.
- E272 - Fix extraneous whitespace around keywords.
- E273 - Fix extraneous whitespace around keywords.
- E274 - Fix extraneous whitespace around keywords.
- W291 - Remove trailing whitespace.
- W293 - Remove trailing whitespace.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Done with `autopep8 --select=E1`, fixes:
- E101 - Reindent all lines.
- E112 - Fix under-indented comments.
- E113 - Fix over-indented comments.
- E115 - Fix under-indented comments.
- E116 - Fix over-indented comments.
- E121 - Fix a badly indented line.
- E122 - Fix a badly indented line.
- E123 - Fix a badly indented line.
- E124 - Fix a badly indented line.
- E125 - Fix indentation undistinguish from the next logical line.
- E126 - Fix a badly indented line.
- E127 - Fix a badly indented line.
- E128 - Fix a badly indented line.
- E129 - Fix a badly indented line.
|
| |
|
|
| |
(cherry picked from commit 2bf4553fe056c1fab5367dfae62426d3c7cf8168)
|
| |
|
|
| |
(cherry picked from commit 4ffa8f224d8d57520bd4953d67291c83152cd5e5)
|
| |
|
|
|
|
|
| |
Comment out the weird workaround for building on Windows at it might
not be needed anymore. Testing needed to confirm.
(cherry picked from commit edbc0c0d0bed169b3c07ef0f504b97936f0dab37)
|
| |
|
|
| |
(cherry picked from commit cbf52606f4928df46fc89d37d781bad782f0616e)
|
| |
|
|
|
|
|
|
| |
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 36738ddda4f732fff7bbfb7b4605a47a0bd7c045)
|
| |
|
|
| |
(cherry picked from commit 8311a78df5cdf257297c1ec7493cb098dc76f010)
|
| |
|
|
|
|
| |
Same rationale as the previous commits.
(cherry picked from commit cfcc8a20e862b758c32bd3f152186e6df0591a24)
|
| |
|
|
|
|
|
|
| |
Same rationale as the previous commits.
(cherry picked from commit 422196759f93df249db38619f136cabd5dcf42cd)
Removed the winrt-specific parts.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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 d9a291f6411f2e571c181da0ac89f550ba73f681)
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.
|
| |
|
|
|
|
|
|
| |
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 ee3cf211c6fd4d1e30617467cdbbe945798a68b3)
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Uses the new structure agreed upon in #6157, but the thirdparty/ folder
does not behave following a logic similar to that of modules/ yet.
The png driver can't be moved to a module as discussed in #6157, as it's
required by core together with a few other ImageLoader implementations
(see drivers/register_driver_types.cpp:register_core_driver_types())
Dropped the possibility to disable PNG support, it's a core component
of Godot.
(cherry picked from commit 5fef84a1358310304cb1114924525ec4df794b49)
|
| |
|
|
|
|
|
|
| |
* This allows building when ALSA libs are in a non-standard location. PKG_CONFIG_PATH alone is not enough as the final link fails. Adding this makes the final link succeed.
* The extra LIBS flag for alsa is not needed so removing.
(cherry picked from commit 94d6757a0d7426f6805c6f9d50a8afc0c2f6061a)
|
| | |
|
| | |
|
| | |
|
| | |
|
| |\
| |
| | |
x11: Implemented dpi detection
|
| | |
| |
| |
| |
| |
| | |
depends on XRandR.
Had to dynamically load `XRRGetMonitors` as Ubuntu 12.04 doesn't have it.
Also removed libudev from travis install list.
|
| |/
|
|
|
|
| |
on x11.
closes #5119
|
| |
|
|
|
|
|
|
| |
This allows us not to have to hack our definitions in the upstream files,
making it easier to upgrade to newer versions in the future.
For the include paths to work, the headers are moved to a GL subfolder to
match their upstream location.
|
| |
|
|
|
|
| |
-DynamicFont uses Freetype by default
-Editor fonts are now scalable thanks to this
-Cleaned up documentation browser and added fonts for this
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
It is enabled by default, users have to specifically ask for it if they don't want gamepad support. If libudev or libevdev are missing, the build aborts and tells the user the reason and that they can disable gamepad support with the "gamepad=no" option.
|
| |
|
|
| |
only for now
|
| | |
|
| | |
|
| | |
|
| | |
|
| |\
| |
| | |
Compile on OpenBSD
|
| | | |
|
| | |
| |
| |
| | |
debug_release=yes together
|
| |/ |
|