gnash-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnash-commit] gnash ChangeLog doc/C/Makefile.am doc/C/extensi...


From: Rob Savoye
Subject: [Gnash-commit] gnash ChangeLog doc/C/Makefile.am doc/C/extensi...
Date: Fri, 16 Feb 2007 05:34:21 +0000

CVSROOT:        /sources/gnash
Module name:    gnash
Changes by:     Rob Savoye <rsavoye>    07/02/16 05:34:21

Modified files:
        .              : ChangeLog 
        doc/C          : Makefile.am extensions.xml 
Added files:
        doc/C          : fileext.xml gtkext.xml mysqlext.xml 

Log message:
                * doc/C/gtkext.xml: Chapter on the Gtk extension.
                * doc/C/mysqlext.xml: Chapter on the MySQL extension.
                * doc/C/fileext.xml: Chapter on the File I/O extension.
                * doc/C/Makefile.am: Add new files to dependencies.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.2370&r2=1.2371
http://cvs.savannah.gnu.org/viewcvs/gnash/doc/C/Makefile.am?cvsroot=gnash&r1=1.32&r2=1.33
http://cvs.savannah.gnu.org/viewcvs/gnash/doc/C/extensions.xml?cvsroot=gnash&r1=1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/gnash/doc/C/fileext.xml?cvsroot=gnash&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/gnash/doc/C/gtkext.xml?cvsroot=gnash&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/gnash/doc/C/mysqlext.xml?cvsroot=gnash&rev=1.1

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.2370
retrieving revision 1.2371
diff -u -b -r1.2370 -r1.2371
--- ChangeLog   16 Feb 2007 04:16:49 -0000      1.2370
+++ ChangeLog   16 Feb 2007 05:34:20 -0000      1.2371
@@ -8,6 +8,11 @@
 
 2007-02-15  Rob Savoye  <address@hidden>
 
+       * doc/C/gtkext.xml: Chapter on the Gtk extension.
+       * doc/C/mysqlext.xml: Chapter on the MySQL extension.
+       * doc/C/fileext.xml: Chapter on the File I/O extension.
+       * doc/C/Makefile.am: Add new files to dependencies.
+       
        * doc/C/extensions.xml: New file on the extension mechanism, and
        on writing extensions.
        * doc/C/gnash.xml: Add extensions chapter.

Index: doc/C/Makefile.am
===================================================================
RCS file: /sources/gnash/gnash/doc/C/Makefile.am,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -b -r1.32 -r1.33
--- doc/C/Makefile.am   29 Oct 2006 18:34:10 -0000      1.32
+++ doc/C/Makefile.am   16 Feb 2007 05:34:21 -0000      1.33
@@ -40,9 +40,13 @@
        contextmenu.xml         \
        customactions.xml       \
        date.xml                \
+       debugger.xml \
        error.xml               \
+       extensions.xml \
        fdl-appendix.xml        \
+       fileext.xml \
        function.xml            \
+       gtkext.xml \
        key.xml                 \
        legal.xml               \
        loadvars.xml            \
@@ -53,6 +57,7 @@
        mouse.xml               \
        movieclip.xml           \
        moviecliploader.xml     \
+       mysqlext.xml \
        netconnection.xml       \
        netstream.xml           \
        number.xml              \

Index: doc/C/extensions.xml
===================================================================
RCS file: /sources/gnash/gnash/doc/C/extensions.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- doc/C/extensions.xml        16 Feb 2007 04:16:49 -0000      1.1
+++ doc/C/extensions.xml        16 Feb 2007 05:34:21 -0000      1.2
@@ -288,6 +288,22 @@
 
   </sect2>
 
+  <sect2 id="inclext">
+    <title>Included Extensions</title>
+
+    <para>
+      Gnash has sme extensions included in the distribution. This is
+      mostly because they were written by the Gnash team. Extensions
+      can be external to gnash, Gnash needs no compiled in knowledge
+      to load an extension file.
+    </para>
+    
+    &gtk;
+    &file;
+    &mysql;
+
+  </sect2>
+
 </sect1>
 
 

