[Python-checkins] python/dist/src/Lib/plat-mac/lib-scriptpackages/CodeWarrior CodeWarrior_suite.py,1.2,1.3 Metrowerks_Shell_Suite.py,1.2,1.3 __init__.py,1.2,1.3

jackjansen@users.sourceforge.net jackjansen@users.sourceforge.net
Fri, 28 Mar 2003 14:07:50 -0800


Update of /cvsroot/python/python/dist/src/Lib/plat-mac/lib-scriptpackages/CodeWarrior
In directory sc8-pr-cvs1:/tmp/cvs-serv21742/CodeWarrior

Modified Files:
	CodeWarrior_suite.py Metrowerks_Shell_Suite.py __init__.py 
Log Message:
Regenerated (from resource files) with sorting version of gensuitemodule.
This is a first step towards regenerating the modules with newer, MacOSX,
versions of these programs, and using the programmatic interface to
get at the terminology in stead of poking in resource files.


Index: CodeWarrior_suite.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/plat-mac/lib-scriptpackages/CodeWarrior/CodeWarrior_suite.py,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** CodeWarrior_suite.py	23 Mar 2003 22:07:27 -0000	1.2
--- CodeWarrior_suite.py	28 Mar 2003 22:07:15 -0000	1.3
***************
*** 44,77 ****
  			return _arguments['----']
  
! 	_argmap_export = {
! 		'in_' : 'kfil',
! 	}
! 
! 	def export(self, _no_object=None, _attributes={}, **_arguments):
! 		"""export: Export the project file as an XML file
! 		Keyword argument in_: the XML file in which to export the project
! 		Keyword argument _attributes: AppleEvent attribute dictionary
! 		"""
! 		_code = 'CWIE'
! 		_subcode = 'EXPT'
! 
! 		aetools.keysubst(_arguments, self._argmap_export)
! 		if _no_object != None: raise TypeError, 'No direct arg expected'
! 
! 
! 		_reply, _arguments, _attributes = self.send(_code, _subcode,
! 				_arguments, _attributes)
! 		if _arguments.get('errn', 0):
! 			raise aetools.Error, aetools.decodeerror(_arguments)
! 		# XXXX Optionally decode result
! 		if _arguments.has_key('----'):
! 			return _arguments['----']
! 
! 	def update(self, _no_object=None, _attributes={}, **_arguments):
! 		"""update: bring a project or target up to date
  		Keyword argument _attributes: AppleEvent attribute dictionary
  		"""
  		_code = 'CWIE'
! 		_subcode = 'UP2D'
  
  		if _arguments: raise TypeError, 'No optional args expected'
--- 44,53 ----
  			return _arguments['----']
  
! 	def build(self, _no_object=None, _attributes={}, **_arguments):
! 		"""build: build a project or target (equivalent of the Make menu command)
  		Keyword argument _attributes: AppleEvent attribute dictionary
  		"""
  		_code = 'CWIE'
! 		_subcode = 'MAKE'
  
  		if _arguments: raise TypeError, 'No optional args expected'
***************
*** 147,158 ****
  			return _arguments['----']
  
! 	def build(self, _no_object=None, _attributes={}, **_arguments):
! 		"""build: build a project or target (equivalent of the Make menu command)
  		Keyword argument _attributes: AppleEvent attribute dictionary
  		"""
  		_code = 'CWIE'
! 		_subcode = 'MAKE'
  
! 		if _arguments: raise TypeError, 'No optional args expected'
  		if _no_object != None: raise TypeError, 'No direct arg expected'
  
--- 123,139 ----
  			return _arguments['----']
  
! 	_argmap_export = {
! 		'in_' : 'kfil',
! 	}
! 
! 	def export(self, _no_object=None, _attributes={}, **_arguments):
! 		"""export: Export the project file as an XML file
! 		Keyword argument in_: the XML file in which to export the project
  		Keyword argument _attributes: AppleEvent attribute dictionary
  		"""
  		_code = 'CWIE'
! 		_subcode = 'EXPT'
  
! 		aetools.keysubst(_arguments, self._argmap_export)
  		if _no_object != None: raise TypeError, 'No direct arg expected'
  
***************
*** 166,179 ****
  			return _arguments['----']
  
! 	def remove_target_files(self, _object, _attributes={}, **_arguments):
! 		"""remove target files: remove files from a target
! 		Required argument: an AE object reference
  		Keyword argument _attributes: AppleEvent attribute dictionary
  		"""
  		_code = 'CWIE'
! 		_subcode = 'RMFL'
  
  		if _arguments: raise TypeError, 'No optional args expected'
! 		_arguments['----'] = _object
  
  
--- 147,159 ----
  			return _arguments['----']
  
! 	def remove_object_code(self, _no_object=None, _attributes={}, **_arguments):
! 		"""remove object code: remove object code from a project or target
  		Keyword argument _attributes: AppleEvent attribute dictionary
  		"""
  		_code = 'CWIE'
