You can subscribe to this list here.
2006 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(41) |
Dec
(95) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2007 |
Jan
(48) |
Feb
(80) |
Mar
(140) |
Apr
(140) |
May
(42) |
Jun
(35) |
Jul
(67) |
Aug
(89) |
Sep
(159) |
Oct
(143) |
Nov
(177) |
Dec
(36) |
2008 |
Jan
(141) |
Feb
(194) |
Mar
(45) |
Apr
(69) |
May
(76) |
Jun
(111) |
Jul
(69) |
Aug
(2) |
Sep
(30) |
Oct
(26) |
Nov
(6) |
Dec
(19) |
2009 |
Jan
(27) |
Feb
(45) |
Mar
(92) |
Apr
|
May
(15) |
Jun
(14) |
Jul
|
Aug
(2) |
Sep
(22) |
Oct
(44) |
Nov
(5) |
Dec
(19) |
2010 |
Jan
(32) |
Feb
(5) |
Mar
(6) |
Apr
(3) |
May
(11) |
Jun
(7) |
Jul
(1) |
Aug
(9) |
Sep
(1) |
Oct
(3) |
Nov
|
Dec
|
2011 |
Jan
|
Feb
|
Mar
(33) |
Apr
|
May
(3) |
Jun
|
Jul
(4) |
Aug
|
Sep
(2) |
Oct
(11) |
Nov
|
Dec
(5) |
2012 |
Jan
|
Feb
|
Mar
(5) |
Apr
|
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2013 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(9) |
Jul
|
Aug
|
Sep
(3) |
Oct
|
Nov
|
Dec
|
2014 |
Jan
(10) |
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
(1) |
Jul
|
Aug
(1) |
Sep
|
Oct
(1) |
Nov
|
Dec
|
2015 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(10) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2016 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2017 |
Jan
(1) |
Feb
|
Mar
(3) |
Apr
(6) |
May
|
Jun
(5) |
Jul
(1) |
Aug
|
Sep
|
Oct
(14) |
Nov
(1) |
Dec
(1) |
2018 |
Jan
(3) |
Feb
(1) |
Mar
(3) |
Apr
|
May
(2) |
Jun
|
Jul
(1) |
Aug
|
Sep
|
Oct
|
Nov
(1) |
Dec
|
2020 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(10) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Stuart A. <and...@us...> - 2006-12-10 18:32:21
|
Update of /cvsroot/ming/ming/tcl_ext In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv4305/tcl_ext Added Files: Makefile.in Removed Files: Makefile Log Message: Add build support for tcl extension --- NEW FILE: Makefile.in --- CFLAGS += -I.. -I../src -I/usr/include/tcl8.4 LDFLAGS += -L.. -lming $(LIBS) all: mingc$(NOVAR_SHLIBEXT) mingc$(NOVAR_SHLIBEXT): ming_wrap.o $(CC) $(CFLAGS) -fpic -shared -o mingc$(NOVAR_SHLIBEXT) ming_wrap.o $(LDFLAGS) ming_wrap.o: ming_wrap.c $(CC) $(CFLAGS) -fpic -c ming_wrap.c -o ming_wrap.o ming_wrap.c: swig -I.. -tcl ming.i clean: rm -f mingc$(NOVAR_SHLIBEXT) core ming_wrap.c ming_wrap.doc *~ *.o --- Makefile DELETED --- |
From: Stuart A. <and...@us...> - 2006-12-10 18:32:20
|
Update of /cvsroot/ming/ming In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv4305 Modified Files: Makefile.am configure.in Log Message: Add build support for tcl extension Index: Makefile.am =================================================================== RCS file: /cvsroot/ming/ming/Makefile.am,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** Makefile.am 26 Nov 2006 23:07:18 -0000 1.11 --- Makefile.am 10 Dec 2006 18:32:11 -0000 1.12 *************** *** 23,26 **** --- 23,30 ---- endif + if BUILD_TCL_EXTENSION + TCLSUBDIR = tcl_ext + endif + SUBDIRS = \ src \ *************** *** 28,31 **** --- 32,36 ---- $(PHPSUBDIR) \ $(PYSUBDIR) \ + $(TCLSUBDIR) \ util \ docs \ Index: configure.in =================================================================== RCS file: /cvsroot/ming/ming/configure.in,v retrieving revision 1.55 retrieving revision 1.56 diff -C2 -d -r1.55 -r1.56 *** configure.in 26 Nov 2006 23:07:18 -0000 1.55 --- configure.in 10 Dec 2006 18:32:11 -0000 1.56 *************** *** 112,115 **** --- 112,198 ---- dnl -------------------------------------------- + dnl Check if we should build tcl extension + dnl -------------------------------------------- + + AC_PATH_PROG(TCL, tclsh) + AM_CONDITIONAL(HAVE_TCL, test x"$TCL" != x) + + AC_ARG_ENABLE( + [tcl], + [ --enable-tcl Enable build of tcl extension], + [case "${enableval}" in + yes) tcl_ext=yes ;; + no) tcl_ext=no ;; + *) AC_MSG_ERROR([bad value ${enableval} for --enable-tcl-ext option]) ;; + esac], tcl_ext=no) + + if test x"$tcl_ext" = xyes; then + if test x"$TCL" = x; then + AC_MSG_ERROR([Can't build tcl extension, as tcl executable could not be found]) + fi + + tcllibdirs_default="\ + $prefix/lib/itcl \ + $prefix/lib \ + $HOME/local/lib \ + $HOME/lib \ + /usr/local/lib \ + /usr/lib64 \ + /usr/lib" + + for i in $tcllibdirs_default; do + for suf in 8.3 8.4 ""; do + if test -f $i/libtcl$suf.so || test -f $i/libtcl$suf.a; then + TCL_LIB_DIR=$i + break + fi + done + done + + if test -z "$TCL_LIB_DIR"; then + AC_MSG_ERROR(Unable to find a Tcl library.) + fi + + tclincdirs_default="\ + /usr/include/tcl-private/generic \ + /usr/include/tk-private/generic \ + /usr/include/itcl-private/generic \ + /usr/include/tcl8.4 \ + /usr/include/tcl8.4/tcl-private/generic \ + /usr/include/tcl8.4/tk-private/generic \ + /usr/include/tcl8.4/itcl-private/generic \ + /usr/include/tcl8.4 \ + /usr/include/tcl8.3/tcl-private/generic \ + /usr/include/tcl8.3/tk-private/generic \ + /usr/include/tcl8.3/itcl-private/generic \ + /usr/include/tcl8.3 \ + /usr/include/tcl8.2/generic \ + $prefix/include/itcl \ + /usr/include/itcl3.1/generic/ \ + $prefix/include \ + $HOME/local/include \ + $HOME/include \ + /usr/local/include \ + /usr/include/tcl \ + /usr/include" + + for i in $tclincdirs_default; do + for suf in 8.3 8.4 ""; do + if test -f $i/tcl$suf/tcl.h; then + TCL_INC_DIR=$i + break + fi + done + done + + if test -z "$TCL_INC_DIR"; then + AC_MSG_ERROR(Unable to find a Tcl header.) + fi + + fi + + AM_CONDITIONAL(BUILD_TCL_EXTENSION, test x"$tcl_ext" = xyes) + + dnl -------------------------------------------- dnl Check for required programs dnl -------------------------------------------- *************** *** 239,242 **** --- 322,326 ---- php_ext/Makefile py_ext/Makefile + tcl_ext/Makefile test/Makefile test/Movie/Makefile *************** *** 281,284 **** --- 365,374 ---- fi + if test x"$tcl_ext" = "xyes"; then + echo " Tcl extension enabled" + else + echo " Tcl extension disabled" + fi + if test x"$ZLIB" != "x"; then echo " ZLIB enabled ($ZLIB)" |
From: A.Kleine <ak...@us...> - 2006-12-10 13:22:58
|
Update of /cvsroot/ming/ming/util In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv32046/ming/util Modified Files: decompile.c Log Message: differ between pre-fixed and post-fixed increment/decrement operations, currently for simple variables only. Note: this gives much better results on code lines like "text= x * (--x);" Index: decompile.c =================================================================== RCS file: /cvsroot/ming/ming/util/decompile.c,v retrieving revision 1.48 retrieving revision 1.49 diff -C2 -d -r1.48 -r1.49 *** decompile.c 6 Dec 2006 17:34:13 -0000 1.48 --- decompile.c 10 Dec 2006 13:22:53 -0000 1.49 *************** *** 251,254 **** --- 251,257 ---- strcat(t,"\""); return t; + + case 12: + case 11: /* INCREMENTED or DECREMENTED VARIABLE */ case 10: /* VARIABLE */ return act->p.String; *************** *** 380,383 **** --- 383,387 ---- } + struct SWF_ACTIONPUSHPARAM * newVar3(char *var,char *var2, char *var3) *************** *** 700,703 **** --- 704,709 ---- printf ("%s", pool[act->p.Constant16]); break; + case 12: + case 11: /* INCREMENTED or DECREMENTED VARIABLE */ case 10: /* VARIABLE */ printf ("%s", act->p.String); *************** *** 1235,1274 **** int ! decompileDECREMENT(int n, SWF_ACTION *actions,int maxn) { struct SWF_ACTIONPUSHPARAM *var; ! // SanityCheck(SWF_DECREMENT, ! // actions[n-1].SWF_ACTIONRECORD.ActionCode == SWFACTION_PUSH, ! // "DECREMENT not preceeded by PUSH") ! ! INDENT ! var=pop(); ! decompilePUSHPARAM(var,0); ! puts("--;\n"); ! push(var); ! if( (actions[n+1].SWF_ACTIONRECORD.ActionCode == SWFACTION_STOREREGISTER) && ! (var->Type == 4 /* Register */) && ! (actions[n+1].SWF_ACTIONSTOREREGISTER.Register == var->p.RegisterNumber) ) { ! regs[var->p.RegisterNumber] = var; /* Do the STOREREGISTER here */ ! return 1; /* Eat the StoreRegister that follows */ } ! ! return 0; ! } ! ! int ! decompileINCREMENT(int n, SWF_ACTION *actions,int maxn) ! { ! struct SWF_ACTIONPUSHPARAM *var; ! ! // SanityCheck(SWF_INCREMENT, ! // actions[n-1].SWF_ACTIONRECORD.ActionCode == SWFACTION_PUSH, ! // "INCREMENT not preceeded by PUSH") INDENT - var=pop(); decompilePUSHPARAM(var,0); ! puts("++;\n"); push(var); if( (actions[n+1].SWF_ACTIONRECORD.ActionCode == SWFACTION_STOREREGISTER) && --- 1241,1281 ---- int ! decompileINCR_DECR(int n, SWF_ACTION *actions,int maxn,int is_incr) { struct SWF_ACTIONPUSHPARAM *var; + char *dblop=is_incr ? "++":"--"; ! if ( actions[n-1].SWF_ACTIONRECORD.ActionCode == SWFACTION_PUSHDUP ! || actions[n+1].SWF_ACTIONRECORD.ActionCode == SWFACTION_PUSHDUP ! || actions[n+1].SWF_ACTIONRECORD.ActionCode == SWFACTION_SETVARIABLE) ! { // NEW inc/dec code (akleine, Dec 2006) ! var=pop(); ! int is_postop=(actions[n-1].SWF_ACTIONRECORD.ActionCode == SWFACTION_PUSHDUP)?1:0; ! if (is_postop) ! var = newVar2(getString(var),dblop); ! else ! var = newVar2(dblop,getString(var)); ! if (actions[n+1].SWF_ACTIONRECORD.ActionCode == SWFACTION_SETVARIABLE) ! { ! var->Type=11; /* later trigger printing variable inc/dec */ ! } ! else ! { ! var->Type=12; /* later be quiet, see decompileSETVARIABLE() */ ! if (is_postop) ! { ! pop(); ! push(var); /* will duplicate stacktop */ ! } ! } ! push(var); } ! else // OLD inc dec code (still used for SETMEMBER etc) ! { INDENT var=pop(); decompilePUSHPARAM(var,0); ! puts(dblop); ! puts(";\n"); push(var); if( (actions[n+1].SWF_ACTIONRECORD.ActionCode == SWFACTION_STOREREGISTER) && *************** *** 1278,1281 **** --- 1285,1289 ---- return 1; /* Eat the StoreRegister that follows */ } + } return 0; } *************** *** 1383,1393 **** val = pop(); var = pop(); ! if (strcmp(getName(val),getName(var))) { ! puts(getName(var)); ! printf(" = " ); ! /*puts(getName(val));*/ ! decompilePUSHPARAM(val,0); /* FIXME: 0 or 1 this needs more attention */ ! puts(";\n"); } return 0; --- 1391,1409 ---- val = pop(); var = pop(); ! ! switch (val->Type) { ! default: puts(getName(var)); ! printf(" = " ); ! /*puts(getName(val));*/ ! decompilePUSHPARAM(val,0); /* FIXME: 0 or 1 this needs more attention */ ! puts(";\n"); ! break; ! case 11: /* simply output variable and inc/dec op */ ! puts(getName(val)); ! puts(";\n"); ! break; ! case 12: /* do nothing: inline increment/decrement (using side effect only) */ ! break; } return 0; *************** *** 1775,1779 **** return 0; } ! /* not it seems we have a found the REAL 'if' statement, so it's right time to print the "if" just NOW! */ --- 1791,1795 ---- return 0; } ! /* it seems we have a found the REAL 'if' statement, so it's right time to print the "if" just NOW! */ *************** *** 2331,2338 **** case SWFACTION_DECREMENT: ! return decompileDECREMENT(n, actions, maxn); case SWFACTION_INCREMENT: ! return decompileINCREMENT(n, actions, maxn); case SWFACTION_STOREREGISTER: --- 2347,2354 ---- case SWFACTION_DECREMENT: ! return decompileINCR_DECR(n, actions, maxn,0); case SWFACTION_INCREMENT: ! return decompileINCR_DECR(n, actions, maxn,1); case SWFACTION_STOREREGISTER: |
From: A.Kleine <ak...@us...> - 2006-12-06 17:34:19
|
Update of /cvsroot/ming/ming/util In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv5639/ming/util Modified Files: decompile.c Log Message: Rewrote parts decompileIF() by a different approach handling code of conditioned jumps for logical OR and AND using stack. (But do not confuse with SWFACTION_LOGICAL... opcodes.) Index: decompile.c =================================================================== RCS file: /cvsroot/ming/ming/util/decompile.c,v retrieving revision 1.47 retrieving revision 1.48 diff -C2 -d -r1.47 -r1.48 *** decompile.c 7 Nov 2006 16:38:28 -0000 1.47 --- decompile.c 6 Dec 2006 17:34:13 -0000 1.48 *************** *** 1539,1543 **** int i=0; OUT_BEGIN2(SWF_ACTIONIF); ! /* * IF is used in various way to implement different types --- 1539,1543 ---- int i=0; OUT_BEGIN2(SWF_ACTIONIF); ! struct strbufinfo origbuf; /* * IF is used in various way to implement different types *************** *** 1641,1649 **** return 0; } ! /* * Any other use of IF must be a real if() */ - #if 0 if( isLogicalOp(n-1, actions, maxn) ) { INDENT --- 1641,1648 ---- return 0; } ! #if 0 /* * Any other use of IF must be a real if() */ if( isLogicalOp(n-1, actions, maxn) ) { INDENT *************** *** 1688,1699 **** SanityCheck(SWF_IF, 0, "IF type not recognized") ! #else /* 2006 NEW stuff comes here */ { int has_else_or_break= ((sact->Actions[sact->numActions-1].SWF_ACTIONRECORD.ActionCode == SWFACTION_JUMP) && (sact->Actions[sact->numActions-1].SWF_ACTIONJUMP.BranchOffset > 0 )) ? 1:0; int has_lognot=(actions[n-1].SWF_ACTIONRECORD.ActionCode == SWFACTION_LOGICALNOT) ? 1:0; ! int has_chain=0; ! int else_action_cnt=0; ! int sbi,sbe; /* before emitting any "if"/"else" characters let's check --- 1687,1698 ---- SanityCheck(SWF_IF, 0, "IF type not recognized") ! ! #else /* a.k. 2006 NEW stuff comes here */ { + #define SOME_IF_DEBUG 0 /* coders only */ int has_else_or_break= ((sact->Actions[sact->numActions-1].SWF_ACTIONRECORD.ActionCode == SWFACTION_JUMP) && (sact->Actions[sact->numActions-1].SWF_ACTIONJUMP.BranchOffset > 0 )) ? 1:0; int has_lognot=(actions[n-1].SWF_ACTIONRECORD.ActionCode == SWFACTION_LOGICALNOT) ? 1:0; ! int else_action_cnt=0,is_logor=0,is_logand=0,sbi,sbe; /* before emitting any "if"/"else" characters let's check *************** *** 1711,1715 **** else_action_cnt++) { ! #if 0 printf("/* ELSE OP 0x%x at %d*/\n",actions[n+1+else_action_cnt].SWF_ACTIONRECORD.ActionCode, actions[n+1+else_action_cnt].SWF_ACTIONRECORD.Offset) --- 1710,1714 ---- else_action_cnt++) { ! #if SOME_IF_DEBUG printf("/* ELSE OP 0x%x at %d*/\n",actions[n+1+else_action_cnt].SWF_ACTIONRECORD.ActionCode, actions[n+1+else_action_cnt].SWF_ACTIONRECORD.Offset) *************** *** 1723,1727 **** if (sbi==1 && sbe==1) { ! #if 0 puts("/* ****Found ternary ternary operation \"cond ? a : b\" **** */\n"); printf("If Actions=%d\n",sact->numActions-1); --- 1722,1726 ---- if (sbi==1 && sbe==1) { ! #if SOME_IF_DEBUG puts("/* ****Found ternary ternary operation \"cond ? a : b\" **** */\n"); printf("If Actions=%d\n",sact->numActions-1); *************** *** 1748,1799 **** else { ! /* does it continue any other condition sequence ? ! Something like: if (x>2 && 7>y || callme(123) || false) { this(); } else { that(); } ! */ ! if ( isLogicalOp2(n-1, actions, maxn) && ! ( (isLogicalOp2(n-2, actions, maxn) && has_else_or_break) || ! actions[n-2].SWF_ACTIONRECORD.ActionCode == SWFACTION_IF )) ! { ! /* continued with || or && and else clause is present */ ! } ! else ! { ! if ( actions[n-1].SWF_ACTIONRECORD.ActionCode == SWFACTION_LOGICALNOT ! && ( ! actions[n-2].SWF_ACTIONRECORD.ActionCode == SWFACTION_PUSHDUP ! ||actions[n-2].SWF_ACTIONRECORD.ActionCode == SWFACTION_LOGICALNOT ! ) && ! actions[n-3].SWF_ACTIONRECORD.ActionCode == SWFACTION_IF ) ! { ! /* continued with && */ ! } ! else ! { ! INDENT ! puts("if( "); ! } ! } ! ! puts(getName(pop())); /* the condition itself */ ! ! /* is it followed by another condition ? */ ! if ( actions[n-1].SWF_ACTIONRECORD.ActionCode == SWFACTION_PUSHDUP ) ! { ! puts(" || "); ! has_chain=1; /* i.e. do NOT write '}' below */ ! } ! else ! { ! if (actions[n-1].SWF_ACTIONRECORD.ActionCode == SWFACTION_LOGICALNOT && ! actions[n-2].SWF_ACTIONRECORD.ActionCode == SWFACTION_PUSHDUP ) ! { ! puts(" && "); ! has_chain=1; ! } ! else ! puts(" ) {\n"); ! } ! if ( has_else_or_break ) ! { int limit=actions[n+1].SWF_ACTIONRECORD.Offset+ sact->Actions[sact->numActions-1].SWF_ACTIONJUMP.BranchOffset; --- 1747,1787 ---- else { ! /* at this point let's check for conditioned jumps that are NOT 'if': ! currently that is code for the locical operations && and || ! */ ! if (actions[n-1].SWF_ACTIONRECORD.ActionCode == SWFACTION_PUSHDUP) ! is_logor=1; ! if (actions[n-2].SWF_ACTIONRECORD.ActionCode == SWFACTION_PUSHDUP ! && actions[n-1].SWF_ACTIONRECORD.ActionCode == SWFACTION_LOGICALNOT) ! is_logand=1; ! if (is_logor || is_logand) ! { ! #if SOME_IF_DEBUG ! printf("\n/* detected LOGICAL %s: %d actions*/\n",is_logor ? "OR":"AND",sact->numActions); ! #endif ! #if USE_LIB ! origbuf=setTempString(); /* switch to a temporary string buffer */ ! #endif ! puts(getName(pop())); /* get left side of logical or */ ! puts(is_logor ? " || ":" && "); ! decompileActions(sact->numActions, sact->Actions,gIndent+1); ! puts(getName(pop())); /* get right side of logical or */ ! #if USE_LIB ! push(newVar(dcgetstr())); ! setOrigString(origbuf); /* switch back to orig buffer */ ! #else ! push (newVar("/* see logical term lines above */")); ! #endif ! return 0; ! } ! /* not it seems we have a found the REAL 'if' statement, ! so it's right time to print the "if" just NOW! ! */ ! INDENT ! puts("if( "); ! puts(getName(pop())); /* the condition itself */ ! puts(" ) {\n"); ! if ( has_else_or_break ) ! { int limit=actions[n+1].SWF_ACTIONRECORD.Offset+ sact->Actions[sact->numActions-1].SWF_ACTIONJUMP.BranchOffset; *************** *** 1823,1827 **** puts("} else {\n"); } - decompileActions(else_action_cnt , &actions[n+1],gIndent+1); if (!has_lognot) /* the missing if-part just NOW */ --- 1811,1814 ---- *************** *** 1838,1846 **** decompileActions(sact->numActions, sact->Actions,gIndent+1); } ! if ( !has_chain ) /* standalone condition or last in a chain */ ! { ! INDENT ! puts("}\n"); ! } } return i; --- 1825,1830 ---- decompileActions(sact->numActions, sact->Actions,gIndent+1); } ! INDENT ! puts("}\n"); } return i; |
From: Stuart A. <and...@us...> - 2006-11-28 00:55:40
|
Update of /cvsroot/ming/ming/php_ext In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv27372 Modified Files: config.m4 Log Message: Look in the loca src tree first when trying to find headers Index: config.m4 =================================================================== RCS file: /cvsroot/ming/ming/php_ext/config.m4,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** config.m4 15 Oct 2006 18:57:33 -0000 1.8 --- config.m4 28 Nov 2006 00:55:37 -0000 1.9 *************** *** 11,15 **** AC_CHECK_LIB(m, sin) ! for i in $PHP_MING /usr/local /usr; do if test -f $i/$PHP_LIBDIR/libming.$SHLIB_SUFFIX_NAME || test -f $i/$PHP_LIBDIR/libming.a; then MING_DIR=$i --- 11,15 ---- AC_CHECK_LIB(m, sin) ! for i in $PHP_MING ../../src /usr/local /usr; do if test -f $i/$PHP_LIBDIR/libming.$SHLIB_SUFFIX_NAME || test -f $i/$PHP_LIBDIR/libming.a; then MING_DIR=$i *************** *** 22,26 **** fi ! for i in $MING_DIR/include $MING_DIR/include/ming $MING_DIR/ming/include; do if test -f $i/ming.h; then MING_INC_DIR=$i --- 22,26 ---- fi ! for i in ../../src $MING_DIR/include $MING_DIR/include/ming $MING_DIR/ming/include; do if test -f $i/ming.h; then MING_INC_DIR=$i |
From: Stuart A. <and...@us...> - 2006-11-27 00:53:42
|
Update of /cvsroot/ming/ming/py_ext In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv24254/py_ext Modified Files: ming_wrap.c mingc.py Removed Files: ming.i Log Message: Eliminate the duplicate ming.i, and move the good one to the top so other languages can swig it Index: ming_wrap.c =================================================================== RCS file: /cvsroot/ming/ming/py_ext/ming_wrap.c,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** ming_wrap.c 1 Aug 2006 07:11:31 -0000 1.4 --- ming_wrap.c 27 Nov 2006 00:53:37 -0000 1.5 *************** *** 1,5 **** /* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). ! * Version 1.3.20 * * This file is not intended to be easily readable and contains a number of --- 1,5 ---- /* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). ! * Version 1.3.29 * [...18955 lines suppressed...] + SWIG_Python_SetConstant(d, "SWFBUTTON_OVERUPTOIDLE",SWIG_From_int((int)((1 << 1)))); + SWIG_Python_SetConstant(d, "SWFBUTTON_IDLETOOVERUP",SWIG_From_int((int)((1 << 0)))); + SWIG_Python_SetConstant(d, "SWFBUTTON_MOUSEUPOUTSIDE",SWIG_From_int((int)((1 << 6)))); + SWIG_Python_SetConstant(d, "SWFBUTTON_DRAGOVER",SWIG_From_int((int)(((1 << 5)|(1 << 7))))); + SWIG_Python_SetConstant(d, "SWFBUTTON_DRAGOUT",SWIG_From_int((int)(((1 << 4)|(1 << 8))))); + SWIG_Python_SetConstant(d, "SWFBUTTON_MOUSEUP",SWIG_From_int((int)((1 << 3)))); + SWIG_Python_SetConstant(d, "SWFBUTTON_MOUSEDOWN",SWIG_From_int((int)((1 << 2)))); + SWIG_Python_SetConstant(d, "SWFBUTTON_MOUSEOUT",SWIG_From_int((int)((1 << 1)))); + SWIG_Python_SetConstant(d, "SWFBUTTON_MOUSEOVER",SWIG_From_int((int)((1 << 0)))); + SWIG_Python_SetConstant(d, "SWFACTION_ONLOAD",SWIG_From_int((int)((1 << 0)))); + SWIG_Python_SetConstant(d, "SWFACTION_ENTERFRAME",SWIG_From_int((int)((1 << 1)))); + SWIG_Python_SetConstant(d, "SWFACTION_UNLOAD",SWIG_From_int((int)((1 << 2)))); + SWIG_Python_SetConstant(d, "SWFACTION_MOUSEMOVE",SWIG_From_int((int)((1 << 3)))); + SWIG_Python_SetConstant(d, "SWFACTION_MOUSEDOWN",SWIG_From_int((int)((1 << 4)))); + SWIG_Python_SetConstant(d, "SWFACTION_MOUSEUP",SWIG_From_int((int)((1 << 5)))); + SWIG_Python_SetConstant(d, "SWFACTION_KEYDOWN",SWIG_From_int((int)((1 << 6)))); + SWIG_Python_SetConstant(d, "SWFACTION_KEYUP",SWIG_From_int((int)((1 << 7)))); + SWIG_Python_SetConstant(d, "SWFACTION_DATA",SWIG_From_int((int)((1 << 8)))); } Index: mingc.py =================================================================== RCS file: /cvsroot/ming/ming/py_ext/mingc.py,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** mingc.py 1 Aug 2006 07:11:31 -0000 1.3 --- mingc.py 27 Nov 2006 00:53:37 -0000 1.4 *************** *** 1,24 **** ! # This file was created automatically by SWIG. # Don't modify this file, modify the SWIG interface instead. # This file is compatible with both classic and new-style classes. import _mingc ! ! def _swig_setattr(self,class_type,name,value): if (name == "this"): ! if isinstance(value, class_type): ! self.__dict__[name] = value.this ! if hasattr(value,"thisown"): self.__dict__["thisown"] = value.thisown ! del value.thisown return method = class_type.__swig_setmethods__.get(name,None) if method: return method(self,value) ! self.__dict__[name] = value def _swig_getattr(self,class_type,name): method = class_type.__swig_getmethods__.get(name,None) if method: return method(self) raise AttributeError,name import types try: --- 1,36 ---- ! # This file was created automatically by SWIG 1.3.29. # Don't modify this file, modify the SWIG interface instead. # This file is compatible with both classic and new-style classes. import _mingc ! import new ! new_instancemethod = new.instancemethod ! def _swig_setattr_nondynamic(self,class_type,name,value,static=1): ! if (name == "thisown"): return self.this.own(value) if (name == "this"): ! if type(value).__name__ == 'PySwigObject': ! self.__dict__[name] = value return method = class_type.__swig_setmethods__.get(name,None) if method: return method(self,value) ! if (not static) or hasattr(self,name): ! self.__dict__[name] = value ! else: ! raise AttributeError("You cannot add attributes to %s" % self) ! ! def _swig_setattr(self,class_type,name,value): ! return _swig_setattr_nondynamic(self,class_type,name,value,0) def _swig_getattr(self,class_type,name): + if (name == "thisown"): return self.this.own() method = class_type.__swig_getmethods__.get(name,None) if method: return method(self) raise AttributeError,name + def _swig_repr(self): + try: strthis = "proxy of " + self.this.__repr__() + except: strthis = "" + return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,) + import types try: *************** *** 31,101 **** - Ming_init = _mingc.Ming_init - Ming_cleanup = _mingc.Ming_cleanup - Ming_collectGarbage = _mingc.Ming_collectGarbage - Ming_setCubicThreshold = _mingc.Ming_setCubicThreshold - Ming_setScale = _mingc.Ming_setScale - Ming_getScale = _mingc.Ming_getScale - Ming_useSWFVersion = _mingc.Ming_useSWFVersion - Ming_setSWFCompression = _mingc.Ming_setSWFCompression - fileOutputMethod = _mingc.fileOutputMethod - newSWFInput_file = _mingc.newSWFInput_file - newSWFInput_stream = _mingc.newSWFInput_stream - newSWFInput_buffer = _mingc.newSWFInput_buffer - newSWFInput_allocedBuffer = _mingc.newSWFInput_allocedBuffer - destroySWFInput = _mingc.destroySWFInput - SWFInput_length = _mingc.SWFInput_length - SWFInput_rewind = _mingc.SWFInput_rewind - SWFInput_tell = _mingc.SWFInput_tell - SWFInput_seek = _mingc.SWFInput_seek - SWFInput_eof = _mingc.SWFInput_eof - SWFCharacter_getWidth = _mingc.SWFCharacter_getWidth - SWFCharacter_getHeight = _mingc.SWFCharacter_getHeight - newSWFBitmap_fromInput = _mingc.newSWFBitmap_fromInput - destroySWFBitmap = _mingc.destroySWFBitmap - SWFBitmap_getWidth = _mingc.SWFBitmap_getWidth - SWFBitmap_getHeight = _mingc.SWFBitmap_getHeight - newSWFDBLBitmap = _mingc.newSWFDBLBitmap - newSWFDBLBitmap_fromInput = _mingc.newSWFDBLBitmap_fromInput - newSWFJpegBitmap = _mingc.newSWFJpegBitmap - newSWFJpegBitmap_fromInput = _mingc.newSWFJpegBitmap_fromInput - newSWFJpegWithAlpha = _mingc.newSWFJpegWithAlpha - newSWFJpegWithAlpha_fromInput = _mingc.newSWFJpegWithAlpha_fromInput - newSWFGradient = _mingc.newSWFGradient - destroySWFGradient = _mingc.destroySWFGradient - SWFGradient_addEntry = _mingc.SWFGradient_addEntry SWFFILL_SOLID = _mingc.SWFFILL_SOLID --- 43,79 ---- *************** *** 106,232 **** SWFFILL_TILED_BITMAP = _mingc.SWFFILL_TILED_BITMAP SWFFILL_CLIPPED_BITMAP = _mingc.SWFFILL_CLIPPED_BITMAP - newSWFSolidFillStyle = _mingc.newSWFSolidFillStyle - newSWFGradientFillStyle = _mingc.newSWFGradientFillStyle - newSWFBitmapFillStyle = _mingc.newSWFBitmapFillStyle - SWFFillStyle_getMatrix = _mingc.SWFFillStyle_getMatrix - newSWFLineStyle = _mingc.newSWFLineStyle - newSWFShape = _mingc.newSWFShape - newSWFShapeFromBitmap = _mingc.newSWFShapeFromBitmap - destroySWFShape = _mingc.destroySWFShape - SWFShape_end = _mingc.SWFShape_end - SWFShape_movePenTo = _mingc.SWFShape_movePenTo - SWFShape_movePen = _mingc.SWFShape_movePen - SWFShape_getPenX = _mingc.SWFShape_getPenX - SWFShape_getPenY = _mingc.SWFShape_getPenY - SWFShape_getPen = _mingc.SWFShape_getPen - SWFShape_drawLineTo = _mingc.SWFShape_drawLineTo - SWFShape_drawLine = _mingc.SWFShape_drawLine - SWFShape_drawCurveTo = _mingc.SWFShape_drawCurveTo - SWFShape_drawCurve = _mingc.SWFShape_drawCurve - SWFShape_setLineStyle = _mingc.SWFShape_setLineStyle - SWFShape_hideLine = _mingc.SWFShape_hideLine - SWFShape_addSolidFillStyle = _mingc.SWFShape_addSolidFillStyle - SWFShape_addGradientFillStyle = _mingc.SWFShape_addGradientFillStyle - SWFShape_addBitmapFillStyle = _mingc.SWFShape_addBitmapFillStyle - SWFShape_setLeftFillStyle = _mingc.SWFShape_setLeftFillStyle - SWFShape_setRightFillStyle = _mingc.SWFShape_setRightFillStyle - newSWFMorphShape = _mingc.newSWFMorphShape - destroySWFMorph = _mingc.destroySWFMorph - SWFMorph_getShape1 = _mingc.SWFMorph_getShape1 - SWFMorph_getShape2 = _mingc.SWFMorph_getShape2 - newSWFFont = _mingc.newSWFFont - loadSWFFontFromFile = _mingc.loadSWFFontFromFile - destroySWFFont = _mingc.destroySWFFont - SWFFont_getStringWidth = _mingc.SWFFont_getStringWidth - SWFFont_getUTF8StringWidth = _mingc.SWFFont_getUTF8StringWidth - SWFFont_getWideStringWidth = _mingc.SWFFont_getWideStringWidth - SWFFont_getAscent = _mingc.SWFFont_getAscent - SWFFont_getDescent = _mingc.SWFFont_getDescent - SWFFont_getLeading = _mingc.SWFFont_getLeading - SWFFont_getShape = _mingc.SWFFont_getShape - newSWFText = _mingc.newSWFText - newSWFText2 = _mingc.newSWFText2 - destroySWFText = _mingc.destroySWFText - SWFText_setFont = _mingc.SWFText_setFont - SWFText_setHeight = _mingc.SWFText_setHeight - SWFText_setColor = _mingc.SWFText_setColor - SWFText_moveTo = _mingc.SWFText_moveTo - SWFText_addString = _mingc.SWFText_addString - SWFText_addUTF8String = _mingc.SWFText_addUTF8String - SWFText_addWideString = _mingc.SWFText_addWideString - SWFText_setSpacing = _mingc.SWFText_setSpacing - SWFText_getStringWidth = _mingc.SWFText_getStringWidth - SWFText_getUTF8StringWidth = _mingc.SWFText_getUTF8StringWidth - SWFText_getWideStringWidth = _mingc.SWFText_getWideStringWidth - SWFText_getAscent = _mingc.SWFText_getAscent - SWFText_getDescent = _mingc.SWFText_getDescent - SWFText_getLeading = _mingc.SWFText_getLeading - newSWFBrowserFont = _mingc.newSWFBrowserFont - destroySWFBrowserFont = _mingc.destroySWFBrowserFont - SWFMovie_addFont = _mingc.SWFMovie_addFont - SWFFontCharacter_addChars = _mingc.SWFFontCharacter_addChars - SWFFontCharacter_addUTF8Chars = _mingc.SWFFontCharacter_addUTF8Chars - SWFMovie_importFont = _mingc.SWFMovie_importFont SWFTEXTFIELD_ONMASK = _mingc.SWFTEXTFIELD_ONMASK --- 84,148 ---- *************** *** 250,308 **** SWFTEXTFIELD_ALIGN_CENTER = _mingc.SWFTEXTFIELD_ALIGN_CENTER SWFTEXTFIELD_ALIGN_JUSTIFY = _mingc.SWFTEXTFIELD_ALIGN_JUSTIFY - newSWFTextField = _mingc.newSWFTextField - destroySWFTextField = _mingc.destroySWFTextField - SWFTextField_setFont = _mingc.SWFTextField_setFont - SWFTextField_setBounds = _mingc.SWFTextField_setBounds - SWFTextField_setFlags = _mingc.SWFTextField_setFlags - SWFTextField_setColor = _mingc.SWFTextField_setColor - SWFTextField_setVariableName = _mingc.SWFTextField_setVariableName - SWFTextField_addString = _mingc.SWFTextField_addString - SWFTextField_addUTF8String = _mingc.SWFTextField_addUTF8String - SWFTextField_setHeight = _mingc.SWFTextField_setHeight - SWFTextField_setFieldHeight = _mingc.SWFTextField_setFieldHeight - SWFTextField_setLeftMargin = _mingc.SWFTextField_setLeftMargin - SWFTextField_setRightMargin = _mingc.SWFTextField_setRightMargin - SWFTextField_setIndentation = _mingc.SWFTextField_setIndentation - SWFTextField_setLineSpacing = _mingc.SWFTextField_setLineSpacing - SWFTextField_setPadding = _mingc.SWFTextField_setPadding - SWFTextField_addChars = _mingc.SWFTextField_addChars - SWFTextField_setAlignment = _mingc.SWFTextField_setAlignment - SWFTextField_setLength = _mingc.SWFTextField_setLength - newSWFSoundStream = _mingc.newSWFSoundStream - newSWFSoundStreamFromFileno = _mingc.newSWFSoundStreamFromFileno - newSWFSoundStream_fromInput = _mingc.newSWFSoundStream_fromInput - SWFSoundStream_getFrames = _mingc.SWFSoundStream_getFrames - destroySWFSoundStream = _mingc.destroySWFSoundStream - newSWFSound = _mingc.newSWFSound - newSWFSoundFromFileno = _mingc.newSWFSoundFromFileno - newSWFSound_fromInput = _mingc.newSWFSound_fromInput - destroySWFSound = _mingc.destroySWFSound SWF_SOUND_COMPRESSION = _mingc.SWF_SOUND_COMPRESSION --- 166,196 ---- *************** *** 323,349 **** SWF_SOUND_MONO = _mingc.SWF_SOUND_MONO SWF_SOUND_STEREO = _mingc.SWF_SOUND_STEREO - SWFSoundInstance_setLoopInPoint = _mingc.SWFSoundInstance_setLoopInPoint - SWFSoundInstance_setLoopOutPoint = _mingc.SWFSoundInstance_setLoopOutPoint - SWFSoundInstance_setLoopCount = _mingc.SWFSoundInstance_setLoopCount - SWFSoundInstance_setNoMultiple = _mingc.SWFSoundInstance_setNoMultiple - newSWFCXform = _mingc.newSWFCXform - newSWFAddCXform = _mingc.newSWFAddCXform - newSWFMultCXform = _mingc.newSWFMultCXform - destroySWFCXform = _mingc.destroySWFCXform - SWFCXform_setColorAdd = _mingc.SWFCXform_setColorAdd - SWFCXform_setColorMult = _mingc.SWFCXform_setColorMult - compileSWFActionCode = _mingc.compileSWFActionCode - destroySWFAction = _mingc.destroySWFAction SWFBUTTON_HIT = _mingc.SWFBUTTON_HIT --- 211,225 ---- *************** *** 371,401 **** SWFBUTTON_MOUSEOUT = _mingc.SWFBUTTON_MOUSEOUT SWFBUTTON_MOUSEOVER = _mingc.SWFBUTTON_MOUSEOVER - newSWFButton = _mingc.newSWFButton - destroySWFButton = _mingc.destroySWFButton - SWFButton_addShape = _mingc.SWFButton_addShape - SWFButton_addAction = _mingc.SWFButton_addAction - SWFButton_addSound = _mingc.SWFButton_addSound - SWFButton_setMenu = _mingc.SWFButton_setMenu - newSWFVideoStream_fromFile = _mingc.newSWFVideoStream_fromFile - newSWFVideoStream_fromInput = _mingc.newSWFVideoStream_fromInput - newSWFVideoStream = _mingc.newSWFVideoStream - SWFVideoStream_setDimension = _mingc.SWFVideoStream_setDimension - SWFVideoStream_getNumFrames = _mingc.SWFVideoStream_getNumFrames - newSWFSprite = _mingc.newSWFSprite - destroySWFSprite = _mingc.destroySWFSprite - SWFSprite_addBlock = _mingc.SWFSprite_addBlock class _swfPosition(_object): --- 247,263 ---- *************** *** 404,409 **** __swig_getmethods__ = {} __getattr__ = lambda self, name: _swig_getattr(self, _swfPosition, name) ! def __repr__(self): ! return "<C _swfPosition instance at %s>" % (self.this,) __swig_setmethods__["x"] = _mingc._swfPosition_x_set __swig_getmethods__["x"] = _mingc._swfPosition_x_get --- 266,270 ---- __swig_getmethods__ = {} __getattr__ = lambda self, name: _swig_getattr(self, _swfPosition, name) ! __repr__ = _swig_repr __swig_setmethods__["x"] = _mingc._swfPosition_x_set __swig_getmethods__["x"] = _mingc._swfPosition_x_get *************** *** 430,529 **** __swig_getmethods__["matrix"] = _mingc._swfPosition_matrix_get if _newclass:matrix = property(_mingc._swfPosition_matrix_get, _mingc._swfPosition_matrix_set) ! def __init__(self, *args): ! _swig_setattr(self, _swfPosition, 'this', _mingc.new__swfPosition(*args)) ! _swig_setattr(self, _swfPosition, 'thisown', 1) ! def __del__(self, destroy=_mingc.delete__swfPosition): ! try: ! if self.thisown: destroy(self) ! except: pass ! ! class _swfPositionPtr(_swfPosition): ! def __init__(self, this): ! _swig_setattr(self, _swfPosition, 'this', this) ! if not hasattr(self,"thisown"): _swig_setattr(self, _swfPosition, 'thisown', 0) ! _swig_setattr(self, _swfPosition,self.__class__,_swfPosition) ! _mingc._swfPosition_swigregister(_swfPositionPtr) ! newSWFPosition = _mingc.newSWFPosition - destroySWFPosition = _mingc.destroySWFPosition - SWFPosition_skewX = _mingc.SWFPosition_skewX - SWFPosition_skewXTo = _mingc.SWFPosition_skewXTo - SWFPosition_skewY = _mingc.SWFPosition_skewY - SWFPosition_skewYTo = _mingc.SWFPosition_skewYTo - SWFPosition_scaleX = _mingc.SWFPosition_scaleX - SWFPosition_scaleXTo = _mingc.SWFPosition_scaleXTo - SWFPosition_scaleY = _mingc.SWFPosition_scaleY - SWFPosition_scaleYTo = _mingc.SWFPosition_scaleYTo - SWFPosition_scaleXY = _mingc.SWFPosition_scaleXY - SWFPosition_scaleXYTo = _mingc.SWFPosition_scaleXYTo - SWFPosition_setMatrix = _mingc.SWFPosition_setMatrix - SWFPosition_rotate = _mingc.SWFPosition_rotate - SWFPosition_rotateTo = _mingc.SWFPosition_rotateTo - SWFPosition_move = _mingc.SWFPosition_move - SWFPosition_moveTo = _mingc.SWFPosition_moveTo - SWFDisplayItem_move = _mingc.SWFDisplayItem_move - SWFDisplayItem_moveTo = _mingc.SWFDisplayItem_moveTo - SWFDisplayItem_rotate = _mingc.SWFDisplayItem_rotate - SWFDisplayItem_rotateTo = _mingc.SWFDisplayItem_rotateTo - SWFDisplayItem_scale = _mingc.SWFDisplayItem_scale - SWFDisplayItem_scaleTo = _mingc.SWFDisplayItem_scaleTo - SWFDisplayItem_skewX = _mingc.SWFDisplayItem_skewX - SWFDisplayItem_skewXTo = _mingc.SWFDisplayItem_skewXTo - SWFDisplayItem_skewY = _mingc.SWFDisplayItem_skewY - SWFDisplayItem_skewYTo = _mingc.SWFDisplayItem_skewYTo - SWFDisplayItem_getPosition = _mingc.SWFDisplayItem_getPosition - SWFDisplayItem_getRotation = _mingc.SWFDisplayItem_getRotation - SWFDisplayItem_getScale = _mingc.SWFDisplayItem_getScale - SWFDisplayItem_getSkew = _mingc.SWFDisplayItem_getSkew - SWFDisplayItem_setMatrix = _mingc.SWFDisplayItem_setMatrix - SWFDisplayItem_getDepth = _mingc.SWFDisplayItem_getDepth - SWFDisplayItem_setDepth = _mingc.SWFDisplayItem_setDepth - SWFDisplayItem_remove = _mingc.SWFDisplayItem_remove - SWFDisplayItem_setName = _mingc.SWFDisplayItem_setName - SWFDisplayItem_setMaskLevel = _mingc.SWFDisplayItem_setMaskLevel - SWFDisplayItem_setRatio = _mingc.SWFDisplayItem_setRatio - SWFDisplayItem_setCXform = _mingc.SWFDisplayItem_setCXform - SWFDisplayItem_setColorAdd = _mingc.SWFDisplayItem_setColorAdd - SWFDisplayItem_setColorMult = _mingc.SWFDisplayItem_setColorMult SWFACTION_ONLOAD = _mingc.SWFACTION_ONLOAD --- 291,343 ---- __swig_getmethods__["matrix"] = _mingc._swfPosition_matrix_get if _newclass:matrix = property(_mingc._swfPosition_matrix_get, _mingc._swfPosition_matrix_set) ! def __init__(self, *args): ! this = _mingc.new__swfPosition(*args) ! try: self.this.append(this) ! except: self.this = this ! __swig_destroy__ = _mingc.delete__swfPosition ! __del__ = lambda self : None; ! _swfPosition_swigregister = _mingc._swfPosition_swigregister ! _swfPosition_swigregister(_swfPosition) newSWFPosition = _mingc.newSWFPosition destroySWFPosition = _mingc.destroySWFPosition SWFPosition_skewX = _mingc.SWFPosition_skewX SWFPosition_skewXTo = _mingc.SWFPosition_skewXTo SWFPosition_skewY = _mingc.SWFPosition_skewY SWFPosition_skewYTo = _mingc.SWFPosition_skewYTo SWFPosition_scaleX = _mingc.SWFPosition_scaleX SWFPosition_scaleXTo = _mingc.SWFPosition_scaleXTo SWFPosition_scaleY = _mingc.SWFPosition_scaleY SWFPosition_scaleYTo = _mingc.SWFPosition_scaleYTo SWFPosition_scaleXY = _mingc.SWFPosition_scaleXY SWFPosition_scaleXYTo = _mingc.SWFPosition_scaleXYTo SWFPosition_setMatrix = _mingc.SWFPosition_setMatrix SWFPosition_rotate = _mingc.SWFPosition_rotate SWFPosition_rotateTo = _mingc.SWFPosition_rotateTo SWFPosition_move = _mingc.SWFPosition_move SWFPosition_moveTo = _mingc.SWFPosition_moveTo SWFDisplayItem_move = _mingc.SWFDisplayItem_move SWFDisplayItem_moveTo = _mingc.SWFDisplayItem_moveTo SWFDisplayItem_rotate = _mingc.SWFDisplayItem_rotate SWFDisplayItem_rotateTo = _mingc.SWFDisplayItem_rotateTo SWFDisplayItem_scale = _mingc.SWFDisplayItem_scale SWFDisplayItem_scaleTo = _mingc.SWFDisplayItem_scaleTo SWFDisplayItem_skewX = _mingc.SWFDisplayItem_skewX SWFDisplayItem_skewXTo = _mingc.SWFDisplayItem_skewXTo SWFDisplayItem_skewY = _mingc.SWFDisplayItem_skewY SWFDisplayItem_skewYTo = _mingc.SWFDisplayItem_skewYTo SWFDisplayItem_getPosition = _mingc.SWFDisplayItem_getPosition SWFDisplayItem_getRotation = _mingc.SWFDisplayItem_getRotation SWFDisplayItem_getScale = _mingc.SWFDisplayItem_getScale SWFDisplayItem_getSkew = _mingc.SWFDisplayItem_getSkew SWFDisplayItem_setMatrix = _mingc.SWFDisplayItem_setMatrix SWFDisplayItem_getDepth = _mingc.SWFDisplayItem_getDepth SWFDisplayItem_setDepth = _mingc.SWFDisplayItem_setDepth SWFDisplayItem_remove = _mingc.SWFDisplayItem_remove SWFDisplayItem_setName = _mingc.SWFDisplayItem_setName SWFDisplayItem_setMaskLevel = _mingc.SWFDisplayItem_setMaskLevel SWFDisplayItem_setRatio = _mingc.SWFDisplayItem_setRatio SWFDisplayItem_setCXform = _mingc.SWFDisplayItem_setCXform SWFDisplayItem_setColorAdd = _mingc.SWFDisplayItem_setColorAdd SWFDisplayItem_setColorMult = _mingc.SWFDisplayItem_setColorMult SWFACTION_ONLOAD = _mingc.SWFACTION_ONLOAD *************** *** 536,664 **** SWFACTION_KEYUP = _mingc.SWFACTION_KEYUP SWFACTION_DATA = _mingc.SWFACTION_DATA - SWFDisplayItem_addAction = _mingc.SWFDisplayItem_addAction - newSWFFill = _mingc.newSWFFill - destroySWFFill = _mingc.destroySWFFill - SWFFill_skewX = _mingc.SWFFill_skewX - SWFFill_skewXTo = _mingc.SWFFill_skewXTo - SWFFill_skewY = _mingc.SWFFill_skewY - SWFFill_skewYTo = _mingc.SWFFill_skewYTo - SWFFill_scaleX = _mingc.SWFFill_scaleX - SWFFill_scaleXTo = _mingc.SWFFill_scaleXTo - SWFFill_scaleY = _mingc.SWFFill_scaleY - SWFFill_scaleYTo = _mingc.SWFFill_scaleYTo - SWFFill_scaleXY = _mingc.SWFFill_scaleXY - SWFFill_scaleXYTo = _mingc.SWFFill_scaleXYTo - SWFFill_rotate = _mingc.SWFFill_rotate - SWFFill_rotateTo = _mingc.SWFFill_rotateTo - SWFFill_move = _mingc.SWFFill_move - SWFFill_moveTo = _mingc.SWFFill_moveTo - SWFFill_setMatrix = _mingc.SWFFill_setMatrix - SWFShape_setLine = _mingc.SWFShape_setLine - SWFShape_addSolidFill = _mingc.SWFShape_addSolidFill - SWFShape_addGradientFill = _mingc.SWFShape_addGradientFill - SWFShape_addBitmapFill = _mingc.SWFShape_addBitmapFill - SWFShape_setLeftFill = _mingc.SWFShape_setLeftFill - SWFShape_setRightFill = _mingc.SWFShape_setRightFill - SWFShape_drawArc = _mingc.SWFShape_drawArc - SWFShape_drawCircle = _mingc.SWFShape_drawCircle - SWFShape_drawGlyph = _mingc.SWFShape_drawGlyph - SWFShape_drawSizedGlyph = _mingc.SWFShape_drawSizedGlyph - SWFShape_drawCubic = _mingc.SWFShape_drawCubic - SWFShape_drawCubicTo = _mingc.SWFShape_drawCubicTo - SWFShape_drawCharacterBounds = _mingc.SWFShape_drawCharacterBounds - newSWFMovieClip = _mingc.newSWFMovieClip - destroySWFMovieClip = _mingc.destroySWFMovieClip - SWFMovieClip_setNumberOfFrames = _mingc.SWFMovieClip_setNumberOfFrames - SWFMovieClip_nextFrame = _mingc.SWFMovieClip_nextFrame - SWFMovieClip_labelFrame = _mingc.SWFMovieClip_labelFrame - SWFMovieClip_add = _mingc.SWFMovieClip_add - SWFMovieClip_remove = _mingc.SWFMovieClip_remove - SWFMovieClip_setSoundStream = _mingc.SWFMovieClip_setSoundStream - SWFMovie_setSoundStreamAt = _mingc.SWFMovie_setSoundStreamAt - SWFMovieClip_startSound = _mingc.SWFMovieClip_startSound - SWFMovieClip_stopSound = _mingc.SWFMovieClip_stopSound - newSWFPrebuiltClip_fromFile = _mingc.newSWFPrebuiltClip_fromFile - newSWFPrebuiltClip_fromInput = _mingc.newSWFPrebuiltClip_fromInput - newSWFMovie = _mingc.newSWFMovie - newSWFMovieWithVersion = _mingc.newSWFMovieWithVersion - destroySWFMovie = _mingc.destroySWFMovie - SWFMovie_setRate = _mingc.SWFMovie_setRate - SWFMovie_setDimension = _mingc.SWFMovie_setDimension - SWFMovie_setNumberOfFrames = _mingc.SWFMovie_setNumberOfFrames - SWFMovie_protect = _mingc.SWFMovie_protect - SWFMovie_addExport = _mingc.SWFMovie_addExport - SWFMovie_setBackground = _mingc.SWFMovie_setBackground - SWFMovie_setSoundStream = _mingc.SWFMovie_setSoundStream - SWFMovie_startSound = _mingc.SWFMovie_startSound - SWFMovie_stopSound = _mingc.SWFMovie_stopSound - SWFMovie_add = _mingc.SWFMovie_add - SWFMovie_remove = _mingc.SWFMovie_remove - SWFMovie_nextFrame = _mingc.SWFMovie_nextFrame - SWFMovie_labelFrame = _mingc.SWFMovie_labelFrame - SWFMovie_output = _mingc.SWFMovie_output - SWFMovie_save = _mingc.SWFMovie_save - SWFMovie_importCharacter = _mingc.SWFMovie_importCharacter --- 350,416 ---- SWFACTION_KEYUP = _mingc.SWFACTION_KEYUP SWFACTION_DATA = _mingc.SWFACTION_DATA SWFDisplayItem_addAction = _mingc.SWFDisplayItem_addAction newSWFFill = _mingc.newSWFFill destroySWFFill = _mingc.destroySWFFill SWFFill_skewX = _mingc.SWFFill_skewX SWFFill_skewXTo = _mingc.SWFFill_skewXTo SWFFill_skewY = _mingc.SWFFill_skewY SWFFill_skewYTo = _mingc.SWFFill_skewYTo SWFFill_scaleX = _mingc.SWFFill_scaleX SWFFill_scaleXTo = _mingc.SWFFill_scaleXTo SWFFill_scaleY = _mingc.SWFFill_scaleY SWFFill_scaleYTo = _mingc.SWFFill_scaleYTo SWFFill_scaleXY = _mingc.SWFFill_scaleXY SWFFill_scaleXYTo = _mingc.SWFFill_scaleXYTo SWFFill_rotate = _mingc.SWFFill_rotate SWFFill_rotateTo = _mingc.SWFFill_rotateTo SWFFill_move = _mingc.SWFFill_move SWFFill_moveTo = _mingc.SWFFill_moveTo SWFFill_setMatrix = _mingc.SWFFill_setMatrix SWFShape_setLine = _mingc.SWFShape_setLine SWFShape_addSolidFill = _mingc.SWFShape_addSolidFill SWFShape_addGradientFill = _mingc.SWFShape_addGradientFill SWFShape_addBitmapFill = _mingc.SWFShape_addBitmapFill SWFShape_setLeftFill = _mingc.SWFShape_setLeftFill SWFShape_setRightFill = _mingc.SWFShape_setRightFill SWFShape_drawArc = _mingc.SWFShape_drawArc SWFShape_drawCircle = _mingc.SWFShape_drawCircle SWFShape_drawGlyph = _mingc.SWFShape_drawGlyph SWFShape_drawSizedGlyph = _mingc.SWFShape_drawSizedGlyph SWFShape_drawCubic = _mingc.SWFShape_drawCubic SWFShape_drawCubicTo = _mingc.SWFShape_drawCubicTo SWFShape_drawCharacterBounds = _mingc.SWFShape_drawCharacterBounds newSWFMovieClip = _mingc.newSWFMovieClip destroySWFMovieClip = _mingc.destroySWFMovieClip SWFMovieClip_setNumberOfFrames = _mingc.SWFMovieClip_setNumberOfFrames SWFMovieClip_nextFrame = _mingc.SWFMovieClip_nextFrame SWFMovieClip_labelFrame = _mingc.SWFMovieClip_labelFrame SWFMovieClip_add = _mingc.SWFMovieClip_add SWFMovieClip_remove = _mingc.SWFMovieClip_remove SWFMovieClip_setSoundStream = _mingc.SWFMovieClip_setSoundStream SWFMovie_setSoundStreamAt = _mingc.SWFMovie_setSoundStreamAt SWFMovieClip_startSound = _mingc.SWFMovieClip_startSound SWFMovieClip_stopSound = _mingc.SWFMovieClip_stopSound newSWFPrebuiltClip_fromFile = _mingc.newSWFPrebuiltClip_fromFile newSWFPrebuiltClip_fromInput = _mingc.newSWFPrebuiltClip_fromInput newSWFMovie = _mingc.newSWFMovie newSWFMovieWithVersion = _mingc.newSWFMovieWithVersion destroySWFMovie = _mingc.destroySWFMovie SWFMovie_setRate = _mingc.SWFMovie_setRate SWFMovie_setDimension = _mingc.SWFMovie_setDimension SWFMovie_setNumberOfFrames = _mingc.SWFMovie_setNumberOfFrames SWFMovie_protect = _mingc.SWFMovie_protect SWFMovie_addExport = _mingc.SWFMovie_addExport SWFMovie_setBackground = _mingc.SWFMovie_setBackground SWFMovie_setSoundStream = _mingc.SWFMovie_setSoundStream SWFMovie_startSound = _mingc.SWFMovie_startSound SWFMovie_stopSound = _mingc.SWFMovie_stopSound SWFMovie_add = _mingc.SWFMovie_add SWFMovie_remove = _mingc.SWFMovie_remove SWFMovie_nextFrame = _mingc.SWFMovie_nextFrame SWFMovie_labelFrame = _mingc.SWFMovie_labelFrame SWFMovie_output = _mingc.SWFMovie_output SWFMovie_save = _mingc.SWFMovie_save SWFMovie_importCharacter = _mingc.SWFMovie_importCharacter + --- ming.i DELETED --- |
From: Stuart A. <and...@us...> - 2006-11-27 00:53:40
|
Update of /cvsroot/ming/ming/test In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv24254/test Modified Files: dotests.pl Log Message: Eliminate the duplicate ming.i, and move the good one to the top so other languages can swig it Index: dotests.pl =================================================================== RCS file: /cvsroot/ming/ming/test/dotests.pl,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** dotests.pl 18 Jul 2006 00:49:31 -0000 1.6 --- dotests.pl 27 Nov 2006 00:53:37 -0000 1.7 *************** *** 120,124 **** if( !$ENV{'USE_INSTALLED'} ) { $ENV{'LD_LIBRARY_PATH'}=$TOP_BUILDDIR."/src/.libs"; ! $ENV{'PYTHONPATH'}=$TOP_BUILDDIR."/py_ext/build/lib.linux-i686-2.3"; $ENV{'PERL5LIB'}=$TOP_BUILDDIR."/perl_ext/blib/lib:".$TOP_BUILDDIR."/perl_ext/blib/arch/"; } else { --- 120,124 ---- if( !$ENV{'USE_INSTALLED'} ) { $ENV{'LD_LIBRARY_PATH'}=$TOP_BUILDDIR."/src/.libs"; ! $ENV{'PYTHONPATH'}=$TOP_BUILDDIR."/py_ext/build/lib.linux-i686-2.4"; $ENV{'PERL5LIB'}=$TOP_BUILDDIR."/perl_ext/blib/lib:".$TOP_BUILDDIR."/perl_ext/blib/arch/"; } else { |
From: Stuart A. <and...@us...> - 2006-11-27 00:53:40
|
Update of /cvsroot/ming/ming In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv24254 Modified Files: ming.i Log Message: Eliminate the duplicate ming.i, and move the good one to the top so other languages can swig it Index: ming.i =================================================================== RCS file: /cvsroot/ming/ming/ming.i,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -d -r1.13 -r1.14 *** ming.i 5 Apr 2006 16:18:38 -0000 1.13 --- ming.i 27 Nov 2006 00:53:37 -0000 1.14 *************** *** 2,7 **** --- 2,11 ---- %module mingc %include typemaps.i + %{ #include "ming.h" + + void error( char *msg ) {}; + %} [...988 lines suppressed...] + + void SWFMovie_setBackground(SWFMovie movie, byte r, byte g, byte b); + + void SWFMovie_setSoundStream(SWFMovie movie, SWFSoundStream sound); + SWFSoundInstance SWFMovie_startSound(SWFMovie movie, SWFSound sound); + void SWFMovie_stopSound(SWFMovie movie, SWFSound sound); + + SWFDisplayItem SWFMovie_add(SWFMovie movie, SWFBlock block); + void SWFMovie_remove(SWFMovie movie, SWFDisplayItem item); + + void SWFMovie_nextFrame(SWFMovie movie); + void SWFMovie_labelFrame(SWFMovie movie, const char *label); + + int SWFMovie_output(SWFMovie movie, SWFByteOutputMethod method, void *data); + int SWFMovie_save(SWFMovie movie, const char *filename); + + /* deprecated */ + /*int SWFMovie_outputC(SWFMovie movie, SWFByteOutputMethod method, void *data, int level);*/ + + SWFCharacter SWFMovie_importCharacter(SWFMovie movie, const char *filename, const char *name); |
From: strk <st...@ke...> - 2006-11-27 00:08:56
|
On Sun, Nov 26, 2006 at 11:07:20PM +0000, Stuart Anderson wrote: > Cause language bindings to build and show up in the dist tarballs Didn't we remove them in the past due to unclear licensing ? --strk; |
From: Stuart A. <and...@us...> - 2006-11-26 23:07:26
|
Update of /cvsroot/ming/ming/perl_ext In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv12335/perl_ext Modified Files: Makefile.am Log Message: Cause language bindings to build and show up in the dist tarballs Index: Makefile.am =================================================================== RCS file: /cvsroot/ming/ming/perl_ext/Makefile.am,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** Makefile.am 12 Jul 2006 09:27:35 -0000 1.2 --- Makefile.am 26 Nov 2006 23:07:18 -0000 1.3 *************** *** 1,2 **** --- 1,19 ---- + EXTRA_DIST = SWF/Action.pm SWF/Bitmap.pm SWF/Button.pm SWF/Constants.pm \ + SWF/DisplayItem.pm SWF/Fill.pm SWF/Font.pm SWF/Gradient.pm \ + SWF/Morph.pm SWF/Movie.pm SWF/Shape.pm SWF/Sound.pm \ + SWF/SoundInstance.pm SWF/SoundStream.pm SWF/Sprite.pm \ + SWF/Text.pm SWF/TextField.pm \ + t/00_basic.t t/01_shape.t t/03_movie.t t/button.t t/drag.t \ + t/fill.t t/filljpeg.t t/gradient.t t/png.t t/sound.t t/sprite.t\ + Action.xs Bitmap.xs Button.xs CREDITS Changes Constants.xs \ + DisplayItem.xs Exports.c Fill.xs Font.xs Gradient.xs MANIFEST \ + Makefile.PL Morph.xs Movie.xs MovieClip.xs README SUPPORT \ + SWF.pm SWF.xs Shape.xs Sound.xs SoundInstance.xs SoundStream.xs \ + TODO Text.xs TextField.xs VideoStream.xs perl_swf.h swf_util.c \ + typemap examples/action.cgi examples/alphafill.cgi \ + examples/animation.cgi examples/glyph.cgi examples/jpegfill.cgi \ + examples/keypress.cgi examples/morph.cgi examples/shape.cgi \ + examples/sprite.cgi examples/text.cgi + all: Makefile.perl $(MAKE) -f Makefile.perl |
From: Stuart A. <and...@us...> - 2006-11-26 23:07:24
|
Update of /cvsroot/ming/ming/php_ext In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv12335/php_ext Modified Files: make_module.sh Added Files: Makefile.am Removed Files: MANIFEST Makefile Log Message: Cause language bindings to build and show up in the dist tarballs Index: make_module.sh =================================================================== RCS file: /cvsroot/ming/ming/php_ext/make_module.sh,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** make_module.sh 1 Feb 2001 01:01:03 -0000 1.1.1.1 --- make_module.sh 26 Nov 2006 23:07:19 -0000 1.2 *************** *** 1,5 **** #!/bin/sh phpize ! ./configure --with-ming=/path/to/ming make ! make install --- 1,8 ---- #!/bin/sh + mkdir tmp + cp * tmp + cd tmp phpize ! ./configure --with-ming make ! #make install --- NEW FILE: Makefile.am --- EXTRA_DIST = config.m4 make_module.sh ming.c php_ming.h all: make_module.sh $(SHELL) make_module.sh clean-local: rm -rf tmp --- Makefile DELETED --- --- MANIFEST DELETED --- |
From: Stuart A. <and...@us...> - 2006-11-26 23:07:24
|
Update of /cvsroot/ming/ming/py_ext In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv12335/py_ext Added Files: Makefile.am Removed Files: Makefile Log Message: Cause language bindings to build and show up in the dist tarballs --- NEW FILE: Makefile.am --- EXTRA_DIST = Zwiff/README.txt Zwiff/__init__.py Zwiff/setFlags.py \ INSTALL README TODO ming.i ming.py ming_wrap.c \ mingc.def mingc.py setup.py shape.py MANIFEST all: build @echo "This Makefile is not yet edited" clean: @rm -Rf test.swf build build: $(PYTHON) setup.py build install: $(PYTHON) setup.py install $(PREFIX) test.swf: $(PYTHON) shape.py --- Makefile DELETED --- |
From: Stuart A. <and...@us...> - 2006-11-26 23:07:22
|
Update of /cvsroot/ming/ming In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv12335 Modified Files: Makefile.am configure.in Log Message: Cause language bindings to build and show up in the dist tarballs Index: Makefile.am =================================================================== RCS file: /cvsroot/ming/ming/Makefile.am,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** Makefile.am 21 Nov 2006 15:37:35 -0000 1.10 --- Makefile.am 26 Nov 2006 23:07:18 -0000 1.11 *************** *** 15,21 **** --- 15,31 ---- endif + if BUILD_PHP_EXTENSION + PHPSUBDIR = php_ext + endif + + if BUILD_PYTHON_EXTENSION + PYSUBDIR = py_ext + endif + SUBDIRS = \ src \ $(PERLSUBDIR) \ + $(PHPSUBDIR) \ + $(PYSUBDIR) \ util \ docs \ Index: configure.in =================================================================== RCS file: /cvsroot/ming/ming/configure.in,v retrieving revision 1.54 retrieving revision 1.55 diff -C2 -d -r1.54 -r1.55 *** configure.in 21 Nov 2006 16:13:45 -0000 1.54 --- configure.in 26 Nov 2006 23:07:18 -0000 1.55 *************** *** 237,240 **** --- 237,242 ---- src/libming.pc perl_ext/Makefile + php_ext/Makefile + py_ext/Makefile test/Makefile test/Movie/Makefile |
From: Sandro S. <st...@us...> - 2006-11-25 21:09:59
|
Update of /cvsroot/ming/ming/test/actionscript In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv31162/test/actionscript Modified Files: Makefile.am Added Files: ASM1.as ASM1.ref Log Message: Added test of mixing asm{} with AS_V6 --- NEW FILE: ASM1.ref --- File version: 6 File size: 75 Frame size: (0,6400)x(0,4800) Frame rate: 12.000000 / sec. Total frames: 1 Offset: 20 (0x0014) Block type: 9 (SWF_SETBACKGROUNDCOLOR) Block length: 3 RGBA: (ff,ff,ff,ff) Offset: 25 (0x0019) Block type: 12 (SWF_DOACTION) Block length: 44 8 Actions SWFACTION_CONSTANTPOOL [000] 1 [001] 2 SWFACTION_TRY SWFACTION_PUSH [000] Constant: 0 "1" SWFACTION_PUSH [000] Constant: 1 "2" SWFACTION_ADD2 SWFACTION_TRACE SWFACTION_TRY SWFACTION_END Offset: 71 (0x0047) Block type: 1 (SWF_SHOWFRAME) Block length: 0 Index: Makefile.am =================================================================== RCS file: /cvsroot/ming/ming/test/actionscript/Makefile.am,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** Makefile.am 25 Nov 2006 20:43:49 -0000 1.4 --- Makefile.am 25 Nov 2006 21:09:43 -0000 1.5 *************** *** 8,13 **** AS_TESTS = \ ! Function.as \ ! ASM0.as EXTRA_DIST = \ --- 8,14 ---- AS_TESTS = \ ! Function.as \ ! ASM0.as \ ! ASM1.as EXTRA_DIST = \ --- NEW FILE: ASM1.as --- // Test mix of asm and V6 syntax // It is assumed this file will be compiled as target SWF6 or higher // this is only accepted in AS_V6 start condition try{}; // mix the asm block ... asm { push "1" push "2" add trace }; // this is only accepted in AS_V6 start condition try{}; |
From: Sandro S. <st...@us...> - 2006-11-25 20:43:53
|
Update of /cvsroot/ming/ming/test/actionscript In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv20207/test/actionscript Modified Files: Makefile.am README Added Files: ASM0.as ASM0.ref Log Message: Small test for asm{} block Index: README =================================================================== RCS file: /cvsroot/ming/ming/test/actionscript/README,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** README 8 Jul 2006 23:26:06 -0000 1.2 --- README 25 Nov 2006 20:43:49 -0000 1.3 *************** *** 8,15 **** 3: create a .ref with 'listswf Test.swf > Test.ref' 4: IMPORTANT: verify that the output is *correct* ! 5: add Test.as to the AS_TESTS variable in Makefile.am ! 6: add Test.as and Test.ref to CVS ! 7: run 'make check' to test the test :) ! 8: commit (Test.as Test.ref Makefile.am) --strk; Sun Jul 9 01:25:51 CEST 2006 --- 8,16 ---- 3: create a .ref with 'listswf Test.swf > Test.ref' 4: IMPORTANT: verify that the output is *correct* ! 5: add Test.as and Test.ref to CVS ! 6: add Test.as to the AS_TESTS variable in Makefile.am ! 7: run ./autogen.sh && configure ! 8: run 'make check' to test the test :) ! 9: commit (Test.as Test.ref Makefile.am) --strk; Sun Jul 9 01:25:51 CEST 2006 --- NEW FILE: ASM0.ref --- File version: 6 File size: 53 Frame size: (0,6400)x(0,4800) Frame rate: 12.000000 / sec. Total frames: 1 Offset: 20 (0x0014) Block type: 9 (SWF_SETBACKGROUNDCOLOR) Block length: 3 RGBA: (ff,ff,ff,ff) Offset: 25 (0x0019) Block type: 12 (SWF_DOACTION) Block length: 22 6 Actions SWFACTION_CONSTANTPOOL [000] 1 [001] 2 SWFACTION_PUSH [000] Constant: 0 "1" SWFACTION_PUSH [000] Constant: 1 "2" SWFACTION_ADD2 SWFACTION_TRACE SWFACTION_END Offset: 49 (0x0031) Block type: 1 (SWF_SHOWFRAME) Block length: 0 Index: Makefile.am =================================================================== RCS file: /cvsroot/ming/ming/test/actionscript/Makefile.am,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** Makefile.am 8 Jul 2006 23:19:28 -0000 1.3 --- Makefile.am 25 Nov 2006 20:43:49 -0000 1.4 *************** *** 7,11 **** TESTS = ActionScriptTest ! AS_TESTS = Function.as EXTRA_DIST = \ --- 7,13 ---- TESTS = ActionScriptTest ! AS_TESTS = \ ! Function.as \ ! ASM0.as EXTRA_DIST = \ --- NEW FILE: ASM0.as --- // Simple test for asm {} blocks asm { push "1" push "2" add trace // should print 12 (string addition) }; |
From: Sandro S. <st...@us...> - 2006-11-25 20:15:55
|
Update of /cvsroot/ming/ming/src/actioncompiler In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv8415/src/actioncompiler Modified Files: swf5compiler.flex Log Message: Only reset start condition if in INITIAL state (fixes asm{} use) Index: swf5compiler.flex =================================================================== RCS file: /cvsroot/ming/ming/src/actioncompiler/swf5compiler.flex,v retrieving revision 1.32 retrieving revision 1.33 diff -C2 -d -r1.32 -r1.33 *** swf5compiler.flex 20 Jun 2006 23:22:48 -0000 1.32 --- swf5compiler.flex 25 Nov 2006 20:15:51 -0000 1.33 *************** *** 117,122 **** %% ! if(SWF_versionNum >= 6) BEGIN(AS_V6); 0x{HEXDIGIT}+ { count(); swf5lval.intVal = strtoul(yytext, NULL, 0); --- 117,125 ---- %% ! ! // Only reset start condition if in INITIAL state ! if(YY_START == INITIAL && SWF_versionNum >= 6) { BEGIN(AS_V6); + } 0x{HEXDIGIT}+ { count(); swf5lval.intVal = strtoul(yytext, NULL, 0); |
From: Sandro S. <st...@us...> - 2006-11-22 23:24:29
|
Update of /cvsroot/ming/ming/util In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv29202/util Modified Files: makeswf.c Log Message: Experimental support for use of prebuilt clips. Example: makeswf frame1.as frame2.swf frame3.as ... Index: makeswf.c =================================================================== RCS file: /cvsroot/ming/ming/util/makeswf.c,v retrieving revision 1.27 retrieving revision 1.28 diff -C2 -d -r1.27 -r1.28 *** makeswf.c 15 Nov 2006 16:34:48 -0000 1.27 --- makeswf.c 22 Nov 2006 23:24:26 -0000 1.28 *************** *** 176,180 **** int swfcompression = DEFSWFCOMPRESSION; int framerate = 12; ! int compiledfiles = 0; struct stat statbuf; #ifdef HAVE_GETOPT_LONG --- 176,180 ---- int swfcompression = DEFSWFCOMPRESSION; int framerate = 12; ! int usedfiles = 0; struct stat statbuf; #ifdef HAVE_GETOPT_LONG *************** *** 320,338 **** SWFAction ac; char *filename = argv[i]; char ppfile[PATH_MAX]; ! sprintf(ppfile, "%s.frame%d.pp", outputfile, i); ! ac = makeswf_compile_source(filename, ppfile); ! printf("Adding %s to frame %d... ", filename, i); ! SWFMovie_add(mo, (SWFBlock)ac); ! printf("done.\n"); ! compiledfiles++; SWFMovie_nextFrame(mo); } ! if ( ! compiledfiles ) { printf("No valid input files\n"); --- 320,351 ---- SWFAction ac; char *filename = argv[i]; + char *ext = strrchr(filename, '.'); char ppfile[PATH_MAX]; + SWFPrebuiltClip builtclip; ! if ( ext && ! strcasecmp(ext, ".swf") ) ! { ! printf("Adding prebuilt clip %s to frame %d... ", ! filename, i); ! builtclip = newSWFPrebuiltClip_fromFile(filename); ! if ( ! builtclip ) exit (1); ! SWFMovie_add(mo, (SWFBlock)builtclip); ! } ! else ! { ! sprintf(ppfile, "%s.frame%d.pp", outputfile, i); ! ac = makeswf_compile_source(filename, ppfile); ! printf("Adding %s to frame %d... ", filename, i); ! SWFMovie_add(mo, (SWFBlock)ac); ! } ! printf("done.\n"); ! usedfiles++; SWFMovie_nextFrame(mo); } ! if ( ! usedfiles ) { printf("No valid input files\n"); *************** *** 416,419 **** --- 429,436 ---- * * $Log$ + * Revision 1.28 2006/11/22 23:24:26 strk + * Experimental support for use of prebuilt clips. + * Example: makeswf frame1.as frame2.swf frame3.as ... + * * Revision 1.27 2006/11/15 16:34:48 strk * Fixed import feature to properly set __shared_assets sprite frame count |
From: Sandro S. <st...@us...> - 2006-11-22 23:17:43
|
Update of /cvsroot/ming/ming/src/blocks In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv26509/src/blocks Modified Files: fromswf.c Log Message: Proper use of ZLIB-related macros, don't segfault if ZLIB is not compiled in. Index: fromswf.c =================================================================== RCS file: /cvsroot/ming/ming/src/blocks/fromswf.c,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -d -r1.16 -r1.17 *** fromswf.c 19 Apr 2006 10:49:04 -0000 1.16 --- fromswf.c 22 Nov 2006 23:17:27 -0000 1.17 *************** *** 21,26 **** ! #include <stdlib.h> ! #include <string.h> #include "libming.h" --- 21,25 ---- ! #include "ming_config.h" #include "libming.h" *************** *** 31,34 **** --- 30,39 ---- #include "error.h" + #include <stdlib.h> + #include <string.h> + #ifdef HAVE_ZLIB_H + #include <zlib.h> + #endif + static void writeSWFPrebuiltClipToMethod(SWFBlock block, SWFByteOutputMethod method, void *data) *************** *** 257,261 **** } - #include <zlib.h> static struct swfile *openswf(SWFInput input) { struct swfile *res = (struct swfile *)malloc(sizeof(struct swfile)); --- 262,265 ---- *************** *** 266,270 **** res->compressed = res->vers[0] == 'C'; if(res->compressed) ! { static z_stream z = {0}; int len = SWFInput_length(input); unsigned char *zbuf; --- 270,276 ---- res->compressed = res->vers[0] == 'C'; if(res->compressed) ! { ! #if USE_ZLIB ! static z_stream z = {0}; int len = SWFInput_length(input); unsigned char *zbuf; *************** *** 275,287 **** //destroySWFInput(input); zbuf = z.next_out = (unsigned char *)malloc(z.avail_out = res->fsize - 8); - #ifdef HAVE_LIBZ inflateInit(&z); inflate(&z, Z_FINISH); inflateEnd(&z); - #endif - #ifndef HAVE_LIBZ - printf("The SWF to be opened is compressed, but we can't uncompress it (no zlib compiled into this version of Ming).\n"); - #endif input = newSWFInput_allocedBuffer(zbuf, z.next_out-zbuf); } res->input = input; --- 281,292 ---- //destroySWFInput(input); zbuf = z.next_out = (unsigned char *)malloc(z.avail_out = res->fsize - 8); inflateInit(&z); inflate(&z, Z_FINISH); inflateEnd(&z); input = newSWFInput_allocedBuffer(zbuf, z.next_out-zbuf); + #else + SWF_error("The SWF to be opened is compressed, but we can't uncompress it (no zlib compiled into this version of Ming).\n"); + return NULL; + #endif } res->input = input; *************** *** 1154,1157 **** --- 1159,1163 ---- swf = openswf(input); + if ( ! swf ) return NULL; clip = newSWFPrebuiltClip(); clip->frames = swf->frames; |
From: Stuart A. <and...@us...> - 2006-11-21 16:13:50
|
Update of /cvsroot/ming/ming In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv11223 Modified Files: ChangeLog NEWS configure.in Log Message: Doc updates for 0.4.0-beta2 snapshot Index: NEWS =================================================================== RCS file: /cvsroot/ming/ming/NEWS,v retrieving revision 1.18 retrieving revision 1.19 diff -C2 -d -r1.18 -r1.19 *** NEWS 19 Sep 2006 10:10:20 -0000 1.18 --- NEWS 21 Nov 2006 16:13:45 -0000 1.19 *************** *** 1,4 **** ! 0.4.0-beta - 2006-??-?? * Allow output of SWF version 8 * Better SWF parser (utilities). --- 1,8 ---- ! 0.4.0-beta2 - 2006-11-21 + * Preliminary support for building RPM packages + * New PHP code that builds for PHP$ and PHP5 + * Added missing SWFMovieClip class in PHP + * New tool, ttftofft, for producing ming formast fonts * Allow output of SWF version 8 * Better SWF parser (utilities). Index: ChangeLog =================================================================== RCS file: /cvsroot/ming/ming/ChangeLog,v retrieving revision 1.71 retrieving revision 1.72 diff -C2 -d -r1.71 -r1.72 *** ChangeLog 9 Nov 2006 14:02:33 -0000 1.71 --- ChangeLog 21 Nov 2006 16:13:45 -0000 1.72 *************** *** 1,2 **** --- 1,131 ---- + 2006-11-21 10:37 anderson + + * .cvsignore, Makefile.am, configure.in, ming.spec.in: Add bits for + building rpms + + 2006-11-21 10:34 anderson + + * src/: .cvsignore, Makefile.am, libming.pc.in: add bits for + building an rpm + + 2006-11-21 08:54 anderson + + * test/Movie/FrameLabel/TestList: Describe the 2nd test + + 2006-11-21 08:53 anderson + + * perl_ext/TextField.xs: Add the UTF variant for TextField + + 2006-11-21 08:37 anderson + + * docs/libming/Ming_useSWFVersion.html, + docs/libming/SWFMovie_add.html, src/ming.c, src/movie.c, + docs/libming/SWFMovie_labelFrame.html, + docs/libming/SWFMovie_namedAnchor.html, + docs/libming/SWFMovie_protect.html, docs/libming/index.html, + docs/man/Ming_getScale.3, docs/man/Ming_init.3, + docs/man/Ming_setCubicThreshold.3, + docs/man/Ming_setErrorFunction.3, + docs/man/Ming_setSWFCompression.3, docs/man/Ming_setScale.3, + docs/man/Ming_setWarnFunction.3, docs/man/Ming_useSWFVersion.3, + docs/man/SWFMovie_add.3, docs/man/SWFMovie_labelFrame.3, + docs/man/SWFMovie_namedAnchor.3, docs/man/SWFMovie_protect.3, + docs/man/SWFMovie_setBackground.3, + docs/man/SWFMovie_setDimension.3, + docs/man/SWFMovie_setNumberOfFrames.3, + docs/man/SWFMovie_setRate.3, docs/man/destroySWFMovie.3, + docs/man/newSWFMovie.3, docs/man/newSWFMovieWithVersion.3: + Document function which have been added to the test suite + + 2006-11-21 07:16 anderson + + * mingpp.h: Add SWFMovieClip class + + 2006-11-16 16:26 anderson + + * test/Movie/add/test02.php: Go with the generated SWFMovieClip now + that the php module has an alias for that class + + 2006-11-16 16:15 anderson + + * php_ext/ming.c: SWFMovieClip was mis-named SWFMovieSprite. To + preserve some level of compatability, instead of just renaming + everything, add SWFMovieClip as an alias for SWFSprite. + + 2006-11-16 14:14 anderson + + * util/outputscript.c: Improved generation of add() + + 2006-11-16 14:14 anderson + + * test/Movie/add/: test01.py, test02-cxx.C, test02.php, test02.pl, + test02.py: Fixed test code. Some hand fixing is still needed 8-( + + 2006-11-15 18:37 strk + + * test/Makefile.inc: Use 'listswf' from the build tree, not the + installed one (forgive me if that was intended) + + 2006-11-15 18:36 strk + + * test/Movie/add/test02.ref: updated after fix in outputtxt.c (we + include Sprite tags in output now) + + 2006-11-15 18:25 strk + + * util/outputtxt.c: added iprintf() function and INDENT global for + indented-print. + + 2006-11-15 17:54 anderson + + * util/outputtxt.c: Display the contents of a sprite + + 2006-11-15 16:51 strk + + * test/Movie/add/test01.c: Minor cleanup: use (SWFBlock) for second + argument of SWFMovie_add (urgh) + + 2006-11-15 16:50 strk + + * configure.in, test/Movie/Makefile.am, test/Movie/add/.cvsignore, + test/Movie/add/Makefile.am, test/Movie/add/TestList, + test/Movie/add/test01-cxx.C, test/Movie/add/test01.c, + test/Movie/add/test01.php, test/Movie/add/test01.pl, + test/Movie/add/test01.py, test/Movie/add/test01.ref, + test/Movie/add/test02-cxx.C, test/Movie/add/test02.c, + test/Movie/add/test02.php, test/Movie/add/test02.pl, + test/Movie/add/test02.py, test/Movie/add/test02.ref: Two simple + tests for SWFMovie_add (add action, add sprite). Note: swftocxx + does a really bad job in this case, had to manually modify + C++ code for both cases + + 2006-11-15 11:34 strk + + * util/makeswf.c: Fixed import feature to properly set + __shared_assets sprite frame count + + 2006-11-15 09:52 strk + + * docs/man/makeswf.1: Improved documentation of the -i flag (import + symbols) + + 2006-11-13 16:25 strk + + * util/action.c: Added output function for GOTOFRAME and GOTOFRAME2 + actions + + 2006-11-09 09:53 anderson + + * config/: config.guess, config.sub: Updated from newer tools + + 2006-11-09 09:13 anderson + + * test/Movie/Protect/test01-cxx.C: Sync w/ the C version + + 2006-11-09 09:09 anderson + + * CVSROOT/: loginfo, syncmail: Found the SF docs for setting this + up the right way + 2006-11-09 08:35 anderson Index: configure.in =================================================================== RCS file: /cvsroot/ming/ming/configure.in,v retrieving revision 1.53 retrieving revision 1.54 diff -C2 -d -r1.53 -r1.54 *** configure.in 21 Nov 2006 15:37:35 -0000 1.53 --- configure.in 21 Nov 2006 16:13:45 -0000 1.54 *************** *** 9,13 **** MING_VERSION=${MAJOR_VERSION}.${MINOR_VERSION}.${MICRO_VERSION} ! AC_INIT(ming, ${MING_VERSION}) dnl Tell configure to look in the config subdirectory --- 9,13 ---- MING_VERSION=${MAJOR_VERSION}.${MINOR_VERSION}.${MICRO_VERSION} ! AC_INIT(ming, 0.4.0-beta2) dnl Tell configure to look in the config subdirectory |
From: Stuart A. <and...@us...> - 2006-11-21 15:59:37
|
Update of /cvsroot/ming/ming/php_ext In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv5254 Modified Files: README.PHP4 README.PHP5 Log Message: Update the comments Index: README.PHP5 =================================================================== RCS file: /cvsroot/ming/ming/php_ext/README.PHP5,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** README.PHP5 10 Feb 2006 15:05:40 -0000 1.1 --- README.PHP5 21 Nov 2006 15:59:34 -0000 1.2 *************** *** 1,3 **** --- 1,6 ---- + Oct 2006: This module has been resynced with PHP5, and modified to build + for PHP4 also. + Feb 2006: This module is for PHP4, not PHP5. Use the ming module that comes with PHP5 if you are running PHP5. Index: README.PHP4 =================================================================== RCS file: /cvsroot/ming/ming/php_ext/README.PHP4,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** README.PHP4 10 Feb 2006 15:05:40 -0000 1.1 --- README.PHP4 21 Nov 2006 15:59:34 -0000 1.2 *************** *** 1,2 **** --- 1,4 ---- + Oct 2006: This module has been resynced with the PHP5 code, and modified + to build for PHP4 also. Just use the appropriate version of phpize. Feb 2006: This ming.c will work with PHP4, and not PHP5 or higher. It |
From: Stuart A. <and...@us...> - 2006-11-21 15:37:39
|
Update of /cvsroot/ming/ming In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv28608 Modified Files: .cvsignore Makefile.am configure.in Added Files: ming.spec.in Log Message: Add bits for building rpms Index: .cvsignore =================================================================== RCS file: /cvsroot/ming/ming/.cvsignore,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** .cvsignore 25 Jul 2006 00:07:10 -0000 1.6 --- .cvsignore 21 Nov 2006 15:37:35 -0000 1.7 *************** *** 7,14 **** --- 7,19 ---- config.log config.status + ming.spec *.tar.gz + *.tar.bz2 + *.zip autom4te.cache + aclocal.m4 config.cache libming.a libming.so + libtool configure --- NEW FILE: ming.spec.in --- # Some distributions name their Freetype 2 package "freetype", while others # name it "freetype2". You can define the name your distribution uses here. %define freetype2 freetype Summary: A SWF output library Name: ming Version: @VERSION@ Release: 1 License: LGPL Group: System Environment/Libraries Source: http://prdownloads.sourceforge.net/ming/ming-%{version}.tar.gz URL: http://ming.sourceforge.net/ BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRequires: %{freetype2}-devel zlib-devel giflib-devel libpng-devel Requires: %{freetype2} zlib giflib libpng %description Ming is a C library for generating SWF ("Flash") format movies, plus a set of wrappers for using the library from C++ and popular scripting languages like PHP, Perl, Python, and Ruby. %package devel Summary: A SWF output library Group: Development/Libraries Requires: %{name} = %{version} Requires: %{freetype2}-devel zlib-devel giflib-devel libpng-devel %description devel The ming-devel package includes the static libraries, header files, and developer docs for the ming package. Install ming-devel if you want to develop programs which will use ming. %prep %setup -q %build %configure %__make %{?_smp_mflags} %install [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT %__make %{?_smp_mflags} \ DESTDIR=$RPM_BUILD_ROOT \ docdir=$RPM_BUILD_ROOT%{_docdir}/%{name} \ pkgconfigdir=%{_libdir}/pkgconfig \ install %clean [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-, root, root) %doc README AUTHORS COPYING ChangeLog %{_libdir}/libming*.so.* %{_bindir}/* %{_mandir}/man1/* %files devel %defattr(-, root, root) %{_includedir}/* %{_libdir}/*.a %{_libdir}/*.la %{_libdir}/libming.so %{_libdir}/pkgconfig %{_mandir}/man3/* %changelog * Tue Sep 02 2006 John Ellson <el...@re...> - Initial changelog entry Index: Makefile.am =================================================================== RCS file: /cvsroot/ming/ming/Makefile.am,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** Makefile.am 10 Jul 2006 23:19:57 -0000 1.9 --- Makefile.am 21 Nov 2006 15:37:35 -0000 1.10 *************** *** 25,28 **** --- 25,38 ---- include_HEADERS = mingpp.h + COPYING: LICENSE + ln -s LICENSE COPYING + + .PHONY: rpm + rpm: dist + rpmbuild -ta ming-@VERSION@.tar.gz + + EXTRA_DIST = ming.spec ming.spec.in COPYING + DISTCLEANFILES = ming-@VERSION@* ming.spec COPYING + Changelog: cvs2cl --accum -I ChangeLog Index: configure.in =================================================================== RCS file: /cvsroot/ming/ming/configure.in,v retrieving revision 1.52 retrieving revision 1.53 diff -C2 -d -r1.52 -r1.53 *** configure.in 15 Nov 2006 21:50:14 -0000 1.52 --- configure.in 21 Nov 2006 15:37:35 -0000 1.53 *************** *** 1,4 **** ! AC_INIT(ming, 0.4.0-beta) dnl Tell configure to look in the config subdirectory --- 1,13 ---- ! dnl -- Release version ! dnl To avoid colation problems, the 0.4 release shall be 0.4.1 ! ! MAJOR_VERSION=0 ! MINOR_VERSION=4 ! MICRO_VERSION=0-beta2 ! ! MING_VERSION=${MAJOR_VERSION}.${MINOR_VERSION}.${MICRO_VERSION} ! ! AC_INIT(ming, ${MING_VERSION}) dnl Tell configure to look in the config subdirectory *************** *** 6,20 **** AC_CONFIG_AUX_DIR(config) ! AM_INIT_AUTOMAKE(ming, 0.4.0-beta) AM_MAINTAINER_MODE - dnl -- Release version - MAJOR_VERSION=0 - MINOR_VERSION=4 - MICRO_VERSION=0-beta - - MING_VERSION=${MAJOR_VERSION}.${MINOR_VERSION}.${MICRO_VERSION} - dnl -- Version info for libtool INTERFACE_CURRENT=4 --- 15,22 ---- AC_CONFIG_AUX_DIR(config) ! AM_INIT_AUTOMAKE(AC_PACKAGE_NAME, AC_PACKAGE_VERSION) AM_MAINTAINER_MODE dnl -- Version info for libtool INTERFACE_CURRENT=4 *************** *** 26,29 **** --- 28,32 ---- AC_SUBST(INTERFACE_AGE) + dnl GNU recommended way to determine host variables (OS, etc) AC_CANONICAL_HOST *************** *** 232,235 **** --- 235,239 ---- src/Makefile src/ming.h + src/libming.pc perl_ext/Makefile test/Makefile *************** *** 247,250 **** --- 251,255 ---- util/Makefile util/ming-config + ming.spec ]) |
From: Stuart A. <and...@us...> - 2006-11-21 15:34:24
|
Update of /cvsroot/ming/ming/src In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv27218 Modified Files: .cvsignore Makefile.am Added Files: libming.pc.in Log Message: add bits for building an rpm Index: .cvsignore =================================================================== RCS file: /cvsroot/ming/ming/src/.cvsignore,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** .cvsignore 24 Jul 2006 23:57:58 -0000 1.5 --- .cvsignore 21 Nov 2006 15:34:18 -0000 1.6 *************** *** 7,10 **** --- 7,12 ---- .AppleDouble test2.c + libming.pc + stamp-h1 ming_config.h ming.h --- NEW FILE: libming.pc.in --- prefix=@prefix@ exec_prefix=@exec_prefix@ libdir=@libdir@ includedir=@includedir@ Name: ming Description: Ming - a SWF output library Version: @VERSION@ Libs: -L${libdir} -lming Cflags: -I${includedir} Index: Makefile.am =================================================================== RCS file: /cvsroot/ming/ming/src/Makefile.am,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** Makefile.am 1 Aug 2006 07:11:31 -0000 1.8 --- Makefile.am 21 Nov 2006 15:34:18 -0000 1.9 *************** *** 108,109 **** --- 108,114 ---- c2man -o../docs/libming -i"ming.h" -x"SEE ALSO" -Th -I. -D__restrict="" -D__builtin_va_list="int" $(DOCSRC) + pkgconfigdir = $(libdir)/pkgconfig + pkgconfig_DATA = libming.pc + + EXTRA_DIST = libming.pc.in + DISTCLEANFILES = libming.pc |
From: Stuart A. <and...@us...> - 2006-11-21 13:54:30
|
Update of /cvsroot/ming/ming/test/Movie/FrameLabel In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv17631 Modified Files: TestList Log Message: Describe the 2nd test Index: TestList =================================================================== RCS file: /cvsroot/ming/ming/test/Movie/FrameLabel/TestList,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** TestList 1 Sep 2006 00:15:31 -0000 1.1 --- TestList 21 Nov 2006 13:54:26 -0000 1.2 *************** *** 1 **** --- 1,2 ---- test01:swf: Label a frame + test01:swf: Add a namedAnchor to a frame |
From: Stuart A. <and...@us...> - 2006-11-21 13:53:24
|
Update of /cvsroot/ming/ming/perl_ext In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv17184/perl_ext Modified Files: TextField.xs Log Message: Add the UTF variant for TextField Index: TextField.xs =================================================================== RCS file: /cvsroot/ming/ming/perl_ext/TextField.xs,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** TextField.xs 1 Feb 2003 18:26:23 -0000 1.4 --- TextField.xs 21 Nov 2006 13:53:21 -0000 1.5 *************** *** 85,88 **** --- 85,93 ---- void + SWFTextField_addUTF8String(field, string) + SWF::TextField field + char * string + + void SWFTextField_setHeight(field, height) SWF::TextField field *************** *** 136,137 **** --- 141,147 ---- char * string + void + SWFTextField_addUTF8Chars(field, string) + SWF::TextField field + char * string + |
From: Stuart A. <and...@us...> - 2006-11-21 13:38:22
|
Update of /cvsroot/ming/ming/src In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv10321/src Modified Files: ming.c movie.c Log Message: Document function which have been added to the test suite Index: ming.c =================================================================== RCS file: /cvsroot/ming/ming/src/ming.c,v retrieving revision 1.23 retrieving revision 1.24 diff -C2 -d -r1.23 -r1.24 *** ming.c 19 Sep 2006 10:08:18 -0000 1.23 --- ming.c 21 Nov 2006 13:37:48 -0000 1.24 *************** *** 125,130 **** * This function set the version of SWF to be produced by the library. Only * versions 4 through 8 inclusive are supported at this time. - * - * Should we really check this ? What about trusting the developer instead ? */ void Ming_useSWFVersion(int version /* Flash version */) --- 125,128 ---- Index: movie.c =================================================================== RCS file: /cvsroot/ming/ming/src/movie.c,v retrieving revision 1.43 retrieving revision 1.44 diff -C2 -d -r1.43 -r1.44 *** movie.c 1 Aug 2006 07:11:31 -0000 1.43 --- movie.c 21 Nov 2006 13:37:48 -0000 1.44 *************** *** 255,259 **** */ void ! SWFMovie_protect(SWFMovie movie /* move to protect */, char *password /* mds5 encoded password */) { --- 255,259 ---- */ void ! SWFMovie_protect(SWFMovie movie /* movie to protect */, char *password /* mds5 encoded password */) { *************** *** 411,416 **** SWFDisplayItem ! SWFMovie_add(SWFMovie movie, SWFBlock block) { if ( block == NULL ) --- 411,421 ---- + /* + * add a block to a movie. + * This function adds a block or character to a movie. + */ SWFDisplayItem ! SWFMovie_add(SWFMovie movie /* movie to which the block will be added */, ! SWFBlock block /* block to add to the movie */) { if ( block == NULL ) *************** *** 517,528 **** void ! SWFMovie_labelFrame(SWFMovie movie, const char *label) { SWFMovie_addBlock(movie, (SWFBlock)newSWFFrameLabelBlock(label)); } void ! SWFMovie_namedAnchor(SWFMovie movie, const char *label) { SWFMovie_addBlock(movie, (SWFBlock)newSWFNamedAnchorBlock(label)); --- 522,543 ---- + /* + * Add a label Frame + * This function adds a labelFrame to the movie. + */ void ! SWFMovie_labelFrame(SWFMovie movie /* Movie to which the label is added */, ! const char *label /* name to use for the label */) { SWFMovie_addBlock(movie, (SWFBlock)newSWFFrameLabelBlock(label)); } + /* + * Add a named anchor Frame + * This function adds a named anchor to the movie. + */ void ! SWFMovie_namedAnchor(SWFMovie movie /* Movie to which the anchor is added */, ! const char *label /* name to use for the anchor */) { SWFMovie_addBlock(movie, (SWFBlock)newSWFNamedAnchorBlock(label)); |