Mailing List Archive

python/dist/src/Mac/Lib/lib-scriptpackages/Finder Containers_and_folders.py,1.3,1.3.20.1 Earlier_terms.py,1.3,1.3.20.1 Enumerations.py,1.2,1.2.20.1 Files_and_suitcases.py,1.3,1.3.20.1 Finder_Basics.py,1.2,1.2.20.1 Finder_items.py,1.2,1.2.20.1 Obsolete_ter
Update of /cvsroot/python/python/dist/src/Mac/Lib/lib-scriptpackages/Finder
In directory usw-pr-cvs1:/tmp/cvs-serv19565/Finder

Modified Files:
Tag: release22-maint
Containers_and_folders.py Earlier_terms.py Enumerations.py
Files_and_suitcases.py Finder_Basics.py Finder_items.py
Obsolete_terms.py Process_classes.py Standard_Suite.py
Type_Definitions.py Window_classes.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: Containers_and_folders.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Mac/Lib/lib-scriptpackages/Finder/Containers_and_folders.py,v
retrieving revision 1.3
retrieving revision 1.3.20.1
diff -C2 -d -r1.3 -r1.3.20.1
*** Containers_and_folders.py 17 May 2001 12:40:38 -0000 1.3
--- Containers_and_folders.py 24 Apr 2002 09:21:47 -0000 1.3.20.1
***************
*** 2,6 ****
Level 1, version 1

! Generated from Macintosh HD:Systeemmap:Finder
AETE/AEUT resource version 0/144, language 0, script 0
"""
--- 2,6 ----
Level 1, version 1

! Generated from Moes:Systeemmap:Finder
AETE/AEUT resource version 0/144, language 0, script 0
"""
***************
*** 47,50 ****
--- 47,54 ----
which = 'lvis'
want = 'long'
+ class view_options_window(aetools.NProperty):
+ """view options window - the view options window for the container (can only be opened when the container window is open) """
+ which = 'vwnd'
+ want = 'vwnd'
# element 'cobj' as ['indx', 'name']
# element 'ctnr' as ['indx', 'name']
***************
*** 277,280 ****
--- 281,285 ----
'icon_size' : icon_size,
'icon_size' : icon_size,
+ 'view_options_window' : view_options_window,
}
container._elemdict = {
***************
*** 438,479 ****
#
_classdeclarations = {
'priv' : sharing_privileges,
- 'cfol' : folder,
'cdis' : disk,
! 'sctr' : sharable_container,
'ctnr' : container,
- 'cdsk' : desktop_2d_object,
- 'ctrs' : trash_2d_object,
}

_propdeclarations = {
! 'ownr' : owner_privileges,
! 'spro' : protected,
'frsp' : free_space,
- 'sgrp' : group,
- 'pexc' : completely_expanded,
- 'sele' : selection,
- 'smou' : mounted,
'pexa' : expandable,
! 'istd' : startup,
! 'sdsk' : startup_disk,
! 'gppr' : group_privileges,
! 'shar' : shared,
! 'capa' : capacity,
! 'isej' : ejectable,
! 'gstp' : guest_privileges,
'warn' : warns_before_emptying,
'sown' : owner,
! 'c@#^' : _3c_Inheritance_3e_,
'sexp' : exported,
! 'isrv' : local_volume,
! 'iprv' : privileges_inherited,
! 'lvis' : icon_size,
'trsh' : trash,
'prvs' : see_folders,
! 'prvr' : see_files,
! 'prvw' : make_changes,
! 'pexp' : expanded,
! 'ects' : entire_contents,
}

--- 443,485 ----
#
_classdeclarations = {
+ 'ctrs' : trash_2d_object,
+ 'cdsk' : desktop_2d_object,
+ 'sctr' : sharable_container,
'priv' : sharing_privileges,
'cdis' : disk,
! 'cfol' : folder,
'ctnr' : container,
}

_propdeclarations = {
! 'pexp' : expanded,
! 'gppr' : group_privileges,
! 'prvr' : see_files,
! 'ects' : entire_contents,
! 'lvis' : icon_size,
! 'iprv' : privileges_inherited,
! 'isrv' : local_volume,
'frsp' : free_space,
'pexa' : expandable,
! 'pexc' : completely_expanded,
! 'vwnd' : view_options_window,
'warn' : warns_before_emptying,
'sown' : owner,
! 'prvw' : make_changes,
! 'isej' : ejectable,
! 'capa' : capacity,
! 'shar' : shared,
'sexp' : exported,
! 'sdsk' : startup_disk,
! 'istd' : startup,
! 'gstp' : guest_privileges,
'trsh' : trash,
+ 'smou' : mounted,
+ 'sele' : selection,
'prvs' : see_folders,
! 'sgrp' : group,
! 'c@#^' : _3c_Inheritance_3e_,
! 'spro' : protected,
! 'ownr' : owner_privileges,
}


Index: Earlier_terms.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Mac/Lib/lib-scriptpackages/Finder/Earlier_terms.py,v
retrieving revision 1.3
retrieving revision 1.3.20.1
diff -C2 -d -r1.3 -r1.3.20.1
*** Earlier_terms.py 17 May 2001 12:40:33 -0000 1.3
--- Earlier_terms.py 24 Apr 2002 09:21:47 -0000 1.3.20.1
***************
*** 2,6 ****
Level 1, version 1

! Generated from Macintosh HD:Systeemmap:Finder
AETE/AEUT resource version 0/144, language 0, script 0
"""
--- 2,6 ----
Level 1, version 1

! Generated from Moes:Systeemmap:Finder
AETE/AEUT resource version 0/144, language 0, script 0
"""
***************
*** 402,407 ****
which = 'pmod'
want = 'bool'
!
! resizable = titled
class zoomable(aetools.NProperty):
"""zoomable - Is the window zoomable? """
--- 402,409 ----
which = 'pmod'
want = 'bool'
! class resizable(aetools.NProperty):
! """resizable - Is the window resizable? """
! which = 'prsz'
! want = 'bool'
class zoomable(aetools.NProperty):
"""zoomable - Is the window zoomable? """
***************
*** 616,723 ****
#
_classdeclarations = {
'iwnd' : information_window,
- 'cwnd' : container_window,
- 'inlf' : internet_location,
- 'appf' : application_file,
'prcs' : process,
'cobj' : item,
- 'cwin' : window,
- 'pcda' : accessory_process,
- 'ctrs' : trash_2d_object,
- 'capp' : application,
- 'cprf' : preferences,
- 'sctr' : sharable_container,
- 'dsut' : accessory_suitcase,
}

_propdeclarations = {
'pidx' : index,
! 'scda' : show_creation_date,
! 'qpro' : properties,
! 'fshr' : file_sharing,
! 'pvew' : view,
! 'pusd' : partition_space_used,
! 'aslk' : locked,
! 'sdat' : show_modification_date,
! 'issl' : selected,
! 'pvis' : visible,
! 'slbl' : show_label,
! 'wshd' : collapsed,
! 'cdis' : disk,
! 'usme' : use_simple_menus,
'sord' : sort_direction,
! 'sexp' : exported,
! 'comt' : comment,
! 'dscr' : description,
! 'svew' : previous_list_view,
! 'svrs' : show_version,
! 'sknd' : show_kind,
! 'phys' : physical_size,
! 'iarr' : spatial_view_arrangement,
! 'smou' : mounted,
! 'posn' : position,
! 'cobj' : item,
'revt' : remote_events,
! 'asmo' : modification_date,
! 'ssiz' : show_size,
! 'pnam' : name,
! 'mprt' : minimum_partition_size,
! 'cwin' : window,
! 'pcli' : clipboard,
! 'spro' : protected,
! 'sprt' : suggested_partition_size,
! 'pisf' : frontmost,
! 'sele' : selection,
! 'pmod' : modal,
! 'fcrt' : creator_type,
! 'shar' : shared,
! 'dwnd' : content_space,
'zumf' : zoomed_full_size,
- 'sfsz' : calculate_folder_sizes,
- 'ID ' : id,
- 'c@#^' : _3c_Inheritance_3e_,
- 'pspd' : stationery,
'iprv' : inherited_privileges,
- 'pfrp' : Finder_preferences,
- 'barr' : button_view_arrangement,
- 'ownr' : owner_privileges,
- 'drwr' : popup,
- 'sgrp' : group,
- 'ptsz' : size,
- 'kind' : kind,
- 'pull' : pulled_open,
- 'abbx' : about_this_computer,
- 'ctnr' : container,
- 'ascd' : creation_date,
- 'desk' : desktop,
- 'warn' : warn_before_emptying,
- 'iszm' : zoomable,
- 'isab' : scriptable,
- 'gstp' : guest_privileges,
'vers' : version,
! 'dela' : delay_before_springing,
! 'ptit' : titled,
! 'uswg' : use_wide_grid,
! 'cuss' : has_custom_view_settings,
! 'labi' : label_index,
! 'iwnd' : information_window,
'file' : file,
! 'asty' : file_type,
! 'appt' : partition_size,
! 'scom' : show_comments,
! 'pins' : insertion_location,
! 'pbnd' : bounds,
! 'urdt' : use_relative_dates,
! 'fsup' : sharing_starting_up,
! 'sown' : owner,
! 'isfl' : floating,
! 'hclb' : closeable,
! 'iimg' : icon,
! 'gppr' : group_privileges,
! 'asdr' : folder,
'sprg' : spring_open_folders,
! 'pzum' : zoomed,
! 'ver2' : product_version,
! 'mfre' : largest_free_block,
}

--- 618,726 ----
#
_classdeclarations = {
+ 'dsut' : accessory_suitcase,
+ 'cprf' : preferences,
+ 'sctr' : sharable_container,
+ 'capp' : application,
+ 'ctrs' : trash_2d_object,
+ 'pcda' : accessory_process,
+ 'cwin' : window,
'iwnd' : information_window,
'prcs' : process,
+ 'appf' : application_file,
+ 'inlf' : internet_location,
+ 'cwnd' : container_window,
'cobj' : item,
}

_propdeclarations = {
+ 'ver2' : product_version,
+ 'pbnd' : bounds,
+ 'asdr' : folder,
+ 'gppr' : group_privileges,
'pidx' : index,
! 'isfl' : floating,
! 'sown' : owner,
! 'fsup' : sharing_starting_up,
! 'urdt' : use_relative_dates,
! 'scom' : show_comments,
! 'appt' : partition_size,
! 'iimg' : icon,
! 'asty' : file_type,
! 'uswg' : use_wide_grid,
! 'ptit' : titled,
! 'dela' : delay_before_springing,
! 'cuss' : has_custom_view_settings,
! 'gstp' : guest_privileges,
! 'isab' : scriptable,
! 'iszm' : zoomable,
'sord' : sort_direction,
! 'pins' : insertion_location,
! 'pspd' : stationery,
! 'desk' : desktop,
! 'ascd' : creation_date,
! 'ctnr' : container,
! 'abbx' : about_this_computer,
! 'pull' : pulled_open,
! 'kind' : kind,
! 'ptsz' : size,
! 'hclb' : closeable,
! 'sgrp' : group,
! 'mfre' : largest_free_block,
'revt' : remote_events,
! 'drwr' : popup,
! 'iwnd' : information_window,
! 'ownr' : owner_privileges,
! 'pzum' : zoomed,
! 'prsz' : resizable,
! 'barr' : button_view_arrangement,
! 'pfrp' : Finder_preferences,
'zumf' : zoomed_full_size,
'iprv' : inherited_privileges,
'vers' : version,
! 'c@#^' : _3c_Inheritance_3e_,
! 'ID ' : id,
! 'sfsz' : calculate_folder_sizes,
'file' : file,
! 'dwnd' : content_space,
! 'shar' : shared,
! 'pmod' : modal,
! 'sele' : selection,
! 'pisf' : frontmost,
! 'sprt' : suggested_partition_size,
! 'spro' : protected,
! 'pcli' : clipboard,
! 'cwin' : window,
! 'mprt' : minimum_partition_size,
'sprg' : spring_open_folders,
! 'ssiz' : show_size,
! 'asmo' : modification_date,
! 'svrs' : show_version,
! 'cobj' : item,
! 'posn' : position,
! 'iarr' : spatial_view_arrangement,
! 'phys' : physical_size,
! 'sknd' : show_kind,
! 'labi' : label_index,
! 'svew' : previous_list_view,
! 'dscr' : description,
! 'comt' : comment,
! 'sexp' : exported,
! 'usme' : use_simple_menus,
! 'cdis' : disk,
! 'wshd' : collapsed,
! 'slbl' : show_label,
! 'warn' : warn_before_emptying,
! 'scda' : show_creation_date,
! 'pvis' : visible,
! 'issl' : selected,
! 'smou' : mounted,
! 'sdat' : show_modification_date,
! 'fcrt' : creator_type,
! 'pusd' : partition_space_used,
! 'pvew' : view,
! 'fshr' : file_sharing,
! 'qpro' : properties,
! 'aslk' : locked,
! 'pnam' : name,
}


Index: Enumerations.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Mac/Lib/lib-scriptpackages/Finder/Enumerations.py,v
retrieving revision 1.2
retrieving revision 1.2.20.1
diff -C2 -d -r1.2 -r1.2.20.1
*** Enumerations.py 22 Aug 2000 20:35:16 -0000 1.2
--- Enumerations.py 24 Apr 2002 09:21:47 -0000 1.2.20.1
***************
*** 2,6 ****
Level 1, version 1

! Generated from Macintosh HD:Systeemmap:Finder
AETE/AEUT resource version 0/144, language 0, script 0
"""
--- 2,6 ----
Level 1, version 1

! Generated from Moes:Systeemmap:Finder
AETE/AEUT resource version 0/144, language 0, script 0
"""
***************
*** 17,44 ****

_Enum_ipnl = {
! 'General Information panel' : 'gpnl', #
! 'Sharing panel' : 'spnl', #
! 'Memory panel' : 'mpnl', #
! 'Status and Configuration panel' : 'scnl', #
! 'Fonts panel' : 'fpnl', #
}

_Enum_pple = {
! 'General Preferences panel' : 'pgnp', #
! 'Label Preferences panel' : 'plbp', #
! 'Icon View Preferences panel' : 'pivp', #
! 'Button View Preferences panel' : 'pbvp', #
! 'List View Preferences panel' : 'plvp', #
}

_Enum_earr = {
! 'not arranged' : 'narr', #
! 'snap to grid' : 'grda', #
! 'arranged by name' : 'nama', #
! 'arranged by modification date' : 'mdta', #
! 'arranged by creation date' : 'cdta', #
! 'arranged by size' : 'siza', #
! 'arranged by kind' : 'kina', #
! 'arranged by label' : 'laba', #
}

--- 17,44 ----

_Enum_ipnl = {
! 'General_Information_panel' : 'gpnl', #
! 'Sharing_panel' : 'spnl', #
! 'Memory_panel' : 'mpnl', #
! 'Status_and_Configuration_panel' : 'scnl', #
! 'Fonts_panel' : 'fpnl', #
}

_Enum_pple = {
! 'General_Preferences_panel' : 'pgnp', #
! 'Label_Preferences_panel' : 'plbp', #
! 'Icon_View_Preferences_panel' : 'pivp', #
! 'Button_View_Preferences_panel' : 'pbvp', #
! 'List_View_Preferences_panel' : 'plvp', #
}

_Enum_earr = {
! 'not_arranged' : 'narr', #
! 'snap_to_grid' : 'grda', #
! 'arranged_by_name' : 'nama', #
! 'arranged_by_modification_date' : 'mdta', #
! 'arranged_by_creation_date' : 'cdta', #
! 'arranged_by_size' : 'siza', #
! 'arranged_by_kind' : 'kina', #
! 'arranged_by_label' : 'laba', #
}

***************
*** 56,64 ****
_Enum_vwby = {
'conflicts' : 'cflc', #
! 'existing items' : 'exsi', #
! 'small icon' : 'smic', #
'icon' : 'iimg', #
'name' : 'pnam', #
! 'modification date' : 'asmo', #
'size' : 'ptsz', #
'kind' : 'kind', #
--- 56,64 ----
_Enum_vwby = {
'conflicts' : 'cflc', #
! 'existing_items' : 'exsi', #
! 'small_icon' : 'smic', #
'icon' : 'iimg', #
'name' : 'pnam', #
! 'modification_date' : 'asmo', #
'size' : 'ptsz', #
'kind' : 'kind', #
***************
*** 66,72 ****
'label' : 'labi', #
'version' : 'vers', #
! 'creation date' : 'ascd', #
! 'small button' : 'smbu', #
! 'large button' : 'lgbu', #
'grid' : 'grid', #
'all' : 'kyal', #
--- 66,72 ----
'label' : 'labi', #
'version' : 'vers', #
! 'creation_date' : 'ascd', #
! 'small_button' : 'smbu', #
! 'large_button' : 'lgbu', #
'grid' : 'grid', #
'all' : 'kyal', #
***************
*** 78,85 ****
'MMU' : 'mmu ', #
'hardware' : 'hdwr', #
! 'operating system' : 'os ', #
! 'sound system' : 'snd ', #
! 'memory available' : 'lram', #
! 'memory installed' : 'ram ', #
}

--- 78,94 ----
'MMU' : 'mmu ', #
'hardware' : 'hdwr', #
! 'operating_system' : 'os ', #
! 'sound_system' : 'snd ', #
! 'memory_available' : 'lram', #
! 'memory_installed' : 'ram ', #
! }
!
! _Enum_ese0 = {
! 'starting_up' : 'ese2', #
! 'running' : 'ese3', #
! 'rebuilding_desktop' : 'ese5', #
! 'copying' : 'ese4', #
! 'restarting' : 'ese6', #
! 'quitting' : 'ese7', #
}

***************
*** 98,107 ****

_enumdeclarations = {
'gsen' : _Enum_gsen,
- 'earr' : _Enum_earr,
'isiz' : _Enum_isiz,
! 'vwby' : _Enum_vwby,
'pple' : _Enum_pple,
- 'ipnl' : _Enum_ipnl,
- 'sodr' : _Enum_sodr,
}
--- 107,117 ----

_enumdeclarations = {
+ 'sodr' : _Enum_sodr,
+ 'ipnl' : _Enum_ipnl,
+ 'ese0' : _Enum_ese0,
+ 'vwby' : _Enum_vwby,
'gsen' : _Enum_gsen,
'isiz' : _Enum_isiz,
! 'earr' : _Enum_earr,
'pple' : _Enum_pple,
}

Index: Files_and_suitcases.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Mac/Lib/lib-scriptpackages/Finder/Files_and_suitcases.py,v
retrieving revision 1.3
retrieving revision 1.3.20.1
diff -C2 -d -r1.3 -r1.3.20.1
*** Files_and_suitcases.py 17 May 2001 12:40:28 -0000 1.3
--- Files_and_suitcases.py 24 Apr 2002 09:21:47 -0000 1.3.20.1
***************
*** 2,6 ****
Level 1, version 1

! Generated from Macintosh HD:Systeemmap:Finder
AETE/AEUT resource version 0/144, language 0, script 0
"""
--- 2,6 ----
Level 1, version 1

! Generated from Moes:Systeemmap:Finder
AETE/AEUT resource version 0/144, language 0, script 0
"""
***************
*** 244,278 ****
#
_classdeclarations = {
'clpf' : clipping,
- 'docf' : document_file,
- 'stcs' : suitcase,
- 'appf' : application_file,
- 'file' : file,
- 'fsut' : font_suitcase,
- 'pack' : package,
- 'dafi' : desk_accessory_file,
'alia' : alias_file,
'dsut' : desk_accessory_suitcase,
! 'inlf' : internet_location_file,
! 'fntf' : font_file,
! 'sndf' : sound_file,
}

_propdeclarations = {
! 'orig' : original_item,
! 'pspd' : stationery,
! 'aslk' : locked,
! 'iloc' : location,
! 'mprt' : minimum_size,
! 'fcrt' : creator_type,
! 'c@#^' : _3c_Inheritance_3e_,
! 'asty' : file_type,
! 'hscr' : has_scripting_terminology,
! 'sprt' : suggested_size,
'appt' : preferred_size,
'isab' : accepts_high_level_events,
! 'snd ' : sound,
! 'ver2' : product_version,
! 'vers' : version,
}

--- 244,278 ----
#
_classdeclarations = {
+ 'sndf' : sound_file,
+ 'fntf' : font_file,
+ 'inlf' : internet_location_file,
'clpf' : clipping,
'alia' : alias_file,
+ 'dafi' : desk_accessory_file,
'dsut' : desk_accessory_suitcase,
! 'fsut' : font_suitcase,
! 'file' : file,
! 'appf' : application_file,
! 'stcs' : suitcase,
! 'docf' : document_file,
! 'pack' : package,
}

_propdeclarations = {
! 'vers' : version,
! 'ver2' : product_version,
! 'snd ' : sound,
'appt' : preferred_size,
+ 'sprt' : suggested_size,
'isab' : accepts_high_level_events,
! 'hscr' : has_scripting_terminology,
! 'asty' : file_type,
! 'c@#^' : _3c_Inheritance_3e_,
! 'fcrt' : creator_type,
! 'mprt' : minimum_size,
! 'pspd' : stationery,
! 'iloc' : location,
! 'aslk' : locked,
! 'orig' : original_item,
}


Index: Finder_Basics.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Mac/Lib/lib-scriptpackages/Finder/Finder_Basics.py,v
retrieving revision 1.2
retrieving revision 1.2.20.1
diff -C2 -d -r1.2 -r1.2.20.1
*** Finder_Basics.py 17 May 2001 12:40:24 -0000 1.2
--- Finder_Basics.py 24 Apr 2002 09:21:47 -0000 1.2.20.1
***************
*** 2,6 ****
Level 1, version 1

! Generated from Macintosh HD:Systeemmap:Finder
AETE/AEUT resource version 0/144, language 0, script 0
"""
--- 2,6 ----
Level 1, version 1

! Generated from Moes:Systeemmap:Finder
AETE/AEUT resource version 0/144, language 0, script 0
"""
***************
*** 33,37 ****
_reply, _arguments, _attributes = self.send(_code, _subcode,
_arguments, _attributes)
! if _arguments.has_key('errn'):
raise aetools.Error, aetools.decodeerror(_arguments)
# XXXX Optionally decode result
--- 33,37 ----
_reply, _arguments, _attributes = self.send(_code, _subcode,
_arguments, _attributes)
! if _arguments.get('errn', 0):
raise aetools.Error, aetools.decodeerror(_arguments)
# XXXX Optionally decode result
***************
*** 52,56 ****
_reply, _arguments, _attributes = self.send(_code, _subcode,
_arguments, _attributes)
! if _arguments.has_key('errn'):
raise aetools.Error, aetools.decodeerror(_arguments)
# XXXX Optionally decode result
--- 52,56 ----
_reply, _arguments, _attributes = self.send(_code, _subcode,
_arguments, _attributes)
! if _arguments.get('errn', 0):
raise aetools.Error, aetools.decodeerror(_arguments)
# XXXX Optionally decode result
***************
*** 71,75 ****
_reply, _arguments, _attributes = self.send(_code, _subcode,
_arguments, _attributes)
! if _arguments.has_key('errn'):
raise aetools.Error, aetools.decodeerror(_arguments)
# XXXX Optionally decode result
--- 71,75 ----
_reply, _arguments, _attributes = self.send(_code, _subcode,
_arguments, _attributes)
! if _arguments.get('errn', 0):
raise aetools.Error, aetools.decodeerror(_arguments)
# XXXX Optionally decode result
***************
*** 90,94 ****
_reply, _arguments, _attributes = self.send(_code, _subcode,
_arguments, _attributes)
! if _arguments.has_key('errn'):
raise aetools.Error, aetools.decodeerror(_arguments)
# XXXX Optionally decode result
--- 90,94 ----
_reply, _arguments, _attributes = self.send(_code, _subcode,
_arguments, _attributes)
! if _arguments.get('errn', 0):
raise aetools.Error, aetools.decodeerror(_arguments)
# XXXX Optionally decode result
***************
*** 109,113 ****
_reply, _arguments, _attributes = self.send(_code, _subcode,
_arguments, _attributes)
! if _arguments.has_key('errn'):
raise aetools.Error, aetools.decodeerror(_arguments)
# XXXX Optionally decode result
--- 109,113 ----
_reply, _arguments, _attributes = self.send(_code, _subcode,
_arguments, _attributes)
! if _arguments.get('errn', 0):
raise aetools.Error, aetools.decodeerror(_arguments)
# XXXX Optionally decode result
***************
*** 135,139 ****
_reply, _arguments, _attributes = self.send(_code, _subcode,
_arguments, _attributes)
! if _arguments.has_key('errn'):
raise aetools.Error, aetools.decodeerror(_arguments)
# XXXX Optionally decode result
--- 135,139 ----
_reply, _arguments, _attributes = self.send(_code, _subcode,
_arguments, _attributes)
! if _arguments.get('errn', 0):
raise aetools.Error, aetools.decodeerror(_arguments)
# XXXX Optionally decode result
***************
*** 197,200 ****
--- 197,204 ----
which = 'desk'
want = 'cdsk'
+ class execution_state(aetools.NProperty):
+ """execution state - the current execution state of the Finder """
+ which = 'exec'
+ want = 'ese0'
class Finder_preferences(aetools.NProperty):
"""Finder preferences - Various preferences that apply to the Finder as a whole """
***************
*** 225,228 ****
--- 229,233 ----
# element 'cwnd' as ['indx', 'name']
# element 'iwnd' as ['indx', 'name']
+ # element 'vwnd' as ['indx', 'name']
# element 'lwnd' as ['indx', 'name']
# element 'dwnd' as ['indx', 'name']
***************
*** 286,289 ****
--- 291,295 ----
'about_this_computer' : about_this_computer,
'desktop' : desktop,
+ 'execution_state' : execution_state,
'Finder_preferences' : Finder_preferences,
}
***************
*** 313,316 ****
--- 319,323 ----
'container_window' : Earlier_terms.container_window,
'information_window' : Earlier_terms.information_window,
+ 'view_options_window' : Window_classes.view_options_window,
'clipping_window' : Window_classes.clipping_window,
'content_space' : Window_classes.content_space,
***************
*** 334,365 ****
#
_classdeclarations = {
- 'spfl' : special_folders,
'capp' : application,
}