! 		_subcode = 'RMOB'
  
  		if _arguments: raise TypeError, 'No optional args expected'
! 		if _no_object != None: raise TypeError, 'No direct arg expected'
  
  
***************
*** 186,198 ****
  			return _arguments['----']
  
! 	def remove_object_code(self, _no_object=None, _attributes={}, **_arguments):
! 		"""remove object code: remove object code from a project or target
  		Keyword argument _attributes: AppleEvent attribute dictionary
  		"""
  		_code = 'CWIE'
! 		_subcode = 'RMOB'
  
  		if _arguments: raise TypeError, 'No optional args expected'
! 		if _no_object != None: raise TypeError, 'No direct arg expected'
  
  
--- 166,179 ----
  			return _arguments['----']
  
! 	def remove_target_files(self, _object, _attributes={}, **_arguments):
! 		"""remove target files: remove files from a target
! 		Required argument: an AE object reference
  		Keyword argument _attributes: AppleEvent attribute dictionary
  		"""
  		_code = 'CWIE'
! 		_subcode = 'RMFL'
  
  		if _arguments: raise TypeError, 'No optional args expected'
! 		_arguments['----'] = _object
  
  
***************
*** 244,255 ****
  			return _arguments['----']
  
  
! class build_progress_document(aetools.ComponentItem):
! 	"""build progress document - a build progress document """
! 	want = 'PRGS'
  class inherits(aetools.NProperty):
  	"""inherits - all properties and elements of the given class are inherited by this class. """
  	which = 'c@#^'
! 	want = 'docu'
  
  build_progress_documents = build_progress_document
--- 225,261 ----
  			return _arguments['----']
  
+ 	def update(self, _no_object=None, _attributes={}, **_arguments):
+ 		"""update: bring a project or target up to date
+ 		Keyword argument _attributes: AppleEvent attribute dictionary
+ 		"""
+ 		_code = 'CWIE'
+ 		_subcode = 'UP2D'
  
! 		if _arguments: raise TypeError, 'No optional args expected'
! 		if _no_object != None: raise TypeError, 'No direct arg expected'
! 
! 
! 		_reply, _arguments, _attributes = self.send(_code, _subcode,
! 				_arguments, _attributes)
! 		if _arguments.get('errn', 0):
! 			raise aetools.Error, aetools.decodeerror(_arguments)
! 		# XXXX Optionally decode result
! 		if _arguments.has_key('----'):
! 			return _arguments['----']
! 
! 
! class ToolServer_worksheet(aetools.ComponentItem):
! 	"""ToolServer worksheet - a ToolServer worksheet """
! 	want = 'TOOL'
  class inherits(aetools.NProperty):
  	"""inherits - all properties and elements of the given class are inherited by this class. """
  	which = 'c@#^'
! 	want = 'TXTD'
! 
! ToolServer_worksheets = ToolServer_worksheet
! 
! class build_progress_document(aetools.ComponentItem):
! 	"""build progress document - a build progress document """
! 	want = 'PRGS'
  
  build_progress_documents = build_progress_document
***************
*** 267,275 ****
  class_browsers = class_browser
  
! class class_hierarchy(aetools.ComponentItem):
! 	"""class hierarchy - a class hierarchy document """
  	want = 'HIER'
  
! class_hierarchies = class_hierarchy
  
  class editor_document(aetools.ComponentItem):
--- 273,281 ----
  class_browsers = class_browser
  
! class class_hierarchies(aetools.ComponentItem):
! 	"""class hierarchies - more than one class hierarchy document """
  	want = 'HIER'
  
! class_hierarchy = class_hierarchies
  
  class editor_document(aetools.ComponentItem):
***************
*** 314,322 ****
  single_class_browsers = single_class_browser
  
! class single_class_hierarchy(aetools.ComponentItem):
! 	"""single class hierarchy - a single class hierarchy document """
  	want = '1HIR'
  
! single_class_hierarchies = single_class_hierarchy
  
  class subtarget(aetools.ComponentItem):
--- 320,328 ----
  single_class_browsers = single_class_browser
  
! class single_class_hierarchies(aetools.ComponentItem):
! 	"""single class hierarchies - more than one single class hierarchy document """
  	want = '1HIR'
  
! single_class_hierarchy = single_class_hierarchies
  
  class subtarget(aetools.ComponentItem):
***************
*** 354,359 ****
  #        element 'SBTG' as ['indx', 'test', 'rang']
  
- targets = target
- 
  class target_file(aetools.ComponentItem):
  	"""target file - a source or header file in a target """
--- 360,363 ----
***************
*** 426,429 ****
--- 430,435 ----
  target_files = target_file
  
+ targets = target
+ 
  class text_document(aetools.ComponentItem):
  	"""text document - a document that contains text """
***************
*** 443,452 ****
  
  text_documents = text_document
! 
! class ToolServer_worksheet(aetools.ComponentItem):
! 	"""ToolServer worksheet - a ToolServer worksheet """
! 	want = 'TOOL'
! 
! ToolServer_worksheets = ToolServer_worksheet
  import Standard_Suite
  build_progress_document._superclassnames = ['document']
