Patch level : 4.0

Files correlati     : ba* cg*
Ricompilazione Demo : [ ]
Commento            :
Aggiunta traduzione automatica delle testate degli spreadsheet


git-svn-id: svn://10.65.10.50/trunk@14438 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
guy 2006-10-31 09:47:42 +00:00
parent a783c341b0
commit c1c987f1fa
3 changed files with 8 additions and 18 deletions

@ -244,12 +244,6 @@ bool TDongle::hardlock_login(bool test_all_keys)
xvt_dongle_hl_logout();
if (xvt_dongle_hl_login(AGAADR, REFKEY, VERKEY))
_type = _aga_dongle;
else
{
xvt_dongle_hl_logout();
if (xvt_dongle_hl_login(PRASSIADR, REFKEY, VERKEY))
_type = _developer_dongle;
}
}
xvt_dongle_hl_logout();
ok = xvt_dongle_hl_login(USERADR, REFKEY, VERKEY) != 0;
@ -357,11 +351,9 @@ bool TDongle::eutron_login(bool test_all_keys)
{
bool ok = FALSE;
const char* labels[4] = { "AGA.INFORMATICA", "AGA.PRASSI",
"AGA.CAMPO", "25EBAI" };
TDongleType types[4] = { _aga_dongle, _developer_dongle,
_user_dongle, _developer_dongle };
for (int k = test_all_keys ? 0 : 2; k < 4; k++)
const char* labels[3] = { "AGA.INFORMATICA", "AGA.CAMPO", "25EBAI" };
TDongleType types[3] = { _aga_dongle, _user_dongle, _developer_dongle };
for (int k = test_all_keys ? 0 : 1; k < 3; k++)
{
const unsigned char* pwd = (const unsigned char*)::encode(labels[k]);
ok = xvt_dongle_sl_login((const unsigned char*)labels[k], pwd) != 0;

@ -10,12 +10,11 @@ extern "C"
#include <config.h>
#include <controls.h>
#include <currency.h>
#include <diction.h>
#include <msksheet.h>
#include <recarray.h>
#include <relation.h>
#include <urldefid.h>
#include <utility.h>
#include <progind.h>
#include <limits.h>
@ -57,7 +56,6 @@ public:
};
TRow_property::TRow_property()
// : _back(NORMAL_BACK_COLOR), _fore(NORMAL_COLOR), _cell_prop(NULL)
: _back(0), _fore(0), _height(-1), _cell_prop(NULL)
{
}
@ -2497,7 +2495,8 @@ bool TSheet_field::parse_item(TScanner& scanner)
{
if (scanner.key() == "IT") // ITEM
{
_ctl_data._park.add(scanner.string());
const char* h = dictionary_translate_header(scanner.string());
_ctl_data._park.add(h);
return TRUE;
}
if (scanner.key() == "FL") // FLAGS
@ -3281,7 +3280,6 @@ bool TSheet_field::autosave(TRelation& rel)
return _enable_autoload;
}
// Certified: ...under debug..
void TSheet_field::set_userget(SHEET_USERGETPUT handler)
{
@ -3292,4 +3290,4 @@ void TSheet_field::set_userget(SHEET_USERGETPUT handler)
void TSheet_field::set_userput(SHEET_USERGETPUT handler)
{
_userput = handler;
}
}

@ -913,7 +913,7 @@ bool TSocketClient::HttpPostFile(CONNID id, const char* remote, const char* loca
TString buf(4096);
buf << "POST " << remote << " HTTP/1.0" << eol
<< "User-Agent: Campo/1.7" << eol
<< "User-Agent: Campo" << eol
<< "Content-Type: text/plain" << eol
<< "Content-Length: " << fsize(local) << eol;
if (authorization && *authorization)