_propdeclarations = {
! 'amnu' : apple_menu_items_folder,
! 'extn' : extensions_folder,
! 'pnam' : name,
! 'fshr' : file_sharing,
! 'pcli' : clipboard,
! 'strt' : startup_items_folder,
! 'pref' : preferences_folder,
! 'pisf' : frontmost,
! 'pins' : insertion_location,
! 'pvis' : visible,
! 'abbx' : about_this_computer,
! 'temp' : temporary_items_folder,
! 'font' : fonts_folder,
'pfrp' : Finder_preferences,
! 'desk' : desktop,
! 'fsup' : sharing_starting_up,
'mfre' : largest_free_block,
'ctrl' : control_panels_folder,
- 'sele' : selection,
- 'shdf' : shutdown_items_folder,
'macs' : system_folder,
! 'ver2' : product_version,
! 'vers' : version,
}

--- 341,373 ----
#
_classdeclarations = {
'capp' : application,
+ 'spfl' : special_folders,
}

_propdeclarations = {
! 'vers' : version,
! 'ver2' : product_version,
'pfrp' : Finder_preferences,
! 'exec' : execution_state,
! 'pins' : insertion_location,
'mfre' : largest_free_block,
+ 'fsup' : sharing_starting_up,
+ 'desk' : desktop,
'ctrl' : control_panels_folder,
'macs' : system_folder,
! 'font' : fonts_folder,
! 'abbx' : about_this_computer,
! 'shdf' : shutdown_items_folder,
! 'temp' : temporary_items_folder,
! 'pvis' : visible,
! 'sele' : selection,
! 'pisf' : frontmost,
! 'pref' : preferences_folder,
! 'strt' : startup_items_folder,
! 'pcli' : clipboard,
! 'fshr' : file_sharing,
! 'pnam' : name,
! 'extn' : extensions_folder,
! 'amnu' : apple_menu_items_folder,
}


