check mannually

This commit is contained in:
VincentWei
2017-10-30 16:36:16 +08:00
parent ecf126eaba
commit 9d502a920e
9 changed files with 1248 additions and 35 deletions

1239
ChangeLog

File diff suppressed because it is too large Load Diff

View File

@@ -8995,25 +8995,6 @@ MG_EXPORT int GUIAPI SetUserCompositionOps (HDC hdc, CB_COMP_SETPIXEL comp_setpi
CB_COMP_SETHLINE comp_sethline, CB_COMP_PUTHLINE comp_puthline, void* user_comp_ctxt);
/** @} end of gdi_fns */
MG_EXPORT int GUIAPI GetTextMCharInfo (PLOGFONT log_font, const char* mstr, int len,
int* pos_chars);
MG_EXPORT int GUIAPI GetTextWordInfo (PLOGFONT log_font, const char* mstr, int len,
int* pos_words, WORDINFO* info_words);
MG_EXPORT int GUIAPI GetFirstMCharLen (PLOGFONT log_font, const char* mstr, int len);
MG_EXPORT int GUIAPI GetLastMCharLen (PLOGFONT log_font, const char* mstr, int len);
MG_EXPORT int GUIAPI GetFirstWord (PLOGFONT log_font, const char* mstr, int len,
WORDINFO* word_info);
MG_EXPORT int GUIAPI MB2WCEx (PLOGFONT log_font, void* dest, BOOL wc32,
const unsigned char* mchar, int n);
MG_EXPORT int GUIAPI WC2MBEx (PLOGFONT log_font, unsigned char *s, UChar32 wc);
MG_EXPORT int GUIAPI MBS2WCSEx (PLOGFONT log_font, void* dest, BOOL wc32,
const unsigned char* mstr, int mstr_len, int n,
int* conved_mstr_len);
MG_EXPORT int GUIAPI WCS2MBSEx (PLOGFONT log_font, unsigned char* dest,
const void *wcs, int wcs_len, BOOL wc32, int n,
int* conved_wcs_len);
#ifdef _MGGAL_HI3560

View File

@@ -76,6 +76,8 @@ typedef int pthread_once_t;
struct sched_param
{
unsigned int priority;
unsigned int preempt_threshold;
unsigned long time_slice;
};
/*-----------------------------------------------------------------------------

View File

@@ -1,5 +1,5 @@
/*
** $Id: upf.c
** $Id: upf.c $
**
** upf.c: The Unicode Prerendered Font operation set.
**

View File

@@ -43,9 +43,6 @@
extern BOOL wndGetVScrollBarRect (const MAINWIN* pWin, RECT* rcVBar);
extern BOOL wndGetHScrollBarRect (const MAINWIN* pWin, RECT* rcHBar);
extern BOOL wndGetVScrollBarRect (const MAINWIN* pWin, RECT* rcVBar);
extern BOOL wndGetHScrollBarRect (const MAINWIN* pWin, RECT* rcHBar);
/* Bitmap info */
typedef struct _LFSKIN_BMPINFO
{

View File

@@ -6,8 +6,6 @@
** Copyright (C) 2003 ~ 2017 FMSoft.
** Copyright (C) 1999 ~ 2002 Wei Yongming.
**
** All rights reserved.
**
** Current maintainer: Wei Yongming.
**
** Create date: 1999.04.19
@@ -1631,7 +1629,6 @@ static int DefaultNCMouseMsgHandler(PMAINWIN pWin, int message,
hiliteCode = HT_UNKNOWN;
downWin = pWin;
wndDrawNCButton (pWin, downCode, LFRDR_BTN_STATUS_PRESSED);
}
break;

View File

@@ -1262,8 +1262,8 @@ int SendSyncMessage (HWND hWnd, int msg, WPARAM wParam, LPARAM lParam)
SyncMsg.sem_handle = &sync_msg;
}
#else
//The following DispatchMessage will need this function is reentrant function,
//so we must use unique semaphore.
//The following DispatchMessage will need this function is reentrant function,
//so we must use unique semaphore.
thinfo = GetMsgQueueThisThread ();
sem_init (&sync_msg, 0, 0);
SyncMsg.sem_handle = &sync_msg;

View File

@@ -1055,7 +1055,7 @@ int pthread_attr_setstacksize (pthread_attr_t *attr,
if( stacksize < PTHREAD_STACK_MIN )
PTHREAD_RETURN (EINVAL);
attr->stacksize_valid = 1;
attr->stacksize_valid = 1;
attr->stacksize = stacksize;
PTHREAD_RETURN (0);
@@ -1118,6 +1118,9 @@ int pthread_setschedparam (pthread_t thread_id,
thread->attr.schedparam = *param;
vx_ret = taskPrioritySet (thread->task_id, param->priority);
// TODO
//vx_ret = tx_thread_preemption_change (thread->thread, param->preempt_threshold, &tmp);
//vx_ret = NU_Change_Time_Slice (thread->thread, param->time_slice);
vx_ret = semGive (__vxpthread_mutex);

View File

@@ -130,11 +130,11 @@ void GUIAPI SelectClipRegion (HDC hdc, const CLIPRGN* pRgn)
PDC pdc;
pdc = dc_HDC2PDC (hdc);
if (pdc == NULL ){
if (pdc == NULL ) {
return;
}
if(pRgn == NULL){
if (pRgn == NULL) {
MAKE_REGION_INFINITE(&pdc->lcrgn);
}else{
ClipRgnCopy (&pdc->lcrgn, pRgn);
@@ -165,7 +165,7 @@ int GUIAPI SelectClipRegionEx (HDC hdc, const CLIPRGN* pRgn, int fnMode)
retval = XorRegion (&pdc->lcrgn, &pdc->lcrgn, pRgn);
break;
default:
if(pRgn == NULL){
if (pRgn == NULL) {
MAKE_REGION_INFINITE(&pdc->lcrgn);
retval = TRUE;
}else{