AbstractSettingsApplication.st
changeset 18743 bec660fe7335
parent 18722 be7f278206d9
child 18744 31b4abe6811b
equal deleted inserted replaced
18742:87e567b55dad 18743:bec660fe7335
 14166 stcCompilationStrings
 14166 stcCompilationStrings
 14167 
 14167 
 14168     ^ #('primitive code only' 'never')
 14168     ^ #('primitive code only' 'never')
 14169 ! !
 14169 ! !
 14170 
 14170 
       
 14171 !AbstractSettingsApplication::STCCompilerSettingsAppl class methodsFor:'help specs'!
       
 14172 
       
 14173 helpSpec
       
 14174     "This resource specification was automatically generated
       
 14175      by the UIHelpTool of ST/X."
       
 14176 
       
 14177     "Do not manually edit this!! If it is corrupted,
       
 14178      the UIHelpTool may not be able to read the specification."
       
 14179 
       
 14180     "
       
 14181      UIHelpTool openOnClass:AbstractSettingsApplication::STCCompilerSettingsAppl
       
 14182     "
       
 14183 
       
 14184     <resource: #help>
       
 14185 
       
 14186     ^ super helpSpec addPairsFrom:#(
       
 14187 
       
 14188 #stcCommand
       
 14189 'Path to the stc compiler (compiles Smalltalk to C-code)'
       
 14190 #stcCommandOptions
       
 14191 'Options to the stc compiler (see stc man-page)'
       
 14192 #stcKeepCIntermediate
       
 14193 'Keep the intermediate C-file (for st/x developers)'
       
 14194 #stcIncluedDirectories
       
 14195 'Include directories (for stc and cc)'
       
 14196 #ccCommand
       
 14197 'Path to the c compiler (compiles C-code to machine code)'
       
 14198 #ccCommandOptions
       
 14199 'Options to the c compiler'
       
 14200 
       
 14201 )
       
 14202 
       
 14203     "Modified: / 22-04-2019 / 10:23:35 / Claus Gittinger"
       
 14204 ! !
       
 14205 
 14171 !AbstractSettingsApplication::STCCompilerSettingsAppl class methodsFor:'image specs'!
 14206 !AbstractSettingsApplication::STCCompilerSettingsAppl class methodsFor:'image specs'!
 14172 
 14207 
 14173 defaultIcon
 14208 defaultIcon
 14174     <resource: #programImage>
 14209     <resource: #programImage>
 14175 
 14210 
 14381                          label: 'STC Command:'
 14416                          label: 'STC Command:'
 14382                          name: 'Label1'
 14417                          name: 'Label1'
 14383                          layout: (LayoutFrame 0 0 0 0 200 0 22 0)
 14418                          layout: (LayoutFrame 0 0 0 0 200 0 22 0)
 14384                          translateLabel: true
 14419                          translateLabel: true
 14385                          adjust: right
 14420                          adjust: right
       
 14421                          activeHelpKey: stcCommand
 14386                        )
 14422                        )
 14387                       (InputFieldSpec
 14423                       (InputFieldSpec
 14388                          name: 'EntryField1'
 14424                          name: 'EntryField1'
 14389                          layout: (LayoutFrame 201 0 0 0 -5 1 22 0)
 14425                          layout: (LayoutFrame 201 0 0 0 -5 1 22 0)
 14390                          enableChannel: canLoadBinaries
 14426                          enableChannel: canLoadBinaries
 14391                          model: stc
 14427                          model: stc
       
 14428                          activeHelpKey: stcCommand
 14392                          acceptOnLeave: true
 14429                          acceptOnLeave: true
 14393                          acceptOnReturn: true
 14430                          acceptOnReturn: true
 14394                          acceptOnTab: true
 14431                          acceptOnTab: true
 14395                          acceptOnLostFocus: true
 14432                          acceptOnLostFocus: true
 14396                          acceptOnPointerLeave: true
 14433                          acceptOnPointerLeave: true
 14409                          label: 'STC Options:'
 14446                          label: 'STC Options:'
 14410                          name: 'Label2'
 14447                          name: 'Label2'
 14411                          layout: (LayoutFrame 0 0 0 0 200 0 22 0)
 14448                          layout: (LayoutFrame 0 0 0 0 200 0 22 0)
 14412                          translateLabel: true
 14449                          translateLabel: true
 14413                          adjust: right
 14450                          adjust: right
       
 14451                          activeHelpKey: stcCommandOptions
 14414                        )
 14452                        )
 14415                       (InputFieldSpec
 14453                       (InputFieldSpec
 14416                          name: 'EntryField2'
 14454                          name: 'EntryField2'
 14417                          layout: (LayoutFrame 201 0 0 0 -5 1 22 0)
 14455                          layout: (LayoutFrame 201 0 0 0 -5 1 22 0)
 14418                          enableChannel: canLoadBinaries
 14456                          enableChannel: canLoadBinaries
 14420                          acceptOnLeave: true
 14458                          acceptOnLeave: true
 14421                          acceptOnReturn: true
 14459                          acceptOnReturn: true
 14422                          acceptOnTab: true
 14460                          acceptOnTab: true
 14423                          acceptOnLostFocus: true
 14461                          acceptOnLostFocus: true
 14424                          acceptOnPointerLeave: true
 14462                          acceptOnPointerLeave: true
       
 14463                          activeHelpKey: stcCommandOptions
 14425                        )
 14464                        )
 14426                       )
 14465                       )
 14427 
 14466 
 14428                    )
 14467                    )
 14429                    extent: (Point 600 30)
 14468                    extent: (Point 600 30)
 14437                          label: 'Keep Intermediate C File:'
 14476                          label: 'Keep Intermediate C File:'
 14438                          name: 'Label15'
 14477                          name: 'Label15'
 14439                          layout: (LayoutFrame 0 0 0 0 200 0 22 0)
 14478                          layout: (LayoutFrame 0 0 0 0 200 0 22 0)
 14440                          translateLabel: true
 14479                          translateLabel: true
 14441                          adjust: right
 14480                          adjust: right
       
 14481                          activeHelpKey: stcKeepCIntermediate
 14442                        )
 14482                        )
 14443                       (CheckToggleSpec
 14483                       (CheckToggleSpec
 14444                          name: 'CheckToggle1'
 14484                          name: 'CheckToggle1'
 14445                          layout: (LayoutOrigin 203 0 4 0)
 14485                          layout: (LayoutOrigin 203 0 4 0)
 14446                          model: stcKeepCIntermediate
 14486                          model: stcKeepCIntermediate
 14447                          isTriggerOnDown: true
 14487                          isTriggerOnDown: true
 14448                          showLamp: false
 14488                          showLamp: false
 14449                          lampColor: (Color 100.0 100.0 0.0)
 14489                          lampColor: (Color 100.0 100.0 0.0)
       
 14490                          activeHelpKey: stcKeepCIntermediate
 14450                        )
 14491                        )
 14451                       )
 14492                       )
 14452 
 14493 
 14453                    )
 14494                    )
 14454                    extent: (Point 600 30)
 14495                    extent: (Point 600 30)
 14462                          label: 'CC Command:'
 14503                          label: 'CC Command:'
 14463                          name: 'Label3'
 14504                          name: 'Label3'
 14464                          layout: (LayoutFrame 0 0 0 0 200 0 22 0)
 14505                          layout: (LayoutFrame 0 0 0 0 200 0 22 0)
 14465                          translateLabel: true
 14506                          translateLabel: true
 14466                          adjust: right
 14507                          adjust: right
       
 14508                          activeHelpKey: ccCommand
 14467                        )
 14509                        )
 14468                       (InputFieldSpec
 14510                       (InputFieldSpec
 14469                          name: 'EntryField3'
 14511                          name: 'EntryField3'
 14470                          layout: (LayoutFrame 201 0 0 0 -5 1 22 0)
 14512                          layout: (LayoutFrame 201 0 0 0 -5 1 22 0)
 14471                          enableChannel: canLoadBinaries
 14513                          enableChannel: canLoadBinaries
 14473                          acceptOnLeave: true
 14515                          acceptOnLeave: true
 14474                          acceptOnReturn: true
 14516                          acceptOnReturn: true
 14475                          acceptOnTab: true
 14517                          acceptOnTab: true
 14476                          acceptOnLostFocus: true
 14518                          acceptOnLostFocus: true
 14477                          acceptOnPointerLeave: true
 14519                          acceptOnPointerLeave: true
       
 14520                          activeHelpKey: ccCommand
 14478                        )
 14521                        )
 14479                       )
 14522                       )
 14480 
 14523 
 14481                    )
 14524                    )
 14482                    extent: (Point 600 30)
 14525                    extent: (Point 600 30)
 14490                          label: 'CC Options:'
 14533                          label: 'CC Options:'
 14491                          name: 'Label4'
 14534                          name: 'Label4'
 14492                          layout: (LayoutFrame 0 0 0 0 200 0 22 0)
 14535                          layout: (LayoutFrame 0 0 0 0 200 0 22 0)
 14493                          translateLabel: true
 14536                          translateLabel: true
 14494                          adjust: right
 14537                          adjust: right
       
 14538                          activeHelpKey: ccCommandOptions
 14495                        )
 14539                        )
 14496                       (InputFieldSpec
 14540                       (InputFieldSpec
 14497                          name: 'EntryField4'
 14541                          name: 'EntryField4'
 14498                          layout: (LayoutFrame 201 0 0 0 -5 1 22 0)
 14542                          layout: (LayoutFrame 201 0 0 0 -5 1 22 0)
 14499                          enableChannel: canLoadBinaries
 14543                          enableChannel: canLoadBinaries
 14501                          acceptOnLeave: true
 14545                          acceptOnLeave: true
 14502                          acceptOnReturn: true
 14546                          acceptOnReturn: true
 14503                          acceptOnTab: true
 14547                          acceptOnTab: true
 14504                          acceptOnLostFocus: true
 14548                          acceptOnLostFocus: true
 14505                          acceptOnPointerLeave: true
 14549                          acceptOnPointerLeave: true
       
 14550                          activeHelpKey: ccCommandOptions
 14506                        )
 14551                        )
 14507                       )
 14552                       )
 14508 
 14553 
 14509                    )
 14554                    )
 14510                    extent: (Point 600 30)
 14555                    extent: (Point 600 30)
 14518                          label: 'Include Directories:'
 14563                          label: 'Include Directories:'
 14519                          name: 'Label5'
 14564                          name: 'Label5'
 14520                          layout: (LayoutFrame 0 0 0 0 200 0 22 0)
 14565                          layout: (LayoutFrame 0 0 0 0 200 0 22 0)
 14521                          translateLabel: true
 14566                          translateLabel: true
 14522                          adjust: right
 14567                          adjust: right
       
 14568                          activeHelpKey: stcIncluedDirectories
 14523                        )
 14569                        )
 14524                       (InputFieldSpec
 14570                       (InputFieldSpec
 14525                          name: 'EntryField5'
 14571                          name: 'EntryField5'
 14526                          layout: (LayoutFrame 201 0 0 0 -5 1 22 0)
 14572                          layout: (LayoutFrame 201 0 0 0 -5 1 22 0)
 14527                          enableChannel: canLoadBinaries
 14573                          enableChannel: canLoadBinaries
 14529                          acceptOnLeave: true
 14575                          acceptOnLeave: true
 14530                          acceptOnReturn: true
 14576                          acceptOnReturn: true
 14531                          acceptOnTab: true
 14577                          acceptOnTab: true
 14532                          acceptOnLostFocus: true
 14578                          acceptOnLostFocus: true
 14533                          acceptOnPointerLeave: true
 14579                          acceptOnPointerLeave: true
       
 14580                          activeHelpKey: stcIncluedDirectories
 14534                        )
 14581                        )
 14535                       )
 14582                       )
 14536 
 14583 
 14537                    )
 14584                    )
 14538                    extent: (Point 600 30)
 14585                    extent: (Point 600 30)
 14793            )
 14840            )
 14794           )
 14841           )
 14795 
 14842 
 14796        )
 14843        )
 14797      )
 14844      )
       
 14845 
       
 14846     "Modified: / 22-04-2019 / 10:23:13 / Claus Gittinger"
 14798 ! !
 14847 ! !
 14799 
 14848 
 14800 !AbstractSettingsApplication::STCCompilerSettingsAppl methodsFor:'actions'!
 14849 !AbstractSettingsApplication::STCCompilerSettingsAppl methodsFor:'actions'!
 14801 
 14850 
 14802 basicReadSettings
 14851 basicReadSettings
 15267 
 15316 
 15268 helpText
 15317 helpText
 15269     ^ 'These settings are only relevant if methods are to be compiled directly to
 15318     ^ 'These settings are only relevant if methods are to be compiled directly to
 15270 machine code (i.e. using the external stc, not the builtin bytecode compiler).
 15319 machine code (i.e. using the external stc, not the builtin bytecode compiler).
 15271 Stc-compilation is mandatory for methods which contain inline-C code,
 15320 Stc-compilation is mandatory for methods which contain inline-C code,
 15272 otherwise, for plain smalltalk code, is not needed.'
 15321 for plain Smalltalk code, it is not needed.'
 15273 
 15322 
 15274     "Created: / 16-09-2011 / 18:18:32 / cg"
 15323     "Created: / 16-09-2011 / 18:18:32 / cg"
       
 15324     "Modified: / 22-04-2019 / 10:14:16 / Claus Gittinger"
 15275 ! !
 15325 ! !
 15276 
 15326 
 15277 !AbstractSettingsApplication::STCCompilerSettingsAppl methodsFor:'queries'!
 15327 !AbstractSettingsApplication::STCCompilerSettingsAppl methodsFor:'queries'!
 15278 
 15328 
 15279 hasUnsavedChanges
 15329 hasUnsavedChanges