Hugo Locurcio
05daf5c78b
Always use lists for `LIBS` in SCons
...
This closes #31288 .
2019-08-12 22:31:55 +02:00
Ignacio Etcheverry
bda461c2b1
Add C# language editor icon
2019-08-12 18:57:26 +02:00
Ignacio Roldán Etcheverry
3c78837218
Merge pull request #31322 from neikeq/mono-gitignore-override-sln
...
Make git no longer ignore solution files inside the mono module
2019-08-12 16:50:18 +02:00
Ignacio Etcheverry
33c0d47273
Make git no longer ignore solution files inside the mono module
2019-08-12 15:59:06 +02:00
Rémi Verschelde
37a16fee05
Export: Remove temp files from cache after export
...
So far we left most temporary files lying around, so this attempts to
fix that.
I added a helper method to DirAccess to factor out the boilerplate of
creating a DirAccess, checking if the file exists, remove it or print
an error on failure.
2019-08-12 13:31:59 +02:00
Rémi Verschelde
5441aaf768
Merge pull request #31228 from aaronfranke/identity-constants
...
Add Basis constants and format Transform constants
2019-08-12 12:42:30 +02:00
Rémi Verschelde
b1de92fbdf
Merge pull request #31314 from BastiaanOlij/fix_api_struct_gen
...
Fix self reference issue in core structures for GDNative plugins
2019-08-12 11:45:33 +02:00
Bastiaan Olij
bf9a97c2cb
Fix self reference issue in core structures for GDNative plugins
2019-08-12 19:21:32 +10:00
Robin Hübner
8aeade74db
Replace 'ERR_EXPLAIN' with 'ERR_FAIL_*_MSG' in rest of 'modules/'
2019-08-12 10:15:54 +02:00
Aaron Franke
85f13a0d24
Add Basis constants and format Transform constants
2019-08-09 11:34:54 -07:00
Rémi Verschelde
3ea33c0e45
Merge pull request #31221 from neikeq/err-explain-to-msg-mono
...
Replace 'ERR_EXPLAIN' with 'ERR_FAIL_*_MSG' in 'modules/mono'
2019-08-09 12:40:05 +02:00
Rémi Verschelde
80c7cb6378
Merge pull request #31227 from profan/fix/err-explain-usages
...
Replace 'ERR_EXPLAIN' with 'ERR_FAIL_*_MSG' in "platform", "modules/gdnative", "modules/gdscript" directories.
2019-08-09 12:28:06 +02:00
Ignacio Etcheverry
c55ce204b3
Replace 'ERR_EXPLAIN' with 'ERR_FAIL_*_MSG' in 'modules/mono'
...
And 'CRASH_*_MSG' as well.
Also make error messages puntuation and quotation more consistent.
2019-08-09 12:13:21 +02:00
Robin Hübner
6ab118c464
Replace 'ERR_EXPLAIN' with 'ERR_FAIL_*_MSG' in "platform", "modules/gdnative", "modules/gdscript" directories.
2019-08-09 11:13:24 +02:00
Cameron Reikes
2339e85b78
Expression before 'is' may be null
2019-08-09 01:24:03 -07:00
Rémi Verschelde
1d5ae6da5b
Merge pull request #31047 from Zylann/save_exr
...
Add Image.save_exr()
2019-08-08 08:53:02 +02:00
Aaron Franke
50fd2deede
[Mono] Make all structs seralizable
2019-08-07 18:34:52 -07:00
Marc Gilleron
cd2de77b04
Add Image.save_exr()
2019-08-07 21:17:47 +01:00
Rémi Verschelde
ba541bceca
Merge pull request #31077 from qarmin/coverity_bugs
...
Change some code proposed by Coverity and Cppcheck
2019-08-07 13:49:33 +02:00
qarmin
e0b5b21863
Add some code changes/fixes proposed by Coverity and Clang Tidy
2019-08-07 12:54:30 +02:00
PouleyKetchoupp
189e4e59ad
Fixed KinematicCollision.get_local_shape() - the local shape id was never set during move_and_collide()
...
Fixes #31144
2019-08-07 12:32:32 +02:00
Rémi Verschelde
45be9c67ef
Merge pull request #31091 from aaronfranke/wrap
...
Optimize Wrap functions
2019-08-05 09:55:57 +02:00
Rémi Verschelde
be3b2f3ff9
Merge pull request #31041 from 2shady4u/master
...
Mark class_name line as safe in editor
2019-08-05 08:05:49 +02:00
Aaron Franke
a9c10450bd
[Core] [Mono] Optimize Wrap functions
...
Use is_zero_approx(), avoid a negative, and also rename "rng" to "range".
2019-08-04 20:38:38 -07:00
Ignacio Roldán Etcheverry
7126654eaf
Merge pull request #31068 from neikeq/issue-31065
...
C#: Fix Color.ToHtml()
2019-08-04 08:53:52 +02:00
Ignacio Etcheverry
57fe284fe6
C#: Fix Color.ToHtml()
2019-08-04 05:04:39 +02:00
shaderbeast
1e6a52b215
Mark class_name line as safe in editor
2019-08-02 20:07:54 +02:00
Emmanuel Barroga
5c447cecd2
Add descriptive tooltips in VS editor
...
In the Visual Script editor, the override icon is not very clear what it's intended purpose is for. Currently, its tooltip just says: "Function:" which is the same tooltip as the "add new function" icon.
To resolve this issue, this PR adds descriptive tooltips to the following icons in the Visual Script editor:
-Override Function
-Add Function
-Add Variable
-Add Signal
2019-07-31 20:10:19 -07:00
RevoluPowered
243f400ee2
Updated assimp to commit 1d565b0 with iFire
...
Signed-off-by: RevoluPowered <gordon@gordonite.tech>
Signed-off-by: K. S. Ernest (iFIre) Lee <ernest.lee@chibifire.com>
2019-07-30 18:59:29 +01:00
Rémi Verschelde
d15090e275
Merge pull request #30909 from Kaligule/patch-1
...
Add a reference to pow to the description of exp.
2019-07-30 00:06:30 +02:00
Rémi Verschelde
adffd9aaef
Merge pull request #30935 from YeldhamDev/gdnative_plugin_fix
...
Fix 'GDNativeLibrary' editor being incorrectly opened
2019-07-29 21:38:37 +02:00
Rémi Verschelde
baa1d0c3d0
Merge pull request #30923 from NilsIrl/better_dropdown
...
Improve platform selection in the GDNativeLibrary dock
2019-07-29 21:38:21 +02:00
Michael Alexsander Silva Dias
147990cb6d
Fix 'GDNativeLibrary' editor being incorrectly opened
2019-07-29 15:05:49 -03:00
Rémi Verschelde
b90ef52ece
Find trailing whitespace and indentation in gdnative_api.json
2019-07-29 18:48:21 +02:00
Kaligule
a2c81a7455
Add a reference to pow to the description of exp.
...
This might be especially usefull since godot script doesn't support ** or ^ as operators, so beginners might search for the exponential function, when what they really need is the pow function.
This is exactly what happened to me and since I couldn't find helpfull information in the documentation I had to look it up online, where I found the answer on a helpfull [reddit thread](https://www.reddit.com/r/godot/comments/3mvwz0/how_do_i_do_exponents_in_godot/ ).
@akien-mga told me how to reference methods here:
godotengine#30909
2019-07-29 18:17:52 +02:00
NilsIrl
d69409338b
Improve platform selection in the GDNativeLibrary dock
...
* Replace button text with currently selected platforms
* Expand button size horizontally
2019-07-29 14:54:08 +02:00
Rémi Verschelde
d06da7193d
Merge pull request #30869 from NilsIrl/#30841
...
Replace radion buttons with checkboxes in GDNativeLibrary editor
2019-07-29 10:11:56 +02:00
Aaron Franke
7dbbb5eac7
[Mono] Deprecate Set methods
...
These silently fail, so they should be removed. I accidentally added most of these last year, trying to make everything else consistent with Quat, sorry!
Also, a few tiny nitpicking changes are included, like whitespace and misspellings.
2019-07-28 17:49:22 -04:00
Fabio Alessandrelli
d6c9b377b9
Fix WebSocketClient crash when unref during signal
...
Always call disconnect before emitting signals, to avoid calling it on a
freed object if the user decides to unreference it in a signal.
2019-07-28 15:23:20 +02:00
NilsIrl
ba63e0a5a2
Replace radion buttons with checkboxes in GDNativeLibrary editor
2019-07-27 16:46:14 +02:00
Rémi Verschelde
1107799de5
Merge pull request #30849 from bojidar-bg/7898-mixed-indentation
...
Disallow using of both tabs and spaces for indentation in the same file
2019-07-27 10:48:31 +02:00
Ignacio Etcheverry
d54df7b904
C#: Fix Transform2D.AffineInverse()
2019-07-27 02:15:29 +02:00
Bojidar Marinov
f12f3cf726
Disallow using of both tabs and spaces for indentation in the same file
...
Closes #7898
2019-07-26 21:24:34 +03:00
Rémi Verschelde
140e7e5edf
Merge pull request #30788 from Chaosus/direction_to_gdnative
...
Added Vector2/3.direction_to methods to GDNative
2019-07-26 18:58:25 +02:00
Ignacio Roldán Etcheverry
6697ad2c4f
Merge pull request #30842 from neikeq/fix-custom-props-msbuild
...
Mono: Fix custom defines for Mono's MSBuild; remove xbuild
2019-07-26 18:33:52 +02:00
Ignacio Etcheverry
8821569689
Mono: Fix custom defines for Mono's MSBuild; remove xbuild
...
Mono's MSBuild and System/VisualStudio's MSBuild expect a different format for surrounding property values with quotes on the command line.
xbuild does not seem to support semicolons in property values from the command line: https://xamarin.github.io/bugzilla-archives/16/16465/bug.html
It's a good time to just remove xbuild support entirely.
2019-07-26 17:17:17 +02:00
Ignacio Roldán Etcheverry
a82420fbe8
Merge pull request #30825 from neikeq/heya
...
Fix incorrectly updating csproj and not closing build issues file
2019-07-26 16:54:11 +02:00
Ignacio Etcheverry
4e84478f4e
Fix incorrectly updating csproj and not closing build issues file
2019-07-25 21:06:40 +02:00
Ignacio Roldán Etcheverry
3a68b24171
Merge pull request #30820 from neikeq/issue-28394
...
Mono: Don't try to update project assemblies from project manager
2019-07-25 19:00:10 +02:00
Ignacio Etcheverry
c9befa63d2
Mono: Don't try to update project assemblies from project manager
...
Previously, when running the project manager, we would try to load the API assemblies from the project and fail because we were not editing any project. This would make us try to copy the prebuilt API assemblies to the project. Since there is no project, it would try to copy them to the executable location. This would fail if Godot doesn't have permissions to write to that location.
This commit fixes that by instead trying to load the prebuilt API assemblies in the first place, if running the project manager.
2019-07-25 17:52:45 +02:00