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
Rémi Verschelde
d3d0507c05
Remove speex support, it is obsoleted by opus
...
As mentioned by upstream, Xiph.Org [0]:
> The Speex codec has been obsoleted by Opus. It will continue to be
> available, but since Opus is better than Speex in all aspects,
> users are encouraged to switch.
[0] http://www.speex.org/
2016-10-13 18:58:56 +02:00
George Marques
6c0be2c017
Merge pull request #6815 from RandomShaper/one-based-col-numbers-2
...
Adapt overlooked instances of zero-based column numbers
2016-10-13 13:51:23 -03:00
Karol Walasek
5687fa4709
Fixed Particle2D docs - radians to degrees for some params
2016-10-13 18:25:06 +02:00
George Marques
98ad32c167
Merge pull request #6809 from volzhs/graphedit-zoom
...
Fix GraphEdit connection wire when zoom in/out
2016-10-13 13:09:18 -03:00
George Marques
682c20be46
Merge pull request #6814 from Hinsbart/animplayer
...
Only show AnimationEditor automatically when an Animplayer is selected.
2016-10-13 13:07:37 -03:00
Karol Walasek
61cca26ddf
Documentation of RPC-related methods and classes
2016-10-13 18:00:24 +02:00
Rémi Verschelde
05a5d3d9d5
Merge pull request #6782 from pkowal1982/load_icon
...
New load icon, removed unused open icon
2016-10-13 18:00:07 +02:00
George Marques
491e0fc14a
Merge pull request #6805 from volzhs/graphnode-resizable
...
Expose resizable property of GraphNode in inspector
2016-10-13 12:31:20 -03:00
Pedro J. Estébanez
1b3dcac281
Adapt overlooked instances of zero-based column numbers
2016-10-13 12:57:14 +02:00
Andreas Haas
86fd40b06c
Only show AnimationEditor automatically when an Animplayer is selected.
...
Previous behaviour was to show it when an AnimationPlayer has been detected in the scene, now you actually have to select it.
Fixes #6213
2016-10-13 12:31:56 +02:00
Fabio Alessandrelli
2f2cea070e
Properly handle absolute paths in Globals::localize_path
...
This give a proper fix for #4280 - #3106 , allowing absolute paths
that starts from the file system, not the resource folder
2016-10-13 11:51:38 +02:00
Fabio Alessandrelli
11349a786b
Revert "Add warning when (pre)loading paths with leading / ( #4280 - #3106 )"
...
Also closes : #6801
This reverts commit e59820ac94
.
2016-10-13 11:49:22 +02:00
Pedro J. Estébanez
00b3af246b
Allow turing off zero-padding for line numbers
2016-10-13 11:43:42 +02:00
Pedro J. Estébanez
753ba67d65
Add/expose VisualServer::get_default_clear_color()
2016-10-13 11:24:55 +02:00
volzhs
6227e38ec6
Fix GraphEdit connection wire when zoom in/out
2016-10-13 12:11:29 +09:00
volzhs
870ed6f2fa
Add "button_selected" signal to ButtonGroup
2016-10-13 09:58:06 +09:00
volzhs
06903c7ad2
Expose resizable property of GraphNode in inspector
2016-10-13 08:24:25 +09:00
Zher Huei Lee
f5830e0973
Fixes for ButtonArray
...
Fixed hover sometimes not resetting when mouse leaves widget.
Fixed text position not taking into account stylebox's content margins.
2016-10-12 22:54:04 +01:00
Răzvan Cosmin Rădulescu
9ad0850301
Fixes hash float negative 0 problem
...
Before this was giving an error:
var a = {Vector2(1, 0): 5, Vector2(-1, 0): 7}
print(a)
print(a[Vector2(1, 0)])
print(a[-Vector2(1, 0)])
This simple commit fixes the issue.
2016-10-12 21:24:07 +02:00
Mateusz Adamczyk
cf4f3815b3
Possibility to write node path by hand in exported NodePath variable ( #3486 )
2016-10-11 23:15:01 +02:00
Anthony Fieroni
f87e32696d
Correct OS architecture detection
...
Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>
2016-10-11 20:58:24 +03:00
volzhs
cc33c528eb
Replace a node with saved branch scene instance
2016-10-11 23:54:46 +09:00
Rémi Verschelde
12843167ca
Merge pull request #6788 from Hinsbart/region_refresh
...
Refresh TextureRegionEditor when region has been changed externally.
2016-10-11 16:29:40 +02:00
Rémi Verschelde
13bf9b6973
Merge pull request #6791 from Hinsbart/frame_changed
...
Sprite: Fix inspector not showing changes on "frame" property.
2016-10-11 15:58:15 +02:00
Andreas Haas
9d67895c7c
Sprite: Fix inspector not showing changes on "frame" property.
...
Fixes #6562
2016-10-11 15:14:05 +02:00
Andreas Haas
094073e4b2
Refresh TextureRegionEditor when region has been changed externally.
...
Now the TextureRegionEditor updates when you change the region_rect either via the inspector or via
undo/redo.
Fixes #6772
2016-10-11 11:31:25 +02:00
Rémi Verschelde
a317617aae
Merge pull request #6783 from pkowal1982/buttonpressed
...
Fix #5959 , contrasting texture for toggled button
2016-10-11 09:11:35 +02:00
Rémi Verschelde
0f587c460e
Merge pull request #6778 from Hinsbart/completion_z
...
Fix Script Editor drawing over Dialogs.
2016-10-11 09:10:39 +02:00
Rémi Verschelde
53016ef7a1
Merge pull request #6777 from RandomShaper/revise-serial-naming
...
Revise serial naming behavior
2016-10-11 09:10:20 +02:00
Rémi Verschelde
8b54cfad1d
Merge pull request #6776 from RandomShaper/int_property_step
...
Allow step for integer properties
2016-10-11 09:10:00 +02:00