Skip to content

Commit 5881ed1

Browse files
Version 9.7.10
1 parent 0cb630b commit 5881ed1

Some content is hidden

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

73 files changed

+2196
-3097
lines changed

Src/Doc/VERSION.TXT

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14873,7 +14873,7 @@ Ver 1.2 Date 13/09/96
1487314873
-FIX: {��������� ���������} ��������� ������ � ���������.
1487414874
-FIX: {�������� ������} ��������� ������� ��������� ���������� �������� �������� ������ �� �� ��� �����.
1487514875
�������� ��������� ������������� ����� �����.
14876-
08/08/2017 v9.7.10
14876+
10/08/2017 v9.7.10
1487714877
!- {�����-���������} ��������� ����������� �������� �����-���������� � ������������� ���������.
1487814878
��� ���� ����������� ����� �����-��������� ���������� ����������� ������ ��������� ��������,
1487914879
� ���� ������ ���� ��������� �����-��������� ���������� � �������� ��������, �������, � ���� �������,
@@ -14882,6 +14882,7 @@ Ver 1.2 Date 13/09/96
1488214882
������������ �� ���� ������� ����������� ���������� ������������������� ����������. ������ ��� �������
1488314883
��������� ��� ������ ��������� ������������������� ������������ ���������� �� ������� �������� ��������.
1488414884
������������ ���������� ���� �������� �� ������� ����������� ����� ��� ����� �������.
14885+
- {��� ��������� ���������} ��������� ������� ��������� ���� �������� (Ctrl-Q).
1488514886
-FIX: {�������� �����-����������} [9.6.7] � ������� ����������� �������� ������������ ��������� ������ � ������� ��������.
1488614887
-FIX: {�������� ������} ����� ���������������� ����� ������������ ��, ������� ���� ��������.
1488714888
-FIX: {�����} ��� �������� ���������� � �������������� ���������� ��������� ����������� �� ����� ����������.

Src/Include/PPDBS.H

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// PPDBS.H
2-
// This file was generated by DL600C.EXE from 'd:\Papyrus\Src\Rsrc\dl600\ppdbs.dl6'
2+
// This file was generated by DL600C.EXE from 'D:\Papyrus\Src\Rsrc\dl600\ppdbs.dl6'
33
//
44
#ifndef __PPDBS_H
55
#define __PPDBS_H

Src/Include/PPDEFS.H

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8257,6 +8257,8 @@
82578257
#define CTL_EXTDEV_EGAISMODE (21 + WINDOWS_ID_BIAS)
82588258
#define CTL_EXTDEV_MANUFSERIAL (22 + WINDOWS_ID_BIAS)
82598259
#define CTL_EXTDEV_EXTNODEASALT (23 + WINDOWS_ID_BIAS)
8260+
#define CTL_EXTDEV_ALTREG (24 + WINDOWS_ID_BIAS)
8261+
#define CTLSEL_EXTDEV_ALTREG (25 + WINDOWS_ID_BIAS)
82608262

82618263
#define DLG_STAFFCALFLT 991 // F_STCAL Фильтр штатных календарей
82628264
#define cmStaffCalFiltObjList 101

