Skip to content

Commit

Permalink
Pre-release preparation (4)
Browse files Browse the repository at this point in the history
  • Loading branch information
Serg-Norseman committed Jun 20, 2016
1 parent 27b141f commit a8a5f29
Show file tree
Hide file tree
Showing 7 changed files with 24 additions and 10 deletions.
2 changes: 1 addition & 1 deletion deploy/DEBIAN/control
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Depends: mono-complete (>=3)
Maintainer: Serg V. Zhdanovskih (aka Norseman) <norseman@mail.ru>
Homepage: https://gedkeeper.github.io/
Origin: https://github.com/serg-norseman/gedkeeper
Installed-Size: 6401
Installed-Size: 10978
Section: editors
Priority: optional
Description: GEDKeeper2
Expand Down
4 changes: 4 additions & 0 deletions deploy/gk2_linux_package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,8 @@ cp -r $DEV_PATH/locales/ ~/$LIB_PATH/
cp -r $DEV_PATH/plugins/ ~/$LIB_PATH/
cp -r $DEV_PATH/scripts/ ~/$LIB_PATH/

#cd ~/$PACK_PATH
#md5deep -r usr > DEBIAN/md5sums
#cd ..

fakeroot dpkg-deb -b ~/$PACK_PATH/ .
8 changes: 8 additions & 0 deletions deploy/gk2_win_setup.nsi
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,10 @@ SectionGroup /e "
CreateDirectory "$INSTDIR\locales\help_enu"
SetOutPath "$INSTDIR\locales\help_enu"
File "..\locales\help_enu\*.*"

CreateDirectory "$INSTDIR\locales\help_enu\images"
SetOutPath "$INSTDIR\locales\help_enu\images"
File "..\locales\help_enu\images\*.*"
SectionEnd

Section "Óêðà¿íñüêà"
Expand Down Expand Up @@ -177,6 +181,9 @@ SectionGroup /e "
File "..\plugins\csgl.dll"
File "..\plugins\csgl.native.dll"
File "..\plugins\GKTreeVizPlugin.dll"
File "..\plugins\GKTreeVizPlugin.rus"
File "..\plugins\GKTreeVizPlugin.eng"
File "..\plugins\GKTreeVizPlugin.ukr"
File "..\plugins\ArborGVT.dll"
SectionEnd

Expand Down Expand Up @@ -212,6 +219,7 @@ Section "Uninstall"
Delete $INSTDIR\GKCommon.dll

Delete $INSTDIR\ArborGVT.dll
Delete $INSTDIR\DotNetRtfWriter.dll
Delete $INSTDIR\ExcelLibrary.dll
Delete $INSTDIR\itextsharp.dll
Delete $INSTDIR\lua51.dll
Expand Down
2 changes: 1 addition & 1 deletion projects/GEDKeeper2/GKCore/Export/PedigreeExporter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -517,7 +517,7 @@ public override void Generate(bool show)
#if !GK_LINUX
this.fWriter = new PDFWriter();
#else
this.fWriter = new PDFJetWriter();//PDFClownWriter();
this.fWriter = new PDFWriter();//PDFJetWriter();//PDFClownWriter();
#endif
}

Expand Down
5 changes: 4 additions & 1 deletion projects/GEDKeeper2/GKUI/BaseWin.cs
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,10 @@ private void Form_KeyDown(object sender, KeyEventArgs e)
this.RecordEdit(null, null);
}
break;


/*case Keys.F12:
throw new NotSupportedException(); // debug!*/

/*case Keys.F:
if (e.Control) {
this.QuickFind();
Expand Down
2 changes: 1 addition & 1 deletion projects/GKCalculatorPlugin/CalcWidget.cs
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ protected override void Dispose(bool disposing)
{
if (disposing)
{
this.fCalc.Dispose();
//this.fCalc.Dispose();
}
base.Dispose(disposing);
}
Expand Down
11 changes: 5 additions & 6 deletions projects/GKCalculatorPlugin/ExpCalculator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@

using System;
using System.Collections.Generic;
using System.Windows.Forms;
using GKCommon;

namespace GKCalculatorPlugin
{
Expand All @@ -26,7 +24,7 @@ public CalculateException(string message) : base(message) {}
/// <summary>
///
/// </summary>
public sealed class ExpCalculator : BaseObject //Control
public sealed class ExpCalculator
{
#region Private members

Expand Down Expand Up @@ -113,14 +111,14 @@ public ExpCalculator()
this.fCaseSensitive = false;
}

protected override void Dispose(bool disposing)
/*protected override void Dispose(bool disposing)
{
if (disposing)
{
this.ClearVars();
}
base.Dispose(disposing);
}
}*/

public void ClearVars()
{
Expand Down Expand Up @@ -951,7 +949,8 @@ public double GetVar(string name)
for (int i = 0; i < num; i++) {
NamedVar nVar = this.fVars[i];

if (string.Compare(nVar.Name, name, false) == 0) {
if (string.Compare(nVar.Name, name, !this.fCaseSensitive) == 0)
{
return nVar.Value;
}
}
Expand Down

0 comments on commit a8a5f29

Please sign in to comment.