Index: Finder_items.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Mac/Lib/lib-scriptpackages/Finder/Finder_items.py,v
retrieving revision 1.2
retrieving revision 1.2.20.1
diff -C2 -d -r1.2 -r1.2.20.1
*** Finder_items.py 17 May 2001 12:39:53 -0000 1.2
--- Finder_items.py 24 Apr 2002 09:21:47 -0000 1.2.20.1
***************
*** 2,6 ****
Level 1, version 1

! Generated from Macintosh HD:Systeemmap:Finder
AETE/AEUT resource version 0/144, language 0, script 0
"""
--- 2,6 ----
Level 1, version 1

! Generated from Moes:Systeemmap:Finder
AETE/AEUT resource version 0/144, language 0, script 0
"""
***************
*** 27,31 ****
_reply, _arguments, _attributes = self.send(_code, _subcode,
_arguments, _attributes)
! if _arguments.has_key('errn'):
raise aetools.Error, aetools.decodeerror(_arguments)
# XXXX Optionally decode result
--- 27,31 ----
_reply, _arguments, _attributes = self.send(_code, _subcode,
_arguments, _attributes)
! if _arguments.get('errn', 0):
raise aetools.Error, aetools.decodeerror(_arguments)
# XXXX Optionally decode result
***************
*** 52,56 ****
_reply, _arguments, _attributes = self.send(_code, _subcode,
_arguments, _attributes)
! if _arguments.has_key('errn'):
raise aetools.Error, aetools.decodeerror(_arguments)
# XXXX Optionally decode result
--- 52,56 ----
_reply, _arguments, _attributes = self.send(_code, _subcode,
_arguments, _attributes)
! if _arguments.get('errn', 0):
raise aetools.Error, aetools.decodeerror(_arguments)
# XXXX Optionally decode result
***************
*** 72,76 ****
_reply, _arguments, _attributes = self.send(_code, _subcode,
_arguments, _attributes)
! if _arguments.has_key('errn'):
raise aetools.Error, aetools.decodeerror(_arguments)
# XXXX Optionally decode result
--- 72,76 ----
_reply, _arguments, _attributes = self.send(_code, _subcode,
_arguments, _attributes)
! if _arguments.get('errn', 0):
raise aetools.Error, aetools.decodeerror(_arguments)
# XXXX Optionally decode result
***************
*** 92,96 ****
_reply, _arguments, _attributes = self.send(_code, _subcode,
_arguments, _attributes)
! if _arguments.has_key('errn'):
raise aetools.Error, aetools.decodeerror(_arguments)
# XXXX Optionally decode result
--- 92,96 ----
_reply, _arguments, _attributes = self.send(_code, _subcode,
_arguments, _attributes)
! if _arguments.get('errn', 0):
raise aetools.Error, aetools.decodeerror(_arguments)
# XXXX Optionally decode result
***************
*** 112,116 ****
_reply, _arguments, _attributes = self.send(_code, _subcode,
_arguments, _attributes)
! if _arguments.has_key('errn'):
raise aetools.Error, aetools.decodeerror(_arguments)
# XXXX Optionally decode result
--- 112,116 ----
_reply, _arguments, _attributes = self.send(_code, _subcode,
_arguments, _attributes)
! if _arguments.get('errn', 0):
raise aetools.Error, aetools.decodeerror(_arguments)
# XXXX Optionally decode result
***************
*** 118,124 ****
--- 118,129 ----
return _arguments['----']

+ _argmap_put_away = {
+ 'asking' : 'fask',
+ }
+
def put_away(self, _object, _attributes={}, **_arguments):
"""put away: Put away the specified object(s)
Required argument: the items to put away
+ Keyword argument asking: Specifies whether or not to present a dialog to confirm putting this item away.
Keyword argument _attributes: AppleEvent attribute dictionary
Returns: the object put away in its put-away location
***************
*** 127,137 ****
_subcode = 'ptwy'

! if _arguments: raise TypeError, 'No optional args expected'
_arguments['----'] = _object


_reply, _arguments, _attributes = self.send(_code, _subcode,
_arguments, _attributes)
! if _arguments.has_key('errn'):
raise aetools.Error, aetools.decodeerror(_arguments)
# XXXX Optionally decode result
--- 132,143 ----
_subcode = 'ptwy'

! aetools.keysubst(_arguments, self._argmap_put_away)
_arguments['----'] = _object

+ aetools.enumsubst(_arguments, 'fask', _Enum_bool)

_reply, _arguments, _attributes = self.send(_code, _subcode,
_arguments, _attributes)
! if _arguments.get('errn', 0):
raise aetools.Error, aetools.decodeerror(_arguments)
# XXXX Optionally decode result
***************
*** 153,157 ****
_reply, _arguments, _attributes = self.send(_code, _subcode,
_arguments, _attributes)
! if _arguments.has_key('errn'):
raise aetools.Error, aetools.decodeerror(_arguments)
# XXXX Optionally decode result
--- 159,163 ----
_reply, _arguments, _attributes = self.send(_code, _subcode,
_arguments, _attributes)
! if _arguments.get('errn', 0):
raise aetools.Error, aetools.decodeerror(_arguments)
# XXXX Optionally decode result
***************
*** 173,177 ****
_reply, _arguments, _attributes = self.send(_code, _subcode,
_arguments, _attributes)
! if _arguments.has_key('errn'):
raise aetools.Error, aetools.decodeerror(_arguments)
# XXXX Optionally decode result
--- 179,183 ----
_reply, _arguments, _attributes = self.send(_code, _subcode,
_arguments, _attributes)
! if _arguments.get('errn', 0):
raise aetools.Error, aetools.decodeerror(_arguments)
# XXXX Optionally decode result
***************
*** 294,297 ****
--- 300,304 ----
item._elemdict = {
}
+ _Enum_bool = None # XXXX enum bool not found!!

#
***************
*** 303,327 ****

_propdeclarations = {
! 'iwnd' : information_window,
! 'cdis' : disk,
! 'asmo' : modification_date,
! 'ascd' : creation_date,
! 'pnam' : name,
'labi' : label_index,
! 'ID ' : id,
! 'iimg' : icon,
'pidx' : index,
! 'dwnd' : content_space,
'cwin' : window,
! 'comt' : comment,
! 'dscr' : description,
'asdr' : folder,
! 'issl' : selected,
! 'pbnd' : bounds,
! 'ctnr' : container,
! 'phys' : physical_size,
! 'ptsz' : size,
! 'kind' : kind,
! 'posn' : position,
}

--- 310,334 ----

_propdeclarations = {
! 'posn' : position,
! 'kind' : kind,
! 'ptsz' : size,
! 'phys' : physical_size,
! 'dwnd' : content_space,
! 'pbnd' : bounds,
! 'issl' : selected,
'labi' : label_index,
! 'dscr' : description,
! 'comt' : comment,
! 'ctnr' : container,
'pidx' : index,
! 'iimg' : icon,
! 'ID ' : id,
'cwin' : window,
! 'pnam' : name,
! 'ascd' : creation_date,
! 'cdis' : disk,
! 'asmo' : modification_date,
'asdr' : folder,
! 'iwnd' : information_window,
}


Index: Obsolete_terms.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Mac/Lib/lib-scriptpackages/Finder/Obsolete_terms.py,v
retrieving revision 1.3
retrieving revision 1.3.20.1
diff -C2 -d -r1.3 -r1.3.20.1
*** Obsolete_terms.py 17 May 2001 12:39:48 -0000 1.3
--- Obsolete_terms.py 24 Apr 2002 09:21:47 -0000 1.3.20.1
***************
*** 2,6 ****
Level 1, version 1

! Generated from Macintosh HD:Systeemmap:Finder
AETE/AEUT resource version 0/144, language 0, script 0
"""
--- 2,6 ----
Level 1, version 1

