Upstream version 1.38.04

pull/2/head
Stelios Bounanos 2007-09-28 15:39:56 +01:00
rodzic fc4caa1677
commit c71808d3d7
8 zmienionych plików z 358 dodań i 27 usunięć

Wyświetl plik

@ -41,6 +41,8 @@ Change Log:
select which of the text widgets will be used. Default is the fast
text widget. An fldigi restart is required after making a change to
the widget selection on the "misc" configuration tab.
23) Multiple changes to hamlib interface to correct deficient behavior on
startup and when changing frequency.
1.34 1) Cleaned up unused code segments
2) Modified CW decoder to allow setting upper and lower limits on
Tx WPM

286
icons/fldigi.xpm 100644
Wyświetl plik

@ -0,0 +1,286 @@
/* XPM */
static char *dummy[]={
"64 64 219 2",
"Qt c #000000",
".P c #010101",
".z c #020202",
"#o c #030303",
".O c #040404",
"aa c #050505",
".8 c #060606",
".7 c #070707",
"a# c #080808",
"ae c #090909",
".h c #0a0000",
"#C c #0a0a0a",
"az c #0b0b0b",
"#0 c #0c0c0c",
"#A c #0d0d0d",
"aR c #0e0e0e",
"#K c #0f0f0f",
"#B c #101010",
".A c #111111",
"#9 c #121212",
"a. c #131313",
"ad c #141414",
"br c #151515",
"aO c #161616",
"af c #171717",
".c c #181818",
"aF c #191919",
"ah c #1a1a1a",
".Q c #1b1b1b",
"#L c #1c1c1c",
".a c #1d1d1d",
"bn c #1e1e1e",
"#5 c #1f1f1f",
".f c #201818",
"ab c #212121",
"by c #232323",
"b# c #242424",
"bh c #252525",
"aV c #262626",
"aT c #272727",
".b c #292929",
"b. c #2c2c2c",
"bp c #2f2f2f",
"#8 c #313131",
"aG c #323232",
"aJ c #373737",
"bg c #383838",
"aA c #393939",
"#Z c #3b3b3b",
"#T c #3c3c3c",
".i c #3f3f3f",
"bd c #404040",
"#1 c #414141",
".y c #444444",
".x c #454545",
".N c #464646",
"a4 c #474747",
"a9 c #484848",
".9 c #494949",
"#n c #4a4a4a",
"bx c #4b4b4b",
"be c #4c4c4c",
"#g c #4e4e4e",
"#4 c #505050",
"aQ c #515151",
"bv c #525252",
".6 c #535353",
".j c #555555",
"ai c #565656",
".B c #575757",
"ak c #5c5c5c",
"#7 c #5d5d5d",
"ba c #5e5e5e",
"am c #5f5f5f",
"#S c #616161",
"#z c #626262",
"aN c #636363",
"aI c #676767",
"bo c #686868",
"aW c #696969",
"an c #6b6b6b",
"#p c #6c6c6c",
"#I c #6d6d6d",
".R c #6e6e6e",
"#J c #6f6f6f",
"aP c #717171",
"a1 c #737373",
"bu c #747474",
"a5 c #757575",
"#W c #777777",
"ay c #787878",
"aH c #797979",
"bf c #7a7a7a",
"aX c #7b7b7b",
"a3 c #7c7c7c",
"## c #7d7d7d",
"ac c #7e7e7e",
".5 c #7f7f7f",
"bi c #808080",
"#2 c #818181",
"#h c #828282",
".t c #838383",
"bt c #848484",
"#f c #858585",
"aY c #868686",
"#D c #878787",
"#a c #888888",
"a2 c #898989",
"bk c #8a8a8a",
"al c #8b8b8b",
"#3 c #8c8c8c",
"#m c #8d8d8d",
"aM c #8e8e8e",
"aB c #8f8f8f",
"ap c #909090",
".T c #919191",
"aK c #929292",
"aU c #939393",
"bc c #949494",
"#. c #959595",
"a7 c #969696",
"aE c #979797",
"aj c #989898",
".U c #999999",
"bj c #9a9a9a",
"av c #9b9b9b",
".M c #9c9c9c",
".4 c #9d9d9d",
"ax c #9e9e9e",
"aS c #9f9f9f",
"bm c #a0a0a0",
"#t c #a1a1a1",
"as c #a2a2a2",
"#l c #a3a3a3",
"a6 c #a4a4a4",
"ao c #a5a5a5",
".w c #a6a6a6",
"#Y c #a7a7a7",
"#Q c #a8a8a8",
"aw c #a9a9a9",
".S c #aaaaaa",
"#U c #ababab",
".k c #acacac",
"#y c #adadad",
".s c #aeaeae",
"bs c #afafaf",
".p c #b0b0b0",
"bw c #b1b1b1",
".q c #b2b2b2",
"#H c #b3b3b3",
".L c #b4b4b4",
"#v c #b5b5b5",
"#X c #b6b6b6",
"#E c #b7b7b7",
".D c #b8b8b8",
"#q c #b9b9b9",
".C c #bababa",
"bq c #bbbbbb",
"#w c #bcbcbc",
"#F c #bdbdbd",
"#x c #bebebe",
"#R c #bfbfbf",
"#r c #c0c0c0",
".V c #c1c1c1",
"au c #c2c2c2",
"#P c #c3c3c3",
".E c #c4c4c4",
"#k c #c5c5c5",
"at c #c6c6c6",
"#M c #c7c7c7",
"#G c #c8c8c8",
".K c #c9c9c9",
"#b c #cacaca",
"bb c #cbcbcb",
"ar c #cccccc",
".W c #cdcdcd",
"aC c #cecece",
".3 c #cfcfcf",
".v c #d0d0d0",
".J c #d1d1d1",
"#d c #d2d2d2",
".o c #d3d3d3",
"a0 c #d4d4d4",
".r c #d5d5d5",
".l c #d6d6d6",
".F c #d7d7d7",
"#O c #d8d8d8",
"#s c #d9d9d9",
".u c #dadada",
".H c #dbdbdb",
".n c #dcdcdc",
".Y c #dddddd",
"#V c #dedede",
".m c #dfdfdf",
"#N c #e0e0e0",
".G c #e1e1e1",
"#u c #e2e2e2",
".X c #e3e3e3",
"#c c #e4e4e4",
".2 c #e5e5e5",
".1 c #e6e6e6",
".0 c #e7e7e7",
".I c #e8e8e8",
"aq c #e9e9e9",
"#i c #eaeaea",
"#j c #ebebeb",
".Z c #ececec",
"aD c #ededed",
"#6 c #eeeeee",
"ag c #efefef",
"#e c #f0f0f0",
"aL c #f1f1f1",
"a8 c #f2f2f2",
"aZ c #f4f4f4",
"bl c #f5f5f5",
".e c #f71818",
".g c #fe0000",
".d c #ff0000",
".# c #ffffff",
"QtQtQtQtQtQtQtQtQtQtQt.#QtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQt.#QtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQt",
"QtQtQtQtQtQtQtQtQtQtQt.#.aQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQt.#QtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQt",
"QtQtQtQtQtQtQtQtQtQtQt.#.bQtQtQtQtQtQtQtQtQ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aeaw#3#d.u.v#i.I.lag.I.Z.H.Ga0.C#Ubf#9QtQt.A.AQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQt",
"QtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtadaaQtQtaR.Sbo#s.m.uaq.Y.I.0.IaD#q#O.l#PbkaX#KQtQtaa.AQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQt",
"QtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQt.P.8Qtaa.PQtQt#0#2bc.u#j#caqaqaraC.w#i.2#caqaC.U.RahQtQtQtQtQt.8aaQtQtQtQtQtQtQtQtQtQtQtQtQtQt",
"QtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQt.z#KQtQtQtQtQt.P.Qbebs.1#Y.q#Y#Sbabv#l.kbw#ebtbxb##oQtQtQtQtQtad#BQtQtQtQtQtQtQtQtQtQtQtQtQtQt",
"QtQtQtQtQtQtQt.P.PQtQtQtQtQtQtQtQt.P.7QtQtQtQtQtQtQt.PQt.#by.aa..zQt.8#AafQt.##LQtQtQtQtQtQtQtQtaf#9QtQtQtQtQtQtQtQtQtQtQtQtQtQt",
"QtQtQtQtQtQtQt#o#oQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQt.#a.QtQtQtQtQtQtQtQt.#.aQtQtQtQtQtQtQtQt.ca.QtQtQtQtQtQtQtQtQtQtQtQtQtQt",
"QtQtQtQtQtQtQta#a#QtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQt.##AQtQtQtQtQtQtQtQt.##CQtQtQtQtQtQtQtQtahadQtQtQtQtQtQtQtQtQtQtQtQtQtQt"};

Wyświetl plik

@ -2,6 +2,6 @@
#define _VERSION_H
#define FLDIGI_NAME "fldigi"
#define FLDIGI_VERSION "1.38.03"
#define FLDIGI_VERSION "1.38.04"
#endif

Wyświetl plik

@ -963,7 +963,7 @@ void configuration::initInterface() {
btnPTT[1]->value() ? 1 :
btnPTT[2]->value() ? 2 :
btnPTT[3]->value() ? 3 :
btnPTT[4]->value() ? 4 : 5);
btnPTT[4]->value() ? 4 : 0); // default is None
RTSptt = btnRTSptt->value();
DTRptt = btnDTRptt->value();
@ -1000,7 +1000,7 @@ void configuration::initInterface() {
wf->setQSY(1);
activate_rig_menu_item(false);
} else if (chkUSERIGCATis) { // start the rigCAT thread
btnPTT[3]->activate();
// btnPTT[3]->activate();
if (rigCAT_init() == false) {
wf->USB(true);
cboBand->show();
@ -1016,7 +1016,7 @@ void configuration::initInterface() {
}
#ifndef NOHAMLIB
} else if (chkUSEHAMLIBis) { // start the hamlib thread
btnPTT[1]->activate();
// btnPTT[1]->activate();
if (hamlib_init(btnPTTis == 1 ? true : false) == false) {
wf->USB(true);
cboBand->show();

Wyświetl plik

@ -1,5 +1,13 @@
//
// hamlib.cxx -- Hamlib (rig control) interface for fldigi
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <sys/ioctl.h>
#include <termios.h>
#include <string>
#include "configuration.h"
#include "Config.h"
#include <FL/fl_ask.H>
@ -16,7 +24,7 @@
#include "rigsupport.h"
#include "rigdialog.h"
using namespace std;
using namespace std;
static Fl_Mutex hamlib_mutex = PTHREAD_MUTEX_INITIALIZER;
static Fl_Thread hamlib_thread;
@ -45,6 +53,35 @@ void show_error(const char * a, const char * b)
msg.append(": ");
msg.append(b);
put_status((char*)msg.c_str());
// std::cout << msg.c_str() << std::endl; std::cout.flush();
}
bool hamlib_setRTSDTR()
{
if (progdefaults.RTSplus == false && progdefaults.DTRplus == false)
return true;
int hamlibfd = open(progdefaults.HamRigDevice.c_str(), O_RDWR | O_NOCTTY | O_NDELAY);
if (hamlibfd < 0)
return false;
int status;
ioctl(hamlibfd, TIOCMGET, &status);
if (progdefaults.RTSplus)
status |= TIOCM_RTS; // set RTS bit
else
status &= ~TIOCM_RTS; // clear RTS bit
if (progdefaults.DTRplus)
status |= TIOCM_DTR; // set DTR bit
else
status &= ~TIOCM_DTR; // clear DTR bit
ioctl(hamlibfd, TIOCMSET, &status);
close(hamlibfd);
return true;
}
bool hamlib_init(bool bPtt)
@ -91,6 +128,9 @@ bool hamlib_init(bool bPtt)
MilliSleep(100);
if (hamlib_setRTSDTR() == false)
return -1;
try {
need_freq = true;
freq = xcvr->getFreq();
@ -122,14 +162,15 @@ bool hamlib_init(bool bPtt)
}
hamlib_freq = 0;
hamlib_rmode = RIG_MODE_USB;
hamlib_rmode = RIG_MODE_NONE;//RIG_MODE_USB;
if (fl_create_thread(hamlib_thread, hamlib_loop, &dummy) < 0) {
show_error("Hamlib init:", "pthread_create failed");
xcvr->close();
return false;
}
// std::cout << "Hamlib on" << std::endl; fflush(stdout);
// std::cout << "Hamlib on" << std::endl; cout.flush();
init_Hamlib_RigDialog();
@ -146,19 +187,19 @@ void hamlib_close(void)
hamlib_exit = true;
// std::cout << "Waiting for hamlib to exit "; fflush(stdout);
// std::cout << "Waiting for hamlib to exit "; cout.flush();
while (hamlib_closed == false) {
// std::cout << "."; fflush(stdout);
// std::cout << "."; cout.flush();
MilliSleep(50);
count--;
if (!count) {
std::cout << "\nHamlib stuck\n"; fflush(stdout);
std::cout << "\nHamlib stuck\n"; cout.flush();
exit(0);
}
}
xcvr->close();
// std::cout << "\nexit OK" << std::endl; fflush(stdout);
// std::cout << "\nexit OK" << std::endl; cout.flush();
}
bool hamlib_active(void)
@ -213,11 +254,10 @@ int hamlib_setfreq(long f)
{
if (xcvr->isOnLine() == false)
return -1;
hamlib_freq = f;
fl_lock(&hamlib_mutex);
try {
xcvr->setFreq(hamlib_freq);
wf->rfcarrier(hamlib_freq);
xcvr->setFreq(f);
wf->rfcarrier(f);//(hamlib_freq);
}
catch (RigException Ex) {
show_error("SetFreq", Ex.message);

Wyświetl plik

@ -43,8 +43,7 @@
// "hamlib" - 1
// "memmap" - 2
// "rigcat" - 3
// "/dev/ttys0" - 4
// "/dev/ttys1" - 5
// "tty" - 4 (SPECIFIED by progdefaults.PTTdev)
PTT::PTT(int dev, int mode, bool inverted)
{

Wyświetl plik

@ -103,8 +103,10 @@ void Rig::close(void)
void Rig::setFreq(freq_t freq, vfo_t vfo)
{
int err;
for (int i = 0; i < NUMTRIES; i++) {
if (rig_set_freq(theRig, vfo, freq) == RIG_OK)
err = rig_set_freq(theRig, vfo, freq);
if (err == RIG_OK)
return;
}
throw RigException ("setFreq");

Wyświetl plik

@ -1,13 +1,13 @@
//########################################################################
//
// rigsupport.cxx
//
// rig control - support functions file
//
// copywrite David Freese, w1hkj@w1hkj.com
//
//########################################################################
//########################################################################
//
// rigsupport.cxx
//
// rig control - support functions file
//
// copywrite David Freese, w1hkj@w1hkj.com
//
//########################################################################
#include "rigdialog.h"
#include "rigsupport.h"
#include "rigxml.h"
@ -187,6 +187,7 @@ void buildlist()
{
if (readFreqList() == true)
return;
Fl::lock();
for (int n = 0; n < 100; n++) {freqlist[n] = 0;}
addtoList (1807000L);
addtoList (10135000L);
@ -206,6 +207,7 @@ void buildlist()
addtoList (7030000L);
updateSelect();
FreqDisp->value(freqlist[0]);
Fl::unlock();
}
void setMode() {