Age | Commit message (Collapse) | Author |
|
Done with `autopep8 --select=E7`, fixes:
- E701 - Put colon-separated compound statement on separate lines.
- E702 - Put semicolon-separated compound statement on separate lines.
- E703 - Put semicolon-separated compound statement on separate lines.
- E711 - Fix comparison with None.
- E712 - Fix (trivial case of) comparison with boolean.
- E713 - Fix (trivial case of) non-membership check.
- E721 - Fix various deprecated code (via lib2to3).
|
|
Done with `autopep8 --select=E3,W3`, fixes:
- E301 - Add missing blank line.
- E302 - Add missing 2 blank lines.
- E303 - Remove extra blank lines.
- E304 - Remove blank line following function decorator.
- E309 - Add missing blank line.
- W391 - Remove trailing blank lines.
|
|
Done with `autopep8 --select=E2,W2`, fixes:
- E201 - Remove extraneous whitespace.
- E202 - Remove extraneous whitespace.
- E203 - Remove extraneous whitespace.
- E211 - Remove extraneous whitespace.
- E221 - Fix extraneous whitespace around keywords.
- E222 - Fix extraneous whitespace around keywords.
- E223 - Fix extraneous whitespace around keywords.
- E224 - Remove extraneous whitespace around operator.
- E225 - Fix missing whitespace around operator.
- E226 - Fix missing whitespace around operator.
- E227 - Fix missing whitespace around operator.
- E228 - Fix missing whitespace around operator.
- E231 - Add missing whitespace.
- E231 - Fix various deprecated code (via lib2to3).
- E241 - Fix extraneous whitespace around keywords.
- E242 - Remove extraneous whitespace around operator.
- E251 - Remove whitespace around parameter '=' sign.
- E261 - Fix spacing after comment hash.
- E262 - Fix spacing after comment hash.
- E265 - Format block comments.
- E271 - Fix extraneous whitespace around keywords.
- E272 - Fix extraneous whitespace around keywords.
- E273 - Fix extraneous whitespace around keywords.
- E274 - Fix extraneous whitespace around keywords.
- W291 - Remove trailing whitespace.
- W293 - Remove trailing whitespace.
|
|
Done with `autopep8 --select=E1`, fixes:
- E101 - Reindent all lines.
- E112 - Fix under-indented comments.
- E113 - Fix over-indented comments.
- E115 - Fix under-indented comments.
- E116 - Fix over-indented comments.
- E121 - Fix a badly indented line.
- E122 - Fix a badly indented line.
- E123 - Fix a badly indented line.
- E124 - Fix a badly indented line.
- E125 - Fix indentation undistinguish from the next logical line.
- E126 - Fix a badly indented line.
- E127 - Fix a badly indented line.
- E128 - Fix a badly indented line.
- E129 - Fix a badly indented line.
|
|
|
|
|
|
|
|
xorshift32 PRNG for Math::rand_from_seed()
|
|
Fix comparison bug with InputEvent
|
|
|
|
|
|
Adding IPv6 support
|
|
|
|
|
|
|
|
|
|
|
|
|
|
SCsub: Add python shebang as a hint for syntax highlighting
|
|
Also switch existing shebangs to "better" /usr/bin/env python.
|
|
Use int consistently instead of int32_t for Vectors
|
|
Fixes hash float negative 0 problem
|
|
This give a proper fix for #4280 - #3106 , allowing absolute paths
that starts from the file system, not the resource folder
|
|
Before this was giving an error:
var a = {Vector2(1, 0): 5, Vector2(-1, 0): 7}
print(a)
print(a[Vector2(1, 0)])
print(a[-Vector2(1, 0)])
This simple commit fixes the issue.
|
|
should fixes #1043
PRNG adapted from : http://excamera.com/sphinx/article-xorshift.html
|
|
Issue #6296: When searching for control, checking if matrix is inversible
|
|
(https://github.com/godotengine/godot/issues/6296).
|
|
|
|
|
|
Adds Vector.angle_to(Vector other), fixes #3912
[ci skip]
|
|
|
|
|
|
Properly encode InputEvent of type NONE. Fix #5987
|
|
PCKPacker: Move to core from tools, fixes #4129
|
|
Fix error when using 2 or more slashes on resource path
|
|
Throw error when trying to emit a non-existing signal.
|
|
Improve debug focus behavior
|
|
(Array) .pop_front, .pop_back & .remove return values instead of void
|
|
In the editor settings you can disable default editor shortcuts.
When a default shortcut is disabled an InputEvent of type NONE must
be stored in the config file to allow the editor to remember that setting.
variant_parser.cpp was not properly encoding InputEvent of type NONE causing
the "corruption" of the editor settings file.
|
|
|
|
|
|
|
|
fixes #6621
|
|
Add functions to get readable names for joystick events
|
|
closes #6017
|
|
Closes #6476
|
|
Fix for #6158
|
|
|
|
Expose Vector2::clamped() to scripts
|
|
Needed this and wondered that there's no built-in function for it.
So I wanted to implement it and saw that it's actually already there, just wasn't bound ^^
|