Commit Graph

20308 Commits

Author SHA1 Message Date
8b1e297fc6 Don't crash on printing nested types
When adding an Array or Dictionary to itself operator String() got in an
infinite loop. This commit adds a stack to operator String() (Through
the use of a new 'stringify method'). This stack keeps track of all
unique Arrays and Dictionaries it has seen. When a duplicate is found
only a static string is printed '[...]' or '{...}'.

This mirror Python's behavior in a similar case.
2019-04-20 02:01:55 +02:00
8e652a1400 Added minimal documentation for _get_configuration_warning method
(cherry picked from commit 0eeb1a7d0d)
2019-04-19 13:01:17 +02:00
8269ed9cdf Merge pull request #28196 from akien-mga/xatlas-cleanup
xatlas: Document provenance, copyright and custom changes
2019-04-19 12:59:41 +02:00
7b1d75223a Merge pull request #28193 from akien-mga/drop-thekla
Drop unused thekla_atlas dependency
2019-04-19 12:51:13 +02:00
b29df348e2 Merge pull request #28192 from akien-mga/doc-unused-demos
doc: Drop unused <demos> tag, sync classref
2019-04-19 12:50:42 +02:00
44f9a966e0 xatlas: Redo our custom changes, but properly documented 2019-04-19 12:40:01 +02:00
1e39fee140 xatlas: Revert to unmodified upstream code, add to COPYRIGHT
Imported by @reduz from b8ec29b6b6
Custom changes will be remade properly in the next commit.
2019-04-19 12:39:26 +02:00
6640f397f1 Drop unused thekla_atlas dependency
Since f12cb82 @reduz dropped the use of the thirdparty thekla_atlas
library, which is replaced by xatlas.

Fixes #28180.
Fixes #28182.
2019-04-19 11:42:58 +02:00
f20c9c25eb Merge pull request #28164 from BastiaanOlij/AndroidCameraPermission
Add camera permissions to android
2019-04-19 11:27:11 +02:00
268b520703 doc: Sync classref with current source 2019-04-19 11:21:09 +02:00
6af69f851a doc: Drop unused <demos> tag 2019-04-19 11:03:46 +02:00
d1c26674eb Merge pull request #28051 from WindyDarian/no_utf8_for_vs2013
Ignore '/utf-8' flag on Visual Studio 2013
2019-04-19 08:41:43 +02:00
4ad255a078 Merge pull request #28131 from 2bit-hack/patch-1
Fixed copy&paste error #28117
2019-04-18 16:36:04 +02:00
392f1491e1 Merge pull request #28161 from neikeq/exception-hook-no-abort
Mono: Use exit(status) instead of abort() in exception hook
2019-04-18 16:26:54 +02:00
1b3ea697c5 Merge pull request #28165 from neikeq/missing-tostring
C#: Add missing ToString() override methods
2019-04-18 15:31:33 +02:00
fab84c7dff Add camera permissions to android 2019-04-18 23:16:41 +10:00
8759c0e31a Mono: Use exit(status) instead of abort() in exception hook 2019-04-18 15:01:50 +02:00
4f22fde635 Merge pull request #28158 from akien-mga/zstd-1.4.0
zstd: Update to upstream 1.4.0, remove call to experimental API
2019-04-18 15:01:32 +02:00
2b9557c920 C#: Add missing ToString() override methods
Godot.Object, Array, Dictionary and RID were missing ToString() override methods
2019-04-18 14:48:13 +02:00
2dee231c8e Merge pull request #28146 from volzhs/unique_id_android
Fix get_unique_id() on Android
2019-04-18 13:53:27 +02:00
20265879e2 Compression: Set Zstd max window size via public parameter
`ZSTD_DCtx_setMaxWindowSize` is still part of the experimental API
(thus unexposed in the shared library). Upstream examples seem to
use `ZSTD_d_windowLogSize` instead, so it's probably what we should
use too.

