[Python-checkins] python/dist/src/Mac/Lib/lib-scriptpackages/CodeWarrior CodeWarrior_suite.py,1.2,1.2.20.1 Metrowerks_Shell_Suite.py,1.2,1.2.20.1 Required.py,1.2,1.2.20.1 Standard_Suite.py,1.3,1.3.8.1 __init__.py,1.2,1.2.20.1

jackjansen@sourceforge.net jackjansen@sourceforge.net
2002年4月24日 02:21:49 -0700


Update of /cvsroot/python/python/dist/src/Mac/Lib/lib-scriptpackages/CodeWarrior
In directory usw-pr-cvs1:/tmp/cvs-serv19565/CodeWarrior
Modified Files:
 Tag: release22-maint
	CodeWarrior_suite.py Metrowerks_Shell_Suite.py Required.py 
	Standard_Suite.py __init__.py 
Log Message:
Backport of trunk fix:
Second part of fix for #493826: regenerated suite modules so errn exists
but == 0 doesn't signal an error.
This also picked up a few other changes, but they should be harmless.
Index: CodeWarrior_suite.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Mac/Lib/lib-scriptpackages/CodeWarrior/CodeWarrior_suite.py,v
retrieving revision 1.2
retrieving revision 1.2.20.1
diff -C2 -d -r1.2 -r1.2.20.1
*** CodeWarrior_suite.py	17 May 2001 12:40:59 -0000	1.2
--- CodeWarrior_suite.py	24 Apr 2002 09:21:46 -0000	1.2.20.1
***************
*** 2,6 ****
 Level 0, version 0
 
! Generated from Macintosh HD:SWdev:CodeWarrior 6 MPTP:Metrowerks CodeWarrior:CodeWarrior IDE 4.1B9
 AETE/AEUT resource version 1/0, language 0, script 0
 """
--- 2,6 ----
 Level 0, version 0
 
! Generated from Moes:Applications (Mac OS 9):Metrowerks CodeWarrior 7.0:Metrowerks CodeWarrior:CodeWarrior IDE 4.2.6
 AETE/AEUT resource version 1/0, language 0, script 0
 """
***************
*** 38,42 ****
 		_reply, _arguments, _attributes = self.send(_code, _subcode,
 				_arguments, _attributes)
! 		if _arguments.has_key('errn'):
 			raise aetools.Error, aetools.decodeerror(_arguments)
 		# XXXX Optionally decode result
--- 38,42 ----
 		_reply, _arguments, _attributes = self.send(_code, _subcode,
 				_arguments, _attributes)
! 		if _arguments.get('errn', 0):
 			raise aetools.Error, aetools.decodeerror(_arguments)
 		# XXXX Optionally decode result
***************
*** 62,66 ****
 		_reply, _arguments, _attributes = self.send(_code, _subcode,
 				_arguments, _attributes)
! 		if _arguments.has_key('errn'):
 			raise aetools.Error, aetools.decodeerror(_arguments)
 		# XXXX Optionally decode result
--- 62,66 ----
 		_reply, _arguments, _attributes = self.send(_code, _subcode,
 				_arguments, _attributes)
! 		if _arguments.get('errn', 0):
 			raise aetools.Error, aetools.decodeerror(_arguments)
 		# XXXX Optionally decode result
***************
*** 81,85 ****
 		_reply, _arguments, _attributes = self.send(_code, _subcode,
 				_arguments, _attributes)
! 		if _arguments.has_key('errn'):
 			raise aetools.Error, aetools.decodeerror(_arguments)
 		# XXXX Optionally decode result
--- 81,85 ----
 		_reply, _arguments, _attributes = self.send(_code, _subcode,
 				_arguments, _attributes)
! 		if _arguments.get('errn', 0):
 			raise aetools.Error, aetools.decodeerror(_arguments)
 		# XXXX Optionally decode result
***************
*** 101,105 ****
 		_reply, _arguments, _attributes = self.send(_code, _subcode,
 				_arguments, _attributes)
! 		if _arguments.has_key('errn'):
 			raise aetools.Error, aetools.decodeerror(_arguments)
 		# XXXX Optionally decode result
--- 101,105 ----
 		_reply, _arguments, _attributes = self.send(_code, _subcode,
 				_arguments, _attributes)
! 		if _arguments.get('errn', 0):
 			raise aetools.Error, aetools.decodeerror(_arguments)
 		# XXXX Optionally decode result
***************
*** 121,125 ****
 		_reply, _arguments, _attributes = self.send(_code, _subcode,
 				_arguments, _attributes)
! 		if _arguments.has_key('errn'):
 			raise aetools.Error, aetools.decodeerror(_arguments)
 		# XXXX Optionally decode result
--- 121,125 ----
 		_reply, _arguments, _attributes = self.send(_code, _subcode,
 				_arguments, _attributes)
! 		if _arguments.get('errn', 0):
 			raise aetools.Error, aetools.decodeerror(_arguments)
 		# XXXX Optionally decode result
***************
*** 141,145 ****
 		_reply, _arguments, _attributes = self.send(_code, _subcode,
 				_arguments, _attributes)
! 		if _arguments.has_key('errn'):
 			raise aetools.Error, aetools.decodeerror(_arguments)
 		# XXXX Optionally decode result
--- 141,145 ----
 		_reply, _arguments, _attributes = self.send(_code, _subcode,
 				_arguments, _attributes)
! 		if _arguments.get('errn', 0):
 			raise aetools.Error, aetools.decodeerror(_arguments)
 		# XXXX Optionally decode result
***************
*** 160,164 ****
 		_reply, _arguments, _attributes = self.send(_code, _subcode,
 				_arguments, _attributes)
! 		if _arguments.has_key('errn'):
 			raise aetools.Error, aetools.decodeerror(_arguments)
 		# XXXX Optionally decode result
--- 160,164 ----
 		_reply, _arguments, _attributes = self.send(_code, _subcode,
 				_arguments, _attributes)
! 		if _arguments.get('errn', 0):
 			raise aetools.Error, aetools.decodeerror(_arguments)
 		# XXXX Optionally decode result
***************
*** 180,184 ****
 		_reply, _arguments, _attributes = self.send(_code, _subcode,
 				_arguments, _attributes)
! 		if _arguments.has_key('errn'):
 			raise aetools.Error, aetools.decodeerror(_arguments)
 		# XXXX Optionally decode result
--- 180,184 ----
 		_reply, _arguments, _attributes = self.send(_code, _subcode,
 				_arguments, _attributes)
! 		if _arguments.get('errn', 0):
 			raise aetools.Error, aetools.decodeerror(_arguments)
 		# XXXX Optionally decode result
***************
*** 199,203 ****
 		_reply, _arguments, _attributes = self.send(_code, _subcode,
 				_arguments, _attributes)
! 		if _arguments.has_key('errn'):
 			raise aetools.Error, aetools.decodeerror(_arguments)
 		# XXXX Optionally decode result
--- 199,203 ----
 		_reply, _arguments, _attributes = self.send(_code, _subcode,
 				_arguments, _attributes)
! 		if _arguments.get('errn', 0):
 			raise aetools.Error, aetools.decodeerror(_arguments)
 		# XXXX Optionally decode result
***************
*** 218,222 ****
 		_reply, _arguments, _attributes = self.send(_code, _subcode,
 				_arguments, _attributes)
! 		if _arguments.has_key('errn'):
 			raise aetools.Error, aetools.decodeerror(_arguments)
 		# XXXX Optionally decode result
--- 218,222 ----
 		_reply, _arguments, _attributes = self.send(_code, _subcode,
 				_arguments, _attributes)
! 		if _arguments.get('errn', 0):
 			raise aetools.Error, aetools.decodeerror(_arguments)
 		# XXXX Optionally decode result
***************
*** 238,242 ****
 		_reply, _arguments, _attributes = self.send(_code, _subcode,
 				_arguments, _attributes)
! 		if _arguments.has_key('errn'):
 			raise aetools.Error, aetools.decodeerror(_arguments)
 		# XXXX Optionally decode result
--- 238,242 ----
 		_reply, _arguments, _attributes = self.send(_code, _subcode,
 				_arguments, _attributes)
! 		if _arguments.get('errn', 0):
 			raise aetools.Error, aetools.decodeerror(_arguments)
 		# XXXX Optionally decode result
