Commit Graph

9518 Commits

Author SHA1 Message Date
Mike McCormack
53daa59740 Implement CallNamedPipeA using CallNamedPipeW. 2004-10-19 21:08:58 +00:00
Walt Ogburn
84c1f667ae Keep "trailing" zeros on whole number part of a decimal.
Add an example of this to tests.
2004-10-19 21:08:40 +00:00
Walt Ogburn
f5c25e8067 Test that SafeArrayDestroyData keeps the pointer if FADF_STATIC is
set, nulls it otherwise.
2004-10-19 21:08:18 +00:00
Walt Ogburn
bb313c9dbe SafeArrayDestroyData - keep pointer, don't destroy data if FADF_STATIC
is set.
2004-10-19 21:08:02 +00:00
Alexandre Julliard
5d5f523052 Output the virtual tables for the exception classes using assembly so
that they can have the correct layout, and get rid of the
corresponding hacks in RTTI_GetObjectLocator.
Build more of the code on non-i386 platforms too.
Protect __RTDynamicCast and friends with exception handlers.
Fix handling of the vtable pointer so that we don't need to declare
all object pointers as type_info.
2004-10-19 04:03:07 +00:00
Mike McCormack
d5b0e0f01e Convert the shellmenu code to use unicode. 2004-10-19 03:56:40 +00:00
Robert Reif
9c8dd0a294 Don't consider MMSYSERR_NOTSUPPORTED an error for wide functions. 2004-10-18 23:14:54 +00:00
Ge van Geldorp
4e44eb2c9c Don't free subclass stack while it's still in use. 2004-10-18 23:14:38 +00:00
Alexandre Julliard
b8d5d962ee Fixed __RTDynamicCast to return the correct pointer for multiple
inheritance hierarchies (thanks to Muse Research for help with this
one).
Added some debug output.
2004-10-18 23:13:55 +00:00
Bill Medland
e62e88f488 During startup of the connection to an external ODBC provider
(e.g. unixODBC) replicate that provider's driver and DSN data to the
registry so that Windows programs that actually query the registry
rather than the ODBC will find at least some information.
2004-10-18 22:47:14 +00:00
Vincent Béron
4eeae1adb3 Fix some types problems. 2004-10-18 22:39:21 +00:00
Walt Ogburn
ea1b58b560 Test zero exponents with and without signs. 2004-10-18 22:35:18 +00:00
Markus Amsler
f56618a281 Push on stack in 16 bit mode with segment wrap around. 2004-10-18 22:34:02 +00:00
Rolf Kalbermatter
20952a5d23 Modify ANSI functions to allocate intermediate Unicode strings on the
heap instead of stack.
2004-10-18 21:45:16 +00:00
Jeremy White
fea27b1348 Revise winmm/time.c to fix timer resolution at 1 ms. This then allows
a much more efficient implementation of timer events and timeGetTime,
and callers that used sub 10 ms resolution will now get correct
results.
2004-10-18 21:44:32 +00:00
Vincent Béron
2c1b35dd17 Add some more Alpha asm code and Alpha-specific parts. 2004-10-18 21:27:52 +00:00
Dmitry Timoshkov
5736111c83 Protect USER32 against early graphics driver unloading. 2004-10-18 21:25:26 +00:00
Dimitrie O. Paun
134560e9e5 Implement LBS_COMBOBOX, and make use of it.
Better separation between the Listbox and Combobox.
Have a single set of wndprocs, just like Windows.
2004-10-18 21:22:44 +00:00
Joris Huizer
823c418d8e Added IClassFactory->CreateInstance aggregation checks. 2004-10-18 21:21:19 +00:00
Peter Riocreux
f971902a81 Make DrawDibDraw honour the DDF_BACKGROUNDPAL flag. 2004-10-18 21:20:09 +00:00
Markus Amsler
5106ee4a5d Initialize .COM stack. 2004-10-18 21:19:57 +00:00
Stefan Leichter
63289cd67c Added stub for CryptCATAdminAcquireContext. 2004-10-18 21:19:46 +00:00
Rein Klazes
c5c93d186e In RtlQueryTimezoneInformation use information from the registry if it
is available.
2004-10-18 21:19:28 +00:00
Alexandre Julliard
715ea985b9 Authors: Doug Paul <doug@elemental.ath.cx>, Glenn Wurster <gwurster@scs.carleton.ca>
Don't unrealize the palette by calling SetPaletteEntries.
Check peFlags for PC_RESERVED.
2004-10-18 21:18:58 +00:00
Alexandre Julliard
065fdde8f6 Authors: Doug Paul <doug@elemental.ath.cx>, Glenn Wurster <gwurster@scs.carleton.ca>
Change reading of PC_(EXPLICIT|NOCOLLAPSE|RESERVED) to handle multiple
values.
2004-10-18 21:18:30 +00:00
Robert Shearman
a16223e302 - TBN_DELETINGBUTTON sends the command ID, not the index.
- Fill in tbButton structure for TBN_DELETINGBUTTON notification.
- Document TBN_QUERY* sending indices.
2004-10-18 19:39:22 +00:00
Mike McCormack
d71bc33c11 Fix port enumeration. 2004-10-18 19:38:57 +00:00
Hans Leidekker
6e8f4f3c69 Avoid using gettimeofday(). 2004-10-18 19:38:41 +00:00
Rein Klazes
96d6966baa Test whether the ft_encoding's are defined, not the FT_ENCODING's. 2004-10-18 19:38:30 +00:00
Marcus Meissner
77ad4cebbc Stub function for OpenInputDesktop. 2004-10-18 19:38:01 +00:00
Mike McCormack
130f6e51f2 Add stub implementation for CreateProxyFromTypeInfo. 2004-10-18 19:37:42 +00:00
Vincent Béron
57fb99fa25 Protect some more types which can be redeclared in Xmd.h. 2004-10-18 19:37:19 +00:00
Robert Reif
097e281294 Fix some places where no driver present causes problems. 2004-10-18 19:36:42 +00:00
Robert Shearman
684197178a Implement ImageList_SetColorTable. 2004-10-18 19:36:13 +00:00
Robert Shearman
b4eee49aa5 The "colors" parameter of SetDIBColorTable should be CONST. 2004-10-18 19:35:50 +00:00
Michael Jung
162171e258 Fixed a typo in CryptExportKey. 2004-10-18 19:35:24 +00:00
Robert Shearman
0fb8f4a15e Improve proxy destruction comment. 2004-10-18 19:34:51 +00:00
Mike McCormack
049dce7cd0 Mask SIGCHLD to prevent partial writes in the new_process server
call.
2004-10-18 19:34:37 +00:00
Rolf Kalbermatter
29d4ec4f85 Added SHFreeNameMappings implementation. 2004-10-18 19:33:45 +00:00
Alexandre Julliard
21548cf02b Fixed spelling of 'hierarchy'. 2004-10-14 03:11:52 +00:00
Hans Leidekker
bed3842c9a Added check for fork() to fix the MinGW build. 2004-10-14 03:08:57 +00:00
Gerald Pfeifer
8e85b37088 Completely disable unused function show_image(). 2004-10-14 00:34:47 +00:00
Jason Edmeades
db7a50582c - Add support (as far as was previously) for the VertexBuffer and
Resource classes in wined3d and use when called from d3d9.
- Reduce the header includes in all the d3d9 interface to one common
  set in the private header.
