forked from Mudlet/Mudlet
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improvement: Mxp entity & special character support in normal mud out…
…put (Mudlet#6903) <!-- Keep the title short & concise so anyone non-technical can understand it, the title appears in PTB changelogs --> #### Brief overview of PR changes/additions Mudlet was only able to display entities with only one Latin1 character in normal mud output. This fix removes this restriction and also enables the use of special characters represented by MXP default entities. #### Motivation for adding to Mudlet Improve MXP compliance #### Other info (issues closed, discussion etc) The patch changes small tidbits in several places: TBuffer was not able to add additional characters to an input line, also the inserted entity content must be reparsed to see if an MXP element is contained or to interprete any non-Latin1 encoding while not risking a deadlock by trying to resolve a recursive entity definition. This also required a way for the entity resolver if a given entity is custom, default, or unknown. There are some screenshots and remarks at the end of https://forums.mudlet.org/viewtopic.php?f=7&t=23206&start=10 . Also, you can see how this works by connection to aldebaran-mud.de login as a guest char (hit y to confirm) then "set mxp test 5", "set mxp test 6" or, for insights: "set mxp test 5 source", "set mxp test 6 source"
- Loading branch information
Showing
11 changed files
with
254 additions
and
54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.