Fixes #17374.
Distro packagers can now unbundle Zstd.
2019-04-18 13:47:42 +02:00
d1f98ff51b Merge pull request #28139 from neikeq/mono-log-level-info
Mono: Logging improvements
2019-04-18 13:14:02 +02:00
8f6e548ab0 Merge pull request #28150 from homer666/animationplayer-snap-mode-disable
Fix AnimationPlayer snap mode dropdown behaviour
2019-04-18 13:00:37 +02:00
88cb9bd27f zstd: Update to upstream 1.4.0
One step towards fixing #17374 as most experimental APIs we use are now
part of the stable 1.4.0.
2019-04-18 12:39:11 +02:00
659162ab98 Fix AnimationPlayer snap mode dropdown behaviour 2019-04-18 14:43:48 +10:00
5a4b2087a0 Fix get_unique_id() on Android 2019-04-18 08:07:03 +09:00
20e5e2fec7 Mono: Logging improvements
- The default log level in debug builds is now 'info' instead of 'debug'.
- Add option to specify a different log level with the 'GODOT_MONO_LOG_LEVEL' environment variable.
- The name of log files is now a readable date and time.
- Always print the log file path (previously it was printed only it in verbose mode).
2019-04-17 23:03:32 +02:00
aa8b2f4448 Fixed copy&paste error #28117
Changed "left to right" in VSplitContainer to "top to bottom".
2019-04-17 22:51:51 +05:30
6697fd9a05 Merge pull request #27821 from mawenzy/pr_sliderfix
Fix slider handle being hard to select
2019-04-17 09:03:30 +02:00
cea49f00c3 Merge pull request #28084 from Faless/fix/audio_miss_enum_bind
Bind AudioEffectSpectrumAnalyzer::FFT_Size enums
2019-04-16 14:07:44 -03:00
d0f2b5c8ab Bind AudioEffectSpectrumAnalyzer::FFT_Size enums 2019-04-16 18:00:19 +02:00
7a0c086e45 Merge pull request #27762 from rcorre/anim_docs
AnimationNode* docs
2019-04-16 15:47:47 +02:00
73713b6d3f Merge pull request #27937 from KoBeWi/sliderdocs
Added some documentation for Slider
2019-04-16 15:31:50 +02:00
93fcde8388 Merge pull request #27953 from siddharth952/v_scroll_speed
Fixes documentation of v_scroll_speed and wrap_enabled
2019-04-16 15:27:49 +02:00
1e2b3ac407 Merge pull request #28050 from Calinou/animation-track-editor-hidpi
Scale animation track editor line widths on hiDPI displays
2019-04-16 10:35:55 +02:00
f7b5fa8cf2 Merge pull request #28038 from CatThingy/area-error-fix
Removed unnecessary error from _area_inout
2019-04-16 10:35:29 +02:00
4f81945fed Merge pull request #28052 from muiroc/settings_decodes_objects
Enable object decoding when serializing binary project settings
2019-04-16 10:33:34 +02:00
6420768887 Merge pull request #28073 from lupoDharkael/early-validation
Validate scripts when they are loaded in the text editor
2019-04-16 10:10:57 +02:00
192d176d30 Merge pull request #28071 from YeldhamDev/treedialog_style_fix
Fix styling in 'SceneTreeDialog'
2019-04-16 10:09:37 +02:00
3069095e44 Merge pull request #28066 from jbuck3/popupmenu-plugin-id-fix
Fix setting of PopupMenu item IDs in editor
2019-04-16 10:05:00 +02:00
cac650022f Merge pull request #28053 from lupoDharkael/shadowing
GDScript: add variable shadowing warning
2019-04-16 09:25:36 +02:00
0a40ac3246 Merge pull request #28058 from guilhermefelipecgs/fix_28024
Add Input::get_current_cursor_shape
2019-04-16 09:25:00 +02:00
2c0c1e3c16 Merge pull request #28067 from KoBeWi/save_layout_x3
Save opened scenes when necessary
2019-04-16 09:05:17 +02:00
f137166251 Validate scripts when they are loaded in the text editor 2019-04-16 02:14:58 +02:00
75bbd8259a Fix styling in 'SceneTreeDialog'
Fixes #28029.
2019-04-15 20:21:51 -03:00
331f922359 Save opened scenes when necessary 2019-04-15 22:17:49 +02:00
ae646261e3 Fix setting of PopupMenu item IDs in editor 2019-04-15 14:36:42 -05:00
87e42e4f66 Merge pull request #24171 from YeldhamDev/occluder_polygon_grab
Make OccluderPolygon2D draggable in the editor
2019-04-15 16:10:48 -03:00
55c7590763 Merge pull request #27944 from YeldhamDev/tile_name_position_fix
Fix position of tile names in TileSet editor when zooming in/out
2019-04-15 15:35:48 -03:00
1bae73d7d0 Add Input::get_current_cursor_shape
[Clean up] Removed unused/unnecessary methods.
2019-04-15 15:22:09 -03:00