kopia lustrzana https://github.com/jamescoxon/dl-fldigi
				
				
				
			Upstream version 3.03AC
							rodzic
							
								
									ab26ef2d54
								
							
						
					
					
						commit
						cf0942386b
					
				
							
								
								
									
										12
									
								
								ChangeLog
								
								
								
								
							
							
						
						
									
										12
									
								
								ChangeLog
								
								
								
								
							| 
						 | 
				
			
			@ -1,5 +1,17 @@
 | 
			
		|||
Change Log:
 | 
			
		||||
 | 
			
		||||
3.03
 | 
			
		||||
      1) Changes to socket server to correct shutdown process
 | 
			
		||||
      2) Added event logging and an event viewer
 | 
			
		||||
      
 | 
			
		||||
3.02
 | 
			
		||||
      1) Added hamlib interface for rig control
 | 
			
		||||
      2) Improved rigCAT serial communications on Windows
 | 
			
		||||
 | 
			
		||||
3.01
 | 
			
		||||
      1) Compile switch changes for OS-X
 | 
			
		||||
      2) Corrected serial port discovery on Windows
 | 
			
		||||
      
 | 
			
		||||
3.0   1) Added EXEC macro
 | 
			
		||||
      2) Added mousewheel over Macro buttons to move between macro button sets.
 | 
			
		||||
      3) Fixed bug in Olivia signal level display.
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -9,7 +9,7 @@ dnl major and minor must be integers; patch may
 | 
			
		|||
dnl contain other characters or be empty
 | 
			
		||||
m4_define(FLDIGI_MAJOR, [3])
 | 
			
		||||
m4_define(FLDIGI_MINOR, [0])
 | 
			
		||||
m4_define(FLDIGI_PATCH, [3AB])
 | 
			
		||||
m4_define(FLDIGI_PATCH, [3AC])
 | 
			
		||||
 | 
			
		||||
AC_INIT([fldigi], FLDIGI_MAJOR.FLDIGI_MINOR[FLDIGI_PATCH], [w1hkj AT w1hkj DOT com])
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -41,6 +41,13 @@ static char QRZdir[256] = "";
 | 
			
		|||
 | 
			
		||||
static const char *QRZpath;
 | 
			
		||||
static const char *QRZtry[] = { 
 | 
			
		||||
#ifdef __CYGWIN__
 | 
			
		||||
  "C:/CALLBK/", // look on C: drive first
 | 
			
		||||
  "D:/CALLBK/", 
 | 
			
		||||
  "E:/CALLBK/",
 | 
			
		||||
  "F:/CALLBK/",
 | 
			
		||||
  "G:/CALLBK/",
 | 
			
		||||
#else
 | 
			
		||||
  "~/callbk/",
 | 
			
		||||
  "/cdrom/callbk/",
 | 
			
		||||
  "/mnt/cdrom/callbk/",  "/mnt/cdrom0/callbk/",  "/mnt/cdrom1/callbk/",
 | 
			
		||||
| 
						 | 
				
			
			@ -49,6 +56,7 @@ static const char *QRZtry[] = {
 | 
			
		|||
  "/cdrom/callbk/",
 | 
			
		||||
  "/mnt/cdrom/callbk/",  "/mnt/cdrom0/callbk/",  "/mnt/cdrom1/callbk/",
 | 
			
		||||
  "/media/cdrom/callbk/", "/media/cdrom0/callbk/", "/media/cdrom1/callbk/", 
 | 
			
		||||
#endif
 | 
			
		||||
  0 };
 | 
			
		||||
 | 
			
		||||
FILE *imagefile = NULL;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -528,6 +528,13 @@ bool Socket::wait(int dir)
 | 
			
		|||
///
 | 
			
		||||
void Socket::bind(void)
 | 
			
		||||
{
 | 
			
		||||
	int r;
 | 
			
		||||
	if (setsockopt(sockfd, SOL_SOCKET, SO_REUSEADDR, &r, sizeof(r)) == -1)
 | 
			
		||||
#ifndef NDEBUG
 | 
			
		||||
		perror("setsockopt SO_REUSEADDR");
 | 
			
		||||
#else
 | 
			
		||||
		;
 | 
			
		||||
#endif
 | 
			
		||||
	if (::bind(sockfd, ainfo->ai_addr, ainfo->ai_addrlen) == -1)
 | 
			
		||||
		throw SocketException(errno, "bind");
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			@ -542,13 +549,7 @@ void Socket::bind(void)
 | 
			
		|||
///
 | 
			
		||||
Socket Socket::accept(void)
 | 
			
		||||
{
 | 
			
		||||
	int r = 1;
 | 
			
		||||
	if (setsockopt(sockfd, SOL_SOCKET, SO_REUSEADDR, &r, sizeof(r)) == -1)
 | 
			
		||||
#ifndef NDEBUG
 | 
			
		||||
		perror("setsockopt SO_REUSEADDR");
 | 
			
		||||
#else
 | 
			
		||||
		;
 | 
			
		||||
#endif
 | 
			
		||||
	int r = -1;
 | 
			
		||||
 | 
			
		||||
	listen(sockfd, SOMAXCONN);
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Ładowanie…
	
		Reference in New Issue