mirror of
git://source.winehq.org/git/wine.git
synced 2024-08-31 13:35:56 +00:00
dlls: Assorted spelling fixes.
This commit is contained in:
parent
ea1eb88d37
commit
7e309601f3
|
@ -2940,7 +2940,7 @@ static HRESULT WINAPI fnIMultiLanguage2_GetRfc1766Info(
|
|||
|
||||
if ((PRIMARYLANGID(LangId) != LANG_ENGLISH) &&
|
||||
(last_lang != LangId)) {
|
||||
FIXME("Only english names supported (requested: 0x%04x)\n", LangId);
|
||||
FIXME("Only English names supported (requested: 0x%04x)\n", LangId);
|
||||
last_lang = LangId;
|
||||
}
|
||||
|
||||
|
|
|
@ -33,7 +33,7 @@
|
|||
|
||||
#ifdef HAVE_LCMS
|
||||
|
||||
static inline void MSCMS_adjust_endianess32( ULONG *ptr )
|
||||
static inline void MSCMS_adjust_endianness32( ULONG *ptr )
|
||||
{
|
||||
#ifndef WORDS_BIGENDIAN
|
||||
*ptr = RtlUlongByteSwap(*ptr);
|
||||
|
@ -48,7 +48,7 @@ void MSCMS_get_profile_header( const icProfile *iccprofile, PROFILEHEADER *heade
|
|||
|
||||
/* ICC format is big-endian, swap bytes if necessary */
|
||||
for (i = 0; i < sizeof(PROFILEHEADER) / sizeof(ULONG); i++)
|
||||
MSCMS_adjust_endianess32( (ULONG *)header + i );
|
||||
MSCMS_adjust_endianness32( (ULONG *)header + i );
|
||||
}
|
||||
|
||||
void MSCMS_set_profile_header( icProfile *iccprofile, const PROFILEHEADER *header )
|
||||
|
@ -60,14 +60,14 @@ void MSCMS_set_profile_header( icProfile *iccprofile, const PROFILEHEADER *heade
|
|||
|
||||
/* ICC format is big-endian, swap bytes if necessary */
|
||||
for (i = 0; i < sizeof(icHeader) / sizeof(ULONG); i++)
|
||||
MSCMS_adjust_endianess32( (ULONG *)iccheader + i );
|
||||
MSCMS_adjust_endianness32( (ULONG *)iccheader + i );
|
||||
}
|
||||
|
||||
DWORD MSCMS_get_tag_count( const icProfile *iccprofile )
|
||||
{
|
||||
ULONG count = iccprofile->count;
|
||||
|
||||
MSCMS_adjust_endianess32( &count );
|
||||
MSCMS_adjust_endianness32( &count );
|
||||
return count;
|
||||
}
|
||||
|
||||
|
@ -79,9 +79,9 @@ void MSCMS_get_tag_by_index( icProfile *iccprofile, DWORD index, icTag *tag )
|
|||
tag->offset = tmp->offset;
|
||||
tag->size = tmp->size;
|
||||
|
||||
MSCMS_adjust_endianess32( &tag->sig );
|
||||
MSCMS_adjust_endianess32( &tag->offset );
|
||||
MSCMS_adjust_endianess32( &tag->size );
|
||||
MSCMS_adjust_endianness32( &tag->sig );
|
||||
MSCMS_adjust_endianness32( &tag->offset );
|
||||
MSCMS_adjust_endianness32( &tag->size );
|
||||
}
|
||||
|
||||
void MSCMS_get_tag_data( const icProfile *iccprofile, const icTag *tag, DWORD offset, void *buffer )
|
||||
|
@ -98,7 +98,7 @@ DWORD MSCMS_get_profile_size( const icProfile *iccprofile )
|
|||
{
|
||||
DWORD size = ((const icHeader *)iccprofile)->size;
|
||||
|
||||
MSCMS_adjust_endianess32( &size );
|
||||
MSCMS_adjust_endianness32( &size );
|
||||
return size;
|
||||
}
|
||||
|
||||
|
|
|
@ -497,7 +497,7 @@ BOOL WINAPI GetColorProfileFromHandle( HPROFILE handle, PBYTE buffer, PDWORD siz
|
|||
* Failure: FALSE
|
||||
*
|
||||
* NOTES
|
||||
* The profile header returned will be adjusted for endianess.
|
||||
* The profile header returned will be adjusted for endianness.
|
||||
*/
|
||||
BOOL WINAPI GetColorProfileHeader( HPROFILE handle, PPROFILEHEADER header )
|
||||
{
|
||||
|
|
|
@ -284,7 +284,7 @@ HRESULT CompartmentMgr_Constructor(IUnknown *pUnkOuter, REFIID riid, IUnknown **
|
|||
}
|
||||
|
||||
/**************************************************
|
||||
* IEnumGUID implementaion for ITfCompartmentMgr::EnumCompartments
|
||||
* IEnumGUID implementation for ITfCompartmentMgr::EnumCompartments
|
||||
**************************************************/
|
||||
static void CompartmentEnumGuid_Destructor(CompartmentEnumGuid *This)
|
||||
{
|
||||
|
|
|
@ -131,7 +131,7 @@ static DWORD G711_GetFormatIndex(const WAVEFORMATEX *wfx)
|
|||
/***********************************************************************
|
||||
* R16
|
||||
*
|
||||
* Read a 16 bit sample (correctly handles endianess)
|
||||
* Read a 16 bit sample (correctly handles endianness)
|
||||
*/
|
||||
static inline short R16(const unsigned char* src)
|
||||
{
|
||||
|
@ -141,7 +141,7 @@ static inline short R16(const unsigned char* src)
|
|||
/***********************************************************************
|
||||
* W16
|
||||
*
|
||||
* Write a 16 bit sample (correctly handles endianess)
|
||||
* Write a 16 bit sample (correctly handles endianness)
|
||||
*/
|
||||
static inline void W16(unsigned char* dst, short s)
|
||||
{
|
||||
|
|
|
@ -923,10 +923,10 @@ static HRESULT WINAPI ResProtocolInfo_QueryInfo(IInternetProtocolInfo *iface, LP
|
|||
break;
|
||||
|
||||
case QUERY_IS_SECURE:
|
||||
FIXME("not supporte QUERY_IS_SECURE\n");
|
||||
FIXME("QUERY_IS_SECURE not supported\n");
|
||||
return E_NOTIMPL;
|
||||
case QUERY_IS_SAFE:
|
||||
FIXME("not supporte QUERY_IS_SAFE\n");
|
||||
FIXME("QUERY_IS_SAFE not supported\n");
|
||||
return E_NOTIMPL;
|
||||
default:
|
||||
return INET_E_USE_DEFAULT_PROTOCOLHANDLER;
|
||||
|
@ -1008,7 +1008,7 @@ static HRESULT WINAPI JSProtocolInfo_QueryInfo(IInternetProtocolInfo *iface, LPC
|
|||
break;
|
||||
|
||||
case QUERY_IS_SECURE:
|
||||
FIXME("not supporte QUERY_IS_SECURE\n");
|
||||
FIXME("QUERY_IS_SECURE not supported\n");
|
||||
return E_NOTIMPL;
|
||||
|
||||
default:
|
||||
|
|
|
@ -1230,7 +1230,7 @@ UINT msi_download_file( LPCWSTR szUrl, LPWSTR filename )
|
|||
DWORD size = 0;
|
||||
HRESULT hr;
|
||||
|
||||
/* call will always fail, becase size is 0,
|
||||
/* call will always fail, because size is 0,
|
||||
* but will return ERROR_FILE_NOT_FOUND first
|
||||
* if the file doesn't exist
|
||||
*/
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
** May you share freely, never taking more than you give.
|
||||
**
|
||||
*************************************************************************
|
||||
** An tokenizer for SQL
|
||||
** A tokenizer for SQL
|
||||
**
|
||||
** This file contains C code that splits an SQL input string up into
|
||||
** individual tokens and sends those tokens one-by-one over to the
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
||||
*
|
||||
* Note: init and free don't need MT locking since they are called at DLL
|
||||
* (de)attachment time, which is syncronised for us
|
||||
* (de)attachment time, which is synchronised for us
|
||||
*/
|
||||
|
||||
#include "msvcrt.h"
|
||||
|
|
|
@ -1278,7 +1278,7 @@ char * CDECL _ecvt( double number, int ndigits, int *decpt, int *sign )
|
|||
{
|
||||
int prec, len;
|
||||
thread_data_t *data = msvcrt_get_thread_data();
|
||||
/* FIXME: check better for overflow (native supports over 300 chars's) */
|
||||
/* FIXME: check better for overflow (native supports over 300 chars) */
|
||||
ndigits = min( ndigits, 80 - 7); /* 7 : space for dec point, 1 for "e",
|
||||
* 4 for exponent and one for
|
||||
* terminating '\0' */
|
||||
|
|
|
@ -71,10 +71,10 @@ static void get_fn_pointers(SOCKET s)
|
|||
*
|
||||
* listener [I] Listening socket
|
||||
* acceptor [I] Socket to accept on
|
||||
* dest [O] Destination for inital data
|
||||
* dest [O] Destination for initial data
|
||||
* dest_len [I] Size of dest in bytes
|
||||
* local_addr_len [I] Number of bytes reserved in dest for local addrress
|
||||
* rem_addr_len [I] Number of bytes reserved in dest for remote addrress
|
||||
* local_addr_len [I] Number of bytes reserved in dest for local address
|
||||
* rem_addr_len [I] Number of bytes reserved in dest for remote address
|
||||
* received [O] Destination for number of bytes of initial data
|
||||
* overlapped [I] For asynchronous execution
|
||||
*
|
||||
|
@ -99,7 +99,7 @@ BOOL WINAPI AcceptEx(SOCKET listener, SOCKET acceptor, PVOID dest, DWORD dest_le
|
|||
/***********************************************************************
|
||||
* GetAcceptExSockaddrs (MSWSOCK.@)
|
||||
*
|
||||
* Get infomation about an accepted socket.
|
||||
* Get information about an accepted socket.
|
||||
*
|
||||
* data [O] Destination for the first block of data from AcceptEx()
|
||||
* data_len [I] length of data in bytes
|
||||
|
|
|
@ -860,14 +860,14 @@ void WINAPI RtlCopyLuid (PLUID LuidDest, const LUID *LuidSrc)
|
|||
/*************************************************************************
|
||||
* RtlEqualLuid [NTDLL.@]
|
||||
*
|
||||
* Compare two local unique ID's.
|
||||
* Compare two local unique IDs.
|
||||
*
|
||||
* PARAMS
|
||||
* Luid1 [I] First Luid to compare to Luid2
|
||||
* Luid2 [I] Second Luid to compare to Luid1
|
||||
*
|
||||
* RETURNS
|
||||
* TRUE: The two LUID's are equal.
|
||||
* TRUE: The two LUIDs are equal.
|
||||
* FALSE: Otherwise
|
||||
*/
|
||||
BOOLEAN WINAPI RtlEqualLuid (const LUID *Luid1, const LUID *Luid2)
|
||||
|
@ -879,7 +879,7 @@ BOOLEAN WINAPI RtlEqualLuid (const LUID *Luid1, const LUID *Luid2)
|
|||
/*************************************************************************
|
||||
* RtlCopyLuidAndAttributesArray [NTDLL.@]
|
||||
*
|
||||
* Copy an array of local unique ID's and attributes.
|
||||
* Copy an array of local unique IDs and attributes.
|
||||
*
|
||||
* PARAMS
|
||||
* Count [I] Number of Luid/attributes in Src
|
||||
|
|
|
@ -138,7 +138,7 @@ struct apartment
|
|||
DWORD host_apt_tid; /* thread ID of apartment hosting objects of differing threading model (CS cs) */
|
||||
HWND host_apt_hwnd; /* handle to apartment window of host apartment (CS cs) */
|
||||
|
||||
/* FIXME: OID's should be given out by RPCSS */
|
||||
/* FIXME: OIDs should be given out by RPCSS */
|
||||
OID oidc; /* object ID counter, starts at 1, zero is invalid OID (CS cs) */
|
||||
|
||||
/* STA-only fields */
|
||||
|
|
|
@ -217,7 +217,7 @@ static HRESULT WINAPI HGLOBALStreamImpl_Read(
|
|||
pv, cb, pcbRead);
|
||||
|
||||
/*
|
||||
* If the caller is not interested in the nubmer of bytes read,
|
||||
* If the caller is not interested in the number of bytes read,
|
||||
* we use another buffer to avoid "if" statements in the code.
|
||||
*/
|
||||
if (pcbRead==0)
|
||||
|
|
|
@ -104,10 +104,10 @@ HGLOBAL WINAPI OleMetafilePictFromIconAndLabel(HICON hIcon, LPOLESTR lpszLabel,
|
|||
SetWindowOrgEx(hdc, 0, 0, NULL);
|
||||
SetWindowExtEx(hdc, width, label_offset + text_size.cy, NULL);
|
||||
|
||||
/* draw the icon centred */
|
||||
/* draw the icon centered */
|
||||
DrawIcon(hdc, (width-icon_width) / 2, 0, hIcon);
|
||||
if(lpszLabel)
|
||||
/* draw the label centred too, if provided */
|
||||
/* draw the label centered too, if provided */
|
||||
TextOutW(hdc, (width-text_size.cx) / 2, label_offset, lpszLabel, lstrlenW(lpszLabel));
|
||||
|
||||
if (lpszSourceFile)
|
||||
|
|
|
@ -1016,7 +1016,7 @@ HRESULT WINAPI SafeArrayGetUBound(SAFEARRAY *psa, UINT nDim, LONG *plUbound)
|
|||
*
|
||||
* PARAMS
|
||||
* psa [I] Array to get dimension lower bound from
|
||||
* nDim [I] The dimension number to get the lowe bound of
|
||||
* nDim [I] The dimension number to get the lower bound of
|
||||
* plLbound [O] Destination for the lower bound
|
||||
*
|
||||
* RETURNS
|
||||
|
|
|
@ -3879,7 +3879,7 @@ static void SLTG_ProcessModule(char *pBlk, ITypeInfoImpl *pTI,
|
|||
}
|
||||
|
||||
/* Because SLTG_OtherTypeInfo is such a painful struct, we make a more
|
||||
managable copy of it into this */
|
||||
manageable copy of it into this */
|
||||
typedef struct {
|
||||
WORD small_no;
|
||||
char *index_name;
|
||||
|
|
|
@ -1607,7 +1607,7 @@ static void VARIANT_GetLocalisedNumberChars(VARIANT_NUMBER_CHARS *lpChars, LCID
|
|||
* from "oleauto.h".
|
||||
*
|
||||
* FIXME
|
||||
* - I am unsure if this function should parse non-arabic (e.g. Thai)
|
||||
* - I am unsure if this function should parse non-Arabic (e.g. Thai)
|
||||
* numerals, so this has not been implemented.
|
||||
*/
|
||||
HRESULT WINAPI VarParseNumFromStr(OLECHAR *lpszStr, LCID lcid, ULONG dwFlags,
|
||||
|
|
|
@ -73,7 +73,7 @@ void ME_PaintContent(ME_TextEditor *editor, HDC hDC, BOOL bOnlyNew, const RECT *
|
|||
|
||||
if (!bOnlyNew || (item->member.para.nFlags & MEPF_REPAINT))
|
||||
{
|
||||
/* Draw the pargraph if any of the paragraph is in the update region. */
|
||||
/* Draw the paragraph if any of the paragraph is in the update region. */
|
||||
if (ys < rcUpdate->bottom && ye > rcUpdate->top)
|
||||
{
|
||||
ME_DrawParagraph(&c, item);
|
||||
|
@ -1092,7 +1092,7 @@ void ME_ScrollRight(ME_TextEditor *editor, int cx)
|
|||
ME_HScrollAbs(editor, editor->horz_si.nPos + cx);
|
||||
}
|
||||
|
||||
/* Calculates the visiblity after a call to SetScrollRange or
|
||||
/* Calculates the visibility after a call to SetScrollRange or
|
||||
* SetScrollInfo with SIF_RANGE. */
|
||||
static BOOL ME_PostSetScrollRangeVisibility(SCROLLINFO *si)
|
||||
{
|
||||
|
|
|
@ -206,7 +206,7 @@ void ME_CommitUndo(ME_TextEditor *editor) {
|
|||
}
|
||||
|
||||
/**
|
||||
* Groups supsequent changes with previous ones for an undo if coalescing.
|
||||
* Groups subsequent changes with previous ones for an undo if coalescing.
|
||||
*
|
||||
* Has no effect if the previous changes were followed by a ME_CommitUndo. This
|
||||
* function will only have an affect if the previous changes were followed by
|
||||
|
|
|
@ -900,7 +900,7 @@ LONG_PTR CDECL ndr_client_call( PMIDL_STUB_DESC pStubDesc, PFORMAT_STRING pForma
|
|||
NdrSendReceive(&stubMsg, stubMsg.Buffer);
|
||||
}
|
||||
|
||||
/* convert strings, floating point values and endianess into our
|
||||
/* convert strings, floating point values and endianness into our
|
||||
* preferred format */
|
||||
if ((rpcMsg.DataRepresentation & 0x0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION)
|
||||
NdrConvert(&stubMsg, pFormat);
|
||||
|
@ -1721,7 +1721,7 @@ RPC_STATUS NdrpCompleteAsyncClientCall(RPC_ASYNC_STATE *pAsync, void *Reply)
|
|||
pStubMsg->Buffer = pStubMsg->BufferStart;
|
||||
}
|
||||
|
||||
/* convert strings, floating point values and endianess into our
|
||||
/* convert strings, floating point values and endianness into our
|
||||
* preferred format */
|
||||
#if 0
|
||||
if ((pStubMsg->RpcMsg.DataRepresentation & 0x0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION)
|
||||
|
|
|
@ -1224,7 +1224,7 @@ RPC_STATUS WINAPI RpcServerUnregisterIfEx( RPC_IF_HANDLE IfSpec, UUID* MgrTypeUu
|
|||
* RPC_S_INVALID_OBJECT The provided object (nil) is not valid
|
||||
* RPC_S_ALREADY_REGISTERED The provided object is already registered
|
||||
*
|
||||
* Maps "Object" UUIDs to "Type" UUID's. Passing the nil UUID as the type
|
||||
* Maps "Object" UUIDs to "Type" UUIDs. Passing the nil UUID as the type
|
||||
* resets the mapping for the specified object UUID to nil (the default).
|
||||
* The nil object is always associated with the nil type and cannot be
|
||||
* reassigned. Servers can support multiple implementations on the same
|
||||
|
|
|
@ -1412,7 +1412,7 @@ static int mp_lshd (mp_int * a, int b)
|
|||
bottom = a->dp + a->used - 1 - b;
|
||||
|
||||
/* much like mp_rshd this is implemented using a sliding window
|
||||
* except the window goes the otherway around. Copying from
|
||||
* except the window goes the other way around. Copying from
|
||||
* the bottom to the top. see bn_mp_rshd.c for more info.
|
||||
*/
|
||||
for (x = a->used - 1; x >= b; x--) {
|
||||
|
@ -3663,7 +3663,7 @@ mp_reduce_2k_setup(const mp_int *a, mp_digit *d)
|
|||
}
|
||||
|
||||
/* pre-calculate the value required for Barrett reduction
|
||||
* For a given modulus "b" it calulates the value required in "a"
|
||||
* For a given modulus "b" it calculates the value required in "a"
|
||||
*/
|
||||
int mp_reduce_setup (mp_int * a, const mp_int * b)
|
||||
{
|
||||
|
|
|
@ -762,7 +762,7 @@ static inline void setup_key(CRYPTKEY *pCryptKey) {
|
|||
*
|
||||
* PARAMS
|
||||
* hProv [I] Handle to the provider to which the created key will belong.
|
||||
* aiAlgid [I] The new key shall use the crypto algorithm idenfied by aiAlgid.
|
||||
* aiAlgid [I] The new key shall use the crypto algorithm identified by aiAlgid.
|
||||
* dwFlags [I] Upper 16 bits give the key length.
|
||||
* Lower 16 bits: CRYPT_EXPORTABLE, CRYPT_CREATE_SALT,
|
||||
* CRYPT_NO_SALT
|
||||
|
|
|
@ -527,7 +527,7 @@ static void SETUPDI_FreeDeviceInfo(struct DeviceInfo *devInfo)
|
|||
GlobalFree((HANDLE)devInfo->devId);
|
||||
}
|
||||
|
||||
/* Adds a device with GUID guid and identifer devInst to set. Allocates a
|
||||
/* Adds a device with GUID guid and identifier devInst to set. Allocates a
|
||||
* struct DeviceInfo, and points the returned device info's Reserved member
|
||||
* to it. "Phantom" devices are deleted from the registry when closed.
|
||||
* Returns a pointer to the newly allocated device info.
|
||||
|
@ -609,7 +609,7 @@ BOOL WINAPI SetupDiBuildClassInfoList(
|
|||
* SetupDiBuildClassInfoListExA (SETUPAPI.@)
|
||||
*
|
||||
* Returns a list of setup class GUIDs that identify the classes
|
||||
* that are installed on a local or remote macine.
|
||||
* that are installed on a local or remote machine.
|
||||
*
|
||||
* PARAMS
|
||||
* Flags [I] control exclusion of classes from the list.
|
||||
|
@ -655,7 +655,7 @@ BOOL WINAPI SetupDiBuildClassInfoListExA(
|
|||
* SetupDiBuildClassInfoListExW (SETUPAPI.@)
|
||||
*
|
||||
* Returns a list of setup class GUIDs that identify the classes
|
||||
* that are installed on a local or remote macine.
|
||||
* that are installed on a local or remote machine.
|
||||
*
|
||||
* PARAMS
|
||||
* Flags [I] control exclusion of classes from the list.
|
||||
|
|
|
@ -282,7 +282,7 @@ static HRESULT WINAPI InstanceObjectFactory_IClassFactory_CreateInstance(IClassF
|
|||
|
||||
hr = IPersistPropertyBag_Load(pPersistPropertyBag, This->m_pPropertyBag, NULL);
|
||||
if (FAILED(hr)) {
|
||||
TRACE("Failed to initialize object from ProperyBag: hr = %08x\n", hr);
|
||||
TRACE("Failed to initialize object from PropertyBag: hr = %08x\n", hr);
|
||||
IPersistPropertyBag_Release(pPersistPropertyBag);
|
||||
return hr;
|
||||
}
|
||||
|
@ -402,9 +402,9 @@ HRESULT SHDOCVW_GetShellInstanceObjectClassObject(REFCLSID rclsid, REFIID riid,
|
|||
return CLASS_E_CLASSNOTAVAILABLE;
|
||||
}
|
||||
|
||||
/* If the construction succeeds, the new RegistryPropertyBag is responsible for closing
|
||||
* hInitProperyBagKey. */
|
||||
hr = RegistryPropertyBag_Constructor(hInitPropertyBagKey, &IID_IPropertyBag,
|
||||
/* If the construction succeeds, the new RegistryPropertyBag is responsible for closing
|
||||
* hInitPropertyBagKey. */
|
||||
hr = RegistryPropertyBag_Constructor(hInitPropertyBagKey, &IID_IPropertyBag,
|
||||
(LPVOID*)&pInitPropertyBag);
|
||||
if (FAILED(hr)) {
|
||||
RegCloseKey(hInitPropertyBagKey);
|
||||
|
|
|
@ -57,7 +57,7 @@ extern INT WINAPI SHStringFromGUIDW(REFGUID guid, LPWSTR lpszDest, INT cchMax);
|
|||
typedef HRESULT (CALLBACK *LPFNCREATEINSTANCE)(IUnknown* pUnkOuter, REFIID riid, LPVOID* ppvObject);
|
||||
static IClassFactory * IDefClF_fnConstructor(LPFNCREATEINSTANCE lpfnCI, PLONG pcRefDll, REFIID riidInst);
|
||||
|
||||
/* this table contains all CLSID's of shell32 objects */
|
||||
/* this table contains all CLSIDs of shell32 objects */
|
||||
static const struct {
|
||||
REFIID riid;
|
||||
LPFNCREATEINSTANCE lpfnCI;
|
||||
|
|
|
@ -926,7 +926,7 @@ UINT WINAPI Shell_MergeMenus (HMENU hmDst, HMENU hmSrc, UINT uInsert, UINT uIDAd
|
|||
{
|
||||
miiSrc.wID += uIDAdjust; /* add uIDAdjust to the ID */
|
||||
|
||||
if (miiSrc.wID > uIDAdjustMax) /* skip ID's higher uIDAdjustMax */
|
||||
if (miiSrc.wID > uIDAdjustMax) /* skip IDs higher than uIDAdjustMax */
|
||||
continue;
|
||||
|
||||
if (uIDMax <= miiSrc.wID) /* remember the highest ID */
|
||||
|
@ -953,7 +953,7 @@ UINT WINAPI Shell_MergeMenus (HMENU hmDst, HMENU hmSrc, UINT uInsert, UINT uIDAd
|
|||
{
|
||||
miiSrc.wID += uIDAdjust; /* add uIDAdjust to the ID */
|
||||
|
||||
if (miiSrc.wID > uIDAdjustMax) /* skip ID's higher uIDAdjustMax */
|
||||
if (miiSrc.wID > uIDAdjustMax) /* skip IDs higher than uIDAdjustMax */
|
||||
continue;
|
||||
|
||||
if (uIDMax <= miiSrc.wID) /* remember the highest ID */
|
||||
|
|
|
@ -155,7 +155,7 @@ static inline IShellViewImpl *impl_from_IShellFolderView(IShellFolderView *iface
|
|||
return CONTAINING_RECORD(iface, IShellViewImpl, IShellFolderView_iface);
|
||||
}
|
||||
|
||||
/* ListView Header ID's */
|
||||
/* ListView Header IDs */
|
||||
#define LISTVIEW_COLUMN_NAME 0
|
||||
#define LISTVIEW_COLUMN_SIZE 1
|
||||
#define LISTVIEW_COLUMN_TYPE 2
|
||||
|
@ -1272,7 +1272,7 @@ static LRESULT ShellView_OnKillFocus(IShellViewImpl * This)
|
|||
* ShellView_OnCommand()
|
||||
*
|
||||
* NOTES
|
||||
* the CmdID's are the ones from the context menu
|
||||
* the CmdIDs are the ones from the context menu
|
||||
*/
|
||||
static LRESULT ShellView_OnCommand(IShellViewImpl * This,DWORD dwCmdID, DWORD dwCmd, HWND hwndCmd)
|
||||
{
|
||||
|
@ -1304,7 +1304,7 @@ static LRESULT ShellView_OnCommand(IShellViewImpl * This,DWORD dwCmdID, DWORD dw
|
|||
CheckToolbar(This);
|
||||
break;
|
||||
|
||||
/* the menu-ID's for sorting are 0x30... see shell32.rc */
|
||||
/* the menu IDs for sorting are 0x30... see shell32.rc */
|
||||
case 0x30:
|
||||
case 0x31:
|
||||
case 0x32:
|
||||
|
|
|
@ -209,7 +209,7 @@ error:
|
|||
|
||||
/*
|
||||
* Try to create a .trashinfo file. This function will make several attempts with
|
||||
* different filenames. It will return the filename that succeded or NULL if a file
|
||||
* different filenames. It will return the filename that succeeded or NULL if a file
|
||||
* couldn't be created.
|
||||
*/
|
||||
static char *create_trashinfo(const char *info_dir, const char *file_path)
|
||||
|
@ -285,7 +285,7 @@ static BOOL TRASH_MoveFileToBucket(TRASH_BUCKET *pBucket, const char *unix_path)
|
|||
|
||||
if (rename(unix_path, trash_path)==0)
|
||||
{
|
||||
TRACE("rename succeded\n");
|
||||
TRACE("rename succeeded\n");
|
||||
goto cleanup;
|
||||
}
|
||||
|
||||
|
|
|
@ -76,7 +76,7 @@ BOOL WINAPI SHAboutInfoW(LPWSTR,DWORD);
|
|||
/*************************************************************************
|
||||
* SHLWAPI_DupSharedHandle
|
||||
*
|
||||
* Internal implemetation of SHLWAPI_11.
|
||||
* Internal implementation of SHLWAPI_11.
|
||||
*/
|
||||
static HANDLE SHLWAPI_DupSharedHandle(HANDLE hShared, DWORD dwDstProcId,
|
||||
DWORD dwSrcProcId, DWORD dwAccess,
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
#define IDS_TIME_INTERVAL_MINUTES 66
|
||||
#define IDS_TIME_INTERVAL_SECONDS 67
|
||||
|
||||
/* These numbers match native ID's and shouldn't be arbitrarily changed */
|
||||
/* These numbers match native IDs and shouldn't be arbitrarily changed */
|
||||
#define IDD_ERR_DIALOG 0x1200
|
||||
#define IDS_ERR_USER_MSG 0x1201
|
||||
#define IDC_ERR_DONT_SHOW 0x1202
|
||||
|
|
|
@ -903,7 +903,7 @@ STORAGE_get_free_big_blocknr(stream_access16 *str) {
|
|||
ret = STORAGE_put_big_block(str,bigblocknr,block);
|
||||
assert(ret);
|
||||
|
||||
/* if we had a bbd block already (mostlikely) we need
|
||||
/* if we had a bbd block already (most likely) we need
|
||||
* to link the new one into the chain
|
||||
*/
|
||||
if (lastbigblocknr!=-1) {
|
||||
|
@ -1485,7 +1485,7 @@ HRESULT CDECL IStream16_fnWrite(IStream16 *iface, const void *pv, ULONG cb, ULON
|
|||
}
|
||||
|
||||
/* There are just some cases where we didn't modify it, we write it out
|
||||
* everytime
|
||||
* every time
|
||||
*/
|
||||
if (!STORAGE_put_pps_entry(&This->str,This->ppsent,&(This->stde)))
|
||||
return E_FAIL;
|
||||
|
@ -1497,7 +1497,7 @@ HRESULT CDECL IStream16_fnWrite(IStream16 *iface, const void *pv, ULONG cb, ULON
|
|||
while (cb>0) {
|
||||
/* we ensured that it is allocated above */
|
||||
assert(blocknr>=0);
|
||||
/* Read old block everytime, since we can have
|
||||
/* Read old block every time, since we can have
|
||||
* overlapping data at START and END of the write
|
||||
*/
|
||||
if (!STORAGE_get_small_block(&This->str,blocknr,block))
|
||||
|
@ -1525,7 +1525,7 @@ HRESULT CDECL IStream16_fnWrite(IStream16 *iface, const void *pv, ULONG cb, ULON
|
|||
while (cb>0) {
|
||||
/* we ensured that it is allocated above, so it better is */
|
||||
assert(blocknr>=0);
|
||||
/* read old block everytime, since we can have
|
||||
/* read old block every time, since we can have
|
||||
* overlapping data at START and END of the write
|
||||
*/
|
||||
if (!STORAGE_get_big_block(&This->str,blocknr,block))
|
||||
|
|
|
@ -401,7 +401,7 @@ HRESULT WINAPI BaseOutputPinImpl_Connect(IPin * iface, IPin * pReceivePin, const
|
|||
TRACE("(%p/%p)->(%p, %p)\n", This, iface, pReceivePin, pmt);
|
||||
dump_AM_MEDIA_TYPE(pmt);
|
||||
|
||||
/* If we try to connect to ourself, we will definitely deadlock.
|
||||
/* If we try to connect to ourselves, we will definitely deadlock.
|
||||
* There are other cases where we could deadlock too, but this
|
||||
* catches the obvious case */
|
||||
assert(pReceivePin != iface);
|
||||
|
|
|
@ -820,7 +820,7 @@ DWORD WINAPI lineGetTranslateCapsA(HLINEAPP hLineApp, DWORD dwAPIVersion,
|
|||
strptr = ((LPBYTE) lpTranslateCaps) +
|
||||
lpTranslateCaps->dwCardListOffset + lpTranslateCaps->dwCardListSize;
|
||||
pLocEntry = (LPLINELOCATIONENTRY) (lpTranslateCaps + 1);
|
||||
/* key with Preferred CardID's */
|
||||
/* key with Preferred CardIDs */
|
||||
if( RegOpenKeyA(HKEY_CURRENT_USER, szLocationsKey, &hkCardLocations)
|
||||
!= ERROR_SUCCESS )
|
||||
hkCardLocations = 0;
|
||||
|
|
|
@ -469,7 +469,7 @@ static HRESULT get_zone_from_domains(LPCWSTR url, LPCWSTR schema, DWORD *zone)
|
|||
* The reason is with how CoInternetParseUrl handles unknown scheme types
|
||||
* when it's parsing the domain of a URL (IE it always returns E_FAIL).
|
||||
*
|
||||
* Windows doesn't compenstate for this and simply doesn't check if
|
||||
* Windows doesn't compensate for this and simply doesn't check if
|
||||
* the URL maps into any domains.
|
||||
*/
|
||||
if(hres != S_OK) {
|
||||
|
|
|
@ -301,7 +301,7 @@ static void TEXT_PathEllipsify (HDC hdc, WCHAR *str, unsigned int max_len,
|
|||
* 1. If the text is left-justified and there is room for some of the spaces
|
||||
* that follow the last word on the line then those that fit are included on
|
||||
* the line.
|
||||
* 2. If the text is centred or right-justified and there is room for some of
|
||||
* 2. If the text is centered or right-justified and there is room for some of
|
||||
* the spaces that follow the last word on the line then all but one of those
|
||||
* that fit are included on the line.
|
||||
* 3. (Reasonable behaviour) If the word breaking causes a space to be the first
|
||||
|
@ -330,7 +330,7 @@ static void TEXT_PathEllipsify (HDC hdc, WCHAR *str, unsigned int max_len,
|
|||
* Work back from the last character that did fit to either a space or the last
|
||||
* character of a word, whichever is met first.
|
||||
* If there was one or the first character didn't fit then
|
||||
* If the text is centred or right justified and that one character was a
|
||||
* If the text is centered or right justified and that one character was a
|
||||
* space then break the line before that character
|
||||
* Otherwise break the line after that character
|
||||
* and if the next character is a space then discard it.
|
||||
|
|
|
@ -289,11 +289,11 @@ static int resolveExplicit(int level, int dir, WORD *pcls, WORD *plevel, int cch
|
|||
|
||||
enum states /* possible states */
|
||||
{
|
||||
xa, /* arabic letter */
|
||||
xa, /* Arabic letter */
|
||||
xr, /* right letter */
|
||||
xl, /* left letter */
|
||||
|
||||
ao, /* arabic lett. foll by ON */
|
||||
ao, /* Arabic lett. foll by ON */
|
||||
ro, /* right lett. foll by ON */
|
||||
lo, /* left lett. foll by ON */
|
||||
|
||||
|
@ -301,10 +301,10 @@ enum states /* possible states */
|
|||
lt, /* ET following L */
|
||||
|
||||
cn, /* EN, AN following AL */
|
||||
ra, /* arabic number foll R */
|
||||
re, /* european number foll R */
|
||||
la, /* arabic number foll L */
|
||||
le, /* european number foll L */
|
||||
ra, /* Arabic number foll R */
|
||||
re, /* European number foll R */
|
||||
la, /* Arabic number foll L */
|
||||
le, /* European number foll L */
|
||||
|
||||
ac, /* CS following cn */
|
||||
rc, /* CS following ra */
|
||||
|
@ -319,11 +319,11 @@ enum states /* possible states */
|
|||
static const int stateWeak[][10] =
|
||||
{
|
||||
/* N, L, R, AN, EN, AL,NSM, CS, ES, ET */
|
||||
/*xa*/ { ao, xl, xr, cn, cn, xa, xa, ao, ao, ao }, /* arabic letter */
|
||||
/*xa*/ { ao, xl, xr, cn, cn, xa, xa, ao, ao, ao }, /* Arabic letter */
|
||||
/*xr*/ { ro, xl, xr, ra, re, xa, xr, ro, ro, rt }, /* right letter */
|
||||
/*xl*/ { lo, xl, xr, la, le, xa, xl, lo, lo, lt }, /* left letter */
|
||||
|
||||
/*ao*/ { ao, xl, xr, cn, cn, xa, ao, ao, ao, ao }, /* arabic lett. foll by ON*/
|
||||
/*ao*/ { ao, xl, xr, cn, cn, xa, ao, ao, ao, ao }, /* Arabic lett. foll by ON*/
|
||||
/*ro*/ { ro, xl, xr, ra, re, xa, ro, ro, ro, rt }, /* right lett. foll by ON */
|
||||
/*lo*/ { lo, xl, xr, la, le, xa, lo, lo, lo, lt }, /* left lett. foll by ON */
|
||||
|
||||
|
@ -331,10 +331,10 @@ static const int stateWeak[][10] =
|
|||
/*lt*/ { lo, xl, xr, la, le, xa, lt, lo, lo, lt }, /* ET following L */
|
||||
|
||||
/*cn*/ { ao, xl, xr, cn, cn, xa, cn, ac, ao, ao }, /* EN, AN following AL */
|
||||
/*ra*/ { ro, xl, xr, ra, re, xa, ra, rc, ro, rt }, /* arabic number foll R */
|
||||
/*re*/ { ro, xl, xr, ra, re, xa, re, rs, rs,ret }, /* european number foll R */
|
||||
/*la*/ { lo, xl, xr, la, le, xa, la, lc, lo, lt }, /* arabic number foll L */
|
||||
/*le*/ { lo, xl, xr, la, le, xa, le, ls, ls,let }, /* european number foll L */
|
||||
/*ra*/ { ro, xl, xr, ra, re, xa, ra, rc, ro, rt }, /* Arabic number foll R */
|
||||
/*re*/ { ro, xl, xr, ra, re, xa, re, rs, rs,ret }, /* European number foll R */
|
||||
/*la*/ { lo, xl, xr, la, le, xa, la, lc, lo, lt }, /* Arabic number foll L */
|
||||
/*le*/ { lo, xl, xr, la, le, xa, le, ls, ls,let }, /* European number foll L */
|
||||
|
||||
/*ac*/ { ao, xl, xr, cn, cn, xa, ao, ao, ao, ao }, /* CS following cn */
|
||||
/*rc*/ { ro, xl, xr, ra, re, xa, ro, ro, ro, rt }, /* CS following ra */
|
||||
|
@ -376,11 +376,11 @@ enum actions /* possible actions */
|
|||
static const int actionWeak[][10] =
|
||||
{
|
||||
/* N, L, R, AN, EN, AL, NSM, CS, ES, ET */
|
||||
/*xa*/ { xxx, xxx, xxx, xxx, xxA, xxR, xxR, xxN, xxN, xxN }, /* arabic letter */
|
||||
/*xa*/ { xxx, xxx, xxx, xxx, xxA, xxR, xxR, xxN, xxN, xxN }, /* Arabic letter */
|
||||
/*xr*/ { xxx, xxx, xxx, xxx, xxE, xxR, xxR, xxN, xxN, xIx }, /* right letter */
|
||||
/*xl*/ { xxx, xxx, xxx, xxx, xxL, xxR, xxL, xxN, xxN, xIx }, /* left letter */
|
||||
|
||||
/*ao*/ { xxx, xxx, xxx, xxx, xxA, xxR, xxN, xxN, xxN, xxN }, /* arabic lett. foll by ON */
|
||||
/*ao*/ { xxx, xxx, xxx, xxx, xxA, xxR, xxN, xxN, xxN, xxN }, /* Arabic lett. foll by ON */
|
||||
/*ro*/ { xxx, xxx, xxx, xxx, xxE, xxR, xxN, xxN, xxN, xIx }, /* right lett. foll by ON */
|
||||
/*lo*/ { xxx, xxx, xxx, xxx, xxL, xxR, xxN, xxN, xxN, xIx }, /* left lett. foll by ON */
|
||||
|
||||
|
@ -388,10 +388,10 @@ static const int actionWeak[][10] =
|
|||
/*lt*/ { Nxx, Nxx, Nxx, Nxx, LxL, NxR, xIx, NxN, NxN, xIx }, /* ET following L */
|
||||
|
||||
/*cn*/ { xxx, xxx, xxx, xxx, xxA, xxR, xxA, xIx, xxN, xxN }, /* EN, AN following AL */
|
||||
/*ra*/ { xxx, xxx, xxx, xxx, xxE, xxR, xxA, xIx, xxN, xIx }, /* arabic number foll R */
|
||||
/*re*/ { xxx, xxx, xxx, xxx, xxE, xxR, xxE, xIx, xIx, xxE }, /* european number foll R */
|
||||
/*la*/ { xxx, xxx, xxx, xxx, xxL, xxR, xxA, xIx, xxN, xIx }, /* arabic number foll L */
|
||||
/*le*/ { xxx, xxx, xxx, xxx, xxL, xxR, xxL, xIx, xIx, xxL }, /* european number foll L */
|
||||
/*ra*/ { xxx, xxx, xxx, xxx, xxE, xxR, xxA, xIx, xxN, xIx }, /* Arabic number foll R */
|
||||
/*re*/ { xxx, xxx, xxx, xxx, xxE, xxR, xxE, xIx, xIx, xxE }, /* European number foll R */
|
||||
/*la*/ { xxx, xxx, xxx, xxx, xxL, xxR, xxA, xIx, xxN, xIx }, /* Arabic number foll L */
|
||||
/*le*/ { xxx, xxx, xxx, xxx, xxL, xxR, xxL, xIx, xIx, xxL }, /* European number foll L */
|
||||
|
||||
/*ac*/ { Nxx, Nxx, Nxx, Axx, AxA, NxR, NxN, NxN, NxN, NxN }, /* CS following cn */
|
||||
/*rc*/ { Nxx, Nxx, Nxx, Axx, NxE, NxR, NxN, NxN, NxN, NIx }, /* CS following ra */
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Implementation of line breaking algorighm for the Uniscribe Script Processor
|
||||
* Implementation of line breaking algorithm for the Uniscribe Script Processor
|
||||
*
|
||||
* Copyright 2011 CodeWeavers, Aric Stewart
|
||||
*
|
||||
|
@ -101,7 +101,7 @@ void BREAK_line(const WCHAR *chars, int count, const SCRIPT_ANALYSIS *sa, SCRIPT
|
|||
}
|
||||
|
||||
/* LB1 */
|
||||
/* TODO: Have outside algorithims for these scripts */
|
||||
/* TODO: Have outside algorithms for these scripts */
|
||||
for (i = 0; i < count; i++)
|
||||
{
|
||||
switch(break_class[i])
|
||||
|
|
|
@ -1408,7 +1408,7 @@ static inline BOOL left_join_causing(CHAR joining_type)
|
|||
static inline BOOL word_break_causing(WCHAR chr)
|
||||
{
|
||||
/* we are working within a string of characters already guareented to
|
||||
be within one script, Syriac, so we do not worry about any characers
|
||||
be within one script, Syriac, so we do not worry about any character
|
||||
other than the space character outside of that range */
|
||||
return (chr == 0 || chr == 0x20 );
|
||||
}
|
||||
|
|
|
@ -56,7 +56,7 @@ static WCHAR regpath_exclude[] = {'S','o','f','t','w','a','r','e','\\',
|
|||
'E','x','c','l','u','d','e','d','A','p','p','l','i','c','a','t','i','o','n','s',0};
|
||||
|
||||
/***********************************************************************
|
||||
* Memory alloccation helper
|
||||
* Memory allocation helper
|
||||
*/
|
||||
|
||||
static inline void * __WINE_ALLOC_SIZE(1) heap_alloc_zero(size_t len)
|
||||
|
@ -98,7 +98,7 @@ BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
|
|||
*
|
||||
* RETURNS
|
||||
* Success: S_OK
|
||||
* Faulure: A HRESULT error code
|
||||
* Failure: A HRESULT error code
|
||||
*
|
||||
*/
|
||||
HRESULT WINAPI WerAddExcludedApplication(PCWSTR exeName, BOOL allUsers)
|
||||
|
@ -139,7 +139,7 @@ HRESULT WINAPI WerAddExcludedApplication(PCWSTR exeName, BOOL allUsers)
|
|||
*
|
||||
* RETURNS
|
||||
* Success: S_OK
|
||||
* Faulure: A HRESULT error code
|
||||
* Failure: A HRESULT error code
|
||||
*
|
||||
*/
|
||||
HRESULT WINAPI WerRemoveExcludedApplication(PCWSTR exeName, BOOL allUsers)
|
||||
|
|
|
@ -723,7 +723,7 @@ static DWORD shader_generate_arb_declarations(struct wined3d_shader *shader,
|
|||
* With vertex shaders we need the posFixup and on some GL implementations 4 helper
|
||||
* immediate values. The posFixup is loaded using program.env for now, so always
|
||||
* subtract one from the number of constants. If the shader uses indirect addressing,
|
||||
* account for the helper const too because we have to declare all availabke d3d constants
|
||||
* account for the helper const too because we have to declare all available d3d constants
|
||||
* and don't know which are actually used.
|
||||
*/
|
||||
if (pshader)
|
||||
|
@ -1836,7 +1836,7 @@ static void pshader_hw_texkill(const struct wined3d_shader_instruction *ins)
|
|||
char reg_dest[40];
|
||||
|
||||
/* No swizzles are allowed in d3d's texkill. PS 1.x ignores the 4th component as documented,
|
||||
* but >= 2.0 honors it(undocumented, but tested by the d3d9 testsuit)
|
||||
* but >= 2.0 honors it (undocumented, but tested by the d3d9 testsuite)
|
||||
*/
|
||||
shader_arb_get_dst_param(ins, dst, reg_dest);
|
||||
|
||||
|
@ -6899,7 +6899,7 @@ static void upload_palette(struct wined3d_surface *surface)
|
|||
glTexParameteri(GL_TEXTURE_1D, GL_TEXTURE_MAG_FILTER, GL_NEAREST);
|
||||
glTexParameteri(GL_TEXTURE_1D, GL_TEXTURE_WRAP_S, GL_CLAMP_TO_EDGE);
|
||||
/* Upload the palette */
|
||||
/* TODO: avoid unneeed uploads in the future by adding some SFLAG_PALETTE_DIRTY mechanism */
|
||||
/* TODO: avoid unneeded uploads in the future by adding some SFLAG_PALETTE_DIRTY mechanism */
|
||||
glTexImage1D(GL_TEXTURE_1D, 0, GL_RGBA, 256, 0, GL_RGBA, GL_UNSIGNED_BYTE, table);
|
||||
|
||||
/* Switch back to unit 0 in which the 2D texture will be stored. */
|
||||
|
|
|
@ -784,7 +784,7 @@ HRESULT device_clear_render_targets(struct wined3d_device *device, UINT rt_count
|
|||
wine_dbgstr_rect(¤t_rect));
|
||||
|
||||
/* Tests show that rectangles where x1 > x2 or y1 > y2 are ignored silently.
|
||||
* The rectangle is not cleared, no error is returned, but further rectanlges are
|
||||
* The rectangle is not cleared, no error is returned, but further rectangles are
|
||||
* still cleared if they are valid. */
|
||||
if (current_rect.left > current_rect.right || current_rect.top > current_rect.bottom)
|
||||
{
|
||||
|
@ -1285,7 +1285,7 @@ HRESULT CDECL wined3d_device_init_3d(struct wined3d_device *device,
|
|||
{
|
||||
if (context_get_current()->aux_buffers > 0)
|
||||
{
|
||||
TRACE("Using auxilliary buffer for offscreen rendering\n");
|
||||
TRACE("Using auxiliary buffer for offscreen rendering\n");
|
||||
device->offscreenBuffer = GL_AUX0;
|
||||
}
|
||||
else
|
||||
|
|
|
@ -829,7 +829,7 @@ static void quirk_amd_dx9(struct wined3d_gl_info *gl_info)
|
|||
/* MacOS advertises GL_ARB_texture_non_power_of_two on ATI r500 and earlier cards, although
|
||||
* these cards only support GL_ARB_texture_rectangle(D3DPTEXTURECAPS_NONPOW2CONDITIONAL).
|
||||
* If real NP2 textures are used, the driver falls back to software. We could just remove the
|
||||
* extension and use GL_ARB_texture_rectangle instead, but texture_rectangle is inconventient
|
||||
* extension and use GL_ARB_texture_rectangle instead, but texture_rectangle is inconvenient
|
||||
* due to the non-normalized texture coordinates. Thus set an internal extension flag,
|
||||
* GL_WINE_normalized_texrect, which signals the code that it can use non power of two textures
|
||||
* as per GL_ARB_texture_non_power_of_two, but has to stick to the texture_rectangle limits.
|
||||
|
@ -3650,7 +3650,7 @@ static BOOL CheckTextureCapability(const struct wined3d_adapter *adapter, const
|
|||
/* These formats seem to be similar to the HILO formats in GL_NV_texture_shader. NVHU
|
||||
* is said to be GL_UNSIGNED_HILO16, NVHS GL_SIGNED_HILO16. Rumours say that d3d computes
|
||||
* a 3rd channel similarly to D3DFMT_CxV8U8(So NVHS could be called D3DFMT_CxV16U16).
|
||||
* ATI refused to support formats which can easilly be emulated with pixel shaders, so
|
||||
* ATI refused to support formats which can easily be emulated with pixel shaders, so
|
||||
* Applications have to deal with not having NVHS and NVHU.
|
||||
*/
|
||||
TRACE_(d3d_caps)("[FAILED]\n");
|
||||
|
|
|
@ -391,7 +391,7 @@ void add_gl_compat_wrappers(struct wined3d_gl_info *gl_info)
|
|||
* too, which would allow fog coord emulation in a fixed function vertex pipeline replacement.
|
||||
*
|
||||
* Fog vs texture: We apply the fog in the vertex color. An app could set up texturing settings which
|
||||
* ignore the vertex color, thus effectively disabing our fog. However, in D3D this type of fog is
|
||||
* ignore the vertex color, thus effectively disabling our fog. However, in D3D this type of fog is
|
||||
* a per-vertex fog too, so the apps shouldn't do that.
|
||||
*
|
||||
* Fog vs lighting: The app could in theory use D3DFOG_NONE table and D3DFOG_NONE vertex fog with
|
||||
|
|
|
@ -4882,7 +4882,7 @@ const struct StateEntryTemplate misc_state_template[] = {
|
|||
{ STATE_POINTSPRITECOORDORIGIN, { STATE_POINTSPRITECOORDORIGIN, psorigin }, WINED3D_GL_VERSION_2_0 },
|
||||
{ STATE_POINTSPRITECOORDORIGIN, { STATE_POINTSPRITECOORDORIGIN, psorigin_w }, WINED3D_GL_EXT_NONE },
|
||||
|
||||
/* TODO: Move shader constant loading to vertex and fragment pipeline repectively, as soon as the pshader and
|
||||
/* TODO: Move shader constant loading to vertex and fragment pipeline respectively, as soon as the pshader and
|
||||
* vshader loadings are untied from each other
|
||||
*/
|
||||
{ STATE_VERTEXSHADERCONSTANT, { STATE_VERTEXSHADERCONSTANT, shaderconstant }, WINED3D_GL_EXT_NONE },
|
||||
|
|
|
@ -569,7 +569,7 @@ static const struct wined3d_format_texture_info format_texture_info[] =
|
|||
/* GL_APPLE_ycbcr_422 claims that its '2YUV' format, which is supported via the UNSIGNED_SHORT_8_8_REV_APPLE type
|
||||
* is equivalent to 'UYVY' format on Windows, and the 'YUVS' via UNSIGNED_SHORT_8_8_APPLE equates to 'YUY2'. The
|
||||
* d3d9 test however shows that the opposite is true. Since the extension is from 2002, it predates the x86 based
|
||||
* Macs, so probably the endianess differs. This could be tested as soon as we have a Windows and MacOS on a big
|
||||
* Macs, so probably the endianness differs. This could be tested as soon as we have a Windows and MacOS on a big
|
||||
* endian machine
|
||||
*/
|
||||
{WINED3DFMT_UYVY, GL_LUMINANCE_ALPHA, GL_LUMINANCE_ALPHA, 0,
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
* This flow does not work well for the X11 driver and XIM.
|
||||
* (It works fine for Mac)
|
||||
* As such we will have to reroute step 1. Instead the x11drv driver will
|
||||
* generate an XIM events and call directly into this IME implimenetaion.
|
||||
* generate an XIM events and call directly into this IME implementation.
|
||||
* As such we will have to use the alternative ImmGenerateMessage path to be
|
||||
* generate the messages that we want the IMM layer to send to the application.
|
||||
*/
|
||||
|
@ -1143,7 +1143,7 @@ static void PaintDefaultIMEWnd(HIMC hIMC, HWND hwnd)
|
|||
* needed and possible. If our ptCurrentPos is outside of our rect
|
||||
* then no window is displayed.
|
||||
* CFS_FORCE_POSITION: appears to behave just like CFS_POINT
|
||||
* maybe becase the default MSIME does not do any IME adjusting.
|
||||
* maybe because the default MSIME does not do any IME adjusting.
|
||||
*/
|
||||
if (lpIMC->cfCompForm.dwStyle != CFS_DEFAULT)
|
||||
{
|
||||
|
|
|
@ -456,7 +456,7 @@ static const char main_key_BG_phonetic[MAIN_LEN][4] =
|
|||
};
|
||||
|
||||
/*** Belarusian standard keyboard layout (contributed by Hleb Valoska) */
|
||||
/*** It matches belarusian layout for XKB from Alexander Mikhailian */
|
||||
/*** It matches Belarusian layout for XKB from Alexander Mikhailian */
|
||||
static const char main_key_BY[MAIN_LEN][4] =
|
||||
{
|
||||
"`~£³","1!","2@","3#","4$","5%","6^","7&","8*","9(","0)","-_","=+",
|
||||
|
@ -2155,7 +2155,7 @@ UINT CDECL X11DRV_MapVirtualKeyEx(UINT wCode, UINT wMapType, HKL hkl)
|
|||
case MAPVK_VK_TO_CHAR: /* vkey-code to unshifted ANSI code */
|
||||
{
|
||||
/* we still don't know what "unshifted" means. in windows VK_W (0x57)
|
||||
* returns 0x57, which is upercase 'W'. So we have to return the uppercase
|
||||
* returns 0x57, which is uppercase 'W'. So we have to return the uppercase
|
||||
* key.. Looks like something is wrong with the MS docs?
|
||||
* This is only true for letters, for example VK_0 returns '0' not ')'.
|
||||
* - hence we use the lock mask to ensure this happens.
|
||||
|
|
|
@ -227,7 +227,7 @@ typedef struct tagWTI_DEVICES_INFO
|
|||
#define CSR_TYPE_ERASER 0x82a
|
||||
#define CSR_TYPE_MOUSE_2D 0x007
|
||||
#define CSR_TYPE_MOUSE_4D 0x094
|
||||
/* CSR_TYPE_OTHER is a special value! assumed no real world signifigance
|
||||
/* CSR_TYPE_OTHER is a special value! assumed no real world significance
|
||||
* if a stylus type or eraser type eventually have this value
|
||||
* it'll be a bug. As of 2008 05 21 we can be sure because
|
||||
* linux wacom lists all the known values and this isn't one of them */
|
||||
|
@ -293,8 +293,8 @@ static DWORD gSerial;
|
|||
* etc.....
|
||||
*
|
||||
* So with multimode tablets we could potentially need
|
||||
* 2 slots of the same type per tablet ie.
|
||||
* you are usuing 2 styluses at once so they would
|
||||
* 2 slots of the same type per tablet i.e.
|
||||
* you are using 2 styluses at once so they would
|
||||
* get placed in Cursors #1 and Cursor #4
|
||||
*
|
||||
* Now say someone has 2 multimode tablets with 2 erasers each
|
||||
|
|
|
@ -445,7 +445,7 @@ static BOOL open_xim( Display *display )
|
|||
|
||||
if (ximStyleCallback == 0)
|
||||
{
|
||||
TRACE("No callback style avalable\n");
|
||||
TRACE("No callback style available\n");
|
||||
ximStyleCallback = ximStyle;
|
||||
}
|
||||
|
||||
|
|
|
@ -125,7 +125,7 @@ static int has_ldap_scheme( char *url )
|
|||
}
|
||||
|
||||
/* Flatten an array of hostnames into a space separated string of URLs.
|
||||
* Prepend a given scheme and append a given portnumber to each hostname
|
||||
* Prepend a given scheme and append a given port number to each hostname
|
||||
* if necessary.
|
||||
*/
|
||||
static char *join_hostnames( const char *scheme, char **hostnames, ULONG portnumber )
|
||||
|
@ -245,7 +245,7 @@ exit:
|
|||
*
|
||||
* PARAMS
|
||||
* hostname [I] Name of the host to connect to.
|
||||
* portnumber [I] Portnumber to use.
|
||||
* portnumber [I] Port number to use.
|
||||
*
|
||||
* RETURNS
|
||||
* Success: Pointer to an LDAP context.
|
||||
|
@ -255,8 +255,8 @@ exit:
|
|||
* The hostname string can be a space separated string of hostnames,
|
||||
* in which case the LDAP runtime will try to connect to the hosts
|
||||
* in order, until a connection can be made. A hostname may have a
|
||||
* trailing portnumber (separated from the hostname by a ':'), which
|
||||
* will take precedence over the portnumber supplied as a parameter
|
||||
* trailing port number (separated from the hostname by a ':'), which
|
||||
* will take precedence over the port number supplied as a parameter
|
||||
* to this function.
|
||||
*/
|
||||
WLDAP32_LDAP * CDECL cldap_openW( PWCHAR hostname, ULONG portnumber )
|
||||
|
@ -353,7 +353,7 @@ exit:
|
|||
*
|
||||
* PARAMS
|
||||
* hostname [I] Name of the host to connect to.
|
||||
* portnumber [I] Portnumber to use.
|
||||
* portnumber [I] Port number to use.
|
||||
*
|
||||
* RETURNS
|
||||
* Success: Pointer to an LDAP context.
|
||||
|
@ -363,8 +363,8 @@ exit:
|
|||
* The hostname string can be a space separated string of hostnames,
|
||||
* in which case the LDAP runtime will try to connect to the hosts
|
||||
* in order, until a connection can be made. A hostname may have a
|
||||
* trailing portnumber (separated from the hostname by a ':'), which
|
||||
* will take precedence over the portnumber supplied as a parameter
|
||||
* trailing port number (separated from the hostname by a ':'), which
|
||||
* will take precedence over the port number supplied as a parameter
|
||||
* to this function. The connection will not be made until the first
|
||||
* LDAP function that needs it is called.
|
||||
*/
|
||||
|
@ -436,7 +436,7 @@ exit:
|
|||
*
|
||||
* PARAMS
|
||||
* hostname [I] Name of the host to connect to.
|
||||
* portnumber [I] Portnumber to use.
|
||||
* portnumber [I] Port number to use.
|
||||
*
|
||||
* RETURNS
|
||||
* Success: Pointer to an LDAP context.
|
||||
|
@ -446,8 +446,8 @@ exit:
|
|||
* The hostname string can be a space separated string of hostnames,
|
||||
* in which case the LDAP runtime will try to connect to the hosts
|
||||
* in order, until a connection can be made. A hostname may have a
|
||||
* trailing portnumber (separated from the hostname by a ':'), which
|
||||
* will take precedence over the portnumber supplied as a parameter
|
||||
* trailing port number (separated from the hostname by a ':'), which
|
||||
* will take precedence over the port number supplied as a parameter
|
||||
* to this function.
|
||||
*/
|
||||
WLDAP32_LDAP * CDECL ldap_openW( PWCHAR hostname, ULONG portnumber )
|
||||
|
@ -517,7 +517,7 @@ WLDAP32_LDAP * CDECL ldap_sslinitA( PCHAR hostname, ULONG portnumber, int secure
|
|||
*
|
||||
* PARAMS
|
||||
* hostname [I] Name of the host to connect to.
|
||||
* portnumber [I] Portnumber to use.
|
||||
* portnumber [I] Port number to use.
|
||||
* secure [I] Ask the server to create an SSL connection.
|
||||
*
|
||||
* RETURNS
|
||||
|
@ -528,8 +528,8 @@ WLDAP32_LDAP * CDECL ldap_sslinitA( PCHAR hostname, ULONG portnumber, int secure
|
|||
* The hostname string can be a space separated string of hostnames,
|
||||
* in which case the LDAP runtime will try to connect to the hosts
|
||||
* in order, until a connection can be made. A hostname may have a
|
||||
* trailing portnumber (separated from the hostname by a ':'), which
|
||||
* will take precedence over the portnumber supplied as a parameter
|
||||
* trailing port number (separated from the hostname by a ':'), which
|
||||
* will take precedence over the port number supplied as a parameter
|
||||
* to this function. The connection will not be made until the first
|
||||
* LDAP function that needs it is called.
|
||||
*/
|
||||
|
|
|
@ -6154,7 +6154,7 @@ INT WINAPI WSAStringToAddressA(LPSTR AddressString,
|
|||
/***********************************************************************
|
||||
* WSAStringToAddressW (WS2_32.81)
|
||||
*
|
||||
* Does anybody know if this functions allows to use hebrew/arabic/chinese... digits?
|
||||
* Does anybody know if this function allows to use Hebrew/Arabic/Chinese... digits?
|
||||
* If this should be the case, it would be required to map these digits
|
||||
* to Unicode digits (0-9) using FoldString first.
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue