Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

PSA: settings moved & warnings are now emitted only once by default

22 views
Skip to first unread message

Till Schneidereit

unread,
Apr 29, 2015, 12:41:55 PM4/29/15
to mozilla-dev-sh.
I just landed PR 2196[1], which renames all options.ts files into
settings.ts and makes Shumway log all warnings exactly once by default.

The former is mostly cleanup: base/options.ts is where the implementation
of the Options system lives, whereas options.ts files in all other modules
were the places where the actual settings lived. No more.

The latter can be overridden by setting the loggingOptions.warnOnce option
to false.

Additionally, there's a new function Shumway.Debug.warnCounts() which
returns a list of encountered warnings and their frequency. Example output:

1517 Clip loadText was not found
1 Unknown AVM1 button action type: 72
1 AVM1 warning: cannot look up object 'sound'
1 Loading error encountered:,Not Found

That is all.

[1] https://github.com/mozilla/shumway/pull/2196
0 new messages