Index: doc/C/fileext.xml
===================================================================
RCS file: doc/C/fileext.xml
diff -N doc/C/fileext.xml
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ doc/C/fileext.xml   16 Feb 2007 05:34:21 -0000      1.1
@@ -0,0 +1,150 @@
+<?xml version="1.0" encoding="utf-8"?>
+<sect3 id="fileioext">
+  <title>File I/O Extension</title>
+
+  <para>
+    Flash movies are traditionally forbidden from accessing the
+    filesystem, but this may be necessary for some embedded
+    applications. Especially in the case of a user console, currently
+    there is no way to get input into a Flash movie but through a
+    TextField.
+  </para>
+
+  <variablelist>
+    <varlistentry>
+      <term>fopen</term>
+      <listitem>
+       <para>
+         Open the file.
+       </para>
+      </listitem>
+    </varlistentry>
+
+    <varlistentry>
+      <term>fread</term>
+      <listitem>
+       <para>
+         Read a series of bytes from the opened file.
+       </para>
+      </listitem>
+    </varlistentry>
+
+    <varlistentry>
+      <term>fgetc</term>
+      <listitem>
+       <para>
+         Read a single byte from the opened file.
+       </para>
+      </listitem>
+    </varlistentry>
+
+    <varlistentry>
+      <term>fgets</term>
+      <listitem>
+       <para>
+         Read a single line until a Cariage Return from the opened file.
+       </para>
+      </listitem>
+    </varlistentry>
+
+    <varlistentry>
+      <term>gets</term>
+      <listitem>
+       <para>
+         Read a single line from the standard in.
+       </para>
+      </listitem>
+    </varlistentry>
+
+    <varlistentry>
+      <term>getchar</term>
+      <listitem>
+       <para>
+         Read a single character from the standard in.
+       </para>
+      </listitem>
+    </varlistentry>
+
+    <varlistentry>
+      <term>fwrite</term>
+      <listitem>
+       <para>
+       </para>
+      </listitem>
+    </varlistentry>
+
+    <varlistentry>
+      <term>fputc</term>
+      <listitem>
+       <para>
+         Write a single character to the opened file.
+       </para>
+      </listitem>
+    </varlistentry>
+
+    <varlistentry>
+      <term>fputs</term>
+      <listitem>
+       <para>
+         Write a single line to the opened file.
+       </para>
+      </listitem>
+    </varlistentry>
+
+    <varlistentry>
+      <term>puts</term>
+      <listitem>
+       <para>
+         Write a single line to standard out..
+       </para>
+      </listitem>
+    </varlistentry>
+
+    <varlistentry>
+      <term>putchar</term>
+      <listitem>
+       <para>
+         Write a single character to standard out..
+       </para>
+      </listitem>
+    </varlistentry>
+
+    <varlistentry>
+      <term>fflush</term>
+      <listitem>
+       <para>
+         Flush the current opened file to disk.
+       </para>
+      </listitem>
+    </varlistentry>
+
+    <varlistentry>
+      <term>fseek</term>
+      <listitem>
+       <para>
+         Seek to a location within the opened file.
+       </para>
+      </listitem>
+    </varlistentry>
+
+    <varlistentry>
+      <term>ftell</term>
+      <listitem>
+       <para>
+         Report the current position within the opened file.
+       </para>
+      </listitem>
+    </varlistentry>
+
+    <varlistentry>
+      <term>fclose</term>
+      <listitem>
+       <para>
+         Close the opened file.
+       </para>
+      </listitem>
+    </varlistentry>
+
+  </variablelist>
+
+</sect3>

