Assorted spelling fixes.
This commit is contained in:
parent
eb2bf541f2
commit
93494f2ac0
@ -520,7 +520,7 @@ static void test_hdm_getitemrect(void)
|
|||||||
expect(80, rect.right);
|
expect(80, rect.right);
|
||||||
expect(18, rect.bottom);
|
expect(18, rect.bottom);
|
||||||
retVal = SendMessage(hWndHeader, HDM_GETITEMRECT, 10, (LPARAM) &rect);
|
retVal = SendMessage(hWndHeader, HDM_GETITEMRECT, 10, (LPARAM) &rect);
|
||||||
ok(retVal == 0, "Getting rect of non-existing item should return 0, got %d\n", retVal);
|
ok(retVal == 0, "Getting rect of nonexistent item should return 0, got %d\n", retVal);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void test_hdm_layout (void)
|
static void test_hdm_layout (void)
|
||||||
|
@ -237,7 +237,7 @@ static void test_monthcal_currDate(HWND hwnd)
|
|||||||
expect(st_original.wMinute, st_new.wMinute);
|
expect(st_original.wMinute, st_new.wMinute);
|
||||||
expect(st_original.wSecond, st_new.wSecond);
|
expect(st_original.wSecond, st_new.wSecond);
|
||||||
|
|
||||||
/* lparam can not be NULL */
|
/* lparam cannot be NULL */
|
||||||
res = SendMessage(hwnd, MCM_GETCURSEL, 0, (LPARAM) NULL);
|
res = SendMessage(hwnd, MCM_GETCURSEL, 0, (LPARAM) NULL);
|
||||||
expect(0, res);
|
expect(0, res);
|
||||||
}
|
}
|
||||||
@ -258,7 +258,7 @@ static void test_monthcal_firstDay(HWND hwnd)
|
|||||||
res = SendMessage(hwnd, MCM_SETFIRSTDAYOFWEEK, 0, (LPARAM) 0);
|
res = SendMessage(hwnd, MCM_SETFIRSTDAYOFWEEK, 0, (LPARAM) 0);
|
||||||
expect(fday, res);
|
expect(fday, res);
|
||||||
}else{
|
}else{
|
||||||
skip("Can not retrive first day of the week\n");
|
skip("Cannot retrieve first day of the week\n");
|
||||||
SendMessage(hwnd, MCM_SETFIRSTDAYOFWEEK, 0, (LPARAM) 0);
|
SendMessage(hwnd, MCM_SETFIRSTDAYOFWEEK, 0, (LPARAM) 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -20,8 +20,8 @@
|
|||||||
/* This test framework allows limited testing of rendering results. Things are rendered, shown on
|
/* This test framework allows limited testing of rendering results. Things are rendered, shown on
|
||||||
* the framebuffer, read back from there and compared to expected colors.
|
* the framebuffer, read back from there and compared to expected colors.
|
||||||
*
|
*
|
||||||
* However, neither d3d nor opengl is guaranted to be pixel exact, and thus the capability of this test
|
* However, neither d3d nor opengl is guaranteed to be pixel exact, and thus the capability of this test
|
||||||
* is rather limited. As a general guideline for adding tests, do not rely on corner pixels. Draw a big enought
|
* is rather limited. As a general guideline for adding tests, do not rely on corner pixels. Draw a big enough
|
||||||
* area which shows specific behavior(like a quad on the whole screen), and try to get resulting colos with
|
* area which shows specific behavior(like a quad on the whole screen), and try to get resulting colos with
|
||||||
* all bits set or unset in all channels(like pure red, green, blue, white, black). Hopefully everything that
|
* all bits set or unset in all channels(like pure red, green, blue, white, black). Hopefully everything that
|
||||||
* causes visible results in games can be tested in a way that does not depend on pixel exactness
|
* causes visible results in games can be tested in a way that does not depend on pixel exactness
|
||||||
@ -261,7 +261,7 @@ static void lighting_test(IDirect3DDevice9 *device)
|
|||||||
ok(hr == D3D_OK, "IDirect3DDevice9_SetRenderState returned %s\n", DXGetErrorString9(hr));
|
ok(hr == D3D_OK, "IDirect3DDevice9_SetRenderState returned %s\n", DXGetErrorString9(hr));
|
||||||
|
|
||||||
/* Hack for a bug in d3d9: SetFVF creates a converted vertex declaration, with a circular refcount.
|
/* Hack for a bug in d3d9: SetFVF creates a converted vertex declaration, with a circular refcount.
|
||||||
* This prevents the screen resulution from beeing restored correctly on device release. Unset the vdecl
|
* This prevents the screen resolution from being restored correctly on device release. Unset the vdecl
|
||||||
*/
|
*/
|
||||||
IDirect3DDevice9_SetVertexDeclaration(device, NULL);
|
IDirect3DDevice9_SetVertexDeclaration(device, NULL);
|
||||||
}
|
}
|
||||||
|
@ -165,7 +165,7 @@ static void test_ddraw_objects(void)
|
|||||||
ok(ref == 1, "Got refcount %ld, expected 1\n", ref);
|
ok(ref == 1, "Got refcount %ld, expected 1\n", ref);
|
||||||
IDirectDrawPalette_Release(palette);
|
IDirectDrawPalette_Release(palette);
|
||||||
|
|
||||||
/* Simmilar for surfaces */
|
/* Similar for surfaces */
|
||||||
hr = IDirectDraw4_CreateSurface(DDraw4, &ddsd, &surface4, NULL);
|
hr = IDirectDraw4_CreateSurface(DDraw4, &ddsd, &surface4, NULL);
|
||||||
ok(hr == DD_OK, "CreateSurface returned %08x\n", hr);
|
ok(hr == DD_OK, "CreateSurface returned %08x\n", hr);
|
||||||
ref = getRefcount( (IUnknown *) DDraw4);
|
ref = getRefcount( (IUnknown *) DDraw4);
|
||||||
|
@ -197,7 +197,7 @@ static GLXFBConfig* pbuffer_find_fbconfigs(
|
|||||||
* This: Device to activate the context for
|
* This: Device to activate the context for
|
||||||
* target: Surface this context will render to
|
* target: Surface this context will render to
|
||||||
* display: X11 connection
|
* display: X11 connection
|
||||||
* win: Taget window. NULL for a pbuffer
|
* win: Target window. NULL for a pbuffer
|
||||||
*
|
*
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
WineD3DContext *CreateContext(IWineD3DDeviceImpl *This, IWineD3DSurfaceImpl *target, Display *display, Window win) {
|
WineD3DContext *CreateContext(IWineD3DDeviceImpl *This, IWineD3DSurfaceImpl *target, Display *display, Window win) {
|
||||||
@ -368,7 +368,7 @@ out:
|
|||||||
* Removes a context from the context manager. The opengl context is not
|
* Removes a context from the context manager. The opengl context is not
|
||||||
* destroyed or unset. context is not a valid pointer after that call.
|
* destroyed or unset. context is not a valid pointer after that call.
|
||||||
*
|
*
|
||||||
* Simmilar to the former call this isn't a performance critical function. A
|
* Similar to the former call this isn't a performance critical function. A
|
||||||
* helper function for DestroyContext.
|
* helper function for DestroyContext.
|
||||||
*
|
*
|
||||||
* Params:
|
* Params:
|
||||||
|
@ -2839,7 +2839,7 @@ static void vertexdeclaration(DWORD state, IWineD3DStateBlockImpl *stateblock, W
|
|||||||
updateFog = TRUE;
|
updateFog = TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Reapply lighting if it is not sheduled for reapplication already */
|
/* Reapply lighting if it is not scheduled for reapplication already */
|
||||||
if(!isStateDirty(context, STATE_RENDER(WINED3DRS_LIGHTING))) {
|
if(!isStateDirty(context, STATE_RENDER(WINED3DRS_LIGHTING))) {
|
||||||
state_lighting(STATE_RENDER(WINED3DRS_LIGHTING), stateblock, context);
|
state_lighting(STATE_RENDER(WINED3DRS_LIGHTING), stateblock, context);
|
||||||
}
|
}
|
||||||
|
@ -266,8 +266,8 @@ ULONG WINAPI IWineD3DSurfaceImpl_Release(IWineD3DSurface *iface) {
|
|||||||
TRACE("Activating primary front buffer\n");
|
TRACE("Activating primary front buffer\n");
|
||||||
ActivateContext(device, swapchain->frontBuffer, CTXUSAGE_RESOURCELOAD);
|
ActivateContext(device, swapchain->frontBuffer, CTXUSAGE_RESOURCELOAD);
|
||||||
} else {
|
} else {
|
||||||
TRACE("Device is beeing destroyed, setting lastActiveRenderTarget = 0xdeadbabe\n");
|
TRACE("Device is being destroyed, setting lastActiveRenderTarget = 0xdeadbabe\n");
|
||||||
/* Implicit render target destroyed, that means the device is beeing destroyed
|
/* Implicit render target destroyed, that means the device is being destroyed
|
||||||
* whatever we set here, it shouldn't matter
|
* whatever we set here, it shouldn't matter
|
||||||
*/
|
*/
|
||||||
device->lastActiveRenderTarget = (IWineD3DSurface *) 0xdeadbabe;
|
device->lastActiveRenderTarget = (IWineD3DSurface *) 0xdeadbabe;
|
||||||
@ -760,7 +760,7 @@ static HRESULT WINAPI IWineD3DSurfaceImpl_LockRect(IWineD3DSurface *iface, WINED
|
|||||||
|
|
||||||
/* TODO: Make sure that *any* context is active for this thread. It is not important which context that is,
|
/* TODO: Make sure that *any* context is active for this thread. It is not important which context that is,
|
||||||
* nor that is has any special setup(CTXUSAGE_LOADRESOURCE is fine), but the code below needs a context.
|
* nor that is has any special setup(CTXUSAGE_LOADRESOURCE is fine), but the code below needs a context.
|
||||||
* A context is guaranted to be there in a single threaded environment, but not with multithreading
|
* A context is guaranteed to be there in a single threaded environment, but not with multithreading
|
||||||
*/
|
*/
|
||||||
if (0 != This->glDescription.textureName) {
|
if (0 != This->glDescription.textureName) {
|
||||||
/* Now I have to copy thing bits back */
|
/* Now I have to copy thing bits back */
|
||||||
@ -2802,7 +2802,7 @@ static HRESULT IWineD3DSurfaceImpl_BltOverride(IWineD3DSurfaceImpl *This, RECT *
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Default: Fall back to the generic blt. Not an error, a TRACE is enought */
|
/* Default: Fall back to the generic blt. Not an error, a TRACE is enough */
|
||||||
TRACE("Didn't find any usable render target setup for hw blit, falling back to software\n");
|
TRACE("Didn't find any usable render target setup for hw blit, falling back to software\n");
|
||||||
return WINED3DERR_INVALIDCALL;
|
return WINED3DERR_INVALIDCALL;
|
||||||
}
|
}
|
||||||
|
@ -560,7 +560,7 @@ typedef struct IWineD3DImpl
|
|||||||
|
|
||||||
extern const IWineD3DVtbl IWineD3D_Vtbl;
|
extern const IWineD3DVtbl IWineD3D_Vtbl;
|
||||||
|
|
||||||
/* TODO: setup some flags in the regestry to enable, disable pbuffer support
|
/* TODO: setup some flags in the registry to enable, disable pbuffer support
|
||||||
(since it will break quite a few things until contexts are managed properly!) */
|
(since it will break quite a few things until contexts are managed properly!) */
|
||||||
extern BOOL pbuffer_support;
|
extern BOOL pbuffer_support;
|
||||||
/* allocate one pbuffer per surface */
|
/* allocate one pbuffer per surface */
|
||||||
|
@ -3421,7 +3421,7 @@ static DWORD FTP_SetResponseError(DWORD dwResponse)
|
|||||||
case 451: /* Action aborted. Server error. */
|
case 451: /* Action aborted. Server error. */
|
||||||
case 452: /* Action not taken. Insufficient storage space on server. */
|
case 452: /* Action not taken. Insufficient storage space on server. */
|
||||||
case 502: /* Command not implemented. */
|
case 502: /* Command not implemented. */
|
||||||
case 503: /* Bad sequence of command. */
|
case 503: /* Bad sequence of commands. */
|
||||||
case 504: /* Command not implemented for that parameter. */
|
case 504: /* Command not implemented for that parameter. */
|
||||||
case 532: /* Need account for storing files */
|
case 532: /* Need account for storing files */
|
||||||
case 551: /* Requested action aborted. Page type unknown */
|
case 551: /* Requested action aborted. Page type unknown */
|
||||||
|
@ -385,7 +385,7 @@ sub parse_spec_file($$) {
|
|||||||
my $name4 = $name;
|
my $name4 = $name;
|
||||||
$name4 =~ s/^(VxDCall)\d$/$1/;
|
$name4 =~ s/^(VxDCall)\d$/$1/;
|
||||||
|
|
||||||
# FIXME: This special case is becuase of a very ugly kludge that should be fixed IMHO
|
# FIXME: This special case is because of a very ugly kludge that should be fixed IMHO
|
||||||
my $name5 = $name;
|
my $name5 = $name;
|
||||||
$name5 =~ s/^(.*?16)_(.*?)$/$1_fn$2/;
|
$name5 =~ s/^(.*?16)_(.*?)$/$1_fn$2/;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user