From smart at ensuing.com Mon Dec 1 10:38:08 1997 From: smart at ensuing.com (Karl Kraft) Date: Thu Nov 3 14:40:47 2005 Subject: confusion Message-ID: <65v06g$k5u@satva.ensuing.com> In article ims writes: > I am a little confused. > We have OpenStep 4.2 and Rapsody in our hands. > Shall we start writing code on Rapsody or on OpenStep; > Will our code on OpenStep be working on Rapsody; In my experience, OpenStep code compiles pretty easily on Rhapsody, although you will want to update some nib files to enhance the user experience. > If I understand correctly Rapsody is in Dev version and does not > contain all the libraries. Um, I don't quite know what you mean by this. For the most part Rhapsody has all the libraries of OpenStep, and includes some classes that OpenStep does not, like the finder list view. In general, I still find that OpenStep works better for me, because it is a more stable release, and some tools I need are not available for Rhapsody. I'm also more familiar with it. However, I have been using Nextstep/Openstep from way back when. So you may find it a lot easier to work on Rhapsody DR1, which is a lot closer to what the final version will be. -- --K2 karl@ensuing.com (Karl Kraft) OpenStep/Rhapsody Developer: cogitamus alius. From paulrs at lgs-systems.com Mon Dec 1 13:01:08 1997 From: paulrs at lgs-systems.com (Paul R. Summermatter) Date: Thu Nov 3 14:40:47 2005 Subject: NSView & NSBox Problem Message-ID: <9712012101.AA23482@cube> Hello All, If I have a view which is the contentView of an NSBox and I call removeFromSuperview on that view, the box still thinks this view is its contentView. Is this a bug? I know I can call [box setContentView:nil] and have the same effect as removeFromSuperview (setContentView calls removeFromSuperview on the old contentView), but I don't always know that view is the contentView of box. Any thoughts? Regards, Paul --- Paul Summermatter LGS Systems, Inc. Medical Computing Division 182 Lake Street Hamburg, NY 14075-4826 (716) 646-1164 paulrs@lgs-systems.com (NeXT or MIME Mail Welcome) From ricardo at ccsi.canon.com Mon Dec 1 15:46:57 1997 From: ricardo at ccsi.canon.com (Ricardo Parada) Date: Thu Nov 3 14:40:47 2005 Subject: setkey() and encrypt() Message-ID: <199712012346.PAA28733@ccsi.canon.com> Hi, We have some code that uses the setkey() and encrypt() function calls. Does Rhapsody or OpenStep have something equivalent that could be used across platforms where the yellow box exists? If not, is there something equivalent under NT that we could simply wrap around with a #ifdef WIN32? Thanks. - ricardo CRYPT(3) UNIX Programmer's Manual CRYPT(3) NAME crypt, setkey, encrypt - DES encryption SYNOPSIS char *crypt(key, salt) char *key, *salt; setkey(key) char *key; encrypt(block, edflag) char *block; DESCRIPTION Crypt is the password encryption routine. It is based on the NBS Data Encryption Standard, with variations intended (among other things) to frustrate use of hardware implemen- tations of the DES for key search. The first argument to crypt is normally a user's typed pass- word. The second is a 2-character string chosen from the set [a-zA-Z0-9./]. The salt string is used to perturb the DES algorithm in one of 4096 different ways, after which the password is used as the key to encrypt repeatedly a constant string. The returned value points to the encrypted pass- word, in the same alphabet as the salt. The first two char- acters are the salt itself. The other entries provide (rather primitive) access to the actual DES algorithm. The argument of setkey is a character array of length 64 containing only the characters with numerical value 0 and 1. If this string is divided into groups of 8, the low-order bit in each group is ignored, leading to a 56-bit key which is set into the machine. The argument to the encrypt entry is likewise a character array of length 64 containing 0's and 1's. The argument array is modified in place to a similar array representing the bits of the argument after having been subjected to the DES algorithm using the key set by setkey. If edflag is 0, the argument is encrypted; if non-zero, it is decrypted. SEE ALSO passwd(1), passwd(5), login(1), getpass(3) BUGS The return value points to static data whose content is overwritten by each call. From ambi at aa.net Mon Dec 1 16:04:21 1997 From: ambi at aa.net (Mike Amirault) Date: Thu Nov 3 14:40:47 2005 Subject: Spinning wheel in browser on Rhapsody.. Message-ID: <199712020004.QAA23746@big.aa.net> I haven't been able to get too far with Rhapsody/Intel because the file browser starts the spinning wheel of death about 5 minutes after login and never gives me control back. All other apps that were previously running are still accessible but I can't get into the browser. Anyone seen this and know the fix? I'm running Rhapsody on the same machine that I've run OpenStep 4.1/4.2 on without a problem. Thanks, Mike From devsupport at apple.com Mon Dec 1 15:00:25 1997 From: devsupport at apple.com (devsupport@apple.com) Date: Thu Nov 3 14:40:47 2005 Subject: NSBrowser problem Message-ID: <9712012300.AA90136@torak.corp.apple.com> SECURITY: NON-DISCLOSURE USE ONLY Please include the line below in follow-up emails for this request. Follow-up: 629704 RESPONSE ----------------------------------------------------------------------- Hello Paul, Regarding the "keyView getting hosed on Rhapsody" problem. I verified it and entered it in our bug database with ID #2200126. I'll let you know (it may take a while...) as soon as I get feedback from engineering. Regarding the willDisplayCell problem: I can't reproduce it. I'm using the Comics.app DTS Sample code which does have a browser, added an NSLog trace in willDisplayCell and it gets called always as well as when I click on a node as when I "right arrow" to it. Could you, if it's not too much trouble, reduce your app to only demonstrate the problem, tar it and send it to me so that I can try to determine what's wrong? If you can't, I'm open to any suggestions from yours as to how to solve this problem. The only thing I can tell you at this point is that currently there are no bugs entered in our database against willDisplayCell (which doesn't mean there are not any, but simply that none has been reported yet...). Looking forward to hearing from you, Regards, Eric Simenel Rhapsody DTS REQUEST ------------------------------------------------------------------------ Hello all, I've experienced what seems to me to be inconsistent behaviour in the NSBrowser object on OS 4.2 Mach. I've experienced a similar problem on Rhapsody PPC, but there seem to be even more issues on Rhapsody, so I'll stick with OS 4.2. The problem is that using the keyboard to navigate a browser seems to create a different set of method calls than using the mouse. For example, let's say I have a browser which is displaying two columns. In the first column, I have selected a branch node. The second column is displaying a mixture of branches and leaf nodes. If I click with the mouse on a node in the second column, the browser does NOT ask the delegate 'browser:willDisplayCell:atRow:column:'. However, if I right arrow to make the first node in the second column the selected one, 'browser:willDisplayCell:atRow:column:' IS called on the delegate. Does anyone know why this behaviour differs? It's creating an annoying little bug in my app. Since I mentioned it, I thought I should elaborate on the problems on Rhapsody. On that platform, the keyView seems to be getting hosed. As an example, open up TextEdit and bring up the Open Panel. Hit tab until the browser is the keyView (this is evidenced by the dotted outline around the selectedCell in the browser). Now that the keyView is the browser (actually one of the matrices in a column), as long as you use the arrow keys to navigate, the browser remains the key view. Now, get the browser to have /NextApps selected (i.e. there's a dotted outline around the cell for NextApps), now click on 'Clock.app' in the second column with the mouse. The dotted outline should disappear and the browser should no longer be the keyView. Hitting tab seems to do nothing (I'm guessing the window has become the keyView). I don't know what's happening here, but I can't seem to recreate this problem on OS 4.2 on Mach. On 4.2, everything seems to function as expected. Regards, Paul --- Paul Summermatter LGS Systems, Inc. Medical Computing Division 182 Lake Street Hamburg, NY 14075-4826 (716) 646-1164 paulrs@lgs-systems.com (NeXT or MIME Mail Welcome) DB REFERENCE ------------------------------------------------------------------- TIME IN: 29-Nov-1997 10:52 PDT TIME OUT: 01-Dec-1997 15:35 PDT Copyright 1997, Apple Computer, Inc. From sbender at harmony-ds.com Mon Dec 1 16:27:37 1997 From: sbender at harmony-ds.com (Scott Bender) Date: Thu Nov 3 14:40:47 2005 Subject: Emacs for OpenStep/Rhapsody beta now avaiable Message-ID: The first public beta of Emacs for OpenStep and Rhapsody is now available. It is usable under OpenStep and Rhapsody, but there are still some problems, see the README file, and use with caution. This version of Emacs is a port of the version written for NeXTSTEP by Carl Edman and taken over and updated by Christian Limpach . Emacs 19 for OpenStep/Rhapsody is a version of GNU Emacs 19 which adds support for the OpenStep and Rhapsody window systems while leaving most of the core functions of Emacs 19 unchanged. As a results it can do anything which GNU Emacs 19 can do and is fully compatible with all Emacs Lisp packages written for it. It supports OpenStep and Rhapsody on the same level (and mostly in a very similar manner) as X is supported. In addition it has a number of OpenStep specific features which do not have any X equivalent. The design aim was to make it look as similar as possible to an X application to Emacs Lisp programs and to make it look like a normal OpenStep or Rhapsody application to users. You can find more information and the source code at http://www.harmony-ds.com/emacs-for-openstep Questions, comments and bug reports should be sent to emacs@harmony-ds.com From devsupport at apple.com Tue Dec 2 09:20:19 1997 From: devsupport at apple.com (devsupport@apple.com) Date: Thu Nov 3 14:40:47 2005 Subject: Re- NSBrowser problem Message-ID: <9712021720.AA61682@torak.corp.apple.com> SECURITY: NON-DISCLOSURE USE ONLY Please include the line below in follow-up emails for this request. Follow-up: 629704 RESPONSE ----------------------------------------------------------------------- Hello Paul, Yes, this is the correct procedure. Whenever you want to reply, just send it to devsupport@apple.com and do mention the Follow-up ID given to you in the first answer from us. For this thread it's 629704. Regards, Eric Simenel Rhapsody DTS REQUEST ------------------------------------------------------------------------ Eric, Thanks for the information. I haven't tested out the willDisplayCell issue on Rhapsody, but I will try to test it out tomorrow, and let you know the results. Also, you didn't include your direct email address so I don't know where to send this except back into the devsupport channel. Is this the correct procedure? Regards, Paul Paul Summermatter LGS Systems, Inc. Medical Computing Division 182 Lake Street Hamburg, NY 14075-4826 (716) 646-1164 paulrs@lgs-systems.com (NeXT or MIME Mail Welcome) DB REFERENCE ------------------------------------------------------------------- TIME IN: 29-Nov-1997 10:52 PDT TIME OUT: 02-Dec-1997 09:58 PDT Copyright 1997, Apple Computer, Inc. From paulrs at lgs-systems.com Tue Dec 2 11:06:46 1997 From: paulrs at lgs-systems.com (Paul R. Summermatter) Date: Thu Nov 3 14:40:47 2005 Subject: Apology Message-ID: <9712021906.AA25031@cube> Hello all, I want to apologize to everyone for mucking up the list with replies from devsupport. I cc'd them on a message to this list which is a definite no-no. I will make every effort to not do this again. REgards, Paul --- Paul Summermatter LGS Systems, Inc. Medical Computing Division 182 Lake Street Hamburg, NY 14075-4826 (716) 646-1164 paulrs@lgs-systems.com (NeXT or MIME Mail Welcome) From ricardo at ccsi.canon.com Tue Dec 2 13:30:25 1997 From: ricardo at ccsi.canon.com (Ricardo Parada) Date: Thu Nov 3 14:40:47 2005 Subject: FOUNDATION_EXPORT Message-ID: <199712022130.NAA07156@ccsi.canon.com> A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 278 bytes Desc: not available Url : /mailman/archive/macosx-dev/attachments/19971202/db658c12/attachment.bin From ricardo at ccsi.canon.com Tue Dec 2 17:10:01 1997 From: ricardo at ccsi.canon.com (Ricardo Parada) Date: Thu Nov 3 14:40:47 2005 Subject: FOUNDATION_EXPORT Message-ID: <199712030110.RAA09480@ccsi.canon.com> Thank you all. Here's a summary: Apparently FOUNDATION_EXPORT is defined in the header file Foundation.framework/Headers/NSObjCRuntime.h. And it gets defined differently depending on the platform (e.g. Windows or Mach). On Mach, it's defined as extern. Under Windows it depends on whether the framework is buing built or being used. If it's being built then the symbol needs to be exported. If it's being used then the symbol needs to be imported. The file NSObjCRuntime.h tells the story as shown below. I imagine that the constant NSBUILDINGFOUNDATION is defined when the framework is being built. #if defined(WIN32) #undef FOUNDATION_EXPORT #if defined(NSBUILDINGFOUNDATION) #define FOUNDATION_EXPORT __declspec(dllexport) extern #else #define FOUNDATION_EXPORT __declspec(dllimport) extern #endif #if !defined(FOUNDATION_IMPORT) #define FOUNDATION_IMPORT __declspec(dllimport) extern #endif #endif #if !defined(FOUNDATION_EXPORT) #define FOUNDATION_EXPORT extern #endif #if !defined(FOUNDATION_IMPORT) #define FOUNDATION_IMPORT extern #endif There's also a URL that talks about this: http://enterprise.apple.com/NeXTanswers/HTMLFiles/2502.htmld/2502.html Automatic Generation of .def Files On WIndows, the Microsoft linker requires symbols exported from a framework DLL to be explictly specified. One way of doing this is in a .def file in the project (for example, "MyFramework.def"). In prior releases, this file had to be manually created. Project Builder now generates a .def file for frameworks and dynamic libraries (that is, library projects producing DLLs). It re-creates the file the first time a project is built and, thereafter, updates it every time an object file changes. To get this feature, you must update to the new makefiles (See "New Makefiles," above). If you currently have a .def file for a framework, and it is not highly customized, delete it and let Project Builder regenerate it for you. Otherwise, leave it where it is. Project Builder creates a .def file only if there isn't one already in the project. The .def file that Project Builder creates is comprehensive, so if you want to create a customized .def file that is a subset of it, first build your project. Then add the generated .def file in derived_src to Supporting Files in your project and edit it as necessary. Note: You should use the CONSTANT keyword instead DATA in your .def file. The export of framework functions also requires a little extra code. For more on both of these items, see "Known Problems in this Release, " below. In creating the .def file for frameworks and dynamic libraries (DLLs), Project Builder handles Objective-C symbols and data but not functions. If you have functions in your framework that need to be callable from the outside, define certain macros in a header file and then use them in your function declarations. These macros allow you to export non-static functions from the DLL (FRAMEWORK_EXTERN) or to declare them as extern, but not exported (FRAMEWORK_PRIVATE_EXTERN). The following example shows how (substitute your own framework name for FRAMEWORK): #ifndef _FRAMEWORKDEFINES_H #define _FRAMEWORKDEFINES_H #if defined(WIN32) // // For Windows // #ifndef _FRAMEWORK_BUILDING_DLL #define _FRAMEWORK_WINDOWS_DLL __declspec(dllimport) #else #define _FRAMEWORK_WINDOWS_DLL __declspec(dllexport) #endif #ifdef __cplusplus #define FRAMEWORK_EXTERN extern "C" _FRAMEWORK_WINDOWS_DLL #define FRAMEWORK_PRIVATE_EXTERN extern #else #define FRAMEWORK_EXTERN _FRAMEWORK_WINDOWS_DLL extern #define FRAMEWORK_PRIVATE_EXTERN extern #endif You need to import this header in all your other headers and declare your function prototypes accordingly. Then make sure you define FRAMEWORK_BUILDING_DLL when building your framework. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 4569 bytes Desc: not available Url : /mailman/archive/macosx-dev/attachments/19971202/80432b58/attachment.bin From sbender at harmony-ds.com Tue Dec 2 21:52:42 1997 From: sbender at harmony-ds.com (Scott Bender) Date: Thu Nov 3 14:40:47 2005 Subject: No subject Message-ID: I will no longer send annoucements the rhapsody, next, or emacs-for-ns mailing lists or any individuals. Please subscribe to the new emacs-for-rhapsody mailing lists if you'd like to continue to get these messages. See the end of this message for intructions. The beta release 5.0beta2.1 of Emacs for OpenStep and Rhapsody is now available. The major improvement in this release is the ability of emacs to dump itself. This provides for a much faster startup time. It makes the following fixes: 1. Dumping now works under OpenStep and Rhapsody (Thanks to Steve Nygard for the dumping code) 2. Fixed problem causing -[NSFont name] error messages 3. Fixed bug which caused background colors to show improperly 4. Buffer and Window menus work 5. Menus under Rhapsody conform to Rhapsody standard You can find more information and the source code at http://www.harmony-ds.com/emacs-for-openstep Questions, comments and bug reports should be sent to emacs@harmony-ds.com You can subscribe to the emacs-for-rhapsody lists by sending mail to emacs-for-rhapsody-users-request@harmony-ds.com and/or emacs-for-rhapsody-announce-request@harmony-ds.com with "subscribe" as the body of the message. From Benoit.Marchant at questintl.com Tue Dec 2 09:05:05 1997 From: Benoit.Marchant at questintl.com (Benoit Marchant) Date: Thu Nov 3 14:40:47 2005 Subject: Dragging fail because of [NSWorkspace iconForFile:] Message-ID: <000183C5.004226@questintl.com> Hi, I would like to submit a bug. During a dragging session from the Workspace in to a view in my app, if in my destination view, I unarchive the pasteboard content in either draggingEntered or draggingUpdated, and ask [NSWorkspace iconForFile:unarchivedPath] to get an NSImage and that I do a setImage on a cell in my view, the drag fails. No mor draggingUpdated are sent to my view and the draggingOperation returned is ignored. When I drop outside this view, many draggingUpdated are then sent. If i replace this NSImage by for exemple [sender draggedImage], everything works fine !! Thanks in advance for any explanation, or solution, it's WEIRD !!! Best regards Benoit Marchant From sebestyen_g at accentcomm.com Wed Dec 3 02:54:13 1997 From: sebestyen_g at accentcomm.com (Gabriel Sebestyen) Date: Thu Nov 3 14:40:47 2005 Subject: Wrong paths in RDR (Intel?) Message-ID: <34853A55.E1E074FE@accentcomm.com> Hi! There are wrong paths in the system: 1., Sendmail doesn't start because the script at /etc/1900_Mail has wrong path: /usr/lib/sendmail The correct is: /usr/sbin/sendmail 2., Mail receiving problem: no /var/mail. Solution: link /var/spool/mail to /var/mail 3., NetinfoManager couldn't restart nibindd because it's expected originally at /usr/bin. The nibindd is now /usr/sbin. Anyway is anybody interested in a vmount executable? Best regards, Gabriel Sebestyen From ims at hyper.gr Wed Dec 3 04:32:05 1997 From: ims at hyper.gr (ims) Date: Thu Nov 3 14:40:47 2005 Subject: Rapsody or Openstep as file server Message-ID: hello again, my misery continues. I have two machines (PentiumII, K6) one with OPenstep 4.2 and one with Rapsody. (I know that we are talking about a dev release and I am sending an email to feedback also) I want one simple thing: to use one of these machines as file server. I tried the samba package but nothing happens. I installed samba and tried to find the server on the network from a windows machine, but nothing. I read and reread the man pages but it is so complicate that I can't figure anything Isn't there any way to use Rapsody or Openstep as fileserver for MacOS and WinOS machines. Every time I asked a question there was always someone answering Openstep cannot do this or that because it was used in corporations and entrprise and was not designed for single user BUT doesn't corporations use network, doesn't they use filesharing; No wonder NT is winning ground. I complained about NT but at least in a couple of days(after all service packs and hotfixes) I had a file server that "could" support MacOS and WinOS clients. With Openstep everything is so complicated. I haven't type so much in my life. So please if anyone knows something that I don't send me a note. I am looking for a simple way to use Rapsody or Openstep 4.2 as fileserver. A request: I also have problem with my SoundBlaster Vibra and my Cirrus Logic CL-GD5446. There are no drivers for these two cards on either Rapsody nor Openstep 4.2 If someone could email them to me, please. Regards NN Nikou Nikolaos for =============================================================== IMS Research & Development | tel. +30 (31) 94 52 98 PRIAMOY 12 | 95 09 03 544 53 THESSALONIKI | fax. +30 (31) 95 09 04 MACEDONIA - HELLAS | kai tou xpovou stnv polh! =============================================================== From robert at rc-produktion.se Wed Dec 3 06:55:55 1997 From: robert at rc-produktion.se (Robert Claeson) Date: Thu Nov 3 14:40:47 2005 Subject: SV: Rapsody or Openstep as file server Message-ID: <01bcfffb$8e83d590$0c00a8c0@toy.rc-produktion.se> ims : >I want one simple thing: to use one of these machines as file server. >I tried the samba package but nothing happens. I installed samba and tried >to find the server on the network from a windows machine, but nothing. >I read and reread the man pages but it is so complicate that I can't figure >anything I haven't tried Samba under Rhapsody yet, but I have it running under Linux and it works like a charm. Doesn't help you, though. >Isn't there any way to use Rapsody or Openstep as fileserver for MacOS >and WinOS machines. Every time I asked a question there was always someone >answering Openstep cannot do this or that because it was used in corporations >and entrprise and was not designed for single user BUT doesn't corporations use >network, doesn't they use filesharing; Openstep wasn't really designed to be used as a server, it's primarily a workstation o/s. It seems like Apple is targeting Rhapsody as a workstation o/s as well, but for "creative" workstations rather than corporate enterprise ones. Openstep can work as a client to a Netware file server. It can also use the standard TCP/IP method of sharing files and file systems that has been around for a looong time now -- NFS. There are NFS clients for most operating systems. Doesn't help you much, though. >No wonder NT is winning ground. >I complained about NT but at least in a couple of days(after all service packs >and hotfixes) I had a file server that "could" support MacOS and WinOS clients. Yes, it "can" support MacOS clients, but the performance sucks. It also crashes my NT server whenever I try to print from a Mac through a printer queue on the server. >With Openstep everything is so complicated. I haven't type so much in my life. I'm the first to agree that Openstep administration leaves some to be desired in certain areas, especially when it comes to graphical user interface support. But at least you CAN do certain things by using the command line that there's simply no way of performing under NT or MacOS. >So please if anyone knows something that I don't send me a note. >I am looking for a simple way to use Rapsody or Openstep 4.2 as fileserver. Samba. Investigate it again. Since I haven't used it myself under Openstep or Rhapsody I can't give you any hard directions. Robert From Kevin.Hoogheem at utiligent.com Wed Dec 3 07:25:34 1997 From: Kevin.Hoogheem at utiligent.com (Kevin A. Hoogheem UTL) Date: Thu Nov 3 14:40:47 2005 Subject: Rapsody or Openstep as file server Message-ID: <01BCFFCD.6A39C240@UTLMMPC034> I can not believe what I am seeing. First off can I remind you that this just happens to be a developers list and second This is such a stupid thing to say that Openstep is not a server OS. I guess all the colleges out there that use it must be running someone else as its file server oh ya and the millions of Unix boxes out there are no good for file serving either huh ;)- this is what I have to say about setting up the file serving either via NFS or Samba on a Developer Release grade OS - RTFM! Take this offline thank you -----Original Message----- From: Robert Claeson [SMTP:robert@rc-produktion.se] Sent: Wednesday, December 03, 1997 9:00 AM To: Multiple recipients of list Subject: SV: Rapsody or Openstep as file server ims : >I want one simple thing: to use one of these machines as file server. >I tried the samba package but nothing happens. I installed samba and tried >to find the server on the network from a windows machine, but nothing. >I read and reread the man pages but it is so complicate that I can't figure >anything I haven't tried Samba under Rhapsody yet, but I have it running under Linux and it works like a charm. Doesn't help you, though. >Isn't there any way to use Rapsody or Openstep as fileserver for MacOS >and WinOS machines. Every time I asked a question there was always someone >answering Openstep cannot do this or that because it was used in corporations >and entrprise and was not designed for single user BUT doesn't corporations use >network, doesn't they use filesharing; Openstep wasn't really designed to be used as a server, it's primarily a workstation o/s. It seems like Apple is targeting Rhapsody as a workstation o/s as well, but for "creative" workstations rather than corporate enterprise ones. Openstep can work as a client to a Netware file server. It can also use the standard TCP/IP method of sharing files and file systems that has been around for a looong time now -- NFS. There are NFS clients for most operating systems. Doesn't help you much, though. >No wonder NT is winning ground. >I complained about NT but at least in a couple of days(after all service packs >and hotfixes) I had a file server that "could" support MacOS and WinOS clients. Yes, it "can" support MacOS clients, but the performance sucks. It also crashes my NT server whenever I try to print from a Mac through a printer queue on the server. >With Openstep everything is so complicated. I haven't type so much in my life. I'm the first to agree that Openstep administration leaves some to be desired in certain areas, especially when it comes to graphical user interface support. But at least you CAN do certain things by using the command line that there's simply no way of performing under NT or MacOS. >So please if anyone knows something that I don't send me a note. >I am looking for a simple way to use Rapsody or Openstep 4.2 as fileserver. Samba. Investigate it again. Since I haven't used it myself under Openstep or Rhapsody I can't give you any hard directions. Robert From ellis at nfts-createc.org.uk Wed Dec 3 19:41:22 1997 From: ellis at nfts-createc.org.uk (Ellis Pritchard) Date: Thu Nov 3 14:40:47 2005 Subject: Rapsody or Openstep as file server References: Message-ID: <34862662.4B1B58C2@nfts-createc.org.uk> Hi Nikou, > I want one simple thing: to use one of these machines as file server. > I tried the samba package but nothing happens. I installed samba and tried > to find the server on the network from a windows machine, but nothing. > I read and reread the man pages but it is so complicate that I can't figure > anything Try this; we run Samba on our SGI machines; yes the docs make it seem hyper complicated, which it needn't be. Here's our sample config (lib/smb.conf) from our main server: # # SAMBA CONFIGURATION FILE # # Entry allows connections to user accounts on this # machine using \\hostname\\user [global] workgroup = CREATEC security = server password server = arnie alternate permissions = yes preserve case = yes short preserve case = yes map archive = no include = /usr/local/samba/lib/user_exports.conf [tmp] comment = Temporary Files path = /tmp read only = no public = yes Ok, so here's the deal; the [global] bit is, well global settings; 'workgroup' is whatever NT domain you use (check properties on Network Neighborhood on NT); 'security' and 'password sever' tell samba where to go to verify passwords; point to your main NT server. The next four items seem like a good idea; the last includes a file of entries for user accounts we want exported; same format as the [tmp] entry below. The [tmp] entry exports that directory; export any dir like this. Not sure what the security issues are on this, but it works. Basically in rc.local put a line like: /usr/local/samba/bin/smbd -D -s /usr/local/samba/lib/smb.conf & Or where-ever your smbd and smb.conf is. Should then work fine. > No wonder NT is winning ground. Apple need to get NT connectivity working flawlessly; I reckon they will, especially as M$ are supposed to be 'on the team'. Ellis. From ovidiu at net-community.com Wed Dec 3 12:35:58 1997 From: ovidiu at net-community.com (Ovidiu Predescu) Date: Thu Nov 3 14:40:47 2005 Subject: how to make IB keep the CVS directory inside a nib? Message-ID: <199712032036.MAA29685@net-community.com> Hi, I seem to remember somebody wrote a bundle for IB that makes it keep the CVS directory inside a nib when it saves a nib. Can somebody point me to the place where I can find that bundle? Or am I dreaming and such a thing doesn't exist? Or is it a better idea to use a CVS wrapper to work with nib directories when using CVS? Thanks, Ovidiu --- Ovidiu Predescu (NeXTMail, MIME) http://www.net-community.com/Users/~ovidiu/ From tjw at omnigroup.com Wed Dec 3 13:01:30 1997 From: tjw at omnigroup.com (Timothy J. Wood) Date: Thu Nov 3 14:40:47 2005 Subject: how to make IB keep the CVS directory inside a nib? In-Reply-To: <199712032036.MAA29685@net-community.com> References: <199712032036.MAA29685@net-community.com> Message-ID: <199712032101.NAA20400@ignem.omnigroup.com> A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 394 bytes Desc: not available Url : /mailman/archive/macosx-dev/attachments/19971203/8fe4cf6e/attachment.bin From sebestyen_g at accentcomm.com Wed Dec 3 12:06:50 1997 From: sebestyen_g at accentcomm.com (Gabriel Sebestyen) Date: Thu Nov 3 14:40:47 2005 Subject: vmount for RDR-Intel is now available... Message-ID: <3485BBDA.CC07121D@accentcomm.com> Hi, Ok, here's the path: ftp://ftp.accentcomm.com/pub/vmount/vmount.0.6.RDR-I.b.tar.gz Download and enjoy! :-) Gabriel Sebestyen From jsahrman at cstone.net Wed Dec 3 13:55:29 1997 From: jsahrman at cstone.net (Josh Sahrmann) Date: Thu Nov 3 14:40:47 2005 Subject: Rhapsody Chooser References: <199712031811.KAA18032@ignem.omnigroup.com> Message-ID: <3485D550.DEE8CACF@cstone.net> I have started on a Developer Rhapsody Chooser. What it is go to do is the user boots up. The MacOS smile face comes up and then the Welcome window. From there a new window/menu comes up that asks you to choose from Rhapsody or MacOS. From here it will boot in to what ever OS you choose. Hell its a lot easier then using the caps key. My question is do I have to do any thing with the core OS in Rhapsody or would it just be a code line in my program that say look for drive number 0 - 6 then boot to that number which Rhapsody is on. The MacOS is easy because it would have loaded the extension from MacOS which could then would be booted into. If you have any ideas on this that would be a lot of help. Sahrmann, Josh From dylan at anim.dreamworks.com Wed Dec 3 20:43:53 1997 From: dylan at anim.dreamworks.com (Dylan Kohler) Date: Thu Nov 3 14:40:47 2005 Subject: Upgrading NextStep apps to OpenStep Message-ID: <199712040443.UAA24996@gerbil.anim.dreamworks.com> Are there RDR tools for upgrading NextStep apps to OpenStep apps? I'm referring to tools like those that were with NextStep 3.3 (and 4.x?). Thanks in advance, Dylan ---------------------------- Dylan Kohler DreamWorks Feature Animation dkohler@anim.dreamworks.com From sanguish at digifix.com Thu Dec 4 00:25:54 1997 From: sanguish at digifix.com (Scott Anguish) Date: Thu Nov 3 14:40:47 2005 Subject: Localization Question Message-ID: <199712040825.DAA15276@digifix.com> A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 242 bytes Desc: not available Url : /mailman/archive/macosx-dev/attachments/19971204/1b48ab29/attachment.bin From tsato at tokyo.stellar.co.jp Thu Dec 4 01:13:46 1997 From: tsato at tokyo.stellar.co.jp (Toru Sato at Stellar Tokyo) Date: Thu Nov 3 14:40:47 2005 Subject: Localization Question In-Reply-To: <199712040825.DAA15276@digifix.com> References: <199712040825.DAA15276@digifix.com> Message-ID: <9712040913.AA21869@tokyo.stellar.co.jp> Scott Anguish wrote: > How do I get ProjectBuilder to recognize it and include it in my build? > You can set Language on "Project Attribute" in Project Inspector Panel. After changing Language Priority in Preference.app, Apps will be launched with $LANGUAGE_NAME.lproj if it exist in appwrapper/Resource folder. So, 1. Build your app as French mode. 2. Duplicate French resources to make English version. 3. Put them into Resource Folder of your compiled app. 4. Change Language priority with Preference.app 5. Test your app under French and English. MORE Safer way, (There are people who don't install any language package but their mother tongue.) 1. Prepare English version of apps. 2. Build your app as English mode. (Default Language is English) 3. Duplicate English resources to make French version. 4. Put them into Resource Folder of your compiled app. 5. Change Language priority with Preference.app 6. Test your app under French. Unfortunately, Language string "Japanese" is not supported yet. Change your other language resource for test for Japanese version of your apps. Rhapsody works fine with Japanese resources(Kanji Fonts or Kanji Input system). --- Stellar Craft, Inc. Tokyo Office Director of Marketing and World Wide Sales Mr.Toru Sato OPENSTEP/Rhapsody Evangelist e-mail : tsato@tokyo.stellar.co.jp (Office NeXT Mail) tsato@sugamo.linc.or.jp (Home NeXT Mail) http://www.tokyo.stellar.co.jp TEL : +81-3-5985-7341(Office),+81-80-80-71941(Celler) From steve at artlabeurope.com Thu Dec 4 05:00:31 1997 From: steve at artlabeurope.com (steve@artlabeurope.com) Date: Thu Nov 3 14:40:47 2005 Subject: ToolTips Message-ID: Greetings from rdr intel-land... anyone know of a way to kill tooltips? these things are everywhere and are driving me batty. i like the fact that app developers can create these things (though i haven't figured out how to get them working in IB), but ideally each app should come with a preference for using them or not- perhaps a menu item in the help menu connected to something like [delegate shouldShowToolTips:(BOOL)flag] ? rgh... --Steve From croehrig at House.org Thu Dec 4 06:16:38 1997 From: croehrig at House.org (Chris Roehrig) Date: Thu Nov 3 14:40:47 2005 Subject: How do you want multi-threaded AppKit access to work? Message-ID: <9712041416.AA07482@House.org> I'm starting to port my NEXTSTEP MiscThreadedApp stuff to OPENSTEP and Rhapsody, and I'd like some input on how you'd like multithreaded AppKit access to work. I wrote MiscThreadedApp to allow painless access to the AppKit from other threads in the same task (I use it from a real-time image processing app). The central concept is a callback method. From within a non-appkit thread, you can cause a method to be executed under the main "appkit" thread of execution by doing: [NXApp callbackTarget:textField perform:@selector(setIntValue:) with:(id)i]; The callbackTarget: methods can optionally block and wait for the method to return, or it can return immediately if you don't care about synchronization. Get ThreadedApp.1.0.1.s.tar.gz for the full usage and implementation details. It's at ftp://next-ftp.peak.org/pub/next/sourcelibrary/classes/ Now: this is currently written using cthreads and was intended to be used as a replacement for the NSThread/NSLock mechanism for non-distributed apps. Is there any reason I should make the effort to convert it to use NSThread and NSLock as its primitives instead of cthreads? This would make it less efficient (which is important to me, since I also use it as a general thread synchronization mechanism), but it might mean it would work on more OPENSTEP implementations. Can anyone tell me if cthreads are available on OPENSTEP Enterprise/NT? I'd also appreciate any other comments you have on this way of dealing with multi-threaded AppKit access and thread synchronization in general. Is this a useful thing? Chris --- Chris Roehrig CrispArt Technology and Design croehrig@crispart.com 1-131 West 13th Ave., Vancouver BC, CANADA V5Y 1V8 http://www.crispart.com From ellis at nfts-createc.org.uk Wed Dec 3 18:22:28 1997 From: ellis at nfts-createc.org.uk (Ellis Pritchard) Date: Thu Nov 3 14:40:47 2005 Subject: ToolTips References: Message-ID: <348613E4.96898D59@nfts-createc.org.uk> Hi Steve, > i like the fact that app developers can create these things (though > i haven't figured out how to get them working in IB) Under the Help page of the IB Inspector? Ellis. From anders at milkweed.com Thu Dec 4 09:20:45 1997 From: anders at milkweed.com (Anders Pytte) Date: Thu Nov 3 14:40:47 2005 Subject: PowerMac 9600/300? Message-ID: The PowerMac 9600/300 is not explicitly listed as a suported configuration for RDR1 in my installation manual, although PowerMac 9600 at lower cpu speeds are. Can anyone assure me that the RDR1 will run on the faster machine? May thanks, Anders. -- Anders Pytte Milkweed Software Ferguson Hill Voice: (802) 472-5142 Cabot VT 05647 Internet: anders@milkweed.com ---------------------------------------------------------------- This message was created and sent using the Cyberdog Mail System ---------------------------------------------------------------- From brian at whetstone.com Thu Dec 4 10:11:35 1997 From: brian at whetstone.com (Brian R Bias) Date: Thu Nov 3 14:40:47 2005 Subject: 7300/200 run RDR-1 Message-ID: <199712041811.NAA29672@whetstone.com> I have heard that a 7300/200 might run it, has anyone tried or had any luck? My first attempt got me 'timebomb' System Error : 'address error' (RESET BUTTON) just after the Caps Lock Keybpress part. _________________________________ Brian Bias Whetstone, Inc. / Reel World Software, Inc. e-mail: brian@whetstone.com (NeXTmail/MIME/ASCII) phone: 606.273.1752 From cwhatley at codefab.com Thu Dec 4 10:35:59 1997 From: cwhatley at codefab.com (Chris Whatley) Date: Thu Nov 3 14:40:47 2005 Subject: Upgrading NextStep apps to OpenStep In-Reply-To: <199712040443.UAA24996@gerbil.anim.dreamworks.com> References: <199712040443.UAA24996@gerbil.anim.dreamworks.com> Message-ID: <199712041836.NAA13267@tanya.codefab.com> You wrote: > Are there RDR tools for upgrading NextStep apps to OpenStep apps? > I'm referring to tools like those that were with NextStep 3.3 (and > 4.x?). For OpenStep 4.X apps, the conversion should be nearly effortless. I have done a few apps so far that use a fairly wide range of classes from Foundation and AppKit and have not run into any problems that one is not warned of in the release notes (e.g., new menu and popup APIs). For 3.3 apps, you should perform the OpenStep conversion process on a 4.2 machine and then move the code over to RDR. The conversion process is outlined on a 4.2 installation in ConvertingYourCode.rtf under /NextLibrary/Documentation/NextDev/ReleaseNotes. You should definitely focus on removing as much BSD api as possible and replacing it with code that uses the OS-independent parts of Foundation. --- Chris Whatley - CodeFab Inc. - http://www.codefab.com (E) cwhatley@codefab.com (O) 212 462 1004 (F) 212 462 1043 From dylan at anim.dreamworks.com Thu Dec 4 11:03:10 1997 From: dylan at anim.dreamworks.com (Dylan Kohler) Date: Thu Nov 3 14:40:47 2005 Subject: Upgrading NextStep apps to OpenStep References: <199712040443.UAA24996@gerbil.anim.dreamworks.com> <199712041836.NAA13267@tanya.codefab.com> Message-ID: <3486FE6E.3BBD6869@anim.dreamworks.com> Chris Whatley wrote: > > For OpenStep 4.X apps, the conversion should be nearly effortless. I have > done a few apps so far that use a fairly wide range of classes from > Foundation and AppKit and have not run into any problems that one is not > warned of in the release notes (e.g., new menu and popup APIs). > > For 3.3 apps, you should perform the OpenStep conversion process on a 4.2 > machine and then move the code over to RDR. The conversion process is > outlined on a 4.2 installation in ConvertingYourCode.rtf under > /NextLibrary/Documentation/NextDev/ReleaseNotes. You should definitely focus > on removing as much BSD api as possible and replacing it with code that uses > the OS-independent parts of Foundation. Thanks for the reply! The latter case you outline is the one I'm personally up against: I have no convenient access to those 4.x tops tools now. My mistake for assuming I wouldn't need to maintain an OpenStep 4.x system to upgrade NeXTStep 3.x code. I've asked DevSupport if they'd recompile tops unsupported for Rhapsody/Intel. ----------------------------------------------- Dylan Kohler DreamWorks Feature Animation dkohler@dreamworks.com (MIME, ASCII) From mahesh at recondelta.ius.cs.cmu.edu Thu Dec 4 11:30:45 1997 From: mahesh at recondelta.ius.cs.cmu.edu (Mahesh Saptharishi) Date: Thu Nov 3 14:40:47 2005 Subject: Good books for Rhapsody/OpenStep development Message-ID: <9712041930.AA26657@recondelta.ius.cs.cmu.edu> Hello all, Forgive me if this question is not truly appropriate for this list. I am rying to write a fairly complicated application and needs to take full advantage of the user interface capabilities and multithreading. My current developing envinroment is OpenStep 4.1, but I eventually want to move to Rhapsody. Something that would be really useful in my efforts is a good book on advanced user interface manipulation and distributed objects. I admit that books on Rhapsody are probably scarce or non-existent right now, but are there any good books out there for OpenStep 4.x? Books that concentrate on game programming or simulator programming would be of special use to me. How radical is the change in the development environment between Rhapsody and OpenStep? Thanks, -Mahesh From kevinc at icat.com Thu Dec 4 13:49:47 1997 From: kevinc at icat.com (Kevin Callahan) Date: Thu Nov 3 14:40:47 2005 Subject: PowerMac 9600/300? Message-ID: I had it running no problems whatsoever on an 8600/300 external barracuda would love to have it running on my PTPro 200 at home... but sigh..... > -----Original Message----- > From: Anders Pytte [SMTP:anders@milkweed.com] > Sent: Thursday, December 04, 1997 9:10 AM > To: Multiple recipients of list > Subject: PowerMac 9600/300? > > The PowerMac 9600/300 is not explicitly listed as a suported > configuration > for RDR1 in my installation manual, although PowerMac 9600 at lower > cpu > speeds are. Can anyone assure me that the RDR1 will run on the faster > machine? > > May thanks, > > Anders. > > > > > -- > > Anders Pytte Milkweed Software > Ferguson Hill Voice: (802) 472-5142 > Cabot VT 05647 Internet: anders@milkweed.com > > ---------------------------------------------------------------- > This message was created and sent using the Cyberdog Mail System > ---------------------------------------------------------------- > > From sebestyen_g at accentcomm.com Thu Dec 4 13:10:41 1997 From: sebestyen_g at accentcomm.com (Gabriel Sebestyen) Date: Thu Nov 3 14:40:47 2005 Subject: Instead of vmount ... Message-ID: <34871C51.FB92B027@accentcomm.com> Hi, I suggest everyone who don't use vmount the tool named dd ! :-)) Best regards, Gabriel Sebestyen PS: It helped me to transfer my sources from OS4.1, but now it's history! C:\WINNT\System32\> MAN DD .... From wmeyer at mediaone.net Thu Dec 4 14:19:14 1997 From: wmeyer at mediaone.net (Will Meyer) Date: Thu Nov 3 14:40:47 2005 Subject: Good books for Rhapsody/OpenStep development Message-ID: <199712050003.QAA14838@ignem.omnigroup.com> On 12/4/97 2:27 PM , Mahesh Saptharishi (mahesh@recondelta.ius.cs.cmu.edu) wrote: > I admit that books on Rhapsody are probably scarce or non-existent >right now, but are there any good books out there for OpenStep 4.x? Books >that concentrate on game programming or simulator programming would be of >special use to me. I'm not a programmer but as soon as I saw a book at Borders that said Rhaosody on it I forked out the $39.95. I've heard that it does contain some errors, but seems to be the only rhapsody programmers book out there. Rhapsody Developer's Guide Jesse Feiler AP Professional Publishing ISBN 0-12-251334-7 $39.95 US #55.95 Canada From n-endo at hq.sankyo.co.jp Thu Dec 4 16:22:11 1997 From: n-endo at hq.sankyo.co.jp (Naoto Endo) Date: Thu Nov 3 14:40:47 2005 Subject: Can G3 Move rhapsody? Message-ID: <199712050015.JAA05199@inetmail.edp.sankyo.co.jp> Hellow My first messege this Mailinglist I 'm Japanese biginer developer I got rhapsody cdrom now but I do not have macintosh I want to buy G3 Can G3 Move rapsody ? -- Naoto Endo n-endo@hq.sankyo.co.jp From brian at whetstone.com Thu Dec 4 17:08:21 1997 From: brian at whetstone.com (Brian R Bias) Date: Thu Nov 3 14:40:47 2005 Subject: More 7300/200 + Rhapsody DR-1 info needed Message-ID: <199712050108.UAA00699@whetstone.com> I had several replies that the 7300/200 should in fact work. Here's what I'm seeing: PowerMac 7300/200; 64M RAM; 4M video (?) (Have also tried at 32M and 2MB VRAM) 1. I have the PowerPC Rhapdosy DR-1 CD in drive; 2. I hold down the 'c' key on the keyboard and press 'Power' 3. The CD boots, and then I get the first graphical screen "MAC OS - Welcome to MacOS" 4. Then I let go of 'c' key 5. Then I press (and tried press and HOLD; and not press at all) the Caps Lock key, putting the keyboard LED into "Caps Lock = On" state 6. Then the progress indicator gets to the 10% complete position; the display does a shift from pale blue background to an even more washed-out shade of blue; then I immediately get: "System Error has occurred: address error" - and then I get to push the modal panel's RESTART button. Everything I try gives me the exact same response. (pre-switching video to low res; putting RAM in proper banks, etc.) A. What am I doing wrong? B. Is there any equiv. to seeing the 'console' type messages to tell what it is doing when this occurs? (I'm not historically a Mac person). Thanks! _________________________________ Brian Bias Whetstone, Inc. / Reel World Software, Inc. e-mail: brian@whetstone.com (NeXTmail/MIME/ASCII) phone: 606.273.1752 From paulrs at lgs-systems.com Thu Dec 4 18:07:36 1997 From: paulrs at lgs-systems.com (Paul R. Summermatter) Date: Thu Nov 3 14:40:47 2005 Subject: DPS Errors Message-ID: <9712050207.AA29005@cube> Hello all, I was wondering if anyone knew how to go about debugging DPS errors. When resizing a window, I am getting a rangecheck error with placewindow being the OffendingCommand. I have no idea where to begin with this. Any direction would be greatly appreciated. Regards, Paul --- Paul Summermatter LGS Systems, Inc. Medical Computing Division 182 Lake Street Hamburg, NY 14075-4826 (716) 646-1164 paulrs@lgs-systems.com (NeXT or MIME Mail Welcome) From sanguish at digifix.com Thu Dec 4 20:31:06 1997 From: sanguish at digifix.com (Scott Anguish) Date: Thu Nov 3 14:40:47 2005 Subject: Good books for Rhapsody/OpenStep development In-Reply-To: <199712050003.QAA14838@ignem.omnigroup.com> References: <199712050003.QAA14838@ignem.omnigroup.com> Message-ID: <199712050431.XAA21457@digifix.com> Will Meyer wrote: > On 12/4/97 2:27 PM , Mahesh Saptharishi > (mahesh@recondelta.ius.cs.cmu.edu) wrote: > > >I admit that books on Rhapsody are probably scarce or non-existent > >right now, but are there any good books out there for OpenStep 4.x? Books > >that concentrate on game programming or simulator programming would be of > >special use to me. > > I'm not a programmer but as soon as I saw a book at Borders that said > Rhaosody on it I forked out the $39.95. I've heard that it does contain > some errors, but seems to be the only rhapsody programmers book out there. > > Rhapsody Developer's Guide > Jesse Feiler > AP Professional Publishing > ISBN 0-12-251334-7 > $39.95 US #55.95 Canada I've been told by those who have read it that it is basically a rehash of the OpenStep APIs, and not a great rehash at that. Any book that covers OpenStep 4.x (which narrows it down to two ... have a look at the book list at http://www.stepwise.com/Resources/Books) would be a good help. It depends on what you need to get from the book... (general overall information on OpenStep programming, or specific applications). There are no OpenStep books that concentrate on programming games or simulators... In those cases you'd be better off with general books on graphics. Of course there are always good technical articles on Stepwise.. :-) From brian at whetstone.com Thu Dec 4 20:17:35 1997 From: brian at whetstone.com (Brian R Bias) Date: Thu Nov 3 14:40:47 2005 Subject: thanks to all on 7300/200 install Message-ID: <199712050417.XAA01202@whetstone.com> Wow! So many replies. Too many to individually thank. Problem seems to have been ParameterRAM zapping + AppleTalk should be ON. Thanks to all. _________________________________ Brian Bias Whetstone, Inc. / Reel World Software, Inc. e-mail: brian@whetstone.com (NeXTmail/MIME/ASCII) phone: 606.273.1752 From nancy at bluecomet.com Thu Dec 4 20:39:52 1997 From: nancy at bluecomet.com (Nancy Craighill) Date: Thu Nov 3 14:40:47 2005 Subject: Good books for Rhapsody/OpenStep development References: <199712050003.QAA14838@ignem.omnigroup.com> Message-ID: <9712050439.AA00475@bluecomet.com> A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 448 bytes Desc: not available Url : /mailman/archive/macosx-dev/attachments/19971204/36b3ac0c/attachment.bin From paul at eisusa.com Thu Dec 4 21:06:31 1997 From: paul at eisusa.com (Paul Nicholson) Date: Thu Nov 3 14:40:47 2005 Subject: PowerMac 9600/300? In-Reply-To: Message-ID: At 9:09 AM -0800 12/4/97, Anders Pytte wrote: >The PowerMac 9600/300 is not explicitly listed as a suported configuration >for RDR1 in my installation manual, although PowerMac 9600 at lower cpu >speeds are. Can anyone assure me that the RDR1 will run on the faster >machine? There was an issue with the speed bump machines that was reported by Steve Jasik. His debugger for the mac can read from dead PCI space. While this causes no problems on other machines as the bus error is handled by the debugger, on the speed bump machines there is apparently a fault in the glue logic that prevents the normal bus error exception from working. Steve's solution was to put in a flag to programaticaly prevent the debugger from accessing these locations. I'd stay away from a speed bump machine for this reason. The G3's are faster and cheaper anyway, and they will run Rhapsody "real soon now". Paul From arti at lava.net Thu Dec 4 21:21:25 1997 From: arti at lava.net (Art Isbell) Date: Thu Nov 3 14:40:47 2005 Subject: How do you want multi-threaded AppKit access to work? References: <9712041416.AA07482@House.org> Message-ID: <9712050521.AA00619@lava.net> A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 1427 bytes Desc: not available Url : /mailman/archive/macosx-dev/attachments/19971204/def5db4c/attachment.bin From smart at ensuing.com Fri Dec 5 02:48:33 1997 From: smart at ensuing.com (Karl Kraft) Date: Thu Nov 3 14:40:48 2005 Subject: DPS Errors Message-ID: <668m61$4an@satva.ensuing.com> In article <9712050207.AA29005@cube> "Paul R. Summermatter" writes: > > Hello all, > > I was wondering if anyone knew how to go about debugging > DPS errors. When resizing a window, I am getting a rangecheck error > with placewindow being the OffendingCommand. I have no idea where > to begin with this. Any direction would be greatly appreciated. > > Regards, > Paul > All from recollection..... The hardest part about debugging PS, is that the PS commands you send down to the window server are cached until the Window Server needs to return some value to the applications. Usually this is the next time you hit the event loop, or when you call PSWait(). However, you don't wan't to pepper your code with PSwait() commands, so you need some way to turn the caching off. So let's hop into GDB and give it a try: gdb MyApp.app/MyApp /// blah blah blah (gdb) run -NSSyncPS YES # It might be called something different /// blah blah blah Now the program should run, and you should find that you get the error somewhere close to where you are telling a window to be moved to somewhere. What you need now is to be able to see the postscript, so you can figure out what is wront. Set a break point somewhere before the error occurs, then when you hit the break point, type something like this (gdb) showps (gdb) n Continue stepping through the code and you will see the drawing commands. Evetnually you will see some PS that looks like: 100 100 200 200 45 placewindow Followed by the error message. placewindow basically moves a window to a location. rangecheck means that some value was way off. x y width height window placewindow width and height must be < 10000. Did you pass a negative value? x plus width must be less than 16000 y plus height must be less than 16000 if x,y,width or height are completely screwed up, you may have passed an int where a float was expected, and you didn't have a prototype for the function. Finally, the window number is (I recall), a positive number, is it some oddball value like -1 or 0? Is the number higher than the number of windows you have on the screen (like is is 1 million or something?) Some old drag and drop code used place window, and it converted an appkit window to a local context window number, to a global context window number. If you are dealing with ported code, that may be the problem. Again, this is all from memory, so I may have some of the details wrong. I mostly meant this to give you an idea where to look. -- --K2 karl@ensuing.com (Karl Kraft) OpenStep/Rhapsody Developer: cogitamus alius. From paulrs at lgs-systems.com Fri Dec 5 06:01:05 1997 From: paulrs at lgs-systems.com (Paul R. Summermatter) Date: Thu Nov 3 14:40:48 2005 Subject: DPS Errors In-Reply-To: <9712050607.AA01116@lava.net> References: <9712050207.AA29005@cube> <9712050607.AA01116@lava.net> Message-ID: <9712051401.AA29919@cube> Hello, I just wanted to thank everyone for the help on the DPS issue. In typical fashion, just after sending the original message, I found the problem. However, it is very helpful to know that showps will log the postscript stack. Regards, Paul --- Paul Summermatter LGS Systems, Inc. Medical Computing Division 182 Lake Street Hamburg, NY 14075-4826 (716) 646-1164 paulrs@lgs-systems.com (NeXT or MIME Mail Welcome) -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 458 bytes Desc: not available Url : /mailman/archive/macosx-dev/attachments/19971205/b306b968/attachment.bin From bbum at codefab.com Fri Dec 5 07:37:51 1997 From: bbum at codefab.com (Bill Bumgarner) Date: Thu Nov 3 14:40:48 2005 Subject: How do you want multi-threaded AppKit access to work? In-Reply-To: <9712050521.AA00619@lava.net> References: <9712050521.AA00619@lava.net> Message-ID: <199712051537.KAA05828@mung.codefab.com> A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 1333 bytes Desc: not available Url : /mailman/archive/macosx-dev/attachments/19971205/3b4136a8/attachment.bin From sebestyen_g at accentcomm.com Fri Dec 5 06:43:52 1997 From: sebestyen_g at accentcomm.com (Gabriel Sebestyen) Date: Thu Nov 3 14:40:48 2005 Subject: class-dump for RDR available now ... Message-ID: <34881328.ED2B9AE0@accentcomm.com> Hi, Here you are ...: The binary: ftp://ftp.accentcomm.com/pub/class-dump.2.1.0/class-dump.2.1.0.b.RDR-PI.tar.gz The soure: ftp://ftp.accentcomm.com/pub/class-dump.2.1.0/class-dump.2.1.0.s.RDR.tar.gz Best regards, Gabriel Sebestyen From sebestyen_g at accentcomm.com Fri Dec 5 06:26:02 1997 From: sebestyen_g at accentcomm.com (Gabriel Sebestyen) Date: Thu Nov 3 14:40:48 2005 Subject: S3 Trio64V+ ? Message-ID: <34880EFA.EF5F0D0E@accentcomm.com> Hi, Miro Video22SD (S3 Trio64V+) is not recognized by S3GenericDriver but use as a default S3. Has anyone met yet with this problem? Best regards, Gabriel Sebestyen From sebestyen_g at accentcomm.com Fri Dec 5 06:25:24 1997 From: sebestyen_g at accentcomm.com (Gabriel Sebestyen) Date: Thu Nov 3 14:40:48 2005 Subject: ProjectBuilder death ... Message-ID: <34880ED4.7A2B5EB3@accentcomm.com> Hi! ProjectBuilder RDR sometimes go suicide when it does index: Dec 05 16:53:23 ProjectBuilder[353] *** -[NSTableHeaderCell indexingState]: selector not recognized Gabriel Sebestyen From anders at milkweed.com Fri Dec 5 08:13:23 1997 From: anders at milkweed.com (Anders Pytte) Date: Thu Nov 3 14:40:48 2005 Subject: PowerMac 9600/300? Message-ID: On Fri, Dec 5, 1997 12:21 AM, Paul Nicholson wrote: The G3's are faster and cheaper anyway, and they will run Rhapsody "real soon now". >From the FAQ: "The Rhapsody Developer Release does not support these systems. However, Rhapsody's Premier release is expected to extend hardware support to high end systems which are shipping at that time. Detailed information on supported configurations will be available then." I have only heard that the Premier release is due in early 1998. That could be anytime before April, in my experience. Do you have more details? Or is apple planning a wed update or another RDR CD mailing before the Premier release which will extend support to G3? Anders. -- Anders Pytte Milkweed Software Ferguson Hill Voice: (802) 472-5142 Cabot VT 05647 Internet: anders@milkweed.com ---------------------------------------------------------------- This message was created and sent using the Cyberdog Mail System ---------------------------------------------------------------- From anders at milkweed.com Fri Dec 5 09:49:22 1997 From: anders at milkweed.com (Anders Pytte) Date: Thu Nov 3 14:40:48 2005 Subject: any "Java APIs for the Yellow Box" experience? Message-ID: Hi, Has anyone out there tried to write a yellow box application using the (alpha) Java APIs? Was your experience positive? Do you think it would be feasible to begin a small commercial project now that could ship shortly after the Rhapsody Premier release? Thanks, Anders. -- Anders Pytte Milkweed Software Ferguson Hill Voice: (802) 472-5142 Cabot VT 05647 Internet: anders@milkweed.com ---------------------------------------------------------------- This message was created and sent using the Cyberdog Mail System ---------------------------------------------------------------- From ken at rnd.baseview.com Fri Dec 5 04:49:54 1997 From: ken at rnd.baseview.com (ken) Date: Thu Nov 3 14:40:48 2005 Subject: Util to convert MacOS ICONs, etc. to TIFFS? Message-ID: <199712051849.KAA29980@ignem.omnigroup.com> Does anyone have a utility for the MacOS or Rhapsody to convert ICON, curs, PICT, etc., resources to TIFFs for use on Rhapsody? Just thought I'd ask before attempting to write it myself. Thanks, Ken Rorick ken@rnd.baseview.com From stark at easynet.fr Fri Dec 5 09:59:10 1997 From: stark at easynet.fr (stark@easynet.fr) Date: Thu Nov 3 14:40:48 2005 Subject: How do you want multi-threaded AppKit access to work? References: <9712050521.AA00619@lava.net> Message-ID: <9712051759.AA00416@easynet.fr> Hi, > > I'm starting to port my NEXTSTEP MiscThreadedApp stuff to OPENSTEP > > and > > Rhapsody, and I'd like some input on how you'd like multithreaded > > AppKit > > access to work. > > Faster than under NEXTSTEP or OPENSTEP :-) This isn't a comment > about MiscThreadedApp at all but about the apparent necessity to set the > Objective-C runtime to run in multithreaded mode for any multithreaded > operation. This increases each message-send by a factor of 3 resulting in > a very noticeable sluggishness! Yep. I have an app here that would gain tremendous performance 'feeling' by muti-threading, but would loose too much real performance... > I say "apparent" because I've heard that the danger in running the > run-time in single-threaded mode occurs only when code defining new classes > or categories is dynamically-loaded. I don't think so. Loading new class is one of the case where damage can be done, but I think that Objective-C maintains a cache of SEL->IMP mapping that changes over the time (I never quite undertood how it works. Any enlightment on this area would be welcome) This means that sending a message to an object may cause runtime (global) cache entry to be recoumputed, so probably crashing other concurrent SEL->IMP resolutions. Maybe this could be avoided by a cache-per-thread, but I've been told that the cache is huge. Or maybe this info is outdate and ObjC does not work like this anymore... > But this isn't something one should > risk with a commercial or critical app. [Side note: Yes, but it is so easy to do by mistake: if the first connect to an EOF database is done in a thread, the adaptor will be linked in a thread] > Under NS, one could set the > run-time back to single-threaded mode, but under OS, apparently once > another NSThread was spawned, the run-time remained in this sluggish > multithreaded mode even when only a single thread existed. Maybe the problem is only on the NSThread side (ie: the fact that an app is considered multi-threaded just means that certain notfication have to be sent to allocate locks.) Even if the app come back to "single-thread objective-C status", this does not mean that internal Foundation/AppKit/Application locks should be destroyed, so the NSThread still says that the app is multithreaded. What I mean is that objc_setMultithreaded(NO) may still work on OS4.x [ie: reverting to an efficient message passing system], even if the app is still considered as multithreaded at a higher level... Hmmm. I guess this worth a check... Cheers, --fred From ricardo at ccsi.canon.com Fri Dec 5 11:32:26 1997 From: ricardo at ccsi.canon.com (Ricardo Parada) Date: Thu Nov 3 14:40:48 2005 Subject: NSOutlineView Message-ID: <199712051933.LAA01606@ccsi.canon.com> A couple of people asked me to show how I used NSOutlineView. Here's how. In Project Builder add the Tree.plist file under "Other Resources". I've included this file at the end of this message. Add a window to your main nib file in Interface Builder. Drag a table view from the palettes to this window. Bring up the inspector in Interface Builder. Double click on the table view and change its class from NSTableView to NSOutlineView. You do this using the inspector in Interface Builder (by selecting Custom Class from the pop up list in the inspector). You'll need an app controller with an outlet to the NSOutlineView. Connect this outlet to the NSOutlineView. Then in your app controller's awakeFromNib put this code: #import "TreeDataSource.h" - (void)awakeFromNib { dataSource = [[TreeDataSource alloc] init]; [outlineView setDataSource:dataSource]; } Below is the implementation of TreeDataSource and the Tree.plist file that contains the strings that get displayed by the NSOutlineView. TreeDataSource.h ================================================== #import @interface TreeDataSource : NSObject { NSArray *rootItems; } @end TreeDataSource.m ================================================== #import "TreeDataSource.h" @implementation TreeDataSource - init { [super init]; rootItems = [[[NSString stringWithContentsOfFile: [[NSBundle mainBundle] pathForResource:@"Tree" ofType:@"plist"]] propertyList] retain]; return self; } - (void)dealloc { [rootItems release]; [super dealloc]; } // Methods below are equired by NSOutlineView // // NOTE: Documentation says that item is nil when the outline view // wants to inquire for root level items. However, it seems like // the item was self instead of nil. So you'll see a check for // item == self in addition to nil in the methods below. - (id)outlineView:(NSOutlineView *)view child:(int)index ofItem:(id)item { if (item == nil || item == self) return [rootItems objectAtIndex:index]; return [[item objectForKey:@"children"] objectAtIndex:index]; } - (BOOL)outlineView:(NSOutlineView *)view isItemExpandable:(id)item { if (item == nil || item == self) return YES; if ([[item objectForKey:@"children] count] > 0) return YES; return NO; } - (int)outlineView:(NSOutlineView *)view numberOfChildrenOfItem:(id)item { if (item == nil || item == self) return [rootItems count]; return [[item objectForKey:@"children"] count]; } - (id)outlineView:(NSOutlineView *)view objectValueForTableColumn:(NSTableColumn *)tableColumn byItem:(id)item { return [item objectForKey:@"name"]; } @end Tree.plist ====================================================== ( { name = Presidents; children = ( { name = UnitedStates; children = ( { name = Clinton; children = () }, { name = Bush; children = () }, { name = Reagan; children = () }, { name = Carter; children = () } ) }, { name = Mexico; children = ( { name = DeLaMadrid; children = () }, { name = Salinas; children = () }, { name = Zedillo; children = () } ) } ) }, { name = Colors; children = ( { name = Red; children = () }, { name = Blue; children = () }, { name = Yellow; children = () } ) } ) From inzet at planet.it Fri Dec 5 12:45:34 1997 From: inzet at planet.it (Gianluca Sordiglioni) Date: Thu Nov 3 14:40:48 2005 Subject: 7300/200 run RDR-1 Message-ID: <19971205194452.AAA29184@ppp1-40.planet.it> >I have heard that a 7300/200 might run it, has anyone tried or had any luck? I installed RDR on a 7300/200/32, then I upgraded to 64MB RAM because the disk swap was so high to hit the performance down. I use an external drive, but DO NOT try to move it on an internal bus because don't work. At present the system runs without a crash for over 2 weeks, with a daily development use. Gianluca Sordiglioni Macintosh Programming & Consulting From bjanzen at apple.com Fri Dec 5 04:57:37 1997 From: bjanzen at apple.com (Barry Janzen) Date: Thu Nov 3 14:40:48 2005 Subject: Util to convert MacOS ICONs, etc. to TIFFS? References: <199712051849.KAA29980@ignem.omnigroup.com> Message-ID: <3487FA41.D377C689@apple.com> OmniImage should do the trick - check out http://www.omnigroup.com/Software/OmniImage/ And OmniImageFilter really blows people away when you'd demo it. So Omni folks, what are the plans? Barry ken wrote: > Does anyone have a utility for the MacOS or Rhapsody to convert ICON, > curs, PICT, etc., resources to TIFFs for use on Rhapsody? Just thought > I'd ask before attempting to write it myself. > > Thanks, > > Ken Rorick > ken@rnd.baseview.com From Philippe.Robert at nice.ch Fri Dec 5 16:54:11 1997 From: Philippe.Robert at nice.ch (Philippe C.D. Robert) Date: Thu Nov 3 14:40:48 2005 Subject: S3 Trio64V+ ? In-Reply-To: <34880EFA.EF5F0D0E@accentcomm.com> References: <34880EFA.EF5F0D0E@accentcomm.com> Message-ID: <9712060054.AA00319@nice.ch> Hi! You wrote: > Miro Video22SD (S3 Trio64V+) is not recognized by S3GenericDriver but > use as a default S3. Has anyone met yet with this problem? > Best regards, Use the Diamond Stealth 64 driver instead! This worked for me... sweet dreams, Phil --- Philippe C.D. Robert, CS-student @ Uni Bern (Switzerland) OPENSTEP/Rhapsody Programmer @ STONE soft GmbH Email:Philippe.Robert@nice.ch (NeXTMail & MIME accepted) Homepage:http://www.nice.ch/~phip From wjaxmann at twsuvm.uc.twsu.edu Fri Dec 5 22:00:34 1997 From: wjaxmann at twsuvm.uc.twsu.edu (Wally Axmann) Date: Thu Nov 3 14:40:48 2005 Subject: Printing text files from RDR/Mac - no network Message-ID: <3488EA01.73C3@twsuvm.uc.twsu.edu> A few weeks ago I asked what it took to print from RDR/PPC without a network - I got no really encouraging answers. But I have discovered a trick that has allowed me to print text files and I know that some others on this list expressed an interest in any answers. The trick is to use Norton Utilities UnErase (while in MacOS) to read RDR floppies containing the text files. Details are given below for those interested. Details: 1) Format and mount a floppy in RDR (following instruction posted by J. Scott Franko) a) with a shell window up in RDR insert an Mac formatted floppy b) su (to root) c) df (to find the mount point of /dev/rfd0b (the floppy)) d) umount (for example umount /untitled) e) disk -i /dev/rfd0a (init the floppy) f) disk -e /dev/rfd0a (eject the floppy) g) reinsert the floppy (it will mount at /Disk) 2) Copy the text files you want to print to the floppy a) cp /Disk (for example cp /me/foo.txt /Disk) 3) Reboot to MacOS 4) Use Norton Utilities to get files a) run Norton Utilties UnErase b) insert floppy c) select floppy click Search d) wait......... e) Dialog box - "The MDB is damaged" - click OK f) click Search Again g) choose Method: Text Scan Options: Search for: X erased files X real files Search text: (I used "#import" since I was printing code) h) click Search i) wait........ j) Select files found click Recover save to Hard Drive 5) Print files a) Drag files recovered from Hard Drive to favorite Word Processor- import Unix text b) Print Notes: You may have to clean things up a bit as occasionally two files will become one or one will split in two - I've printed two dozen files and two or three were a bit messed up. Also, some word processors may not like Unix text - the CR and LF and such are not the same as Mac. You probably want to use a newly erased floppy as used floppies might have old file fragments on them. You might also be able to get html and postscript files this way. Hope this helps. Wally Axmann Wichita State University Dept. of Mathematics wjaxmann@twsuvm.uc.twsu.edu From sanguish at digifix.com Fri Dec 5 23:35:32 1997 From: sanguish at digifix.com (Scott Anguish) Date: Thu Nov 3 14:40:48 2005 Subject: SUMMARY: Localization Question Message-ID: <199712060735.CAA28611@digifix.com> A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 1104 bytes Desc: not available Url : /mailman/archive/macosx-dev/attachments/19971206/f34a7faf/attachment.bin From steve at artlabeurope.com Sat Dec 6 11:12:09 1997 From: steve at artlabeurope.com (steve@artlabeurope.com) Date: Thu Nov 3 14:40:48 2005 Subject: intro and [?] NSTableView and datasource Message-ID: Hi- I'm a new programmer, getting into development for the first time- the idea for my app came along about the same time as rhapsody, so here I am. I'm a designer by training, a webmaster/web developer/graphic designer by trade, and have just begun working on my first application. I'm just learning the openstep/rhapsody API's, and boy are their a lot of them! ;) I'm still trying to grasp some of the concepts involved in the view-subview / controller-cell relationships... I have a tableview and a datasource(controller), and data objects representing the items in the tview. I can't find anything where it says what objects can be returned by the datasource for tableView:objectValueForColumn:row:... do I assume correctly that anything contained in a view can be returned? or is there something I'm missing? Would I be along the right lines to have the data objects return a .nib-loaded view, or would I have to create the view programmatically? Just for the record, I _have_ searched through NSTableView, NSMatrix, NSControl, NSView, DiscoveringOpenstep, and searched the source of several of the DTS sample apps and am not a lot closer to "getting" it. rrgh. I'm a tad confused here, so be merciful to the idiot newbie... ;) --Steve Ivy Technical Director, Developer ArtLab Europe From mike at lorax.com Sat Dec 6 19:23:15 1997 From: mike at lorax.com (Mike Ferris) Date: Thu Nov 3 14:40:48 2005 Subject: how to make IB keep the CVS directory inside a nib? References: <199712032036.MAA29685@net-community.com> Message-ID: <348A16A3.71D7D8D9@lorax.com> Ovidiu Predescu wrote: > > Hi, > > I seem to remember somebody wrote a bundle for IB that makes it keep the CVS > directory inside a nib when it saves a nib. Can somebody point me to the > place where I can find that bundle? Or am I dreaming and such a thing doesn't > exist? > > Or is it a better idea to use a CVS wrapper to work with nib directories > when using CVS? > > Thanks, > Ovidiu > > --- > Ovidiu Predescu (NeXTMail, MIME) > http://www.net-community.com/Users/~ovidiu/ At Apple we use the cvs wrappering feature to wrap all directory package type source files. This works great and you don't need a specific solution for every app that uses file packages. You just need to make sure to keep the list of file package extensions current in your cvs configuration... Mike Ferris Yellow Application Frameworks From mike at lorax.com Sat Dec 6 19:26:40 1997 From: mike at lorax.com (Mike Ferris) Date: Thu Nov 3 14:40:48 2005 Subject: Localization Question References: <9712040913.AA21869@tokyo.stellar.co.jp> Message-ID: <348A1770.399AB09B@lorax.com> The easiest way to make a localized lproj directory part of your application project is to add it to the Other Resources suitcase in ProjectBuilder. This will cause it to be copied to the Resources directory when you build the app. Mike Ferris Yellow Application Frameworks From paulrs at lgs-systems.com Sat Dec 6 13:11:45 1997 From: paulrs at lgs-systems.com (Paul R. Summermatter) Date: Thu Nov 3 14:40:48 2005 Subject: intro and [?] NSTableView and datasource In-Reply-To: References: Message-ID: <9712062111.AA02441@cube> Steve, Wow, talk about taking a big bite! If this is your first foray into object oriented programming, I would highly suggest starting not with developing an application and trying to learn all of the APIs, but reading a general OO design book and getting a good feel for the model view controller paradigm, as this paradigm pervades the Yellow box frameworks. I would highly reccommend NeXTSTEP Programming Concepts and Applications by Alex Duong Nghiem, ISBN #0-13-605916-3. As for your specific problem, you should really take a look at the examples. The TAController in the TravelAdvisor example acts as a tableDataSource. The object value that you return from the objectValueForTableColumnMethod must be one that can be handled by the formatter for the dataCell for the tableColumn. Typically, this would be an NSString, an NSNumber or an NSCalendarDate. Actually, if you are just dealing with strings, you do not need to worry about a formatter in the dataCell. Regards, Paul You wrote: > Hi- > > I'm a new programmer, getting into development for the first time- > the idea for my app came along about the same time as rhapsody, so > here I am. I'm a designer by training, a webmaster/web > developer/graphic designer by trade, and have just begun working on > my first application. > > I'm just learning the openstep/rhapsody API's, and boy are their a > lot of them! ;) > > I'm still trying to grasp some of the concepts involved in the > view-subview / controller-cell relationships... I have a tableview > and a datasource(controller), and data objects representing the > items in the tview. I can't find anything where it says what > objects can be returned by the datasource for > tableView:objectValueForColumn:row:... do I assume correctly that > anything contained in a view can be returned? or is there something > I'm missing? Would I be along the right lines to have the data > objects return a .nib-loaded view, or would I have to create the > view programmatically? > > Just for the record, I _have_ searched through NSTableView, > NSMatrix, NSControl, NSView, DiscoveringOpenstep, and searched the > source of several of the DTS sample apps and am not a lot closer to > "getting" it. rrgh. > > I'm a tad confused here, so be merciful to the idiot newbie... ;) > > --Steve Ivy > Technical Director, Developer > ArtLab Europe > --- Paul Summermatter LGS Systems, Inc. Medical Computing Division 182 Lake Street Hamburg, NY 14075-4826 (716) 646-1164 paulrs@lgs-systems.com (NeXT or MIME Mail Welcome) -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 2615 bytes Desc: not available Url : /mailman/archive/macosx-dev/attachments/19971206/04a90a28/attachment.bin From jnelson at bga.com Sat Dec 6 18:31:47 1997 From: jnelson at bga.com (John N. Bryan) Date: Thu Nov 3 14:40:48 2005 Subject: "ping" Message-ID: Is this thing on?? Just checking, no incoming mail from this list for me since Wednesday.... :-/ -JB From ovidiu at net-community.com Sat Dec 6 22:10:32 1997 From: ovidiu at net-community.com (Ovidiu Predescu) Date: Thu Nov 3 14:40:48 2005 Subject: how to make IB keep the CVS directory inside a nib? In-Reply-To: <348A16A3.71D7D8D9@lorax.com> References: <199712032036.MAA29685@net-community.com> <348A16A3.71D7D8D9@lorax.com> Message-ID: <199712070610.WAA00698@net-community.com> A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 1108 bytes Desc: not available Url : /mailman/archive/macosx-dev/attachments/19971206/cced5df3/attachment.bin From meeroh at MIT.EDU Sat Dec 6 22:53:07 1997 From: meeroh at MIT.EDU (Miro Jurisic) Date: Thu Nov 3 14:40:48 2005 Subject: 7300/200 run RDR-1 In-Reply-To: <199712061815.KAA13872@ignem.omnigroup.com> Message-ID: >>I have heard that a 7300/200 might run it, has anyone tried or had any luck? > >I use an external drive, but DO NOT try to move it on an internal bus >because don't work. RDR1 runs on my 7300/200 on an internal 2G Quantum Fireball. It doesn't have a problem having only a half of the disk either. meeroh "The last good thing written in C was Franz Schubert's Symphony number 9." Erwin Dieterich From inzet at planet.it Sun Dec 7 10:11:21 1997 From: inzet at planet.it (Gianluca Sordiglioni) Date: Thu Nov 3 14:40:48 2005 Subject: 7300/200 run RDR-1 Message-ID: <19971207171035.AAA18632@ppp1-53.planet.it> >RDR1 runs on my 7300/200 on an internal 2G Quantum Fireball. It doesn't >have a problem having only a half of the disk either. If it's on a partition is works. However a friend of mine left the computer off for a couple of days and the partition corrupted. This happened two times. (he installed on a 7600/132/80). By the way, documentation states installing on a partition is not recommended, so he did at his own risk. If you install RDR on an external disk and after that you try to mount it internally you got crashes at startup. I tried to reconfigure the SCSI ID of the external disk to 0 and remove/change ID to the internal one, and set/reset the PRAM accordling using the Rhapsody control panel, with no result. Gianluca Sordiglioni Macintosh Programming & Consulting From wjs Sun Dec 7 16:07:04 1997 From: wjs (William Shipley) Date: Thu Nov 3 14:40:48 2005 Subject: Moderator's list usage guidelines. Message-ID: <199712080007.QAA27467@ignem.omnigroup.com> Rhapsody-dev is a strictly moderated list. It has a very narrow charter, and if you post messages outside this charter you will be removed from the list. Strict moderation is intended to keep the signal-to-noise ratio very high. Use the 'rhapsody-talk' list if you want to post something that you consider valuable but is outside the charter of this list. Please read through the examples of noise, below, as the list's direction has been refined slightly as of now. Most notable change: PLEASE TAKE RHAPSODY MACHINE CONFIGURATION DISCUSSIONS TO RHAPSODY-TALK. As always, if you have a problem with this list, send mail to , NOT THE LIST. The Charter, Summed Up: ----------------------- This list is for asking questions about programming under Rhapsody, and answering questions about programming under Rhapsody. Everything else is noise. General List Rules: ------------------- - In general, please limit yourself to ONE (1) post a day on this list, at MOST. Think about the 800 of us that have to read every word you write. This isn't the place for lengthy philosophical discussions. - CHANGE SUBJECT LINES to match what you are saying. In general, NEVER use the easy "RE: blah blah blah". You can use "Other issues with blegga (was blah blah" or "Answers to: blah blah blah". - Responses to questions should go to the author of the question, who should later nicely post either a summary of the good responses OR the best response. - If you find you must quote someone, quote ONLY the person's name and the RELEVANT lines of his message. Assume that everyone who reads this list reads this list, and thus will have read the same message and doesn't need to be reminded. (Also, remember we have our on-line archives at: http://www.omnigroup.com/MailArchive/rhapsody-dev/. - .Sigs should be short and pithful. - DON'T POST IN MIME. It looks like crud in digests and other kinds of readers. Examples of What Noise Is: -------------------------- - NEW: Messages about getting Rhapsody running. I know this is a valuable thing, but we've gotten too big to have everyone who needs configuration help posting here. Use rhapsody-talk until a better list is made. - Sending messages to Apple. This is the biggest violation I've been seeing. Send messages to if you want to say anything to Apple. JUST BECAUSE APPLE ENGINEERS READ THIS LIST DOESN'T MEAN IT'S FOR TALKING TO APPLE ENGINEERS. Here are some more specific examples of this: - Bug reports. The ONLY exception to this is if you encounter a bug others may have hit AND you post a workaround as well. Other than that, send bug reports to . Do NOT try to disguise your bug report as a question by wording it, "I think I've discoverd a bug, can anyone else verify this?" You'll still get booted off the list. - Wish lists. I don't care if it's UI, Samba support, filesystem stuff, executable format, boot images, whatever. Yes, lots of stuff would be nice. DISCUSSING IT HERE DOES NO GOOD. Send e-mail to where it might. We are NOT NOT NOT going to use this list to arrive at consensus opinions of what Apple should do. - Language advocacy. Languages are way too political to discuss on a low-volume group. Yes, there are some interesting issues, but it too quickly degenerates into a big flame war, and everyone has to get in his opinion, so let's just not go there. - Any post beginning "I'm not sure, but..." If you're not sure, let someone else respond, or send e-mail directly to the person. Think of all the people you are making a fool of yourself in front of if you are wrong. Only post if you're 100% certain, and you're sure everyone else wants to hear the answer. - MacOS legacy discussions. Anything about how MacOS works is by definition not of interest to this list, even if it's intrinsically or historically interesting otherwise. The only exception is posts which are specifically showing how a MacOS feature translates into Rhapsody. Educating this list on MacOS conventions is off-charter. Discussions of what QuickTime should and shouldn't include are also off-topic. Only discussions of what something DOES do, not what it might, could, or should do belong here. - NEXTSTEP legacy discussions. Porting for 3.3 to Rhapsody is not something Rhapsody programmers care about. I know some people care a lot, but those people are over in next-prog, not rhapsody-dev. - Lengthy screeds about what's been lost from MacOS or NEXTSTEP in going to Rhapsody. Really, this kind of post is disqualified two ways: no lengthy screeds are allowed, and no posts primarily about opinions are allowed. - Followups to lengthy screeds. Remember, if everyone acts as the moderator, it's just as noisy as an unmoderated list. There are about 20 messages in the "Shut up about the boot process" thread that we all could have done without. I know everyone meant well, but if this list is going to work we need more people to silently disapprove, or send personal e-mail. - Calls to arms for developers to rise up against Apple on some issue that is purportedly of interest to us all. By now, I'm guessing you can figure out why this kind of post isn't right here. Many of us semper-fi veterans remember what this kind of post did there. I'm not going to be so tolerant. Remember, this is intended to be a low-volume list. If a day goes by and there are no messages, good. Your friendly moderator, -Wil Shipley Omni Development, Inc. From arlen at pacbell.net Sun Dec 7 16:38:06 1997 From: arlen at pacbell.net (Arlen Sanders) Date: Thu Nov 3 14:40:48 2005 Subject: NX Hosting Or The Like Message-ID: <348B415B.901560C9@pacbell.net> Does anybody know when we can expect to see "clients" for the Rhapsody server for such platforms as 68K Macs, Win95, etc? What I mean is the equivalent of X Terminal clients although I believe for Rhapsody it will be called NX Hosting? Seems this would be great for multiplayer games on a Rhapsody server. Arlen From bbum at codefab.com Mon Dec 8 07:22:19 1997 From: bbum at codefab.com (Bill Bumgarner) Date: Thu Nov 3 14:40:48 2005 Subject: how to make IB keep the CVS directory inside a nib? In-Reply-To: <348A16A3.71D7D8D9@lorax.com> References: <348A16A3.71D7D8D9@lorax.com> Message-ID: <199712081522.KAA08662@mung.codefab.com> A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 566 bytes Desc: not available Url : /mailman/archive/macosx-dev/attachments/19971208/92b6c5a7/attachment.bin From paul at eisusa.com Mon Dec 8 15:12:00 1997 From: paul at eisusa.com (Paul Nicholson) Date: Thu Nov 3 14:40:48 2005 Subject: NSImageView won't load Icon In-Reply-To: <3487FA41.D377C689@apple.com> Message-ID: Hi, I am trying to load an image into an NSImageView object in a window. First the image is loaded from disk using the following code. path = [[NSBundle mainBundle] pathForImageResource:@"priority0.tiff"]; priority0Image = [[NSImage alloc] initByReferencingFile:path]; If I look in the application folder the file is there. Then the image is displayed using: [InPriorityInd setImage priority0Image]; However the image does not show. The image is defined in the main (and only) nib of the program and it was created using IconBuilder. If the image is dragged to the view in the window using IB, it will display correctly. If I call the isValid method after the initByReferencing Path call, the result is false. It appears that the system is unable to find or load the image. What am I doing wrong? Paul Paul Nicholson Electronic Imaging Systems, Inc. TEL 805 532 1068 5148 Commerce Avenue, Unit F FAX 805 532 1065 Moorpark, CA 93021 U.S.A. paul@eisusa.com http://www.eisusa.com From paul at eisusa.com Mon Dec 8 16:34:02 1997 From: paul at eisusa.com (Paul Nicholson) Date: Thu Nov 3 14:40:48 2005 Subject: NSImageView won't load Icon, more clues Message-ID: Hi, << late update >> There's one more thing I discovered. If I look in the application wrapper, the icons are stored in MyApp.app/Resources/English.lproj/NEXTSTEP_MyApp.nib. However the ToDo example application stores it's icons in MyApp.app/Resources. If I move my icons from NEXTSTEP_MyApp.nib to the app's resource folder my code works. How do IB and PB decide where to put iimages in the app wrapper? << end late update >> I am trying to load an image into an NSImageView object in a window. First the image is loaded from disk using the following code. path = [[NSBundle mainBundle] pathForImageResource:@"priority0.tiff"]; priority0Image = [[NSImage alloc] initByReferencingFile:path]; If I look in the application folder the file is there. Then the image is displayed using: [InPriorityInd setImage priority0Image]; However the image does not show. The image is defined in the main (and only) nib of the program and it was created using IconBuilder. If the image is dragged to the view in the window using IB, it will display correctly. If I call the isValid method after the initByReferencing Path call, the result is false. It appears that the system is unable to find or load the image. What am I doing wrong? Paul Paul Nicholson Electronic Imaging Systems, Inc. TEL 805 532 1068 5148 Commerce Avenue, Unit F FAX 805 532 1065 Moorpark, CA 93021 U.S.A. paul@eisusa.com http://www.eisusa.com From Halliday at asu.edu Mon Dec 8 18:43:28 1997 From: Halliday at asu.edu (David W. Halliday) Date: Thu Nov 3 14:40:48 2005 Subject: 7300/200 run RDR-1 References: <19971207171035.AAA18632@ppp1-53.planet.it> Message-ID: <348CB019.F71E30F8@ASU.Edu> Gianluca Sordiglioni wrote to Multiple recipients of list : > > ... > If you install RDR on an external disk and after that you try to mount it > internally you got crashes at startup. I tried to reconfigure the SCSI ID > of the external disk to 0 and remove/change ID to the internal one, and > set/reset the PRAM accordling using the Rhapsody control panel, with no > result. > > > Gianluca Sordiglioni Macintosh Programming & Consulting > Not only must you change the settings of the PRAM, via the Rhapsody control panel, but you must have the proper root device in the /etc/fstab file (and remember that the devices on the external SCSI bus are counted before the devices on the internal bus---unfortunately, since the devices on the external bus are *far* more likely to change, added or removed, than the internal devices, causing the need to reconfigure *far* more often than *should* be). The proper way to do such changes is to figure out which device will be the root device *before* making hardware changes, make the appropriate change in /etc/fstab, and then shut-down and make the hardware changes (and the PRAM changes). Otherwise, you will need to boot up Rhapsody in single user mode (the `-s' option), and make the appropriate change in the /etc/fstab file after the hardware change (you will have to make sure the boot device is mounted writable, of course, so you can make the needed changes to /etc/fstab). It is unfortunate that the Rhapsody boot process cannot obtain the boot disk information from the PRAM, or some such, as the system boots---as it stands, we need redundant information in two or three places for the full boot process to complete (PRAM, /etc/fstab, and, perhaps, some disk boot block, or so). David W. Halliday Halliday@ASU.Edu Director of Software Development Physics Modeling Research Group Arizona State University -------------- next part -------------- A non-text attachment was scrubbed... Name: vcard.vcf Type: text/x-vcard Size: 515 bytes Desc: Card for David W. Halliday Url : /mailman/archive/macosx-dev/attachments/19971208/7fe6b172/vcard.vcf From Jay_Swan at flannet.middlebury.edu Tue Dec 9 08:41:35 1997 From: Jay_Swan at flannet.middlebury.edu (Jay Swan) Date: Thu Nov 3 14:40:48 2005 Subject: NSImageView won't load Icon References: Message-ID: paul@eisusa.com,Internet writes: >Then the image is displayed using: > [InPriorityInd setImage priority0Image]; >However the image does not show. The image is defined in the main (and >only) nib of the program and it was created using IconBuilder. If the image are you doing a [InPriorityInd display]; This is necessary to actually force the imageview to redraw. Jay From smart at ensuing.com Tue Dec 9 14:11:01 1997 From: smart at ensuing.com (Karl Kraft) Date: Thu Nov 3 14:40:48 2005 Subject: NSImageView won't load Icon, more clues Message-ID: <66kfll$3cs@satva.ensuing.com> In article Paul Nicholson writes: > > Hi, > > << late update >> > There's one more thing I discovered. If I look in the application wrapper, > the icons are stored in > MyApp.app/Resources/English.lproj/NEXTSTEP_MyApp.nib. However the ToDo > example application stores it's icons in MyApp.app/Resources. If I move my > icons from NEXTSTEP_MyApp.nib to the app's resource folder my code works. > > How do IB and PB decide where to put iimages in the app wrapper? > << end late update >> Well in that case it isn't a resource of your application. First off, you should find that this: > path = [[NSBundle mainBundle] pathForImageResource:@"priority0.tiff"]; sets path to nil, and that is where everything falls apart. Your problem is that the image is just an object (like say a button or window), in a nib file. What you should do is add it to the Images suitcase of ProjectBuilder. > How do IB and PB decide where to put iimages in the app wrapper? > << end late update >> When you drag an image to IB, it offers you the chance to either make a copy that is only in the nib, or to add it to the project. -- --K2 karl@ensuing.com (Karl Kraft) OpenStep/Rhapsody Developer: cogitamus alius. From paul at eisusa.com Tue Dec 9 15:52:44 1997 From: paul at eisusa.com (Paul Nicholson) Date: Thu Nov 3 14:40:48 2005 Subject: Setting NSTextFIeld editable and non-editable look and colors In-Reply-To: <348CB019.F71E30F8@ASU.Edu> Message-ID: Rhapsody on Mac uses white NSTextFields backgrounds irregardless, while the Prelude on Intel uses gray for non-editable fields and white for editable ones. On the Mac, a dashed box outline indicates a non-editable field while a solid box indicates an editable field. On Intel, how can I get the platform defaults for the field background colors? Is there an easy way to get the NXColor of editable/non-editable NSTextFields? Likewise, is there an easy way to get and set the box outline characteristics on Rhapsody Mac? Is there any cool way that makes this a no-brainer independent of platform? Paul From paul at eisusa.com Tue Dec 9 15:52:57 1997 From: paul at eisusa.com (Paul Nicholson) Date: Thu Nov 3 14:40:48 2005 Subject: NSImageView won't load Icon In-Reply-To: References: Message-ID: Jay, Actaully, the problem was that I was looking in the resources directory rather than the .nib directory. My file paths were bad. A setImage will display the image if it is a valid image. Paul >paul@eisusa.com,Internet writes: >>Then the image is displayed using: > >> [InPriorityInd setImage priority0Image]; > >>However the image does not show. The image is defined in the main (and >>only) nib of the program and it was created using IconBuilder. If the image > >are you doing a > >[InPriorityInd display]; > >This is necessary to actually force the imageview to redraw. > >Jay From cjohnson at object-works.com Tue Dec 9 17:34:43 1997 From: cjohnson at object-works.com (Chris Johnson) Date: Thu Nov 3 14:40:48 2005 Subject: [Fwd: NSOutlineView] Message-ID: <348DF1B2.F290D12B@object-works.com> Thought this might be of interest... -------------- next part -------------- An embedded message was scrubbed... From: Chris Johnson Subject: Re: NSOutlineView Date: Tue, 09 Dec 1997 20:33:01 -0500 Size: 8387 Url: /mailman/archive/macosx-dev/attachments/19971209/6b618a02/attachment.mht From volfreak at macconnect.com Wed Dec 10 04:52:05 1997 From: volfreak at macconnect.com (Jay Hill) Date: Thu Nov 3 14:40:48 2005 Subject: Recommendations? Kinda long Message-ID: <3.0.32.19971210075205.0090dd00@dsunix2.dsrd.ornl.gov> Folks, This is a general request for a recommendation for myself. As such, I'd like to provide a short history which may be relevant to any suggestions you may have. Thanks for taking the time to reading and replying. I have been in a position over the past ~20 years to deal with lots of computer technology and OSs. I do not have any formal CompSci training or education. I do have a strong math background in addition to intimate familiarity and interest with technology. I do have lots of experience on the busines side of the world. I have also taken a couple of Fortran and Basic classes many years ago. I have used VisualBasic, VisualFoxPro, PowerBuilder, and a few other tools. Most of the development has been in VFP and PB. I have been developing database applications on Windows for the last 4 years and have gotten involved in OOD and OOP (teaching myself and reading everything that I can) the last two years. I joined the Apple developer program at the beginning of this year and have learned even more. I understand the syntax and "method to the madness" of developing applications and feel that I have a strong sense of UI issues. I also understand relational databases fairly well. I would like to expand my knowledge and experience, and really like Rhapsody. From what I've seen, I shoulda been tinkering with NeXT a few years ago - NICE. Anyway, I plan on building some Rhapplications and would appreciate some pointers or suggestions on the best way to learn the programming side (ObjC and C++). I haven't fully grasped the syntax portion of ObjC/C++ but I understand the processes to a degree. I would like to work on developing applications for the education (mostly K-12) and other small business markets (maybe looking into how Rhapsody server and NCs could be used). Some of this would be database-type applications, but others would not. I have read the Tutorial for Rhapsody with the Travel Adviser and Currency converter, and am learning the methods being recommended (using the data, controller, and interface). Would I be better served to: 1) Take C or C++ classes 2) Look for Rhapsody/OpenStep training courses Any suggestions are welcome and appreciated. Of course I have a lot of the Rhapsody sites bookmarked and visit a lot, so I have information available there. But, since I am making such a big step, I would like some suggestions to make it easier on me. I also realize this another step in the learning process and I'll keep on growing, but I would like to do it in a more efficient manner than I have learned my past development experiences. Thanks in advance for your comments and time. Jaybird B-) "The longer the island of knowledge, the longer the shore of imagination." Unknown Alternate: volfreak@macconnect.com From nallick at winternet.com Wed Dec 10 05:46:46 1997 From: nallick at winternet.com (Nick Nallick) Date: Thu Nov 3 14:40:48 2005 Subject: Answers: Checking Modifier Key State Message-ID: I wanted to check the state of the modifier keys (such as the shift key) when I hadn't been passed an event. I received a number of helpful e-mail messages (thanks all). The solution is to get the most recent event from the application object using variations on: unsigned int flags = [[NSApp currentEvent] modifierFlags]; Regards, Nick Nallick From paul at eisusa.com Thu Dec 11 08:43:55 1997 From: paul at eisusa.com (Paul Nicholson) Date: Thu Nov 3 14:40:48 2005 Subject: Setting NSTextFIeld editable and non-editable look and colors In-Reply-To: <199712100922.KAA00973@luck.shnet.org> References: Message-ID: A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 1770 bytes Desc: not available Url : /mailman/archive/macosx-dev/attachments/19971211/07af04f1/attachment.bin From paul at eisusa.com Thu Dec 11 09:31:40 1997 From: paul at eisusa.com (Paul Nicholson) Date: Thu Nov 3 14:40:48 2005 Subject: Porting Mac resources to Rhapsody In-Reply-To: Message-ID: Hi, I'm porting an application that stores some static data in the app resource fork. The data is stored as custom resource types. I don't relish the thought of converting all this data over to static structures. Are there any utilities available or soon to be available which will run on OpenStep/Rhapsody that will allow easy compilation of Mac resources and a way to access these resources from within OpenStep/Rhapsody apps? Paul From rm at objectdata.com Thu Dec 11 10:41:09 1997 From: rm at objectdata.com (Robert MacKimmie) Date: Thu Nov 3 14:40:48 2005 Subject: Porting Mac resources to Rhapsody Message-ID: <9712111841.AA00326@objectdata.com> At the risk of being out of bounds, this seems pertinent to anyone in the Bay Area with similar questions: "http://www.bang.org/meetings.html" Bay Area NeXT Group Meeting: Wednesday, December 17, 7:00 PM Apple Campus Town Hall "Using Metrowerks Tools to Port Macintosh Applications to Rhapsody" David Hempling: "Porting Macintosh Applications with CodeWarrior Latitude" Bob Campbell: "Metrowerks' C/C++/ObjC compiler running on Rhapsody" From ernst at cs.tu-berlin.de Thu Dec 11 14:22:04 1997 From: ernst at cs.tu-berlin.de (Ernst Kloecker) Date: Thu Nov 3 14:40:48 2005 Subject: Blank screen problem with some S3 cards : SOLVED Message-ID: <199712112222.XAA02987@kraftbus.cs.tu-berlin.de> Some people may have encountered the problem that the Generic S3 driver produces a black screen with some old S3 based cards. I had the problem here with an old S3 P86C805 based card with 1MB display memory. I was able to fix this by editing /private/Drivers/i386/S3GenericDisplayDriver.config/Default.table I just replaced the line : "Memory Maps" = "0x0f800000-0x0fffffff 0xa0000-0xbffff 0xc0000-0xcffff"; with "Memory Maps" = "0x03c00000-0x03ffffff 0xa0000-0xbffff 0xc0000-0xcffff"; This apparently just shifts the frame buffer to a different location and sets its size to 4MB. I got the idea from looking at the NEXTSTEP 3.3 settings. With this change I am now able to use this driver with the setting 1024*768 in 8 Bit color, I guess higher modes would be available if my card had more display memory. Ernst Kloecker ernst@cs.Xtu-berlin.de (Please remove X in email address to reply) From jpmorice at club-internet.fr Thu Dec 11 14:38:01 1997 From: jpmorice at club-internet.fr (Jean-Pierre Morice) Date: Thu Nov 3 14:40:48 2005 Subject: Recommendations? Kinda long Message-ID: <199712112226.XAA19925@bouleau.wanadoo.fr> le 10/12/97 13:55, Jay Hill (volfreak@macconnect.com) disait : >Would I be better served to: >1) Take C or C++ classes >2) Look for Rhapsody/OpenStep training courses Rhapsody/OpenStep training courses are great. I just attended a free one at Apple Belgium in Brussels at the end of november. Knowledge of the C language is a prerequisite and you progress a lot faster if you are already familiar with object programming and frameworks. If you do not have a C++ data model code base already developed, forget C++. Focus on Obj-C. C++ object model is static and not compatible with the Obj-C dynamic object model used by the Frameworks. *** jpmorice *** From danp at apple.com Thu Dec 11 06:59:35 1997 From: danp at apple.com (Dan Peterson) Date: Thu Nov 3 14:40:48 2005 Subject: Porting Mac resources to Rhapsody Message-ID: <199712112259.OAA09420@scv1.apple.com> >Hi, > >I'm porting an application that stores some static data in the app resource >fork. The data is stored as custom resource types. I don't relish the >thought of converting all this data over to static structures. > >Are there any utilities available or soon to be available which will run on >OpenStep/Rhapsody that will allow easy compilation of Mac resources and a >way to access these resources from within OpenStep/Rhapsody apps? > >Paul > > Although it may not be the preferred method for doing so, there is a piece of sample code that shows how to read Macintosh resource forks. It's up on Developer World at devworld.apple.com/dev/rhapdev/rhapsody.html Dan Peterson, Rhapsody Developer Support. From prokov.edit at wanadoo.fr Fri Dec 12 05:30:07 1997 From: prokov.edit at wanadoo.fr (Harry Emmanuel) Date: Thu Nov 3 14:40:48 2005 Subject: Using NSOutlineView Message-ID: <199712121222.NAA22013@bouleau.wanadoo.fr> Hi RhapGroup, I have a problem with NSOutlineView. I can view (hierarchicaly) my data with NSOutlineView, expands, collapses nodes... that's OK. But what I want to do is to update the view when the number of rows change in the root level, AND I always have crashes. What's the good way to update my view ? For example, How can I update the view when after dragging a sub-expanded node to the root level? Thanks for your help. =================================================== Harry Emmanuel PROKOV EDITIONS NANCY FRANCE =================================================== From micetto at iqsnet.it Fri Dec 12 06:40:01 1997 From: micetto at iqsnet.it (miao) Date: Thu Nov 3 14:40:48 2005 Subject: Java Message-ID: I use Java to develop in Rhapsody. When I create a class in PB, and my class hasn't a default constructor, app execution doesn't go. Example class myclass { int x,y; myclass(int x,int y) { this.x=x; this.y=y; } } give me an error!! class myclass { int x,y; myclass() { // default constructor empty! } myclass(int x,int y) { this.x=x; this.y=y; } } no error! Why?? It's a PB bug? Sergio From mike at lorax.com Fri Dec 12 18:05:26 1997 From: mike at lorax.com (Mike Ferris) Date: Thu Nov 3 14:40:48 2005 Subject: Using NSOutlineView References: <199712121222.NAA22013@bouleau.wanadoo.fr> Message-ID: <3491ED66.F4893169@lorax.com> Harry Emmanuel wrote: > I can view (hierarchicaly) my data with NSOutlineView, expands, collapses > nodes... that's OK. > But what I want to do is to update the view when the number of rows > change in the root level, AND I always have crashes. What's the good way > to update my view ? The Developer Release has some unfinished business in NSOutlineView. Basically, you cannot do anything that alters the hierarchy. This sucks, I know, and it will be corrected in the next release. Sorry. Mike Ferris Yellow Application Frameworks From thomas at mycal.net Fri Dec 12 12:02:44 1997 From: thomas at mycal.net (Thomas) Date: Thu Nov 3 14:40:48 2005 Subject: Kanji fonts in Rhapsody Message-ID: <199712122002.MAA11790@mycal.net> Hi, Has anyone tried doing much with Kanji fonts on Rhapsody? I need to be able to convert from Japan-EUC to Unicode [TextEdit seems to have the secret of how to do this]. Next I need to be able to render the fonts on the screen. Using Input Manager I can type kanji fonts on the screen. However, what is the method of displaying text strings filled with Unicode-based Kanji characters on the screen? I tried doing something like: - (void) drawRect:(NSRect r) { NSRect bounds = [self frame]; PSsetgray(.5); PSrectfill(bounds.origin.x, bounds.origin.y, bounds.size.width, bounds.size.height); PSsetgray(1.0); PSmoveto(50.0, 70.0); PSselectfont("Heisei Mincho"); PSshow(""); } within a View subclass. Using Times-Roman it works with English phrases. However I wasn't able to get Japanese fonts to work. Upon execution I received the error: DPS Error: %%[ Error: invalidfont; OffendingCommand: show ]%% ---- This must be caused by ignorance on my part. Are there any examples that do anything with Kanji programmatically or can someone provide a clue? Thanks, Thomas thomas@ireadyco.com From dbk at opentext.com Fri Dec 12 11:43:59 1997 From: dbk at opentext.com (Dan Keith) Date: Thu Nov 3 14:40:48 2005 Subject: YB/Windows, C++, Hello World - The saga continues Message-ID: I have trying to compile the following program with Project Builder using YellowBox for Windows: #include int main() { cout << "Hello World!" << endl; } I have encountered several problems, which make me wonder whether C++ can actually be used in this environment. Any help would be appreciated. 1) My C++ source file was named hello.cpp. I can't seem to get Project Builder to recognize this as a C++ file. When I rename a file to hello.cxx, the C++ compiler is used. Where is the set of file extension mapppings within PB? 2) I do a #include , which is successfully found by the compiler (after I renamed my file to hello.cxx) However, the iostream.h that comes with YellowBox for Windows immediately tries to #include , which is not supplied by Apple on the YellowBox distribution. If I copy my version of useoldio.h from DevStudio, I get a little bit further. 3) During compilation, the compiler starts complaining about prototypes in various C++ header files. For example, in ios.h, the following: int operator!(); gets an error message like (this is from my memory, it is not verbatim): operator!() demands 'void' keyword. 4) So I edit ios.h and replace the above with: int operator!( void ) which allows compilation to proceed, until other errors are found. Eventually, the compiler crashes with a message like: Internal compilation error... 5) I notice that the internal compiler error occurs when processing a function prototype without arguments (not always, though). For example: istream(); causes an error. So I change it to: istream( void ); and compilations proceeds until the next internal error. I fix about 10 of these types of bugs and my hello.cxx finally compiles. Hooray. 6) Now that I've compiled my C++, I want to link it. I eventually discover that if I use: -lmsvcrtl in my Linker options, I can get it to link, although there is one remaining link error that I can't figure out. Something like: LINK - .... Could not find C:\PROGRAM.OBJ That's as far as I've gotten so far. Is it actually possible to do C++ with the YellowBox/Window tools, or am I wasting my time. Please help. thanks, bud ! Dan "Bud" Keith dbk@mcs.com ! "You never can tell what goes on down below. This pool might be bigger than you or I know." - Dr. Seuss From richard_cave at claris.com Fri Dec 12 11:54:06 1997 From: richard_cave at claris.com (Richard Cave) Date: Thu Nov 3 14:40:48 2005 Subject: YB/Windows, C++, Hello World - The saga continues Message-ID: <19971212195712.AAA20712@[17.184.72.71]> Dan Keith dbk@opentext.com on 12/12/97 11:41 AM cleverly wrote: >That's as far as I've gotten so far. Is it actually possible to do C++ >with the YellowBox/Window tools, or am I wasting my time. Please help. > I've had the same experience the last couple of days, although you seemed able to get a little farther than I. Richard Cave From thomas at mycal.net Fri Dec 12 13:34:14 1997 From: thomas at mycal.net (Thomas) Date: Thu Nov 3 14:40:48 2005 Subject: Kanji fonts in Rhapsody [easy solution] Message-ID: <199712122134.NAA14787@mycal.net> I put this in a Controller object and it worked. It converts EUC-JP to Unicdoe and renders it in a ScrollView after loading the data from a file. - (void)doSomething:(id)sender { NSData *fileContentsAsData = [[NSData alloc] initWithContentsOfFile:@"/thomas/japantest"]; NSString *fileContents = [[NSString alloc] initWithData:fileContentsAsData encoding:3]; [myScrollView setString:fileContents]; } The encoding value of '3' should be a #define constant of some kind. Each encoding value specifies a different type of data to load from a text file [e.g. EUC-JP (3) or Unicode (10)]. Thomas From smart at ensuing.com Fri Dec 12 12:28:03 1997 From: smart at ensuing.com (Karl Kraft) Date: Thu Nov 3 14:40:48 2005 Subject: Kanji fonts in Rhapsody Message-ID: <66s6oj$j4e@satva.ensuing.com> In article <199712122002.MAA11790@mycal.net> Thomas writes: > > > Hi, > > Has anyone tried doing much with Kanji fonts on Rhapsody? > I need to be able to convert from Japan-EUC to Unicode [TextEdit seems to > have the secret of how to do this]. The source code to TextEdit is online. A good pointer woudl be to the NSText class, which is what most of TextEdit uses. > However, what is the method > of displaying text strings filled with Unicode-based Kanji characters > on the screen? > > I tried doing something like: > ........... > PSshow(""); > ......... PSshow is generaly "a bad idea". For any complex character handling (which is just about everything these days, and especially multi-byte characters), you want to use NSString or NSAttributedString. Both classes know how to render a string to the screen and printer, and handle the multi-byte issues. > > > DPS Error: %%[ Error: invalidfont; OffendingCommand: show ]%% > This is because these PSselectfont is incorrect: PSselectfont("Heisei Mincho"); 1. You need two arguments. One is the name, and the other is a floatping point number for the point size of the font. 2. Font names do not have spaces in them. If you looking in /NextLibrary/Fonts//NextLibrary/Fonts/HeiseiMincho-Light.font/HeiseiMincho -Light.afm for the line FontName you see that the actual name of the font is HeiseiMincho-Light. So the line should be PSselectfont("HeiseiMincho-Light",12.0); > ---- > > This must be caused by ignorance on my part. Are there any examples that > do anything with Kanji programmatically or can someone provide a clue? I know of no kanji examples for OpenStep or Rhapsody. -- --K2 karl@ensuing.com (Karl Kraft) OpenStep/Rhapsody Developer: cogitamus alius. From dbk at opentext.com Fri Dec 12 13:04:47 1997 From: dbk at opentext.com (Dan Keith) Date: Thu Nov 3 14:40:49 2005 Subject: YellowBox/Windows install failure...DlgcacWinName: _INSO432._MP Application Error Message-ID: I installed YB/Windows fine on my PC at home. I tried installing it on my work PC (an identical configuration, BTW) and the installer crashed at about 60%. I was using the "Typical" installation setting. Has anyone seen this? Can anyone help me? BTW, is there a more "official" Apple forum for discussing these issues openly? bud ! Dan "Bud" Keith dbk@mcs.com ! "You never can tell what goes on down below. This pool might be bigger than you or I know." - Dr. Seuss From thomas at zippy.sonoma.edu Fri Dec 12 17:22:35 1997 From: thomas at zippy.sonoma.edu (Thomas Poff) Date: Thu Nov 3 14:40:49 2005 Subject: Objective-C calling Java code Message-ID: <199712130122.RAA07780@zippy.sonoma.edu> Has anyone tried messaging Java code from an Objective-C object? I have a few classes which compile fine under Rhapsody within a Project-Builder context. The bulk of the code is to be written in Objective-C in this project though and I'm wondering how I can access and instantiate my Java objects from within my Objective-C classes. Of course I can always rewrite the code in obj-c/appkit but thought it would be slick to have a hybrid app with a bunch of portable code stuck in it. How do you build a symbol reference to a Java class in the .jar files that Project-Builder creates? I should think that in Objective-C I should need to include a header file describing the object I'm going to reference. In lieu of the fact that Java doesn't have '.h' files, how do I get my hands on an object definition and set of methods within a Objective-C file? Thomas From Malcolm_Crawford at plsys.co.uk Sat Dec 13 05:26:57 1997 From: Malcolm_Crawford at plsys.co.uk (mmalcolm crawford) Date: Thu Nov 3 14:40:49 2005 Subject: Tails for Rhapsody: Freeware from P & L Systems -- v0.9 Message-ID: <199712131327.NAA04711@pheasant.plsys.co.uk> Uploaded to ftp://ftp.peak.org/pub/rhapsody/ (I'm not sure where it will end up) Also from: ftp://ftp.plsys.co.uk/pub/Products/Tails/Tails.app_0.9_PI.tgz This is a beta release -- comments and suggestions are welcome; please send feedback to: mmalcolm crawford Tails allows you to monitor any number of selected files for new input, e.g. you might wish to be alerted if error messages are sent to /tmp/console.log, Tails will bring up a window showing new input when it arrives. This can be particularly useful for system administrators and software developers. (Ex-NeXTers may think of it as an enhanced "Spy for Rhapsody".) Best wishes, mmalc. Malcolm Crawford (NeXTmail) malcolm@plsys.co.uk Tel: +44 1494 432422 P & L Systems Fax: +44 1494 432478 http://www.plsys.co.uk/~malcolm From lars.farm at ite.mh.se Sun Dec 14 06:05:59 1997 From: lars.farm at ite.mh.se (Lars Farm) Date: Thu Nov 3 14:40:49 2005 Subject: Project Builder Message-ID: Two questions: 1) PB and Makefiles: Can PB build a project from a Makefile ("import") ? 2) C++: How special is the NeXT/Apple build of g++ (RDR1-PPC/Intel)? Would it be possible to replace the current g++ 2.7 by downloading and use the more modern egcs 1.0 (including standard libraries) from Cygnus ? Has anyone done it? ( Reason: Better coverage of the language. ) - Lars -- Lars Farm; lars.farm@ite.mh.se - Limt: lars.farm@limt.se From mike at lorax.com Sun Dec 14 18:58:16 1997 From: mike at lorax.com (Mike Ferris) Date: Thu Nov 3 14:40:49 2005 Subject: Kanji fonts in Rhapsody References: <199712122002.MAA11790@mycal.net> Message-ID: <34949CC8.662ADE83@lorax.com> > I need to be able to convert from Japan-EUC to Unicode. > [TextEdit seems to have the secret of how to do this]. No secret. TextEdit uses the public API in NSString for retrieving the contents of a string in different character encodings and creating strings from data in different encodings. See the NSString documentation for details and the TextEdit source for an example. (And please use the enumerated constants for the string encodings, not their numeric values. See NSString.h.) As for displaying Kanji, you should almost always use the text system. If you are drawing small amounts of non-editable text, you can use the string drawing extensions (NSStringDrawing.h) or an NSTextFieldCell. If you want small editable fields, use an NSTextFieldCell. If you want large editable or non-editable text areas use NSTextViews. If you need really sophisticated control dive under the NSTextView to the rest of the text system. Unless you are writing a typesetting system from scratch (not recommended) you should not be using PSshow() (and even then, you'll find it inadequate and wind up doing your own postscript wraps for a lot of things). TextEdit is an example of using the yellow text system which supports a wide range of languages and scripts (including Japanese). (I personally do not know the exact state of the Japanese stuff in DR1. I think both the fonts and the Canna input manager are there, but I am not sure.) Assuming everything is there in DR1, and you installed the Japanese package, then there should be an Input menu in TextEdit's Edit menu. >From there you should be ale to switch to the Canna input manager and type Japanese. In fact, there will be an Input menu in all apps since international support is pretty much built in to the frameworks and there's usually little you, as a developer, need to do about it. There are, of course, types of application where you need to be a little more aware of these things. And you should always take the small amount of care necessary to make your app's interface localizable. In particular you should seldom have to worry about the NSInputManager class unless you are writing an input manager or a whole typesetting system from scratch. The text system already knows about input managers and uses them properly. Mike Ferris From kelleysoft at pressenter.com Sun Dec 14 11:05:37 1997 From: kelleysoft at pressenter.com (Greg Betzel) Date: Thu Nov 3 14:40:49 2005 Subject: NSPageLayout Units setting Message-ID: Is there a good way to access the measurement Units setting, used in the NSPageLayout panel, and likely stored (but not accessable) in NSPrintInfo? I can't find it documented anywhere if it is accessable. Granted, it's possible to get a reference to the Units popup menu in the NSPageLayout panel, and then take a guess by looking at the selected item's index. But IMO that's a Very Bad Thing; a time-bomb hack (meaning it'll break in the future). There has to be a better way. Any ideas? Thanks in advance. Greg Betzel From brianw at sounds.wa.com Sun Dec 14 11:51:20 1997 From: brianw at sounds.wa.com (Brian Willoughby) Date: Thu Nov 3 14:40:49 2005 Subject: Porting Mac resources to Rhapsody In-Reply-To: References: Message-ID: <9712141951.AA23473@sounds.wa.com> | I'm porting an application that stores some static data in the | app resource fork. The data is stored as custom resource types. | I don't relish the thought of converting all this data over to | static structures. There are a number of ways to bring the data over without converting it to C source (static struct). In fact, I would say that you should avoid that approach. You should first determine whether your Mac resources have any equivalents in Rhapsody. It may be obvious, but images, icons, cursors, and sound files should be converted to Rhapsody-native types, and handled by the Rhapsody system. Strings also have a Rhapsody-native mechanism which makes internationalization easy to handle. If the data is in a custom format, then there are a couple of ways to make it available. Rhapsody executables, being BSD/Mach binaries, are segmented. It is possible to create segments within the executable other than the standard code, data, stack, and symbol segments. In fact, Rhapsody already creates additional segments for data such as ObjC class and instance info, a list of extensions that the application will open, and the app icon. It is possible to add a few lines to the Makefile.preamble/postamble in ProjectBuilder, and have your custom segment created and added whenever the executable is linked. An even easier way would be to dump each Mac resource into a separate file, and then write a little code to use the Mach virtual memory system to map the file into your application space. I'm not a Mac programmer, but I assume that this might be indistinguishable from a Mac resource (after the file has been mapped). I should point out that both of the above methods are byte order sensitive. When your app runs on Intel vs. PowerPC (m98k), you will have multi-byte integers in the wrong order. You might be able to create a different segment for each architecture, but this would make fat binaries a little too large. The alternative is to either guarantee that your data is only accessed one byte at a time, or to pick an endian-ness and write a subroutine/method which reads your fixed data into the running application's native byte order. BTW: There are ways to write readable code which does byte-order conversion without lengthy #if __BIG_ENDIAN__ mess (I've seen NEXTSTEP programmers go way out of their way to handle this, when it can be short, simple to read, and easy to maintain). Another possible method, which is byte-order safe, is to use Typed Streams. Of course, you are then dependent upon Apple since they do not (yet?) provide source code for the output of NSCoder (nee NXStream). I can't say if I've covered all bases, but you should at least have a number of choices. Brian Willoughby NEXTSTEP, OpenStep, Rhapsody Software Design Sound Consulting Apple Enterprise Alliance Partner NeXTmail welcome Macintosh Associate Apple is the registered trademark of Apple Computer, Inc. and Apple Records From devjava at jps.net Sun Dec 14 14:05:11 1997 From: devjava at jps.net (Thomas Poff) Date: Thu Nov 3 14:40:49 2005 Subject: Closing Up: Kanji fonts in Rhapsody Message-ID: <34945817.2AEC@jps.net> Yep I found that in the downloadable documentation from Apple the answers for manipulating Kanji are all in NSString and briefly as Mike F. says in the .h files. Makes sense... The Asian Font situation is an ungodly mess. Using NSString seems to trivialize the situation. Thanks for the opinions, Thomas From dbk at opentext.com Sun Dec 14 14:18:53 1997 From: dbk at opentext.com (Dan Keith) Date: Thu Nov 3 14:40:49 2005 Subject: YB/Windows/C++ - Using MS LINK command and c:/program.obj not found. Message-ID: I have discussed my quest to compile C++ on YellowBox for Windows in the message to this list entitled "YB/Windows, C++, Hello World - The saga continues". I am still completely stumped as to how PB performs linking and why my link doesn't work. I use the Verbose logging feature (-v) in the 'Linker Flags' field of the Build Attributes panel in Project Builder. I also use -Xlinker /VERBOSE to pass the '/VERBOSE' qualifier to the LINK command. I have determined that the LINK command is actually Microsoft's linker (is it supposed to be, or is my PATH screwed up). During Pass 1 of the LINK, I get the following fatal error: LINK: fatal error LNK1181: cannot open input file "c:\program.obj" As far as I know, there is no program.obj that is supposed to be part of my build. How can I find out what the complete LINK command is. The Makefile doesn't seem to have a LINK command in it. Does GCC automatically invoke LINK? FYI, the complete text of my 'Linker flags' is: -lmsvcrt -v -Xlinker /VERBOSE Is there anyone in this list who can perhaps tell me whether or not I should even expect C++ to work? thanks, bud P.S. Perhaps if I called C++ from an Objective-C main program? Is there a trick to calling C++ from Objective-C (i.e., an extern "C++" declaration) or can I just call a C++ function in one source file from an OC function in my main .m file. ! Dan "Bud" Keith dbk@mcs.com ! "You never can tell what goes on down below. This pool might be bigger than you or I know." - Dr. Seuss From sanguish at digifix.com Sun Dec 14 14:32:39 1997 From: sanguish at digifix.com (Scott Anguish) Date: Thu Nov 3 14:40:49 2005 Subject: SoundKit under Rhapsody? Message-ID: <199712142232.RAA21617@digifix.com> A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 1406 bytes Desc: not available Url : /mailman/archive/macosx-dev/attachments/19971214/d9c5e181/attachment.bin From metalabs at pacific.net.sg Sun Dec 14 17:39:57 1997 From: metalabs at pacific.net.sg (Jesse Sng) Date: Thu Nov 3 14:40:49 2005 Subject: Updating class code In-Reply-To: Message-ID: If I use Interface Builder to generate a class (and generate the .m and .h files) - I can get it to automatically update the Project Builder. That's fine. My question is - what is I have added some additional methods while inside the Project Builder, and then I go back to Interface Builder to add some more instance variables ? What then ? How do I get both sides to synchronise in such a way that IB will recognise the methods and other instance variables that I've created using PB and to incorporate them with all new changes that I make using IB to the class ? The problem I'm facing now is that whenever I do that - IB will lose those changes and I have to patch all those methods by hand. This isn't great for real life situations where you sometimes incrementally add things to your classes - especially when doing prototyping. Am I missing something here ? Jesse Sng From dbk at opentext.com Sun Dec 14 23:07:22 1997 From: dbk at opentext.com (Dan Keith) Date: Thu Nov 3 14:40:49 2005 Subject: YB/Windows/C++ - What do I link with to get C++ iostream functions? Message-ID: I can build C++ programs with Project Builder, unless I try to use standard library functions (e.g., anything in iostream.h). I The following C++ code compiles: #include int main() { cout << "Hello World!\n"; } I tried to build, and I got some linker errors indicating that the routines: _cout __1s__7ostreamPCc ... were missing. So at this point I made a guess (the same guess that I made with my projects). I needed versions of the standard C++ library routines, so I added the MSVCRT.LIB library to my project, which resolved the above linker errors, but led to the missing c:\program.obj error. Sooooo... Which library contains definitions for the iostream functions, cout, etc.? My guess of MSVCRT.LIB is either incorrect, or insufficient. Including MSVCRT.LIB (i.e., via -lmsvcrt in the Linker Flags) alleviates the missing iostream symbols but leads to the missing c:\program.obj problem. I feel that I'm close to a solution, but missing the key. thanks, bud ! Dan "Bud" Keith dbk@mcs.com ! "You never can tell what goes on down below. This pool might be bigger than you or I know." - Dr. Seuss From creactiv at ats.it Mon Dec 15 02:32:19 1997 From: creactiv at ats.it (CreActive snc) Date: Thu Nov 3 14:40:49 2005 Subject: Only one sound at time? Message-ID: Hi, I have a question about sounds in Rhapsody. Is it possible to play two different sounds at the same time? I found that if you try to play a sound object while another one is executing the first one is stopped. Regards, Maurizio Santagati CreActive snc Via Calamandrei 129 52100 Arezzo Italy Tel +39-575-352440 Fax +39-575-352440 From jesse at metamediasys.com Mon Dec 15 08:35:20 1997 From: jesse at metamediasys.com (Jesse Sng) Date: Thu Nov 3 14:40:49 2005 Subject: Updating class code In-Reply-To: <34953E76.B0E46902@benatong.com> References: Message-ID: Thanks to all those we have replied regarding updating and reparsing of class definition code. I didn't even know about the Drag and Drop feature. I'm still a little confused as half the replies indicate that you can reparse, while some other replies also indicate that it's a one-way trip. Perhaps the clarification should be - under what conditions is it a one-way trip, and under what conditions will dragging and dropping the .h files allow for a successful reparse of your changes outside of IB ? Jesse Sng From Malcolm_Crawford at plsys.co.uk Mon Dec 15 08:44:46 1997 From: Malcolm_Crawford at plsys.co.uk (mmalcolm crawford) Date: Thu Nov 3 14:40:49 2005 Subject: Only one sound at time? In-Reply-To: <199712142232.RAA21617@digifix.com> References: <199712142232.RAA21617@digifix.com> Message-ID: <199712151644.QAA05713@pheasant.plsys.co.uk> Maurizio wrote: > I have a question about sounds in Rhapsody. Is it possible to play two > different sounds at the same time? > I found that if you try to play a sound object while another one is > executing the first one is stopped. > I've had a quick play with sounds; it looks to me like SoundKit is in a worse state than it was on OPENSTEP (no criticism intended for the Rhapsody engineers -- I'm sure they have better things to attend to at this stage, and I suspect SoundKit will be replaced anyway), and you're out of luck. You could try using SND functions directly, e.g. SNDStartPlaying(sndSoundStruct, 1, 1, 0, SND_NULL_FUN, SND_NULL_FUN); (remembering, of course, the SNDWait() call before you free the data! :-) however experimentation shows this fails too. The only alternative might be to write your own thread to feed data to an NXSoundOut device, however I don't recommend this. Best wishes, mmalc. From smart at ensuing.com Mon Dec 15 09:57:38 1997 From: smart at ensuing.com (Karl Kraft) Date: Thu Nov 3 14:40:49 2005 Subject: Only one sound at time? Message-ID: <673r2i$pga@satva.ensuing.com> In article <199712151644.QAA05713@pheasant.plsys.co.uk> mmalcolm crawford writes: > The only alternative might be to write your own thread to feed data > to an NXSoundOut device, however I don't recommend this. > > Best wishes, > > mmalc. Just out of wondering, why don't you recommend this method? This is what the Rhapsody port of Xox used, and it seems to work rather fine. --K2 karl@ensuing.com (Karl Kraft) OpenStep/Rhapsody Developer: cogitamus alius. From jsahrman at cstone.net Mon Dec 15 05:32:52 1997 From: jsahrman at cstone.net (Josh Sahrmann) Date: Thu Nov 3 14:40:49 2005 Subject: OSChooser References: <199712141824.KAA15497@ignem.omnigroup.com> Message-ID: <3495317F.61C299E6@cstone.net> Dear Developer, I have started work on OSChooser 1.0.8 and would like to know what you would like to see in OSChooser 1.0.8. You will be able to choose what ever operating system you want. I have put Rhapsody, MacOS, BeOS, and MKlinux. Is there any other systems that I should put on OSChooser 1.0.8? Thanks. Sahrmann, Josh From sebestyen_g at accentcomm.com Mon Dec 15 10:24:40 1997 From: sebestyen_g at accentcomm.com (Gabriel Sebestyen) Date: Thu Nov 3 14:40:49 2005 Subject: New NSMenu problem ... Message-ID: <349575E8.DA1665C4@accentcomm.com> I can't add menu item to a newly created NSMenu instance to my interface (previously delete the whole ...). I got an empty menu "window" but no possibility of inserting menu items. Ideas would be appreciated. Gabriel Sebestyen From sorin at elwha.evergreen.edu Mon Dec 15 13:05:35 1997 From: sorin at elwha.evergreen.edu (Sorin) Date: Thu Nov 3 14:40:49 2005 Subject: OSChooser In-Reply-To: <3495317F.61C299E6@cstone.net> Message-ID: > Dear Developer, > I have started work on OSChooser 1.0.8 and would like to know what you would > like to see in OSChooser 1.0.8. You will be able to choose what ever operating > system you want. I have put Rhapsody, MacOS, BeOS, and MKlinux. Is there any > other systems that I should put on OSChooser 1.0.8? Thanks. I haven't heard of OSChooser before, could you pass along some more info? thanks, Sorin From jsahrman at cstone.net Mon Dec 15 09:37:05 1997 From: jsahrman at cstone.net (Josh Sahrmann) Date: Thu Nov 3 14:40:49 2005 Subject: CodeWarrior Latitude References: <199712141824.KAA15497@ignem.omnigroup.com> Message-ID: <34956ABB.29722192@cstone.net> What do you all think of CodeWarrior Latitude? From dbk at opentext.com Tue Dec 16 01:01:27 1997 From: dbk at opentext.com (Dan Keith) Date: Thu Nov 3 14:40:49 2005 Subject: C++ Hello World. Final verdict. YB/Windows - Nope. RDR1/Intel - Yes Message-ID: OK, here's what I've found so far regarding C++ programming with Apple's Yellow Box development tools. It appears that YB/Windows is able to compile C++ code but is missing the requisite standard libraries (libstd++ or libg++), and is thus not useful for porting standard C++ apps. Th Yellow Box release comes with a MSVCRT.LIB, which contains C++ library stuff (i.e., iostreams), but linking with this library produces the infamous "c:\program.obj not found" message. I do not know whether I am supposed to be using this library or whether I am supposed to be using the missing libstd++ or libg++ libs. Note that Rhapsody DR1 for Intel DOES have the required libraries and is thus able to work with C++. I was able to write a C++ program under RDR1/Intel. I guess my only hope of doing YB/Windows C++ development is to either wait for a subsequent release, or to try to apply some of the Open Step Enterprise for Windows C++ libraries to the problem. Does anyone out there know if this is possible? It's sort of disturbing that Apple would release YB/Windows without working C++ support. Is this some sort of Objective-C backlash from the NeXT developers, or just a mistake that will be rectified in a subsequent version? I was sort of hoping that C++, Objective-C, and Java would all be first class citizens in the new Apple environments. bud ! Dan "Bud" Keith dbk@mcs.com ! "You never can tell what goes on down below. This pool might be bigger than you or I know." - Dr. Seuss From ims at hyper.gr Tue Dec 16 03:05:45 1997 From: ims at hyper.gr (ims) Date: Thu Nov 3 14:40:49 2005 Subject: arithmetic with objects Message-ID: This may sound like a stupid qestion but: I am having trouble with arithmetic. I am running the EO tutorial but with OpenBase instead of Oracle. OpenBase has already defined the demo database movie. the table Studio has the following fields Field Value class Externaltype studioid NSNumber int budget NSNumber int name NSString char 40 there is a method according to the tutorial addToMovies but they use NSDecimalNumber. I read the documentation about NSDecimalNumber and there are a few methods for arithmetic. But since I use NSNumber instead of NSDecimal I am having problem. There are no arithmetic methods for NSNumber. I tried the following. The goal is to substract revenue from budget - (void)addToMovies:(id)movie { NSNumber *newBudget; [self willChange]; //the following doesnot work &newBudget = [self budget] - [movie valueForKey:@"revenue"]; //the following doesnot work &newBudget = [[self budget] intValue] - [[movie valueForKey:@"revenue"] intValue]; //the following doesnot work newBudget = [[self budget] intValue] - [[movie valueForKey:@"revenue"] intValue]; //the following doesnot work [newBudget initWithInt: [[self budget] intValue] - [[movie valueForKey:@"revenue"] intValue]]; //the following doesnot work [newBudget initWithInt: [self budget] - [movie valueForKey:@"revenue"] ]; } where can I found examples/info of arithmetic with all the available classes; NSNumber NSDecimal... Regards NN Nikou Nikolaos for =============================================================== IMS Research & Development | tel. +30 (31) 94 52 98 PRIAMOY 12 | 95 09 03 544 53 THESSALONIKI | fax. +30 (31) 95 09 04 MACEDONIA - HELLAS | kai tou xpovou stnv polh! =============================================================== From eharley at pacbell.net Tue Dec 16 07:23:59 1997 From: eharley at pacbell.net (Eric Harley) Date: Thu Nov 3 14:40:49 2005 Subject: C++ Hello World. Final verdict. YB/Windows - Nope. RDR1/Intel - Message-ID: >It appears that YB/Windows is able to compile C++ code but is missing the >requisite standard libraries (libstd++ or libg++), and is thus not useful >for porting standard C++ apps. What if you got a copy of libg++ from a GNU distribution and try linking that in? I can't try it out because I don't have YB yet, but it wouldn't hurt to try. Eric Harley eharley@pacbell.net --------------------------------------------------------------------- "Medicine will cure death and government will repeal taxes before Steve will fail." -Guy Kawasaki (Fall 1991) From paulrs at lgs-systems.com Tue Dec 16 07:41:15 1997 From: paulrs at lgs-systems.com (Paul R. Summermatter) Date: Thu Nov 3 14:40:49 2005 Subject: arithmetic with objects In-Reply-To: References: Message-ID: <9712161541.AA13673@cube> -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 3979 bytes Desc: not available Url : /mailman/archive/macosx-dev/attachments/19971216/b4e71ba0/attachment.bin From paul at eisusa.com Tue Dec 16 09:11:13 1997 From: paul at eisusa.com (Paul Nicholson) Date: Thu Nov 3 14:40:49 2005 Subject: NSTextField, getFloatValue problem In-Reply-To: Message-ID: I'm using a textDidChange notification to intercept numeric user input to a NSTextField. My textDidChange handler calls getFloatValue which causes the NSTextField to be immediately formatted according to to NSFormatter settings. Thus, for example, if the user enters a 2, it immediately becomes a 2.00 with the cursor at the end of the last 0. The cursor must be successively repositioned if more digits are to be entered. This only happens on Rhapsody PPC, the Intel prelude works correctly. I've isolated the problem down to getFloatValue. Calling this causes the number to be formatted in the NSTextField. On the Intel prelude, the number is not formatted until enter is hit, or the user leaves the NSTextField. Is this a feature or a bug? Am I doing something wrong, or is there a problem with the API? Paul Paul Nicholson Electronic Imaging Systems, Inc. TEL 805 532 1068 5148 Commerce Avenue, Unit F FAX 805 532 1065 Moorpark, CA 93021 U.S.A. paul@eisusa.com http://www.eisusa.com From oloft at cs.chalmers.se Tue Dec 16 10:19:20 1997 From: oloft at cs.chalmers.se (olof torgersson) Date: Thu Nov 3 14:40:49 2005 Subject: from NSCStringText to NSTextView References: Message-ID: <199712161819.TAA08453@animal.cs.chalmers.se> A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 910 bytes Desc: not available Url : /mailman/archive/macosx-dev/attachments/19971216/4f8c419e/attachment.bin From paulrs at lgs-systems.com Tue Dec 16 10:35:17 1997 From: paulrs at lgs-systems.com (Paul R. Summermatter) Date: Thu Nov 3 14:40:49 2005 Subject: NSTextField, getFloatValue problem In-Reply-To: References: Message-ID: <9712161835.AA14068@cube> -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 1996 bytes Desc: not available Url : /mailman/archive/macosx-dev/attachments/19971216/979d4f94/attachment.bin From steve at inquisit.com Tue Dec 16 12:07:41 1997 From: steve at inquisit.com (Steve Dekorte) Date: Thu Nov 3 14:40:49 2005 Subject: OpenStep NT fixes in YB/NT? In-Reply-To: References: Message-ID: <199712162006.MAA01650@gw1.farcast.com> Anyone know if the bugs with OpenStep/NT drag&drop have been fixed with YellowBox/NT? Steve Dekorte From dupont at corp.home.net Tue Dec 16 15:15:23 1997 From: dupont at corp.home.net (Lucien W. Dupont) Date: Thu Nov 3 14:40:49 2005 Subject: CodeWarrior Latitude Message-ID: <199712162315.PAA20925@ignem.omnigroup.com> >What do you all think of CodeWarrior Latitude? I haven't tried it yet, but there is a test link library for Latitude, so you can see how well it covers the toolbox routines you are using. It's at: http://www.metrowerks.com/desktop/latitude/linktest.html ----- Lucien W. Dupont, Mac Guy @Home Network dupont@corp.home.net 650-569-5288 "Love one, tattoo girl zero" - VW Passat ad... From moetteli at monster.citeu.unige.ch Tue Dec 16 17:01:15 1997 From: moetteli at monster.citeu.unige.ch (Philip Motteli) Date: Thu Nov 3 14:40:49 2005 Subject: How do you pass a Protocol object over an NSConnection? Message-ID: <9712170101.AA01201@monster.citeu.unige.ch> Probably I should try to guess the appropriate Protocol object on the other side of the connection, in an implemented method of the Transports protocol... From johnk at speck.niddk.nih.gov Tue Dec 16 17:02:45 1997 From: johnk at speck.niddk.nih.gov (John Kuszewski) Date: Thu Nov 3 14:40:49 2005 Subject: Drag-n-drop wells? Message-ID: <199712170102.UAA25783@spork.lcpnmr> Hi, Several famous NeXTSTEP programs use widgets that are kind of like NSColorWells, but which contain an icon (that often can stand for a file, for example). The classic NewsGrazer is one, and Create is another. How do I go about creating these widgets in my apps? I saw an entry in the MiscKit for a drag well that seemed specialized for use with icons that represent files. I'd like to be able to drag arbitrary icons (representing arbitrary objects) out of some of my wells and drop them into others. Can the MiscKit code handle this cleanly? And how do I go about installing it in RDR for Mac? Thanks. --JK From paul at eisusa.com Tue Dec 16 16:23:04 1997 From: paul at eisusa.com (Paul Nicholson) Date: Thu Nov 3 14:40:49 2005 Subject: NSTextField, floatValue problem In-Reply-To: <9712161835.AA14068@cube> Message-ID: A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 1068 bytes Desc: not available Url : /mailman/archive/macosx-dev/attachments/19971216/8c968b9c/attachment.bin From info at middlemarch.net Tue Dec 16 21:17:18 1997 From: info at middlemarch.net (info@middlemarch.net) Date: Thu Nov 3 14:40:49 2005 Subject: Dialup connections with Rhapsody Message-ID: <3497605E.E1E@middlemarch.net> I've managed to get dialup connections to my ISP with Rhapsody and NEXTSTEP by installing an ethernet card, modem, and routing software into an old PC to convert it into a router, attaching my Rhapsody machine to it to form a local network of just the computer and the router, then letting the router dialout to the ISP. I'm selling these for US$150 to US$195 plus shipping if anyone is interested. The router supports IPMasquerading, Network Address Translation, Dial on Demand, Continuous Dial along with many other features. IPMasquerading allows you to connect multiple computers on your network to the Internet behind a single IP address. Network Address Translation allows the single IP address to be a dynamic address. Dial on Demand instructs the router to dialout whenever it receives a packet - It remains connected until it has been idle for whatever length you wish to set. And Continuous Dial allows you to keep a continuous presense by automatically redialing whenever there is an interruption in the connection. This router can connect computers using TCP/IP including MacOS and Windows95/NT. It comes with a combo RJ45/BNC 10Mbps ethernet port and 3 ISA slots (one slot occupied by the ethernet card). You'll need to use your own modem with it. However you can use a modem of any speed, internal or external, including ISDN. Please respond by private email if you would like to purchase one. Prices and router options: RJ45 + BNC ethernet, no serial ports ** $150 RJ45 + BNC ethernet, 16550 UART (230,400bps) $175 RJ45 + BNC ethernet, 16650 UART (460,800bps) $195 Shipping and handling $50 US, $150 International ** There are actually two 16450 UART serial ports on the motherboard which are safe at speeds of up to 9600bps. However it is recommended that you use a 16550 or 16650 UART or use an internal modem for higher speeds. From leigh at antechinus.cs.uwa.oz.au Tue Dec 16 22:09:06 1997 From: leigh at antechinus.cs.uwa.oz.au (Leigh Smith) Date: Thu Nov 3 14:40:49 2005 Subject: Drag-n-Drop of java code into IB not working? Message-ID: <9712170609.AA04184@antechinus.cs.uwa.edu.au> Just a question to check if I'm overlooking something, or if others have experienced similar results before I fire off a bug report to Apple. I generated a subclass of java.lang.Object in IB, added a couple of outlets and actions, generated a .java file which looked fine. I then deleted the Object subclass and tried ye olde drag and drop into IB to reinstate the class declaration and while the copy icon appeared and it seemed to silently drop in ok, no subclass was created. Anybody reproduce this? (RDR/I). I get the same result on my own class I didn't create within IB. Classes->Read File produces the same result and quaintly defaults to java.lang.Object.h as the file to select (this is a java only app). --- Leigh Computer Science, University of Western Australia Smith +61-8-9380-3778 leigh@cs.uwa.edu.au (NeXTMail/MIME) "Home pages are the pet rock of the 90s. We all have them, we all think they're very cute. But in a few years we're going to look back and be pretty embarrassed." -- Tony Shepps "Why wait?" -- Peter Langston From ab at slab.de Wed Dec 17 10:02:24 1997 From: ab at slab.de (Alexander Banzhaf) Date: Thu Nov 3 14:40:49 2005 Subject: EOF Database Adapter Development Message-ID: <199712170902.KAA28758@lorien.slab.de> Hi, I want to write an EOF Database Adaptor for Rhapsody. Can anybody tell me what I need to do this and where I can get further information. Is there any EOF Adapter Development Kit available? Thanks, Alexander -- sLAB Gesellschaft fuer Informationssysteme Banzhaf & Soltau oHG Otto-Lilienthal-Strasse 36 Phone: +49 7031 714-910 71034 Boeblingen Fax: +49 7031 714-909 Deutschland Internet: ab@slab.de From Malcolm_Crawford at plsys.co.uk Wed Dec 17 03:41:17 1997 From: Malcolm_Crawford at plsys.co.uk (mmalcolm crawford) Date: Thu Nov 3 14:40:49 2005 Subject: Rhapsody BOF Meeting, MacWorld -- 6th Message-ID: <199712171141.LAA00560@pheasant.plsys.co.uk> >On 12/15/97, Scott Anguish wrote: >> Regardless, I think a BOF at MacWorld would be a good idea anyways. > OK, a couple of other Rhapsody Developers have got back on this: There will be an informal, unofficial Rhapsody BOF meeting at MacWorld: Weds 6th at 6pm, place to be determined: instructions will be at Rhapsody Row. Best wishes, mmalc. From dylan at anim.dreamworks.com Wed Dec 17 07:38:54 1997 From: dylan at anim.dreamworks.com (Dylan Kohler) Date: Thu Nov 3 14:40:49 2005 Subject: Writing multi-TIFF files Message-ID: <199712171524.HAA00914@gerbil.anim.dreamworks.com> Can anybody tell me how to write multiple TIFF's to one file? Under NEXTSTEP 3.3, I remember just calling the NXImage method writeTIFF:allRepresentations:usingCompression:andFactor: several times one after the other for each subimage, then writing that NXStream to a file. But I'm not sure how to do this with the NSData technique illustrated in Draw.app for multiple TIFFs in the same file.... Thanks for any help. ---------------------------- Dylan Kohler DreamWorks Feature Animation dkohler@anim.dreamworks.com From ben at the2.cogs.com Wed Dec 17 08:09:23 1997 From: ben at the2.cogs.com (Ben Greenfield) Date: Thu Nov 3 14:40:49 2005 Subject: newbie trouble w/netinfo and alert Message-ID: i have been trying to get rhapsody connected to my network. i can ping from the terminal window but i can't resolve domain names. i'm sure if i keep plugging with it i can get that cooking. but in the process of messing with it i changed a netinfo config parameter and now when i boot it can't find a netinfo server and hands me an alert box that i can type in but doesn't do much else. it tells me netinfo timeout connecting to local domain, sleeping how do i wake it up or do i have to reinstall? thanks ben From prokov.edit at wanadoo.fr Wed Dec 17 09:16:10 1997 From: prokov.edit at wanadoo.fr (Harry Emmanuel) Date: Thu Nov 3 14:40:49 2005 Subject: How to set Italic/underline attributes in NSTextFieldCell Message-ID: <199712171608.RAA12743@bouleau.wanadoo.fr> Hello RhapGroup, This is a probably stupid question. What I want to do is to change NSCell's attributes in the informal NSTableView protocol method tableView:willDisplayCell:forTableColumn:row:. I can without problem change the textColor: but I don't know how to change textAttibutes to Italic or underline inside my NSTableView. Thanks for your help. ==================================== Harry EMMANUEL PROKOV EDITIONS 54000 NANCY FRANCE e-mail : prokov.edit@wanadoo.fr ==================================== From moetteli at monster.citeu.unige.ch Wed Dec 17 09:04:54 1997 From: moetteli at monster.citeu.unige.ch (Philip Motteli) Date: Thu Nov 3 14:40:49 2005 Subject: Does NSNotificationCenter work with Proxies? Message-ID: <9712171711.AA00859@monster.citeu.unige.ch> At least at my site, it behaves very strange: It crashes, it exchanges observers with NSInvocation objects, and so on. Unfortunately I don't have the time to analyse it with every possible tool. But if somebody knows how the NotificiationCenter should be used with proxies, please tell me! PHil From anon7 at ntplx.net Wed Dec 17 04:50:08 1997 From: anon7 at ntplx.net (Al Joslin) Date: Thu Nov 3 14:40:49 2005 Subject: Help! Message-ID: <3497CA7F.94A197BA@ntplx.net> Need to get my 8500 installed Rhapsody hard disk up and running on my 8100 server! I _really_ need to get my SQL database onto Rhapsody! (how does PrimeBase stack up against OpenBase?) Don't have access to the 8500 anymore. I've been told that this can be done! How? Thanks, Al; p.s. I've hacked all the 'ofpt' resources I could find to "match-all" --> ' {*} ... From wmeyer at mediaone.net Wed Dec 17 09:58:06 1997 From: wmeyer at mediaone.net (Will Meyer) Date: Thu Nov 3 14:40:49 2005 Subject: Help! Message-ID: <199712171757.JAA11666@ignem.omnigroup.com> On 12/17/97 12:52 PM , Al Joslin (anon7@ntplx.net) wrote: >Need to get my 8500 installed Rhapsody hard disk up and running on my >8100 server! If you really mean 8100, forget about it. The 8100 is a NuBus calss machine and as such won't run Rhapsody (at least not yet). Sorry. |\----/----/\/\-----------------------------------------| | \/\/ill / \eyer | | | wmeyer@mediaone.net | http://wmeyer.ne.mediaone.net | |_______________________________________________________| | "If I see one more cutesy, 'thought inspiring' quote | | in an email .sig, I am going to go postal!" | | -Will Meyer | |-------------------------------------------------------| |----BEGIN GEEK CODE BLOCK----- | | Version: 3.1 | | GCS/CC d? s++: a--- C+++>++++ ULX>+++$ P--- L+>+++ | | E W+++>$ N+ o? K- w--- !O M++$ V-- PS@ PE Y+ PGP | | t-- 5 X+ R- tv b+ DI+++ D- G e h r-->+ y? | |-----END GEEK CODE BLOCK------ | |-------------------------------------------------------| From ddavidso at apple.com Wed Dec 17 10:18:01 1997 From: ddavidso at apple.com (Douglas Davidson) Date: Thu Nov 3 14:40:49 2005 Subject: Does NSNotificationCenter work with Proxies? Message-ID: <199712171818.KAA26374@scv2.apple.com> Here is something that may be helpful. From release notes: Reference: 56659 Releases: OPENSTEP 4.0, 4.1, 4.2 Platforms: All Disposition: None Problem: Proxies cannot be notification observers unless they are retained Description: Because NSNotificationCenter does not retain observers, registering an observer with a remote NSNotificationCenter (the observer would be a proxy in the remote process) will eventually cause a crash of the remote process when it tries to message a freed object, unless the remote process explicitly retains the proxy. This situation is a bit arcane, but the same type of problem can happen with other objects that don't retain objects that they know about. Workaround: Use an explicit protocol to tell the server (the process vending the notification center) to register and unregister an observer. The server then retains and registers the observer with the vended notification center, and unregisters and releases the observer when the client tells it to do so. (If an unregister mechanism is not part of the protocol, and used, the object will never be released.) Experienced parties have also recommended going a step further, and not making the proxies observers at all; instead, inserting a local observer object that passes the notification to remote observers on an asynchronous basis. This avoids delaying the poster and any local notifications while waiting for remote notifications. Doug Davidson Software Quality -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 1495 bytes Desc: not available Url : /mailman/archive/macosx-dev/attachments/19971217/bd375736/attachment.bin From don at misckit.com Wed Dec 17 11:15:10 1997 From: don at misckit.com (Donald A. Yacktman) Date: Thu Nov 3 14:40:49 2005 Subject: Drag-n-drop wells? In-Reply-To: <199712170102.UAA25783@spork.lcpnmr> References: <199712170102.UAA25783@spork.lcpnmr> Message-ID: <9712171914.AA20880@misckit.com> On Tue, 16 Dec 1997, johnk@speck.niddk.nih.gov (John Kuszewski) wrote: > Several famous NeXTSTEP programs use widgets that are kind of like > NSColorWells, but which contain an icon (that often can stand for a > file, for example). The classic NewsGrazer is one, and Create is > another. > > How do I go about creating these widgets in my apps? I saw an entry > in the MiscKit for a drag well that seemed specialized for use with > icons that represent files. I'd like to be able to drag arbitrary > icons (representing arbitrary objects) out of some of my wells and > drop them into others. Can the MiscKit code handle this cleanly? Yes. The MiscKit actually uses several objects, each at different levels of abstraction to let you do this. It is designed to be very easy to subclass into what you want. The file well is just one example of many possible subclasses. So I'd definitely recommend starting with what the MiscKit offers. It will save you some time, at the very least. But keep in mind that I'm a very biased individual on that point... :-) > And > how do I go about installing it in RDR for Mac? Until I get a Mac so that I can build MiscKit on it and do some testing, you're on your own. If anyone wants to donate a Mac to the MiscKit cause, you'll see results faster than if you wait for me to save up enough cash to buy one. It wasn't until last week that I finally got a machine running NT so that I could test Yellow Box/NT/95 MiscKit stuff. (Yes, the next MiscKit release should be a lot easier to build on NT now that I can actually test it myself and not have to fly blind on it!) The Mac hardware is planned to come next...but probably no sooner than mid '98, and perhaps not until late next year. That *may* not be too much of a problem if past experience serves me well; as long as Rhapsody/Mach on Intel remains 100% source compatabile with the PowerPC version (which past experience leads me to expect will be true) then having a Mac to test on is probably not all that necessary since anything that works on Intel should work on the Mac. Still, I plan to get the Mac anyway because nothing beats good, solid, testing on all platforms that you claim to support! :-) -- Later, -Don Yacktman don@misckit.com My home page From ddavidso at apple.com Wed Dec 17 09:42:34 1997 From: ddavidso at apple.com (Douglas Davidson) Date: Thu Nov 3 14:40:49 2005 Subject: How to set Italic/underline attributes in NSTextFieldCell Message-ID: <199712171742.JAA07968@scv4.apple.com> This may do what you want (in a general and unoptimized way): [cell setFont:[[NSFontManager sharedFontManager] convertFont:[cell font] toHaveTrait:NSItalicFontMask]]; Remember that any font can be colored, but not all fonts have bold or italic counterparts; unless you know what font will be used, you cannot be quite certain of the effect of this transformation, although the font manager will do its best. If you need to control text attributes on a character-by-character basis, you have the alternative of sending your cell attributed strings rather than strings. Doug Davidson Software Quality From jsahrman at cstone.net Wed Dec 17 09:17:05 1997 From: jsahrman at cstone.net (Josh Sahrmann) Date: Thu Nov 3 14:40:49 2005 Subject: processor References: <199712161826.KAA14934@ignem.omnigroup.com> Message-ID: <3498090F.63BBC05B@cstone.net> Dear Developers, Im having a problem with Project Builder in that I cant get my processor bar to move in my app. I would like the processor bar to show up at the bottom of a window and will give the user 10 seconds and then the bar becomes full and the window closes. I looked in "Working with Interface Builder" and that said how to get the processor bar to show up but not how to get it to move. Maybe Im missing something. :-) Thanks for any help you can give me. Sahrmann, Josh From andrew at CodeCraft-Canada.com Wed Dec 17 22:32:42 1997 From: andrew at CodeCraft-Canada.com (Andrew Tyldesley) Date: Thu Nov 3 14:40:49 2005 Subject: OpenGL and OpenStep for WindowsNT Message-ID: <01BD0B45.A239D530.andrew@CodeCraft-Canada.com> Hi all, We are developing a 3D app and are seriously considering using OpenStep. Because of market considerations the application must run on Windows NT as well as Rhapsody. We have to get started on the core of the NT version right away and must have the ability to call on the native OpenGL libraries to display graphics. Is there anyway to use NT's native OpenGL to generate graphics in an OpenStep app? The solution doesn't need to be pretty, we'll deal with that, it just has to work. I really need an answer to this one, thanks for your help. Andrew PixelPlay Interactive Inc. From tjw at omnigroup.com Wed Dec 17 23:59:48 1997 From: tjw at omnigroup.com (Timothy J. Wood) Date: Thu Nov 3 14:40:49 2005 Subject: OpenGL and OpenStep for WindowsNT In-Reply-To: <01BD0B45.A239D530.andrew@CodeCraft-Canada.com> References: <01BD0B45.A239D530.andrew@CodeCraft-Canada.com> Message-ID: <199712180759.XAA23758@ignem.omnigroup.com> A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 2179 bytes Desc: not available Url : /mailman/archive/macosx-dev/attachments/19971217/998c1bed/attachment.bin From Malcolm_Crawford at plsys.co.uk Thu Dec 18 03:14:49 1997 From: Malcolm_Crawford at plsys.co.uk (mmalcolm crawford) Date: Thu Nov 3 14:40:49 2005 Subject: Rhapsody BOF Meeting, MacWorld -- 6th Message-ID: <199712181114.LAA01083@pheasant.plsys.co.uk> Ah, the perils of copying and pasting without also checking... There will be an informal, unofficial Rhapsody BOF meeting at MacWorld: *Tuesday* 6th at 6pm, place to be determined: instructions will be at Rhapsody Row. For those who don't know: Rhapsody Row is located in the Developer Central area, North Hall, Booth #3080. BOF stands for "Birds Of a Feather" (although in this instance it could also stand for "Bring your Own Furniture"... :-) Best wishes, mmalc. From hugob at tamtam.xs4all.nl Thu Dec 18 10:15:25 1997 From: hugob at tamtam.xs4all.nl (Hugo Burm) Date: Thu Nov 3 14:40:49 2005 Subject: msql + mmap Message-ID: <9712181815.AA00397@tamtam.datagram.nl> A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 714 bytes Desc: not available Url : /mailman/archive/macosx-dev/attachments/19971218/9362017f/attachment.bin From prak at usl.edu Thu Dec 18 12:26:08 1997 From: prak at usl.edu (Brian Wotring) Date: Thu Nov 3 14:40:49 2005 Subject: NSReturnSign Message-ID: <3.0.5.32.19971218142608.007a6430@pop.usl.edu> Why is this not under the images display of the nib file window ? Using RDR/I. Am I missing something? -- [ Brian Wotring ] : prak@usl.edu : http://tact.dyn.ml.org -- From inzet at planet.it Thu Dec 18 13:54:48 1997 From: inzet at planet.it (Gianluca Sordiglioni) Date: Thu Nov 3 14:40:49 2005 Subject: App quit Message-ID: <19971218205347.AAA7803@ppp1-50.planet.it> I tried to modify the ToDo datasource example but the application quit just after launching. It seems the problem is the the datasource methods, because if I remove the code the application works. I tried everything I know to fix the problem, with no results. Even debugging step by step but if I set a breakpoint I can only walk in a given method implementation (step-by-step doesn't work outside the class). Any suggestion? All the links in IB seems to be ok. There's a bug I'm not aware of? I'm using RDR on a 7300/200/64. Gianluca Sordiglioni Macintosh Programming & Consulting From johnk at speck.niddk.nih.gov Thu Dec 18 13:36:59 1997 From: johnk at speck.niddk.nih.gov (John Kuszewski) Date: Thu Nov 3 14:40:49 2005 Subject: installing EOF and other code Message-ID: <199712182136.QAA27991@spork.lcpnmr> Hi, Thanks to everyone for your responses to my DragWell question. Here's one that I should have asked first: The EOF stuff on the CD doesn't seem to have any installation shell scripts or other installation instructions. How should I install EOF, and where do people usually put that code? And on a related note, say I want, for some reason, to try installing the MiscKit on my RDR Mac. Are there likely to be problems in compiling most of it? How should I go about doing that to make sure that IB can see all the new palettes and so forth? Thanks for any advice y'all can offer. --JK From ericsc at apple.com Thu Dec 18 14:42:39 1997 From: ericsc at apple.com (Eric Schlegel) Date: Thu Nov 3 14:40:49 2005 Subject: msql + mmap Message-ID: mmap is not implemented on Developer. I'm told that it will be there in Premiere. -eric Rhapsody Graphics On Thu, Dec 18, 1997 10:37 AM, Hugo Burm wrote: > MSQL is a small sql server. MSQL is important because it runs on almost > every platform. > > The good news; I have MSQL 2.0.3 running on Rhapsody/Intel. > > The bad news: more mmap problems. This is tested on Intel only!! It looks > like the new 4.4 mmap function is broken. The new system call (19x) is also > broken. The old one (71) seems to work ok. Munmap complains about its > parameters and returns -1 (but it looks like it is doing its job ok). > > MSQL seems to work ok, but it fails the "killer" test. Seems like this is > related to the mmap problems above. Anyone played with mmap on Intel?? > Because I want to do a port to PPC; anyone tried mmap on PPC?? > Hugo Burm hugob@tamtam.xs4all.nl > > > From eharley at pacbell.net Thu Dec 18 20:41:59 1997 From: eharley at pacbell.net (Eric Harley) Date: Thu Nov 3 14:40:49 2005 Subject: NSReturnSign Message-ID: Its missing from OpenStep too. Your not supposed to use it any more as of 4.2. Your supposed to use the outlined button look for default buttons as to keep compatible with WinNT and Solaris Eric Harley eharley@pacbell.net --------------------------------------------------------------------- "Medicine will cure death and government will repeal taxes before Steve will fail." -Guy Kawasaki (Fall 1991) From mp at timesink.pilzecker.de Thu Dec 18 20:19:46 1997 From: mp at timesink.pilzecker.de (Markus Pilzecker) Date: Thu Nov 3 14:40:49 2005 Subject: EOF Database Adapter Development In-Reply-To: <199712170902.KAA28758@lorien.slab.de> References: <199712170902.KAA28758@lorien.slab.de> Message-ID: <199712190419.EAA01128@timesink.pilzecker.de> Moin, Alexander, you wrote: > Hi, > > I want to write an EOF Database Adaptor for Rhapsody. Can anybody > tell me what I need to do this and where I can get further > information. > > Is there any EOF Adapter Development Kit available? > The MiniSQLEOFAdaptor of Mark Onyschuk is around on the ftp archives, e.g. ftp://ftp.eunet.ch/pub/next/Developer/resources/adaptors/MiniSQLEOFAdaptor.951211.s.gnutar.gz . A look into the sources left me with the impression, that the whole thing is rather straightforward, although you can say: it is not overloaded with features (e.g. only one channel per context). Let me hear of your experiences, if you decide to work with it. Ciao, Markus PS: 1. Consider moving this discussion to eof@omnigroup.com 2. Sagst Du mir [per pM], woran Ihr grade arbeitet ? --------------------------------------------------------------- Markus Pilzecker, Bensheim, Germany From jsahrman at cstone.net Fri Dec 19 10:06:31 1997 From: jsahrman at cstone.net (Josh Sahrmann) Date: Thu Nov 3 14:40:49 2005 Subject: Boot Error References: <199712191835.KAA20308@ignem.omnigroup.com> Message-ID: <349AB7A7.E95F5252@cstone.net> Could someone help me out. I received an error when booting into rhapsody through user me. The message is below: Internal error occurred: *** -[ NSconstantstring objectForKey :]: Selector not recognized continue (at your own risk)? You then can choose to log out or to continue. If I boot into root then the error doesn't come up. Same if I do it with any other users name. Thanks for any help. And have a nice holiday. Sahrmann, Josh From dbk at opentext.com Fri Dec 19 16:05:09 1997 From: dbk at opentext.com (Dan Keith) Date: Thu Nov 3 14:40:49 2005 Subject: RDR1 on PowerMac8600/300? Message-ID: Please tell me I'm not a complete fool. I just bought a PowerMac8600/300 for Rhapsody development (I had been working fine on an 8500/120). I was having some problems installing it and I decided to go back and read the manual. My jaw dropped when I read that the only 8600 configurations supported are the 8600/200! Is this true? Am I completely screwed? Please tell me it ain't so. Or at least tell me that there is an RDR2 coming out that will support this machine. thanks for any help, bud ! Dan "Bud" Keith dbk@mcs.com ! "You never can tell what goes on down below. This pool might be bigger than you or I know." - Dr. Seuss From lflath at earthlink.net Fri Dec 19 18:50:51 1997 From: lflath at earthlink.net (Laurence Flath) Date: Thu Nov 3 14:40:49 2005 Subject: Editable text fields in a custom view Message-ID: <349B3275.3111@earthlink.net> Please have patience with a programmer to be... Running RDR/Intel. I have a custom view that performs some PostScript drawing and places some text fields within its bounds; the problem is that I cannot edit these programmatically instantiated text fields like the ones I just drag into a window in IB. What am I missing? NSTextField *myTextField; // Assume this exists and init'd - (void)drawRect:(NSRect)myRect { NSRect myTFCellRect; /* Calc size and position of text field */ myTFCellRect.size = [[myTextField cell] cellSize]; myTFCellRect.origin.x = myRect.size.width / 2.0; myTFCellRect.origin.y = myRect.size.height / 2.0; /* Draw the text field */ [[myTextField cell] drawWithFrame:myTFCellRect inView:self]; } The text field draws just fine, just no response to mouse clicks. I tried the setEditable:, setSelectable:, and setEnabled: methods, to no avail. Thanks for all help! Laurence Flath P.S. I started using NSTextFieldCell, instead of NSTextField, because the doc says the former (NSCell) is 'extremely useful for placing text or images at various locations in a custom subclass of NSView.' But it seemed that if an object is to react to mouse clicks, it should inherit from NSResponder. Which class should be used for a given situation, and why? From danp at apple.com Fri Dec 19 16:54:15 1997 From: danp at apple.com (Dan Peterson) Date: Thu Nov 3 14:40:49 2005 Subject: RDR1 on PowerMac8600/300? Message-ID: <001d01bd0ce1$cba0a640$a016cb11@peteda2.apple.com> >Please tell me it ain't so. Or at least tell me that there is an RDR2 coming out that will support this machine. Don't worry Bud. It works fine! Merry Christmas! Dan Peterson, Rhapsody Developer Support. -----Original Message----- From: Dan Keith To: Multiple recipients of list Date: Friday, December 19, 1997 4:00 PM Subject: RDR1 on PowerMac8600/300? >Please tell me I'm not a complete fool. I just bought a PowerMac8600/300 for Rhapsody development (I had been working fine on an 8500/120). I was having some problems installing it and I decided to go back and read the manual. My jaw dropped when I read that the only 8600 configurations supported are the 8600/200! Is this true? Am I completely screwed? > > >thanks for any help, >bud > >! Dan "Bud" Keith dbk@mcs.com ! >"You never can tell what goes on down below. This pool might be bigger than you or I know." - Dr. Seuss > > From alex at mail.versa.com Fri Dec 19 21:56:56 1997 From: alex at mail.versa.com (alex@mail.versa.com) Date: Thu Nov 3 14:40:49 2005 Subject: New device drivers soon Message-ID: It is getting a bit hard to work in RDR/PPC on my 9500/233. I think my problem is with the mouse i/o drivers. I have a Kensington 2 button mouse that I love. However, evry mouse click for dragging or menu clicks takes at least a second before it registers. It is kind of getting annoying to try to drag a palette or text only to find that I didn't wait long enough for rhapsody to recognize the mouseDown event. Any help for me? I'm about to go stir crazy on this one...and sorry for posting to the dev group, but right now it is the only one I am subscribed to and its late and I'm tired, and the moon is full...:) Thanks. From spowers at telepath.com Sat Dec 20 07:48:46 1997 From: spowers at telepath.com (Scott Powers) Date: Thu Nov 3 14:40:49 2005 Subject: RDR1 on PowerMac8600/300? In-Reply-To: Message-ID: At 7:01 PM -0500 12/19/97, Dan Keith wrote: >Please tell me I'm not a complete fool. I just bought a PowerMac8600/300 >for Rhapsody development (I had been working fine on an 8500/120). I was >having some problems installing it and I decided to go back and read the >manual. My jaw dropped when I read that the only 8600 configurations >supported are the 8600/200! Is this true? Am I completely screwed? > >Please tell me it ain't so. Or at least tell me that there is an RDR2 >coming out that will support this machine. I can't answer your question, but the following note was posted to this forum. It implies that someone was doing Rhapsody development on a 7300. So who knows. Maybe it will really run on everything. >Date: Thu, 18 Dec 1997 12:57:50 -0800 (GMT-0800) >Reply-To: inzet@planet.it >Originator: rhapsody-dev@omnigroup.com >Sender: rhapsody-dev@omnigroup.com >Precedence: bulk >From: Gianluca Sordiglioni >To: Multiple recipients of list >Subject: App quit >X-Comment: To unsubscribe, follow directions at >http://www.omnigroup.com/MailArchive/ >Mime-Version: 1.0 >Status: RO > >I tried to modify the ToDo datasource example but the application quit >just after launching. >It seems the problem is the the datasource methods, because if I remove >the code the application works. I tried everything I know to fix the >problem, with no results. Even debugging step by step but if I set a >breakpoint I can only walk in a given method implementation (step-by-step >doesn't work outside the class). >Any suggestion? All the links in IB seems to be ok. There's a bug I'm not >aware of? >I'm using RDR on a 7300/200/64. > > > >Gianluca Sordiglioni Macintosh Programming & Consulting > ********************************************* J. Scott Powers President Powers Hill, Inc. 11707 Lorene Avenue Midwest City, OK 73130 Phone: (405) 769-4848 Fax: (405) 769-6254 email: spowers@telepath.com Web Site: http://telepath.com/spowers/ ********************************************* From dbk at opentext.com Sat Dec 20 18:06:37 1997 From: dbk at opentext.com (Dan Keith) Date: Thu Nov 3 14:40:49 2005 Subject: RDR1/PowerPC - PB - 4 column tabs, Cursor spins forever, how to regen Makefile Message-ID: I'm using Project Builder under RDR1 on a PowerMac. I'm having the following problems and I have some questions. I'm not sure if these are bugs or not. 1) How can I get the source code editor to use 4-column tab stops? I go to the Preferences panel and select 'Key Bindings', which has a field called Tab Width, which I change from 8 to 4. It seems to have no affect on how my Tabs are displayed. 2) Another problem I sometimes have occurs as follows: - Use the 'Help' menu item called 'Using the Tools'. - When the HTML page comes up, click on the 'Compiler' link., - Then click on 'Compiling C++ programs'. - Sometimes, not always, the pretty CDROM-style cursor starts spinning and never stops. - I am completely unable to do anything within Project Builder, although I can go to the Workspace's Processes command and Kill the Project Builder process. My question is, what is going on here and why can't I do a command-period or some such 'Interrupt' event. My experience with all of the other NeXT tools in Rhapsody is that they are usually very responsive and multithreading. Is rendering an HTML page such a big deal? 3) When I use the Project Inspector to change my Linker Flags or Compiler Flags, how do I get my Makefile to be regenned. I try using the Clean command from the Build panel, but it doesn't work consistently. Sometimes I'll do a Clean and the old Makefile (before I made my changes to the flags) is used. Usually I end up clicking around and changing random source files in an attempt to 'dirty' the magic bit that will cause my Build to honor my changed flags. Is there a trick here? Or a bug? 4) Just before I sent this e-mail, I found another easily duplicable case where Project Builder spins forever. Just use the File/OpenQuickly item, type in a filename (e.g., c_sys.h), and it will spin forever. Once again, isn't there a command-period or something? On the plus side, I'm getting the hang of PB and I must say that it is a pleasant way for a non-UNIX head such as myself to develop UNIX-style software (i.e., C, C++, and Makefiles). bud ! Dan "Bud" Keith dbk@mcs.com ! "You never can tell what goes on down below. This pool might be bigger than you or I know." - Dr. Seuss From dbk at opentext.com Sat Dec 20 18:31:36 1997 From: dbk at opentext.com (Dan Keith) Date: Thu Nov 3 14:40:49 2005 Subject: RDR1/PowerPC - Getting G++ to compile DOS line termination (0a0d) Message-ID: I've got a lot of source files that have DOS line termination (i.e., \n\r) and I've moved them to Rhapsody using TAR. Project Builder and the GCC handle the bogus line termination fine, with one exception, preprocessor directives that are split across lines with a backslash (\). For example, the following won't work if I have Windows termination: #define MYHELLO "Hello " \ "World" cout << MYHELLO << endl; This is because the '\' is NOT the last character in the line as far as the preprocessor is concerned. I can't find any options in the documentation to affect this behavior. Is this a bug? Is there a way for me to get TAR or some other tool to convert my source back and forth between DOS termination and Unix or Mac termination? thanks for any help, bud ! Dan "Bud" Keith dbk@mcs.com ! "You never can tell what goes on down below. This pool might be bigger than you or I know." - Dr. Seuss From ims at hyper.gr Sun Dec 21 11:23:39 1997 From: ims at hyper.gr (ims) Date: Thu Nov 3 14:40:49 2005 Subject: ping Message-ID: I haven't receive anything for a week. What happen; Is everybody afraid that will ask wrong questions; :-) Regards NN Nikou Nikolaos for =============================================================== IMS Research & Development | tel. +30 (31) 94 52 98 PRIAMOY 12 | 95 09 03 544 53 THESSALONIKI | fax. +30 (31) 95 09 04 MACEDONIA - HELLAS | kai tou xpovou stnv polh! =============================================================== From 9512087 at luc.ac.be Sun Dec 21 17:03:15 1997 From: 9512087 at luc.ac.be (Jasper) Date: Thu Nov 3 14:40:49 2005 Subject: Ping Message-ID: Hello everybody, I'm new to the Openstep enviroment, but have some Linux experience and Mac knowledge (like if that would help ;) I wondered if somebody is putting up a web site with compiled binaries of GNU software for Rhapsody. For instance: did someone allready compiled Amp succesfully? And,.... if this isn't the right place to ask such question,... blame the guy that pinged and complained nothing happened the last week :) Jasper :) From dbk at opentext.com Sun Dec 21 20:07:09 1997 From: dbk at opentext.com (Dan Keith) Date: Thu Nov 3 14:40:49 2005 Subject: RDR1/PPC - UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY... Message-ID: I have Rhapsody installed on an internal hard drive partition and it works wonderfully as long as no external SCSI devices are connected. However, when I try to boot and I have my external SCSI drive (which has HFS partitions) connected, the boot process fails with messages like: root on sd1 rootdev 608, howto 0 Sun Dec 21 21:53:36 BLAH BLAH Checking Disks sd0a: Read attempt with no valid label /dev/rsd0a: CANNOT READ: BLK 16 /dev/rsd0a: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY Reboot failed...help! erase ^? intr ^C kill ^U # At this point, I seem to be in some short of primitive shell (i.e., I can type UNIX commands). Of course, rebooting with my external drive powered off works fine. The reason that I want my external SCSI drive accessible is so that my BlueBox can get to it. Is there anything I can do to make this work? Or is this a known limitation of RDR1? Thanks for your help, bud ! Dan "Bud" Keith dbk@mcs.com ! "You never can tell what goes on down below. This pool might be bigger than you or I know." - Dr. Seuss From Dan_Grillo at 280.com Sun Dec 21 20:16:54 1997 From: Dan_Grillo at 280.com (Dan Grillo) Date: Thu Nov 3 14:40:49 2005 Subject: RDR1/PPC - UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY... Message-ID: <199712220420.UAA06988@280.com> What's the SCSI ID of your external drive? What's the scsi id of your internal drive? Make sure internal < external. --Dan ----- Begin forwarded message: From: Dan Keith Subject: RDR1/PPC - UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY... To: Multiple recipients of list Date: Sun, 21 Dec 1997 20:01:47 -0800 (GMT-0800) I have Rhapsody installed on an internal hard drive partition and it works wonderfully as long as no external SCSI devices are connected. However, when I try to boot and I have my external SCSI drive (which has HFS partitions) connected, the boot process fails with messages like: root on sd1 rootdev 608, howto 0 Sun Dec 21 21:53:36 BLAH BLAH Checking Disks sd0a: Read attempt with no valid label /dev/rsd0a: CANNOT READ: BLK 16 /dev/rsd0a: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY Reboot failed...help! erase ^? intr ^C kill ^U # At this point, I seem to be in some short of primitive shell (i.e., I can type UNIX commands). Of course, rebooting with my external drive powered off works fine. The reason that I want my external SCSI drive accessible is so that my BlueBox can get to it. Is there anything I can do to make this work? Or is this a known limitation of RDR1? Thanks for your help, bud ! Dan "Bud" Keith dbk@mcs.com ! "You never can tell what goes on down below. This pool might be bigger than you or I know." - Dr. Seuss ----- End forwarded message -- Dan Grillo dan_grillo@280.com 415 575-4020 fax 415 703-7220 From minow at apple.com Sun Dec 21 20:40:59 1997 From: minow at apple.com (Martin Minow) Date: Thu Nov 3 14:40:49 2005 Subject: RDR1/PPC - UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY... In-Reply-To: Message-ID: You'll see this message if you add SCSI disks "before" your boot device. Before means at a lower SCSI bus ID or, if your boot device is on the internal bus, any added device on the external bus will trigger the problem. There's more information on the Rhapsody Web page. Fortunately, the solution is trivial. 1. Number your disks (hard disks and CD-ROM's), starting with the external bus. This gives you the "sd" numbers. 2. When you change your configuration from the installed configuration, you must update the OpenFirmware "boot-command" parameter. If you reboot into MacOS, you can use the Boot Variables command to set these values. 3. Now, reboot single user. 4. When you reach the single-user prompt, mount your system disk using its (new) sd number, assume it's 1 (and assume that the old sd number is zero). mount -w /dev/sd1a / This mounts the disk device read-write as the root device. 5. Here's the fun part: # ed /etc/fstab s/0/1p w q I.e., edit the /etc/fstab command line to change the manual mount. 6. You're all done, reboot and everything should work. Yes, we do intend to fix this ugly Unix hack. Martin. At 20:02 -0800 1997.12.21, Dan Keith wrote: >I have Rhapsody installed on an internal hard drive partition and it works >wonderfully as long as no external SCSI devices are connected. However, >when I try to boot and I have my external SCSI drive (which has HFS >partitions) connected, the boot process fails with messages like: > > > >root on sd1 >rootdev 608, howto 0 > >Sun Dec 21 21:53:36 BLAH BLAH >Checking Disks >sd0a: Read attempt with no valid label >/dev/rsd0a: CANNOT READ: BLK 16 >/dev/rsd0a: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY >Reboot failed...help! >erase ^? intr ^C kill ^U ># > > >At this point, I seem to be in some short of primitive shell (i.e., I can >type UNIX commands). > > >Of course, rebooting with my external drive powered off works fine. > >The reason that I want my external SCSI drive accessible is so that my >BlueBox can get to it. Is there anything I can do to make this work? Or is >this a known limitation of RDR1? > >Thanks for your help, >bud > > > >! Dan "Bud" Keith dbk@mcs.com ! >"You never can tell what goes on down below. This pool might be bigger >than you or I know." - Dr. Seuss From nberch at db.lv Mon Dec 22 03:01:47 1997 From: nberch at db.lv (Nils Berzins) Date: Thu Nov 3 14:40:49 2005 Subject: Please Help ! Message-ID: <199712220859.KAA05247@saulite> Hi, Sorry if this is lame question... What am I doing wrong ? //=========================================================== char mystr[255]; string = [[NSMutableString alloc] initWithString:@"this is it"]; [string getCString:mystr :255]; //=========================================================== This is what I get: >assignment from incompatible type >'NSMutableString' does not respond to 'getCString::' Nils Berzins From leuker at Pool.Informatik.RWTH-Aachen.DE Mon Dec 22 02:44:54 1997 From: leuker at Pool.Informatik.RWTH-Aachen.DE (Stefan Leuker) Date: Thu Nov 3 14:40:49 2005 Subject: Intro and question about sockets Message-ID: First, let me introduce myself, since this is my first post to rhapsody-dev. My name is Stefan Leuker, I developed some software for NeXTstep when it was still 2.0, moved to OPENSTEP this summer and lately to Rhapsody DR. Some old time NEXTSTEP users may know my applications ICAO, NetTalk, or even Xnext, an X server for NEXTSTEP and OPENSTEP. Porting Xnext to Rhapsody worked pretty well, except that there were problems with client/server communication and deleting the X socket. I guessed that Rhapsody would use BSD4.4 sockets since the system is BSD4.4 now, so compiling with the appropriate flags gives me a server that runs fine and quits/restarts properly, but no client is able to connect to it. I don't know much about the differences between socket implementations, and I don't even know if this problem is socket related, but if anyone on this list has a clue where the problem could be, please give me a hint. Thanks for all your help. Stefan Leuker BTW: I noticed that frameworks are only thin i386 on my system. So I can compile ppc code, but couldn't link it. How do you guys produce FAT RDR applications? From prak at usl.edu Mon Dec 22 07:42:06 1997 From: prak at usl.edu (Brian Wotring) Date: Thu Nov 3 14:40:49 2005 Subject: Please Help ! In-Reply-To: <199712220859.KAA05247@saulite> Message-ID: <3.0.5.32.19971222094206.007988b0@pop.usl.edu> At 01:01 AM 12/22/97 -0800, Nils Berzins wrote: > >Hi, > >Sorry if this is lame question... > >What am I doing wrong ? > >//=========================================================== >char mystr[255]; > >string = [[NSMutableString alloc] initWithString:@"this is it"]; >[string getCString:mystr :255]; >//=========================================================== > >This is what I get: > >>assignment from incompatible type >>'NSMutableString' does not respond to 'getCString::' Which is correct. You need to add the maxLength argument. That is, your last line should read: [string getCString:mystr maxLength:255]; I'm sure that is your problem. -- [ Brian Wotring ] : prak@usl.edu : http://tact.dyn.ml.org -- From kevinc at icat.com Mon Dec 22 08:47:23 1997 From: kevinc at icat.com (Kevin Callahan) Date: Thu Nov 3 14:40:49 2005 Subject: wchar.h Message-ID: My company has a product running on 3 UNIX flavors and I have been asked to look into a rhapsody port. I haven't been able to find wide character support in the include files.... Am I looking in the wrong place? Also, porting from Solaris.. what are the known issues I should be looking at ? thanks, Kevin From you at metrowerks.com Mon Dec 22 09:28:00 1997 From: you at metrowerks.com (Lawrence You) Date: Thu Nov 3 14:40:49 2005 Subject: Ping Message-ID: <1329339610-25171602@cupertino.metrowerks.com> On 12/21/97 5:03 PM, Jasper wrote: >I wondered if somebody is putting up a web site with compiled binaries of >GNU software for Rhapsody. Apple has an ftp site (unsupported) gnu ports. Try this: >For instance: did someone allready compiled Amp succesfully? This doesn't look like one of them. -Lawrence From thomas at ireadyco.com Mon Dec 22 11:05:40 1997 From: thomas at ireadyco.com (Thomas) Date: Thu Nov 3 14:40:49 2005 Subject: adorning an NSScrollView Message-ID: <199712221905.LAA03884@next.ireadyco.com> Hi, Does anyone know the procedure for adding a subview alongside an NSScroller object in an NSScrollView object? I can traverse the subviews and insert a view there [in my case a button alongside the horizontal scrollview] but would like to know how to handle all the resizing issues and such. I miss ScrollViewDeluxe.palette! Perhaps I should consider a rewrite? Merry Xmas and a Happy New Year, Thomas From toon Mon Dec 22 11:43:15 1997 From: toon (Greg Titus) Date: Thu Nov 3 14:40:49 2005 Subject: adorning an NSScrollView In-Reply-To: <199712221905.LAA03884@next.ireadyco.com> References: <199712221905.LAA03884@next.ireadyco.com> Message-ID: <199712221943.LAA01543@ignem.omnigroup.com> A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 2104 bytes Desc: not available Url : /mailman/archive/macosx-dev/attachments/19971222/6e5d100f/attachment.bin From lholton at desertsky.com Mon Dec 22 15:50:12 1997 From: lholton at desertsky.com (Luke Holton) Date: Thu Nov 3 14:40:49 2005 Subject: Can't reboot after configuring network Message-ID: Here's my problem: I install rhapsody on my 8600/200 with no problems. It boots just fine. I set passwords for root and a couple of other users. Still no problem. Then I use SimpleNetwork starter to connect to my network using the simple configuration (Host name, IP address, and subnet mask) as outlined on the web page. I reboot and system begins displaying the initialization progress messages. When it gets to the "Configuring Network Routing" message it hangs. The only workaround I've found is to completely reinstall the system. Copying the network files in single user modes does not help. I have to reinstall the system to get back up and running. The funny thing is, the first time I did this weeks ago it worked just fine. I'm using the same setup (cpu, external drive, scsi addresses, etc) now with no luck. What am I doing wrong? Luke Holton Desert Sky Software From canthes at dka.com Mon Dec 22 18:24:45 1997 From: canthes at dka.com (Chris Anthes) Date: Thu Nov 3 14:40:49 2005 Subject: Interface Builder problem Message-ID: <19971223022537.AAA6972@[207.141.205.13]> I am running through the TravelAdvisor tutorial in RDR1 for Intel. The tutorial says to "alternate-drag" to create more fields in a form. However, when I "alternate-drag", it is only changing the spacing between fields, not the number of fields itself. I have also tried many other key-combinations with no success. How do I create more fields in a form in interface builder? Thanks, Chris // ************************************************************ // // Chris Anthes mailto:canthes@dka.com // // Senior Software Engineer DK&A, Inc. // // ************************************************************ // From rcfa at cubiculum.com Tue Dec 23 11:21:53 1997 From: rcfa at cubiculum.com (Ronald C.F. Antony) Date: Thu Nov 3 14:40:49 2005 Subject: Interface Builder problem In-Reply-To: <3.0.5.32.19970308040534.007aa420@pop.usl.edu> References: <3.0.5.32.19970308040534.007aa420@pop.usl.edu> Message-ID: <9712231922.AA12479@kannix.cubiculum.com> you wrote: > At 11:05 PM 12/22/97 -0800, Chris Anthes wrote: > >I am running through the TravelAdvisor tutorial in RDR1 for Intel. The > >tutorial says to "alternate-drag" to create more fields in a form. > >However, when I "alternate-drag", it is only changing the spacing between > >fields, not the number of fields itself. I have also tried many other > >key-combinations with no success. How do I create more fields in a form > >in interface builder? > > Did you try the right Alt key ? I had noticed that the left Key adjusted > the spacing, while the right one adjusted the number of fields. It's really high time Apple starts selling PC keyboards with the correct OpenStep/Rhapsody lables on the keys. It's enough to drive anyone nuts trying to figure out how the PC keys map to the correct functions, unless you are an old-timer like myself and know what the keyboard mapping is on black hardware and thus do the right things blindly. Besides, PC keyboards with their stupid control-key location, oversized caps-lock key, etc. are really a pain in the neck. I wish they would pick up on the excellent ergonomics of the late ADB NeXT keyboard with the command-bar below the space bar, etc. If M$ can sell Win* keyboards, Apple should be able to sell Rhapsody keyboards... Ronald ============================================================================== "The reasonable man adapts himself to the world; the unreasonable one persists in trying to adapt the world to himself. Therefore all progress depends on the unreasonable man." G.B. Shaw | rcfa@cubiculum.com | NeXT-mail welcome From Malcolm_Crawford at plsys.co.uk Tue Dec 23 12:49:45 1997 From: Malcolm_Crawford at plsys.co.uk (mmalcolm crawford) Date: Thu Nov 3 14:40:49 2005 Subject: Interface Builder problem In-Reply-To: <9712231922.AA12479@kannix.cubiculum.com> References: <9712231922.AA12479@kannix.cubiculum.com> Message-ID: <199712232049.UAA00706@pheasant.plsys.co.uk> > Besides, PC keyboards with their stupid control-key location, oversized > caps-lock key, etc. are really a pain in the neck. I wish they would pick > up on the excellent ergonomics of the late ADB NeXT keyboard with the > command-bar below the space bar, etc. If M$ can sell Win* keyboards, Apple > should be able to sell Rhapsody keyboards... > For anyone interested I'll reply to this on Rhapsody-talk. Best wishes, mmalc. From canthes at dka.com Tue Dec 23 13:10:18 1997 From: canthes at dka.com (Chris Anthes) Date: Thu Nov 3 14:40:49 2005 Subject: New IB question Message-ID: <19971223211110.AAA13534@[207.141.205.13]> Thanks to all those who responded about the "alt" keys problem. However, I have another question I can't seem to find the answer to anywhere... How do you remove a formatter from a text field in IB? Thanks, Chris // ************************************************************ // // Chris Anthes mailto:canthes@dka.com // // Senior Software Engineer DK&A, Inc. // // ************************************************************ // From lholton at desertsky.com Tue Dec 23 13:37:39 1997 From: lholton at desertsky.com (Luke Holton) Date: Thu Nov 3 14:40:49 2005 Subject: Can't reboot after configuring network (Solution) Message-ID: Hi, Thanks to to all those who responded. I finally got things to work and it turns out the problem was something stupid I was doing. When I set the Network Options using SimpleNetwork Starter I had neglected to set the router option to none. So of course, it was looking for the non-existent router on my network when I booted the system. I am still curious as to why copying the default settings didn't fix the problem and allow me to reboot without having to reinstall. Oh well, I'll figure that one out on another day. For now I'm happy to be up and running. It's time to intall the bluebox for the holidays. Happy Holidays, Luke >X-Topic-No: 3 >Date: Mon, 22 Dec 97 16:50:12 -0700 >From: Luke Holton >To: "Rhapsody Tech Support" >Subject: Can't reboot after configuring network >Message-ID: > >Here's my problem: > >I install rhapsody on my 8600/200 with no problems. It boots just fine. I >set passwords for root and a couple of other users. Still no problem. >Then I use SimpleNetwork starter to connect to my network using the >simple configuration (Host name, IP address, and subnet mask) as outlined >on the web page. I reboot and system begins displaying the initialization >progress messages. When it gets to the "Configuring Network Routing" >message it hangs. The only workaround I've found is to completely >reinstall the system. Copying the network files in single user modes does >not help. I have to reinstall the system to get back up and running. The >funny thing is, the first time I did this weeks ago it worked just fine. >I'm using the same setup (cpu, external drive, scsi addresses, etc) now >with no luck. What am I doing wrong? > >Luke Holton >Desert Sky Software From Magotron at aol.com Tue Dec 23 13:36:07 1997 From: Magotron at aol.com (Magotron) Date: Thu Nov 3 14:40:49 2005 Subject: silly question Message-ID: <1ca72ad4.34a02eca@aol.com> How do I unsubscribe from this list ? Any help would be appreciated. -Jason From paulrs at lgs-systems.com Tue Dec 23 16:46:58 1997 From: paulrs at lgs-systems.com (Paul R. Summermatter) Date: Thu Nov 3 14:40:49 2005 Subject: Problem with control:textShouldEndEditing: Message-ID: <9712240046.AA24774@cube> Hello all, Hopefully, WJS will not castigate me for this post, as I am sincerely interested in others opinions on this subject. Since OS 4.x, there has been what I consider to be a bug in the calling of the delegate method of NSControl 'control:textShouldEndEditing:', and this problem still exists on Rhapsody. The documentation from OS 4.2 clearly states that the delegate is sent this message 'when the cursor tries to leave a cell of the control that allows editing of text (such as a text field or a form field).' This is exactly the behaviour I would expect and want. However, it seems that this method is called only if the user has actually edited something in the field and then tries to leave the field. If the user clicks in a text field and then, without typing in any text, tries to click in another field, the delegate is never given the opportunity to override the change. I won't even go into the other complications which ensue when you have an EOAssociation involved in the mix. Does anyone consider this a feature and, if so, why so? Thanks, Paul --- Paul Summermatter LGS Systems, Inc. Medical Computing Division 182 Lake Street Hamburg, NY 14075-4826 (716) 646-1164 paulrs@lgs-systems.com (NeXT or MIME Mail Welcome) From lflath at earthlink.net Tue Dec 23 19:18:21 1997 From: lflath at earthlink.net (Laurence Flath) Date: Thu Nov 3 14:40:49 2005 Subject: Editable text fields in a custom view References: <349B3275.3111@earthlink.net> Message-ID: <34A07EF6.1CAC@earthlink.net> Many thanks to the folks who gave pointers on my problem of placing editable text fields in a custom view... I wrote: > Running RDR/Intel. I have a custom view that performs some PostScript > drawing and places some text fields within its bounds; the problem is > that I cannot edit these programmatically instantiated text fields like > the ones I just drag into a window in IB. What am I missing? My main problem was in forgetting the addSubview: method, and sending messages to the text field's cell instead its view. Here's what I found to work: NSTextField *myTextField; // Assume this exists and init'd [self addSubview:NSTextField]; [NSTextField setEditable:YES]; [[NSTextField cell] setScrollable:YES]; [NSTextField display]; - (void)drawRect:(NSRect)myRect { NSRect myTFCellRect; /* Calc size and position of text field */ [myTextField sizeToFit]; myTFCellRect.size = [myTextField frame].size; [myTextField setAlignment:NSCenterTextAlignment]; // Bad results without this myTFCellRect.origin.x = myRect.size.width / 2.0; myTFCellRect.origin.y = myRect.size.height / 2.0; [myTextField setFrameOrigin:myTFCellRect.origin]; } Thanks again, Laurence Flath From paulrs at lgs-systems.com Wed Dec 24 06:30:19 1997 From: paulrs at lgs-systems.com (Paul R. Summermatter) Date: Thu Nov 3 14:40:49 2005 Subject: More on problems with NSControl delegate methods In-Reply-To: <9712240316.AA00400@mindspring.com> References: <9712240046.AA24774@cube> <9712240316.AA00400@mindspring.com> Message-ID: <9712241430.AA25498@cube> Hello all, It seems that others agree with me that the control:textShouldEndEditing: issue is a bug. In testing more of the delegate methods, it seems that there are issues with most all of them. Though the doc again clearly states that a controlTextDidChange: message is sent 'when the text in the receiving control (...) changes', no message is sent on programmatic changes like setStringValue:. This is arguably a feature, but I would argue that there is one facet missing that would make it a feature. SmartFields had the ability to set a boolean called processOnSet, which, if YES, would process programmatic setting of values in cells just as if the user typed them in. It might be nice to have a class method which would set the default for all controls and then an instance method which would let you override the default on an instance basis. Do others think this is appropriate? Should we badger Mike to get this in the next rev :-). Regards, Paul --- Paul Summermatter LGS Systems, Inc. Medical Computing Division 182 Lake Street Hamburg, NY 14075-4826 (716) 646-1164 paulrs@lgs-systems.com (NeXT or MIME Mail Welcome) From paulrs at lgs-systems.com Wed Dec 24 06:42:16 1997 From: paulrs at lgs-systems.com (Paul R. Summermatter) Date: Thu Nov 3 14:40:49 2005 Subject: Wrapping text in an NSTextField Message-ID: <9712241442.AA25508@cube> Hello all, For historical reasons, I expected NSTextFields, which have been sized large enough to hold more than one line, to automatically wrap text which is too long to fit within the width of the field. Such does not seem to be the case. Is there any way to create this behaviour? Regards, Paul --- Paul Summermatter LGS Systems, Inc. Medical Computing Division 182 Lake Street Hamburg, NY 14075-4826 (716) 646-1164 paulrs@lgs-systems.com (NeXT or MIME Mail Welcome) From n-endo at hq.sankyo.co.jp Wed Dec 24 16:35:40 1997 From: n-endo at hq.sankyo.co.jp (Naoto Endo) Date: Thu Nov 3 14:40:49 2005 Subject: When did BlueBox araived? Message-ID: <199712250028.JAA12366@inetmail.edp.sankyo.co.jp> I am Japanese developer I waiting BlueBox with Hope but I don't have BlueBox Yet When do you have BlueBox? From wmeyer at mediaone.net Wed Dec 24 17:14:05 1997 From: wmeyer at mediaone.net (Will Meyer) Date: Thu Nov 3 14:40:49 2005 Subject: When did BlueBox araived? Message-ID: <199712250110.UAA17032@chmls05.mediaone.net> On 12/24/97 7:37 PM , Naoto Endo (n-endo@hq.sankyo.co.jp) wrote: >I am Japanese developer >I waiting BlueBox with Hope but I don't have BlueBox Yet >When do you have BlueBox? > I got mine in the mail yesterday (in the US or course) but it has been avaliable on the Apple Seeding Server for the past two weeks or so. You should have gotten information via email on how to access the site using the new security. |\----/----/\/\-----------------------------------------| | \/\/ill / \eyer | | | wmeyer@mediaone.net | http://wmeyer.ne.mediaone.net | |-------------------------------------------------------| From machead at the-link.net Wed Dec 24 14:34:54 1997 From: machead at the-link.net (Jim Trikakis) Date: Thu Nov 3 14:40:49 2005 Subject: When did BlueBox araived? Message-ID: <199712250433.WAA16873@shell.the-link.net> Mine cam ein today Dec 24, 1997. Apple delivered a very special present. Between Rhapsody and the Blue Box, it would be a shame if the world didn't stand up and take notice of this remarkable achievement. Thanks Apple!!! Jim Trikakis From eric.bjorkvall at tv4.se Thu Dec 25 04:07:46 1997 From: eric.bjorkvall at tv4.se (=?iso-8859-1?Q?Eric_Bj=F6rkvall?=) Date: Thu Nov 3 14:40:49 2005 Subject: Re- When did BlueBox araive Message-ID: <971225.130746@tv4.se> ?mne: Tid:13.06 MEDDELANDE Re: When did BlueBox araived? Datum: 97-12-25 >I got mine in the mail yesterday (in the US or course) but it has been >avaliable on the Apple Seeding Server for the past two weeks or so. You >should have gotten information via email on how to access the site using >the new security. I downloaded BlueBox from ftp.devseed.com but the archive seams to be corupted. I tried using Stuffit Expander, MacGZip and Gnutar to expand the archive but all of them reports crc error. I mailed Apple but they claim that the the file "BlueBoxRDR1.tgz" should be ok. Have anyone managed to extract the BlueBox file from ftp.devseed.com ? cheers, Eric Bj?rkvall TV4 AB & Diesel Development From gbh at middlemarch.net Thu Dec 25 14:33:22 1997 From: gbh at middlemarch.net (gbh@middlemarch.net) Date: Thu Nov 3 14:40:49 2005 Subject: App to compile source Message-ID: Has anyone considered writing an app to compile source code without needing the command line. I suppose it doesn't need to be too much more than a browser to cd to the source directory and a few buttons to issue the appropriate commands. --Greg From rcfa at cubiculum.com Thu Dec 25 14:43:46 1997 From: rcfa at cubiculum.com (Ronald C.F. Antony) Date: Thu Nov 3 14:40:49 2005 Subject: App to compile source In-Reply-To: References: Message-ID: <9712252243.AA06598@kannix.cubiculum.com> you wrote: > Has anyone considered writing an app to compile > source code without needing the command line. > I suppose it doesn't need to be too much more > than a browser to cd to the source directory > and a few buttons to issue the appropriate commands. Sounds like ProjectBuilder's Legacy project to me... Ronald ============================================================================== "The reasonable man adapts himself to the world; the unreasonable one persists in trying to adapt the world to himself. Therefore all progress depends on the unreasonable man." G.B. Shaw | rcfa@cubiculum.com | NeXT-mail welcome From shapiro at relium.com Thu Dec 25 18:59:23 1997 From: shapiro at relium.com (Eric Shapiro) Date: Thu Nov 3 14:40:49 2005 Subject: BlueBox Message-ID: <1329035157-7461326@relium.com> >I downloaded BlueBox from ftp.devseed.com but the archive seams >to be corupted. I had no problems with the download. Make 100% sure your FTP client is set to "binary" mode. Apple suggests "Fetch", so that is what I used. It is also possible you got a partial download rather than the entire thing. -Eric ------------------------------------------------------ Eric Shapiro eric@relium.com Relium Corp. www.relium.com ------------------------------------------------------ From dbk at opentext.com Thu Dec 25 20:00:05 1997 From: dbk at opentext.com (Dan Keith) Date: Thu Nov 3 14:40:49 2005 Subject: Is communication possible between BlueBoxDR1 and RDR1? Message-ID: Unless one has a MacIP server available (which I don't), it seems impossible to directly communicate files between Rhapsody and the BlueBox. Currently, if I want to share files I have to boot under MacOS, FTP files to my Wintel box, reboot under Rhapsody, and FTP the files from Wintel. This is a real drag. Has anyone considered providing a MacIP gateway that runs under Rhapsody? Or is the RDR2 or BlueBoxDR2 going to address this issue in a more straightforward fashion? BTW ! Dan "Bud" Keith dbk@mcs.com ! "You never can tell what goes on down below. This pool might be bigger than you or I know." - Dr. Seuss From dbk at opentext.com Thu Dec 25 20:04:21 1997 From: dbk at opentext.com (Dan Keith) Date: Thu Nov 3 14:40:50 2005 Subject: Project Builder moves files into the project directory. How can I stop it. Message-ID: I created a new project in PB, and added a bunch of my preexisting source files to the Other Sources section. At the time, I thought it was simply referencing my files (which are in a predefined source tree) sort of like DevStudio and CodeWarrior do. After working on my project for a few days, I wanted to check my changes into my source management system and I found that Project Builder had actually copied the files into the directory containing PB.project. This is bad. Is there a way that PB can work the "right way"? Thanks for your help, bud ! Dan "Bud" Keith dbk@mcs.com ! "You never can tell what goes on down below. This pool might be bigger than you or I know." - Dr. Seuss From sanguish at digifix.com Thu Dec 25 20:54:59 1997 From: sanguish at digifix.com (Scott Anguish) Date: Thu Nov 3 14:40:50 2005 Subject: Project Builder moves files into the project directory. How can I Message-ID: <199712260455.XAA12797@digifix.com> Dan Keith wrote: > I created a new project in PB, and added a bunch of my preexisting source > files to the Other Sources section. At the time, I thought it was simply > referencing my files (which are in a predefined source tree) sort of like > DevStudio and CodeWarrior do. After working on my project for a few days, I > wanted to check my changes into my source management system and I found > that Project Builder had actually copied the files into the directory > containing PB.project. This is bad. Is there a way that PB can work the > "right way"? I'm not sure I'd call this 'bad'. I'd say that its different than what you are used to. You could make symbolic links to the original files. in each project... (it might be nice if Project Builder offered you this option instead of just 'copying it')... I think an alternative would be to start building Frameworks/Libraries out of your common code, and just reference the framework, or libraries instead.. Or palettes if its the appropriate way to go... or components if you have lots of other resources besides code that you want to reuse.. From rcfa at cubiculum.com Thu Dec 25 21:59:22 1997 From: rcfa at cubiculum.com (Ronald C.F. Antony) Date: Thu Nov 3 14:40:50 2005 Subject: Project Builder moves files into the project directory. How can I In-Reply-To: References: Message-ID: <9712260559.AA07528@kannix.cubiculum.com> you wrote: > I created a new project in PB, and added a bunch of my preexisting source > files to the Other Sources section. At the time, I thought it was simply > referencing my files (which are in a predefined source tree) sort of like > DevStudio and CodeWarrior do. After working on my project for a few days, I > wanted to check my changes into my source management system and I found that > Project Builder had actually copied the files into the directory containing > PB.project. This is bad. Is there a way that PB can work the "right way"? Why don't you just create a project IN the directory with the preexisting source? Alternatively, use the CVS bundle, and check files directly in/out from the PB project. Ronald ============================================================================== "The reasonable man adapts himself to the world; the unreasonable one persists in trying to adapt the world to himself. Therefore all progress depends on the unreasonable man." G.B. Shaw | rcfa@cubiculum.com | NeXT-mail welcome From stanj at caffeineSoft.com Thu Dec 25 23:47:24 1997 From: stanj at caffeineSoft.com (Stan Jirman) Date: Thu Nov 3 14:40:50 2005 Subject: NSSplitView snapping behavior Message-ID: <9712260747.AA00263@caffeineSoft.com> Hi all, maybe someone else has run into this problem: I have a split view which splits two views in a manner that the one view must have a height of multiples of X pixels. How can I arrange for the split view to show the divider bar snapping at the imaginary borders when dragging? The API is quite incomplete in this respect... Thanks, and merry christmas :-) - Stan --- NeXTmail and MIME: stanj@caffeineSoft.com Caffeine Software: http://www.caffeineSoft.com From sanguish at digifix.com Thu Dec 25 23:53:43 1997 From: sanguish at digifix.com (Scott Anguish) Date: Thu Nov 3 14:40:50 2005 Subject: Problems with NSSplitView? Message-ID: <199712260753.CAA00867@digifix.com> I've been playing around with NSSplitView, and have noticed some problems.. Its a basic splitview... two views, top and bottom. Seems that implementing splitView:resizeSubviewsWithOldSize: is causing alot to screwup, even if its just an empty method.. Anyone else seen this? More importantly, anyone have a fix for the short term? It appears that the behaviour is identical under 4.2 as well in case anyones noticed.. From devenson at rof.net Fri Dec 26 01:01:04 1997 From: devenson at rof.net (David Evenson) Date: Thu Nov 3 14:40:50 2005 Subject: Preference Panel in Mail.app!!?? References: <199712260753.CAA00867@digifix.com> Message-ID: <34A37250.CFE7D878@rof.net> Well, I've finally managed to whip my tcp/ip networking into shape via an ethernet connection to an IP gateway, however the first time I launched Mail.app it asked me for my Mail server and POP prefs, which I apparently entered incorrectly. I would LOVE to correct my error, if only I could find the preference panel... I've looked through all of the menu items and "tool tip" (Yuk. Please God make them STOP doing that) indicators to no avail. Can someone please point me to the Preference Panel !!?? ____________________________ MIME, PGP and NeXTMail Welcome David Evenson - devenson@rof.net Digital Imaging & Animation OpenEdge Productions From micetto at iqsnet.it Thu Dec 25 06:53:28 1997 From: micetto at iqsnet.it (Sergio) Date: Thu Nov 3 14:40:50 2005 Subject: Re- When did BlueBox araive Message-ID: <9712261214.AF02570@dns> > From: Eric Bj?rkvall > To: Multiple recipients of list > Subject: Re- When did BlueBox araive > Date: Thu, 25 Dec 1997 04:16:25 -0800 (GMT-0800) > > ?mne: Tid:13.06 > MEDDELANDE Re: When did BlueBox araived? Datum: 97-12-25 >>I got mine in the mail yesterday (in the US or course) but it has been >avaliable on the Apple Seeding Server for the past two weeks or so. You >should have gotten information via email on how to access the site using >the new security. >I downloaded BlueBox from ftp.devseed.com but the archive seams to be corupted. >I tried using Stuffit Expander, MacGZip and Gnutar to expand the archive but all of them reports crc error. I mailed Apple but they claim that the the file "BlueBoxRDR1.tgz" should >be ok. >Have anyone managed to extract the BlueBox file from ftp.devseed.com ? me, and all it's ok. I download the archive two days ago from ftp.devseed.com. No problems. Sergio From dbk at opentext.com Sat Dec 27 09:54:35 1997 From: dbk at opentext.com (Dan Keith) Date: Thu Nov 3 14:40:50 2005 Subject: RDR1/PPC - PB is still copying files. Can this possibly be inhibited? Message-ID: [This is my second post on this subject. I've learned a bit more since last time] I have a large body of source that is organized into a certain tree structure that MUST BE PRESERVED. Yet, when I add a source file to my ProjectBuilder project, it insists on copying the file into the flat directory containing my project. Based upon some of your suggestions, I've tried placing my source tree under my project: PB.project mySrcDir mySrcSubdir1 mySrcSubSubdir1 mySrcSubdir2 ... This hasn't worked. PB still copies the file. The only options that I haven't explored yet are: 1) Create a flattened directory of symlinks corresponding to the files in my source tree and have PB try to use this. 2) Edit the PB.project text file and put in path specifications for the files. I have no idea whether this will work. If anyone can give me any other suggestions, I'd be grateful. bud P.S. I've already gotten enough comments telling me that I shouldn't want to to this and that I don't know how to correctly manage my source. My source management situtation is probably different from yours, not necessarily better or worse. ! Dan "Bud" Keith dbk@mcs.com ! "You never can tell what goes on down below. This pool might be bigger than you or I know." - Dr. Seuss From rcfa at cubiculum.com Sat Dec 27 10:40:31 1997 From: rcfa at cubiculum.com (Ronald C.F. Antony) Date: Thu Nov 3 14:40:50 2005 Subject: RDR1/PPC - PB is still copying files. Can this possibly be In-Reply-To: References: Message-ID: <9712271840.AA12184@kannix.cubiculum.com> If you have nested directories in your project, create subprojects. Create a symlink from the .subproj directory to the original name after moving over all the files to the new .subproj directory. Then let each subproject take care of its files (you have to add the files to the subproject of course, to avoid copying.) Subprojects are cool, it's just a bit silly that they have this naming convention, which is normally not a problem, but in cases like yours makes these sym-link tricks necessary. Hope that helps, Ronald ============================================================================== "The reasonable man adapts himself to the world; the unreasonable one persists in trying to adapt the world to himself. Therefore all progress depends on the unreasonable man." G.B. Shaw | rcfa@cubiculum.com | NeXT-mail welcome From wsanchez at apple.com Sat Dec 27 13:58:03 1997 From: wsanchez at apple.com (Wilfredo Sanchez) Date: Thu Nov 3 14:40:50 2005 Subject: RDR1/PPC - PB is still copying files. Can this possibly be Message-ID: <199712272157.NAA06510@scv2.apple.com> >If you have nested directories in your project, create subprojects. >Create a symlink from the .subproj directory to the original name after >moving over all the files to the new .subproj directory. >Then let each subproject take care of its files (you have to add the files >to the subproject of course, to avoid copying.) >Subprojects are cool, it's just a bit silly that they have this naming >convention, which is normally not a problem, but in cases like yours makes >these sym-link tricks necessary. You can create a subproject without a .subproj extension. I do it by copying in a PB.project file and editing the text by hand to rename the project without .subproj and so on, then adding the supbproject in the parent (with PB, not by hand). That works OK. I don't know if you can do that in the UI... I'm doing the BSD sources for Rhapsody with PB now and they have a LOT of subdirectories in the BSD source tree, so I use the command line a lot to get things set up, but then I can use PB to manage the files, create Makefiles, build, etc. As a general rule, having any symbolic links in your source tree is a bad idea. There are several problems with doing that. For example, if you start using a source management system like CVS, it won't get along with them. You'll also run into trouble if you care about systems with broken filesystems that don't support symlinks. You can always manage your builds better without symlinks anyway. -Fred --- Wilfredo Sanchez - wsanchez@apple.com - 408.974-5174 Apple Computer, Inc. - Rhapsody Core Operating Systems Group 2 Infinite Loop, Mail Stop 302-4K, Cupertino, CA 95014 From dbk at opentext.com Sun Dec 28 17:41:31 1997 From: dbk at opentext.com (Dan Keith) Date: Thu Nov 3 14:40:50 2005 Subject: RDR1/PPC - Some mysteries solved! You must hit in a text field to get it to stick. Message-ID: I have been losing my mind because changes I thought I had made (e.g., setting the Tab width setting in the Project Buidler) would not stick, no matter how often I changed them. Then, I finally discovered that in some text fields in the legacy NeXT tools, you must hit the key for text you enter in a text field in a panel to be applied. Otherwise, the program (Project Builder, in this case) blithely ignores your changes without telling you. Now that I know the trick, Project Builder is working a lot better for me. I'm just posting this in case there are any other folk out there who are used to the more MacOS/Windows style of Text field; this should save you some headaches. bud ! Dan "Bud" Keith dbk@mcs.com ! "You never can tell what goes on down below. This pool might be bigger than you or I know." - Dr. Seuss From dbk at opentext.com Sun Dec 28 17:49:15 1997 From: dbk at opentext.com (Dan Keith) Date: Thu Nov 3 14:40:50 2005 Subject: RDR1/PPC - PB: Adding a symlink to a project hangs Project Builder. Message-ID: I finally decided to use the symlink technique so that I could use PB to maintain my source. I created a bunch of symlinks in my project directory (i.e., the one with PB.project) that referred to my source files. I began adding these links to my project with the Add Files menu command. I selected the first file (a symlink, in this case) and clicked Add. The pretty rainbow cursor began spinning and never stopped. I had to kill the process. This is very repeatable. I feel like a rat in a maze. No matter which way I turn, these tools don't seem to permit me to preserve my source structure. My only alternative at this point is to resort to traditional Makefiles and wait for Metrowerks to deliver their tools. Does anyone know if I can still use Project Builder to debug my program via GDB, even if I'm not using a PB.project file? bud ! Dan "Bud" Keith dbk@mcs.com ! "You never can tell what goes on down below. This pool might be bigger than you or I know." - Dr. Seuss From rpreston at ma.ultranet.com Mon Dec 29 10:17:37 1997 From: rpreston at ma.ultranet.com (Ralph A. Preston) Date: Thu Nov 3 14:40:50 2005 Subject: Problem with IB Message-ID: <199712291813.NAA17580@strato-fe0.ultra.net> I'm very new to Interface Builder and have encountered a strange problem. I'm using RDR1 on an 8500. I have created a window in IB and when I test the interface it looks fine. The problem is when I close the window and then open it with a "New Window" menu selection. The "New Window" menu's action is set to "MakeKeyAndOrderFront". Which does create a new window but it doesn't draw it correctly. Once the new window appears (that is drawn incorrectly) the only way to fix it is to resize the window, then it redraws fine. Does anyone know what's going on? I've been unable to find any documentation on what is wrong. Also could anyone recommend any really good NeXTSTEP programming sites. I've been getting the basics from Alex Nghiem's "NeXTSTEP Programming" but am looking for some more sample programs with code. -Ralph From robert at rc-produktion.se Mon Dec 29 10:30:44 1997 From: robert at rc-produktion.se (Robert Claeson) Date: Thu Nov 3 14:40:50 2005 Subject: ActiveX, COM and MAPI support in YB under Windows Message-ID: <01bd1487$e01bf130$0c00a8c0@toy.rc-produktion.se> Apple has yet to deliver Rhapsody for Intel to me (they say they shipped it to me in October), so I can't easily find this out for myself. I therefore feel challenged to post these seemingly trivial questions to the list. Is there anybody out there who knows anything about how YB for Windows will handle COM and ActiveX objects, and MAPI calls? Will I be able to use them from an application developed with YB? Will I be able to BUILD such objects with YB? Will I be able to send e-mail via MAPI? What about faxing? Thank's, Robert From manowar at engin.umich.edu Mon Dec 29 19:29:26 1997 From: manowar at engin.umich.edu (manowar@engin.umich.edu) Date: Thu Nov 3 14:40:50 2005 Subject: C++ on Rhapsody Message-ID: <199712300329.WAA17325@sauropod.engin.umich.edu> It seems to me that the standard C++ (meaning the STL, map, etc.) is not included. Does anyone know how to make code that uses the standard C++ library work under Rhapsody? I found the g++ headers in: /NextLibrary/Frameworks/System.framework/Versions/B/Headers/libg++/g++-include but it is missing the std subdirectory that contains the standard headers. Any suggestions? Later, -- Kris From dbk at opentext.com Tue Dec 30 09:05:12 1997 From: dbk at opentext.com (Dan Keith) Date: Thu Nov 3 14:40:50 2005 Subject: C++ on Rhapsody In-Reply-To: <199712300329.WAA17325@sauropod.engin.umich.edu> Message-ID: At 7:35 PM -0800 12/29/97, manowar@engin.umich.edu wrote: >It seems to me that the standard C++ (meaning the STL, map, etc.) is not >included. Does anyone know how to make code that uses the standard C++ >library work under Rhapsody? > Excuse me for piggybacking on your post, but I too am interested in whether GCC has STL support, as well as how soon GCC will be conformant with the C++ standard. I was also wondering whether NeXT has been using a freeware compiler for the last 10 years, or are there real some compilers out there that haven't yet been ported to the PowerPC. Does Apple have any plans to have a better compiler available for Rhapsody development, or are they leaving that to Metrowerks again. Does OpenStep on Windows use GCC? How about OpenStep for Solaris? Bud ! Dan "Bud" Keith dbk@mcs.com ! "You never can tell what goes on down below. This pool might be bigger than you or I know." - Dr. Seuss From rcfa at cubiculum.com Tue Dec 30 11:10:09 1997 From: rcfa at cubiculum.com (Ronald C.F. Antony) Date: Thu Nov 3 14:40:50 2005 Subject: C++ on Rhapsody In-Reply-To: References: Message-ID: <9712301910.AA21482@kannix.cubiculum.com> > I was also wondering whether NeXT has been using a freeware compiler for the > last 10 years, or are there real some compilers out there that haven't yet > been ported to the PowerPC. Does Apple have any plans to have a better > compiler available for Rhapsody development, or are they leaving that to > Metrowerks again. I think, sorry for the flame, this is the most retarded comment in a long while. GCC is one of the best compilers regardless of price. As a matter of fact, it is so good, that lots of compiler companies went straight out of business because their several thousand dollar products could neither compete in price nor in performance with GCC. You may forget that GCC was developed by some of the smartest people in computing, like a lot of the FSF stuff. We're talking top of the line people here, who if it weren't for their personal value system, could command high six-digits salaries as programmers and computer specialists in NYC or elsewhere. If NeXT had even tried to roll their own, they would have wasted lots of resources and had probably come up with an inferior compiler. (Not to discredit NeXT, but the amount of work and experience embodied in a work like GCC is hard to duplicate by a small team in short time, regardless how smart the members are). GCC is an industry standard for cross-compilers, embedded systems and many regular programming tasks. Linux and NetBSD, which blow away in performance pretty much all competing commercial Unix implementations, are generally compiled entirely with GCC. Besides, C++, standard or not, is an abomination. The language has become the typical "designed by committee" horror, with the "feature-of-the-week" syndrome. Icky! The metrowerks compiler may have a nice GUI environment, but how much better, if at all, the performance is, is yet to be seen. It will hardly be earthshattering, that's for sure. > "You never can tell what goes on down below. This pool might be bigger than > you or I know." - Dr. Seuss Particularly true with free software. Often you get more than what you get by paying a lot of money. Oh by the way: The Rhapsody core OS is basically freeware, too, just in case you didn't notice. It's based on NetBSD, MACH etc. which are all freely available. Oh, and MacOS is not freeware, but it still sucks dead donkeys compared to Linux or any real OS. Ronald ============================================================================== "The reasonable man adapts himself to the world; the unreasonable one persists in trying to adapt the world to himself. Therefore all progress depends on the unreasonable man." G.B. Shaw | rcfa@cubiculum.com | NeXT-mail welcome From wsanchez at apple.com Tue Dec 30 12:21:52 1997 From: wsanchez at apple.com (Wilfredo Sanchez) Date: Thu Nov 3 14:40:50 2005 Subject: C++ on Rhapsody Message-ID: <199712302021.MAA10956@scv4.apple.com> >GCC is an industry standard for cross-compilers, embedded systems and >many regular programming tasks. Linux and NetBSD, which blow away in >performance pretty much all competing commercial Unix implementations, >are generally compiled entirely with GCC. >The metrowerks compiler may have a nice GUI environment, but how much >better, >if at all, the performance is, is yet to be seen. It will hardly be >earthshattering, that's for sure. gcc is a good compiler, yes. But many platforms have compilers that are better for that platform. (eg. SGI). From what I've seen, MetroWerks' compiler produces binaries that are both smaller and faster. That means better. >Besides, C++, standard or not, is an abomination. True enough. But your opinion and mine are irrelevant. There's a lot of C++ code out there, and those programmers that use it need support. Spewing about C++'s lameness doesn't solve the problem. >Particularly true with free software. Often you get more than what you get >by paying a lot of money. Oh by the way: The Rhapsody core OS is basically >freeware, too, just in case you didn't notice. It's based on NetBSD, MACH >etc. which are all freely available. Oh, and MacOS is not freeware, but it >still sucks dead donkeys compared to Linux or any real OS. There is plenty of excellent stuff out there that's free. Linux and NetBSD both "suck dead donkeys" if useability is an issue. Performance and only geek-factor issues are not all there is. We aren't making computers or software to cater to programmers. Apple is about the users, and MacOS does an excellent job. Granted, the underlying technology is dated, but we're working on that. Programmers are important, but the primary concern has to be the users. Linux and NetBSD are oriented the other way. That may be what you want... Good, go use them, but don't get all holy about it. That has no place here. Anyway, back on the freeware topic. We developers should not be hesitant to use free software because it's free. Mach is an excellent microkernel. BSD is an excellent UN*X. Apache is, as far as I can tell, the best web server out there, despite not being the easiest to deal with. And gcc is a fine compiler. One result of Apple using free stuff is that, say, for example, you really wish that (GNU) diff (which I think is one of the coolest bits of software ever written, but I digress...) could show you diffs, but ignoring $Id# type changes made by rcs. Well, that would be spiffy. With most systems, that means you build your own diff that does what you want. But now, you can get the source from ftp.gnu.org (or even better, I think we will be shipping the source as an optional package), then you can just add what you want. Better still, you can send you changes to the FSF and they can use it in the distribution. And better still, I'll see it there, and hey! it's in Rhapspody, so you don't have to "fix" it every time you upgrade or re-install. That a big win for developers, I think, because you have a lot of room to extend the system without having to reinvent too much. And it's a win for Apple, because it lets you contribute something we can use. In some cases (eg. cvs), I get the diffs directly and include them and I can send them along to the FSF or whoever. It's a happy thing, and the software is really pretty high quality stuff. For other commands, we use NetBSD. Now I can't vouch for gcc's C++ support, since I don't use C++, so maybe it really does stink. And I fully expect that g++ is getting better, and there are ways that you can help that along. In the meantime so we're pretty happy that MetroWerks is around to cover that ground, and to provide developers with options, which are important. -Fred --- Wilfredo Sanchez - wsanchez@apple.com - 408.974-5174 Apple Computer, Inc. - Rhapsody Core Operating Systems Group 2 Infinite Loop, Mail Stop 302-4K, Cupertino, CA 95014 From lars.farm at ite.mh.se Tue Dec 30 13:11:59 1997 From: lars.farm at ite.mh.se (Lars Farm) Date: Thu Nov 3 14:40:50 2005 Subject: C++ on Rhapsody In-Reply-To: <9712301910.AA21482@kannix.cubiculum.com> Message-ID: At 20.13 +0100 97-12-30, Ronald C.F. Antony wrote: >while. GCC is one of the best compilers regardless of price. As a matter of >fact, it is so good, that lots of compiler companies went straight out of >business because their several thousand dollar products could neither >compete in price nor in performance with GCC. Nice if true. Unfortunately the "good" c++ compiler bit is false. gcc 2.7.x on Rhapsody is not a good c++ compiler. Namespaces missing, lots of template stuff missing in particular such a basic thing as automatic instantiation with reasonable results. Problems with rtti and even exceptions. The standard library is hardly there at all. gcc 2.8 (Real Soon Now) or egcs ( http://www.cygnus.com/egcs/ ) may be a solution until something better turns up. Unfortunately, I don't know enough about unix dev tools to build egcs. I don't even know if it is possible. I didn't get past ./configure. Someone else tried? >The metrowerks compiler may have a nice GUI environment, but how much better, >if at all, the performance is, is yet to be seen. It will hardly be >earthshattering, that's for sure. The compiler covers a much larger chunk of standard c++ thanks to recent and ongoing improvements. Not complete, but closer. Still some holes in templates and a few other quirks. The standard library is reasonably complete, but poorly optimised. As far as coverage of the language goes, there is no comparison. Codewarrior wins hands down. Code generation? Depends. I don't know gcc well enough. MW is acceptable to good, has zero overhead exceptions. I'm told using exceptions with gcc requires you to turn all optimisations off and without exceptions it simply is not c++ so the code gen of gcc is therefor weak. Codewarrior also includes an Object Pascal (I don't know if it will interface to Objective C), an ANSI-C compiler and an Objective C compiler. There are lots of other stuff there too. Codewarrior should have been here now, had all gone well, but has been delayed until at least CWP3 (May). - Lars -- Lars Farm; lars.farm@ite.mh.se - Limt: lars.farm@limt.se From manowar at engin.umich.edu Tue Dec 30 13:53:06 1997 From: manowar at engin.umich.edu (manowar@engin.umich.edu) Date: Thu Nov 3 14:40:50 2005 Subject: Lex / Yacc Message-ID: <199712302153.QAA27238@sauropod.engin.umich.edu> Does anyone know how to get Lex / Yacc (or flex and bison) to work with ProjectBuilder under Rhapsody? When I add the aforementioned files to a project they are not recognized by PB. Later, -- Kris From rcfa at cubiculum.com Tue Dec 30 13:14:05 1997 From: rcfa at cubiculum.com (Ronald C.F. Antony) Date: Thu Nov 3 14:40:50 2005 Subject: C++ on Rhapsody In-Reply-To: <199712302021.MAA10956@scv4.apple.com> References: <199712302021.MAA10956@scv4.apple.com> Message-ID: <9712302114.AA21758@kannix.cubiculum.com> Sorry for two things: First I thought the post went to rhapsody-talk, not rhapsody-dev, I should have looked more closely. Second, I was not trying to deride Metrowerk's products, nor specialized compilers that certain vendors offer for their specific platforms. Nor did I want to imply that MacOS doesn't have a place. I was just getting angry, because some people keep badmouthing free software without good reason, and it's mostly the same people who not only use inferior technology because of legacy issues, but also promote such technology as the greatest thing since sliced bread, thus indicating, that maybe they don't quite get what's good technology. Typical examples are: SCO is good (it's commercial), Linux is bad (hacker OS), C++ is good (hey, it came from AT&T), ObjC is bad (some guy in a garage invented it...) Netscape is good (they are market leader), Apache is bad (they sold zero units last quarter, so the software must be bad) etc. As far as compilers go, the few commercial compilers still being sold are probably not too bad, but the quality of GCC was demonstrated by how much it cleared up the field. Also, GCC works on almost all platforms, and with the rest of the GNU tools, make a standard development environment that works the same regardless where. All the commercial tools are a pain to deal with. Just converting makefiles or the corresponding equivalents from one platform to another can be an arduous and challenging task. The bad, free software is smooth sailing in comparison. Anyway, sorry for bringing up this diatribe in this forum. Replies/follow-ups please to me personally or to the rhapsody-talk list. Thanks, Ronald ============================================================================== "The reasonable man adapts himself to the world; the unreasonable one persists in trying to adapt the world to himself. Therefore all progress depends on the unreasonable man." G.B. Shaw | rcfa@cubiculum.com | NeXT-mail welcome From epeyton at cmg.FCNBD.COM Tue Dec 30 09:22:36 1997 From: epeyton at cmg.FCNBD.COM (Eric Peyton) Date: Thu Nov 3 14:40:50 2005 Subject: Application/Icon associations Message-ID: <199712302323.RAA24907@mercury.cmg.FCNBD.COM> All, What I want to do is create an application that can open any file, like TextEdit.app is set up to do. I can't seem to do it. I assumed that the way that TextEdit.app did this was by setting a blank value in the Project Attributes section and then setting an icon for this. This appears to be the case. However, I add a blank extension, associate an icon with it, compile and install my program in LocalApps and boom, nada. The other assocations seem fine, however I can't set a blank association. Does WorkSpace.app only allow one application to be set with a blank association? System Info Rhapsody Intel Please respond directly to me, I'll compile responses and post them on this list. Thanks, Eric Peyton epeyton@cmg.fcnbd.com From epeyton at cmg.FCNBD.COM Tue Dec 30 11:11:58 1997 From: epeyton at cmg.FCNBD.COM (Eric Peyton) Date: Thu Nov 3 14:40:50 2005 Subject: Application/Icon associations Message-ID: <199712310113.TAA24968@mercury.cmg.FCNBD.COM> All, I have recieved quite a few replies so let me restate the issue, since none of those replies dealt with the problem (I surmise I didn't state the problem correctly the first time.) -- I want my application to be able to open any given file on a double click, not just files for which it has associates. For example, when you double click a .README file, TextEdit opens. TextEdit does not have an association in ProjectBuilder for .README files, instead it has a (blank) association. I want my application to have a (blank) association as well. In other words, when I click on any file in the Workspace, press Cmd-3, and look at my list of available applications I want my app to be on that list, just like TextEdit.app is. What I do know 1) I know how to open files using application:openFile: et al (The NSApp delegate messages) 2) I know how how to set a default application for file opening 3) I know how to create an icon association for any given file type 4) I do know the Viewer.app keeps the list of associations. Do a defaults read Viewer | grep Defaults. Does anybody know how to make an app available to open every file on the system? Eric Peyton epeyton@cmg.fcnbd.com From robert at rc-produktion.se Tue Dec 30 16:36:02 1997 From: robert at rc-produktion.se (Robert Claeson) Date: Thu Nov 3 14:40:50 2005 Subject: C++ on Rhapsody Message-ID: <01bd1584$128340e0$0a01a8c0@pluto.rc-produktion.se> Wilfredo Sanchez : >gcc is a good compiler, yes. But many platforms have compilers that are >better for that platform. (eg. SGI). From what I've seen, MetroWerks' >compiler produces binaries that are both smaller and faster. That means >better. Smaller and faster than what? If gcc, then smaller, yes. Faster, no, not always. I guess I'm begging to get flamed for this, but the best compiler that I've used that produces MacOS (as opposed to Rhapsody, which this list really is about) binaries (both 68K and PPC) doesn't even run under MacOS. It's the Microsoft Visual C++ Cross Development Edition compiler. It's cumbersome to work with and the preferred class framework is the MFC library that really is intended for Windows, but the binaries are both smaller and faster than most that comes out of the Metrowerks compilers. But Microsoft is currently phasing out that product. From ricardo at ccsi.canon.com Tue Dec 30 19:01:54 1997 From: ricardo at ccsi.canon.com (Ricardo Parada) Date: Thu Nov 3 14:40:50 2005 Subject: Printing from Yellow Box Message-ID: <199712310304.TAA22848@ccsi.canon.com> Hi - Printing from yellow apps generates PostScript. I know that there's a product for MacOS, Windows 3.1, Windows 95 and Windows NT that turns ink jet printers into PostScript devices. I tested it on Windows NT and printed from a yellow box application and the output came out great. The product is called PowerRIP from Birmy Graphics (www.birmy.com) and it works with all the operating systems mentioned above and all kinds of ink jet printers (Canon, HP, Epson). Does anyone know of a similar product for laser printers? Thanks, ricardo From mwron at metrowerks.com Tue Dec 30 19:37:43 1997 From: mwron at metrowerks.com (Ron Liechty) Date: Thu Nov 3 14:40:50 2005 Subject: C++ on Rhapsody Message-ID: <19971231033711.IVC826@[206.141.249.193]> Hi, Generally I try to just take a passive role and only read these list. However I feel there is something I should say on this topic. Metrowerks CodeWarrior will be the best overall C++ compiler for Rhapsody development. As John Wayne said in one of his movies. "No brag, just fact" Ron 04-01-98 Pasword 3 word sentence "hello old friend" METROWERKS Ron Liechty "Software at Work" MWRon@metrowerks.com From todd at NetSQ.com Wed Dec 31 08:32:55 1997 From: todd at NetSQ.com (Todd Heberlein) Date: Thu Nov 3 14:40:50 2005 Subject: Compilers for Rhapsody/OpenStep Message-ID: <199712311838.KAA26084@pa.mother.com> This sort of follows on the heels of the "C++ on Rhapsody" thread... I have been working with YellowBox for NT, so I am not sure how these issues will apply to Rhapsody proper. Also, I assume everyone on this thread has access to one of the Rhapsody development environments, so I am not divulging any information you don't have access to (and therefore, violating my NDA). First, I have found ProjectBuilder essentially to be a Makefile front end. For example, I can go into a project directory in the Bourne shell and type "make" to build the entire project. ProjectBuilder appears to mainly to mainly set a few variables in the top Makefile (which includes MANY other generic makefiles). Is this correct? Is this the same on Rhapsody? Second, it appears that it would be fairly trivial to use a different compiler by setting the appropriate COMPILER variable. However, there would be the obvious problem of using different flags to control the compiler. Has anyone tried to use another compiler yet (e.g., Metroworks) with ProjectBuilder? Third, has anyone tried to use another compiler to build libraries and include them within an OpenStep application? For example, on the NT, can I use Metroworks to build .dll and .lib files and use them as "frameworks" from within ProjectBuilder? Thanks, Todd Heberlein todd@NetSQ.com From jking2 at v-wave.com Wed Dec 31 06:11:28 1997 From: jking2 at v-wave.com (Joseph King) Date: Thu Nov 3 14:40:50 2005 Subject: Cidi++ on Rhapsody Message-ID: <9712311411.AA00236@jkts1> > Wilfredo Sanchez : > > >gcc is a good compiler, yes. But many platforms have compilers that are > >better for that platform. (eg. SGI). From what I've seen, MetroWerks' > >compiler produces binaries that are both smaller and faster. That means > >better. > > Smaller and faster than what? If gcc, then smaller, yes. Faster, no, not > always. I guess I'm begging to get flamed for this, but the best compiler > that I've used that produces MacOS (as opposed to Rhapsody, which this list > really is about) binaries (both 68K and PPC) doesn't even run under MacOS. > It's the Microsoft Visual C++ Cross Development Edition compiler. It's > cumbersome to work with and the preferred class framework is the MFC library > that really is intended for Windows, but the binaries are both smaller and > faster than most that comes out of the Metrowerks compilers. But Microsoft is > currently phasing out that product. Uh, no. The $2000 dev. environment from Microsoft only had a handful of users and was known for producing large, buggy code. MFC was never fully supported or ported. Microsoft internally used the environment and dropped it in favor of Metrowerks. Go figure. -- Bernie Wieser http://www.octavian.com * Redistribution of my e-mail address without prior written authorization is expressly prohibited. From mike at ns.paragraph.com Wed Dec 31 17:03:07 1997 From: mike at ns.paragraph.com (Mikhail Ovsiannikov) Date: Thu Nov 3 14:40:50 2005 Subject: Non-rectangular window? Message-ID: Hi, I'm very new to OPENSTEP-Rhapsody development and I'm not familiar with the Display PostScript. Is it possible to create a non-rectangular or partially transparent window? I suspect that I need to setup the appropriate clipping for the window. Does anyone know how to do this? Thanks, -- Mike.