Riportate sul main trunk le modifiche del tag
git-svn-id: svn://10.65.10.50/trunk@6018 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
e9327430fc
commit
bc300d627c
@ -130,16 +130,16 @@ bool TDongle::login(bool test_all_keys)
|
|||||||
_serno = data[1];
|
_serno = data[1];
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
#ifdef DBG
|
if (data[0] == 0x3283) // chiave programmatori !!
|
||||||
if (data[0] == 0x3283)
|
|
||||||
{
|
{
|
||||||
_type = _aga_key;
|
#ifdef DBG
|
||||||
|
// _type = _aga_key; // eliminato perché giudicato troppo pericoloso
|
||||||
|
// se la DBG version arriva nelle mani di qualcuno
|
||||||
|
// ci inchiappetta tutti i programmi senza darci una lira!
|
||||||
|
|
||||||
|
#endif // DBG
|
||||||
_serno = 0;
|
_serno = 0;
|
||||||
}
|
}
|
||||||
#else
|
|
||||||
if (_type == _user_key)
|
|
||||||
ok = FALSE;
|
|
||||||
#endif // DBG
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif // SCOUNIX
|
#endif // SCOUNIX
|
||||||
|
@ -16,7 +16,6 @@
|
|||||||
#include "ba1600.h"
|
#include "ba1600.h"
|
||||||
#include "ba1600a.h"
|
#include "ba1600a.h"
|
||||||
|
|
||||||
#define ZIP_BATCHNAME "zipall.bat"
|
|
||||||
///////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////
|
||||||
// Configurazione per installazione
|
// Configurazione per installazione
|
||||||
///////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////
|
||||||
@ -91,6 +90,7 @@ int TInstall_ini::build_complete_list(const TString& module, TString_array& a,
|
|||||||
{
|
{
|
||||||
TConfig sum(sommario, "Main");
|
TConfig sum(sommario, "Main");
|
||||||
sum.set("Demo", demo());
|
sum.set("Demo", demo());
|
||||||
|
sum.set("Listino", get("Listino","Main"));
|
||||||
}
|
}
|
||||||
return a.items();
|
return a.items();
|
||||||
}
|
}
|
||||||
@ -148,8 +148,8 @@ bool TInstall_ini::update_prices(const char* from)
|
|||||||
{
|
{
|
||||||
CHECK(fexist(from), "Can't find listino prezzi");
|
CHECK(fexist(from), "Can't find listino prezzi");
|
||||||
TConfig from_ini(from);
|
TConfig from_ini(from);
|
||||||
const TDate curr_date = get("Main", "Listino");
|
const TDate curr_date = get("Listino","Main");
|
||||||
const TDate from_date = from_ini.get("Main", "Listino");
|
const TDate from_date = from_ini.get("Listino","Main");
|
||||||
if (from_date < curr_date)
|
if (from_date < curr_date)
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
||||||
@ -1181,10 +1181,6 @@ TFascicolator_mask::TFascicolator_mask()
|
|||||||
m.set_handler(S_IMPORT, import_export_handler);
|
m.set_handler(S_IMPORT, import_export_handler);
|
||||||
m.set_handler(S_EXPORT, import_export_handler);
|
m.set_handler(S_EXPORT, import_export_handler);
|
||||||
|
|
||||||
#ifndef DBG
|
|
||||||
hide(DLG_DELREC);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
///////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////
|
||||||
|
@ -501,13 +501,11 @@ bool TInstaller_mask::install(const TString& module, long patchlevel)
|
|||||||
if (!upd)
|
if (!upd)
|
||||||
{
|
{
|
||||||
if (distance==0)
|
if (distance==0)
|
||||||
upd= yesno_box("Il sottomodulo '%s' versione %s è già installato.\n"
|
;
|
||||||
"Confermi la sovrascrittura?",
|
|
||||||
(const char*)submod, (const char*)reqver);
|
|
||||||
else
|
else
|
||||||
warning_box("Il sottomodulo '%s' e' aggiornato alla versione %s:\n"
|
warning_box("Il sottomodulo '%s' necessario a '%s' e' gia' aggiornato alla versione %s:\n"
|
||||||
"l'installazione della versione %s non verra' effettuata.",
|
"l'installazione della versione %s non verra' effettuata.",
|
||||||
(const char*)submod, (const char*)curver, (const char*)reqver);
|
(const char*)submod, (const char*)module, (const char*)curver, (const char*)reqver);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
ok &= move_module(submod, ini, upd);
|
ok &= move_module(submod, ini, upd);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user