You can subscribe to this list here.
| 2002 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(2) |
Aug
(10) |
Sep
(6) |
Oct
|
Nov
(42) |
Dec
(10) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2003 |
Jan
(4) |
Feb
(17) |
Mar
(8) |
Apr
(9) |
May
(12) |
Jun
(28) |
Jul
(8) |
Aug
(8) |
Sep
(15) |
Oct
(21) |
Nov
(39) |
Dec
(13) |
| 2004 |
Jan
(128) |
Feb
(32) |
Mar
(46) |
Apr
(98) |
May
(51) |
Jun
(26) |
Jul
(54) |
Aug
(16) |
Sep
(45) |
Oct
(71) |
Nov
(12) |
Dec
(9) |
| 2005 |
Jan
|
Feb
(4) |
Mar
(57) |
Apr
(37) |
May
(11) |
Jun
(5) |
Jul
(14) |
Aug
(65) |
Sep
(16) |
Oct
(2) |
Nov
(36) |
Dec
(21) |
| 2006 |
Jan
(79) |
Feb
(81) |
Mar
(15) |
Apr
(60) |
May
(56) |
Jun
(26) |
Jul
(12) |
Aug
(3) |
Sep
(3) |
Oct
(2) |
Nov
(20) |
Dec
(114) |
| 2007 |
Jan
(45) |
Feb
(15) |
Mar
(3) |
Apr
(12) |
May
(6) |
Jun
(14) |
Jul
(8) |
Aug
|
Sep
(14) |
Oct
(5) |
Nov
(21) |
Dec
(9) |
| 2008 |
Jan
(53) |
Feb
(3) |
Mar
(5) |
Apr
(30) |
May
(40) |
Jun
(31) |
Jul
(84) |
Aug
(15) |
Sep
(56) |
Oct
(17) |
Nov
(6) |
Dec
(40) |
| 2009 |
Jan
(9) |
Feb
(11) |
Mar
(39) |
Apr
(8) |
May
(4) |
Jun
(4) |
Jul
(2) |
Aug
(1) |
Sep
(3) |
Oct
|
Nov
(15) |
Dec
(30) |
| 2010 |
Jan
(4) |
Feb
(22) |
Mar
(6) |
Apr
(6) |
May
(12) |
Jun
(21) |
Jul
(5) |
Aug
(7) |
Sep
(2) |
Oct
|
Nov
(1) |
Dec
|
| 2011 |
Jan
(1) |
Feb
(4) |
Mar
(7) |
Apr
(2) |
May
(7) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(3) |
Nov
|
Dec
|
| 2013 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(2) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2014 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(11) |
Jun
(4) |
Jul
(3) |
Aug
|
Sep
(1) |
Oct
|
Nov
|
Dec
|
| 2015 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(6) |
Jun
(3) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2016 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(1) |
| 2017 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2018 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| S | M | T | W | T | F | S |
|---|---|---|---|---|---|---|
|
|
|
|
|
1
(1) |
2
|
3
|
|
4
|
5
|
6
|
7
|
8
(3) |
9
|
10
|
|
11
|
12
(2) |
13
|
14
|
15
|
16
|
17
|
|
18
(1) |
19
(1) |
20
(1) |
21
|
22
|
23
(1) |
24
|
|
25
|
26
|
27
|
28
|
29
|
30
|
31
|
|
From: Armel G. <ml...@ar...> - 2002-08-23 21:42:50
|
hi list I've tried to compile from CVS (with php_ext) Many things seem to work, but text_fields disappear and I've got some crashes with text Any idea about what causes that ? Armel GRIGNON |
|
From: Steve A. <al...@ne...> - 2002-08-20 20:28:24
|
Hi, The last extension for multibyte support in ming makes many problems. Especially UTF8GetChar() in utf8.c can't be work. All european chars, eg. german umlauts, france chars and also the european currency symbol for Euro results broken strings after passed UTF8GetChar. All characters between ascii 127 (eg. Euro symbol 128) and 224 returns 0xffff. I think it is not possible to make an 'auto-detection' of wide and normal charsets. The seconds problem is SWFFontCharacter_getGlyphCode() is sometimes calling with a negative c value. The result is a segfault. I think this is also a problem with the new wide font code. Regards, Steve |
|
From: Bradley D. L. <br...@lt...> - 2002-08-19 17:02:53
|
I don't know what the procedure for getting stuff into CVS is,
so I send this patch to the list. Please tell me if there is
a preferred way. Thank you.
Regards,
Brad
--- ming.h 18 Aug 2002 20:16:42 -0000 1.26
+++ ming.h 19 Aug 2002 16:54:09 -0000
@@ -275,7 +275,7 @@
/* SWFBrowserFont */
-SWFFont newSWFBrowserFont(char *name);
+SWFFont newSWFBrowserFont(const char *name);
void destroySWFBrowserFont(SWFFont font);
@@ -378,7 +378,7 @@
typedef void *SWFAction;
-SWFAction compileSWFActionCode(char *script);
+SWFAction compileSWFActionCode(const char *script);
void destroySWFAction(SWFAction action);
@@ -648,6 +648,10 @@
void SWFMovie_setDimension(SWFMovie movie, float x, float y);
void SWFMovie_setNumberOfFrames(SWFMovie movie, int frames);
+
+int SWFMovie_getCurrentFrame(SWFMovie movie);
+
+int SWFMovie_getRate(SWFMovie movie);
void SWFMovie_addExport(SWFMovie movie, SWFBlock block, char *name);
--- mingpp.h 22 Jul 2002 22:37:22 -0000 1.13
+++ mingpp.h 19 Aug 2002 16:54:16 -0000
@@ -17,6 +17,9 @@
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
+#ifndef MINGPP_H
+#define MINGPP_H
+
#include <stdio.h>
/* mask the c type names so that we can replace them with classes.
@@ -98,7 +101,7 @@
class SWFBlock
{
public:
- virtual c_SWFBlock getBlock()
+ virtual c_SWFBlock getBlock() const
{ return NULL; }
};
@@ -110,13 +113,13 @@
public:
c_SWFCharacter character;
- float getWidth()
+ float getWidth() const
{ return SWFCharacter_getWidth(this->character); }
- float getHeight()
+ float getHeight() const
{ return SWFCharacter_getHeight(this->character); }
- virtual c_SWFBlock getBlock()
+ virtual c_SWFBlock getBlock() const
{ return NULL; }
};
@@ -128,13 +131,13 @@
public:
c_SWFAction action;
- SWFAction(char *script)
+ SWFAction(const char *script)
{ this->action = compileSWFActionCode(script); }
// movies, buttons, etc. destroy the c_SWFAction..
virtual ~SWFAction() {}
- c_SWFBlock getBlock()
+ c_SWFBlock getBlock() const
{ return (c_SWFBlock)this->action; }
};
@@ -158,7 +161,7 @@
void rotateTo(float degrees)
{ SWFDisplayItem_rotateTo(this->item, degrees); }
- void getRotation(float *degrees)
+ void getRotation(float *degrees) const
{ SWFDisplayItem_getRotation(this->item, degrees); }
void move(float x, float y)
@@ -167,7 +170,7 @@
void moveTo(float x, float y)
{ SWFDisplayItem_moveTo(this->item, x, y); }
- void getPosition(float *x, float *y)
+ void getPosition(float *x, float *y) const
{ SWFDisplayItem_getPosition(this->item, x, y); }
void scale(float xScale, float yScale)
@@ -182,7 +185,7 @@
void scaleTo(float scale)
{ SWFDisplayItem_scaleTo(this->item, scale, scale); }
- void getScale(float *xScale, float *yScale)
+ void getScale(float *xScale, float *yScale) const
{ SWFDisplayItem_getScale(this->item, xScale, yScale); }
void skewX(float skew)
@@ -197,10 +200,10 @@
void skewYTo(float skew)
{ SWFDisplayItem_skewYTo(this->item, skew); }
- void getSkew(float *xSkew, float *ySkew)
+ void getSkew(float *xSkew, float *ySkew) const
{ SWFDisplayItem_getSkew(this->item, xSkew, ySkew); }
- int getDepth()
+ int getDepth() const
{ return SWFDisplayItem_getDepth(this->item); }
void setDepth(int depth)
@@ -273,6 +276,12 @@
void setFrames(int nFrames)
{ SWFMovie_setNumberOfFrames(this->movie, nFrames); }
+ int getCurrentFrame() const
+ { return SWFMovie_getCurrentFrame(this->movie); }
+
+ int getRate() const
+ { return SWFMovie_getRate(this->movie); }
+
void setBackground(int r, int g, int b)
{ SWFMovie_setBackground(this->movie, r, g, b); }
@@ -291,10 +300,10 @@
void labelFrame(char *label)
{ SWFMovie_labelFrame(this->movie, label); }
- int output()
- { return SWFMovie_output(this->movie, fileOutputMethod, stdout); }
+ int output(FILE * f = stdout) const
+ { return SWFMovie_output(this->movie, fileOutputMethod, f); }
- int save(const char *filename)
+ int save(const char *filename) const
{
FILE *fp = fopen(filename, "wb");
const int result = SWFMovie_output(this->movie, fileOutputMethod, fp);
@@ -392,7 +401,7 @@
public:
c_SWFBitmap bitmap;
- SWFBitmap(char *filename, char *alpha=NULL)
+ SWFBitmap(const char *filename, const char *alpha=NULL)
{
if(strlen(filename) > 4)
{
@@ -419,10 +428,10 @@
virtual ~SWFBitmap()
{ destroySWFBitmap(this->bitmap); }
- float getWidth()
+ float getWidth() const
{ return SWFBitmap_getWidth(this->bitmap); }
- float getHeight()
+ float getHeight() const
{ return SWFBitmap_getHeight(this->bitmap); }
};
@@ -440,7 +449,7 @@
SWFFont(FILE *file)
{ this->font = loadSWFFontFromFile(file); }
- SWFFont(char *name)
+ SWFFont(const char *name)
{
if(strlen(name) > 4 &&
strcmp(name + strlen(name) - 4, ".fdb") == 0)
@@ -452,22 +461,22 @@
virtual ~SWFFont()
{ destroySWFFont(this->font); }
- c_SWFBlock getBlock()
+ c_SWFBlock getBlock() const
{ return (c_SWFBlock)this->font; }
- float getStringWidth(char *string)
+ float getStringWidth(char *string) const
{ return SWFFont_getStringWidth(this->font, string); }
- float getWidth(char *string)
+ float getWidth(char *string) const
{ return SWFFont_getStringWidth(this->font, string); }
- float getAscent()
+ float getAscent() const
{ return SWFFont_getAscent(this->font); }
- float getDescent()
+ float getDescent() const
{ return SWFFont_getDescent(this->font); }
- float getLeading()
+ float getLeading() const
{ return SWFFont_getLeading(this->font); }
};
@@ -488,7 +497,7 @@
virtual ~SWFShape()
{ destroySWFShape(this->shape); }
- c_SWFBlock getBlock()
+ c_SWFBlock getBlock() const
{ return (c_SWFBlock)this->shape; }
void movePen(float x, float y)
@@ -518,19 +527,19 @@
void end()
{ SWFShape_end(this->shape); }
- SWFFill *addSolidFill(int r, int g, int b, int a=0xff)
+ SWFFill *addFill(int r, int g, int b, int a=0xff)
{ return new SWFFill(SWFShape_addSolidFill(this->shape, r, g, b, a)); }
- SWFFill *addGradientFill(SWFGradient *gradient, byte flags=0)
+ SWFFill *addFill(const SWFGradient *gradient, byte flags=0)
{ return new SWFFill(SWFShape_addGradientFill(this->shape, gradient->gradient, flags)); }
- SWFFill *addBitmapFill(SWFBitmap *bitmap, byte flags=0)
+ SWFFill *addFill(const SWFBitmap *bitmap, byte flags=0)
{ return new SWFFill(SWFShape_addBitmapFill(this->shape, bitmap->bitmap, flags)); }
- void setLeftFill(SWFFill *fill)
+ void setLeftFill(const SWFFill *fill)
{ SWFShape_setLeftFill(this->shape, fill->fill); }
- void setRightFill(SWFFill *fill)
+ void setRightFill(const SWFFill *fill)
{ SWFShape_setRightFill(this->shape, fill->fill); }
void setLine(unsigned short width, int r, int g, int b, int a=0xff)
@@ -542,7 +551,7 @@
void drawCircle(float r)
{ SWFShape_drawCircle(this->shape, r); }
- void drawGlyph(SWFFont *font, unsigned char c, int size=0)
+ void drawGlyph(const SWFFont *font, unsigned char c, int size=0)
{ SWFShape_drawSizedGlyph(this->shape, font->font, c, size); }
// deprecated?
@@ -564,7 +573,7 @@
virtual ~SWFSprite()
{ destroySWFMovieClip(this->clip); }
- c_SWFBlock getBlock()
+ c_SWFBlock getBlock() const
{ return (c_SWFBlock)this->clip; }
void setNumberOfFrames(int nFrames)
@@ -597,7 +606,7 @@
virtual ~SWFMorph()
{ destroySWFMorph(this->morph); }
- c_SWFBlock getBlock()
+ c_SWFBlock getBlock() const
{ return (c_SWFBlock)this->morph; }
SWFShape *getShape1()
@@ -621,10 +630,10 @@
virtual ~SWFText()
{ destroySWFText(this->text); }
- c_SWFBlock getBlock()
+ c_SWFBlock getBlock() const
{ return (c_SWFBlock)this->text; }
- void setFont(SWFBlock *font)
+ void setFont(const SWFBlock *font)
{ SWFText_setFont(this->text, font->getBlock()); }
void setHeight(float height)
@@ -643,10 +652,10 @@
void setSpacing(float spacing)
{ SWFText_setSpacing(this->text, spacing); }
- float getStringWidth(const char *string)
+ float getStringWidth(const char *string) const
{ return SWFText_getStringWidth(this->text, string); }
- float getWidth(const char *string)
+ float getWidth(const char *string) const
{ return SWFText_getStringWidth(this->text, string); }
};
@@ -663,7 +672,7 @@
virtual ~SWFTextField()
{ destroySWFTextField(this->textField); }
- c_SWFBlock getBlock()
+ c_SWFBlock getBlock() const
{ return (c_SWFBlock)this->textField; }
void setFont(SWFBlock *font)
@@ -723,12 +732,26 @@
virtual ~SWFButton()
{ destroySWFButton(this->button); }
- c_SWFBlock getBlock()
+ c_SWFBlock getBlock() const
{ return (c_SWFBlock)this->button; }
- void addShape(SWFCharacter *character, byte flags)
+ void addShape(const SWFCharacter *character, byte flags)
{ SWFButton_addShape(this->button, (c_SWFCharacter)character->getBlock(), flags); }
- void addAction(SWFAction *action, int flags)
+ void setUp(const SWFCharacter *character)
+ { SWFButton_addShape(this->button, (c_SWFCharacter)character->getBlock(), SWFBUTTON_UP); }
+
+ void setOver(const SWFCharacter *character)
+ { SWFButton_addShape(this->button, (c_SWFCharacter)character->getBlock(), SWFBUTTON_OVER); }
+
+ void setDown(const SWFCharacter *character)
+ { SWFButton_addShape(this->button, (c_SWFCharacter)character->getBlock(), SWFBUTTON_DOWN); }
+
+ void setHit(const SWFCharacter *character)
+ { SWFButton_addShape(this->button, (c_SWFCharacter)character->getBlock(), SWFBUTTON_HIT); }
+
+ void addAction(const SWFAction *action, int flags)
{ SWFButton_addAction(this->button, action->action, flags); }
};
+
+#endif // MINGPP_H
--- src/movie.c 19 Aug 2002 15:58:02 -0000 1.18
+++ src/movie.c 19 Aug 2002 16:54:20 -0000
@@ -132,6 +132,15 @@
return newSWFMovieWithVersion(SWF_versionNum);
}
+int SWFMovie_getCurrentFrame(SWFMovie movie)
+{
+ return movie->nFrames;
+}
+
+int SWFMovie_getRate(SWFMovie movie)
+{
+ return movie->rate;
+}
void
SWFMovie_setRate(SWFMovie movie, float rate)
--- src/movie.h 18 Aug 2002 20:16:42 -0000 1.13
+++ src/movie.h 19 Aug 2002 16:54:22 -0000
@@ -42,6 +42,9 @@
void
SWFMovie_setRate(SWFMovie movie, float rate);
+int
+SWFMovie_getRate(SWFMovie movie);
+
void
SWFMovie_setDimension(SWFMovie movie, float x, float y);
@@ -74,6 +77,9 @@
void
SWFMovie_nextFrame(SWFMovie movie);
+
+int
+SWFMovie_getCurrentFrame(SWFMovie movie);
void
SWFMovie_labelFrame(SWFMovie movie, char *label);
--- src/actioncompiler/compile.h 22 Jul 2002 22:37:23 -0000 1.8
+++ src/actioncompiler/compile.h 19 Aug 2002 16:54:22 -0000
@@ -73,7 +73,7 @@
void checkByteOrder();
/* This is the only function needs be visible: */
-SWFAction compileSWFActionCode(char *script);
+SWFAction compileSWFActionCode(const char *script);
/* create/destroy buffer object */
Buffer newBuffer();
@@ -117,8 +117,8 @@
void bufferResolveJumps(Buffer out);
/* rather than setting globals... */
-void swf4ParseInit(char *string, int debug);
-void swf5ParseInit(char *string, int debug);
+void swf4ParseInit(const char *string, int debug);
+void swf5ParseInit(const char *string, int debug);
int swf4parse(void *b);
int swf5parse(void *b);
--- src/actioncompiler/compileaction.c 7 Aug 2002 23:33:44 -0000 1.7
+++ src/actioncompiler/compileaction.c 19 Aug 2002 16:54:22 -0000
@@ -30,7 +30,7 @@
extern int SWF_versionNum;
-SWFAction compileSWFActionCode(char *script)
+SWFAction compileSWFActionCode(const char *script)
{
SWFOutput output;
Buffer b;
Index: src/actioncompiler/swf4compiler.flex
--- src/actioncompiler/swf4compiler.flex 26 Jul 2001 00:10:56 -0000 1.5
+++ src/actioncompiler/swf4compiler.flex 19 Aug 2002 16:54:23 -0000
@@ -9,7 +9,7 @@
int swf4debug;
-static char *lexBuffer = NULL;
+static const char *lexBuffer = NULL;
static int lexBufferLen = 0;
static int sLineNumber = 0;
@@ -58,7 +58,7 @@
}
}
-void swf4ParseInit(char *script, int debug)
+void swf4ParseInit(const char *script, int debug)
{
checkByteOrder();
yyrestart(NULL);
--- src/actioncompiler/swf5compiler.flex 18 Jul 2001 01:05:41 -0000 1.5
+++ src/actioncompiler/swf5compiler.flex 19 Aug 2002 16:54:26 -0000
@@ -9,7 +9,7 @@
int swf5debug;
-static char *lexBuffer = NULL;
+static const char *lexBuffer = NULL;
static int lexBufferLen = 0;
static int sLineNumber = 0;
@@ -59,7 +59,7 @@
}
}
-void swf5ParseInit(char *script, int debug)
+void swf5ParseInit(const char *script, int debug)
{
checkByteOrder();
yyrestart(NULL);
|
|
From: Steve A. <al...@ne...> - 2002-08-18 20:44:49
|
Hi developer, I've just implement the Macromedia Flash MX compression in the current cvs tree. I hope it works correctly, but please _test_ this new feature! I have only made a part implementation with the normal api (add SWFMovie_outputC) and with php-4.2.0 and php-4.3.dev extensions. Perl, Pyton, Ruby and Java are not affected! It's currently only implement in php $movie->save() and in $movie->output(). To test the new feature try the follow way: use: $movie->output(int compression_level[0..9]); $movie->save(string filename, int compression_level[0..9]); The compression level is optionally and if no present, the old format is writting. The compression level must be between 0 (no compression) and 9 (max compression, but slow). Macromedia use 5 or 6 as default. The version number is automatic changed to 6 instead of 5. Temporary i've add a copy of SWFMovie_output() called SWFMovie_outputC(). If all test succeed, i'll remove the old SWFMovie_output() function and replace it with SWFMovie_outputC(). zlib.h is now required for the swf compression feature. Any comments are welcome. Regards, Steve |
|
From: Dave H. <da...@op...> - 2002-08-12 05:00:21
|
On Sun, 11 Aug 2002, Dave Hayden wrote: > I just checked in some fixes to the font stuff to make 16-bit fonts work. Oh, forgot to mention- here's a font you can test this with: http://www.opaque.net/~dave/kochi.fdb.gz -D |
|
From: Dave H. <da...@op...> - 2002-08-12 04:56:59
|
I just checked in some fixes to the font stuff to make 16-bit fonts work. You can use UTF8 strings with the existing function calls, or use the new SWFText_addWideString(SWFText text, const unsigned short* str, int len); function to add a wide string. (Maybe the input string should be 0-terminated instead of using a length arg?) I haven't tried running this from PHP, but I don't know why it wouldn't work. But then, I never do when it doesn't.. -D |
|
From: Dave H. <da...@op...> - 2002-08-08 19:30:23
|
Whoops. Forgot to reply to the list.. Begin forwarded message: > From: Dave Hayden <da...@op...> > Date: Thu Aug 08, 2002 12:31:00 PM US/Pacific > To: "Steve Alberty" <al...@ne...> > Subject: Re: [Ming-dev] PHP Integration > > > On Thursday, August 8, 2002, at 04:00 AM, Steve Alberty wrote: > >> i've seen that Dave has back porting ming.c from PHP 4.2.2. >> >> It is principal a good idea, but Dave has overwritten my change in this >> file, and I have also back porting ming.c from 4.3.0dev. > > Crap. Sorry. I don't keep up with the PHP API changes, so I just saw > that the CVS ming.c didn't work and the php-4.2.2 ming.c did, so I > assumed we were out of date. I added the PHP-4.3.0dev ming.c in as > ming-dev.c. I'm guessing most people who pull Ming from CVS won't be > using the dev version of PHP.. > >> We should more coordinate the back porting from php tree. >> >> I can commit every changes in php_ext/* the php cvs tree, because I >> have >> PHP CVS access. I think we should stop the back porting and make all >> the >> changes in the ming tree. > > It's always nice when PHP is up to date with Ming. Do you have any > idea when 4.3 is due out? I aim to have an Official Release of Ming > out the door in the next week, so if that's before the next PHP release > we should definitely get a current ming.c into the new PHP. > > As I said, though, I don't keep up with the PHP changes, so I don't > know what will work best for those who do.. > > -D > |
|
From: Steve A. <al...@ne...> - 2002-08-08 11:00:20
|
Hi list,
i've seen that Dave has back porting ming.c from PHP 4.2.2.
It is principal a good idea, but Dave has overwritten my change in this
file, and I have also back porting ming.c from 4.3.0dev.
Both version (4.2.2 and 4.3.0dev) are completely different, because in
4.3.0dev are using php streams instead of the normal file handling.
Eg.
PHP_FUNCTION(swfmovie_saveToFile)
{
zval **x;
SWFMovie movie = getMovie(getThis() TSRMLS_CC);
php_stream *what;
if (ZEND_NUM_ARGS() != 1 || zend_get_parameters_ex(1, &x) ==
FAILURE) {
WRONG_PARAM_COUNT;
}
ZEND_FETCH_RESOURCE(what, php_stream *, x,
-1,"File-Handle",php_file_le_stream());
RETURN_LONG(SWFMovie_output(movie, &phpStreamOutputMethod,
what));
}
instead of the old handling
PHP_FUNCTION(swfmovie_saveToFile)
{
zval **x;
SWFMovie movie = getMovie(getThis() TSRMLS_CC);
void *what;
if((ZEND_NUM_ARGS() != 1) || zend_get_parameters_ex(1, &x) == FAILURE)
WRONG_PARAM_COUNT;
ZEND_FETCH_RESOURCE(what, FILE *, x,
-1,"File-Handle",php_file_le_fopen());
RETURN_LONG(SWFMovie_output(movie, &phpFileOutputMethod, what));
}
We should more coordinate the back porting from php tree.
I can commit every changes in php_ext/* the php cvs tree, because I have
PHP CVS access. I think we should stop the back porting and make all the
changes in the ming tree.
Maybe we could split the cvs tree in 4.2.x and 4.3.x versions.
Any suggestions?
--
Steve Alberty
|
|
From: Dave H. <da...@op...> - 2002-08-08 00:03:45
|
I just checked in a mess of stuff to the Ming CVS, though not at much as it would seem when you see nearly every file update.. Cosmetic changes: tabified code, added emacs tab-width define thingies, added spaces and linebreaks according to random whim, changed 2001 to 2002 (only seven months later!). SWFFont is now two things, SWFFont and SWFFontCharacter. SWFFont is read-only after you load it, so you can use the same font object across many movies (handy if your fdb file is 5 megs..), while SWFFontCharacter holds all of the state information. Oh, and I've added code for 16-bit fonts, but haven't tested it yet. Since it didn't work before I figured it was okay to add broken code. ;) SWFMovie and SWFMovieClip had to change their weird dependency inheritance code to deal with the above changes but I think I fixed some problems along the way where characters were used before they were defined. I also added Goto's sound code, though I haven't tested that either. That adds support for "event" type sounds, raw pcm, adpcm, or mp3 format. The old SWFSound object has been moved to SWFSoundStream to accommodate, and there's an SWFSoundInstance object which will someday be used to tweak the sound event data- loop points, envelopes, and whatever else SWF allows for. That's all I can think of now, though there may be other surprises lurking. Post if you have any problems.. -Dave |
|
From: <mam...@ho...> - 2002-08-01 11:32:50
|
_________________________________________________________________ MSN Fotos: la forma más fácil de compartir e imprimir fotos. http://photos.msn.es/support/worldwide.aspx |