From phil at produxion.net Tue Feb 22 12:48:45 2005 From: phil at produxion.net (Phil Powell) Date: Tue, 22 Feb 2005 12:48:45 +0000 Subject: [as2api-dev] Cocoa application finally sees the light of day Message-ID: <170F8220-84D0-11D9-A119-000A95871B9A@produxion.net> After a break from developing (lots of work commitments - you know how it is), I've revisited the problems I was having getting a self-contained OS X as2api app bundled and have managed to resolve the issues. It turned out that the problem was the install_name headers of the included frameworks and dynamic libraries - during compilation, these use absolute paths to point to each other. But using a little-know OS X tool called install_name_tool, I was able to make the necessary changes to these files so that they reference their own instances within the app. It took a lot of head-scratching and investigation, but got there in the end! As far as I'm aware, this is the first time I've known of anyone managing to bundle Ruby and RubyCocoa in an app without the need to bootstrap them. The download (very ropey, ungraceful dev version) is at: http://www.philsgaff.co.uk/2005/02/22/as2api-mac-01-re-release/ Cheers, Phil From dave at badgers-in-foil.co.uk Tue Feb 22 13:08:10 2005 From: dave at badgers-in-foil.co.uk (David Holroyd) Date: Tue, 22 Feb 2005 13:08:10 +0000 Subject: [as2api-dev] Cocoa application finally sees the light of day In-Reply-To: <170F8220-84D0-11D9-A119-000A95871B9A@produxion.net> References: <170F8220-84D0-11D9-A119-000A95871B9A@produxion.net> Message-ID: <20050222130809.GA32333@vhost.badgers-in-foil.co.uk> On Tue, Feb 22, 2005 at 12:48:45PM +0000, Phil Powell wrote: > The download (very ropey, ungraceful dev version) is at: > > http://www.philsgaff.co.uk/2005/02/22/as2api-mac-01-re-release/ Wayhay! Phil, you rock! To celebrate, I am going to steal the G4 that's been sitting unused by Daniel's desk for some months, and will try to have a play soon. dave -- http://david.holroyd.me.uk/ From erixtekila at dotgeek.org Tue Feb 22 13:37:27 2005 From: erixtekila at dotgeek.org (erixtekila) Date: Tue, 22 Feb 2005 14:37:27 +0100 Subject: Fwd: [as2api-dev] Cocoa application finally sees the light of day Message-ID: D=E9but du message r=E9exp=E9di=E9 : > De: erixtekila > Date: 22 f=E9vrier 2005 14:27:31 GMT+01:00 > =C0: Phil Powell > Objet: R=E9p : [as2api-dev] Cocoa application finally sees the light = of=20 > day > > Works well here. > Thanks. > > Do you plan to include the latest version of as2api ? > In fact, Dave has commited a version which include dot syntax to=20 > generate png schemas, plus indexation. > > Problem is that there is no svn publicly available. > If you want, i could send you my copy=85 > The only problemn is the font used for dot commandline tool : ttf only=20= > works. > But I've found that GUI : http://www.pixelglow.com/graphviz/ > It makes the things properly. > > Regards. > > Le 22 f=E9vr. 05, =E0 13:48, Phil Powell a =E9crit : > >> After a break from developing (lots of work commitments - you know=20= >> how it is), I've revisited the problems I was having getting a=20 >> self-contained OS X as2api app bundled and have managed to resolve=20 >> the issues. >> >> It turned out that the problem was the install_name headers of the=20 >> included frameworks and dynamic libraries - during compilation, these=20= >> use absolute paths to point to each other. But using a little-know=20= >> OS X tool called install_name_tool, I was able to make the necessary=20= >> changes to these files so that they reference their own instances=20 >> within the app. >> >> It took a lot of head-scratching and investigation, but got there in=20= >> the end! >> >> As far as I'm aware, this is the first time I've known of anyone=20 >> managing to bundle Ruby and RubyCocoa in an app without the need to=20= >> bootstrap them. >> >> The download (very ropey, ungraceful dev version) is at: >> >> http://www.philsgaff.co.uk/2005/02/22/as2api-mac-01-re-release/ >> >> Cheers, >> >> Phil >> >> >> _______________________________________________ >> as2api-dev mailing list >> as2api-dev@lists.badgers-in-foil.co.uk >> http://lists.badgers-in-foil.co.uk/mailman/listinfo/as2api-dev >> > > > ----------- > erixtekila > http://blog.v-i-a.net/ From erixtekila at dotgeek.org Tue Feb 22 13:39:00 2005 From: erixtekila at dotgeek.org (erixtekila) Date: Tue, 22 Feb 2005 14:39:00 +0100 Subject: [as2api-dev] private members Message-ID: <0fdb1e21364b371064a27fb6dbc83766@dotgeek.org> Hi David, Is there any easy way to get rid of the private members in the generated doc ? Thanks a lot. ----------- erixtekila http://blog.v-i-a.net/ From phil at produxion.net Tue Feb 22 13:39:21 2005 From: phil at produxion.net (Phil Powell) Date: Tue, 22 Feb 2005 13:39:21 +0000 Subject: [as2api-dev] Cocoa application finally sees the light of day In-Reply-To: <7beab657784ed830bf57dd5ac7c4ad74@dotgeek.org> References: <170F8220-84D0-11D9-A119-000A95871B9A@produxion.net> <7beab657784ed830bf57dd5ac7c4ad74@dotgeek.org> Message-ID: <2859D504-84D7-11D9-A119-000A95871B9A@produxion.net> I've mainly been concerned with getting the app running up until now=20 (which has been one hell of an uphill-undocumented struggle, believe=20 me!). Now that I have everything compiling and running OK, I'll be=20 looking at implementing the latest codebase and enhancing the UI so=20 that it's more intuitive. graphviz looks interesting - I'll take a look sometime soon. In the meantime, if you're a Mac ASer, have you checked out=20 http://www.philsgaff.co.uk/2005/02/21/xcode-actionscript-ide-in-brief/ I'm a much happier Flash coder since I got a decent IDE :) PHil On 22 Feb 2005, at 1:27 pm, erixtekila wrote: > Works well here. > Thanks. > > Do you plan to include the latest version of as2api ? > In fact, Dave has commited a version which include dot syntax to=20 > generate png schemas, plus indexation. > > Problem is that there is no svn publicly available. > If you want, i could send you my copy=85 > The only problemn is the font used for dot commandline tool : ttf only=20= > works. > But I've found that GUI : http://www.pixelglow.com/graphviz/ > It makes the things properly. > > Regards. > > Le 22 f=E9vr. 05, =E0 13:48, Phil Powell a =E9crit : > >> After a break from developing (lots of work commitments - you know=20= >> how it is), I've revisited the problems I was having getting a=20 >> self-contained OS X as2api app bundled and have managed to resolve=20 >> the issues. >> >> It turned out that the problem was the install_name headers of the=20 >> included frameworks and dynamic libraries - during compilation, these=20= >> use absolute paths to point to each other. But using a little-know=20= >> OS X tool called install_name_tool, I was able to make the necessary=20= >> changes to these files so that they reference their own instances=20 >> within the app. >> >> It took a lot of head-scratching and investigation, but got there in=20= >> the end! >> >> As far as I'm aware, this is the first time I've known of anyone=20 >> managing to bundle Ruby and RubyCocoa in an app without the need to=20= >> bootstrap them. >> >> The download (very ropey, ungraceful dev version) is at: >> >> http://www.philsgaff.co.uk/2005/02/22/as2api-mac-01-re-release/ >> >> Cheers, >> >> Phil >> >> >> _______________________________________________ >> as2api-dev mailing list >> as2api-dev@lists.badgers-in-foil.co.uk >> http://lists.badgers-in-foil.co.uk/mailman/listinfo/as2api-dev >> > > > ----------- > erixtekila > http://blog.v-i-a.net/ > > From phil at produxion.net Tue Feb 22 13:42:41 2005 From: phil at produxion.net (Phil Powell) Date: Tue, 22 Feb 2005 13:42:41 +0000 Subject: [as2api-dev] private members In-Reply-To: <0fdb1e21364b371064a27fb6dbc83766@dotgeek.org> References: <0fdb1e21364b371064a27fb6dbc83766@dotgeek.org> Message-ID: <9F742B04-84D7-11D9-A119-000A95871B9A@produxion.net> Ideally, that would be best to be set as a switch? An override in the style of JavaDoc? PHil On 22 Feb 2005, at 1:39 pm, erixtekila wrote: > Hi David, > > > Is there any easy way to get rid of the private members in the > generated doc ? > Thanks a lot. > > ----------- > erixtekila > http://blog.v-i-a.net/ > > > > _______________________________________________ > as2api-dev mailing list > as2api-dev@lists.badgers-in-foil.co.uk > http://lists.badgers-in-foil.co.uk/mailman/listinfo/as2api-dev > > From phil at produxion.net Tue Feb 22 13:47:46 2005 From: phil at produxion.net (Phil Powell) Date: Tue, 22 Feb 2005 13:47:46 +0000 Subject: [as2api-dev] Cocoa application finally sees the light of day In-Reply-To: <2859D504-84D7-11D9-A119-000A95871B9A@produxion.net> References: <170F8220-84D0-11D9-A119-000A95871B9A@produxion.net> <7beab657784ed830bf57dd5ac7c4ad74@dotgeek.org> <2859D504-84D7-11D9-A119-000A95871B9A@produxion.net> Message-ID: <554D91D8-84D8-11D9-A119-000A95871B9A@produxion.net> On 22 Feb 2005, at 1:39 pm, Phil Powell wrote: > In the meantime, if you're a Mac ASer, have you checked out=20 > http://www.philsgaff.co.uk/2005/02/21/xcode-actionscript-ide-in-brief/ > Of course you've checked it out - you're the one who's been giving me=20 pointers! Doh! Phil > I'm a much happier Flash coder since I got a decent IDE :) > > PHil > > On 22 Feb 2005, at 1:27 pm, erixtekila wrote: > >> Works well here. >> Thanks. >> >> Do you plan to include the latest version of as2api ? >> In fact, Dave has commited a version which include dot syntax to=20 >> generate png schemas, plus indexation. >> >> Problem is that there is no svn publicly available. >> If you want, i could send you my copy=85 >> The only problemn is the font used for dot commandline tool : ttf=20 >> only works. >> But I've found that GUI : http://www.pixelglow.com/graphviz/ >> It makes the things properly. >> >> Regards. >> >> Le 22 f=E9vr. 05, =E0 13:48, Phil Powell a =E9crit : >> >>> After a break from developing (lots of work commitments - you know=20= >>> how it is), I've revisited the problems I was having getting a=20 >>> self-contained OS X as2api app bundled and have managed to resolve=20= >>> the issues. >>> >>> It turned out that the problem was the install_name headers of the=20= >>> included frameworks and dynamic libraries - during compilation,=20 >>> these use absolute paths to point to each other. But using a=20 >>> little-know OS X tool called install_name_tool, I was able to make=20= >>> the necessary changes to these files so that they reference their=20 >>> own instances within the app. >>> >>> It took a lot of head-scratching and investigation, but got there in=20= >>> the end! >>> >>> As far as I'm aware, this is the first time I've known of anyone=20 >>> managing to bundle Ruby and RubyCocoa in an app without the need to=20= >>> bootstrap them. >>> >>> The download (very ropey, ungraceful dev version) is at: >>> >>> http://www.philsgaff.co.uk/2005/02/22/as2api-mac-01-re-release/ >>> >>> Cheers, >>> >>> Phil >>> >>> >>> _______________________________________________ >>> as2api-dev mailing list >>> as2api-dev@lists.badgers-in-foil.co.uk >>> http://lists.badgers-in-foil.co.uk/mailman/listinfo/as2api-dev >>> >> >> >> ----------- >> erixtekila >> http://blog.v-i-a.net/ >> >> > > From dave at badgers-in-foil.co.uk Tue Feb 22 18:03:44 2005 From: dave at badgers-in-foil.co.uk (David Holroyd) Date: Tue, 22 Feb 2005 18:03:44 +0000 Subject: [as2api-dev] Cocoa application finally sees the light of day In-Reply-To: <20050222130809.GA32333@vhost.badgers-in-foil.co.uk> References: <170F8220-84D0-11D9-A119-000A95871B9A@produxion.net> <20050222130809.GA32333@vhost.badgers-in-foil.co.uk> Message-ID: <20050222180343.GA6584@vhost.badgers-in-foil.co.uk> On Tue, Feb 22, 2005 at 01:08:10PM +0000, David Holroyd wrote: > On Tue, Feb 22, 2005 at 12:48:45PM +0000, Phil Powell wrote: > > The download (very ropey, ungraceful dev version) is at: > > > > http://www.philsgaff.co.uk/2005/02/22/as2api-mac-01-re-release/ > To celebrate, I am going to steal the G4 that's been sitting unused by > Daniel's desk for some months, and will try to have a play soon. I am very much lost in OSX... Downloaded the SIT, scratched my head, and then noticed that it had extracted to the desktop. Double-clicked the icon, and the icon appeared in the dock for a couple of seconds before dissappearing again. Thought I'd give the commandline a try; so, on a whim, I did this: [FreeelanceDesign:~/Desktop] dennis% ./as2api.app/Contents/MacOS/as2api dyld: ./as2api.app/Contents/MacOS/as2api Undefined symbols: _NSAccessibilityBoundsForRangeParameterizedAttribute _NSAccessibilityCancelAction _NSAccessibilityCancelButtonAttribute _NSAccessibilityClearButtonAttribute _NSAccessibilityDecrementArrowSubrole _NSAccessibilityDecrementPageSubrole _NSAccessibilityDefaultButtonAttribute _NSAccessibilityDialogSubrole _NSAccessibilityDrawerCreatedNotification _NSAccessibilityFloatingWindowSubrole _NSAccessibilityIncrementArrowSubrole _NSAccessibilityIncrementPageSubrole _NSAccessibilityLineForIndexParameterizedAttribute _NSAccessibilityModalAttribute _NSAccessibilityNumberOfCharactersAttribute _NSAccessibilityRTFForRangeParameterizedAttribute _NSAccessibilityRaiseAction _NSAccessibilityRangeForIndexParameterizedAttribute _NSAccessibilityRangeForLineParameterizedAttribute _NSAccessibilityRangeForPositionParameterizedAttribute _NSAccessibilitySearchButtonAttribute _NSAccessibilitySearchFieldSubrole _NSAccessibilitySearchMenuAttribute _NSAccessibiTrace/BPT trap Was that even right? Help! dave -- http://david.holroyd.me.uk/ From dave at badgers-in-foil.co.uk Tue Feb 22 18:16:50 2005 From: dave at badgers-in-foil.co.uk (David Holroyd) Date: Tue, 22 Feb 2005 18:16:50 +0000 Subject: [as2api-dev] Cocoa application finally sees the light of day In-Reply-To: <20050222180343.GA6584@vhost.badgers-in-foil.co.uk> References: <170F8220-84D0-11D9-A119-000A95871B9A@produxion.net> <20050222130809.GA32333@vhost.badgers-in-foil.co.uk> <20050222180343.GA6584@vhost.badgers-in-foil.co.uk> Message-ID: <20050222181649.GA6752@vhost.badgers-in-foil.co.uk> On Tue, Feb 22, 2005 at 06:03:44PM +0000, David Holroyd wrote: > Downloaded the SIT, scratched my head, and then noticed that it had > extracted to the desktop. Double-clicked the icon, and the icon > appeared in the dock for a couple of seconds before dissappearing again. Oh, and it's OS X v10.2.8, if that makes any difference. dave -- http://david.holroyd.me.uk/ From dave at badgers-in-foil.co.uk Tue Feb 22 18:40:26 2005 From: dave at badgers-in-foil.co.uk (David Holroyd) Date: Tue, 22 Feb 2005 18:40:26 +0000 Subject: [as2api-dev] Cocoa application finally sees the light of day In-Reply-To: <6e631124e8b93f9657ebafba22f165a8@dotgeek.org> References: <170F8220-84D0-11D9-A119-000A95871B9A@produxion.net> <20050222130809.GA32333@vhost.badgers-in-foil.co.uk> <20050222180343.GA6584@vhost.badgers-in-foil.co.uk> <6e631124e8b93f9657ebafba22f165a8@dotgeek.org> Message-ID: <20050222184025.GC6752@vhost.badgers-in-foil.co.uk> On Tue, Feb 22, 2005 at 07:30:10PM +0100, erixtekila wrote: > >Thought I'd give the commandline a try; so, on a whim, I did this: > > Don't do this ! > If you want to run your program from the commandline, issue : ruby > ~/sources/documenter.rb In doing that, I was attempting to debug the problem of the GUI not starting when running the app. I think that invoking ruby on the command line would be cheating, no? ;) dave From dave at badgers-in-foil.co.uk Tue Feb 22 18:57:15 2005 From: dave at badgers-in-foil.co.uk (David Holroyd) Date: Tue, 22 Feb 2005 18:57:15 +0000 Subject: [as2api-dev] Cocoa application finally sees the light of day In-Reply-To: <6e631124e8b93f9657ebafba22f165a8@dotgeek.org> References: <170F8220-84D0-11D9-A119-000A95871B9A@produxion.net> <20050222130809.GA32333@vhost.badgers-in-foil.co.uk> <20050222180343.GA6584@vhost.badgers-in-foil.co.uk> <6e631124e8b93f9657ebafba22f165a8@dotgeek.org> Message-ID: <20050222185714.GD6752@vhost.badgers-in-foil.co.uk> On Tue, Feb 22, 2005 at 07:30:10PM +0100, erixtekila wrote: > HTH Thanks for the video example of 'How to Launch OSX Apps, for Newbs'. That's a very cool way of helping people out. However, I had actually done everything successfully up to the point of running the as2api application (*not* the SIT file), but the GUI never appears. :( dave From phil at produxion.net Tue Feb 22 22:20:22 2005 From: phil at produxion.net (Phil Powell) Date: Tue, 22 Feb 2005 22:20:22 +0000 Subject: [as2api-dev] Cocoa application finally sees the light of day In-Reply-To: <20050222185714.GD6752@vhost.badgers-in-foil.co.uk> References: <170F8220-84D0-11D9-A119-000A95871B9A@produxion.net> <20050222130809.GA32333@vhost.badgers-in-foil.co.uk> <20050222180343.GA6584@vhost.badgers-in-foil.co.uk> <6e631124e8b93f9657ebafba22f165a8@dotgeek.org> <20050222185714.GD6752@vhost.badgers-in-foil.co.uk> Message-ID: I really should have mentioned this in the release notes: I've only tested the app on OS X 10.3 - I suspect that any earlier version will cause it to crash. From what I know, there are differences between install_names in 10.3 and anything earlier. On 22 Feb 2005, at 6:57 pm, David Holroyd wrote: > On Tue, Feb 22, 2005 at 07:30:10PM +0100, erixtekila wrote: >> HTH > > Thanks for the video example of 'How to Launch OSX Apps, for Newbs'. > That's a very cool way of helping people out. > > However, I had actually done everything successfully up to the point of > running the as2api application (*not* the SIT file), but the GUI never > appears. :( > > > dave > > _______________________________________________ > 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 dave at badgers-in-foil.co.uk Wed Feb 23 18:22:38 2005 From: dave at badgers-in-foil.co.uk (David Holroyd) Date: Wed, 23 Feb 2005 18:22:38 +0000 Subject: [as2api-dev] Cocoa application finally sees the light of day In-Reply-To: References: <170F8220-84D0-11D9-A119-000A95871B9A@produxion.net> <20050222130809.GA32333@vhost.badgers-in-foil.co.uk> <20050222180343.GA6584@vhost.badgers-in-foil.co.uk> <6e631124e8b93f9657ebafba22f165a8@dotgeek.org> <20050222185714.GD6752@vhost.badgers-in-foil.co.uk> Message-ID: <20050223182237.GC22917@vhost.badgers-in-foil.co.uk> On Tue, Feb 22, 2005 at 10:20:22PM +0000, Phil Powell wrote: > I really should have mentioned this in the release notes: > > I've only tested the app on OS X 10.3 - I suspect that any earlier > version will cause it to crash. From what I know, there are > differences between install_names in 10.3 and anything earlier. Right, I'm installing 10.3, and listening to crazy Swedish organ music. dave -- http://david.holroyd.me.uk/ From phil at produxion.net Wed Feb 23 18:27:47 2005 From: phil at produxion.net (Phil Powell) Date: Wed, 23 Feb 2005 18:27:47 +0000 Subject: [as2api-dev] Cocoa application finally sees the light of day In-Reply-To: <20050223182237.GC22917@vhost.badgers-in-foil.co.uk> References: <170F8220-84D0-11D9-A119-000A95871B9A@produxion.net> <20050222130809.GA32333@vhost.badgers-in-foil.co.uk> <20050222180343.GA6584@vhost.badgers-in-foil.co.uk> <6e631124e8b93f9657ebafba22f165a8@dotgeek.org> <20050222185714.GD6752@vhost.badgers-in-foil.co.uk> <20050223182237.GC22917@vhost.badgers-in-foil.co.uk> Message-ID: <9E393FDD-85C8-11D9-B92C-000A95871B9A@produxion.net> Cool - let me know how you get on. I'm currently making lots of CVS commits with inline docs and feeding them through the app. For some reason my css seems to be getting referenced at ../../../../../../style.css - I should be able to fix that easily enough though. Phil On 23 Feb 2005, at 6:22 pm, David Holroyd wrote: > On Tue, Feb 22, 2005 at 10:20:22PM +0000, Phil Powell wrote: >> I really should have mentioned this in the release notes: >> >> I've only tested the app on OS X 10.3 - I suspect that any earlier >> version will cause it to crash. From what I know, there are >> differences between install_names in 10.3 and anything earlier. > > Right, I'm installing 10.3, and listening to crazy Swedish organ music. > > > 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 > > From dave at badgers-in-foil.co.uk Wed Feb 23 19:08:19 2005 From: dave at badgers-in-foil.co.uk (David Holroyd) Date: Wed, 23 Feb 2005 19:08:19 +0000 Subject: [as2api-dev] Cocoa application finally sees the light of day In-Reply-To: <9E393FDD-85C8-11D9-B92C-000A95871B9A@produxion.net> References: <170F8220-84D0-11D9-A119-000A95871B9A@produxion.net> <20050222130809.GA32333@vhost.badgers-in-foil.co.uk> <20050222180343.GA6584@vhost.badgers-in-foil.co.uk> <6e631124e8b93f9657ebafba22f165a8@dotgeek.org> <20050222185714.GD6752@vhost.badgers-in-foil.co.uk> <20050223182237.GC22917@vhost.badgers-in-foil.co.uk> <9E393FDD-85C8-11D9-B92C-000A95871B9A@produxion.net> Message-ID: <20050223190818.GD22917@vhost.badgers-in-foil.co.uk> On Wed, Feb 23, 2005 at 06:27:47PM +0000, Phil Powell wrote: > Cool - let me know how you get on. The startup video/registration process was annoying and invasive, but yer app works now! The icon looks lovely. How can I play with the code? :D > I'm currently making lots of CVS commits with inline docs and feeding > them through the app. > > For some reason my css seems to be getting referenced at > ../../../../../../style.css - I should be able to fix that easily > enough though. Do you mean it's inserting to many levels of "..", or too few? dave -- http://david.holroyd.me.uk/ From phil at produxion.net Wed Feb 23 19:50:55 2005 From: phil at produxion.net (Phil Powell) Date: Wed, 23 Feb 2005 19:50:55 +0000 Subject: [as2api-dev] Cocoa application finally sees the light of day In-Reply-To: <20050223190818.GD22917@vhost.badgers-in-foil.co.uk> References: <170F8220-84D0-11D9-A119-000A95871B9A@produxion.net> <20050222130809.GA32333@vhost.badgers-in-foil.co.uk> <20050222180343.GA6584@vhost.badgers-in-foil.co.uk> <6e631124e8b93f9657ebafba22f165a8@dotgeek.org> <20050222185714.GD6752@vhost.badgers-in-foil.co.uk> <20050223182237.GC22917@vhost.badgers-in-foil.co.uk> <9E393FDD-85C8-11D9-B92C-000A95871B9A@produxion.net> <20050223190818.GD22917@vhost.badgers-in-foil.co.uk> Message-ID: <3B4855AA-85D4-11D9-BF7E-000A95871B9A@produxion.net> You'll need the latest (1.5) release of XCode - which you can download from the ADC website: http://developer.apple.com/ - for which you need to sign up as a member. I'd send you the disk image, but it's over 300MB! Then you'd need my XCode project files, and a sprinkling of Mac pixie dust, plus a Ruby installation and RubyCocoa installation and a great deal of finger-crossing. Phil On 23 Feb 2005, at 7:08 pm, David Holroyd wrote: > On Wed, Feb 23, 2005 at 06:27:47PM +0000, Phil Powell wrote: >> Cool - let me know how you get on. > > The startup video/registration process was annoying and invasive, but > yer app works now! > > The icon looks lovely. > > How can I play with the code? :D > > >> I'm currently making lots of CVS commits with inline docs and feeding >> them through the app. >> >> For some reason my css seems to be getting referenced at >> ../../../../../../style.css - I should be able to fix that easily >> enough though. > > Do you mean it's inserting to many levels of "..", or too few? > > > 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 > > From dave at badgers-in-foil.co.uk Thu Feb 24 13:14:15 2005 From: dave at badgers-in-foil.co.uk (David Holroyd) Date: Thu, 24 Feb 2005 13:14:15 +0000 Subject: [as2api-dev] Cocoa application finally sees the light of day In-Reply-To: <3B4855AA-85D4-11D9-BF7E-000A95871B9A@produxion.net> References: <170F8220-84D0-11D9-A119-000A95871B9A@produxion.net> <20050222130809.GA32333@vhost.badgers-in-foil.co.uk> <20050222180343.GA6584@vhost.badgers-in-foil.co.uk> <6e631124e8b93f9657ebafba22f165a8@dotgeek.org> <20050222185714.GD6752@vhost.badgers-in-foil.co.uk> <20050223182237.GC22917@vhost.badgers-in-foil.co.uk> <9E393FDD-85C8-11D9-B92C-000A95871B9A@produxion.net> <20050223190818.GD22917@vhost.badgers-in-foil.co.uk> <3B4855AA-85D4-11D9-BF7E-000A95871B9A@produxion.net> Message-ID: <20050224131414.GA8395@vhost.badgers-in-foil.co.uk> On Wed, Feb 23, 2005 at 07:50:55PM +0000, Phil Powell wrote: > You'll need the latest (1.5) release of XCode - which you can download > from the ADC website: http://developer.apple.com/ - for which you need > to sign up as a member. I'd send you the disk image, but it's over > 300MB! I've now got XCode 1.5 installed. > Then you'd need my XCode project files, and a sprinkling of Mac pixie > dust, plus a Ruby installation and RubyCocoa installation and a great > deal of finger-crossing. I've yet to grab Ruby/RubyCocoa, but if you could slap the project files somewhere, that would be great. (FYI, I'll not get the chance to actually look properly until sometime next week, so don't worry about this right now if you're busy.) cheers, dave -- http://david.holroyd.me.uk/ From phil at produxion.net Thu Feb 24 13:20:37 2005 From: phil at produxion.net (Phil Powell) Date: Thu, 24 Feb 2005 13:20:37 +0000 Subject: [as2api-dev] Cocoa application finally sees the light of day In-Reply-To: <20050224131414.GA8395@vhost.badgers-in-foil.co.uk> References: <170F8220-84D0-11D9-A119-000A95871B9A@produxion.net> <20050222130809.GA32333@vhost.badgers-in-foil.co.uk> <20050222180343.GA6584@vhost.badgers-in-foil.co.uk> <6e631124e8b93f9657ebafba22f165a8@dotgeek.org> <20050222185714.GD6752@vhost.badgers-in-foil.co.uk> <20050223182237.GC22917@vhost.badgers-in-foil.co.uk> <9E393FDD-85C8-11D9-B92C-000A95871B9A@produxion.net> <20050223190818.GD22917@vhost.badgers-in-foil.co.uk> <3B4855AA-85D4-11D9-BF7E-000A95871B9A@produxion.net> <20050224131414.GA8395@vhost.badgers-in-foil.co.uk> Message-ID: I'll stick 'em up somewhere for you to download - just as soon as my hangover has subsided... On 24 Feb 2005, at 1:14 pm, David Holroyd wrote: > On Wed, Feb 23, 2005 at 07:50:55PM +0000, Phil Powell wrote: >> You'll need the latest (1.5) release of XCode - which you can download >> from the ADC website: http://developer.apple.com/ - for which you need >> to sign up as a member. I'd send you the disk image, but it's over >> 300MB! > > I've now got XCode 1.5 installed. > > >> Then you'd need my XCode project files, and a sprinkling of Mac pixie >> dust, plus a Ruby installation and RubyCocoa installation and a great >> deal of finger-crossing. > > I've yet to grab Ruby/RubyCocoa, but if you could slap the project > files > somewhere, that would be great. > > (FYI, I'll not get the chance to actually look properly until sometime > next week, so don't worry about this right now if you're busy.) > > > cheers, > 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 > > From dave at badgers-in-foil.co.uk Thu Feb 24 14:56:32 2005 From: dave at badgers-in-foil.co.uk (David Holroyd) Date: Thu, 24 Feb 2005 14:56:32 +0000 Subject: [as2api-dev] private members In-Reply-To: <0fdb1e21364b371064a27fb6dbc83766@dotgeek.org> References: <0fdb1e21364b371064a27fb6dbc83766@dotgeek.org> Message-ID: <20050224145632.GB8395@vhost.badgers-in-foil.co.uk> On Tue, Feb 22, 2005 at 02:39:00PM +0100, erixtekila wrote: > Is there any easy way to get rid of the private members in the > generated doc ? There's no way, other than fiddling with the code. Maybe I'll get to it when I have a look at the Cocoa GUI. (as2api has been off my radar these last few months, you see.) dave -- http://david.holroyd.me.uk/ From dave at badgers-in-foil.co.uk Sat Feb 26 18:32:15 2005 From: dave at badgers-in-foil.co.uk (David Holroyd) Date: Sat, 26 Feb 2005 18:32:15 +0000 Subject: [as2api-dev] SVNspam notifications Message-ID: <20050226183214.GI14121@vhost.badgers-in-foil.co.uk> Just FYI, I've hacked-up an uber-dodgy port of my CVSspam mail notification script to Subversion. It only really works with those svn operations that where already present in cvs. Expect to see occasional (HTML) emails being sent to this list as I commit changes to the repository. This lets everyone subscribed be automatically informed of the latest changes. dave -- http://david.holroyd.me.uk/ From dave at badgers-in-foil.co.uk Sat Feb 26 23:36:18 2005 From: dave at badgers-in-foil.co.uk (David Holroyd) Date: Sat, 26 Feb 2005 23:36:18 +0000 Subject: [as2api-dev] [CVS trunk] Remove code tag -- proportional font gives more compact method index Message-ID:
Commit in trunk/as2api on MAIN
html_output.rb+2-462 -> 63
Remove code tag -- proportional font gives more compact method index