***************
*** 258,262 ****
 	"""catalog document - a browser catalog document """
 	want = 'CTLG'
- # repeated property inherits all properties and elements of the given class are inherited by this class.
 
 catalog_documents = catalog_document
--- 258,261 ----
***************
*** 265,269 ****
 	"""class browser - a class browser """
 	want = 'BROW'
- # repeated property inherits all properties and elements of the given class are inherited by this class.
 
 class_browsers = class_browser
--- 264,267 ----
***************
*** 272,276 ****
 	"""class hierarchy - a class hierarchy document """
 	want = 'HIER'
- # repeated property inherits all properties and elements of the given class are inherited by this class.
 
 class_hierarchies = class_hierarchy
--- 270,273 ----
***************
*** 279,283 ****
 	"""editor document - an editor document """
 	want = 'EDIT'
- # repeated property inherits all properties and elements of the given class are inherited by this class.
 
 editor_documents = editor_document
--- 276,279 ----
***************
*** 286,290 ****
 	"""file compare document - a file compare document """
 	want = 'COMP'
- # repeated property inherits all properties and elements of the given class are inherited by this class.
 
 file_compare_documents = file_compare_document
--- 282,285 ----
***************
*** 293,297 ****
 	"""message document - a message document """
 	want = 'MSSG'
- # repeated property inherits all properties and elements of the given class are inherited by this class.
 
 message_documents = message_document
--- 288,291 ----
***************
*** 300,304 ****
 	"""project document - a project document """
 	want = 'PRJD'
- # repeated property inherits all properties and elements of the given class are inherited by this class.
 class current_target(aetools.NProperty):
 	"""current target - the current target """
--- 294,297 ----
***************
*** 312,316 ****
 	"""project inspector - the project inspector """
 	want = 'INSP'
- # repeated property inherits all properties and elements of the given class are inherited by this class.
 
 project_inspectors = project_inspector
--- 305,308 ----
***************
*** 319,323 ****
 	"""single class browser - a single class browser """
 	want = '1BRW'
- # repeated property inherits all properties and elements of the given class are inherited by this class.
 
 single_class_browsers = single_class_browser
--- 311,314 ----
***************
*** 326,330 ****
 	"""single class hierarchy - a single class hierarchy document """
 	want = '1HIR'
- # repeated property inherits all properties and elements of the given class are inherited by this class.
 
 single_class_hierarchies = single_class_hierarchy
--- 317,320 ----
***************
*** 333,337 ****
 	"""subtarget - a target that is prerequisite for another target """
 	want = 'SBTG'
- # repeated property inherits all properties and elements of the given class are inherited by this class.
 class target(aetools.NProperty):
 	"""target - the target that is dependent on this subtarget """
--- 323,326 ----
***************
*** 348,352 ****
 	"""symbol browser - a symbol browser """
 	want = 'SYMB'
- # repeated property inherits all properties and elements of the given class are inherited by this class.
 
 symbol_browsers = symbol_browser
--- 337,340 ----
***************
*** 359,366 ****
 	which = 'pnam'
 	want = 'itxt'
- class index(aetools.NProperty):
- 	"""index - the number of the target """
- 	which = 'pidx'
- 	want = 'long'
 class project_document(aetools.NProperty):
 	"""project document - the project document that contains this target """
--- 347,350 ----
***************
*** 383,387 ****
 	which = 'FTYP'
 	want = 'FTYP'
- # repeated property index the number of the target file
 class location(aetools.NProperty):
 	"""location - the location of the target file on disk """
--- 367,370 ----
***************
*** 446,450 ****
 	"""text document - a document that contains text """
 	want = 'TXTD'
- # repeated property inherits all properties and elements of the given class are inherited by this class.
 class modified(aetools.NProperty):
 	"""modified - Has the document been modified since the last save? """
--- 429,432 ----
***************
*** 465,469 ****
 	"""ToolServer worksheet - a ToolServer worksheet """
 	want = 'TOOL'
- # repeated property inherits all properties and elements of the given class are inherited by this class.
 
 ToolServer_worksheets = ToolServer_worksheet
--- 447,450 ----
***************
*** 539,543 ****
 target._propdict = {
 	'name' : name,
- 	'index' : index,
 	'project_document' : project_document,
 }
