Commit graph

10009 commits

Author SHA1 Message Date
Rémi Verschelde
dae02a9041 Merge pull request #11580 from endragor/ios-export
Enhance iOS export
2017-09-25 22:23:49 +02:00
Juan Linietsky
c5da28f24c Fixed constness of variant functions, as well as visual script sequence ports. Closes #11258 2017-09-25 17:09:27 -03:00
Elliott Sales de Andrade
3e69d19116 Use BoolVariable in platform-specific options. 2017-09-25 14:36:30 -04:00
Elliott Sales de Andrade
5be675eb03 Use BoolVariable for module options. 2017-09-25 14:36:30 -04:00
Elliott Sales de Andrade
45a9a680a3 Use BoolVariable for third-party options. 2017-09-25 14:36:30 -04:00
Elliott Sales de Andrade
ffab67b8da Use BoolVariable in target/component/advanced options. 2017-09-25 14:36:02 -04:00
Elliott Sales de Andrade
f9e463bce2 Use EnumVariable for choice-based build options. 2017-09-25 14:36:01 -04:00
Ruslan Mustakov
f5b3b24c22 Enhance iOS export
- The export process now builds complete .ipa on macOS, instead of just
   creating XCode project.

 - The project includes Capabilities games usually require: Game Center,
   Push Notifications, In-App Purchase.

 - Icons and launch screens can be specified in export preset.
2017-09-26 00:18:08 +07:00
Rémi Verschelde
0a6446ff36 Merge pull request #11577 from ISylvox/AudioEffectChorus-VoiceCount
Fix Voice_Count Issues in AudioEffectChorus

[ci skip]
2017-09-25 19:05:47 +02:00
Rémi Verschelde
6c3f80c526 Merge pull request #11579 from Noshyaar/pr-
2DEditor: fix duplicated 'id_pressed' connection

[ci skip]
2017-09-25 19:05:39 +02:00
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
Ruslan Mustakov
1a2311e350 Extract logging logic
Previously logging logic was scattered over OS class implementations
with plenty of duplication. Major changes in this commit:

 - Extracted logging logic into a separate Logger hierarchy. It allows
   easy configuration of logging mechanism depending on compile-time or
   run-time configuration.

 - Implemented RotatedFileLogger which is usually used with StdLogger,
   providing persistency of logs. It is often important to be able to
   obtain logs of the game even in production to be able to understand
   what happened prior to some problem. On mobile there previously was
   no way to obtain the logs aside from having the device connected to
   your machine.

 - flush() is not performed in release mode for every logged line. It
   is only performed for errors.
2017-09-25 16:19:21 +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