[Python-checkins] CVS: python/dist/src/Mac/Lib macerrors.py,1.5,1.6

Jack Jansen jackjansen@users.sourceforge.net
Thu, 17 May 2001 05:38:14 -0700


Update of /cvsroot/python/python/dist/src/Mac/Lib
In directory usw-pr-cvs1:/tmp/cvs-serv26615/Python/Mac/Lib

Modified Files:
	macerrors.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: macerrors.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Mac/Lib/macerrors.py,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -r1.5 -r1.6
*** macerrors.py	2001/03/27 21:32:34	1.5
--- macerrors.py	2001/05/17 12:38:12	1.6
***************
*** 317,321 ****
  telBadCodeResource	=	-10108	#code resource not found
  telInitFailed	=	-10107	#initialization failed
! telNoCommFolder	=	-10106	#Communications/Extensions Ÿ not found
  telUnknownErr	=	-10103	#unable to set config
  telNoSuchTool	=	-10102	#unable to find tool with name specified
--- 317,321 ----
  telBadCodeResource	=	-10108	#code resource not found
  telInitFailed	=	-10107	#initialization failed
! telNoCommFolder	=	-10106	#Communications/Extensions € not found
  telUnknownErr	=	-10103	#unable to set config
  telNoSuchTool	=	-10102	#unable to find tool with name specified
***************
*** 627,631 ****
  kSysSWTooOld	=	-6226	#Missing critical pieces of System Software.
  kDMMirroringNotOn	=	-6225	#Returned by all calls that need mirroring to be on to do their thing.
! kDMCantBlock	=	-6224	#Mirroring is already on, can¹t Block now (call DMUnMirror() first).
  kDMMirroringBlocked	=	-6223	#DMBlockMirroring() has been called.
  kDMWrongNumberOfDisplays	=	-6222	#Can only handle 2 displays for now.
--- 627,631 ----
  kSysSWTooOld	=	-6226	#Missing critical pieces of System Software.
  kDMMirroringNotOn	=	-6225	#Returned by all calls that need mirroring to be on to do their thing.
! kDMCantBlock	=	-6224	#Mirroring is already on, canÕt Block now (call DMUnMirror() first).
  kDMMirroringBlocked	=	-6223	#DMBlockMirroring() has been called.
  kDMWrongNumberOfDisplays	=	-6222	#Can only handle 2 displays for now.
***************
*** 654,658 ****
  errWindowPropertyNotFound	=	-5604	#tried to get a nonexistent property
  errInvalidWindowProperty	=	-5603	#tried to access a property tag with private creator
! errWindowDoesNotHaveProxy	=	-5602	#tried to do something requiring a proxy to a window which doesn¹t have a proxy
  errUnsupportedWindowAttributesForClass	=	-5601	#tried to create a window with WindowAttributes not supported by the WindowClass
  errInvalidWindowPtr	=	-5600	#tried to pass a bad WindowRef argument
--- 654,658 ----
  errWindowPropertyNotFound	=	-5604	#tried to get a nonexistent property
  errInvalidWindowProperty	=	-5603	#tried to access a property tag with private creator
! errWindowDoesNotHaveProxy	=	-5602	#tried to do something requiring a proxy to a window which doesnÕt have a proxy
  errUnsupportedWindowAttributesForClass	=	-5601	#tried to create a window with WindowAttributes not supported by the WindowClass
  errInvalidWindowPtr	=	-5600	#tried to pass a bad WindowRef argument
***************
*** 848,852 ****
  kENOSRErr	=	-3271	#
  kETIMEErr	=	-3270	#
! kEPROTOErr	=	-3269	#€€€ fill out missing codes €€€
  kEHOSTUNREACHErr	=	-3264	#No route to host
  kEHOSTDOWNErr	=	-3263	#Host is down
--- 848,852 ----
  kENOSRErr	=	-3271	#
  kETIMEErr	=	-3270	#