--- 520,523 ----
***************
*** 549,553 ****
 	'id' : id,
 	'type' : type,
- 	'index' : index,
 	'location' : location,
 	'path' : path,
--- 529,532 ----
***************
*** 630,678 ****
 #
 _classdeclarations = {
- 	'TOOL' : ToolServer_worksheet,
- 	'1HIR' : single_class_hierarchy,
- 	'SRCF' : target_file,
- 	'TXTD' : text_document,
- 	'TRGT' : target,
- 	'HIER' : class_hierarchy,
- 	'CTLG' : catalog_document,
 	'1BRW' : single_class_browser,
- 	'MSSG' : message_document,
- 	'INSP' : project_inspector,
- 	'BROW' : class_browser,
- 	'COMP' : file_compare_document,
- 	'EDIT' : editor_document,
 	'PRJD' : project_document,
- 	'SBTG' : subtarget,
 	'SYMB' : symbol_browser,
 	'PRGS' : build_progress_document,
 }
 
 _propdeclarations = {
! 	'PRER' : prerequisites,
! 	'DBUG' : debug,
! 	'CSZE' : code_size,
 	'Path' : path,
! 	'pnam' : name,
! 	'TrgT' : target,
 	'DSZE' : data_size,
- 	'FTYP' : type,
- 	'MODD' : modified_date,
 	'INIT' : init_before,
! 	'sele' : selection,
! 	'imod' : modified,
! 	'DPND' : dependents,
! 	'FILE' : location,
! 	'LIDX' : link_index,
 	'LINK' : linked,
! 	'ID ' : id,
! 	'c@#^' : inherits,
! 	'pidx' : index,
! 	'LNKO' : link_against_output,
! 	'WEAK' : weak_link,
! 	'MRGE' : merge_output,
! 	'CMPD' : compiled_date,
! 	'PrjD' : project_document,
! 	'CURT' : current_target,
 }
 
--- 609,656 ----
 #
 _classdeclarations = {
 	'1BRW' : single_class_browser,
 	'PRJD' : project_document,
 	'SYMB' : symbol_browser,
+ 	'EDIT' : editor_document,
+ 	'COMP' : file_compare_document,
+ 	'BROW' : class_browser,
+ 	'SBTG' : subtarget,
+ 	'MSSG' : message_document,
+ 	'INSP' : project_inspector,
+ 	'TXTD' : text_document,
+ 	'CTLG' : catalog_document,
+ 	'HIER' : class_hierarchy,
+ 	'TRGT' : target,
 	'PRGS' : build_progress_document,
+ 	'SRCF' : target_file,
+ 	'TOOL' : ToolServer_worksheet,
+ 	'1HIR' : single_class_hierarchy,
 }
 
 _propdeclarations = {
! 	'CURT' : current_target,
! 	'PrjD' : project_document,
! 	'MRGE' : merge_output,
! 	'WEAK' : weak_link,
! 	'DPND' : dependents,
! 	'c@#^' : inherits,
! 	'ID ' : id,
! 	'CMPD' : compiled_date,
! 	'LIDX' : link_index,
! 	'FILE' : location,
 	'Path' : path,
! 	'LNKO' : link_against_output,
! 	'imod' : modified,
! 	'sele' : selection,
 	'DSZE' : data_size,
 	'INIT' : init_before,
! 	'MODD' : modified_date,
! 	'FTYP' : type,
! 	'TrgT' : target,
! 	'pnam' : name,
 	'LINK' : linked,
! 	'CSZE' : code_size,
! 	'DBUG' : debug,
! 	'PRER' : prerequisites,
 }
 
***************
*** 681,687 ****
 
 _enumdeclarations = {
- 	'PERM' : _Enum_PERM,
- 	'FTYP' : _Enum_FTYP,
- 	'DKND' : _Enum_DKND,
 	'Inte' : _Enum_Inte,
 }
--- 659,665 ----
 
 _enumdeclarations = {
 	'Inte' : _Enum_Inte,
+ 	'DKND' : _Enum_DKND,
+ 	'FTYP' : _Enum_FTYP,
+ 	'PERM' : _Enum_PERM,
 }
