Aaron Franke
554c776e08
Reformat structure string operators
...
The order of numbers is not changed except for Transform2D. All logic is done inside of their structures (and not in Variant).
For the number of decimals printed, they now use String::num_real which works best with real_t, except for Color which is fixed at 4 decimals (this is a reliable number of float digits when converting from 16-bpc so it seems like a good choice)
2021-06-11 10:53:20 -04:00
Rémi Verschelde
8d4046929c
Merge pull request #49511 from akien-mga/core-diraccess-fileaccess-io
...
Core: Move DirAccess and FileAccess to `core/io`
2021-06-11 16:51:10 +02:00
Rémi Verschelde
6b0183ec89
Merge pull request #49279 from Calinou/rename-string-is-abs-path-method
...
Rename `String.is_abs_path()` to `String.is_absolute_path()`
2021-06-11 15:58:16 +02:00
Rémi Verschelde
6107d9e180
Merge pull request #34566 from Heikki00/34541_to_json_precision
...
Increased String::num default decimal precision
2021-06-11 15:56:59 +02:00
Aaron Franke
f64fea1b23
Add Time singleton
2021-06-11 09:32:39 -04:00
sygi
a74791ed68
Add documentation to Bitmaps opaque_to_polygons.
2021-06-11 14:06:02 +01:00
Rémi Verschelde
e82a1113ab
Merge pull request #49338 from Chaosus/fix_property_editor_remake
...
Fix property editor to make changes if popup closed (remake)
2021-06-11 14:56:35 +02:00
Rémi Verschelde
9e328bb5b7
Core: Move DirAccess and FileAccess to `core/io`
...
File handling APIs are typically considered part of I/O, and we did have most
`FileAccess` implementations in `core/io` already.
2021-06-11 14:52:39 +02:00
Rémi Verschelde
74b3b0db0e
Merge pull request #47584 from HaSa1002/docs-lang-7
2021-06-11 14:35:45 +02:00
Rémi Verschelde
1f69213175
Merge pull request #48253 from lyuma/fix_gdscript_export
...
Fix @export and prevent non-exportable References from being exported.
2021-06-11 14:24:31 +02:00
Rémi Verschelde
ba82626c2c
Merge pull request #49506 from akien-mga/vulkan_prefer_discrete_gpu
...
Prefer discrete GPU over integrated one
2021-06-11 13:34:38 +02:00
Johannes
23bc697239
Port code examples to C# (V)
...
Includes:
* Variant
* Viewport
and two fixes in Array that were pointed out in #40978
VisualScript classes are skipped on purpose.
That is the final commit of the inital code porting to C#. :)
2021-06-11 13:24:11 +02:00
Blazej Floch
36130e5a05
Prefer discrete GPU over integrated one
...
This unblocks launching on Linux laptops that default to the integrated
GPU which can not handle Vulkan in many instances.
Ideally a manual device selection, or an option for the optimal selection
strategy should be provided via CLI or config, but for the time being
this will unblock the Linux devs.
Partially addresses #42348 and #43714
2021-06-11 13:02:30 +02:00
Rémi Verschelde
9aedc020c3
Merge pull request #42636 from madmiraal/fix-infinite-inertia
2021-06-11 13:00:31 +02:00
Rémi Verschelde
80e5997154
Merge pull request #49499 from cptchuckles/fix-var2str-sigil
...
Let var2str display StringName with correct sigil
2021-06-11 12:45:54 +02:00
Lyuma
771190a9db
Fix regression from 160c260
causing export of non-@export properties.
2021-06-10 20:35:58 -07:00
Rémi Verschelde
7e1a6befda
Merge pull request #49496 from bruvzg/ctl_improve_font_selection
...
[CTL] Improve font fallback order selection.
2021-06-11 00:26:10 +02:00
Jonathan Gollnick
6710ad1737
Let var2str display StringName with correct sigil
2021-06-10 16:30:28 -05:00
Rémi Verschelde
a795a36ef5
Merge pull request #49493 from madmiraal/graph_edit-default-in-declaration
...
Move default values from definition to declaration in GraphEdit
2021-06-10 23:16:10 +02:00
Rémi Verschelde
bc1fcb9c65
Merge pull request #49435 from madmiraal/add-android-external-dir
...
Add OS.get_external_data_dir() to get Android external directory
2021-06-10 22:11:02 +02:00
bruvzg
e624e570bc
[CTL] Improve font fallback order selection.
2021-06-10 22:25:32 +03:00
Marcel Admiraal
f38fe846f4
Move default values from definition to declaration in GraphEdit
2021-06-10 17:22:56 +01:00
Marcel Admiraal
b3a962945e
Add OS.get_external_data_dir() to get Android external directory
2021-06-10 16:48:17 +01:00
Rémi Verschelde
dfc88bca6d
Merge pull request #49480 from madmiraal/fix-27725
...
Remove unused AudioDriverAndroid from Android
2021-06-10 16:44:19 +02:00
Yuri Roubinsky
9539e4e39e
Merge pull request #49456 from Chaosus/fix_shader_length
...
Fix `length()` array function usage in shader
2021-06-10 11:07:59 +03:00
Marcel Admiraal
4ba2ed332e
Remove unused AudioDriverAndroid from Android
2021-06-10 08:32:56 +01:00
Yuri Roubinsky
7dd65a066e
Fix `length()` array function usage in shader
2021-06-10 10:04:28 +03:00
Rémi Verschelde
58c1235111
Merge pull request #49265 from KoBeWi/keepfreplace_2_keepers_of_replace
...
Move FindReplaceBar out of CodeTextEditor
2021-06-09 21:07:27 +02:00
Rémi Verschelde
4f54470c2c
Merge pull request #49463 from reduz/refactor-command-queue
...
Refactor CommandQueueMT
2021-06-09 21:06:50 +02:00
reduz
c66b2651a6
Refactor CommandQueueMT
...
* RingBuffer had no reason to be in this context
* A single buffer is used that can grow as much as the game needs.
This should make thread loading entirely reliable.
2021-06-09 13:10:49 -03:00
Rémi Verschelde
0818a466c0
Merge pull request #49462 from TokageItLab/update-property-selector-icon-list
...
update property selector's icon list
2021-06-09 17:54:59 +02:00
Silc 'Tokage' Renew
67689dac7b
update property selector's icon list and rename Quat.svg to Quaternion.svg
2021-06-09 23:50:29 +09:00
Rémi Verschelde
fbe53a7064
Merge pull request #49155 from winterpixelgames/button-pressed-during-button-up-signal
...
Emit button_up signal after setting pressed to false.
2021-06-09 13:46:39 +02:00
Rémi Verschelde
f178e7abd7
Merge pull request #48834 from daniel-mcclintock/fix-distraction-free-state-loss
...
Fix out of sync ScriptEditor distraction mode when `Separate Distraction Mode` is Enabled
2021-06-09 11:28:19 +02:00
Rémi Verschelde
27cf525713
Merge pull request #42248 from Chaosus/vs_particles_shader
...
Continuation of work on visual particles system
2021-06-09 11:15:41 +02:00
Rémi Verschelde
0cbb19a246
Merge pull request #47280 from winterpixelgames/focus_doesnt_change_hover
...
Dont Change Hovering during Control Focus Events
2021-06-09 09:18:26 +02:00
Rémi Verschelde
38ce1fbe84
Merge pull request #49395 from nekomatata/floor-max-angle-degrees
...
Use degrees instead of rad for floor_max_angle property in CharacterBody
2021-06-09 09:00:43 +02:00
Yuri Roubinsky
af451ffaa0
Merge pull request #49424 from Chaosus/fix_phong_rendermode
2021-06-09 09:03:54 +03:00
Yuri Roubinsky
5d5400a3b1
Fix shader compilation with render_mode: `specular_phong`
2021-06-09 08:38:03 +03:00
daniel-mcclintock
45fc6c4706
Fix out of sync separate distraction-free mode
2021-06-09 09:27:30 +10:00
PouleyKetchoupp
863560c6ef
Use degrees instead of rad for floor_max_angle property in CharacterBody
2021-06-08 16:00:31 -07:00
kobewi
da6aebeb4c
Move FindReplaceBar out of CodeTextEditor
2021-06-08 23:23:07 +02:00
Rémi Verschelde
090e4c4abd
Merge pull request #49422 from timothyqiu/hani-preview-text
...
Fix font preview text for CJKV ideographs
2021-06-08 23:15:30 +02:00
Rémi Verschelde
d3a796046b
Merge pull request #49433 from NoFr1ends/fix-49410
...
Rename missing shortcut names in visual script editor
2021-06-08 23:14:32 +02:00
Jonas Bernemann
3b18aa4910
Rename missing shortcut names in visual script editor
...
With the change of the shortcuts for common actions like delete, copy
and paste the delete menu items in the visual script editor for members
where missing because of a missing shortcut.
2021-06-08 20:03:19 +02:00
Rémi Verschelde
5793988b8d
Merge pull request #49429 from Paulb23/un_shortcut_typo
...
Fix TextEditor redo shortcut typo
2021-06-08 19:00:41 +02:00
Paulb23
d4c165d8c7
Fix TextEditor redo shortcut typo
2021-06-08 17:41:35 +01:00
Rémi Verschelde
006cb7def4
Merge pull request #49405 from Xrayez/version-hash-dot-to-space
...
Separate version hash from version number in editor and project manager
2021-06-08 17:03:30 +02:00
Rémi Verschelde
affb3ce1b7
Merge pull request #49364 from Calinou/add-form-github-issue-template
...
Add a form GitHub issue template for bug reports
2021-06-08 16:57:41 +02:00
Andrii Doroshenko (Xrayez)
293550f56a
Separate version hash from version number in editor and project manager
...
When copy-pasting the version from About dialog to bug reports at GitHub,
this makes the version hash linkable to commits at GitHub.
2021-06-08 17:30:37 +03:00