Closed
Bug 176348
Opened 23 years ago
Closed 23 years ago
Add Rendezvous support in Chimera
Categories
(Camino Graveyard :: OS Integration, enhancement)
Tracking
(Not tracked)
RESOLVED
FIXED
Camino0.7
People
(Reporter: sfraser_bugs, Assigned: sfraser_bugs)
References
()
Details
Attachments
(3 files)
51.95 KB,
patch
|
Details | Diff | Splinter Review | |
8.32 KB,
application/octet-stream
|
Details | |
53.43 KB,
patch
|
Details | Diff | Splinter Review |
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
Assignee | ||
Comment 1•23 years ago
|
||
Assignee | ||
Comment 2•23 years ago
|
||
Assignee | ||
Comment 3•23 years ago
|
||
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
Assignee | ||
Comment 4•23 years ago
|
||
Assignee | ||
Updated•23 years ago
|
Comment 5•23 years ago
|
||
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 ..." ?
Assignee | ||
Comment 6•23 years ago
|
||
> 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.
Assignee | ||
Comment 8•23 years ago
|
||
I still need to check some more stuff in here.
QA Contact: petersen → benc
Assignee | ||
Comment 9•23 years ago
|
||
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
Comment 10•23 years ago
|
||
Mac OS X 10.2.3 does not appear to be available. I presume that it is using
features in a pre-release version?
Comment 11•23 years ago
|
||
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.
Description
•