[Python-checkins] CVS: python/dist/src/Mac/Lib/lib-scriptpackages/Netscape WorldWideWeb_suite.py,1.1,1.2
Jack Jansen
jackjansen@users.sourceforge.net
Thu, 17 May 2001 05:39:09 -0700
Update of /cvsroot/python/python/dist/src/Mac/Lib/lib-scriptpackages/Netscape
In directory usw-pr-cvs1:/tmp/cvs-serv26923/Python/Mac/Lib/lib-scriptpackages/Netscape
Modified Files:
WorldWideWeb_suite.py
Log Message:
Fixed macroman<->latin1 conversion. Some chars don't
exist in latin1, but at least the roundtrip results in the
same macroman characters.
Index: WorldWideWeb_suite.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Mac/Lib/lib-scriptpackages/Netscape/WorldWideWeb_suite.py,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** WorldWideWeb_suite.py 2000/08/17 22:15:41 1.1
--- WorldWideWeb_suite.py 2001/05/17 12:39:07 1.2
***************
*** 2,6 ****
Level 1, version 1
! Generated from Macintosh HD:Internet:Internet-programma's:Netscape Communicator-map:Netscape Communicator
AETE/AEUT resource version 1/0, language 0, script 0
"""
--- 2,6 ----
Level 1, version 1
! Generated from Macintosh HD:Internet:Internet-programma's:Netscape Communicator-map:Netscape Communicator
AETE/AEUT resource version 1/0, language 0, script 0
"""
***************
*** 213,217 ****
def register_URL_echo(self, _object=None, _attributes={}, **_arguments):
! """register URL echo: Registers the ³echo² application. Each download from now on will be echoed to this application.
Required argument: Application signature
Keyword argument _attributes: AppleEvent attribute dictionary
--- 213,217 ----
def register_URL_echo(self, _object=None, _attributes={}, **_arguments):
! """register URL echo: Registers the echo application. Each download from now on will be echoed to this application.
Required argument: Application signature
Keyword argument _attributes: AppleEvent attribute dictionary
***************
*** 258,262 ****
def register_viewer(self, _object, _attributes={}, **_arguments):
! """register viewer: Registers an application as a special¹ viewer for this MIME type. The application will be launched with ViewDoc events
Required argument: Application sig
Keyword argument MIME_type: MIME type viewer is registering for
--- 258,262 ----
def register_viewer(self, _object, _attributes={}, **_arguments):
! """register viewer: Registers an application as a specialÕ viewer for this MIME type. The application will be launched with ViewDoc events
Required argument: Application sig
Keyword argument MIME_type: MIME type viewer is registering for
***************
*** 311,317 ****
def register_protocol(self, _object=None, _attributes={}, **_arguments):
! """register protocol: Registers application as a ³handler² for this protocol with a given prefix. The handler will receive ³OpenURL², or if that fails, ³GetURL² event.
Required argument: Application sig
! Keyword argument for_protocol: protocol prefix: ³finger:², ³file²,
Keyword argument _attributes: AppleEvent attribute dictionary
Returns: TRUE if registration has been successful
--- 311,317 ----
def register_protocol(self, _object=None, _attributes={}, **_arguments):
! """register protocol: Registers application as a handler for this protocol with a given prefix. The handler will receive OpenURL, or if that fails, GetURL event.
Required argument: Application sig
! Keyword argument for_protocol: protocol prefix: finger:, file,
Keyword argument _attributes: AppleEvent attribute dictionary
Returns: TRUE if registration has been successful
***************
*** 337,341 ****
def unregister_protocol(self, _object=None, _attributes={}, **_arguments):
! """unregister protocol: reverses the effects of ³register protocol²
Required argument: Application sig.
Keyword argument for_protocol: protocol prefix. If none, unregister for all protocols
--- 337,341 ----
def unregister_protocol(self, _object=None, _attributes={}, **_arguments):
! """unregister protocol: reverses the effects of register protocol
Required argument: Application sig.
Keyword argument for_protocol: protocol prefix. If none, unregister for all protocols