Age | Commit message (Collapse) | Author |
|
SuperUserNameMan/gdscript_opcode_line_opcode_breakpoint
fixes #6487, GDscript compiler ignores OPCODE_LINE and OPCODE_BREAKPOINT in Release mode
|
|
SCsub: Add python shebang as a hint for syntax highlighting
|
|
Also switch existing shebangs to "better" /usr/bin/env python.
|
|
Add `String char(int ascii)` function to GDScript and Visual Script
|
|
|
|
Comment out the weird workaround for building on Windows at it might
not be needed anymore. Testing needed to confirm.
|
|
|
|
|
|
|
|
Same rationale as the previous commits.
|
|
This allows to pass include paths and flags only to a given thirdparty
library, thus preventing conflicts between their files (e.g. between
opus and openssl which both provide modes.h.
This also has the nice effect of making the compilation command smaller
for each module as it no longer related to all other modules, only the
final linking brings them together.
This however requires adding manually the ogg include path in opus
and vorbis when building against the builtin ogg, since it is no longer
in the global env.
Also simplified template 'thirdparty_<module>_sources' to
'thirdparty_sources'.
"Core" modules like cscript, gdscript, gridmap, ik and virtual_script
still use the main env_modules, but it could be changed if need be.
|
|
Same rationale as the previous commits.
|
|
Took the opportunity to undo the Godot changed made to the
opus source. The opus module should eventually be built in its
own environment to avoid polluting others with too many include
dirs and defines.
TODO: Fix the platform/ stuff for opus.
|
|
Note that there are two Godot-specific changes made to libwebp
for the javascript/HTML5 platform. They are documented in the
README.md.
|
|
They are not particularly packaged in Linux distros so we do not
facilitate unbundling via SCons. There could be done if/when there
is interest.
Also s/pnm/pbm/, long-lived typo :)
|
|
Building against shared libraries only implemented for Linux X11 so far.
TODO: Document Godot's modifications of upstream enet.
|
|
Similar rationale as in previous commit.
|
|
Re-Allow absolute paths, make them behave correctly
|
|
|
|
Also closes: #6801
This reverts commit e59820ac94b7c9706298d5559608937dfca332e5.
|
|
Make text column numbers one-based
|
|
Allow for linebreaks in function calls and definitions and yeild/signal.
|
|
Make one-based the column number on the code editor
Make one-based the column number for GDScript error messages
Make one-based the column number for shader code error messages
|
|
|
|
Better checks for Multiplayer API, prevent packet source spoofing.
|
|
Throw an error when exporting a resource class
|
|
Add error when (pre)loading paths with leading / (#4280 - #3106)
|
|
Use 2 different ENet channels for reliable/unreliable packets
|
|
Fixes the following problems.
A malicious client was able to contact another peer faking its identity
(even looking like he was the server).
A malicious client was able to force other client disconnections by sending
bogus system packets to the server.
|
|
"export var tex = Texture"
will now throw an error to avoid crashing the editor:
"Exported constant not a type or resource"
Fixes #6719 . Closes #6729
|
|
|
|
(Plus maybe a few other things)
|
|
Just hope it doesn't crashes with that much pointer math... :smile:
|
|
NetworkedMultiplayerENet::get_packet was reporting the wrong size for the packet buffer exposing a potential buffer overflow in case of malformed/malicious packets
|
|
This avoids stalling other sequenced but unreliable packets
(i.e. UNRELIABLE_ORDERED) when sending RELIABLE packets.
|
|
Release mode
When godot is in release mode, GDscript compiler does not generate
bytecodes for OPCODE_LINE and OPCODE_BREAKPOINT anymore.
This optimizes GDscript execution speed when the script contains a lot
of comments in blocs executed in loops.
Fixes #6487
|
|
|
|
|
|
Ternary operator in GDScript (a if x else b)
|
|
Stuff like Label.ALIGN_CENTER or Mesh.PRIMITIVE_TRIANGLES did not complete..
|
|
selection exists), also made buttons look like buttons
-Fixed a bug related to theme propagation, may be able to solve #6443, #6302 and others. Please test.
|
|
Fix some more warnings
|
|
Adds enums to GDScript
|
|
Fix the support for WinRT/UWP
|
|
Tweaked some icons, including xform one
|
|
|
|
documentation more clearly and also make it easier to bind to C#
|
|
-Added ability for LineEdit to expand to fit text
|
|
|
|
- Works on Windows, Linux x11, Linux Server, Android, HTML5
- Not tested on Mac/iOS (don't have Apple's devices yet)
|