Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
72 commits
Select commit Hold shift + click to select a range
8205073
* updated to v0.7.0
orestdrag Mar 31, 2025
482542e
* fixing raw pointers and refactoring
orestdrag Apr 3, 2025
28cd862
* Refactoring lookup tables, switching to smart pointers
orestdrag Apr 7, 2025
39c7988
* fixed crash with filename table when openning tm created in 0.7
orestdrag Apr 8, 2025
4158c85
* Refactored dataReference in function to protect from typos
orestdrag Apr 9, 2025
df47890
*changed record ey type frpm ULONG to LONG
orestdrag Apr 9, 2025
3714050
* refactored TERMLENOFFS lists workflow
orestdrag Apr 14, 2025
4a6dbc4
* refactored TMX_SENTENCE struct
orestdrag Apr 14, 2025
4541b99
* code cleanup
orestdrag Apr 16, 2025
c30baf7
code cleanup
orestdrag Apr 17, 2025
a7e42d1
* fixed removing previous target when saving new targe
orestdrag Apr 23, 2025
c68e7ed
* skipped empty lang
orestdrag Apr 23, 2025
3c31ed6
Merge branch '0_6_atomic_file_save' into 0.7.x
orestdrag Apr 28, 2025
368b1f7
Merge branch '0_6_atomic_file_save' into 0.7.x
orestdrag May 7, 2025
17d93e0
Merge branch '0_6_atomic_file_save' into 0.7.x
orestdrag May 12, 2025
f3ea39a
Merge branch '0_6_atomic_file_save' into 0.7.x
orestdrag May 21, 2025
b4e2434
Merge branch '0_6_atomic_file_save' into 0.7.x
orestdrag Jun 2, 2025
e7bc62f
Merge branch '0_6_atomic_file_save' into 0.7.x
orestdrag Jun 4, 2025
82de0b4
Merge branch '0_6_atomic_file_save' into 0.7.x
orestdrag Jun 5, 2025
7b0cd51
* fixed tm tables sort, init and adding new elements
orestdrag Jun 10, 2025
9de5201
Merge branch '0.7.x' of github.com:translate5/translate5-tm-service-s…
orestdrag Jun 10, 2025
b15426b
Merge branch '0.7.x' of github.com:translate5/translate5-tm-service-s…
orestdrag Jun 10, 2025
117c65b
* fixed replacing segments with new segments whern required fields ar…
orestdrag Jun 10, 2025
44ec3a4
* fixed fuzzy search chashes in 0.7
orestdrag Jun 11, 2025
9764f99
* updated to v0.7.1
orestdrag Jun 13, 2025
805683a
* updated to 0.7.2
orestdrag Jun 16, 2025
2e9a010
* updated to 0.7.3 - NOT STABLE
orestdrag Jun 17, 2025
791e264
* fixed compilation issue
orestdrag Jun 17, 2025
bf6ac3e
* fuzzy refactoring and cleanup
orestdrag Jun 17, 2025
c3934e8
* fuzzy refactoring
orestdrag Jun 17, 2025
ac830e3
* fuzzy code refactoring
orestdrag Jun 18, 2025
a947b62
* fuzzy refactoring
orestdrag Jun 23, 2025
6961a5e
* fixed fuzzy crashes and calculations
orestdrag Jun 23, 2025
4c050c9
* updated to 0.7.4
orestdrag Jun 25, 2025
77a643b
* fixed compilation issue
orestdrag Jun 26, 2025
ffed386
* fixed longname tables
orestdrag Jul 1, 2025
983d04d
* code refactoring
orestdrag Jul 2, 2025
d2b98d6
* updated to v0.7.5
orestdrag Jul 2, 2025
3c1707d
* updated to 0.7.6
orestdrag Jul 7, 2025
830e66b
* updated to v0.7.7
orestdrag Jul 8, 2025
aaa855a
* updated to v0.7.8
orestdrag Jul 9, 2025
60cdc95
* updated to 0.7.9
orestdrag Jul 10, 2025
8668e1c
* updated to v0.7.10
orestdrag Jul 11, 2025
0f7db63
* updated to v0.7.11
orestdrag Jul 14, 2025
d203363
* updated to v0.7.12
orestdrag Jul 18, 2025
bb73625
* updated to 0.7.12
orestdrag Jul 18, 2025
5cf76f0
* updated to v0.7.13
orestdrag Jul 23, 2025
49409f4
Update LogWrapper.h
leonkj Jul 27, 2025
7e2304b
Update ThreadingWrapper.cpp
leonkj Jul 27, 2025
dff40cb
* updated to v0.7.14
orestdrag Jul 28, 2025
c5b41ec
* updated to v0.7.15
orestdrag Jul 30, 2025
c20171c
* updated to v0.7.16
orestdrag Jul 31, 2025
1deaf0b
* updated to 0.7.17 - !BUILD WITH -03 OPTIMIZATION
orestdrag Jul 31, 2025
70de70f
* updated to 0.7.18 - O3 build
orestdrag Aug 1, 2025
7c71997
* updated to v0.7.19- debug
orestdrag Aug 1, 2025
372f979
* updated to v0.7.20
orestdrag Aug 5, 2025
60c6a0f
* updated to v0.7.21
orestdrag Aug 6, 2025
5793039
* updated to v0.7.22
orestdrag Aug 8, 2025
9409e34
* fixed compilation issue
orestdrag Aug 8, 2025
ee7c507
* updated to v0.7.23
orestdrag Aug 12, 2025
f8d0119
* updated to 0.7.24
orestdrag Aug 13, 2025
9370fde
* updated to v0.7.25
orestdrag Aug 14, 2025
65d1e4f
* updated to 0.7.26
orestdrag Aug 15, 2025
44619a3
* updated to 0.7.27
orestdrag Aug 18, 2025
d7eac76
* updated to 0.7.28
orestdrag Aug 19, 2025
44e3059
* updated to 0.7.29
orestdrag Aug 21, 2025
169b4ac
Merge pull request #1 from translate5/0.7.x
malofan Aug 21, 2025
855b133
Add openapi docs
malofan Aug 28, 2025
a5b2d10
Update version
malofan Sep 23, 2025
bcad34a
Add openapi json
malofan Sep 23, 2025
5987fb0
Add openapi json
malofan Sep 23, 2025
20c445a
Update api
malofan Sep 23, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ do_build() {

# Check if ASan should be enabled
if [ "$ENABLE_ASAN" = "ON" ]; then
cmake -DCMAKE_BUILD_TYPE=${BUILD_TYPE} -DENABLE_ASAN=ON ../source
cmake -DCMAKE_BUILD_TYPE=${BUILD_TYPE} -DCMAKE_C_COMPILER=gcc-11 -DCMAKE_CXX_COMPILER=g++-11 -DENABLE_ASAN=ON ../source
else
cmake -DCMAKE_BUILD_TYPE=${BUILD_TYPE} ../source
cmake -DCMAKE_BUILD_TYPE=${BUILD_TYPE} -DCMAKE_C_COMPILER=gcc-11 -DCMAKE_CXX_COMPILER=g++-11 ../source
fi

make -j${CORES}
Expand Down
17 changes: 0 additions & 17 deletions docker/workdir/TABLE/otmxml.c
Original file line number Diff line number Diff line change
Expand Up @@ -236,23 +236,6 @@ EQF_BOOL /*APIENTRY*/ EQFPOSTUNSEGW(



USHORT /*APIENTRY*/ EQFQUERYEXITINFO(PSZ pszTagTable, // name of the markup table, e.g. "OTMHTM32"
USHORT usMode, // type of information being queried
PSZ pszBuffer, // buffer area receiving the information returned by the exit
USHORT usBufLen // length of buffer area
)
{

if( usMode == QUERYEXIT_ADDFILES) {
QueryExportFiles(pszTagTable, pszBuffer, usBufLen, FALSE);
}

return 0;
}




/*******************************************************************************
*
* function: IsFileUTF16
Expand Down
23 changes: 23 additions & 0 deletions docs/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<!doctype html>
<html>
<head>
<meta charset="utf-8"/>
<title>T5Memory API</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="https://fonts.googleapis.com/css?family=Montserrat:300,400,700|Roboto:300,400,700" rel="stylesheet">

<!--
Redoc doesn't change outer page styles
-->
<style>
body {
margin: 0;
padding: 0;
}
</style>
</head>
<body>
<redoc spec-url="https://translate5.github.io/t5memory/t5memory.openapi.yaml"></redoc>
<script src="https://cdn.redoc.ly/redoc/latest/bundles/redoc.standalone.js"> </script>
</body>
</html>
5,194 changes: 5,194 additions & 0 deletions docs/t5memory.apidog.json

Large diffs are not rendered by default.

3,526 changes: 3,526 additions & 0 deletions docs/t5memory.openapi.json

Large diffs are not rendered by default.

2,981 changes: 2,981 additions & 0 deletions docs/t5memory.openapi.yaml

Large diffs are not rendered by default.

1,056 changes: 1,056 additions & 0 deletions docs/t5memory.postman.json

Large diffs are not rendered by default.

54 changes: 3 additions & 51 deletions include/EQF.H
Original file line number Diff line number Diff line change
Expand Up @@ -555,22 +555,6 @@
}


#ifdef TEMPORARY_COMMENTED
#define CBQUERYSELECTEDITEMTEXT( sItem, hwnd, id, szBuffer ) \
{ \
sItem = (SHORT)SendDlgItemMessage( hwnd, id, CB_GETCURSEL, 0, 0L ); \
if( sItem != CB_ERR ) \
{ \
SendDlgItemMessage( hwnd, id, CB_GETLBTEXT, MP1FROMSHORT( sItem ), \
MP2FROMP( szBuffer ) ); \
} \
else \
{ \
szBuffer [0] = EOS; \
} /* endif */ \
}
#endif

#define CBQUERYSELECTEDITEMTEXTHWND( sItem, hwnd, szBuffer ) \
{ \
sItem = (SHORT)CPLUSPLUS SendMessage( hwnd, CB_GETCURSEL, 0, 0L ); \
Expand Down Expand Up @@ -3642,9 +3626,9 @@ typedef ULONG HPRINT, *PHPRINT;
ULONG UtlLongToDateString( LONG, PSZ, ULONG );
ULONG UtlLongToTimeStringW( LONG, PSZ_W, ULONG );
ULONG UtlLongToDateStringW( LONG, PSZ_W, ULONG );
BOOL UtlLoadFile( PSZ, PVOID *, USHORT *, BOOL, BOOL );
BOOL UtlLoadFileL( PSZ, PVOID *, ULONG *, BOOL, BOOL );
BOOL UtlLoadFileHwnd( PSZ, PVOID *, ULONG *, BOOL, BOOL, HWND );
BOOL UtlLoadFile( PSZ, BytesRef , USHORT *, BOOL, BOOL );
BOOL UtlLoadFileL( PSZ, BytesRef , ULONG *, BOOL, BOOL );
BOOL UtlLoadFileHwnd( PSZ, BytesRef , ULONG *, BOOL, BOOL, HWND );
USHORT UtlCheckSpaceForFile( PSZ, USHORT, LONG, PSZ *, LONG *, BOOL );
USHORT UtlCheckSpaceForFileEx( PSZ, USHORT, LONG, PSZ *, LONG *, BOOL, PUSHORT );
ULONG64 UtlQueryFreeSpace( CHAR, BOOL );
Expand All @@ -3669,7 +3653,6 @@ typedef ULONG HPRINT, *PHPRINT;
PSZ UtlMakeFullPath ( PSZ, PSZ, PSZ, PSZ, PSZ );
USHORT UtlWriteFile( PSZ pszFile, ULONG ulDataLength, PVOID pData);
BOOL UtlIsEqfDrive( CHAR chDrive );
BOOL UtlGetCheckedEqfDrives( PSZ pszDrives );
char* UtlGetFnameFromPath( const char* path);
PSZ UtlMakeObjName( PSZ p, PSZ drive, PSZ path, PSZ fname, PSZ ext);
VOID UtlMakeFNameAndPath( PSZ, PSZ, PSZ );
Expand Down Expand Up @@ -3707,14 +3690,11 @@ SHORT UtlDriveType( CHAR chDrive );
VOID UtlSetHorzScrollingForLB(HWND hLB);

VOID UtlSaveWindowPos( HWND hFrame, EQF_PSWP pSwp);
BOOL UtlAllocHwnd ( PVOID *, LONG, LONG, USHORT, HWND );
BOOL UtlInitUtils( HAB );
BOOL UtlRegisterEqfHelp( HAB );
BOOL UtlTerminateUtils( VOID );
USHORT UtlError ( SHORT, USHORT, USHORT, PSZ *, ERRTYPE );
USHORT UtlErrorHwnd ( SHORT, USHORT, USHORT, PSZ *, ERRTYPE, HWND );
USHORT UtlErrorW ( SHORT, USHORT, USHORT, PSZ_W *, ERRTYPE, BOOL );
USHORT UtlErrorHwndW ( SHORT, USHORT, USHORT, PSZ_W *, ERRTYPE, HWND, BOOL );
VOID UtlGetMsgTxt( SHORT, PSZ, USHORT, PSZ *);

VOID UtlInitError ( HAB, HWND, HWND, PSZ );
Expand Down Expand Up @@ -3907,13 +3887,7 @@ USHORT UtlFillTableLB( HWND, USHORT ); // get languages
USHORT SetSystemLanguage( PSZ pLanguage );
USHORT UtlSetFHandState( HFILE hf, USHORT fsState, BOOL fMsg );
USHORT UtlSetFHandStateHwnd( HFILE hf, USHORT fsState, BOOL fMsg, HWND hwnd );
BOOL UtlAllocTrace ( PVOID *, LONG, LONG, USHORT, PSZ, USHORT );
BOOL UtlAllocTraceHwnd ( PVOID *, LONG, LONG, USHORT, HWND, PSZ, USHORT );
#ifdef UTLFFST
#define UtlAlloc( par1, par2, par3, par4 ) \
UtlAllocTrace(par1, par2, par3, par4, __FILE__, __LINE__ )
#define UtlAllocHwnd( par1, par2, par3, par4, par5 ) \
UtlAllocTraceHwnd(par1, par2, par3, par4, par5, __FILE__, __LINE__ )

#endif
USHORT EqfDriveType(USHORT iDrive);
Expand Down Expand Up @@ -3945,11 +3919,6 @@ BOOL UtlKeepInTWB( PSWP pswpWin );
USHORT UtlCheckDlgPos( HWND hwndDlg, BOOL fShow );
LONG UtlTime( PLONG plTime );

#ifdef UTLFFST
#define UtlAlloc( par1, par2, par3, par4 ) \
UtlAllocTrace(par1, par2, par3, par4, __FILE__, __LINE__ )

#endif

VOID UtlWait( SHORT sWaitTime ); // wait the given time
USHORT UtlLoadWidth( HAB, HMODULE, SHORT, PUSHORT );
Expand Down Expand Up @@ -5383,8 +5352,6 @@ ULONG GetOrgLangCP( PSZ pLanguage, BOOL fASCII );
//------------------------------------------------------------------------------
struct TERMLENOFFS
{
// int iLength; // length of term
// int iOffset; // offset of term data in buffer
USHORT iLength; // length of term
USHORT iOffset; // offset of term data in buffer
TERMLENOFFS(){iLength = iOffset = 0;}
Expand Down Expand Up @@ -5428,7 +5395,6 @@ void LogSysInfo( VOID );
PSZ_W UTF16strcpy( PSZ_W pszTarget, PSZ_W pszSource );
PSZ_W UTF16strcat( PSZ_W pszTarget, PSZ_W pszSource );
PSZ_W UTF16strncpy(PSZ_W pusTarget, PSZ_W pusSource, LONG lLen);
int UTF16strcmp( PSZ_W pszString1, PSZ_W pszString2 );
int UTF16strncmpL( PSZ_W pszString1, PSZ_W pszString2, LONG lLen );
int UTF16strnicmpL( PSZ_W pszString1, PSZ_W pszString2, LONG lLen );
int UTF16strncmp( PSZ_W pszString1, PSZ_W pszString2, USHORT usLen );
Expand Down Expand Up @@ -5657,19 +5623,6 @@ BOOL DicGetCheckPassword( PSZ pszPassword, PULONG pulPassword, BOOL fCheckPasswo
#define XLATEOS2_MARKUP "XLATEOS2"
#define XLATEWIN_MARKUP "XLATEWIN"

// support additional pages in document import/export
typedef struct _EXTRAIDA
{
CHAR szFileName[ MAX_PATH144 ]; // filename to be used
HWND hwndExpListbox; // handle of listbox containing selected docs
OBJNAME szFolderObjName; // folder object name
PVOID pIda; // product specifics
USHORT usExtraPage; // number of extra page
HWND hwnd; // handle of parent dialog
OBJNAME szParentObjName; // parent (sub)folder object name
} EXTRAIDA, *PEXTRAIDA;



// defines for SGML Formats
#define SGMLFORMAT_ANSI 1
Expand Down Expand Up @@ -5745,7 +5698,6 @@ NTMCompareBetweenTokens
PSZ_W pD2,
PSZ pszMarkup,
SHORT sLangID,
ULONG ulSrcCP,
PBOOL pfStringEqual
);

Expand Down
8 changes: 0 additions & 8 deletions include/EQFDASD.H
Original file line number Diff line number Diff line change
Expand Up @@ -212,15 +212,7 @@ typedef enum _TERMTYPE
#define STYLEPREFIX_UNDEFINED 0x2715 //


#define ASD_GUARDED 0x01 // Open dictionary in guarded mode
#define ASD_LOCKED 0x10 // Open dictionary and lock it
#define ASD_FORCE_WRITE 0x40 // force imm.write of any changed record
#define ASD_NOINDEX 0x80 // Do not process index dictionary
// Caution: this define should be used
// only for dictionary organize!!!
#define ASD_ORGANIZE 0x100 // work in organize mode
#define ASD_NOOPENCHECK 0x200 // do not check QDAM header open flag
#define ASD_READONLY 0x400 // open in read only mode


// AsdTranslate mode: return terms only
Expand Down
8 changes: 4 additions & 4 deletions include/EQFDDE.H
Original file line number Diff line number Diff line change
Expand Up @@ -587,10 +587,10 @@ typedef struct _BATCHIMPORTPARMS

HGLOBAL MakeDDEDataSeg(USHORT, PSZ, PVOID, USHORT, USHORT );

static BOOL EQFFunctionCmdLine (PDDECLIENT );
static BATCHCMD ValidateToken ( PSZ *ppToken, PBATCHLIST pBatchList );
static BOOL CheckBatchOccurrence (PDDECLIENT, PUSHORT);
static DDETASK ValidateTask ( PDDECLIENT pDDEClient );
BOOL EQFFunctionCmdLine (PDDECLIENT );
BATCHCMD ValidateToken ( PSZ *ppToken, PBATCHLIST pBatchList );
BOOL CheckBatchOccurrence (PDDECLIENT, PUSHORT);
DDETASK ValidateTask ( PDDECLIENT pDDEClient );

BOOL DDEDocUnLoad( PDOCIMPEXP pDocExpIda );
BOOL DDEDocLoad( PDOCIMPEXP pDocImpIda );
Expand Down
17 changes: 5 additions & 12 deletions include/EQFFUZZ.H
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@

#include "lowlevelotmdatastructs.h"
#ifndef _EQFFUZZ_H_
#define _EQFFUZZ_H_

Expand Down Expand Up @@ -31,9 +31,6 @@ typedef struct _LCSTOKEN
SHORT sTotalLen;
} LCSTOKEN, *PLSCTOKEN;




//static
SHORT CompFuzzyTok ( PFUZZYTOK , PFUZZYTOK, BOOL );

Expand All @@ -43,18 +40,16 @@ SHORT CompFuzzyTok ( PFUZZYTOK , PFUZZYTOK, BOOL );
//static
VOID MakeHashValue ( PULONG, USHORT, PSZ_W, PULONG );



//static
BOOL PrepareTokens ( PLOADEDTABLE, PBYTE, PBYTE, PSZ_W, SHORT, PFUZZYTOK *, ULONG );
BOOL PrepareTokens ( PLOADEDTABLE, PSZ_W, SHORT, std::vector<FUZZYTOK> & );
//static
BOOL FuzzyReplace ( PSZ_W, PSZ_W, PSZ_W, PREPLLIST, PREPLLIST );
//static
VOID TransferSource( PSZ_W, PSZ_W, PSZ_W );
//static
SHORT TokStrCompare ( PFUZZYTOK, PFUZZYTOK);
//static
PFUZZYTOK SplitTokens (PFUZZYTOK, USHORT, SHORT, int, PSZ_W);
void SplitTokens (std::vector<FUZZYTOK>&, USHORT, SHORT, int, PSZ_W);
//static
//static
SHORT Snake ( PFUZZYTOK, PFUZZYTOK, SHORT, SHORT, SHORT, SHORT, BOOL);
Expand All @@ -64,13 +59,11 @@ SHORT FindMiddleSnake( PFUZZYTOK, PFUZZYTOK, PFUZZYTOK, PFUZZYTOK,
//static
VOID LCS( LCSTOKEN, LCSTOKEN , BOOL);
//static
BOOL EQFBTokCountDiff(PFUZZYTOK, PFUZZYTOK,
USHORT, USHORT, PUSHORT);
//static
BOOL EQFBMarkModDelIns( PFUZZYTOK, PFUZZYTOK, PFUZZYTOK*, PFUZZYTOK *,
BOOL EQFBMarkModDelIns( std::vector<FUZZYTOK>&, std::vector<FUZZYTOK>&, std::vector<FUZZYTOK>&, std::vector<FUZZYTOK>&,
USHORT, USHORT);
//static
void EQFBSimplifyAndCountMarks (PFUZZYTOK, PUSHORT, PUSHORT);
void EQFBSimplifyAndCountMarks (std::vector<FUZZYTOK>&, PUSHORT, PUSHORT);

/**********************************************************************/
/* macro to calculate the number of tokens in the list ... */
Expand Down
40 changes: 5 additions & 35 deletions include/EQFMORPH.H
Original file line number Diff line number Diff line change
Expand Up @@ -98,15 +98,7 @@
#include "LogWrapper.h"


/**********************************************************************/
/* Structure to access MORPH_FLAG_OFFSLIST type term lists */
/**********************************************************************/
typedef struct _FLAGOFFSLIST
{
LONG lFlags; // flags of term
USHORT usLen; // length of term
USHORT usOffs; // offset of term
} FLAGOFFSLIST, *PFLAGOFFSLIST;


//+----------------------------------------------------------------------------+
// Flags for flagged term lists
Expand Down Expand Up @@ -190,12 +182,7 @@ USHORT MorphTokenizeW
(
SHORT sLanguageID, // language ID
PSZ_W pszInData, // pointer to input segment
PUSHORT pusBufferSize, // address of variable containing size of
// term list buffer
TERMLENOFFS** ppTermList, // address of caller's term list pointer
USHORT usListType, // type of term list MORPH_ZTERMLIST or
// MORPH_OFFSLIST
ULONG ulOemCP
std::vector<TERMLENOFFS>& ppTermList// address of caller's term list pointer
);


Expand Down Expand Up @@ -330,26 +317,9 @@ USHORT MorphAddTermToList2

USHORT MorphAddTermToList2W
(
PSZ_W *ppList, // ptr to term list pointer
PULONG pulSize, // ptr to allocated size of term list
PULONG pulUsed, // ptr to used bytes in term list
PSZ_W pszTerm, // ptr to new term being added to list
USHORT usLength, // length of term
USHORT usOffs, // offset of term
ULONG ulFlags, // flags for the term
USHORT usListType // type of list MORPH_ZTERMLIST or
);


USHORT MorphCopyTermListASCII2Unicode
(
PSZ pList, // ptr to ASCII termlist
USHORT usBufferSize, // size of allocated buffer
PSZ_W *ppListW, // ptr to term list pointer
PULONG pulSize, // ptr to allocated size of term list
PULONG pulUsed, // ptr to used bytes in term list
USHORT usListType, // type of list
ULONG ulOemCP
std::vector<TERMLENOFFS>& pList, // ptr to term list pointer
int iLength, // length of term in # of w's
int iOffs // offset of term in # of w's???
);


Expand Down
8 changes: 1 addition & 7 deletions include/EQFOSWIN.H
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,6 @@ HWND WinQueryWindow ( HWND, SHORT, BOOL );
/* one might probably use NULL as default, but we use our UTL-function*/
/* which stores the anchor block for PM - we store the instead instead*/
/**********************************************************************/
#define WinQueryAnchorBlock( a ) ((HAB) UtlQueryULong( QL_HAB ))
/**********************************************************************/
/* resource strings */
/**********************************************************************/
Expand Down Expand Up @@ -1048,12 +1047,7 @@ USHORT DosGetDateTime( PDATETIME pDateTime );
/**********************************************************************/
SHORT GetNextSelection( HWND hwndLB, SHORT sPos );

/**********************************************************************/
/* force use of GetOEMCP- needed for 32-bit */
/* GetKBCodePage returns 437 for TChin/SChin/Korean under Win95! */
/* which causes that no DBCS chars are detected!! */
/**********************************************************************/
#define GetKBCodePage() GetOEMCP()


/**********************************************************************/
/* allow to fill the rectangle in the selected color */
Expand Down
Loading