Commit graph

9892 commits

Author SHA1 Message Date
Hein-Pieter van Braam
350fcb6d98 Build MSVC safe_refcount in a separate compilation unit
Including windows.h in a globally included header gives all kinds of
issues. Move the MSVC implementation for safe_refcount back into a .cpp
file to prevent this from happening.
2017-09-27 00:01:02 +02:00
Przemysław Gołąb (n-pigeon)
aad234d5ac Scale editing Gizmo for Spatial Editor
Added support for axis locked scaling with handles, supports both world and local space. Local space recommended for most editing tasks.
Also fixed some small bugs, polished Gizmo looks and cleaned up some dead code.
Happy scaling! :)
2017-09-26 20:39:41 +02:00
Rémi Verschelde
203fed204c CI: Disable MinGW build on Travis and add AppVeyor badge
Now that AppVeyor handles testing Windows builds with MSVC,
we can skip the need to test against Travis' old MinGW toolchain
and have a faster CI process.

Also try building X11 binaries against system OpenSSL, should
speed up build.
2017-09-26 19:34:17 +02:00
Rémi Verschelde
9a87fe37c1 Merge pull request #11607 from volzhs/theme-update
Update theme property respectively
2017-09-26 19:17:21 +02:00
Rémi Verschelde
7119858ce6 Merge pull request #11611 from fcobos/lto_jobs
Reduce gcc lto build time by telling the linker to use the number of jobs indicated by -j

[ci skip]
2017-09-26 17:18:40 +02:00
Felix M. Cobos
ec644ccb69 Reduce gcc lto build time by telling the linker to
use the number of jobs indicated by -j
2017-09-26 17:04:04 +02:00
Rémi Verschelde
7123a81e43 Merge pull request #11610 from sbeca/pr-osx-version
Change OSX version from 2.2-dev to 3.0-dev

[ci skip]
2017-09-26 14:54:48 +02:00
Scott Beca
1c6a49b5f5 Change OSX version from 2.2-dev to 3.0-dev 2017-09-26 22:45:02 +10:00
Rémi Verschelde
92c34eaf9c Add AppVeyor CI file for MSVC builds
This improves our compiler coverage in our CI builds.
2017-09-26 13:16:37 +02:00
volzhs
3e0d18b9c0 Update theme property respectively 2017-09-26 20:08:25 +09:00
Rémi Verschelde
ccb4a6acee Merge pull request #11600 from volzhs/fix-crash-lineedit
Fix crash when scene has LineEdit and run from editor
2017-09-26 09:30:51 +02:00
volzhs
c5f0717053 Fix crash when scene has LineEdit and run from editor 2017-09-26 16:19:02 +09:00
Rémi Verschelde
59c3f61d57 Merge pull request #11587 from Zylann/directional_light_init
In editor, instance DirectionalLight with an initial orientation

[ci skip]
2017-09-26 08:11:57 +02:00
Rémi Verschelde
da03791e45 Merge pull request #11598 from djrm/pr_fix_code_editor_close
Fix missing code editor find and replace missing hover icon.

[ci skip]
2017-09-26 08:03:41 +02:00
Rémi Verschelde
777f26fe29 Merge pull request #11597 from djrm/pr_interface_colors
Removed most of the custom colors from the interface.
2017-09-26 08:03:00 +02:00
Rémi Verschelde
1da6b4d1d1 Merge pull request #11558 from djrm/pr_spatial_grid
Removed transparency from spatial editor grid.
2017-09-26 08:01:11 +02:00
Daniel J. Ramirez
541c4bfd6e Fix missing code editor find and replace missing hover icon. 2017-09-25 23:40:22 -05:00
Daniel J. Ramirez
e2861a3b7c Removed transparency from spatial editor grid. 2017-09-25 21:45:53 -05:00
Daniel J. Ramirez
b622c92fad Removed most of the custom colors from the interface. 2017-09-25 21:43:20 -05:00
Marcelo Fernandez
20918587d3 FileSystemDock will now remove files/dirs to trashcan using OS::move_to_trash 2017-09-25 21:49:01 -03:00
Saracen
07ccfa6a07 Python header generator now generates strings with escape characters. 2017-09-26 00:48:17 +01:00
Rémi Verschelde
f577efd47e Merge pull request #11424 from groud/control_node_presets
Implements set_margins_preset(...)
2017-09-26 00:11:46 +02:00
Rémi Verschelde
e9e1753c3c Merge pull request #11445 from Cradmon/refactorCoreMap
Refactor core/map.h
2017-09-25 23:53:18 +02:00
Rémi Verschelde
c79fc6716e Merge pull request #11518 from hpvb/gdscript-direct-dispatch
Some more GDScript performance optimizations
2017-09-25 23:25:42 +02:00
Marc Gilleron
2ac8c2fa91 In editor, instance DirectionalLight with an initial sun-like orientation 2017-09-25 23:17:23 +02:00
Rémi Verschelde
938681724f Merge pull request #11541 from Paulb23/tree_arrow_goto_parent
Goto to parent on left arrow in tree with single column

[ci skip]
2017-09-25 23:16:06 +02:00
Rémi Verschelde
1aabf4c166 Merge pull request #11542 from marcelofg55/bucket_limit
Bucket fill will now incrementally process the queue on preview mode
2017-09-25 23:12:12 +02:00
Rémi Verschelde
5567cbe6ae Merge pull request #11545 from Paulb23/line_edit_caret_blink_resetting_issue_10764
Fixed caret blink and speed resetting in scenes, issue 10764

[ci skip]
2017-09-25 23:10:32 +02:00
Rémi Verschelde
7bb9a26de3 Merge pull request #11546 from Paulb23/scrollbar_jitter
Fixed scrollbar Jitter when clicking

[ci skip]
2017-09-25 23:08:48 +02:00
Rémi Verschelde
2526456807 Merge pull request #11564 from djrm/pr_editor_settings_undo
Added the ability to revert to initial value in editor settings.
2017-09-25 23:02:50 +02:00
Rémi Verschelde
78aa7b382a Merge pull request #11567 from QuLogic/scons-var-types
Add types to scons command-line options
2017-09-25 22:44:05 +02:00
Rémi Verschelde
5195935156 Merge pull request #11569 from djrm/pr_audio_buses_fixes
Improved audio buses editor
2017-09-25 22:33:56 +02:00
Rémi Verschelde
8fe8e730a0 Merge pull request #11576 from volzhs/output-console
Add font size setting for output panel
2017-09-25 22:26:25 +02:00
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