...
 
Commits (2)
......@@ -2,5 +2,5 @@
setlocal
rem *** Requires Microsoft Visual C++ 2019 ***
call "%VS160COMNTOOLS%\VsMSBuildCmd.bat"
msbuild sbbs3.sln /p:Platform="Win32" %1 %2 %3 %4 %5
msbuild sbbs3.sln /p:Platform="Win32" %*
if errorlevel 1 echo. & echo !ERROR(s) occurred & exit /b 1
\ No newline at end of file
@echo off
setlocal
call build.bat /t:Clean
call release.bat /t:Clean
\ No newline at end of file
......@@ -95,10 +95,10 @@ void __fastcall TMailCfgDlg::FormShow(TObject *Sender)
MaxMsgsWaitingEdit->Text="N/A";
else
MaxMsgsWaitingEdit->Text=AnsiString(MainForm->mail_startup.max_msgs_waiting);
if(MainForm->mail_startup.lines_per_yield == 0)
LinesPerYieldEdit->Text="N/A";
if(MainForm->mail_startup.max_concurrent_connections == 0)
MaxConConEdit->Text="N/A";
else
LinesPerYieldEdit->Text=AnsiString(MainForm->mail_startup.lines_per_yield);
MaxConConEdit->Text=AnsiString((int)MainForm->mail_startup.max_concurrent_connections);
AutoStartCheckBox->Checked=MainForm->MailAutoStart;
LogFileCheckBox->Checked=MainForm->MailLogFile;
......@@ -234,7 +234,7 @@ void __fastcall TMailCfgDlg::OKBtnClick(TObject *Sender)
MainForm->mail_startup.max_msgs_waiting=MaxMsgsWaitingEdit->Text.ToIntDef(0);
MainForm->mail_startup.max_delivery_attempts=DeliveryAttemptsEdit->Text.ToIntDef(MAIL_DEFAULT_MAX_DELIVERY_ATTEMPTS);
MainForm->mail_startup.rescan_frequency=RescanFreqEdit->Text.ToIntDef(MAIL_DEFAULT_RESCAN_FREQUENCY);
MainForm->mail_startup.lines_per_yield=LinesPerYieldEdit->Text.ToIntDef(0);
MainForm->mail_startup.max_concurrent_connections=MaxConConEdit->Text.ToIntDef(0);
SAFECOPY(MainForm->mail_startup.default_charset
,DefCharsetEdit->Text.c_str());
......
object MailCfgDlg: TMailCfgDlg
Left = 1213
Top = 393
Left = 1274
Top = 822
BorderStyle = bsDialog
Caption = 'Mail Server Configuration'
ClientHeight = 246
......@@ -53,8 +53,8 @@ object MailCfgDlg: TMailCfgDlg
Top = 3
Width = 278
Height = 199
ActivePage = POP3TabSheet
TabIndex = 2
ActivePage = GeneralTabSheet
TabIndex = 0
TabOrder = 3
object GeneralTabSheet: TTabSheet
Caption = 'General'
......@@ -84,13 +84,13 @@ object MailCfgDlg: TMailCfgDlg
AutoSize = False
Caption = 'Max Inactivity'
end
object LinesPerYieldLabel: TLabel
object MaxConConLabel: TLabel
Left = 7
Top = 140
Width = 85
Height = 19
AutoSize = False
Caption = 'Lines Per Yield'
Caption = 'Max Con-Conn'
end
object MaxMsgsLabel: TLabel
Left = 7
......@@ -178,14 +178,12 @@ object MailCfgDlg: TMailCfgDlg
ShowHint = True
TabOrder = 10
end
object LinesPerYieldEdit: TEdit
object MaxConConEdit: TEdit
Left = 92
Top = 140
Width = 39
Height = 21
Hint =
'Number of lines of message text sent/received between time-slice' +
' yields'
Hint = 'Maximum Concurrent Connections from same IP (0=unlimited)'
ParentShowHint = False
ShowHint = True
TabOrder = 6
......
......@@ -112,8 +112,8 @@ __published:
TEdit *BLHeaderEdit;
TLabel *BLSubjectLabel;
TLabel *BLHeaderLabel;
TEdit *LinesPerYieldEdit;
TLabel *LinesPerYieldLabel;
TEdit *MaxConConEdit;
TLabel *MaxConConLabel;
TLabel *MaxRecipientsLabel;
TEdit *MaxRecipientsEdit;
TButton *DNSBLExemptionsButton;
......
......@@ -83,7 +83,10 @@ void __fastcall TTelnetCfgDlg::FormShow(TObject *Sender)
FirstNodeEdit->Text=AnsiString((int)MainForm->bbs_startup.first_node);
LastNodeEdit->Text=AnsiString((int)MainForm->bbs_startup.last_node);
MaxConConEdit->Text=AnsiString((int)MainForm->bbs_startup.max_concurrent_connections);
if(MainForm->bbs_startup.max_concurrent_connections == 0)
MaxConConEdit->Text="N/A";
else
MaxConConEdit->Text=AnsiString((int)MainForm->bbs_startup.max_concurrent_connections);
AutoStartCheckBox->Checked=MainForm->SysAutoStart;
AnswerSoundEdit->Text=AnsiString(MainForm->bbs_startup.answer_sound);
HangupSoundEdit->Text=AnsiString(MainForm->bbs_startup.hangup_sound);
......
@echo off
call build.bat "/p:Configuration=Release"
\ No newline at end of file
call build.bat "/p:Configuration=Release" %*
\ No newline at end of file