Commit graph

39 commits

Author SHA1 Message Date
Ahmed Charles
bcd8674ef3 Use python3 range.
Including potential memory reduction due to not created unnecessary lists.
2015-11-02 11:47:07 +00:00
Ahmed Charles
11b61fe335 Import python3 compatible object. 2015-11-02 00:19:04 +01:00
Ahmed Charles
cbe1eefcf0 Move to python3 style division.
All of these are currently integer division in python2.
2015-11-01 20:47:18 +00:00
Ahmed Charles
c8fbd2860d Use logger rather than print for these messages. 2015-11-01 21:39:48 +01:00
Ahmed Charles
3357712103 Use logger rather than a custom implementation. 2015-11-01 20:27:49 +00:00
Griatch
c7e1a6a086 Resolved merge conflicts against master. 2015-10-20 00:07:39 +02:00
Griatch
50371b6abd Merged conflicts. 2015-10-19 23:32:00 +02:00
Ahmed Charles
0384fcc63d Move to python3 style except. 2015-10-19 23:31:19 +02:00
Griatch
b952a290b5 Fixed conflicts against master. 2015-10-18 12:43:43 +02:00
Griatch
0c7ee1bdfc Fixed a bug in search error reporting. Made accept to change a player's name. Closes PR: Resolves #820, Resolves #821, Resolves #822, Resolves #823. 2015-10-16 22:34:40 +02:00
Russell Jones
06c3dc0ed3 Run "futurize -1 -w -n ." 2015-10-01 20:00:28 +01:00
Griatch
f73dc81274 This concludes the translation of Evennia's docstrings to Google style. This Resolves #709. 2015-09-27 20:24:03 +02:00
Griatch
eb2bd8d44c Converted a large part of utils/ folder to google code docstrings as per #709. 2015-09-27 20:24:03 +02:00
Griatch
2743f98fb0 Removed SEARCH_AT_MULTIMATCH_INPUT and SEARCH_AT_MULTIMATCH_CMD settings and connected functions - these are no longer individually overloadable. SEARCH_AT_RESULT function now handles all error reporting. Also added SEARCH_MULTIMATCH_SEPARATOR to make it easy to replace the character used to separate multi-matches (1-box, 2-box is using '-' by default), in response to #795. Also moved the default SEARCH_AT_RESULT function from the cmdparser to evennia.utils.utils. 2015-09-27 13:05:29 +02:00
Griatch
cc2b094bc6 Moved lineditor into utils/eveditor.py. The line editor is accessed by simply importing the class (same as EvTable, EvMenu etc), so the utils.get_line_editor function was removed. 2015-07-09 14:37:09 +02:00
Griatch
97e04ee710 Twisted min version upped to 15.2.1 due to a change in the LoopingCall infrastructure that Evennia relies on. This resolves #744 by updating the Evennia implementation accordingly. 2015-05-27 22:35:05 +02:00
Griatch
b59e38caf5 Adding migrations for django1.8. 2015-04-04 00:08:51 +02:00
Griatch
3ebc55da82 Changed datetime setter to use utils.timezone instead of naive datetime stamps, as per #728. 2015-03-27 07:05:13 +01:00
Jonathan Piacenti
89a39a8481 Pull line editor out of contrib and into main. 2015-03-26 17:10:42 -05:00
Griatch
c781160225 Made various parts of the core respect the CLIENT_DEFAULT_WIDTH setting. Resolves #710. 2015-03-19 19:21:05 +01:00
Jonathan Piacenti
571b1d5fad Added m_len and made ANSIString ignore MXP. 2015-03-12 08:31:25 +01:00
tajmone
3afd9c2126 utils.py docstring completion
more bits and pieces
2015-03-09 16:04:21 +01:00
Griatch
7fdece962c Resolved merge conflict 2015-03-09 16:04:01 +01:00
Griatch
950922d699 Fixed docstring. Resolves #694. 2015-03-09 14:04:12 +01:00
Tristano Ajmone
8af908d4f7 TYPO IN COMMENTS: currently valids PIDs
currently valids PIDs  => currently valid PIDs
2015-03-05 12:06:11 +01:00
Tristano Ajmone
45e9c85f3e TYPO IN COMMENTS: suggestsion
suggestsion => suggestions
2015-03-05 12:06:11 +01:00
Griatch
621a2f73e9 Added the calledby() function to utils (copied from threaded branch) 2015-02-22 17:46:55 +01:00
Griatch
c63ae1742f Reworked the build script and made the default tutorial_room more clever, using details and custom cmdsets. 2015-02-22 17:46:55 +01:00
Griatch
0115db3805 Reworked batchprocessor to correctly handle paths. Started looking at changing loation of some other folders. 2015-02-09 22:18:52 +01:00
Griatch
4045e0ec16 Fixed batchprocessor readin. 2015-02-09 22:02:44 +01:00
Griatch
4298dddf29 Made more verbose message when not finding a typeclass. 2015-01-15 21:49:05 +01:00
Griatch
a34312245a Added example bodyfunctions script back to contrib. Fixed the default lookup-paths of scripts. 2015-01-15 21:27:25 +01:00
Jonathan Piacenti
265f8a4e30 PIP packaging with setup.py, and fixes for bugs revealed by this. 2015-01-15 06:20:19 -06:00
Griatch
8d473b7663 Added an empty server.log file in order to be able to put the server/logs directory in git. Some more bugfixes. 2015-01-10 20:09:18 +01:00
Griatch
8e020bfb62 Moved dummyrunner under bin/. 2015-01-10 17:56:33 +01:00
Griatch
33a42d06c5 Fixed many path-related issues, getting closing to getting the server to boot. 2015-01-08 16:00:22 +01:00
Griatch
c96c5a1fc7 Updated the game template, renaming subdir typeclasses rather than types since the latter collides with the python library module of the same name. 2015-01-08 00:04:18 +01:00
Griatch
ad3f19896c Changed all src/ and ev references to evennia 2015-01-07 15:36:32 +01:00
Griatch
c7325a5032 Further reworking, naming the library folder 'evennia' instead of lib or src. 2015-01-07 13:36:57 +01:00
Renamed from lib/utils/utils.py (Browse further)