Commit graph

25163 commits

Author SHA1 Message Date
Rémi Verschelde 99b81aa1b9
Merge pull request #34039 from Eoin-ONeill-Yokai/multimeshfix
Added Missing Binding for `multimesh_create` to VisualServer
2019-12-05 06:49:43 +01:00
codecustard 601d870ae9 Fixes wrong position when adding node in VS editor
When adding a node in the visual script editor while zoomed in, the position of the newly added node would be wrong.
2019-12-04 17:12:01 -08:00
Tomasz Chabora 3b80eb06b7 Don't store index of root nodes 2019-12-05 01:18:48 +01:00
Eoin O'Neill f7f7544997 Added method binding for multimesh_create that was missing from VisualServer class. 2019-12-04 16:00:18 -08:00
simpuid 83194f4a50 changed set_meta to remove_meta in CLEAR_GUIDES menu option 2019-12-05 02:46:22 +05:30
Rémi Verschelde 36164168b5
Merge pull request #34101 from neikeq/baka
Mono/C#: Several android fixes
2019-12-04 20:21:23 +01:00
Ignacio Etcheverry 066ae9d83b Mono/C#: Several android fixes
- Added correct config file for android dllmaps.
- Fix __Internal DllImports with a dlopen fallback.
- Add missing P/Invoke functions and internal calls expected by the monodroid BCL and our custom version of the 'Android.Runtime.AndroidEnvironment' class (this last one can be found in the godot-mono-builds repo).
- Make sure to set 'btls' instead of 'legacy' as the default TLS provider on Android.
2019-12-04 19:03:42 +01:00
Rémi Verschelde 95242b7faf ResourceLoader: Add language code matching for localized resources
Near matching was not implemented like in TranslationServer, so a
resource remapped for 'ru' (but not 'ru_RU') would not be used as
fallback if the system locale was 'ru_RU'.

Fixes #34058.
2019-12-04 16:53:40 +01:00
Rémi Verschelde 0fcb68ffa1 Translation: Refactor locale matching to use proper language code
The previous code only parsed the first two characters (potentially reading
out of bounds if input was invalid), but some locales use a 3-letter language
code (e.g. 'nah_MX').

So I refactored the logic a bit to properly parse the locale and extract the
part left of the regional code, if provided (supports both 'en_US' and 'en-US'
style).

I made TranslationServer::get_language_code() public as I'll use it in a
follow up commit.
2019-12-04 16:53:08 +01:00
Ignacio Etcheverry 3797f19926 C#: Add Duplicate method to the Array and Dictionary bindings 2019-12-04 15:22:30 +01:00
Rémi Verschelde 73fb08289a
Merge pull request #34099 from akien-mga/gles3-polygon-buffer-orphaning-fix-2
Properly orphan polygon index buffer after binding (take 2)
2019-12-04 12:29:50 +01:00
Rémi Verschelde 745a8915fc Properly orphan polygon index buffer after binding (take 2)
Follow-up to #34088, patch by @oeleo1 from
https://github.com/godotengine/godot/issues/34065#issuecomment-561530896
2019-12-04 12:16:50 +01:00
TerminalJack e1dda5195c Added support for vertical syncing via the Windows OS compositor (DWM.) 2019-12-04 11:14:21 +01:00
Rémi Verschelde 10481046e5 i18n: Sync translations with Weblate 2019-12-04 09:08:11 +01:00
Rémi Verschelde f0ae0a9958
Merge pull request #34097 from Calinou/travis-doc-makerst
Travis CI: Run `makerst.py` to check for documentation errors
2019-12-04 09:05:16 +01:00
Rémi Verschelde fec8c164a0
Merge pull request #34096 from timothyqiu/i18n-ttr
Fixes translation for project sort options
2019-12-04 08:56:10 +01:00
Hugo Locurcio bc4dbcf793
Travis CI: Run makerst.py to check for documentation errors 2019-12-04 08:51:32 +01:00
Haoyu Qiu 22b345c969 Fixes translation for project sort options 2019-12-04 15:17:45 +08:00
Rémi Verschelde ed69744e7d
Merge pull request #34087 from bruvzg/os_docs_platform_support
OS class docs, adds platform compatibility notes.
2019-12-04 07:30:22 +01:00
Rémi Verschelde fc8bbaa8e9
Merge pull request #34094 from volzhs/compile-windows-on-linux
Fix compile error for Windows on Linux
2019-12-04 07:08:23 +01:00
Rémi Verschelde f326913f4d
Merge pull request #34067 from bojidar-bg/32370-retype-message
Make error when accidentially redeclaring a variable's type clearer
2019-12-04 06:52:22 +01:00
volzhs d1270f3d4c Fix compile error for Windows on Linux 2019-12-04 08:06:07 +09:00
Rémi Verschelde 40d1486cb3
Merge pull request #34088 from clayjohn/GLES3-polygon-buffer-orphaning-fix
Properly orphan polygon index buffer after binding
2019-12-03 18:13:28 +01:00
Rémi Verschelde 65f5ef9a42
Merge pull request #34079 from KoBeWi/rcexport
Don't stop export if rcedit path is invalid
2019-12-03 17:23:25 +01:00
bruvzg 0aebba2388
[ci skip] OS class documentations, adds platform compatibility notes. 2019-12-03 18:14:14 +02:00
clayjohn b2dfbd77ec properly orphan polygon index buffer after binding 2019-12-03 07:54:25 -08:00
Rémi Verschelde 7255d6c123
Merge pull request #34084 from Xrayez/fix-slow-polyline
Fix severe performance drop while deflating polylines
2019-12-03 15:15:20 +01:00
Rémi Verschelde 52e2105e61
Merge pull request #34082 from akien-mga/emscripten-clamp-fastcomp
Emscripten: Re-add BINARYEN_TRAP_MODE='clamp' for fastcomp
2019-12-03 15:00:58 +01:00
Andrii Doroshenko (Xrayez) 749d917424 Fix severe performance drop while deflating polylines
Underscaled arc tolerance produced very small values so that changes
to this parameter were negligible when scaled internally, hence significant
performance drop (lots of intermediate points inserted in an arc). Now the
performance is mostly the same compared to other types of offsetting
(SQUARE, MITER).
2019-12-03 15:43:59 +02:00
Tomasz Chabora ef21d378f3 Don't stop export if rcedit path is invalid 2019-12-03 13:42:24 +01:00
Rémi Verschelde 6d6280dfa3 Emscripten: Re-add BINARYEN_TRAP_MODE='clamp' for fastcomp
The option is needed when using the 'fastcomp' backend (default before
1.39.0), and must not be defined when using 'upstream' (new default).
So we define it conditionally to support both backends.

