Skip to content

(release_30)BugFix: faulty message alignment, cTelnet::postMessage() in non-ERROR…#277

Merged
SlySven merged 1 commit intoMudlet:release_30from
SlySven:(release_30)bugfix_faultyNonErrorMessageAlignment
Nov 11, 2015
Merged

(release_30)BugFix: faulty message alignment, cTelnet::postMessage() in non-ERROR…#277
SlySven merged 1 commit intoMudlet:release_30from
SlySven:(release_30)bugfix_faultyNonErrorMessageAlignment

Conversation

@SlySven
Copy link
Copy Markdown
Member

@SlySven SlySven commented Nov 4, 2015

… cases

A version of this commit never got into the release_30 branch with the
effect that all the postMessage() type calls with messages OTHER than the
ones beginning with "[ ERROR ]" were not being aligned correctly.

Original commit e17d023 read:

Code that was put in to fix messages with tag "[ ERROR ] - " was not copied
to the other tag types, so those messages were not lined up correctly as
per:

"[<tag>] - <message line 1 ...>
           <message line 2 ...>
           ...
           <message line n ...>"

===========================================================================

Whilst fixing this I decided to give the Host class a wrapper around
mTelnet.postMessage() so that other classes could access this without
having to include the cTelnet header or access it via a Host pointer.
As a result other existing uses have been modified where it is advantagous
to do so.

Signed-off-by: Stephen Lyons slysven@virginmedia.com

… cases

A version of this commit never got into the release_30 branch with the
effect that all the postMessage() type calls with messages OTHER than the
ones beginning with "[ ERROR ]" were not being aligned correctly.

Original commit-e17d023b read:
===========================================================================
Code that was put in to fix messages with tag "[ ERROR ] - " was not copied
to the other tag types, so those messages were not lined up correctly as
per:

"[<tag>] - <message line 1 ...>
           <message line 2 ...>
           ...
           <message line n ...>"

===========================================================================

Whilst fixing this I decided to give the Host class a wrapper around
mTelnet.postMessage() so that other classes could access this without
having to include the cTelnet header or access it via a Host pointer.
As a result other existing uses have been modified where it is advantagous
to do so.

Signed-off-by: Stephen Lyons <slysven@virginmedia.com>
@SlySven
Copy link
Copy Markdown
Member Author

SlySven commented Nov 7, 2015

I would like to merge this ASAP - it is also included in a following PR #279 so if any modifications are made they will also have to go into that, the fix that forms the main part of the commit has already been incorporated into the development branch for some time...

@SlySven
Copy link
Copy Markdown
Member Author

SlySven commented Nov 11, 2015

⏳ I intend to merge this, unless there are any objections, - in 24 hours...

@vadimnehta
Copy link
Copy Markdown

+1

SlySven added a commit that referenced this pull request Nov 11, 2015
…rMessageAlignment

(release_30)BugFix: faulty message alignment, cTelnet::postMessage() in non-ERROR…
@SlySven SlySven merged commit a083e53 into Mudlet:release_30 Nov 11, 2015
@SlySven SlySven deleted the (release_30)bugfix_faultyNonErrorMessageAlignment branch November 11, 2015 21:18
mehulmathur16 pushed a commit to mehulmathur16/Mudlet that referenced this pull request Feb 16, 2024
* correct some issues found by clang-analyzer (dead stores, one of them a bug in the page allocator)
* fix other warnings on clang
* turn of warnings-as-errors on CI for clang and msvc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants