Commit Graph

15815 Commits

Author SHA1 Message Date
neonsoup
42dc2ec080 Fix errors during removing files or folders and fix for latin symbols
This commit adds support for unicode strings in OS_Windows::move_to_trash.
Also reverts commit 6188388c5a as it did not add extra null character to the path string (SHFILEOPSTRUCTA and SHFILEOPSTRUCTW require path to be double null-terminated).
2018-08-18 01:30:22 +03:00
Ignacio Etcheverry
c93888ae71
Merge pull request #21116 from neikeq/improve-cs_files
Mono: Improve C# core files (glue/cs_files) buildsystem
2018-08-17 14:16:47 +02:00
Ignacio Etcheverry
7287300433 Mono: Improve C# core files (glue/cs_files) buildsystem
- Search C# files recursively in 'glue/cs_files'.
- Determine a version for the C# core files automatically. The latest modified time will do for now.
2018-08-17 13:51:55 +02:00
Rémi Verschelde
1f65ed6a7d
Merge pull request #21108 from akien-mga/export-error-color
Export dialog: Fix error color and link alignment
2018-08-17 11:54:12 +02:00
Rémi Verschelde
5542d4a830 Export dialog: Fix error color and link alignment
Also fix extraneous "- " line when there are more than 2 messages.
2018-08-17 11:35:05 +02:00
Rémi Verschelde
985ed5e55a
Merge pull request #21099 from Chaosus/fix_error_icon
Fix error icon color for light themes
2018-08-17 10:41:19 +02:00
Chaosus
0d16ffbcaa Fix error icon color 2018-08-17 09:19:44 +03:00
Rémi Verschelde
68676c774d
Merge pull request #21091 from hpvb/fix-removing-popup-menu-item
Call minimum_size_changed() in PopupMenu::remove_item()
2018-08-17 02:27:16 +02:00
Markar
e46c2dbf74 Fix bucket fill behaviour when selecting multiple tiles 2018-08-17 01:55:21 +02:00
Rémi Verschelde
6936cbc24e
Merge pull request #21089 from hpvb/fix-linux-debugger-foreground
Replace XRaiseWindow with a _NET_ACTIVE_WINDOW ClientRequest
2018-08-17 01:13:23 +02:00
Juan Linietsky
d7b892294b
Merge pull request #21090 from hpvb/fix-19842-redux
Delay emitting pressed signals in PopupMenu
2018-08-16 17:44:51 -03:00
Hein-Pieter van Braam
2d032c1562 Call minimum_size_changed() in PopupMenu::remove_item()
When removing an item from a PopupMenu we need to update the control's
size cache otherwise the size of the PopupMenu itself lags behind by 1
item size. Meaning the PopupMenu will remain too large.
2018-08-16 21:51:41 +02:00
Hein-Pieter van Braam
fa7eac8a0d Delay emitting pressed signals in PopupMenu
When processing items we may actually delete the item we're processing
in the callback for the signal. To avoid this, call the signal after
we're done processing the items. But before hiding the popupmenu itself.

Thanks to @reduz for writing the whole solution.

This fixes #19842
2018-08-16 21:44:18 +02:00
Hein-Pieter van Braam
827cadafc8 Replace XRaiseWindow with a _NET_ACTIVE_WINDOW ClientRequest
This fixes the editor on X11 not getting put on the foreground when a
debugged project hits an error or breakpoint.
2018-08-16 21:36:37 +02:00
Rémi Verschelde
968b31e971
Merge pull request #20561 from willnationsdev/script-class-ns
Add NativeScript support for script classes via exported script properties.
2018-08-16 20:03:49 +02:00
Rémi Verschelde
69694dde75
Merge pull request #21084 from akien-mga/theora-webm-loading
Fix Theora/Webm loaders declaring binary extension
2018-08-16 19:23:28 +02:00
Rémi Verschelde
333999c24f Fix Theora/Webm loaders declaring binary extension
RES_BASE_EXTENSION is only to declare our proprietary binary formats
(e.g. "scn", "res", etc.).

Fixes #20395.
2018-08-16 19:17:24 +02:00
Rémi Verschelde
a2abe760c8
Merge pull request #21047 from gotnospirit/fix_tween_reversed_duration
Tween: Always remove the desired InterpolateData when finished
2018-08-16 18:30:41 +02:00
Rémi Verschelde
134d071ca7
Merge pull request #21046 from DualMatrix/recent_custom_type
Fixed custom nodes not working with favorites and recently used
2018-08-16 18:28:03 +02:00
Rémi Verschelde
e06825ba4b
Merge pull request #21067 from natrim/Particles2D_AABB
Particles2D: set emitting if not set before generating Visibility Rect
2018-08-16 18:27:23 +02:00
Rémi Verschelde
b83f72ce12
Merge pull request #21081 from akien-mga/fix-19289
Fix crash assigning script to a Resource
2018-08-16 18:27:03 +02:00
DualMatrix
9896b7bbf9 Fixed custom nodes not working properly with favorites and recently used in create node window. 2018-08-16 17:14:52 +02:00
James
4c2f9c19b8 Tween: Add a unique identifier to InterpolateData to be able to remove the right one when finished 2018-08-16 15:59:35 +02:00
Rémi Verschelde
ba47f15b78 Fix crash assigning script to a Resource
We were dereferencing the wrong identifier, which could be NULL.
Fixes #19289, supersedes and closes #20985.
2018-08-16 15:40:06 +02:00
Natrim
e11e080fa2 Particles2D: set emitting if not set before generating Visibility Rect
and removed not needed running zeroing
 in ParticlesEditor::_generate_aabb
