2003-10-02  IKEGAMI Daisuke  <ikegami@madscientist.jp>

        * ext/ming/ming/swfbutton.c

        remark 'detroySWFButton' for the bug on Ming.

2003-09-28  IKEGAMI Daisuke  <ikegami@madscientist.jp>

	* big changes!

	some codes for Ruby GC are appended.
	In addition, useless old flags and features are removed.
	I wish this changes occur no fatal bugs, however, it may...

	* install.rb is replaced by the recent setup.rb
	Includes Aoki's recent 'setup.rb' ver 3.2.0 on the followin URL:
	http://i.loveruby.net/ja/prog/setup.html
	
2003-08-26  IKEGAMI Daisuke  <ikegami@madscientist.jp>

	* ext/ming/ming/*.c : added

	a flag 'ischild' is prepared for freeing SWF objects.
	This flag plays same role as the obsolete flag 'protect_p';
	yes, I forgot and reminded the meaning of that flag twice.

2003-08-24 IKEGAMI Daisuke <ikegami@madscientist.jp>

	* ext/ming/ming/extconf.rb: added

	add 'dir_config'.

	* ming_ruby.h: modified

	add a macro for declation of some structs.

	* new feature of Ming/Ruby about ruby GC

	some classes includes a reference table for marking ruby objects.
	Now, the flag 'protect_p' of older versions does not be needed and becomes obsolete.

2003-08-23  IKEGAMI Daisuke <ikegami@madscientist.jp>

	* install.rb: version up

	Includes recent 'install.rb' ver 3.1.5 on the followin URL:
	http://i.loveruby.net/ja/prog/setup.html

2003-08-20 IKEGAMI Daisuke <ikegami@madscientist.jp>

	* ext/ming/ming/ming_ruby.h
	* ext/ming/ming/ming.c: changed

	For MacOSX, global variables should not be defined twice without 'extern'.
	Masaki Yatsu has reported to me this important notice on MacOSX,
	and he has sent a fixed patch for improving. Thanks.

	* ext/ming/ming/ming_ruby.h (struct RefTable): added

	A fatal bug with ruby GC is fixed.
	For added accessory objects in SWFMovie, e.g. SWFText or SWFShape,
	they should not be freed until the movie is saved completely.
	At this viewpoint, the movie should mark their objects when user
	ask the movie to add as accessories.

	I also changed some sources as follows:

	  * swfmovie.c
	    #add
	    #add_export
	    #set_button_sound
	  * swfmovieclip.c
	    #add
	  * swfbutton.c
	    #add_shape
	  * swftext.c
	    #set_font
	
	Note that another sources are left to fix the bug.

2002-08-02  IKEGAMI Daisuke  <daisu-ik@is.aist-nara.ac.jp>
        Ming/Ruby ver 0.1.4 released.

	* ext/ming/ming/ming.c (Init_ming): added
	(rb_Ming_raise): added
	raise if Ming tells a warning or an error.	
	I forgot why I removed the raising error function in ver. 0.0.8.
	Anyway, the raising function comes back.
	
2002-06-27  IKEGAMI Daisuke  <daisu-ik@is.aist-nara.ac.jp>
        Ming/Ruby ver 0.1.3 released.
	
	* ext/ming/ming/swfmovie.c (rb_SWFMovie_add_sound): added
	* ext/ming/ming/swfmovie.c (rb_SWFMovie_set_button_sound): changed

	Now #set_button_sound has 5 arguments as same as PHP 
	for JaMing 0.1.5.
	
	* ext/ming/ming/ming.c (Init_ming): added.

	Add some constants to support JaMing 0.1.5.

2002-06-24  IKEGAMI Daisuke  <daisu-ik@is.aist-nara.ac.jp>
	Ming/Ruby ver 0.1.2 released.

	* ext/ming/ming/ming.c (Init_ming): added.

	Add some constants to support JaMing 0.1.4.

	* ext/ming/ming/swffont.c (rb_SWFFont_set_frags): added

	Add #set_flags to support Japanese browser fonts
	which is the main feature of JaMing 0.1.4.

2002-06-19  IKEGAMI Daisuke  <daisu-ik@is.aist-nara.ac.jp>
	Ming/Ruby ver 0.1.1 released.
	
	* ext/ming/ming/swfshape.c (Init_swfshape): changed.
	(rb_SWFShape_get_pen_x): be of no use
	(rb_SWFShape_get_pen_y): be of no use

	SWFShape#get_pen_x and #get_pen_y are hided because
	SWFShape_getPenX and SWFShape_getPenY are described in ming.h,
	but not implementted in Ming 0.2a. 
	Thanks znz for his report in [ming:106].

2002-06-18  IKEGAMI Daisuke  <daisu-ik@is.aist-nara.ac.jp>
	Ming/Ruby ver 0.1.0 released.

	* ext/ming/ming/extconf.rb: changed

	Now JaMing 0.1.3 is supported.
	If user have JaMing 0.1.3, then the flag "-DSUPPORT_PCM" is added.

	* ext/ming/ming/swfmovie.c 
	(rb_SWFMovie_start_sound): added
	(rb_SWFMovie_stop_sound): added
	(rb_SWFMovie_set_button_sound): added

	* ext/ming/ming/swfmovie.c (rb_SWFMovie_stream_mp3): changed
	* ext/ming/ming/swfmovieclip.c 
	(rb_SWFMovieClip_set_sound_stream): changed

	To support JaMing 0.1.3, newSWFSoundStream() is used.
	Thanks Satoru Takabayashi for his advice in [ming:104].

	* ext/ming/ming/ming.c (Init_ming): added

	some constants for JaMing 0.0.3 about SWF_SOUND_* are added.

	* ext/ming/ming/ming.c (Init_ming): changed

	Remove the changes at version 0.0.8 about raising exception.
	The changes at version 0.0.8 causes some segmentation faults.
	
2002-06-13  IKEGAMI Daisuke  <daisu-ik@is.aist-nara.ac.jp>

        Ming/Ruby ver 0.0.9 released.

	* ext/ming/ming/swftextfield.c (Init_swftextfield): added

	SWFTextFiled#set_name is alias of #set_variable_name

	* ext/ming/ming/swfmovieclip.c (Init_swfmovieclip): added

	SWFSprite is a subclass of SWFMovieClip as its alias
	
	* ext/ming/ming/swfbitmap.c (rb_SWFBitmap_s_new): bug fixed

	a bug about alpha mask is fixed.

	* ext/ming/ming/swffont.c 
	(rb_SWFFont_s_new): bug fixed
	(rb_SWFFont_free): bug fixed

	a bug about SWFBrowserFont is fixed.

	* ext/ming/ming/swfmovie.c (rb_SWFMovie_remove): bug fixed

	a stupid bug is fixed.

	* ext/ming/ming/swfdisplayitem.c (rb_SWFDisplayItem_scale_to): changes
	* ext/ming/ming/swffill.c (rb_SWFFill_scale_to): changes

	If number of given argument is 1, then scales same rate.
        see also 
	  http://ming.sourceforge.net/tutorial/index3.html

	Thanks KATAYAMA Toshiaki for his bug report.

2002-06-12  IKEGAMI Daisuke  <daisu-ik@is.aist-nara.ac.jp>

        Ming/Ruby ver 0.0.8 released.
        main functions in ming.h are implemented.

	* ext/ming/ming/ming.c (rb_ming_raise): added

	If Ming occurs some errors or warnings, then raise exceptions.

	* ext/ming/ming/ming.c (Init_ming): any constants are added

	Now, any constants written in ming.h are added.
	
	* ext/ming/ming/swfgradient.c (Init_swfgradient): bug fixed

	Found a mistake that SWFGradient#add_entry is singleton method.
	Now #add_entry is instance method truly. 
	Thanks KATAYAMA Toshiaki for his bug report.

2002-06-12  IKEGAMI Daisuke  <daisu-ik@is.aist-nara.ac.jp>

        Ming/Ruby ver 0.0.7 released. 
	
	* ext/ming/ming/swfbitmap.c (rb_SWFBitmap_s_new): bug fixed

	A critical bug is fixed. If system close the file pointer of JPEG
	bitmap file, then SWFMovie fails to save SWF files.

	Now struct RSWFBitmap has a file pointer to close when object is
	freed.
  	struct RSWFBitmap
	{
	   SWFBitmap this;
	   char protect_p;
           FILE *fp; /* <-- added */
	};

	Refer the bug report on the mailing list:
	http://www.opaque.net/pipermail/ming-fun/2001-January/000068.html
	
	* ext/ming/ming/swfdisplayitem.c 
	(rb_SWFDisplayItem_mult_color): bug fixed

	Found a mistake of implementation about the method #mult_color;
	in Ming/Ruby previous version, wrong type arguments (int) are
	given in #mult_color though SWFDisplayItem_multColor requires
	float arguments.

	Thanks KATAYAMA Toshiaki for his bug reports.