[will svnspam work?]

trunk/as2api
html_output.rb 62 -> 63
--- trunk/as2api/html_output.rb	2005-02-26 18:17:54 UTC (rev 62)
+++ trunk/as2api/html_output.rb	2005-02-26 23:36:13 UTC (rev 63)
@@ -411,10 +411,8 @@
   methods.each_with_index do |method, index|
     known_method_names << method.name
     out.pcdata(", ") if index > 0
-    out.element("code") do
-      out.element("a", {"href"=>"#{href_prefix}#method_#{method.name}"}) do
-	out.pcdata(method.name+"()")
-      end
+    out.element("a", {"href"=>"#{href_prefix}#method_#{method.name}"}) do
+      out.pcdata(method.name+"()")
     end
   end
 end
CVSspam 0.2.11
From dave at badgers-in-foil.co.uk Sun Feb 27 00:15:37 2005 From: dave at badgers-in-foil.co.uk (David Holroyd) Date: Sun, 27 Feb 2005 00:15:37 +0000 Subject: [as2api-dev] [CVS trunk] Generate a huge index page of all types, methods and fields. Message-ID:
Commit in trunk/as2api on MAIN
html_output.rb+10363 -> 64
Generate a huge index page of all types, methods and fields.

trunk/as2api
html_output.rb 63 -> 64
--- trunk/as2api/html_output.rb	2005-02-26 23:36:13 UTC (rev 63)
+++ trunk/as2api/html_output.rb	2005-02-27 00:15:35 UTC (rev 64)
@@ -130,6 +130,7 @@
     out.simple_element("a", "Overview", {"href"=>base_path("overview-summary.html")})
     out.simple_element("a", "Package", {"href"=>"package-summary.html"})
     out.simple_element("span", "Class", {"class"=>"nav_current"})
