[Python-checkins] python/dist/src/Lib/plat-mac/lib-scriptpackages/Terminal Terminal_Suite.py,1.3,1.4 __init__.py,1.3,1.4

jackjansen@users.sourceforge.net jackjansen@users.sourceforge.net
Fri, 28 Mar 2003 15:38:04 -0800


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

Modified Files:
	Terminal_Suite.py __init__.py 
Log Message:
Sigh: didn't catch all lists that needed to be sorted. Regenerated again.


Index: Terminal_Suite.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/plat-mac/lib-scriptpackages/Terminal/Terminal_Suite.py,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** Terminal_Suite.py	28 Mar 2003 22:07:21 -0000	1.3
--- Terminal_Suite.py	28 Mar 2003 23:38:00 -0000	1.4
***************
*** 103,106 ****
--- 103,110 ----
  	"""application - The Terminal program """
  	want = 'capp'
+ class frontmost(aetools.NProperty):
+ 	"""frontmost - Is this the active application? """
+ 	which = 'pisf'
+ 	want = 'bool'
  class name(aetools.NProperty):
  	"""name - the name of the application """
***************
*** 111,118 ****
  	which = 'vers'
  	want = 'vers'
- class frontmost(aetools.NProperty):
- 	"""frontmost - Is this the active application? """
- 	which = 'pisf'
- 	want = 'bool'
  #        element 'cwin' as ['name', 'indx']
  
--- 115,118 ----
***************
*** 122,133 ****
  	"""window - A Terminal window """
  	want = 'cwin'
! class index(aetools.NProperty):
! 	"""index - the number of the window """
! 	which = 'pidx'
! 	want = 'long'
  class bounds(aetools.NProperty):
  	"""bounds - the boundary rectangle for the window, relative to the upper left corner of the screen """
  	which = 'pbnd'
  	want = 'qdrt'
  class has_close_box(aetools.NProperty):
  	"""has close box - Does the window have a close box? """
--- 122,161 ----
  	"""window - A Terminal window """
  	want = 'cwin'
! class background_color(aetools.NProperty):
! 	"""background color - the background color for the window """
! 	which = 'pbcl'
! 	want = 'TEXT'
! class bold_text_color(aetools.NProperty):
! 	"""bold text color - the bold text color for the window """
! 	which = 'pbtc'
! 	want = 'TEXT'
  class bounds(aetools.NProperty):
  	"""bounds - the boundary rectangle for the window, relative to the upper left corner of the screen """
  	which = 'pbnd'
  	want = 'qdrt'
+ class busy(aetools.NProperty):
+ 	"""busy - Is the window busy running a process? """
+ 	which = 'busy'
+ 	want = 'bool'
+ class contents(aetools.NProperty):
+ 	"""contents - the currently visible contents of the window """
+ 	which = 'pcnt'
+ 	want = 'TEXT'
+ class cursor_color(aetools.NProperty):
+ 	"""cursor color - the cursor color for the window """
+ 	which = 'pcuc'
+ 	want = 'TEXT'
+ class custom_title(aetools.NProperty):
+ 	"""custom title - the custom title for the window """
+ 	which = 'titl'
+ 	want = 'TEXT'
+ class floating(aetools.NProperty):
+ 	"""floating - Does the window float? """
+ 	which = 'isfl'
+ 	want = 'bool'
+ class frame(aetools.NProperty):
+ 	"""frame - the origin and size of the window """
+ 	which = 'pfra'
+ 	want = 'list'
  class has_close_box(aetools.NProperty):
  	"""has close box - Does the window have a close box? """
***************
*** 138,145 ****
  	which = 'ptit'
  	want = 'bool'
! class floating(aetools.NProperty):
! 	"""floating - Does the window float? """
! 	which = 'isfl'
! 	want = 'bool'
  class miniaturizable(aetools.NProperty):
  	"""miniaturizable - Is the window miniaturizable? """
--- 166,177 ----
  	which = 'ptit'
  	want = 'bool'
! class history(aetools.NProperty):
! 	"""history - the contents of the entire scrolling buffer of the window """
! 	which = 'hist'
! 	want = 'TEXT'
! class index(aetools.NProperty):
! 	"""index - the number of the window """
! 	which = 'pidx'
! 	want = 'long'
  class miniaturizable(aetools.NProperty):
  	"""miniaturizable - Is the window miniaturizable? """
***************
*** 154,193 ****
  	which = 'pmod'
  	want = 'bool'
