summaryrefslogtreecommitdiffstats
path: root/modules/enet/config.py
Commit message (Collapse)AuthorAgeFilesLines
* [Net] Implement lower level ENet wrappers.Fabio Alessandrelli2021-07-291-0/+2
|
* [Net] Rename NetworkedMultiplayerENet to ENetMultiplayerPeer.Fabio Alessandrelli2021-07-121-1/+1
|
* SCons: Format buildsystem files with psf/blackRémi Verschelde2020-03-301-0/+3
| | | | | | | | | | | | | | | | | | | | | Configured for a max line length of 120 characters. psf/black is very opinionated and purposely doesn't leave much room for configuration. The output is mostly OK so that should be fine for us, but some things worth noting: - Manually wrapped strings will be reflowed, so by using a line length of 120 for the sake of preserving readability for our long command calls, it also means that some manually wrapped strings are back on the same line and should be manually merged again. - Code generators using string concatenation extensively look awful, since black puts each operand on a single line. We need to refactor these generators to use more pythonic string formatting, for which many options are available (`%`, `format` or f-strings). - CI checks and a pre-commit hook will be added to ensure that future buildsystem changes are well-formatted.
* SCons: Pass env to modules can_build methodRémi Verschelde2018-05-301-1/+1
| | | | | | This allows to disable modules based on the environment, in particular `env[tools]` which tells us if we are building the editor or not.
* doc: Make all module docs self-containedRémi Verschelde2017-11-151-2/+8
|
* style: Fix PEP8 blank lines issues in Python filesRémi Verschelde2016-11-011-0/+1
| | | | | | | | | | | 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.
* style: Start applying PEP8 to Python files, indentation issuesRémi Verschelde2016-11-011-2/+2
| | | | | | | | | | | | | | | | | | | 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.
* enet: Split enet thirdparty files and allow unbundlingRémi Verschelde2016-10-151-6/+1
| | | | | Building against shared libraries only implemented for Linux X11 so far. TODO: Document Godot's modifications of upstream enet.
* -Added an ENet implementation for NetworkedMultiplayerPeer for "a bit higher ↵Juan Linietsky2016-08-141-0/+11
level" networking.