2002-06-11  IKEGAMI Daisuke  <daisu-ik@is.aist-nara.ac.jp>

	* ext/ming/ming/swffont.c (rb_SWFFont_s_new): changed

	now SWFFont has a class variable "@@font_path" and
	when SWFFont.new system search font file into @@font_path.

	For example, if a font file named 'hoge.fdb' locates at
	/usr/share/fonts, SWFFont can be created as follows:

	  SWFFont.font_path.push "/usr/share/fonts"
	  SWFFont.new('hoge.fdb')

	* ext/ming/ming/swfmovie.c (rb_SWFMovie_stream_mp3): changed

	As same as SWFFont, SWFMovie has a class variabel "@@mp3_path"
	to search mp3 file for streaming.
	
2002-06-10  IKEGAMI Daisuke  <daisu-ik@is.aist-nara.ac.jp>

        Ming/Ruby 0.0.6 released.

	* ext/ming/ming/swfmovie.c (rb_SWFMovie_stream_mp3): added

        Now mp3 streaming is supported, and few methods are added.
	
	* ext/ming/ming/swffont.c 
	(rb_SWFFont_get_descent): added
	(rb_SWFFont_get_leading): added

	* ext/ming/ming/swftextfield.c (rb_SWFTextField_set_flags): added

	* ext/ming/ming/swftext.c (rb_SWFText_get_descent): added

	* ext/ming/ming/swffill.c 
	(rb_SWFFill_scale_x_to): added
	(rb_SWFFill_scale_y_to): added
	(rb_SWFFill_set_matrix): added

	* ext/ming/ming/swfdisplayitem.c 
	(rb_SWFDisplayItem_get_depth): added
	(rb_SWFDisplayItem_set_matrix): added

	* ext/ming/ming/swfshape.c (rb_SWFShape_draw_cubic_to): added

	* ext/ming/ming/swfmovie.c (rb_SWFMovie_set_number_of_frames): added

