Skip to content

Commit c6521d5

Browse files
Version 9.9.0-pre
1 parent 0087748 commit c6521d5

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

56 files changed

+939
-908
lines changed

Src/DL200/dl200.cpp

Lines changed: 12 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// DL200.CPP
2-
// Copyright (c) A.Sobolev 2002, 2003, 2004, 2007, 2008, 2009, 2010, 2011, 2012, 2015, 2016, 2017
2+
// Copyright (c) A.Sobolev 2002, 2003, 2004, 2007, 2008, 2009, 2010, 2011, 2012, 2015, 2016, 2017, 2018
33
//
44
#include <pp.h>
55
#pragma hdrstop
@@ -11,7 +11,8 @@ static int SLAPI WriteSArrayToFile(const SArray * pAry, FILE * pStream)
1111
{
1212
EXCEPTVAR(SLibError);
1313
int ok = 1;
14-
uint16 i, c = pAry ? pAry->getCount() : 0;
14+
uint16 i;
15+
const uint16 c = (uint16)SVectorBase::GetCount(pAry);
1516
size_t item_size = pAry ? pAry->getItemSize() : 0;
1617
long beg_pos = ftell(pStream);
1718
THROW_V(fwrite(&c, sizeof(c), 1, pStream) == 1, SLERR_WRITEFAULT);
@@ -118,7 +119,7 @@ int FASTCALL PPSetError(int errCode, const char * pAddedMsg)
118119

119120
static char * FASTCALL skipws(char * p)
120121
{
121-
while(*p == ' ' || *p == '\t' || *p == '\n')
122+
while(oneof3(*p, ' ', '\t', '\n'))
122123
p++;
123124
return p;
124125
}
@@ -290,9 +291,6 @@ DL2_CI * SLAPI DL2_Formula::ResolveOp(const DL2_CI * pOp, const DL2_Formula * pA
290291
{
291292
DL2_CI * p_result = 0;
292293
switch(pOp->CiType) {
293-
case DL2CIT_OP_UPLUS:
294-
p_result = DL2_CI::Copy(pArgList->GetByN(1));
295-
break;
296294
case DL2CIT_OP_UMINUS:
297295
{
298296
p_result = new DL2_CI;
@@ -307,18 +305,11 @@ DL2_CI * SLAPI DL2_Formula::ResolveOp(const DL2_CI * pOp, const DL2_Formula * pA
307305
PPSetError(PPERR_DL200_INVPARAMTYPE);
308306
}
309307
break;
310-
case DL2CIT_OP_PLUS:
311-
p_result = _plus2(pArgList->GetByN(1), pArgList->GetByN(2));
312-
break;
313-
case DL2CIT_OP_MINUS:
314-
p_result = _minus2(pArgList->GetByN(1), pArgList->GetByN(2));
315-
break;
316-
case DL2CIT_OP_MULT:
317-
p_result = _mult2(pArgList->GetByN(1), pArgList->GetByN(2));
318-
break;
319-
case DL2CIT_OP_DIV:
320-
p_result = _div2(pArgList->GetByN(1), pArgList->GetByN(2));
321-
break;
308+
case DL2CIT_OP_UPLUS: p_result = DL2_CI::Copy(pArgList->GetByN(1)); break;
309+
case DL2CIT_OP_PLUS: p_result = _plus2(pArgList->GetByN(1), pArgList->GetByN(2)); break;
310+
case DL2CIT_OP_MINUS: p_result = _minus2(pArgList->GetByN(1), pArgList->GetByN(2)); break;
311+
case DL2CIT_OP_MULT: p_result = _mult2(pArgList->GetByN(1), pArgList->GetByN(2)); break;
312+
case DL2CIT_OP_DIV: p_result = _div2(pArgList->GetByN(1), pArgList->GetByN(2)); break;
322313
default:
323314
PPSetError(PPERR_DL200_UNDEFOP);
324315
}
@@ -658,7 +649,7 @@ int SLAPI DL2_Data::Write(DL2_Storage * pStrg) const
658649
{
659650
int ok = 1;
660651
uint i;
661-
uint32 c = P_Columns ? P_Columns->getCount() : 0;
652+
const uint32 c = SVectorBase::GetCount(P_Columns);
662653
FILE * f = pStrg->P_Stream;
663654
THROW(DL2_Group::Write(pStrg));
664655
SLibError = SLERR_WRITEFAULT;
@@ -729,7 +720,7 @@ int SLAPI DL2_Data::SearchColumnByName(const char * pName, uint * pPos, DL2_Colu
729720

730721
uint SLAPI DL2_Data::GetColumnsCount() const
731722
{
732-
return P_Columns ? P_Columns->getCount() : 0;
723+
return SVectorBase::GetCount(P_Columns);
733724
}
734725

735726
const DL2_Column * SLAPI DL2_Data::GetColumn(uint pos) const
@@ -1004,10 +995,7 @@ SLAPI DL2_ObjList::DL2_ObjList() : SCollection()
1004995
}
1005996

1006997
//virtual
1007-
void FASTCALL DL2_ObjList::freeItem(void * ptr)
1008-
{
1009-
delete ((Item *)ptr);
1010-
}
998+
void FASTCALL DL2_ObjList::freeItem(void * ptr) { delete ((Item *)ptr); }
1011999

10121000
int SLAPI DL2_ObjList::Set(PPID objType, StringSet * pSs, int32 * pId)
10131001
{

Src/Db/dbtablec.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1121,7 +1121,7 @@ int SLAPI DBTable::SerializeRecord(int dir, void * pRec, SBuffer & rBuf, SSerial
11211121
int SLAPI DBTable::Helper_SerializeArrayOfRecords(int dir, SVectorBase * pList, SBuffer & rBuf, SSerializeContext * pCtx)
11221122
{
11231123
int ok = 1;
1124-
int32 c = pList ? pList->getCount() : 0; // @persistent
1124+
int32 c = SVectorBase::GetCount(pList); // @persistent
11251125
STempBuffer temp_buf(0);
11261126
// @v9.8.11 {
11271127
if(dir > 0) {

Src/Doc/VERSION.TXT

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15091,5 +15091,8 @@ Ver 1.2 Date 13/09/96
1509115091
��� ���������� ������ � ����� ���� �������� ������ ���������/���������� ����������.
1509215092
-FIX: {��������� ���������} ������ � �������� � Excel.
1509315093
-FIX: �������� ��� ��������, ��������� � ������� 9.8.11 � 9.8.12 (�������������� ������).
15094+
18/01/2018 v9.9.0
15095+
!- {��� ��������� ������} ������������� ������� ����������
15096+
!- {��� ������ �������������� ����������} ������������� ������� ����������
1509415097

1509515098

Src/Include/PPDBS.H

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8184,8 +8184,9 @@ public:
81848184
int32 ID;
81858185
int32 ID2;
81868186
LDATE Dt;
8187-
char DtSubst[32];
8188-
char Name[128];
8187+
uint32 DtSubstP;
8188+
uint32 NameP;
8189+
uint32 NameBeforeEvP;
81898190
int32 Count;
81908191
int32 AvgEvTime;
81918192
} data;
@@ -8201,8 +8202,9 @@ public:
82018202
DBField ID;
82028203
DBField ID2;
82038204
DBField Dt;
8204-
DBField DtSubst;
8205-
DBField Name;
8205+
DBField DtSubstP;
8206+
DBField NameP;
8207+
DBField NameBeforeEvP;
82068208
DBField Count;
82078209
DBField AvgEvTime;
82088210
};

Src/Include/Pp.h

Lines changed: 34 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -12186,6 +12186,7 @@ class SysJournal : public SysJournalTbl {
1218612186
int SLAPI DoMaintain(LDATE toDt, int recover, PPLogger * pLogger);
1218712187
int SLAPI Subst(SubstGrpSysJournal sgsj, PPID opID, PPID prmrID, PPID scndID, PPID * pID);
1218812188
void SLAPI GetSubstName(SubstGrpSysJournal sgsj, PPID id, char * pBuf, size_t bufLen);
12189+
void SLAPI GetSubstName(SubstGrpSysJournal sgsj, PPID id, SString & rBuf);
1218912190
private:
1219012191
int SLAPI GetObjEventList(PPID objType, PPID objID, const PPIDArray * pActList, SArray * pResultList);
1219112192
SjRsrvTbl * P_RsrvT;
@@ -13280,7 +13281,7 @@ struct CCheckItem { // @transient
1328013281
CCheckItem & FASTCALL operator = (const CCheckItem & rS);
1328113282
CCheckItem & FASTCALL operator = (const CCheckLineTbl::Rec & rS);
1328213283
CCheckItem & FASTCALL operator = (const CCheckLineExtTbl::Rec & rS);
13283-
int GetRec(CCheckLineTbl::Rec & rRec, int ret) const;
13284+
void GetRec(CCheckLineTbl::Rec & rRec, int ret) const;
1328413285
int GetRec(CCheckLineExtTbl::Rec & rRec) const;
1328513286
int SplitByQtty(double restQtty, CCheckItem & rNewItem);
1328613287

@@ -13467,7 +13468,7 @@ class CCheckPacket : public PPExtStrContainer {
1346713468
// Note: В дальнейшем критерии объединения будут усложнены.
1346813469
//
1346913470
int SLAPI MergeLines(long /*options*/);
13470-
int SLAPI ClearLines();
13471+
void SLAPI ClearLines();
1347113472
int SLAPI InsertItem_(const CCheckLineTbl::Rec *, const char * pSerial = 0, const char * pEgaisMark = 0);
1347213473
int SLAPI InsertItem(PPID goodsID, double qtty, double price, double dscnt, short div = 0, int isPrinted = 0);
1347313474
int SLAPI InsertItem(const CCheckItem & rItem);
@@ -13483,7 +13484,7 @@ class CCheckPacket : public PPExtStrContainer {
1348313484
stdfPctDis = 0x0001, // Параметр dis задает размер скидки в процентах. Иначе - абсолютное значение.
1348413485
stdfPlus = 0x0002 // Скидка увеличивает сумму чека
1348513486
};
13486-
int SLAPI SetTotalDiscount__(double dis, long flags);
13487+
void SLAPI SetTotalDiscount__(double dis, long flags);
1348713488
void SLAPI CalcAmount(double * pAmt, double * pDscnt) const;
1348813489
//
1348913490
// Descr: Расчитывает суммы чека по строкам и устанавливает их в поля Rec.Amount
@@ -13618,7 +13619,7 @@ class CCheckGoodsArray : public TSVector <CCheckGoodsEntry> { // @v9.8.4 TSArray
1361813619
public:
1361913620
SLAPI CCheckGoodsArray();
1362013621
int SLAPI Add(LDATE dt, const CCheckLineTbl::Rec *, PPID serialID = 0);
13621-
int SLAPI GetMaxDate(LDATE * pDt) const;
13622+
LDATE SLAPI GetMaxDate() const;
1362213623
int SLAPI AdjustToSess(double sessAmount);
1362313624
private:
1362413625
double Sum;
@@ -21784,6 +21785,7 @@ class FiasImporter {
2178421785

2178521786
FiasObjCore FT;
2178621787
SrDatabase * P_SrDb; // @v9.8.12
21788+
void * P_SrStoreFiasAddrBlock; // @v9.9.0
2178721789
};
2178821790
//
2178921791
// @ModuleDecl(PPObjRegister)
@@ -24654,10 +24656,18 @@ struct SysJournalViewItem : public SysJournalTbl::Rec {
2465424656
void Clear();
2465524657

2465624658
long ID;
24657-
char ObjName[64];
24659+
long GrpCount;
24660+
// @v9.9.0 char ObjName[64];
24661+
SString ObjName; // @v9.9.0
2465824662
SString GrpText1;
2465924663
SString AvgEvTime;
24660-
long GrpCount;
24664+
};
24665+
//
24666+
// Descr: Специализированная структура, используемя для индексации наименований
24667+
// объектов данных в строковых пулах.
24668+
//
24669+
struct PPObjNamePEntry : public PPObjID {
24670+
uint NameP;
2466124671
};
2466224672

2466324673
class PPViewSysJournal : public PPView {
@@ -24678,6 +24688,7 @@ class PPViewSysJournal : public PPView {
2467824688
int SLAPI InitIteration();
2467924689
int FASTCALL NextIteration(SysJournalViewItem *);
2468024690
int FASTCALL CheckRecForFilt(const SysJournalTbl::Rec * pRec);
24691+
int SLAPI GetObjName(const PPObjID & rOid, SString & rBuf) const;
2468124692
private:
2468224693
virtual DBQuery * SLAPI CreateBrowserQuery(uint * pBrwId, SString * pSubTitle);
2468324694
virtual int SLAPI ProcessCommand(uint ppvCmd, const void *, PPViewBrowser *);
@@ -24692,15 +24703,19 @@ class PPViewSysJournal : public PPView {
2469224703
int SLAPI ViewBillHistory(PPID histID, LDATETIME evDtm);
2469324704
int SLAPI Transmit();
2469424705

24706+
static int DynFuncObjNameFromList;
24707+
2469524708
SysJournalFilt Filt;
2469624709
SysJournal * P_Tbl;
2469724710
SysJournalTbl * P_TmpTbl;
2469824711
TempSysJournalTbl * P_SubstTbl;
24699-
TempDoubleIDTbl * P_NamesTbl;
24700-
ObjCollection * P_ObjColl;
24712+
// @v9.9.0 TempDoubleIDTbl * P_NamesTbl;
24713+
ObjCollection * P_ObjColl;
2470124714
int LockUpByNotify; // Семафор, блокирующий обновление данных по системному событию
2470224715
LDATETIME LastRefreshDtm; // Время последнего обновления выборки. Используется для определения времени,
2470324716
// начиная с которого следует извлекать события из журнала для последующего обновления.
24717+
SStrGroup StrPool; // @v9.9.0 Пул строковых полей, на который ссылаются поля в TempSysJournalTbl
24718+
TSVector <PPObjNamePEntry> ObjNameList; // @v9.9.0
2470424719
};
2470524720
//
2470624721
//
@@ -24748,6 +24763,7 @@ class PPViewGtaJournal : public PPView {
2474824763
int SLAPI InitIteration();
2474924764
int FASTCALL NextIteration(GtaJournalViewItem *);
2475024765
int FASTCALL CheckRecForFilt(const GtaJournalTbl::Rec * pRec);
24766+
int SLAPI GetObjName(const PPObjID & rOid, SString & rBuf) const;
2475124767
private:
2475224768
virtual DBQuery * SLAPI CreateBrowserQuery(uint * pBrwId, SString * pSubTitle);
2475324769
//virtual int SLAPI ProcessCommand(uint ppvCmd, const void *, PPViewBrowser *);
@@ -24757,14 +24773,18 @@ class PPViewGtaJournal : public PPView {
2475724773
//virtual int SLAPI SerializeState(int dir, SBuffer & rBuf, SSerializeContext * pCtx);
2475824774
int SLAPI IsTempTblNeeded() const;
2475924775

24776+
static int DynFuncObjNameFromList;
24777+
2476024778
GtaJournalFilt Filt;
2476124779
GtaJournalCore T;
2476224780
GtaJournalTbl * P_TmpTbl;
24763-
TempDoubleIDTbl * P_NamesTbl;
24781+
//TempDoubleIDTbl * P_NamesTbl;
2476424782
ObjCollection * P_ObjColl;
2476524783
int LockUpByNotify; // Семафор, блокирующий обновление данных по системному событию
2476624784
LDATETIME LastRefreshDtm; // Время последнего обновления выборки. Используется для определения времени,
2476724785
// начиная с которого следует извлекать события из журнала для последующего обновления.
24786+
SStrGroup StrPool; // @v9.9.0 Пул строковых полей
24787+
TSVector <PPObjNamePEntry> ObjNameList; // @v9.9.0
2476824788
};
2476924789
//
2477024790
// @ModuleDecl(PPViewLogsMonitor)
@@ -24780,10 +24800,10 @@ struct LogsMonitorFilt : public PPBaseFilt {
2478024800
SLAPI LogsMonitorFilt();
2478124801
virtual int Describe(long flags, SString & rBuff) const;
2478224802

24783-
char ReserveStart[32]; // @anchor
24784-
long Flags;
24785-
long Reserve; // @anchor
24786-
LogsArray Selected;
24803+
char ReserveStart[32]; // @anchor
24804+
long Flags;
24805+
long Reserve; // @anchor
24806+
LogsArray Selected;
2478724807
};
2478824808
//
2478924809
struct LogsMonitorViewItem;
@@ -30031,7 +30051,7 @@ class PPObjBill : public PPObject {
3003130051
//
3003230052
// Descr: Реализует предварительные операции для начисления по тарифицируемым транзакциям.
3003330053
//
30034-
int SLAPI InitGtaBlock();
30054+
void SLAPI InitGtaBlock();
3003530055
int SLAPI InitGta(PPGta & rGta);
3003630056
//
3003730057
// Descr: Специализированная высокоуровневая функция, реализующая начисление или списание

Src/Include/Private/VERDATA.INC

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
//
22
// ..\INCLUDE\PRIVATE\VERDATA.INC
3-
// 2018-01-15T18:08:22
3+
// 2018-01-18T19:48:02
44
// Automaticaly generated file
55
// Don't modify!
66
//
77
0x24, 0x00, 0x00, 0x00, 0x33, 0x30, 0x79, 0x61, 0x52, 0x42, 0x44, 0x33, 0x44, 0x4f, 0x57, 0x45, 0x68, 0x31, 0x52, 0x66, 0x56, 0x32, 0x70, 0x74, 0x74, 0x7a, 0x51, 0x4a, 0x50, 0x59, 0x7a, 0x44,
8-
0x4a, 0x00, 0x93, 0x7b, 0x00, 0x01, 0x00, 0x00, 0x21, 0xb3, 0x60, 0x0c, 0xca, 0x1c, 0x55, 0xdb, 0xbc, 0xdd, 0xc8, 0x05, 0x32, 0xd2, 0x8e, 0x04, 0x6e, 0xc9, 0x41, 0x36, 0x4a, 0x08, 0x4b, 0x12,
9-
0xfe, 0x01, 0x84, 0xbc, 0x86, 0x17, 0x2d, 0xb0, 0x29, 0x8d, 0xde, 0x20, 0xdd, 0xce, 0x3d, 0x3b, 0xc0, 0xeb, 0xe5, 0x39, 0xef, 0x38, 0x3d, 0x70, 0x1e, 0x5e, 0x78, 0x2c, 0x9e, 0xf6, 0x67, 0x1a,
10-
0xdb, 0xa6, 0x06, 0xdd, 0x92, 0xb2, 0x99, 0xa6, 0xa0, 0x84, 0x07, 0xa3, 0xd1, 0xf8, 0xf2, 0x8b, 0xd6, 0x79, 0xe3, 0xb0, 0x9b, 0x85, 0xe4, 0x5d, 0x45, 0x56, 0xa3, 0x73, 0x52, 0x71, 0x0a, 0x90,
11-
0x77, 0x58, 0x5b, 0x6c, 0x0d, 0x6e, 0xdc, 0xa5, 0x40, 0xd4, 0x69, 0xf9, 0xec, 0xf5, 0x11, 0x7e, 0x9f, 0x2b, 0x38, 0x9a, 0xeb, 0x40, 0x80, 0xe2, 0xc3, 0x03, 0xec, 0xdc, 0x5f, 0x6d, 0x41, 0x05,
12-
0x3f, 0xe1, 0x8c, 0xb2, 0x45, 0x67, 0x73, 0xfa, 0xf6, 0xf0, 0x31, 0x31, 0xba, 0x4b, 0x65, 0x8c, 0x7d, 0x62, 0xc4, 0x0a, 0x05, 0x5d, 0xd6, 0x36, 0x9b, 0x73, 0xf5, 0x25, 0xe8, 0xa6, 0xbb, 0x8a,
13-
0xa0, 0x8f, 0x8f, 0x3e, 0xb5, 0x71, 0xaa, 0xb7, 0x6e, 0xb9, 0x2d, 0xb7, 0xa6, 0x18, 0x94, 0x83, 0x16, 0xd2, 0xf8, 0xb8, 0xdc, 0x97, 0x59, 0xfb, 0xe4, 0xd2, 0xf5, 0x0b, 0x23, 0x26, 0x0a, 0x1a,
14-
0x69, 0xa0, 0xa4, 0x75, 0x10, 0xfb, 0xee, 0xbc, 0x12, 0xd3, 0x54, 0x96, 0x14, 0x23, 0xbf, 0x2d, 0x34, 0xa9, 0x9a, 0x1d, 0x83, 0xa7, 0x45, 0x6f, 0x62, 0xa3, 0x16, 0x49, 0xfd, 0xbd, 0x7c, 0x1c
8+
0x4a, 0x00, 0x88, 0x27, 0x00, 0x01, 0x00, 0x00, 0x21, 0xb3, 0x60, 0x0c, 0xca, 0x1c, 0x55, 0xdb, 0xbc, 0xdd, 0xc8, 0x05, 0x32, 0xd2, 0x8e, 0x04, 0x6e, 0xc9, 0x41, 0x0f, 0x4a, 0x08, 0x4b, 0x12,
9+
0x71, 0x8d, 0x5a, 0x7e, 0x45, 0xdc, 0x09, 0x77, 0xe1, 0xb5, 0x10, 0x0e, 0x08, 0xcc, 0x20, 0xe0, 0x4e, 0x5d, 0xfd, 0x9c, 0xa0, 0x7f, 0x20, 0x33, 0xd1, 0xee, 0x67, 0xb1, 0x06, 0x73, 0x4c, 0x14,
10+
0x23, 0xc6, 0xc6, 0x7f, 0xb6, 0x47, 0xad, 0x44, 0xcc, 0x2a, 0x0e, 0x38, 0x71, 0x37, 0xf2, 0x11, 0x5e, 0xfb, 0xbd, 0xca, 0x01, 0x7a, 0x04, 0x30, 0xaf, 0x0c, 0x22, 0xf9, 0x27, 0xba, 0x22, 0xd7,
11+
0xe1, 0x0c, 0x19, 0x40, 0xd8, 0x0c, 0xbc, 0x53, 0x1a, 0x32, 0xb2, 0x48, 0xa8, 0xdb, 0xb3, 0xd5, 0x32, 0x7d, 0xff, 0x54, 0xc9, 0xcf, 0xb6, 0xc8, 0x28, 0xd3, 0x93, 0x84, 0xff, 0x8d, 0x3d, 0xa3,
12+
0x51, 0x42, 0xc3, 0xb9, 0x80, 0x51, 0xff, 0x4b, 0xf2, 0x19, 0xdb, 0x4b, 0x9f, 0x46, 0x32, 0xf4, 0x84, 0x16, 0xcd, 0x3b, 0xb9, 0xd5, 0xb2, 0x97, 0x8e, 0x9a, 0x5b, 0x76, 0x51, 0xd3, 0x2d, 0x74,
13+
0x79, 0xb9, 0xfc, 0x77, 0x28, 0xb2, 0x78, 0x04, 0x3b, 0xab, 0x1c, 0xf7, 0xa8, 0xb4, 0x66, 0xc1, 0x6a, 0x23, 0x23, 0x67, 0x00, 0xf6, 0x62, 0x32, 0xdf, 0xea, 0xf1, 0xdd, 0x8b, 0xfa, 0xe6, 0xa8,
14+
0xb2, 0x67, 0xf9, 0xab, 0x6c, 0xa1, 0xbf, 0x3b, 0x3a, 0x1e, 0xc4, 0x7a, 0x7d, 0x16, 0x32, 0x14, 0x78, 0x52, 0xb6, 0x5b, 0x35, 0x24, 0x0e, 0xab, 0x10, 0x87, 0xd6, 0x59, 0x97, 0x86, 0xee, 0x8a

Src/Include/SLIB.H

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6324,6 +6324,9 @@ public:
63246324
int FASTCALL add(int64);
63256325
int FASTCALL add(int32);
63266326
int FASTCALL addUnique(int64);
6327+
int FASTCALL add(const Int64Array *);
6328+
void SLAPI sort();
6329+
void SLAPI sortAndUndup();
63276330
};
63286331
//
63296332
//
@@ -12052,7 +12055,7 @@ public:
1205212055
const SString & GetAddedMsgString() const;
1205312056
int SLAPI LogMessage(const char * pFileName, const char * pStr, ulong maxFileSize = 0);
1205412057
int SLAPI InitGdiplus();
12055-
int SLAPI ShutdownGdiplus();
12058+
void SLAPI ShutdownGdiplus();
1205612059
int SLAPI LoadString(const char * pSignature, SString & rBuf) const;
1205712060
int SLAPI ExpandString(SString & rBuf, int ctransf) const;
1205812061
int SLAPI SubstString(const char * pSrcStr, int ansiCoding, SString & rBuf); // @>>this->LoadString

Src/Include/sartre.h

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -423,6 +423,8 @@ class SrWordAssocTbl : public BDbTable {
423423
class SrNGram {
424424
public:
425425
SLAPI SrNGram();
426+
void SLAPI Z();
427+
426428
NGID ID;
427429
int32 Ver;
428430
LongArray WordIdList;
@@ -785,7 +787,6 @@ class SrDatabase {
785787
// Descr: Трансформирует слово pWordUtf8 в форму, определенную параметром rDestForm
786788
//
787789
int Transform_(const char * pWordUtf8, const SrWordForm & rDestForm, TSVector <SrWordInfo> & rResult);
788-
789790
int SearchWord(const char * pWordUtf8, LEXID * pID);
790791
int SearchSpecialWord(int special, const char * pWordUtf8, LEXID * pID);
791792
int FetchWord(const char * pWordUtf8, LEXID * pID);
@@ -854,7 +855,10 @@ class SrDatabase {
854855
int StoreGeoNodeList(const TSVector <PPOsm::Node> & rList, const LLAssocArray * pNodeToWayAsscList, int dontCheckExist, TSVector <PPOsm::NodeClusterStatEntry> * pStat);
855856
int StoreGeoWayList(const TSCollection <PPOsm::Way> & rList, TSVector <PPOsm::WayStatEntry> * pStat);
856857
int StoreGeoNodeWayRefList(const LLAssocArray & rList);
857-
int StoreFiasAddr(const Sdr_FiasRawAddrObj & rItem);
858+
859+
void * CreateStoreFiasAddrBlock();
860+
void DestroyStoreFiasAddrBlock(void * pBlk);
861+
int StoreFiasAddr(void * pStoreFiasAddrBlock, const TSVector <Sdr_FiasRawAddrObj> & rList);
858862
//private:
859863
public:
860864
BDbDatabase * P_Db;

Src/Include/tv.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2948,7 +2948,7 @@ class TImageView : public TView {
29482948
private:
29492949
static LRESULT CALLBACK DlgProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam);
29502950
virtual int handleWindowsMessage(UINT, WPARAM, LPARAM);
2951-
void * P_Image;
2951+
void * P_Image_GDIP;
29522952
SDrawFigure * P_Fig;
29532953
SString FigSymb; // @v9.5.6 Символ векторной фигуры для отображения //
29542954
SColor ReplacedColor; // @v9.6.5 Замещаемый цвет в векторном изображении

Src/PPEquip/CRUKM.CPP

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// CRUKM.CPP
2-
// Copyright (c) A.Sobolev 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2015, 2016, 2017
2+
// Copyright (c) A.Sobolev 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2015, 2016, 2017, 2018
33
// @codepage windows-1251
44
// Èíòåðôåéñ (àñèíõðîííûé) ê äðàéâåðó ÊÊÌ "Êðèñòàëë-ÓÊÌ" (ÎÎÎ Êðèñòàëë Ñåðâèñ)
55
//
@@ -638,7 +638,7 @@ int SLAPI ACS_CRUKM::GetSessionData(int * pSessCount, int * pIsForwardSess, Date
638638
sess_count = 0;
639639
ENDCATCH
640640
delete p_zr_tbl;
641-
sess_count = P_TmpSessList ? P_TmpSessList->getCount() : 0;
641+
sess_count = SVectorBase::GetCount(P_TmpSessList);
642642
ASSIGN_PTR(pSessCount, sess_count);
643643
ASSIGN_PTR(pIsForwardSess, is_forward);
644644
return ok;

0 commit comments

Comments
 (0)