--- 449,458 ----
  
  text_documents = text_document
! ToolServer_worksheet._superclassnames = ['text_document']
! ToolServer_worksheet._privpropdict = {
! 	'inherits' : inherits,
! }
! ToolServer_worksheet._privelemdict = {
! }
  import Standard_Suite
  build_progress_document._superclassnames = ['document']
***************
*** 468,476 ****
  class_browser._privelemdict = {
  }
! class_hierarchy._superclassnames = ['document']
! class_hierarchy._privpropdict = {
! 	'inherits' : inherits,
  }
! class_hierarchy._privelemdict = {
  }
  editor_document._superclassnames = ['text_document']
--- 474,481 ----
  class_browser._privelemdict = {
  }
! class_hierarchies._superclassnames = []
! class_hierarchies._privpropdict = {
  }
! class_hierarchies._privelemdict = {
  }
  editor_document._superclassnames = ['text_document']
***************
*** 512,520 ****
  single_class_browser._privelemdict = {
  }
! single_class_hierarchy._superclassnames = ['document']
! single_class_hierarchy._privpropdict = {
! 	'inherits' : inherits,
  }
! single_class_hierarchy._privelemdict = {
  }
  subtarget._superclassnames = ['target']
--- 517,524 ----
  single_class_browser._privelemdict = {
  }
! single_class_hierarchies._superclassnames = []
! single_class_hierarchies._privpropdict = {
  }
! single_class_hierarchies._privelemdict = {
  }
  subtarget._superclassnames = ['target']
***************
*** 574,590 ****
  	'text' : Standard_Suite.text,
  }
- ToolServer_worksheet._superclassnames = ['text_document']
- ToolServer_worksheet._privpropdict = {
- 	'inherits' : inherits,
- }
- ToolServer_worksheet._privelemdict = {
- }
- _Enum_Inte = {
- 	'never_interact' : 'eNvr',	# never allow user interactions
- 	'interact_with_self' : 'eInS',	# allow user interaction only when an AppleEvent is sent from within CodeWarrior
- 	'interact_with_local' : 'eInL',	# allow user interaction when AppleEvents are sent from applications on the same machine (default)
- 	'interact_with_all' : 'eInA',	# allow user interaction from both local and remote AppleEvents
- }
- 
  _Enum_DKND = {
  	'project' : 'PRJD',	# a project document
--- 578,581 ----
***************
*** 611,614 ****
--- 602,612 ----
  }
  
+ _Enum_Inte = {
+ 	'never_interact' : 'eNvr',	# never allow user interactions
+ 	'interact_with_self' : 'eInS',	# allow user interaction only when an AppleEvent is sent from within CodeWarrior
+ 	'interact_with_local' : 'eInL',	# allow user interaction when AppleEvents are sent from applications on the same machine (default)
+ 	'interact_with_all' : 'eInA',	# allow user interaction from both local and remote AppleEvents
+ }
+ 
  _Enum_PERM = {
  	'read_write' : 'RdWr',	# the file is open with read/write permission
***************
*** 631,635 ****
  	'EDIT' : editor_document,
  	'COMP' : file_compare_document,
! 	'BROW' : class_browser,
  	'SBTG' : subtarget,
  	'MSSG' : message_document,
--- 629,633 ----
  	'EDIT' : editor_document,
  	'COMP' : file_compare_document,
! 	'TOOL' : ToolServer_worksheet,
  	'SBTG' : subtarget,
  	'MSSG' : message_document,
***************
*** 637,646 ****
  	'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,
  }
  
--- 635,644 ----
  	'TXTD' : text_document,
  	'CTLG' : catalog_document,
! 	'HIER' : class_hierarchies,
  	'TRGT' : target,
  	'PRGS' : build_progress_document,
  	'SRCF' : target_file,
! 	'BROW' : class_browser,
! 	'1HIR' : single_class_hierarchies,
  }
  

Index: Metrowerks_Shell_Suite.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/plat-mac/lib-scriptpackages/CodeWarrior/Metrowerks_Shell_Suite.py,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** Metrowerks_Shell_Suite.py	23 Mar 2003 22:07:27 -0000	1.2
--- Metrowerks_Shell_Suite.py	28 Mar 2003 22:07:16 -0000	1.3
***************
*** 295,298 ****
--- 295,339 ----
  			return _arguments['----']
  
