Commit graph

1514 commits

Author SHA1 Message Date
Rémi Verschelde
f34151ff0f style: Various other PEP8 fixes in Python files
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).
2016-11-01 00:35:16 +01:00
Rémi Verschelde
817dd7ccbb style: Fix PEP8 blank lines issues in Python files
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.
2016-11-01 00:35:16 +01:00
Rémi Verschelde
d4c17700aa style: Fix PEP8 whitespace issues in Python files
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.
2016-11-01 00:35:16 +01:00
Rémi Verschelde
97c8508f5e style: Start applying PEP8 to Python files, indentation issues
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.
2016-11-01 00:33:51 +01:00
volzhs
8d5644c4b2 Fix Accept/ConfirmationDialog UI broken 2016-10-31 03:42:30 +09:00
volzhs
3f15a65307 Revert "Place child control under label in AcceptDialog."
This reverts commit 3ef2722904.
2016-10-31 03:40:52 +09:00
Rémi Verschelde
0aebddafc1 Revert "make Container node aware of Size Flags"
This reverts commit 6ed15e995d.
Fixes #6974.
2016-10-30 15:14:28 +01:00
Rémi Verschelde
21828209ec Merge pull request #6950 from rdb/master
Add "Never" underline mode to LinkButton
2016-10-30 12:11:49 +01:00
Rémi Verschelde
a23d8eafa3 Merge pull request #6928 from razvanc-r/fix-container
make Container node aware of Size Flags
2016-10-30 12:06:30 +01:00
Rémi Verschelde
dfec7190b9 Merge pull request #6918 from pkowal1982/tween_fix_k3k
Fix regression #6864 caused by #6613
2016-10-30 12:05:42 +01:00
Rémi Verschelde
426ff9e7ac Merge pull request #6614 from TheKK/issue5989
Make FileDialog directory selection less misleading
2016-10-30 10:46:01 +01:00
rdb
d517bc908f Add "Never" underline mode to LinkButton 2016-10-28 10:52:57 +02:00
Pawel Kowal
20a18907c1 Fix regression #6864 caused by #6613 2016-10-26 15:15:20 +02:00
Răzvan Cosmin Rădulescu
6ed15e995d make Container node aware of Size Flags 2016-10-26 11:45:16 +02:00
Rémi Verschelde
afd86ee240 Merge pull request #6090 from WalasPrime/raytrace_force
Added force_raycast_update GDScript method for RayCast[2D]
2016-10-22 12:40:14 +02:00
Rémi Verschelde
e96c49f849 Merge pull request #6850 from akien-mga/pr-scsub-shebang
SCsub: Add python shebang as a hint for syntax highlighting
2016-10-17 20:13:18 +02:00
Rémi Verschelde
fc8ccd5b8c SCsub: Add python shebang as a hint for syntax highlighting
Also switch existing shebangs to "better" /usr/bin/env python.
2016-10-17 20:10:46 +02:00
Rémi Verschelde
048bffd13a Merge pull request #6806 from leezh/button_array_fixes
ButtonArray fixes and improvements
2016-10-17 10:05:42 +02:00
Rémi Verschelde
02feb4545e Merge pull request #6748 from mateka/issue-6199
Place child dialog contents under label in AcceptDialog
2016-10-17 09:55:00 +02:00
Rémi Verschelde
15e324b147 Merge pull request #6739 from bvbfan/patch-3
Button focus hovering
2016-10-17 09:53:52 +02:00
volzhs
7f6c28e97f Fix GraphEdit connection wire when resizing GraphNode 2016-10-15 03:11:26 +09:00
George Marques
6ca2128ff8 Merge pull request #6807 from volzhs/buttongroup-signal
Add "button_selected" signal to ButtonGroup
2016-10-14 14:43:18 -03:00
Zher Huei Lee
38caa4ef91 Added support for tooltips in ButtonArray. Fixes #6597 2016-10-14 18:11:52 +01:00
Rémi Verschelde
44e0071d0f Merge pull request #6780 from RandomShaper/space-padded-line-numbers
Allow turning off zero-padding for line numbers
2016-10-14 18:09:27 +02:00
George Marques
98ad32c167 Merge pull request #6809 from volzhs/graphedit-zoom
Fix GraphEdit connection wire when zoom in/out
2016-10-13 13:09:18 -03:00
Pedro J. Estébanez
00b3af246b Allow turing off zero-padding for line numbers 2016-10-13 11:43:42 +02:00
volzhs
6227e38ec6 Fix GraphEdit connection wire when zoom in/out 2016-10-13 12:11:29 +09:00
volzhs
870ed6f2fa Add "button_selected" signal to ButtonGroup 2016-10-13 09:58:06 +09:00
volzhs
06903c7ad2 Expose resizable property of GraphNode in inspector 2016-10-13 08:24:25 +09:00
Zher Huei Lee
f5830e0973 Fixes for ButtonArray
Fixed hover sometimes not resetting when mouse leaves widget.
Fixed text position not taking into account stylebox's content margins.
2016-10-12 22:54:04 +01:00
Andreas Haas
9d67895c7c
Sprite: Fix inspector not showing changes on "frame" property.
Fixes #6562
2016-10-11 15:14:05 +02:00
Rémi Verschelde
a317617aae Merge pull request #6783 from pkowal1982/buttonpressed
Fix #5959, contrasting texture for toggled button
2016-10-11 09:11:35 +02:00
Rémi Verschelde
0f587c460e Merge pull request #6778 from Hinsbart/completion_z
Fix Script Editor drawing over Dialogs.
2016-10-11 09:10:39 +02:00
Rémi Verschelde
53016ef7a1 Merge pull request #6777 from RandomShaper/revise-serial-naming
Revise serial naming behavior
2016-10-11 09:10:20 +02:00
Pawel Kowal
d3a8087659 Fix #5959, contrasting texture for toggled button 2016-10-10 13:54:48 +02:00
Andreas Haas
f73b501d6f
Fix Script Editor drawing over Dialogs.
Resets the z-index when focus is lost and the completion is shown.