2002-06-10  IKEGAMI Daisuke  <daisu-ik@is.aist-nara.ac.jp>

        Ming/Ruby 0.0.5 released.

	Thanks KATAYAMA Toshiaki for his private report that the tar-ball
	file of version 0.0.4 on the Web cannot be got because the
	filename is wrong. Sorry. :)
	
2002-06-08  IKEGAMI Daisuke  <daisu-ik@is.aist-nara.ac.jp>

	* ext/ming/ming/swftextfield.c (rb_SWFTextField_align): added

	* ext/ming/ming/ming.c 
	(rb_Ming_key_press): added
	(rb_Ming_on_key_press): added

	implement two SWFBUTTON macros as module function:
	SWFBUTTON_KEYPRESS(c), SWFBUTTON_ONKEYPRESS(c)

	(Init_ming): added
	4 constants added: SWFTEXTFIELD_ALIGN_LEFT, RIGHT, CENTER, JUSTIFY
	
	* ext/ming/ming/swfmovieclip.c (rb_SWFMovieClip_label_frame): added

2002-06-07  IKEGAMI Daisuke  <daisu-ik@is.aist-nara.ac.jp>

        Ming/Ruby 0.0.4 released.

	* ext/ming/ming/ming_ruby.h: changed
        * ext/ming/ming/*.c: changed
	
	Fixed SEGV bugs reported in version 0.0.3.
	All structure for RSWF* has a flag to avoid doubly freeing,
	for example, in ming_ruby.h; 
	  struct RSWFBlock
          {
            SWFBlock this;
            char protect_p; /* <- added */
          };

        The flag "protect_p" is 0 default and 1 when system should 
	not call destroy_SWF* to free the object itself.

	See also ming_ruby.h, swfmovie.c, swfshape.c and 
	the archive log of the mailing list [ming:84] in detail.

	Now the ad-hoc changes on May 25 are invalid.
	