Index: Metrowerks_Shell_Suite.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Mac/Lib/lib-scriptpackages/CodeWarrior/Metrowerks_Shell_Suite.py,v
retrieving revision 1.2
retrieving revision 1.2.20.1
diff -C2 -d -r1.2 -r1.2.20.1
*** Metrowerks_Shell_Suite.py	17 May 2001 12:40:54 -0000	1.2
--- Metrowerks_Shell_Suite.py	24 Apr 2002 09:21:46 -0000	1.2.20.1
***************
*** 2,6 ****
 Level 1, version 1
 
! Generated from Macintosh HD:SWdev:CodeWarrior 6 MPTP:Metrowerks CodeWarrior:CodeWarrior IDE 4.1B9
 AETE/AEUT resource version 1/0, language 0, script 0
 """
--- 2,6 ----
 Level 1, version 1
 
! Generated from Moes:Applications (Mac OS 9):Metrowerks CodeWarrior 7.0:Metrowerks CodeWarrior:CodeWarrior IDE 4.2.6
 AETE/AEUT resource version 1/0, language 0, script 0
[...1070 lines suppressed...]
--- 2319,2337 ----
 
 _enumdeclarations = {
 	'Lang' : _Enum_Lang,
! 	'Inte' : _Enum_Inte,
 	'STKd' : _Enum_STKd,
 	'DgBL' : _Enum_DgBL,
! 	'Acce' : _Enum_Acce,
! 	'RefP' : _Enum_RefP,
! 	'TxtF' : _Enum_TxtF,
! 	'DbSA' : _Enum_DbSA,
! 	'TmpB' : _Enum_TmpB,
! 	'savo' : _Enum_savo,
! 	'PthF' : _Enum_PthF,
! 	'SrcT' : _Enum_SrcT,
! 	'PXdg' : _Enum_PXdg,
! 	'ErrT' : _Enum_ErrT,
! 	'BXbr' : _Enum_BXbr,
! 	'PPrm' : _Enum_PPrm,
 }
Index: Required.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Mac/Lib/lib-scriptpackages/CodeWarrior/Required.py,v
retrieving revision 1.2
retrieving revision 1.2.20.1
diff -C2 -d -r1.2 -r1.2.20.1
*** Required.py	20 Aug 2000 19:28:25 -0000	1.2
--- Required.py	24 Apr 2002 09:21:46 -0000	1.2.20.1
***************
*** 2,6 ****
 Level 1, version 1
 
! Generated from Macintosh HD:SWdev:CodeWarrior 6 MPTP:Metrowerks CodeWarrior:CodeWarrior IDE 4.1B9
 AETE/AEUT resource version 1/0, language 0, script 0
 """
--- 2,6 ----
 Level 1, version 1
 
! Generated from Moes:Applications (Mac OS 9):Metrowerks CodeWarrior 7.0:Metrowerks CodeWarrior:CodeWarrior IDE 4.2.6
 AETE/AEUT resource version 1/0, language 0, script 0
 """
***************
*** 34,38 ****
 		_reply, _arguments, _attributes = self.send(_code, _subcode,
 				_arguments, _attributes)
! 		if _arguments.has_key('errn'):
 			raise aetools.Error, aetools.decodeerror(_arguments)
 		# XXXX Optionally decode result
--- 34,38 ----
 		_reply, _arguments, _attributes = self.send(_code, _subcode,
 				_arguments, _attributes)
! 		if _arguments.get('errn', 0):
 			raise aetools.Error, aetools.decodeerror(_arguments)
 		# XXXX Optionally decode result
Index: Standard_Suite.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Mac/Lib/lib-scriptpackages/CodeWarrior/Standard_Suite.py,v
retrieving revision 1.3
retrieving revision 1.3.8.1
diff -C2 -d -r1.3 -r1.3.8.1
*** Standard_Suite.py	23 Oct 2001 22:23:02 -0000	1.3
--- Standard_Suite.py	24 Apr 2002 09:21:46 -0000	1.3.8.1
***************
*** 2,6 ****
 Level 1, version 1
 
! Generated from Macintosh HD:SWdev:CodeWarrior 6 MPTP:Metrowerks CodeWarrior:CodeWarrior IDE 4.1B9
 AETE/AEUT resource version 1/0, language 0, script 0
 """
