Skip to content

Commit

Permalink
v3.4.2
Browse files Browse the repository at this point in the history
  • Loading branch information
w5wc committed Jul 5, 2017
1 parent 1fc972f commit 7196834
Show file tree
Hide file tree
Showing 20 changed files with 708 additions and 300 deletions.
2 changes: 1 addition & 1 deletion Project Files/Source/Console/AssemblyInfo.cs
Expand Up @@ -63,7 +63,7 @@
// You can specify all the values or you can default the Revision and Build Numbers
// by using the '*' as shown below:

[assembly: AssemblyVersion("3.4.1")]
[assembly: AssemblyVersion("3.4.2")]

//
// In order to sign your assembly you must specify a key to use. Refer to the
Expand Down
254 changes: 222 additions & 32 deletions Project Files/Source/Console/console.cs

Large diffs are not rendered by default.

724 changes: 463 additions & 261 deletions Project Files/Source/Console/database.cs

Large diffs are not rendered by default.

26 changes: 21 additions & 5 deletions Project Files/Source/Console/setup.cs
Expand Up @@ -15794,7 +15794,7 @@ private void comboTXTUNMeter_SelectedIndexChanged(object sender, System.EventArg
private void btnResetDB_Click(object sender, System.EventArgs e)
{
DialogResult dr = MessageBox.Show("This will close the program, make a copy of the current\n" +
"database to your desktop, and reset the active database\n" +
"database to the DB_Archive folder and reset the active database\n" +
"the next time PowerSDR is launched.\n\n" +
"Are you sure you want to reset the database?",
"Reset Database?",
Expand Down Expand Up @@ -15907,8 +15907,8 @@ private void btnTXProfileDefImport_Click(object sender, System.EventArgs e)
{
if (lstTXProfileDef.SelectedIndex < 0) return;

DialogResult result = MessageBox.Show("Import profile from defaults?",
"Import?",
DialogResult result = MessageBox.Show("Include this Additional TX profile in your profiles list?",
"Include?",
MessageBoxButtons.YesNo,
MessageBoxIcon.Question);

Expand Down Expand Up @@ -15971,7 +15971,23 @@ private void btnTXProfileDefImport_Click(object sender, System.EventArgs e)
//-W2PA Export a single TX Profile to send to someone else for importing.
private void ExportCurrentTxProfile()
{
string fileName = console.AppDataPath + current_profile + ".xml";
string fileName = current_profile;

string invalid = new string(Path.GetInvalidFileNameChars()) + new string(Path.GetInvalidPathChars());
foreach (char c in invalid)
{
fileName = fileName.Replace(c.ToString(), "_"); // Remove profile name chars that are invalid in filenames.
}

fileName = console.AppDataPath + fileName;

int i = 1;
string tempFN = fileName;
while (File.Exists(tempFN + ".xml")) {
tempFN = fileName + Convert.ToString(i); // Get a slightly different file name if it already exists.
i++;
}
fileName = tempFN + ".xml";

DataRow[] rows = DB.ds.Tables["TxProfile"].Select(
"'" + current_profile + "' = Name");
Expand All @@ -15996,7 +16012,7 @@ private void ExportCurrentTxProfile()

try
{
exDS.WriteXml(fileName, XmlWriteMode.WriteSchema); // Writing with schema isn't necessary for import?
exDS.WriteXml(fileName, XmlWriteMode.WriteSchema); // Writing with schema is necessary for import
}
catch
{
Expand Down
2 changes: 1 addition & 1 deletion Project Files/Source/Console/titlebar.cs
Expand Up @@ -35,7 +35,7 @@ namespace PowerSDR
class TitleBar
{
public const string BUILD_NAME = "mRX PS";
public const string BUILD_DATE = "(6/1/17)";
public const string BUILD_DATE = "(7/5/17)";

public static string GetString()
{
Expand Down
Binary file modified Project Files/Source/JanusAudio/JanusAudio.exp
Binary file not shown.
Binary file modified Project Files/Source/JanusAudio/JanusAudio.lib
Binary file not shown.
Binary file modified Project Files/bin/Release/Midi2Cat.dll
Binary file not shown.
Binary file modified Project Files/bin/Release/Midi2Cat.pdb
Binary file not shown.
Binary file modified Project Files/bin/Release/PowerSDR.exe
Binary file not shown.
Binary file modified Project Files/bin/Release/PowerSDR.pdb
Binary file not shown.
Binary file modified Project Files/bin/Release/de/PowerSDR.resources.dll
Binary file not shown.
Binary file modified Project Files/bin/Release/es/PowerSDR.resources.dll
Binary file not shown.
Binary file modified Project Files/bin/Release/fr/PowerSDR.resources.dll
Binary file not shown.
Binary file modified Project Files/bin/Release/it/PowerSDR.resources.dll
Binary file not shown.
Binary file modified Project Files/bin/Release/ja/PowerSDR.resources.dll
Binary file not shown.
Binary file modified Project Files/bin/Release/ko/PowerSDR.resources.dll
Binary file not shown.
Binary file modified Project Files/bin/Release/ru/PowerSDR.resources.dll
Binary file not shown.
Binary file modified Project Files/bin/Release/zh-Hans/PowerSDR.resources.dll
Binary file not shown.
Binary file modified Project Files/bin/Release/zh-Hant/PowerSDR.resources.dll
Binary file not shown.

0 comments on commit 7196834

Please sign in to comment.