Commit graph

25188 commits

Author SHA1 Message Date
Rémi Verschelde
95eab06471
Merge pull request #34239 from timothyqiu/theme-clear-32702
Fixes crash when using Theme::clear
2019-12-11 08:33:23 +01:00
clayjohn
676f647c74 Add a default POINT_SIZE 2019-12-10 23:08:20 -08:00
Rémi Verschelde
61e89dcd4a
Merge pull request #34250 from flyingpimonster/fix-musl
Fix build on musl-based systems
2019-12-11 07:41:29 +01:00
Haoyu Qiu
6f178a2061 Fixes infinite loop when switching editor 2019-12-11 13:27:21 +08:00
Haoyu Qiu
5586103a94 Validates texture in set_piece_texture 2019-12-11 11:24:42 +08:00
James Westman
589eb80a90 Fix build on musl-based systems
On some systems, including Alpine Linux, musl is used instead of
glibc. This commit patches the third-party V-HACD module to provide
a macro not provided by musl.

Fixes #31555.
2019-12-10 15:54:32 -06:00
Rémi Verschelde
435cced7d8
Merge pull request #34238 from clayjohn/GLES2-use-renderbuffer-post-process
Use renderbuffer depth for post-process buffers when appropriate
2019-12-10 17:16:40 +01:00
Rémi Verschelde
ec30c8bc25
Merge pull request #34237 from clayjohn/GLES2-force-32bit-buffer-webgl
Force 32 bit depth buffer for WebGL
2019-12-10 17:15:56 +01:00
Haoyu Qiu
5deb6497a1 Fixes crash when using DynamicFont::set_font_data 2019-12-10 21:26:42 +08:00
Fabio Alessandrelli
ab1bfb9007 NetSocket set_broadcast_enabled returns Error enum 2019-12-10 12:11:52 +01:00
Rémi Verschelde
c868baf658
Merge pull request #34222 from Calinou/doc-collisionshapes
Improve the Shape/Shape2D classes documentation
2019-12-10 10:44:36 +01:00
Haoyu Qiu
024c25426b Fixes crash when shader inputs/outputs is invalid string 2019-12-10 17:04:18 +08:00
Haoyu Qiu
c29b8cf751 Fixes crash when using Theme::clear 2019-12-10 16:31:40 +08:00
Rémi Verschelde
2845e6a21a
Merge pull request #34040 from qarmin/unused_variable_more_precise_numbers
Removed unused variables, add some constants numbers
2019-12-10 08:25:31 +01:00
Hugo Locurcio
16d612dccc
Improve the Shape/Shape2D classes documentation 2019-12-10 08:21:15 +01:00
Rémi Verschelde
16fc023d44
Merge pull request #34234 from KoBeWi/apparently
Update minimum size of SpinBox on theme change
2019-12-10 07:41:00 +01:00
clayjohn
fd31cebcbe Use renderbuffer depth for post-process buffers when appropriate 2019-12-09 22:19:11 -08:00
clayjohn
e8d652f160 Force 32 bit depth buffer for WebGL 2019-12-09 22:14:12 -08:00
Rafał Mikrut
ed1c4bc77d Removed unused variables, add some constants numbers 2019-12-10 05:13:02 +01:00
Haoyu Qiu
5bf8e1e426 Fixes long popup menu scroll behavior
Popup menus longer than the viewport have stange behaviors before this
fix:

* They always have one pixel outside the viewport.
* You can scroll down the long menu even if bottom outside screen and
top inside the screen. (Only menus one pixel above the screen is limited
to scroll down.)
2019-12-10 09:49:02 +08:00
Tomasz Chabora
6e1dc7b2fe Update minimum size of SpinBox on theme change 2019-12-10 02:11:22 +01:00
Rémi Verschelde
269145a346
Merge pull request #34217 from timothyqiu/delete-lines
Fixes Delete Line doesn't delete first line in script
2019-12-09 22:15:18 +01:00
Rémi Verschelde
7380fbbaee
Merge pull request #34220 from Calinou/doc-kinematicbody-axis-lock
Document the KinematicBody axis lock methods
2019-12-09 15:16:55 +01:00
Hugo Locurcio
3acbabca1e
Document the KinematicBody axis lock methods 2019-12-09 13:45:12 +01:00
Rémi Verschelde
2ebc783e9c
Merge pull request #34218 from akien-mga/gles3-unbind-buffers
GLES3: Properly unbind buffers after draw commands
2019-12-09 10:04:52 +01:00
Rémi Verschelde
e447f5ab04
Merge pull request #34210 from madmiraal/fix-bullet-motion-test
Check that motion is not zero before doing a sweep test.
2019-12-09 10:02:02 +01:00
Rémi Verschelde
3684810a28
Merge pull request #34164 from Calinou/pckpacker-optional-args
Make some arguments in PCKPacker methods optional
2019-12-09 09:41:52 +01:00
Rémi Verschelde
694abff2c6
Merge pull request #34163 from Calinou/doc-improve-pckpacker
Improve the PCKPacker class documentation
2019-12-09 09:41:15 +01:00
Rémi Verschelde
1d075c34e4
Merge pull request #34144 from timothyqiu/closing
Fixes prompt closes the wrong scene on quit
2019-12-09 09:40:56 +01:00
Haoyu Qiu
6eaec3d10d Fixes Delete Line doesn't delete first line in script
Also, match multi-line delete behavior in script with single line:

