Commit graph

9798 commits

Author SHA1 Message Date
Hein-Pieter van Braam 758accdcc2 Make variant_op jumptable const
Not doing this was a bit of an oversight
2017-09-25 18:29:44 +02:00
Hein-Pieter van Braam 158c3fbf3c Allow inlining of all parts of safe_refcount
Differences with this aren't huge but the effort is minimal, in some
workloads gain a couple of percent of performance.
2017-09-25 18:29:18 +02:00
Hein-Pieter van Braam 0a338a28d9 Remove several checks on DEBUG_RELEASE
These errors shouldn't be possible on a tested game. Remove the checks
on release. Shaves about 10% off of tight loops.
2017-09-25 18:29:18 +02:00
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
Poommetee Ketson dcc759fbbc 2DEditor: fix duplicated 'id_pressed' connection 2017-09-25 23:15:54 +07:00
volzhs 79e506ff52 Add font size setting for output panel 2017-09-25 23:43:35 +09:00
Indah Sylvia ffca222d17 Fixed Voice_Count issues in AudioEffectChorus:
- Setting voice_count value to 4 (MAX_VOICES) is now allowed
- Fixed slider glitch on setting voice_count value
2017-09-25 20:46:52 +07:00
Poommetee Ketson 09800ac650 AudioEffectLimiter: fix wrong soft_clip_ratio getter 2017-09-25 19:41:32 +07:00
Poommetee Ketson e9a89efcf8 Merge pull request #11553 from cbscribe/kcc_spriteframes_doc
[DOCS] Update SpriteFrames class ref

[ci skip]
2017-09-25 19:24:02 +07:00
Poommetee Ketson 0761efaf36 Merge pull request #11552 from Tetane/master
Add missing constant binding STRETCH_ASPECT_EXPAND in SceneTree
2017-09-25 19:20:52 +07:00
Rémi Verschelde ab644de1d8 Merge pull request #11571 from ISylvox/phyisics-to-physics
Remove print_line in Physics2DServerWrapMT::init()

[ci skip]
2017-09-25 10:21:35 +02:00
Indah Sylvia 1ed5e75dd7 Removed print_line in Physics2DServerWrapMT::init() 2017-09-25 15:05:32 +07:00
Rémi Verschelde af053ecf4d Merge pull request #11570 from djrm/pr_fix_tooltip
Fixed tooltip font color
2017-09-25 09:47:20 +02:00
Daniel J. Ramirez ee9f8ec1d6 Fixed tooltip font color 2017-09-25 02:23:41 -05:00
Daniel J. Ramirez 0f5f916bf0 Improved audio buses editor 2017-09-25 01:48:57 -05:00
Rémi Verschelde 14b4ad931f Merge pull request #10796 from djrm/pr_better_project_creation
Improved New Project and Import project experience
2017-09-25 07:36:32 +02:00
Daniel J. Ramirez 5676c42ae0 Added the ability to revert to initial value in editor settings. 2017-09-24 22:29:59 -05:00
Poommetee Ketson c4aa634b8a Merge pull request #11563 from QuLogic/scons-version
Bump required scons version to 0.98.1.
2017-09-25 10:15:58 +07:00
Elliott Sales de Andrade ba0dcbbdc3 Bump required scons version to 0.98.1.
* Environment.AddPostAction() and the global AlwaysBuild() were added in
  0.93, so requiring 0.14 is broken.
* Environment.Decider and Glob were added in some intermediate 0.97
  release.
* The Variables object was added in 0.98.1.
2017-09-24 22:39:35 -04:00
Chris Bradfield 06ce436144 [DOCS] Update SpriteFrames class ref 2017-09-24 12:21:19 -07:00
Tetane b3f3a91e15 Add a missing constant binding in SceenTree
Add missing constant binding "STRETCH_ASPECT_EXPAND" 
(I cannot test it because godot does not compile anymore on my pc (windows10))
2017-09-24 20:29:18 +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
Paulb23 8b80e97338 Fixed caret blink and speed resetting in scenes, issue 10764 2017-09-24 17:22:47 +01:00
Paulb23 5815aaa035 Fixed scrollbar jitter when clicking 2017-09-24 16:19:52 +01: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
Marcelo Fernandez 6f1ac101b8 Bucket fill will now incrementally process the queue on preview mode 2017-09-24 10:35:55 -03:00
Paulb23 35c5422dc2 Goto to parent on left arrow in tree with single column 2017-09-24 13:33:03 +01: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