From jjfeiler at relief.com Sun Aug 1 12:53:34 1999 From: jjfeiler at relief.com (John Jay Feiler) Date: Thu Nov 3 14:42:13 2005 Subject: Archiving NSColors to strings Message-ID: <199907312355.QAA27322@haque.relief.com> Before I reinvent the wheel, does anyone have a convenient category on NSColor to save and restore colors to-and-from strings, preserving colorspace and all that jazz? J -- John Feiler jjfeiler@relief.com From steinitz at connect.net.au Sun Aug 1 18:59:47 1999 From: steinitz at connect.net.au (Steve Steinitz) Date: Thu Nov 3 14:42:13 2005 Subject: setting breakpoints Message-ID: <199908020159.LAA01103@entoo.connect.com.au> Hello, I'm having trouble getting java debugger breakpoints to work in MacOS X Project Builder. When I attempt to set a breakpoint, the little breakpoint indicator has stripes on it rather than being solid and the breakpoint doesn't fire. I've set the target to debug in the build options and am running the program in debug mode. I seem to remember having this problem with the Windows version of Project Builder but I can't remember how I fixed it. Thanks, Steve WebObjects 4.0.1, MacOS X 1.0.2 --- Steve Steinitz ph (612) 9976 3157 Data Tactics PO Box 1187 Manly NSW 1655 Australia From bbum at codefab.com Sun Aug 1 20:08:31 1999 From: bbum at codefab.com (Bill Bumgarner) Date: Thu Nov 3 14:42:13 2005 Subject: Audio cd filesystem support In-Reply-To: <37A2AB89.6AC787FB@yellowmatter.com> Message-ID: Have a look at OmniCD -- Omni's audio CD player app... it works fine under OS X Server. The real challenge is to figure out how to register yourself for CD insert events so that your app becomes the "owner" of the mounted media. This same trick would be necessary to burn CDs-- you need to catch the unformatted disk insert evenet such that your burn program can take over the device... this is the only stumbling block between now and using a program like cdrecord to do a burn to disk (you can use cdrecord to burn from console mode-- works great!). If someone [Omni? :-)] can post the details or example of catching the disc insert, I have done a lot of thinking about creating a Toast like program.... b.bum On Sun, 1 Aug 1999, Sean Roehnelt wrote: > I am working on a project where I need to mount an audio cd and rip the > audio to hard disk. My first stumbling block is that MacOSXServer does > not support audio cd's. > > Is there a BSD package out there somewhere that will let me add support > for audio cd's? > > Thanks, > Sean > > From kc at omnigroup.com Sun Aug 1 22:31:29 1999 From: kc at omnigroup.com (Ken Case) Date: Thu Nov 3 14:42:13 2005 Subject: Sending e-mail from a program In-Reply-To: <199907302059.NAA21856@scyther.omnigroup.com> Message-ID: <199908020531.WAA24579@scyther.omnigroup.com> > Or you could just use the MailDelivery stuff...;-) Have a look > at the Message.framework Oh yeah! In fact, that's what we do in OmniGroup Backup. (The only downside to the MailDelivery framework is that it links against the Application Kit, which can be a problem for faceless applications, like scheduled backups.) Ken From phr at projectcenter.ch Mon Aug 2 02:09:04 1999 From: phr at projectcenter.ch (Philippe C.D. Robert) Date: Thu Nov 3 14:42:13 2005 Subject: Archiving NSColors to strings In-Reply-To: <199907312355.QAA27322@haque.relief.com> References: <199907312355.QAA27322@haque.relief.com> Message-ID: <9908020909.AA00387@projectcenter.ch> You wrote: > Before I reinvent the wheel, does anyone have a convenient category > on NSColor to save and restore colors to-and-from strings, preserving > colorspace and all that jazz? It's not very fullblown, but...sth like that?! @interface NSColor (ColorsFromString) + (NSColor *)colorFromString:(NSString *)colorString; - (NSString *)colorAsString; @end @implementation NSColor (ColorsFromString) + (NSColor *)colorFromString:(NSString *)colorString { float red, green, blue, alpha; NSArray *array = [colorString componentsSeparatedByString:@" "]; if(!array || [array count] < 3) { return nil; } red= [[array objectAtIndex:0] floatValue]; green = [[array objectAtIndex:1] floatValue]; blue = [[array objectAtIndex:2] floatValue]; alpha = ([array count] > 3) ? [[array objectAtIndex:3] floatValue] : 1.0; return [NSColor colorWithCalibratedRed:red green:green blue:blue alpha:alpha]; } sweet dreams, Phil --- Philippe C.D. Robert - Software Engineer ######################################## # http://www.nice.ch/~phip # # http://www.projectcenter.ch # ######################################## From marcel at system.de Mon Aug 2 06:32:30 1999 From: marcel at system.de (Marcel Weiher) Date: Thu Nov 3 14:42:13 2005 Subject: Image-size not stored in PNG files? Message-ID: The AppKit does not seem to store the physical size ( [anImage size] ) when storing PNG files but does store it in TIFF files. Is this a known bug? Marcel From norbert.heger at obdev.at Mon Aug 2 07:18:07 1999 From: norbert.heger at obdev.at (Norbert Heger) Date: Thu Nov 3 14:42:13 2005 Subject: Archiving NSColors to strings References: <9908020909.AA00387@projectcenter.ch> Message-ID: <9908021418.AA00876@cray> John Jay Feiler wrote: > Before I reinvent the wheel, does anyone have a convenient category > on NSColor to save and restore colors to-and-from strings, preserving > colorspace and all that jazz? Philippe C.D. Robert suggested to archive the RGB(A) values. This approach is sufficient to store simple screen colors, but to preserve the colorspace as well you might use the NSCoding protocol working with NSData objects instead. @implementation NSObject (GenericArchiving) + (id)objectWithArchiveData:(NSData *)data { return [NSUnarchiver unarchiveObjectWithData:data]; } - (NSData *)archiveData { return [NSArchiver archivedDataWithRootObject:self]; } @end For many archiving purposes you can use those NSData objects directly (instead of NSStrings), e.g. saving them to the defaults database: NSColor *c; NSString *key; NSUserDefaults *defaults; [defaults setObject:[c archiveData] forKey:key]; c = [NSColor objectWithArchiveData:[defaults objectForKey:key]]; Norbert _____________________________ _________________________________ O B J E C T I V E D E V E L O P M E N T Norbert Heger OpenStep MacOS-X EOF WebObjects norbert.heger@obdev.at Software Development +43-664-2811777 www.obdev.at From bbum at codefab.com Mon Aug 2 09:43:06 1999 From: bbum at codefab.com (Bill Bumgarner) Date: Thu Nov 3 14:42:13 2005 Subject: WindowServer ports Message-ID: Is it possible to use ssh port forwarding to forward the -NSHost'ing of an applicaiton from one machine to another? It would be nice to be able to change the port number that an application attempts to connect to, but i'm not sure that is even possible given that an application uses Mach IPC to connect to the windowserver... Maybe there is a way to forward all Mach IPC requests from, say, a random Linux box to the remote host??? b.bum From buck.erik at mcleod.net Mon Aug 2 10:08:12 1999 From: buck.erik at mcleod.net (Erik M. Buck) Date: Thu Nov 3 14:42:13 2005 Subject: Archiving NSColors to strings Message-ID: <003f01bedd09$9ac37ee0$182910d0@elcry> Someone, I believe from Apple, posted complete source code for proper string encoding and decoding of NSColor including color model etc. Search Dejanews, past posts to this list, stepwise, misckit, yahoo. You will find it. From jeff at reportmill.com Mon Aug 2 10:39:59 1999 From: jeff at reportmill.com (Jeff Martin) Date: Thu Nov 3 14:42:13 2005 Subject: Archiving NSColors to strings Message-ID: <9908021646.AA27681@reportmill.com> @implementation NSColor(ASCII_ARCHIVING) - (NSString *)colorString { NSData *data = [NSArchiver archivedDataWithRootObject:self]; return [data description]; } + (NSColor *)colorFromColorString:(NSString *)string { NSData *myData = [NSData dataWithBytes:[string cString] length:[string length]]; NSData *data2 = [NSDeserializer deserializePropertyListFromData:myData mutableContainers:NO]; NSColor *color = [NSUnarchiver unarchiveObjectWithData:data2]; return color; } @end From alexnet at gestalt.com Mon Aug 2 12:20:37 1999 From: alexnet at gestalt.com (Alex Molochnikov) Date: Thu Nov 3 14:42:13 2005 Subject: setting breakpoints Message-ID: <9908021920.AA01169@gestalt.com> Steve Steinitz wrote: > I'm having trouble getting java debugger breakpoints to work in MacOS X Project Builder. When I sent a similar inquiry to Apple's DTS a while ago, here is what they had to say: "The only way to debug 100% pure java application is to use the sun-derived java debugger jdb." Apparently, this stands for a hybrid ObjC-Java app as well, although I never really tried to run it under the debugger. Alex Molochnikov Phoenix Data Trend -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 480 bytes Desc: not available Url : /mailman/archive/macosx-dev/attachments/19990802/87dddbeb/attachment.bin From ak at prnet.de Mon Aug 2 14:48:34 1999 From: ak at prnet.de (Anjo Krank) Date: Thu Nov 3 14:42:13 2005 Subject: Common symbols? Message-ID: Hi, I repeat to get this link error while building a Framework: ld: common symbols not allowed with MH_DYLIB output format /usr/local/mysql/lib/mysql/libmysqlclient.a(my_error.o) definition of common _errbuff (size 512) /usr/bin/libtool: internal link edit command failed Is there a simple linker option to stop this, or do I really have to create functions "getXXX" for every global symbol? I managed to fix this by creating an accessor-function and defining the variable static, but that can't be the only solution.... Cheers, Anjo ------------------------------------------------------- "?fter mal passend was sagen" From SRoehnelt at DiscoverMusic.com Mon Aug 2 17:18:30 1999 From: SRoehnelt at DiscoverMusic.com (Sean Roehnelt) Date: Thu Nov 3 14:42:13 2005 Subject: Audio cd filesystem support References: Message-ID: <37A63556.6D9C5E85@DiscoverMusic.com> This doesn't seem to work on my hardware (I am running a 8500 with G3 upgrade)... Now that I think about it DR2 wouldn't install because it didn't support the CD-ROM on some of the first 8500's produced. I just got a new Blue G3. I will try it on supported hardware. Thanks, Sean Bill Bumgarner wrote: > Have a look at OmniCD -- Omni's audio CD player app... it works fine under OS X > Server. > > The real challenge is to figure out how to register yourself for CD insert > events so that your app becomes the "owner" of the mounted media. > > This same trick would be necessary to burn CDs-- you need to catch the > unformatted disk insert evenet such that your burn program can take over the > device... this is the only stumbling block between now and using a program like > cdrecord to do a burn to disk (you can use cdrecord to burn from console mode-- > works great!). > > If someone [Omni? :-)] can post the details or example of catching the disc > insert, I have done a lot of thinking about creating a Toast like program.... > > b.bum > > On Sun, 1 Aug 1999, Sean Roehnelt wrote: > > > I am working on a project where I need to mount an audio cd and rip the > > audio to hard disk. My first stumbling block is that MacOSXServer does > > not support audio cd's. > > > > Is there a BSD package out there somewhere that will let me add support > > for audio cd's? > > > > Thanks, > > Sean > > > > -- Sean Roehnelt DiscoverMusic.com (formerly ENSO Audio Imaging) http://DiscoverMusic.com From andrew at stone.com Tue Aug 3 10:58:58 1999 From: andrew at stone.com (Andrew Stone) Date: Thu Nov 3 14:42:13 2005 Subject: Sending e-mail from a program Message-ID: <199908031758.LAA15934@floyd.stone.com> > > Or you could just use the MailDelivery stuff...;-) Have a look > > at the Message.framework > > Oh yeah! In fact, that's what we do in OmniGroup Backup. > Our suggestion box also uses the MailDelivery stuff - but all of that is hidden with this simple interface Mail object and MIME works great! Note it will try SMTP before sendmail, but doesn't complain unless both fail: @interface Mail : NSObject + (BOOL)sendRichMail:(NSAttributedString *)richBody to:(NSString *)to subject:(NSString *)subject; + (BOOL)sendMail:(NSString *)body to:(NSString *)to subject:(NSString *)subject; @end // // Mail.m // // (C) Copyright 1989-1999 Andrew C. Stone and Stone Design Corp // Feel free to reuse this code, but retain attribution // #import #import "../Design.h" #import "Mail.h" @implementation Mail + (BOOL)sendRichMail:(NSAttributedString *)richBody to:(NSString *)to subject:(NSString *)subject isMIME:(BOOL)isMIME { NSDictionary *toFromDict = [NSDictionary dictionaryWithObjectsAndKeys: to,@"to",subject,@"subject",NSFullUserName(),@"from",NULL]; BOOL result = YES; NS_DURING if ([NSMailDelivery deliverMessage:richBody headers:toFromDict format:isMIME?NSMIMEMailFormat:NSASCIIMailFormat protocol:NSSMTPDeliveryProtocol] || [NSMailDelivery deliverMessage:richBody headers:toFromDict format:isMIME?NSMIMEMailFormat:NSASCIIMailFormat protocol:NSSendmailDeliveryProtocol]) NSRunAlertPanel(@"Email",@"Thank You!",@"OK",NULL,NULL); NS_HANDLER NSLog(@"NSMailDelivery: an exception was raised: %@",[localException reason]); result = NO; NS_ENDHANDLER return result; } + (BOOL)sendRichMail:(NSAttributedString *)richBody to:(NSString *)to subject:(NSString *)subject { return [self sendRichMail:richBody to:to subject:subject isMIME:YES]; } + (BOOL)sendMail:(NSString *)body to:(NSString *)to subject:(NSString *)subject; { NSAttributedString *richBody = [[NSAttributedString alloc] initWithString:body]; return [self sendRichMail:richBody to:to subject:subject isMIME:NO]; } @end === Andrew Stone, QuixMaster of Stone Design Corp mailto:andrew@stone.com (505) 345-4800 http://www.stone.com - Create(TM) From andrew at stone.com Tue Aug 3 11:25:37 1999 From: andrew at stone.com (Andrew Stone) Date: Thu Nov 3 14:42:13 2005 Subject: Sending e-mail from a program Message-ID: <199908031825.MAA15981@floyd.stone.com> Now, if you want to preaddress and prepare a MailViewer window, but not deliver it, you can use this 'secret' API, and be sure to add PrivateFrameworks/MailViewer.framework to your app: ***** extern BOOL MVLaunchComposeWindow(id textStorage, NSDictionary *headerDictionary); - (BOOL)emailText:(NSAttributedString *)text to:(NSString *)to subject:(NSString *)subject { NSDictionary *toFromDict = [NSDictionary dictionaryWithObjectsAndKeys: to,@"to",subject,@"subject",NSFullUserName(),@"from",NULL]; return MVLaunchComposeWindow(text, toFromDict); } === Andrew Stone, QuixMaster of Stone Design Corp mailto:andrew@stone.com (505) 345-4800 http://www.stone.com - Create(TM) From alexnet at gestalt.com Tue Aug 3 11:39:51 1999 From: alexnet at gestalt.com (Alex Molochnikov) Date: Thu Nov 3 14:42:13 2005 Subject: Sending e-mail from a program References: <199907302059.NAA21856@scyther.omnigroup.com> Message-ID: <9908031839.AA00403@gestalt.com> A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 1063 bytes Desc: not available Url : /mailman/archive/macosx-dev/attachments/19990803/c46714d8/attachment.bin From annard at webwarecorp.com Tue Aug 3 12:20:35 1999 From: annard at webwarecorp.com (Annard Brouwer) Date: Thu Nov 3 14:42:13 2005 Subject: Sending e-mail from a program In-Reply-To: <9908031839.AA00403@gestalt.com> Message-ID: <9908031220.AA353784@facade> Alex Molochnikov wrote: > Ken Case wrote: > > The only downside to the MailDelivery framework is that it links > against the Application Kit, which can be a problem for faceless > applications, like scheduled backups. > > To make the long story short: I just tried NSMailDelivery in the > background process on MOSXS, and it worked. > But what about Solaris and HP-UX? Most faceless tasks that I write are faceless because I want to run them on servers like those. There is no way that NSMailDelivery works there. We're currently using the OmniMail framework but it's quite obtrusive to use. Annard From Jerry.Porter at targetbase.com Tue Aug 3 12:28:53 1999 From: Jerry.Porter at targetbase.com (Jerry.Porter@targetbase.com) Date: Thu Nov 3 14:42:13 2005 Subject: Informix Adapter Message-ID: <00000A1D.C21479@targetbase.com> Dumb question here, Is there an Informix adapter for MacOSX? If so where can I get it and what version of Informix does it support. Jerry From fmg at hotbot.com Tue Aug 3 21:28:12 1999 From: fmg at hotbot.com (Fabio Montoya) Date: Thu Nov 3 14:42:13 2005 Subject: Can't install OS X (Yes you can!) Message-ID: At 5:36 PM -0700 7/2/99, Tom Carstensen wrote: >After running the install program after booting up off the >OS X CD, it starts to setup the partition and i always get a > >"error .. setting up partition ... hit return to shutdown" > >(BTW -- return does nothing). > >I repeated and it happens again. I created a 1 meg HFS Extended >partition for Mac OS X. > >I have sucessfully installed Mac OS X Server on a partition >without problems... but the OS X instill will not work. > >Anyone else have this problem? > >-Tom Carstensen I had the same problem today, It happened when trying to install in a disk with 6 partitions (one with OSXS). The problem dissapeared when I selected other partition to install to, no more problems. (I was really lucky to have a spare partition with the same size). If this does not work and you can afford this, repartition your disk, and try installing DP1 _BEFORE_ OSXS. I don't remember any problems when making the other disk. Luck 2U Note: I know is a misfeature of OPENSTEP to allow creation of only one UFS partition on the same physical disk, but OSXS and OSX-DP1 seem to permit this. --- Fabio Montoya The Software Factory +52 5 582 1799 fmg@hotbot.com HotBot - Search smarter. http://www.hotbot.com From paulrs at lgs-systems.com Tue Aug 3 15:56:29 1999 From: paulrs at lgs-systems.com (Paul R. Summermatter) Date: Thu Nov 3 14:42:13 2005 Subject: Problem in IB with Association Connections inspector - SOLVED Message-ID: <9908032256.AA27972@slab> Hey guys, I want to thank those of you who responded to my post. Firstly, let me say that my problem was not related to the java palettes. Two separate people indicated that they had seen weird behaviour like I had described with the java palettes loaded. Unloading them solved their problems. In my case, the problem was much simpler. To fix a bug in EOGenericControlAssociation which has surfaced in the EOF 3.0 version, I implemented a poser which overrides the subjectChanged method of this class. Unfortunately, I didn't put a displayName method into the class so it was using super's implementation. I don't think I need to explain any further :-). Regards, Paul --- Paul Summermatter LGS Systems, Inc. Medical Computing Division 15 TJ Gamester Ave Portsmouth, NH 03801-5871 (603) 433-9822 voice (603) 433-9818 fax (888) 898-6321 pager 8986321@skytel.com paging email paulrs@lgs-systems.com (NeXT or MIME Mail Welcome) http://www.lgs-systems.com From paulrs at lgs-systems.com Wed Aug 4 08:59:21 1999 From: paulrs at lgs-systems.com (Paul R. Summermatter) Date: Thu Nov 3 14:42:13 2005 Subject: Next Key View and Associations from NSTextView Message-ID: <9908041559.AA28270@slab> Hey guys, Could someone please clue me in as to how I can hook up associations and the nextKeyView from textViews without switching to the outline view in IB and making the connections from the nib file window? Everytime I control drag on a text view, the context menu pops up. The nib file window is impossible to use in outline mode when there are a large number of UI controls in a window. Further, associations are equally difficult in this mode because of some completely vacuous decision to no longer show the names of display groups (or any other object for that matter) in the outline view. Any suggestions would be appreciated. Regards, Paul --- Paul Summermatter LGS Systems, Inc. Medical Computing Division 15 TJ Gamester Ave Portsmouth, NH 03801-5871 (603) 433-9822 voice (603) 433-9818 fax (888) 898-6321 pager 8986321@skytel.com paging email paulrs@lgs-systems.com (NeXT or MIME Mail Welcome) http://www.lgs-systems.com From mark at ix.netcom.com Wed Aug 4 11:26:51 1999 From: mark at ix.netcom.com (Mark Ericksen) Date: Thu Nov 3 14:42:13 2005 Subject: Next Key View and Associations from NSTextView Message-ID: <199908041822.NAA28473@dfw-ix3.ix.netcom.com> When making an association connection from a text view, I do the following: Click on the text view so it's knobs are visible. Hond down the control key so you'll see a highlighted scroll view. Then double click in the text view. It takes a couple tries to get the right timing down and don't triple click. The highlight should change from the scrollview to the text view if done correctly. You'll see that the cursor does appear in the text view as if its ready to accept typing, but you should be able to make the connection still. Remember it's all about the timing of the clicking... Sounds wired, I know... Mark Ericksen Jiiva, Inc. Begin forwarded message: > From: "Paul R. Summermatter" > Date: 1999-08-04 10:47:06 -0700 > To: Multiple recipients of list > Subject: Next Key View and Associations from NSTextView > X-From_: server@omnigroup.com Wed Aug 4 11:35:30 1999 > X-Nextstep-Mailer: Mail 4.2mach (Enhance 2.2p1) > X-Listprocessor-Version: 6.0c -- ListProcessor by Anastasios Kotsikonas > Originator: macosx-dev@omnigroup.com > X-Comment: To unsubscribe, follow directions at > http://www.omnigroup.com/MailArchive/ > > Hey guys, > > Could someone please clue me in as to how I can hook up associations > and the nextKeyView from textViews without switching to the outline view in > IB and making the connections from the nib file window? Everytime I control > drag on a text view, the context menu pops up. The nib file window is > impossible to use in outline mode when there are a large number of UI > controls in a window. Further, associations are equally difficult in this > mode because of some completely vacuous decision to no longer show the names > of display groups (or any other object for that matter) in the outline view. > > Any suggestions would be appreciated. > > Regards, > Paul > > --- > > Paul Summermatter > > LGS Systems, Inc. > Medical Computing Division > > 15 TJ Gamester Ave > Portsmouth, NH 03801-5871 > (603) 433-9822 voice > (603) 433-9818 fax > (888) 898-6321 pager > 8986321@skytel.com paging email > > paulrs@lgs-systems.com > (NeXT or MIME Mail Welcome) > http://www.lgs-systems.com > > From bierman at apple.com Wed Aug 4 12:31:01 1999 From: bierman at apple.com (Peter Bierman) Date: Thu Nov 3 14:42:13 2005 Subject: Can't install OS X (Yes you can!) In-Reply-To: Message-ID: >Note: I know is a misfeature of OPENSTEP to allow creation of only one UFS >partition on the same physical disk, but OSXS and OSX-DP1 seem to permit >this. This is absolutely not true. No shipping version of Mac OS X supports multiple UFS partitions (in the Apple partition map). You can not install Mac OS X DP1 and Mac OS X Server on the same physical disk without risking data loss. This has been discussed about a zillion times on this mailing list. Please check the archives. -pmb -- "UNIX shells in Mac OS X should be unneeded but functional... and have the same installed base as MPW." From Joe.Loda at usmail.mpct.com Wed Aug 4 14:22:52 1999 From: Joe.Loda at usmail.mpct.com (Loda, Joe) Date: Thu Nov 3 14:42:13 2005 Subject: Debugging User Defaults Message-ID: <0145E1967C1ED3119FFF0090274EBE1804EB15@USMAIL02.mpct.com> Memory fails. I seem to remember a list of debugging UserDefaults for Yellow Box that turned on various debug and trace facilities other than the widely known EOAdaptorDebugEnabled and NSZombie ones. I can't find the list anymore. Can someone point me in the right direction? Thanks, Joe --- Joe Loda, mpct Solutions Corporation, Chicago joe.loda@mpct.com (ASCII, MIME) From gabriel at accentcomm.com Wed Aug 4 15:35:04 1999 From: gabriel at accentcomm.com (Gabriel Androczky) Date: Thu Nov 3 14:42:13 2005 Subject: FileMaker adaptor or ?? Message-ID: <37A8C018.F5079E28@accentcomm.com> Hi there! Does anybody know about a way to interface with a FileMaker DB running on a FileMaker server on an iMac from Mac OS X Server (not YellowBox/NT that is)? Is there an adaptor or something like it out there? Thanks, Gabriel -- -------------------------------------------------------------- A C C E N T C O M M U N I C A T I O N S - We Make Your Web Groove - Tel: (+36 1) 315-0701 http://www.accentcomm.com GSM: (+36 30) 951-4334 e-mail: info@accentcomm.com Fax: (+36 30) 980-0344 -------------------------------------------------------------- From chris at christianbatchelor.co.uk Wed Aug 4 22:10:12 1999 From: chris at christianbatchelor.co.uk (Christian Batchelor) Date: Thu Nov 3 14:42:13 2005 Subject: FileMaker adaptor or ?? Message-ID: On 4/8/99 11:36 pm, Gabriel Androczky's computer told my Macintosh: >Does anybody know about a way to interface with a FileMaker DB running >on a FileMaker server on an iMac from Mac OS X Server (not YellowBox/NT >that is)? Is there an adaptor or something like it out there? What about using ODBC or JDBC? Check the list of plug-ins on FileMaker's site. The built-in ODBC in FileMaker 4.1 is very slow, and only works one way -- importing. Please let me know if you have any success! Christian B. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . CHRISTIAN BATCHELOR DESIGN LTD FileMaker Solutions Alliance Associate London, UK Member of the Apple Developer Connection +44 (0) 181 905 5047 chris@christianbatchelor.co.uk FileMaker, AppleScript, RealBasic www.christianbatchelor.co.uk Objective-C/Cocoa Programming From kristoffer at hjemme.dk Thu Aug 5 00:37:03 1999 From: kristoffer at hjemme.dk (Kristoffer =?iso-8859-1?Q?Peterh=E4nsel?=) Date: Thu Nov 3 14:42:13 2005 Subject: FileMaker adaptor or ?? In-Reply-To: <37A8C018.F5079E28@accentcomm.com> References: <37A8C018.F5079E28@accentcomm.com> Message-ID: At 15:34 -0700 04/08/1999, Gabriel Androczky wrote: >Hi there! > >Does anybody know about a way to interface with a FileMaker DB running >on a FileMaker server on an iMac from Mac OS X Server (not YellowBox/NT >that is)? Is there an adaptor or something like it out there? > >Thanks, > >Gabriel Get the latest version of FileMaker and use ODBC. There is an updated ODBC adapter on Apple's website you might wanna use (I think ;). Of course I haven't tried this. But I suppose ODBC is ODBC (or the standard would have no point, would it?). So it SHOULD work :) Kristoffer Peterh?nsel - Just someone... From nberch at db.lv Thu Aug 5 02:35:04 1999 From: nberch at db.lv (Nils Berzins) Date: Thu Nov 3 14:42:13 2005 Subject: Vote for Steve Jobs ! (Off topic) Message-ID: <199908050936.MAA19006@saulite> http://www.zdnet.com/zdnn/stories/news/0,4586,2308475,00.html From ak at prnet.de Thu Aug 5 04:02:05 1999 From: ak at prnet.de (Anjo Krank) Date: Thu Nov 3 14:42:13 2005 Subject: FileMaker adaptor or ?? Message-ID: >Get the latest version of FileMaker and use ODBC. There is an updated >ODBC adapter on Apple's website you might wanna use (I think ;). To get something straight: you if your DB is ODBC-capable, this doesn't mean that you can connect to it from everywhere. You _client machines_ needs a) a ODBC-Driver "Framework" - normally supplied with the system or from third parties and b) an ODBC Driver for the respective DB engine - normally supplied by the vendor of the engine. So, if there is no ODBC Driver for FM that also exports data for MacOSX, Solaris or WinNT, you can't use the ODBCEOAdaptor with it. It does _not_ matter what your DB runs on - apart from that it should be reachable via network or other means. Cheers, Anjo ------------------------------------------------------- "?fter mal passend was sagen" From pcoskren at bbn.com Thu Aug 5 05:35:23 1999 From: pcoskren at bbn.com (Patrick Coskren) Date: Thu Nov 3 14:42:13 2005 Subject: YB porting and development issues Message-ID: <199908051235.IAA24303@po2.bbn.com> > From: "David P. Riedel" > I can't answer questions 1 and 3 but for question 2, there is no useful c++ > available for mac osx. > dave riedel For many values of useful, that's true. To clarify for Lawson, Mac OS X Server ships with gcc 2.7.2.1, which is kind of old, although not useless. People have had problems compiling egcs for MSXS, but Apple is apparently using egcs with builds of Mac OS X, and we should see the update eventually. I can't remember where I heard that, but I seem to think it was an Apple person posting to the list. Can anybody confirm this? I've moved this to macosx-dev, which I think might be more appropriate for the original question. -Patrick > Lawson English wrote: > > > I'm interviewing soon (I hope) for a Mac analyst/developer position and I > > thought I'd ask a few questions: > > > > 1) how easy is it to port from generic Windows to the YB framework? > > 2) how easy is it to use C++ (apparently the language of choice at the > > shop) within YB? > > 3) how comfortable would YOU (dear reader) be with recommending that an > > arbitrary port from Wintel to the Mac be done using YB or should I > > recommend Carbon or are the issues too application-specific to give a > > useful answer? > > > > Thanks in advance. > > > > > ------------------------------------------------------------------------- > > Lawson English. Squeak, snore, etc. > > Check out > > > ------------------------------------------------------------------------- > > From paulrs at lgs-systems.com Thu Aug 5 05:56:54 1999 From: paulrs at lgs-systems.com (Paul R. Summermatter) Date: Thu Nov 3 14:42:13 2005 Subject: Problems with PB and phantom unsaved changes to nibs Message-ID: <9908051256.AA29225@slab> Hey guys, Is anyone else ready to put their fist through the screen over the constant spurious messages from PB about unsaved nibs and models? A sure way to cause this problem is to make a change to a nib and then revert or make a change and do a save as. Is there any way to get rid of this problem? Regards, Paul --- Paul Summermatter LGS Systems, Inc. Medical Computing Division 15 TJ Gamester Ave Portsmouth, NH 03801-5871 (603) 433-9822 voice (603) 433-9818 fax (888) 898-6321 pager 8986321@skytel.com paging email paulrs@lgs-systems.com (NeXT or MIME Mail Welcome) http://www.lgs-systems.com From Joe.Loda at usmail.mpct.com Thu Aug 5 07:28:28 1999 From: Joe.Loda at usmail.mpct.com (Loda, Joe) Date: Thu Nov 3 14:42:13 2005 Subject: Debugging Defaults Message-ID: <0145E1967C1ED3119FFF0090274EBE1804EB17@USMAIL02.mpct.com> I just recently posted regarding debugging defaults. A number of people pointed me towards NSDebug.h. However, the values I was interested in had to do with ObjC message tracing (like the famous gdb command on objc_msgSend) and EOF internals tracing. Ring a bell? Thanks, Joe --- Joe Loda, mpct Solutions Corporation, Chicago joe.loda@mpct.com (ASCII, MIME) From driedel at home.com Thu Aug 5 07:38:06 1999 From: driedel at home.com (David P. Riedel) Date: Thu Nov 3 14:42:13 2005 Subject: YB porting and development issues References: <199908051235.IAA24303@po2.bbn.com> Message-ID: <37A9A1CE.DEB1F1C@home.com> Some more clarification: gcc does ship with mosx server but only the source i believe -- i can find no executable and i have been unable to compile gcc. i'm new to unix so take that for what it's worth. in any case gcc does not support the language that is in use today -- things like namespaces don't seem to work, the headers are very old, etc. apple is shipping egcs as part of mac os x client. i've found client to be too unstable to use for anything however. i'm eagerly awaiting some sort of metrowerks c++ for mac osx. dave riedel Patrick Coskren wrote: > > From: "David P. Riedel" > > > I can't answer questions 1 and 3 but for question 2, there is no > useful c++ > > available for mac osx. > > dave riedel > > For many values of useful, that's true. To clarify for Lawson, Mac > OS X Server ships with gcc 2.7.2.1, which is kind of old, although > not useless. People have had problems compiling egcs for MSXS, but > Apple is apparently using egcs with builds of Mac OS X, and we should > see the update eventually. I can't remember where I heard that, > but I seem to think it was an Apple person posting to the list. Can > anybody confirm this? > > I've moved this to macosx-dev, which I think might be more > appropriate for the original question. > > -Patrick > > > Lawson English wrote: > > > > > I'm interviewing soon (I hope) for a Mac analyst/developer > position and I > > > thought I'd ask a few questions: > > > > > > 1) how easy is it to port from generic Windows to the YB framework? > > > 2) how easy is it to use C++ (apparently the language of choice > at the > > > shop) within YB? > > > 3) how comfortable would YOU (dear reader) be with recommending > that an > > > arbitrary port from Wintel to the Mac be done using YB or should I > > > recommend Carbon or are the issues too application-specific to give a > > > useful answer? > > > > > > Thanks in advance. > > > > > > > > > ------------------------------------------------------------------------- > > > > Lawson English. Squeak, snore, etc. > > > Check out > > > > > > ------------------------------------------------------------------------- > > > > > From phr at projectcenter.ch Thu Aug 5 07:58:31 1999 From: phr at projectcenter.ch (Philippe C.D. Robert) Date: Thu Nov 3 14:42:13 2005 Subject: YB porting and development issues In-Reply-To: <37A9A1CE.DEB1F1C@home.com> References: <37A9A1CE.DEB1F1C@home.com> Message-ID: <9908051458.AA00938@projectcenter.ch> You wrote: > Some more clarification: > > gcc does ship with mosx server but only the source i believe -- i can find > no executable and i have been unable to compile gcc. i'm new to unix so take > that for what it's worth. Nope, but it is called 'cc' to avoid complications, since it is not a plain vanilla gcc 2.7.2.1. See 'cc -v' for more information. > in any case gcc does not support the language that is in use today -- things > like namespaces don't seem to work, the headers are very old, etc. For C++ the gcc 2.7.2.1 is outdated, yes - but who wants to use C++ anyway...;-) sweet dreams, Phil --- Philippe C.D. Robert - Software Engineer ######################################## # http://www.nice.ch/~phip # # http://www.projectcenter.ch # ######################################## From paulrs at lgs-systems.com Thu Aug 5 08:28:07 1999 From: paulrs at lgs-systems.com (Paul R. Summermatter) Date: Thu Nov 3 14:42:13 2005 Subject: More debugging Nightmares on OSXS Message-ID: <9908051528.AA29324@slab> Hey guys, The debugging fun just never ends on OSXS :-). I'm slowly learning to tip toe around the glass house that is the OSXS debugger, but there is one problem which still crops up quite consistently. When sending a message to a variable (typically a local variable), I'll often times get a Segmentation fault. Here is an example: (gdb) po payorClaim { Patient = Smith, Jennifer (Cranston) Recipient = Smith, Jennifer Balance Due = $25.00 Status = Pending Submission Creation Date = 03/25/1999 } (gdb) print (int)[payorClaim ageInDays] Program received signal SIGSEGV, Segmentation fault. 0x4257eca0 in _NSMethodExceptionProem () The program being debugged stopped while in a function called from GDB. When the function (-[LGSClaim(UnmodeledProperties) ageInDays]) is done executing, GDB will silently stop (instead of continuing to evaluate the expression containing the function call). (gdb) Does anyone know how to avoid this problem? Thanks, Paul --- Paul Summermatter LGS Systems, Inc. Medical Computing Division 15 TJ Gamester Ave Portsmouth, NH 03801-5871 (603) 433-9822 voice (603) 433-9818 fax (888) 898-6321 pager 8986321@skytel.com paging email paulrs@lgs-systems.com (NeXT or MIME Mail Welcome) http://www.lgs-systems.com From bbum at codefab.com Thu Aug 5 08:39:38 1999 From: bbum at codefab.com (Bill Bumgarner) Date: Thu Nov 3 14:42:13 2005 Subject: More debugging Nightmares on OSXS In-Reply-To: <9908051528.AA29324@slab> Message-ID: Maybe it is from having dealt with the debugger for 10 years now, but I find it to be relatively stable and usable.... given the right circumstances. First and foremost, are you making the debug target? If not, then local variables will likely be optimized out and other debugging tasks will be made more difficult. b.bum From paulrs at lgs-systems.com Thu Aug 5 14:25:38 1999 From: paulrs at lgs-systems.com (Paul R. Summermatter) Date: Thu Nov 3 14:42:13 2005 Subject: 'oh' - What happened to it Message-ID: <9908052125.AA29610@slab> Hey guys, What happened to 'oh'? On OS 4.2, when I had memory problems, I could use a combination of NSZombieEnabled an 'oh' to see exactly who had retained and released a particular object. While I have been able to use NSZombies, I cannot find the 'oh' command. Has it disappeared? Does it have a replacement? Regards, Paul --- Paul Summermatter LGS Systems, Inc. Medical Computing Division 15 TJ Gamester Ave Portsmouth, NH 03801-5871 (603) 433-9822 voice (603) 433-9818 fax (888) 898-6321 pager 8986321@skytel.com paging email paulrs@lgs-systems.com (NeXT or MIME Mail Welcome) http://www.lgs-systems.com From paulrs at lgs-systems.com Thu Aug 5 13:02:15 1999 From: paulrs at lgs-systems.com (Paul R. Summermatter) Date: Thu Nov 3 14:42:13 2005 Subject: More debugging Nightmares on OSXS Message-ID: <9908052002.AA29557@slab> bbum@codefab wrote: [ Maybe it is from having dealt with the debugger for 10 years now, but I [ find it to be relatively stable and usable.... given the right [ circumstances. I haven't had any problems with the debugger until this version. I found the debugger on OS 4.2 just fine. My biggest frustrations right now are that I have lost the ability to walk up the stack and pull arguments to methods off the stack and that even when I can get a pointer to an object, I can't always seem to send it messages. I either get a segmentation fault or I get back which is crap! [ First and foremost, are you making the debug target? Yes, I am building the debug target for all of our frameworks, palettes, tools, bundles, and applications. [ If not, then local variables will likely be optimized out and other [ debugging tasks will be made more difficult. The reality is that I have far more success debugging our stuff on NT, but the problem is that I always seem to run out of memory on NT when I build debug. I just can't win! Thanks, Paul --- Paul Summermatter LGS Systems, Inc. Medical Computing Division 15 TJ Gamester Ave Portsmouth, NH 03801-5871 (603) 433-9822 voice (603) 433-9818 fax (888) 898-6321 pager 8986321@skytel.com paging email paulrs@lgs-systems.com (NeXT or MIME Mail Welcome) http://www.lgs-systems.com From dyoung at vviuh221.vvi.com Thu Aug 5 14:57:17 1999 From: dyoung at vviuh221.vvi.com (David Young) Date: Thu Nov 3 14:42:13 2005 Subject: 'oh' - What happened to it References: <9908052125.AA29610@slab> Message-ID: <9908052157.AA04228@vviuh221.vvi.com> > What happened to 'oh'? >From what I know 'oh' is gone, but was very useful while it lasted! Easy come, easy go ... Thanks A Bunch! David Young; VVI-DCS dyoung@vvi.com From jason at idalee.loudoun.com Thu Aug 5 16:23:50 1999 From: jason at idalee.loudoun.com (Jason Jobe) Date: Thu Nov 3 14:42:13 2005 Subject: Dynamically building an NSForm Message-ID: <0FG000BM3M7IKP@idalee.loudoun.com> I'm having a heck of a time doing the most basic thing. I'm trying to build a form from an array of title strings. Basically doing the following: - (void)populateForm:(NSForm*)form withKeys:(NSArray*)keys { NSEnumerator *keyCurs = [keys objectEnumerator]; NSString *key; NSRect frame; while (key = [keyCurs nextObject]) { NSString *title; NSFormCell *entry; title = key; [form addRow]; entry = [form cellAtRow:([[form cells] count] - 1) column:0]; entry = [form addEntry:title]; [entry setTitle:title]; [entry setStringValue:key]; } // to watch the results frame = [form frame]; frame = [form bounds]; // [form setValidateSize:NO]; // I have tried each of the following [form calcSize]; [form sizeToCells]; [form setNeedsDisplay:YES]; // to watch the results frame = [form frame]; frame = [form bounds]; } The results are that the form disappears from view. I started out with a form in scrollView but changed to using a preexisting form in a window. Any insight would be most appreciated. Thanks, Jason -- ================================ Jason Jobe President Datalore, Inc. jason@wildThink.com From joe at openbase.com Thu Aug 5 18:55:37 1999 From: joe at openbase.com (Joe Shomphe) Date: Thu Nov 3 14:42:13 2005 Subject: Serial Ports in X-Server Message-ID: <9908060159.AA16158@mozart.openbase.com> Sorry for the cross posting..this went to -talk and -admin and it really belongs here but...... Ok, I'm working on a small project that uses serial ports under MacOS X Server. I know that they are unsupported, but they work fine. Well, they work ok (they are set at 9600 by default). Anyhow, on my PowerMac 8500, /dev/ttyda and /dev/ttydb work perfectly, however, when I try to open/use these ports on a Beige G3, they don't work! Does anyone have an idea why this may be true. All of the /etc/tty* files are stock and identical on both machines (and the serial ports on the G3 works fine under macos 8.6) If someone could help me out with this, I'd be _EXTREMELY_ grateful Thanks for the help -Joe Shomphe -- ------------------------------------------------------------------ Joseph Shomphe joe@openbase.com OpenBase International, Ltd. 58 Greenfield Rd. Francestown, NH 03043 1-603-547-8404 "Just because some of us can read and write and do a little math, that doesn't mean we deserve to conquer the Universe." -Kurt Vonnegut ------------------------------------------------------------------ From Jerry.Porter at targetbase.com Fri Aug 6 11:10:35 1999 From: Jerry.Porter at targetbase.com (Jerry.Porter@targetbase.com) Date: Thu Nov 3 14:42:13 2005 Subject: Mac OSX on iMac Message-ID: <000041BA.C21479@targetbase.com> Hello, Sorry if this is the wrong list to post this question. I need help getting Mac OSX to install on an iMac. I know it is not a supported platform. However I have read on the archives that it (the installation) has been done by a few folks. Could someone detail the steps they performed to get it to run? I just bought my machine yesterday. It has 160 mB ram 6 GB HD did have Mac OS 8.6 but I blew it away. It is firmware 3.0.f10. The problem I am having is that I get the MacOSX installer panel after the first reboot and it is asking for a root device. I type a character and I get a "use sd%d, hd%d, fd%d, en%d of tr%d" prompt. I have read about various problems possibly related to the set up of partitions, firmware versions and so on. Any help would be appreciated. Jerry From btoback at optc.com Fri Aug 6 11:33:12 1999 From: btoback at optc.com (Bruce Toback) Date: Thu Nov 3 14:42:13 2005 Subject: PB G3 as dev environment? Message-ID: <199908061930.MAA03410@landru.optc.com> Hi all, Is anyone successfully using a bronze PowerBook G3 for developing and demonstrating YB/WO applications under either MOSX or MOSX Server? If so, which platform, and are there any special considerations of which I need to be aware? Thanks, -- Bruce -------------------------------------------------------------------------- Bruce Toback Tel: (602) 996-8601| My candle burns at both ends; OPT, Inc. (800) 858-4507| It will not last the night; 11801 N. Tatum Blvd. Ste. 142 | But ah, my foes, and oh, my friends - Phoenix AZ 85028 | It gives a lovely light. btoback@optc.com | -- Edna St. Vincent Millay From herren at flannet.middlebury.edu Fri Aug 6 12:45:02 1999 From: herren at flannet.middlebury.edu (David Herren) Date: Thu Nov 3 14:42:13 2005 Subject: PB G3 as dev environment? References: <199908061930.MAA03410@landru.optc.com> Message-ID: btoback@optc.com writes: >Is anyone successfully using a bronze PowerBook G3 for developing and >demonstrating YB/WO applications under either MOSX or MOSX Server? If so, >which platform, and are there any special considerations of which I need >to be aware? At present, no version of MacOS X (server or otherwise) runs on the bronze powerbooks -- David D. Herren www.cet.middlebury.edu/herren Assoc. Dir. for Tech. & Instruction herren@flannet.middlebury.edu Center for Educational Technology voice: (802)443-5746 5 Court Street, Middlebury, VT 05753 fax: (802)443-2053 From btoback at optc.com Fri Aug 6 13:14:05 1999 From: btoback at optc.com (Bruce Toback) Date: Thu Nov 3 14:42:13 2005 Subject: PB G3 as dev environment? Message-ID: <199908062111.OAA04288@landru.optc.com> Earlier, I wrote: >Is anyone successfully using a bronze PowerBook G3 for developing and >demonstrating YB/WO applications under either MOSX or MOSX Server? The answer is obviously, NO. Thanks to all who responded. -- Bruce -------------------------------------------------------------------------- Bruce Toback Tel: (602) 996-8601| My candle burns at both ends; OPT, Inc. (800) 858-4507| It will not last the night; 11801 N. Tatum Blvd. Ste. 142 | But ah, my foes, and oh, my friends - Phoenix AZ 85028 | It gives a lovely light. btoback@optc.com | -- Edna St. Vincent Millay From jlebel at iname.com Fri Aug 6 13:38:32 1999 From: jlebel at iname.com (jlebel@iname.com) Date: Thu Nov 3 14:42:13 2005 Subject: NSFrameAddress Message-ID: <990806163832DK.08825@weba1.iname.net> I'm able now to walk the stack. Does somebody know how to get some usefull information with NSFrameAddress (like a selector) ? What is the structure of the data from NSFrameAddress ? Thank's, --------------------------------------------------- Get free personalized email at http://www.iname.com From bierman at apple.com Fri Aug 6 13:39:21 1999 From: bierman at apple.com (Peter Bierman) Date: Thu Nov 3 14:42:13 2005 Subject: Mac OSX on iMac In-Reply-To: <000041BA.C21479@targetbase.com> Message-ID: Search the archives for more info... Previous messages seem to point to a specific CDROM version # causing the problem you describe. -pmb At 11:18 AM -0700 8/6/99, Jerry.Porter@targetbase.com wrote: >Hello, > >Sorry if this is the wrong list to post this question. > >I need help getting Mac OSX to install on an iMac. > >I know it is not a supported platform. However I have read on the archives >that >it (the installation) has been done by a few folks. > >Could someone detail the steps they performed to get it to run? > >I just bought my machine yesterday. It has 160 mB ram 6 GB HD did have Mac OS >8.6 but I blew it away. >It is firmware 3.0.f10. > >The problem I am having is that I get the MacOSX installer panel after the >first >reboot and it is asking for a root device. I type a character and I get a "use >sd%d, hd%d, fd%d, en%d of tr%d" prompt. > >I have read about various problems possibly related to the set up of >partitions, >firmware versions and so on. > >Any help would be appreciated. > >Jerry -- "UNIX shells in Mac OS X should be unneeded but functional... and have the same installed base as MPW." From Jerry.Porter at targetbase.com Fri Aug 6 14:52:30 1999 From: Jerry.Porter at targetbase.com (Jerry.Porter@targetbase.com) Date: Thu Nov 3 14:42:13 2005 Subject: Mac OSX on iMac Message-ID: <00004797.C21479@targetbase.com> Peter, Thanks for the info. Unfortunatly I am not sure haw to find the CDROM version #. I have received various other hints like making two partitions, One Mac OS 8.6 and on Mac OSX and install from that configuration, a hint to downgrade???!!! my firmware to V 1.0, which, does not seem to exist on the Apple website. I could only find 1.1 and 1.2 and other minor hints. Warning Soapbox ahead!! You know it seems real frustrating that Apple has come out with some "Insanely Great" and inexpensive hardware like the iMac and software like Mac OS X and they won't work together! How much effort would it have taken to make it work? I do not know, I guess the resources are not available, or maybe there is no interest in marketing to the average developer just to big clients. It would seem to me it would be in Apple's best interest to do everything they could to get as large a market share of their software and hardware as possible. It also seems to me it would make sense for Apple to do everything they could to try and get more developers to buy into the Mac OS X platform. If no one writes software, who is going to buy the hardware? I think it would make sense to put some effort into getting affordable solutions out to the average developer. The bigger the developer base the better. After all didn't most of us get into this environment in the first place because of the cool technology? An inexpensive combination of the iMac and Mac OSX would be a good way to entice developers away from the wintel duopoly. I know that the iMac is not a "Server Machine" and it is not marketed as such, but it could be used as a starting point for "proof of concept" development efforts. Once "proven" this could lead to more hardware and software sales for Apple in the future. I personally have spent many thousands of dollars on hardware and software in the past to stay in the NeXT / Apple fold. I have a NeXT ColorStation running NextStep 3.3, a Pentium running OpenStep Mach 4.2, a Pentium running Windows NT with WebObjects 4.01, a DEC Alpha station running OpenStep 4.2 for Windows using FX!32 and now a _USELESS_ iMac. Apple's inconsistent delivery of hardware and software combinations / solutions over the years have made it extremely madding and frustrating to continue development efforts using their products. Of course this is not new. And I do not think it is likely to change in the future. But, what are we to do? I guess continue to hope for the best. Do we have a choice? End of Soapbox!! Jerry ____________________Reply Separator____________________ Subject: Re: Mac OSX on iMac Author: Peter Bierman Date: 8/6/99 1:39 PM Search the archives for more info... Previous messages seem to point to a specific CDROM version # causing the problem you describe. -pmb At 11:18 AM -0700 8/6/99, Jerry.Porter@targetbase.com wrote: >Hello, > >Sorry if this is the wrong list to post this question. > >I need help getting Mac OSX to install on an iMac. > >I know it is not a supported platform. However I have read on the archives >that >it (the installation) has been done by a few folks. > >Could someone detail the steps they performed to get it to run? > >I just bought my machine yesterday. It has 160 mB ram 6 GB HD did have Mac OS >8.6 but I blew it away. >It is firmware 3.0.f10. > >The problem I am having is that I get the MacOSX installer panel after the >first >reboot and it is asking for a root device. I type a character and I get a "use >sd%d, hd%d, fd%d, en%d of tr%d" prompt. > >I have read about various problems possibly related to the set up of >partitions, >firmware versions and so on. > >Any help would be appreciated. > >Jerry -- "UNIX shells in Mac OS X should be unneeded but functional... and have the same installed base as MPW." From bierman at apple.com Fri Aug 6 15:32:58 1999 From: bierman at apple.com (Peter Bierman) Date: Thu Nov 3 14:42:13 2005 Subject: Mac OSX on iMac In-Reply-To: <00004797.C21479@targetbase.com> Message-ID: At 4:52 PM -0500 8/6/99, Jerry.Porter@targetbase.com wrote: >Unfortunatly I am not sure haw to find the CDROM version #. You can use the Apple System Profiler from Mac OS. The version in question is the version of your physical CDROM *drive*, not any particular CD. Several people have reported that mechanisms with the version LAD3 have trouble with Mac OS X. This is just a good example of why the iMac was listed as an "unsupported" platform for Mac OS X. Many machines will work, but some might have problems that were unanticipated during Mac OS X development. You should also make sure your iMac's firmware has been updated to the latest version. >Warning Soapbox ahead!! > >You know it seems real frustrating that Apple has come out with some "Insanely >Great" and inexpensive hardware like the iMac and software like Mac OS X and >they won't work together! How much effort would it have taken to make it >work? I share your frustration at times. All I can offer in response is that Mac OS X will be held to an exceptionally high standard: Mac OS 9. And all of us working on Mac OS X are going nuts to build and polish this OS to be the best it can be in the limited time we have. Apple holds its products to very high standards of quality, and part of that quality is extensive testing and qualification of software before it ships. The reason several models are listed as "unsupported" for various releases of Mac OS X is that it was felt that limited resources would be better spent on developing the software and qualifying it on a narrow range of hardware while extensive development was underway. But you can rest assured that we also desire to make Mac OS X available to the widest range of hardware possible while still making it the easiest to use software possible. -pmb -- "UNIX shells in Mac OS X should be unneeded but functional... and have the same installed base as MPW." From Jerry.Porter at targetbase.com Sat Aug 7 12:28:16 1999 From: Jerry.Porter at targetbase.com (Jerry.Porter@targetbase.com) Date: Thu Nov 3 14:42:13 2005 Subject: Mac OSX on iMac Message-ID: <00004BDA.C21479@targetbase.com> Peter, Thanks for the advice. I now need to figure out how to get another CDROM revision :-( Jerry ____________________Reply Separator____________________ Subject: Re[2]: Mac OSX on iMac Author: Peter Bierman Date: 8/6/99 3:43 PM At 4:52 PM -0500 8/6/99, Jerry.Porter@targetbase.com wrote: >Unfortunatly I am not sure haw to find the CDROM version #. You can use the Apple System Profiler from Mac OS. The version in question is the version of your physical CDROM *drive*, not any particular CD. Several people have reported that mechanisms with the version LAD3 have trouble with Mac OS X. This is just a good example of why the iMac was listed as an "unsupported" platform for Mac OS X. Many machines will work, but some might have problems that were unanticipated during Mac OS X development. You should also make sure your iMac's firmware has been updated to the latest version. >Warning Soapbox ahead!! > >You know it seems real frustrating that Apple has come out with some "Insanely >Great" and inexpensive hardware like the iMac and software like Mac OS X and >they won't work together! How much effort would it have taken to make it >work? I share your frustration at times. All I can offer in response is that Mac OS X will be held to an exceptionally high standard: Mac OS 9. And all of us working on Mac OS X are going nuts to build and polish this OS to be the best it can be in the limited time we have. Apple holds its products to very high standards of quality, and part of that quality is extensive testing and qualification of software before it ships. The reason several models are listed as "unsupported" for various releases of Mac OS X is that it was felt that limited resources would be better spent on developing the software and qualifying it on a narrow range of hardware while extensive development was underway. But you can rest assured that we also desire to make Mac OS X available to the widest range of hardware possible while still making it the easiest to use software possible. -pmb -- "UNIX shells in Mac OS X should be unneeded but functional... and have the same installed base as MPW." From mail2agp at zeelandnet.nl Sat Aug 7 13:34:39 1999 From: mail2agp at zeelandnet.nl (R.H van Amerongen) Date: Thu Nov 3 14:42:13 2005 Subject: Re[3.05]: Mac OSX on iMac ( Apple. Make it supported) In-Reply-To: <00004BDA.C21479@targetbase.com> References: <00004BDA.C21479@targetbase.com> Message-ID: Hi Isn't there a hack just like what they tend to do with the MacOS Cd drivers and resedit? Or for the developers sake, why is Apple not fixing this kind of problems, so developers can spend time to coding and learning instead of trying and trying to get MacOS X (S) installed and so on... Apple. Make it supported! Yes, we know you can do it. Why won't Apple make an Install Advise Page with all the in and outs, not just a tech note. Why don't we have a Page where we can find the known bugs for Cocoa and the like? And I don't mean the Release notes, if those where the only bugs we were happy developers. Peter? or better Apple? Greetings Ren? >Peter, > >Thanks for the advice. I now need to figure out how to get another CDROM >revision :-( > >Jerry > > >____________________Reply Separator____________________ >Subject: Re[2]: Mac OSX on iMac >Author: Peter Bierman >Date: 8/6/99 3:43 PM > >At 4:52 PM -0500 8/6/99, Jerry.Porter@targetbase.com wrote: >>Unfortunatly I am not sure haw to find the CDROM version #. > >You can use the Apple System Profiler from Mac OS. The version in question >is the version of your physical CDROM *drive*, not any particular CD. > >Several people have reported that mechanisms with the version LAD3 have >trouble with Mac OS X. This is just a good example of why the iMac was >listed as an "unsupported" platform for Mac OS X. Many machines will work, >but some might have problems that were unanticipated during Mac OS X >development. > >You should also make sure your iMac's firmware has been updated to the >latest version. > >>Warning Soapbox ahead!! >> >>You know it seems real frustrating that Apple has come out with >>some "Insanely >>Great" and inexpensive hardware like the iMac and software like Mac OS X and >>they won't work together! How much effort would it have taken to make it >>work? > >I share your frustration at times. All I can offer in response is that Mac >OS X will be held to an exceptionally high standard: Mac OS 9. And all of >us working on Mac OS X are going nuts to build and polish this OS to be the >best it can be in the limited time we have. Apple holds its products to >very high standards of quality, and part of that quality is extensive >testing and qualification of software before it ships. The reason several >models are listed as "unsupported" for various releases of Mac OS X is that >it was felt that limited resources would be better spent on developing the >software and qualifying it on a narrow range of hardware while extensive >development was underway. But you can rest assured that we also desire to >make Mac OS X available to the widest range of hardware possible while >still making it the easiest to use software possible. > > >-pmb > >-- >"UNIX shells in Mac OS X should be unneeded but functional... > and have the same installed base as MPW." From bstar at ibm.net Sat Aug 7 13:56:44 1999 From: bstar at ibm.net (bstar@ibm.net) Date: Thu Nov 3 14:42:13 2005 Subject: Mac OSX on iMac In-Reply-To: <00004BDA.C21479@targetbase.com> Message-ID: <3.0.1.32.19990807135644.006e89a4@pop01.ny.us.ibm.net> Let us know if you find a way to get another CD-ROM revision. I've been trying to find one for my iMac for the past three weeks with no luck. :( Deborah Lordeman At 12:46 PM 8/7/99 -0700, Jerry.Porter@targetbase.com wrote: >Peter, > >Thanks for the advice. I now need to figure out how to get another CDROM >revision :-( > >Jerry > > >____________________Reply Separator____________________ >Subject: Re[2]: Mac OSX on iMac >Author: Peter Bierman >Date: 8/6/99 3:43 PM > >At 4:52 PM -0500 8/6/99, Jerry.Porter@targetbase.com wrote: >>Unfortunatly I am not sure haw to find the CDROM version #. > >You can use the Apple System Profiler from Mac OS. The version in question >is the version of your physical CDROM *drive*, not any particular CD. > >Several people have reported that mechanisms with the version LAD3 have >trouble with Mac OS X. This is just a good example of why the iMac was >listed as an "unsupported" platform for Mac OS X. Many machines will work, >but some might have problems that were unanticipated during Mac OS X >development. > >You should also make sure your iMac's firmware has been updated to the >latest version. > >>Warning Soapbox ahead!! >> >>You know it seems real frustrating that Apple has come out with some "Insanely >>Great" and inexpensive hardware like the iMac and software like Mac OS X and >>they won't work together! How much effort would it have taken to make it >>work? > >I share your frustration at times. All I can offer in response is that Mac >OS X will be held to an exceptionally high standard: Mac OS 9. And all of >us working on Mac OS X are going nuts to build and polish this OS to be the >best it can be in the limited time we have. Apple holds its products to >very high standards of quality, and part of that quality is extensive >testing and qualification of software before it ships. The reason several >models are listed as "unsupported" for various releases of Mac OS X is that >it was felt that limited resources would be better spent on developing the >software and qualifying it on a narrow range of hardware while extensive >development was underway. But you can rest assured that we also desire to >make Mac OS X available to the widest range of hardware possible while >still making it the easiest to use software possible. > > >-pmb > >-- >"UNIX shells in Mac OS X should be unneeded but functional... > and have the same installed base as MPW." > > > > From bbum at codefab.com Sat Aug 7 14:27:43 1999 From: bbum at codefab.com (Bill Bumgarner) Date: Thu Nov 3 14:42:13 2005 Subject: Mac OSX on iMac Message-ID: <199908072127.RAA03148@bjork.codefab.com> [All of this is just me quoting what Apple has said at various *public* gatherings... there is no NDA'd information here, nor is there anything *official*.] Everyone should also keep in mind that Mac OS X will be the first version of the X technologies that is running on a the Mach 3.0 kernel with the new and improved IOKit. Every talk or other event that I have been to since WWDC that mentions the future of OS X and OS X Server mentions that: - all effort is being put into getting OS X out the door as a high quality client OS - once OS X ships, OS X Server 2.0 (or 1.x -- never clear) will be moved to the new kernel and IOKit and will ship sometime after OS X. - OS X Server 2.0 will also be unified on top of Quartz End result; Any effort to support more hardware with the current OS X Server product is a waste of resources in that almost *none* of that effort can be recycled. Sometime during the middle of next year, we are going to have a phenomonal 2.0 server environment running on a unified kernel, iokit and drawing model as the client OS. In other words, there isn't any reason to believe that OS X Server won't work just fine on everything that Client will work on. 1998 and 1999 were the year of hardware for Apple. 2000 will be the year for the software. b.bum From sanguish at digifix.com Sat Aug 7 20:32:43 1999 From: sanguish at digifix.com (Scott Anguish) Date: Thu Nov 3 14:42:13 2005 Subject: Re[3.05]: Mac OSX on iMac ( Apple. Make it supported) In-Reply-To: References: Message-ID: <199908080332.XAA08921@digifix.com> (Note.. this isn't really macosx-dev material.. might want ot take it to macosx-admin) R.H van Amerongen wrote: > > Why won't Apple make an Install Advise Page with all the in and outs, > not just a tech note. Why don't we have a Page where we can find the > known bugs for Cocoa and the like? And I don't mean the Release > notes, if those where the only bugs we were happy developers. > > Peter? or better Apple? There is for the hardware support.. http://www.stepwise.com/MacOSXServer I've been tracking all the hardware installation reports I've gotten, and adding them here. If you have a problem, or see something missing, please, send it in so that we can all benefit. As far as AppKit bugs.. well, ideally Apple should selectively open its bug database for this information (that is, add some flag that makes specific entries in the bug database public).. I'll not hold my breath though.. From alexnet at gestalt.com Sat Aug 7 20:23:45 1999 From: alexnet at gestalt.com (Alex Molochnikov) Date: Thu Nov 3 14:42:13 2005 Subject: ObjC-Java bridge requires NSApplication Message-ID: <9908080323.AA00443@gestalt.com> Hello everybody, I came across a strange problem today. It looks like in order to instantiate a Java object in the ObjC-based application one must have the NSApplication object instantiated first. The following code works: void main() { id controller; NSApp = [NSApplication sharedApplication]; controller = [[ConnectionController alloc] init]; [NSApp setDelegate:controller]; [NSApp run]; exit(0); } ConnectionController class simply makes these calls in its applicationDidFinishLaunching: method: javaClass = NSClassFromString(@"BootstrapConnector"); javaObject = [[javaClass alloc] init]; In the above code, the Java class is returned as a non-nil entity, and the object is successfully instantiated. However, if the main() function does not instantiate the NSApplication, but is instead built as a Tool (to be run as a faceless background process) as follows: void main() { id controller; controller = [[ConnectionController alloc] init]; [[NSRunLoop currentRunLoop] configureAsServer]; [[NSRunLoop currentRunLoop] run]; exit(0); } then the ObjC class for BootstrapConnector Java class is returned as Nil (in this sample, the instantiation of the Java object was attempted in the init method of ConnectionController). Does this mean that the ObjC-Java bridge only works for applications that incorporate NSApplication class? And if the application is meant to be a background process that persists through the user logout (which means that NSApplication must not be instantiated, or else the app will be terminated when the user logs out) then it cannot use Java classes? I hope I just missed something... Alex Molochnikov Phoenix Data Trend From ajwdsp at cloud9.net Sun Aug 8 06:28:59 1999 From: ajwdsp at cloud9.net (Andrew Weiss) Date: Thu Nov 3 14:42:13 2005 Subject: FW: modem and printer with Blue & White G3 Message-ID: <19990808132623.4D5A976504@russian-caravan.cloud9.net> Apparently this is the answer concerning serial ports from the Linux guys... now if we can just figure out how to properly create the same device files, pppd should compile with no problemo. Andrew ---------- >From: "Timothy A. Seufert" >To: linuxppc-user@lists.linuxppc.org, Jeffrey Rosenthal >Subject: Re: modem and printer with Blue & White G3 >Date: Tue, Aug 3, 1999, 4:13 AM > > >>Assuming it is *not* possible to access the USB-serial adapter from >>LinuxPPC, then I plan to purchase a new modem and printer for my computer. > > Don't run out and buy anything yet! See below. > >>For example, could LinuxPPC access an Apple internal modem, if I bought >>one of those? > > Probably. The internal modem is connected to an internal serial port. > This turns out to be exactly the same kind of serial seen on older machines > (Zilog 8530 SCC). > > However, rather than spending $100 on the Apple modem, you can spend about > $40-50 on one of the Blue G3 serial port adapters which uses the internal > modem connector. You will then have one non-USB serial port which you can > use for either your printer or modem. Since it uses the serial connection > intended for the modem, it *should* generally be 100% compatible with > old-style serial ports, even under Linux (caveat -- I haven't tried this > myself yet). See the following URL for one such product: > > http://www.griffintechnology.com/g3/gport.html > >>And, could LinuxPPC access a USB-interfaced Epson 740 inkjet printer? >>(This printer uses the ESC/P2 printer language so I believe ghostview can >>handle it, assuming LinuxPPC can access it at all. On the other hand, >>reading through this mailing group's archives I see some postings in >>which people have had various problems with this printer ... so is >>another one a better choice?) > > I'm not sure about the state of USB printer support right now. I suspect > it isn't all there yet. > > Tim Seufert > > [[ This message was sent via the linuxppc-user mailing list. Replies are ]] > [[ not forced back to the list, so be sure to Cc linuxppc-user if your ]] > [[ reply is of general interest. Please check http://lists.linuxppc.org/ ]] > [[ and http://www.linuxppc.org/ for useful information before posting. ]] > From leigh at ernst.tomandandy.com Sun Aug 8 11:27:11 1999 From: leigh at ernst.tomandandy.com (Leigh Smith) Date: Thu Nov 3 14:42:13 2005 Subject: FW: modem and printer with Blue & White G3 Message-ID: <199908081827.OAA09185@ernst.tomandandy.com> I can verify the gPort replacement connector for the B&W Z8530 serial ports work fine on MacOsX-Server with the MusicKit serial port MIDI device driver connected to a variety of MIDI interfaces (See stepwise SoftTrak for details). In theory then, the modem support is fine. In practice, it is the serial port device driver which is the problem. The serial port driver is in the Darwin kernel source and I believe fixes a bug that was manifest in MOXS 5.3, perhaps it has been fixed with the V5.5 kernel update. BTW for developers interested in MusicKit porting progress post MOXS, I now have the MusicKit running on Windows courtesy of RDR2/YB/NT, with a couple more days work needed to finish minimal support for MS DirectMusic. The next stage is to then port to GnuStep (gets easier with each platform we move to :-) so that in combination with cygwin, we can offer a true cross-platform music synthesis and sound API unencumbered by corporate interests. It seems GnuStep+cygwin+integration = Cocoa/NT - Apple's_non_business_plan. Of course, that's mostly because the MK is Foundation rather than AppKit dependent and GnuStep Foundation is further advanced than their AppKit AFAIK. -- Leigh Smith leigh@tomandandy.com (MIME) tomandandy +1-212-334-0421 (W) +1-212-334-0422 (F) 89 Greene St. New York, NY 10012, USA http://www.cs.uwa.edu.au/~leigh Microsoft - What do you want to re-install today? From alexnet at gestalt.com Sun Aug 8 11:55:43 1999 From: alexnet at gestalt.com (Alex Molochnikov) Date: Thu Nov 3 14:42:13 2005 Subject: ObjC-Java bridge requires NSApplication Message-ID: <9908081855.AA00294@gestalt.com> A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 1116 bytes Desc: not available Url : /mailman/archive/macosx-dev/attachments/19990808/c6b29366/attachment.bin From phr at projectcenter.ch Sun Aug 8 17:27:28 1999 From: phr at projectcenter.ch (Philippe C.D. Robert) Date: Thu Nov 3 14:42:13 2005 Subject: FW: modem and printer with Blue & White G3 In-Reply-To: <199908081827.OAA09185@ernst.tomandandy.com> References: <199908081827.OAA09185@ernst.tomandandy.com> Message-ID: <9908090027.AA01543@projectcenter.ch> You wrote: > It seems GnuStep+cygwin+integration = Cocoa/NT - > Apple's_non_business_plan. Of course, that's mostly because the MK is > Foundation rather than AppKit dependent and GnuStep Foundation is > further advanced than their AppKit AFAIK. Yup, gnustep-base is not yet 100% completed, but what's in there has almost 1.0 quality! BTW the gui part is proceeding fast these days! I welcome you all to have a look at it, and perhaps you will enjoy helping us to make GNUstep a success! GNUstep 0.6 "Dawn" is ante portas, so any comments, bug reports etc are welcome and helpful! sweet dreams, Phil --- Philippe C.D. Robert - Software Engineer ######################################## # http://www.nice.ch/~phip # # http://www.projectcenter.ch # ######################################## From mmalc at yahoo.com Mon Aug 9 06:37:39 1999 From: mmalc at yahoo.com (mmalcolm crawford) Date: Thu Nov 3 14:42:13 2005 Subject: mmalc's email... Message-ID: <19990809133739.6707.rocketmail@web1302.mail.yahoo.com> As a very few of you are aware, I have recently left P & L Systems. Last Friday I discovered that for the last three weeks my incoming email has been automatically cc-ed to someone else in the company. >From time to time I receive personal emails from folks on this and other lists relaying confidential information that they expect to remain private. Whilst I can offer my own guarantee, clearly I cannot vouchsafe any third party. Could I therefore please ask everyone not to send any private email to my plsys account from now on. Instead you can either use this account at yahoo, or, perhaps preferably, mmalc(at) stepwise (dot) com. I'll update folks on my situation after this week's holiday in Cornwall... Best wishes, mmalc. _____________________________________________________________ Do You Yahoo!? Bid and sell for free at http://auctions.yahoo.com From Jerry.Porter at targetbase.com Mon Aug 9 08:02:00 1999 From: Jerry.Porter at targetbase.com (Jerry.Porter@targetbase.com) Date: Thu Nov 3 14:42:13 2005 Subject: Mac OSX on iMac Message-ID: <00005525.C21479@targetbase.com> Thanks for all the help. I guess my options to get this to work are limited. 1. Keep my new iMac and play with Mac OS 8.6 (at least that works) and wait untill Apple comes out with the new and improved OS X with all the goodies we have heard about and hope they have tested it on all G3 based boxes. 2. Return my new iMac and get an older one and try an install. 3. Try and find a non LAD3 version CDROM and see if I can get an install working. 4. Try and install over the network or from and external SCSI CDROM with a USB to SCSI adapter ( any one tried this?) 5. Continue development using WOF4 on WINNT. 6. Give up and become a pig farmer. Jerry From bungi at omnigroup.com Mon Aug 9 12:35:41 1999 From: bungi at omnigroup.com (Timothy J. Wood) Date: Thu Nov 3 14:42:13 2005 Subject: NSFrameAddress Message-ID: <199908091935.MAA09448@electabuzz.omnigroup.com> A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 1479 bytes Desc: not available Url : /mailman/archive/macosx-dev/attachments/19990809/dc08072c/attachment.bin From moose at manicmoose.com Mon Aug 9 12:58:36 1999 From: moose at manicmoose.com (Michael Rutman) Date: Thu Nov 3 14:42:13 2005 Subject: profile libraries Message-ID: I just switched my WebObject application to build a profile version, and it is faling saying it can't find MultiScript_profile and has the following undefined symbols .objc_class_name_NMSDebugger .objc_class_name_NMSScriptFlavor .objc_class_name_NMSScriptedObject .objc_class_name_NMSType .objc_class_name_WebScript All my other profile libraries seemed to install just fine. Any ideas? Thanks Michael Rutman Manic Moose Consulting Wondering if we could simplify life to remove the bugs moose@manicmoose.com From mark at ix.netcom.com Mon Aug 9 13:25:28 1999 From: mark at ix.netcom.com (Mark Ericksen) Date: Thu Nov 3 14:42:13 2005 Subject: HP 4050TN Printer Message-ID: <199908092020.PAA05434@dfw-ix16.ix.netcom.com> Greetings, I just received an HP 4050TN printer that I'll be using for a project. The "T" in the name means it comes with two paper trays instead of one. I've successfully connected the printer to my network and can print to it from MacOS X Server and NT. My issue for you all is this. My program will be utilizing the multiple paper trays in the printer so when a user prints from one part of the app, tray 2 will be used for example. Another part of the application will use tray 3. The reason is that each tray will have different kinds of paper and the user shouldn't have to know which tray has what. If fact the user will never see the print panel. How can I programmatically select the right paper tray? Even if I print from say, OmniWeb, the print panel will let me select a specific tray but the printer always prints from tray 3 (out of 3 trays) regardless of what I select in the print panel... Also, MacOS X Server seems to include an extra page with the username, host name, job title, etc. How can I turn this off? It wastes paper! BTW: For info about how to setup a similar printer search for HP4000 in the Admin mailing list. It was pretty easy. Thanks a bunch, Mark Ericksen Jiiva, Inc. From bungi at omnigroup.com Mon Aug 9 15:28:48 1999 From: bungi at omnigroup.com (Timothy J. Wood) Date: Thu Nov 3 14:42:14 2005 Subject: Audio cd filesystem support Message-ID: <199908092228.PAA01100@electabuzz.omnigroup.com> A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 577 bytes Desc: not available Url : /mailman/archive/macosx-dev/attachments/19990809/0c06db87/attachment.bin -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/octet-stream Size: 10280 bytes Desc: not available Url : /mailman/archive/macosx-dev/attachments/19990809/0c06db87/attachment.obj -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 46 bytes Desc: not available Url : /mailman/archive/macosx-dev/attachments/19990809/0c06db87/attachment-0001.bin From janos.lobb at yale.edu Mon Aug 9 15:32:59 1999 From: janos.lobb at yale.edu (=?iso-8859-1?Q?J=E1nos?= =?iso-8859-1?Q?_?= =?iso-8859-1?Q?L=F6bb?=) Date: Thu Nov 3 14:42:14 2005 Subject: Sybase EOF adapter ? Message-ID: Did I miss an announcement an the subject above, or is it still in the making ? J?nos J?nos L?bb Tel: 203-737-5204 Yale University Pathology Fax: 203-785-7303 310 Cedar St. Room BML104A janos.lobb@yale.edu New Haven CT 06510 Never take a candid-cookie from a stranger. From jlebel at iname.com Mon Aug 9 19:35:45 1999 From: jlebel at iname.com (jlebel@iname.com) Date: Thu Nov 3 14:42:14 2005 Subject: NSConcreteMutableDictionary, retain and release Message-ID: <990809223545F1.15683@weba6.iname.net> Is there a reason why -[NSConcreteMutableDictionary retain] don't call -[NSMutableDictionary retain] and -[NSConcreteMutableDictionary release] don't call -[NSMutableDictionary release] ? --------------------------------------------------- Get free personalized email at http://www.iname.com From jjfeiler at relief.com Mon Aug 9 21:25:39 1999 From: jjfeiler at relief.com (John Jay Feiler) Date: Thu Nov 3 14:42:14 2005 Subject: HP 4050TN Printer Message-ID: <199908090828.BAA18382@haque.relief.com> > From: Mark Ericksen > I just received an HP 4050TN printer that I'll be using for a project. The > "T" in the name means it comes with two paper trays instead of one. > > I've successfully connected the printer to my network and can print to it from > MacOS X Server and NT. > > My issue for you all is this. My program will be utilizing the multiple paper > trays in the printer so when a user prints from one part of the app, tray 2 > will be used for example. Another part of the application will use tray 3. > The reason is that each tray will have different kinds of paper and the user > shouldn't have to know which tray has what. If fact the user will never see > the print panel. > > How can I programmatically select the right paper tray? Even if I print from > say, OmniWeb, the print panel will let me select a specific tray but the > printer always prints from tray 3 (out of 3 trays) regardless of what I select > in the print panel... Your best bet is a bit of experimentation. I'm pretty sure that the tray to use will be in the NSPrintInfo's dictionary -- probably with the key NSPrintPaperFeed, I don't know which values. As long as you have the correct PPD installed, you should be able to pull up the options on the print panel, and print from both paper feeds. Break in gdb and print out the NSPrintInfo for each case, and figure out what the right values are.... J -- John Feiler jjfeiler@relief.com From andreas at mevis.de Tue Aug 10 00:26:18 1999 From: andreas at mevis.de (Andreas Bohne) Date: Thu Nov 3 14:42:14 2005 Subject: Reading MOSXS Nibs under NT Message-ID: <9908100926.AA182407@matisse> Hi, our app is developed on MacOSX Server and has to run on NT. Previously, we had no problems in transferring from MOSXS to NT, but after integrating some DB logic we found that the nibs which contain display groups and editing contexts produce a read error in IB on NT (we use WebObjects 4.0 on NT). If created under NT the nibs are readable under MOSXS, once saved in MOSXS they give the same error under NT: "Unarchiving failure: *** file inconsistency: read '@', expecting 'c'". What we are doing wrong? TIA, Andreas PS: Unfortunaltely, Omnigroup's Mail archive searching seems to be (temporarily?) broken, so I couldn't search the archives... --------------------------------------------------------------------- Andreas Bohne MeVis - Center for Medical Diagnostic Systems and Visualization e-mail: andreas@mevis.de http://www.mevis.de/ --------------------------------------------------------------------- From Dirk.Theisen at dv-org.de Tue Aug 10 01:37:03 1999 From: Dirk.Theisen at dv-org.de (Dirk Theisen) Date: Thu Nov 3 14:42:14 2005 Subject: Java: Creating AttributedString from HTML Message-ID: <199908100835.BAA08228@scyther.omnigroup.com> Hello! I'm about to give up. I'm trying to convert a WOComponent to plain text (not html). So I let it produce HTML (works) and create an NSAttributedString from it, which I can turn into plain text. Unfortunately, the constructor for creating a NSAttributedString from HTML in Java seems to be broken or at least heavily mis-documented. After experimenting, I found out that it is the following: public NSAttributedString (NSData, Object, NSMutableDictionary); Object should be a URL, but what type? java.lang.URL? String? Anyone who successfully used this constructor? How? Regards, Dirk I also tried to wrap my own (ObjC) version but failed royaly unter NT at the DLL loading at runtime. :-( From richard at brainstorm.co.uk Tue Aug 10 02:34:39 1999 From: richard at brainstorm.co.uk (Richard Frith-Macdonald) Date: Thu Nov 3 14:42:14 2005 Subject: NSConcreteMutableDictionary, retain and release In-Reply-To: <990809223545F1.15683@weba6.iname.net> References: <990809223545F1.15683@weba6.iname.net> Message-ID: <9908100934.AA02510@tiptree.brainstorm.co.uk> On Tue, 10 Aug 1999 02:18:31 -0700 (PDT), jlebel@iname.com wrote: > Is there a reason why -[NSConcreteMutableDictionary retain] don't call > -[NSMutableDictionary retain] and -[NSConcreteMutableDictionary release] > don't call -[NSMutableDictionary release] ? Probably :-) As members of a class-cluster, there is no requirement for them to call the methods in the abstract class, and I'd venture to guess that they actually use NSIncrementExtraRefCount() and NSDecrementExtraRefCountWasZero() for efficiency (avoiding objc messaging overheads) - though there may be other reasons too. From guenther at onevision.de Tue Aug 10 04:15:52 1999 From: guenther at onevision.de (Guenther Fuerthaller) Date: Thu Nov 3 14:42:14 2005 Subject: NSConcreteMutableDictionary, retain and release References: <990809223545F1.15683@weba6.iname.net> Message-ID: <199908101115.MAA03382@dali.onevision.de> A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 363 bytes Desc: not available Url : /mailman/archive/macosx-dev/attachments/19990810/ea14b8e9/attachment.bin From hiro at cc.kanagawa-u.ac.jp Tue Aug 10 03:42:29 1999 From: hiro at cc.kanagawa-u.ac.jp (Hiroyuki Sato) Date: Thu Nov 3 14:42:14 2005 Subject: How to create Custom Login UI Message-ID: <199908101038.TAA08082@kamome.cc.kanagawa-u.ac.jp> I would like to create "Custom Login UI" in loginwindow. Does anybody knows where are example source, header, and any information? Best regards. --- ------------------------------------ Hiroyuki Sato Information Processing Center Kanagawa Univ. Voice: +81-045-491-2572 Fax: +81-045-491-2575 E-Mail: hiro@cc.kanagawa-u.ac.jp (NeXT/MIME Mail Welcome) ------------------------------------ From jjfeiler at relief.com Tue Aug 10 06:34:14 1999 From: jjfeiler at relief.com (John Jay Feiler) Date: Thu Nov 3 14:42:14 2005 Subject: Reading MOSXS Nibs under NT Message-ID: <199908091736.KAA31723@haque.relief.com> > From: Andreas Bohne > our app is developed on MacOSX Server and has to run on NT. Previously, we had no > problems in transferring from MOSXS to NT, but after integrating some DB logic we > found that the nibs which contain display groups and editing contexts produce a > read error in IB on NT (we use WebObjects 4.0 on NT). If created under NT the nibs are > readable under MOSXS, once saved in MOSXS they give the same error under NT: > "Unarchiving failure: *** file inconsistency: read '@', expecting 'c'". What > we are doing wrong? There's apparently an incomptibility between WO4.0 ( which you are using on NT ) and WO 4.01, which is what ships with MOSXS. Upgrading your NT machines to WO4.01 should fix the problem. J -- John Feiler jjfeiler@relief.com From rthomas at uiuc.edu Tue Aug 10 08:42:42 1999 From: rthomas at uiuc.edu (Ryan Thomas) Date: Thu Nov 3 14:42:14 2005 Subject: kernel and LibcAT from Darwin Message-ID: I'm trying to get pieces from the kernel (especially bsd/netat stuff) and LibcAT onto my mosxs. How do I do it? There are no README or INSTALL docs. I've downloaded, decompressed and tried to make them: When I run make at any level inside the downloaded kernel tree it says "*** missing separator. Stop." -- which I've been able to glean means I need to define DSTROOT; but I don't know what that means or what it should be. When I make LibcAT, it seems to work (after having copied the netat headers from the downloaded kernel/bsd/netat directory into the Frameworks directory, /System/Library/System.Frameworks/Headers/bsd/netat). But it builds it in /tmp. (?) Any help would be appreciated. Thanks. -Ryan From Dirk.Theisen at dv-org.de Tue Aug 10 08:58:52 1999 From: Dirk.Theisen at dv-org.de (Dirk Theisen) Date: Thu Nov 3 14:42:14 2005 Subject: Java: Creating AttributedString from HTML Message-ID: <199908101556.IAA04201@scyther.omnigroup.com> Hello! Self comment (I should do a sanity check): > I'm trying to convert a WOComponent to plain text (not html). > So I let it produce HTML (works) and create an NSAttributedString from it, > which I can turn into plain text. > > Unfortunately, the constructor for creating a NSAttributedString from > HTML > in Java seems to be broken or at least heavily mis-documented. I always got a "selector not recognised" exception. > After > experimenting, I found out that it is the following: > > public NSAttributedString (NSData, Object, NSMutableDictionary); > > Object should be a URL, but what type? java.lang.URL? String? It should be a java.net.URL. Found that in the TextEdit example where the constuctor works!!! After a lot of experimenting and the kind help of Uwe Tilemann, I found out the following: Although I import and register for the AppKit in PB, it is not loaded (I'm in a WO Application). Because the init-method the Java constructor maps to is an AppKit category, I get the above error. I forced AppKit "instantiation" by creating a dummy NSCell. This works, but shows the following warning: Aug 10 16:39:44 Assistent01[317] ObjCJava: while loading AppKitJava (AppKitJava):: Aug 10 16:39:46 Assistent01[317] error: attempt to map stringForKeyInTable to stringForKey:inTable:; a mapping from stringForKeyInTable to stringForKey:inTableNamed:withDefaultValue: already exists. Aug 10 16:39:49 Assistent01[317] this will throw an exception soon! What does this mean? Anyone know a better/cleaner way to force AppKit loading? Worth a bug report, IMHO. Thanks, Dirk From Dirk.Theisen at dv-org.de Wed Aug 11 02:03:17 1999 From: Dirk.Theisen at dv-org.de (Dirk Theisen) Date: Thu Nov 3 14:42:14 2005 Subject: Java: Creating AttributedString from HTML (Solution) Message-ID: <199908110901.CAA18096@scyther.omnigroup.com> OK folks, this is hopefully my last (own) follow-up: > I forced AppKit "instantiation" by creating a dummy NSCell. This works, > but shows the following warning: > > Aug 10 16:39:44 Assistent01[317] ObjCJava: while loading AppKitJava > (AppKitJava):: > Aug 10 16:39:46 Assistent01[317] error: attempt to map > stringForKeyInTable > to stringForKey:inTable:; a mapping from stringForKeyInTable to > stringForKey:inTableNamed:withDefaultValue: already exists. > Aug 10 16:39:49 Assistent01[317] this will throw an exception soon! I eliminated above warning after following a hint from Holger Hoffstaette to load AppKit as early as possible: I put the dummy appkit statement into the startup (C) code like this: #import #import int main(int argc, const char *argv[]) { NSColor* dummy; // I feel (like) blue dummy = [NSColor blueColor]; return WOApplicationMain(@"Application", argc, argv); } Holger also pointed out that my app might not deploy under Solaris etc. because of this appkit dependency which is a bad thing(c). :-( Regards, Dirk From paulrs at lgs-systems.com Wed Aug 11 10:19:21 1999 From: paulrs at lgs-systems.com (Paul R. Summermatter) Date: Thu Nov 3 14:42:14 2005 Subject: Templates/Forms Message-ID: <9908111719.AA03527@slab> Hey guys, I seem to remember that the old Edit app supported this in some way, but I don't remember exactly how. Regardless, I want to be able to create a template or a form and have the user (in an NSTextView) be able to fill in the blanks and tab from blank to blank. Also, the user needs to be able to edit information in the form other than just the blanks (this should make the task easier). Does anyone have a suggestion on how to do this? My first guess was to implement a blank object which is inserted in the text and then grab key downs to see if a tab is pressed. Am I oversimplifying this? Has anyone done anything similar? Thanks, Paul --- Paul Summermatter LGS Systems, Inc. Medical Computing Division 15 TJ Gamester Ave Portsmouth, NH 03801-5871 (603) 433-9822 voice (603) 433-9818 fax (888) 898-6321 pager 8986321@skytel.com paging email paulrs@lgs-systems.com (NeXT or MIME Mail Welcome) http://www.lgs-systems.com From bbum at codefab.com Wed Aug 11 10:33:43 1999 From: bbum at codefab.com (Bill Bumgarner) Date: Thu Nov 3 14:42:14 2005 Subject: Templates/Forms Message-ID: <199908111736.NAA29220@bjork.codefab.com> Ahhh... good old Edit.app. Seems that NeXT/Apple have been moving backwards in terms of generic Text editing over the years. First we had TextEdit ObjC-- worked well, but none of the features of Edit. Now we have TextEdit written in Java-- works the same, but uses 10x as much memory! Anyway, Edit.app used European quotes (<< and >> -- only as a single character, shift-option-< and shift-option->, I believe) to surround editable fields for templates, whatever. I think you used shift-cmd-N to move between the fields. Very handy feature. Used it *all* the time for lots of different reasons. It should be easy to implement-- it is basically a simple regex search to go to the next block... don't really even need regex's. Simply search for the opening delimiter, then search for closing-- if you run into another opening between open and close, barf or change your range. BTW: Has *anyone* implemented a replacement for TextEdit? Not that it would be hard to do... if no one responds, I will assume not and will *immediately* go to ProjectBuilder and shift-cmd-N a new project called EditText. :-) b.bum > From: "Paul R. Summermatter" > Date: 1999-08-11 10:28:56 -0700 > To: Multiple recipients of list > Subject: Templates/Forms > X-Listprocessor-Version: 6.0c -- ListProcessor by Anastasios Kotsikonas > X-Nextstep-Mailer: Mail 4.2mach (Enhance 2.2p1) > Originator: macosx-dev@omnigroup.com > X-Comment: To unsubscribe, follow directions at > http://www.omnigroup.com/MailArchive/ > > Hey guys, > > I seem to remember that the old Edit app supported this in some way, > but I don't remember exactly how. Regardless, I want to be able to create a > template or a form and have the user (in an NSTextView) be able to fill in > the blanks and tab from blank to blank. Also, the user needs to be able to > edit information in the form other than just the blanks (this should make the > task easier). Does anyone have a suggestion on how to do this? My first > guess was to implement a blank object which is inserted in the text and then > grab key downs to see if a tab is pressed. Am I oversimplifying this? Has > anyone done anything similar? > > Thanks, > Paul > > --- > > Paul Summermatter > > LGS Systems, Inc. > Medical Computing Division > > 15 TJ Gamester Ave > Portsmouth, NH 03801-5871 > (603) 433-9822 voice > (603) 433-9818 fax > (888) 898-6321 pager > 8986321@skytel.com paging email > > paulrs@lgs-systems.com > (NeXT or MIME Mail Welcome) > http://www.lgs-systems.com > > From dkoski at thor.running-start.com Wed Aug 11 11:11:52 1999 From: dkoski at thor.running-start.com (David Koski) Date: Thu Nov 3 14:42:14 2005 Subject: Templates/Forms Message-ID: <199908111811.LAA08807@thor.running-start.com> > BTW: Has *anyone* implemented a replacement for TextEdit? Not that it would > be hard to do... if no one responds, I will assume not and will *immediately* > go to ProjectBuilder and shift-cmd-N a new project called EditText. :-) > > b.bum Well, one of the guys here ported the WO3.5 version of TextEdit and merged in the new undo changes and whatnot (same great taste, less calories). We also have some mods to the TextExtras package that you might find useful. You can find this stuff at http://flare.running-start.com/~rklems dk From david.swanlund at westpub.com Wed Aug 11 11:56:52 1999 From: david.swanlund at westpub.com (David L. Swanlund) Date: Thu Nov 3 14:42:14 2005 Subject: EditText feature request Message-ID: <199908111856.AA01977@westlan.com> Oh please let it collapse/expand text based on indentation level as in Edit.app. I'm in such pain without it... dave From ahoesch at smartsoft.de Wed Aug 11 13:41:11 1999 From: ahoesch at smartsoft.de (Andreas Hoschler) Date: Thu Nov 3 14:42:14 2005 Subject: FirstResponder within NSBox views Message-ID: <9908112041.AA00696@smartsoft.de> Hi, this probably is an easy question but I haven't been able to come up with a solution yet, so.. Assume the contentView of a window contains multiple NSBox views. Each NSBox view contains several other views (textfields, buttons,...). I would like to change the border type of the box view, when the user clicks on one of its subviews. I have managed to do that, when the user clicks somewhere in the box but not on one of the subviews by creating a subclass of NSBox and overwriting -mouseDown:. Unfortunately this approach does not work, if the user clicks on one of the buttons or textfields within the box. Any hints? Thank you very much, Andreas From sanguish at digifix.com Wed Aug 11 12:44:47 1999 From: sanguish at digifix.com (Scott Anguish) Date: Thu Nov 3 14:42:14 2005 Subject: Templates/Forms Message-ID: <199908111944.PAA02378@digifix.com> BTW: Has *anyone* implemented a replacement for TextEdit? Not that it would be hard to do... if no one responds, I will assume not and will *immediately* go to ProjectBuilder and shift-cmd-N a new project called EditText. :-) Seems like you've gotten a bunch of replies on this now... but I've done that too.. it doesn't have the RTF handling, but I have added a Line Panel to it. I haven't released it because it doesn't have any polish to it... We (bill and I) had talked at some point in teh past about making a TextEdit replacement that allowed using WebScript to customize the app.... but that sorta has gotten lost in the shuffle... -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 1104 bytes Desc: not available Url : /mailman/archive/macosx-dev/attachments/19990811/30c9b068/attachment.bin From phil at ns2.tcp.net.au Wed Aug 11 16:36:06 1999 From: phil at ns2.tcp.net.au (Phil Blake) Date: Thu Nov 3 14:42:14 2005 Subject: Path to JDK Message-ID: I apologise if this is a silly question. What's the Path to the JDK under OSX. I can see all the bits I'm looking for in JavaVM.framework but is there anywhere with the structure of the JDK. I'm having no end of frustration compiling anything that asks for a $JDK_HOME of some kind. Thanks all, Phil ------------------------------ Phil Blake spark tcp Level 12, 323 Castlereagh Street Sydney NSW 2000 Tel 9519 4235 Fax 9519 9445 From kc at omnigroup.com Wed Aug 11 18:54:41 1999 From: kc at omnigroup.com (Ken Case) Date: Thu Nov 3 14:42:14 2005 Subject: Some UFS files cannot be accessed via Foundation Message-ID: <199908120154.SAA07377@scyther.omnigroup.com> Just a warning about something I encountered in our Backup and DiskSweeper apps: you cannot use Foundation to access arbitrary UFS files. Apparently Foundation uses UTF8 to encode filenames. This is great if you're only trying to access other files created using Foundation, but if you try to access a file created by something other than Foundation (say, via C's standard I/O APIs) and that something has a filename which isn't encoded using UTF8 (e.g., if it used an ISO Latin 1 encoding), you can't get at it from Foundation. For a simple demonstration of the problem, see the code snippet below. This doesn't seem to be a problem on HFS+ filesystems. (HFS+ knows about filename encodings, so perhaps that's why it isn't a problem there.) Ken #import #include // For mkdir() #include // For chdir() static void WriteFilesViaStdio(const char *directoryNameCString); static void ReadFilesViaFoundation(NSString *directoryName); static void Test(void) { WriteFilesViaStdio("/tmp/StrangeFilenames"); ReadFilesViaFoundation(@"/tmp/StrangeFilenames"); // WriteFilesViaStdio("/HFSDisk/StrangeFilenames"); // ReadFilesViaFoundation(@"/HFSDisk/StrangeFilenames"); } static void WriteFilesViaStdio(const char *directoryNameCString) { FILE *normalFile; FILE *strangeFile; if (mkdir(directoryNameCString, 0777) != 0) if (errno != EEXIST) perror("mkdir"); if (chdir(directoryNameCString) != 0) { perror("chdir"); exit(1); } normalFile = fopen("NormalFile", "w"); if (normalFile == NULL) perror("fopen"); fprintf(normalFile, "Normal file\n"); fclose(normalFile); strangeFile = fopen("\357 StrangeFile", "w"); if (strangeFile == NULL) perror("fopen"); fprintf(strangeFile, "Strange file\n"); fclose(strangeFile); } static void ReadFilesViaFoundation(NSString *directoryName) { NSFileManager *fileManager; NSArray *filenames; unsigned int filenameIndex, filenameCount; NSLog(@"Scanning '%@'", directoryName); fileManager = [NSFileManager defaultManager]; filenames = [fileManager directoryContentsAtPath:directoryName]; filenameCount = [filenames count]; for (filenameIndex = 0; filenameIndex < filenameCount; filenameIndex++) { NSString *filename; NSData *fileData; filename = [filenames objectAtIndex:filenameIndex]; fileData = [[NSData alloc] initWithContentsOfFile:filename]; if (fileData != nil) NSLog(@"%4d %@", [fileData length], filename); else NSLog(@"**** %@", filename); [fileData release]; } } int main(int argc, const char *argv[]) { NSAutoreleasePool *pool; pool = [[NSAutoreleasePool alloc] init]; Test(); [pool release]; return 0; } From kc at omnigroup.com Wed Aug 11 19:40:44 1999 From: kc at omnigroup.com (Ken Case) Date: Thu Nov 3 14:42:14 2005 Subject: Sending e-mail from a program Message-ID: <199908120240.TAA15783@scyther.omnigroup.com> > We're currently using the OmniMail framework but it's quite > obtrusive to use. What makes it obtrusive to use? Having three additional frameworks to link against, or something else? Ken From cybergrog at bigpond.com Wed Aug 11 20:02:26 1999 From: cybergrog at bigpond.com (Greg Hulands) Date: Thu Nov 3 14:42:14 2005 Subject: Extensible software design Message-ID: <02592924164692@domain5.bigpond.com> Does anyone know of any good books or websites on designing and creating extensible software? Greg. -------------- next part -------------- An HTML attachment was scrubbed... URL: /mailman/archive/macosx-dev/attachments/19990812/6be0b3d5/attachment.html From nikoniko at lmf.ericsson.se Wed Aug 11 22:55:49 1999 From: nikoniko at lmf.ericsson.se (Nikolaos Nikou) Date: Thu Nov 3 14:42:14 2005 Subject: Extensible software design References: <02592924164692@domain5.bigpond.com> Message-ID: <37B261E5.620B1DA8@lmf.ericsson.se> You could take a look at different patterns for some ideas on a design level http://hillside.net/patterns/patterns.html and look also at the ACE framework (C++) for implementation http://www.cs.wustl.edu/~schmidt/ACE.html If you want something more specific using ObjC Appkit and FoundationKit are a good start :-) regards nikolas cybergrog@bigpond.com wrote: > > > THIS MESSAGE IS IN MIME FORMAT. Since your mail reader does not understand > this format, some or all of this message may not be legible. > > --MS_Mac_OE_3017307746_89304_MIME_Part > Content-type: text/plain; charset="US-ASCII" > Content-transfer-encoding: 7bit > > Does anyone know of any good books or websites on designing and creating > extensible software? > > Greg. > --MS_Mac_OE_3017307746_89304_MIME_Part > Content-type: text/html; charset="US-ASCII" > Content-transfer-encoding: quoted-printable > > > > Extensible software design > > > Does anyone know of any good books or websites on designing and creatin= > g
> extensible software?
>
> Greg.
> > > > --MS_Mac_OE_3017307746_89304_MIME_Part-- From ahoesch at smartsoft.de Thu Aug 12 02:45:29 1999 From: ahoesch at smartsoft.de (Andreas Hoschler) Date: Thu Nov 3 14:42:14 2005 Subject: Tracking rects in a view Message-ID: <9908120945.AA02192@smartsoft.de> Hi, Anybody successfully used the mouse tracking mechanism yet? It seems straight forward but unfortunately is not willing to work for me. I used the following command to add a tracking rect to one of the subviews in my window (not an immediate subview of the windows contentview but this shouldn't make a difference, right?). [pageView addTrackingRect:[view frame] owner:self userData:nil assumeInside:NO]; I also implemented the following two methods: - (void)mouseEntered:(NSEvent *)theEvent { NSLog(@"mouseEntered"); } - (void)mouseExited:(NSEvent *)theEvent { NSLog(@"mouseExited"); } But it seems I forgot something. These methods are never called. I also sent [mainWin setAcceptsMouseMovedEvents:YES] to the window containing the views but this didn't change anything. Any ideas? Andreas From phr at projectcenter.ch Thu Aug 12 03:18:18 1999 From: phr at projectcenter.ch (Philippe C.D. Robert) Date: Thu Nov 3 14:42:14 2005 Subject: Tracking rects in a view In-Reply-To: <9908120945.AA02192@smartsoft.de> References: <9908120945.AA02192@smartsoft.de> Message-ID: <9908121018.AA00457@projectcenter.ch> You wrote: > Hi, Hi Andreas! > Anybody successfully used the mouse tracking mechanism yet? It seems Yup...;-) > straight forward but unfortunately is not willing to work for me. I used the > following command to add a tracking rect to one of the subviews in my window > (not an immediate subview of the windows contentview but this shouldn't make > a difference, right?). Should be OK. > [pageView addTrackingRect:[view frame] owner:self > userData:nil assumeInside:NO]; > But it seems I forgot something. These methods are never called. I also sent > [mainWin setAcceptsMouseMovedEvents:YES] to the window containing the views > but this didn't change anything. Hmm, I did the same thing here, and it worked for me. Do you resize or move the view after adding it?! Tracking rects belong to the window, not the view, so every time the window (or its views) gets resized or altered in any ways, you have to update the tracking rects. sweet dreams, Phil --- Philippe C.D. Robert - Software Engineer ######################################## # http://www.nice.ch/~phip # # http://www.projectcenter.ch # ######################################## From ahoesch at smartsoft.de Thu Aug 12 05:23:41 1999 From: ahoesch at smartsoft.de (Andreas Hoschler) Date: Thu Nov 3 14:42:14 2005 Subject: Tracking rects in a view In-Reply-To: <9908120959.AA00289@sunshineco.com> References: <9908120945.AA02192@smartsoft.de> <9908120959.AA00289@sunshineco.com> Message-ID: <9908121223.AA04756@smartsoft.de> Hi, > You do not mention how 'pageView' and 'view' are related. This is important > since the rectangle you specify should be in the coordinate space of the > receiving view. For instance, if you have a view called 'view', and you > want to track over its entire area, you should do this: I do the following: NSView *view = ... // create a view from scratch pageView = [[NSView alloc] initWithFrame:aRect]; [pageView addSubview:view]; [pageView addTrackingRect:[view frame] owner:self userData:view assumeInside:YES]; However, I do this before hanging pageView into a window. May be this is the problem. Can anybody confirm this? Andreas From ahoesch at smartsoft.de Thu Aug 12 05:33:23 1999 From: ahoesch at smartsoft.de (Andreas Hoschler) Date: Thu Nov 3 14:42:14 2005 Subject: Tracking rects in a view In-Reply-To: <9908121018.AA00457@projectcenter.ch> References: <9908120945.AA02192@smartsoft.de> <9908121018.AA00457@projectcenter.ch> Message-ID: <9908121233.AA05087@smartsoft.de> Hi, I've just found out, that the view needs to be attached to a window before invoking -addTrackingRect:owner:userData:assumeInside:. It works now. Thanks for your suggestions, Andreas From sunshine at sunshineco.com Thu Aug 12 04:47:41 1999 From: sunshine at sunshineco.com (Eric Sunshine) Date: Thu Nov 3 14:42:14 2005 Subject: Tracking rects in a view In-Reply-To: <9908121223.AA04756@smartsoft.de> References: <9908121223.AA04756@smartsoft.de> Message-ID: <9908121147.AA00380@sunshineco.com> On Thu, 12 Aug 1999 04:27:09 -0700 (PDT), Andreas Hoschler wrote: > I do the following: > > NSView *view = ... // create a view from scratch > pageView = [[NSView alloc] initWithFrame:aRect]; > [pageView addSubview:view]; > [pageView addTrackingRect:[view frame] owner:self > userData:view assumeInside:YES]; > > However, I do this before hanging pageView into a window. May be > this is the problem. Can anybody confirm this? This explains the problem. In order for tracking rectangles to work, the view must be on a window, *and* the window must have a valid PostScript "windowNum". Keep in mind that there is both an Objective-C window object, and a PostScript window object. Having a valid windowNum means that the PostScript window object has been created by the Objective-C window object. There are two ways to ensure that the PostScript window has been created prior to setting up the tracking rectangle. Either order the window on-screen before setting up the tracking rectangle, or use a non-deferred window. Remember that deferred windows delay creation of the PostScript counterpart until it is actually needed, whereas non-deferred windows create the PostScript counterpart at the same time that the Objective-C window object is created. The implementation of tracking rectangles in the AppKit could be a more robust than it currently is. Implementation-specific details such as requiring a valid windowNum should be hidden from the user, and with some extra logic within the AppKit code, it could certainly be done. -- ES From phr at projectcenter.ch Thu Aug 12 05:32:57 1999 From: phr at projectcenter.ch (Philippe C.D. Robert) Date: Thu Nov 3 14:42:14 2005 Subject: Tracking rects in a view In-Reply-To: <9908121223.AA04756@smartsoft.de> References: <9908121223.AA04756@smartsoft.de> Message-ID: <9908121232.AA00728@projectcenter.ch> You wrote: > However, I do this before hanging pageView into a window. May be this is the > problem. Can anybody confirm this? I don't know it, but this could be it, since tracking rects belong to the view's window, not the view itself! sweet dreams, Phil --- Philippe C.D. Robert - Software Engineer ######################################## # http://www.nice.ch/~phip # # http://www.projectcenter.ch # ######################################## From pekeler at codefab.com Thu Aug 12 09:07:18 1999 From: pekeler at codefab.com (Christian Pekeler) Date: Thu Nov 3 14:42:14 2005 Subject: Extensible software design In-Reply-To: <02592924164692@domain5.bigpond.com> Message-ID: <9908121207.AA180753@zot> > Does anyone know of any good books or websites on designing and creating > extensible software? "Component Software: Beyond Object-Oriented Programming" by Clemens Szyperski Addison-Wesley, ISBN: 0201178885 Try http://www.cetus-links.org for a big collection of links on this topic. (Site seems to be down, use the mirror at http://www.javacommerce.com/cetus/software.html) Christian From ahoesch at smartsoft.de Thu Aug 12 10:35:41 1999 From: ahoesch at smartsoft.de (Andreas Hoschler) Date: Thu Nov 3 14:42:14 2005 Subject: Programmatically modifying menus Message-ID: <9908121735.AA10229@smartsoft.de> Hi, I would like to implement context sensitive menus. Depending on the application status a few menu items in a submenu are to be replaced with other menu items. The question is, how do I get access to this submenu? [[NSApp mainMenu] itemWithTitle:@"XXX"] returns a menu item, even if the entry with title @"XXX" is a submenu. I tried to provide an outlet in the mainController to the submenu, but it's the same here. One get only connect to menu ites and to the mainMenu, but not to a specific submenu. Any ideas? Thanks, Andreas From annard at webwarecorp.com Thu Aug 12 10:12:59 1999 From: annard at webwarecorp.com (Annard Brouwer) Date: Thu Nov 3 14:42:14 2005 Subject: Sending e-mail from a program In-Reply-To: <199908120240.TAA15783@scyther.omnigroup.com> Message-ID: <9908121012.AA596671@facade> Ken Case wrote: > Annard wrote: > > We're currently using the OmniMail framework but it's quite > > obtrusive to use. > > What makes it obtrusive to use? Having three additional frameworks > to link against, or something else? > Well, if that was all... 1. There are special patches I have to do in my top level Makefile in order to get it to compile and install the way I want it. 2. I have to add [OBObject postloader] in all applications/tools that use my framework which uses the Omni stuff. 3. I have to fix all Makefile.preambles in all tools on Solaris to add the resolv library explicitly. This is what makes it obtrusive to use in my opinion. But it works, and that's what counts. Annard --- Annard Brouwer MAMBO: Media Asset Management By Objects VP, Software Engineering http://www.webwarecorp.com WebWare Corporation v: +1 415 339 8580 f: +1 415 339 3957 From jjfeiler at relief.com Thu Aug 12 10:20:01 1999 From: jjfeiler at relief.com (John Jay Feiler) Date: Thu Nov 3 14:42:14 2005 Subject: Programmatically modifying menus Message-ID: <199908112122.OAA07745@haque.relief.com> > From: Andreas Hoschler > I would like to implement context sensitive menus. Depending on the > application status a few menu items in a submenu are to be replaced with > other menu items. The question is, how do I get access to this submenu? > > [[NSApp mainMenu] itemWithTitle:@"XXX"] > > returns a menu item, even if the entry with title @"XXX" is a submenu. I > tried to provide an outlet in the mainController to the submenu, but it's the > same here. One get only connect to menu ites and to the mainMenu, but not to > a specific submenu. Any ideas? NSMenuItem *menuItem = [[NSApp mainMenu] itemWithTitle:@"XXX"]; NSMenu *subMenu = [menuItem subMenu]; J -- John Feiler jjfeiler@relief.com From ahoesch at smartsoft.de Thu Aug 12 12:14:17 1999 From: ahoesch at smartsoft.de (Andreas =?iso-8859-1?Q?H=F6schler?=) Date: Thu Nov 3 14:42:14 2005 Subject: Programmatically modifying menus In-Reply-To: <003501bee4d8$f562e300$88e11081@cs.chalmers.se> References: <9908121735.AA10229@smartsoft.de> <003501bee4d8$f562e300$88e11081@cs.chalmers.se> Message-ID: <9908121914.AA12287@smartsoft.de> A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 391 bytes Desc: not available Url : /mailman/archive/macosx-dev/attachments/19990812/65902c45/attachment.bin From gstasko at nashville.net Thu Aug 12 13:30:00 1999 From: gstasko at nashville.net (Greg Stasko) Date: Thu Nov 3 14:42:14 2005 Subject: Off Topic - Apache enhancements on MOSX & WO Message-ID: <199908122030.UAA26364@mail.telalink.net> I wanted to make everyone aware of an interesting tool from Tenon, called itools, http://www.tenon.com/products/itools/, that enhances the basic Apache that comes with MOSX server. It is currently in beta and freely available to the public. Given that every MOSX WO developer is likely to be using Apache,... Features * Web browser-based configuration and management. * SSL 3.0 -- essential for secure eCommerce. * HTML caching for high performance. * Virtual host FTP service for content to upload multiple, separate WWW addresses. * Sophisticated Domain Name Service with load balancing for web server clustering. * Manages web acccess controls for large collections of users and groups. * High-performance search engine for content access by topic or keyword. * WEBmail service for "hot-mail" style access to remote email. * Local "sendmail" e-mail service for POP, IMAP, and WEBmail, so local users can receive mail. http://www.tenon.com/products/itools/new-features.shtml While not currently explicitly supporting WebObjects in itools, the company would be very interested if there were things that could be incorporated into the product to support WebObjects. Perhaps extending the browser-based configuration and management to the WO environment? Any areas that I think the many great minds on this list might think of. Anyway, I know of some WO developers who have started using it and have spoken favorably of it, so... I thought it would be something to share. Direct any comments or questions to Anita at Tenon. She is one of the founders. Greg P.S. I have no financial relationship with Tenon - just good longstanding working relationship. From oloft at cs.chalmers.se Thu Aug 12 14:32:10 1999 From: oloft at cs.chalmers.se (Olof Torgersson) Date: Thu Nov 3 14:42:14 2005 Subject: Programmatically modifying menus In-Reply-To: <199908112122.OAA07745@haque.relief.com> Message-ID: <9908122332.AA101003@tengil5.cs.chalmers.se> > > other menu items. The question is, how do I get access to this submenu? > > > > [[NSApp mainMenu] itemWithTitle:@"XXX"] > > > > returns a menu item, even if the entry with title @"XXX" is a > submenu. I > > tried to provide an outlet in the mainController to the submenu, > but it's the > > same here. One get only connect to menu ites and to the mainMenu, > but not to > > a specific submenu. Any ideas? > > NSMenuItem *menuItem = [[NSApp mainMenu] itemWithTitle:@"XXX"]; > NSMenu *subMenu = [menuItem subMenu]; > Whether this works or not depends on wwhich platform one is using. On OpenStep 4.2 there is no subMenu method. In YellowBox I believe there is but it's not listed in the documentation (at least not the documentation at http://developer.apple.com/techpubs/macosx/System/Library/Frameworks/AppKit.framework/Versions/C/Resources/English.lproj/Documentation/Reference/ObjC_classic/Classes/NSMenuItem.html ) Olof Torgersson -- Olof Torgersson oloft@cs.chalmers.se Department of Computing Science +46 31 772 54 06 G?teborg University & Chalmers University of Technology S-412 96 G?TEBORG, SWEDEN http://www.cs.chalmers.se/~oloft/ From janos.lobb at yale.edu Thu Aug 12 15:20:01 1999 From: janos.lobb at yale.edu (=?iso-8859-1?Q?J=E1nos?= =?iso-8859-1?Q?_?= =?iso-8859-1?Q?L=F6bb?=) Date: Thu Nov 3 14:42:14 2005 Subject: Sybase Adaptor on OSXS ? Message-ID: I found the text below on the WebObject tech exchange forum posted 7 days ago: Subject: Re: ODBC Adapter Posted: Thursday, 8/5/99 5:29 PM CDT Original Post: (click on triangle to hide original post) Reply: Apple does not ship an ODBC adaptor for MOSXS. We ship OpenBaseLite, FlatFile, Sybase, and Oracle (via the web page). As you may know, FrontBase distributes an adaptor they have written. Somebody may have done an ODBC adaptor frmaework, and that is what you will have to be asking for. http://discuss.info.apple.com/boards/webobj.nsf/ccb088a1de6aac738525631c0067846b /4FA4ECFAB0C7FE82862567C4007B857D?OpenDocument The "We ship...." part implies that the Sybase Adapter on OSXS is in existence. I got the OpenBaseLite, Flatfile ones on the CD. I saw the URL for the Oracle one at support. Where is the Sybase one ? Many thanks ahead, J?nos J?nos L?bb Tel: 203-737-5204 Yale University Pathology Fax: 203-785-7303 310 Cedar St. Room BML104A janos.lobb@yale.edu New Haven CT 06510 Never take a candid-cookie from a stranger. From mike at lorax.com Thu Aug 12 18:27:58 1999 From: mike at lorax.com (Mike Ferris) Date: Thu Nov 3 14:42:14 2005 Subject: Programmatically modifying menus Message-ID: <199908130222.TAA03008@boom.lorax.com> > > NSMenuItem *menuItem = [[NSApp mainMenu] itemWithTitle:@"XXX"]; > > NSMenu *subMenu = [menuItem subMenu]; > > > > Whether this works or not depends on wwhich platform one is using. > On OpenStep 4.2 there is no subMenu method. In YellowBox I believe there is but > it's > not listed in the documentation (at least not the documentation at > On versions that have the method I recommend always using the -submenu method and not the -target method to get hold of the submenu of a menu item. In current versions of the AppKit an item with a submenu can have an actual target and action and in that case, the -target will not be the submenu. To avoid breaking existing code, by default, the -target of an item with a submenu is the submenu, but this should be viewed as a historical curiosity. And, you can actually connect to the submenu directly in IB using the outline mode in the main nib window... Mike Ferris From andrew at onevision.de Fri Aug 13 06:11:29 1999 From: andrew at onevision.de (Andrew Lindesay) Date: Thu Nov 3 14:42:14 2005 Subject: Ethernet Address Message-ID: <199908131311.OAA16894@dali.onevision.de> Hello, Does anybody know if there is a programatic way to attain the ethernet-address under MacOS-X-Server? That's to say without using any external binaries or special tricks like looking in the netinfo? I would also like to read this information when there is no ethernet plugged in. Any info would be appreciated. cherio. ___ Andrew Lindesay (andrew@onevision.de) From jkeenan at apple.com Fri Aug 13 11:09:45 1999 From: jkeenan at apple.com (Joe Keenan) Date: Thu Nov 3 14:42:14 2005 Subject: Sybase Adaptor on OSXS ? References: Message-ID: <37B45F63.E8B9C1E5@apple.com> There is no Sybase adapter. That was an erroneous posting. There is a posting two articles later in the thread that corrects it. joe J?nos L?bb wrote: > I found the text below on the WebObject tech exchange forum posted 7 days ago: > > Subject: > Re: ODBC Adapter > Posted: > Thursday, 8/5/99 5:29 PM CDT > > Original Post: (click on triangle to hide original post) > > Reply: > > Apple does not ship an ODBC adaptor for MOSXS. We ship OpenBaseLite, > FlatFile, Sybase, > and Oracle (via the web page). As you may know, FrontBase > distributes an adaptor they have > written. Somebody may have done an ODBC adaptor frmaework, and that > is what you will have > to be asking for. > > > > http://discuss.info.apple.com/boards/webobj.nsf/ccb088a1de6aac738525631c0067846b > /4FA4ECFAB0C7FE82862567C4007B857D?OpenDocument > > The "We ship...." part implies that the Sybase Adapter on OSXS is in > existence. I got the OpenBaseLite, Flatfile ones on the CD. I saw the URL > for the Oracle one at support. Where is the Sybase one ? > > Many thanks ahead, > J?nos > > J?nos L?bb Tel: 203-737-5204 Yale University Pathology > Fax: 203-785-7303 310 Cedar St. Room BML104A > janos.lobb@yale.edu New Haven CT 06510 > > Never take a candid-cookie from a stranger. From ping1412 at ping.be Fri Aug 13 09:51:31 1999 From: ping1412 at ping.be (Dirk Schelfhout) Date: Thu Nov 3 14:42:14 2005 Subject: PPC upgrade Message-ID: <199908131651.SAA07192@chekov.Belgium.EU.net> I upgraded my PPC using a Powerforce G3 zif card. upgraded to 466 Mhz. ( 1 mB cache ). my system was originally a 266 G3. I cant log in as root, but I can login as a user. How do I tell mac osX that I have a new processor, and how do I tell it the cache size ? Do I have to rebuild the system, if so how ? I had not expected any problems as I just changed the CPU. Thanks in advance, Dirk From cwhite at comnetix.com Fri Aug 13 10:03:50 1999 From: cwhite at comnetix.com (Craig White) Date: Thu Nov 3 14:42:14 2005 Subject: Programmatically modifying menus Message-ID: <9908131303.AA504752@deli> Here is what we use for accessing submenus... if( [item hasSubmenu] ) { NSMenu *submenu = [item target]; Craig From fabien-roy at mediaring.com Fri Aug 13 11:57:52 1999 From: fabien-roy at mediaring.com (Fabien Roy) Date: Thu Nov 3 14:42:14 2005 Subject: Writing dynamic loadable modules for for non GCC generated code (Solaris). Message-ID: <199908131857.LAA09479@scyther.omnigroup.com> Hi, I wanted to share some successful experience in writing an ObjC dynamic shared library module for a non GCC application on Solaris. This application is a Web Advertisement server. The purpose of that library is to give the user information's needed by the AdServer. I started writing the library in ObjC/EOF and wrote a simple main program to test the library. The when I tested the real thing I had BusErrors ( Cannot access memory at address ...) in class_initialize... Thanks to the Darwin project! I was able to define and call the ObjC runtime initialization. I added the declaration: extern void _objcInit(void); and in the code: #ifdef sun { static int initialized = 0; if (!initialized){ _objcInit(); initialized = 1; } } #endif Et voila! Now I can add OO modules to existing Applications thru their APIs. Hope this helps. Fabien. -- Fabien Roy Senior Manager, MIS MediaRing Inc. 99 West Tasman Drive Suite 280 San Jose, CA 95134 fabien-roy@mediaring.com Tel: (408) 383-9222 Fax: (408) 383-9223 From phr at projectcenter.ch Sat Aug 14 03:38:53 1999 From: phr at projectcenter.ch (Philippe C.D. Robert) Date: Thu Nov 3 14:42:14 2005 Subject: Ethernet Address In-Reply-To: <199908131311.OAA16894@dali.onevision.de> References: <199908131311.OAA16894@dali.onevision.de> Message-ID: <9908141038.AA00320@projectcenter.ch> You wrote: > Hello, > > Does anybody know if there is a programatic way to attain the > ethernet-address under MacOS-X-Server? That's to say without using any > external binaries or special tricks like looking in the netinfo? I would > also like to read this information when there is no ethernet plugged in. Do you mean the IP Nummer or the MAC address?! The IP number can be retrieved using FoundationKit: NSString *ipNumber = [[NSHost currentHost] address]; AFAIK there is no Cocoa method for the MAC address, does anybody know more about that?! sweet dreams, Phil --- Philippe C.D. Robert - Software Engineer ######################################## # http://www.nice.ch/~phip # # http://www.projectcenter.ch # ######################################## From tomi at objectfarm.org Sun Aug 15 08:56:09 1999 From: tomi at objectfarm.org (Tomi Engel) Date: Thu Nov 3 14:42:14 2005 Subject: NSImageRGBColorTable...what is the magic ? Message-ID: <9908151555.AA23644@objectfarm.org> Hi, I am trying to create GIF images without ugly dither patterns and naturally I would figure that NSImageRGBColorTable is the property to play around with. Sadly it is not documented (ok...packed RGB and 768 bytes...but well...one line doesnt say it all) Interestingly I can "crash" the GIF creation by providing such a table (filled with what I understand to be packed RGBs of my favorite color table)...and it works if I provide just one red color (255,0,0). So I can paint (convert to) red on black without dithering .. but thats about all I managed to do with it :_8 Now it would be interesting to know if this feature is broken under OS X Server or if I am doing something really stupid. Aloha Tomi From andrew at onevision.de Mon Aug 16 00:00:08 1999 From: andrew at onevision.de (Andrew Lindesay) Date: Thu Nov 3 14:42:14 2005 Subject: Ethernet Address In-Reply-To: <9908141038.AA00320@projectcenter.ch> References: <199908131311.OAA16894@dali.onevision.de> <9908141038.AA00320@projectcenter.ch> Message-ID: <199908160700.IAA21936@dali.onevision.de> > Do you mean the IP Nummer or the MAC address?! The IP number can be > retrieved using FoundationKit: No, I mean the MAC (ethernet hardware) address of the machine. cherio. ___ Andrew Lindesay (andrew@onevision.de) From csaldanh at computeractive.com Mon Aug 16 06:39:54 1999 From: csaldanh at computeractive.com (Chris Saldanha) Date: Thu Nov 3 14:42:14 2005 Subject: Testing Apple's list servers Message-ID: <199908161339.JAA18608@saturn.computeractive.com> > From: "Chuck Swiger" > Date: 1999-08-14 06:02:12 -0400 > To: Multiple recipients of list > Subject: Testing Apple's list servers > > It looks like several of Apple's external mail gateways are listed in > various RBLs, such as www.orbs.org. > > I want to see whether this message will be delivered back to me > successfully, or which server it comes from so I can (a) complain to Apple > about leaving an open relay and give them a specific machine to fix, and (b) > punch a hole through our anti-spam checking until they do fix it. I've sent emails to Apple's postmaster, but they just ignore them, I think. I find that ORBS has too many major Internet sites on it to use it as an RBL mail filter. Apple is only one of many sites, including major ISPs, that are listed. I found that we bounced too many legitimate-looking emails (from reading the logs) to be worth it. I think it is utterly unbelievable how many major sites operate spam-relaying mail servers. The most valuable filters for us have been the MAPS RBL and Dialup Users List (DUL) filters, which have bounced tons of email since we put them in a few weeks ago. For those who don't know, the new sendmail 8.9.x includes free super-simple built-in support for RBL lists, and anyone who's on the Internet directly with their OS X Servers should consider enabling these features. See: http://www.sendmail.org/ http://www.orbs.org/ http://maps.vix.com/ http://www.imrss.org/ http://relays.radparker.com/ Chris -- -------------------------------------------------------------------- Chris Saldanha, Software Analyst | 15 Capella Ct. Suite 128 computerActive Inc. | Nepean, ON, Canada K2E 7X1 csaldanh@computerActive.com (NeXT/MIME)| Voice: (613)225-4824 http://www.computerActive.com/ | FAX: (613)225-1670 -------------------------------------------------------------------- "The telephone was not invented by Alexander Graham Unitel" -Bell Ad From fischer at fokus.gmd.de Mon Aug 16 07:56:46 1999 From: fischer at fokus.gmd.de (Robert Fischer) Date: Thu Nov 3 14:42:14 2005 Subject: OpenGL on X Server Message-ID: <37B826AE.30C57447@fokus.gmd.de> Hi, could anyone PLEASE summarize what I need to program with OpenGL on X Server. I am a little bit confused about all those Conix/Mesa/Omni-GL versions running around. I am running X Server on a G3 b&w and I'm wondering whether there is hardware acceleration support in any of these libraries. Another question is where to get GLUT which works together with the other libs. Thank you very much in advance, Robert -- --- - .-. -- -- --- / \ ---- Robert Fischer .-. / \ --- .-. __o .-. @ / \ / \ / \ _`\<,_ / \ GMD-Fokus / \ / \ / \ (*)/ (*) / `-------------- / `---' `-' `-----------' From epeyton at apple.com Mon Aug 16 08:09:22 1999 From: epeyton at apple.com (Eric Peyton) Date: Thu Nov 3 14:42:14 2005 Subject: OpenGL on X Server Message-ID: <199908161509.IAA16716@scv2.apple.com> I would definitely look at the Omni stuff as the only "real" alternative out there right now - you can use it with hardware acceleration (using Glide on a VooDoo2) or without. They provide a good stable version of Mesa with it. The Conix product is dead (it was supposedly bought by apple) for now. I have examples of using the Omni and the regular Mesa versions of GL on my web page in the screensavers section - this is all done on Mac OS X Server. http://www.epicware.com/glsavers.html (mesa gl savers with source) http://www.epicware.com/glhasavers.html (hardware accelerated screen savers with source) The only GLUT out there was for Rhapsody and as such doesn't use the Omni stuff (though a port should be relatively easy). It's available on next-ftp.peak.org someplace :). It works well, but slow, with regular Mesa, but is still missing some features. Eric > From: Robert Fischer > Date: 1999-08-16 08:01:41 -0700 > To: Multiple recipients of list > Subject: OpenGL on X Server > Delivered-To: epeyton@enteract.com > X-Listprocessor-Version: 6.0c -- ListProcessor by Anastasios Kotsikonas > Originator: macosx-dev@omnigroup.com > X-Comment: To unsubscribe, follow directions at > http://www.omnigroup.com/MailArchive/ > X-Mailer: Mozilla 4.5 (Macintosh; I; PPC) > > Hi, > > could anyone PLEASE summarize what I need to program with OpenGL on X > Server. I am a little bit confused about all those Conix/Mesa/Omni-GL > versions running around. I am running X Server on a G3 b&w and I'm > wondering whether there is hardware acceleration support in any of these > libraries. Another question is where to get GLUT which works together > with the other libs. > > > Thank you very much in advance, > > Robert > > -- > --- - .-. -- -- > --- / \ ---- Robert Fischer > .-. / \ --- .-. __o .-. @ > / \ / \ / \ _`\<,_ / \ GMD-Fokus > / \ / \ / \ (*)/ (*) / `-------------- > / `---' `-' `-----------' > > -- Eric Peyton Senior Consulting Engineer Apple Computer, Inc. epeyton@apple.com From paulmc at radiks.net Mon Aug 16 10:22:56 1999 From: paulmc at radiks.net (Paul McNally) Date: Thu Nov 3 14:42:14 2005 Subject: OpenGL on X Server Message-ID: <199908161619.LAA13495@mail.radiks.net> Anybody running Mac OS X on a 9600/200? I just got Mac OS X Server and want to hear how anybody else set it up. Thanks, Paul From cybergrog at bigpond.com Tue Aug 17 06:37:15 1999 From: cybergrog at bigpond.com (Greg Hulands) Date: Thu Nov 3 14:42:14 2005 Subject: Design Issues Message-ID: <13343564412857@domain8.bigpond.com> I am new to Cocoa and OOP for that matter. I am writing a Point of Sale application for my parents business and have divided it up into two parts. 1) A framework. 2) The application. I have created "search panels" in Interface Builder and made a controller for it. How do I then access this panel in the application when linking with the framework. Do I call [NSBundle openNibNamed:@"CustomerSearch"] or do I need to create a wrapper object? Thanks in advance Greg. From mpelzsherman at yahoo.com Tue Aug 17 07:34:03 1999 From: mpelzsherman at yahoo.com (Michael Pelz Sherman) Date: Thu Nov 3 14:42:14 2005 Subject: Wanted: Example of EOF Drag & Drop in 4.X Message-ID: <19990817143403.10805.rocketmail@web601.yahoomail.com> Does anyone have a simple example of how to implement drag & drop of EO's in 4.X (AppKit)? Thanks in advance, - mps _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com From ahoesch at smartsoft.de Tue Aug 17 09:38:49 1999 From: ahoesch at smartsoft.de (Andreas Hoschler) Date: Thu Nov 3 14:42:14 2005 Subject: Text and images in a cell (NSTableColumn - EOColumnAssociation - EODisplayGroup) Message-ID: <9908171638.AA09572@smartsoft.de> Hi, I would like to display images together with text in a table column. I read that one can set a data cell (NSTextFieldCell, NSImageCell) for each NSTableColumn of the tableview. According to my current understanding the first expects a string and the second an image (setObjectValue:) but what can be done, if something more complex is to be displayed? What class should be subclassed for this purpose and wich methods have to be overwritten? I'm somewhat tripling in the dark right now. Hints and examples are greatly appreciated, Andreas From ahoesch at smartsoft.de Tue Aug 17 10:35:45 1999 From: ahoesch at smartsoft.de (Andreas Hoschler) Date: Thu Nov 3 14:42:14 2005 Subject: Text and images in a cell (NSTableColumn - EOColumnAssociation - In-Reply-To: References: Message-ID: <9908171735.AA10547@smartsoft.de> Hi, > If you want to display something special (like pictures or something else) > all you need to do to use(/write) is the corresponding NSCell > subclass and change the > the "dataCell" of the wanted NSTableColumn. > > For example, a column for drawing a picture : > > pict_cell = [[NSCell alloc] initImageCell:NULL] autorelease]; > col = [[table tableColumnWithIdentifier:@"myColumn"] setDataCell: > pict_cell]; Well, this seems to be easy for text only and image only cells but what can I do, if my cell is supposed to conatin a string, a small image to the left of the string and a small image to the right of it? > // providing data for this column > - (id)tableView:(NSTableView *)tableView > objectValueForTableColumn:(NSTableColumn *)tableColumn row:(int)row > { > if ([[tableColumn identifier] isEqualToString:@"myColumn"]) > return [NSImage imageNamed:@"myPicture"]; > return NULL; > } What, if I have an EOColumnAssociation connecting the table column with a displayGroup? I suppose I have to implement a special method in the eo that returns some kind of attributed string or who knows what. But how can I tell the EOColumnAssociation to use this methods? Andreas From peter at baseview.com Tue Aug 17 09:39:29 1999 From: peter at baseview.com (Peter_Johnson) Date: Thu Nov 3 14:42:14 2005 Subject: Text and images in a cell (NSTableColumn - EOColumnAssociation - Message-ID: <199908171640.JAA21413@scyther.omnigroup.com> >Hi, > >I would like to display images together with text in a table column. I read >that one can set a data cell (NSTextFieldCell, NSImageCell) for each >NSTableColumn of the tableview. According to my current understanding the >first expects a string and the second an image (setObjectValue:) but what >can >be done, if something more complex is to be displayed? What class should be >subclassed for this purpose and wich methods have to be overwritten? I'm >somewhat tripling in the dark right now. > >Hints and examples are greatly appreciated, > > Andreas > > > > I'm a relatively new Cocoa developer, so somebody please correct me if this sounds like a hair-brained idea... AFAIK, a cell is normally either a text cell or an image cell, not both. The simplest thing would be to have two columns, one for the image and one for the text. I'm assuming that for some reason you don't want to do this,so... What about making an NSCell subclass that accepts a dictionary as its object value. This dictionary would contain an NSImage and an NSString to display (or anything else you need for that matter) and the NSCell subclass would know how to display that information. --Peter -------------------------------------------------------------------- Peter Johnson peter@baseview.com Software Developer Baseview Products -------------------------------------------------------------------- From ahoesch at smartsoft.de Tue Aug 17 12:43:54 1999 From: ahoesch at smartsoft.de (Andreas Hoschler) Date: Thu Nov 3 14:42:14 2005 Subject: Text and images in a cell (NSTableColumn - EOColumnAssociation - In-Reply-To: References: Message-ID: <9908171943.AA12606@smartsoft.de> Hi, > // providing data for this column > - (id)tableView:(NSTableView *)tableView > objectValueForTableColumn:(NSTableColumn *)tableColumn row:(int)row > { > if ([[tableColumn identifier] isEqualToString:@"myColumn"]) > return [NSImage imageNamed:@"myPicture"]; > return NULL; > } Ok, after loading the nib I replaced the EOColumnAssociation of the first tableColumn with an instance of my EOColumnAssociation subclass as follows: /* *** replace first column association *** */ { EOColumnAssociation *oldAssociation = [nameTableColumn identifier]; if ([oldAssociation isKindOfClass:[EOColumnAssociation class]]) { MyColumnAssociation *myAssoc = [[MyColumnAssociation alloc] initWithObject:[oldAssociation object]]; [myAssoc bindAspect:@"value" displayGroup:[oldAssociation displayGroupForAspect:@"value"] key:[oldAssociation displayGroupKeyForAspect:@"value"]]; [myAssoc bindAspect:@"enabled" displayGroup:[oldAssociation displayGroupForAspect:@"enabled"] key:[oldAssociation displayGroupKeyForAspect:@"enabled"]]; [oldAssociation breakConnection]; [myAssoc establishConnection]; [myAssoc release]; [nameTableColumn setIdentifier:myAssoc]; } } The value aspect currently is bound to an NSString attribute. My idea is to bind it to an NSAttributedString attribute and create this attributed string on the fly according to the eo's attributes. But how do I tell my EOColumnAssociation subclass and the dataCell that it should draw an attributed string. If I use NSIamgeCell an NSImage is expected, if I use an NSTextFieldCell, an NSString is expected. How can I create a subclass of NSCell that makes the thing working (using) an attributed string (that might contain images)? Thanks a lot, Andreas From ahoesch at smartsoft.de Tue Aug 17 13:16:16 1999 From: ahoesch at smartsoft.de (Andreas =?iso-8859-1?Q?H=F6schler?=) Date: Thu Nov 3 14:42:14 2005 Subject: Text and images in a cell (NSTableColumn - EOColumnAssociation - In-Reply-To: <199908171828.UAA12095@wanadoo.fr> References: <199908171828.UAA12095@wanadoo.fr> Message-ID: <9908172016.AA13132@smartsoft.de> A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 641 bytes Desc: not available Url : /mailman/archive/macosx-dev/attachments/19990817/f6f7723f/attachment.bin From Rajnish.Dogra at eaic.com Tue Aug 17 17:08:28 1999 From: Rajnish.Dogra at eaic.com (Rajnish Dogra) Date: Thu Nov 3 14:42:14 2005 Subject: TIFF to JPEG conversion Message-ID: <9908171708.AA282541@dev-rajnishd-01> Hi, I am trying to convert from a TIFF file with no Compression to a JPEG file with compression factor of 60. Has anyone been able to do this in WebObjects 4.0.1 NT sp5. ReleaseNotes talk about it but NSImage.h is not very clear. and I am getting following exception when calling - TIFFRepresentationUsingCompression:factor: Aug 17 16:57:37 tiff2jpg[452] *** -[NSConcreteMutableDictionary setObject:forKey:]: attempt to insert nil value I have enclosed a little code snippet below. Thanks, Rajnish ----- CUT HERE ----------- #import int main (void) { NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init]; NSImage * tiffImage = nil; NSData * jpegData = nil; NSString * filePath = [[NSFileManager defaultManager] currentDirectoryPath]; NSDictionary * fsattrs = [[NSFileManager defaultManager] fileSystemAttributesAtPath:filePath]; tiffImage = [[NSImage alloc] initWithContentsOfFile: [NSString stringWithFormat:@"%@/%s", filePath, "new.tiff"]]; if (tiffImage) { NS_DURING jpegData = [tiffImage TIFFRepresentationUsingCompression:NSTIFFCompressionJPEG factor:60.0]; NS_HANDLER NSLog([localException description]); return NO; NS_ENDHANDLER if (jpegData) { if ([[NSFileManager defaultManager] createFileAtPath: [NSString stringWithFormat:@"%@/%s", filePath, "new.jpeg"] contents:jpegData attributes:fsattrs] == NO) { NSLog (@"Could not save jpeg\n"); } } } [pool release]; exit(0); // insure the process exit status is 0 return 0; } ----- END OF CUT ----------- From andrew at onevision.de Wed Aug 18 00:59:40 1999 From: andrew at onevision.de (Andrew Lindesay) Date: Thu Nov 3 14:42:14 2005 Subject: Ethernet Address In-Reply-To: <9908171716.AA01695@vviuh221.vvi.com> References: <9908141038.AA00320@projectcenter.ch> <9908171716.AA01695@vviuh221.vvi.com> Message-ID: <199908180759.IAA08989@dali.onevision.de> > (a) The MAC address is the actual motherboard ID, burnt into every MAC > motherboard and is a unique number; (b) the ethernet number is another > number a part of which is usually returned by gethostid() and is obtained ... > note, you can probably check out darwin for the socket calls to get (b) (b) can be obtained, but you have to be digging about in the kernel-space for it rather than using sockets -- if the user has no ethernet connected then it won't show up. I disected the code for 'netstat' in Darwin and figured it out pretty easily. I suppose this will change a bit for MacOS-X (without the 'Server' on the end). cherio. ___ Andrew Lindesay (andrew@onevision.de) From fischer at fokus.gmd.de Wed Aug 18 04:36:44 1999 From: fischer at fokus.gmd.de (Robert Fischer) Date: Thu Nov 3 14:42:14 2005 Subject: Find html-docs in PB Message-ID: <37BA9ACD.B4E98F42@fokus.gmd.de> Hi, how could I tell PB to find the html documentation of, say, NSView and not pop up the header file? Any hints are greatly appreciated, Robert P.S.: Geee, how I miss good ol' Librarian ... R. -- --- - .-. -- -- --- / \ ---- Robert Fischer .-. / \ --- .-. __o .-. @ / \ / \ / \ _`\<,_ / \ GMD-Fokus / \ / \ / \ (*)/ (*) / `-------------- / `---' `-' `-----------' From aswift at redmud.com Wed Aug 18 07:32:13 1999 From: aswift at redmud.com (Adam Swift) Date: Thu Nov 3 14:42:14 2005 Subject: Find html-docs in PB Message-ID: <199908181434.JAA06598@bowe.ccm.net> I'm not certain that this answers your question, but it might.... When you use the Project Find panel to search for documentation, click on the icon of the book instead of the middle area of the search results to bring up the documentation instead of the header file. - adam > From: Robert Fischer > Date: 1999-08-18 06:39:50 -0500 > To: Multiple recipients of list > Subject: Find html-docs in PB > X-RCPT-TO: > X-Listprocessor-Version: 6.0c -- ListProcessor by Anastasios Kotsikonas > Originator: macosx-dev@omnigroup.com > X-UIDL: 218689626 > X-Comment: To unsubscribe, follow directions at > http://www.omnigroup.com/MailArchive/ > X-Mailer: Mozilla 4.5 (Macintosh; I; PPC) > > Hi, > > how could I tell PB to find the html documentation of, say, NSView and > not pop up the header file? > > Any hints are greatly appreciated, > > Robert > > > P.S.: Geee, how I miss good ol' Librarian ... R. > > -- > --- - .-. -- -- > --- / \ ---- Robert Fischer > .-. / \ --- .-. __o .-. @ > / \ / \ / \ _`\<,_ / \ GMD-Fokus > / \ / \ / \ (*)/ (*) / `-------------- > / `---' `-' `-----------' > > > From paulrs at lgs-systems.com Wed Aug 18 13:37:11 1999 From: paulrs at lgs-systems.com (Paul R. Summermatter) Date: Thu Nov 3 14:42:14 2005 Subject: October is a very bad month for NSCalendarDate on MOSXS and YB/NT Message-ID: <9908182037.AA02489@slab> RE: YB/NT & MOSXS Hey guys, Ok, I know I'm not the sharpest knife in the block, and I know that dates can be especially tricky, but can anyone explain what the f*&^k is happening with the following (and no, this is not gdb trickery, this is a real issue that has come up in our app. Also, note that this differs from OS 4.2, see below): (gdb) po firstDay 1999-10-01 00:00:00 -0400 (gdb) po [firstDay dateByAddingYears:0 months:0 days:31 hours:0 minutes:0 seconds:0] 1999-10-31 23:00:00 -0500 (gdb) po [firstDay dateByAddingYears:0 months:0 days:30 hours:0 minutes:0 seconds:0] 1999-10-31 00:00:00 -0400 (gdb) po [firstDay dateByAddingYears:0 months:0 days:32 hours:0 minutes:0 seconds:0] 1999-11-01 23:00:00 -0500 (gdb) po [firstDay dateByAddingYears:0 months:1 days:0 hours:0 minutes:0 seconds:0] 1999-10-31 23:00:00 -0500 (gdb) po firstDay 2000-10-01 00:00:00 -0400 (gdb) po [firstDay dateByAddingYears:0 months:0 days:28 hours:0 minutes:0 seconds:0] 2000-10-29 00:00:00 -0400 (gdb) po [firstDay dateByAddingYears:0 months:0 days:29 hours:0 minutes:0 seconds:0] 2000-10-29 23:00:00 -0500 Here is the output from OS 4.2 (gdb) po firstDay 1999-10-01 00:00:00 -0400 (gdb) po [firstDay dateByAddingYears:0 months:0 days:31 hours:0 minutes:0 seconds:0] 1999-11-01 00:00:00 -0500 (gdb) po [firstDay dateByAddingYears:0 months:1 days:0 hours:0 minutes:0 seconds:0] 1999-11-01 00:00:00 -0500 While this doesn't look right to me either (note the change in time zone), at least the month, day, year, hour, and seconds are correct. If you look closely at my output from MOSXS, you'll notice that there is an interesting pattern. The problem seems to exist only in October, and it doesn't matter what year. The problem always seems to come up on the first Monday of the fifth week in October. Of course, this has to come up just as we are intalling at a new client who is overly concerned about Y2K issues and immediately assumed that this was related (who knows, maybe it is). In any event, I am deeply concerned that either a) I don't understand date math at all or b) there is a serious bug in NSCalendarDate's date math functions. Any date gurus out there care to comment? Regards, Paul --- Paul Summermatter LGS Systems, Inc. Medical Computing Division 15 TJ Gamester Ave Portsmouth, NH 03801-5871 (603) 433-9822 voice (603) 433-9818 fax (888) 898-6321 pager 8986321@skytel.com paging email paulrs@lgs-systems.com (NeXT or MIME Mail Welcome) http://www.lgs-systems.com From toon at omnigroup.com Wed Aug 18 14:43:55 1999 From: toon at omnigroup.com (Greg Titus) Date: Thu Nov 3 14:42:14 2005 Subject: October is a very bad month for NSCalendarDate on MOSXS and YB/NT Message-ID: <199908182143.OAA09377@scyther.omnigroup.com> Hi Paul, The explanation for the behavoir you are seeing is: daylight savings time. I'd still consider it a bug, but at least the results are consistent: if 31*24 hours pass from Oct 1, 1999 at midnight, it actually will be Oct 31 at 11 pm when you are done. The bug is that adding a "day" isn't the same thing as adding 24 hours in this particular case. So I think the results you are getting would be correct if you had written: [firstDay dateByAddingYears:0 months:0 days:0 hours:31*24 minutes:0 seconds:0] The OS 4.2 results are what you want (the time zone offset changes because your time zone offset really did change.) --Greg From mpelzsherman at yahoo.com Wed Aug 18 14:46:22 1999 From: mpelzsherman at yahoo.com (Michael Pelz Sherman) Date: Thu Nov 3 14:42:14 2005 Subject: Example of Drag & Drop of Enterprise Objects Message-ID: <19990818214622.12151.rocketmail@web601.yahoomail.com> Howdy! I sent out a request for help on this yesterday & got some helpful replies but no concrete examples. A few folks asked me to forward any info I found on this topic. I did get it working (it wasn't too hard, actually), so here is some sample code you may find useful: http://www.geocities.com/Athens/Styx/4679/Eodnd.zip This code is provided with absolutely no strings attached, so enjoy! - Michael _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com From norbert.heger at obdev.at Wed Aug 18 14:50:02 1999 From: norbert.heger at obdev.at (Norbert Heger) Date: Thu Nov 3 14:42:14 2005 Subject: October is a very bad month for NSCalendarDate on MOSXS and YB/NT References: <9908182037.AA02489@slab> Message-ID: <9908182150.AA12422@cray> > The problem seems to exist only in October, and it doesn't matter > what year. The problem always seems to come up on the first Monday > of the fifth week in October [...] Any date gurus out there care to > comment? The DST (daylight saving time) ends on last sunday in october. The result of date calculations across this date depends on the definition of 'adding a day to a given date'. It may be defined as 'adding 24 hours' but also as 'adding one to the day of month'. Norbert _____________________________ _________________________________ O B J E C T I V E D E V E L O P M E N T Norbert Heger OpenStep MacOS-X EOF WebObjects norbert.heger@obdev.at Software Development +43-664-2811777 www.obdev.at From zarnuk at zarnuk.com Wed Aug 18 15:23:33 1999 From: zarnuk at zarnuk.com (Paul S. McCarthy) Date: Thu Nov 3 14:42:14 2005 Subject: October is a very bad month for NSCalendarDate on MOSXS and YB/NT References: <9908182037.AA02489@slab> Message-ID: <37BB3265.70F0@zarnuk.com> This is a problem with the Daylight Savings Time (DST) transition. I don't remember the exact rules off-hand, but they are something like this: Start (DST) at 2:00AM on the first Sunday in April. Stop (DST) at 2:00AM DST on the last Sunday in October. (These are the rules used in the US and Canada to the best of my knowledge. Indiana and Japan do not use DST. Europe uses different, but similar rules.) DST transitions create the following anomalies: - The timezone name and adjustment change before/after. - The start day has less than 24 hours. (23 hours) - The stop day has more than 24 hours. (25 hours) - The gap in the start day creates invalid date+time values (01:59:59AM is followed by 03:00:00AM DST, so everything in between is invalid) - The overlap on the stop day creates duplicate date+time values. (01:59:59AM DST is followed by 01:00:00AM, so, everything in between happens twice -- once during DST, and again during Standard Time) >From their output, it looks like they are converting the number of days into an "equivalent" number of seconds (#days x 24 hrs/day x 60 mins/sec x 60 secs/min), adding the seconds to the underlying time_t value. This approach is very efficient, and normally correct, but it there is the problem that you discovered when the resulting value is in a different timezone. Possible work-around strategies if you are really interested in adding a specific number of calendar days, but leaving the time part unchanged... 1) Use 12:00 noon instead of 00:00 midnight for your calculations. The daylight savings time bug will cause a maximum change of 1-2 hours (depending on local DST adjustment) in the time portion of the output, but your date and timezone should be correct. <- Needs verification. 2) Use 00:00 midnight as your "anchor" (starting point), but always add/subtract an extra 12 hours (1/2 day) so that DST transitions will not hose the computed date. 3) Test the timezone before/after the addition, and make a correction if the timezone changed. Hope that helps. ---Paul... (BTW: Tell your congressman to ban Daylight Savings Time. :) From alexnet at gestalt.com Wed Aug 18 16:19:33 1999 From: alexnet at gestalt.com (Alex Molochnikov) Date: Thu Nov 3 14:42:14 2005 Subject: Find html-docs in PB Message-ID: <9908182319.AA00700@gestalt.com> Robert Fischer wrote: > how could I tell PB to find the html documentation of, say, NSView and not pop up the header file? Select Help from PB's main menu, then click on "Using The APIs". PB will display an HTML page; follow the links to find the documentation of your interest. Alex Molochnikov Phoenix Data Trend -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 323 bytes Desc: not available Url : /mailman/archive/macosx-dev/attachments/19990818/009f47a0/attachment.bin From skorpine at pp.htv.fi Thu Aug 19 03:26:36 1999 From: skorpine at pp.htv.fi (Santtu Korpinen) Date: Thu Nov 3 14:42:14 2005 Subject: Help with MacOSXServer architecture and memory management Message-ID: Help with MacOSXServer architecture and memory management >From "Mac OS X Server: Operating System FAQ": Q. What is the foundation for Mac OS X Server? A. Mac OS X Server is based on a Mach microkernel that roughly corresponds to Mach 2.5. This microkernel is integrated with an implementation of BSD 4.4 to provide a full UNIX-style operating environment. What does mean "roughly corresponds to Mach 2.5"? What areas of Mach 2.5 I can assume to be the same in MacOSXServer? For example how is the memory management done in MacOSXServer? I heard that it would be similar to AIX? What about BSD 4.4? Is there a Mach 2.5 kernel and the rest of operating system stuff from BSD 4.4? Or is the whole operating system based on Mach 2.5 and the Mach 2.5 brings the BSD 4.4 compatibility? (Mach itself is an offshoot of 4.3 BSD). Mach kernel provides: ??? Processor scheduling Interprocess communication Management of virtual memory How much of those are the same in Mach 2.5 and in MacOSXServer? If I read about Mach 2.5 ( for example the "Mach Reference (PDF)" found at "http://developer.apple.com/techpubs/macosx/macosx.html") How much can I assume to be the same? What about BSD 4.4, what kind of kernel is in clean 4.4 BSD? I have a book ("The Desing and Implementation of the 4.4 BSD Operating System") about 4.4 BSD what parts of the 4.4 BSD/book I can assume to be the same? If Mach provides Processor scheduling, Interprocess communication and Management of virtual memory what is the role of 4.4 BSD in MacOSXServer? What kind of a file system is in MacOSXServer? The same as in 4.4 BSD? If I find info about NextStep 4.2 how much of that is similar to MacOSXServer? What are the differences between NextStep 4.2 and MacOSXServer? I have looked through the mailing list archives, Apple sites about MacOSXServer, documentation that comes with MacOSXServer... Where can I find information about those questions and the architecture in general? Is there any other books than the "Rhapsody developer's guide" writen about MacOSXServer? I would really need that information so thanks a lot for your help! Santtu From paulrs at lgs-systems.com Wed Aug 18 15:42:19 1999 From: paulrs at lgs-systems.com (Paul R. Summermatter) Date: Thu Nov 3 14:42:14 2005 Subject: Wanted: Example of EOF Drag & Drop in 4.X In-Reply-To: <19990817143403.10805.rocketmail@web601.yahoomail.com> References: <19990817143403.10805.rocketmail@web601.yahoomail.com> Message-ID: <9908182242.AA02634@slab> You wrote: [ Does anyone have a simple example of how to implement drag & drop of [ EO's in 4.X (AppKit)? [ [ Thanks in advance, [ - mps [ [ _________________________________________________________ [ Do You Yahoo!? [ Get your free @yahoo.com address at http://mail.yahoo.com [ Michael, What's 4.x? I assume you mean EOF 3.0? Unfortunately, I don't have a simple example, but I can offer some advice. Firstly, my partner Eric posted a rather extensive expose on putting eos onto the pasteboard for EOF 2.x to the EOF list (check the archives). Unfortunately, most of the coding done by the EOF team on archiving eos was done for saving state in WOF apps and was never really tested for pasteboard stuff. As a result, we could never quite get the context relative encoding stuff to work right. In any event, if you are dragging around committed eos, I have found it easiest to just encode the eos' globalIDs. Beyond this, the drag and drop works like any other object. Regards, Paul --- Paul Summermatter LGS Systems, Inc. Medical Computing Division 15 TJ Gamester Ave Portsmouth, NH 03801-5871 (603) 433-9822 voice (603) 433-9818 fax (888) 898-6321 pager 8986321@skytel.com paging email paulrs@lgs-systems.com (NeXT or MIME Mail Welcome) http://www.lgs-systems.com From jjfeiler at relief.com Thu Aug 19 06:28:51 1999 From: jjfeiler at relief.com (John Jay Feiler) Date: Thu Nov 3 14:42:14 2005 Subject: Help with MacOSXServer architecture and memory management Message-ID: <199908181731.KAA12954@haque.relief.com> > From: skorpine@pp.htv.fi (Santtu Korpinen) > Help with MacOSXServer architecture and memory management > > >From "Mac OS X Server: Operating System FAQ": > > Q. What is the foundation for Mac OS X Server? > > A. Mac OS X Server is based on a Mach microkernel that roughly corresponds > to Mach 2.5. This microkernel is integrated with an implementation of BSD > 4.4 to provide a full UNIX-style operating environment. > > What does mean "roughly corresponds to Mach 2.5"? What areas of Mach 2.5 I > can assume to be the same in MacOSXServer? For example how is the memory > management done in MacOSXServer? I heard that it would be similar to AIX? > > What about BSD 4.4? Is there a Mach 2.5 kernel and the rest of operating > system stuff from BSD 4.4? Or is the whole operating system based on Mach > 2.5 and the Mach 2.5 brings the BSD 4.4 compatibility? (Mach itself is an > offshoot of 4.3 BSD). > > Mach kernel provides: ??? > Processor scheduling > Interprocess communication > Management of virtual memory > > How much of those are the same in Mach 2.5 and in MacOSXServer? > If I read about Mach 2.5 ( for example the "Mach Reference (PDF)" found at > "http://developer.apple.com/techpubs/macosx/macosx.html") How much can I > assume to be the same? > > What about BSD 4.4, what kind of kernel is in clean 4.4 BSD? I have a book > ("The Desing and Implementation of the 4.4 BSD Operating System") about 4.4 > BSD what parts of the 4.4 BSD/book I can assume to be the same? > If Mach provides Processor scheduling, Interprocess communication and > Management of virtual memory what is the role of 4.4 BSD in MacOSXServer? > > What kind of a file system is in MacOSXServer? The same as in 4.4 BSD? > > If I find info about NextStep 4.2 how much of that is similar to > MacOSXServer? What are the differences between NextStep 4.2 and > MacOSXServer? > > I have looked through the mailing list archives, Apple sites about > MacOSXServer, documentation that comes with MacOSXServer... Where can I > find information about those questions and the architecture in general? Is > there any other books than the "Rhapsody developer's guide" writen about > MacOSXServer? > > I would really need that information so thanks a lot for your help! > > Santtu > > The kernel is mach 2.5, with some changes in the device driver model, some swapfile mods from later relases for mach, etc. The interface to the kernel is basically BSD4.4. If you want to know exactly, go download the source to the kernel from publicsource.apple.com J -- John Feiler jjfeiler@relief.com From zarnuk at zarnuk.com Thu Aug 19 07:02:01 1999 From: zarnuk at zarnuk.com (Paul S. McCarthy) Date: Thu Nov 3 14:42:14 2005 Subject: Help with MacOSXServer architecture and memory management References: Message-ID: <37BC0E59.61B8@zarnuk.com> The Mach microkernel does very little. Interprocess communication (message-passing via ports) is the heart of its functionality. Everything else is built upon that (memory management, task/processor scheduling). The BSD 4.4 stuff is all layered on top of the kernel. It provides all of your standard UNIX system calls, command line utilities, etc. You can generally treat the system as an implementation of BSD 4.4. The NeXT operating systems have always been incredibly robust. The task scheduling and virtual memory management are as good as it gets. Unless you are working on the operating system for Apple, I can't think of any task that would require knowledge of the differences between the genuine CMU Mach kernel and the MacOSXServer kernel, except perhaps writing device drivers (which are basically an extension of the operating system). Ditto for the differences between genuine BSD4.4 and MacOSXServer. Apple/NeXT make very few changes to that software. Regards, ---Paul... From ckane at apple.com Thu Aug 19 07:56:07 1999 From: ckane at apple.com (Chris Kane) Date: Thu Nov 3 14:42:15 2005 Subject: October is a very bad month for NSCalendarDate on MOSXS and YB/NT Message-ID: <004901beea52$f7904e40$9d0eca11@verbosity.apple.com> Paul R. Summermatter wrote: > [examples of Gregorian date math in October] This is not Y2K-related. It is a problem with the DST transition. The bugs are fixed in the next release of Mac OS X Server and in the upcoming Mac OS X. OpenStep 4.2, as you noticed, behaves somewhat better, but has another bug with the DST transition that you haven't noticed yet through only adding months and days. The new algorithm behaves correctly in these cases. The transition of time zone itself from October to November that you were seeing is correct, for New Hampshire and the east coast (time zone transitions can vary somewhat by state). On October 31 this year, as a slightly more extreme example, 00:30 -0400 [EDT] plus 1 hour will be 01:30 -0400 plus 1 hour will be 01:30 -0500 [EST] plus 1 hour will be 02:30 -0500. The time zone transition happens after 01:59:59 -0400, which is followed by 01:00:00 -0500. Chris Kane Apple Computer, Inc. From vrobi at ddrummer.com Thu Aug 19 11:23:54 1999 From: vrobi at ddrummer.com (Robert Vasvari) Date: Thu Nov 3 14:42:15 2005 Subject: java - objc converter Message-ID: <9908191123.AA5446315@freaky> Hi all, does anybody know of some script that converts Java (containing WO) code to objc or vice versa? =[vrobi]= From ajetha at tacticalstep.com Thu Aug 19 12:40:55 1999 From: ajetha at tacticalstep.com (Alykhan Jetha) Date: Thu Nov 3 14:42:15 2005 Subject: Unkillable ProjectBuilder and ld Message-ID: <199908191937.MAA15876@scyther.omnigroup.com> Folks, I've had a real weird thing happen. ProjectBuilder hung (which is not so special), but I couldn't kill theses processes no matter what I tried. There where 2 instances of PB running and 1 instance of ld. I tried kill -KILL, Workspaces Processes, Processes app, log-out then log-in, kill windowserver, kill workspace -- nothing worked, the processes where still running and not responding. Even attempting to reboot the machine proved fruitless, it was just waiting after killing telnetd & other such processes. We had to do a hard reboot. Our setup is: MacOSXS 1.0.2 G3 400 with 2x9GB SCSI Home directory on FreeBSD server (via NFS) (project is in home directory) No blue-box running Has anyone seen this before? -- Alykhan Jetha (AJ) TacticalStep Inc., WWW: http://www.tacticalstep.com Email: ajetha@tacticalstep.com Phone: 905.831.2643 ext 1 Fax: 905.837.2546 From mail2agp at zeelandnet.nl Thu Aug 19 14:45:56 1999 From: mail2agp at zeelandnet.nl (R.H van Amerongen) Date: Thu Nov 3 14:42:15 2005 Subject: Is October a very bad month for Developers? or a good one? In-Reply-To: <004901beea52$f7904e40$9d0eca11@verbosity.apple.com> References: <004901beea52$f7904e40$9d0eca11@verbosity.apple.com> Message-ID: >Paul R. Summermatter wrote: >> [examples of Gregorian date math in October] > >This is not Y2K-related. It is a problem with the DST transition. The >bugs are fixed in the next release of Mac OS X Server and in the upcoming >Mac OS X. OpenStep 4.2, as you noticed, behaves somewhat better, but has >another bug with the DST transition that you haven't noticed yet through >only adding months and days. The new algorithm behaves correctly in these >cases. > >The transition of time zone itself from October to November that you were >seeing is correct, for New Hampshire and the east coast (time zone >transitions can vary somewhat by state). On October 31 this year, as a >slightly more extreme example, 00:30 -0400 [EDT] plus 1 hour will be >01:30 -0400 plus 1 hour will be 01:30 -0500 [EST] plus 1 hour will be >02:30 -0500. The time zone transition happens after 01:59:59 -0400, which >is followed by 01:00:00 -0500. > >Chris Kane >Apple Computer, Inc. We can expected a new release that this will be fixed before Oct this year? :-) From ahoesch at smartsoft.de Fri Aug 20 01:10:13 1999 From: ahoesch at smartsoft.de (Andreas Hoschler) Date: Thu Nov 3 14:42:15 2005 Subject: cannot access rootProxy In-Reply-To: <017901beea7b$60d74430$bc9924a6@chan4389.mcit.com> References: <017901beea7b$60d74430$bc9924a6@chan4389.mcit.com> Message-ID: <9908200810.AA00594@smartsoft.de> > I am trying to access server proxy using > > [NSConnection connectionWithRegisteredName:@"MY_VENDING_SERVER" host:nil] > > and in my vendor's ( MY_VENDING_SERVER ) delegate method > "- (BOOL)connection:(NSConnection *)parentConnection > shouldMakeNewConnection:(NSConnection *)newConnection " > > i am trying to get the get the client proxy using > > myClient = [newConnection rootProxy]; Wait a second. You use 'myClient = [newConnection rootProxy];' in the server process? ASAIK this belongs into the client process and is intended to provide you with a proxy of the object that got vended in the server. Connection are always oneway, so if your server process needs a proxy of a client object as well, you need to create an additonal connection for the other direction. Andreas From nberch at db.lv Fri Aug 20 02:35:39 1999 From: nberch at db.lv (Nils Berzins) Date: Thu Nov 3 14:42:15 2005 Subject: Debugging Apache modules Message-ID: <199908200936.MAA05869@saulite> Hi, Is it possible to debug the Apache modules in Project Builder ? Has anyone done this before ? Nils Berzins From marcel at system.de Fri Aug 20 04:55:04 1999 From: marcel at system.de (Marcel Weiher) Date: Thu Nov 3 14:42:15 2005 Subject: Unkillable ProjectBuilder and ld Message-ID: I had almost the same thing happen twice within a week a couple of weeks ago. The process in question was a 'tail -f' on some system log-files. It was completely unkillable ( kill -9, ^Z, etc.). Furthermore, various attempts of looking at the problem caused further lockup. Somehow it seemed that any access to the file or the directory it was in caused further lockup. I filed a bug-report with Apple, which turned out to be more difficult than I had expected. Marcel > From: Alykhan Jetha > > Even attempting to reboot the machine proved fruitless, it was just waiting > after killing telnetd > & other such processes. > We had to do a hard reboot. > > Our setup is: > > MacOSXS 1.0.2 > G3 400 with 2x9GB SCSI > Home directory on FreeBSD server (via NFS) (project is in home directory) > No blue-box running > > > Has anyone seen this before? From marcel at system.de Fri Aug 20 10:12:37 1999 From: marcel at system.de (Marcel Weiher) Date: Thu Nov 3 14:42:15 2005 Subject: Unkillable ProjectBuilder and ld Message-ID: > From: Bill Bumgarner [ speculation that NFS is the culprit ] Sorry, no NFS here. Marcel From hordur at lausn.is Fri Aug 20 08:55:35 1999 From: hordur at lausn.is (Hordur Thordarson) Date: Thu Nov 3 14:42:15 2005 Subject: Sortingdoesn=?windows-1252?q?=92tworkwhensetinWOBuilder Message-ID: <1277000942-19346105@lausn.is> Hi, In my WOApp I use WODisplayGroups extensively and they work fine except they don?t sort ! In WOBuilder I configure the display group to sort by a certain field but the records still seem to be fetched and displayed in insert order or some other order - not the order I selected. Anyone have a clue as to why this is so ? This doesn?t work for any of my WODisplayGroups. Thanks much, Hordur Thordarson WebObjects addict From nberch at db.lv Mon Aug 23 01:36:44 1999 From: nberch at db.lv (Nils Berzins) Date: Thu Nov 3 14:42:15 2005 Subject: Debugging help urgently needed Message-ID: <199908230837.LAA17737@saulite> Hi, I have following problem when trying to debug the CLI tool in ProjectBuilder. First it should print out some lines with printf() and then it waits for input with getc(). The problem is that I don't see any input/output in debugger window. If I understand correctly, the PB debugger window is used by default for standard i/o. This doesn't seem to work. Then I tried "(gdb) tty /dev/ttyp1". This works fine with printf() but when I type something for getc() it says: bash: : command not found Am I missing something obvious here ? Please help me ! Best Regards Nils Berzins From foxyblokesinpants at theseaside.co.uk Wed Aug 18 05:23:35 1999 From: foxyblokesinpants at theseaside.co.uk (foxyblokesinpants@theseaside.co.uk) Date: Thu Nov 3 14:42:15 2005 Subject: InterfaceBuilder.framework Message-ID: <134778661.934979015563.JavaMail.root@localhost> Does anyone have any pointers on using InterfaceBuilder.framework? I'm looking to create an app with a look and feel very similar to Interface Builder, but which works on my own document types, not nib files. Does InterfaceBuilder.framework give me hooks for this? Would I be better off creating my own palette and inspector widgets on top of the appkit document architecture? -- "like Hotmail but faster and a lot better" Carol Vorderman, The Mirror, writing about http://www.funmail.co.uk From fabien-roy at mediaring.com Mon Aug 23 20:49:50 1999 From: fabien-roy at mediaring.com (Fabien Roy) Date: Thu Nov 3 14:42:15 2005 Subject: Debugging help urgently needed Message-ID: <199908240349.UAA07539@scyther.omnigroup.com> >printf After the printf statement type: fflush(stdout); Hope that helps. Fabien. -- Fabien Roy Senior Manager, MIS MediaRing Inc. 99 West Tasman Drive Suite 280 San Jose, CA 95134 fabien-roy@mediaring.com Tel: (408) 383-9222 Fax: (408) 383-9223 From afleming at andrew.cmu.edu Mon Aug 23 21:22:05 1999 From: afleming at andrew.cmu.edu (Andrew M Fleming) Date: Thu Nov 3 14:42:15 2005 Subject: Installation Message-ID: Ok, so I finally ironed out the last few bugs in my program. I feel elated. Ecstatic. Even happy. So I tell it to make install. It does, but I notice errors at the end, which PB happily ignores: /usr/sbin/chown: /Local/Users/darklite/Applications/CivTracker.app/Resources/Info-nextstep.plist: Operation not permitted /usr/sbin/chown: /Local/Users/darklite/Applications/CivTracker.app/Resources/English.lproj/Document.nib/classes.nib: Operation not permitted /usr/sbin/chown: /Local/Users/darklite/Applications/CivTracker.app/Resources/English.lproj/Document.nib/objects.nib: Operation not permitted /usr/sbin/chown: /Local/Users/darklite/Applications/CivTracker.app/Resources/English.lproj/Document.nib: Operation not permitted --Andy Fleming /usr/sbin/chown: /Local/Users/darklite/Applications/CivTracker.app/Resources/English.lproj/CivTracker.nib/classes.nib: Operation not permitted Carnegie Mellon University Carnegie Institute of Technology Electrical and Computer Engineering /usr/sbin/chown: /Local/Users/darklite/Applications/CivTracker.app/Resources/English.lproj/CivTracker.nib/NSAppleMenuImage.tiff: Operation not permitted /usr/sbin/chown: /Local/Users/darklite/Applications/CivTracker.app/Resources/English.lproj/CivTracker.nib/objects.nib: Operation not permitted /usr/sbin/chown: /Local/Users/darklite/Applications/CivTracker.app/Resources/English.lproj/CivTracker.nib: Operation not permitted /usr/sbin/chown: /Local/Users/darklite/Applications/CivTracker.app/Resources/English.lproj/CivTracker-windows.nib/objects.nib: Operation not permitted /usr/sbin/chown: /Local/Users/darklite/Applications/CivTracker.app/Resources/English.lproj/CivTracker-windows.nib/classes.nib: Operation not permitted /usr/sbin/chown: /Local/Users/darklite/Applications/CivTracker.app/Resources/English.lproj/CivTracker-windows.nib: Operation not permitted /usr/sbin/chown: /Local/Users/darklite/Applications/CivTracker.app/Resources/English.lproj/Credits.rtf: Operation not permitted /usr/sbin/chown: /Local/Users/darklite/Applications/CivTracker.app/Resources/English.lproj: Operation not permitted /usr/sbin/chown: /Local/Users/darklite/Applications/CivTracker.app/Resources/CivCards.tiff: Operation not permitted /usr/sbin/chown: /Local/Users/darklite/Applications/CivTracker.app/Resources/CivTracker.tiff: Operation not permitted /usr/sbin/chown: /Local/Users/darklite/Applications/CivTracker.app/Resources: Operation not permitted /usr/sbin/chown: /Local/Users/darklite/Applications/CivTracker.app/CivTracker: Operation not permitted /usr/sbin/chown: /Local/Users/darklite/Applications/CivTracker.app: Operation not permitted gnumake: [change-permissions] Error 1 (ignored) This seems strange to me, as I don't have much experience in UNIXen thus far, but I press on. I go to ~/Applications, where PB has nicely put my application. I double-click, expecting (naively?) to get the same results as when I launched it from within PB. I don't. It doesn't load the new document on startup, and refuses to create a new document. It also won't open any files I saved while testing within PB. I also can't delete the built app, until I set it to let me. And it still doesn't work after that. So... could someone please tell me what stupid, silly, obvious mistake I am making, so I can finally say I have produced 1 fully usefull, self-contained program in my lifetime!?! :) Thanks, Andy Fleming From nberch at db.lv Tue Aug 24 03:14:37 1999 From: nberch at db.lv (Nils Berzins) Date: Thu Nov 3 14:42:15 2005 Subject: Debugging help urgently needed Message-ID: <199908241015.NAA24722@saulite> >>printf >After the printf statement type: >fflush(stdout); > >Hope that helps. > >Fabien. Hmm... It doesn't. There are two things I find strange - why I don't see any input/output in the debugger window by default and if I set the tty to the terminal window why the "bash" gets the input and not my tool ? It works allright if I run it from shell. Best Regards Nils Berzins From rthomas at uiuc.edu Tue Aug 24 06:33:58 1999 From: rthomas at uiuc.edu (Ryan Thomas) Date: Thu Nov 3 14:42:15 2005 Subject: egcs on Darwin projects page (was Re: Newer version of c++?) In-Reply-To: <199906071718.NAA08431@ernst.tomandandy.com> Message-ID: <4.2.0.58.19990824081336.00d34570@ntx1.cso.uiuc.edu> There's been a lot of discussion about the desire for egcs (in particular, an update for c++). I see the egcs that is available on the darwin site (http://www.publicsource.apple.com/projects/darwin/projects.html) -- seems to be specifically for Mac OS X client, not server. Is it not possible to use it with Mac OS X Server? Is anyone compiling egcs for macosxs? Leigh, you had mentioned you thought you would? -Ryan From bungi at omnigroup.com Tue Aug 24 11:01:30 1999 From: bungi at omnigroup.com (Timothy J. Wood) Date: Thu Nov 3 14:42:15 2005 Subject: OmniObjectMeter 1.0 rc1 available Message-ID: <199908241801.LAA01680@electabuzz.omnigroup.com> [CC'ing this to the WebObjects and MacOS X Dev lists since it is highly useful for developers] OmniObjectMeter 1.0 Release Candidate 1 (the application formerly known as OmniObjectAlloc) is now available at http://www.omnigroup.com/products/omniobjectmeter/ This release has a 5-seat license that expires Sep 20, 1999. Assuming no major bugs are found, this will be the 1.0 release. Pricing will be announced within the next couple weeks. The release notes for this version follow below. In general, the this version is significantly improved in speed and usability over the previous betas. ? Renamed from OmniObjectAlloc. The new name better indicates the scope of the functionality in the application. ? Renamed OOAMachClient.framework to be OmniObjectMeter.framework to make it more obviously associated with OmniObjectMeter. ? Under MacOS X Server, the standard framework search path is used to find the OmniObjectMeter framework. Thus, you can now install OmniObjectMeter in your home directory, /Local or /Network. ? Added demo mode support for evaluation when unlicensed. ? Fixed Event Matching panel so that you can hit 'g' or 'u' to group/ungroup the selected events. This makes processing a large number of events much more pleasant (bulk event matching will be in a later release). ? Removed the misfeature that caused the same row in the classes table view to be scrolled to visible every couple seconds. ? Fixed the inspector panel popping up every couple seconds in some situations. ? Huge optimizations in storing dead objects (and fairly major optimizations in live objects). This makes it possible to run OmniObjectMeter for much longer periods of time when trying to reproduce a zombie bug. ? Fixed automatic selection of companion events when you select an event in a group. ? 'Begin Mark' automatically selects the new mark. ? When switching marks, if a class is selected, it is scrolled to visible. ? When the child process is started after being killed, the list of marks is reset. ? Fixed a hanging bug when stopping a child process. ? Fixed menu layout on MacOS X Server. ? Selecting source icons when the matching source directory hasn't been added to the project now allows you to add the source directory immediately no matter which panel you clicked on. ? When the Find panel is brought up, the contents of the text field are selected. ? Beeps if no object is found. ? You can now select whether to find only live objects or live and dead objects. ? If an object is found but is in a mark that isn't the currently selected mark, the selected mark is changed (and everything is scrolled to visible). ? Changing marks updates the list of objects in the selected class. ? Closing a document or quitting when there are running children prompts you, allowing you to kill the children or cancel. ? Removed 'Wait for Debugger' support. This was not reliable and isn't necessary now that 'Start Child Task Manually' is implemented. ? Updated documentation. From cdouty at netcom.com Tue Aug 24 19:23:19 1999 From: cdouty at netcom.com (Chris Douty) Date: Thu Nov 3 14:42:15 2005 Subject: egcs on Darwin projects page (was Re: Newer version of c++?) In-Reply-To: <4.2.0.58.19990824081336.00d34570@ntx1.cso.uiuc.edu> Message-ID: On Tue, 24 Aug 1999, Ryan Thomas wrote: > There's been a lot of discussion about the desire for egcs (in particular, > an update for c++). I see the egcs that is available on the darwin site > (http://www.publicsource.apple.com/projects/darwin/projects.html) -- seems > to be specifically for Mac OS X client, not server. > > Is it not possible to use it with Mac OS X Server? Is anyone compiling > egcs for macosxs? Leigh, you had mentioned you thought you would? > That's not any egcs I've seen. All egcs are based on gcc 2.8.x whereas the code in http://www.publicsource.apple.com/projects/darwin/source/egcs-1.tar.gz seems to be gcc 2.7.2.1 again. In fact the primary differences I have found between the package in question and the source released on the MOSXS CD is replacing the symbol "NeXT" with "NEXT_SEMANTICS". It does claim to be "gcc 2.8.1-egcs" in the gcc.c file, though. I'd say that Apple's egcs port is still hidden from those without an NDA. Personally, I'd say skip any egcs release and go straight to gcc 2.95.1 which is the current release now that egcs and gcc are one again. I did look at porting egcs 1.1.2 to MOSXS, but it is a herculean task given the extensive modifications of cccp.c by NeXT and the complex nature of gcc in general. Perhaps Wilfredo Sanchez can shed some lighton this at the BaNG meeting this Wednesday. -Chris -- Christopher Douty - Rogue Engineer trapped in a land of software cdouty@netcom.com "Frequently the messages have meaning; that is they refer to or are correlated according to some system with physical or conceptual entities. These semantic aspects of communication are irrelevant to the engineering problem." -Shannon From troy.stephens at page44.com Wed Aug 25 10:31:25 1999 From: troy.stephens at page44.com (Troy Stephens) Date: Thu Nov 3 14:42:15 2005 Subject: context menus in OpenStep Enterprise 4.2? Message-ID: I'd like to put context menus in my OpenStep Enterprise app. (i.e. When the user right-clicks an object, pop up a menu of operations applicable to that object under the mouse pointer.) Is there a Cocoa/Yellow Box/OpenStep sanctioned/supported way to do this, or would I have to stoop to making direct Win32 calls?... Thanks! Troy Stephens troy.stephens@page44.com From garrison at talosiv.cit.cornell.edu Wed Aug 25 11:50:01 1999 From: garrison at talosiv.cit.cornell.edu (William Garrison) Date: Thu Nov 3 14:42:15 2005 Subject: what to do, what to do... Message-ID: <199908251845.OAA26258@postoffice.mail.cornell.edu> Folks, I'm working on getting the eBones Kerberos 4 distribution to work under MOSXS and I've run into a problemo. Some of the stuff works (e.g. kinit, kauth). However, none of the commands that require a call to gethostbyname() work. The one's I'm interested in (kpasswd, ksrvutil) crash with a segmentation fault. After some poking around with gdb, I managed to locate the crash site in lookupd. A gdb backtrace is attached for your amusement. #0 0x413017f0 in nxzonefreenolock () #1 0x4130134c in nxzonemallocnolock () #2 0x41323efc in malloc () #3 0x41348808 in strdup () #4 0x4136cf7c in convert_h () #5 0x4136d474 in lu_gethostbyname () #6 0x4136d7a8 in gethostbyname () #7 0x7378 in kadm_init_link (n=0x1fcec "changepw", i=0x1fcf8 "kerberos", r=0xbfffe1f8 "CIT.CORNELL.EDU") at kadm_cli_wrap.c:96 #8 0x49bc in get_svc_new_key (new_key=0xbfffe228, sname=0xbfffe1a8 "rcmd", sinst=0xbfffe1d0 "talosiv", srealm=0xbfffe1f8 "CIT.CORNELL.EDU", keyfile=0xbfffe63c "/etc/srvtab") at ksrvutil.c:222 #9 0x57f0 in main (argc=2, argv=0xbffffb68) at ksrvutil.c:511 #10 0x3fc4 in _start () #11 0x3e84 in start () The gethostbyname() routine takes one character string as an argument. In this instance, the routine is getting a well-formed string: a statically allocated char array, "char adm_hostname[MAXHOSTNAMELEN];". On examination in gdb, the char array has a value of "kerberos.cit.cornell.edu" with a terminating '\0'. So, it's not getting garbage, as far as I can determine. My question is this: is this a potential bug in the netinfo lookupd stuff?. I've written a couple of simple programs to exercise gethostbyname() and the kadm_init_link() routines and I can't get them to crash liek this with either valid or obviously invalid inputs. I've downloaded the Darwin source for lookupd (Libinfo-1), but haven't yet traced through it. Should I be bringing this up on an appropriate Darwin list? I don't want to cry wolf if it looks like the problem could be runtime thing rather than an OS bug. Any advise would be much appreciated. Thanks! Bill From buck.erik at mcleod.net Wed Aug 25 16:38:26 1999 From: buck.erik at mcleod.net (Erik M. Buck) Date: Thu Nov 3 14:42:15 2005 Subject: context menus in OpenStep Enterprise 4.2? Message-ID: <002101beef52$efd7b300$4f2b10d0@elcry> >Is there a Cocoa/Yellow Box/OpenStep sanctioned/supported way to do this, or >would I have to stoop to making direct Win32 calls?... > YES. See -setMenu: From kc at omnigroup.com Wed Aug 25 17:33:09 1999 From: kc at omnigroup.com (Ken Case) Date: Thu Nov 3 14:42:15 2005 Subject: what to do, what to do... Message-ID: <199908260033.RAA05682@scyther.omnigroup.com> > Some of the stuff works (e.g. kinit, kauth). However, none of > the commands that require a call to gethostbyname() work. The > one's I'm interested in (kpasswd, ksrvutil) crash with a > segmentation fault. After some poking around with gdb, I managed > to locate the crash site in lookupd. A gdb backtrace is attached > for your amusement. One thing to check is to make sure that nothing is modifying the hostent structure you get back from gethostbyname(). About a year ago, I found a bug in sendmail where it was directly modifying the returned h_aliases pointer from the hostent struct as it looped through a host's aliases. The next time gethostname() was called, it tried to free the old aliases pointer, which was no longer pointing at the block of memory which it had malloc()ed in the previous pass. Kaboom! In that sendmail crash, the relevant stack trace was: Program generated(1): Memory access exception on address 0x153680 (invalid address). #0 0x41303120 in nxzonefreenolock () #1 0x413061bc in free () #2 0x4137866c in freeold () #3 0x41377ba0 in convert_h () #4 0x413780e0 in lu_gethostbyname () Obviously, your case is somewhat different (you're dying in strdup(), not freeold()), but perhaps the underlying problem is similar (though not identical). You might also try cranking up the malloc_debug() level (see "man malloc") and see whether that catches anything. Ken From ullius at ivt.baum.ethz.ch Thu Aug 26 06:34:28 1999 From: ullius at ivt.baum.ethz.ch (Markus Ullius) Date: Thu Nov 3 14:42:15 2005 Subject: Choosing paper-tray for printing (NT) Message-ID: Hi I'm developing an application which should also print some created documents. Now there is a problem in choosing the tray. Independant of the printer settings under NT (where tray 2 is selected), the printer always takes its paper from tray 1? What can I do? Thanks Markus ------------------------------------------------------------------ Markus Ullius Institute of Transportation, Traffic, Highway & Railway Engineering (IVT) ETH Hoenggerberg 8092 Zurich Switzerland Fax: +41 1 633 10 57 Phone: +41 1 633 31 05 Direct: +41 1 633 24 15 http://www.ivt.baum.ethz.ch http://www.ivt.baum.ethz.ch/opentimetable.html From paulrs at lgs-systems.com Thu Aug 26 07:13:42 1999 From: paulrs at lgs-systems.com (Paul R. Summermatter) Date: Thu Nov 3 14:42:15 2005 Subject: context menus in OpenStep Enterprise 4.2? In-Reply-To: References: Message-ID: <9908261413.AA07219@slab> troy.stephens@page44.com wrote: [ I'd like to put context menus in my OpenStep Enterprise app. (i.e. When [ the user right-clicks an object, pop up a menu of operations applicable [ to that object under the mouse pointer.) [ [ Is there a Cocoa/Yellow Box/OpenStep sanctioned/supported way to do [ this, or would I have to stoop to making direct Win32 calls?... Troy, The NSView class on OS 4.2 implemented the menuForEvent: method. This could be used on Windows only to return a context menu. (see also the setMenu: method) Because of this limitation (win only), we, as well as others, rolled our own context menu functionality. In our case, we took the approach of grabbing rightMouseDown: and throwing up a borderless window with a matrix of choices in a modal loop. This wasn't beautiful (it didn't do any mouse tracking, didn't have nice divider lines, wouldn't scroll if the menu were larger than the screen, and couldn't do cascaded menus) but it worked and served its purpose well. In any event, you should not have to resort to WIN32 API calls. Regards, Paul --- Paul Summermatter LGS Systems, Inc. Medical Computing Division 15 TJ Gamester Ave Portsmouth, NH 03801-5871 (603) 433-9822 voice (603) 433-9818 fax (888) 898-6321 pager 8986321@skytel.com paging email paulrs@lgs-systems.com (NeXT or MIME Mail Welcome) http://www.lgs-systems.com From hiro at cc.kanagawa-u.ac.jp Thu Aug 26 23:36:33 1999 From: hiro at cc.kanagawa-u.ac.jp (Hiroyuki Sato) Date: Thu Nov 3 14:42:15 2005 Subject: logout from custom application Message-ID: <199908270631.PAA25178@kamome.cc.kanagawa-u.ac.jp> Dear developers. I would like to logout from custom application. Like this. NSWorkspace *workspace = [NSWorkspace sharedWorkspace]; [workspace logout]; [workspace logout] is virtual method I think NSWorkspace does not have this feature. And I know this is strange feature. Does anybody have good idea? regards. --- ------------------------------------ Hiroyuki Sato Information Processing Center Kanagawa Univ. Voice: +81-045-491-2572 Fax: +81-045-491-2575 E-Mail: hiro@cc.kanagawa-u.ac.jp (NeXT/MIME Mail Welcome) ------------------------------------ From eggi at menandmice.com Fri Aug 27 06:28:14 1999 From: eggi at menandmice.com (Eggert Thorlacius) Date: Thu Nov 3 14:42:15 2005 Subject: Using STL in Cocoa apps Message-ID: Hello all. I am trying to port a C++ application to the Cocoa environment, but the compiler chokes on the calls to the STL (Standard Template Library). Someone on this list mentioned that ObjectSpace makes portable STL libraries, but I have been unable to verify this, as their tech-support people apparently have no idea what MacOS X is. So my question is: is anyone here using the ObjectSpace libraries and if so, is there anything special that needs to be done for them to work under MacOS X ? And if the ObjectSpace libraries don't work, are you aware of any other method that can be used to get STL to compile? Regards, Eggert Thorlacius, eggi@menandmice.com Men & Mice http://www.menandmice.com From ahoesch at smartsoft.de Fri Aug 27 08:03:20 1999 From: ahoesch at smartsoft.de (Andreas Hoschler) Date: Thu Nov 3 14:42:15 2005 Subject: How to get color for selected tableview row? Message-ID: <9908271503.AA06734@smartsoft.de> Hi, this is hopefully a simple question. I've subclasses a cell that is used as a dataCell in a tableview. I've to do some drawing on my own. What color should one use to draw the background of cells in the selected row. On OPENSTEP I used [NSColor whiteColor] but on MacOS X Server, selected rows in a tableview are drawn with a blue color. I tried [NSColor selectedControlColor], [NSColor controlHighlightColor],... but nothing seemed to fit. Thanks, Andreas From cmh at greendragon.com Fri Aug 27 07:17:28 1999 From: cmh at greendragon.com (Chris Hanson) Date: Thu Nov 3 14:42:15 2005 Subject: Using STL in Cocoa apps In-Reply-To: References: Message-ID: At 6:36 AM -0700 8/27/99, Eggert Thorlacius wrote: >I am trying to port a C++ application to the Cocoa environment, but >the compiler chokes on the calls to the STL (Standard Template >Library). Are you using Mac OS X Consumer or Mac OS X Server? I don't know about Consumer, but the version of GCC shipped with Mac OS X Server is ancient and doesn't even have proper exception & RTTI support, let alone enough C++ conformance to handle STL. (It'd be super-cool if Apple would release an interim version of Mac OS X Server that uses and supports the very latest gcc, but I'm not holding my breath before Mac OS X.) From bbum at codefab.com Fri Aug 27 08:54:45 1999 From: bbum at codefab.com (Bill Bumgarner) Date: Thu Nov 3 14:42:15 2005 Subject: Posting to Lists with MailViewer Message-ID: <199908271554.LAA04692@bjork.codefab.com> If you are posting to the OmniGroup mailing list from MailViewer.app, make sure and configure MailViewer to filter out the 'X-Listprocessor-Version' header (you may need Scott Anguish's excellent SWSignature bundle to set this up). If you don't, the list processor will happily bounce your messages... I was beginning to think everyone had stuck me in their kill file until Ken Case was nice enough to forward my rejected messages to me. :-) b.bum From aep at apple.com Fri Aug 27 11:33:32 1999 From: aep at apple.com (Andrew Platzer) Date: Thu Nov 3 14:42:15 2005 Subject: How to get color for selected tableview row? Message-ID: <199908271833.LAA24695@scv2.apple.com> > this is hopefully a simple question. I've subclasses a cell that is used as > a dataCell in a tableview. I've to do some drawing on my own. What color > should one use to draw the background of cells in the selected row. On > OPENSTEP I used [NSColor whiteColor] but on MacOS X Server, selected rows in > a tableview are drawn with a blue color. I tried > > [NSColor selectedControlColor], [NSColor controlHighlightColor],... > > but nothing seemed to fit. It should be [NSColor selectedControlColor] (at least that's what the code in NSTableView uses.) Check with your colour panel (switch to the palettes view and select 'System' colours) and make sure it's set to light blue. Andrew Platzer Application Frameworks Apple Computer, Inc. From paulrs at lgs-systems.com Fri Aug 27 13:28:42 1999 From: paulrs at lgs-systems.com (Paul R. Summermatter) Date: Thu Nov 3 14:42:15 2005 Subject: Problem with menuForEvent: Message-ID: <9908272028.AA08403@slab> Hey guys, I have a simple but very annoying gripe about the menuForEvent: implementation. For some reason unknown to me, the menuForEvent: method is called before processing the mouseDown:. The problem with this is that when you right-click or control-click something, the something doesn't have a chance to show itself highlighted before the menu appears. It isn't until after the menu has been dismissed that the click is processed. Of course, this makes life very confusing for the users. Anyone know of a way around this? Thanks, Paul --- Paul Summermatter LGS Systems, Inc. Medical Computing Division 15 TJ Gamester Ave Portsmouth, NH 03801-5871 (603) 433-9822 voice (603) 433-9818 fax (888) 898-6321 pager 8986321@skytel.com paging email paulrs@lgs-systems.com (NeXT or MIME Mail Welcome) http://www.lgs-systems.com From bungi at omnigroup.com Fri Aug 27 14:57:16 1999 From: bungi at omnigroup.com (Timothy J. Wood) Date: Thu Nov 3 14:42:15 2005 Subject: EGCS on MacOS X Server (was Re: Using STL in Cocoa apps) Message-ID: <199908272157.OAA26394@electabuzz.omnigroup.com> A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 2115 bytes Desc: not available Url : /mailman/archive/macosx-dev/attachments/19990827/8524b0fa/attachment.bin From driedel at home.com Fri Aug 27 14:59:11 1999 From: driedel at home.com (David P. Riedel) Date: Thu Nov 3 14:42:15 2005 Subject: Using STL in Cocoa apps References: Message-ID: <37C70A2F.29D931AB@home.com> there is a version of egcs on the darwin site which does compile on mosxs. you might then be able to compile the stl-port from boris formachev (sp?). dave riedel Eggert Thorlacius wrote: > Hello all. > > I am trying to port a C++ application to the Cocoa environment, but > the compiler chokes on the calls to the STL (Standard Template > Library). > > Someone on this list mentioned that ObjectSpace makes portable STL > libraries, but I have been unable to verify this, as their > tech-support people apparently have no idea what MacOS X is. > > So my question is: is anyone here using the ObjectSpace libraries and > if so, is there anything special that needs to be done for them to > work under MacOS X ? > And if the ObjectSpace libraries don't work, are you aware of any > other method that can be used to get STL to compile? > > Regards, > Eggert Thorlacius, eggi@menandmice.com > Men & Mice http://www.menandmice.com From paulrs at lgs-systems.com Sat Aug 28 06:39:46 1999 From: paulrs at lgs-systems.com (Paul R. Summermatter) Date: Thu Nov 3 14:42:15 2005 Subject: NSSetUncaughtExceptionHandler Message-ID: <9908281339.AA09143@slab> Hey guys, I know I'm revealing my C weakness in this post, but how do I declare and then set my own exception handler using the NSSetUncaughtException. I've tried the following which gives me a compiler warning that "passing arg 1 of 'NSSetUncaughtExceptionHandler' from incompatible pointer type", and then, at runtime, though I have stepped through the call to NSSetUncaughtExceptionHandler() in applicationDidFinishLaunching:, my function is never used: volatile void LGSUncaughtExceptionHandler(NSException *exception) { // Log the exception and the user info. // Run an alert panel for the user. // Terminate the NSApp. return; } @implementation ApplicationDelegate - (void)applicationDidFinishLaunching:(NSNotification *)notification { NSSetUncaughtExceptionHandler(LGSUncaughtExceptionHandler); return; } - (void)raiseException:(id)sender { [NSException raise:@"UncaughtException" format:@"An Uncaught Exception"]; return; } @end Further, once I have my own function declared as the exception handler, is there a sure fire way to force the app to terminate immediately (calling terminate on NSApp gives the delegate an opportunity to override this termination). Regards, Paul --- Paul Summermatter LGS Systems, Inc. Medical Computing Division 15 TJ Gamester Ave Portsmouth, NH 03801-5871 (603) 433-9822 voice (603) 433-9818 fax (888) 898-6321 pager 8986321@skytel.com paging email paulrs@lgs-systems.com (NeXT or MIME Mail Welcome) http://www.lgs-systems.com From paulrs at lgs-systems.com Sat Aug 28 08:21:39 1999 From: paulrs at lgs-systems.com (Paul R. Summermatter) Date: Thu Nov 3 14:42:15 2005 Subject: Problem with menuForEvent: In-Reply-To: <9908272349.AA00360@sunshineco.com> References: <9908272028.AA08403@slab> <9908272349.AA00360@sunshineco.com> Message-ID: <9908281521.AA09174@slab> Hey guys, I wanted to thank Eric and Jerome for their help on this problem. My post was a little hasty. As Jerome pointed out, mouseDown: is never actually called. I don't understand the logic of this. If anyone wants to tackle that question, I would appreciate it. In any event, I had already implemented my own workaround (which I forgot about), but it's working on MOSXS and not on NT. The problem is that I have a control which is fed data by a custom EOAssociation. When clicking on a cell in the control (cells are representative of objects in the association's display group), the association (delegate of the control) is asked to modify the selection. The association does so by modifying the selection in the displayGroup. The displayGroup then calls subjectChanged on its associations. My custom control's association then tells the control to actually select the cells. If you've made it this far, you're doin' well :-). The problem seems to be that the subjectChanged comes after a delay (see the EODelayedObserver doc) and on NT, the display isn't refreshed while a menu is up, but on MOSXS, the display is refreshed. So, while on both platforms the cell(s) is selected, only on MOSXS does the cell redraw itself while the menu is still up. Regards, Paul [ On Fri, 27 Aug 1999 13:40:58 -0700 (PDT), Paul R. Summermatter wrote: [ > I have a simple but very annoying gripe about the menuForEvent: [ > implementation. For some reason unknown to me, the menuForEvent: [ > method is called before processing the mouseDown:. The problem with [ > this is that when you right-click or control-click something, the [ > something doesn't have a chance to show itself highlighted before [ > the menu appears. It isn't until after the menu has been dismissed [ > that the click is processed. Of course, this makes life very [ > confusing for the users. Anyone know of a way around this? --- Paul Summermatter LGS Systems, Inc. Medical Computing Division 15 TJ Gamester Ave Portsmouth, NH 03801-5871 (603) 433-9822 voice (603) 433-9818 fax (888) 898-6321 pager 8986321@skytel.com paging email paulrs@lgs-systems.com (NeXT or MIME Mail Welcome) http://www.lgs-systems.com From ryan at omnigroup.com Sat Aug 28 13:27:58 1999 From: ryan at omnigroup.com (Ryan Dingman) Date: Thu Nov 3 14:42:15 2005 Subject: NSSetUncaughtExceptionHandler Message-ID: <199908282027.NAA23898@arcanine.omnigroup.com> > I know I'm revealing my C weakness in this post, but how do I > declare and then set my own exception handler using the > NSSetUncaughtException. I've tried the following which gives me a compiler > warning that "passing arg 1 of 'NSSetUncaughtExceptionHandler' from > incompatible pointer type", and then, at runtime, though I have stepped > through the call to NSSetUncaughtExceptionHandler() in > applicationDidFinishLaunching:, my function is never used: NSSetUncaughtExceptionHandler needs the address of your function so your implementation of -applicationDidFinishLaunching should look like this. - (void)applicationDidFinishLaunching:(NSNotification *)notification { NSSetUncaughtExceptionHandler(&LGSUncaughtExceptionHandler); } > Further, once I have my own function declared as the exception handler, is > there a sure fire way to force the app to terminate immediately calling > terminate on NSApp gives the delegate an opportunity to override this > termination). You can call exit(). This function does a couple of things to clean up and then terminates your process. Hope this helps. ryan -- Ryan Dingman Omni Development, Inc. ryan@omnigroup.com From rvamerongen at zeelandnet.nl Sat Aug 28 13:59:17 1999 From: rvamerongen at zeelandnet.nl (R.H van Amerongen) Date: Thu Nov 3 14:42:15 2005 Subject: ... Message-ID: Hi, When I look at the popup's in MacOS I will see ... 3 dots when the text is to width to filt inside the closed popup. I see this not in MacOSXS. Is this a bug ... and will this change in the near future (apple?) or... do I have to make this by myself and if yes how will I do this. Ren? From bungi at omnigroup.com Sat Aug 28 15:54:51 1999 From: bungi at omnigroup.com (Timothy J. Wood) Date: Thu Nov 3 14:42:15 2005 Subject: NSSetUncaughtExceptionHandler Message-ID: <199908282254.PAA22903@electabuzz.omnigroup.com> From: "Paul R. Summermatter" [...] >.. but how do I declare and then set my own exception handler using the >NSSetUncaughtException. I've tried the following which gives me a compiler >warning that "passing arg 1 of 'NSSetUncaughtExceptionHandler' from >incompatible pointer type", and then, at runtime, though I have stepped >through the call to NSSetUncaughtExceptionHandler() in >applicationDidFinishLaunching:, my function is never used: From: Ryan Dingman [...] >NSSetUncaughtExceptionHandler needs the address of your function so >your implementation of -applicationDidFinishLaunching should look >like this. > >- (void)applicationDidFinishLaunching:(NSNotification *)notification >{ > NSSetUncaughtExceptionHandler(&LGSUncaughtExceptionHandler); >} Ryan has been getting into the wacky-weed or something... :) You never need to take the address of functions -- you just pass them. You are most likely getting warning because your function is not of the required type. Your function is: >volatile void LGSUncaughtExceptionHandler(NSException *exception) But NSException.h defines: >typedef void NSUncaughtExceptionHandler(NSException *exception); Remove the 'volatile' and you should not get a warning. As to why your function is never called, its probably because you are misunderstanding what this handler does. I believe that this function is what is used if there is _NO_ wrapping NS_DURING block anywhere in the stack for the current thread. If you are just using a simple AppKit program it will ensure that there is always a top-level exception handler. If you fork a thread, you have to establish your own top level handler, otherwise the uncaught handler will be used when an exception is raised in that thread. If you want to do something special with exceptions that make their way up to AppKit's handler, you should subclass NSApplication and implement a -reportException: method. -tim From aitkena at cbs.curtin.edu.au Sat Aug 28 21:07:42 1999 From: aitkena at cbs.curtin.edu.au (Ashley Aitken) Date: Thu Nov 3 14:42:15 2005 Subject: Managing MacOS X Server Documentation? Message-ID: Howdy All, I'm at that stage where I need FAST and EASY access to UP-TO-DATE MacOS X Server documentation (e.g. Cocoa, EOF, WebObjects). I'm trying to find out what is the best way to manage the documentation that Apple provides with the OS and on the Developer CD's. I would like to feel confident that I have access to all the documentation and it is the latest versions of the documentation. With the material provided with the OS, the material sent on the Developer CD's and the on-line material I am never sure where to look. Of course, if I always had direct Internet access when I developed I could always just use Apple's on-line documentation (hoping that they would have things their act together). Unfortunately, I'm not always on-line so I need to set up a local documentation repository. I have all the installed documentation and I receive all the Select Developer CDs (with what little OS X Server information they contain). My problem is how to manage this documentation. Everytime a new CD comes (or three or four) am I supposed to go through all the documentation and copy it into its right location? How do other best manage MacOS X Server documentation? Surely Apple could provide an "installer application' to install new documentation? All we should have to do is pop each new CD in the drive and click on install the documentation sets we're interested in. Am I missing something? Many thanks for any suggestions. Cheers, Ashley Aitken. -- Lecturer, Object-Oriented Software Engineering School of Information Systems, Curtin Business School, Curtin University. Rm 407.331 Em A.Aitken@Curtin.Edu.au Ph (08) 9266-7075 Fx (08) 9266-3076 From ryan at omnigroup.com Sat Aug 28 23:10:28 1999 From: ryan at omnigroup.com (Ryan Dingman) Date: Thu Nov 3 14:42:15 2005 Subject: NSSetUncaughtExceptionHandler Message-ID: <199908290610.XAA26481@arcanine.omnigroup.com> > From: Ryan Dingman > [...] > >NSSetUncaughtExceptionHandler needs the address of your function so > >your implementation of -applicationDidFinishLaunching should look > >like this. > > > >- (void)applicationDidFinishLaunching:(NSNotification *)notification > >{ > > NSSetUncaughtExceptionHandler(&LGSUncaughtExceptionHandler); > >} > > > Ryan has been getting into the wacky-weed or something... :) Ummm, yea, I don't know what I was thinking when I wrote this ;) I also for some reason sent this response to the WebObjects list also. My bad. I'll stop posting after a long day ;) ryan From paulrs at lgs-systems.com Sun Aug 29 10:52:16 1999 From: paulrs at lgs-systems.com (Paul R. Summermatter) Date: Thu Nov 3 14:42:15 2005 Subject: NSSetUncaughtExceptionHandler & Handling exceptions during timer fires Message-ID: <9908291752.AA09828@slab> Guys, Thanks to all for their help on my problem with NSSetUncaughtExceptionHandler. Unfortunately, my original reason for posting, which was to grab exceptions raised during the firing of a timer, has not been resolved. In this instances, neither my uncaught exception handler nor NSApplication's method reportException: is called. So, I'm back to square one. If anyone has any other suggestions, I would love to hear them. Regards, Paul --- Paul Summermatter LGS Systems, Inc. Medical Computing Division 15 TJ Gamester Ave Portsmouth, NH 03801-5871 (603) 433-9822 voice (603) 433-9818 fax (888) 898-6321 pager 8986321@skytel.com paging email paulrs@lgs-systems.com (NeXT or MIME Mail Welcome) http://www.lgs-systems.com From paulrs at lgs-systems.com Sun Aug 29 10:42:26 1999 From: paulrs at lgs-systems.com (Paul R. Summermatter) Date: Thu Nov 3 14:42:15 2005 Subject: NSSetUncaughtExceptionHandler In-Reply-To: <199908282254.PAA22903@electabuzz.omnigroup.com> References: <199908282254.PAA22903@electabuzz.omnigroup.com> Message-ID: <9908291742.AA09820@slab> Tim, Thanks. I guess I know my C better than I thought. The reason I had the volatile was because the Foundation Functions documentation says: "typedef volatile void NSUncaughtExceptionHandler(NSException *exception)" In any event, removing the volatile did the trick. However, you were right that I did not understand the purpose of this method. I have been posting repeatedly on the topic of exceptions which occur during timer fires (particularly those that happen during EOF delayed observation). I have an error handler block (NS_DURING ...) in main which never grabs these exceptions, and I have been trying to figure a way around this. Whenever these exceptions occur, I want the app to quit gracefully. I will try overriding reportException to see if that does the trick. On that thought, why isn't the delegate of NSApp afforded the opportunity to handle the exception? Seems like this would be a nice hook. Regards, Paul tjwood@omnigroup.com wrote: [ From: "Paul R. Summermatter" [ [...] [ >.. but how do I declare and then set my own exception handler using the [ >NSSetUncaughtException. I've tried the following which gives me a [ compiler [ >warning that "passing arg 1 of 'NSSetUncaughtExceptionHandler' from [ >incompatible pointer type", and then, at runtime, though I have stepped [ >through the call to NSSetUncaughtExceptionHandler() in [ >applicationDidFinishLaunching:, my function is never used: [ [ From: Ryan Dingman [ [...] [ >NSSetUncaughtExceptionHandler needs the address of your function so [ >your implementation of -applicationDidFinishLaunching should look [ >like this. [ > [ >- (void)applicationDidFinishLaunching:(NSNotification *)notification [ >{ [ > NSSetUncaughtExceptionHandler(&LGSUncaughtExceptionHandler); [ >} [ [ [ Ryan has been getting into the wacky-weed or something... :) [ [ You never need to take the address of functions -- you just pass [ them. You are most likely getting warning because your function is [ not of the required type. Your function is: [ [ >volatile void LGSUncaughtExceptionHandler(NSException *exception) [ [ But NSException.h defines: [ [ >typedef void NSUncaughtExceptionHandler(NSException *exception); [ [ Remove the 'volatile' and you should not get a warning. As to why [ your function is never called, its probably because you are [ misunderstanding what this handler does. I believe that this [ function is what is used if there is _NO_ wrapping NS_DURING block [ anywhere in the stack for the current thread. [ [ If you are just using a simple AppKit program it will ensure that [ there is always a top-level exception handler. If you fork a thread, [ you have to establish your own top level handler, otherwise the [ uncaught handler will be used when an exception is raised in that [ thread. [ [ If you want to do something special with exceptions that make [ their way up to AppKit's handler, you should subclass NSApplication [ and implement a -reportException: method. [ [ -tim [ --- Paul Summermatter LGS Systems, Inc. Medical Computing Division 15 TJ Gamester Ave Portsmouth, NH 03801-5871 (603) 433-9822 voice (603) 433-9818 fax (888) 898-6321 pager 8986321@skytel.com paging email paulrs@lgs-systems.com (NeXT or MIME Mail Welcome) http://www.lgs-systems.com From bungi at omnigroup.com Sun Aug 29 13:27:34 1999 From: bungi at omnigroup.com (Timothy J. Wood) Date: Thu Nov 3 14:42:15 2005 Subject: NSSetUncaughtExceptionHandler & Handling exceptions during timer Message-ID: <199908292027.NAA06653@electabuzz.omnigroup.com> >Unfortunately, my original reason for >posting, which was to grab exceptions raised during the firing of a timer, >has not been resolved. In this instances, neither my uncaught exception >handler nor NSApplication's method reportException: is called. So, I'm back >to square one. If anyone has any other suggestions, I would love to hear >them. Ah, yeah. NSRunLoop eats these exceptions (AppKit knows nothing about NSTimers -- that is the province of the runloop). The only exceptions that the AppKit catches are those that happen during even processing. If you want to do some thing like this, then your time message should look like: - (void) myTimerCallback: (NSTimer *) timer /* or the userInfo, if you have one */ { NS_DURING { // do something that might go kaboom } NS_HANDLER { // clean up after our mess } NS_ENDHANDLER; } From nhoj at cd.chalmers.se Sun Aug 29 14:36:13 1999 From: nhoj at cd.chalmers.se (nhoj@cd.chalmers.se) Date: Thu Nov 3 14:42:15 2005 Subject: GraphicKit beta 3 available Message-ID: <19990829213614.5753.qmail@glenn> Beta release three of the GraphicKit is now available at http://www.cd.chalmers.se/~nhoj/GraphicKit. All reported bugs have been fixed. However, I cannot fix bugs that I'm not aware of, so I urge everyone to report any problems or deficiencies that they encounter. I'm still adding features, so if there is anything you want in a graphics framework, this is the time to tell me! Regards, John Hornkvist From buck.erik at mcleod.net Sun Aug 29 17:06:27 1999 From: buck.erik at mcleod.net (Michelle L. Buck) Date: Thu Nov 3 14:42:15 2005 Subject: NSSetUncaughtExceptionHandler Message-ID: <002201bef27b$81adc1e0$122810d0@default> There was source code for an object that could catch uncaught exceptions as well as UNIX signals. I think it was called OEObject or EOObject. Anyway, that source code should show you how to handle errors and continue or quit gracefully. From buck.erik at mcleod.net Sun Aug 29 17:15:36 1999 From: buck.erik at mcleod.net (Michelle L. Buck) Date: Thu Nov 3 14:42:15 2005 Subject: NSSetUncaughtExceptionHandler Message-ID: <002501bef27c$c931c060$122810d0@default> http://www.peak.org/ftp/pub/openstep/multi-platforms/sourcelibrary/classes/C rashTrap.1.6.README From norbert.heger at obdev.at Mon Aug 30 03:47:13 1999 From: norbert.heger at obdev.at (Norbert Heger) Date: Thu Nov 3 14:42:15 2005 Subject: NSSetUncaughtExceptionHandler & Handling exceptions during timer References: <9908291752.AA09828@slab> Message-ID: <9908301047.AA03957@cray> Paul Summermatter wrote: > Unfortunately, my original reason for posting, which was to grab > exceptions raised during the firing of a timer, has not been > resolved. In this instances, neither my uncaught exception handler > nor NSApplication's method reportException: is called. So, I'm back > to square one. If anyone has any other suggestions, I would love > to hear them. I've spent days on this topic, since I wanted my app to display any unhandled exception to the user by raising an alert panel. This turned out to be a non trivial task. The probem is, that NSTimer as well as NSRunLoop is catching all the exceptions that are raised during the delayed invocation. Timothy J. Wood suggested to perform the proper exception handling inside your timer message. That works fine as long this message resides in your own code. But if you do call a framework method like [window performSelector:@selector(orderFront:) withObject:nil afterDelay:0]; you cannot add the required exception handling to NSWindow's orderFront: method. Well, you could wrap the invocation in your own code - (void)myOrderFront:(id)sender { [window orderFront:sender]; } and call [self performSelector:@selector(myOrderFront:) withObject:nil afterDelay:0]; instead. Now you can add the exception handler to 'myOrderFront:'. But even this aproach doesn't work, if the delayed invocation is triggered by the framework itself. (e.g. EOF very often uses delayed invocations internally). Besides, none of these 'solutions' provides a secure way to catch ALL exceptions. If you forget to implement just one handler, the exception is lost without any obvious warning. The app just continues to run, no chance to suggest the user to quit and restart, no chance for the developer to receive useful hints from the user (well yes, you may advise the user to look at the console output and search for lines talking about exceptions...) *** THE SOLUTION *** The best solution I found, is to use a 'delayed invocation wrapper' object that stores all the relevant invocation parameters (target, selector, argument) and provides a 'fire' method that performs the final invocation using a proper exception handler. This wrapper is created automatically in a posing NSObject, NSTimer and NSRunloop subclass. The delayed invocation is redirected to the wrapper's 'fire' method. So far so simple. The tricky part of this aproach is how to cancel previous invocation requests and how to release the wrappers when they are no longer used. (e.g. [NSRunLoop performSelector:...] doesn't retain the target, therefore someone else must retain it, and release it when the invocation was fired). Norbert _____________________________ _________________________________ O B J E C T I V E D E V E L O P M E N T Norbert Heger OpenStep MacOS-X EOF WebObjects norbert.heger@obdev.at Software Development +43-664-2811777 www.obdev.at From garrison at talosiv.cit.cornell.edu Mon Aug 30 07:02:50 1999 From: garrison at talosiv.cit.cornell.edu (William Garrison) Date: Thu Nov 3 14:42:15 2005 Subject: ...don't know much about ProjectBuilder,... Message-ID: <199908301358.JAA19674@postoffice.mail.cornell.edu> Folks, I've checked out the source for Libinfo from the Darwin CVS, in an attempt to further track down the problem I found wherein lookupd is attempting to free memory of dubious integrity. At first, I was elated that it was organized as a PB project. I opened it up and clicked the build button...then I got the following messages. Could someone throw me a bone on how to interpret this? Note that the explicit complaint here is that a file "ni_prot.h" is supposedly missing. I say supposedly, because when I looked in the directory specified by the twisty path, a valid file named "ni_prot.h" is there, recently generated by /usr/bin/rpcgen. I searched all through the Makefiles of the main and various subprojects contained in the Libinfo package and I can't find one place where /usr/bin/rpcgen is getting invoked. A general clue about where PB gets its marching orders for building code (besides the makefiles) would be a big help. I wish O'Reilly would publish a Project Builder book! ;-) Bill == Making target all for info (ppc) == Exporting headers... ...for info ...for dns ...for gen ...for lookup ...for netinfo /usr/bin/rpcgen -h -o .././derived_src/netinfo.subproj/ni_prot.h ni_prot.x /usr/bin/rpcgen -h -o .././derived_src/netinfo.subproj/nibind_prot.h nibind_prot.x .././Headers/netinfo/.././derived_src/netinfo.subproj/ni_prot.h: No such file or directory gnumake[4]: *** [copy_my_headers] Error 1 gnumake[3]: *** [export_headers_recursively] Error 2 ---- Stopping build due to failure in netinfo.subproj gnumake[2]: *** [export_headers_recursively] Error 1 gnumake[1]: *** [export_headers] Error 2 gnumake: *** [all] Error 2 From nhoj at cd.chalmers.se Mon Aug 30 10:57:53 1999 From: nhoj at cd.chalmers.se (nhoj@cd.chalmers.se) Date: Thu Nov 3 14:42:15 2005 Subject: GraphicKit beta 4 available In-Reply-To: <19990829213614.5753.qmail@glenn> References: <19990829213614.5753.qmail@glenn> Message-ID: <19990830175754.9721.qmail@glenn> Beta release 4 of the GraphicKit is now available. As usual, you can find it at http://www.cd.chalmers.se/~nhoj/GraphicKit. It now handles image fills without getting confused when shapes are scaled by negative values. Also, text fills of complex graphics are supported using NSAttributedString, to complement the simpler text graphic object. It seems, however, that there is a bug in NSAttributedString on RDR2 for Intel; text reads from bottom to top rather than from top to bottom. Does this happen on the release version also? In that case, does anyone know of a workaround. Further, I'm trying to compile a list of features that people want, so I'd appreciate any input. Regards, John Hornkvist From lux at umich.edu Mon Aug 30 11:16:26 1999 From: lux at umich.edu (Joshua Marker) Date: Thu Nov 3 14:42:15 2005 Subject: Project Builder emacs keys? Message-ID: It's starting to get to me, so it must have gotten someone else in the past. Is there a bundle that activates emacs-style keys in PB? --- Joshua (lux) * San Francisco PCS: 415 / 505.9406 Sorting out my life. . . .in O(n lg n). All the good things in life are immoral, illegal, or heavily taxed. -- Oscar Wilde --- From paulrs at lgs-systems.com Sun Aug 29 15:17:42 1999 From: paulrs at lgs-systems.com (Paul R. Summermatter) Date: Thu Nov 3 14:42:15 2005 Subject: NSSetUncaughtExceptionHandler In-Reply-To: <001501bef256$008e7d40$9d0eca11@verbosity.apple.com> References: <001501bef256$008e7d40$9d0eca11@verbosity.apple.com> Message-ID: <9908292217.AA10000@slab> You wrote: [ Paul R. Summermatter writes: [ >I have been [ >posting repeatedly on the topic of exceptions which occur during timer [ fires [ >(particularly those that happen during EOF delayed observation). I have [ an [ >error handler block (NS_DURING ...) in main which never grabs these [ >exceptions, and I have been trying to figure a way around this. [ >Whenever these exceptions occur, I want the app to quit gracefully. [ [ An exception handler is catching the exception raises before they [ percolate back to you. The fix is simple: put an exception handler down [ in execution scope you control. [ [ Put an NS_DURING handler in the outer scope of the method(s) you fire [ with the timer(s), and call your CleanupAndExitNicely() function from [ the HANDLER region. Chris, Thanks for the response. I don't think I was clear enough in my post. The problem comes up with EODelayedObserver stuff. Most of the times (and they are very rare, but tend to be hard to reproduce bugs), the problems crop up when an association is redisplaying itself. As an example, I've seen one or two situations when testing when an eo was freed prematurely and something was put in its place. When the association redisplayed itself, it tried to send a message to the wrong object and an exception was raised. Unfortunately, in these situations, my code is nowhere to be found on the stack. There are specific workarounds for certain situations in EOF (like fire fault failures), but I would really prefer it if something like: +[NSTimer setExceptionHander:] existed. In this way, I wouldn't have to worry about implementing a bunch of specific solutions for what, in my mind, is really a general problem. Thanks, Paul --- Paul Summermatter LGS Systems, Inc. Medical Computing Division 15 TJ Gamester Ave Portsmouth, NH 03801-5871 (603) 433-9822 voice (603) 433-9818 fax (888) 898-6321 pager 8986321@skytel.com paging email paulrs@lgs-systems.com (NeXT or MIME Mail Welcome) http://www.lgs-systems.com From paulrs at lgs-systems.com Mon Aug 30 12:31:56 1999 From: paulrs at lgs-systems.com (Paul R. Summermatter) Date: Thu Nov 3 14:42:15 2005 Subject: NSSetUncaughtExceptionHandler & Handling exceptions during timer In-Reply-To: <9908301047.AA03957@cray> References: <9908291752.AA09828@slab> <9908301047.AA03957@cray> Message-ID: <9908301931.AA10712@slab> Norbert Heger wrote: [ Paul Summermatter wrote: [ > Unfortunately, my original reason for posting, which was to grab [ > exceptions raised during the firing of a timer, has not been [ > resolved. In this instances, neither my uncaught exception handler [ > nor NSApplication's method reportException: is called. So, I'm back [ > to square one. If anyone has any other suggestions, I would love [ > to hear them. [ [ [ [ [ Norbert Heger OpenStep MacOS-X EOF WebObjects [ norbert.heger@obdev.at Software Development [ +43-664-2811777 www.obdev.at Norbert et al, Based on your tests, is it your assumption that NSTimer's fire method looks something like: - (void)fire { NS_DURING // send the invocation NS_HANDLER NSLog([localException reason]); NS_ENDHANDLER return; } If so, why wouldn't the handler block ask NSApp to raiseException just like everybody else? Regards, Paul --- Paul Summermatter LGS Systems, Inc. Medical Computing Division 15 TJ Gamester Ave Portsmouth, NH 03801-5871 (603) 433-9822 voice (603) 433-9818 fax (888) 898-6321 pager 8986321@skytel.com paging email paulrs@lgs-systems.com (NeXT or MIME Mail Welcome) http://www.lgs-systems.com From fabien-roy at mediaring.com Mon Aug 30 15:41:31 1999 From: fabien-roy at mediaring.com (Fabien Roy) Date: Thu Nov 3 14:42:15 2005 Subject: SNMP Framework. Message-ID: <199908302241.PAA04702@scyther.omnigroup.com> Hi, I am looking for an SNMP framework or library (free or commercial) so we can monitor our apps with HP-OpenView. Thanks. Fabien. -- Fabien Roy Senior Manager, MIS MediaRing Inc. 99 West Tasman Drive Suite 280 San Jose, CA 95134 fabien-roy@mediaring.com Tel: (408) 383-9222 Fax: (408) 383-9223 From afleming at andrew.cmu.edu Mon Aug 30 16:13:15 1999 From: afleming at andrew.cmu.edu (Andrew M Fleming) Date: Thu Nov 3 14:42:15 2005 Subject: Document woes Message-ID: Can anyone think of an error I can make such that my program will compile beautifully and launch from within ProjectBuilder, but does nothing when I launch the compiled program from Workspace Manager? I have a document based program which starts up with a new document, will save, and can reopen the file later with no trouble...as long as I launch the program from within PB. Otherwise the program launches, and does nothing. If I select New Document... from the Menu, nothing happens. If I select Open Document... from the menu, I get an error, "Can't open ", once I have selected which file to open. Nothing is output to the Workspace Console. All of these things work perfectly from within Project Builder. If you need to see the code, tell me, and I will send it to you/put it up for ftp. Please help. I have looked everywhere, and cannot see what would be causing this problem. --Andy Fleming Carnegie Mellon University Carnegie Institute of Technology Electrical and Computer Engineering From karl at nfox.com Mon Aug 30 16:43:47 1999 From: karl at nfox.com (Karl Kraft) Date: Thu Nov 3 14:42:15 2005 Subject: Document woes References: Message-ID: <029701bef341$8bd57ac0$0329040a@nfox.com> This is a pretty common error for people new to Foundation. Most likely you are using the relative paths to your nibs or other resources. When you run from project builder, the current working directory is the project directory. So the paths work. When run form Workspace Manager the working directory is your home directory. Make sure you use the NSBundle methods anywhere you need to figure out the full path to a resource. If you still can't figure it out, email me an I will make arrangements to walk you through it. ----- Original Message ----- From: Andrew M Fleming To: Multiple recipients of list Sent: Monday, August 30, 1999 4:19 PM Subject: Document woes Can anyone think of an error I can make such that my program will compile beautifully and launch from within ProjectBuilder, but does nothing when I launch the compiled program from Workspace Manager? I have a document based program which starts up with a new document, will save, and can reopen the file later with no trouble...as long as I launch the program from within PB. Otherwise the program launches, and does nothing. If I select New Document... from the Menu, nothing happens. If I select Open Document... from the menu, I get an error, "Can't open ", once I have selected which file to open. Nothing is output to the Workspace Console. All of these things work perfectly from within Project Builder. If you need to see the code, tell me, and I will send it to you/put it up for ftp. Please help. I have looked everywhere, and cannot see what would be causing this problem. --Andy Fleming Carnegie Mellon University Carnegie Institute of Technology Electrical and Computer Engineering From kc at omnigroup.com Mon Aug 30 17:30:56 1999 From: kc at omnigroup.com (Ken Case) Date: Thu Nov 3 14:42:15 2005 Subject: Project Builder emacs keys? Message-ID: <199908310030.RAA02187@scyther.omnigroup.com> > It's starting to get to me, so it must have gotten someone else > in the past. Is there a bundle that activates emacs-style keys > in PB? Check out /System/Documentation/Developer/YellowBox/TasksAndConcepts/ProgrammingTopics/TextDefaultsAndBindings.pdf. On page 4, you'll find an example which adds emacs keybindings to every text object in every Cocoa application (including ProjectBuilder). The only additions I make in my version of this file are to add a binding of Shift-Return to insertNewLine: (so it doesn't insert some wack Unicode character which means you can no longer save your source as ASCII) and binding Alt-escape to _cancelKey:, since that's what escape used to be before we remapped it to complete:. The two lines to do that are: "$\015" = "insertNewline:"; /* Shift-carriage return */ "~\033" = "_cancelKey:"; /* Alt-escape (private API in NSWindow handles this) */ It sure is nice having Emacs key bindings in every Cocoa app... Ken From caffeine at toodarkpark.org Mon Aug 30 20:01:13 1999 From: caffeine at toodarkpark.org (Howie) Date: Thu Nov 3 14:42:15 2005 Subject: SNMP Framework. In-Reply-To: <199908302241.PAA04702@scyther.omnigroup.com> Message-ID: On Mon, 30 Aug 1999, Fabien Roy wrote: > Hi, > > I am looking for an SNMP framework or library (free or commercial) so we can > monitor our apps with HP-OpenView. CMU has a rather nice SNMP library available... check [http://www.gaertner.de/snmp/] for more info. also [ftp://rtfm.mit.edu/pub/usenet/comp.protocols.snmp/] assuming it compiles cleanly under OSXServer, NT, Solaris, and HPUX, there's no reason one couldnt create an objc wrapper around it. i also remember seeing a NEXTSTEP-based SNMP monitoring app, but im not sure if its still available or if its been ported to OPENSTEP/Mach, which would aid in the OSXS port. --- Howie URL: http://www.toodarkpark.org "The distance between insanity and genius is measured only by success." From rthomas at uiuc.edu Mon Aug 30 22:23:45 1999 From: rthomas at uiuc.edu (Ryan Thomas) Date: Thu Nov 3 14:42:15 2005 Subject: EGCS on MacOS X Server (was Re: Using STL in Cocoa apps) In-Reply-To: <199908272157.OAA26394@electabuzz.omnigroup.com> Message-ID: <4.2.0.58.19990830233813.00d3f750@ntx1.cso.uiuc.edu> Thanks, Tim. I'm now subscribed to PublicSource. Please bear with me. I downloaded said egcs package and ran ./configure and make without any parameters and it seemed to compile just fine. But, what's the next step? Everything went into subdirs of , and the makefile seems to suggest they were supposed to. (?) Why do these Darwin packages never have any INSTALL or README docs? Where can I read about whatever next/rhapsody/mosxs -specific stuff it is I'm lacking in order to know how to install these Darwin packages? For example, how the heck did you come up with this? RC_OS=3Dnextstep RC_ARCHS=3Dppc RC_CFLAGS=3D'-arch ppc' make TARGETS=3Dppc= HOSTS=3Dppc build Also, I've not seen DSTROOT, SYMROOT, OBJROOT anywhere but in next/rhapsody/mosxs -related installs (often needing to be defined on the command line, I assume). Where can I learn about these idiosyncracies? Thanks. -Ryan At 03:07 PM 8/27/99 -0700, Timothy J. Wood wrote: > If you read the PublicSource@public.lists.apple.com, you might have >noticed the thread about this. > > > Wilfredo just put up the real egcs package at = >http://www.publicsource.apple.com/projects/darwin/source/egcs-2.tar.gz > > > This isn't 2.95.1, but it is close enought that I can open it in = >FileMerge and not just get an uncomprehensible mess. It's close enough = >that it looks like someone could actually do the merge with 2.95.1 with = >a non-zero chance of success (although hopefully Apple will do this = >before MacOS X Client ships). > > > I've downloaded it and built it and compiled some code with it already = >(No C++, just ObjC). The command I used to build it was: > > >cd < > >RC_OS=3Dnextstep RC_ARCHS=3Dppc RC_CFLAGS=3D'-arch ppc' make TARGETS=3Dppc= > HOSTS=3Dppc build > > > If you define RC_OS=3Dmacosx, it will end up wanting the pthreads = >stuff that isn't in MacOS X Server. Partway through the build, nextstep = >somehow gets magically changed to macosx_server for the configure = >scripts. Dunno what is up with still having 'nextstep' in the source = >anywhere, but it seems to work this way. > > >-tim From norbert.heger at obdev.at Tue Aug 31 01:23:23 1999 From: norbert.heger at obdev.at (Norbert Heger) Date: Thu Nov 3 14:42:15 2005 Subject: NSSetUncaughtExceptionHandler & Handling exceptions during timer References: <9908301931.AA10712@slab> Message-ID: <9908310823.AA06956@cray> Paul Summermatter wrote: > If so, why wouldn't the (NSTimer) handler block ask NSApp > to raiseException just like everybody else? Maybe because NSTimer resides in the Foundation.framework and therefore NSApp might not exist. Norbert _____________________________ _________________________________ O B J E C T I V E D E V E L O P M E N T Norbert Heger OpenStep MacOS-X EOF WebObjects norbert.heger@obdev.at Software Development +43-664-2811777 www.obdev.at From norbert.heger at obdev.at Tue Aug 31 01:17:53 1999 From: norbert.heger at obdev.at (Norbert Heger) Date: Thu Nov 3 14:42:15 2005 Subject: NSSetUncaughtExceptionHandler References: <9908292217.AA10000@slab> Message-ID: <9908310817.AA06947@cray> Paul Summermatter wrote: > I would really prefer it if something like: > > +[NSTimer setExceptionHandler:] > > existed. In this way, I wouldn't have to worry about implementing a bunch > of specific solutions for what, in my mind, is really a general problem. Please add +[NSRunLoop setExceptionHandler:] +[NSNotificationQueue setExceptionHandler:] to your wishlist. They also produce log lines like: *** NSRunLoop: ignoring exception 'NSInvalidArgumentException' (reason '*** -[SomeClass foo]: selector not recognized') that raised during delayed perform of target 112944 and selector 'foo' What a stupid idea to ignore exceptions !!! Norbert _____________________________ _________________________________ O B J E C T I V E D E V E L O P M E N T Norbert Heger OpenStep MacOS-X EOF WebObjects norbert.heger@obdev.at Software Development +43-664-2811777 www.obdev.at From Philippe.Robert at uptime.ch Tue Aug 31 04:06:39 1999 From: Philippe.Robert at uptime.ch (Philippe Robert) Date: Thu Nov 3 14:42:15 2005 Subject: NSCStringText questions Message-ID: <9908311108.AA18883@california.uptime.ch> Hi! I need to convert an app from NEXTSTEP to OPENSTEP/YellowBox. This app makes heavy use of NSCStringText's find features. How do I solve this problem whithout using NSCStringText anymore? Is there some kind of a find controller somewhere in the public, or ... ?! thx! sweet dreams, Phil -- Philippe C.D. Robert | Uptime ObjectFactory Inc Unix/OpenStep Software Engineer | http://www.uptime.ch http://www.nice.ch/~phip | info@uptime.ch From caffeine at toodarkpark.org Tue Aug 31 07:02:08 1999 From: caffeine at toodarkpark.org (Howie) Date: Thu Nov 3 14:42:15 2005 Subject: SNMP Framework. In-Reply-To: <199908310326.UAA24459@scyther.omnigroup.com> Message-ID: On Mon, 30 Aug 1999, Fabien Roy wrote: > Thanks. > > I also need some good books about SNMP. In fact I am looking for some code > example for sending alarms thru SNMP. www.ora.com ( O'Reilly ) has a SNMP book, i think. try sams too. > > Fabien. > >CMU has a rather nice SNMP library available... check > >[http://www.gaertner.de/snmp/] for more info. also > >[ftp://rtfm.mit.edu/pub/usenet/comp.protocols.snmp/] > > > >assuming it compiles cleanly under OSXServer, NT, Solaris, and HPUX, > >there's no reason one couldnt create an objc wrapper around it. > > > >i also remember seeing a NEXTSTEP-based SNMP monitoring app, but im not > >sure if its still available or if its been ported to OPENSTEP/Mach, which > >would aid in the OSXS port. > > > > > -- > Fabien Roy > Senior Manager, MIS > MediaRing Inc. > 99 West Tasman Drive > Suite 280 > San Jose, CA 95134 > fabien-roy@mediaring.com > Tel: (408) 383-9222 > Fax: (408) 383-9223 > --- Howie URL: http://www.toodarkpark.org "The distance between insanity and genius is measured only by success." From ahoesch at smartsoft.de Tue Aug 31 07:52:04 1999 From: ahoesch at smartsoft.de (Andreas =?iso-8859-1?Q?H=F6schler?=) Date: Thu Nov 3 14:42:15 2005 Subject: forwardInvocation: is never called Message-ID: <9908311452.AA00477@smartsoft.de> A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 501 bytes Desc: not available Url : /mailman/archive/macosx-dev/attachments/19990831/7c6cdf2d/attachment.bin From ken_anderson at mindspring.com Tue Aug 31 07:58:04 1999 From: ken_anderson at mindspring.com (ken_anderson@mindspring.com) Date: Thu Nov 3 14:42:15 2005 Subject: Tricks for debugging under NT? Message-ID: Can someone share their insights regarding the best way to debug a client UI app under YB/NT? Do you need to specify special library paths to find the debug dll's? We're experiencing problems finding resources if we move the debug dll's around. Any methodologies or insights would be appreciated. Thanks, Ken From afleming at andrew.cmu.edu Tue Aug 31 09:19:14 1999 From: afleming at andrew.cmu.edu (Andrew M Fleming) Date: Thu Nov 3 14:42:15 2005 Subject: Document Woes Message-ID: Thankyou everyone for your helpful suggestions. I was using a bad pathname, and I neglected to put the initialization file, cards.dat, into the resources section of the project. Once I did that everything worked. If anyone is interested in a program that helps you figure out how much Civilization Cards cost in the boardgame, Civilization, and runs under MacOSX Server, go to: http://ashaman.res.cmu.edu/ Again, thankyou for all your helpful suggestions. --Andy Fleming Carnegie Mellon University Carnegie Institute of Technology Electrical and Computer Engineering From fabien-roy at mediaring.com Tue Aug 31 10:35:51 1999 From: fabien-roy at mediaring.com (Fabien Roy) Date: Thu Nov 3 14:42:15 2005 Subject: SNMP Framework. In-Reply-To: <199908310326.UAA24459@scyther.omnigroup.com> Message-ID: <199908311735.KAA15487@scyther.omnigroup.com> >www.ora.com ( O'Reilly ) has a SNMP book, i think. try sams too. Here is the result from the search at http://www.oreilly.com/cgi-bin/AT-CatalogIndexsearch.cgi Disappointing, so many NT related books :-( Your concept search was: SNMP ? Scores with a red icon show confidence in the match between the document and your search. ? Search for similar documents by clicking on the red or black icons next to each score. ? Show a short summary for a document by clicking the (summary) link. Documents found by matching keyword prefixes and concept-based associations: 68% Windows NT SNMP (summary) 58% James D. Murray (summary) 56% James D. Murray (summary) 50% James D. Murray & William vanRyper (summary) 48% Essential Windows NT System Administration (summary) 48% Windows NT Event Logging (summary) 48% Windows NT User Administration (summary) 48% DNS on Windows NT (summary) 48% Windows NT Backup & Restore (summary) 46% Windows NT Server 4.0 for NetWare Administrators (summary) 46% Inside the Windows 95 File System (summary) 46% Windows NT in a Nutshell (summary) 44% Windows NT File System Internals (summary) 42% The Complete Windows NT & UNIX System Administration Pack (summary) 40% Windows NT Desktop Reference (summary) 40% Windows NT TCP/IP Network Administration (summary) 36% Robert Bruce Thompson (summary) 36% Managing the Windows NT Registry (summary) 36% Encyclopedia of Graphics File Formats, 2nd Edition (summary) -- Fabien Roy Senior Manager, MIS MediaRing Inc. 99 West Tasman Drive Suite 280 San Jose, CA 95134 fabien-roy@mediaring.com Tel: (408) 383-9222 Fax: (408) 383-9223 From sebestyen_g at accentcomm.com Tue Aug 31 14:30:29 1999 From: sebestyen_g at accentcomm.com (Gabor Sebestyen) Date: Thu Nov 3 14:42:15 2005 Subject: PCI driver and irq Message-ID: <37CC4975.CE4EFE50@accentcomm.com> Hi! At last I can communicate with my ethernet card in my driver on development but there's a problem ... somebody takes over my interrupts my driver then displays timeout ... It happens on B/W G3 Mac with an NE2000 PCI ethernet card. So I have a valid irq (deviceDescription said, now it's 0 - zero) simply I let driver do as it wants ... Is it alright? Best regards, Gabor -------------------------------------------------------------- A C C E N T C O M M U N I C A T I O N S - We Make Your Web Groove - Tel: (+36 1) 315-0701 http://www.accentcomm.com (+36 1) 343-4440 e-mail: info@accentcomm.com GSM: (+36 30) 951-4334 Fax: (+36 30) 980-0344 -------------------------------------------------------------- From bungi at omnigroup.com Tue Aug 31 21:03:48 1999 From: bungi at omnigroup.com (Timothy J. Wood) Date: Thu Nov 3 14:42:15 2005 Subject: forwardInvocation: is never called Message-ID: <199909010403.VAA17621@electabuzz.omnigroup.com> A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 869 bytes Desc: not available Url : /mailman/archive/macosx-dev/attachments/19990831/1dea0b7d/attachment.bin From bungi at omnigroup.com Tue Aug 31 21:07:27 1999 From: bungi at omnigroup.com (Timothy J. Wood) Date: Thu Nov 3 14:42:15 2005 Subject: EGCS on MacOS X Server (was Re: Using STL in Cocoa apps) Message-ID: <199909010407.VAA17644@electabuzz.omnigroup.com> A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 3349 bytes Desc: not available Url : /mailman/archive/macosx-dev/attachments/19990831/19fedc0a/attachment.bin From marcel at system.de Tue Aug 31 23:35:04 1999 From: marcel at system.de (Marcel Weiher) Date: Thu Nov 3 14:42:16 2005 Subject: EGCS on MacOS X Server (was Re: Using STL in Cocoa apps) Message-ID: > > As far as installing the results, I haven't any idea. For my work, I = > only need the actual compiler executable. > Replace the 'build' in the make command line with 'install'. On my machine, this produced a subdirectory 'dst' in the current directory (top level egcs) with the directory structure that would be installed into root. What sucked is that it didn't reuse the results of the previous run but started from scratch. Oh well, CPU time is cheap these days... marcel@spock[dst]ls -al total 8 drwxr-xr-x 4 marcel wheel 1024 Aug 28 15:45 . drwxr-xr-x 8 marcel wheel 1024 Aug 28 11:41 .. drwxr-xr-x 4 marcel wheel 1024 Aug 28 15:45 System drwxr-xr-x 6 marcel wheel 1024 Aug 28 15:45 usr marcel@spock[dst]find usr/ usr/ usr//bin usr//bin/c++filt usr//lib usr//lib/libcc.a usr//lib/libcc_dynamic.a usr//lib/libstdc++.a usr//libexec usr//libexec/ppc usr//libexec/ppc/2.8.1-egcs usr//libexec/ppc/2.8.1-egcs/cc1obj usr//libexec/ppc/2.8.1-egcs/cc1plus usr//libexec/ppc/2.8.1-egcs/specs usr//libexec/ppc/specs usr//local usr//local/lib usr//local/lib/libcc_noc++.a The listing for System is a bit longer as it includes the C++ stadard lib headers. Marcel p.s.: Did anyone else notice the AltiVec descriptions in the ppc configuration subdirectories?