! class resizable(aetools.NProperty):
! 	"""resizable - Is the window resizable? """
! 	which = 'prsz'
! 	want = 'bool'
! class visible(aetools.NProperty):
! 	"""visible - Is the window visible? """
! 	which = 'pvis'
! 	want = 'bool'
! class zoomable(aetools.NProperty):
! 	"""zoomable - Is the window zoomable? """
! 	which = 'iszm'
! 	want = 'bool'
! class zoomed(aetools.NProperty):
! 	"""zoomed - Is the window zoomed? """
! 	which = 'pzum'
! 	want = 'bool'
  class position(aetools.NProperty):
  	"""position - the upper left coordinates of the window, relative to the upper left corner of the screen """
  	which = 'ppos'
  	want = 'QDpt'
! class origin(aetools.NProperty):
! 	"""origin - the lower left coordinates of the window, relative to the lower left corner of the screen """
! 	which = 'pori'
  	want = 'list'
  class size(aetools.NProperty):
  	"""size - the width and height of the window """
  	which = 'psiz'
  	want = 'list'
! class frame(aetools.NProperty):
! 	"""frame - the origin and size of the window """
! 	which = 'pfra'
! 	want = 'list'
  class title_displays_device_name(aetools.NProperty):
  	"""title displays device name - Does the title for the window contain the device name? """
  	which = 'tddn'
  	want = 'bool'
  class title_displays_shell_path(aetools.NProperty):
  	"""title displays shell path - Does the title for the window contain the shell path? """
--- 186,233 ----
  	which = 'pmod'
  	want = 'bool'
! class normal_text_color(aetools.NProperty):
! 	"""normal text color - the normal text color for the window """
! 	which = 'ptxc'
! 	want = 'TEXT'
! class number_of_columns(aetools.NProperty):
! 	"""number of columns - the number of columns in the window """
! 	which = 'ccol'
! 	want = 'long'
! class number_of_rows(aetools.NProperty):
! 	"""number of rows - the number of rows in the window """
! 	which = 'crow'
! 	want = 'long'
! class origin(aetools.NProperty):
! 	"""origin - the lower left coordinates of the window, relative to the lower left corner of the screen """
! 	which = 'pori'
! 	want = 'list'
  class position(aetools.NProperty):
  	"""position - the upper left coordinates of the window, relative to the upper left corner of the screen """
  	which = 'ppos'
  	want = 'QDpt'
! class processes(aetools.NProperty):
! 	"""processes - a list of the currently running processes """
! 	which = 'prcs'
  	want = 'list'
+ class resizable(aetools.NProperty):
+ 	"""resizable - Is the window resizable? """
+ 	which = 'prsz'
+ 	want = 'bool'
  class size(aetools.NProperty):
  	"""size - the width and height of the window """
  	which = 'psiz'
  	want = 'list'
! class title_displays_custom_title(aetools.NProperty):
! 	"""title displays custom title - Does the title for the window contain a custom title? """
! 	which = 'tdct'
! 	want = 'bool'
  class title_displays_device_name(aetools.NProperty):
  	"""title displays device name - Does the title for the window contain the device name? """
  	which = 'tddn'
  	want = 'bool'
+ class title_displays_file_name(aetools.NProperty):
+ 	"""title displays file name - Does the title for the window contain the file name? """
+ 	which = 'tdfn'
+ 	want = 'bool'
  class title_displays_shell_path(aetools.NProperty):
  	"""title displays shell path - Does the title for the window contain the shell path? """
***************
*** 198,260 ****
  	which = 'tdws'
  	want = 'bool'
! class title_displays_file_name(aetools.NProperty):
! 	"""title displays file name - Does the title for the window contain the file name? """
! 	which = 'tdfn'
  	want = 'bool'
! class title_displays_custom_title(aetools.NProperty):
! 	"""title displays custom title - Does the title for the window contain a custom title? """
! 	which = 'tdct'
  	want = 'bool'
! class custom_title(aetools.NProperty):
! 	"""custom title - the custom title for the window """
! 	which = 'titl'
! 	want = 'TEXT'
! class contents(aetools.NProperty):
! 	"""contents - the currently visible contents of the window """
! 	which = 'pcnt'
! 	want = 'TEXT'
! class history(aetools.NProperty):
! 	"""history - the contents of the entire scrolling buffer of the window """
! 	which = 'hist'
! 	want = 'TEXT'
! class number_of_rows(aetools.NProperty):
! 	"""number of rows - the number of rows in the window """
! 	which = 'crow'
! 	want = 'long'
! class number_of_columns(aetools.NProperty):
! 	"""number of columns - the number of columns in the window """
! 	which = 'ccol'
! 	want = 'long'
! class cursor_color(aetools.NProperty):
! 	"""cursor color - the cursor color for the window """
! 	which = 'pcuc'
! 	want = 'TEXT'
! class background_color(aetools.NProperty):
! 	"""background color - the background color for the window """
! 	which = 'pbcl'
! 	want = 'TEXT'
! class normal_text_color(aetools.NProperty):
! 	"""normal text color - the normal text color for the window """
! 	which = 'ptxc'
! 	want = 'TEXT'
! class bold_text_color(aetools.NProperty):
! 	"""bold text color - the bold text color for the window """
! 	which = 'pbtc'
! 	want = 'TEXT'
! class busy(aetools.NProperty):
! 	"""busy - Is the window busy running a process? """
! 	which = 'busy'
  	want = 'bool'
