Commit graph

9619 commits

Author SHA1 Message Date
Hein-Pieter van Braam 520d84e042 Use computed goto to dispatch next opcode
On compulers that define __GNUC__ use computed goto to directly dispatch
the next instruction rather than going through another switch statement.
This saves a jump and some comparisons.

In tight loops this is is roughly 10% faster than the switch() method.
2017-09-25 18:29:13 +02:00
Hein-Pieter van Braam 1f4685375f Fix typo in fixed-fps help line 2017-09-24 20:24:41 +02:00
Hein-Pieter van Braam a124651280 Merge pull request #11549 from hpvb/fix-11543
Fix Dictionary set_named
2017-09-24 20:22:53 +02:00
Hein-Pieter van Braam 41701ed044 Merge pull request #11550 from marcelofg55/get_named_ret
Fix Variant::get_named return when p_index is invalid
2017-09-24 20:22:35 +02:00
Marcelo Fernandez 57d438eb7a Fix Variant::get_named return when p_index is invalid 2017-09-24 14:50:51 -03:00
Hein-Pieter van Braam 4d14d61bbc Fix Dictionary set_named
Reduz optimized field indexing in 3c85703 but the changes didn't apply
to dictionary so this code remained untouched. However, the logic for
validity checking was changed but not updated for the dictionary case.
2017-09-24 19:44:49 +02:00
Rémi Verschelde cebcba9022 Dist: Fix typos in manpage
[ci skip]
2017-09-24 19:40:36 +02:00
Rémi Verschelde b57fa8f19b Dist: Use HTTPS for screenshot link in AppData file
[ci skip]
2017-09-24 19:38:01 +02:00
Rémi Verschelde a4fe784752 Merge pull request #11532 from GiantBlargg/master
Discarding now works in shaders
2017-09-24 16:02:08 +02:00
Rémi Verschelde ebaf2d89e9 Merge pull request #11473 from hpvb/fix-11466
Implement operator != on Pool*Array types
2017-09-24 15:59:59 +02:00
Rémi Verschelde 4ac7f5acf9 Merge pull request #11519 from hpvb/fix-gcc-lto
Fix gcc lto

[ci skip]
2017-09-24 13:32:00 +02:00
Rémi Verschelde f04821669e Merge pull request #11536 from akien-mga/version-hash
main: Add --version switch and git hash to --help

[ci skip]
2017-09-24 13:30:12 +02:00
Rémi Verschelde 9a70ecfb90 Merge pull request #11537 from BastiaanOlij/osx_remove_get_resource_dir
Removed get_resource_dir from osx platform

[ci skip]
2017-09-24 13:01:49 +02:00
Poommetee Ketson f5201d44a8 Merge pull request #11530 from cbscribe/kcc_area_doc
[DOCS] Area/Area2D class ref update

[ci skip]
2017-09-24 17:44:27 +07:00
Poommetee Ketson 071088cb14 Merge pull request #11535 from damarindra/master
Fix: CollisionObject shape owner indexing is inconsistent
2017-09-24 17:17:46 +07:00
Rémi Verschelde 622d428baa Dist: Add man page for Linux packagers
[ci skip]
2017-09-24 12:07:51 +02:00
Rémi Verschelde 4fa486430e main: Add --version switch and git hash to --help
Also fix some help strings.
2017-09-24 11:56:07 +02:00
BastiaanOlij 9d04f89beb Removed get_resource_dir from osx platform 2017-09-24 19:37:22 +10:00
damarindra b786e7877b Fix: CollisionObject shape owner indexing is inconsistent 2017-09-24 15:55:45 +07:00
Rémi Verschelde 55a36b7101 Merge pull request #11524 from marcelofg55/fix_bucket_infloop
Fix possible infinite loop with bucket fill tool
2017-09-24 10:33:21 +02:00
Rémi Verschelde 20c8a4752c Dist: Add desktop and AppStream files for Linux packagers
[ci skip]
2017-09-24 10:10:29 +02:00
Daniel Doran d0c42da961 Discarding now works in shaders
"discard" has been added to the list of recognised keywords.

A flag specifing when discarding is allowed is now set correctly.
2017-09-24 01:37:53 -06:00
Chris Bradfield 0843d2379c [DOCS] Area/Area2D class ref update 2017-09-24 00:24:41 -07:00
Rémi Verschelde df5dab738a Merge pull request #11527 from QuLogic/system-zstd
Enable building against system zstd.
2017-09-24 08:58:38 +02:00
Rémi Verschelde 35d15484fe Merge pull request #11528 from QuLogic/openssl110
Add support for OpenSSL 1.1.0.
2017-09-24 08:47:28 +02:00
Elliott Sales de Andrade 00c03bdd2b Add support for OpenSSL 1.1.0.
This release hides many struct members which provides easier forward
compatibility but is a break from previous releases. A few small macros
provide compatibility between both 1.1.0 and 1.0.x.