! Generated from Moes:Systeemmap:Finder
AETE/AEUT resource version 0/144, language 0, script 0
"""
***************
*** 176,204 ****
#
_classdeclarations = {
! 'ccdv' : control_panel,
! 'iwnd' : information_window,
! 'ctnr' : container,
'capp' : application,
! 'sctr' : sharable_container,
! 'cwnd' : container_window,
'prcs' : process,
- 'file' : file,
'cobj' : item,
! 'qwnd' : status_window,
! 'swnd' : sharing_window,
}

_propdeclarations = {
! 'crtd' : creation_date_obsolete,
! 'cfol' : folder_obsolete,
! 'ctnr' : container,
! 'cwnd' : container_window,
! 'pvwp' : view_preferences,
'swnd' : sharing_window,
'sctr' : sharable_container,
'cobj' : item,
- 'modd' : modification_date_obsolete,
- 'islk' : locked_obsolete,
- 'fitp' : file_type_obsolete,
}

--- 176,204 ----
#
_classdeclarations = {
! 'qwnd' : status_window,
'capp' : application,
! 'swnd' : sharing_window,
! 'ccdv' : control_panel,
'prcs' : process,
'cobj' : item,
! 'file' : file,
! 'sctr' : sharable_container,
! 'cwnd' : container_window,
! 'ctnr' : container,
! 'iwnd' : information_window,
}

_propdeclarations = {
! 'fitp' : file_type_obsolete,
'swnd' : sharing_window,
+ 'cfol' : folder_obsolete,
+ 'crtd' : creation_date_obsolete,
+ 'islk' : locked_obsolete,
+ 'modd' : modification_date_obsolete,
'sctr' : sharable_container,
+ 'pvwp' : view_preferences,
+ 'cwnd' : container_window,
+ 'ctnr' : container,
'cobj' : item,
}


Index: Process_classes.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Mac/Lib/lib-scriptpackages/Finder/Process_classes.py,v
retrieving revision 1.2
retrieving revision 1.2.20.1
diff -C2 -d -r1.2 -r1.2.20.1
*** Process_classes.py 22 Aug 2000 20:35:17 -0000 1.2
--- Process_classes.py 24 Apr 2002 09:21:47 -0000 1.2.20.1
***************
*** 2,6 ****
Level 1, version 1

! Generated from Macintosh HD:Systeemmap:Finder
AETE/AEUT resource version 0/144, language 0, script 0
"""
--- 2,6 ----
Level 1, version 1

! Generated from Moes:Systeemmap:Finder
AETE/AEUT resource version 0/144, language 0, script 0
"""
***************
*** 121,144 ****
#
_classdeclarations = {
'pcda' : desk_accessory_process,
'pcap' : application_process,
- 'prcs' : process,
}

_propdeclarations = {
- 'revt' : accepts_remote_events,
- 'appf' : application_file,
- 'pnam' : name,
- 'file' : file,
- 'pusd' : partition_space_used,
- 'fcrt' : creator_type,
- 'c@#^' : _3c_Inheritance_3e_,
- 'asty' : file_type,
- 'hscr' : has_scripting_terminology,
- 'dafi' : desk_accessory_file,
- 'isab' : accepts_high_level_events,
- 'appt' : total_partition_size,
- 'pisf' : frontmost,
'pvis' : visible,
}

--- 121,144 ----
#
_classdeclarations = {
+ 'prcs' : process,
'pcda' : desk_accessory_process,
'pcap' : application_process,
}

_propdeclarations = {
'pvis' : visible,
+ 'pisf' : frontmost,
+ 'appt' : total_partition_size,
+ 'isab' : accepts_high_level_events,
+ 'dafi' : desk_accessory_file,
+ 'hscr' : has_scripting_terminology,
+ 'asty' : file_type,
+ 'c@#^' : _3c_Inheritance_3e_,
+ 'fcrt' : creator_type,
+ 'pusd' : partition_space_used,
+ 'file' : file,
+ 'pnam' : name,
+ 'appf' : application_file,
+ 'revt' : accepts_remote_events,
}


Index: Standard_Suite.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Mac/Lib/lib-scriptpackages/Finder/Standard_Suite.py,v
retrieving revision 1.2
retrieving revision 1.2.20.1
diff -C2 -d -r1.2 -r1.2.20.1
*** Standard_Suite.py 22 Aug 2000 20:35:17 -0000 1.2
--- Standard_Suite.py 24 Apr 2002 09:21:47 -0000 1.2.20.1
***************
*** 2,6 ****
Level 1, version 1

! Generated from Macintosh HD:Systeemmap:Finder
AETE/AEUT resource version 0/144, language 0, script 0
"""
--- 2,6 ----
Level 1, version 1

