Commit Graph

19222 Commits

Author SHA1 Message Date
7a254b303b Fix copy text when TextEdit is readonly 2019-02-16 07:56:24 +01:00
24e7a54cd0 Fix alignment and locking issues with CommandQueueMT
The allocations of commands in CommandQueueMT weren't aligned. This
commit aligns all accesses on 64bit boundaries regardless of target
platform. This ensures that all types are aligned.

Lock-wise the semaphores were maked as usable when the command had ran
but not when the synchronous stub had finished with it. This lead to a
race condition where sometimes the semaphore got reused before it was
waited on. We now mark the semaphore as free only once we're done
waiting on it.
2019-02-16 04:00:19 +01:00
0f03ad379c New export options iOS 2019-02-16 12:11:53 +11:00
b54910eb05 Make Button shortcuts triggerable by gamepads
This closes #25741.
2019-02-16 00:29:23 +01:00
f5477ee36f Merge pull request #25917 from neikeq/zz
Mono: Get rid of irrelevant error and fix export template build errors
2019-02-15 20:08:41 +01:00
a8dfe9ff7f Don't print 'Cannot find Mono in the registry' if bundled with Godot
Closes #24753
2019-02-15 19:52:32 +01:00
d17ba9a140 Mono: Fix export template build errors
Fixes #25903
2019-02-15 19:52:22 +01:00
a51088a7f9 Fix icon color for gizmos menu when theme changed 2019-02-15 20:32:38 +03:00
9d73cdd05d Increased contrast of solarized dark theme 2019-02-15 19:00:19 +03:00
962c14278f Merge pull request #25901 from godotengine/revert-25841-menubutton-fix
Revert "Fix MenuButton item label disappearing when setting shortcut."
2019-02-15 12:16:14 +01:00
fe7d2dc4d3 Revert "Fix MenuButton item label disappearing when setting shortcut." 2019-02-15 11:44:27 +01:00
3f74a54cd4 Merge pull request #25894 from marcelofg55/last_mouse_focus_crash
Fix possible crash with an invalid last_mouse_focus pointer
2019-02-15 09:27:32 +01:00
e7e4d41a29 Merge pull request #25841 from Awkor/menubutton-fix
Fix MenuButton item label disappearing when setting shortcut.
2019-02-15 09:10:05 +01:00
97aa66597d Merge pull request #25886 from luizcarlos1405/master
Fix AnimationPlayer bug where it wouldn't reset its position when finished
2019-02-15 09:09:23 +01:00
761caac0b2 Fix possible crash with an invalid last_mouse_focus pointer 2019-02-14 22:16:56 -03:00
3236c9a0e7 Fix MenuButton item label disappearing when setting shortcut. 2019-02-14 23:17:29 +01:00
b41a793592 Fix Godot.Reference marshalling from MonoObject* to Variant
Need to cast Ref<T> to Variant instead of constructing Variant from Object*, otherwise the Variant won't hold a reference.
2019-02-14 22:54:15 +01:00
7ae160f661 Fix 2 more UBSAN issues (#25217). 2019-02-14 20:47:35 +01:00
5ec4f14a24 Fix AnimationPlayer bug where it wouldn't reset its position when finished 2019-02-14 15:32:29 -03:00
89eb79aef1 Merge pull request #25879 from hpvb/fix-25629
Detect when primusrun/optirun is in use
2019-02-14 17:06:20 +01:00
84627140d7 Detect when primusrun/optirun is in use
It seems that bumblebee doesn't like us creating multiple GL contexts
to avoid this we now detect whether we're running with this software
and don't do anything.
2019-02-14 15:50:47 +00:00
c6c788581e Drop unused AnimationTrackKeyEdit::track_editor
Added by mistake in 4a24ba6e77.
2019-02-14 16:16:45 +01:00
acb9f50081 Merge pull request #25878 from hpvb/fix-25852
Don't crash if there's no application name
2019-02-14 16:10:25 +01:00
e3aa67792c Don't crash if there's no application name
This fixes #25852
2019-02-14 14:55:51 +00:00
4a24ba6e77 -Fixes to undo redo to avoid crash, closes #24251
-Changed Animation to have a special signal when tracks are changed, to avoid unnecesary track cache rebuilds in AnimationPlayer
-Added missing emit_changed whe modifying keys to Animation
-Changed AnimationPlayer to use the new refcounted connections instead of the previous hacky way to keep references
-Changed AnimationEditor to update the current track when keys are edited
-Fixed bug where undo/redo did not work with AnimationKeyEdit (was not being updated)
-Made sure UndoRedo does not mind deleted objects in undo/redo history, this would corrupt the history or clear it without need.
2019-02-14 10:22:34 -03:00
6b184e4d3b Merge pull request #25717 from nekomatata/dynamic-font-settings-fix
Fixed undefined behavior when loading dynamic font settings
2019-02-14 12:54:33 +01:00
f981e9fe91 Avoid case where editors are deleted while moved, fixes #25508, fixes #24829 2019-02-14 08:03:32 -03:00
89ca15693e Merge pull request #25866 from neikeq/issue-25121
Fix exported property values being lost if base GDScript fails to parse
2019-02-14 09:21:19 +01:00
2f8d1a321a Fix exported property values being lost if base GDScript fails to parse 2019-02-14 02:36:19 +01:00
325efb60b7 Merge pull request #25776 from luizcarlos1405/master
Fixes some AnimationPlayer bugs
2019-02-13 20:34:35 +01:00
b340b7e804 Merge pull request #25422 from azagaya/optionbutton
Fix docs about item_selected and item_focused . Fixes #25273
2019-02-13 20:31:53 +01:00
06a0a29711 Fix some AnimationPlayer bugs and update documentation 2019-02-13 14:40:22 -03:00
f015bc8d2b Merge pull request #25858 from buresu/fix-package-installer
Fix button alignment of Package Installer on OSX
2019-02-13 17:13:30 +01:00
419fb45a3e Disallow polygon2D editing if internal vertices exists, as suggested in #24853 2019-02-13 13:11:39 -03:00
f48829d1a4 Fix button alignment of Package Installer on OSX
This problem occurs only in the HiDPI environment.
2019-02-13 23:52:14 +09:00
7f69da488e Change some editing display options to make it clearer, as requested in #24853 2019-02-13 11:42:05 -03:00
bc9c1e899e Merge pull request #25842 from marcelofg55/windows_timezone
Fix get_time_zone_info returning inverted bias on Windows/UWP
2019-02-13 14:28:11 +01:00
4d43aba31e Fix get_time_zone_info returning inverted bias on Windows/UWP 2019-02-13 09:10:26 -03:00
d2765cd04a Merge pull request #25814 from allkhor/hide_warning_panel
Hide the warning panel when no warnings presents.
2019-02-13 12:56:59 +01:00
0137ec3468 Hide the warnings panel when no warnings presents. 2019-02-13 17:01:21 +06:00
d6a88bbc30 Remove all references to stencil, fixes problems on iOS. 2019-02-13 07:58:52 -03:00
4f72ff4f1c On mobile, check for float and half float frameuffers supported, fixes #25324, fixes #25325. 2019-02-13 07:14:36 -03:00
5fc86026ca Fix typos with codespell
Using codespell 1.14.0.

Method:
```
$ cat > ../godot-word-whitelist.txt << EOF
ang
doubleclick
lod
nd
numer
que
te
unselect
EOF
$ codespell -w -q 3 -I ../godot-word-whitelist.txt --skip="./thirdparty,*.po"
$ git diff // undo unwanted changes
```
2019-02-13 09:23:29 +01:00
55ca2a7c88 Merge pull request #25821 from akien-mga/sync-class-and-filenames
Ensure classes match their header filename
2019-02-13 08:49:39 +01:00
a18ceb6a30 Merge pull request #25847 from MidZik/master
Docs: Clarified TileMap get_cell method behavior.
2019-02-12 21:02:59 -08:00
ee77cba83e Clarified TileMap get_cell method behavior. 2019-02-12 22:44:39 -06:00
35963eb052 Merge pull request #25831 from aaronfranke/mono-trans-rot-scale
[Core] [Mono] Transform2D rotation and scale fixes
2019-02-13 02:20:55 +01:00
06df7b0963 [Core] Transform2D add set_scale and fix set_rotation
Note: These are still not exposed to GDScript
2019-02-12 17:59:29 -05:00
f97eb6d881 [Mono] Fix Transform2D rotation and scale 2019-02-12 17:59:29 -05:00
5aff990354 Fix infinite recursion in GLES2 _copy_texscreen
Bug introduced in 9430e68cf3,
likely a typo.
2019-02-12 23:38:33 +01:00