Commit graph

21158 commits

Author SHA1 Message Date
Fabio Alessandrelli ce542bced1 Implement Clipboard API read when supported.
Being async, the first time a value is pasted GUI elements will still
return the previous one.
This at least until 'clipboardchange' window event gets implemented by
user agents.
2019-05-29 23:21:09 +02:00
Fabio Alessandrelli 2b436dd50e Kinda working HTML5 clipboard paste.
Listen to paste events to update local clipboard.
CTRL+V still not working out of the box.
To do that, We would need to change how we handle keypress, most likely
making it worse and less safe. In the end, I'm not sure we can fix it
properly for now. Maybe in the future, with the Clipboard API, support
of which is still pretty limited on chrome, and only available to
extensions in Firefox.

For now, you can paste via:
- Browser bar -> Edit -> Paste.
- Middle mouse click (Linux only, copies secondary clipboard).

And THEN press CTRL+V
2019-05-29 23:21:09 +02:00
Fabio Alessandrelli 0f76df2397 Add OS clipboard set support to OS Javascript 2019-05-28 12:59:29 +02:00
Rémi Verschelde 6273e4d76d
Merge pull request #26487 from matzebond/master
Auto-expand current node type when changing node type
2019-05-28 12:52:21 +02:00
Rémi Verschelde 8384582828
Merge pull request #27836 from turtletooth/right-click
Allow Right Click in Empty Space on FileSystemDock
2019-05-28 12:07:06 +02:00
Rémi Verschelde b546591d1b
Merge pull request #27875 from Thource/vehicle_wheel-get_rpm
Added a get_rpm() function to VehicleWheel
2019-05-28 12:06:09 +02:00
Rémi Verschelde 88539cf680
Merge pull request #27972 from ahouts/add-hotkeys-to-tileset-editor
add hotkeys to tileset editor
2019-05-28 11:57:23 +02:00
Rémi Verschelde 633af46a66
Merge pull request #27987 from lupoDharkael/classname-duplicate
Prevent using multiple class_name in a class
2019-05-28 11:56:21 +02:00
Rémi Verschelde 58f66fa848
Merge pull request #28107 from Amssat221/issue28105
Set range (10-50) to help source font size
2019-05-28 11:53:52 +02:00
Rémi Verschelde 47f00925dc
Merge pull request #28454 from homer666/popup-centered-maxsize
Add `popup_centered_clamped()` method to Popup
2019-05-28 11:36:41 +02:00
Rémi Verschelde 6ee3a1a6ae
Merge pull request #28512 from MJacred/master
Fix application window not listed in taskbar (X11)
2019-05-28 11:32:03 +02:00
Rémi Verschelde 335111c98f
Merge pull request #28581 from Lisapple/patch-1
Fixing Curve2D/3D baked interpolated values
2019-05-28 10:56:00 +02:00
Rémi Verschelde e3735a5d5a
Merge pull request #28606 from bojidar-bg/25889-indexed-set-defaults
Fix default values not being read correctly in VS, take two
2019-05-28 10:54:49 +02:00
Rémi Verschelde 06da7bf6b9
Merge pull request #28726 from megalike/add_mac_os_hotkeys_le
Support Mac OS hotkeys in line_edit
2019-05-28 10:37:04 +02:00
Rémi Verschelde 1f72126ad0
Merge pull request #28762 from Lisapple/gridmap-release-floor-field
Release GridMap floor field focus when mouse exited
2019-05-28 10:35:55 +02:00
Rémi Verschelde 6305030ee5
Merge pull request #29020 from raphael10241024/inertia
Fix some shape2d get_moment_of_inertia error
2019-05-28 10:23:55 +02:00
Rémi Verschelde 556ee71277
Merge pull request #29174 from Chaosus/fix_line_wrap_output
Fix "Index out of size" TextEdit's spam to output (when using Expression nodes in the visual shaders)
2019-05-28 10:21:54 +02:00
Rémi Verschelde 4686d9470e
Merge pull request #29185 from hilfazer/enum-autocomplete
Autocomplete for enum values
2019-05-28 10:21:27 +02:00
Rémi Verschelde 2f1de365fe
Merge pull request #29231 from AlexHoratio/method_list_drag_fix
Fix method list to no longer forwards drag commands to script list
2019-05-28 10:20:59 +02:00
Rémi Verschelde 254286af36
Merge pull request #29173 from YeldhamDev/animation_move_track_to
Make animation editor change tracks positions instead of swapping them
2019-05-28 07:33:39 +02:00
Michael Alexsander Silva Dias fad0338beb Make animation editor change tracks positions instead of swapping them 2019-05-27 22:03:26 -03:00
Rémi Verschelde 25e36f3540
Merge pull request #29002 from Chaosus/vs_constants
Added a bunch of scalar constants to visual shaders
2019-05-27 22:26:13 +02:00
Rémi Verschelde 2a74d852fe
Merge pull request #29228 from neikeq/issue-29117
Fix GetTypeInfo error due to missing include
2019-05-27 22:25:23 +02:00
AlexHoratio 3b5112567a method list no longer forwards drag commands to script list 2019-05-27 17:28:29 +01:00
Rémi Verschelde 51d7026cbc
Merge pull request #29227 from YeldhamDev/animplayer_bottom_pressed_fix_for_real
Actually fix animation editor's bottom panel button not being pressed on certain occasions
2019-05-27 17:44:35 +02:00
Rémi Verschelde 7487d2f852
Merge pull request #28957 from aaronfranke/basis-optimize
Optimize Basis constructor for Axis Angle
2019-05-27 17:42:43 +02:00
Chaosus 44de8b4964 Added a bunch of scalar constants to visual shaders 2019-05-27 18:39:59 +03:00
Rémi Verschelde 9f6eb3882c
Merge pull request #29182 from clayjohn/radiance_map
Fix radiance map settings
2019-05-27 17:33:45 +02:00
Ignacio Etcheverry d426dcabf8 Fix GetTypeInfo error due to missing include 2019-05-27 17:33:25 +02:00
Rémi Verschelde 4c77332e32
Merge pull request #29118 from JFonS/improve_navmesh_generation
Various improvements to NavigationMesh generation
2019-05-27 17:27:14 +02:00
Michael Alexsander Silva Dias 560f5cb104 Actually fix animation editor's bottom panel button not being pressed on certain occasions 2019-05-27 12:12:51 -03:00
Rémi Verschelde ec5be4ee68
Merge pull request #29223 from Jummit/add-get-camera-rid
Add get_camera_rid method to Camera
2019-05-27 17:11:31 +02:00
Rémi Verschelde bb4438889b
Merge pull request #29225 from ibrahn/init-rtl-metahover
Fix uninitialised member variable 'meta_hovering' in RichTextLabel
2019-05-27 17:08:39 +02:00
Ibrahn Sahir e975d9dcdb Fix uninitialised member variable 'meta_hovering' in RichTextLabel 2019-05-27 15:14:48 +01:00
Jummit ce2c45bde7 add get_camera_rid method 2019-05-27 16:05:27 +02:00
Rémi Verschelde eb70999ffa
Merge pull request #29217 from Calinou/fix-scons-platform-autodetection
Fix SCons automatic platform detection on Linux
2019-05-27 14:02:50 +02:00
Hugo Locurcio 1772bb1657
Fix SCons automatic platform detection on Linux 2019-05-27 13:42:52 +02:00
Rémi Verschelde 86f9d1bf5e
Merge pull request #29001 from ibrahn/message-arg-destroy
MessageQueue::flush now always destroys parameters of a spent message
2019-05-27 13:29:06 +02:00
Rémi Verschelde b9ee3f3d64
Merge pull request #29014 from mbrlabs/gles2_precision_fix
Use highp precision in the gles2 fragment shader if available
2019-05-27 12:18:47 +02:00
Rémi Verschelde 6f49fc27f8
Merge pull request #29200 from KoBeWi/filter_select
Deselect hidden nodes on filter
2019-05-27 12:17:00 +02:00
Rémi Verschelde e8fbb28e20
Merge pull request #29119 from bruvzg/native_icon_support
Add native window/taskbar icon support for Windows and macOS.
2019-05-27 12:09:42 +02:00
Rémi Verschelde d4e26fd588
Merge pull request #29172 from KoBeWi/path_deoverflowing
Don't allow PathFollow offset outside bounds
2019-05-27 12:09:17 +02:00
Rémi Verschelde 89b5025adc
Merge pull request #29176 from Calinou/tweak-particle-animation-warning
Tweak the particle animation node configuration warning message
2019-05-27 12:04:32 +02:00
Rémi Verschelde 0d3ae2a415
Merge pull request #29198 from NilsIrl/seg_fault
Fix Segmentation fault and reduce memory consumption
2019-05-27 11:59:38 +02:00
Rémi Verschelde 8d766ddef1
Merge pull request #29199 from mhilbrunner/no-platform-no-more
Scons: Fix .editorconfig, autodetect platform argument if missing
2019-05-27 11:57:15 +02:00
Rémi Verschelde cfbf23e339
Merge pull request #29207 from dankan1890/hotfix
Fixed typo in SConstruct
2019-05-27 08:15:35 +02:00
dankan1890 03c210f7b2 Fixed typo in SConstruct 2019-05-26 23:59:14 +02:00
Nils ANDRÉ-CHANG a156b7976d Fix Segmentation fault and reduce memory consumption 2019-05-26 20:32:09 +01:00
Rémi Verschelde 252c841d7f
Merge pull request #29202 from KoBeWi/regrescroll
Fix TextEdit blocking scroll without scrollbar
2019-05-26 21:06:18 +02:00
Tomasz Chabora 90ea9dfede Fix TextEdit blocking scroll without scrollbar 2019-05-26 20:51:08 +02:00