! Generated from Moes:Systeemmap:Finder
AETE/AEUT resource version 0/144, language 0, script 0
"""
***************
*** 11,15 ****
_code = 'CoRe'

! class Standard_Suite_Events:

_argmap_open = {
--- 11,16 ----
_code = 'CoRe'

! from StdSuites.Standard_Suite import *
! class Standard_Suite_Events(Standard_Suite_Events):

_argmap_open = {
***************
*** 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
--- 35,39 ----
_reply, _arguments, _attributes = self.send(_code, _subcode,
_arguments, _attributes)
! if _arguments.get('errn', 0):
raise aetools.Error, aetools.decodeerror(_arguments)
# XXXX Optionally decode result
***************
*** 59,63 ****
_reply, _arguments, _attributes = self.send(_code, _subcode,
_arguments, _attributes)
! if _arguments.has_key('errn'):
raise aetools.Error, aetools.decodeerror(_arguments)
# XXXX Optionally decode result
--- 60,64 ----
_reply, _arguments, _attributes = self.send(_code, _subcode,
_arguments, _attributes)
! if _arguments.get('errn', 0):
raise aetools.Error, aetools.decodeerror(_arguments)
# XXXX Optionally decode result
***************
*** 78,82 ****
_reply, _arguments, _attributes = self.send(_code, _subcode,
_arguments, _attributes)
! if _arguments.has_key('errn'):
raise aetools.Error, aetools.decodeerror(_arguments)
# XXXX Optionally decode result
--- 79,83 ----
_reply, _arguments, _attributes = self.send(_code, _subcode,
_arguments, _attributes)
! if _arguments.get('errn', 0):
raise aetools.Error, aetools.decodeerror(_arguments)
# XXXX Optionally decode result
***************
*** 98,102 ****
_reply, _arguments, _attributes = self.send(_code, _subcode,
_arguments, _attributes)
! if _arguments.has_key('errn'):
raise aetools.Error, aetools.decodeerror(_arguments)
# XXXX Optionally decode result
--- 99,103 ----
_reply, _arguments, _attributes = self.send(_code, _subcode,
_arguments, _attributes)
! if _arguments.get('errn', 0):
raise aetools.Error, aetools.decodeerror(_arguments)
# XXXX Optionally decode result
***************
*** 124,128 ****
_reply, _arguments, _attributes = self.send(_code, _subcode,
_arguments, _attributes)
! if _arguments.has_key('errn'):
raise aetools.Error, aetools.decodeerror(_arguments)
# XXXX Optionally decode result
--- 125,129 ----
_reply, _arguments, _attributes = self.send(_code, _subcode,
_arguments, _attributes)
! if _arguments.get('errn', 0):
raise aetools.Error, aetools.decodeerror(_arguments)
# XXXX Optionally decode result
***************
*** 150,154 ****
_reply, _arguments, _attributes = self.send(_code, _subcode,
_arguments, _attributes)
! if _arguments.has_key('errn'):
raise aetools.Error, aetools.decodeerror(_arguments)
# XXXX Optionally decode result
--- 151,155 ----
_reply, _arguments, _attributes = self.send(_code, _subcode,
_arguments, _attributes)
! if _arguments.get('errn', 0):
raise aetools.Error, aetools.decodeerror(_arguments)
# XXXX Optionally decode result
***************
*** 171,175 ****
_reply, _arguments, _attributes = self.send(_code, _subcode,
_arguments, _attributes)
! if _arguments.has_key('errn'):
raise aetools.Error, aetools.decodeerror(_arguments)
# XXXX Optionally decode result
--- 172,176 ----
_reply, _arguments, _attributes = self.send(_code, _subcode,
_arguments, _attributes)
! if _arguments.get('errn', 0):
raise aetools.Error, aetools.decodeerror(_arguments)
# XXXX Optionally decode result
***************
*** 203,207 ****
_reply, _arguments, _attributes = self.send(_code, _subcode,
_arguments, _attributes)
! if _arguments.has_key('errn'):
raise aetools.Error, aetools.decodeerror(_arguments)
# XXXX Optionally decode result
--- 204,208 ----
_reply, _arguments, _attributes = self.send(_code, _subcode,
_arguments, _attributes)
! if _arguments.get('errn', 0):
raise aetools.Error, aetools.decodeerror(_arguments)
# XXXX Optionally decode result
***************
*** 224,228 ****
_reply, _arguments, _attributes = self.send(_code, _subcode,
_arguments, _attributes)
! if _arguments.has_key('errn'):
raise aetools.Error, aetools.decodeerror(_arguments)
# XXXX Optionally decode result
--- 225,229 ----
_reply, _arguments, _attributes = self.send(_code, _subcode,
_arguments, _attributes)
! if _arguments.get('errn', 0):
raise aetools.Error, aetools.decodeerror(_arguments)
# XXXX Optionally decode result
***************
*** 255,259 ****
_reply, _arguments, _attributes = self.send(_code, _subcode,
_arguments, _attributes)
! if _arguments.has_key('errn'):
raise aetools.Error, aetools.decodeerror(_arguments)
# XXXX Optionally decode result
--- 256,260 ----
_reply, _arguments, _attributes = self.send(_code, _subcode,
_arguments, _attributes)
! if _arguments.get('errn', 0):
raise aetools.Error, aetools.decodeerror(_arguments)
# XXXX Optionally decode result
***************
*** 290,294 ****
_reply, _arguments, _attributes = self.send(_code, _subcode,
_arguments, _attributes)
! if _arguments.has_key('errn'):
raise aetools.Error, aetools.decodeerror(_arguments)
# XXXX Optionally decode result
--- 291,295 ----
_reply, _arguments, _attributes = self.send(_code, _subcode,
_arguments, _attributes)
! if _arguments.get('errn', 0):
raise aetools.Error, aetools.decodeerror(_arguments)
# XXXX Optionally decode result
***************
*** 310,314 ****
_reply, _arguments, _attributes = self.send(_code, _subcode,
_arguments, _attributes)
! if _arguments.has_key('errn'):
raise aetools.Error, aetools.decodeerror(_arguments)
# XXXX Optionally decode result
--- 311,315 ----
_reply, _arguments, _attributes = self.send(_code, _subcode,
_arguments, _attributes)
! if _arguments.get('errn', 0):
raise aetools.Error, aetools.decodeerror(_arguments)
# XXXX Optionally decode result
***************
*** 316,319 ****
--- 317,322 ----
return _arguments['----']

+ import AppleScript_Suite
+ import AppleScript_Suite
_Enum_list = None # XXXX enum list not found!!
_Enum_bool = None # XXXX enum bool not found!!

Index: Type_Definitions.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Mac/Lib/lib-scriptpackages/Finder/Type_Definitions.py,v
retrieving revision 1.3
retrieving revision 1.3.20.1
diff -C2 -d -r1.3 -r1.3.20.1
*** Type_Definitions.py 17 May 2001 12:39:44 -0000 1.3
--- Type_Definitions.py 24 Apr 2002 09:21:47 -0000 1.3.20.1
***************
*** 2,6 ****
Level 1, version 1

! Generated from Macintosh HD:Systeemmap:Finder
AETE/AEUT resource version 0/144, language 0, script 0
"""
--- 2,6 ----
Level 1, version 1

! Generated from Moes:Systeemmap:Finder
AETE/AEUT resource version 0/144, language 0, script 0
"""
***************
*** 222,265 ****
#
_classdeclarations = {
- 'clbl' : label,
- 'ifam' : icon_family,
- 'alst' : alias_list,
'cprf' : preferences,
}

_propdeclarations = {
'ics#' : small_monochrome_icon_and_mask,
! 'scda' : shows_creation_date,
! 'uswg' : uses_wide_grid,
'sprg' : spring_open_folders,
! 'is32' : small_32_bit_icon,
! 'ICN#' : large_monochrome_icon_and_mask,
! 'cwin' : window,
! 'sdat' : shows_modification_date,
! 'iisz' : spatial_view_icon_size,
! 'barr' : button_view_arrangement,
! 'il32' : large_32_bit_icon,
'l8mk' : large_8_bit_mask,
- 'scom' : shows_comments,
- 'bisz' : button_view_icon_size,
- 'lisz' : list_view_icon_size,
- 'slbl' : shows_label,
- 'icl4' : large_4_bit_icon,
- 'usme' : uses_simple_menus,
- 'urdt' : uses_relative_dates,
'vfnt' : view_font,
! 'sfsz' : calculates_folder_sizes,
'pidx' : index,
! 'icl8' : large_8_bit_icon,
! 'ssiz' : shows_size,
! 'ics8' : small_8_bit_mask,
! 'colr' : color,
! 'svrs' : shows_version,
'pnam' : name,
! 'sknd' : shows_kind,
! 'vfsz' : view_font_size,
! 'iarr' : spatial_view_arrangement,
! 'ics4' : small_4_bit_icon,
! 'dela' : delay_before_springing,
}

--- 222,265 ----
#
_classdeclarations = {
'cprf' : preferences,
+ 'alst' : alias_list,
+ 'ifam' : icon_family,
+ 'clbl' : label,
}

_propdeclarations = {
+ 'dela' : delay_before_springing,
+ 'ics4' : small_4_bit_icon,
+ 'iarr' : spatial_view_arrangement,
+ 'barr' : button_view_arrangement,
'ics#' : small_monochrome_icon_and_mask,
! 'sknd' : shows_kind,
! 'svrs' : shows_version,
! 'colr' : color,
! 'ics8' : small_8_bit_mask,
! 'icl8' : large_8_bit_icon,
'sprg' : spring_open_folders,
! 'vfsz' : view_font_size,
! 'sfsz' : calculates_folder_sizes,
'l8mk' : large_8_bit_mask,
'vfnt' : view_font,
! 'urdt' : uses_relative_dates,
! 'usme' : uses_simple_menus,
! 'icl4' : large_4_bit_icon,
! 'slbl' : shows_label,
! 'lisz' : list_view_icon_size,
! 'scda' : shows_creation_date,
! 'bisz' : button_view_icon_size,
'pidx' : index,
! 'scom' : shows_comments,
! 'iisz' : spatial_view_icon_size,
! 'sdat' : shows_modification_date,
! 'cwin' : window,
! 'ICN#' : large_monochrome_icon_and_mask,
! 'is32' : small_32_bit_icon,
'pnam' : name,
! 'il32' : large_32_bit_icon,
! 'uswg' : uses_wide_grid,
! 'ssiz' : shows_size,
}


Index: Window_classes.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Mac/Lib/lib-scriptpackages/Finder/Window_classes.py,v
retrieving revision 1.3
retrieving revision 1.3.20.1
diff -C2 -d -r1.3 -r1.3.20.1
*** Window_classes.py 17 May 2001 12:39:36 -0000 1.3
--- Window_classes.py 24 Apr 2002 09:21:47 -0000 1.3.20.1
***************
*** 2,6 ****
Level 1, version 1

! Generated from Macintosh HD:Systeemmap:Finder
AETE/AEUT resource version 0/144, language 0, script 0
"""
--- 2,6 ----
Level 1, version 1

