Commit graph

23049 commits

Author SHA1 Message Date
Klesomik
d3c879fe1b Memory leak fixed
In some functions in editor/find_in_files.cpp was detected a memory leak
DirAccess* and FileAccess* were replaced by DirAccessRef and FileAccessRef
DirAccessRef and FileAccessRef are just wrappers for DirAccess* and FileAccess*

Fixes for issue #31659
2019-08-26 20:48:10 +03:00
Rémi Verschelde
360d0bb6a3
Merge pull request #31649 from exts/revert_notifyawaiter
reverted NotifyAwaiter<T> Reset() to support c#7.0
2019-08-25 14:26:30 +02:00
Yuri Roubinsky
14b173d0d9
Merge pull request #31650 from Chaosus/fix_shader_hint_range
Fix hint range step for integer in shaders
2019-08-25 15:21:56 +03:00
Yuri Roubinski
982becfa39 Fix hint range step for integer in shaders 2019-08-25 15:11:04 +03:00
lamonte
1df0e88ae8 default is only supported by 7.1, reverted to support 7.0 out of the box (no conflict) 2019-08-25 06:48:37 -05:00
Yuri Roubinsky
660682a2a3
Fix _get_description param name (visual shaders) (#31647)
Fix _get_description param name (visual shaders)
2019-08-25 13:17:37 +03:00
Yuri Roubinski
ac4e6f0041 Fix _get_description param name (visual shaders) 2019-08-25 13:06:16 +03:00
Rémi Verschelde
0d37f198f5
Merge pull request #31628 from merumelu/treeitem-icon-modulate
Tree: fix and expose icon modulation
2019-08-25 10:49:26 +02:00
Rémi Verschelde
33e531d95b
Merge pull request #31642 from Chaosus/fix_textedit
Disallow undo/redo by user input in readonly TextEdit's
2019-08-25 10:47:53 +02:00
Yuri Roubinsky
abc20f0fd2
Fixes for visual shader member filter (#31643)
Fixes for visual shader member filter
2019-08-25 11:26:54 +03:00
Yuri Roubinski
1d2e5f281e Fixes for visual shader member filter 2019-08-25 11:01:42 +03:00
Yuri Roubinski
4efa1b6906 Disallow undo/redo in readonly TextEdit's 2019-08-25 09:57:59 +03:00
Yuri Roubinsky
a7aacfef7f
Merge pull request #31641 from Chaosus/vs_fix_preview2
Small performance fix for preview in visual shader
2019-08-25 09:40:26 +03:00
Yuri Roubinski
494ea78610 Small performance fix for preview in visual shader 2019-08-25 09:22:09 +03:00
Yuri Roubinsky
38ba150800
Merge pull request #31640 from Chaosus/vs_mark_error
Enhanced preview for a visual shader to show errors
2019-08-25 08:55:33 +03:00
Yuri Roubinski
7f350a2c71 Enhanced preview for a visual shader to show errors 2019-08-25 08:42:21 +03:00
merumelu
eac0af5892 Tree: fix and expose icon modulation 2019-08-24 17:37:22 +02:00
Rémi Verschelde
f2777c04c3
Merge pull request #31596 from Chaosus/shader_switch
Implements switch flow control operator in shaders
2019-08-24 14:47:44 +02:00
Rémi Verschelde
912f4fca6f
Merge pull request #31624 from qarmin/add_forgotten_checking
Add forgotten pointer checking
2019-08-24 14:06:49 +02:00
qarmin
33c62db7af Add forgotten pointer checking 2019-08-24 13:34:14 +02:00
Rémi Verschelde
57589a767d
Merge pull request #31604 from Xrayez/fix-inertia-2d
Fix uninitialized inertia value in Body2DSW
2019-08-24 10:50:08 +02:00
Andrii Doroshenko (Xrayez)
718f09ad20 Fix uninitialized inertia value in Body2DSW 2019-08-23 20:13:57 +03:00
Yuri Roubinski
4dda253ee0 Implements switch to shaders 2019-08-23 14:43:09 +03:00
Rémi Verschelde
791d7f78b5
Merge pull request #31593 from SaracenOne/project_theme_shutdown_fix
Fixes issue with project_default_theme not being cleaned up
2019-08-23 11:26:33 +02:00
Rémi Verschelde
b7ba8a1fa1
Merge pull request #31590 from karroffel/codeowners-update
remove karroffel from CODEOWNERS file
2019-08-23 11:26:07 +02:00
Saracen
08ceef2e39 Fixes issue with project_default_theme not being dereferenced on cleanup. 2019-08-23 09:18:42 +01:00
Rémi Verschelde
2a855a068a
Merge pull request #31589 from Chaosus/minimap_enabled
Make code minimap to be visible by default
2019-08-23 09:38:49 +02:00
Rémi Verschelde
dd6388d3f6
Merge pull request #31588 from Calinou/editor-help-add-horizontal-margins
Add horizontal margins to the editor help based on width
2019-08-23 09:38:37 +02:00
karroffel
4df91109a1 remove karroffel from CODEOWNERS file 2019-08-23 09:33:25 +02:00
Rémi Verschelde
98ccdc0889
Merge pull request #30398 from tomasantunes/master2
Increase color preset slots
2019-08-23 09:19:11 +02:00
Rémi Verschelde
0cff5d0b30
Merge pull request #30833 from sparkart/fix_inspector_clear_remote_node
Fix Clearing Inspector for Remote Node
2019-08-23 09:13:06 +02:00
Rémi Verschelde
bfed4b6a97
Merge pull request #31014 from DavidSichma/kinematic_angle
Fix floor_max_angle comparison for impossible angles
2019-08-23 09:10:38 +02:00
Rémi Verschelde
51d50e167d
Merge pull request #31094 from aaronfranke/vector-sign-mod-etc
Add Vector2/3 sign and posmod functions, axis, docs, misc additions
2019-08-23 09:07:47 +02:00
Rémi Verschelde
3a53e792ef
Merge pull request #31513 from qarmin/int_overflow
Prevent int overflow and underflow
2019-08-23 09:05:25 +02:00
Rémi Verschelde
de6783eaca
Merge pull request #31543 from fogine/#31503-ios-touch-events-stolen
Fixes iOS>=11 stealing touch events
2019-08-23 09:04:43 +02:00
Rémi Verschelde
73f1f9b44f
Merge pull request #31586 from SonerSound/issue_31533
Export path is the only path to be saved as a relative path
2019-08-23 08:34:03 +02:00
Rémi Verschelde
2477d414a1
Merge pull request #31111 from Xrayez/script-templates-project
Allow to define and load script templates per project
2019-08-23 08:24:00 +02:00
Rémi Verschelde
d5675c3996
Merge pull request #31575 from creikey/increase-anchor-precision
Increase control node's anchor precision
2019-08-23 08:22:33 +02:00
Rémi Verschelde
739cbf45c3
Merge pull request #31569 from SaracenOne/plugin_shutdown_fix
Fix an exception when trying to close down editor with plugins using autoload singletons
2019-08-23 08:19:29 +02:00
Rémi Verschelde
9262ad45d6
Merge pull request #31548 from Calinou/project-manager-improve-missing
Improve the display of missing projects in the Project Manager
2019-08-23 08:17:27 +02:00
Yuri Roubinski
db7bbbdbc7 Make code minimap to be visible by default 2019-08-23 08:42:15 +03:00
Hugo Locurcio
e564bffd90
Add horizontal margins to the editor help based on width
This decreases the number of characters per line, and therefore
helps make the editor help more readable.
2019-08-23 01:42:29 +02:00
SonerSound
326f856006 Export path is the only path to be saved as a relative path
Also reverts 90b2415343
2019-08-22 22:20:15 +01:00
Rémi Verschelde
89bcfa4b36
Merge pull request #31580 from Paulb23/issue_31565_out_of_size
Fix minimap mouse click resolving to -1
2019-08-22 22:23:43 +02:00
Paulb23
a5c1830a43 Fix minimap mouse click resolving to -1 2019-08-22 20:07:16 +01:00
Rémi Verschelde
ccf294b92f
Merge pull request #31566 from Faless/ssl/fix_custom_cert
Fix StreamPeerSSL connect_to_stream w/ custom cert.
2019-08-22 20:44:20 +02:00
Cameron Reikes
5deb83e041 Increase control node's anchor precision 2019-08-22 11:04:24 -07:00
Andrii Doroshenko (Xrayez)
f013596760 Allow to define and load script templates per project
Previously it was only possible to create custom script templates per
editor instance which could lead to certain name collisions, but now one
can create such templates per project tailored for specific use cases.

The default path to search for custom script templates is defined in
project settings via `editor/script_templates_search_path` setting as
`res://script_templates` path, yet this can be configured per project.

Templates have at most two origins now:

1. Project-specific, defined in `ProjectSettings`, for instance:
    - res://script_templates/
2. Editor script templates, for instance:
    - %APPDATA%/Godot/script_templates/

As script templates can have the same name over different paths,
the override mechanism was also added, enabling project-specific
templates over the editor ones.
2019-08-22 20:51:30 +03:00
Saracen
daf443bcbc Fix an exception when trying to close down editor with plugins enabled. 2019-08-22 16:30:55 +01:00
qarmin
538405f9c7 Prevent int overflow and underflow 2019-08-22 17:22:35 +02:00