Rémi Verschelde
7ada59efb7
Merge pull request #33391 from madmiraal/cleanup-error_macros
...
Clean up error_macros.h
2020-02-05 15:43:01 +01:00
Marcel Admiraal
677604685d
Apply macro documentation from #35521 .
2020-02-05 14:53:06 +01:00
Rémi Verschelde
9591ca3fe5
Merge pull request #35855 from YeldhamDev/script_builtin_load_fix
...
Fix built-in script creation loading existing scripts by mistake
2020-02-05 14:21:58 +01:00
Marcel Admiraal
110f4f2dc5
Remove trailing semicolons from do..while wrappers.
...
- Remove trailing semicolons from ERR_FAIL_INDEX macros.
- Remove trailing semicolons from ERR_FAIL_UNSIGNED_INDEX macros.
- Remove trailing semicolons from CRASH_BAD_INDEX macros.
- Remove trailing semicolons from CRASH_BAD_UNSIGNED_INDEX macros.
2020-02-05 11:19:40 +01:00
Marcel Admiraal
6d69cd40bd
Add do..while(0) wrappers to macros without one.
...
- Add do..while(0) wrapper to ERR_FAIL_NULL macros.
- Add do..while(0) wrapper to ERR_FAIL_COND macros.
- Add do..while(0) wrapper to ERR_CONTINUE macros.
- Add do..while(0) wrapper to ERR_BREAK macros.
- Add do..while(0) wrapper to CRASH_COND macros.
- Add do..while(0) wrapper to ERR_FAIL macros.
- Add do..while(0) wrapper to ERR_PRINT macros.
- Add do..while(0) wrapper to WARN_PRINT macros.
- Add do..while(0) wrapper to WARN_DEPRECATED macros.
- Add do..while(0) wrapper to CRASH_NOW macros.
2020-02-05 11:19:12 +01:00
Marcel Admiraal
f0db13502a
Remove duplicate WARN_PRINT macro.
2020-02-05 11:13:24 +01:00
Marcel Admiraal
5af3b4ca27
Remove duplicate ERR_PRINT macro.
2020-02-05 11:13:24 +01:00
Marcel Admiraal
2b1084fab3
Clean up error_macros.h
2020-02-05 11:13:02 +01:00
Michael Alexsander
f7374cef84
Fix built-in script creation loading existing scripts by mistake
2020-02-03 13:07:17 -03:00
Yuri Roubinsky
c4daac279b
Merge pull request #35883 from Chaosus/fix_x11_window_restoring2
...
Restores correct window position after fullscreen toggling off on Linux
2020-02-03 18:28:23 +03:00
Yuri Roubinsky
90f00c0813
Restores correct window position after fullscreen toggling off on Linux
2020-02-03 18:16:20 +03:00
Yuri Roubinsky
e5cb4f03c5
Merge pull request #35882 from Chaosus/fix_x11_window_restoring
...
Fix restoring window from fullscreen to normal on Linux
2020-02-03 17:32:36 +03:00
Yuri Roubinsky
8737269275
Fix restoring window from fullscreen to normal on Linux
2020-02-03 17:15:24 +03:00
Yuri Roubinsky
db3924b6bb
Merge pull request #35881 from Chaosus/vs_fix_missing_typo
...
Added missing '\n' in visual shader expression node code generation
2020-02-03 16:18:21 +03:00
Yuri Roubinsky
6e1187ad2f
Added missing '\n' in visual shader expression node code generation
2020-02-03 15:58:58 +03:00
Yuri Roubinsky
d5b579852f
Merge pull request #35873 from Chaosus/vs_fix_missing_typo
...
Added missing '\n' in visual shader fresnel node code generation
2020-02-03 12:56:15 +03:00
Yuri Roubinsky
c8639a0013
Added missing '\n' in visual shader fresnel node code generation
2020-02-03 12:33:37 +03:00
Rémi Verschelde
0edcb8ed58
Merge pull request #35809 from clayjohn/DOCS-update-version
...
Update docs to version 4.0
2020-02-01 19:42:31 +01:00
Rémi Verschelde
739f583151
Merge pull request #35811 from touilleMan/remove-useless-pluginscript-get_rpc-rset_mode
...
Remove useless pluginscript godot_pluginscript_script_desc.get_rpc/rset_mode fields
2020-02-01 17:09:14 +01:00
Yuri Roubinsky
a840b89b35
Merge pull request #35827 from Chaosus/vs_few_formatting_fixes
...
Few extra formatting fixes for visual shader node generation
2020-02-01 17:54:17 +03:00
Yuri Roubinsky
b0f166f0c5
Few extra formatting fixes for visual shader node generation
...
For 'If' and 'Switch' nodes
2020-02-01 17:41:49 +03:00
Yuri Roubinsky
217d8f4e97
Merge pull request #35824 from Chaosus/vs_fix_missing_typo
...
Added missing '\n' in visual shader custom node code generation
2020-02-01 16:37:48 +03:00
Yuri Roubinsky
9d8b59e86a
Added missing '\n' in visual shader custom node code generation
2020-02-01 16:25:34 +03:00
Yuri Roubinsky
45218316c9
Merge pull request #35618 from Chaosus/vs_improvements
...
Better visual shader code generation
2020-02-01 16:03:48 +03:00
Yuri Roubinsky
bfec48abf1
Better visual shader code generation
2020-02-01 15:53:02 +03:00
Yuri Roubinsky
f26e2f65cd
Merge pull request #35818 from Chaosus/fix_shader_crash
...
Prevent shader crash when name conflict with "dus" and "__" occured
2020-02-01 13:14:59 +03:00
Yuri Roubinsky
2c4367441c
Prevent shader crash when name conflict with "dus" and "__" occured
2020-02-01 12:38:52 +03:00
Emmanuel Leblond
491a6411d9
Remove useless pluginscript godot_pluginscript_script_desc.get_rpc/rset_mode fields
2020-02-01 05:04:47 +01:00
clayjohn
57e27683ba
Update docs to version 4.0
2020-01-31 17:15:41 -08:00
Rémi Verschelde
188dc714b0
Merge pull request #35801 from Calinou/array-sort-add-example
...
doc: Add an example for `Array.sort()`
2020-01-31 22:56:58 +01:00
Hugo Locurcio
1de9118c5f
doc: Add an example for Array.sort()
...
This may help people understand the difference between alphabetical
and natural order more quickly.
2020-01-31 21:23:09 +01:00
Yuri Roubinsky
ea3733a0ea
Merge pull request #35798 from Chaosus/vs_fix_light_output
...
Fix canvas_item light alpha output in visual shaders
2020-01-31 22:51:55 +03:00
Rémi Verschelde
8eef6d280b
Merge pull request #35451 from Calinou/html5-web-environment-only
...
Only emit the JavaScript support code for Web when building for HTML5
2020-01-31 18:36:29 +01:00
Rémi Verschelde
2a1e21b6b1
Merge pull request #33959 from Calinou/improve-autoload-editor-ux
...
Improve the AutoLoad editor UX
2020-01-31 18:30:34 +01:00
Rémi Verschelde
dfcfa7d256
Merge pull request #35790 from Calinou/doc-animationplayer-vs-tween
...
doc: Add a short AnimationPlayer versus Tween comparison
2020-01-31 18:29:34 +01:00
Rémi Verschelde
60c4a7ebbe
Merge pull request #35754 from Calinou/doc-improve-checkbox
...
Improve the CheckBox and CheckButton class documentations
2020-01-31 18:10:48 +01:00
Hugo Locurcio
810b1341ce
doc: Add a short AnimationPlayer versus Tween comparison
...
Many newcomers are confused about which one to choose for animating
properties. This should help clarify the situation with regards
to AnimationPlayer versus Tween.
2020-01-31 18:00:15 +01:00
Yuri Roubinsky
b822da00f8
Fix canvas_item light alpha output in visual shaders
2020-01-31 19:34:34 +03:00
Rémi Verschelde
6f092c299e
Merge pull request #35785 from nekomatata/android-line-edit-length-fix
...
Fixed LineEdit virtual keyboard inputs on Android
2020-01-31 16:38:37 +01:00
PouleyKetchoupp
196860508a
Fixed LineEdit virtual keyboard inputs on Android
...
Changed the condition to add a length filter to make it consistent with the documentation (0 means no character limit). Otherwise the default value in LineEdit causes the virtual keyboard to be non-fonctional on Android.
2020-01-31 16:24:09 +01:00
Hugo Locurcio
c9946bc87e
Improve the CheckBox and CheckButton class documentations
...
This makes the CheckBox and CheckButton classes 100% documented.
2020-01-31 13:17:20 +01:00
Rémi Verschelde
8c3b14bed7
Merge pull request #35778 from touilleMan/remove-gdnative-wrapper
...
Remove deprecated GDNative wrapper code
2020-01-31 13:16:23 +01:00
Hugo Locurcio
e818b51f32
Only emit the JavaScript support code for Web when building for HTML5
...
Excluding other unused environments like Node.js makes the support code
about 4 KB smaller.
2020-01-31 12:33:16 +01:00
Hugo Locurcio
352be7dbcc
Improve the AutoLoad editor UX
...
- Convert the default AutoLoad name to PascalCase when selecting a file.
- Disable the "Add" button if the path is empty or the name is invalid.
- Prefix the automatically-chosen name with "Global" if it would
conflict with a built-in class.
- Replace the FileList icon with the Load icon as it better represents
the action.
2020-01-31 11:51:21 +01:00
Rémi Verschelde
1361fa71c4
Merge pull request #33047 from silvanocerza/settings-search
...
Improved search in settings dialogs
2020-01-31 11:45:37 +01:00
Rémi Verschelde
d75c3d7f49
Merge pull request #33970 from Calinou/improve-video-ram-debugger-ux
...
Improve the Video RAM debugger UX
2020-01-31 11:38:52 +01:00
Rémi Verschelde
5da20d6cf2
Merge pull request #35612 from timothyqiu/option-button-arrow
...
Fixes OptionButton minimum size
2020-01-31 11:25:13 +01:00
Emmanuel Leblond
4c5205b550
Remove deprecated GDNative wrapper code
2020-01-31 11:20:25 +01:00
Rémi Verschelde
ab2f91bdfb
Merge pull request #35502 from Calinou/profiler-csv-save-anywhere
...
Allow saving anywhere when exporting CSV measures from the profiler
2020-01-31 11:19:29 +01:00
Rémi Verschelde
7e55472655
Merge pull request #35500 from Calinou/profiler-display-milliseconds
...
Display times as milliseconds in the profiler and performance monitors
2020-01-31 11:19:03 +01:00