Src/Include/Pp.h

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17405,7 +17405,9 @@ class PPSyncCashNode : public PPGenCashNode {
1740517405
PPID CurSessID; // ->Bill.ID Текущая кассовая сессия //
1740617406
PPID TouchScreenID; //
1740717407
PPID ExtCashNodeID; //
17408-
PPID PapyrusNodeID_unused; // ИД кассового узла Папирус @v9.6.8 unused
17408+
//PPID PapyrusNodeID_unused; // ИД кассового узла Папирус @v9.6.8 unused
17409+
PPID AlternateRegID; // @v9.7.10 Явно обозначенный альтернативный регистратор
17410+
// (if ExtFlags & CASHFX_EXTNODEASALT && !AlternateRegID) то альтернативным регистратором является ExtCashNodeID
1740917411
PPID ScaleID; //
1741017412
PPID CustDispType; // Тип дисплея покупателя //
1741117413
char CustDispPort[8]; // Имя порта дисплея покупателя (COM)
@@ -19080,7 +19082,7 @@ class PPObjStyloPalm : public PPObjReference {
1908019082
int SLAPI GetPacket(PPID id, PPStyloPalmPacket * pPack);
1908119083
int SLAPI PutPacket(PPID * pID, PPStyloPalmPacket * pPack, int use_ta);
1908219084
int SLAPI CheckSignalForInput(const char * pPath);
19083-
int SLAPI ClearInputSemaphore(const char * pPath);
19085+
void SLAPI ClearInputSemaphore(const char * pPath);
1908419086
int SLAPI ReadInput(PPID id, PalmInputParam * pParam, long flags, PPLogger * pLogger, long * pOrdCount);
1908519087
// @<<PPObjStyloPalm::ImportData, @<<PalmImportWaiter::Activate
1908619088
int SLAPI ExportData(const PalmPaneData & rParam);

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-
// 2017-08-09T17:09:04
3+
// 2017-08-10T19:11:29
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, 0xe3, 0x58, 0x00, 0x01, 0x00, 0x00, 0x21, 0xb3, 0x60, 0x0c, 0xca, 0x1c, 0x56, 0xdb, 0x4b, 0x20, 0x4c, 0x5c, 0x5d, 0x89, 0x73, 0xc9, 0x03, 0x31, 0xcd, 0x84, 0xda, 0x76, 0x9c, 0x69,
9-
0x2d, 0xbd, 0x6f, 0x66, 0x64, 0xb9, 0xd7, 0xc2, 0xec, 0xef, 0x71, 0x68, 0xa5, 0xfa, 0xe7, 0xf6, 0xbf, 0xec, 0x39, 0x1f, 0x4a, 0x95, 0xa4, 0x16, 0x12, 0x5a, 0x50, 0x0e, 0xdb, 0xc6, 0xc3, 0x37,
10-
0x25, 0xa2, 0x0a, 0x62, 0xfe, 0x64, 0xe1, 0xe7, 0x1f, 0x66, 0xea, 0xb2, 0x75, 0x36, 0x3b, 0xe7, 0xad, 0xc1, 0xe2, 0x17, 0x1f, 0x1d, 0xaa, 0x8a, 0xd9, 0x0d, 0x41, 0x71, 0x82, 0x02, 0x7c, 0xa5,
11-
0xa0, 0x24, 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a, 0x40, 0x1e, 0xf3, 0xc6, 0xa8, 0x1e, 0x81, 0x75, 0x65,
10+
0xdd, 0x33, 0xa7, 0x30, 0xda, 0xf3, 0x1c, 0x4a, 0xdd, 0x4d, 0x8f, 0xae, 0x3c, 0xe2, 0x48, 0xde, 0x35, 0x2e, 0x74, 0xb6, 0xc6, 0xbf, 0x6c, 0x68, 0xc5, 0x1a, 0xfd, 0xb0, 0xe4, 0xe3, 0xce, 0x24,
11+
0x74, 0xfe, 0x14, 0xb8, 0x68, 0x1a, 0xa3, 0x6b, 0x03, 0x31, 0x70, 0xd4, 0x78, 0xc0, 0xaf, 0x5a, 0x29, 0x75, 0xee, 0x4b, 0x31, 0xc3, 0x3a, 0xcf, 0xa4, 0x4a, 0xca, 0x8a, 0xa0, 0x74, 0x9f, 0x05,
12+
0x4b, 0x4c, 0x41, 0xe2, 0x9d, 0x2f, 0x58, 0x09, 0x80, 0xe3, 0x73, 0x9b, 0x64, 0x37, 0xe0, 0x54, 0x67, 0x13, 0xb4, 0xf6, 0xf3, 0xf8, 0x13, 0x26, 0x6e, 0x31, 0x0b, 0xb4, 0x99, 0x50, 0x61, 0x82,
13+
0x77, 0xb4, 0x9c, 0xbf, 0xe2, 0x2f, 0xa5, 0xfc, 0x80, 0xc5, 0x93, 0x39, 0x4c, 0x77, 0xaf, 0x64, 0x9f, 0x04, 0x94, 0x75, 0x1f, 0xdb, 0xff, 0xa7, 0x6f, 0x9f, 0x01, 0x83, 0xcf, 0x2a, 0x53, 0x31,
14+
0x2c, 0xf9, 0x22, 0x16, 0x60, 0x3c, 0x8d, 0x9b, 0x05, 0x6a, 0x37, 0xe0, 0x40, 0xea, 0x78, 0x91, 0x17, 0x6a, 0x84, 0x66, 0x7a, 0x88, 0xa5, 0x39, 0xb1, 0x78, 0x78, 0xfb, 0x54, 0x60, 0xaa, 0x97

Src/Include/json.h

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -89,8 +89,17 @@ struct json_t {
8989
};
9090
json_t(int aType);
9191
~json_t();
92+
void FASTCALL AssignAllocatedText(RcString * pRcs)
93+
{
94+
assert(pRcs);
95+
if(pRcs) {
96+
Text = pRcs->P_Text;
97+
SAlloc::F(pRcs);
98+
}
99+
}
92100
int Type; // the type of node
93-
char * P_Text; // The text stored by the node. It stores UTF-8 strings and is used exclusively by the json_t::tSTRING and JSON_NUMBER node types
101+
//char * P_Text; // The text stored by the node. It stores UTF-8 strings and is used exclusively by the json_t::tSTRING and JSON_NUMBER node types
102+
SString Text;
94103
//
95104
// FIFO queue data
96105
//
@@ -218,7 +227,7 @@ enum json_error json_tree_to_string(json_t * root, char **text);
218227
// @param root The document's root node
219228
// @return a json_error code describing how the operation went
220229
//
221-
enum json_error json_stream_output(FILE * file, json_t * root);
230+
enum json_error json_stream_output(/*FILE * file,*/json_t * root, SString & rBuf);
222231
//
223232
// Strips all JSON white spaces from the text string
224233
// @param text a char string holding a JSON document or document snippet
@@ -235,15 +244,15 @@ char *json_format_string(const char *text);
235244
// @param text an UTF8 char text string
236245
// @return an UTF-8 c-string holding the same text string but with escaped characters
237246
//
238-
char * json_escape(const char *text);
247+
// @v9.7.10 @obsolte char * json_escape(const char *text);
239248
//
240249
// Outputs a new UTF-8 c-string which has all escaped characters replaced by
241250
// their unescaped, UTF-8 encoded variants.
242251
//
243252
// @param test a UTF-8 c-string
244253
// @return a newly allocated UTF-8 c-string; free with free()
245254
//
246-
char * json_unescape(char *text);
255+
// @v9.7.10 @obsolte char * json_unescape(char *text);
247256
//
248257
// This function takes care of the tedious task of initializing any instance of json_parsing_info
249258
// @param jpi a pointer to a struct json_parsing_info instance
@@ -281,7 +290,7 @@ json_t *json_find_first_label(const json_t * object, const char *text_label);
281290
//
282291
// Helper
283292
//
284-
char * json_get_value(const json_t *object, const char *text_label);
293+
const char * json_get_value(const json_t *object, const char *text_label);
285294
json_t * json_process(json_t *object);
286295

287296
#ifdef __cplusplus

Src/OSF/CAIRO/SRC/1.14.2/cairo-scaled-font-subsets.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1133,7 +1133,7 @@ cairo_int_status_t _cairo_scaled_font_subset_create_glyph_names(cairo_scaled_fon
11331133
snprintf(buf, sizeof(buf), "uni%04X", (int)utf16[0]);
11341134
_cairo_string_init_key(&key, buf);
11351135
entry = (cairo_string_entry_t *)_cairo_hash_table_lookup(names, &key.base);
1136-
if(entry != NULL)
1136+
if(entry)
11371137
snprintf(buf, sizeof(buf), "g%d", i);
11381138
}
11391139
else {

Src/OSF/CAIRO/SRC/1.14.2/cairo-xcb-screen.c

Lines changed: 4 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -387,59 +387,43 @@ cairo_status_t _cairo_xcb_screen_store_linear_picture(cairo_xcb_screen_t * scree
387387
return CAIRO_STATUS_SUCCESS;
388388
}
389389

390-
cairo_surface_t * _cairo_xcb_screen_lookup_linear_picture(cairo_xcb_screen_t * screen,
391-
const cairo_linear_pattern_t * linear)
390+
cairo_surface_t * _cairo_xcb_screen_lookup_linear_picture(cairo_xcb_screen_t * screen, const cairo_linear_pattern_t * linear)
392391
{
393392
cairo_surface_t * picture = NULL;
394393
struct pattern_cache_entry tmpl;
395-
396394
struct pattern_cache_entry * entry;
397-
398395
assert(CAIRO_MUTEX_IS_LOCKED(screen->connection->device.mutex));
399-
400396
tmpl.key.hash = _cairo_linear_pattern_hash(_CAIRO_HASH_INIT_VALUE, linear);
401397
_cairo_pattern_init_static_copy(&tmpl.pattern.base, &linear->base.base);
402-
403398
entry = _cairo_cache_lookup(&screen->linear_pattern_cache, &tmpl.key);
404-
if(entry != NULL)
399+
if(entry)
405400
picture = cairo_surface_reference(entry->picture);
406-
407401
return picture;
408402
}
409403

410-
cairo_status_t _cairo_xcb_screen_store_radial_picture(cairo_xcb_screen_t * screen,
411-
const cairo_radial_pattern_t * radial,
412-
cairo_surface_t * picture)
404+
cairo_status_t _cairo_xcb_screen_store_radial_picture(cairo_xcb_screen_t * screen, const cairo_radial_pattern_t * radial, cairo_surface_t * picture)
413405
{
414406
struct pattern_cache_entry * entry;
415-
416407
cairo_status_t status;
417-
418408
assert(CAIRO_MUTEX_IS_LOCKED(screen->connection->device.mutex));
419-
420409
entry = _cairo_freelist_alloc(&screen->pattern_cache_entry_freelist);
421410
if(unlikely(entry == NULL))
422411
return _cairo_error(CAIRO_STATUS_NO_MEMORY);
423-
424412
entry->key.hash = _cairo_radial_pattern_hash(_CAIRO_HASH_INIT_VALUE, radial);
425413
entry->key.size = 1;
426-
427414
status = _cairo_pattern_init_copy(&entry->pattern.base, &radial->base.base);
428415
if(unlikely(status)) {
429416
_cairo_freelist_free(&screen->pattern_cache_entry_freelist, entry);
430417
return status;
431418
}
432-
433419
entry->picture = cairo_surface_reference(picture);
434420
entry->screen = screen;
435-
436421
status = _cairo_cache_insert(&screen->radial_pattern_cache, &entry->key);
437422
if(unlikely(status)) {
438423
cairo_surface_destroy(picture);
439424
_cairo_freelist_free(&screen->pattern_cache_entry_freelist, entry);
440425
return status;
441426
}
442-
443427
return CAIRO_STATUS_SUCCESS;
444428
}
445429

@@ -457,7 +441,7 @@ cairo_surface_t * _cairo_xcb_screen_lookup_radial_picture(cairo_xcb_screen_t * s
457441
_cairo_pattern_init_static_copy(&tmpl.pattern.base, &radial->base.base);
458442

459443
entry = _cairo_cache_lookup(&screen->radial_pattern_cache, &tmpl.key);
460-
if(entry != NULL)
444+
if(entry)
461445
picture = cairo_surface_reference(entry->picture);
462446

463447
return picture;

0 commit comments

Comments
 (0)