Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(release_30)Bugfix/Enhance: Suppress debug output from short interval timers #276

Conversation

SlySven
Copy link
Member

@SlySven SlySven commented Oct 30, 2015

Adds a spinbox control to the last page of the profile preferences that
allows the user to set an interval for which any Timer less than this will
NOT dump it's command and script content to the debug console in dark
yellow on a blue background EVERY time it fires. The Execute OK line will
still show up in green - so the timer can be seen to be firing but the
windows will not fill up with spammy text so much.

This fixes bug 1511590 that I have raised in response to my encountering it
and remembering a user reporting it in the forums.

Also: I also spotted and corrected a couple of lines above my addition to
dlgProfilePreferences::slot_save_and_exit() where the unchecked global
pointer to the Host (mpHost) was being used instead of the local checked
pointer (pHost) which is a copy of it and used everywhere else in the
method.

See #275 for development branch version

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

Adds a spinbox control to the last page of the profile preferences that
allows the user to set an interval for which any Timer less than this will
NOT dump it's command and script content to the debug console in dark
yellow on a blue background EVERY time it fires.  The Execute OK line will
still show up in green - so the timer can be seen to be firing but the
windows will not fill up with spammy text so much.

Also: I also spotted and corrected a couple of lines above my addition to
dlgProfilePreferences::slot_save_and_exit() where the unchecked global
pointer to the Host (mpHost) was being used instead of the local checked
pointer (pHost) which is a copy of it and used everywhere else in the
method.

Signed-off-by: Stephen Lyons <slysven@virginmedia.com>
@SlySven SlySven changed the title Bugfix/Enhance: Suppress debug output from short interval timers (release_30)Bugfix/Enhance: Suppress debug output from short interval timers Oct 30, 2015
@SlySven
Copy link
Member Author

SlySven commented Oct 30, 2015

Is it acceptable to merge this one Vadim?

@vadi2
Copy link
Member

vadi2 commented Oct 30, 2015

+1

SlySven added a commit that referenced this pull request Oct 30, 2015
…ionOfShortIntervalTimerDebugOutput

(release_30)Bugfix/Enhance:  Suppress debug output from short interval timers
@SlySven SlySven merged commit 3d06729 into Mudlet:release_30 Oct 30, 2015
@SlySven SlySven deleted the (release_30)enhance_allowSupressionOfShortIntervalTimerDebugOutput branch October 30, 2015 20:19
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.

None yet

2 participants