Anonymous namespace for callbacks, local functions, event handlers etc. More...
Namespaces | |
| namespace | abc |
ABC-only resources for parsing and execution. | |
| namespace | amf |
Functions and classes for handling AMF. | |
| namespace | fontlib |
Library management. | |
| namespace | geometry |
| namespace | image |
Image handling functions and classes. | |
| namespace | Kde4GuiPrefs |
| namespace | key |
| namespace | media |
Gnash media handling subsystem (libmedia). | |
| namespace | noseek_fd_adapter |
| namespace | NSV |
Named String Values. | |
| namespace | renderer |
| namespace | rtmp |
| namespace | sound |
Gnash sound handling subsystem (libsound). | |
| namespace | SWF |
SWF format parsing classes. | |
| namespace | URLAccessManager |
Manage a list of URL access configuration. | |
| namespace | zlib_adapter |
Code to wrap zlib compression/decompression around an IOChannel stream. | |
Classes | |
| class | Cache |
| class | CQue |
| class | CQueue |
| class | DiskStream |
| class | HTTP |
| class | Lirc |
| class | NetStats |
| struct | pollfd |
| class | Network |
| struct | amfpacket_t |
| class | RTMP |
| class | RTMPClient |
| class | RTMPMsg |
| class | SSHClient |
| class | SSHServer |
| class | SSLClient |
| class | SSLServer |
| class | Statistics |
| class | GtkExt |
| class | Launcher |
| class | AOS4AggGlue |
| class | AOS4CairoGlue |
| class | AOS4Glue |
| class | AOS4Gui |
| class | AquaGlue |
| class | AquaOglGlue |
| class | AquaGui |
| class | DumpGui |
| class | FBGui |
| class | FltkAggGlue |
| class | FltkCairoGlue |
| class | FltkGui |
| class | GtkGlue |
| class | GtkAggGlue |
| class | GtkAggVaapiGlue |
| class | GtkAggXvGlue |
| class | GtkCairoGlue |
| class | GtkGlExtGlue |
| class | GtkGui |
| class | ScreenShotter |
| Handles screen dumps. More... | |
| class | Gui |
| Parent class from which all GUI implementations will depend. More... | |
| class | HaikuAggGlue |
| class | HaikuGui |
| class | InputDevice |
| class | MouseDevice |
| class | TouchDevice |
| class | EventDevice |
| class | DrawingWidget |
| class | Kde4Glue |
| class | Kde4AggGlue |
| class | Kde4CairoGlue |
| class | Kde4OglGlue |
| class | EmbedWidget |
| class | FDMonitor |
| class | Kde4Gui |
| class | KdeGlue |
| class | KdeAggGlue |
| class | KdeOpenGLGlue |
| class | qwidget |
| class | KdeGui |
| class | NullGui |
| Null GUI, used when rendering is disabled. More... | |
| class | Player |
| class | RiscosGlue |
| class | RiscosAggGlue |
| class | RiscosGui |
| class | SdlAggGlue |
| class | SdlCairoGlue |
| class | SdlGlue |
| class | SdlOglGlue |
| class | SDLGui |
| class | BitsReader |
| BitsReader is used to encapsulate bit-packed buffer reads. More... | |
| class | CachedBitmap |
| A CachedBitmap is created by the renderer in a format of its choosing. More... | |
| class | Extension |
| class | GcRoot |
| Abstract class to allow the GC to store "roots" into a container. More... | |
| class | GcResource |
| Collectable resource. More... | |
| class | GC |
| Garbage collector singleton. More... | |
| struct | SecondElement |
| Retrieve the second element of a container with std::pairs. More... | |
| struct | FirstElement |
| Retrieve the first element of a container with std::pairs. More... | |
| struct | CreatePointer |
| Return a pointer to a type. More... | |
| struct | RemovePointer |
| Recurse to the base type of a pointer. More... | |
| struct | RemovePointer< T * > |
| struct | RemovePointer< boost::intrusive_ptr< T > > |
| struct | RemovePointer< boost::shared_ptr< T > > |
| struct | CheckedDeleter |
| Delete a pointer safely. More... | |
| struct | CheckedDeleter< T ** > |
| struct | CheckedDeleter< T * > |
| class | GnashException |
| Top-level gnash exception. More... | |
| class | MediaException |
| An exception from MediaHandler subsystem. More... | |
| class | SoundException |
| An exception from SoundHandler subsystem. More... | |
| class | ParserException |
| An SWF parsing exception. More... | |
| class | ActionException |
| An ActionScript error exception. More... | |
| class | ActionLimitException |
| An ActionScript limit exception. More... | |
| class | ActionTypeError |
| An ActionScript type error. More... | |
| class | ActionParserException |
| class | ActionScriptException |
| class | GnashFactory |
| A generic factory class for registering and retrieving objects by key. More... | |
| class | GnashTextureFormat |
| OpenGL texture format. More... | |
| class | GnashTexture |
| OpenGL texture abstraction. More... | |
| class | GnashVaapiImage |
| GnashImage implementation using a VA surface. More... | |
| class | GnashVaapiImageProxy |
| class | GnashVaapiTexture |
| OpenGL texture abstraction. More... | |
| class | IOException |
| Exception signalling an IO error. More... | |
| class | IOChannel |
| A virtual IO channel. More... | |
| class | LogFile |
| class | __Host_Function_Report__ |
| class | NamingPolicy |
| class | OverwriteExisting |
| class | IncrementalRename |
| class | NetworkAdapter |
| Code to use libcurl as an IOChannel stream. More... | |
| class | RcInitFile |
| class | ref_counted |
| For stuff that's tricky to keep track of w/r/t ownership & cleanup. The only use for this class seems to be for putting derived classes in smart_ptr. More... | |
| class | SharedLib |
| TODO: document this class. More... | |
| class | SharedMem |
| class | SimpleBuffer |
| A simple buffer of bytes. More... | |
| class | Socket |
| A simple IOChannel subclass for reading and writing sockets. More... | |
| class | string_table |
| A general use string table. More... | |
| class | StringNoCaseLessThan |
| A case-insensitive string comparator. More... | |
| class | StringNoCaseEqual |
| A case-insensitive string equality operator. More... | |
| class | tu_file |
| class | URL |
| Uniform Resource Locator. More... | |
| class | WallClockTimer |
| General-purpose wall-clock timer. More... | |
| class | asException |
| class | CodeStreamException |
| class | CodeStream |
| class | as_environment |
| ActionScript execution environment. More... | |
| class | as_function |
| ActionScript Function, either builtin or SWF-defined. More... | |
| class | AbstractPropertyVisitor |
| An abstract property visitor. More... | |
| class | Trigger |
| A trigger that can be associated with a property name. More... | |
| class | as_object |
| The base class for all ActionScript objects. More... | |
| class | IsVisible |
| Function objects for visiting properties. More... | |
| class | Exists |
| class | IsEnumerable |
| class | as_value |
| ActionScript value type. More... | |
| class | IsStrictArray |
| A visitor to check whether an array is strict or not. More... | |
| class | AsBroadcaster |
| AsBroadcaster facilities. More... | |
| class | Date_as |
| class | BitmapData_as |
| Implements the BitmapData native type. More... | |
| class | ColorTransform_as |
| class | Global_as |
| The Global object ultimately contains all objects in an ActionScript run. More... | |
| class | AVM1Global |
| class | Mouse_as |
| class | NetConnection_as |
| NetConnection ActionScript class. More... | |
| class | BufferedAudioStreamer |
| Buffered AudioStreamer. More... | |
| class | NetStream_as |
| NetStream_as ActionScript class. More... | |
| class | PlayHead |
| The playback controller. More... | |
| class | SharedObjectLibrary |
| class | String_as |
| class | Optional |
| A type to hold a simple value but with an additional 'unset' state. More... | |
| class | TextFormat_as |
| The TextFormat_as Relay type stores text properties. More... | |
| class | XML_as |
| Implements XML (AS2) and flash.xml.XMLDocument (AS3) class. More... | |
| class | XMLNode_as |
| A node in an XML tree. More... | |
| class | BevelFilter |
| class | Bitmap |
| class | BitmapFilter |
| class | BitmapMovie |
| A top-level movie displaying a still bitmap. More... | |
| class | BlurFilter |
| class | builtin_function |
| This is a special type of function implementing AS-code in C++. More... | |
| class | Button |
| class | CharacterProxy |
| A proxy for DisplayObject pointers. More... | |
| class | ClassHierarchy |
| Register all of the ActionScript classes, with their dependencies. More... | |
| class | ColorMatrixFilter |
| class | ConvolutionFilter |
| class | DisplayList |
| A list of on-stage DisplayObjects, ordered by depth. More... | |
| class | DisplayObject |
| DisplayObject is the base class for all DisplayList objects. More... | |
| class | DisplayObjectContainer |
| class | drag_state |
| What is being dragged and how. More... | |
| class | DropShadowFilter |
| class | DynamicShape |
| The DynamicShape class represents a mutable shape. More... | |
| class | event_id |
| A class to identify 'static' SWF events (system events). More... | |
| struct | ExternalInterface |
| class | GradientRecord |
| class | BitmapFill |
| A BitmapFill. More... | |
| class | GradientFill |
| A GradientFill. More... | |
| struct | SolidFill |
| A SolidFill containing one color. More... | |
| class | FillStyle |
| FillStyle describes the various fill styles for shapes. More... | |
| class | kerning_pair |
| class | Font |
| A Font resource. More... | |
| class | FreetypeGlyphsProvider |
| Truetype font rasterizer/converter based on freetype library. More... | |
| class | TargetGuard |
| class | Function |
| A simple SWF-defined Function. More... | |
| class | Function2 |
| Function2 adds extra sauce to ordinary Functions. More... | |
| class | Edge |
| Defines an edge with a control point and an anchor point. More... | |
| class | Path |
| A subset of a shape, a series of edges sharing a single set of styles. More... | |
| class | GlowFilter |
| class | GradientBevelFilter |
| class | GradientGlowFilter |
| class | InteractiveObject |
| The base class for interactive objects. More... | |
| class | LineStyle |
| For the outside of outline shapes, or just bare lines. More... | |
| class | NetworkException |
| class | LoadVariablesThread |
| A manager for loadVariable requests. More... | |
| class | ManualClock |
| A manually advanced clock. More... | |
| class | MorphShape |
| A DisplayObject that tweens between two shapes. More... | |
| struct | MouseButtonState |
| Helper to generate mouse events, given mouse state & history. More... | |
| class | Movie |
| A top-level, standalone Movie that can be loaded and played. More... | |
| struct | DepthComparator |
| class | movie_root |
| This class represents the 'Stage' and top-level movie. More... | |
| class | MovieClip |
| A MovieClip is a container for DisplayObjects. More... | |
| class | MovieFactory |
| class | MovieLibrary |
| Library of SWF movies indexed by URL strings. More... | |
| class | MovieLoader |
| Movie loader. More... | |
| class | NativeFunction |
| This class implements functions native to the player. More... | |
| struct | ObjectURI |
| A URI for describing as_objects. More... | |
| class | action_buffer |
| A code segment. More... | |
| class | BitmapMovieDefinition |
| A "movie" definition for a bitmap file. More... | |
| class | filter_factory |
| class | movie_definition |
| Client program's interface to the definition of a movie or sprite. More... | |
| class | sound_sample |
| An identifier for a sound sample managed by a sound_handler. More... | |
| class | sprite_definition |
| Holds the immutable data for a sprite, as read from as SWF stream. @ should *not* derive from movie_definition, probably! More... | |
| class | SWFMovieLoader |
| Helper class handling start and execution of a loading thread. More... | |
| class | CharacterDictionary |
| The Characters dictionary associated with each SWF file. More... | |
| class | SWFMovieDefinition |
| Immutable definition of a SWF movie's contents. More... | |
| class | SWFParser |
| The SWFParser parses tags from a SWFStream. More... | |
| class | GetterSetter |
| Holder for getter/setter functions. More... | |
| class | Property |
| An abstract property. More... | |
| class | PropertyList |
| Set of properties associated with an ActionScript object. More... | |
| class | PropFlags |
| Flags defining the level of protection of a member. More... | |
| class | Relay |
| This is the base class for type-specific object data. More... | |
| class | ActiveRelay |
| A native type that requires periodic updates from the core (movie_root). More... | |
| class | rgba |
| A basic RGBA type. More... | |
| class | RunResources |
| Class to group together per-run and external resources for Gnash. More... | |
| class | Shape |
| For DisplayObjects that don't store unusual state in their instances. More... | |
| class | StaticText |
| Static text fields, SWF-defined with read-only text. More... | |
| class | StreamProvider |
| Provide IOChannel streams for network or filesystem resources. More... | |
| class | VideoData |
| class | swf_event |
| For embedding event handlers in place_object_2. More... | |
| class | SWFCxForm |
| Color transformation record. More... | |
| class | SWFMatrix |
| class | SWFMovie |
| Stateful Movie object (a special kind of sprite). More... | |
| class | SWFRect |
| Rectangle class, see swf defined rectangle record. More... | |
| class | SWFStream |
| SWF stream wrapper class. More... | |
| class | SystemClock |
| A system-clock based virtual clock. More... | |
| class | TextField |
| An instance of a DefineEditTextTag. More... | |
| class | Timer |
| An interval timer. More... | |
| class | Transform |
| The Transform class expresses a stage in a cumulative transformation. More... | |
| class | UserFunction |
| A UserFunction is a callable function defined in ActionScript. More... | |
| class | Video |
| VideoStream ActionScript object. More... | |
| class | VirtualClock |
| A class used to virtualize time flow. More... | |
| class | InterruptableVirtualClock |
| A VirtualClock wrapper adding pause/resume capabilities. More... | |
| class | TryBlock |
| class | With |
| class | ActionExec |
| Executor of an action_buffer. More... | |
| class | CallFrame |
| A CallFrame is an element of a CallStack. More... | |
| class | ExecutableCode |
| Any executable code. More... | |
| class | GlobalCode |
| Global code (out of any function). More... | |
| class | EventCode |
| Event code. More... | |
| class | QueuedEvent |
| Generic event (constructed by id, invoked using notifyEvent. More... | |
| class | DelayedFunctionCall |
| This class is used to queue a function call action. More... | |
| class | FunctionArgs |
| A class to contain transferable arguments for a fn_call. More... | |
| class | fn_call |
| Parameters/environment for builtin or user-defined functions callable from ActionScript. More... | |
| struct | ThisIsNative |
| Check that the 'this' pointer has a particular native type ('Relay'). More... | |
| struct | IsDisplayObject |
| Check that the 'this' pointer is a DisplayObject. More... | |
| struct | ValidThis |
| Check that the 'this' pointer is not null. More... | |
| class | StackException |
| class | SafeStack |
| class | VmGcRoot |
| A GC root used to mark all reachable collectable pointers. More... | |
| class | VM |
| The AVM1 virtual machine. More... | |
| class | FrameGuard |
| struct | UnivocalPath |
| class | PathParser |
| class | Renderer |
| Base class for render handlers. More... | |
| class | Renderer_agg_base |
| class | agg_bitmap_info |
| class | AggStyle |
| class | StyleHandler |
| class | agg_mask_style_handler |
| struct | AddStyles |
| Style handler. More... | |
| class | Renderer_cairo |
| struct | oglVertex |
| class | Tesselator |
| class | WholeShape |
| class | VaapiContextData |
| VA context user-data. More... | |
| class | VaapiContext |
| VA context abstraction. More... | |
| class | VaapiDisplay |
| VA display abstraction. More... | |
| struct | VaapiDisplayGLX |
| VA/GLX display representation. More... | |
| class | X11Display |
| X11 display. More... | |
| struct | VaapiDisplayX11 |
| VA/X11 display representation. More... | |
| struct | VaapiException |
| VA exception abstraction. More... | |
| class | VaapiGlobalContext |
| VA API global context. More... | |
| class | VaapiImage |
| VA image abstraction. More... | |
| class | VaapiSubpicture |
| VA subpicture abstraction. More... | |
| struct | VaapiRectangle |
| VA rectangle abstraction. More... | |
| class | VaapiSurfaceImplBase |
| VA surface base representation. More... | |
| class | VaapiSurface |
| VA surface abstraction. More... | |
| class | VaapiSurfaceGLX |
| VA/GLX surface abstraction. More... | |
| class | VaapiSurfaceProxy |
| VA surface proxy used to release surface to context. More... | |
| class | GnashNPVariant |
| This class holds ownership of (a copy of) an NPVariant. More... | |
| class | nsPluginInstance |
| class | GnashPluginScriptObject |
| class | DummyCharacter |
| A dummy character instance, for use by unit tests. More... | |
| class | DummyMovieDefinition |
| A dummy movie definition, for use by unit tests. More... | |
| class | FuzzyPixel |
| An utility class used to compare rgba values with a given tolerance. More... | |
| class | TestingRenderer |
| A table of built renderers. More... | |
| class | MovieTester |
| An utility class for testing movie playback. More... | |
Typedefs | |
| typedef bool(* | callback_t )(void *, int, void *data) |
| typedef geometry::Point2d | point |
| typedef geometry::SnappingRanges2d < boost::int32_t > | InvalidatedRanges |
| Standard snapping 2d ranges type for invalidated bounds calculation. | |
| typedef boost::shared_ptr < BitmapFilter > | Filter |
| typedef std::pair< FillStyle, boost::optional< FillStyle > > | OptionalFillPair |
| Either a single or a morph-pair FillStyle. | |
| typedef std::vector< Filter > | Filters |
| typedef as_value(* | as_c_function_ptr )(const fn_call &fn) |
| typedef std::vector< CallFrame > | CallStack |
| typedef std::vector< Path > | PathVec |
| typedef std::vector< const Path * > | PathPtrVec |
| typedef std::vector< const Path * > | PathRefs |
| typedef std::map< const Path *, std::vector< oglVertex > > | PathPointMap |
Enumerations | |
| enum | amfresponse_e { onStatus, onResult, onDebugEvents } |
| enum | gnash_cursor_type { CURSOR_HAND, CURSOR_NORMAL, CURSOR_INPUT } |
Enumerates mouse cursor types. More... | |
| enum | FileType { GNASH_FILETYPE_JPEG, GNASH_FILETYPE_PNG, GNASH_FILETYPE_GIF, GNASH_FILETYPE_SWF, GNASH_FILETYPE_FLV, GNASH_FILETYPE_UNKNOWN } |
| enum | { GNASH_TEXTURE_VAAPI = 1 << 0 } |
Texture flags. More... | |
| enum | primitive_types { PTYPE_STRING, PTYPE_NUMBER, PTYPE_BOOLEAN } |
These are the primitive types, see the ECMAScript reference. More... | |
| enum | Quality { QUALITY_LOW, QUALITY_MEDIUM, QUALITY_HIGH, QUALITY_BEST } |
The display quality. More... | |
| enum | CapStyle { CAP_ROUND = 0, CAP_NONE = 1, CAP_SQUARE = 2 } |
| enum | JoinStyle { JOIN_ROUND = 0, JOIN_BEVEL = 1, JOIN_MITER = 2 } |
| enum | filter_types { DROP_SHADOW = 0, BLUR = 1, GLOW = 2, BEVEL = 3, GRADIENT_GLOW = 4, CONVOLUTION = 5, COLOR_MATRIX = 6, GRADIENT_BEVEL = 7 } |
| enum | VaapiCodec { VAAPI_CODEC_UNKNOWN, VAAPI_CODEC_MPEG2, VAAPI_CODEC_MPEG4, VAAPI_CODEC_H264, VAAPI_CODEC_VC1 } |
VA codec. More... | |
Functions | |
| std::ostream & | operator<< (std::ostream &os, const Cache &cache) |
| Dump to the specified output stream. | |
| std::ostream & | operator<< (std::ostream &os, const DiskStream &ds) |
| Dump to the specified output stream. | |
| bool DSOEXPORT | http_handler (Network::thread_params_t *args) |
| int | password_cb (char *buf, int size, int, void *) |
| int | verify_callback (int ok, X509_STORE_CTX *store) |
| as_value | dbus_ext_setsockname (const fn_call &fn) |
| void | dbus_class_init (as_object &obj) |
| as_value | dejagnu_pass (const fn_call &fn) |
| as_value | dejagnu_fail (const fn_call &fn) |
| as_value | dejagnu_totals (const fn_call &fn) |
| void | dejagnu_class_init (as_object &obj) |
| std::auto_ptr< as_object > | init_dejagnu_instance () |
| Return an instance. | |
| as_value | fileio_fopen (const fn_call &fn) |
| as_value | fileio_fread (const fn_call &fn) |
| as_value | fileio_fgetc (const fn_call &fn) |
| as_value | fileio_fgets (const fn_call &fn) |
| as_value | fileio_gets (const fn_call &fn) |
| as_value | fileio_fwrite (const fn_call &fn) |
| as_value | fileio_fputc (const fn_call &fn) |
| as_value | fileio_fputs (const fn_call &fn) |
| as_value | fileio_puts (const fn_call &fn) |
| as_value | fileio_fclose (const fn_call &fn) |
| as_value | fileio_getchar (const fn_call &fn) |
| as_value | fileio_putchar (const fn_call &fn) |
| as_value | fileio_fflush (const fn_call &fn) |
| as_value | fileio_ftell (const fn_call &fn) |
| as_value | fileio_feof (const fn_call &fn) |
| as_value | fileio_fseek (const fn_call &fn) |
| as_value | fileio_unlink (const fn_call &fn) |
| as_value | fileio_asyncmode (const fn_call &fn) |
| as_value | fileio_scandir (const fn_call &fn) |
| void | fileio_class_init (as_object &where, const ObjectURI &) |
| as_value | gtkext_window_new (const fn_call &fn) |
| as_value | gtkext_signal_connect (const fn_call &fn) |
| as_value | gtkext_container_set_border_width (const fn_call &fn) |
| as_value | gtkext_button_new_with_label (const fn_call &fn) |
| as_value | gtkext_signal_connect_swapped (const fn_call &fn) |
| as_value | gtkext_container_add (const fn_call &fn) |
| as_value | gtkext_widget_show (const fn_call &fn) |
| as_value | gtkext_main (const fn_call &fn) |
| void | dump_callbacks (map< string, as_value > &calls) |
| std::auto_ptr< as_object > | init_gtkext_instance () |
| Return an instance. | |
| void | gtkext_class_init (as_object &obj) |
| as_value | launcher_create_md5sum (const fn_call &fn) |
| as_value | launcher_verify_md5sum (const fn_call &fn) |
| std::auto_ptr< as_object > | init_launcher_instance () |
| Return an instance. | |
| void | launcher_class_init (as_object &obj) |
| as_value | lirc_ext_init (const fn_call &fn) |
| as_value | lirc_ext_getkey (const fn_call &fn) |
| as_value | lirc_ext_getbutton (const fn_call &fn) |
| void | lirc_class_init (as_object &obj) |
| as_value | mysql_connect (const fn_call &fn) |
| as_value | mysql_qetData (const fn_call &fn) |
| as_value | mysql_disconnect (const fn_call &fn) |
| as_value | mysql_query (const fn_call &fn) |
| as_value | mysql_row (const fn_call &fn) |
| as_value | mysql_fields (const fn_call &fn) |
| as_value | mysql_fetch (const fn_call &fn) |
| as_value | mysql_store (const fn_call &fn) |
| as_value | mysql_free (const fn_call &fn) |
| void | mysql_class_init (as_object &obj) |
| std::auto_ptr< Gui > | createAOS4Gui (unsigned long, float, bool, RunResourcesfloat, bool, unsigned int) |
| pascal OSStatus | DoWindowClose (EventHandlerCallRef nextHandler, EventRef theEvent, void *userData) |
| void | DoAdvanceMovie (EventLoopTimerRef inTimer, void *data) |
| void | terminate_signal (int) |
| Called on CTRL-C and alike. | |
| std::auto_ptr< Gui > | createFBGui (unsigned long, float, bool, RunResourcesfloat, bool, unsigned int) |
| std::auto_ptr< Gui > | createFLTKGui (unsigned long, float, bool, RunResourcesfloat, bool, unsigned int) |
| void | get_max_xv_image (Display *display, XvPortID xv_port, unsigned int *width, unsigned int *height) |
| bool | cairoFormatFromVisual (const GdkVisual *visual, cairo_format_t *format) |
| std::auto_ptr< Gui > | createGTKGui (unsigned long, float, bool, RunResourcesfloat, bool, unsigned int) |
| std::auto_ptr< Gui > | createGTKGui (unsigned long xid, float scale, bool loop, RunResources &r) |
| Named constructors. | |
| std::auto_ptr< Gui > | createKDEGui (unsigned long xid, float scale, bool loop, RunResources &r) |
| std::auto_ptr< Gui > | createKDE4Gui (unsigned long xid, float scale, bool loop, RunResources &r) |
| std::auto_ptr< Gui > | createSDLGui (unsigned long xid, float scale, bool loop, RunResources &r) |
| std::auto_ptr< Gui > | createFLTKGui (unsigned long xid, float scale, bool loop, RunResources &r) |
| std::auto_ptr< Gui > | createFBGui (unsigned long xid, float scale, bool loop, RunResources &r) |
| std::auto_ptr< Gui > | createAQUAGui (unsigned long xid, float scale, bool loop, RunResources &r) |
| std::auto_ptr< Gui > | createRISCOSGui (unsigned long xid, float scale, bool loop, RunResources &r) |
| std::auto_ptr< Gui > | createAOS4Gui (unsigned long xid, float scale, bool loop, RunResources &r) |
| std::auto_ptr< Gui > | createHaikuGui (unsigned long xid, float scale, bool loop, RunResources &r) |
| std::auto_ptr< Gui > | createDumpGui (unsigned long xid, float scale, bool loop, RunResources &r) |
| std::auto_ptr< Gui > | createAQUAGui (unsigned long, float, bool, RunResourcesfloat, bool, unsigned int) |
| std::auto_ptr< Gui > | createDumpGui (unsigned long, float, bool, RunResourcesfloat, bool, unsigned int) |
| std::auto_ptr< Gui > | createRISCOSGui (unsigned long, float, bool, RunResourcesfloat, bool, unsigned int) |
| std::auto_ptr< Gui > | createHaikuGui (unsigned long, float, bool, RunResourcesfloat, bool, unsigned int) |
| std::auto_ptr< Gui > | createKDEGui (unsigned long, float, bool, RunResourcesfloat, bool, unsigned int) |
| std::auto_ptr< Gui > | createKDE4Gui (unsigned long, float, bool, RunResourcesfloat, bool, unsigned int) |
| std::auto_ptr< Gui > | createSDLGui (unsigned long, float, bool, RunResourcesfloat, bool, unsigned int) |
| template<typename Container , typename Predicate > | |
| void | EraseIf (Container &c, Predicate p) |
| Erase elements from an associative container based on a predicate. | |
| template<typename T , size_t N> | |
| size_t | arraySize (T(&)[N]) |
| Get the size of an array without passing a pointer by mistake. | |
| template<typename T , typename U > | |
| void | foreachSecond (T begin, T end, U op) |
| Call a functor on the second element of each element in a range. | |
| template<typename T , typename U > | |
| void | foreachFirst (T begin, T end, U op) |
| Call a functor on the first element of each element in a range. | |
| template<typename T > | |
| void | deleteChecked (T begin, T end) |
| Safely call delete on each element in a range. | |
| template<typename T > | |
| void | deleteSecondElements (T begin, T end) |
| Safely call delete on each second element in a range of pairs. | |
| bool | mkdirRecursive (const std::string &filename) |
| Create a directory for a given filename. | |
| int | mkdirUserPermissions (const std::string &dirname) |
| Create a directory, granting owner rwx permissions. | |
| bool | isFinite (double d) |
| double | infinite_to_zero (double x) |
| template<typename T > | |
| T | clamp (T i, T min, T max) |
| template<typename T > | |
| T | lerp (T a, T b, T f) |
| int | frnd (float f) |
| double | twipsToPixels (int i) |
| template<size_t Factor> | |
| boost::int32_t | truncateWithFactor (double a) |
| boost::int32_t | pixelsToTwips (double a) |
| void | gnashSleep (size_t useconds) |
| Sleep compatibly for the specified number of microseconds. | |
| std::string | hexify (const unsigned char *bytes, size_t length, bool ascii) |
| Convert a sequence of bytes to hex or ascii format. | |
| std::ostream & | timestamp (std::ostream &o) |
| void | processLog_trace (const boost::format &fmt) |
| void | processLog_debug (const boost::format &fmt) |
| void | processLog_abc (const boost::format &fmt) |
| void | processLog_parse (const boost::format &fmt) |
| void | processLog_network (const boost::format &fmt) |
| void | processLog_error (const boost::format &fmt) |
| void | processLog_unimpl (const boost::format &fmt) |
| void | processLog_security (const boost::format &fmt) |
| void | processLog_swferror (const boost::format &fmt) |
| void | processLog_amferror (const boost::format &fmt) |
| void | processLog_aserror (const boost::format &fmt) |
| void | processLog_action (const boost::format &fmt) |
| bool | attached (const SharedMem &mem) |
| Check if the SharedMem has been attached. | |
| void | intrusive_ptr_add_ref (const ref_counted *o) |
| void | intrusive_ptr_release (const ref_counted *o) |
| void | intrusive_ptr_add_ref (const GcResource *) |
| void | intrusive_ptr_release (const GcResource *) |
| bool | equal (string_table &st, string_table::key a, string_table::key b, bool caseless) |
| Check whether two keys are equivalent. | |
| std::ostream & | operator<< (std::ostream &o, const URL &u) |
| template<class T > | |
| std::string | typeName (const T &inst) |
| unsigned long int | get_thread_id (void) |
| Used in logging. | |
| bool | parsePath (const std::string &var_path_in, std::string &path, std::string &var) |
| string_table & | getStringTable (const as_environment &env) |
| movie_root & | getRoot (const as_environment &env) |
| Global_as & | getGlobal (const as_environment &env) |
| int | getSWFVersion (const as_environment &env) |
| VM & | getVM (const as_environment &env) |
| as_object * | constructInstance (as_function &ctor, const as_environment &env, fn_call::Args &args) |
| void | registerFunctionNative (as_object &global) |
| void | function_class_init (as_object &global, const ObjectURI &uri) |
| Initialize the global Function constructor. | |
| as_object * | constructInstance (as_function &ctor, const as_environment &env, FunctionArgs< as_value > &args) |
| Construct a new object from the given constructor. | |
| void | enumerateProperties (as_object &o, as_object::SortedPropertyList &to) |
| Enumerate all non-hidden properties to the passed container. | |
| void | getURLEncodedVars (as_object &o, std::string &data) |
| Get url-encoded variables. | |
| as_object * | getObjectWithPrototype (Global_as &gl, string_table::key c) |
| VM & | getVM (const as_object &o) |
| Get the VM from an as_object. | |
| movie_root & | getRoot (const as_object &o) |
| Get the movie_root from an as_object. | |
| string_table & | getStringTable (const as_object &o) |
| Get the string_table from an as_object. | |
| const RunResources & | getRunResources (const as_object &o) |
| Get the RunResources from an as_object. | |
| int | getSWFVersion (const as_object &o) |
| Get the executing VM version from an as_object. | |
| Global_as & | getGlobal (const as_object &o) |
| Get the Global object from an as_object. | |
| template<typename T > | |
| T * | get (as_object *o) |
| Extract the DisplayObject attached to an object. | |
| template<typename T > | |
| bool | isNativeType (as_object *obj, T *&relay) |
| Check whether the object is an instance of a known type. | |
| bool | caseless (const as_object &o) |
| Return whether property matching is caseless. | |
| boost::int32_t | toInt (const as_value &val) |
| AS2-compatible conversion to 32bit integer. | |
| bool | parseNonDecimalInt (const std::string &s, double &d, bool whole) |
| std::string | doubleToString (double val, int radix=10) |
| Convert numeric value to string value, following ECMA-262 specification. | |
| as_value & | convertToNumber (as_value &v, VM &) |
| Force type to number. | |
| as_value & | convertToString (as_value &v, VM &vm) |
| Force type to string. | |
| as_value & | convertToBoolean (as_value &v, VM &) |
| Force type to bool. | |
| as_value & | convertToPrimitive (as_value &v, VM &vm) |
| Convert to primitive type. | |
| template<typename T > | |
| bool | isNaN (const T &num, typename boost::enable_if< boost::is_floating_point< T > >::type *dummy=0) |
| template<typename T > | |
| bool | isInf (const T &num) |
| std::ostream & | operator<< (std::ostream &os, const as_value &v) |
| void | setNaN (as_value &v) |
| Set a value to NaN. | |
| void | accessibility_class_init (as_object &where, const ObjectURI &uri) |
| Initialize the global Accessibility class. | |
| void | registerAccessibilityNative (as_object &global) |
| void | checkArrayLength (as_object &array, const ObjectURI &uri, const as_value &val) |
| Genuine arrays handle the length property in a special way. | |
| size_t | arrayLength (as_object &array) |
| Get the length of an object as though it were an array. | |
| void | registerArrayNative (as_object &global) |
| void | array_class_init (as_object &global, const ObjectURI &uri) |
| Initialize the global.Array object. | |
| string_table::key | arrayKey (string_table &st, size_t i) |
| Convert an integral value into an array key. | |
| template<typename T > | |
| void | foreachArray (as_object &array, T &pred) |
| void | attachAsBroadcasterStaticInterface (as_object &o) |
| SWFMatrix | toSWFMatrix (as_object &o) |
| Convert an object to a SWFMatrix. | |
| SWFCxForm | toCxForm (const ColorTransform_as &tr) |
| Convert a ColorTransform_as to a SWFCxForm record. | |
| void | boolean_class_init (as_object &global, const ObjectURI &uri) |
| Initialize the global Boolean class. | |
| void | registerBooleanNative (as_object &global) |
| void | camera_class_init (as_object &where, const ObjectURI &uri) |
| Initialize the global Camera class. | |
| void | registerCameraNative (as_object &global) |
| void | registerColorNative (as_object &o) |
| void | color_class_init (as_object &global, const ObjectURI &uri) |
| Initialize the global Color class. | |
| void | contextmenu_class_init (as_object &where, const ObjectURI &uri) |
| Initialize the global ContextMenu class. | |
| void | contextmenuitem_class_init (as_object &where, const ObjectURI &uri) |
| Initialize the global ContextMenuItem class. | |
| void | customactions_class_init (as_object &global, const ObjectURI &uri) |
| Initialize the global CustomActions class. | |
| void | date_class_init (as_object &global, const ObjectURI &uri) |
| void | registerDateNative (as_object &global) |
| void | Error_class_init (as_object &global, const ObjectURI &uri) |
| Initialize the global Error class. | |
| void | bitmapdata_class_init (as_object &where, const ObjectURI &uri) |
| Initialize the global BitmapData class. | |
| void | registerBitmapDataNative (as_object &global) |
| void | flash_display_package_init (as_object &where, const ObjectURI &uri) |
| void | flash_external_package_init (as_object &where, const ObjectURI &uri) |
| void | registerExternalInterfaceNative (as_object &global) |
| void | externalinterface_class_init (gnash::as_object &where, const gnash::ObjectURI &uri) |
| Initialize the global ExternalInterface class. | |
| void | bevelfilter_class_init (as_object &where, const ObjectURI &uri) |
| The prototype of flash.filters.BevelFilter is a new BitmapFilter. | |
| void | bitmapfilter_class_init (as_object &where, const ObjectURI &uri) |
| Initialize the global BitmapFilter class. | |
| void | registerBitmapFilterNative (as_object &global) |
| void | registerBitmapClass (as_object &where, Global_as::ASFunction ctor, Global_as::Properties p, const ObjectURI &uri) |
| Convenience function only for BitmapFilter subclasses. | |
| void | bitmapfilterquality_class_init (as_object &where, const ObjectURI &uri) |
| Initialize the global BitmapFilterQuality class. | |
| void | bitmapfiltertype_class_init (as_object &where, const ObjectURI &uri) |
| Initialize the global BitmapFilterType class. | |
| void | blurfilter_class_init (as_object &where, const ObjectURI &uri) |
| Initialize the global BlurFilter class. | |
| void | colormatrixfilter_class_init (as_object &where, const ObjectURI &uri) |
| The prototype of flash.filters.ColorMatrixFilter is a new BitmapFilter. | |
| void | convolutionfilter_class_init (as_object &where, const ObjectURI &uri) |
| The prototype of flash.filters.ConvolutionFilter is a new BitmapFilter. | |
| void | displacementmapfilter_class_init (as_object &where, const ObjectURI &uri) |
| Initialize the global DisplacementMapFilter class. | |
| void | displacementmapfiltermode_class_init (as_object &where, const ObjectURI &uri) |
| Initialize the global DisplacementMapFilterMode class. | |
| void | dropshadowfilter_class_init (as_object &where, const ObjectURI &uri) |
| The prototype of flash.filters.DropShadowFilter is a new BitmapFilter. | |
| void | flash_filters_package_init (as_object &where, const ObjectURI &uri) |
| void | glowfilter_class_init (as_object &where, const ObjectURI &uri) |
| The prototype of flash.filters.GlowFilter is a new BitmapFilter. | |
| void | gradientbevelfilter_class_init (as_object &where, const ObjectURI &uri) |
| The prototype of flash.filters.GradientBevelFilter is a new BitmapFilter. | |
| void | gradientglowfilter_class_init (as_object &where, const ObjectURI &uri) |
| The prototype of flash.filters.GradientGlowFilter is a new BitmapFilter. | |
| void | flash_package_init (as_object &where, const ObjectURI &uri) |
| void | colortransform_class_init (as_object &where, const ObjectURI &uri) |
| Initialize the global ColorTransform class. | |
| void | registerColorTransformNative (as_object &global) |
| void | flash_geom_package_init (as_object &where, const ObjectURI &uri) |
| void | matrix_class_init (as_object &where, const ObjectURI &uri) |
| Initialize the global Matrix class. | |
| void | point_class_init (as_object &where, const ObjectURI &uri) |
| Initialize the global Point class. | |
| void | rectangle_class_init (as_object &where, const ObjectURI &uri) |
| Initialize the global Rectangle class. | |
| boost::intrusive_ptr< as_object > | init_Rectangle_instance () |
| Return a Rectangle instance (in case the core lib needs it). | |
| void | transform_class_init (as_object &where, const ObjectURI &uri) |
| Initialize the global Transform class. | |
| as_value | filereference_ctor (const fn_call &fn) |
| void | attachFileReferenceStaticInterface (as_object &) |
| void | filereference_class_init (as_object &where, const ObjectURI &uri) |
| Initialize the global FileReference class. | |
| as_value | filereferencelist_ctor (const fn_call &fn) |
| void | filereferencelist_class_init (as_object &where, const ObjectURI &uri) |
| Initialize the global FileReferenceList class. | |
| void | flash_net_package_init (as_object &where, const ObjectURI &uri) |
| void | flash_text_package_init (as_object &where, const ObjectURI &uri) |
| void | textrenderer_class_init (as_object &where, const ObjectURI &uri) |
| Initialize the global TextRenderer class. | |
| as_object * | registerBuiltinObject (as_object &where, Global_as::Properties p, const ObjectURI &uri) |
| Register a built-in object. | |
| as_object * | registerBuiltinClass (as_object &where, Global_as::ASFunction ctor, Global_as::Properties p, Global_as::Properties c, const ObjectURI &uri) |
| Register a built-in class. | |
| DSOEXPORT as_value | invoke (const as_value &method, const as_environment &env, as_object *this_ptr, fn_call::Args &args, as_object *super=0, const movie_definition *callerDef=0) |
| Call an as_value on an as_object. | |
| as_function * | getClassConstructor (const fn_call &fn, const std::string &s) |
| Convenience function for finding a class constructor. | |
| as_value | key_is_accessible (const fn_call &) |
| as_value | key_get_ascii (const fn_call &fn) |
| Return the ascii number of the last key pressed. | |
| as_value | key_get_code (const fn_call &fn) |
| Returns the keycode of the last key pressed. | |
| as_value | key_is_down (const fn_call &fn) |
| Return true if the specified (first arg keycode) key is pressed. | |
| as_value | key_is_toggled (const fn_call &) |
| Given the keycode of NUM_LOCK or CAPSLOCK, returns true if the associated state is on. | |
| void | registerKeyNative (as_object &global) |
| void | attachKeyInterface (as_object &o) |
| void | key_class_init (as_object &where, const ObjectURI &uri) |
| void | attachLoadableInterface (as_object &where, int flags) |
| Attach some common AS code for Loadable objects. | |
| void | registerLoadableNative (as_object &global) |
| Register methods as native for use by XML_as and LoadVars_as. | |
| void | loadvars_class_init (as_object &global, const ObjectURI &uri) |
| Initialize the global LoadVars class. | |
| void | writeLong (boost::uint8_t *&ptr, boost::uint32_t i) |
| boost::uint32_t | readLong (const boost::uint8_t *buf) |
| template<typename T , size_t N> | |
| std::string | fromByteString (T(&buf)[N]) |
| void | localconnection_class_init (as_object &where, const ObjectURI &uri) |
| void | registerLocalConnectionNative (as_object &global) |
| void | registerMathNative (as_object &proto) |
| void | math_class_init (as_object &where, const ObjectURI &uri) |
| void | microphone_class_init (as_object &where, const ObjectURI &uri) |
| Initialize the global Microphone class. | |
| void | registerMicrophoneNative (as_object &global) |
| void | mouse_class_init (as_object &where, const ObjectURI &uri) |
| void | movieclip_class_init (as_object &where, const ObjectURI &uri) |
| Initialize the global MovieClip class. | |
| void | registerMovieClipNative (as_object &where) |
| Register ASNative MovieClip methods (AS2 only). | |
| void | registerMovieClipLoaderNative (as_object &global) |
| void | moviecliploader_class_init (as_object &where, const ObjectURI &uri) |
| Extern. | |
| void | netconnection_class_init (as_object &where, const ObjectURI &uri) |
| void | netstream_class_init (as_object &where, const ObjectURI &uri) |
| void | registerNetStreamNative (as_object &global) |
| void | adjust_volume (boost::int16_t *data, int size, int volume) |
| void | number_class_init (as_object &global, const ObjectURI &uri) |
| Initialize the global Number class. | |
| void | registerNumberNative (as_object &global) |
| void | registerObjectNative (as_object &global) |
| void | initObjectClass (as_object *proto, as_object &global, const ObjectURI &uri) |
| Initialize the global Object class. | |
| void | selection_class_init (as_object &global, const ObjectURI &uri) |
| Initialize the global Selection class. | |
| void | registerSelectionNative (as_object &global) |
| Register native selection methods. | |
| void | sharedobject_class_init (as_object &where, const ObjectURI &uri) |
| Initialize the global SharedObject class. | |
| void | registerSharedObjectNative (as_object &o) |
| void | sound_class_init (as_object &where, const ObjectURI &uri) |
| void | registerSoundNative (as_object &global) |
| void | stage_class_init (as_object &where, const ObjectURI &uri) |
| Initialize the global Stage class. | |
| void | registerStageNative (as_object &o) |
| This is the Stage ActionScript object. | |
| void | registerStringNative (as_object &global) |
| void | string_class_init (as_object &global, const ObjectURI &uri) |
| Initialize the global String class. | |
| void | system_class_init (as_object &where, const ObjectURI &uri) |
| Initialize the global System class. | |
| void | registerSystemNative (as_object &where) |
| as_object * | createTextFieldObject (Global_as &gl) |
| Native function to create a plain object with TextField properties. | |
| void | textfield_class_init (as_object &where, const ObjectURI &uri) |
| This provides the prototype and static methods for TextField. | |
| void | registerTextFieldNative (as_object &global) |
| void | registerTextFormatNative (as_object &o) |
| void | textformat_class_init (as_object &global, const ObjectURI &uri) |
| void | textsnapshot_class_init (as_object &where, const ObjectURI &uri) |
| void | registerTextSnapshotNative (as_object &global) |
| void | escapeXML (std::string &text) |
| Escape using XML entities. | |
| void | unescapeXML (std::string &text) |
| void | xml_class_init (as_object &where, const ObjectURI &uri) |
| Register the XML class. | |
| void | registerXMLNative (as_object &where) |
| Register XML native functions. | |
| void | registerXMLNodeNative (as_object &where) |
| Register ASnative methods. | |
| void | xmlnode_class_init (as_object &where, const ObjectURI &uri) |
| void | xmlsocket_class_init (as_object &where, const ObjectURI &uri) |
| Initialize the global XMLSocket class. | |
| void | registerXMLSocketNative (as_object &global) |
| void | button_class_init (as_object &global, const ObjectURI &uri) |
| Initialize the global Button class. | |
| void | registerButtonNative (as_object &global) |
| std::ostream & | operator<< (std::ostream &os, const ClassHierarchy::NativeClass &c) |
| std::ostream & | operator<< (std::ostream &os, const ClassHierarchy::ExtensionClass &c) |
| std::ostream & | operator<< (std::ostream &os, const DisplayList &dl) |
| as_value | getHeight (DisplayObject &o) |
| void | setHeight (DisplayObject &o, const as_value &val) |
| void | setIndexedProperty (size_t index, DisplayObject &o, const as_value &val) |
| Set a property by its numeric index. | |
| void | getIndexedProperty (size_t index, DisplayObject &o, as_value &val) |
| Get a property by its numeric index. | |
| bool | getDisplayObjectProperty (DisplayObject &obj, string_table::key key, as_value &val) |
| DisplayObject property lookup. | |
| bool | setDisplayObjectProperty (DisplayObject &obj, string_table::key key, const as_value &val) |
| Set special properties. | |
| std::ostream & | operator<< (std::ostream &o, DisplayObject::BlendMode bm) |
| Stream operator for DisplayObject blend mode. | |
| bool | isReferenceable (const DisplayObject &d) |
| Returns true if the DisplayObject is referenceable in ActionScript. | |
| void | copyMatrix (const DisplayObject &from, DisplayObject &to) |
| Copy SWFMatrix and caches from given DisplayObjecta. | |
| SWFMatrix | getWorldMatrix (const DisplayObject &d, bool includeRoot=true) |
| Get concatenated SWFMatrix (all ancestor transforms and our SWFMatrix). | |
| SWFCxForm | getWorldCxForm (const DisplayObject &d) |
| Get concatenated color transform of a DisplayObject. | |
| const SWFMatrix & | getMatrix (const DisplayObject &o) |
| Get local transform SWFMatrix for this DisplayObject. | |
| const SWFCxForm & | getCxForm (const DisplayObject &o) |
| as_object * | getObject (const DisplayObject *d) |
| Return the as_object associated with a DisplayObject if it exists. | |
| bool | isKeyEvent (const event_id &e) |
| Check whether an event is a keyboard event. | |
| bool | isButtonEvent (const event_id &e) |
| Check whether an event is a button-like event. | |
| std::ostream & | operator<< (std::ostream &o, const event_id &ev) |
| SWFMatrix | gradientMatrix (GradientFill::Type t, const SWFMatrix &m) |
| OptionalFillPair | readFills (SWFStream &in, SWF::TagType t, movie_definition &m, bool readMorph) |
| Read FillStyles from a stream. | |
| void | setLerp (FillStyle &f, const FillStyle &a, const FillStyle &b, double t) |
| Set the FillStyle to a lerp of a and b. | |
| std::ostream & | operator<< (std::ostream &os, const BitmapFill::SmoothingPolicy &p) |
| bool | operator< (const kerning_pair &p1, const kerning_pair &p2) |
| as_object * | getArguments (Function &callee, as_object &args, const fn_call &fn, as_object *caller) |
| Add properties to an 'arguments' object. | |
| DSOEXPORT void | gnashInit () |
| Initialize gnash core library. | |
| DSOEXPORT void | clear () |
| Maximum release of resources. | |
| void | setLerp (LineStyle &s, const LineStyle &ls1, const LineStyle &ls2, double ratio) |
| bool | isLevelTarget (int version, const std::string &name, unsigned int &levelno) |
| Return true if the given string can be interpreted as a _level name. | |
| short | stringToStageAlign (const std::string &str) |
| bool | operator== (const ObjectURI &a, const ObjectURI &b) |
| ObjectURIs are equal if name is equal. | |
| bool | operator< (const ObjectURI &a, const ObjectURI &b) |
| Comparator for ObjectURI so it can serve as a key in stdlib containers. | |
| string_table::key | getName (const ObjectURI &o) |
| Get the name element of an ObjectURI. | |
| double | convert_double_wacky (const void *p) |
| std::ostream & | operator<< (std::ostream &o, const CharacterDictionary &cd) |
| bool | readOnly (const Property &prop) |
| is this a read-only member ? | |
| bool | visible (const Property &prop, int version) |
| Is this member supposed to be visible by a VM of given version ? | |
| std::ostream & | operator<< (std::ostream &os, const PropFlags &fl) |
| rgba | readRGBA (SWFStream &in) |
| Initialize from input stream (reads RGBA). | |
| rgba | readRGB (SWFStream &in) |
| Can throw ParserException on premature end of input stream. | |
| rgba | colorFromHexString (const std::string &color) |
| Create an RGBA value from a hex string (e.g. FF0000). | |
| std::ostream & | operator<< (std::ostream &os, const rgba &r) |
| std::ostream & | operator<< (std::ostream &os, const SWFCxForm &cx) |
| bool | operator== (const SWFCxForm &a, const SWFCxForm &b) |
| bool | operator!= (const SWFCxForm &a, const SWFCxForm &b) |
| bool | invisible (const SWFCxForm &cx) |
| Returns true when the SWFCxForm leads to alpha == 0. | |
| SWFMatrix | readSWFMatrix (SWFStream &in) |
| Read from input stream. | |
| std::ostream & | operator<< (std::ostream &o, const SWFMatrix &m) |
| bool | operator== (const SWFMatrix &a, const SWFMatrix &b) |
| std::ostream & | operator<< (std::ostream &os, const SWFRect &r) |
| Transform | operator* (const Transform &a, const Transform &b) |
| Concatenate two transforms. | |
| void | video_class_init (as_object &global, const ObjectURI &uri) |
| void | registerVideoNative (as_object &global) |
| as_object * | createVideoObject (Global_as &gl) |
| Native function to create a plain object with Video properties. | |
| void | declareLocal (CallFrame &c, string_table::key name) |
| Declare a local variable in this CallFrame. | |
| void | setLocal (CallFrame &c, string_table::key name, const as_value &val) |
| Set a local variable in this CallFrame. | |
| std::ostream & | operator<< (std::ostream &o, const CallFrame &fr) |
| template<typename T > | |
| T::value_type * | ensure (const fn_call &fn) |
| Templated function to check the validity of a function call. | |
| string_table & | getStringTable (const fn_call &fn) |
| movie_root & | getRoot (const fn_call &fn) |
| int | getSWFVersion (const fn_call &fn) |
| VM & | getVM (const fn_call &fn) |
| Global_as & | getGlobal (const fn_call &fn) |
| void | newAdd (as_value &op1, const as_value &op2, VM &vm) |
| Carry out ActionNewAdd. | |
| void | subtract (as_value &op1, const as_value &op2, VM &vm) |
| Carry out ActionSubtract. | |
| as_value | newLessThan (const as_value &op1, const as_value &op2, VM &vm) |
| Carry out ActionSubtract. | |
| bool DSOEXPORT | vaapi_is_enabled () |
| Check whether video acceleration is enabled. | |
| bool | is_little_endian_host () |
| DSOEXPORT Renderer_agg_base * | create_Renderer_agg (const char *pixelformat) |
| Create a render handler. | |
| DSOEXPORT const char * | agg_detect_pixel_format (unsigned int rofs, unsigned int rsize, unsigned int gofs, unsigned int gsize, unsigned int bofs, unsigned int bsize, unsigned int bpp) |
| point | middle (const point &a, const point &b) |
| void | trace_curve (const point &startP, const point &controlP, const point &endP, std::vector< oglVertex > &coords) |
| std::vector< oglVertex > | interpolate (const std::vector< Edge > &edges, const float &anchor_x, const float &anchor_y) |
| bool | isEven (const size_t &n) |
| template<typename C , typename T , typename R , typename A > | |
| void | for_each (C &container, R(T::*pmf)(const A &), const A &arg) |
| Renderer * | create_Renderer_ogl (bool init) |
| void | vaapi_set_is_enabled (bool enabled) |
| Enable video acceleration (with VA API). | |
| void DSOEXPORT | vaapi_dprintf (const char *format,...) |
| Debug output. | |
| bool | vaapi_check_status (VAStatus status, const char *msg) |
| Check VA status for success or print out an error. | |
| const char * | string_of_FOURCC (boost::uint32_t fourcc) |
| Return a string representation of a FOURCC. | |
| const char * | string_of_VAProfile (VAProfile profile) |
| Return a string representation of a VAProfile. | |
| const char * | string_of_VAEntrypoint (VAEntrypoint entrypoint) |
| Return a string representation of a VAEntrypoint. | |
| bool | SetVariableCallback (NPObject *npobj, NPIdentifier, const NPVariant *args, uint32_t argCount, NPVariant *result) |
| bool | GetVariableCallback (NPObject *npobj, NPIdentifier, const NPVariant *args, uint32_t argCount, NPVariant *result) |
| bool | GotoFrame (NPObject *npobj, NPIdentifier, const NPVariant *args, uint32_t argCount, NPVariant *result) |
| bool | IsPlaying (NPObject *npobj, NPIdentifier, const NPVariant *, uint32_t argCount, NPVariant *result) |
| bool | LoadMovie (NPObject *npobj, NPIdentifier, const NPVariant *args, uint32_t argCount, NPVariant *result) |
| bool | Pan (NPObject *npobj, NPIdentifier, const NPVariant *args, uint32_t argCount, NPVariant *result) |
| bool | PercentLoaded (NPObject *npobj, NPIdentifier, const NPVariant *, uint32_t argCount, NPVariant *result) |
| bool | Play (NPObject *npobj, NPIdentifier, const NPVariant *, uint32_t argCount, NPVariant *result) |
| bool | Rewind (NPObject *npobj, NPIdentifier, const NPVariant *, uint32_t argCount, NPVariant *result) |
| bool | SetZoomRect (NPObject *npobj, NPIdentifier, const NPVariant *args, uint32_t argCount, NPVariant *result) |
| bool | StopPlay (NPObject *npobj, NPIdentifier, const NPVariant *, uint32_t argCount, NPVariant *result) |
| bool | Zoom (NPObject *npobj, NPIdentifier, const NPVariant *args, uint32_t argCount, NPVariant *result) |
| bool | TotalFrames (NPObject *npobj, NPIdentifier, const NPVariant *, uint32_t argCount, NPVariant *result) |
| bool | remoteCallback (NPObject *npobj, NPIdentifier name, const NPVariant *args, uint32_t argCount, NPVariant *result) |
| void | CopyVariantValue (const NPVariant &from, NPVariant &to) |
| std::string | NPStringToString (const NPString &str) |
| Construct a std::string from an NPString. | |
| gboolean | cleanup_childpid (gpointer data) |
| std::string | getGnashExecutable () |
| void | create_standalone_launcher (const std::string &page_url, const std::string &swf_url, const std::map< std::string, std::string > ¶ms) |
| template<std::size_t N> | |
| void | close_fds (const int(&except)[N]) |
| void | wait_for_gdb () |
| bool | testfunc (NPObject *, NPIdentifier, const NPVariant *, uint32_t, NPVariant *result) |
| void | printNPVariant (const NPVariant *value) |
| std::ostream & | operator<< (std::ostream &o, const FuzzyPixel &p) |
| double | exp2 (double x) |
Variables | |
| const size_t | MAX_PAGES = 2560 |
| const int | LIRC_PACKET_SIZE = 128 |
| const int | TIMEOUT = 10 |
| const int | BUTTONSIZE = 10 |
| const short | SSL_PORT = 443 |
| const short | SSH_PORT = 22 |
| const short | HTTP_PORT = 80 |
| const short | DTN1_PORT = 2445 |
| const short | DTN2_PORT = 4556 |
| const short | ADMIN_PORT = 1111 |
| const short | RTMP_PORT = 1935 |
| const short | RTMPE_PORT = 1935 |
| const short | RTMPT_PORT = HTTP_PORT |
| const short | RTMPTE_PORT = HTTP_PORT |
| const short | RTMPTS_PORT = SSL_PORT |
| const short | CGIBIN_PORT = 1234 |
| CQue | incoming |
| const char * | content_str [] |
| const char * | ping_str [] |
| const char * | status_str [] |
| const char * | response_str [] |
| const int | RTMP_HANDSHAKE_VERSION_SIZE = 1 |
| const boost::uint8_t | RTMP_VERSION = 0x3 |
| const int | RTMP_HANDSHAKE_SIZE = 1536 |
| const int | RTMP_RANDOM_SIZE = 1528 |
| const int | RTMP_HANDSHAKE_HEADER_SIZE = 8 |
| const int | MAX_AMF_INDEXES = 64 |
| const int | RTMP_HEADSIZE_MASK = 0xc0 |
| const char | RTMP_INDEX_MASK = 0x3f |
| const int | RTMP_VIDEO_PACKET_SIZE = 128 |
| const int | RTMP_AUDIO_PACKET_SIZE = 64 |
| const int | RTMP_MAX_HEADER_SIZE = 12 |
| const int | PING_MSG_SIZE = 6 |
| const int | RTMP_SYSTEM_CHANNEL = 2 |
| const char | TERMINATOR = 0x09 |
| const char * | ROOTPATH |
| const char * | HOST |
| const char * | CA_LIST |
| const char * | RANDOM |
| const char * | KEYFILE |
| const size_t | SSH_PASSWD_SIZE |
| const char * | PASSWORD = "none" |
| const size_t | SSL_PASSWD_SIZE = 1024 |
| const char * | SERVER_KEYFILE = "server.pem" |
| const char * | SERVER_PASSWORD = "none" |
| const char * | DHFILE = "dh1024.pem" |
| LogFile & | dbglogfile = LogFile::getDefaultInstance() |
| struct lirc_config * | config |
| WindowRef | myWindow = NULL |
| bool | _terminate_request = false |
| int | terminate_request = false |
| const int32 | GNASH_PULSE = 'GPLS' |
| const int32 | GNASH_SEND_PULSE = 'GSPL' |
| const int32 | GNASH_QUITTING = 'GQUI' |
| const int | GNASH_MOUSE_CLICKED = 'GMCL' |
| const int | GNASH_MOUSE_MOVED = 'GMMV' |
| const int | GNASH_KEY_EVENT = 'GKKE' |
| const int | GNASH_RESIZE = 'GRSZ' |
| const int | GNASH_HIDDEN = 'GHID' |
| const int | GNASH_SHOWN = 'GSHN' |
| const int | GNASH_SET_FULLSCREEN = 'GSFS' |
| const int | GNASH_UNSET_FULLSCREEN = 'GUFS' |
| const int | MAP_INHERIT = 0 |
| const int | MAP_HASSEMAPHORE = 0 |
| const int | MAX_SHM_NAME_SIZE = 48 |
| const char * | as_arg_strs [] |
| const char * | state_strs [] = { "rw", "w", "r" } |
| NPBool | plugInitialized = FALSE |
Anonymous namespace for callbacks, local functions, event handlers etc.
Here follows handler registration code.
Freedom bites.
Anonymous namespace for generic algorithm functors.
String class interface.
SharedObject AS interface.
Anonymous namespace for NetConnection interface implementation.
Functors for use with foreachArray.
Helper for notifying listeners.
Function objects for foreachArray().
This file should also be included for the following system functions:
This is the main namespace for Gnash and it's libraries.
/ Dialogues /// /
Xv does hardware scaling for us. Thus, we should let the renderer render at a scale of 1 and we'll let Xv scale the rendered image to window size. Of course this destroys aspect ratio potentially set by the SWF.
stat() fstat() lstat() dup() readdir()
This file provides implementations of two different ActionScript global objects: one for AVM1, one for AVM2. The AVM1 global object has more (known) global functions. All AS2 classes are initialized as object prototypes and functions attached to the global object. From SWF8, the 'flash' package is attached as follows:
_global | flash | --------------------------------------------------- | | | | | | display net external filters geom text
where each item is an object.
The AVM2 global object has functions such as trace(), escape(), parseFloat(), parseInt() in common with AVM1. Some classes, such as Array, Boolean, Date, String, and Object, are also directly attached. Other classes, however, are different. The flash package in AVM2 is a namespace, not an object, and all members of the flash package are attached with a namespace to the global object. As we do this on demand, the AVM2 global object is much emptier than the AVM1 equivalent to start with.
Anonymous namespace for NetConnection AMF-reading helper functions (shouldn't be here).
This file handles DefineFont, DefineFontInfo, DefineFontInfo2, DefineFont2, and DefineFont3. They are all handled in one file because a DefineFont2 or 3 tag contains practically the same as a DefineFont plus DefineFontInfo or DefineFontInfo2.
| typedef as_value(* gnash::as_c_function_ptr)(const fn_call &fn) |
| typedef bool(* gnash::callback_t)(void *, int, void *data) |
| typedef std::vector<CallFrame> gnash::CallStack |
| typedef boost::shared_ptr<BitmapFilter> gnash::Filter |
| typedef std::vector<Filter> gnash::Filters |
| typedef geometry::SnappingRanges2d<boost::int32_t> gnash::InvalidatedRanges |
Standard snapping 2d ranges type for invalidated bounds calculation.
| typedef std::pair<FillStyle, boost::optional<FillStyle> > gnash::OptionalFillPair |
Either a single or a morph-pair FillStyle.
| typedef std::map<const Path*, std::vector<oglVertex> > gnash::PathPointMap |
| typedef std::vector<const Path*> gnash::PathPtrVec |
| typedef std::vector<const Path*> gnash::PathRefs |
| typedef std::vector< Path > gnash::PathVec |
| typedef geometry::Point2d gnash::point |
| enum gnash::amfresponse_e |
| enum gnash::CapStyle |
| enum gnash::FileType |
| enum gnash::filter_types |
| enum gnash::JoinStyle |
| enum gnash::Quality |
| enum gnash::VaapiCodec |
| void gnash::accessibility_class_init | ( | as_object & | where, | |
| const ObjectURI & | uri | |||
| ) |
Initialize the global Accessibility class.
| void gnash::adjust_volume | ( | boost::int16_t * | data, | |
| int | size, | |||
| int | volume | |||
| ) |
References gnash::key::i.
| DSOEXPORT const char * gnash::agg_detect_pixel_format | ( | unsigned int | rofs, | |
| unsigned int | rsize, | |||
| unsigned int | gofs, | |||
| unsigned int | gsize, | |||
| unsigned int | bofs, | |||
| unsigned int | bsize, | |||
| unsigned int | bpp | |||
| ) |
Detect pixel format based on bit mask. If the pixel format is unknown, NULL is returned. Note that a successfully detected pixel format does not necessarily mean that the pixel format is available (compiled in). The bit offsets are assumed to be in host byte order!
Referenced by gnash::GtkAggGlue::createRenderHandler().
| void gnash::array_class_init | ( | as_object & | where, | |
| const ObjectURI & | uri | |||
| ) |
Initialize the global.Array object.
Referenced by gnash::AVM1Global::registerClasses().
| string_table::key gnash::arrayKey | ( | string_table & | st, | |
| size_t | i | |||
| ) |
Convert an integral value into an array key.
NB this function adds a string value to the string_table for each separate integral value. It's the way the string_table works.
| i | The integral value to find |
Referenced by fileio_scandir(), and foreachArray().
| size_t gnash::arrayLength | ( | as_object & | array | ) |
Get the length of an object as though it were an array.
It may well be an array, but this also works on normal objects with a length property
| array | The object whose array length is needed. |
Referenced by foreachArray().
| size_t gnash::arraySize | ( | T(&) | [N] | ) |
Get the size of an array without passing a pointer by mistake.
Referenced by gnash::Socket::readNonBlocking(), and writeFLVHeader().
| void gnash::attachAsBroadcasterStaticInterface | ( | as_object & | o | ) |
| bool gnash::attached | ( | const SharedMem & | mem | ) | [inline] |
Check if the SharedMem has been attached.
This only checks whether the attach operation was successful, not whether the shared memory still exists and is still attached where it was initially. It is always possible for other processes to remove it while Gnash is using it, but there is nothing we can do about this.
References gnash::SharedMem::begin().
| void gnash::attachFileReferenceStaticInterface | ( | as_object & | ) |
| void gnash::attachKeyInterface | ( | as_object & | o | ) |
References gnash::key::ALT, gnash::key::BACKSPACE, gnash::key::CAPSLOCK, gnash::key::CONTROL, gnash::Global_as::createFunction(), gnash::key::DELETEKEY, gnash::PropFlags::dontDelete, gnash::key::DOWN, gnash::key::END, gnash::key::ENTER, gnash::key::ESCAPE, getGlobal(), gnash::VM::getNative(), getVM(), gnash::key::HOME, gnash::as_object::init_member(), gnash::key::INSERT, KEY_CONST, key_is_accessible(), gnash::key::LEFT, gnash::key::PGDN, gnash::key::PGUP, gnash::PropFlags::readOnly, gnash::key::RIGHT, gnash::key::SHIFT, SPACE, gnash::key::TAB, and gnash::key::UP.
| void gnash::attachLoadableInterface | ( | as_object & | where, | |
| int | flags | |||
| ) |
Attach some common AS code for Loadable objects.
This implements built-in functions.
| void gnash::bevelfilter_class_init | ( | as_object & | where, | |
| const ObjectURI & | uri | |||
| ) |
The prototype of flash.filters.BevelFilter is a new BitmapFilter.
Initialize the global BitmapFilter class.
| void gnash::bitmapdata_class_init | ( | as_object & | where, | |
| const ObjectURI & | uri | |||
| ) |
Initialize the global BitmapData class.
| void gnash::bitmapfilter_class_init | ( | as_object & | where, | |
| const ObjectURI & | uri | |||
| ) |
Initialize the global BitmapFilter class.
| void gnash::bitmapfilterquality_class_init | ( | as_object & | where, | |
| const ObjectURI & | uri | |||
| ) |
Initialize the global BitmapFilterQuality class.
| void gnash::bitmapfiltertype_class_init | ( | as_object & | where, | |
| const ObjectURI & | uri | |||
| ) |
Initialize the global BitmapFilterType class.
| void gnash::blurfilter_class_init | ( | as_object & | where, | |
| const ObjectURI & | uri | |||
| ) |
Initialize the global BlurFilter class.
| void gnash::boolean_class_init | ( | as_object & | where, | |
| const ObjectURI & | uri | |||
| ) |
Initialize the global Boolean class.
| void gnash::button_class_init | ( | as_object & | global, | |
| const ObjectURI & | uri | |||
| ) |
Initialize the global Button class.
| bool gnash::cairoFormatFromVisual | ( | const GdkVisual * | visual, | |
| cairo_format_t * | format | |||
| ) |
| void gnash::camera_class_init | ( | as_object & | where, | |
| const ObjectURI & | uri | |||
| ) |
Initialize the global Camera class.
| bool gnash::caseless | ( | const as_object & | o | ) | [inline] |
Return whether property matching is caseless.
References getSWFVersion().
Referenced by gnash::DisplayObject::pathElement().
| void gnash::checkArrayLength | ( | as_object & | array, | |
| const ObjectURI & | uri, | |||
| const as_value & | val | |||
| ) |
Genuine arrays handle the length property in a special way.
The only distinction between Arrays and Objects is that the length property is changed when an element is added, and that changing the length can result in deleted properties.
| T gnash::clamp | ( | T | i, | |
| T | min, | |||
| T | max | |||
| ) | [inline] |
| gboolean gnash::cleanup_childpid | ( | gpointer | data | ) |
Referenced by gnash::nsPluginInstance::~nsPluginInstance().
| void gnash::clear | ( | ) |
Maximum release of resources.
Calls clear_library() and fontlib::clear(), and also clears some extra internal stuff that may have been allocated (e.g. global ActionScript objects). This should get all gnash structures off the heap, with the exception of any objects that are still referenced by the host program and haven't had drop_ref() called on them.
References gnash::GC::cleanup(), gnash::fontlib::clear(), gnash::MovieLibrary::clear(), gnash::VM::clear(), gnash::GC::fuzzyCollect(), gnash::GC::get(), gnash::VM::get(), and gnash::MovieFactory::movieLibrary.
Referenced by gnash::Player::run().
| void gnash::close_fds | ( | const int(&) | except[N] | ) |
References ogl::close().
| void gnash::color_class_init | ( | as_object & | where, | |
| const ObjectURI & | uri | |||
| ) |
Initialize the global Color class.
| rgba gnash::colorFromHexString | ( | const std::string & | color | ) |
Create an RGBA value from a hex string (e.g. FF0000).
| color | A hex string in 'rrbbgg' format. This must contain only a valid hexadecimal number. It is the caller's responsibility to check it. |
| void gnash::colormatrixfilter_class_init | ( | as_object & | where, | |
| const ObjectURI & | uri | |||
| ) |
The prototype of flash.filters.ColorMatrixFilter is a new BitmapFilter.
Initialize the global ColorMatrixFilter class.
| void gnash::colortransform_class_init | ( | as_object & | where, | |
| const ObjectURI & | uri | |||
| ) |
Initialize the global ColorTransform class.
| as_object* gnash::constructInstance | ( | as_function & | ctor, | |
| const as_environment & | env, | |||
| FunctionArgs< as_value > & | args | |||
| ) |
Construct a new object from the given constructor.
This function takes care of creating the new object and assigning the __proto__ property. The construct() function is then called with the new object as its 'this' object.
| ctor | The constructor to run. | |
| env | The environment to use for the function call. | |
| arg | The arguments to pass to the constructor function. |
| as_object* gnash::constructInstance | ( | as_function & | ctor, | |
| const as_environment & | env, | |||
| fn_call::Args & | args | |||
| ) |
| void gnash::contextmenu_class_init | ( | as_object & | where, | |
| const ObjectURI & | uri | |||
| ) |
Initialize the global ContextMenu class.
| void gnash::contextmenuitem_class_init | ( | as_object & | where, | |
| const ObjectURI & | uri | |||
| ) |
Initialize the global ContextMenuItem class.
| double gnash::convert_double_wacky | ( | const void * | p | ) |
Referenced by gnash::action_buffer::read_double_wacky().
| as_value & gnash::convertToBoolean | ( | as_value & | v, | |
| VM & | ||||
| ) |
Force type to bool.
| as_value & gnash::convertToNumber | ( | as_value & | v, | |
| VM & | ||||
| ) |
Force type to number.
| as_value & gnash::convertToPrimitive | ( | as_value & | v, | |
| VM & | vm | |||
| ) |
Convert to primitive type.
| as_value & gnash::convertToString | ( | as_value & | v, | |
| VM & | vm | |||
| ) |
Force type to string.
| void gnash::convolutionfilter_class_init | ( | as_object & | where, | |
| const ObjectURI & | uri | |||
| ) |
The prototype of flash.filters.ConvolutionFilter is a new BitmapFilter.
Initialize the global ConvolutionFilter class.
| void gnash::copyMatrix | ( | const DisplayObject & | from, | |
| DisplayObject & | to | |||
| ) |
Copy SWFMatrix and caches from given DisplayObjecta.
| from | The DisplayObject to copy from | |
| to | The DisplayObject to copy to. |
| void gnash::CopyVariantValue | ( | const NPVariant & | from, | |
| NPVariant & | to | |||
| ) | [inline] |
Makes a deep copy of a NPVariant.
| from | The source NPVariant to copy values from. | |
| to | The destination NPVariant. |
Referenced by gnash::GnashNPVariant::copy(), gnash::GnashNPVariant::GnashNPVariant(), and gnash::GnashNPVariant::operator=().
| DSOEXPORT Renderer_agg_base * gnash::create_Renderer_agg | ( | const char * | pixelformat | ) |
Create a render handler.
If the given pixelformat is unsupported, or any other error occurs, NULL is returned.
Referenced by gnash::SdlAggGlue::createRenderHandler(), gnash::RiscosAggGlue::createRenderHandler(), gnash::HaikuAggGlue::createRenderHandler(), gnash::GtkAggVaapiGlue::createRenderHandler(), gnash::GtkAggGlue::createRenderHandler(), gnash::FltkAggGlue::createRenderHandler(), gnash::AOS4AggGlue::createRenderHandler(), and main().
| DSOEXPORT Renderer * gnash::create_Renderer_ogl | ( | bool | init | ) |
| void gnash::create_standalone_launcher | ( | const std::string & | page_url, | |
| const std::string & | swf_url, | |||
| const std::map< std::string, std::string > & | params | |||
| ) |
References getGnashExecutable().
| std::auto_ptr<Gui> gnash::createAOS4Gui | ( | unsigned | long, | |
| float | , | |||
| bool | , | |||
| RunResourcesfloat | , | |||
| bool | , | |||
| unsigned | int | |||
| ) |
| std::auto_ptr<Gui> gnash::createAOS4Gui | ( | unsigned long | xid, | |
| float | scale, | |||
| bool | loop, | |||
| RunResources & | r | |||
| ) |
| std::auto_ptr<Gui> gnash::createAQUAGui | ( | unsigned long | xid, | |
| float | scale, | |||
| bool | loop, | |||
| RunResources & | r | |||
| ) |
| std::auto_ptr<Gui> gnash::createAQUAGui | ( | unsigned | long, | |
| float | , | |||
| bool | , | |||
| RunResourcesfloat | , | |||
| bool | , | |||
| unsigned | int | |||
| ) |
| std::auto_ptr<Gui> gnash::createDumpGui | ( | unsigned long | xid, | |
| float | scale, | |||
| bool | loop, | |||
| RunResources & | r | |||
| ) |
| std::auto_ptr<Gui> gnash::createDumpGui | ( | unsigned | long, | |
| float | , | |||
| bool | , | |||
| RunResourcesfloat | , | |||
| bool | , | |||
| unsigned | int | |||
| ) |
| std::auto_ptr<Gui> gnash::createFBGui | ( | unsigned | long, | |
| float | , | |||
| bool | , | |||
| RunResourcesfloat | , | |||
| bool | , | |||
| unsigned | int | |||
| ) |
| std::auto_ptr<Gui> gnash::createFBGui | ( | unsigned long | xid, | |
| float | scale, | |||
| bool | loop, | |||
| RunResources & | r | |||
| ) |
| std::auto_ptr<Gui> gnash::createFLTKGui | ( | unsigned | long, | |
| float | , | |||
| bool | , | |||
| RunResourcesfloat | , | |||
| bool | , | |||
| unsigned | int | |||
| ) |
| std::auto_ptr<Gui> gnash::createFLTKGui | ( | unsigned long | xid, | |
| float | scale, | |||
| bool | loop, | |||
| RunResources & | r | |||
| ) |
| std::auto_ptr<Gui> gnash::createGTKGui | ( | unsigned long | xid, | |
| float | scale, | |||
| bool | loop, | |||
| RunResources & | r | |||
| ) |
Named constructors.
| std::auto_ptr<Gui> gnash::createGTKGui | ( | unsigned | long, | |
| float | , | |||
| bool | , | |||
| RunResourcesfloat | , | |||
| bool | , | |||
| unsigned | int | |||
| ) |
| std::auto_ptr<Gui> gnash::createHaikuGui | ( | unsigned long | xid, | |
| float | scale, | |||
| bool | loop, | |||
| RunResources & | r | |||
| ) |
| std::auto_ptr<Gui> gnash::createHaikuGui | ( | unsigned | long, | |
| float | , | |||
| bool | , | |||
| RunResourcesfloat | , | |||
| bool | , | |||
| unsigned | int | |||
| ) |
| std::auto_ptr<Gui> gnash::createKDE4Gui | ( | unsigned long | xid, | |
| float | scale, | |||
| bool | loop, | |||
| RunResources & | r | |||
| ) |
| std::auto_ptr<Gui> gnash::createKDE4Gui | ( | unsigned | long, | |
| float | , | |||
| bool | , | |||
| RunResourcesfloat | , | |||
| bool | , | |||
| unsigned | int | |||
| ) |
| std::auto_ptr<Gui> gnash::createKDEGui | ( | unsigned long | xid, | |
| float | scale, | |||
| bool | loop, | |||
| RunResources & | r | |||
| ) |
| std::auto_ptr<Gui> gnash::createKDEGui | ( | unsigned | long, | |
| float | , | |||
| bool | , | |||
| RunResourcesfloat | , | |||
| bool | , | |||
| unsigned | int | |||
| ) |
| std::auto_ptr<Gui> gnash::createRISCOSGui | ( | unsigned long | xid, | |
| float | scale, | |||
| bool | loop, | |||
| RunResources & | r | |||
| ) |
| std::auto_ptr<Gui> gnash::createRISCOSGui | ( | unsigned | long, | |
| float | , | |||
| bool | , | |||
| RunResourcesfloat | , | |||
| bool | , | |||
| unsigned | int | |||
| ) |
| std::auto_ptr<Gui> gnash::createSDLGui | ( | unsigned long | xid, | |
| float | scale, | |||
| bool | loop, | |||
| RunResources & | r | |||
| ) |
| std::auto_ptr<Gui> gnash::createSDLGui | ( | unsigned | long, | |
| float | , | |||
| bool | , | |||
| RunResourcesfloat | , | |||
| bool | , | |||
| unsigned | int | |||
| ) |
| as_object * gnash::createTextFieldObject | ( | Global_as & | gl | ) |
Native function to create a plain object with TextField properties.
This function calls the TextField constructor.
Referenced by gnash::SWF::DefineEditTextTag::createDisplayObject().
| as_object * gnash::createVideoObject | ( | Global_as & | gl | ) |
Native function to create a plain object with Video properties.
This adds properties to the prototype, but does not add a Video DisplayObject.
Referenced by gnash::SWF::DefineVideoStreamTag::createDisplayObject().
| void gnash::customactions_class_init | ( | as_object & | where, | |
| const ObjectURI & | uri | |||
| ) |
Initialize the global CustomActions class.
| void gnash::date_class_init | ( | as_object & | global, | |
| const ObjectURI & | uri | |||
| ) |
| void gnash::dbus_class_init | ( | as_object & | obj | ) |
| as_value gnash::dbus_ext_setsockname | ( | const fn_call & | fn | ) |
References gnash::fn_call::arg(), and gnash::fn_call::nargs.
| void gnash::declareLocal | ( | CallFrame & | c, | |
| string_table::key | name | |||
| ) |
Declare a local variable in this CallFrame.
The variable is declared and set to undefined if it doesn't exist already.
| c | The CallFrame to set the variable in. | |
| name | The name of the variable to declare. |
Referenced by gnash::Function2::call().
| void gnash::dejagnu_class_init | ( | as_object & | obj | ) |
| as_value gnash::dejagnu_fail | ( | const fn_call & | fn | ) |
References gnash::fn_call::arg(), and gnash::fn_call::nargs.
| as_value gnash::dejagnu_pass | ( | const fn_call & | fn | ) |
References gnash::fn_call::arg(), and gnash::fn_call::nargs.
| as_value gnash::dejagnu_totals | ( | const fn_call & | fn | ) |
| void gnash::deleteChecked | ( | T | begin, | |
| T | end | |||
| ) |
Safely call delete on each element in a range.
This checks that the type is fully known, but cannot check whether the pointer was allocated with new. Pointers allocated with new[] or any other allocation function should never be passed to this function.
| begin | The start of the range to call delete on. | |
| end | The end of the range to call delete on. |
References for_each().
Referenced by gnash::BufferedAudioStreamer::cleanAudioQueue(), gnash::MovieClip::getDisplayObjectAtDepth(), gnash::SWF::DefineButtonTag::~DefineButtonTag(), gnash::SWF::DefineVideoStreamTag::~DefineVideoStreamTag(), gnash::NetConnection_as::~NetConnection_as(), gnash::SWF::PlaceObject2Tag::~PlaceObject2Tag(), and gnash::StyleHandler::~StyleHandler().
| void gnash::deleteSecondElements | ( | T | begin, | |
| T | end | |||
| ) |
Safely call delete on each second element in a range of pairs.
This checks that the type is fully known, but cannot check whether the pointer was allocated with new. Pointers allocated with new[] or any other allocation function should never be passed to this function.
| begin | The start of the range to call delete on. | |
| end | The end of the range to call delete on. |
References foreachSecond().
| void gnash::displacementmapfilter_class_init | ( | as_object & | where, | |
| const ObjectURI & | uri | |||
| ) |
Initialize the global DisplacementMapFilter class.
| void gnash::displacementmapfiltermode_class_init | ( | as_object & | where, | |
| const ObjectURI & | uri | |||
| ) |
Initialize the global DisplacementMapFilterMode class.
| void gnash::DoAdvanceMovie | ( | EventLoopTimerRef | inTimer, | |
| void * | data | |||
| ) |
Referenced by gnash::AquaGui::run().
| std::string gnash::doubleToString | ( | double | val, | |
| int | radix | |||
| ) |
Convert numeric value to string value, following ECMA-262 specification.
Referenced by gnash::as_value::to_string().
| pascal OSStatus gnash::DoWindowClose | ( | EventHandlerCallRef | nextHandler, | |
| EventRef | theEvent, | |||
| void * | userData | |||
| ) |
Referenced by gnash::AquaGui::createWindow().
| void gnash::dropshadowfilter_class_init | ( | as_object & | where, | |
| const ObjectURI & | uri | |||
| ) |
The prototype of flash.filters.DropShadowFilter is a new BitmapFilter.
Initialize the global DropShadowFilter class.
| void gnash::dump_callbacks | ( | map< string, as_value > & | calls | ) |
References dbglogfile, name, and gnash::as_value::to_string().
| T::value_type* gnash::ensure | ( | const fn_call & | fn | ) |
Templated function to check the validity of a function call.
It throws an exception if the condition is not fulfilled, it throws an ActionTypeError, resulting in the function call being aborted and an undefined as_value returned. Note that not carrying out a function because the this pointer is undefined is not ActionScript behaviour in most cases. To avoid spreading its usage outside AS function implementations, this function now takes a fn_call as an argument.
| T | A struct defining a value_type and an operator() that checks the as_object's validity. A pointer to the value_type is returned on success, an exception thrown on failure. |
| fn | The function whose 'this' pointer should be checked. |
References source, gnash::key::T, gnash::fn_call::this_ptr, and typeName().
| void gnash::enumerateProperties | ( | as_object & | o, | |
| as_object::SortedPropertyList & | to | |||
| ) |
Enumerate all non-hidden properties to the passed container.
NB: it is likely that this call will change the object, as accessing propertyproperty values may call getter-setters. The enumeration recurses through the prototype chain. This implementation will keep track of visited object to avoid infinite loops in the prototype chain. NOTE: the MM player just chokes in this case.
| DSOEXPORT bool gnash::equal | ( | string_table & | st, | |
| string_table::key | a, | |||
| string_table::key | b, | |||
| bool | caseless | |||
| ) |
Check whether two keys are equivalent.
This function provides a simple way to check for equivalence either in a case sensitive or case-insensitive way. It is mainly for convenience, to reduce conditionals in the code. If the comparison is case-sensitive, the keys are equivalent if they are equal.
| st | The string table to use | |
| a | One key to check | |
| b | The other key to check | |
| caseless | Whether to compare in a case-insensitive way. |
Referenced by main(), and gnash::DisplayObject::pathElement().
| void gnash::EraseIf | ( | Container & | c, | |
| Predicate | p | |||
| ) |
Erase elements from an associative container based on a predicate.
This removes elements from a container such as a map if they fulfil a particular condition. Because keys of associative container are const, we can't do this using iterators, because we can't write to them.
References gnash::key::e, gnash::key::i, and gnash::key::p.
| void gnash::Error_class_init | ( | as_object & | where, | |
| const ObjectURI & | uri | |||
| ) |
Initialize the global Error class.
| void gnash::escapeXML | ( | std::string & | text | ) |
Escape using XML entities.
Note this is not the same as a URL escape.
| double gnash::exp2 | ( | double | x | ) | [inline] |
Referenced by gnash::MovieTester::checkPixel().
| void gnash::externalinterface_class_init | ( | as_object & | where, | |
| const ObjectURI & | uri | |||
| ) |
Initialize the global ExternalInterface class.
| as_value gnash::fileio_asyncmode | ( | const fn_call & | fn | ) |
References gnash::fn_call::arg(), and gnash::key::b.
| void gnash::fileio_class_init | ( | as_object & | where, | |
| const ObjectURI & | ||||
| ) |
| as_value gnash::fileio_fclose | ( | const fn_call & | fn | ) |
| as_value gnash::fileio_feof | ( | const fn_call & | fn | ) |
References gnash::key::b.
| as_value gnash::fileio_fflush | ( | const fn_call & | fn | ) |
| as_value gnash::fileio_fgetc | ( | const fn_call & | fn | ) |
References gnash::key::i.
| as_value gnash::fileio_fgets | ( | const fn_call & | fn | ) |
| as_value gnash::fileio_fopen | ( | const fn_call & | fn | ) |
| as_value gnash::fileio_fputc | ( | const fn_call & | fn | ) |
References gnash::fn_call::arg().
| as_value gnash::fileio_fputs | ( | const fn_call & | fn | ) |
References gnash::fn_call::arg().
| as_value gnash::fileio_fread | ( | const fn_call & | fn | ) |
| as_value gnash::fileio_fseek | ( | const fn_call & | fn | ) |
References gnash::fn_call::arg().
| as_value gnash::fileio_ftell | ( | const fn_call & | fn | ) |
References gnash::key::i.
| as_value gnash::fileio_fwrite | ( | const fn_call & | fn | ) |
References gnash::fn_call::arg().
| as_value gnash::fileio_getchar | ( | const fn_call & | fn | ) |
References gnash::key::i.
| as_value gnash::fileio_putchar | ( | const fn_call & | fn | ) |
References gnash::fn_call::arg(), and gnash::key::x.
| as_value gnash::fileio_puts | ( | const fn_call & | fn | ) |
References gnash::fn_call::arg().
| as_value gnash::fileio_scandir | ( | const fn_call & | fn | ) |
| as_value gnash::fileio_unlink | ( | const fn_call & | fn | ) |
References gnash::fn_call::arg().
| void gnash::filereference_class_init | ( | as_object & | where, | |
| const ObjectURI & | uri | |||
| ) |
Initialize the global FileReference class.
| as_value gnash::filereference_ctor | ( | const fn_call & | fn | ) |
| void gnash::filereferencelist_class_init | ( | as_object & | where, | |
| const ObjectURI & | uri | |||
| ) |
Initialize the global FileReferenceList class.
| as_value gnash::filereferencelist_ctor | ( | const fn_call & | fn | ) |
| void gnash::flash_display_package_init | ( | as_object & | where, | |
| const ObjectURI & | uri | |||
| ) |
| void gnash::flash_external_package_init | ( | as_object & | where, | |
| const ObjectURI & | uri | |||
| ) |
| void gnash::flash_filters_package_init | ( | as_object & | where, | |
| const ObjectURI & | uri | |||
| ) |
| void gnash::flash_geom_package_init | ( | as_object & | where, | |
| const ObjectURI & | uri | |||
| ) |
| void gnash::flash_net_package_init | ( | as_object & | where, | |
| const ObjectURI & | uri | |||
| ) |
| void gnash::flash_package_init | ( | as_object & | where, | |
| const ObjectURI & | uri | |||
| ) |
Referenced by gnash::AVM1Global::registerClasses().
| void gnash::flash_text_package_init | ( | as_object & | where, | |
| const ObjectURI & | uri | |||
| ) |
| void gnash::for_each | ( | C & | container, | |
| R(T::*)(const A &) | pmf, | |||
| const A & | arg | |||
| ) |
References gnash::key::_1.
Referenced by gnash::Button::add_invalidated_bounds(), gnash::SharedObjectLibrary::clear(), deleteChecked(), gnash::Renderer_cairo::drawShape(), foreachFirst(), foreachSecond(), gnash::MovieClip::getAsRoot(), gnash::abc::Method::initTraits(), gnash::abc::Class::initTraits(), gnash::Button::markOwnResources(), gnash::VM::markReachableResources(), gnash::NetConnection_as::markReachableResources(), gnash::CallFrame::markReachableResources(), gnash::geometry::SnappingRanges2d< boost::int32_t >::scale(), gnash::SWF::ShapeRecord::setLerp(), gnash::geometry::SnappingRanges2d< boost::int32_t >::setNull(), gnash::XMLNode_as::setReachable(), gnash::FunctionArgs< T >::setReachable(), and gnash::TextField::setTextColor().
| void gnash::foreachArray | ( | as_object & | array, | |
| T & | pred | |||
| ) |
References arrayKey(), arrayLength(), gnash::as_object::getMember(), getStringTable(), and gnash::key::i.
| void gnash::foreachFirst | ( | T | begin, | |
| T | end, | |||
| U | op | |||
| ) |
Call a functor on the first element of each element in a range.
| T | An iterator type satisfying the requirements of a forward iterator | |
| U | The type of the functor op. |
| begin | The start of the range to call op on. | |
| end | The end of the range to call op on. | |
| op | The function to call on each second element. |
References gnash::key::_1, for_each(), and gnash::key::S.
Referenced by gnash::PropertyList::setReachable().
| void gnash::foreachSecond | ( | T | begin, | |
| T | end, | |||
| U | op | |||
| ) |
Call a functor on the second element of each element in a range.
| T | An iterator type satisfying the requirements of a forward iterator | |
| U | The type of the functor op. |
| begin | The start of the range to call op on. | |
| end | The end of the range to call op on. | |
| op | The function to call on each second element. |
References gnash::key::_1, for_each(), and gnash::key::S.
Referenced by deleteSecondElements(), gnash::SharedObjectLibrary::markReachableResources(), and gnash::movie_root::markReachableResources().
| int gnash::frnd | ( | float | f | ) | [inline] |
Referenced by gnash::rgba::set_lerp(), and gnash::LineStyle::set_lerp().
| std::string gnash::fromByteString | ( | T(&) | buf[N] | ) |
A null byte after the marker or at the beginning of the listeners signifies the end of the list.
| void gnash::function_class_init | ( | as_object & | global, | |
| const ObjectURI & | uri | |||
| ) |
Initialize the global Function constructor.
Referenced by gnash::AVM1Global::registerClasses().
| T* gnash::get | ( | as_object * | o | ) |
Extract the DisplayObject attached to an object.
| o | The object to check. |
References gnash::key::o, and gnash::key::T.
Referenced by gnash::abc::Method::addValue(), gnash::abc::Class::addValue(), gnash::GtkAggVaapiGlue::beforeRendering(), gnash::GtkAggVaapiGlue::createRenderHandler(), gnash::GcResource::GcResource(), gnash::GtkAggVaapiGlue::init(), gnash::media::ffmpeg::VaapiContextFfmpeg::initDecoder(), gnash::abc::Class::initPrototype(), main(), gnash::abc::AbcBlock::prepare(), gnash::GtkAggVaapiGlue::render(), gnash::as_value::to_bool(), and gnash::as_value::to_number().
| void gnash::get_max_xv_image | ( | Display * | display, | |
| XvPortID | xv_port, | |||
| unsigned int * | width, | |||
| unsigned int * | height | |||
| ) |
| unsigned long int gnash::get_thread_id | ( | void | ) | [inline] |
Used in logging.
Referenced by timestamp().
| as_object * gnash::getArguments | ( | Function & | callee, | |
| as_object & | args, | |||
| const fn_call & | fn, | |||
| as_object * | caller | |||
| ) |
Add properties to an 'arguments' object.
The 'arguments' variable is an array with an additional 'callee' member, set to the function being called.
Referenced by gnash::Function2::call().
| as_function* gnash::getClassConstructor | ( | const fn_call & | fn, | |
| const std::string & | s | |||
| ) | [inline] |
Convenience function for finding a class constructor.
Only currently useful in AS2.
References gnash::as_function::to_function().
| const SWFCxForm& gnash::getCxForm | ( | const DisplayObject & | o | ) | [inline] |
| bool gnash::getDisplayObjectProperty | ( | DisplayObject & | obj, | |
| string_table::key | key, | |||
| as_value & | val | |||
| ) |
DisplayObject property lookup.
Get special properties.
This function is only called on the first object in the inheritance chain after the object's own properties have been checked. In AS2, any DisplayObject marks the end of the inheritance chain for lookups. Lookup order: 1. _level0.._level9 2. Objects on the DisplayList of a MovieClip 3. DisplayObject magic properties (_x, _y etc). 4. MovieClips' TextField variables (this is probably not the best way to do it, but as it is done like this, this must be called here. It will cause an infinite recursion otherwise.
This gets the magic properties of DisplayObjects and handles special MovieClip properties such as DisplayList members.
| key | The string table key of the property to get. | |
| obj | The DisplayObject whose property should be got | |
| val | An as_value to be set to the value of the property. |
| Global_as & gnash::getGlobal | ( | const as_environment & | env | ) |
Referenced by attachKeyInterface(), gnash::Function2::call(), fileio_scandir(), gnash::as_object::findProperty(), gtkext_container_add(), gtkext_container_set_border_width(), gtkext_signal_connect(), gtkext_signal_connect_swapped(), gtkext_widget_show(), gnash::SWF::ButtonRecord::instantiate(), invoke(), main(), mysql_fetch(), mysql_qetData(), gnash::NetConnection_as::notifyStatus(), registerBuiltinClass(), and registerBuiltinObject().
| Global_as& gnash::getGlobal | ( | const fn_call & | fn | ) | [inline] |
References gnash::VM::getGlobal(), and gnash::fn_call::getVM().
| std::string gnash::getGnashExecutable | ( | ) |
Referenced by create_standalone_launcher().
| as_value gnash::getHeight | ( | DisplayObject & | o | ) |
| void gnash::getIndexedProperty | ( | size_t | index, | |
| DisplayObject & | o, | |||
| as_value & | val | |||
| ) |
Get a property by its numeric index.
Used by ASHandlers to get the DisplayObject properties indexed by number
| index | The index of the property to get. | |
| o | The DisplayObject whose property should be got | |
| val | An as_value to be set to the value of the property. |
| const SWFMatrix& gnash::getMatrix | ( | const DisplayObject & | o | ) | [inline] |
Get local transform SWFMatrix for this DisplayObject.
References gnash::Transform::matrix, and gnash::DisplayObject::transform().
Referenced by gnash::Button::getBounds(), getHeight(), getWorldMatrix(), gnash::DisplayList::mergeDisplayList(), gnash::TextField::notifyEvent(), gnash::DisplayList::replaceDisplayObject(), gnash::DisplayObject::set_rotation(), gnash::DisplayObject::set_x_scale(), gnash::DisplayObject::set_y_scale(), gnash::DisplayObject::setHeight(), gnash::DisplayObject::setWidth(), gnash::TextField::topmostMouseEntity(), and gnash::Button::topmostMouseEntity().
| string_table::key gnash::getName | ( | const ObjectURI & | o | ) | [inline] |
Get the name element of an ObjectURI.
References gnash::ObjectURI::name.
Referenced by gnash::PropertyList::enumerateKeys(), main(), gnash::ObjectURI::Logger::operator()(), and cygnal::HTTPServer::processPostRequest().
| as_object* gnash::getObject | ( | const DisplayObject * | d | ) | [inline] |
Return the as_object associated with a DisplayObject if it exists.
| d | The DisplayObject to check. May be null. |
References gnash::DisplayObject::object().
Referenced by gnash::DisplayObject::allowHandCursor(), gnash::Function2::call(), gnash::SWF::SymbolClassTag::executeActions(), gnash::SWF::StreamSoundBlockTag::executeActions(), gnash::SWF::StartSoundTag::executeActions(), gnash::SWF::DoABCTag::executeActions(), gnash::SWF::ScriptLimitsTag::executeState(), gnash::MovieTester::findDisplayItemByName(), gnash::TextField::get_htmltext_value(), gnash::TextField::get_text_value(), gnash::movie_root::getEntityUnderPointer(), gnash::ActionExec::getTarget(), gnash::DisplayObject::getTargetPath(), gnash::ActionExec::getThisPointer(), gnash_view_call(), gnash::SWF::ButtonRecord::instantiate(), gnash::Button::isEnabled(), main(), gnash::Button::mouseEvent(), gnash::DisplayObject::pathElement(), gnash::TextField::replaceSelection(), gnash::TextField::setHtmlTextValue(), gnash::movie_root::setQuality(), gnash::TextField::setTextValue(), gnash::as_value::to_object(), gnash::Button::trackAsMenu(), gnash::TextField::updateHtmlText(), and gnash::TextField::updateText().
| as_object * gnash::getObjectWithPrototype | ( | Global_as & | gl, | |
| string_table::key | c | |||
| ) |
| movie_root & gnash::getRoot | ( | const as_environment & | env | ) |
Referenced by gnash::SWF::DefineTextTag::createDisplayObject(), gnash::SWF::DefineShapeTag::createDisplayObject(), gnash::SWF::DefineMorphShapeTag::createDisplayObject(), gnash::SWF::ScriptLimitsTag::executeState(), gnash::DisplayObject::getNextUnnamedInstanceName(), key_get_ascii(), key_get_code(), key_is_down(), gnash::DisplayObject::set_visible(), gnash::NetStream_as::startAdvanceTimer(), gnash::NetStream_as::stopAdvanceTimer(), gnash::Video::Video(), and gnash::ActiveRelay::~ActiveRelay().
| movie_root & gnash::getRoot | ( | const as_object & | o | ) |
Get the movie_root from an as_object.
| movie_root& gnash::getRoot | ( | const fn_call & | fn | ) | [inline] |
References gnash::VM::getRoot(), and gnash::fn_call::getVM().
| const RunResources & gnash::getRunResources | ( | const as_object & | o | ) |
Get the RunResources from an as_object.
Referenced by gnash::NetConnection_as::connect(), gnash::SWF::StreamSoundBlockTag::executeActions(), gnash::SWF::StartSoundTag::executeActions(), gnash::NetConnection_as::getStream(), gnash::Button::mouseEvent(), gnash::NetConnection_as::validateURL(), and gnash::Video::Video().
| string_table & gnash::getStringTable | ( | const as_environment & | env |