Dylan Smith
c4b023b1b6
richedit: Prevent buffer overflows in WM_GETTEXT.
...
The application AutoGK was getting the length of the text with
WM_GETTEXTLENGTH to allocate an appropriate buffer size, but then
claimed the buffer was twice the size when sending WM_GETTEXTEX. This
caused the memcpy call to overflow the actual buffer since the count
is based on the size of the buffer alone, regardless of the amount of
text retrieved.
2009-08-03 16:00:16 +02:00
Dylan Smith
3d89e29155
richedit: Handle NULL buffer or 0 buffer length in ME_GetTextEx.
...
ME_GetTextEx directly handles EM_GETTEXTEX, and previously a NULL buffer
would be dereferenced, and a 0 buffer length would cause nCount an
underflow in the nCount value which would allow a buffer overflow to
occur.
2009-08-03 15:59:57 +02:00
Nicolas Le Cam
5e58b29cfe
kernel32/tests: Skip GetVolumeInformation test on current directory when running on a root directory.
2009-08-03 15:04:21 +02:00
Nicolas Le Cam
1975ba276f
kernel32/tests: Test GetVolumeInformation when current directory is a root directory.
2009-08-03 15:04:17 +02:00
Nikolay Sivov
c562d444f5
gdiplus: Correctly forward to GdipAddPathPie.
2009-08-03 15:04:10 +02:00
Nikolay Sivov
ebdf2fd254
comctl32/listview: Offset every but LVIR_BOUNDS rectangles to column bound in details view.
2009-08-03 15:04:01 +02:00
Nikolay Sivov
021410cf0e
comctl32/listview: Don't offset to column bound calculating LVIR_LABEL for items.
2009-08-03 15:03:51 +02:00
Nikolay Sivov
ba65d634e6
comctl32/treeview: Correct define name.
2009-08-03 15:03:43 +02:00
Nikolay Sivov
cbb8d4567e
comctl32/comboex: Use const pointer when possible.
2009-08-03 15:03:36 +02:00
Aled Hughes
85abd4c3cf
comctl32/toolbar: Avoid unnecessary invalidation on TB_HIDEBUTTON.
2009-08-03 15:03:23 +02:00
Nikolay Sivov
86b480b828
comctl32/listview: Fix some test failures on comctl32 4.7x.
2009-08-03 15:03:02 +02:00
Henri Verbeet
b31f0f24ff
user32: Send 0 as LPARAM for SIZE_MINIMIZED WM_SIZE messages.
2009-08-03 15:02:51 +02:00
Henri Verbeet
b7812932bc
wined3d: Don't respecify compressed textures in surface_upload_data().
...
Passing NULL to glCompressedTexImage2DARB() doesn't work particularly well
when both client storage and PBOs are enabled. Also, two years is long enough
to give driver developers a chance to fix the bug this was supposed to work
around.
2009-08-03 15:01:55 +02:00
Henri Verbeet
da1e5573da
wined3d: Rename WineD3DContext to struct wined3d_context.
2009-08-03 15:01:48 +02:00
Henri Verbeet
1d647283d5
wined3d: Don't use the GL texture flags to determine if a format is a depth stencil in CheckDepthStencilCapability().
...
The OpenGL implementation might not support ARB_depth_texture, but that
doesn't mean we can't use the format for the depth buffer.
2009-08-03 15:01:34 +02:00
Henri Verbeet
43bfb240ad
wined3d: Use the context's current render target the get the swapchain drawable size.
...
"surface" might point to the frontbuffer while we're rendering to the
backbuffer, etc.
2009-08-03 15:01:25 +02:00
Henri Verbeet
0047c55e86
wined3d: Handle destruction of a context's current render target.
2009-08-03 15:01:18 +02:00
Ken Thomases
028b763f2f
ntdll: For Darwin/Mac OS X, use legacy getdirentries if 64-bit inodes enabled.
...
Fixes building on Snow Leopard.
2009-08-03 15:01:08 +02:00
Roderick Colenbrander
083aaca98f
winex11: Fix XRender_GetSrcAreaStretch compile bug for when XRender isn't around.
2009-08-03 15:00:29 +02:00
Roderick Colenbrander
390d3929f2
wgl: Fix usage of non-GLX visual in glXCreateContext.
2009-08-03 15:00:19 +02:00
Jacek Caban
09436d69f1
urlmon: Use one wininet internet handle for all connections.
2009-08-03 15:00:02 +02:00
Jacek Caban
8809bef428
mshtml: Call set_ns_editmode in better place.
2009-08-03 14:59:53 +02:00
Jacek Caban
77ff2df83a
mshtml: Added IHTMLStyle3::wordWrap property implementation.
2009-08-03 14:59:47 +02:00
Jacek Caban
2d5a8763fc
mshtml: Always return hex string in IHTMLBodyElement::get_bgColor.
2009-08-03 14:59:40 +02:00
Jacek Caban
3858e35432
wininet: Explicity delete Content-Length header for gzip encoded connection.
2009-08-03 14:59:35 +02:00
Dmitry Timoshkov
69b29fa07e
gdi32: Use a better heuristics for tmWeight.
...
Marlett uses FW_MEDIUM (500) and current code allows only FW_REGULAR and
FW_BOLD. New heuristics detects if flags and usWeightClass in the font match.
2009-08-03 14:59:08 +02:00
Dmitry Timoshkov
16aa1369f8
gdi32: Some fonts have a broken last segment of cmap4 table, avoid a crash in that case.
...
Freetype has a similar consistency check.
2009-08-03 14:58:57 +02:00
Aric Stewart
d882edea88
imm32: Stub implementation of ImmDisableTextFrameService.
2009-08-03 14:58:48 +02:00
Paul Vriens
5fc0ccec93
gphoto2.ds: Add the UTF-8 pragma for the Danish resources.
2009-08-03 14:58:18 +02:00
Paul Vriens
6704b44b46
appwiz.cpl: Fix Dutch translations.
2009-08-03 14:58:04 +02:00
Paul Vriens
1778338ab2
gphoto2.ds: Remove an used MENU entry from the resources.
2009-08-03 14:57:59 +02:00
Paul Vriens
fededdd2d7
wininet: Avoid potential NULL dereferences (Coverity).
2009-08-03 14:57:53 +02:00
Rein Klazes
1f825a3631
comdlg32: Set MAXTEXTROWS of the toolbar in the file dialog to zero.
2009-08-03 14:57:42 +02:00
Vladimir Pankratov
d61889ab7c
shlwapi: Convert the Russian resources to UTF-8.
2009-08-03 14:57:37 +02:00
Vladimir Pankratov
c8eeb72588
user32: Convert the Russian resources to UTF-8.
2009-08-03 14:57:33 +02:00
Vladimir Pankratov
81b57f3f8d
wineps.drv: Convert the Russian resources to UTF-8.
2009-08-03 14:57:29 +02:00
Vladimir Pankratov
b6ac03a9a7
wininet: Convert the Russian resources to UTF-8.
2009-08-03 14:57:25 +02:00
Vladimir Pankratov
2a9d8d86fa
shell32: Convert the Russian resources to UTF-8.
2009-08-03 14:57:20 +02:00
Vladimir Pankratov
f26431dc47
shdoclc: Convert the Russian resources to UTF-8.
2009-08-03 14:57:14 +02:00
Vladimir Pankratov
31b502ef8e
sane.ds: Convert the Russian resources to UTF-8.
2009-08-03 14:57:10 +02:00
Vladimir Pankratov
4ec57efda9
serialui: Convert the Russian resources to UTF-8.
2009-08-03 14:57:06 +02:00
Vladimir Pankratov
c5a53fabe1
setupapi: Convert the Russian resources to UTF-8.
2009-08-03 14:57:02 +02:00
Vladimir Pankratov
b39d3d3fd2
oledlg: Convert the Russian resources to UTF-8.
2009-08-03 14:56:58 +02:00
Vladimir Pankratov
265944252a
oleaut32: Convert the Russian resources to UTF-8.
2009-08-03 14:56:54 +02:00
Vladimir Pankratov
55e97bdc45
msvidc32: Convert the Russian resources to UTF-8.
2009-08-03 14:56:51 +02:00
Vladimir Pankratov
53235cced3
msrle32: Convert the Russian resources to UTF-8.
2009-08-03 14:56:47 +02:00
Vladimir Pankratov
c7ea37c0e7
msvfw32: Convert the Russian resources to UTF-8.
2009-08-03 14:56:43 +02:00
Vladimir Pankratov
04deb6d7d1
msi: Convert the Russian resources to UTF-8.
2009-08-03 14:56:39 +02:00
Gerald Pfeifer
8c189d78ee
winhttp: Include <sys/socket.h> from winhttp_private.h. Remove now redundant inclusion from request.c.
2009-08-03 14:56:22 +02:00
Ricardo Filipe
bb68894313
kernel32: Add Portuguese translation.
2009-08-03 14:56:04 +02:00
Vincent Povirk
55ec1d9150
gdiplus: Store color key information in ImageAttributes.
2009-08-03 14:55:41 +02:00
Vincent Povirk
e0d9d17536
gdiplus: Do not draw line-breaking spaces.
2009-08-03 14:55:29 +02:00
Vincent Povirk
b330ebfe8e
gdiplus: Don't use -escapement angle in GdipDrawString.
2009-08-03 14:55:15 +02:00
Aric Stewart
70f00e9122
appwiz: Update Japanese resource.
2009-08-03 14:54:56 +02:00
Aric Stewart
8da6acb387
mpr: Update Japanese resource.
2009-08-03 14:54:52 +02:00
Frédéric Delanoy
af3f0ec964
jscript: Update French translation.
2009-08-03 14:54:46 +02:00
Aurimas Fišeras
08f09d0dd4
jscript: Update Lithuanian translation.
2009-08-03 14:54:38 +02:00
André Hentschel
baea56ae1a
jscript: Update German translation.
2009-08-03 14:54:28 +02:00
Vladimir Pankratov
fcf5d031dc
mshtml: Convert the Russian resources to UTF-8.
2009-07-24 13:12:12 +02:00
Vladimir Pankratov
852ed3a8f9
credui: Convert the Russian resources to UTF-8.
2009-07-24 13:12:08 +02:00
Vladimir Pankratov
d8992c45e4
msacm32: Convert the Russian resources to UTF-8.
2009-07-24 13:12:04 +02:00
Vladimir Pankratov
267e305b47
mpr: Convert the Russian resources to UTF-8.
2009-07-24 13:12:00 +02:00
Vladimir Pankratov
c6dc860edd
gphoto2.ds: Convert the Russian resources to UTF-8.
2009-07-24 13:11:56 +02:00
Vladimir Pankratov
36f01f6f71
localui: Convert the Russian resources to UTF-8.
2009-07-24 13:11:52 +02:00
Vladimir Pankratov
dddbfcdeda
hhctrl.ocx: Convert the Russian resources to UTF-8.
2009-07-24 13:11:48 +02:00
Vladimir Pankratov
ab2a719c3a
localspl: Convert the Russian resources to UTF-8.
2009-07-24 13:11:43 +02:00
Vladimir Pankratov
14a391b8bb
iccvid: Convert the Russian resources to UTF-8.
2009-07-24 13:11:39 +02:00
Vladimir Pankratov
743225914f
comdlg32: Convert the Russian resources to UTF-8.
2009-07-24 13:11:33 +02:00
Vladimir Pankratov
6f81330eb4
avifile: Convert the Russian resources to UTF-8.
2009-07-24 13:11:29 +02:00
Vladimir Pankratov
436683fb96
browseui: Convert the Russian resources to UTF-8.
2009-07-24 13:11:25 +02:00
Vladimir Pankratov
65fac0d664
comctl32: Convert the Russian resources to UTF-8.
2009-07-24 13:11:20 +02:00
Vladimir Pankratov
fe4e1f43ed
appwiz.cpl: Convert the Russian resources to UTF-8.
2009-07-24 13:11:16 +02:00
Rein Klazes
38dbe067c3
user32: Fail if inserting a submenu would create a loop in the menu hierarchy.
2009-07-24 13:11:10 +02:00
Henri Verbeet
9baf7864c5
wined3d: Return proper NULLs from CreateContext().
2009-07-24 13:11:01 +02:00
Henri Verbeet
be536ebe2f
wined3d: Get rid of activeContext.
2009-07-24 13:10:57 +02:00
Henri Verbeet
c8fe24d29e
wined3d: Explicitly pass the context to surface_load_ds_location().
2009-07-24 13:10:47 +02:00
Henri Verbeet
2c71b85334
wined3d: Explicitly pass the context to get_drawable_size().
2009-07-24 13:10:37 +02:00
Henri Verbeet
fb77678e9f
wined3d: Manage event queries in the context.
2009-07-24 13:10:28 +02:00
Henri Verbeet
4ab7af6575
wined3d: Manage occlusion queries in the context.
2009-07-24 13:10:19 +02:00
Roderick Colenbrander
6a1aa9b166
winex11: XRenderComposite can be inaccurate when scaled x / y source coordinates are passed to it.
...
Moving this translation to the transformation matrix fixes the problem.
2009-07-24 13:10:12 +02:00
Paul Vriens
75fc48d4c5
jscript: Add Dutch translations.
2009-07-24 12:04:02 +02:00
Rein Klazes
d8f962e69c
ws2_32: Do not make the unix file descriptor blocking. Too many places in the socket code assume it is not.
2009-07-24 11:51:35 +02:00
Piotr Caban
f3d24fdda9
jscript: Throw more SyntaxErrors in parser.
2009-07-24 11:51:29 +02:00
Piotr Caban
67c8a3e919
jscript: Added "Expected ';'" error.
2009-07-24 11:51:20 +02:00
Piotr Caban
c6412d98d9
jscript: Add "illegal assignment" error.
2009-07-24 11:51:11 +02:00
Piotr Caban
2fba39df27
jscript: Added "Expected ')'" error.
2009-07-24 11:45:07 +02:00
Piotr Caban
29d9f09992
jscript: Added "Expected '('" error.
2009-07-24 11:45:01 +02:00
Piotr Caban
98223b96e7
jscript: Throw SyntaxError in eval function.
2009-07-24 11:44:53 +02:00
Alexandre Julliard
d1fbdbce32
shell32/tests: Fix a couple of failures on Win9x and NT4.
2009-07-24 11:44:41 +02:00
Andrew Talbot
99139d9671
ddraw: Constify some variables.
2009-07-24 11:44:17 +02:00
Nikolay Sivov
59e59c6bf9
comctl32/listview: Don't alter selection mark in LVM_SETITEMSTATE.
2009-07-24 11:10:43 +02:00
Nikolay Sivov
092263f051
comctl32/listview: Set LVIS_FOCUSED for all items with LVM_SETITEMSTATE not allowed.
2009-07-24 11:10:38 +02:00
Nikolay Sivov
440218cfde
comctl32/listview: Handle NULL lParam in LVM_SETITEMSTATE.
2009-07-24 11:10:32 +02:00
Nikolay Sivov
9e222c6cbb
comctl32/listview: Additional tests for LVM_SETITEMSTATE for all items.
2009-07-24 11:10:25 +02:00
Hans Leidekker
8881335842
wininet: Update Dutch translation.
2009-07-24 11:10:18 +02:00
Hans Leidekker
50761eac23
wininet: Use a different pointer for the password in WININET_SetAuthorization.
2009-07-24 11:10:14 +02:00
Frédéric Delanoy
2b18ed11a5
wininet: Update French translation.
2009-07-24 11:10:09 +02:00
André Hentschel
f32366a6b9
wininet: Update German translation.
2009-07-24 11:10:00 +02:00
Aurimas Fišeras
fb374536f0
wininet: Update Lithuanian translation.
2009-07-24 11:09:55 +02:00
Juan Lang
2b99adc2f1
winhttp: Only output fixme for unhandled resolve timeout.
2009-07-24 11:09:51 +02:00
Juan Lang
68039dcaff
winhttp: Implement connect timeout.
2009-07-24 11:09:46 +02:00
Alexandre Julliard
f18276fe0b
kernel32: Fetch more information from the DosDevices directory for QueryDosDevice.
2009-07-24 11:01:41 +02:00
Roderick Colenbrander
c6570a50f8
winex11: Make X11DRV_SetupGCForPatBlt independent of screen_depth.
2009-07-23 16:10:51 +02:00
Roderick Colenbrander
d01235332c
winex11: Make BRUSH_DitherColor independent of the screen_depth.
2009-07-23 16:10:11 +02:00
Roderick Colenbrander
e082bf6626
winex11: Add support for GCs at more depths.
2009-07-23 16:08:33 +02:00
Rein Klazes
50cfcffd32
user32: Get rid of internal function MENU_SetItemData, use SetMenuItemInfo_common instead.
2009-07-23 15:35:23 +02:00
Rein Klazes
9555171044
user32: When setting a menu item, handle MIIM_TYPE flag by setting approriate MIIM_BITMAP, MIIM_FTYPE and MIIM_STRING flags.
2009-07-23 15:34:03 +02:00
Rein Klazes
e9f4c6bb02
user32: Put some repeated code for checking and extending of a MENUITEMINFO structure in a separate function.
2009-07-23 15:31:18 +02:00
Jacek Caban
57f23b875c
mshtml: Added VT_UINT handling to debugstr_variant.
2009-07-23 15:27:19 +02:00
Leonid Lobachev
f6cc091d75
wined3d: Add missing calling convention specifiers.
2009-07-23 13:20:29 +02:00
Dmitry Timoshkov
8d54f58277
user32: Draw the whole button only if requested.
2009-07-23 13:20:21 +02:00
Hans Leidekker
6b15db8717
wininet: Add a regular authentication dialog.
2009-07-23 13:20:07 +02:00
Hans Leidekker
29162c6506
wininet: Prepare for showing a regular authentication dialog.
2009-07-23 13:19:58 +02:00
Hans Leidekker
1126b89360
wininet: Don't leak the proxy username and password in WININET_SetProxyAuthorization.
2009-07-23 13:19:52 +02:00
Hans Leidekker
4b1e0de90f
wininet: Release the request in WININET_GetProxyServer and WININET_SetProxyAuthorization.
2009-07-23 13:19:48 +02:00
Henri Verbeet
357ea123d9
wined3d: get_drawable_size() needs a context.
2009-07-23 11:22:25 +02:00
Henri Verbeet
ea2caa9ba1
wined3d: Return the activated context from ActivateContext().
2009-07-23 11:22:22 +02:00
Henri Verbeet
85e2c05e4f
wined3d: Explicitly pass the wined3d context to context_apply_draw_buffer().
2009-07-23 11:22:18 +02:00
Henri Verbeet
9253bbcb05
wined3d: Get rid of last_device.
2009-07-23 11:22:13 +02:00
Henri Verbeet
401e99b0c0
wined3d: Remove some unnecessary code.
...
Now that we don't depend on activeContext and lastActiveRenderTarget to be
non-NULL this code can go.
2009-07-23 11:22:08 +02:00
Henri Verbeet
57ccdb7e36
wined3d: Don't reuse contexts marked for destruction.
2009-07-23 11:22:03 +02:00
Paul Vriens
40af06a576
jscript: Add Dutch translations.
2009-07-23 11:21:58 +02:00
Ricardo Filipe
b219cbca74
cryptui: Add Portuguese translation.
2009-07-23 11:21:50 +02:00
Frédéric Delanoy
47cbc3ae65
jscript: Update French translation.
2009-07-23 11:21:45 +02:00
André Hentschel
24eb52b44d
jscript: Update German translation.
2009-07-23 11:21:40 +02:00
Aurimas Fišeras
91c3313fe4
jscript: Update Lithuanian translation.
2009-07-23 11:21:36 +02:00
Alexandre Julliard
7db6d5e3be
shell32/tests: Create our own temp directory to make sure it's not the Windows directory.
2009-07-22 23:25:25 +02:00
Alexandre Julliard
79de2e8126
mountmgr: Protect the device structures with a critical section.
2009-07-22 21:13:00 +02:00
Alexandre Julliard
134feaab05
mountmgr: Return a copy of the strings in query_dos_device.
2009-07-22 21:02:47 +02:00
Alexandre Julliard
15acd35fa2
mountmgr: Try to match and reuse volumes when creating/updating a drive.
2009-07-22 20:56:04 +02:00
Alexandre Julliard
0da2e46eaf
mountmgr: Add ref counting for volume objects.
2009-07-22 20:55:24 +02:00
Alexandre Julliard
7b7ac02e15
mountmgr: Better reuse of existing devices.
2009-07-22 19:21:22 +02:00
Alexandre Julliard
968161e106
mountmgr: Set the drive letter at creation time.
2009-07-22 18:25:38 +02:00
Alexandre Julliard
6880b4d175
mountmgr: Use set_volume_info to update the volume when creating a new drive.
2009-07-22 18:04:36 +02:00
Alexandre Julliard
e38aff419b
mountmgr: Add a helper function to update symlinks.
2009-07-22 17:57:08 +02:00
Alexandre Julliard
878459383a
mountmgr: Optionally update the drive mount point in set_volume_info.
2009-07-22 17:49:39 +02:00
Alexandre Julliard
86fdd8ebc5
mountmgr: Rename the DOS drive mount field for symmetry with the volume structure.
2009-07-22 17:46:02 +02:00
Alexandre Julliard
af77e9b388
winhttp: Avoid casting away const.
2009-07-22 14:48:09 +02:00
Luke Benstead
8ed1f0547e
ntdll: Add semi-stub implementation for SystemExecutionState query.
2009-07-22 14:42:51 +02:00
Henri Verbeet
e5d621c081
wined3d: Try to reuse the thread's current context in FindContext().
2009-07-22 14:42:51 +02:00
Henri Verbeet
9ceda3a6fd
wined3d: Move some context selection code from ActivateContext() to FindContext().
2009-07-22 14:42:51 +02:00
Henri Verbeet
219d3abdd1
wined3d: Simplify FindContext() a bit.
2009-07-22 14:42:51 +02:00
Henri Verbeet
ce436a76e2
wined3d: Get rid of getActiveContext().
2009-07-22 14:42:50 +02:00
Henri Verbeet
377cda97e7
wined3d: Avoid destroying contexts that are current in another thread.
2009-07-22 14:42:50 +02:00
Henri Verbeet
1a43030664
wined3d: Keep track of a thread's wined3d context.
2009-07-22 14:42:50 +02:00
Piotr Caban
8dd1d9b92e
jscript: Throw TypeErrors when _value functions are used as a function.
2009-07-22 14:42:50 +02:00
Piotr Caban
412e0af26f
jscript: Throw error in to_primitive function.
2009-07-22 14:42:50 +02:00
Piotr Caban
fba4e3767f
jscript: Throw TypeError in Function_toString.
2009-07-22 14:42:50 +02:00
Piotr Caban
d8e841ca50
jscript: Throw 'undefined object' error.
2009-07-22 14:42:50 +02:00
Alexandre Julliard
d617642999
ole32/tests: Avoid depending on the heap allocation order for the CoGetObjectContext test.
2009-07-22 14:42:50 +02:00