+    out.simple_element("a", "Index", {"href"=>base_path("index-files/index.html")})
   end
 end
 
@@ -521,6 +522,7 @@
     out.simple_element("a", "Overview", {"href"=>base_path("overview-summary.html")})
     out.simple_element("span", "Package", {"class"=>"nav_current"})
     out.simple_element("span", "Class")
+    out.simple_element("a", "Index", {"href"=>base_path("index-files/index.html")})
   end
 end
 
@@ -631,6 +633,7 @@
     out.simple_element("span", "Overview", {"class"=>"nav_current"})
     out.simple_element("span", "Package")
     out.simple_element("span", "Class")
+    out.simple_element("a", "Index", {"href"=>"index-files/index.html"})
   end
 end
 
@@ -755,6 +758,104 @@
   end
 end
 
+class IndexTerm
+  def <=>(other)
+    cmp = term.downcase <=> other.term.downcase
+    cmp = term <=> other.term if cmp == 0
+    cmp
+  end
+end
+
+class TypeIndexTerm < IndexTerm
+  def initialize(astype)
+    @astype = astype
+  end
+
+  def term
+    @astype.unqualified_name
+  end
+
+  def link(out)
+    link_type(out, @astype)
+    out.pcdata(" in package ")
+    out.pcdata(@astype.package_name)
+  end
+end
+
+class MemberIndexTerm < IndexTerm
+  def initialize(astype, asmember)
+    @astype = astype
+    @asmember = asmember
+  end
+
+  def term
+    @asmember.name
+  end
+end
+
+class MethodIndexTerm < MemberIndexTerm
+  def link(out)
+    href_prefix = link_for_type(@astype)
+    out.element("a", {"href"=>"#{href_prefix}#method_#{@asmember.name}"}) do
+      out.pcdata(@asmember.name + "()")
+    end
+    out.pcdata(" method in ")
+    link_type(out, @astype, true)
+  end
+end
+
+class FieldIndexTerm < MemberIndexTerm
+  def link(out)
+    href_prefix = link_for_type(@astype)
+    out.element("a", {"href"=>"#{href_prefix}#field_#{@asmember.name}"}) do
+      out.pcdata(@asmember.name)
+    end
+    out.pcdata(" field in ")
+    link_type(out, @astype, true)
+  end
+end
+
+def index_navigation(out)
+  out.element("div", {"class", "main_nav"}) do
+    out.simple_element("a", "Overview", {"href"=>base_path("overview-summary.html")})
+    out.simple_element("span", "Package")
+    out.simple_element("span", "Class")
+    out.simple_element("span", "Index", {"class"=>"nav_current"})
+  end
+end
+
+def index_files(type_agregator)
+  index = []
+  # TODO: include packages
+  type_agregator.each_type do |astype|
+    if astype.document?
+      index << TypeIndexTerm.new(astype)
+      astype.each_method do |asmethod|
+	index << MethodIndexTerm.new(astype, asmethod)
+      end
+      if astype.is_a?(ASClass)
+	astype.each_field do |asfield|
+	  index << FieldIndexTerm.new(astype, asfield)
+	end
+      end
+    end
+  end
+
+  index.sort!
+
+  in_subdir("index-files") do
+    html_file("index", "Alphabetical Index") do |out|
+      index_navigation(out)
+      index.each do |element|
+	out.element("p") do
+	  element.link(out)
+	end
+      end
+      index_navigation(out)
+    end
+  end
+end
+
 def document_types(output_path, type_agregator)
   in_subdir(output_path) do
     frameset()