- class processes(aetools.NProperty):
- 	"""processes - a list of the currently running processes """
- 	which = 'prcs'
- 	want = 'list'
  
  windows = window
  application._superclassnames = []
  application._privpropdict = {
  	'name' : name,
  	'version' : version,
- 	'frontmost' : frontmost,
  }
  application._privelemdict = {
--- 238,260 ----
  	which = 'tdws'
  	want = 'bool'
! class visible(aetools.NProperty):
! 	"""visible - Is the window visible? """
! 	which = 'pvis'
  	want = 'bool'
! class zoomable(aetools.NProperty):
! 	"""zoomable - Is the window zoomable? """
! 	which = 'iszm'
  	want = 'bool'
! class zoomed(aetools.NProperty):
! 	"""zoomed - Is the window zoomed? """
! 	which = 'pzum'
  	want = 'bool'
  
  windows = window
  application._superclassnames = []
  application._privpropdict = {
+ 	'frontmost' : frontmost,
  	'name' : name,
  	'version' : version,
  }
  application._privelemdict = {
***************
*** 263,300 ****
  window._superclassnames = []
  window._privpropdict = {
! 	'name' : name,
! 	'index' : index,
  	'bounds' : bounds,
  	'has_close_box' : has_close_box,
  	'has_title_bar' : has_title_bar,
! 	'floating' : floating,
  	'miniaturizable' : miniaturizable,
  	'miniaturized' : miniaturized,
  	'modal' : modal,
! 	'resizable' : resizable,
! 	'visible' : visible,
! 	'zoomable' : zoomable,
! 	'zoomed' : zoomed,
! 	'position' : position,
  	'origin' : origin,
  	'size' : size,
! 	'frame' : frame,
  	'title_displays_device_name' : title_displays_device_name,
  	'title_displays_shell_path' : title_displays_shell_path,
  	'title_displays_window_size' : title_displays_window_size,
! 	'title_displays_file_name' : title_displays_file_name,
! 	'title_displays_custom_title' : title_displays_custom_title,
! 	'custom_title' : custom_title,
! 	'contents' : contents,
! 	'history' : history,
! 	'number_of_rows' : number_of_rows,
! 	'number_of_columns' : number_of_columns,
! 	'cursor_color' : cursor_color,
! 	'background_color' : background_color,
! 	'normal_text_color' : normal_text_color,
! 	'bold_text_color' : bold_text_color,
! 	'busy' : busy,
! 	'processes' : processes,
! 	'frontmost' : frontmost,
  }
  window._privelemdict = {
--- 263,300 ----
  window._superclassnames = []
  window._privpropdict = {
! 	'background_color' : background_color,
! 	'bold_text_color' : bold_text_color,
  	'bounds' : bounds,
+ 	'busy' : busy,
+ 	'contents' : contents,
+ 	'cursor_color' : cursor_color,
+ 	'custom_title' : custom_title,
+ 	'floating' : floating,
+ 	'frame' : frame,
+ 	'frontmost' : frontmost,
  	'has_close_box' : has_close_box,
  	'has_title_bar' : has_title_bar,
! 	'history' : history,
! 	'index' : index,
  	'miniaturizable' : miniaturizable,
  	'miniaturized' : miniaturized,
  	'modal' : modal,
! 	'name' : name,
! 	'normal_text_color' : normal_text_color,
! 	'number_of_columns' : number_of_columns,
! 	'number_of_rows' : number_of_rows,
  	'origin' : origin,
+ 	'position' : position,
+ 	'processes' : processes,
+ 	'resizable' : resizable,
  	'size' : size,
! 	'title_displays_custom_title' : title_displays_custom_title,
  	'title_displays_device_name' : title_displays_device_name,
+ 	'title_displays_file_name' : title_displays_file_name,
  	'title_displays_shell_path' : title_displays_shell_path,
  	'title_displays_window_size' : title_displays_window_size,
! 	'visible' : visible,
! 	'zoomable' : zoomable,
! 	'zoomed' : zoomed,
  }
  window._privelemdict = {
***************
*** 305,348 ****
  #
  _classdeclarations = {
- 	'cwin' : window,
  	'capp' : application,
  }
  
  _propdeclarations = {
! 	'pori' : origin,
! 	'prsz' : resizable,
! 	'vers' : version,
! 	'prcs' : processes,
! 	'pbtc' : bold_text_color,
! 	'pbnd' : bounds,
  	'crow' : number_of_rows,
- 	'pcnt' : contents,
- 	'tddn' : title_displays_device_name,
- 	'iszm' : zoomable,
  	'hclb' : has_close_box,
  	'isfl' : floating,
! 	'busy' : busy,
! 	'pfra' : frame,
! 	'ppos' : position,
! 	'ptxc' : normal_text_color,
! 	'tdfn' : title_displays_file_name,
  	'pcuc' : cursor_color,
! 	'tdsp' : title_displays_shell_path,
! 	'pvis' : visible,
  	'pidx' : index,
- 	'pmod' : modal,
- 	'titl' : custom_title,
  	'pisf' : frontmost,
  	'pmnd' : miniaturized,
! 	'tdct' : title_displays_custom_title,
! 	'hist' : history,
! 	'pzum' : zoomed,
! 	'ismn' : miniaturizable,
! 	'pbcl' : background_color,
  	'pnam' : name,
! 	'ccol' : number_of_columns,
! 	'tdws' : title_displays_window_size,
  	'psiz' : size,
  	'ptit' : has_title_bar,
  }
  
--- 305,348 ----
  #
  _classdeclarations = {
  	'capp' : application,
+ 	'cwin' : window,
  }
  
  _propdeclarations = {
! 	'busy' : busy,
! 	'ccol' : number_of_columns,
  	'crow' : number_of_rows,
  	'hclb' : has_close_box,
+ 	'hist' : history,
  	'isfl' : floating,
! 	'ismn' : miniaturizable,
! 	'iszm' : zoomable,
! 	'pbcl' : background_color,
! 	'pbnd' : bounds,
! 	'pbtc' : bold_text_color,
! 	'pcnt' : contents,
  	'pcuc' : cursor_color,
! 	'pfra' : frame,
  	'pidx' : index,
  	'pisf' : frontmost,
  	'pmnd' : miniaturized,
! 	'pmod' : modal,
  	'pnam' : name,
! 	'pori' : origin,
! 	'ppos' : position,
! 	'prcs' : processes,
! 	'prsz' : resizable,
  	'psiz' : size,
  	'ptit' : has_title_bar,
+ 	'ptxc' : normal_text_color,
+ 	'pvis' : visible,
+ 	'pzum' : zoomed,
+ 	'tdct' : title_displays_custom_title,
+ 	'tddn' : title_displays_device_name,
+ 	'tdfn' : title_displays_file_name,
+ 	'tdsp' : title_displays_shell_path,
+ 	'tdws' : title_displays_window_size,
+ 	'titl' : custom_title,
+ 	'vers' : version,
  }
  

Index: __init__.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/plat-mac/lib-scriptpackages/Terminal/__init__.py,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** __init__.py	28 Mar 2003 22:07:22 -0000	1.3
--- __init__.py	28 Mar 2003 23:38:00 -0000	1.4
***************
*** 43,46 ****
--- 43,47 ----
  getbaseclasses(window)
  getbaseclasses(application)
+ getbaseclasses(application)
  getbaseclasses(StdSuites.Type_Names_Suite.small_integer)
  getbaseclasses(StdSuites.Type_Names_Suite.RGB16_color)
***************
*** 83,87 ****
  getbaseclasses(StdSuites.Type_Names_Suite.point)
  getbaseclasses(StdSuites.Type_Names_Suite.bounding_rectangle)
- getbaseclasses(application)
  
  #
--- 84,87 ----
***************
*** 91,94 ****
--- 91,95 ----
  	'cwin' : window,
  	'capp' : application,
+ 	'capp' : application,
  	'shor' : StdSuites.Type_Names_Suite.small_integer,
  	'tr16' : StdSuites.Type_Names_Suite.RGB16_color,
***************
*** 131,135 ****
  	'QDpt' : StdSuites.Type_Names_Suite.point,
  	'qdrt' : StdSuites.Type_Names_Suite.bounding_rectangle,
- 	'capp' : application,
  }
  
--- 132,135 ----