+ 	def Get_member_function_names(self, _object, _attributes={}, **_arguments):
+ 		"""Get member function names: Returns a list containing the names of all the member functions of a class object
+ 		Required argument: must be a class object
+ 		Keyword argument _attributes: AppleEvent attribute dictionary
+ 		Returns: undocumented, typecode 'list'
+ 		"""
+ 		_code = 'MMPR'
+ 		_subcode = 'MbFN'
+ 
+ 		if _arguments: raise TypeError, 'No optional args expected'
+ 		_arguments['----'] = _object
+ 
+ 
+ 		_reply, _arguments, _attributes = self.send(_code, _subcode,
+ 				_arguments, _attributes)
+ 		if _arguments.get('errn', 0):
+ 			raise aetools.Error, aetools.decodeerror(_arguments)
+ 		# XXXX Optionally decode result
+ 		if _arguments.has_key('----'):
+ 			return _arguments['----']
+ 
+ 	def Get_nonsimple_classes(self, _no_object=None, _attributes={}, **_arguments):
+ 		"""Get nonsimple classes: Returns an alphabetical list of classes with member functions, bases classes, or subclasses
+ 		Keyword argument _attributes: AppleEvent attribute dictionary
+ 		Returns: undocumented, typecode 'list'
+ 		"""
+ 		_code = 'MMPR'
+ 		_subcode = 'NsCl'
+ 
+ 		if _arguments: raise TypeError, 'No optional args expected'
+ 		if _no_object != None: raise TypeError, 'No direct arg expected'
+ 
+ 
+ 		_reply, _arguments, _attributes = self.send(_code, _subcode,
+ 				_arguments, _attributes)
+ 		if _arguments.get('errn', 0):
+ 			raise aetools.Error, aetools.decodeerror(_arguments)
+ 		# XXXX Optionally decode result
+ 		if _arguments.has_key('----'):
+ 			return _arguments['----']
+ 
  	def Goto_Function(self, _object, _attributes={}, **_arguments):
  		"""Goto Function: Goto Specified Function Name
***************
*** 381,384 ****
--- 422,445 ----
  			return _arguments['----']
  
+ 	def Open_browser(self, _object, _attributes={}, **_arguments):
+ 		"""Open browser: Display a class, member function, or data member object in a single class browser window
+ 		Required argument: an AE object reference
+ 		Keyword argument _attributes: AppleEvent attribute dictionary
+ 		"""
+ 		_code = 'MMPR'
+ 		_subcode = 'Brow'
+ 
+ 		if _arguments: raise TypeError, 'No optional args expected'
+ 		_arguments['----'] = _object
+ 
+ 
+ 		_reply, _arguments, _attributes = self.send(_code, _subcode,
+ 				_arguments, _attributes)
+ 		if _arguments.get('errn', 0):
+ 			raise aetools.Error, aetools.decodeerror(_arguments)
+ 		# XXXX Optionally decode result
+ 		if _arguments.has_key('----'):
+ 			return _arguments['----']
+ 
  	_argmap_Precompile = {
  		'Saving_As' : 'Targ',
***************
*** 729,793 ****
  			return _arguments['----']
  
- 	def Open_browser(self, _object, _attributes={}, **_arguments):
- 		"""Open browser: Display a class, member function, or data member object in a single class browser window
- 		Required argument: an AE object reference
- 		Keyword argument _attributes: AppleEvent attribute dictionary
- 		"""
- 		_code = 'MMPR'
- 		_subcode = 'Brow'
- 
- 		if _arguments: raise TypeError, 'No optional args expected'
- 		_arguments['----'] = _object
- 
- 
- 		_reply, _arguments, _attributes = self.send(_code, _subcode,
- 				_arguments, _attributes)
- 		if _arguments.get('errn', 0):
- 			raise aetools.Error, aetools.decodeerror(_arguments)
- 		# XXXX Optionally decode result
- 		if _arguments.has_key('----'):
- 			return _arguments['----']
- 
- 	def Get_nonsimple_classes(self, _no_object=None, _attributes={}, **_arguments):
- 		"""Get nonsimple classes: Returns an alphabetical list of classes with member functions, bases classes, or subclasses
- 		Keyword argument _attributes: AppleEvent attribute dictionary
- 		Returns: undocumented, typecode 'list'
- 		"""
- 		_code = 'MMPR'
- 		_subcode = 'NsCl'
- 
- 		if _arguments: raise TypeError, 'No optional args expected'
- 		if _no_object != None: raise TypeError, 'No direct arg expected'
- 
- 
- 		_reply, _arguments, _attributes = self.send(_code, _subcode,
- 				_arguments, _attributes)
- 		if _arguments.get('errn', 0):
- 			raise aetools.Error, aetools.decodeerror(_arguments)
- 		# XXXX Optionally decode result
- 		if _arguments.has_key('----'):
- 			return _arguments['----']
- 
- 	def Get_member_function_names(self, _object, _attributes={}, **_arguments):
- 		"""Get member function names: Returns a list containing the names of all the member functions of a class object
- 		Required argument: must be a class object
- 		Keyword argument _attributes: AppleEvent attribute dictionary
- 		Returns: undocumented, typecode 'list'
- 		"""
- 		_code = 'MMPR'
- 		_subcode = 'MbFN'
- 
- 		if _arguments: raise TypeError, 'No optional args expected'
- 		_arguments['----'] = _object
- 
- 
- 		_reply, _arguments, _attributes = self.send(_code, _subcode,
- 				_arguments, _attributes)
- 		if _arguments.get('errn', 0):
- 			raise aetools.Error, aetools.decodeerror(_arguments)
- 		# XXXX Optionally decode result
- 		if _arguments.has_key('----'):
- 			return _arguments['----']
- 
  
  class Access_Paths(aetools.ComponentItem):
--- 790,793 ----
***************
*** 1555,1558 ****
--- 1555,1581 ----
  	want = 'RlPt'
  
+ class base_class(aetools.ComponentItem):
+ 	"""base class - A base class or super class of a class """
+ 	want = 'BsCl'
+ class class_(aetools.NProperty):
+ 	"""class - The class object corresponding to this base class """
+ 	which = 'Clas'
+ 	want = 'obj '
+ class access(aetools.NProperty):
+ 	"""access -  """
+ 	which = 'Acce'
+ 	want = 'Acce'
+ class virtual(aetools.NProperty):
+ 	"""virtual -  """
+ 	which = 'Virt'
+ 	want = 'bool'
+ 
+ base_classes = base_class
+ 
+ class browser_catalog(aetools.ComponentItem):
+ 	"""browser catalog - The browser symbol catalog for the current project """
+ 	want = 'Cata'
+ #        element 'Clas' as ['indx', 'name']
+ 
  class class_(aetools.ComponentItem):
  	"""class - A class, struct, or record type in the current project. """
***************
*** 1588,1606 ****
  classes = class_
  
! class member_function(aetools.ComponentItem):
! 	"""member function - A class member function or method. """
! 	want = 'MbFn'
! class access(aetools.NProperty):
! 	"""access -  """
! 	which = 'Acce'
! 	want = 'Acce'
! class virtual(aetools.NProperty):
! 	"""virtual -  """
! 	which = 'Virt'
! 	want = 'bool'
  class static(aetools.NProperty):
  	"""static -  """
  	which = 'Stat'
  	want = 'bool'
  class implementation_file(aetools.NProperty):
  	"""implementation file - Source file containing the member function definition """
--- 1611,1627 ----
  classes = class_
  
! class data_member(aetools.ComponentItem):
! 	"""data member - A class data member or field """
! 	want = 'DtMb'
  class static(aetools.NProperty):
  	"""static -  """
  	which = 'Stat'
  	want = 'bool'
+ 
+ data_members = data_member
+ 
+ class member_function(aetools.ComponentItem):
+ 	"""member function - A class member function or method. """
+ 	want = 'MbFn'
  class implementation_file(aetools.NProperty):
  	"""implementation file - Source file containing the member function definition """
***************
*** 1617,1641 ****
  
  member_functions = member_function
- 
- class data_member(aetools.ComponentItem):
- 	"""data member - A class data member or field """
- 	want = 'DtMb'
- 
- data_members = data_member
- 
- class base_class(aetools.ComponentItem):
- 	"""base class - A base class or super class of a class """
- 	want = 'BsCl'
- class class_(aetools.NProperty):
- 	"""class - The class object corresponding to this base class """
- 	which = 'Clas'
- 	want = 'obj '
- 
- base_classes = base_class
- 
- class browser_catalog(aetools.ComponentItem):
- 	"""browser catalog - The browser symbol catalog for the current project """
- 	want = 'Cata'
- #        element 'Clas' as ['indx', 'name']
  Access_Paths._superclassnames = []
  Access_Paths._privpropdict = {
--- 1638,1641 ----
***************
*** 1971,1974 ****
--- 1971,1988 ----
  VCS_Setup._privelemdict = {
  }
+ base_class._superclassnames = []
+ base_class._privpropdict = {
+ 	'class_' : class_,
+ 	'access' : access,
+ 	'virtual' : virtual,
+ }
+ base_class._privelemdict = {
+ }
+ browser_catalog._superclassnames = []
+ browser_catalog._privpropdict = {
+ }
+ browser_catalog._privelemdict = {
+ 	'class_' : class_,
+ }
  class_._superclassnames = []
  class_._privpropdict = {
***************
*** 1986,1989 ****
--- 2000,2013 ----
  	'data_member' : data_member,
  }
+ data_member._superclassnames = []
+ data_member._privpropdict = {
+ 	'name' : name,
+ 	'access' : access,
+ 	'static' : static,
+ 	'declaration_start_offset' : declaration_start_offset,
+ 	'declaration_end_offset' : declaration_end_offset,
+ }
+ data_member._privelemdict = {
+ }
  member_function._superclassnames = []
  member_function._privpropdict = {
***************
*** 2001,2043 ****
  member_function._privelemdict = {
  }
! data_member._superclassnames = []
! data_member._privpropdict = {
! 	'name' : name,
! 	'access' : access,
! 	'static' : static,
! 	'declaration_start_offset' : declaration_start_offset,
! 	'declaration_end_offset' : declaration_end_offset,
! }
! data_member._privelemdict = {
! }
! base_class._superclassnames = []
! base_class._privpropdict = {
! 	'class_' : class_,
! 	'access' : access,
! 	'virtual' : virtual,
! }
! base_class._privelemdict = {
! }
! browser_catalog._superclassnames = []
! browser_catalog._privpropdict = {
! }
! browser_catalog._privelemdict = {
! 	'class_' : class_,
  }
! _Enum_TmpB = {
! 	'User_Specified' : 'Usrs',	# Use user specified symbols when setting temporary breakpoints on program launch.
! 	'Default' : 'Dflt',	# Use system default symbols when setting temporary breakpoints on program launch.
  }
  
! _Enum_TxtF = {
! 	'MacOS' : 'TxF0',	# MacOS text format
! 	'DOS' : 'TxF1',	# DOS text format
! 	'Unix' : 'TxF2',	# Unix text format
  }
  
! _Enum_savo = {
! 	'yes' : 'yes ',	# Save changes
! 	'no' : 'no  ',	# Do not save changes
! 	'ask' : 'ask ',	# Ask the user whether to save
  }
  
--- 2025,2051 ----
  member_function._privelemdict = {
  }
! _Enum_Acce = {
! 	'public' : 'Publ',	# 
! 	'protected' : 'Prot',	# 
! 	'private' : 'Priv',	# 
  }
! 
! _Enum_BXbr = {
! 	'Always_Build' : 'BXb1',	# Always build the target before running.
! 	'Ask_Build' : 'BXb2',	# Ask before building the target when running.
! 	'Never_Build' : 'BXb3',	# Never before building the target before running.
  }
  
! _Enum_DbSA = {
! 	'No_Action' : 'DSA1',	# Don\xd5t do anything to non-debug windows
! 	'Hide_Windows' : 'DSA2',	# Hide non-debugging windows
! 	'Collapse_Windows' : 'DSA3',	# Collapse non-debugging windows
! 	'Close_Windows' : 'DSA4',	# Close non-debugging windows
  }
  
! _Enum_DgBL = {
! 	'Always' : 'DgB0',	# Always build before debugging.
! 	'Never' : 'DgB1',	# Never build before debugging.
! 	'Ask' : 'DgB2',	# Ask about building before debugging.
  }
  
***************
*** 2053,2074 ****
  }
  
! _Enum_SrcT = {
! 	'source' : 'FTxt',	# A source file (.c, .cp, .p, etc).
! 	'unknown' : 'FUnk',	# An unknown file type.
! }
! 
! _Enum_PPrm = {
! 	'absolute' : 'Abso',	# An absolute path name, including volume name.
! 	'project_relative' : 'PRel',	# A path relative to the current project\xd5s folder.
! 	'shell_relative' : 'SRel',	# A path relative to the CodeWarrior\xaa folder.
! 	'system_relative' : 'YRel',	# A path relative to the system folder
! 	'root_relative' : 'RRel',	# 
! }
! 
! _Enum_DbSA = {
! 	'No_Action' : 'DSA1',	# Don\xd5t do anything to non-debug windows
! 	'Hide_Windows' : 'DSA2',	# Hide non-debugging windows
! 	'Collapse_Windows' : 'DSA3',	# Collapse non-debugging windows
! 	'Close_Windows' : 'DSA4',	# Close non-debugging windows
  }
  
--- 2061,2069 ----
  }
  
! _Enum_Inte = {
! 	'never_interact' : 'eNvr',	# Never allow user interactions
! 	'interact_with_self' : 'eInS',	# Allow user interaction only when an AppleEvent is sent from within CodeWarrior
! 	'interact_with_local' : 'eInL',	# Allow user interaction when AppleEvents are sent from applications on the same machine (default)
! 	'interact_with_all' : 'eInA',	# Allow user interaction from both local and remote AppleEvents
  }
  
***************
*** 2083,2103 ****
  }
  
! _Enum_Acce = {
! 	'public' : 'Publ',	# 
! 	'protected' : 'Prot',	# 
! 	'private' : 'Priv',	# 
  }
  
! _Enum_Inte = {
! 	'never_interact' : 'eNvr',	# Never allow user interactions
! 	'interact_with_self' : 'eInS',	# Allow user interaction only when an AppleEvent is sent from within CodeWarrior
! 	'interact_with_local' : 'eInL',	# Allow user interaction when AppleEvents are sent from applications on the same machine (default)
! 	'interact_with_all' : 'eInA',	# Allow user interaction from both local and remote AppleEvents
  }
  
! _Enum_DgBL = {
! 	'Always' : 'DgB0',	# Always build before debugging.
! 	'Never' : 'DgB1',	# Never build before debugging.
! 	'Ask' : 'DgB2',	# Ask about building before debugging.
  }
  
--- 2078,2100 ----
  }
  
! _Enum_PPrm = {
! 	'absolute' : 'Abso',	# An absolute path name, including volume name.
! 	'project_relative' : 'PRel',	# A path relative to the current project\xd5s folder.
! 	'shell_relative' : 'SRel',	# A path relative to the CodeWarrior\xaa folder.
! 	'system_relative' : 'YRel',	# A path relative to the system folder
! 	'root_relative' : 'RRel',	# 
  }
  
! _Enum_PXdg = {
! 	'Diagnose_None' : 'PXd1',	# No Plugin Diagnostics.
! 	'Diagnose_Errors' : 'PXd2',	# Plugin Diagnostics for errors only.
! 	'Diagnose_All' : 'PXd3',	# Plugin Diagnostics for everything.
  }
  
! _Enum_PthF = {
! 	'Generic_Path' : 'PFGn',	# 
! 	'MacOS_Path' : 'PFMc',	# MacOS path using colon as separator
! 	'Windows_Path' : 'PFWn',	# Windows path using backslash as separator
! 	'Unix_Path' : 'PFUx',	# Unix path using slash as separator
  }
  
***************
*** 2107,2122 ****
  }
  
- _Enum_PXdg = {
- 	'Diagnose_None' : 'PXd1',	# No Plugin Diagnostics.
- 	'Diagnose_Errors' : 'PXd2',	# Plugin Diagnostics for errors only.
- 	'Diagnose_All' : 'PXd3',	# Plugin Diagnostics for everything.
- }
- 
- _Enum_BXbr = {
- 	'Always_Build' : 'BXb1',	# Always build the target before running.
- 	'Ask_Build' : 'BXb2',	# Ask before building the target when running.
- 	'Never_Build' : 'BXb3',	# Never before building the target before running.
- }
- 
  _Enum_STKd = {
  	'Absolute_Path' : 'STK0',	# The \xd2path\xd3 property is an absolute path to the location of the source tree.
--- 2104,2107 ----
***************
*** 2125,2133 ****
  }
  
! _Enum_PthF = {
! 	'Generic_Path' : 'PFGn',	# 
! 	'MacOS_Path' : 'PFMc',	# MacOS path using colon as separator
! 	'Windows_Path' : 'PFWn',	# Windows path using backslash as separator
! 	'Unix_Path' : 'PFUx',	# Unix path using slash as separator
  }
  
--- 2110,2133 ----
  }
  
! _Enum_SrcT = {
! 	'source' : 'FTxt',	# A source file (.c, .cp, .p, etc).
! 	'unknown' : 'FUnk',	# An unknown file type.
! }
! 
! _Enum_TmpB = {
! 	'User_Specified' : 'Usrs',	# Use user specified symbols when setting temporary breakpoints on program launch.
! 	'Default' : 'Dflt',	# Use system default symbols when setting temporary breakpoints on program launch.
! }
! 
! _Enum_TxtF = {
! 	'MacOS' : 'TxF0',	# MacOS text format
! 	'DOS' : 'TxF1',	# DOS text format
! 	'Unix' : 'TxF2',	# Unix text format
! }
! 
! _Enum_savo = {
! 	'yes' : 'yes ',	# Save changes
! 	'no' : 'no  ',	# Do not save changes
! 	'ask' : 'ask ',	# Ask the user whether to save
  }
  
***************
*** 2355,2369 ****
  
  _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,
--- 2355,2369 ----
  
  _enumdeclarations = {
  	'Inte' : _Enum_Inte,
  	'DgBL' : _Enum_DgBL,
+ 	'STKd' : _Enum_STKd,
  	'Acce' : _Enum_Acce,
  	'RefP' : _Enum_RefP,
  	'TxtF' : _Enum_TxtF,
! 	'PthF' : _Enum_PthF,
  	'TmpB' : _Enum_TmpB,
+ 	'Lang' : _Enum_Lang,
  	'savo' : _Enum_savo,
! 	'DbSA' : _Enum_DbSA,
  	'SrcT' : _Enum_SrcT,
  	'PXdg' : _Enum_PXdg,

Index: __init__.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/plat-mac/lib-scriptpackages/CodeWarrior/__init__.py,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** __init__.py	23 Mar 2003 22:07:27 -0000	1.2
--- __init__.py	28 Mar 2003 22:07:17 -0000	1.3
***************
*** 5,19 ****
  import aetools
  Error = aetools.Error
- import Required
- import Standard_Suite
  import CodeWarrior_suite
  import Metrowerks_Shell_Suite
  
  
  _code_to_module = {
- 	'reqd' : Required,
- 	'CoRe' : Standard_Suite,
  	'CWIE' : CodeWarrior_suite,
  	'MMPR' : Metrowerks_Shell_Suite,
  }
  
--- 5,19 ----
  import aetools
  Error = aetools.Error
  import CodeWarrior_suite
+ import Standard_Suite
  import Metrowerks_Shell_Suite
+ import Required
  
  
  _code_to_module = {
  	'CWIE' : CodeWarrior_suite,
+ 	'CoRe' : Standard_Suite,
  	'MMPR' : Metrowerks_Shell_Suite,
+ 	'reqd' : Required,
  }
  
***************
*** 21,34 ****
  
  _code_to_fullname = {
- 	'reqd' : ('CodeWarrior.Required', 'Required'),
- 	'CoRe' : ('CodeWarrior.Standard_Suite', 'Standard_Suite'),
  	'CWIE' : ('CodeWarrior.CodeWarrior_suite', 'CodeWarrior_suite'),
  	'MMPR' : ('CodeWarrior.Metrowerks_Shell_Suite', 'Metrowerks_Shell_Suite'),
  }
  
- from Required import *
- from Standard_Suite import *
  from CodeWarrior_suite import *
  from Metrowerks_Shell_Suite import *
  
  def getbaseclasses(v):
--- 21,34 ----
  
  _code_to_fullname = {
  	'CWIE' : ('CodeWarrior.CodeWarrior_suite', 'CodeWarrior_suite'),
+ 	'CoRe' : ('CodeWarrior.Standard_Suite', 'Standard_Suite'),
  	'MMPR' : ('CodeWarrior.Metrowerks_Shell_Suite', 'Metrowerks_Shell_Suite'),
+ 	'reqd' : ('CodeWarrior.Required', 'Required'),
  }
  
  from CodeWarrior_suite import *
+ from Standard_Suite import *
  from Metrowerks_Shell_Suite import *
+ from Required import *
  
  def getbaseclasses(v):
***************
*** 49,78 ****
  # Set property and element dictionaries now that all classes have been defined
  #
- getbaseclasses(character)
- getbaseclasses(text)
- getbaseclasses(window)
- getbaseclasses(file)
- getbaseclasses(line)
- getbaseclasses(selection_2d_object)
- getbaseclasses(application)
- getbaseclasses(insertion_point)
- getbaseclasses(document)
- getbaseclasses(single_class_browser)
- getbaseclasses(project_document)
- getbaseclasses(symbol_browser)
- getbaseclasses(editor_document)
- getbaseclasses(file_compare_document)
- getbaseclasses(class_browser)
- getbaseclasses(subtarget)
- getbaseclasses(message_document)
- getbaseclasses(project_inspector)
- getbaseclasses(text_document)
- getbaseclasses(catalog_document)
- getbaseclasses(class_hierarchy)
- getbaseclasses(target)
- getbaseclasses(build_progress_document)
- getbaseclasses(target_file)
- getbaseclasses(ToolServer_worksheet)
- getbaseclasses(single_class_hierarchy)
  getbaseclasses(File_Mapping)
  getbaseclasses(browser_catalog)
--- 49,52 ----
***************
*** 111,114 ****
--- 85,114 ----
  getbaseclasses(Debugger_Display)
  getbaseclasses(class_)
+ getbaseclasses(character)
+ getbaseclasses(text)
+ getbaseclasses(window)
+ getbaseclasses(file)
+ getbaseclasses(line)
+ getbaseclasses(selection_2d_object)
+ getbaseclasses(application)
+ getbaseclasses(insertion_point)
+ getbaseclasses(document)
+ getbaseclasses(single_class_browser)
+ getbaseclasses(project_document)
+ getbaseclasses(symbol_browser)
+ getbaseclasses(editor_document)
+ getbaseclasses(file_compare_document)
+ getbaseclasses(class_browser)
+ getbaseclasses(subtarget)
+ getbaseclasses(message_document)
+ getbaseclasses(project_inspector)
+ getbaseclasses(text_document)
+ getbaseclasses(catalog_document)
+ getbaseclasses(class_hierarchy)
+ getbaseclasses(target)
+ getbaseclasses(build_progress_document)
+ getbaseclasses(target_file)
+ getbaseclasses(ToolServer_worksheet)
+ getbaseclasses(single_class_hierarchy)
  
  #
***************
*** 116,145 ****
  #
  _classdeclarations = {
- 	'cha ' : character,
- 	'ctxt' : text,
- 	'cwin' : window,
- 	'file' : file,
- 	'clin' : line,
- 	'csel' : selection_2d_object,
- 	'capp' : application,
- 	'cins' : insertion_point,
- 	'docu' : document,
- 	'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,
  	'FMap' : File_Mapping,
  	'Cata' : browser_catalog,
--- 116,119 ----
***************
*** 178,188 ****
  	'DbDS' : Debugger_Display,
  	'Clas' : class_,
  }
  
  
! class CodeWarrior(Required_Events,
  		Standard_Suite_Events,
- 		CodeWarrior_suite_Events,
  		Metrowerks_Shell_Suite_Events,
  		aetools.TalkTo):
  	_signature = 'CWIE'
--- 152,188 ----
  	'DbDS' : Debugger_Display,
  	'Clas' : class_,
+ 	'cha ' : character,
+ 	'ctxt' : text,
+ 	'cwin' : window,
+ 	'file' : file,
+ 	'clin' : line,
+ 	'csel' : selection_2d_object,
+ 	'capp' : application,
+ 	'cins' : insertion_point,
+ 	'docu' : document,
+ 	'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,
  }
  
  
! class CodeWarrior(CodeWarrior_suite_Events,
  		Standard_Suite_Events,
  		Metrowerks_Shell_Suite_Events,
+ 		Required_Events,
  		aetools.TalkTo):
  	_signature = 'CWIE'