Fixes #8624.
2017-09-24 02:11:02 -04:00
Elliott Sales de Andrade a408388623 Enable building against system zstd. 2017-09-23 23:46:47 -04:00
Poommetee Ketson 9b3215b977 Merge pull request #11526 from cbscribe/kcc_collision_doc
[DOCS] Update CollisionObject/CollisionObject2D class ref

[ci skip]
2017-09-24 10:02:13 +07:00
Chris Bradfield 29f37120dd [DOCS] Update CollisionObject/CollisionObject2D class ref 2017-09-23 19:58:48 -07:00
Marcelo Fernandez 3571087843 Fix possible infinite loop with bucket fill tool 2017-09-23 23:30:00 -03:00
Poommetee Ketson 30a25b7d03 Merge pull request #11522 from FigyTuna/range_docs
[DOCS] Added documentation for Range

[ci skip]
2017-09-24 09:18:42 +07:00
Juan Linietsky 81c9cfdc1b Added light affect parameter to baked AO 2017-09-23 23:10:34 -03:00
Juan Linietsky 3c857033df Massive optimization to Variant::set_named/get_named. Should give a nice boost to GDScript. 2017-09-23 21:05:35 -03:00
FigyTuna 36bc8f4f72 Added documentation for Range 2017-09-23 16:28:17 -07:00
Hein-Pieter van Braam 43757fcc85 Fix gcc lto
This repairs LTO on X11 and adds it to MingW targets. The difference in
linktime is substantial, but runtime performance is quite a bit better.
2017-09-23 22:55:26 +02:00
Juan Linietsky d3ea92257d -Fixed redraw always on 3D viewprot bug
-Changed manipulation inertia default values. Do not touch them again or I'll cut your fingers and eat them.
2017-09-23 17:28:28 -03:00
Poommetee Ketson ea7646aabe Merge pull request #11515 from cbscribe/kcc_staticbody2d_doc
[DOCS] Update StaticBody2D class ref
2017-09-23 23:30:48 +07:00
Chris Bradfield d82a7cdcf7 [DOCS] Update StaticBody2D class ref. 2017-09-23 09:28:16 -07:00
Poommetee Ketson 480b417c5b Merge pull request #11514 from cbscribe/kcc_sprite_doc
[DOCS] Update Sprite class ref

[ci skip]
2017-09-23 23:24:22 +07:00
Chris Bradfield 7c863d43b8 [DOCS] Update Sprite class ref 2017-09-23 09:11:51 -07:00
Rémi Verschelde 18e453baf3 Merge pull request #11482 from BastiaanOlij/osx_fix_project_dir
Comment out code that is causing project loading to fail on osx

[ci skip]
2017-09-23 16:59:13 +02:00
Rémi Verschelde bac8f6332e Merge pull request #11509 from StraToN/docs-environment
Partial documentation for Environment resource.

[ci skip]
2017-09-23 16:57:26 +02:00
Rémi Verschelde 5eb4965050 Merge pull request #11512 from Zylann/custom_font_setting
Allow to set a custom DynamicFont in editor settings

[ci skip]
2017-09-23 16:56:52 +02:00
Marcelo Fernandez 46af050e93 Rename get_position => get_playback_position and seek_pos => seek on audio classes 2017-09-23 16:55:00 +02:00
Julian Murgia 75d95fca79 Partial documentation for Environment resource. 2017-09-23 16:18:35 +02:00
Marc Gilleron b7bc339011 Allow to set a custom DynamicFont in editor settings 2017-09-23 16:17:44 +02:00
Hein-Pieter van Braam 650e0cf318 Merge pull request #11500 from djrm/pr_visuals
Use an arrow instead of 3 dots in trees
2017-09-23 15:32:41 +02:00
Poommetee Ketson f1ccbbe44a Merge pull request #11511 from glatteis/3d-shapes
RayShape, Shape, SphereShape

[ci skip]
2017-09-23 19:41:12 +07:00
Linus c3b79b1e07 RayShape, Shape, SphereShape 2017-09-23 14:35:39 +02:00
Juan Linietsky fbabef6da3 Fixes to rim parameter in shader 2017-09-23 08:27:48 -03:00