19 #ifndef GNASH_SWF_SCRIPTLIMITSTAG_H 20 #define GNASH_SWF_SCRIPTLIMITSTAG_H 45 log_debug(
"Setting script limits: recursion %s, timeout %s",
46 _recursionLimit, _timeoutLimit);
71 log_parse(
_(
" ScriptLimits tag: recursion: %d, timeout: %d"),
72 _recursionLimit, _timeoutLimit);
77 std::uint16_t _recursionLimit;
78 std::uint16_t _timeoutLimit;
85 #endif // GNASH_SWF_SCRIPTLIMITSTAG_H
std::uint16_t read_u16()
Read a aligned unsigned 16-bit value from the stream.
Definition: SWFStream.cpp:332
Client program's interface to the definition of a movie or sprite.
Definition: movie_definition.h:95
A MovieClip is a container for DisplayObjects.
Definition: MovieClip.h:83
Sets the desired limits for recursion and timeout for AS scripts.
Definition: ScriptLimitsTag.h:36
TagType
SWF tag types. Symbolic names copied from Ming.
Definition: SWF.h:30
virtual ~ScriptLimitsTag()
Definition: ScriptLimitsTag.h:40
Anonymous namespace for callbacks, local functions, event handlers etc.
Definition: dbus_ext.cpp:40
#define IF_VERBOSE_PARSE(x)
Definition: log.h:378
Control tags are swf tags that control the operation of the movie.
Definition: ControlTag.h:43
void log_parse(StringType msg, Args... args)
Definition: log.h:313
virtual void executeState(MovieClip *m, DisplayList &) const
Execute "state" or "DisplayList" tags.
Definition: ScriptLimitsTag.h:42
#define _(String)
Definition: log.h:44
void setScriptLimits(std::uint16_t recursion, std::uint16_t timeout)
Definition: movie_root.cpp:2285
Class to group together per-run and external resources for Gnash.
Definition: RunResources.h:53
static void loader(SWFStream &in, TagType tag, movie_definition &m, const RunResources &)
Definition: ScriptLimitsTag.h:51
Definition: GnashKey.h:159
Definition: GnashKey.h:165
void log_debug(StringType msg, Args... args)
Definition: log.h:301
virtual void addControlTag(boost::intrusive_ptr< SWF::ControlTag >)
Add an ControlTag to this movie_definition's playlist.
Definition: movie_definition.h:273
A list of on-stage DisplayObjects, ordered by depth.
Definition: DisplayList.h:64
Definition: GnashKey.h:331
as_object * getObject(const DisplayObject *d)
Return the as_object associated with a DisplayObject if it exists.
Definition: DisplayObject.h:1160
SWF stream wrapper class.
Definition: SWFStream.h:58
movie_root & getRoot(const as_environment &env)
Definition: as_environment.cpp:645
#define LOG_ONCE(x)
Definition: log.h:49
void ensureBytes(unsigned long needed)
Ensure the requested number of bytes are available for an aligned read in the currently opened tag...
Definition: SWFStream.cpp:50