! Generated from Moes:Systeemmap:Finder
AETE/AEUT resource version 0/144, language 0, script 0
"""
***************
*** 51,56 ****
which = 'pmod'
want = 'bool'
!
! resizable = titled
class zoomable(aetools.NProperty):
"""zoomable - Is the window zoomable? """
--- 51,58 ----
which = 'pmod'
want = 'bool'
! class resizable(aetools.NProperty):
! """resizable - Is the window resizable? """
! which = 'prsz'
! want = 'bool'
class zoomable(aetools.NProperty):
"""zoomable - Is the window zoomable? """
***************
*** 228,231 ****
--- 230,239 ----
information_windows = information_window

+ class view_options_window(aetools.ComponentItem):
+ """view options window - A View Options window """
+ want = 'vwnd'
+
+ view_options_windows = view_options_window
+
class preferences_window(aetools.ComponentItem):
"""preferences window - The Finder Preferences window """
***************
*** 306,309 ****
--- 314,323 ----
information_window._elemdict = {
}
+ view_options_window._propdict = {
+ '_3c_Inheritance_3e_' : _3c_Inheritance_3e_,
+ 'item' : item,
+ }
+ view_options_window._elemdict = {
+ }
preferences_window._propdict = {
'_3c_Inheritance_3e_' : _3c_Inheritance_3e_,
***************
*** 326,386 ****
#
_classdeclarations = {
'dwnd' : content_space,
'iwnd' : information_window,
'lwnd' : clipping_window,
- 'cwnd' : container_window,
- 'cwin' : window,
- 'pwnd' : preferences_window,
}

_propdeclarations = {
! 'pidx' : index,
! 'scda' : shows_creation_date,
! 'vers' : version,
! 'aslk' : locked,
! 'pvew' : view,
! 'sdat' : shows_modification_date,
! 'drwr' : popup,
! 'sprt' : suggested_size,
! 'pvis' : visible,
! 'ptsz' : size,
! 'pull' : pulled_open,
! 'slbl' : shows_label,
! 'wshd' : collapsed,
! 'ctnr' : container,
! 'ascd' : creation_date,
! 'warn' : warns_before_emptying,
! 'sord' : sort_direction,
! 'iszm' : zoomable,
! 'comt' : comment,
! 'svew' : previous_list_view,
! 'svrs' : shows_version,
! 'sknd' : shows_kind,
! 'phys' : physical_size,
'iarr' : spatial_view_arrangement,
! 'posn' : position,
! 'ptit' : titled,
! 'cobj' : item,
! 'asmo' : modification_date,
! 'ssiz' : shows_size,
! 'pnam' : name,
'pbnd' : bounds,
- 'mprt' : minimum_size,
'iimg' : icon,
'cuss' : has_custom_view_settings,
! 'appt' : preferred_size,
! 'scom' : shows_comments,
! 'pmod' : modal,
! 'panl' : current_panel,
! 'urdt' : uses_relative_dates,
! 'zumf' : zoomed_full_size,
! 'sfsz' : calculates_folder_sizes,
! 'c@#^' : _3c_Inheritance_3e_,
'isfl' : floating,
! 'hclb' : closeable,
! 'pspd' : stationery,
! 'pzum' : zoomed,
! 'barr' : button_view_arrangement,
! 'ver2' : product_version,
}

--- 340,402 ----
#
_classdeclarations = {
+ 'pwnd' : preferences_window,
+ 'vwnd' : view_options_window,
+ 'cwin' : window,
+ 'cwnd' : container_window,
'dwnd' : content_space,
'iwnd' : information_window,
'lwnd' : clipping_window,
}

_propdeclarations = {
! 'prsz' : resizable,
! 'barr' : button_view_arrangement,
! 'pzum' : zoomed,
'iarr' : spatial_view_arrangement,
! 'hclb' : closeable,
! 'c@#^' : _3c_Inheritance_3e_,
! 'ver2' : product_version,
! 'sfsz' : calculates_folder_sizes,
! 'sprt' : suggested_size,
! 'zumf' : zoomed_full_size,
! 'urdt' : uses_relative_dates,
! 'panl' : current_panel,
! 'pmod' : modal,
! 'pspd' : stationery,
! 'scom' : shows_comments,
! 'appt' : preferred_size,
! 'aslk' : locked,
'pbnd' : bounds,
'iimg' : icon,
+ 'mprt' : minimum_size,
+ 'pnam' : name,
+ 'ssiz' : shows_size,
+ 'asmo' : modification_date,
+ 'cobj' : item,
+ 'ptit' : titled,
+ 'posn' : position,
'cuss' : has_custom_view_settings,
! 'phys' : physical_size,
! 'sknd' : shows_kind,
! 'svrs' : shows_version,
! 'svew' : previous_list_view,
! 'comt' : comment,
! 'iszm' : zoomable,
! 'sord' : sort_direction,
! 'ascd' : creation_date,
! 'ctnr' : container,
! 'wshd' : collapsed,
! 'slbl' : shows_label,
! 'pull' : pulled_open,
! 'ptsz' : size,
! 'pvis' : visible,
! 'pidx' : index,
'isfl' : floating,
! 'warn' : warns_before_emptying,
! 'drwr' : popup,
! 'sdat' : shows_modification_date,
! 'pvew' : view,
! 'scda' : shows_creation_date,
! 'vers' : version,
}


Index: __init__.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Mac/Lib/lib-scriptpackages/Finder/__init__.py,v
retrieving revision 1.2
retrieving revision 1.2.20.1
diff -C2 -d -r1.2 -r1.2.20.1
*** __init__.py 22 Aug 2000 20:35:17 -0000 1.2
--- __init__.py 24 Apr 2002 09:21:47 -0000 1.2.20.1
***************
*** 1,4 ****
"""
! Package generated from Macintosh HD:Systeemmap:Finder
Resource aete resid 0
"""
--- 1,4 ----
"""
! Package generated from Moes:Systeemmap:Finder
Resource aete resid 0
"""