@@ -776,5 +877,7 @@
 	end
       end
     end
+
+    index_files(type_agregator)
   end
 end
CVSspam 0.2.11
From erixtekila at dotgeek.org Sun Feb 27 13:52:26 2005 From: erixtekila at dotgeek.org (erixtekila) Date: Sun, 27 Feb 2005 14:52:26 +0100 Subject: [as2api-dev] SVNspam notifications In-Reply-To: <20050226183214.GI14121@vhost.badgers-in-foil.co.uk> References: <20050226183214.GI14121@vhost.badgers-in-foil.co.uk> Message-ID: <3323a7efd91397593c0573433d0a0a75@dotgeek.org> Le 26 f=E9vr. 05, =E0 19:32, David Holroyd a =E9crit : > Just FYI, I've hacked-up an uber-dodgy port of my CVSspam mail > notification script to Subversion. It only really works with those = svn > operations that where already present in cvs. Don't you use SVN post-commit ? post-commit This is run after the transaction is committed, and a new revision is=20 created. Most people use this hook to send out descriptive emails about=20= the commit or to make a backup of the repository. The repository passes=20= two arguments to this program: the path to the repository, and the new=20= revision number that was created. The exit code of the program is=20 ignored. The Subversion distribution includes a commit-email.pl script (located=20= in the tools/ hook-scripts/ directory of the Subversion source tree)=20 that can be used to send email with (and/or append to a log file) a=20 description of a given commit. This mail contains a list of the paths=20 that were changed, the log message attached to the commit, the author=20 and date of the commit, as well as a GNU diff-style display of the=20 changes made to the various versioned files as part of the commit.=20 Another useful tool provided by Subversion is the hot-backup.py script=20= (located in the tools/ backup/ directory of the Subversion source=20 tree). This script performs hot backups of your Subversion repository=20 (a feature supported by the Berkeley DB database back-end), and can be=20= used to make a per-commit snapshot of your repository for archival or=20 emergency recovery purposes. cheers ----------- erixtekila http://blog.v-i-a.net/= From dave at badgers-in-foil.co.uk Sun Feb 27 14:27:37 2005 From: dave at badgers-in-foil.co.uk (David Holroyd) Date: Sun, 27 Feb 2005 14:27:37 +0000 Subject: [as2api-dev] SVNspam notifications In-Reply-To: <3323a7efd91397593c0573433d0a0a75@dotgeek.org> References: <20050226183214.GI14121@vhost.badgers-in-foil.co.uk> <3323a7efd91397593c0573433d0a0a75@dotgeek.org> Message-ID: <20050227142736.GA5758@vhost.badgers-in-foil.co.uk> On Sun, Feb 27, 2005 at 02:52:26PM +0100, erixtekila wrote: > > Le 26 f?vr. 05, ? 19:32, David Holroyd a ?crit : > > >Just FYI, I've hacked-up an uber-dodgy port of my CVSspam mail > >notification script to Subversion. It only really works with those svn > >operations that where already present in cvs. > Don't you use SVN post-commit ? > > post-commit > This is run after the transaction is committed, and a new revision is > created. Most people use this hook to send out descriptive emails about > the commit or to make a backup of the repository. [...] > The Subversion distribution includes a commit-email.pl script (located > in the tools/ hook-scripts/ directory of the Subversion source tree) I do indeed use the post-commit hook to tie in the mail notification program, but I don't use the supplied commit-email.pl -- I already have my own software for doing this job, and a bad case of the not-invented-here's ;) I've re-used the backend email generator from CVSspam[1], and I knocked up some glue-code to make it function in SVN, rather than CVS. I expect it to be rather buggy, and hopefuly using for as2api will shake those bugs out. [1] http://www.badgers-in-foil.co.uk/projects/cvsspam/ dave -- http://david.holroyd.me.uk/