Commit graph

9448 commits

Author SHA1 Message Date
Rémi Verschelde
33e1716f13 Merge pull request #11402 from hpvb/remove-gdscript-checks-on-release
Various GDScript performance tweaks
2017-09-19 15:48:14 +02:00
Hein-Pieter van Braam
d05965963d Don't call Variant::reference() unnecessarily
operator= does not need to call reference() if the new value is of the
same type as the old. This saves us zeroing the Variant, This speeds
up reuse of a Variant in a loop by roughly 50%.
2017-09-19 15:27:57 +02:00
Rémi Verschelde
ba4439c491 Merge pull request #11386 from kosz78/fix-msvc-compile-errors
Fix MSVC compilation errors
2017-09-19 14:58:19 +02:00
Hein-Pieter van Braam
36e8bee752 Fix accidental cast to Vector3 for Vector2 iter 2017-09-19 14:18:12 +02:00
Rémi Verschelde
861f1d3490 Merge pull request #11412 from ISylvox/seperate-to-separate
Fix Typo: 'Seperate' to 'Separate'

[ci skip]
2017-09-19 13:15:36 +02:00
Hein-Pieter van Braam
24c76f177e Merge pull request #11395 from marcelofg55/fix_crashhandler_win
Prevent running the crash_handler when a debugger is present on windows
2017-09-19 11:16:47 +02:00
Indah Sylvia
13b630eb0c Fixed Typo: 'Seperate' to 'Separate' 2017-09-19 15:51:00 +07:00
Konstantin Zaitsev
28dc30cd59 Change structure order for godot nim compatibility 2017-09-19 11:35:51 +07:00
Konstantin Zaitsev
c386a02654 Fix MSVC compilation errors 2017-09-19 10:33:07 +07:00
Hein-Pieter van Braam
60790c8c5a Remove more GDScript runtime checks on release
As a preparation for other performance enhancements to GDScript:call()
start by removing more of the GDScript runtime checks on release.

This code has been tested with 2d/platformer, 3d/platformer,
3d/materials_test, and goltorus. No regressions were found.
2017-09-19 02:06:47 +02:00
Marcelo Fernandez
ff1e0a3e2c Prevent running the crash_handler when a debugger is present on windows 2017-09-18 16:29:23 -03:00
Rémi Verschelde
3d06957f12 Merge pull request #11375 from FigyTuna/rigid_body_docs
[DOCS] Modified/Added documentation for RigidBody and RigidBody2D

[ci skip]
2017-09-18 20:05:41 +02:00
Rémi Verschelde
30ba4076cd Merge pull request #11372 from volzhs/fix-smooth-scroll
Fix smooth scrolling in ScrollBar
2017-09-18 20:04:39 +02:00
FigyTuna
ba568456c6 Modified/Added documentation for RigidBody and RigidBody2D 2017-09-18 10:18:05 -07:00
Rémi Verschelde
7db006785c Merge pull request #11367 from hpvb/refactor-variant-op
Move Variant::evaluate() switch to computed goto
2017-09-18 12:57:12 +02:00
Rémi Verschelde
0a5e0b8e39 Merge pull request #11376 from RaTi17/gdscript_doc
Added code tags and corrected some lines

[ci skip]
2017-09-18 10:51:42 +02:00
RaTi17
608c2eb3b5 Added code tags and corrected some lines 2017-09-18 10:26:28 +02:00
Rémi Verschelde
cc161dcd6f Merge pull request #11021 from tuga3d/autocomplete-logic-attempt2
autocomplete logic attempt 2, fixes #10695
2017-09-18 08:58:18 +02:00
Rémi Verschelde
aa4694b7b4 Merge pull request #11382 from djrm/pr_fix_metrics
Fixed metrics.
2017-09-18 08:12:51 +02:00
Daniel J. Ramirez
4d14097439 Fixed metrics. 2017-09-17 18:58:36 -05:00
Rémi Verschelde
bc005a57d3 Merge pull request #11220 from toger5/bottom_panel_debugger_tabs_fix
made tabs visible in debugger fixes: #11212
2017-09-17 23:06:38 +02:00
Rémi Verschelde
fba938e574 Merge pull request #11313 from deliciousfudge/boxcontainershape-docs
Refactor the docuementation of BoxContainer and BoxShape classes

[ci skip]
2017-09-17 22:50:27 +02:00
Hein-Pieter van Braam
137f8a58a8 Move Variant::evaluate() switch to computed goto
In an effort to make GDScript a little faster replace the double
switch() with a computed goto on compilers that set __GNUC__. For
compilers that don't support computed goto it will fall back to regular
switch/case statements.

In addition disable using boolean values in a mathematical context. Now
boolean values can only be compared with other booleans. Booleans will
also no longer be coerced to integers.

