Commit Graph

29001 Commits

Author SHA1 Message Date
Fabio Alessandrelli
7a5e10b8a9 Use dummy driver when JS AudioContext is unavailable. 2020-07-01 17:16:13 +02:00
Fabio Alessandrelli
1a637b07b1 Limit FPS in JS by skipping iterations. 2020-07-01 17:16:13 +02:00
Fabio Alessandrelli
07d4513886 [JS] Check canvas size each loop, force redraw.
Fix compatibility issues, achieve smoother resizing.
2020-07-01 17:16:13 +02:00
Fabio Alessandrelli
a1c4c1d318 More static methods in DisplayServerJavaScript.
Were static functions in cpp file, polluting global namespace.
2020-07-01 17:16:03 +02:00
Fabio Alessandrelli
fd92270b0a Refactor canvas ID and locale handling. 2020-07-01 13:10:05 +02:00
Fabio Alessandrelli
5b1cc2d1fc Fix FS error on JS startup due to existing folder. 2020-07-01 13:10:05 +02:00
Rémi Verschelde
719609522a
Merge pull request #40003 from YeldhamDev/tree_scroll_fix
Fix Tree's 'scroll_to_item()' not working correctly on some cases
2020-07-01 08:52:08 +02:00
Rémi Verschelde
46b1b91da9
Merge pull request #39985 from Calinou/uppercase-aces-tonemapping
Write "Aces" tonemapping in uppercase as it's an acronym
2020-07-01 08:48:22 +02:00
Michael Alexsander
144a4cc39f Fix Tree's 'scroll_to_item()' not working correctly on some cases 2020-06-30 18:22:26 -03:00
Rémi Verschelde
e820a73f58
Merge pull request #39988 from bruvzg/macos_app_active_notifications
[macOS] Add application become/resign active notifications.
2020-06-30 22:14:52 +02:00
Rémi Verschelde
5187d25eb2
Merge pull request #39994 from Faless/iteration/os_delay
Move frame delaying functions from Main to OS.
2020-06-30 22:13:58 +02:00
Rémi Verschelde
8ea75abde6
Merge pull request #39995 from Faless/js/restore_ci_jun
Fix RasterizerDummy after SDF GI changes.
2020-06-30 22:13:29 +02:00
Fabio Alessandrelli
eb2121d513 Fix RasterizerDummy after SDF GI changes.
Re-enable JavaScript CI.
2020-06-30 21:05:49 +02:00
Fabio Alessandrelli
1b6e3458b2 Move frame delaying functions from Main to OS.
Will allow specific platforms to override it and avoid blocking on the
main/GUI thread.
2020-06-30 19:39:09 +02:00
Rémi Verschelde
73262c0f60
Merge pull request #39993 from reduz/make-dialogs-exclusive
Make dialogs exclusive by default, fixes #37732
2020-06-30 19:30:27 +02:00
Juan Linietsky
b19ab945ac Make dialogs exclusive by default, fixes #37732
Also fix on set_visible, not creating exclusive children as it should.
2020-06-30 14:02:37 -03:00
Rémi Verschelde
84e9e58084
Merge pull request #39990 from follower/revert-fuzzy-help-search
Revert "Adds fuzzy search for help search dialog"
2020-06-30 18:40:43 +02:00
follower
55d706c352 Revert "Adds fuzzy search for help search dialog"
This reverts commit 481dbceed0.

Current fuzzy search implementation results in too many
non-useful results.

Could be re-added after result sort/filter/score functionality
is added. See #30072 for example existing implementation.

Fixes: #39128

Reverts: #32043

Fixed format style conflicts:
	editor/editor_help_search.cpp
