AbstractSettingsApplication.st
changeset 18744 31b4abe6811b
parent 18743 bec660fe7335
child 18763 6a3d3a6ac24e
equal deleted inserted replaced
18743:bec660fe7335 18744:31b4abe6811b
    62 		allowEmptyStatements warnAboutPossibleSTCCompilationProblems
    62 		allowEmptyStatements warnAboutPossibleSTCCompilationProblems
    63 		warnAboutReferenceToPrivateClass warnAboutShortLocalVariableNames
    63 		warnAboutReferenceToPrivateClass warnAboutShortLocalVariableNames
    64 		warnAboutPossiblyUnimplementedSelectors
    64 		warnAboutPossiblyUnimplementedSelectors
    65 		allowExtendedBinarySelectors warnAboutMissingMethodComment
    65 		allowExtendedBinarySelectors warnAboutMissingMethodComment
    66 		allowAssignmentToPoolVariable warnPlausibilityChecks
    66 		allowAssignmentToPoolVariable warnPlausibilityChecks
    67 		allowParagraph enableParagraph'
    67 		allowParagraph enableParagraph
       
    68 		warnAboutPossiblyUninitializedLocals'
    68 	classVariableNames:''
    69 	classVariableNames:''
    69 	poolDictionaries:''
    70 	poolDictionaries:''
    70 	privateIn:AbstractSettingsApplication
    71 	privateIn:AbstractSettingsApplication
    71 !
    72 !
    72 
    73 
  2053      UIHelpTool openOnClass:AbstractSettingsApplication::ByteCodeCompilerSettingsAppl
  2054      UIHelpTool openOnClass:AbstractSettingsApplication::ByteCodeCompilerSettingsAppl
  2054     "
  2055     "
  2055 
  2056 
  2056     <resource: #help>
  2057     <resource: #help>
  2057 
  2058 
  2058     ^ super helpSpec addPairsFrom: #(
  2059     ^ super helpSpec addPairsFrom:#(
  2059 
       
  2060 #arraysAreImmutable
       
  2061 'Array and ByteArray literals are readonly objects, which cannot be modified.
       
  2062 Prevents constant arrays as returned from a method to be modified elsewhere by accident'
       
  2063 
       
  2064 #fullDebugInfo
       
  2065 'Include more debug support in the generated code.
       
  2066 Especially restartability and returnability of methods in the debugger are improved'
       
  2067 
       
  2068 #stringsAreImmutable
       
  2069 'String literals are readonly objects, which cannot be modified.
       
  2070 Prevents constant strings as returned from a method to be modified elsewhere by accident'
       
  2071 
  2060 
  2072 #allowAssignmentToPoolVariable
  2061 #allowAssignmentToPoolVariable
  2073 'Pool variables should only be initialized in the pool itself and not modified elsewhere later.\This flag makes pool variables writable.\May be required to fileIn code from Squeak and other Smalltalk dialects'
  2062 'Pool variables should only be initialized in the pool itself and not modified elsewhere later.\This flag makes pool variables writable.\May be required to fileIn code from Squeak and other Smalltalk dialects'
  2074 
  2063 
  2075 #allowDollarInIdentifier
  2064 #allowDollarInIdentifier
  2076 'Check this to allow dollar characters in identifiers.\This may be required to filein old code for VAX Smalltalk,\but is not compatible to most other Smalltalk dialects.'
  2065 'Check this to allow dollar characters in identifiers.\This may be required to filein old code for VAX Smalltalk,\but is not compatible to most other Smalltalk dialects.'
  2077 
  2066 
       
  2067 #allowDolphinExtensions
       
  2068 'Allow Dolphin-Smalltalk specific syntax extensions'
       
  2069 
       
  2070 #allowEmptyStatements
       
  2071 'Allow empty statements'
       
  2072 
       
  2073 #allowExtendedBinarySelectors
       
  2074 'Allow extended binary selectors (more than 2 characters, including "^", "|" and "#")'
       
  2075 
       
  2076 #allowFixedPointLiterals
       
  2077 'Allow <v>s<n> fixed point literals (scaled or fixed-point decimal v with n digits precision)'
       
  2078 
       
  2079 #allowOldStyleAssignment
       
  2080 'Allow "_" as assignment. May be required to filein Squeak code'
       
  2081 
  2078 #allowParagraphInIdentifier
  2082 #allowParagraphInIdentifier
  2079 'Check this to allow paragraph characters in identifiers.\This is not compatible to other Smalltalk dialects.'
  2083 'Check this to allow paragraph characters in identifiers.\This is not compatible to other Smalltalk dialects.'
  2080 
  2084 
  2081 #allowDolphinExtensions
       
  2082 'Allow Dolphin-Smalltalk specific syntax extensions'
       
  2083 
       
  2084 #allowEmptyStatements
       
  2085 'Allow empty statements'
       
  2086 
       
  2087 #allowExtendedBinarySelectors
       
  2088 'Allow extended binary selectors (more than 2 characters, including "^", "|" and "#")'
       
  2089 
       
  2090 #allowFixedPointLiterals
       
  2091 'Allow <v>s<n> fixed point literals (scaled or fixed-point decimal v with n digits precision)'
       
  2092 
       
  2093 #allowOldStyleAssignment
       
  2094 'Allow "_" as assignment. May be required to filein Squeak code'
       
  2095 
       
  2096 #allowQualifiedNames
  2085 #allowQualifiedNames
  2097 'Allow Visualworks qualified names.\This enables ''dot''-notation for namespace prefixes and the {..} qualified name syntax.\May be required to filein Visualworks code'
  2086 'Allow Visualworks qualified names.\This enables ''dot''-notation for namespace prefixes and the {..} qualified name syntax.\May be required to filein Visualworks code'
  2098 
  2087 
  2099 #allowReservedWordsAsSelectors
  2088 #allowReservedWordsAsSelectors
  2100 'Allow "self", "super" as selectors. May be required to filein code from other Smalltalk dialects'
  2089 'Allow "self", "super" as selectors. May be required to filein code from other Smalltalk dialects'
  2108 #allowVisualAgeESSymbolLiterals
  2097 #allowVisualAgeESSymbolLiterals
  2109 'Allow VisualAge ESsymbol literals (##xxx).\Will generate regular symbols when compiled'
  2098 'Allow VisualAge ESsymbol literals (##xxx).\Will generate regular symbols when compiled'
  2110 
  2099 
  2111 #allowVisualAgePrimitives
  2100 #allowVisualAgePrimitives
  2112 'Allow VisualAge primitive specification syntax'
  2101 'Allow VisualAge primitive specification syntax'
  2113 "/
  2102 
  2114 "/#warnAboutPossibleSTCCompilationProblems
  2103 #arraysAreImmutable
  2115 "/''
  2104 'Array and ByteArray literals are readonly objects, which cannot be modified. Prevents constant arrays as returned from a method to be modified elsewhere by accident'
  2116 "/
  2105 
       
  2106 #fullDebugInfo
       
  2107 'Include more debug support in the generated code. Especially restartability and returnability of methods in the debugger are improved'
       
  2108 
       
  2109 #reenableSuppressedWarnings
       
  2110 'Reenable warnings which were previously suppressed for individual methods'
       
  2111 
       
  2112 #stringsAreImmutable
       
  2113 'String literals are readonly objects, which cannot be modified. Prevents constant strings as returned from a method to be modified elsewhere by accident'
       
  2114 
       
  2115 #warnAboutBadComments
       
  2116 'Warn if a comment is empty or consists of whitespace only'
       
  2117 
       
  2118 #warnAboutMissingMethodComment
       
  2119 'Warn if a method has no comment'
       
  2120 
       
  2121 #warnAboutNonLowercaseLocalVariableNames
       
  2122 'By convention, local variables should start with a lowercase character'
       
  2123 
  2117 #warnAboutPossiblyUnimplementedSelectors
  2124 #warnAboutPossiblyUnimplementedSelectors
  2118 'Warn about a possibly unimplemented selector in a message send'
  2125 'Warn about a possibly unimplemented selector in a message send'
  2119 
  2126 
       
  2127 #warnAboutPossiblyUninitializedLocals
       
  2128 'Warn if a local variable might be uninitialized (nil) when used.\This might generate false warnings, if inside a block which is executed later,\after the variable gets a value assigned'
       
  2129 
  2120 #warnAboutReferenceToPrivateClass
  2130 #warnAboutReferenceToPrivateClass
  2121 'Warn when another classes private class is referenced.\This is considered "bad style" and should be replaced by a getter-call to the owning class or the privae class be made public'
  2131 'Warn when another classes private class is referenced.\This is considered "bad style" and should be replaced by a getter-call to the owning class or the privae class be made public'
  2122 
  2132 
       
  2133 #warnAboutShortLocalVariableNames
       
  2134 'Warn if a variable''s name is too short to be descriptive'
       
  2135 
       
  2136 #warnAboutWrongVariableNames
       
  2137 'Checks for bad articles in variable names (eg. "anUser")'
       
  2138 
       
  2139 #warnCommonMistakes
       
  2140 'Warn about code which is likely to be mistaken, based on heuristics'
       
  2141 
  2123 #warnDollarInIdentifier
  2142 #warnDollarInIdentifier
  2124 'Warn if an identifier contains a dollar character.\This is not allowed in most other Smalltalk dialects.'
  2143 'Warn if an identifier contains a dollar character.\This is not allowed in most other Smalltalk dialects.'
  2125 
  2144 
       
  2145 #warnInconsistentReturnValues
       
  2146 'Warn if a method returns both boolean and non-boolean values (usually a ^self)'
       
  2147 
       
  2148 #warnOldStyleAssignment
       
  2149 'Warn if an old style assignment ("_" character) is used instead of the modern ":=".'
       
  2150 
  2126 #warnParagraphInIdentifier
  2151 #warnParagraphInIdentifier
  2127 'Warn if an identifier contains a paragraph character.\This is not allowed in other Smalltalk dialects.'
  2152 'Warn if an identifier contains a paragraph character.\This is not allowed in other Smalltalk dialects.'
  2128 
  2153 
  2129 #warnOldStyleAssignment
       
  2130 'Warn if an old style assignment ("_" character) is used instead of the modern ":=".'
       
  2131 
       
  2132 #warnPlausibilityChecks
  2154 #warnPlausibilityChecks
  2133 'Perform plausibility checks and warn about any such possible problem'
  2155 'Perform plausibility checks and warn about any such possible problem'
  2134 
  2156 
  2135 #warnPossibleIncompatibilities
  2157 #warnPossibleIncompatibilities
  2136 'Warn about other possible incompatibilities'
  2158 'Warn about other possible incompatibilities'
  2137 "/
  2159 
  2138 #warnSTXSpecials
  2160 #warnSTXSpecials
  2139 'Warn when ST/X special syntax is encountered.\Such constructs may be unportable to other Smalltalk dialects'
  2161 'Warn when ST/X special syntax is encountered.\Such constructs may be unportable to other Smalltalk dialects'
  2140 "/
  2162 
  2141 #warnUnderscoreInIdentifier
  2163 #warnUnderscoreInIdentifier
  2142 'Warn if an identifier contains an underline character.\This is not allowed in some old Smalltalk dialects.'
  2164 'Warn if an identifier contains an underline character.\This is not allowed in some old Smalltalk dialects.'
  2143 
  2165 
  2144 #warnCommonMistakes
       
  2145 'Warn about code which is likely to be mistaken, based on heuristics'
       
  2146 
       
  2147 #warnInconsistentReturnValues
       
  2148 'Warn if a method returns both boolean and non-boolean values (usually a ^self)'
       
  2149 
       
  2150 #warnAboutMissingMethodComment
       
  2151 'Warn if a method has no comment'
       
  2152 
       
  2153 #warnAboutBadComments
       
  2154 'Warn if a comment is empty or consists of whitespace only'
       
  2155 
       
  2156 #warnAboutShortLocalVariableNames
       
  2157 'Warn if a variable''s name is too short to be descriptive'
       
  2158 
       
  2159 #warnAboutNonLowercaseLocalVariableNames
       
  2160 'By convention, local variables should start with a lowercase character'
       
  2161 
       
  2162 #warnAboutWrongVariableNames
       
  2163 'Checks for bad articles in variable names (eg. "anUser")'
       
  2164 
       
  2165 #warnUnusedVars
  2166 #warnUnusedVars
  2166 'Warn if a local variable is never used'
  2167 'Warn if a local variable is never used'
  2167 
  2168 
  2168 #warnings
  2169 #warnings
  2169 'Turn off all warnings'
  2170 'Turn off all warnings'
  2170 
  2171 
  2171 )
  2172 )
  2172 
  2173 
  2173     "Modified: / 28-02-2019 / 12:52:09 / Claus Gittinger"
  2174     "Modified: / 23-04-2019 / 23:23:03 / Claus Gittinger"
  2174 ! !
  2175 ! !
  2175 
  2176 
  2176 !AbstractSettingsApplication::ByteCodeCompilerSettingsAppl class methodsFor:'image specs'!
  2177 !AbstractSettingsApplication::ByteCodeCompilerSettingsAppl class methodsFor:'image specs'!
  2177 
  2178 
  2178 defaultIcon
  2179 defaultIcon
  2271     <resource: #canvas>
  2272     <resource: #canvas>
  2272 
  2273 
  2273     ^ 
  2274     ^ 
  2274     #(FullSpec
  2275     #(FullSpec
  2275        name: windowSpec
  2276        name: windowSpec
  2276        uuid: '9c92d4c6-1f3f-11b2-903e-3065ec8abe8a'
  2277        uuid: 'e0a1dd6e-660d-11e9-bfcd-b8f6b1108e05'
  2277        window: 
  2278        window: 
  2278       (WindowSpec
  2279       (WindowSpec
  2279          label: 'Byte Code Compiler Settings'
  2280          label: 'Byte Code Compiler Settings'
  2280          name: 'Byte Code Compiler Settings'
  2281          name: 'Byte Code Compiler Settings'
  2281          flags: 1
  2282          flags: 1
  2282          uuid: '9c92dc14-1f3f-11b2-903e-3065ec8abe8a'
  2283          uuid: '9c92dc14-1f3f-11b2-903e-3065ec8abe8a'
  2283          min: (Point 10 10)
  2284          min: (Point 10 10)
  2284          bounds: (Rectangle 0 0 665 706)
  2285          bounds: (Rectangle 0 0 664 712)
  2285        )
  2286        )
  2286        component: 
  2287        component: 
  2287       (SpecCollection
  2288       (SpecCollection
  2288          collection: (
  2289          collection: (
  2289           (VerticalPanelViewSpec
  2290           (VerticalPanelViewSpec
  2301                    label: 'Just in Time Compilation to Machine Code'
  2302                    label: 'Just in Time Compilation to Machine Code'
  2302                    name: 'JustInTimeCompilation'
  2303                    name: 'JustInTimeCompilation'
  2303                    uuid: '9c92e8da-1f3f-11b2-903e-3065ec8abe8a'
  2304                    uuid: '9c92e8da-1f3f-11b2-903e-3065ec8abe8a'
  2304                    model: justInTimeCompilation
  2305                    model: justInTimeCompilation
  2305                    translateLabel: true
  2306                    translateLabel: true
  2306                    extent: (Point 665 25)
  2307                    extent: (Point 664 25)
  2307                  )
  2308                  )
  2308                 (DividerSpec
  2309                 (DividerSpec
  2309                    name: 'Separator3'
  2310                    name: 'Separator3'
  2310                    uuid: '9c92ed9e-1f3f-11b2-903e-3065ec8abe8a'
  2311                    uuid: '9c92ed9e-1f3f-11b2-903e-3065ec8abe8a'
  2311                    extent: (Point 665 3)
  2312                    extent: (Point 664 3)
  2312                  )
  2313                  )
  2313                 (ViewSpec
  2314                 (ViewSpec
  2314                    name: 'Box1'
  2315                    name: 'Box1'
  2315                    uuid: '9c92f0aa-1f3f-11b2-903e-3065ec8abe8a'
  2316                    uuid: '9c92f0aa-1f3f-11b2-903e-3065ec8abe8a'
  2316                    component: 
  2317                    component: 
  2332                                name: 'AllowUnderscoreInIdentifiers'
  2333                                name: 'AllowUnderscoreInIdentifiers'
  2333                                activeHelpKey: allowUnderscoreInIdentifier
  2334                                activeHelpKey: allowUnderscoreInIdentifier
  2334                                uuid: '9c92f618-1f3f-11b2-903e-3065ec8abe8a'
  2335                                uuid: '9c92f618-1f3f-11b2-903e-3065ec8abe8a'
  2335                                model: allowUnderscoreInIdentifier
  2336                                model: allowUnderscoreInIdentifier
  2336                                translateLabel: true
  2337                                translateLabel: true
  2337                                extent: (Point 313 22)
  2338                                extent: (Point 312 22)
  2338                              )
  2339                              )
  2339                             (CheckBoxSpec
  2340                             (CheckBoxSpec
  2340                                label: 'Allow Dollar in Identifiers ($)'
  2341                                label: 'Allow Dollar in Identifiers ($)'
  2341                                name: 'AllowDollarInIdentifiers'
  2342                                name: 'AllowDollarInIdentifiers'
  2342                                activeHelpKey: allowDollarInIdentifier
  2343                                activeHelpKey: allowDollarInIdentifier
  2343                                uuid: '9c92f8e8-1f3f-11b2-903e-3065ec8abe8a'
  2344                                uuid: '9c92f8e8-1f3f-11b2-903e-3065ec8abe8a'
  2344                                model: allowDollarInIdentifier
  2345                                model: allowDollarInIdentifier
  2345                                translateLabel: true
  2346                                translateLabel: true
  2346                                extent: (Point 313 22)
  2347                                extent: (Point 312 22)
  2347                              )
  2348                              )
  2348                             (CheckBoxSpec
  2349                             (CheckBoxSpec
  2349                                label: 'Allow VW3 QualifiedNames'
  2350                                label: 'Allow VW3 QualifiedNames'
  2350                                name: 'AllowVW3QualifiedNames'
  2351                                name: 'AllowVW3QualifiedNames'
  2351                                activeHelpKey: allowQualifiedNames
  2352                                activeHelpKey: allowQualifiedNames
  2352                                uuid: '9c92fb40-1f3f-11b2-903e-3065ec8abe8a'
  2353                                uuid: '9c92fb40-1f3f-11b2-903e-3065ec8abe8a'
  2353                                model: allowQualifiedNames
  2354                                model: allowQualifiedNames
  2354                                translateLabel: true
  2355                                translateLabel: true
  2355                                extent: (Point 313 22)
  2356                                extent: (Point 312 22)
  2356                              )
  2357                              )
  2357                             (CheckBoxSpec
  2358                             (CheckBoxSpec
  2358                                label: 'Allow OldStyle Assignment (_)'
  2359                                label: 'Allow OldStyle Assignment (_)'
  2359                                name: 'AllowOldStyleAssignment'
  2360                                name: 'AllowOldStyleAssignment'
  2360                                activeHelpKey: allowOldStyleAssignment
  2361                                activeHelpKey: allowOldStyleAssignment
  2361                                uuid: '9c92fd7a-1f3f-11b2-903e-3065ec8abe8a'
  2362                                uuid: '9c92fd7a-1f3f-11b2-903e-3065ec8abe8a'
  2362                                model: allowOldStyleAssignment
  2363                                model: allowOldStyleAssignment
  2363                                translateLabel: true
  2364                                translateLabel: true
  2364                                extent: (Point 313 22)
  2365                                extent: (Point 312 22)
  2365                              )
  2366                              )
  2366                             (CheckBoxSpec
  2367                             (CheckBoxSpec
  2367                                label: 'Allow Reserved Words as Selector (self)'
  2368                                label: 'Allow Reserved Words as Selector (self)'
  2368                                name: 'AllowReservedWordsAsSelector'
  2369                                name: 'AllowReservedWordsAsSelector'
  2369                                activeHelpKey: allowReservedWordsAsSelectors
  2370                                activeHelpKey: allowReservedWordsAsSelectors
  2370                                uuid: '9c92ffaa-1f3f-11b2-903e-3065ec8abe8a'
  2371                                uuid: '9c92ffaa-1f3f-11b2-903e-3065ec8abe8a'
  2371                                model: allowReservedWordsAsSelectors
  2372                                model: allowReservedWordsAsSelectors
  2372                                translateLabel: true
  2373                                translateLabel: true
  2373                                extent: (Point 313 22)
  2374                                extent: (Point 312 22)
  2374                              )
  2375                              )
  2375                             (CheckBoxSpec
  2376                             (CheckBoxSpec
  2376                                label: 'Allow Extended Binary Selectors'
  2377                                label: 'Allow Extended Binary Selectors'
  2377                                name: 'CheckBox4'
  2378                                name: 'CheckBox4'
  2378                                activeHelpKey: allowExtendedBinarySelectors
  2379                                activeHelpKey: allowExtendedBinarySelectors
  2379                                uuid: '9c9301e4-1f3f-11b2-903e-3065ec8abe8a'
  2380                                uuid: '9c9301e4-1f3f-11b2-903e-3065ec8abe8a'
  2380                                model: allowExtendedBinarySelectors
  2381                                model: allowExtendedBinarySelectors
  2381                                translateLabel: true
  2382                                translateLabel: true
  2382                                extent: (Point 313 22)
  2383                                extent: (Point 312 22)
  2383                              )
  2384                              )
  2384                             (CheckBoxSpec
  2385                             (CheckBoxSpec
  2385                                label: 'Allow Assignment to Pool Variable'
  2386                                label: 'Allow Assignment to Pool Variable'
  2386                                name: 'CheckBox6'
  2387                                name: 'CheckBox6'
  2387                                activeHelpKey: allowAssignmentToPoolVariable
  2388                                activeHelpKey: allowAssignmentToPoolVariable
  2388                                uuid: '9c930450-1f3f-11b2-903e-3065ec8abe8a'
  2389                                uuid: '9c930450-1f3f-11b2-903e-3065ec8abe8a'
  2389                                model: allowAssignmentToPoolVariable
  2390                                model: allowAssignmentToPoolVariable
  2390                                translateLabel: true
  2391                                translateLabel: true
  2391                                extent: (Point 313 22)
  2392                                extent: (Point 312 22)
  2392                              )
  2393                              )
  2393                             )
  2394                             )
  2394                           
  2395                           
  2395                          )
  2396                          )
  2396                        )
  2397                        )
  2473                          )
  2474                          )
  2474                        )
  2475                        )
  2475                       )
  2476                       )
  2476                     
  2477                     
  2477                    )
  2478                    )
  2478                    extent: (Point 665 157)
  2479                    extent: (Point 664 157)
  2479                  )
  2480                  )
  2480                 (DividerSpec
  2481                 (DividerSpec
  2481                    name: 'Separator4'
  2482                    name: 'Separator4'
  2482                    uuid: '9c931954-1f3f-11b2-903e-3065ec8abe8a'
  2483                    uuid: '9c931954-1f3f-11b2-903e-3065ec8abe8a'
  2483                    extent: (Point 665 1)
  2484                    extent: (Point 664 1)
  2484                  )
  2485                  )
  2485                 (CheckBoxSpec
  2486                 (CheckBoxSpec
  2486                    label: 'Warnings'
  2487                    label: 'Warnings'
  2487                    name: 'Warnings'
  2488                    name: 'Warnings'
  2488                    activeHelpKey: warnings
  2489                    activeHelpKey: warnings
  2489                    uuid: '9c931b7a-1f3f-11b2-903e-3065ec8abe8a'
  2490                    uuid: '9c931b7a-1f3f-11b2-903e-3065ec8abe8a'
  2490                    model: warnings
  2491                    model: warnings
  2491                    translateLabel: true
  2492                    translateLabel: true
  2492                    extent: (Point 665 22)
  2493                    extent: (Point 664 22)
  2493                  )
  2494                  )
  2494                 (ViewSpec
  2495                 (ViewSpec
  2495                    name: 'Box2'
  2496                    name: 'Box2'
  2496                    uuid: '9c931e36-1f3f-11b2-903e-3065ec8abe8a'
  2497                    uuid: '9c931e36-1f3f-11b2-903e-3065ec8abe8a'
  2497                    component: 
  2498                    component: 
  2514                                activeHelpKey: warnSTXSpecials
  2515                                activeHelpKey: warnSTXSpecials
  2515                                uuid: '9c9322be-1f3f-11b2-903e-3065ec8abe8a'
  2516                                uuid: '9c9322be-1f3f-11b2-903e-3065ec8abe8a'
  2516                                enableChannel: warnings
  2517                                enableChannel: warnings
  2517                                model: warnSTXSpecials
  2518                                model: warnSTXSpecials
  2518                                translateLabel: true
  2519                                translateLabel: true
  2519                                extent: (Point 313 22)
  2520                                extent: (Point 312 22)
  2520                              )
  2521                              )
  2521                             (CheckBoxSpec
  2522                             (CheckBoxSpec
  2522                                label: 'Reference to Private Class'
  2523                                label: 'Reference to Private Class'
  2523                                name: 'CheckBox1'
  2524                                name: 'CheckBox1'
  2524                                activeHelpKey: warnAboutReferenceToPrivateClass
  2525                                activeHelpKey: warnAboutReferenceToPrivateClass
  2525                                uuid: '9c932534-1f3f-11b2-903e-3065ec8abe8a'
  2526                                uuid: '9c932534-1f3f-11b2-903e-3065ec8abe8a'
  2526                                enableChannel: warnings
  2527                                enableChannel: warnings
  2527                                model: warnAboutReferenceToPrivateClass
  2528                                model: warnAboutReferenceToPrivateClass
  2528                                translateLabel: true
  2529                                translateLabel: true
  2529                                extent: (Point 313 22)
  2530                                extent: (Point 312 22)
  2530                              )
  2531                              )
  2531                             (CheckBoxSpec
  2532                             (CheckBoxSpec
  2532                                label: 'Underscores in Identifiers'
  2533                                label: 'Underscores in Identifiers'
  2533                                name: 'UnderscoresInIdentifiers'
  2534                                name: 'UnderscoresInIdentifiers'
  2534                                activeHelpKey: warnUnderscoreInIdentifier
  2535                                activeHelpKey: warnUnderscoreInIdentifier
  2535                                uuid: '9c932778-1f3f-11b2-903e-3065ec8abe8a'
  2536                                uuid: '9c932778-1f3f-11b2-903e-3065ec8abe8a'
  2536                                enableChannel: enableUnderscore
  2537                                enableChannel: enableUnderscore
  2537                                model: warnUnderscoreInIdentifier
  2538                                model: warnUnderscoreInIdentifier
  2538                                translateLabel: true
  2539                                translateLabel: true
  2539                                extent: (Point 313 22)
  2540                                extent: (Point 312 22)
  2540                              )
  2541                              )
  2541                             (CheckBoxSpec
  2542                             (CheckBoxSpec
  2542                                label: 'Dollars in Identifiers'
  2543                                label: 'Dollars in Identifiers'
  2543                                name: 'DollarsInIdentifiers'
  2544                                name: 'DollarsInIdentifiers'
  2544                                activeHelpKey: warnDollarInIdentifier
  2545                                activeHelpKey: warnDollarInIdentifier
  2545                                uuid: '9c9329b2-1f3f-11b2-903e-3065ec8abe8a'
  2546                                uuid: '9c9329b2-1f3f-11b2-903e-3065ec8abe8a'
  2546                                enableChannel: enableDollar
  2547                                enableChannel: enableDollar
  2547                                model: warnDollarInIdentifier
  2548                                model: warnDollarInIdentifier
  2548                                translateLabel: true
  2549                                translateLabel: true
  2549                                extent: (Point 313 22)
  2550                                extent: (Point 312 22)
  2550                              )
  2551                              )
  2551                             (CheckBoxSpec
  2552                             (CheckBoxSpec
  2552                                label: 'OldStyle Assignment'
  2553                                label: 'OldStyle Assignment'
  2553                                name: 'OldStyleAssignment'
  2554                                name: 'OldStyleAssignment'
  2554                                activeHelpKey: warnOldStyleAssignment
  2555                                activeHelpKey: warnOldStyleAssignment
  2555                                uuid: '9c932bec-1f3f-11b2-903e-3065ec8abe8a'
  2556                                uuid: '9c932bec-1f3f-11b2-903e-3065ec8abe8a'
  2556                                enableChannel: warnings
  2557                                enableChannel: warnings
  2557                                model: warnOldStyleAssignment
  2558                                model: warnOldStyleAssignment
  2558                                translateLabel: true
  2559                                translateLabel: true
  2559                                extent: (Point 313 22)
  2560                                extent: (Point 312 22)
  2560                              )
  2561                              )
  2561                             (CheckBoxSpec
  2562                             (CheckBoxSpec
  2562                                label: 'Possible Incompatibilities'
  2563                                label: 'Possible Incompatibilities'
  2563                                name: 'PossibleIncompatibilities'
  2564                                name: 'PossibleIncompatibilities'
  2564                                activeHelpKey: warnPossibleIncompatibilities
  2565                                activeHelpKey: warnPossibleIncompatibilities
  2565                                uuid: '9c932e1c-1f3f-11b2-903e-3065ec8abe8a'
  2566                                uuid: '9c932e1c-1f3f-11b2-903e-3065ec8abe8a'
  2566                                enableChannel: warnings
  2567                                enableChannel: warnings
  2567                                model: warnPossibleIncompatibilities
  2568                                model: warnPossibleIncompatibilities
  2568                                translateLabel: true
  2569                                translateLabel: true
  2569                                extent: (Point 313 22)
  2570                                extent: (Point 312 22)
  2570                              )
  2571                              )
  2571                             (CheckBoxSpec
  2572                             (CheckBoxSpec
  2572                                label: 'Possible STC Compilation Problems'
  2573                                label: 'Possible STC Compilation Problems'
  2573                                name: 'PossibleSTCCompilationProblems'
  2574                                name: 'PossibleSTCCompilationProblems'
  2574                                activeHelpKey: warnAboutPossibleSTCCompilationProblems
  2575                                activeHelpKey: warnAboutPossibleSTCCompilationProblems
  2575                                uuid: '9c933056-1f3f-11b2-903e-3065ec8abe8a'
  2576                                uuid: '9c933056-1f3f-11b2-903e-3065ec8abe8a'
  2576                                enableChannel: warnings
  2577                                enableChannel: warnings
  2577                                model: warnAboutPossibleSTCCompilationProblems
  2578                                model: warnAboutPossibleSTCCompilationProblems
  2578                                translateLabel: true
  2579                                translateLabel: true
  2579                                extent: (Point 313 22)
  2580                                extent: (Point 312 22)
  2580                              )
  2581                              )
  2581                             (CheckBoxSpec
  2582                             (CheckBoxSpec
  2582                                label: 'Possibly Unimplemented Selectors'
  2583                                label: 'Possibly Unimplemented Selectors'
  2583                                name: 'CheckBox3'
  2584                                name: 'CheckBox3'
  2584                                activeHelpKey: warnAboutPossiblyUnimplementedSelectors
  2585                                activeHelpKey: warnAboutPossiblyUnimplementedSelectors
  2585                                uuid: '9c93329a-1f3f-11b2-903e-3065ec8abe8a'
  2586                                uuid: '9c93329a-1f3f-11b2-903e-3065ec8abe8a'
  2586                                enableChannel: warnings
  2587                                enableChannel: warnings
  2587                                model: warnAboutPossiblyUnimplementedSelectors
  2588                                model: warnAboutPossiblyUnimplementedSelectors
  2588                                translateLabel: true
  2589                                translateLabel: true
  2589                                extent: (Point 313 22)
  2590                                extent: (Point 312 22)
  2590                              )
  2591                              )
  2591                             (CheckBoxSpec
  2592                             (CheckBoxSpec
  2592                                label: 'Plausibility Checks'
  2593                                label: 'Plausibility Checks'
  2593                                name: 'CheckBox7'
  2594                                name: 'CheckBox7'
  2594                                activeHelpKey: warnPlausibilityChecks
  2595                                activeHelpKey: warnPlausibilityChecks
  2595                                uuid: '9c9334ca-1f3f-11b2-903e-3065ec8abe8a'
  2596                                uuid: '9c9334ca-1f3f-11b2-903e-3065ec8abe8a'
  2596                                enableChannel: warnings
  2597                                enableChannel: warnings
  2597                                model: warnPlausibilityChecks
  2598                                model: warnPlausibilityChecks
  2598                                translateLabel: true
  2599                                translateLabel: true
  2599                                extent: (Point 313 22)
  2600                                extent: (Point 312 22)
       
  2601                              )
       
  2602                             (CheckBoxSpec
       
  2603                                label: 'Possibly Uninitialized Locals'
       
  2604                                name: 'CheckBox12'
       
  2605                                activeHelpKey: warnAboutPossiblyUninitializedLocals
       
  2606                                uuid: '9c93329a-1f3f-11b2-903e-3065ec8abe8a'
       
  2607                                enableChannel: warnings
       
  2608                                model: warnAboutPossiblyUninitializedLocals
       
  2609                                translateLabel: true
       
  2610                                extent: (Point 312 22)
  2600                              )
  2611                              )
  2601                             )
  2612                             )
  2602                           
  2613                           
  2603                          )
  2614                          )
  2604                        )
  2615                        )
  2708                          )
  2719                          )
  2709                        )
  2720                        )
  2710                       )
  2721                       )
  2711                     
  2722                     
  2712                    )
  2723                    )
  2713                    extent: (Point 665 206)
  2724                    extent: (Point 664 224)
  2714                  )
  2725                  )
  2715                 (ViewSpec
  2726                 (ViewSpec
  2716                    name: 'Box4'
  2727                    name: 'Box4'
  2717                    uuid: '9c934f00-1f3f-11b2-903e-3065ec8abe8a'
  2728                    uuid: '9c934f00-1f3f-11b2-903e-3065ec8abe8a'
  2718                    component: 
  2729                    component: 
  2719                   (SpecCollection
  2730                   (SpecCollection
  2720                      collection: (
  2731                      collection: (
  2721                       (ActionButtonSpec
  2732                       (ActionButtonSpec
  2722                          label: 'Reenable Suppressed Warnings Now'
  2733                          label: 'Reenable Suppressed Warnings Now'
  2723                          name: 'Button1'
  2734                          name: 'Button1'
  2724                          layout: (LayoutOrigin 0 0.5 0 0)
  2735                          layout: (LayoutFrame 0 0.5 0 0 0 1 0 1)
       
  2736                          activeHelpKey: reenableSuppressedWarnings
  2725                          uuid: '9c93519e-1f3f-11b2-903e-3065ec8abe8a'
  2737                          uuid: '9c93519e-1f3f-11b2-903e-3065ec8abe8a'
  2726                          translateLabel: true
  2738                          translateLabel: true
  2727                          model: reenableSuppressedWarnings
  2739                          model: reenableSuppressedWarnings
  2728                        )
  2740                        )
  2729                       )
  2741                       )
  2730                     
  2742                     
  2731                    )
  2743                    )
  2732                    extent: (Point 665 33)
  2744                    extent: (Point 664 33)
  2733                  )
  2745                  )
  2734                 (DividerSpec
  2746                 (DividerSpec
  2735                    name: 'Separator5'
  2747                    name: 'Separator5'
  2736                    uuid: '9c9356ee-1f3f-11b2-903e-3065ec8abe8a'
  2748                    uuid: '9c9356ee-1f3f-11b2-903e-3065ec8abe8a'
  2737                    extent: (Point 665 2)
  2749                    extent: (Point 664 2)
  2738                  )
  2750                  )
  2739                 (CheckBoxSpec
  2751                 (CheckBoxSpec
  2740                    label: 'Literal Strings are Immutable'
  2752                    label: 'Literal Strings are Immutable'
  2741                    name: 'LiteralStringsAreImmutable'
  2753                    name: 'LiteralStringsAreImmutable'
  2742                    activeHelpKey: stringsAreImmutable
  2754                    activeHelpKey: stringsAreImmutable
  2743                    uuid: '9c935932-1f3f-11b2-903e-3065ec8abe8a'
  2755                    uuid: '9c935932-1f3f-11b2-903e-3065ec8abe8a'
  2744                    model: stringsAreImmutable
  2756                    model: stringsAreImmutable
  2745                    translateLabel: true
  2757                    translateLabel: true
  2746                    extent: (Point 665 22)
  2758                    extent: (Point 664 22)
  2747                  )
  2759                  )
  2748                 (CheckBoxSpec
  2760                 (CheckBoxSpec
  2749                    label: 'Literal Arrays are Immutable'
  2761                    label: 'Literal Arrays are Immutable'
  2750                    name: 'CheckBox9'
  2762                    name: 'CheckBox9'
  2751                    activeHelpKey: arraysAreImmutable
  2763                    activeHelpKey: arraysAreImmutable
  2752                    uuid: '9c935c02-1f3f-11b2-903e-3065ec8abe8a'
  2764                    uuid: '9c935c02-1f3f-11b2-903e-3065ec8abe8a'
  2753                    model: arraysAreImmutable
  2765                    model: arraysAreImmutable
  2754                    translateLabel: true
  2766                    translateLabel: true
  2755                    extent: (Point 665 22)
  2767                    extent: (Point 664 22)
  2756                  )
  2768                  )
  2757                 (CheckBoxSpec
  2769                 (CheckBoxSpec
  2758                    label: 'Full Debug Info'
  2770                    label: 'Full Debug Info'
  2759                    name: 'FullDebugInfo'
  2771                    name: 'FullDebugInfo'
  2760                    activeHelpKey: fullDebugInfo
  2772                    activeHelpKey: fullDebugInfo
  2761                    uuid: '9c935ec8-1f3f-11b2-903e-3065ec8abe8a'
  2773                    uuid: '9c935ec8-1f3f-11b2-903e-3065ec8abe8a'
  2762                    model: fullDebugSupport
  2774                    model: fullDebugSupport
  2763                    translateLabel: true
  2775                    translateLabel: true
  2764                    extent: (Point 665 22)
  2776                    extent: (Point 664 22)
  2765                  )
  2777                  )
  2766                 (DividerSpec
  2778                 (DividerSpec
  2767                    name: 'Separator6'
  2779                    name: 'Separator6'
  2768                    uuid: '9c936170-1f3f-11b2-903e-3065ec8abe8a'
  2780                    uuid: '9c936170-1f3f-11b2-903e-3065ec8abe8a'
  2769                    extent: (Point 665 2)
  2781                    extent: (Point 664 2)
  2770                  )
  2782                  )
  2771                 (ViewSpec
  2783                 (ViewSpec
  2772                    name: 'Box3'
  2784                    name: 'Box3'
  2773                    uuid: '9c93636e-1f3f-11b2-903e-3065ec8abe8a'
  2785                    uuid: '9c93636e-1f3f-11b2-903e-3065ec8abe8a'
  2774                    component: 
  2786                    component: 
  2794                          useIndex: true
  2806                          useIndex: true
  2795                        )
  2807                        )
  2796                       )
  2808                       )
  2797                     
  2809                     
  2798                    )
  2810                    )
  2799                    extent: (Point 665 22)
  2811                    extent: (Point 664 22)
  2800                  )
  2812                  )
  2801                 )
  2813                 )
  2802               
  2814               
  2803              )
  2815              )
  2804            )
  2816            )
  2891                 warnAboutNonLowercaseLocalVariableNames
  2903                 warnAboutNonLowercaseLocalVariableNames
  2892                 warnAboutShortLocalVariableNames
  2904                 warnAboutShortLocalVariableNames
  2893                 warnAboutPossibleSTCCompilationProblems
  2905                 warnAboutPossibleSTCCompilationProblems
  2894                 warnAboutReferenceToPrivateClass
  2906                 warnAboutReferenceToPrivateClass
  2895                 warnAboutPossiblyUnimplementedSelectors
  2907                 warnAboutPossiblyUnimplementedSelectors
       
  2908                 warnAboutPossiblyUninitializedLocals
  2896                 warnPlausibilityChecks
  2909                 warnPlausibilityChecks
  2897 
  2910 
  2898                 allowDollarInIdentifier
  2911                 allowDollarInIdentifier
  2899                 allowParagraphInIdentifier
  2912                 allowParagraphInIdentifier
  2900                 allowDolphinExtensions
  2913                 allowDolphinExtensions
  2914                 allowAssignmentToPoolVariable
  2927                 allowAssignmentToPoolVariable
  2915             )
  2928             )
  2916 
  2929 
  2917     "Created: / 20-11-2006 / 22:37:17 / cg"
  2930     "Created: / 20-11-2006 / 22:37:17 / cg"
  2918     "Modified: / 16-11-2016 / 22:40:51 / cg"
  2931     "Modified: / 16-11-2016 / 22:40:51 / cg"
       
  2932     "Modified: / 23-04-2019 / 23:16:47 / Claus Gittinger"
  2919 !
  2933 !
  2920 
  2934 
  2921 stcCompilerSettings
  2935 stcCompilerSettings
  2922 
  2936 
  2923     AbstractLauncherApplication::LauncherDialogs stcCompilerSettings
  2937     AbstractLauncherApplication::LauncherDialogs stcCompilerSettings
  3213         warnAboutPossiblyUnimplementedSelectors onChangeSend:#updateModifiedChannel to:self.
  3227         warnAboutPossiblyUnimplementedSelectors onChangeSend:#updateModifiedChannel to:self.
  3214     ].
  3228     ].
  3215     ^ warnAboutPossiblyUnimplementedSelectors.
  3229     ^ warnAboutPossiblyUnimplementedSelectors.
  3216 
  3230 
  3217     "Created: / 20-11-2006 / 22:41:07 / cg"
  3231     "Created: / 20-11-2006 / 22:41:07 / cg"
       
  3232 !
       
  3233 
       
  3234 warnAboutPossiblyUninitializedLocals
       
  3235 
       
  3236     warnAboutPossiblyUninitializedLocals isNil ifTrue:[
       
  3237         warnAboutPossiblyUninitializedLocals := ParserFlags warnAboutPossiblyUninitializedLocals asValue.
       
  3238         warnAboutPossiblyUninitializedLocals onChangeSend:#updateModifiedChannel to:self.
       
  3239     ].
       
  3240     ^ warnAboutPossiblyUninitializedLocals.
       
  3241 
       
  3242     "Created: / 23-04-2019 / 23:16:25 / Claus Gittinger"
  3218 !
  3243 !
  3219 
  3244 
  3220 warnAboutReferenceToPrivateClass
  3245 warnAboutReferenceToPrivateClass
  3221     warnAboutReferenceToPrivateClass isNil ifTrue:[
  3246     warnAboutReferenceToPrivateClass isNil ifTrue:[
  3222         warnAboutReferenceToPrivateClass := ParserFlags warnAboutReferenceToPrivateClass asValue.
  3247         warnAboutReferenceToPrivateClass := ParserFlags warnAboutReferenceToPrivateClass asValue.