Re: [mtasc] Re: MTASC has been forked, perhaps you would like to update?

2009-11-23 Thread Tristan Schmelcher
I'd be fine with moving to Github if there's interest in further MTASC
development. I'll contact the HAMTASC list and see.

I've finally gotten around to releasing a source archive on the SF site, and
attached the two patches here taken right from svn diff. patch -p0 < FILE
should work.

(Paul: the Flash 9 support will require a small packaging change, in that
there is a new "std9" directory that must be shipped in the same way as the
std and std8 directories.)

2009/11/13 Luke Bayes 

> I could be wrong, but I'm pretty sure Git works fine on Windows.
>
> For whatever it's worth, I also vote for Github.
>
> Having managed a handful of moderately successful open source projects
> on Sourceforge over the past 8 years, I've never seen anything close
> to the quantity or quality of contributions that we've seen from
> Github in the past 12 months. They're not even close to equivalent
> systems.
>
> Github encourages and facilitates contribution while Sourceforge
> actively inhibits it. And don't get me started on the spammy
> SourceForge download pages.
>
>
> Luke Bayes
> http://asunit.org
> http://projectsprouts.org
>
Index: ocaml/mtasc/std9/MovieClipLoader.as
===
--- ocaml/mtasc/std9/MovieClipLoader.as	(revision 0)
+++ ocaml/mtasc/std9/MovieClipLoader.as	(revision 10)
@@ -0,0 +1,17 @@
+//
+// ActionScript Standard Library
+// MovieClipLoader object
+//
+
+intrinsic class MovieClipLoader
+{
+	var checkPolicyFile : Boolean;
+
+	function MovieClipLoader();
+
+	function addListener(listener:Object):Boolean;
+	function getProgress(target:Object):Object;
+	function loadClip(url:String, target:Object):Boolean;
+	function removeListener(listener:Object):Boolean;
+	function unloadClip(target:Object):Boolean;
+}
\ No newline at end of file
Index: ocaml/mtasc/std9/NetStream.as
===
--- ocaml/mtasc/std9/NetStream.as	(revision 0)
+++ ocaml/mtasc/std9/NetStream.as	(revision 10)
@@ -0,0 +1,33 @@
+//
+// ActionScript Standard Library
+// NetStream object
+//
+
+dynamic intrinsic class NetStream
+{
+	var bufferLength:Number;
+	var bufferTime:Number;
+	var bytesLoaded:Number;
+	var bytesTotal:Number;
+	var currentFps:Number;
+	var liveDelay:Number;
+	var time:Number;
+	var checkPolicyFile : Boolean;
+
+	function NetStream(connection:NetConnection);
+
+	function attachAudio(theMicrophone:Microphone):Void;
+	function attachVideo(theCamera:Camera,snapshotMilliseconds:Number):Void;
+	function close():Void;
+	function pause(flag:Boolean):Void;
+	function play(name:Object, start:Number, len:Number, reset:Object):Void;
+	function publish(name:Object, type:String):Void;
+	function receiveAudio(flag:Boolean):Void;
+	function receiveVideo(flag:Object):Void;
+	function seek(offset:Number):Void;
+	function send(handlerName:String):Void;
+	function setBufferTime(bufferTime:Number):Void;
+	function onResult(streamId:Number);
+	function onStatus(infoObject:Object):Void;
+	 function onCuePoint(infoObject:Object):Void;
+}
\ No newline at end of file
Index: ocaml/mtasc/std9/Stage.as
===
--- ocaml/mtasc/std9/Stage.as	(revision 0)
+++ ocaml/mtasc/std9/Stage.as	(revision 10)
@@ -0,0 +1,19 @@
+//
+// ActionScript Standard Library
+// Stage object 
+//
+
+intrinsic class Stage
+{
+	static var align:String;
+static var displayState:String;
+	static var height:Number;
+	static var scaleMode:String;
+	static var showMenu:Boolean;
+	static var width:Number;
+
+	static function addListener(listener:Object):Void;
+	static function removeListener(listener:Object):Boolean;
+
+function onFullScreen(bFull:Boolean):Void;
+}
\ No newline at end of file
Index: ocaml/mtasc/std9/MovieClip.as
===
--- ocaml/mtasc/std9/MovieClip.as	(revision 0)
+++ ocaml/mtasc/std9/MovieClip.as	(revision 10)
@@ -0,0 +1,117 @@
+//
+// ActionScript Standard Library
+// Movie Clip object
+//
+import flash.display.BitmapData;
+import flash.geom.Matrix;
+import flash.geom.Rectangle;
+import flash.geom.Transform;
+
+dynamic intrinsic class MovieClip
+{
+	var _alpha:Number;
+	var _currentframe:Number;
+	var _droptarget:String;
+	var _focusrect:Boolean;
+	var _framesloaded:Number;
+	var _height:Number;
+	var _highquality:Number;
+	var _

Re: MTASC has been forked, perhaps you would like to update?

2009-10-30 Thread Tristan Schmelcher
Thanks for the quick reply, Paul.

2009/10/30 Paul Wise 

> On Fri, 2009-10-30 at 13:16 +0100, Tristan Schmelcher wrote:
>
> > I'm just writing to let you know that I recently forked MTASC, the
> > Motion-Twin ActionScript 2.0 compiler, which is packaged in both
> > Debian and Ubuntu as "mtasc". Motion-Twin has ceased development of
> > MTASC and my attempts to get patches submitted fell on deaf ears, so I
> > have made a new site and released a new version, 1.15. See
> > http://sourceforge.net/projects/mtasc/ for the code and binaries.
>
> Tristan, I know how you feel, some of my simple Debian patches are still
> waiting as far as I know.
>
> Nicolas, when will you be able to merge our patches?
>
> Nicolas, even if you do merge Tristan's patches, I think it would be a
> good idea to turn mtasc development over to the community and moving
> everything to a sourceforge project is probably the best way to do that.
> Would you consider doing that? One issue with doing that is the extc
> static library, which is currently an embedded code copy in mtasc. I
> guess that could be moved to its own project too.
>
> Tristan, why are you not distributing a source code tarball?
>
>
I read over SourceForge's current policy docs and couldn't find any
reference to their old requirement that projects release source tarballs, so
I assumed it was no longer required. The source is all in SVN of course. I'm
not committed against source tarballs though.


> Tristan, if you haven't yet looked at the Git version control system,
> I'd strongly suggest doing so. If you need someone to do a good
> conversion from CVS -> SVN -> Git, I'd be happy to help out since I have
> a fair bit of experience with that.
>

I'm aware of Git, though I don't have much experience with it. From what I
know of Git it sounds awesome, but it also sounds like most of its benefits
are for projects with large numbers of contributors and patches (e.g., the
Linux kernel). I don't expect a fork of MTASC to have either, so I'm not
sure the gains would be worth the migration effort.


>
> > The new version adds two major features: support for classes
> > containing more than 32 KB of bytecode, and support for Flash 9. These
> > changes have been in use internally at Google for almost two years
> > with no problems.
>
> I'm sure mtasc users would very much appreciate these two features.
>
> > I'd be pleased if you would consider updating your mtasc packages to
> > the new version.
>
> I'm not actually using the Debian mtasc package and am only maintaining
> it out of inertia. If you would like to take it over and upload your
> fork to Debian (which would then be automatically copied to Ubuntu), I'd
> be happy to sponsor you until you become a DD or get DM privileges.
>
> You might want to contact the maintainers of the FreeBSD and Fink
> packages too, you can find them using the 'whohas' tool in Debian:
>
> http://www.philippwesche.org/200811/whohas/intro.html
>
> --
> bye,
> pabs
>
> http://wiki.debian.org/PaulWise
>
-- 
Ubuntu-motu mailing list
Ubuntu-motu@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-motu


MTASC has been forked, perhaps you would like to update?

2009-10-30 Thread Tristan Schmelcher
Hello,

I'm just writing to let you know that I recently forked MTASC, the
Motion-Twin ActionScript 2.0 compiler, which is packaged in both Debian and
Ubuntu as "mtasc". Motion-Twin has ceased development of MTASC and my
attempts to get patches submitted fell on deaf ears, so I have made a new
site and released a new version, 1.15. See
http://sourceforge.net/projects/mtasc/ for the code and binaries.

The new version adds two major features: support for classes containing more
than 32 KB of bytecode, and support for Flash 9. These changes have been in
use internally at Google for almost two years with no problems.

I'd be pleased if you would consider updating your mtasc packages to the new
version.

Thanks,
Tristan
-- 
Ubuntu-motu mailing list
Ubuntu-motu@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-motu