If there are four lines: A, B, C, D.

Before the change:

    Delete C: Cursor lands on D
    Delete B and C: Cursor lands on A

After the change:

    Delete C: Cursor lands on D
    Delete B and C: Cursor lands on D
2019-12-09 16:31:43 +08:00
Rémi Verschelde
cd07a34598 GLES3: Properly unbind buffers after draw commands
Patch provided by @oeleo1.

Fixes #34120.
2019-12-09 09:25:20 +01:00
Marcel Admiraal
78055cbdaf Check that motion is not zero before doing a sweep test.
Fixes #25476.
2019-12-09 09:21:38 +01:00
Rémi Verschelde
d7b2940eb6
Merge pull request #34203 from bruvzg/ime_placeholder
Hide LineEdit placeholder if IME composition string is not empty.
2019-12-09 09:09:42 +01:00
Rémi Verschelde
2c606647df
Merge pull request #34208 from allkhor/fix_scroll_item_list
Fixed strange behaviour of scroll in the ItemList.
2019-12-09 08:50:22 +01:00
Rémi Verschelde
3771038946
Merge pull request #34202 from bruvzg/macos_resize_loop
[macOS] Send resize event without actually resizing window on backing change.
2019-12-09 08:46:12 +01:00
Rémi Verschelde
097a561fc3
Merge pull request #34188 from dankan1890/quick_fix
Fix TilesetEditorContext snaps separation.
2019-12-09 08:32:43 +01:00
allkhor
2c559feb92 Fixed strange behaviour of scroll in the ItemList. 2019-12-09 01:54:10 +06:00
bruvzg
29ba673fca
[macOS] Send resize event without actually resizing window on backing change.
Co-authored-by: Haoyu Qiu <timothyqiu32@gmail.com>
2019-12-08 18:29:31 +02:00
bruvzg
4937b21ce5
Hide LineEdit placeholder if IME composition string is not empty. 2019-12-08 18:24:30 +02:00
dankan1890
f2e396f15b Fix TilesetEditorContext separation snap.
Fixes #34182
2019-12-08 00:29:35 +01:00
Rémi Verschelde
8eb183aebb
Merge pull request #34167 from YeldhamDev/filediag_comma_spaces_strip
Add spaces after commas and strip extra ones in *FileDialog filter menu
2019-12-07 10:33:45 +01:00
Michael Alexsander
d057007541 Add spaces after commas and strip extra ones in *FileDialog filter menu 2019-12-06 22:40:59 -03:00
Hugo Locurcio
fe06966181
Make some arguments in PCKPacker methods optional
Those arguments aren't required for most common use cases,
so making them optional should help with code readability.
2019-12-07 01:06:42 +01:00
Hugo Locurcio
7ae0e4be46
Improve the PCKPacker class documentation 2019-12-07 01:00:51 +01:00
Rémi Verschelde
ff58030ed6
Merge pull request #34160 from Calinou/add-makerst-git-hook
Add a pre-commit hook to check the class reference syntax
2019-12-07 00:11:29 +01:00
Rémi Verschelde
07a739e7e1
Merge pull request #34159 from akien-mga/doc-enums-constants
doc: Markup fixes for enums and constants
2019-12-07 00:11:17 +01:00
Rémi Verschelde
643b37aaf0
Merge pull request #34086 from Calinou/doc-improve-stylebox
Improve the StyleBox class documentations
2019-12-07 00:10:57 +01:00
Hugo Locurcio
17add2dc86
Add a pre-commit hook to check the class reference syntax
This also makes documentation helper scripts executable.
2019-12-06 23:40:19 +01:00
Hugo Locurcio
f1a76a8820
Improve the StyleBox class documentations 2019-12-06 23:29:38 +01:00
Rémi Verschelde
111ba06310
Merge pull request #34155 from Calinou/doc-richtexteffect
Document RichTextEffect and CharFXTransform
2019-12-06 23:14:05 +01:00