2002-05-25  IKEGAMI Daisuke  <daisu-ik@is.aist-nara.ac.jp>

	* ext/ming/ming/swfmovieclip.c (rb_SWFMovieClip_add): changed
	return Qnil if DisplayItem == NULL

	At Linux, occur SEGV error when object is freed doubly
	
	* ext/ming/ming/swfmovieclip.c (rb_SWFMovieClip_add): changed
	* ext/ming/ming/swfmovie.c (rb_SWFMovie_add): changed
	avoid to free doubly. (ad-hoc)

	* ext/ming/ming/swfmovie.c (rb_SWFMovie_s_new): 
	stop to call destroy_SWFMovie when SWFMovie object is free 
	by Ruby finalizer (ad-hoc)
	
2002-05-24  IKEGAMI Daisuke  <daisu-ik@is.aist-nara.ac.jp>

	* ext/ming/ming/swfmovie.c 
	(rb_SWFMovie_s_new): changed
	(rb_SWFMovie_label_frame): added
	(rb_SWFMovie_output): added

	SWFMovie.new allowed an argument to set Flash version.
	a method label_frame added.

	* ext/ming/ming/swftext.c (rb_SWFText_get_leading): added

	added SWFText.get_leading for SWFText_getLeading.

	* ext/ming/ming/swftextfield.c (rb_SWFTextField_s_new): changed

	SWFTextField.new allowed an argument to set flags.

	* ext/ming/ming/ming.c (Init_ming): added
	some constants for SWFTextField are added.

2002-05-23  IKEGAMI Daisuke  <daisu-ik@is.aist-nara.ac.jp>

	* fonts.ja: added
	* fonts.en: added
	The above two files (fonts.*) help how to use fonts on Ruby/Ming
	(or original Ming or JaMing)
	
2002-05-23  IKEGAMI Daisuke  <daisu-ik@is.aist-nara.ac.jp>

        Ming/Ruby 0.0.3 released.

	Names of all methods are changed following a custom rule of Ruby
	like "move_to" in place of "moveTo".

	Sorry that compatibility of the old version is lost completely.

2002-05-17  IKEGAMI Daisuke  <daisu-ik@is.aist-nara.ac.jp>

	* ext/ming/ming/ming.c (Init_ming): added
	some constants for SWFButton are added in Ming module.

2002-05-17  IKEGAMI Daisuke  <daisu-ik@is.aist-nara.ac.jp>

	Ming/Ruby 0.0.2 released.
	
	* ext/ming/ming/swfbutton.c: added
	* ext/ming/ming/swfaction.c: added

	* ext/ming/ming/swfmovie.c (rb_SWFMovie_add): bug fixed
	return nil when SWFMovie_add return NULL.

2002-05-16  IKEGAMI Daisuke  <daisu-ik@is.aist-nara.ac.jp>

	* ext/ming/ming/ming.c (Init_ming): added
	added an Exception class for Ming named MingError.

2002-05-15  IKEGAMI Daisuke  <daisu-ik@is.aist-nara.ac.jp>

	* ext/ming/ming/swfbitmap.c (rb_SWFBitmap_s_new): bug fixed
	some latent bug are fixed likes as follows:
	  len = strlen(x);
	  x[len-4]; /* do not access when len < 4 */
	
2002-05-15  IKEGAMI Daisuke  <daisu-ik@is.aist-nara.ac.jp>
	Ming/Ruby 0.0.1 released.
