Rémi Verschelde
9562fb900e
Merge pull request #39629 from MichaelBelousov/dont-slice-longs-to-mono
...
Dont slice 64-bit integers marshaled to mono in dynamic contexts
2020-06-19 07:50:34 +02:00
Maganty Rushyendra
f24ec3878e
Fix upscaling image with bilinear interpolation option specified
...
Fix error in calculation of 4 nearest points in source image when
resizing image with bilinear interpolation.
2020-06-19 09:38:42 +08:00
Sl3dge78
d731f43794
Autofilled path gets set properly on animation subresources
2020-06-19 01:22:36 +02:00
Andy Maloney
7433c9d40c
[macOS] Command-backspace in line edit
...
Make command-backspace in line edit work like other macOS applications.
If there is a selection, command-backspace deletes the selection.
If there isn't a selection, command-backspace deletes from the cursor to the beginning of the line edit.
This addresses part of godotengine/godot#23548
2020-06-18 17:45:40 -04:00
unknown
d191a8b9f8
adding check for syskeydown on control and alt
2020-06-18 14:36:22 -07:00
Sl3dge78
95cd74fc4b
Fix #20467 . The "Anim imported" warning gets displayed properly when working on imported anims.
2020-06-18 23:12:22 +02:00
Fabio Alessandrelli
f055b86e65
Document AES and new Crypto/CryptoKey functions.
2020-06-18 17:06:16 +02:00
Andy Maloney
031165b345
[macOS] Control key + scroll wheel should zoom not pan
...
Together with godotengine/godot#39395 for 3.2.x, this fixes godotengine/godot#32520
2020-06-18 10:20:20 -04:00
Fabio Alessandrelli
8e3f9aa681
Implement RSA encryption/decryption.
2020-06-18 15:29:39 +02:00
Fabio Alessandrelli
dfcc11fa52
Implement sign and verify in crypto.
2020-06-18 15:29:39 +02:00
Fabio Alessandrelli
788f18086e
CryptoKey supports public keys.
2020-06-18 15:29:39 +02:00
Fabio Alessandrelli
9a462e07a4
Add AESContext.
...
GDScript interface to CryptoCore::AESContext.
Also add CBC mode in CryptoCore::AESContext and expose it.
2020-06-18 15:26:24 +02:00
Fabio Alessandrelli
f03b7f3d7a
Better zeroizing in CryptoKey.
...
Small code clenup (after PoolByteArray change).
2020-06-18 15:26:01 +02:00
Rémi Verschelde
2b6bbf8dce
Mono: Always define options in main.cpp to keep them in docs
...
Otherwise generating docs with non-Mono builds removes them,
which is not so convenient for the documentation work.
2020-06-18 12:06:24 +02:00
Rémi Verschelde
4e0f31a67c
Merge pull request #39638 from mrushyendra/editor_preview
...
Fix editor texture preview for certain specific dimensions
2020-06-18 11:59:45 +02:00
Rémi Verschelde
dfa5f88c11
doc: Fix rebase error from #39589
2020-06-18 11:34:10 +02:00
Rémi Verschelde
e9288ed0fb
Merge pull request #39589 from Calinou/doc-csharp-classes
...
Document Mono-specific classes
2020-06-18 11:25:05 +02:00
Maganty Rushyendra
c7a8dc7bb9
Fix editor texture preview for certain specific dimensions
...
Ensures no error is issued when attempting to preview a resource that
may be scaled down to <1 pixel when resizing to fit the thumbnail.
2020-06-18 17:21:42 +08:00
Hugo Locurcio
24a8d43272
Document Mono-specific classes
...
This fully documents all Mono-specific classes.
2020-06-18 10:32:34 +02:00
Rémi Verschelde
e54031cf1a
Merge pull request #39614 from hinlopen/fix-search-highlight
...
Search result highlights follow font size
2020-06-18 10:02:05 +02:00
Rémi Verschelde
a8fce16b2f
Merge pull request #39626 from bojidar-bg/x-tileset-editor-crash
...
Fix a random crash in the TileSet editor
2020-06-18 09:55:03 +02:00
Rémi Verschelde
47eb607cc3
Merge pull request #39625 from Calinou/editor-freelook-restore-mouse-position
...
Restore previous mouse position when leaving the editor freelook mode
2020-06-18 09:51:56 +02:00
Michael Belousov
60fcefba69
return boxed long when marshalling a godot int to mono runtime in dynamic contexts
2020-06-17 17:16:17 -04:00
Bojidar Marinov
7850d0316f
Fix a random crash in the TileSet editor
...
Occurred when selecting polygon collision mode, then drawing a single point, then selecting rectangle mode, and finally trying to select a rectangle.
2020-06-17 22:08:51 +03:00
Hugo Locurcio
4a542e0007
Restore previous mouse position when leaving the editor freelook mode
...
- Remove the crosshair as it no longer serves a purpose (the cursor will
now appear where the user "expects" it to).
This closes https://github.com/godotengine/godot-proposals/issues/1076 .
2020-06-17 20:02:46 +02:00
Rémi Verschelde
d341181f30
Merge pull request #38067 from ThakeeNathees/elif-error-line-fixed
...
GDScript debugger incorrect error line fixed
2020-06-17 19:17:44 +02:00
Thakee Nathees
9325671faa
GDScript debugger incorrect error line fixed
...
if the first line of an else or an elif throws a runtime error the
debugger shows incorrect line number.
2020-06-17 21:24:01 +05:30
Rémi Verschelde
84e7552f83
Merge pull request #39622 from akien-mga/docdata-skip-empty-scripting-langs-builtins
...
DocData: Skip language-specific ClassDoc without methods/constants
2020-06-17 15:52:15 +02:00
Rémi Verschelde
ba0db95909
DocData: Skip language-specific ClassDoc without methods/constants
...
Removes the useless `@C#`, `@NativeScript` and `@VisualScript` entries.
2020-06-17 15:09:07 +02:00
Rémi Verschelde
7cde0e4ab9
Merge pull request #39611 from aaronfranke/t2d-rot-atan2
...
Simplify and fix Transform2D get_rotation
2020-06-17 13:04:30 +02:00
Aaron Franke
0fa478a050
Simplify Transform2D get_rotation
2020-06-17 01:00:42 -04:00
Stijn Hinlopen
a86521d0bd
Search result highlights follow font size
2020-06-17 00:53:23 +02:00
Rémi Verschelde
02f7908d46
Merge pull request #39598 from mrushyendra/replace_selection
...
Fix code editor Replace tool to work with 'Selection Only' option
2020-06-16 22:44:30 +02:00
Rémi Verschelde
fa01e666d2
Merge pull request #39542 from Ev1lbl0w/feature/kill-pid
...
Allow Godot to kill its own PID
2020-06-16 20:49:00 +02:00
Rémi Verschelde
93d79023ad
Merge pull request #39541 from Ev1lbl0w/feature/disable-rendering
...
Expose disable_render_loop property to GDScript
2020-06-16 20:48:41 +02:00
Rémi Verschelde
60ba9914f3
Merge pull request #39579 from m4gr3d/provide_activity_to_godot_plugin_constructor_master
...
Clean up the GodotPlugin public API
2020-06-16 20:45:34 +02:00
Fredia Huya-Kouadio
6daf9b78af
Clean up the GodotPlugin
public API.
2020-06-16 09:25:09 -07:00
Ev1lbl0w
03879a564a
Expose disable_render_loop property to GDScript
2020-06-16 15:43:44 +01:00
Maganty Rushyendra
2be3a33cc3
Fix code editor Replace tool to work with 'Selection Only' option
...
Ensures that when the `Selection Only` option is selected, the Replace
tool replaces occurrences of the search phrase only within the selected
region, and in order of occurrence.
2020-06-16 22:09:46 +08:00
Rémi Verschelde
697897cc61
Merge pull request #39275 from ThakeeNathees/shadowed-warning-for-loop-counter
...
Added shadowed var warning for `for` loop counter
2020-06-16 15:51:31 +02:00
Rémi Verschelde
78d09a4163
Merge pull request #37903 from Xrayez/shape-2d-draw-bind
...
Bind Shape2D draw method
2020-06-16 15:15:51 +02:00
Rémi Verschelde
bc5ba1c266
Merge pull request #33148 from Calinou/debug-window-title-suffix
...
Add a suffix to the window title when running from a debug build
2020-06-16 13:58:04 +02:00
Rémi Verschelde
b29a3e7e23
Merge pull request #39307 from KoBeWi/move_n_dup
...
Allow duplicating files when holding Control
2020-06-16 12:54:06 +02:00
Rémi Verschelde
9d23391072
Merge pull request #39517 from Calinou/editor-display-freelook-speed-zoom
...
Display freelook speed and zoom in units in the 3D editor viewport
2020-06-16 12:44:25 +02:00
Rémi Verschelde
2ad7eb9bb3
Merge pull request #36079 from madmiraal/fix-35744
...
Normalise p_up_direction vector in move_and_slide()
2020-06-16 12:44:06 +02:00
Hugo Locurcio
a9c60007a9
Add a suffix to the window title when running from a debug build
...
Since projects started from the editor or exported in debug mode
run slower than those exported in release mode, this should be
clearly presented to the user.
This partially addresses #20219 .
2020-06-16 11:39:37 +02:00
Marcel Admiraal
c4650540d4
Normalise p_up_direction vector in move_and_slide() and
...
move_and_slide_with_snap() and fix tolerance in
move_and_slide_with_snap() max floor angle.
2020-06-16 09:56:08 +01:00
Hugo Locurcio
eaae50fe4a
Display freelook speed and zoom in units in the 3D editor viewport
...
Now that the 3D editor grid is infinite and adjusts its step automatically,
this helps people get a better sense of scale when moving around in the
3D viewport.
This also fixes the indicator bar drawing on hiDPI displays.
2020-06-16 10:46:01 +02:00
Rémi Verschelde
309adb93cd
Merge pull request #39484 from hbina/use_nullptr_in_macros
...
Check pointers against nullptr.
2020-06-16 10:42:56 +02:00
Rémi Verschelde
3306935289
Merge pull request #39572 from Chaosus/fix_vs_4.0
...
Use path instead classname to prevent errors for exported visual shaders
2020-06-16 09:32:38 +02:00