Commit graph

24418 commits

Author SHA1 Message Date
Rémi Verschelde d89f24b6c9
Merge pull request #33259 from Chaosus/remove_gles2_switch_op
Removed switch operator from GLES2 shader back-end
2019-11-02 19:28:18 +01:00
Rémi Verschelde 0a9df181af
Merge pull request #33268 from Paulb23/33128_connection_info_validate
Update connection info on script validation rather then saved copy
2019-11-02 19:27:51 +01:00
Rémi Verschelde 7210bed2b1
Merge pull request #33264 from nekomatata/doc-true-false-null
Code format for true/false/null to make documentation consistent
2019-11-02 17:15:11 +01:00
Rémi Verschelde 4b3bfe4f52
Merge pull request #33267 from bruvzg/restore_gdnative_compat
Restore GDNative compatibility after #33210
2019-11-02 17:12:36 +01:00
Paulb23 362d38ea67 Update connection info on script validation rather then saved copy 2019-11-02 14:41:59 +00:00
bruvzg 047ecffaac
Restore GDNative compatibility by moving new functions introduced in #33210 to core API 1.2 extension. 2019-11-02 15:25:43 +02:00
PouleyKetchoupp 52e799b6d4 Code format for true/false/null to make documentation consistent 2019-11-02 12:14:15 +01:00
Rémi Verschelde 4569f5ec82
Merge pull request #33182 from MCrafterzz/scaleSnap
Added snapping for scaling in 2D editor
2019-11-02 11:12:54 +01:00
Yuri Roubinsky d5aa611d53
Merge pull request #33256 from Chaosus/vs_fix_custom_nodes
Sort custom vshader nodes+prevents them from divide to different folders
2019-11-02 13:09:10 +03:00
Yuri Roubinsky 6b7f8558d9 Removed switch operator from GLES2 shader back-end 2019-11-02 12:43:32 +03:00
Yuri Roubinsky 84a0ad36b6 Sort custom vshader nodes+prevents them from divide to different folders 2019-11-02 12:04:48 +03:00
MCrafterzz 3a8a7fc31c Added snapping for scaling in 2D editor 2019-11-02 09:43:15 +01:00
Rémi Verschelde af4fd9de9c
Merge pull request #33238 from qarmin/other_fixes
Fix some crashes, overflows and using variables without  values
2019-11-01 22:12:47 +01:00
Rémi Verschelde 86fdb51e04
Merge pull request #33246 from nekomatata/state-machine-rename-error
Fixed error when renaming a state in AnimationNodeStateMachine
2019-11-01 22:12:10 +01:00
PouleyKetchoupp f6f60e22f5 Fixed error when renaming a state in AnimationNodeStateMachine
Fixes #33245
2019-11-01 21:14:58 +01:00
George Marques 9fcd38fc70
GDScript: validate instance before accessing it on error
Make sure the instance is valid before trying to access the script in
after an error happened. If the instance is not valid it's possible that
the script is invalid as well.

Fix #29623
2019-11-01 14:41:52 -03:00
Rémi Verschelde 36a785513f
Merge pull request #33175 from Chaosus/shader_fix_builtin_crashes
Prevents shader crash on GLES2 if unsupported built-in has been used
2019-11-01 17:36:37 +01:00
Rémi Verschelde d7e7b8365d
Merge pull request #33239 from Omicron666/patch-1
Fix: typo atleast -> at least
2019-11-01 17:35:52 +01:00
Rémi Verschelde 5160d4f5ba
Merge pull request #33233 from hilfazer/dollar-quoted-autocomplete
$ autocompletion keeps quotation
2019-11-01 16:52:13 +01:00
Rafał Mikrut 9ddb3265e1 Fix some crashes, overflows and using variables without values 2019-11-01 16:16:31 +01:00
Omicron 79a59a3587
Fix: typo atleast -> at least
Typo found in source string, reported by linux-man on weblate
2019-11-01 16:10:21 +01:00
George Marques 15800b4db8
GDScript: Avoid editor crashes when there's cyclic inheritance
Make sure the script is fully compiled before looking into the base.
2019-11-01 12:00:20 -03:00
George Marques 5d5df05ee1
Merge pull request #32643 from mewin/add_global_class
Check for cyclic inheritance when adding a global script class
2019-11-01 11:45:53 -03:00
hilfazer c394ef7410 $ autocompletion keeps quotation 2019-11-01 14:52:13 +01:00
Rémi Verschelde a49c8d4a2b
Merge pull request #33202 from nekomatata/text-edit-search-usability
Improved TextEdit search usability & documentation
2019-11-01 14:10:00 +01:00
Rémi Verschelde b4737877f1
Merge pull request #33204 from akien-mga/prevent-crash-permission-issue
Prevent crash when we can't write to editor cache or config path
2019-11-01 14:09:42 +01:00
Rémi Verschelde 83d393a71a
Merge pull request #33209 from Jummit/soft-body-tutorial
Link SoftBody tutorial in docs
2019-11-01 14:04:50 +01:00
Rémi Verschelde 962fc725c0
Merge pull request #33210 from nekomatata/pool-array-empty
Added empty() function to pool array types
2019-11-01 14:04:16 +01:00
Rémi Verschelde 81b53f5a5c
Merge pull request #33211 from drentsoft/os_midi_documentation_branch
Added documentation for the OS class MIDI functions.
2019-11-01 14:04:01 +01:00
Rémi Verschelde 1e8758418e
Merge pull request #33216 from nekomatata/help-editor-codeblock
Code sections improvements in editor help
2019-11-01 14:03:26 +01:00
Rémi Verschelde d93201b27f
Merge pull request #33229 from Jummit/document-force_update_transform
Document force_update_transform
2019-11-01 14:03:01 +01:00
Rémi Verschelde c12797fb31
Merge pull request #33232 from kraghot/Fix-Batch-Rename
Fix Batch Rename not opening
2019-11-01 14:00:40 +01:00
Edi Cikovic d14d57120d Fix Batch Rename not opening 2019-11-01 13:03:57 +01:00
Jummit 2166437869 document force_update_transform 2019-11-01 10:37:39 +01:00
Jummit ce61bff759 link SoftBody tutorial in docs and add ray_pickable property 2019-11-01 08:51:25 +01:00
Rémi Verschelde 99cee9038b
Merge pull request #33227 from SneakyFish5/patch-1
Add new file in libogg readme
2019-11-01 07:31:30 +01:00
Rémi Verschelde 34e479cf2f
Merge pull request #33221 from drentsoft/area2d_tutorial_link
Added link to Area2D tutorial in documentation.
2019-11-01 06:44:48 +01:00
Rémi Verschelde 13238af287
Merge pull request #33219 from YeldhamDev/smarter_editor_dim
Make the editor dimming smarter
2019-11-01 06:42:00 +01:00
Jonathan Mannancheril e70e894433
Add new file in libogg readme 2019-10-31 17:30:36 -05:00
Derwent Ready (drentsoft) 1758a6f494 Added link to Area2D tutorial in documentation. 2019-10-31 20:59:13 +00:00
Michael Alexsander 36c4fd8935 Make the editor dimming smarter 2019-10-31 16:58:53 -03:00
PouleyKetchoupp 74271712a8 Code sections improvements in editor help
- Removed extra new lines around code blocks
- Different color for code and code blocks to make them more visible
2019-10-31 18:47:12 +01:00
Derwent Ready (drentsoft) 1e07ab8564 Added documentation for the OS class MIDI functions. 2019-10-31 16:52:55 +00:00
PouleyKetchoupp 475115c0c3 Added empty() function to pool array types 2019-10-31 16:27:32 +01:00
Rémi Verschelde 23a381d882
Merge pull request #33203 from aaronfranke/seperation-typo
Fix "seperate" typos
2019-10-31 15:17:19 +01:00
Rémi Verschelde 565f7183aa Prevent crash when we can't write to editor cache or config path
This can happen if users somehow got wrong user permissions assigned to
their Godot cache, config or data paths (e.g. `~/.config/godot`).

The error messages should give them a hint as to what the issue may be.

Fixes #33199.

There may be other situations that still lead to a crash, we need to
review all uses of `FileAccess::open` with `FileAccess::WRITE` mode to
ensure that proper pointer validation is done.
2019-10-31 15:16:02 +01:00
Aaron Franke 8754e21f48
Fix "seperate" typos 2019-10-31 08:52:26 -04:00
Rémi Verschelde 55fd63d9de
Merge pull request #33201 from Xrayez/json-err-print
Provide and print error messages for JSON parsing
2019-10-31 13:31:48 +01:00
PouleyKetchoupp d29c8ab81b Improved TextEdit search usability & documentation 2019-10-31 12:35:23 +01:00
Andrii Doroshenko (Xrayez) 56925b9c28 Provide and print error messages for JSON parsing
Core is not touched, only for binding and scripting.
2019-10-31 13:15:44 +02:00