Follow-up to #30751.
2019-12-03 13:33:35 +01:00
Rémi Verschelde 2b824b4e45
Merge pull request #34078 from bruvzg/ios_used_data_access
[iOS] Add export options to control external access to user data.
2019-12-03 11:35:36 +01:00
bruvzg ccf8778e86
[iOS] Add export options to control external access to user data. 2019-12-03 12:06:54 +02:00
Rémi Verschelde a74f0fd4cf doc: Fix markup errors 2019-12-03 10:26:20 +01:00
Rémi Verschelde d0243e9e0f
Merge pull request #34077 from Calinou/doc-improve-dynamicfont
Improve the DynamicFont class documentation
2019-12-03 10:18:15 +01:00
Rémi Verschelde dc3d8f0e45
Merge pull request #34076 from Calinou/doc-listener
Add documentation for the Listener class
2019-12-03 10:14:11 +01:00
Rémi Verschelde 20d1486a54
Merge pull request #34075 from Calinou/doc-improve-camera
Improve the Camera class documentation
2019-12-03 10:13:09 +01:00
Hugo Locurcio 673bd79a9e
Improve the DynamicFont class documentation 2019-12-03 09:56:11 +01:00
Rémi Verschelde 54af9cd470
Merge pull request #34074 from Calinou/doc-floor-int
Mention that `int()` can be used as an alternative to `floor()`
2019-12-03 09:45:28 +01:00
Rémi Verschelde c3609eb211
Merge pull request #34072 from arlez80/master
fixed pitch bend value and MIDI running status on the InputEventMIDI.
2019-12-03 09:45:19 +01:00
Hugo Locurcio c6c5a213cd
Add documentation for the Listener class 2019-12-03 09:38:26 +01:00
Hugo Locurcio 73149499c0
Improve the Camera class documentation
This makes the Camera class 100% documented.
2019-12-03 09:37:01 +01:00
Rémi Verschelde e77c34ab4a
Merge pull request #34061 from Chaosus/fix_shader_const
Fix expressions for global constants in shaders
2019-12-03 08:53:55 +01:00
Hugo Locurcio 1fcdeaee39
Mention that int() can be used as an alternative to floor() 2019-12-03 08:43:24 +01:00
あるる / きのもと 結衣 e8410c03f5 fixed set pitch bend value and implemented midi running status 2019-12-03 16:22:02 +09:00
Rémi Verschelde 10bae7c05b
Merge pull request #33857 from nekomatata/polygon-2d-antialiasing
Fixed antialiased option for Polygon2D
2019-12-03 07:51:16 +01:00
Rémi Verschelde 65e6efaa3b
Merge pull request #33836 from clayjohn/blinn-fix
Fix Specular Blinn function
2019-12-03 07:50:37 +01:00
Bojidar Marinov 79c26344e8
Make error when accidentially redeclaring a variable's type clearer
Fixes #32370
2019-12-02 22:26:05 +02:00
Rémi Verschelde 055d7ace54
Merge pull request #34063 from Calinou/tweak-error-timestamp-formatting
Tweak error timestamp formatting to be more readable
2019-12-02 19:37:11 +01:00
Hugo Locurcio 56d884ffde
Tweak error timestamp formatting to be more readable
This uses a `.` instead of `:` as the decimal separator and trims
the decimal part to 3 digits, as millisecond precision is usually
sufficient.
2019-12-02 18:55:46 +01:00