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
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
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
Jakob Schwab
f98f65fd7f
Adds missing shortcuts to TileEditor. Keeps fill-tool selected after use
...
The following keyboard shortcuts are now available:
-Bucket fill (G)
-Paint Tile (P)
-Transpose Tile (T)
Fixes #10918
2017-09-17 13:09:04 +02:00
Grosskopf
4ca06efd11
wrote documentation for audio stream player 3D
2017-09-17 13:08:08 +02:00
Rémi Verschelde
0953c8fd55
Merge pull request #11314 from marcelofg55/master
...
Fix possible crash with ctrl-u on script editor
2017-09-17 12:56:13 +02:00
Rémi Verschelde
317512e2fb
Merge pull request #11301 from volzhs/fix-richtextlabel
...
Make clickable properly in editor help
2017-09-17 12:55:47 +02:00
Rémi Verschelde
c74bab66aa
Merge pull request #11274 from Rubonnek/keep-argument-names-consistent
...
Renamed function arguments to keep them consistent between declaration and implementation
2017-09-17 12:53:48 +02:00
Rémi Verschelde
a1b4e4c607
Merge pull request #11272 from Rubonnek/move-to-initializer-list
...
Moved class_name and return_val to initializer list
2017-09-17 12:52:46 +02:00
Rémi Verschelde
53990c7bb9
Merge pull request #11196 from poke1024/canvas-old-rect
...
Adds display of old bounding box as suggested by Zephilinox in issue …
2017-09-17 12:44:36 +02:00
Rémi Verschelde
2db9973ad4
Merge pull request #11176 from bncastle/master
...
Implement +,-,/, * and negate operators for Color type
2017-09-17 12:43:21 +02:00
Rémi Verschelde
a29559bc0e
Merge pull request #11075 from ISylvox/fix-main-scene-state
...
Fixes Tab Switching of Main Scene State. Closes #11045
2017-09-17 12:43:01 +02:00