Andrew Nguyen
fcdd0d3040
kernel32: Consistify allocation behavior with FormatMessageA/W.
2010-04-19 15:44:05 +02:00
Andrew Nguyen
8e20322578
kernel32/tests: Add tests for buffer allocation in FormatMessage.
2010-04-19 15:43:31 +02:00
Andrew Nguyen
ce61b254d0
kernel32: Only check the buffer pointer in FormatMessageA if buffer allocation is requested.
2010-04-19 15:43:25 +02:00
Andrew Nguyen
8b28efaed7
kernel32: Reject an insufficiently sized buffer in FormatMessageA/W.
2010-04-19 15:43:07 +02:00
Andrew Nguyen
c0e7931954
kernel32: Remove superfluous heap reallocation calls in FormatMessageA/W.
...
The buffer in question is temporary and will be freed on function
return, so resizing and leaving the enlarged space unused is pointless.
2010-04-19 15:42:42 +02:00
Andrew Nguyen
f35ca2a77c
kernel32/tests: Remove a superfluous comment in the FormatMessage tests.
2010-04-19 15:42:39 +02:00
Alistair Leslie-Hughes
8248040dbe
msxml3: Register classes.
2010-04-19 15:42:00 +02:00
Alistair Leslie-Hughes
4164c308b2
msxml4: Register classes.
2010-04-19 15:41:50 +02:00
Nikolay Sivov
066063541d
shell32: Fallback to IShellDetails while filling shell view columns if IShellFolder2 is missed.
2010-04-19 15:38:40 +02:00
Nikolay Sivov
1b31b377b6
shell32: Load shell folder column names as A/W strings depending on 9x/NT selector.
2010-04-19 15:38:14 +02:00
Nikolay Sivov
c51b248b48
shell32: Add printers CLSID to test, clean up a bit.
2010-04-19 15:38:08 +02:00
Nikolay Sivov
90a5529de8
shell32: Add ::Initialize() and ::GetCurFolder() for printers folder IPersistFolder2 interface.
2010-04-19 15:38:00 +02:00
Nikolay Sivov
e51fe8e070
shell32: Use shared code to return column details from IShellFolder2::GetDetailsOf().
2010-04-19 15:37:52 +02:00
Nikolay Sivov
506264becd
shell32: Add ::GetDefaultColumnState() and partial ::GetDetailsOf() for printers folder.
2010-04-19 15:37:36 +02:00
Detlef Riekenberg
a9ac4a119a
shlwapi: Fix broken NULL checks (with tests).
2010-04-19 15:34:20 +02:00
Detlef Riekenberg
324783ad09
shlwapi/tests: Add tests for SHSetThreadRef.
2010-04-19 15:34:13 +02:00
Detlef Riekenberg
261bc3859f
shlwapi/tests: Add initial test for SHGetThreadRef.
2010-04-19 15:33:56 +02:00
Andrew Nguyen
7a7ece786c
shell32/tests: Release the test desktop interface on all appropriate exit paths in ParseDisplayName tests.
2010-04-19 15:32:47 +02:00
Detlef Riekenberg
79d7ca6037
shdocvw: Implement SHRestricted2A.
2010-04-19 15:32:34 +02:00
Octavian Voicu
80878d00da
msi: Sync combo control value with associated property.
2010-04-19 15:13:30 +02:00
Octavian Voicu
857f979468
msi: Fill combo control with items from database.
2010-04-19 15:13:19 +02:00
Octavian Voicu
2793a4fd52
msi: Use standard window class for combo control and add error checking.
2010-04-19 15:12:48 +02:00
Octavian Voicu
9c892430ba
msi: Fix crash when calling MsiGetActiveDatabase with invalid remote handle.
2010-04-19 15:12:41 +02:00
Piotr Caban
1b4bacea8c
msvcrt: Added fopen_s implementation.
2010-04-19 15:12:10 +02:00
Piotr Caban
8adfd63c21
msvcrt: Return correct strings in setlocale.
2010-04-19 15:12:02 +02:00
Piotr Caban
0d79b4b653
msvcrt/tests: Added __crtGetStringTypeW tests.
2010-04-19 15:11:58 +02:00
Piotr Caban
d03020a976
msvcrt/tests: Added setlocale tests.
2010-04-19 15:11:52 +02:00
Piotr Caban
be5a6a03a6
msvcrt: Added implementation of __crtGetStringTypeW.
2010-04-19 15:11:14 +02:00
Piotr Caban
f11dfcb7a6
msvcrt: Fix multiple locales parsing in _create_locale.
2010-04-19 15:11:00 +02:00
Piotr Caban
97bad69184
msvcrt: Added implementations of _vswprintf* functions.
2010-04-19 15:10:55 +02:00
Piotr Caban
743e6ba688
msvcrt: Added _vsnwprintf* implementation.
2010-04-19 15:10:44 +02:00
Piotr Caban
85fa2ee53c
msvcrt: Added _vsnprintf* implementation.
2010-04-19 15:10:26 +02:00
Piotr Caban
09a32152d5
msvcrt: Add parameters to mimic *_s function behaviour in pf_vsnprintf.
2010-04-19 15:10:14 +02:00
Piotr Caban
419f902546
msvcrt: Format strings according to specified locale in pf_vsnprintf.
2010-04-19 15:10:04 +02:00
Hans Leidekker
d8504e0550
msi: Handle MSIDBOPEN_PATCHFILE properly in MsiOpenDatabase.
2010-04-19 14:57:49 +02:00
Hans Leidekker
9a9faeffd8
msi: Don't assume unversioned files are present.
2010-04-19 14:57:43 +02:00
Hans Leidekker
f08c355e09
msi: Add beginnings of a test module that concentrates on patches.
2010-04-19 14:57:35 +02:00
Hans Leidekker
8f53405544
msi: Remove the string index parameter from msi_addstringW.
2010-04-19 14:57:02 +02:00
Hans Leidekker
fc15e565d3
msi: Make the name parameter of create_storage and create_stream constant.
2010-04-19 14:56:58 +02:00
Hans Leidekker
111d33b393
msi: Remove unused and redundant name field from STORAGE structure.
2010-04-19 14:56:53 +02:00
Michael Stefaniuc
8797fb52cf
user32: Avoid using HIWORD on a string pointer.
2010-04-19 14:56:28 +02:00
Kai Blin
9dd206d28e
secur32: Use NTLM2 instead of NTLMv2.
...
In the current code NTLMv2 is used when talking about second generation
NTLM crypto algorithms. Most other publiations call this NTLM2, and use
NTLMv2 to describe a different crypto handshake that can be used by
either NTLM1 or NTLM2 crypto.
2010-04-19 14:56:12 +02:00
Henri Verbeet
92a44884c7
wined3d: Simply pass an IWineD3DSurfaceImpl pointer to surface_set_compatible_renderbuffer().
2010-04-19 14:55:35 +02:00
Henri Verbeet
03dc612c9c
wined3d: Simply pass an IWineD3DSurfaceImpl pointer to surface_is_offscreen().
2010-04-19 14:55:31 +02:00
Henri Verbeet
efb3993a3a
wined3d: Simply pass an IWineD3DSurfaceImpl pointer to surface_modify_ds_location().
2010-04-19 14:55:24 +02:00
Henri Verbeet
ae46589f53
wined3d: Simply pass an IWineD3DSurfaceImpl pointer to surface_load_ds_location().
2010-04-19 14:55:19 +02:00
Henri Verbeet
10c5a8ac9e
wined3d: Get rid of "myDevice".
2010-04-19 14:55:13 +02:00
Michael Stefaniuc
2f8d9ccba9
windowscodecs: Unlock not lock again when leaving the function (Smatch).
2010-04-19 14:54:18 +02:00
Vincent Povirk
aa76490d07
gdiplus: Use ddb's instead of dib's to create texture brushes.
2010-04-19 14:54:14 +02:00
Vincent Povirk
68ce9e925a
gdiplus: Prevent integer overflows when rounding text bounds.
...
Mono calls GdipMeasureString with a height so large that rounding and
converting it to an integer gives a negative result.
2010-04-19 14:54:11 +02:00
Vincent Povirk
6b53cb27bc
gdiplus: Fix the non-trivial case in color_over.
2010-04-19 14:54:05 +02:00
Alexandre Julliard
4fc65126cf
ntdll: Report the correct processor architecture.
2010-04-16 16:59:01 +02:00
Eric Pouech
409033cb6a
kernel32: Added proper support for GetSystemInfo on x86_64.
2010-04-16 16:54:30 +02:00
Nikolay Sivov
60f8bde73f
shell32: Support IShellView in ::CreateViewObject() for printers folder.
2010-04-16 16:24:47 +02:00
Henri Verbeet
738ca2f5fc
wined3d: Allow offscreen depth/stencil clears again with FBOs.
...
This fixes a regression introduced by 10f58c14bc
.
2010-04-16 16:24:40 +02:00
Alexandre Julliard
20f899e789
appwiz.cpl: Use the fancy new icon.
2010-04-16 16:24:28 +02:00
Alexandre Julliard
6ef5ccb90e
winex11: Fix 16-bpp cursor conversions.
2010-04-16 16:24:24 +02:00
Alexandre Julliard
ea1d71c7a4
winex11: Set the NET_WM_ICON hint for 32-bpp icons.
2010-04-16 16:23:33 +02:00
Maarten Lankhorst
ab13ffa454
mmdevapi: Fix wrong blacklist test.
2010-04-16 16:23:11 +02:00
Joel Holdsworth
298ba2af2c
appwiz: Replaced program icon with a Tango compliant icon.
2010-04-16 14:13:11 +02:00
Dmitry Timoshkov
c049f83308
user32: Do not ask DrawFrameControl() to modify the passed in rectangle.
...
This patch should fix the regression(s) caused by my recent button painting
patches. The problem was that DrawFrameControl() was modifying the rectangle,
and one of my patches stopped calling DrawFrameControl() in case of ODA_FOCUS
action, so drawing an entire button and only focus started to differ, which
was hidden by the custom clipping (that was removed by my last patch).
2010-04-16 12:40:52 +02:00
Nikolay Sivov
7a9ba819e7
shell32: Add IPersistFolder2 stub for printers folder.
2010-04-16 12:40:42 +02:00
Jörg Höhle
c662c35edc
winmm: MCI_SYSINFO dwRetSize counts characters, not bytes.
...
MSDN says the contrary.
2010-04-16 12:39:26 +02:00
Roderick Colenbrander
3b993117c3
wined3d: Separate AMD GPUs in D3D9 and D3D10 models, this allows for a more correct fall back when the GPU table isn't up to date.
...
D3D10_CAPABLE should work on any AMD OpenGL 3.0 driver (those came out in september 2008) and on OSX 10.5 and up.
2010-04-16 12:38:21 +02:00
Roderick Colenbrander
057c64c5b0
wined3d: Separate AMD Radeon HD2300 from other HD2xxx/HD3xxx GPUs since it is D3D9 instead of D3D10.
2010-04-16 12:38:18 +02:00
Piotr Caban
2548742bb4
msvcrt: Fix locale initialization.
2010-04-16 12:37:33 +02:00
Piotr Caban
f2f56d563f
msvcrt: Change localeconv implementation.
2010-04-16 12:37:18 +02:00
Vincent Povirk
ede103c699
gdiplus: Add fixmes for unimplemented imageattributes features.
2010-04-16 12:13:00 +02:00
Vincent Povirk
8b2543b750
gdiplus: Always use software to draw bitmaps to bitmaps.
2010-04-16 12:12:54 +02:00
Vincent Povirk
4247247787
gdiplus: Implement color remapping.
2010-04-16 12:12:48 +02:00
Vincent Povirk
bb9c1878c3
gdiplus: Correct the coordinate transform for non-rectangular parallelograms.
...
Apparently matrices in gdiplus don't work the way I think they do.
2010-04-16 12:12:37 +02:00
Vincent Povirk
7791f02fd9
gdiplus: Transform bitmaps to non-rectangular parallelograms in software.
2010-04-16 12:12:30 +02:00
Vincent Povirk
9c380b1e8e
gdiplus: Use a helper function to draw image data from bitmaps in software.
...
This will make it possible to use the same codepath for non-bitmap graphics
objects and to create a software implementation for other drawing operations.
2010-04-16 12:12:24 +02:00
Vincent Povirk
2f9c6091fc
gdiplus: Use UnitPixel for metafile bounds when creating from HMETAFILE.
2010-04-16 12:10:13 +02:00
Henri Verbeet
f6e923b55d
wined3d: Remove some dead code from IWineD3DDeviceImpl_Uninit3D().
2010-04-16 12:09:48 +02:00
Henri Verbeet
da1b459754
wined3d: Store the depth/stencil attachment as IWineD3DSurfaceImpl pointer in struct fbo_entry.
2010-04-16 12:09:45 +02:00
Henri Verbeet
be993fc49f
wined3d: Store render target attachments as IWineD3DSurfaceImpl pointers in struct fbo_entry.
2010-04-16 12:09:42 +02:00
Henri Verbeet
24c93d48aa
wined3d: Simply pass an IWineD3DSurfaceImpl pointer to context_attach_depth_stencil_fbo().
2010-04-16 12:09:39 +02:00
Henri Verbeet
95130a7d5e
wined3d: Simply pass an IWineD3DSurfaceImpl pointer to context_attach_surface_fbo().
2010-04-16 12:09:36 +02:00
Henri Verbeet
870b3cb40b
wined3d: Simply pass an IWineD3DSurfaceImpl pointer to context_apply_attachment_filter_states().
2010-04-16 12:09:32 +02:00
Henri Verbeet
bc2850a587
wined3d: Get rid of the width and height parameters to surface_upload_data().
2010-04-16 12:09:27 +02:00
Henri Verbeet
212bfab2df
wined3d: Get rid of the width and height parameters to surface_allocate_surface().
2010-04-16 12:09:23 +02:00
Henri Verbeet
7f6ab3c06e
wined3d: The currentDesc and pow2 width/height are the same for power of two textures.
2010-04-16 12:09:19 +02:00
Henri Verbeet
65797d7f75
wined3d: Get rid of glRect from IWineD3DSurfaceImpl.
...
604caf0caa
supposedly removed the "oversized
texture" code, but this was still left over.
2010-04-16 12:09:14 +02:00
Vincent Povirk
531219f84d
gdiplus: Do not create FontFamilies for bitmap fonts.
2010-04-16 12:01:42 +02:00
Vincent Povirk
049aa8dacd
gdiplus: Ensure GdipGetGenericFontFamilySansSerif returns a truetype font.
2010-04-16 12:01:39 +02:00
Alexandre Julliard
d4880b7a1f
msvcrt: Initialize exported common variables to fix the build on Mac OS.
2010-04-16 12:01:35 +02:00
Alexandre Julliard
da57adf271
winex11: Mask out the alpha channel when converting from color to monochrome.
2010-04-15 22:53:27 +02:00
Aric Stewart
d4b8536952
usp10/tests: Expanded tests for ScriptShape.
2010-04-15 17:06:10 +02:00
Maarten Lankhorst
e9cee6fbe0
mmdevapi: Don't load openal on older openal-soft versions.
2010-04-15 17:05:54 +02:00
Maarten Lankhorst
3d6908c53d
mmdevapi: Add OSS to blacklist on linux.
2010-04-15 17:05:49 +02:00
Roderick Colenbrander
bf58d81968
wined3d: Remove paletteOverride from BltOverride offscreen->render_target blit.
...
This code was needed when the destination uses 8-bit and the source lacked a palette.
Since we don't allow destination fixups, this code doesn't do anything. At a later
stage something like this should perhaps be readded to specific backends.
2010-04-15 17:03:59 +02:00
Roderick Colenbrander
4cb6255907
wined3d: We don't need color keying for sysmem->drawable uploads.
2010-04-15 17:03:52 +02:00
Roderick Colenbrander
2a949ec323
wined3d: Remove call to d3dfmt_get_conv from read_from_framebuffer_texture.
2010-04-15 17:03:49 +02:00
Roderick Colenbrander
1a61f46bbb
wined3d: Remove temporary conv_byte_count fixup from d3dfmt_get_conv.
2010-04-15 17:03:47 +02:00
Piotr Caban
d1fa8b64e4
msvcrt: Use per thread locale in many functions.
2010-04-15 16:51:47 +02:00
Piotr Caban
87dee43b0a
msvcrt: Make setlocale working with per thread locales.
2010-04-15 16:51:46 +02:00
Piotr Caban
5efff16413
msvcrt: Added multiple locales parsing to _create_locale.
2010-04-15 16:51:46 +02:00
Piotr Caban
6ad7b4ff5c
msvcrt: Move locale string interpretation to MSVCRT_locale_to_LCID.
2010-04-15 16:51:46 +02:00
Piotr Caban
20b77f4428
msvcrt: Added _configthreadlocale implementation.
2010-04-15 16:51:45 +02:00