Index: doc/C/gtkext.xml
===================================================================
RCS file: doc/C/gtkext.xml
diff -N doc/C/gtkext.xml
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ doc/C/gtkext.xml    16 Feb 2007 05:34:21 -0000      1.1
@@ -0,0 +1,88 @@
+<?xml version="1.0" encoding="utf-8"?>
+<sect3 id="gtkext">
+  <title>Gtk Extension</title>
+
+  <para>
+    The GTK ActionScript class follows the same API as Gtk2, even down
+    to the same arguments to the same function names. This means
+    you're actually programming GTK,you're just using ActionScript
+    instead of python, perl, or C. This extension makes it possible to
+    write Flash movies that use the Gtk2 widgets for user interface
+    components.
+  </para>
+
+  <variablelist>
+    <varlistentry>
+      <term>window_new</term>
+      <listitem>
+       <para>
+         Create a new window.
+       </para>
+      </listitem>
+    </varlistentry>
+    
+    <varlistentry>
+      <term>signal_connect</term>
+      <listitem>
+       <para>
+         Add an event handler to a widget.
+       </para>
+      </listitem>
+    </varlistentry>
+    
+    <varlistentry>
+      <term>container_set_border_width</term>
+      <listitem>
+       <para>
+         Set the width of the window border.
+       </para>
+      </listitem>
+    </varlistentry>
+    
+    <varlistentry>
+      <term>button_new_with_label</term>
+      <listitem>
+       <para>
+         Create a new button and give it the specified label.
+       </para>
+      </listitem>
+    </varlistentry>
+    
+    <varlistentry>
+      <term>signal_connect_swapped</term>
+      <listitem>
+       <para>
+         Swap signals. Commonly used for <emphasis>delete</emphasis> event 
handling.
+       </para>
+      </listitem>
+    </varlistentry>
+    
+    <varlistentry>
+      <term>container_add</term>
+      <listitem>
+           <para>
+             Add one widget to another as a child.
+           </para>
+      </listitem>
+    </varlistentry>
+    
+    <varlistentry>
+      <term>widget_show</term>
+      <listitem>
+       <para>
+         Display the widget on the screen.
+       </para>
+      </listitem>
+    </varlistentry>
+    
+    <varlistentry>
+      <term>main</term>
+      <listitem>
+       <para>
+         Start the main GTK event loop. This function does not return.
+       </para>
+      </listitem>
+    </varlistentry>
+    
+  </variablelist>
+</sect3>
\ No newline at end of file

Index: doc/C/mysqlext.xml
===================================================================
RCS file: doc/C/mysqlext.xml
diff -N doc/C/mysqlext.xml
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ doc/C/mysqlext.xml  16 Feb 2007 05:34:21 -0000      1.1
@@ -0,0 +1,88 @@
+<?xml version="1.0" encoding="utf-8"?>
+<sect3 id="mysqlext">
+  <title>MySQL Extension</title>
+
+  <para>
+    The MySQL ActionScript class follows the same API as MySQL, even down
+    to the same arguments to the same function names. This enables a
+    Flash movie to have direct access to a MySQL
+    database. Traditionally Flash movies have had no datatbase
+    support, they either hsad to use arrays, or use XML to communicate
+    to an application specific external database daemon.
+  </para>
+
+  <variablelist>
+    <varlistentry>
+      <term>connect</term>
+      <listitem>
+       <para>
+         Connect to a MySQL database.
+       </para>
+      </listitem>
+    </varlistentry>
+
+    <varlistentry>
+      <term>qetData</term>
+      <listitem>
+       <para>
+         Get data from the database.
+       </para>
+      </listitem>
+    </varlistentry>
+
+    <varlistentry>
+      <term>disconnect</term>
+      <listitem>
+       <para>
+         Disconnect from a MySQL database.
+       </para>
+      </listitem>
+    </varlistentry>
+
+    <varlistentry>
+      <term>query</term>
+      <listitem>
+       <para>
+         Execute an SQL query to the database.
+       </para>
+      </listitem>
+    </varlistentry>
+
+    <varlistentry>
+      <term>fetch_row</term>
+      <listitem>
+       <para>
+         Fetch a row from the query results.
+       </para>
+      </listitem>
+    </varlistentry>
+
+    <varlistentry>
+      <term>num_fields</term>
+      <listitem>
+       <para>
+       </para>
+      </listitem>
+    </varlistentry>
+
+    <varlistentry>
+      <term>free_result</term>
+      <listitem>
+       <para>
+         Free the results of a query.
+       </para>
+      </listitem>
+    </varlistentry>
+
+    <varlistentry>
+      <term>store_results</term>
+      <listitem>
+       <para>
+         Store the results of a query.
+       </para>
+      </listitem>
+    </varlistentry>
+
+  </variablelist>
+  
+</sect3>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]