Commit graph

110 commits

Author SHA1 Message Date
Griatch
29fc31bb01 Post-process docstring output 2020-07-10 14:14:34 +02:00
trhr
090157979b django.utils.translation.ugettext(), ugettext_lazy(), ugettext_noop(), ungettext(), and ungettext_lazy() are deprecated in favor of the functions that they’re aliases for: django.utils.translation.gettext(), gettext_lazy(), gettext_noop(), ngettext(), and ngettext_lazy(). 2020-02-09 20:14:47 -06:00
Griatch
69d85bd184 Make scripts/objects lists use EvMore. Change EvMore to not justify by default. 2020-01-11 15:49:12 +01:00
Griatch
4ea6209123 Ran black on branc 2019-12-16 20:31:42 +01:00
Griatch
c2c7fa311a Format code with black. Add makefile to run fmt/tests 2019-09-28 18:18:11 +02:00
Greg Taylor
5e1a672fc2 Remove builtins imports
This module is not intended to be used directly in most cases, per:
https://docs.python.org/3/library/builtins.html

None of our usages warrant the explicit import. We also avoid some
confusion as folks dig to see what we are doing to require
importing builtins directly.
2019-09-15 20:29:59 -07:00
Vincent Le Goff
45646dccdf Opens an interactive console when using the py command with no argument 2019-07-22 15:37:19 +02:00
Griatch
4bcadc96a0 Resolve merge conflicts 2019-06-09 11:29:37 +02:00
DarkSir23
d152dbc5de Cleaned up extra debugging lines. 2019-05-20 10:50:37 -04:00
DarkSir23
39d54d8f56 Testing a width fix. 2019-05-17 21:16:25 -04:00
DarkSir23
4094464ec6 Testing a width fix. 2019-05-17 21:02:22 -04:00
DarkSir23
e32a096bf5 Testing a width fix. 2019-05-17 20:56:57 -04:00
DarkSir23
0d5d8ec847 Testing a width fix. 2019-05-17 20:52:40 -04:00
DarkSir23
e5eb54b472 Testing a width fix. 2019-05-17 19:10:37 -04:00
DarkSir23
b74de1c673 Fix for EvMenu width 2019-05-17 19:06:49 -04:00
Griatch
ed187ad05f Various fixes from game jam 2019-05-14 10:33:31 +02:00
Griatch
f0d98e1a5b Fix Evmenu infinite loop on empty key. Resolves #1769. 2019-03-30 17:41:28 +01:00
Griatch
37e8585b78 Fix EvMenu infinite loop on empty-string key. Resolves #1769 2019-03-30 17:39:08 +01:00
Griatch
0b7100c3cb Correctly mock session.protocol flags 2018-10-14 09:33:52 +02:00
Griatch
72f4fedcbe Merge with develop and fix merge conflicts 2018-10-01 20:58:16 +02:00
Griatch
fedc08c043 Cleanup of changelog 2018-09-30 13:06:36 +02:00
Griatch
8a52a76d8c Correct olc update options, add local display to menudebug command 2018-08-25 23:46:05 +02:00
Griatch
b96f1a5c86 Add menudebug command for debugging EvMenu 2018-08-23 20:46:13 +02:00
Griatch
298b2c23c6 Cleanup/refactoring of olc menus 2018-08-11 11:49:10 +02:00
Griatch
696cb3942b Further cleanup and debugging of olc menu 2018-07-29 20:58:56 +02:00
Griatch
6126391406 Refactor spawn, update remaining in olc 2018-07-29 16:53:54 +02:00
Griatch
e1cc36e4d4 Complete refactoring of main nodes. Remain spawn/load/save 2018-07-28 19:58:20 +02:00
Griatch
e5f63f8431 Add search-object functionality to olc menu 2018-07-28 18:26:00 +02:00
Griatch
50c54501f1 Refactor menu up until attrs 2018-07-26 23:41:00 +02:00
Griatch
e4016e435e Start improve OLC menu docs and help texts 2018-07-21 19:06:15 +02:00
Griatch
f57192f9f1 Fix error if sending string to list_node select callback 2018-04-22 13:39:47 +02:00
Griatch
acc651b2fe Inject selection in list_node decorator if select kwarg is a string 2018-04-21 15:31:30 +02:00
Griatch
b571d6fdd4 Fix unittests 2018-04-20 19:51:12 +02:00
Griatch
bee7fa174d Cherry-pick EvMenu list_node decorator from olc branch 2018-04-19 22:47:13 +02:00
Griatch
0ae76233ee Resolve merge conflicts 2018-01-29 00:16:30 +01:00
Griatch
2e17d344e4 Remove superfluous close_menu call leading to two exit-cmds being called when exiting via custom end node. Resolves #1428. 2018-01-29 00:02:14 +01:00
Ryan Stein
7d524ac328 Unwrap for expressions in comprehensions, too. 2017-11-02 22:52:16 -04:00
Ryan Stein
aaf13eec16 Port EvMenu and EvForm for Py3. 2017-10-29 22:14:39 -04:00
Ryan Stein
6fa280b9fd Run 2to3. 2017-10-29 13:40:30 -04:00
Griatch
d05495cc52 Add testing framework for EvMenu. Implements #1484 2017-10-28 22:33:58 +02:00
Griatch
b6b112b70a Make an empty evmenu desc option just show the key 2017-10-28 14:31:09 +02:00
Griatch
931e42082c Make persistent evmenu's store node kwargs correctly 2017-10-28 13:29:51 +02:00
Griatch
7b295fa98b Add working **kwargs support to nodes/callbacks in evmenu 2017-10-28 12:05:32 +02:00
Griatch
2475d14691 Almost finished with kwargs-support for evmenu 2017-10-28 00:13:40 +02:00
Griatch
98ab831437 Fix evmenu persistence loading for 0.7 2017-10-27 09:16:46 +02:00
Griatch
b278337172 Make PEP8 cleanup of line spaces and character distances as well as indents 2017-08-19 23:16:36 +02:00
Griatch
7ff783fea1 Resolve merge conflicts with master. 2017-08-19 21:30:42 +02:00
CloudKeeper1
c8131eab80 Add EvMenu support for ending on start node.
Currently, if the start node has options of None then any input causes a "Choose an option or try 'help'." message to display and then ending the menu. This supports ending the menu without eating input.
2017-07-26 23:53:53 +10:00
Griatch
5590ee2258 Rename all instances of Player->Account. 2017-07-07 23:47:21 +02:00
Griatch
0ff1718437 Resolve django 1.11 migration errors. 2017-06-17 22:15:00 +02:00