compiler paths editor, less confusing for GDC and LDC, since their library path does not require to have two fields

This commit is contained in:
Basile Burg 2020-01-25 04:25:41 +01:00
parent 027aa4349b
commit 3c67dba92a
1 changed files with 113 additions and 110 deletions

View File

@ -6,7 +6,6 @@ object CompilersPathsEditor: TCompilersPathsEditor
Caption = 'CompilersPathsEditor'
ClientHeight = 900
ClientWidth = 460
LCLVersion = '2.0.6.0'
object ScrollBox1: TScrollBox
Left = 0
Height = 900
@ -17,25 +16,25 @@ object CompilersPathsEditor: TCompilersPathsEditor
Align = alClient
AutoSize = True
ClientHeight = 898
ClientWidth = 443
ClientWidth = 445
TabOrder = 0
object grpDMD: TGroupBox
Left = 0
Height = 168
Top = 106
Width = 443
Height = 186
Top = 116
Width = 445
Align = alTop
AutoSize = True
Caption = 'DMD'
ClientHeight = 150
ClientWidth = 441
ClientHeight = 168
ClientWidth = 443
TabOrder = 0
object selDMDexe: TFileNameEdit
Left = 2
Height = 27
Height = 33
Hint = 'select the compiler'
Top = 21
Width = 437
Width = 439
FilterIndex = 0
HideDirectories = False
ButtonWidth = 23
@ -49,10 +48,10 @@ object CompilersPathsEditor: TCompilersPathsEditor
end
object selDMDrt: TDirectoryEdit
Left = 2
Height = 27
Height = 33
Hint = 'select the root of druntime sources'
Top = 71
Width = 437
Top = 77
Width = 439
ShowHidden = False
ButtonWidth = 23
NumGlyphs = 1
@ -65,10 +64,10 @@ object CompilersPathsEditor: TCompilersPathsEditor
end
object selDMDstd: TDirectoryEdit
Left = 2
Height = 27
Height = 33
Hint = 'select the root of phobos sources'
Top = 121
Width = 437
Top = 133
Width = 439
ShowHidden = False
ButtonWidth = 23
NumGlyphs = 1
@ -83,7 +82,7 @@ object CompilersPathsEditor: TCompilersPathsEditor
Left = 0
Height = 19
Top = 0
Width = 441
Width = 443
Align = alTop
Alignment = taCenter
AutoSize = True
@ -93,8 +92,8 @@ object CompilersPathsEditor: TCompilersPathsEditor
object StaticText2: TStaticText
Left = 0
Height = 19
Top = 50
Width = 441
Top = 56
Width = 443
Align = alTop
Alignment = taCenter
AutoSize = True
@ -104,8 +103,8 @@ object CompilersPathsEditor: TCompilersPathsEditor
object StaticText3: TStaticText
Left = 0
Height = 19
Top = 100
Width = 441
Top = 112
Width = 443
Align = alTop
Alignment = taCenter
AutoSize = True
@ -115,21 +114,21 @@ object CompilersPathsEditor: TCompilersPathsEditor
end
object grpGDC: TGroupBox
Left = 0
Height = 168
Top = 274
Width = 443
Height = 186
Top = 302
Width = 445
Align = alTop
AutoSize = True
Caption = 'GDC'
ClientHeight = 150
ClientWidth = 441
ClientHeight = 168
ClientWidth = 443
TabOrder = 1
object selGDCexe: TFileNameEdit
Left = 2
Height = 27
Height = 33
Hint = 'select the compiler'
Top = 21
Width = 437
Width = 439
FilterIndex = 0
HideDirectories = False
ButtonWidth = 23
@ -143,10 +142,10 @@ object CompilersPathsEditor: TCompilersPathsEditor
end
object selGDCrt: TDirectoryEdit
Left = 2
Height = 27
Height = 33
Hint = 'select the root of druntime sources'
Top = 71
Width = 437
Top = 77
Width = 439
ShowHidden = False
ButtonWidth = 23
NumGlyphs = 1
@ -159,10 +158,10 @@ object CompilersPathsEditor: TCompilersPathsEditor
end
object selGDCstd: TDirectoryEdit
Left = 2
Height = 27
Height = 33
Hint = 'select the root of phobos sources'
Top = 121
Width = 437
Top = 133
Width = 439
ShowHidden = False
ButtonWidth = 23
NumGlyphs = 1
@ -171,13 +170,14 @@ object CompilersPathsEditor: TCompilersPathsEditor
BorderSpacing.Around = 2
MaxLength = 0
TabOrder = 2
Visible = False
OnButtonClick = dialogOpen
end
object StaticText4: TStaticText
Left = 0
Height = 19
Top = 0
Width = 441
Width = 443
Align = alTop
Alignment = taCenter
AutoSize = True
@ -187,43 +187,44 @@ object CompilersPathsEditor: TCompilersPathsEditor
object StaticText5: TStaticText
Left = 0
Height = 19
Top = 50
Width = 441
Top = 56
Width = 443
Align = alTop
Alignment = taCenter
AutoSize = True
Caption = 'Runtime sources'
Caption = '"Include/d" path (druntime, phobos)'
TabOrder = 4
end
object StaticText6: TStaticText
Left = 0
Height = 19
Top = 100
Width = 441
Top = 112
Width = 443
Align = alTop
Alignment = taCenter
AutoSize = True
Caption = 'Phobos sources'
TabOrder = 5
Visible = False
end
end
object grpLDC: TGroupBox
Left = 0
Height = 168
Top = 442
Width = 443
Height = 186
Top = 488
Width = 445
Align = alTop
AutoSize = True
Caption = 'LDC'
ClientHeight = 150
ClientWidth = 441
ClientHeight = 168
ClientWidth = 443
TabOrder = 2
object selLDCexe: TFileNameEdit
Left = 2
Height = 27
Height = 33
Hint = 'select the compiler'
Top = 21
Width = 437
Width = 439
FilterIndex = 0
HideDirectories = False
ButtonWidth = 23
@ -237,10 +238,10 @@ object CompilersPathsEditor: TCompilersPathsEditor
end
object selLDCrt: TDirectoryEdit
Left = 2
Height = 27
Hint = 'select the root of LDC runtime & phobos sources (can be a common folder)'
Top = 71
Width = 437
Height = 33
Hint = 'select the root of druntime sources'
Top = 77
Width = 439
ShowHidden = False
ButtonWidth = 23
NumGlyphs = 1
@ -253,10 +254,10 @@ object CompilersPathsEditor: TCompilersPathsEditor
end
object selLDCstd: TDirectoryEdit
Left = 2
Height = 27
Height = 33
Hint = 'select the root of phobos sources (can be empty)'
Top = 121
Width = 437
Top = 133
Width = 439
ShowHidden = False
ButtonWidth = 23
NumGlyphs = 1
@ -265,13 +266,14 @@ object CompilersPathsEditor: TCompilersPathsEditor
BorderSpacing.Around = 2
MaxLength = 0
TabOrder = 2
Visible = False
OnButtonClick = dialogOpen
end
object StaticText7: TStaticText
Left = 0
Height = 19
Top = 0
Width = 441
Width = 443
Align = alTop
Alignment = taCenter
AutoSize = True
@ -281,43 +283,44 @@ object CompilersPathsEditor: TCompilersPathsEditor
object StaticText8: TStaticText
Left = 0
Height = 19
Top = 50
Width = 441
Top = 56
Width = 443
Align = alTop
Alignment = taCenter
AutoSize = True
Caption = 'Runtime sources'
Caption = 'import path (druntime, phobos)'
TabOrder = 4
end
object StaticText9: TStaticText
Left = 0
Height = 19
Top = 100
Width = 441
Top = 112
Width = 443
Align = alTop
Alignment = taCenter
AutoSize = True
Caption = 'Phobos sources'
TabOrder = 5
Visible = False
end
end
object grpUSER1: TGroupBox
Left = 0
Height = 168
Top = 610
Width = 443
Height = 186
Top = 674
Width = 445
Align = alTop
AutoSize = True
Caption = 'User 1'
ClientHeight = 150
ClientWidth = 441
ClientHeight = 168
ClientWidth = 443
TabOrder = 3
object selUSER1exe: TFileNameEdit
Left = 2
Height = 27
Height = 33
Hint = 'select the compiler'
Top = 21
Width = 437
Width = 439
FilterIndex = 0
HideDirectories = False
ButtonWidth = 23
@ -331,10 +334,10 @@ object CompilersPathsEditor: TCompilersPathsEditor
end
object selUSER1rt: TDirectoryEdit
Left = 2
Height = 27
Hint = 'select the root of druntime sources'
Top = 71
Width = 437
Height = 33
Hint = 'select the root of druntime sources, note it might alos contain phobos (GDC or LDC style)'
Top = 77
Width = 439
ShowHidden = False
ButtonWidth = 23
NumGlyphs = 1
@ -347,10 +350,10 @@ object CompilersPathsEditor: TCompilersPathsEditor
end
object selUSER1std: TDirectoryEdit
Left = 2
Height = 27
Height = 33
Hint = 'select the root of phobos sources'
Top = 121
Width = 437
Top = 133
Width = 439
ShowHidden = False
ButtonWidth = 23
NumGlyphs = 1
@ -365,7 +368,7 @@ object CompilersPathsEditor: TCompilersPathsEditor
Left = 0
Height = 19
Top = 0
Width = 441
Width = 443
Align = alTop
Alignment = taCenter
AutoSize = True
@ -375,8 +378,8 @@ object CompilersPathsEditor: TCompilersPathsEditor
object StaticText11: TStaticText
Left = 0
Height = 19
Top = 50
Width = 441
Top = 56
Width = 443
Align = alTop
Alignment = taCenter
AutoSize = True
@ -386,8 +389,8 @@ object CompilersPathsEditor: TCompilersPathsEditor
object StaticText12: TStaticText
Left = 0
Height = 19
Top = 100
Width = 441
Top = 112
Width = 443
Align = alTop
Alignment = taCenter
AutoSize = True
@ -397,21 +400,21 @@ object CompilersPathsEditor: TCompilersPathsEditor
end
object grpUSER2: TGroupBox
Left = 0
Height = 168
Top = 778
Width = 443
Height = 186
Top = 860
Width = 445
Align = alTop
AutoSize = True
Caption = 'User 2'
ClientHeight = 150
ClientWidth = 441
ClientHeight = 168
ClientWidth = 443
TabOrder = 4
object selUSER2exe: TFileNameEdit
Left = 2
Height = 27
Height = 33
Hint = 'select the compiler'
Top = 21
Width = 437
Width = 439
FilterIndex = 0
HideDirectories = False
ButtonWidth = 23
@ -425,10 +428,10 @@ object CompilersPathsEditor: TCompilersPathsEditor
end
object selUSER2rt: TDirectoryEdit
Left = 2
Height = 27
Hint = 'select the root of druntime sources'
Top = 71
Width = 437
Height = 33
Hint = 'select the root of druntime sources, note it might alos contain phobos (GDC or LDC style)'
Top = 77
Width = 439
ShowHidden = False
ButtonWidth = 23
NumGlyphs = 1
@ -441,10 +444,10 @@ object CompilersPathsEditor: TCompilersPathsEditor
end
object selUSER2std: TDirectoryEdit
Left = 2
Height = 27
Height = 33
Hint = 'select the root of phobos sources'
Top = 121
Width = 437
Top = 133
Width = 439
ShowHidden = False
ButtonWidth = 23
NumGlyphs = 1
@ -459,7 +462,7 @@ object CompilersPathsEditor: TCompilersPathsEditor
Left = 0
Height = 19
Top = 0
Width = 441
Width = 443
Align = alTop
Alignment = taCenter
AutoSize = True
@ -469,8 +472,8 @@ object CompilersPathsEditor: TCompilersPathsEditor
object StaticText14: TStaticText
Left = 0
Height = 19
Top = 50
Width = 441
Top = 56
Width = 443
Align = alTop
Alignment = taCenter
AutoSize = True
@ -480,8 +483,8 @@ object CompilersPathsEditor: TCompilersPathsEditor
object StaticText15: TStaticText
Left = 0
Height = 19
Top = 100
Width = 441
Top = 112
Width = 443
Align = alTop
Alignment = taCenter
AutoSize = True
@ -491,21 +494,21 @@ object CompilersPathsEditor: TCompilersPathsEditor
end
object GroupBox6: TGroupBox
Left = 0
Height = 51
Height = 58
Top = 0
Width = 443
Width = 445
Align = alTop
AutoSize = True
Caption = 'Compiler paths used for intellisense'
ClientHeight = 33
ClientWidth = 441
ClientHeight = 40
ClientWidth = 443
TabOrder = 5
object selDefault: TComboBox
Left = 4
Height = 25
Height = 32
Hint = 'select which the compiler for which the library paths are used by the completion daemon'
Top = 4
Width = 433
Width = 435
Align = alClient
BorderSpacing.Around = 4
ItemHeight = 0
@ -515,21 +518,21 @@ object CompilersPathsEditor: TCompilersPathsEditor
end
object GroupBox7: TGroupBox
Left = 0
Height = 55
Top = 51
Width = 443
Height = 58
Top = 58
Width = 445
Align = alTop
AutoSize = True
Caption = 'Compiler selected as "global"'
ClientHeight = 37
ClientWidth = 441
ClientHeight = 40
ClientWidth = 443
TabOrder = 6
object selGlobal: TComboBox
Left = 4
Height = 29
Height = 32
Hint = 'select which the compiler for which the library paths are used by the completion daemon'
Top = 4
Width = 433
Width = 435
Align = alClient
BorderSpacing.Around = 4
ItemHeight = 0