New upstream version 6.0.24.82+repack
This commit is contained in:
parent
3e1cbdfa4d
commit
e925e16114
24
BPQTermMDI.c
24
BPQTermMDI.c
|
@ -2973,6 +2973,30 @@ LRESULT APIENTRY InputProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (wParam == 0x7) // BEL (Ctrl/G)
|
||||||
|
{
|
||||||
|
// Get buffer, append 07 and write back
|
||||||
|
|
||||||
|
Cinfo->kbptr = SendMessage(Cinfo->hwndInput, WM_GETTEXT, INPUTLEN-1,
|
||||||
|
(LPARAM) (LPCSTR)Cinfo->kbbuf);
|
||||||
|
|
||||||
|
|
||||||
|
Cinfo->kbbuf[Cinfo->kbptr++] = 7;
|
||||||
|
Cinfo->kbbuf[Cinfo->kbptr] = 0;
|
||||||
|
|
||||||
|
SendMessage(Cinfo->hwndInput,WM_SETTEXT,0,(LPARAM)(LPCSTR) Cinfo->kbbuf);
|
||||||
|
|
||||||
|
// Send cursor right
|
||||||
|
|
||||||
|
for (i = 0; i < strlen(Cinfo->kbbuf); i++)
|
||||||
|
{
|
||||||
|
SendMessage(Cinfo->hwndInput, WM_KEYDOWN, VK_RIGHT, 0);
|
||||||
|
SendMessage(Cinfo->hwndInput, WM_KEYUP, VK_RIGHT, 0);
|
||||||
|
}
|
||||||
|
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
2
Bpq32.c
2
Bpq32.c
|
@ -1280,6 +1280,8 @@ along with LinBPQ/BPQ32. If not, see http://www.gnu.org/licenses
|
||||||
// Fix possible FRMR when RNR is cleared by SREJ (78)
|
// Fix possible FRMR when RNR is cleared by SREJ (78)
|
||||||
// Fix error in .77 L4Compress fix (mine, not Steve's!) (78)
|
// Fix error in .77 L4Compress fix (mine, not Steve's!) (78)
|
||||||
// Fix possible stuck L2 session when handling SREJ (79)
|
// Fix possible stuck L2 session when handling SREJ (79)
|
||||||
|
// Allow sending CTRL/G From console (Windows) (80)
|
||||||
|
// Fix Webmail autorefresh extra threads problem (websock connection lost handling) (82)
|
||||||
|
|
||||||
#define CKernel
|
#define CKernel
|
||||||
|
|
||||||
|
|
|
@ -999,8 +999,11 @@ LRESULT APIENTRY InputProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
|
||||||
|
|
||||||
// Send cursor right
|
// Send cursor right
|
||||||
|
|
||||||
SendMessage(Cinfo->hwndInput, WM_KEYDOWN, VK_RIGHT, 0);
|
for (i = 0; i < strlen(Cinfo->kbbuf); i++)
|
||||||
SendMessage(Cinfo->hwndInput, WM_KEYUP, VK_RIGHT, 0);
|
{
|
||||||
|
SendMessage(Cinfo->hwndInput, WM_KEYDOWN, VK_RIGHT, 0);
|
||||||
|
SendMessage(Cinfo->hwndInput, WM_KEYUP, VK_RIGHT, 0);
|
||||||
|
}
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
|
@ -0,0 +1,2 @@
|
||||||
|
GM8BPQ 0 John ?_qthャ26ャ0
|
||||||
|
G8BPQ 0 John ?_qthャ26ャ0
|
20
HTTPcode.c
20
HTTPcode.c
|
@ -4839,7 +4839,14 @@ void ProcessWebmailWebSockThread(void * conn)
|
||||||
|
|
||||||
Sent = send(sockptr->socket, _REPLYBUFFER, ReplyLen, 0);
|
Sent = send(sockptr->socket, _REPLYBUFFER, ReplyLen, 0);
|
||||||
|
|
||||||
while (Sent != ReplyLen && Loops++ < 3000) // 100 secs max
|
if (Sent == -1) // Connecton lost
|
||||||
|
{
|
||||||
|
closesocket(sockptr->socket);
|
||||||
|
free(conn);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
while (Sent != ReplyLen && Loops++ < 3000) // 90 secs max
|
||||||
{
|
{
|
||||||
if (Sent > 0) // something sent
|
if (Sent > 0) // something sent
|
||||||
{
|
{
|
||||||
|
@ -4885,11 +4892,16 @@ void ProcessWebmailWebSockThread(void * conn)
|
||||||
|
|
||||||
CloseHandle(hPipe);
|
CloseHandle(hPipe);
|
||||||
|
|
||||||
// ?? do we need a thread to handle write which may block
|
|
||||||
|
|
||||||
Sent = send(sockptr->socket, Reply, ReplyLen, 0);
|
Sent = send(sockptr->socket, Reply, ReplyLen, 0);
|
||||||
|
|
||||||
while (Sent != ReplyLen && Loops++ < 3000) // 100 secs max
|
if (Sent == -1) // Connecton lost
|
||||||
|
{
|
||||||
|
free(conn);
|
||||||
|
closesocket(sockptr->socket);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
while (Sent != ReplyLen && Loops++ < 3000) // 90 secs max
|
||||||
{
|
{
|
||||||
// Debugprintf("%d out of %d sent %d Loops", Sent, InputLen, Loops);
|
// Debugprintf("%d out of %d sent %d Loops", Sent, InputLen, Loops);
|
||||||
|
|
||||||
|
|
|
@ -1229,7 +1229,7 @@ void chkctl(ChatCIRCUIT *ckt_from, char * Buffer, int Len)
|
||||||
|
|
||||||
for (i = 1; i < (Len - 1); i++)
|
for (i = 1; i < (Len - 1); i++)
|
||||||
{
|
{
|
||||||
if (Buffer[i] < 32)
|
if (Buffer[i] < 32 && Buffer[i] != 7) // Accept BELL
|
||||||
{
|
{
|
||||||
if (Buffer[i] == 9)
|
if (Buffer[i] == 9)
|
||||||
{
|
{
|
||||||
|
|
|
@ -944,6 +944,30 @@ LRESULT APIENTRY InputProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (wParam == 0x7) // BEL (Ctrl/G)
|
||||||
|
{
|
||||||
|
// Get buffer, append 07 and write back
|
||||||
|
|
||||||
|
Cinfo->kbptr = SendMessage(Cinfo->hwndInput, WM_GETTEXT, INPUTLEN-1,
|
||||||
|
(LPARAM) (LPCSTR)Cinfo->kbbuf);
|
||||||
|
|
||||||
|
|
||||||
|
Cinfo->kbbuf[Cinfo->kbptr++] = 7;
|
||||||
|
Cinfo->kbbuf[Cinfo->kbptr] = 0;
|
||||||
|
|
||||||
|
SendMessage(Cinfo->hwndInput,WM_SETTEXT,0,(LPARAM)(LPCSTR) Cinfo->kbbuf);
|
||||||
|
|
||||||
|
// Send cursor right
|
||||||
|
|
||||||
|
for (i = 0; i < strlen(Cinfo->kbbuf); i++)
|
||||||
|
{
|
||||||
|
SendMessage(Cinfo->hwndInput, WM_KEYDOWN, VK_RIGHT, 0);
|
||||||
|
SendMessage(Cinfo->hwndInput, WM_KEYUP, VK_RIGHT, 0);
|
||||||
|
}
|
||||||
|
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
G8BPQ-1 1754642136
|
15
TelnetV6.c
15
TelnetV6.c
|
@ -5018,23 +5018,20 @@ int DataSocket_ReadHTTP(struct TNCINFO * TNC, struct ConnectionInfo * sockptr, S
|
||||||
{
|
{
|
||||||
// Failed or closed - clear connection
|
// Failed or closed - clear connection
|
||||||
|
|
||||||
// if Websock connection till app
|
// if Websock connection tell app
|
||||||
|
|
||||||
if (sockptr->WebSocks)
|
if (sockptr->WebSocks)
|
||||||
{
|
{
|
||||||
if (memcmp(sockptr->WebURL, "rhp", 3) == 0)
|
if (memcmp(sockptr->WebURL, "rhp", 3) == 0)
|
||||||
{
|
|
||||||
ProcessRHPWebSockClosed(sockptr->socket);
|
ProcessRHPWebSockClosed(sockptr->socket);
|
||||||
DataSocket_Disconnect(TNC, sockptr);
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
TNC->Streams[sockptr->Number].ReportDISC = TRUE; //Tell Node
|
|
||||||
DataSocket_Disconnect(TNC, sockptr);
|
DataSocket_Disconnect(TNC, sockptr);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
TNC->Streams[sockptr->Number].ReportDISC = TRUE; //Tell Node
|
||||||
|
DataSocket_Disconnect(TNC, sockptr);
|
||||||
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
MsgPtr = &sockptr->InputBuffer[0];
|
MsgPtr = &sockptr->InputBuffer[0];
|
||||||
|
|
|
@ -10,15 +10,15 @@
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define KVers 6,0,24,80
|
#define KVers 6,0,24,82
|
||||||
#define KVerstring "6.0.24.80\0"
|
#define KVerstring "6.0.24.82\0"
|
||||||
|
|
||||||
|
|
||||||
#ifdef CKernel
|
#ifdef CKernel
|
||||||
|
|
||||||
#define Vers KVers
|
#define Vers KVers
|
||||||
#define Verstring KVerstring
|
#define Verstring KVerstring
|
||||||
#define Datestring "July 2025"
|
#define Datestring "August 2025"
|
||||||
#define VerComments "G8BPQ Packet Switch (C Version)" KVerstring
|
#define VerComments "G8BPQ Packet Switch (C Version)" KVerstring
|
||||||
#define VerCopyright "Copyright © 2001-2025 John Wiseman G8BPQ\0"
|
#define VerCopyright "Copyright © 2001-2025 John Wiseman G8BPQ\0"
|
||||||
#define VerDesc "BPQ32 Switch\0"
|
#define VerDesc "BPQ32 Switch\0"
|
||||||
|
|
|
@ -74,6 +74,7 @@
|
||||||
|
|
||||||
// Increase size of status display buffers (7)
|
// Increase size of status display buffers (7)
|
||||||
// Allow sending BEL (CTRL/G) (79)
|
// Allow sending BEL (CTRL/G) (79)
|
||||||
|
// Fix sending BEL (CTRL/G) (81)
|
||||||
|
|
||||||
|
|
||||||
#include "BPQChat.h"
|
#include "BPQChat.h"
|
||||||
|
|
3
cMain.c
3
cMain.c
|
@ -52,6 +52,9 @@ int CanPortDigi(int Port);
|
||||||
int KissEncode(UCHAR * inbuff, UCHAR * outbuff, int len);
|
int KissEncode(UCHAR * inbuff, UCHAR * outbuff, int len);
|
||||||
void MQTTTimer();
|
void MQTTTimer();
|
||||||
void SaveMH();
|
void SaveMH();
|
||||||
|
VOID InformPartner(struct _LINKTABLE * LINK, int Reason);
|
||||||
|
VOID L2SENDCOMMAND(struct _LINKTABLE * LINK, int CMD);
|
||||||
|
|
||||||
|
|
||||||
#include "configstructs.h"
|
#include "configstructs.h"
|
||||||
|
|
||||||
|
|
|
@ -18,5 +18,5 @@ Chat :
|
||||||
MonitorSize = "828,1644,148,770";
|
MonitorSize = "828,1644,148,770";
|
||||||
DebugSize = "0,0,0,0";
|
DebugSize = "0,0,0,0";
|
||||||
WindowSize = "231,835,254,602";
|
WindowSize = "231,835,254,602";
|
||||||
Version = "6,0,24,32";
|
Version = "6,0,24,81";
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue