Commit graph

5732 commits

Author SHA1 Message Date
Rémi Verschelde
e96c49f849 Merge pull request #6850 from akien-mga/pr-scsub-shebang
SCsub: Add python shebang as a hint for syntax highlighting
2016-10-17 20:13:18 +02:00
Rémi Verschelde
fc8ccd5b8c SCsub: Add python shebang as a hint for syntax highlighting
Also switch existing shebangs to "better" /usr/bin/env python.
2016-10-17 20:10:46 +02:00
Rémi Verschelde
c4b7c7d81b Merge pull request #6796 from mateka/issue-3486
Possibility to write node path by hand in exported NodePath variable (#3486)
2016-10-17 11:17:06 +02:00
Rémi Verschelde
bdce7eefa0 Merge pull request #6846 from volzhs/android-dir-exists
Fix crash when using Directory.dir_exists(path) on Android
2016-10-17 10:10:25 +02:00
Rémi Verschelde
dccbd4aa6b Merge pull request #6832 from Hinsbart/mapping_whitespace
Allow whitespace in Gamepad mappings.
2016-10-17 10:08:55 +02:00
Rémi Verschelde
1da55f4251 Merge pull request #6825 from volzhs/import-3d-scene-name
Add option for root node name on Import 3D scene window
2016-10-17 10:08:23 +02:00
Rémi Verschelde
048bffd13a Merge pull request #6806 from leezh/button_array_fixes
ButtonArray fixes and improvements
2016-10-17 10:05:42 +02:00
Rémi Verschelde
345f82d4ca Merge pull request #6779 from WalasPrime/rpc_docs
Documentation of RPC-related methods and classes
2016-10-17 09:58:34 +02:00
Rémi Verschelde
02feb4545e Merge pull request #6748 from mateka/issue-6199
Place child dialog contents under label in AcceptDialog
2016-10-17 09:55:00 +02:00
Rémi Verschelde
15e324b147 Merge pull request #6739 from bvbfan/patch-3
Button focus hovering
2016-10-17 09:53:52 +02:00
Rémi Verschelde
c7ea842416 Merge pull request #6733 from Cruel/patch-1
Use int consistently instead of int32_t for Vectors
2016-10-17 09:53:06 +02:00
Rémi Verschelde
0eccf42884 Merge pull request #6723 from bvbfan/patch-1
Correct OS architecture detection
2016-10-17 09:48:26 +02:00
Rémi Verschelde
fb257f7f24 Merge pull request #6698 from razvanc-r/fix_hash_float
Fixes hash float negative 0 problem
2016-10-17 09:41:39 +02:00
Rémi Verschelde
31e0e95362 Merge pull request #6692 from bojidar-bg/add-char-to-gd-vs-script
Add `String char(int ascii)` function to GDScript and Visual Script
2016-10-17 09:40:39 +02:00
Rémi Verschelde
73cb001e49 Merge pull request #6848 from zaps166/x86_libtheora_opt
Theora: Don't compile unnecessary files, rename "x86_opt_*"
2016-10-16 23:02:30 +02:00
Błażej Szczygieł
4ffa8f224d Theora: Don't compile unnecessary files, rename "x86_opt_*" 2016-10-16 22:31:27 +02:00
volzhs
4a57821349 Fix crash when using Directory.dir_exists(path) on Android 2016-10-17 01:29:31 +09:00
Rémi Verschelde
89132224a6 Merge pull request #6830 from akien-mga/thirdparty
Move most "drivers" as toggleable "modules" and split their thirdparty libraries in an own tree
2016-10-16 11:52:09 +02:00
Rémi Verschelde
e57042e8a9 png: Try to fix neon issue on iphone armv7 2016-10-15 18:10:19 +02:00
Rémi Verschelde
248bc9159c drivers: Refactor SCsub and drop redundant env_drivers clone
The reordering of the SConscript includes allows to ensure that
stuff like the builtin zlib headers will be available for libpng.

Also moved glew back into global env, otherwise windows seems
not to find it... Kind of shooting in the dark with this multi-env
setup.
2016-10-15 18:10:18 +02:00
Rémi Verschelde
edbc0c0d0b 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.
2016-10-15 18:10:17 +02:00
Andreas Haas
fa502b7ccc
Allow whitespace in Gamepad mappings.
Previously, mappings that contained whitespace (most likely after a comma seperator) would not parse
correctly.
Consider the following mapping as an example:

"_test_guid_, test controller, a:b0, b:b1, leftx:a0 ,"
2016-10-15 17:55:15 +02:00
George Marques
eb8d19ba74 Merge pull request #6829 from volzhs/graphedit-node-resize
Fix GraphEdit connection wire when resizing GraphNode
2016-10-15 12:30:51 -03:00
Rémi Verschelde
e6dc51a0f7 chibi: Move to a module 2016-10-15 12:20:53 +02:00
Rémi Verschelde
cbf52606f4 zlib: Split thirdparty files, simplify scons option 2016-10-15 12:20:47 +02:00
Rémi Verschelde
36738ddda4 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.
2016-10-15 12:01:28 +02:00
Rémi Verschelde
249836e530 squish: Update to upstream 1.14
Sources are untouched, tarball from https://sourceforge.net/projects/libsquish
2016-10-15 12:01:28 +02:00
Rémi Verschelde
8311a78df5 squish: Move to a module and split thirdparty lib 2016-10-15 12:01:28 +02:00
Rémi Verschelde
8981ff8a84 rtaudio: Split thirdparty files 2016-10-15 12:01:25 +02:00
Rémi Verschelde
5c12c9e69b mpc: Move to a module and split thirdparty libmpcdec 2016-10-15 11:50:42 +02:00
Rémi Verschelde
cfcc8a20e8 theora: Move to a module and split thirdparty lib
Same rationale as the previous commits.
2016-10-15 11:50:41 +02:00
Rémi Verschelde
da09c6131b modules: Clone env in each module
This allows to pass include paths and flags only to a given thirdparty
library, thus preventing conflicts between their files (e.g. between
opus and openssl which both provide modes.h.

This also has the nice effect of making the compilation command smaller
for each module as it no longer related to all other modules, only the
final linking brings them together.

This however requires adding manually the ogg include path in opus
and vorbis when building against the builtin ogg, since it is no longer
in the global env.

Also simplified template 'thirdparty_<module>_sources' to
'thirdparty_sources'.

"Core" modules like cscript, gdscript, gridmap, ik and virtual_script
still use the main env_modules, but it could be changed if need be.
2016-10-15 11:50:41 +02:00
Rémi Verschelde
422196759f openssl: Move to a module and split thirdparty lib
Same rationale as the previous commits.
2016-10-15 11:50:41 +02:00
Rémi Verschelde
d9a291f641 ogg/vorbis/opus: 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.
2016-10-15 11:50:40 +02:00
Rémi Verschelde
ee3cf211c6 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.
2016-10-15 11:50:39 +02:00
Rémi Verschelde
b1e8889d96 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 :)
2016-10-15 11:50:39 +02:00
Rémi Verschelde
c31ad71f10 enet: Split enet thirdparty files and allow unbundling
Building against shared libraries only implemented for Linux X11 so far.
TODO: Document Godot's modifications of upstream enet.
2016-10-15 11:50:39 +02:00
Rémi Verschelde
16ba665db6 jpg: Make it a module and split jpgd thirdparty files
Similar rationale as in previous commit.
2016-10-15 11:50:39 +02:00
Rémi Verschelde
5fef84a135 png: Split library to thirdparty dir and allow unbundling
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.
2016-10-15 11:50:39 +02:00
Rémi Verschelde
17f06202b7 Merge pull request #6827 from akien-mga/pr-bye-nedmalloc
Drop nedmalloc which is apparently not used anymore
2016-10-14 22:17:03 +02:00
volzhs
7f6c28e97f Fix GraphEdit connection wire when resizing GraphNode 2016-10-15 03:11:26 +09:00
George Marques
6ca2128ff8 Merge pull request #6807 from volzhs/buttongroup-signal
Add "button_selected" signal to ButtonGroup
2016-10-14 14:43:18 -03:00
Zher Huei Lee
38caa4ef91 Added support for tooltips in ButtonArray. Fixes #6597 2016-10-14 18:11:52 +01:00
volzhs
dd04ac7ba9 Add option for root node name on Import 3D scene window 2016-10-15 01:44:19 +09:00
Rémi Verschelde
f63bf12193 Drop nedmalloc which is apparently not used anymore 2016-10-14 18:21:23 +02:00
Rémi Verschelde
292132ef6b Merge pull request #6821 from akien-mga/pr-bye-speex
Remove speex support, it is obsoleted by opus
2016-10-14 18:14:33 +02:00
Rémi Verschelde
a3ffbc38a6 Merge pull request #6820 from WalasPrime/fix_6803
Fix #6803 - Particle2D params
2016-10-14 18:14:22 +02:00
Rémi Verschelde
5e373c2a69 Merge pull request #6813 from Faless/fix_6801_bis
Re-Allow absolute paths, make them behave correctly
2016-10-14 18:14:05 +02:00
Rémi Verschelde
2f57249c29 Merge pull request #6793 from volzhs/save-branch
Replace a node with saved branch scene instance
2016-10-14 18:09:47 +02:00
Rémi Verschelde
44e0071d0f Merge pull request #6780 from RandomShaper/space-padded-line-numbers
Allow turning off zero-padding for line numbers
2016-10-14 18:09:27 +02:00