--- 2,6 ----
 Level 1, version 1
 
! Generated from Moes:Applications (Mac OS 9):Metrowerks CodeWarrior 7.0:Metrowerks CodeWarrior:CodeWarrior IDE 4.2.6
 AETE/AEUT resource version 1/0, language 0, script 0
 """
***************
*** 36,40 ****
 		_reply, _arguments, _attributes = self.send(_code, _subcode,
 				_arguments, _attributes)
! 		if _arguments.has_key('errn'):
 			raise aetools.Error, aetools.decodeerror(_arguments)
 		# XXXX Optionally decode result
--- 36,40 ----
 		_reply, _arguments, _attributes = self.send(_code, _subcode,
 				_arguments, _attributes)
! 		if _arguments.get('errn', 0):
 			raise aetools.Error, aetools.decodeerror(_arguments)
 		# XXXX Optionally decode result
***************
*** 62,66 ****
 		_reply, _arguments, _attributes = self.send(_code, _subcode,
 				_arguments, _attributes)
! 		if _arguments.has_key('errn'):
 			raise aetools.Error, aetools.decodeerror(_arguments)
 		# XXXX Optionally decode result
--- 62,66 ----
 		_reply, _arguments, _attributes = self.send(_code, _subcode,
 				_arguments, _attributes)
! 		if _arguments.get('errn', 0):
 			raise aetools.Error, aetools.decodeerror(_arguments)
 		# XXXX Optionally decode result
***************
*** 88,92 ****
 		_reply, _arguments, _attributes = self.send(_code, _subcode,
 				_arguments, _attributes)
! 		if _arguments.has_key('errn'):
 			raise aetools.Error, aetools.decodeerror(_arguments)
 		# XXXX Optionally decode result
--- 88,92 ----
 		_reply, _arguments, _attributes = self.send(_code, _subcode,
 				_arguments, _attributes)
! 		if _arguments.get('errn', 0):
 			raise aetools.Error, aetools.decodeerror(_arguments)
 		# XXXX Optionally decode result
***************
*** 121,125 ****
 		_reply, _arguments, _attributes = self.send(_code, _subcode,
 				_arguments, _attributes)
! 		if _arguments.has_key('errn'):
 			raise aetools.Error, aetools.decodeerror(_arguments)
 		# XXXX Optionally decode result
--- 121,125 ----
 		_reply, _arguments, _attributes = self.send(_code, _subcode,
 				_arguments, _attributes)
! 		if _arguments.get('errn', 0):
 			raise aetools.Error, aetools.decodeerror(_arguments)
 		# XXXX Optionally decode result
***************
*** 141,145 ****
 		_reply, _arguments, _attributes = self.send(_code, _subcode,
 				_arguments, _attributes)
! 		if _arguments.has_key('errn'):
 			raise aetools.Error, aetools.decodeerror(_arguments)
 		# XXXX Optionally decode result
--- 141,145 ----
 		_reply, _arguments, _attributes = self.send(_code, _subcode,
 				_arguments, _attributes)
! 		if _arguments.get('errn', 0):
 			raise aetools.Error, aetools.decodeerror(_arguments)
 		# XXXX Optionally decode result
***************
*** 166,170 ****
 		_reply, _arguments, _attributes = self.send(_code, _subcode,
 				_arguments, _attributes)
! 		if _arguments.has_key('errn'):
 			raise aetools.Error, aetools.decodeerror(_arguments)
 		# XXXX Optionally decode result
--- 166,170 ----
 		_reply, _arguments, _attributes = self.send(_code, _subcode,
 				_arguments, _attributes)
! 		if _arguments.get('errn', 0):
 			raise aetools.Error, aetools.decodeerror(_arguments)
 		# XXXX Optionally decode result
***************
*** 234,246 ****
 	"""insertion point - An insertion location between two objects """
 	want = 'cins'
- # repeated property length length of text object (in characters)
- # repeated property offset offset of a text object from the beginning of the document (first char has offset 1)
 
 class line(aetools.ComponentItem):
 	"""line - lines of text """
 	want = 'clin'
- # repeated property index index of a line object from the beginning of the document (first line has index 1)
- # repeated property offset offset (in characters) of a line object from the beginning of the document
- # repeated property length length in characters of this object
 # element 'cha ' as ['indx', 'rang', 'rele']
 
--- 234,241 ----
***************
*** 254,259 ****
 	which = 'pcnt'
 	want = 'type'
- # repeated property length length of text object (in characters)
- # repeated property offset offset of a text object from the beginning of the document (first char has offset 1)
 # element 'cha ' as ['indx', 'rele', 'rang', 'test']
 # element 'clin' as ['indx', 'rang', 'rele']
--- 249,252 ----
***************
*** 263,268 ****
 	"""text - Text """
 	want = 'ctxt'
- # repeated property length length of text object (in characters)
- # repeated property offset offset of a text object from the beginning of the document (first char has offset 1)
 # element 'cha ' as ['indx', 'rele', 'rang']
 # element 'cins' as ['rele']
--- 256,259 ----
***************
*** 273,278 ****
 	"""window - A window """
 	want = 'cwin'
- # repeated property name the title of the window
- # repeated property index the number of the window
 class bounds(aetools.NProperty):
 	"""bounds - the boundary rectangle for the window """
--- 264,267 ----
***************
*** 369,374 ****
 window._elemdict = {
 }
- import Metrowerks_Shell_Suite
- from Metrowerks_Shell_Suite import _Enum_savo
 
 #
--- 358,361 ----
***************
*** 376,406 ****
 #
 _classdeclarations = {
! 	'docu' : document,
! 	'cins' : insertion_point,
! 	'capp' : application,
 	'ctxt' : text,
- 	'csel' : selection_2d_object,
- 	'clin' : line,
- 	'file' : file,
 	'cwin' : window,
! 	'cha ' : character,
 }
 
 _propdeclarations = {
! 	'pzum' : zoomed,
 	'DKND' : kind,
 	'pOff' : offset,
- 	'pLen' : length,
- 	'pnam' : name,
- 	'FILE' : location,
- 	'pcnt' : contents,
 	'cwin' : window,
 	'ppos' : position,
! 	'pidx' : index,
! 	'docu' : document,
! 	'PERM' : file_permissions,
! 	'pbnd' : bounds,
! 	'pvis' : visible,
! 	'inte' : user_interaction,
 }
 
--- 363,393 ----
 #
 _classdeclarations = {
! 	'cha ' : character,
 	'ctxt' : text,
 	'cwin' : window,
! 	'file' : file,
! 	'clin' : line,
! 	'csel' : selection_2d_object,
! 	'capp' : application,
! 	'cins' : insertion_point,
! 	'docu' : document,
 }
 
 _propdeclarations = {
! 	'inte' : user_interaction,
! 	'pvis' : visible,
 	'DKND' : kind,
+ 	'pbnd' : bounds,
+ 	'PERM' : file_permissions,
+ 	'docu' : document,
+ 	'pidx' : index,
 	'pOff' : offset,
 	'cwin' : window,
+ 	'FILE' : location,
+ 	'pnam' : name,
+ 	'pLen' : length,
 	'ppos' : position,
! 	'pzum' : zoomed,
! 	'pcnt' : contents,
 }
 
Index: __init__.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Mac/Lib/lib-scriptpackages/CodeWarrior/__init__.py,v
retrieving revision 1.2
retrieving revision 1.2.20.1
diff -C2 -d -r1.2 -r1.2.20.1
*** __init__.py	20 Aug 2000 19:28:25 -0000	1.2
--- __init__.py	24 Apr 2002 09:21:46 -0000	1.2.20.1
***************
*** 1,7 ****
 """
! Package generated from Macintosh HD:SWdev:CodeWarrior 6 MPTP:Metrowerks CodeWarrior:CodeWarrior IDE 4.1B9
 Resource aete resid 0 AppleEvent Suites
 """
 import aetools
 import Required
 import Standard_Suite
--- 1,8 ----
 """
! Package generated from Moes:Applications (Mac OS 9):Metrowerks CodeWarrior 7.0:Metrowerks CodeWarrior:CodeWarrior IDE 4.2.6
 Resource aete resid 0 AppleEvent Suites
 """
 import aetools
+ Error = aetools.Error
 import Required
 import Standard_Suite

AltStyle によって変換されたページ (->オリジナル) /