Closed Bug 176348 Opened 23 years ago Closed 23 years ago

Add Rendezvous support in Chimera

Categories

(Camino Graveyard :: OS Integration, enhancement)

PowerPC
macOS
enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Camino0.7

People

(Reporter: sfraser_bugs, Assigned: sfraser_bugs)

References

()

Details

Attachments

(3 files)

We should suport Apple's Rendezvous in Chimera, to allow people to find local HTTP, HTTPS and FTP servers. More info: http://www.zeroconf.org/ http://www.apple.com/macosx/jaguar/rendezvous.html
Note that this stuff doens't work in 10.2.1. Some OS fixes need to happen before the res_query call works with local addresses.
Status: NEW → ASSIGNED
Target Milestone: --- → Chimera0.7
nice! A couple of questions purely for my edification, if you don't mind. Why do you use SortByProtocolAndName as a static function rather than a method? Also, why use "id newItem = [mServersSubmenu ..." instead of "NSMenuItem * newItem = [mServersSubmenu ..." ?
Severity: normal → enhancement
> Why do you use SortByProtocolAndName as a static function rather than a method Because it gets used by [NSArray sortUsingFunction:context:]. > id newItem = ... Dunno; I can fix that.
You can QA assign this to me if you want...
I still need to check some more stuff in here.
QA Contact: petersen → benc
Final changes checked in. This feature will only be enabled if the "chimera.enable_rendezvous" pref is set to true, and you are running on 10.2.3 or later. In this case, a new menu item will show up in the Go menu, called "Local Network Services", with a submenu. The first submenu item points to an info page on zeroconf.org. If any services are available, they will be listed under a separator. We look for http, https and ftp services. Choosing a service from the submenu should connect to that server in a new window/tab (following the prefs for new link opening). For FTP, you will be prompted for a username, and then a password (it sucks like this because of bug 124561). For testing, download this: <http://www.opensource.apple.com/projects/rendezvous/source/Rendezvous.tar.gz> (you'll need an apple opensource login). In the "mDNSMacOSX/Applications" folder, build DNSServiceBrowser and DNSServiceRegistration. You can use these apps to browse available services (which should match what chimera displays in the menu), and register services (e.g. for http). Note that Mac OS X seems to automatically publish an ftp service if you turned on FTP in the Sharing System Pref pane. You'll have to use DNSServiceRegistration to publish http. Ensure that Chimera uses the path you set in the 'Information' field. Chimera's submenu should dynamically update as services appear and disappear.
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Mac OS X 10.2.3 does not appear to be available. I presume that it is using features in a pre-release version?
FYI, there is the mDNSPosix sample code in Rendezvous.tar.gz that would allow you to add Rendezvous support that would work with earlier versions of Mac OS X as well.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: