Commit Graph

9448 Commits

Author SHA1 Message Date
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
Huw Davies 076b5b706f Stub implementation of IInternetSecurityManager.
Add a classfactory.
Fix calling convention of CoInternetCreateSecurityManager.
2004-09-28 19:18:52 +00:00
Robert Shearman 240c02bbfe - Don't perform event check if in system code. Fixes infinite
recursion bug.
- Fix stack corruption that could occur in K32WowCallback16Ex if an
  event check was inserted.
2004-09-28 19:18:06 +00:00
Michael Stefaniuc fd306fb5d1 - native ImageList_Remove dosn't spit out an error message when
deleting an index out of range so don't do that either
- add 2 ImageList_Remove tests
2004-09-28 19:17:43 +00:00
Robert Shearman 847c81df89 Determine whether to do label edit before sending NM_CLICK. 2004-09-28 19:17:17 +00:00
James Hawkins 407c84e5b5 Stub implementation of AtlModuleUnregisterServerEx. 2004-09-28 03:14:11 +00:00
Jon Griffiths f479f10660 Item height/expand button width must be >= than imagelist size.
Avoid a magic number, add FIXME for incorrect +/- drawing.
2004-09-28 02:35:48 +00:00
Jason Edmeades ae5a436873 - Make d3d8 know about the wined3d device and start using it.
- Move some of the screen mode related functions into wined3d and add
  untested support for the new d3d9 options of providing the format to
  some of the calls.
- Move other functions from the directx interface into the common
  library and implement the calls from d3d9 as well.
- Copy across the first of the functions used to make traces more readable,
  creating utils.c to store them in. Eventually the ones in d3d8 will be
  removed but for now just duplicate the code.
2004-09-28 02:12:12 +00:00
Huw Davies 20313b8306 Partial implementation of advpack.RegInstall. 2004-09-27 20:39:40 +00:00
Alexander Yaworsky d9c9bfd779 Start only first service in the service table. 2004-09-27 20:35:27 +00:00
Uwe Bonnes 17e22fba88 Call GetProcessHeap() instead of passing its address. 2004-09-27 20:35:13 +00:00
Ge van Geldorp 535387aeb1 Call GetProcessHeap() instead of passing its address. 2004-09-27 20:34:49 +00:00
Michael Kaufmann 54be3001b4 - Add as many entries to the color map as specified by the DIB.
- Support bitmaps with a BITMAPV{4,5}HEADER.
2004-09-27 20:33:58 +00:00
Marcus Meissner 5539e288a6 Function return types cannot be const. 2004-09-27 20:33:27 +00:00
Eric Pouech 6e7d28d502 - now storing vector of types on a per module basis (and giving it
back in SymEnumTypes)
- flagging local register vars as local too
2004-09-27 20:31:42 +00:00
Robert Shearman ac5e454e2f - Implement WS_DISABLED style.
- Issue EN_CHANGE notification.
2004-09-25 00:30:08 +00:00
Huw Davies 91704df4f3 Implement PathSearchAndQualify. 2004-09-25 00:29:47 +00:00
Ge van Geldorp 707a10708f SHGetAppCompatFlags takes 4 bytes of parameters. 2004-09-25 00:29:30 +00:00
Alexander Yaworsky 31ec065bfd Restructured code of StartServiceCtrlDispatcherA/W. 2004-09-25 00:28:42 +00:00
Joris Huizer 34cffce6f9 Ref count increment/decrement cleanup. 2004-09-24 01:16:53 +00:00
Jon Griffiths d73e081c83 Use a (seemingly xp default) width of 7 for system fonts. 2004-09-24 01:10:44 +00:00
Martin Fuchs 7ccc2d25a2 - Use system metrics to determine icon sizes.
- Move invalid index from 1 to 0.
2004-09-24 01:10:31 +00:00
Richard Cohen 52373b2df3 MenuItemFromPoint shouldn't crash if there's no menu. 2004-09-24 00:22:13 +00:00
Uwe Bonnes 48dc31640d Make WINEDLLOVERRIDES also match for *dll. 2004-09-24 00:21:02 +00:00
Robert Shearman 07519aa1d0 Don't define GWL_USERDATA, GWL_ID, GWL_HWNDPARENT, GWL_HINSTANCE and
GWL_WNDPROC when compiling the Wine source.
2004-09-23 22:54:58 +00:00
Robert Shearman b72a682751 Use dynamically allocated heap allocated buffers in
HTTP_InterpretHTTPHeader to avoid buffer overflow on large headers.
2004-09-23 22:53:50 +00:00
Robert Shearman 12df80a748 - Don't crash on double InternetCloseHandle.
- Test case for this.
2004-09-23 22:53:04 +00:00
Dmitry Timoshkov 64d69b60c9 - Skip shell window test on Win9x and restore its functionality on NT
platforms.
- Use keybd_event instead of SendInput in order to perform keyboard
  input test on Win95 as well.
2004-09-23 22:52:26 +00:00
Martin Fuchs 09878e1c6a At least print message if we're not returning requested data. 2004-09-23 22:52:03 +00:00
Robert Shearman 4790f82329 - Make the control look more like native by using the right font and
spacing.
- Use TextOutW rather than DrawTextW as we don't use any features of
  DrawTextW.
- Fix caret size and position.
- Implement WM_CHAR and WM_SYSCHAR messages.
2004-09-23 22:51:42 +00:00
Filip Navara 317d6c592a Fix obviously wrong condition in an "if" statement. 2004-09-23 22:51:29 +00:00
Filip Navara b6153a1165 Add note about unimplemented TB_SAVERESTORE message. 2004-09-23 22:51:14 +00:00
Steven Edwards a6f68b550a Remove unneeded include statements. 2004-09-23 04:50:58 +00:00
Jason Edmeades 24ab49e250 Create a wined3d interface, and generate a wined3d object in the d3d9
create method. Make the first (simple) call implementation into the
new wined3d interface.
2004-09-23 04:34:27 +00:00
Ge van Geldorp e63e3781c6 Some windres versions don't like POPUP"", change to POPUP "". 2004-09-23 04:28:04 +00:00
Robert Shearman e4e7186b25 Fix debugger for flat PC and non-flat frame. 2004-09-23 04:27:46 +00:00
Steven Edwards e85b67bd9e Remove some unneeded include statements. 2004-09-23 04:27:24 +00:00
Richard Cohen 494b169cc0 Move TRACE inside TRY block. 2004-09-22 19:36:24 +00:00
Piotr Caban 5590928336 Added Polish translation. 2004-09-22 19:18:15 +00:00
Robert Shearman bbdac5e475 GetWindowLong -> GetWindowLongPtr. 2004-09-22 19:14:08 +00:00
Dmitry Timoshkov 0ee1407d3f Make mlang return the same code page descriptions as Windows, some
applications depend on it.
2004-09-22 19:13:50 +00:00
Huw Davies 76c5590bfb Don't trash the dst variant if we can't do the type conversion.
Add a test for this.
2004-09-22 19:12:18 +00:00
Martin Fuchs 1c8d9b66c3 Store absolute path in .lnk file. 2004-09-22 19:11:27 +00:00
Dimitrie O. Paun afab8342bb Avoid W->A transitions. 2004-09-22 19:11:05 +00:00
Dimitrie O. Paun 268f62f47d We now have ICC_LINK_CLASS. 2004-09-22 19:10:47 +00:00
Dimitrie O. Paun c26971c64c Cleanup W->A transition. 2004-09-22 19:10:27 +00:00
Steven Edwards 76e00d621c Move URL_SCHEME typedef to match PSDK. 2004-09-22 19:10:11 +00:00
Hans Leidekker 5164757cea Beginnings of an MSCMS implementation based on LittleCMS. 2004-09-22 04:08:38 +00:00
Alex Villacís Lasso 2d02afbc09 Partial implementation for OLEPictureImpl_Save. 2004-09-22 04:04:03 +00:00
Alexander Yaworsky aadffd1f35 Moved TRACEs to the beginning of functions. 2004-09-22 04:03:10 +00:00
Martin Fuchs fa417e2869 Implement IShellLinkA::Resolve and IShellLinkW::Resolve. 2004-09-22 04:00:56 +00:00
Robert Shearman c6516740af Share version information between DllGetVersion and resource file. 2004-09-22 04:00:43 +00:00
Alexandre Julliard 4521ea6e76 Revert broken change in previous patch. 2004-09-22 04:00:14 +00:00
Alexander Yaworsky 3f40590e93 Moved code from CreateThread to CreateRemoteThread. 2004-09-22 02:54:13 +00:00
Hans Leidekker 719a789792 Fix signed/unsigned comparison warnings. 2004-09-22 02:46:38 +00:00
Francois Gouget bc371a83ec Fix CSIDL_COMMON_{STARTMENU,PROGRAMS,DESKTOPDIRECTORY} so they all use
paths in 'All Users' like CSIDL_COMMON_STARTUP.
The CSIDL_COMMON_PROGRAMS fix solves many menu creation problems.
2004-09-21 20:05:54 +00:00
Robert Shearman 7cfe3c9ffc - Status update.
- Should create HOTKEY_INFO storage in WM_NCCREATE rather than in
  WM_CREATE so that we can also add the WS_EX_CLIENTEDGE style.
- Remove code that draws the client edge; it is already drawn by
  DefWindowProc.
2004-09-21 20:05:35 +00:00
Martin Fuchs a6f9e517fe Match class name used by Windows. 2004-09-21 20:04:59 +00:00
Robert Reif 9a75ae0a2f Add dx3 capabilities. 2004-09-21 20:04:37 +00:00
Jason Edmeades f901144d85 Don't hide and restore the window when changing it to be a popup
style.
2004-09-21 20:04:24 +00:00
Alexandre Julliard 0af18186b2 Ignore the generated header files. 2004-09-21 01:05:14 +00:00
Alexandre Julliard 47461203c4 Build the .h files from their idl source at compile time, and remove
them from CVS.
2004-09-21 00:35:02 +00:00
James Hawkins 364822739f Use InterlockedDecrement and InterlockedIncrement instead of ++/--. 2004-09-21 00:25:03 +00:00
Dmitry Timoshkov a1ccb921bd Make message flow for MDI creation/activation/destruction more like in
Windows. Add a bunch of MDI message tests.
2004-09-21 00:24:22 +00:00
Alexander Yaworsky 8657ad8704 Make RtlCreateUserThread fail if process handle is not for the current
process.
2004-09-21 00:23:50 +00:00
Alexander Yaworsky 9d590d5059 Pass arguments to the service program. 2004-09-21 00:23:32 +00:00
Alexandre Julliard 233766aafa Build idl files as part of the normal build process. 2004-09-20 21:48:42 +00:00
Martin Fuchs 06f6cc9d20 Correct setting of default menu item in shell context menus. 2004-09-20 21:46:11 +00:00
Dmitry Timoshkov 2abf2c7aa5 Make menu code cope with WM_SYSKEY*/WM_SYSCHAR messages.
Unblock menu loop if a window being destroyed owns a tracked menu.
2004-09-20 21:45:45 +00:00
Michael Kaufmann 970b2218d6 Fix a regression caused by an earlier patch for CreateDIBitmap. 2004-09-20 21:45:00 +00:00
Mike McCormack 37dcaf6be6 CoSuspendClassObjects stub implementation. 2004-09-20 21:44:34 +00:00