Fixes #6769
2016-10-10 13:24:46 +02:00
Pedro J. Estébanez
84c525ba1b Revise serial naming behavior 2016-10-10 13:11:32 +02:00
Pedro J. Estébanez
d9c1729a8f Add line length guideline to code editors 2016-10-10 10:39:58 +02:00
Anthony Fieroni
6d21fd42d3 Button focus hovering
Signed-off-by: Anthony Fieroni bvbfan@abv.bg
2016-10-10 10:34:18 +03:00
Mateusz Adamczyk
3ef2722904 Place child control under label in AcceptDialog.
Fixes #6199.
2016-10-09 15:00:35 +02:00
Rémi Verschelde
e0e21984d8 Merge pull request #6747 from RandomShaper/unify-serial-naming
Make node serial naming per-project and universal
2016-10-09 14:55:53 +02:00
Rémi Verschelde
b9e010fb7f Merge pull request #6743 from mateka/issue-6296
Issue #6296: When searching for control, checking if matrix is inversible
2016-10-09 14:53:32 +02:00
Rémi Verschelde
6f9023c9a6 Merge pull request #6717 from Hinsbart/focus_crash
Prevent crash on focus change when no valid next control has been found.
2016-10-09 14:41:22 +02:00
Rémi Verschelde
9eb54e5b6e Merge pull request #6716 from Hinsbart/completion_fix
Fix code completion drawing under other gui elements.
2016-10-09 14:40:11 +02:00
Rémi Verschelde
0a2826b6ba Merge pull request #6712 from lordadamson/issue6012
fix #6012 exposed setters and getters of Camera H/V offset to GDScript
2016-10-09 14:39:42 +02:00
Rémi Verschelde
a4f3d93136 Merge pull request #6707 from volzhs/graphnode
Expose selected value of GraphNode
2016-10-09 14:37:21 +02:00
Rémi Verschelde
e9521523a2 Merge pull request #6706 from RandomShaper/light2d-editor-only
Add editor_only param to Light2D
2016-10-09 14:36:55 +02:00
Rémi Verschelde
369865f01a Merge pull request #6705 from volzhs/graphedit
Fix GraphEdit grab random node when delete or deselect by clicking empty space
2016-10-09 14:35:24 +02:00
Rémi Verschelde
ca732a52dc Merge pull request #6693 from J08nY/issue-editor-only-light
light: respect editor_only setting in release build, fixes #6665
2016-10-09 14:10:27 +02:00
Rémi Verschelde
1c6058a5bc Merge pull request #6691 from Faless/expose_more_physics
Expose more 2D/3D physics options in project settings (#5029)
2016-10-09 14:08:50 +02:00