2004-10-14 00:32:04 +00:00
Hans Leidekker
804277371a getMessage() is only defined when HAVE_OSS is defined. 2004-10-14 00:28:43 +00:00
Rein Klazes
8cd05a00e3 Provide an 'A' version of appropriate functions. 2004-10-14 00:28:29 +00:00
Hans Leidekker
9ec800fd6d Prefix _fsopen with MSVCRT_ to avoid collision with MinGW header.
Typo fix.
2004-10-14 00:26:39 +00:00
Bill Medland
3f3e29254b Fix SHDeleteKey so that it will handle deleting a key with more than
one subkey.  Also includes test.
2004-10-14 00:25:29 +00:00
Robert Shearman
6c50556e8b Fix function and structure field types so we are compatible with the
native dbghelp.
2004-10-11 21:00:17 +00:00
Robert Shearman
2050591370 Fix NtAllocateVirtualMemory declaration and fix users of the
function.
2004-10-11 20:59:06 +00:00
Walt Ogburn
d5cf83317e Allow exponents of zero (like "1.000E0") to parse
correctly. Previously, they caused DISP_E_TYPEMISMATCH.
2004-10-11 20:53:29 +00:00
Alexandre Julliard
de91a8dd0f Implemented NtYieldExecution. 2004-10-11 20:11:01 +00:00
Robert Shearman
5f21fd47f8 - Move header parsing to callers of pe_load_debug_directory.
- Add stubs and structures for LF_PROCEDURE types.
2004-10-11 20:08:07 +00:00
Eric Pouech
1876d185e9 - bring the multimedia doc up-to-date
- moved the TODO from the doc into the code
2004-10-11 19:57:10 +00:00
Dmitry Timoshkov
c3cecc5d57 - WM_MDISETMENU handler should update new frame menu only if an active
and maximized MDI child is visible.
- Add a test case for MDI child activation sequence.
2004-10-11 19:55:28 +00:00
Huw Davies
ee83c727d7 Apparently this portion of the test was failing under some versions of
winxp, so remove it.
2004-10-11 19:54:54 +00:00
Hans Leidekker
b741905cf1 Avoid using gettimeofday. 2004-10-11 19:53:54 +00:00
Hans Leidekker
84e9eb65af Include stdio.h for MinGW. 2004-10-11 19:53:13 +00:00
Michael Jung
09a81f8c3f CryptDeriveKey - set return key handle to NULL in case of failure. 2004-10-11 19:52:54 +00:00
Vitaliy Margolen
64c63dd4b8 Sort files/folders before testing. 2004-10-11 19:52:23 +00:00
Dimitrie O. Paun
d0c950c808 Audit the listbox control.
Fix some indentation problems.
2004-10-11 19:51:16 +00:00
Jon Griffiths
ef138f090e Items are variable sized, use an accessor to get at them.
Combine A/W calls together to remove duplication.
Don't leak text when removing/changing items.
Turn off hot tracking when we delete the last item.
Use the 'delete 1 item' logic when deleting all items.
2004-10-09 02:27:00 +00:00
Jeremy White
08c0f691ce Made NtDelayExecution with a 0 timeout yield the CPU, as it is
supposed to.
2004-10-09 02:26:29 +00:00
Dmitry Timoshkov
132470a2b1 Properly handle the case when last MDI child is being destroyed. 2004-10-08 23:36:18 +00:00
Ferenc Wagner
cbf4c5c650 Unconditionally open a fresh console for the tests. 2004-10-08 23:35:47 +00:00
Aric Stewart
120009e9b4 Properly compare file versions when upgrading files so that new
versions get properly installed.
2004-10-08 23:35:35 +00:00
Vincent Béron
2eafc7ffe3 Better document some apis in commdlg and mscms. 2004-10-08 21:02:22 +00:00
Vincent Béron
157b32c0f1 Correct the calling convention of GetSystemWow64Directory{A,W},
AmpFactorToDB and DBToAmpFactor.
2004-10-08 21:01:44 +00:00
Jason Edmeades
b9e2bedac1 Copy and tidy up the code from dx8 create device into wined3d. Call
from wined3d and d3d8, but short term only use the code for real from
d3d9.
2004-10-08 20:52:33 +00:00
Dimitrie O. Paun
861f6240a2 Audit the scroll control.
Reorganize the documentation in a more readable format.
2004-10-08 20:51:05 +00:00
Dimitrie O. Paun
91e7437aab Audit the edit control. 2004-10-08 20:50:52 +00:00
Dmitry Timoshkov
4f8a7592a7 Disable remaining piece of the code which auto assigns virtual key
codes, it breaks VK_OEM_102 in finnish/swedish keyboard layouts.
2004-10-08 20:50:24 +00:00
Jacek Caban
c396cdcc0a - Added doWinMain stub
- Fixed htmlhelp.h
2004-10-08 20:49:09 +00:00
Vincent Béron
3875307d0c Remove #ifdef HAVE_SYS_TYPES_H. 2004-10-08 20:48:44 +00:00
Alexandre Julliard
06e35a776b Removed wrong memset calls. 2004-10-07 19:14:21 +00:00
Alexandre Julliard
6c6f71c8a9 Fixed MD4Final/MD5Final entries (spotted by Vincent Béron). 2004-10-07 19:13:33 +00:00
Hans Leidekker
081b25071a Implement color profile handles.
Implement OpenColorProfile{A,W} and CloseColorProfile.
Implement GetColorDirectory{A,W} and InstallColorProfile{A,W}.
Implement UninstallColorProfile{A,W}.
Dynamically load liblcms.
Add tests.
2004-10-07 19:12:41 +00:00
Jon Griffiths
ecd78d780e Constify some statics and make them smaller. 2004-10-07 17:35:08 +00:00
Jon Griffiths
ce0fbb5b28 ImageList_Merge should not fail if indices are bad.
Add tests for this case, a visible test mode and fix DrawIndirect test
under some native comctl32.dll's.
2004-10-07 17:34:56 +00:00
Jon Griffiths
0fa33cad49 Draw +/- correctly for large icon sizes. 2004-10-07 17:34:31 +00:00
Jon Griffiths
5ae461aa69 Vectors need all 32 bits to handle _really_ large apps. 2004-10-07 17:33:43 +00:00
Alexandre Julliard
efb8be7e82 Added a fallback implementation of futimes. 2004-10-07 04:25:05 +00:00
Jason Edmeades
ac490fabac Add a IWineD3DDevice object type (empty for now), and create one when
an IDirect3DDevice object is created.
2004-10-07 04:22:21 +00:00
Vincent Béron
4f78e2ed4f Use the proper #include file delimiter in advpack. 2004-10-07 04:20:24 +00:00
Alexandre Julliard
998863bf63 Only send WM_PAINTICON and WM_ICONERASEBKGND to 16-bit windows (found
by Jeremy White).
2004-10-07 03:09:37 +00:00
Francois Gouget
486d020c1b Don't define COBJMACROS in objbase.h.
Update the Wine sources accordingly.
2004-10-07 03:06:48 +00:00
Francois Gouget
0f313d0d5d Fix the VarI4FromI2 API documentation. 2004-10-07 02:59:45 +00:00
Francois Gouget
75be67c6c0 Conformance tests must not include wine/debug.h. 2004-10-07 02:59:11 +00:00
Hans Leidekker
b6aa6210cd Implement MD{4,5}Init MD{4,5}Update and MD{4,5}Final.
Add tests for these functions.
2004-10-06 18:53:29 +00:00
Rein Klazes
fd19a1f9e8 - Fix WS_getsockopt for the options SO_LINGER, SO_RCVTIMEO and
SO_SNDTIMEO by adding data conversion from Unix to windows.
- Added a test for this.
2004-10-06 18:52:51 +00:00
Dmitry Timoshkov
0c48fbc624 Skip interthread message test under win9x, it causes a crash there. 2004-10-06 18:51:27 +00:00
Jason Edmeades
b519893e41 Move the GetDeviceCaps into the wined3d library and call from d3d9. 2004-10-06 00:05:29 +00:00
Steven Edwards
1e23cb7d33 Remove useless FIXME in comment. 2004-10-06 00:05:07 +00:00
Rolf Kalbermatter
18514ca547 Fix bug found by Piotr Caban, where our function tried to delete a
directory eventhough the user canceled the operation.
2004-10-06 00:04:39 +00:00
Dmitry Timoshkov
b0c45123e5 Add a test case for accelerators, make the test pass on Wine. 2004-10-05 23:45:35 +00:00
Dmitry Timoshkov
7c7693f8d0 Added a test case for inter-thread DispatchMessage. 2004-10-05 22:35:00 +00:00
Marcus Meissner
2f4b33c904 Make sure PostScript floats are printed with LC_NUMERIC="C". 2004-10-05 22:31:14 +00:00
Jon Griffiths
7a9e800566 Draw background of the empty selected item in empty lists.
Don't draw a focus rect if we dont have the focus.
Don't select items on key up/down in multi-select lists.
Handle LBS_NOSEL correctly, fix remaining todo_wine tests.
2004-10-05 22:31:00 +00:00
Huw Davies
f3a56591ec Tests for PathCreateFromUrl, PathIsURL, UrlCreateFromPath and
UrlUnescape.
2004-10-05 18:31:58 +00:00
Huw Davies
10aac6c013 Rewrite UrlCreateFromPath. 2004-10-05 18:31:41 +00:00
Francois Gouget
67aa858a31 Assorted spelling fixes. 2004-10-05 18:15:29 +00:00
Francois Gouget
a8d2ba9d40 Replace some IUnknown_QueryInterface() calls with the specific call
for the object being used.
2004-10-05 18:10:21 +00:00
Jacek Caban
e1143d7d16 Added/updated Polish translations. 2004-10-05 18:09:34 +00:00
Huw Davies
ddae24c50b Implement CreateDispTypeInfo. 2004-10-05 18:07:49 +00:00
Huw Davies
1685e8c65e Rewrite PathCreateFromUrl. 2004-10-05 18:07:14 +00:00
Dimitrie O. Paun
7e8d5cebb7 Audit combo control code.
Change [GS]etWindowLong{,Ptr}A to [GS]etWindowLong{,Ptr}W.
2004-10-05 04:39:35 +00:00
Alexandre Julliard
739e5b06da Avoid depending on the non-standard IUnknown_METHODS macro in Wine
internal headers.
2004-10-05 04:16:21 +00:00
Huw Davies
58e7f4b70c Fix UrlUnescapeW. 2004-10-05 04:11:49 +00:00
Dimitrie O. Paun
0c202b7483 Audit the static control code.
Change [GS]etWindowLong{,Ptr}A to [GS]etWindowLong{,Ptr}W.
2004-10-05 04:11:29 +00:00
Dimitrie O. Paun
4c90609067 Audit and document button code.
Change [GS]etWindowLong{,Ptr}A to [GS]etWindowLong{,Ptr}W.
Change WM_GETDLGCODE as per the MSDN documentation.
2004-10-05 04:11:13 +00:00
Alexandre Julliard
5ee74004a5 Converted control.h to idl. 2004-10-05 02:18:08 +00:00
Jason Edmeades
c579fa6213 Move the Check* type functions into wined3d and copy from d3d9, and
flag that they are mostly stubs.
2004-10-05 02:14:06 +00:00
Huw Davies
9ed8857ffa PathIsURL should return TRUE even if a scheme is unknown. 2004-10-05 02:10:18 +00:00
Dmitry Timoshkov
01a88ff01e If there no MDI child to activate set hwndActiveChild to 0 in
WM_MDIDESTROY hander, add a test case.
2004-10-05 02:10:04 +00:00
Dmitry Timoshkov
f2dca03dec Make advapi32/crypt.c test pass under win2k SP4, do stricter error
checking, comment out a couple of tests failing under win2k, add a
note why RSA_CPAcquireContext may fail.
2004-10-05 02:09:36 +00:00
Wolfgang Schwotzer
0d4f4d9051 MakeSureDirectoryPathExists: Recursively create path up to last '\\'. 2004-10-05 02:05:28 +00:00
Alexandre Julliard
ed19983d65 Fixed typo in ProgramsW.
Changed the case of windows and system directories to match the
directories we create by default.
2004-10-04 20:49:51 +00:00
Hans Leidekker
b96edb38cd Implement SystemFunction006().
Add a test for SystemFunction006().
2004-10-04 20:42:05 +00:00
Robert Shearman
1abb0a57c6 Add support for .gnu_debuglink. 2004-10-04 20:41:22 +00:00
Jerry Jenkins
ccdea75dca Fix an error message. 2004-10-04 20:41:10 +00:00
Mike McCormack
05fb3ca636 Fix port enumeration. 2004-10-04 20:40:44 +00:00
Dmitry Timoshkov
c6a51b4b4f If an animation is already playing do not restart it.
Remove WM_CLOSE handler, it leads to a memory corruption later on.
2004-10-04 20:40:12 +00:00
Aric Stewart
764ff272d6 Check to make sure PropSheetInfo* is not null before dereferencing it
for some windows messages.
2004-10-04 20:39:55 +00:00
Dmitry Timoshkov
11d550dfa8 Add more message conversion tests, make the tests pass under Wine. 2004-10-04 20:39:00 +00:00
Francois Gouget
6be32f7edc Don't use COBJMACROS on internal interfaces. 2004-10-04 20:38:32 +00:00
Robert Shearman
cf78e15c2b - Fix calculation of required buffer size.
- Add support for detecting the IFF_MULTICAST flag.
- Stub for SIO_ADDRESS_LIST_CHANGE.
2004-10-04 20:37:43 +00:00
Piotr Caban
304e0796cd Added Polish translation. 2004-10-04 19:31:50 +00:00
Dmitry Timoshkov
964422524c Avoid a crash in advapi32/test_sha_ctx.c test if required entry points
are missing.
2004-10-04 19:31:17 +00:00
Robert Shearman
20546c84bb - Check for string pointer being outside of the string table.
- Only parse typedefs on stabs entries that can have them.
2004-10-04 19:31:05 +00:00
Robert Shearman
be7c95a3e5 Fix the loading .dbg files by no longer using RtlImageNtHeader which
would return NULL and using looking at the IMAGE_SEPARATE_DEBUG_HEADER
directly instead.
2004-10-04 19:30:50 +00:00
Jerry Jenkins
30b8cccc07 Don't use the SND_PCM_ASYNC flag for the moment. 2004-10-04 19:30:04 +00:00
Mike McCormack
1c9d435ee3 Prevent crash using CJK locale but no input method. 2004-10-04 19:29:43 +00:00
Dmitry Timoshkov
5d460f2761 Do not use GlobalFree for a memory returned by LoadResource. 2004-10-04 19:29:29 +00:00
Filip Navara
63c6359fcc Add UTC to the time zone list. 2004-10-04 19:29:16 +00:00
Rein Klazes
8ed3bbf2d2 - Time out on recv from and send to blocking sockets.
- Fix timeout calculation in WS_setsockopt.
2004-10-04 19:13:26 +00:00
Robert Shearman
85a707e378 Add tests for conversion of message parameters. 2004-10-04 19:10:37 +00:00
Huw Davies
7458de56ce UrlEscape has different rules depending on the protocol.
Added a load of tests.
2004-10-04 19:08:50 +00:00
Vitaliy Margolen
477aa4501b Don't loose last band on insert. 2004-10-04 19:07:24 +00:00
Ge van Geldorp
3db9386195 Can't pass NULL as default value to GetPrivateProfileString. 2004-10-04 19:05:02 +00:00
Robert Shearman
ef8ba283b8 Rewrite a section of code so that it doesn't use exit(0) when out of
memory.
2004-10-04 19:02:36 +00:00
Robert Shearman
ffbed1ff9c Print out a slightly more informative message if an ELF module fails
to load.
2004-10-04 18:59:10 +00:00
Alexandre Julliard
e22ae15773 Avoid using gettimeofday. 2004-09-29 21:33:05 +00:00
Jason Edmeades
c3421ea434 Move into wined3d and call from d3d9 the GetAdapterId function and
copy all the gl declarations into the more global wined3d_gl header
file.
2004-09-29 21:26:47 +00:00
Alexandre Julliard
72c9008e73 Authors: Klemens Friedl <frik85@hotmail.com>, Martin Fuchs <martin-fuchs@gmx.net>
- drive icon artwork
- display different drive icons depending on the drive type
2004-09-29 21:13:58 +00:00
Huw Davies
57cb25c008 ParseURL is now documented, so move it into shlwapi.h. 2004-09-29 21:12:04 +00:00
Dmitry Timoshkov
7d6f360f94 Ignore FocusOut event if there is no event window. 2004-09-29 21:11:28 +00:00
Vincent Béron
9fc774eb49 Keep the original resources if !bDeleteExistingResources in
BeginUpdateResourceW.
Pass the correct handle to callback functions in
BeginUpdateResourceW.
Fix a bug while saving data in memory in UpdateResourceW.
2004-09-29 21:10:44 +00:00
James Hawkins
336d84583c Limit scrolling of the edit control to the last line of text. 2004-09-29 21:04:18 +00:00
Robert Shearman
8e80468170 Simplify getting custom icons for a folder by utilising the new
SHELL32_GetCustomFolderAttribute function.
2004-09-28 19:33:57 +00:00
Robert Shearman
5ad2d3517f - Add support for custom shell folders, such as the History folder.
- Always try to initialize folder using IPersistFolder3 interface and
  then fall back on IPersistFolder if not supported.
2004-09-28 19:33:44 +00:00
Huw Davies
e8d89cd0f5 Fix a reference leak on failure (spotted by Rob Shearman).
Move some code over to the Interlocked* functions.
2004-09-28 19:19:27 +00:00