From phil at produxion.net Wed Dec 1 16:39:55 2004 From: phil at produxion.net (Phil Powell) Date: Wed, 1 Dec 2004 16:39:55 +0000 Subject: [as2api-dev] Mac GUI bundle Message-ID: Finally worked out how to bundle Ruby with an app so that it can be self-contained. In the end it turned out to be quite simple, but since this is quite untrodden territory took a while to figure out. First step was to tell the app to use it's own resource path to run Ruby from. Then was just a matter of adding a couple of extra steps to the build phase so taht the libruby.1.dylib is copied to the executables within the package, and the RubyCocoa Framework added to the Frameworks within the package. Works a treat, and tested it on a machine without Ruby. Only downside is that the .app is now 2.5MB. -- Phil Powell Produxion - http://www.produxion.net Part of the 334 Group - http://www.334group.com From dave at badgers-in-foil.co.uk Wed Dec 1 17:15:38 2004 From: dave at badgers-in-foil.co.uk (David Holroyd) Date: Wed, 1 Dec 2004 17:15:38 +0000 Subject: [as2api-dev] Mac GUI bundle In-Reply-To: References: Message-ID: <20041201171538.GA28254@vhost.badgers-in-foil.co.uk> On Wed, Dec 01, 2004 at 04:39:55PM +0000, Phil Powell wrote: > Finally worked out how to bundle Ruby with an app so that it can be > self-contained. Rock! > Works a treat, and tested it on a machine without Ruby. Only downside > is that the .app is now 2.5MB. Still beats close-to-6MB for the (unzipped) .exe file! So, you gonna slap a .dmg somewhere then? dave -- http://david.holroyd.me.uk/ From phil at produxion.net Wed Dec 1 17:20:39 2004 From: phil at produxion.net (Phil Powell) Date: Wed, 1 Dec 2004 17:20:39 +0000 Subject: [as2api-dev] Mac GUI bundle In-Reply-To: <20041201171538.GA28254@vhost.badgers-in-foil.co.uk> References: <20041201171538.GA28254@vhost.badgers-in-foil.co.uk> Message-ID: <52B5F762-43BD-11D9-99B0-000A95871B9A@produxion.net> On 1 Dec 2004, at 5:15 pm, David Holroyd wrote: > > So, you gonna slap a .dmg somewhere then? Certainly am - but want to get your latest code in there first and add progress bar. Then I'll build a net-ready dmg. > > > dave > > -- > http://david.holroyd.me.uk/ > > _______________________________________________ > as2api-dev mailing list > as2api-dev@lists.badgers-in-foil.co.uk > http://lists.badgers-in-foil.co.uk/mailman/listinfo/as2api-dev > > -- Phil Powell Produxion - http://www.produxion.net Part of the 334 Group - http://www.334group.com From phil at produxion.net Fri Dec 3 11:20:58 2004 From: phil at produxion.net (Phil Powell) Date: Fri, 3 Dec 2004 11:20:58 +0000 Subject: [as2api-dev] Progress Message-ID: <68343859-451D-11D9-9E92-000A95871B9A@produxion.net> Dave, Been looking at your rbw file to see about adding a progress bar to the OSX app. Are you just using the number of src paths to update the progress bar? I don't suppose there's a way to track completion of the process yet? I guess what would be cool is a logging interface which allows us to connect GUI elements to it? Is there any standardised way to to do this in Ruby? Like a log4j type-a-thing? App is ready to go, but would like to sort out the status display before releasing it properly - otherwise it just sits there looking like it's doing nowt! From dave at badgers-in-foil.co.uk Fri Dec 3 12:04:44 2004 From: dave at badgers-in-foil.co.uk (David Holroyd) Date: Fri, 3 Dec 2004 12:04:44 +0000 Subject: [as2api-dev] Progress In-Reply-To: <68343859-451D-11D9-9E92-000A95871B9A@produxion.net> References: <68343859-451D-11D9-9E92-000A95871B9A@produxion.net> Message-ID: <20041203120444.GA31184@vhost.badgers-in-foil.co.uk> On Fri, Dec 03, 2004 at 11:20:58AM +0000, Phil Powell wrote: > Dave, > > Been looking at your rbw file to see about adding a progress bar to the > OSX app. Are you just using the number of src paths to update the > progress bar? I don't suppose there's a way to track completion of the > process yet? Yes indeed. While I've been using it, each file is parsed fairly quicky, so simply updating the progress once per file completed gives fairly good temporal resolution. On a slow system, the progress bar will 'stick' while each file is processed (but then, you don't want to be using as2api on slower systems until it's had some optimisation-love). > I guess what would be cool is a logging interface which allows us to > connect GUI elements to it? Is there any standardised way to to do > this in Ruby? Like a log4j type-a-thing? There are such logging facilities for Ruby, but IMO this isn't a problem that wants to be solved with logging -- we need a bunch of general application-y/userinterface-y code for both the RubyCoca and FXRuby GUIs to share. Then we can have them subscribe to progress-events, parse-error-events, etc., and do whatever visual tricks they like. > App is ready to go, but would like to sort out the status display > before releasing it properly - otherwise it just sits there looking > like it's doing nowt! Well, remember that the first releases don't have to be perfect ;) I'm still calling current releases 'alpha'. I realise that it would be ideal to have parity between the different GUIs, but at this early stage, I'm not going to complain if it's not quite there yet. dave -- http://david.holroyd.me.uk/ From dave at badgers-in-foil.co.uk Thu Dec 9 21:09:06 2004 From: dave at badgers-in-foil.co.uk (David Holroyd) Date: Thu, 9 Dec 2004 21:09:06 +0000 Subject: [as2api-dev] Accessibility tweaks Message-ID: <20041209210906.GA28154@vhost.badgers-in-foil.co.uk> I made some small changes to html_output.rb to try and improve accessibility of the generated pages. For instance including, before the top-of-page navigation bar, and obviously following it with, I nicked the ideas from some bugfixes made to JavaDoc in JDK1.4.2. dave -- http://david.holroyd.me.uk/ From Simon_Wacker at gmx.de Thu Dec 30 21:19:24 2004 From: Simon_Wacker at gmx.de (Simon Wacker) Date: Thu, 30 Dec 2004 22:19:24 +0100 Subject: [as2api-dev] doc generation does not work with 0.2 gui windoes version Message-ID: <002401c4eeb5$3cbf2e70$07affea9@simon> --=======AVGMAIL-41D470DC1284======= Content-Type: multipart/alternative; boundary="----=_NextPart_000_0021_01C4EEBD.9E78C100" ------=_NextPart_000_0021_01C4EEBD.9E78C100 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Hi Guys, I tried to generate the documentation for the as2lib with the 0.2 gui = version for windows, but the generation tool just closes itself and does = nothing when I press the Generate Docs button. I have both added the = class path and the output target. The generation worked just fine with the 0.1 version. Any ideas how this could be finxed or what's causing that strange = behaviour? Cheers Simon btw. I'm running xp home edition -- Simon Wacker www.simonwacker.com www.as2lib.org www.hq-heilbronn.de ------=_NextPart_000_0021_01C4EEBD.9E78C100 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable
Hi Guys,
 
I tried to generate the documentation for the = as2lib with=20 the 0.2 gui version for windows, but the generation tool just closes = itself and=20 does nothing when I press the Generate Docs button. I have both added = the class=20 path and the output target.
The generation worked just fine with the 0.1=20 version.
Any ideas how this could be finxed or what's = causing that=20 strange behaviour?
 
Cheers
Simon
 
btw. I'm running xp home edition
--
Simon Wacker
www.simonwacker.com
www.as2lib.org
www.hq-heilbronn.de
<= /BODY> ------=_NextPart_000_0021_01C4EEBD.9E78C100-- --=======AVGMAIL-41D470DC1284======= Content-Type: text/plain; x-avg=cert; charset=us-ascii Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Content-Description: "AVG certification" No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.298 / Virus Database: 265.6.6 - Release Date: 28.12.2004 --=======AVGMAIL-41D470DC1284=======--