! kEPROTOErr	=	-3269	#‚‚‚ fill out missing codes ‚‚‚
  kEHOSTUNREACHErr	=	-3264	#No route to host
  kEHOSTDOWNErr	=	-3263	#Host is down
***************
*** 1044,1048 ****
  tsmDocumentOpenErr	=	-2511	#there are open documents
  tsmTextServiceNotFoundErr	=	-2510	#no text service found
! tsmCantOpenComponentErr	=	-2509	#can¹t open the component
  tsmNoOpenTSErr	=	-2508	#no open text service
  tsmDocNotActiveErr	=	-2507	#document is NOT active
--- 1044,1048 ----
  tsmDocumentOpenErr	=	-2511	#there are open documents
  tsmTextServiceNotFoundErr	=	-2510	#no text service found
! tsmCantOpenComponentErr	=	-2509	#canÕt open the component
  tsmNoOpenTSErr	=	-2508	#no open text service
  tsmDocNotActiveErr	=	-2507	#document is NOT active
***************
*** 1077,1083 ****
  kernelIncompleteErr	=	-2401	#kernelIncompleteErr
  badCallOrderErr	=	-2209	#Usually due to a status call being called prior to being setup first
! noDMAErr	=	-2208	#Can¹t do DMA digitizing (i.e. can't go to requested dest
! badDepthErr	=	-2207	#Can¹t digitize into this depth
! notExactSizeErr	=	-2206	#Can¹t do exact size requested
  noMoreKeyColorsErr	=	-2205	#all key indexes in use
  notExactMatrixErr	=	-2204	#warning of bad matrix, digitizer did its best
--- 1077,1083 ----
  kernelIncompleteErr	=	-2401	#kernelIncompleteErr
  badCallOrderErr	=	-2209	#Usually due to a status call being called prior to being setup first
! noDMAErr	=	-2208	#CanÕt do DMA digitizing (i.e. can't go to requested dest
! badDepthErr	=	-2207	#CanÕt digitize into this depth
! notExactSizeErr	=	-2206	#CanÕt do exact size requested
  noMoreKeyColorsErr	=	-2205	#all key indexes in use
  notExactMatrixErr	=	-2204	#warning of bad matrix, digitizer did its best
***************
*** 1429,1433 ****
  noMMUErr	=	-626	#no MMU present
  cannotDeferErr	=	-625	#unable to defer additional functions
! interruptsMaskedErr	=	-624	#don¹t call with interrupts masked
  notLockedErr	=	-623	#specified range of memory is not locked
  cannotMakeContiguousErr	=	-622	#cannot make specified range contiguous
--- 1429,1433 ----
  noMMUErr	=	-626	#no MMU present
  cannotDeferErr	=	-625	#unable to defer additional functions
! interruptsMaskedErr	=	-624	#donÕt call with interrupts masked
  notLockedErr	=	-623	#specified range of memory is not locked
  cannotMakeContiguousErr	=	-622	#cannot make specified range contiguous
***************
*** 1709,1716 ****
  statusErr	=	-18	#I/O System Errors
  controlErr	=	-17	#I/O System Errors
! dsExtensionsDisabled	=	-13	#say ³Extensions Disabled²
! dsHD20Installed	=	-12	#say ³HD20 Startup²
! dsDisassemblerInstalled	=	-11	#say ³Disassembler Installed²
! dsMacsBugInstalled	=	-10	#say ³MacsBug Installed²
  seNoDB	=	-8	#no debugger installed to handle debugger command
  SlpTypeErr	=	-5	#invalid queue element
--- 1709,1716 ----
  statusErr	=	-18	#I/O System Errors
  controlErr	=	-17	#I/O System Errors
! dsExtensionsDisabled	=	-13	#say –Extensions Disabled”
! dsHD20Installed	=	-12	#say –HD20 Startup”
! dsDisassemblerInstalled	=	-11	#say –Disassembler Installed”
! dsMacsBugInstalled	=	-10	#say –MacsBug Installed”
  seNoDB	=	-8	#no debugger installed to handle debugger command
  SlpTypeErr	=	-5	#invalid queue element