2020-07-01 03:19:24 +12:00
bruvzg
a07578592b
[macOS] Add application become/resign active notifications. 2020-06-30 17:59:30 +03:00
Rémi Verschelde
5f2295f2df
Merge pull request #39986 from reduz/app-inout-notification
Add a separate application focus/in notification
2020-06-30 16:58:46 +02:00
Rémi Verschelde
f3c5f12e39
Merge pull request #38920 from paulherman/tga
Expose loading TGA images in Image.
2020-06-30 16:40:28 +02:00
Juan Linietsky
438c380458 Add a separate application focus/in notification out from Window focus notification. 2020-06-30 10:40:06 -03:00
Hugo Locurcio
a31fc59ff3 Write "Aces" tonemapping in uppercase as it's an acronym 2020-06-30 15:21:35 +02:00
Rémi Verschelde
27605769c4
Merge pull request #35633 from Xrayez/physics-shape-property
Expose shape property for shape query parameters classes
2020-06-30 13:57:23 +02:00
Rémi Verschelde
dffb8824db
Merge pull request #39982 from hinlopen/create-dialog-preferred
Add Control to preferred types in Create Dialog
2020-06-30 12:50:36 +02:00
Stijn Hinlopen
ec86d32684 Add Control to preferred types 2020-06-30 12:00:55 +02:00
Rémi Verschelde
50e79134b8
Merge pull request #39956 from madmiraal/fix-39919
Fix CSG Visual Bug.
2020-06-30 11:53:13 +02:00
Rémi Verschelde
bccb323396
Merge pull request #39977 from bruvzg/fix_zip_file_mode_again
[macOS export] Set correct external file attributes, and creation time.
2020-06-30 09:57:45 +02:00
Rémi Verschelde
5a33c77f0a
Merge pull request #39953 from neikeq/fix-missing-defval-regr-from-39827
Fix missing DEFVAL in RenderingDevice.storage_buffer_create
2020-06-30 09:40:43 +02:00
bruvzg
accae11fe3
[macOS export] Set correct external file attributes (Unix mode), and creation time. 2020-06-30 10:16:02 +03:00
Rémi Verschelde
d41e8d8f2d
Merge pull request #39302 from simpuid/custom-monitors
Added Custom Performance Monitor
2020-06-29 22:18:13 +02:00
Rémi Verschelde
8e8699e36b
Merge pull request #39894 from madmiraal/fix-39768
Trigger broadphase update when changing collision layer/mask.
2020-06-29 21:34:45 +02:00
Marcel Admiraal
63f4e92195 Use is_equal_approx() instead of vertex_snap when checking if ray is
colliding with equiplanar CSG faces.
2020-06-29 18:21:15 +01:00
Marcel Admiraal
1a559c9889 Create degenerate triangles when inserting an edge into a CSG face.
They will be deleted when the faces are merged, but their edges are
needed for merging faces.
2020-06-29 17:57:07 +01:00
Ignacio Etcheverry
7c3ff85c71 Fix missing DEFVAL in RenderingDevice.storage_buffer_create 2020-06-29 17:13:09 +02:00
Rémi Verschelde
4599381fad
Merge pull request #39934 from starryalley/fix-videoplayer-race
VideoPlayer: fix possible race condition
2020-06-29 14:52:58 +02:00
Rémi Verschelde
5bf7c769f0
Merge pull request #39945 from akien-mga/x11-XGetWindowProperty-memleak
X11: Ensure XGetWindowProperty data gets freed
2020-06-29 13:57:53 +02:00
simpu
bfadb882b1 Added Custom Performance Monitor and feature to read intermediate values of Monitor
Custom monitors can be added/removed/checked using `Performance.add_custom_monitor`/`Performance.remove_custom_monitor`/`Performance.has_custom_monitor`

The value can be viewed in the `Monitor` tab of Debugger.

Text before `/` is used to categorize the custom monitor.

`EditorPerformanceProfiler` class is created to separate logic from `ScriptEditorDebugger`

User can click on the graph of monitors to read the value at that point.

Graph includes intermediate base lines.
2020-06-29 17:20:29 +05:30
Rémi Verschelde
524f061c01 X11: Ensure XGetWindowProperty data gets freed
And cleanup includes a bit.
2020-06-29 13:32:21 +02:00
Rémi Verschelde
9fc65fd1f1
Merge pull request #39938 from MCrafterzz/interpolatedcamera
Remove unused interpolate camera icon
2020-06-29 10:59:58 +02:00
Rémi Verschelde
dffd805055
Merge pull request #39824 from mrushyendra/snap_point_polygon
Fix possible accidental duplication of Polygon2D start point
2020-06-29 10:39:00 +02:00
Rémi Verschelde
b474e30136
Merge pull request #39922 from KoBeWi/preloadload
Improve the preload and load descriptions
2020-06-29 10:38:20 +02:00
Rémi Verschelde
9f9fa07f07
Merge pull request #39935 from mrushyendra/datetime_negative
Fix weekday calculation in get_datetime_from_unix_time for negative times
2020-06-29 09:19:01 +02:00
Maganty Rushyendra
aae5f246ff Fix weekday calculation in get_datetime_from_unix_time for negative times
Fix calculation for negative times to ensure Sundays are wrapped around to '0'
instead of '7', making it consistent with the output for positive times.
2020-06-29 14:27:10 +08:00
Mark Kuo
e435d57758 VideoPlayer: fix possible race condition
In set_stream() we write to 'playback' while accessing the same object
in _mix_audio() in audio thread. Protect the 'write' part in
set_stream() to avoid possible crash in _mix_audio() function.
2020-06-29 13:01:54 +10:00
Tomasz Chabora
13298ed873 Improve the preload and load descriptions 2020-06-28 20:51:46 +02:00
Rémi Verschelde
481151be09
Merge pull request #39916 from reduz/sdfgi-occ
SDFGI: Slight occlusion improvements.
2020-06-28 14:42:03 +02:00
Juan Linietsky
b1aa24ea3c Slight occlusion improvements. 2020-06-28 09:11:21 -03:00
Rémi Verschelde
e1ef3f2da6
Merge pull request #39904 from m4gr3d/fix_focus_aware_option_master
Fix the logic to enable focus awareness
2020-06-28 09:09:38 +02:00
Rémi Verschelde
46b36805d9
Merge pull request #39910 from starryalley/fix-videoplayer-file-close
VideoStreamGDNative: close file in cleanup()
2020-06-28 08:59:42 +02:00