f-script-talk Mailing List for F-Script (Page 12)
Brought to you by:
pmougin
You can subscribe to this list here.
2001 |
Jan
|
Feb
|
Mar
(4) |
Apr
(1) |
May
(1) |
Jun
(1) |
Jul
|
Aug
(1) |
Sep
|
Oct
|
Nov
(1) |
Dec
(2) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2002 |
Jan
(3) |
Feb
(1) |
Mar
(2) |
Apr
(8) |
May
(12) |
Jun
(3) |
Jul
(5) |
Aug
(4) |
Sep
(1) |
Oct
(1) |
Nov
(2) |
Dec
(4) |
2003 |
Jan
(1) |
Feb
|
Mar
(2) |
Apr
|
May
(14) |
Jun
(5) |
Jul
(1) |
Aug
(2) |
Sep
(4) |
Oct
(2) |
Nov
(2) |
Dec
|
2004 |
Jan
(3) |
Feb
(9) |
Mar
(1) |
Apr
(6) |
May
|
Jun
|
Jul
(3) |
Aug
(3) |
Sep
(11) |
Oct
(29) |
Nov
|
Dec
(3) |
2005 |
Jan
(8) |
Feb
(12) |
Mar
|
Apr
(1) |
May
(31) |
Jun
|
Jul
(7) |
Aug
(1) |
Sep
|
Oct
(2) |
Nov
(1) |
Dec
(2) |
2006 |
Jan
(13) |
Feb
(1) |
Mar
(5) |
Apr
(3) |
May
(1) |
Jun
(13) |
Jul
(2) |
Aug
(22) |
Sep
(15) |
Oct
(1) |
Nov
(1) |
Dec
|
2007 |
Jan
(7) |
Feb
(3) |
Mar
(2) |
Apr
(5) |
May
|
Jun
(6) |
Jul
(2) |
Aug
(1) |
Sep
(2) |
Oct
(3) |
Nov
(12) |
Dec
(5) |
2008 |
Jan
(2) |
Feb
|
Mar
(2) |
Apr
(2) |
May
(4) |
Jun
(31) |
Jul
(9) |
Aug
(10) |
Sep
(3) |
Oct
(4) |
Nov
|
Dec
|
2009 |
Jan
(3) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
|
From: John A. <jan...@wi...> - 2004-10-09 16:18:07
|
Dear List, In case you do not now about this great Internet resource, Stanford University's course EE380 is a year round colloquium that appears to have the hottest speakers in information technology. All of talks are videotape and available online at this home page: http://www.stanford.edu/class/ee380/ However, from the past colloquia page one can view talks from 1996 - 2004, and there are several hundred to choose from: http://www.stanford.edu/class/ee380/previous.html The range and depth of the speakers is truly impressive. Below, I have copied the links to Dan Ingalls talk for the SmallTalk content known to be of interest here (but I doubt he presents any information new to this list group). I also have linked Stephan Wolfram's talk because that is one that found particularly interesting. Otherwise, I suggest browsing the archive to find whatever interests you. On a technical note, these files seem to require Window Media Player and to view the older ones with sound on OS X, I have had to run Windows Media Player 7 in Classic. I know this is a hassle but it is worth it, and you can still download Window Media Player 7 from Microsoft. Yours, John Anderson Dan Ingalls Squeakland.org http://www.stanford.edu/class/ee380/Abstracts/011010.html http://www.stanford.edu/class/ee380/ay0102.html http://stanford-online.stanford.edu/courses/ee380/011010-ee380-100.asx Dr. Stephen Wolfram Creator of Mathematica, author of A New Kind of Science, and CEO of Wolfram Research, Inc. http://www.stanford.edu/class/ee380/ay0203.html http://www.stanford.edu/class/ee380/Abstracts/030212.html http://stanford-online.stanford.edu/courses/ee380/030212-ee380-100.asx |
From: Philippe de R. <phi...@ww...> - 2004-10-09 15:23:52
|
Hello, does anyone know how to use the GNUPlot object and has anyone tried doing OpenGL in F-Script? The GNPlot object has a plot: method, but none of the arguments I have tried work: - plot: 4 - plot: x - plot: x**2 - plot: x^2 etc. Philippe |
From: Ken F. <ken...@gm...> - 2004-10-08 23:22:07
|
John, On Fri, 8 Oct 2004 18:32:17 -0400, John Anderson <jan...@wi...> wrote: > > Thanks, for making the SIMBL version of FSA, frankly I like this way > better than the original because it is more permanent. Glad you like it! As I was just telling Philippe, I think I'll go ahead and do an installer and GUI (when I get a chance). I was thinking of it as a stopgap until Nicholas releases his new version, but it is nice to have FSA load automatically. Very useful as a development tool. I should note though: Nicholas deserves all the credit for FSA. There are barely any changes to make it a SIMBL module. > Anyways, I just looked at the source for SIMBL v 0.5 again, and it > appears you are correct in that it is backwards compatible. Great. Mike confirms this as well. -Ken |
From: John A. <jan...@wi...> - 2004-10-08 22:32:28
|
On Oct 8, 2004, at 6:19 PM, Ken Ferry wrote: > Hi John, > > I know Mike made some changes to allow control over which versions of > an app a bundle loads into, but I *think* he left it backwards > compatible. I'll send him an email and ask. > > I just installed the current version of SIMBL, and FSA seems to work > fine. > > -Ken Ken, Thanks, for making the SIMBL version of FSA, frankly I like this way better than the original because it is more permanent. Anyways, I just looked at the source for SIMBL v 0.5 again, and it appears you are correct in that it is backwards compatible. John |
From: Ken F. <ken...@gm...> - 2004-10-08 22:19:39
|
Hi John, I know Mike made some changes to allow control over which versions of an app a bundle loads into, but I *think* he left it backwards compatible. I'll send him an email and ask. I just installed the current version of SIMBL, and FSA seems to work fine. -Ken PS - I just joined the list. > On Oct 8, 2004, John Anderson wrote: > > Thanks Philippe, > > Just for your information, Mike Solomon has released a newer version of > SIMBL, version 0.5, it appears to require a a slightly different plist > format. The difference is trivial but could result in a conflict > between the installation of his "PithHelmet" ad-blocking plugin for > Safari and F-Script Anywhere. He sent me the source to SIMBL 0.5, if > you want it let me know. > > John Anderson |
From: John A. <jan...@wi...> - 2004-10-08 20:57:19
|
On Oct 8, 2004, at 3:56 PM, Philippe Mougin wrote: > We have released a updated version of F-Script Anywhere SIMBL, which > brings compatibility with F-Script 1.2.7. > > http://homepage.mac.com/kenferry/software.html#fsa > > Cheers, > > Philippe Mougin Thanks Philippe, Just for your information, Mike Solomon has released a newer version of SIMBL, version 0.5, it appears to require a a slightly different plist format. The difference is trivial but could result in a conflict between the installation of his "PithHelmet" ad-blocking plugin for Safari and F-Script Anywhere. He sent me the source to SIMBL 0.5, if you want it let me know. John Anderson |
From: Philippe M. <pm...@ac...> - 2004-10-08 19:54:58
|
We have released a updated version of F-Script Anywhere SIMBL, which brings compatibility with F-Script 1.2.7. http://homepage.mac.com/kenferry/software.html#fsa Cheers, Philippe Mougin |
From: John A. <jan...@wi...> - 2004-10-04 00:40:40
|
On Oct 3, 2004, at 7:46 PM, Philippe Mougin wrote: > Yes, the F-Script framework seems ok. I think the problem comes from > the main nib file of FSA (i.e. FSAInterpreterPanel.nib). There is a > hidden reference, in this file, to FSContext, a class that has been > removed from F-Script in version 1.2.7. I think that recreating this > nib file from scratch might solve the problem. The older version of FScript does enable FSA to work. I have managed to load FSAInterpreterPanel.nib into InterfaceBuilder but have thus far been unable to find the reference to FSContext. So, I suspect that you are correct in that in will have to be rebuilt from scratch. I will try that later, but now I want to play with FSA. Thanks for your help. John |
From: John A. <jan...@wi...> - 2004-10-04 00:08:40
|
On Oct 3, 2004, at 7:46 PM, Philippe Mougin wrote: > I think that recreating this nib file from scratch might solve the > problem. I just tried this and I run into exactly the same problem. InterfaceBuilder fails to open the FSAInterpreterPanel because it can not find the FSContext. I am going download the older version of FScript you mentioned and try fixing the need with that framework installed instead. ~ John |
From: John A. <jan...@wi...> - 2004-10-04 00:03:49
|
On Oct 3, 2004, at 7:46 PM, Philippe Mougin wrote: > Le 4 oct. 04, =E0 01:25, John Anderson a =E9crit : > You should try to use it with previous version of F-Script (i.e.=20 > F-Script 1.2.6). It works for me. See my previous message for the=20 > download link. I am sorry, I did not see that you were referring to the previous=20 version of F-Script (I thought you were directing me to Ken Ferry's=20 SIMBL FSA). >> > > Yes, the F-Script framework seems ok. I think the problem comes from=20= > the main nib file of FSA (i.e. FSAInterpreterPanel.nib). There is a=20 > hidden reference, in this file, to FSContext, a class that has been=20 > removed from F-Script in version 1.2.7. This is exactly what I have found out thus. The problem occurs in=20 [FSAController init] at [self window] were it tries to load the nib=20 "FSAInterpreterPanel." Otherwise, I have executed a class dump in=20 [FSAController installMenu] and the the F-Script classes do indeed=20 appear loaded. Likewise, by importing <FScript/FScript.h> the complier=20= can find no declaration of the FSContext class. > I think that recreating this nib file from scratch might solve the=20 > problem. This makes sense, I am going to try it now. > Best, > > Philippe Mougin > > >> Thank for responding, >> >> John >> >> >> >> On Oct 3, 2004, at 6:55 PM, Philippe Mougin wrote: >> >>> Thank you for reporting the problem. I'm working on it. In the=20 >>> meantime, you can use Ken Ferry's SIBML version of FSA with the=20 >>> previous version of FScript.framework=20 >>> (http://www.fscript.org/download/FScriptBin-20040324.tar.gz). >>> >>> Best, >>> >>> Philippe Mougin= |
From: Philippe M. <pm...@ac...> - 2004-10-03 23:45:47
|
Le 4 oct. 04, =E0 01:25, John Anderson a =E9crit : > Philippe, > > I am using Ken Ferry's SIMBL and the problem I am experience exist =20 > there as well. For some reason, it appears that FSA is not loading =20= > the FS framework, as I get this message when I try to FSA's "New =20 > F-Script Workspace" menu item. > >>> 2004-10-02 13:44:24.117 TextEdit[1781] *** class error for =20 >>> 'FSContext': class not loaded > You should try to use it with previous version of F-Script (i.e. =20 F-Script 1.2.6). It works for me. See my previous message for the =20 download link. > I am actually wokring on this issue as we speak. I have just =20 > recomplied the FSA source shipped with Ken Ferry SIMBL and I am trying = =20 > to diagnose the loading problem. It seems odd because otherwise my =20= > system seems to recognize your compilation of the F-Script framework. Yes, the F-Script framework seems ok. I think the problem comes from =20 the main nib file of FSA (i.e. FSAInterpreterPanel.nib). There is a =20 hidden reference, in this file, to FSContext, a class that has been =20 removed from F-Script in version 1.2.7. I think that recreating this =20= nib file from scratch might solve the problem. Best, Philippe Mougin > Thank for responding, > > John > > > > On Oct 3, 2004, at 6:55 PM, Philippe Mougin wrote: > >> Thank you for reporting the problem. I'm working on it. In the =20 >> meantime, you can use Ken Ferry's SIBML version of FSA with the =20 >> previous version of FScript.framework =20 >> (http://www.fscript.org/download/FScriptBin-20040324.tar.gz). >> >> Best, >> >> Philippe Mougin >> >> Le 2 oct. 04, =E0 19:54, John Anderson a =E9crit : >> >>> Hello, >>> >>> I am new to new to F-Script but very excited about using it with =20 >>> other Cocoa applications via F-Script Anywhere. But I think that I =20= >>> am missing something, because I have not been able open a new =20 >>> F-Script Workspace in any other applications despite having no =20 >>> problem view the FSA menu item. The "About F-Script Anywhere menu =20= >>> item works fine. >>> >>> It appears the F-Script.framework is not being found because the =20 >>> console logs this error. >>> >>> 2004-10-02 13:08:09.104 Safari[1035] *** class error for =20 >>> 'FSContext': class not loaded >>> >>> >>> >>> However, if I remove the F-Script.framwork from either =20 >>> ~/LIbary/Frameworks or /Library/Frameworks or the FSA application =20= >>> will generate an error message or by using Ken Ferry's SIBML version = =20 >>> of FSA, the FSA menu will not show up at all. This implies that the = =20 >>> framework is being found and read by OS X, and confusing me. >>> >>> So, the problem remains the same with using the normal FSA =20 >>> Application to install into a running Cocoa application or the SIBML = =20 >>> way. I download and install PithHelmet, a SIMBL based extension for = =20 >>> Safari and it runs fine, but appears to use a new verion SIMBL =20 >>> iteslf. I then notice that PithHelmet's SIMBL-bundle's plist was =20= >>> slightly different that of Ken Ferry's for FSA. Making the minor =20= >>> changes, I get a different error message: >>> >>> 2004-10-02 12:21:55.980 Console[392] -[FSAController loadWindow]: =20= >>> failed to load window nib file 'FSAInterpreterPanel'. >>> 2004-10-02 12:21:55.980 Console[392] *** Assertion failure in =20 >>> -[FSAController init], =20 >>> /Volumes/Canti/Users/ken/Documents/Programming/FScriptAnywhereSIMBL/=20= >>> FSAController.m:152 >>> 2004-10-02 12:21:55.982 Console[392] Can=92t get interpreter window! >>> >>> >>> >>> This is another related error message. It makes it appear that the =20= >>> F-Script.framework is appear has not been properly complied for =20 >>> distribution because is try to open a library in =20 >>> "/Users/pmougin/..." which obviously does not exist on machine. >>> >>> 2004-10-02 12:50:11.313 Mail[1042] *** -[NSBundle load]: Error =20 >>> loading code /Library/Application =20 >>> Support/SIMBL/Plugins/FScriptAnywhereSIMBL.bundle/Contents/MacOS/=20 >>> FScriptAnywhereSIMBL for bundle /Library/Application =20 >>> Support/SIMBL/Plugins/FScriptAnywhereSIMBL.bundle, error code 0 =20 >>> (link edit error code 0, error number 2 (dyld: =20 >>> /Applications/Mail.app/Contents/MacOS/Mail can't open library: =20 >>> /Users/pmougin/allFscript/FScript/build/UninstalledProducts/=20 >>> FScript.framework/Versions/A/FScript (No such file or directory, =20= >>> errno =3D 2) >>> >>> >>> >>> So, I recompiled the F-Script.framework myself and set the location =20= >>> for build results to "/Library/Frameworks" and I am back to original = =20 >>> error message: >>> >>> >>> >>> >>> >>> Otherwise, I running OS X 10.3.5 and am using the latest downloads =20= >>> of F-Script (v 1.2.7) and F-Script Anywhere (v 1.1.5). I have set =20= >>> the value of the string in Ken Ferry's SIMBL plist array =20 >>> "SIMBLApplicationIdentifier" to "*" so that all Cocoa applications =20= >>> are targeted. And the F-Script application runs fine. >>> >>> >>> Truly yours, >>> John Anderson=20= |
From: John A. <jan...@wi...> - 2004-10-03 23:25:50
|
Philippe, I am using Ken Ferry's SIMBL and the problem I am experience exist there as well. For some reason, it appears that FSA is not loading the FS framework, as I get this message when I try to FSA's "New F-Script Workspace" menu item. >> 2004-10-02 13:44:24.117 TextEdit[1781] *** class error for >> 'FSContext': class not loaded I am actually wokring on this issue as we speak. I have just recomplied the FSA source shipped with Ken Ferry SIMBL and I am trying to diagnose the loading problem. It seems odd because otherwise my system seems to recognize your compilation of the F-Script framework. Thank for responding, John On Oct 3, 2004, at 6:55 PM, Philippe Mougin wrote: > Thank you for reporting the problem. I'm working on it. In the > meantime, you can use Ken Ferry's SIBML version of FSA with the > previous version of FScript.framework > (http://www.fscript.org/download/FScriptBin-20040324.tar.gz). > > Best, > > Philippe Mougin > > Le 2 oct. 04, à 19:54, John Anderson a écrit : > >> Hello, >> >> I am new to new to F-Script but very excited about using it with >> other Cocoa applications via F-Script Anywhere. But I think that I >> am missing something, because I have not been able open a new >> F-Script Workspace in any other applications despite having no >> problem view the FSA menu item. The "About F-Script Anywhere menu >> item works fine. >> >> It appears the F-Script.framework is not being found because the >> console logs this error. >> >> 2004-10-02 13:08:09.104 Safari[1035] *** class error for 'FSContext': >> class not loaded >> >> >> >> However, if I remove the F-Script.framwork from either >> ~/LIbary/Frameworks or /Library/Frameworks or the FSA application >> will generate an error message or by using Ken Ferry's SIBML version >> of FSA, the FSA menu will not show up at all. This implies that the >> framework is being found and read by OS X, and confusing me. >> >> So, the problem remains the same with using the normal FSA >> Application to install into a running Cocoa application or the SIBML >> way. I download and install PithHelmet, a SIMBL based extension for >> Safari and it runs fine, but appears to use a new verion SIMBL >> iteslf. I then notice that PithHelmet's SIMBL-bundle's plist was >> slightly different that of Ken Ferry's for FSA. Making the minor >> changes, I get a different error message: >> >> 2004-10-02 12:21:55.980 Console[392] -[FSAController loadWindow]: >> failed to load window nib file 'FSAInterpreterPanel'. >> 2004-10-02 12:21:55.980 Console[392] *** Assertion failure in >> -[FSAController init], >> /Volumes/Canti/Users/ken/Documents/Programming/FScriptAnywhereSIMBL/ >> FSAController.m:152 >> 2004-10-02 12:21:55.982 Console[392] Can’t get interpreter window! >> >> >> >> This is another related error message. It makes it appear that the >> F-Script.framework is appear has not been properly complied for >> distribution because is try to open a library in "/Users/pmougin/..." >> which obviously does not exist on machine. >> >> 2004-10-02 12:50:11.313 Mail[1042] *** -[NSBundle load]: Error >> loading code /Library/Application >> Support/SIMBL/Plugins/FScriptAnywhereSIMBL.bundle/Contents/MacOS/ >> FScriptAnywhereSIMBL for bundle /Library/Application >> Support/SIMBL/Plugins/FScriptAnywhereSIMBL.bundle, error code 0 (link >> edit error code 0, error number 2 (dyld: >> /Applications/Mail.app/Contents/MacOS/Mail can't open library: >> /Users/pmougin/allFscript/FScript/build/UninstalledProducts/ >> FScript.framework/Versions/A/FScript (No such file or directory, >> errno = 2) >> >> >> >> So, I recompiled the F-Script.framework myself and set the location >> for build results to "/Library/Frameworks" and I am back to original >> error message: >> >> >> >> >> >> Otherwise, I running OS X 10.3.5 and am using the latest downloads of >> F-Script (v 1.2.7) and F-Script Anywhere (v 1.1.5). I have set the >> value of the string in Ken Ferry's SIMBL plist array >> "SIMBLApplicationIdentifier" to "*" so that all Cocoa applications >> are targeted. And the F-Script application runs fine. >> >> >> Truly yours, >> John Anderson |
From: Jonathan 'W. R. <ni...@re...> - 2004-10-03 23:20:29
|
Philippe Mougin, pm...@ac..., wrote: >I'm dumb. One thing you are dot, is that. :-) >I meant: enter these 3 commands in GDB: > >set $menu = (id)[(id)[(id)NSClassFromString(@"FScriptMenuItem") alloc] >init] > >p (id)[(id)[(id)[NSApplication sharedApplication] mainMenu] >addItem:$menu] > >p (id)[(id)[(id)[$menu interpreterView] interpreter] browse:myObject] Much better, thanks! | Jonathan 'Wolf' Rentzsch http://rentzsch.com | Red Shed Software http://redshed.net | "better" necessarily means "different" |
From: Philippe M. <pm...@ac...> - 2004-10-03 22:57:06
|
Le 3 oct. 04, =E0 00:53, Jonathan 'Wolf' Rentzsch a =E9crit : > Philippe Mougin, pm...@ac..., wrote: >> You can also do this: >> >> menu :=3D FScriptMenuItem alloc init autorelease. >> NSApplication sharedApplication mainMenu addItem:menu. >> menu interpreterView interpreter browse:myObject. > > Cool. But how do I get to the console before the menu item is =20 > installed? > :-) 8-) I'm dumb. I meant: enter these 3 commands in GDB: set $menu =3D (id)[(id)[(id)NSClassFromString(@"FScriptMenuItem") alloc] = =20 init] p (id)[(id)[(id)[NSApplication sharedApplication] mainMenu] =20 addItem:$menu] p (id)[(id)[(id)[$menu interpreterView] interpreter] browse:myObject] Thanks for your code. Best, Philippe Mougin >> It might be interesting to add something like that to F-Script. >> Show us the code! > > I added one new .nib -- FSConsole2.nib -- to the framework, added its > related controller class FSConsole2Controller.hm and modified > BigBrowserView.m and BigBrowserToolbar.m. > > <http://rentzsch.com/share/FScriptSources-20040821-=20 > wolf_console_toolbar.tgz >> > > FSConsole2 is poorly named. I went to name it FSConsole, saw the name =20= > was > already in use, and couldn't think of anything better :-( > > | Jonathan 'Wolf' Rentzsch http://rentzsch.com > | Red Shed Software http://redshed.net > | "better" necessarily means "different" > > > > ------------------------------------------------------- > This SF.net email is sponsored by: IT Product Guide on =20 > ITManagersJournal > Use IT products in your business? Tell us what you think of them. Give = =20 > us > Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out = =20 > more > http://productguide.itmanagersjournal.com/guidepromo.tmpl > _______________________________________________ > F-Script-talk mailing list > F-S...@li... > https://lists.sourceforge.net/lists/listinfo/f-script-talk > |
From: Philippe M. <pm...@ac...> - 2004-10-03 22:55:06
|
Thank you for reporting the problem. I'm working on it. In the =20 meantime, you can use Ken Ferry's SIBML version of FSA with the =20 previous version of FScript.framework =20 (http://www.fscript.org/download/FScriptBin-20040324.tar.gz). Best, Philippe Mougin Le 2 oct. 04, =E0 19:54, John Anderson a =E9crit : > Hello, > > I am new to new to F-Script but very excited about using it with other = =20 > Cocoa applications via F-Script Anywhere. But I think that I am =20 > missing something, because I have not been able open a new F-Script =20= > Workspace in any other applications despite having no problem view the = =20 > FSA menu item. The "About F-Script Anywhere menu item works fine. > > It appears the F-Script.framework is not being found because the =20 > console logs this error. > > 2004-10-02 13:08:09.104 Safari[1035] *** class error for 'FSContext': =20= > class not loaded > > > > However, if I remove the F-Script.framwork from either =20 > ~/LIbary/Frameworks or /Library/Frameworks or the FSA application will = =20 > generate an error message or by using Ken Ferry's SIBML version of =20 > FSA, the FSA menu will not show up at all. This implies that the =20 > framework is being found and read by OS X, and confusing me. > > So, the problem remains the same with using the normal FSA Application = =20 > to install into a running Cocoa application or the SIBML way. I =20 > download and install PithHelmet, a SIMBL based extension for Safari =20= > and it runs fine, but appears to use a new verion SIMBL iteslf. I =20 > then notice that PithHelmet's SIMBL-bundle's plist was slightly =20 > different that of Ken Ferry's for FSA. Making the minor changes, I =20= > get a different error message: > > 2004-10-02 12:21:55.980 Console[392] -[FSAController loadWindow]: =20 > failed to load window nib file 'FSAInterpreterPanel'. > 2004-10-02 12:21:55.980 Console[392] *** Assertion failure in =20 > -[FSAController init], =20 > /Volumes/Canti/Users/ken/Documents/Programming/FScriptAnywhereSIMBL/=20= > FSAController.m:152 > 2004-10-02 12:21:55.982 Console[392] Can=92t get interpreter window! > > > > This is another related error message. It makes it appear that the =20= > F-Script.framework is appear has not been properly complied for =20 > distribution because is try to open a library in "/Users/pmougin/..." =20= > which obviously does not exist on machine. > > 2004-10-02 12:50:11.313 Mail[1042] *** -[NSBundle load]: Error loading = =20 > code /Library/Application =20 > Support/SIMBL/Plugins/FScriptAnywhereSIMBL.bundle/Contents/MacOS/=20 > FScriptAnywhereSIMBL for bundle /Library/Application =20 > Support/SIMBL/Plugins/FScriptAnywhereSIMBL.bundle, error code 0 (link =20= > edit error code 0, error number 2 (dyld: =20 > /Applications/Mail.app/Contents/MacOS/Mail can't open library: =20 > /Users/pmougin/allFscript/FScript/build/UninstalledProducts/=20 > FScript.framework/Versions/A/FScript (No such file or directory, =20 > errno =3D 2) > > > > So, I recompiled the F-Script.framework myself and set the location =20= > for build results to "/Library/Frameworks" and I am back to original =20= > error message: > > 2004-10-02 13:44:24.117 TextEdit[1781] *** class error for =20 > 'FSContext': class not loaded > > > > Otherwise, I running OS X 10.3.5 and am using the latest downloads of =20= > F-Script (v 1.2.7) and F-Script Anywhere (v 1.1.5). I have set the =20= > value of the string in Ken Ferry's SIMBL plist array =20 > "SIMBLApplicationIdentifier" to "*" so that all Cocoa applications are = =20 > targeted. And the F-Script application runs fine. > > > Truly yours, > John Anderson=20= |
From: Jonathan 'W. R. <ni...@re...> - 2004-10-02 22:53:11
|
Philippe Mougin, pm...@ac..., wrote: >You can also do this: > >menu := FScriptMenuItem alloc init autorelease. >NSApplication sharedApplication mainMenu addItem:menu. >menu interpreterView interpreter browse:myObject. Cool. But how do I get to the console before the menu item is installed? :-) >It might be interesting to add something like that to F-Script. >Show us the code! I added one new .nib -- FSConsole2.nib -- to the framework, added its related controller class FSConsole2Controller.hm and modified BigBrowserView.m and BigBrowserToolbar.m. <http://rentzsch.com/share/FScriptSources-20040821-wolf_console_toolbar.tgz > FSConsole2 is poorly named. I went to name it FSConsole, saw the name was already in use, and couldn't think of anything better :-( | Jonathan 'Wolf' Rentzsch http://rentzsch.com | Red Shed Software http://redshed.net | "better" necessarily means "different" |
From: John A. <jan...@wi...> - 2004-10-02 17:55:50
|
Hello, I am new to new to F-Script but very excited about using it with other Cocoa applications via F-Script Anywhere. But I think that I am missing something, because I have not been able open a new F-Script Workspace in any other applications despite having no problem view the FSA menu item. The "About F-Script Anywhere menu item works fine. It appears the F-Script.framework is not being found because the console logs this error. 2004-10-02 13:08:09.104 Safari[1035] *** class error for 'FSContext': class not loaded However, if I remove the F-Script.framwork from either ~/LIbary/Frameworks or /Library/Frameworks or the FSA application will generate an error message or by using Ken Ferry's SIBML version of FSA, the FSA menu will not show up at all. This implies that the framework is being found and read by OS X, and confusing me. So, the problem remains the same with using the normal FSA Application to install into a running Cocoa application or the SIBML way. I download and install PithHelmet, a SIMBL based extension for Safari and it runs fine, but appears to use a new verion SIMBL iteslf. I then notice that PithHelmet's SIMBL-bundle's plist was slightly different that of Ken Ferry's for FSA. Making the minor changes, I get a different error message: 2004-10-02 12:21:55.980 Console[392] -[FSAController loadWindow]: failed to load window nib file 'FSAInterpreterPanel'. 2004-10-02 12:21:55.980 Console[392] *** Assertion failure in -[FSAController init], /Volumes/Canti/Users/ken/Documents/Programming/FScriptAnywhereSIMBL/ FSAController.m:152 2004-10-02 12:21:55.982 Console[392] Can’t get interpreter window! This is another related error message. It makes it appear that the F-Script.framework is appear has not been properly complied for distribution because is try to open a library in "/Users/pmougin/..." which obviously does not exist on machine. 2004-10-02 12:50:11.313 Mail[1042] *** -[NSBundle load]: Error loading code /Library/Application Support/SIMBL/Plugins/FScriptAnywhereSIMBL.bundle/Contents/MacOS/ FScriptAnywhereSIMBL for bundle /Library/Application Support/SIMBL/Plugins/FScriptAnywhereSIMBL.bundle, error code 0 (link edit error code 0, error number 2 (dyld: /Applications/Mail.app/Contents/MacOS/Mail can't open library: /Users/pmougin/allFscript/FScript/build/UninstalledProducts/ FScript.framework/Versions/A/FScript (No such file or directory, errno = 2) So, I recompiled the F-Script.framework myself and set the location for build results to "/Library/Frameworks" and I am back to original error message: 2004-10-02 13:44:24.117 TextEdit[1781] *** class error for 'FSContext': class not loaded Otherwise, I running OS X 10.3.5 and am using the latest downloads of F-Script (v 1.2.7) and F-Script Anywhere (v 1.1.5). I have set the value of the string in Ken Ferry's SIMBL plist array "SIMBLApplicationIdentifier" to "*" so that all Cocoa applications are targeted. And the F-Script application runs fine. Truly yours, John Anderson |
From: Philippe M. <pm...@ac...> - 2004-10-01 12:38:58
|
Le 28 sept. 04, =E0 22:59, Jonathan 'Wolf' Rentzsch a =E9crit : > Greetings all, > > It's easy to go from an interpreter window to a browser, but I needed=20= > to > go in the opposite direction in my app (briefly, I call=20 > [[[FSInterpreter > alloc] init] browse:myObject] to get a better exploratory environment > than gdb offers). > Hi Jonathan, You can also do this: menu :=3D FScriptMenuItem alloc init autorelease. NSApplication sharedApplication mainMenu addItem:menu. menu interpreterView interpreter browse:myObject. > So, I added a basic console window implementation into the .framework, > and made it accessible via a new "Console" toolbar button in the > BigBrowser. > > Let me know if this is interesting to other folks and I'll toss you = the > code. > It might be interesting to add something like that to F-Script. Show us the code! Philippe Mougin= |
From: Jonathan 'W. R. <ni...@re...> - 2004-09-28 20:57:56
|
Greetings all, It's easy to go from an interpreter window to a browser, but I needed to go in the opposite direction in my app (briefly, I call [[[FSInterpreter alloc] init] browse:myObject] to get a better exploratory environment than gdb offers). So, I added a basic console window implementation into the .framework, and made it accessible via a new "Console" toolbar button in the BigBrowser. Let me know if this is interesting to other folks and I'll toss you the code. | Jonathan 'Wolf' Rentzsch http://rentzsch.com | Red Shed Software http://redshed.net | "better" necessarily means "different" |
From: Philippe M. <pm...@ac...> - 2004-09-22 21:23:35
|
Le 22 sept. 04, =E0 22:27, dkb a =E9crit : > I currently have several arrays of doubles in an obj-c class that I=20= > would like to access with F-Script. Most of the arrays have < 20=20 > elements but a couple have 500 elements in them. I've added a simple=20= > method > - (Float64)salary:(unsigned)index; > to my class for one of the arrays which works but is this the best way=20= > to do this? Depends of your context. Another way is to have a method that return=20 directly your array of doubles. - (double *)salaryArray; You would then be able to call this methods from F-Script and access=20 your array's elements (see the documentation for the Pointer class in=20 the F-Script manual). > Wouldn't there be a lot of overhead if I wanted to get the max=20 > salary contained in this array since I would have to build the array=20= > within F-Script by repeatedly sending the salary message with every=20 > index value? No. Your arrays are small. Unless you need to compute things with them=20= billions of time by second, you should not have any trouble. > Would it be better to convert all the C arrays to NSArrays for=20 > easier access by F-Script? > Probably. Because then you would be able to directly make use of the=20 F-Script array programming model. Best, Philippe Mougin |
From: dkb <dk...@gv...> - 2004-09-22 20:28:12
|
I currently have several arrays of doubles in an obj-c class that I would like to access with F-Script. Most of the arrays have < 20 elements but a couple have 500 elements in them. I've added a simple method - (Float64)salary:(unsigned)index; to my class for one of the arrays which works but is this the best way to do this? Wouldn't there be a lot of overhead if I wanted to get the max salary contained in this array since I would have to build the array within F-Script by repeatedly sending the salary message with every index value? Would it be better to convert all the C arrays to NSArrays for easier access by F-Script? Thanks for any input. |
From: Jonathan 'W. R. <ni...@re...> - 2004-09-16 21:10:33
|
Greetings Philippe, >What you are looking for is: > >NSDate dateWithNaturalLanguageString:@a I knew I was missing something obvious. Thanks, I used it in my blog posting: <http://rentzsch.com/cocoa/anExampleOfScriptingCocoaWithFScript> | Jonathan 'Wolf' Rentzsch http://rentzsch.com | Red Shed Software http://redshed.net | "better" necessarily means "different" |
From: Philippe M. <pm...@ac...> - 2004-09-16 14:33:39
|
Hi, The release candidate announced here a few weeks ago has been released as "F-Script 1.2.7". Release notes are available on-line at http://www.fscript.org/releaseNotes/ You can download F-Script 1.2.7 from http://www.fscript.org/download/download.htm Cheers, Philippe Mougin |
From: Philippe M. <pm...@ac...> - 2004-09-16 09:28:42
|
Le 10 sept. 04, =E0 03:49, Jonathan 'Wolf' Rentzsch a =E9crit : > Greetings all, > > I have an array of strings representing dates. I'd list to transform = it > into an array of NSDates. I currently have: > > a :=3D {'7/26/04 7:35:00 PM', '7/27/04 11:33:00 AM'} >> [:e|NSDate dateWithNaturalLanguageString:e] value:@a > > This works, but is there a way to express this as a message send? > Something like: > > a [:e|NSDate dateWithNaturalLanguageString:e] > > Failing really elegant syntax, about about something Smalltalkish = like: > > a do:[:e|NSDate dateWithNaturalLanguageString:e] Hi Jonathan, What you are looking for is: NSDate dateWithNaturalLanguageString:@a Best, Philippe Mougin= |
From: Philippe M. <pm...@ac...> - 2004-09-16 09:22:50
|
Le 2 sept. 04, =E0 17:53, steve harris a =E9crit : > If I want to take, say the converter tutorial, and > turn it into a double clickable/installable os x app > just like any other. How do I do that? Create a double clickable/instalable app using your prefred development=20= tool (for instance, this is trivial to do in XCode). Embed the F-Script=20= framework in your application (see the Mac OS X doc about using and=20 embedding frameworks). Embed some F-Script code in your application=20 (for example, in a text file). In your application, load your F-Script=20= code into an NSString and use the F-Script API described at=20 http://www.macdevcenter.com/pub/a/mac/2002/07/12/embed_fscript.html to=20= execute the code. Alternatively, you can embed an archived F-Script=20 block in your app, unarchive it at run-time, and evaluate it. Best, Philippe Mougin |