2018-08-16 15:35:12 +02:00
Rémi Verschelde
be9e349f56
Merge pull request #20804 from karroffel/vector-project
add `project` method to Vector2/3
2018-08-16 15:31:54 +02:00
Rémi Verschelde
9e4d1512db
Merge pull request #21075 from akien-mga/rotation_degrees_range
Lift 1440 limit in rotation_degrees hint range
2018-08-16 15:23:03 +02:00
Rémi Verschelde
aabb350d6e
Merge pull request #21074 from akien-mga/range-bool-properties
Fix type of Range allow_greater/allow_lesser properties
2018-08-16 15:22:52 +02:00
Rémi Verschelde
968886768b Lift 1440 limit in rotation_degrees hint range
Fixes #15947.
2018-08-16 14:36:38 +02:00
Rémi Verschelde
c78bbfa669 Fix type of Range allow_greater/allow_lesser properties 2018-08-16 14:24:17 +02:00
Rémi Verschelde
de0fb0798e
Merge pull request #21069 from BastiaanOlij/change_mobile_vr_init
Delay initializing lens distortion shader so GLES2 doesn't crash
2018-08-16 13:31:13 +02:00
Juan Linietsky
b466561c4a
Merge pull request #21062 from Ovnuniarchos/PopupCheckables
PopupMenu item_pressed is sent before checking hide flags.
2018-08-16 08:17:12 -03:00
Thomas Herzog
037f4638ab add project method to Vector2/3 2018-08-16 12:52:38 +02:00
Bastiaan Olij
4194581823 Delay initialising lens distortion shader so GLES2 doesn't crash 2018-08-16 20:42:47 +10:00
Rémi Verschelde
af93842f93
Merge pull request #21063 from Chaosus/fix_error_icon
Fix debugger icon for warnings
2018-08-16 10:08:07 +02:00
Chaosus
4fdb8ebdec Fix debugger icon for warnings 2018-08-16 08:50:42 +03:00
Ovnuniarchos
9d0de7d417 PopupMenu item_pressed is sent before checking hide flags. 2018-08-16 07:22:18 +02:00
Rémi Verschelde
1c17c2b9b3
Merge pull request #21023 from Paulb23/fix_reopening_text_file
Fix re-opening of TextFiles when its already being edited.
2018-08-15 23:16:19 +02:00
Rémi Verschelde
bec8c7770c
Merge pull request #21022 from Paulb23/create_text_files
Ability to create TextFiles.
2018-08-15 23:15:14 +02:00
Rémi Verschelde
d9067460d7
Merge pull request #21045 from karroffel/black-bar-fixes
[gles2] fix black bar artifacts
2018-08-15 22:13:52 +02:00
Rémi Verschelde
12e22f004a
Merge pull request #21044 from willnationsdev/class_icons
Fix error spam from loading script class icons
2018-08-15 22:13:36 +02:00
Paulb23
6741e7a15d Added method to create TextFiles 2018-08-15 21:09:34 +01:00
Rémi Verschelde
3a6711f8d6
Merge pull request #21053 from akien-mga/doc-dialog_hide_on_ok
Doc: Clarify usage of dialog_hide_on_ok and caveat for FileDialog
2018-08-15 20:29:56 +02:00
Rémi Verschelde
155fb45ca2 Doc: Clarify usage of dialog_hide_on_ok and caveat for FileDialog
Fixes #20817.
2018-08-15 20:08:18 +02:00
Juan Linietsky
c627f3a707 Attempting to workaround the problem present in #20904, let me know if it works. 2018-08-15 13:24:52 -03:00
willnationsdev
05f717376b Add NativeScript support for script classes. 2018-08-15 10:58:13 -05:00
Will Nations
3ed9231117 Fix error spam from loading script class icons 2018-08-15 10:17:28 -05:00
Thomas Herzog
0ef85b55e0 [gles2] fix black bar artifacts 2018-08-15 17:12:21 +02:00
Rémi Verschelde
d006aa0abb
Merge pull request #21021 from DualMatrix/new_node_warning
Fixed error spam in create node dialog with custom types.
2018-08-15 16:10:12 +02:00
DualMatrix
8591a1bd80 Fixed error spam in create node dialog with custom types.
This should fix #20789
2018-08-15 15:35:14 +02:00