This PR replaces #11308 and fixes #11291
2017-09-17 22:49:23 +02:00
Rémi Verschelde
7655587efb Merge pull request #11251 from toger5/q_e_fix_freelook
swapped up down shortcut for freelook (to fit unreal)
2017-09-17 22:49:13 +02:00
Rémi Verschelde
53bbc046ee Merge pull request #11252 from marcelofg55/fix_noaudio_crash
Fix crash when no audio driver is available
2017-09-17 22:48:22 +02:00
Rémi Verschelde
a00f19a921 Merge pull request #11328 from Paulb23/left_right_arrow_tree_issue_10737
Added Left / Right arrow navigation in tree, issue 10737
2017-09-17 22:45:19 +02:00
Rémi Verschelde
39e2af32ca Merge pull request #11352 from FigyTuna/physics_body_docs
[DOCS] Modified/Added documentation for PhysicsBody and PhysicsBody2D
2017-09-17 22:43:39 +02:00
Rémi Verschelde
cb20441ac9 Merge pull request #11351 from cbscribe/kcc_kinematiccollision_doc
[DOCS] Add KinematicCollision descriptions

[ci skip]
2017-09-17 22:42:34 +02:00
Rémi Verschelde
a829c77a58 Merge pull request #11349 from willt/getsetmove
[DOCS] added member descriptions to various shapes

[ci skip]
2017-09-17 22:42:10 +02:00
Rémi Verschelde
73b8e5acab Merge pull request #11362 from marcelofg55/fix_x11_export
Fix x11 exported executables not getting the +x flag
2017-09-17 22:40:54 +02:00
Rémi Verschelde
65ef19abe3 Merge pull request #11360 from volzhs/fix-animation-editor-error
Fix set_item_icon error when starting editor
2017-09-17 22:40:31 +02:00
Rémi Verschelde
e4dd65b6fb Merge pull request #11370 from marcelofg55/fix_keyu_crashnew
Fix crash when using key+u on a line with only a #
2017-09-17 22:33:08 +02:00
volzhs
7da0ec01c0 Fix smooth scrolling in ScrollBar
fixes #11369
2017-09-18 05:31:21 +09:00
Marcelo Fernandez
31ba932e3b Fix crash when using key+u on a line with only a # 2017-09-17 17:07:42 -03:00
Thomas Herzog
259778ce8c Merge pull request #11296 from touilleMan/gdnative-api-struct
[GDnative] pass api as struct of function pointers to loaded gdnative modules
2017-09-17 20:59:46 +02:00
Marcelo Fernandez
3528b1e571 Fix x11 exported executables not getting the +x flag 2017-09-17 14:40:58 -03:00
Rémi Verschelde
574a5714dc doc: Sync classref and escape comparators
[ci skip]
2017-09-17 18:57:17 +02:00
Rémi Verschelde
07d18a0076 Merge pull request #11276 from hpvb/fix-11270
Only do 'drive' discovery on X11
2017-09-17 18:44:25 +02:00
Emmanuel Leblond
8d57a3f3d5
[GDnative] Use X macro to define godot_gdnative_api_struct and it instantiation 2017-09-17 18:33:08 +02:00
Rémi Verschelde
4208518c4d Merge pull request #11356 from Paulb23/text_editor_theme_crash
Fixed segfault on loading text editor theme

[ci skip]
2017-09-17 17:57:00 +02:00
Rémi Verschelde
3531251902 Merge pull request #11353 from Grosskopf/audio-streams-docs
[DOCS] Added Documentation of the rest of the AudioStream files

[ci skip]
2017-09-17 17:52:46 +02:00
Rémi Verschelde
e6cd5be972 Merge pull request #11201 from kerskuchen/tilemap-shortcuts
Adds missing shortcuts to TileEditor. Keeps fill-tool selected after use.
2017-09-17 17:52:18 +02:00
volzhs
357b9602b4 Fix set_item_icon error when starting editor 2017-09-18 00:41:08 +09:00
Thomas Herzog
41715c1e8f Merge pull request #11294 from karroffel/json-object
added JSON singleton
2017-09-17 16:31:27 +02:00
Emmanuel Leblond
e4c9f8895e
[GDnative] create godot_gdnative_api_struct and pass it to godot_gdnative_init_options 2017-09-17 16:13:14 +02:00
Paulb23
a48dc9aa17 Fixed segfault on loading text editor theme 2017-09-17 13:19:38 +00:00
Juan Linietsky
d22ceeef1b correction to one way collision code 2017-09-17 10:18:09 -03:00
Juan Linietsky
5886f810c2 fixes to one way collision, closes #10971 2017-09-17 09:39:03 -03:00
Grosskopf
10269b74c8 Added Documentation of AudioStream 2017-09-17 13:48:10 +02:00
Poommetee Ketson
27370a9d16 Merge pull request #11322 from Grosskopf/audio-stream-player-3D-docs
[DOCS] wrote documentation for audio stream player 3D

[ci skip]
2017-09-17 18:19:51 +07:00