Commit Graph

12736 Commits

Author SHA1 Message Date
Daniel Remenak 3ddc4bb895 Correctly enumerate evdev joysticks when enumeration is restricted
with DIEDFL_FORCEFEEDBACK.
2005-07-29 14:41:55 +00:00
Daniel Remenak e491e8f897 Detect force-feedback-capable linux event device joysticks and return
DIDC_FORCEFEEDBACK when queried for capabilities.
2005-07-29 14:18:58 +00:00
Paul Vriens 111a913d5e Cleanup whitespace.
Conversion fixes.
2005-07-29 14:15:56 +00:00
Mike McCormack 82434be6a9 gcc 4.0 warning fixes. 2005-07-29 14:15:31 +00:00
Alexandre Julliard e0097da1de Added names for a bunch of status values. 2005-07-28 18:40:45 +00:00
Mike McCormack c6602b406b Signed warning fixes. 2005-07-28 18:33:26 +00:00
Paul Vriens 00d8112196 New function VersionInfo32_QueryValue.
Made functions static.
2005-07-28 18:32:32 +00:00
Dmitry Timoshkov 5da1c0ada9 Implement EnumDateFormatsEx. 2005-07-28 10:47:53 +00:00
Paul Vriens 72fba73ada VerQueryValue returns BOOL not DWORD. 2005-07-28 10:47:37 +00:00
Alexandre Julliard 04b7382db9 Remove duplicate definition of FILE_BEGIN. 2005-07-28 10:24:01 +00:00
Steven Edwards e14569d122 Correct RegCreateKeyEx[A/W] prototype to match the PSDK. 2005-07-28 10:18:23 +00:00
Mike McCormack ebf4e53030 Fix sign warnings. 2005-07-28 10:16:54 +00:00
Mike McCormack 8955ac43a3 gcc 4.0 -Wpointer-sign fixes. 2005-07-28 10:16:21 +00:00
Dmitry Timoshkov 6f6d58b8b4 - Reimplement EnumTimeFormats, make it work for all available
locales.
- Add a test for EnumTimeFormats
2005-07-28 10:16:02 +00:00
Oliver Stieber 83f8704ba3 Return all elements when getDeclaration is called with pnumelements
set to 0.
2005-07-28 10:15:35 +00:00
Frank Richter 171fea006d Add theming for treeview control. 2005-07-28 10:15:10 +00:00
Frank Richter c952f08ba8 Add theming support for the tab control. 2005-07-28 10:14:52 +00:00
Robert Shearman 6b3b110d31 - A name in an SLTG typelib only beginning with 0xff is the indicator
of an offset, instead of any non alpha-numeric character.
- Any dispatch interface should have the fixed vtable size, not just
  dual ones.
- Warn when ITypeInfo_GetDocumentation fails.
2005-07-28 10:14:37 +00:00
Paul Vriens c232ce43e2 Cleanup print_vffi_debug. 2005-07-28 10:14:08 +00:00
Rémi Assailly dbbd0d5115 Moved mcicda to the top-level dlls directory. 2005-07-27 15:42:40 +00:00
Frank Richter 3701cb2fa0 Implementation for GetThemePartSize() (not entirely equivalent to
native uxtheme, but sensibly useable).
2005-07-27 15:33:31 +00:00
Oliver Stieber c93da09265 Changed swapchains held by the device from an array to a linked
list. Also provide a notification function that that the swapchain can
be removed when it is released.
2005-07-27 15:33:17 +00:00
Alexandre Julliard 2431a64419 There's no need to update the event mask in X11DRV_sync_window_style,
it never changes.
2005-07-27 15:22:58 +00:00
Frank Richter d219a54e80 Since OpenThemeData() should return 0 in case theming is disabled
globally or for the application we don't need to check that when
calling OpenThemeData().
2005-07-27 15:16:09 +00:00
Hans Leidekker 4641cb8d93 Implement ldap_perror, ldap_result2error and LdapMapErrorToWin32. 2005-07-27 15:15:31 +00:00
Frank Richter 1621ff4a44 Make GetThemeMargins() return default values (0 margin) if the
function does not succeed.
2005-07-27 15:15:09 +00:00
Dmitry Timoshkov 8873d90f36 - Reimplement EnumDateFormats, make it work for all available
locales.
- Add a test for EnumDateFormats.
2005-07-27 15:15:02 +00:00
Paul Vriens e5503f96c1 Remove 32bit references/checks in VERSION_GetFileVersionInfo_16. 2005-07-27 15:14:33 +00:00
Alexandre Julliard 738e88db5f Replace the ICOM_THIS_From macros by inline functions. 2005-07-27 15:14:18 +00:00
Frank Richter 54de614906 Split up the drawing code into a set of smaller functions and also
moved some common computations into helper functions. All that to
facilitate the implementation of the forthcoming theming support.
2005-07-27 12:07:03 +00:00
Johannes Koch 132af0a13e Fixed pitch bending in the midi driver. 2005-07-27 12:06:51 +00:00
Paul Vriens a16fcbe5ba Remove wrong check. 2005-07-27 12:05:38 +00:00
Alexandre Julliard b1a9701bb5 Replace the _ICOM_THIS_From macros by inline functions the way it's
already done in shelllink.c.
2005-07-27 11:10:52 +00:00
Steven Edwards 54508df527 Add stub implementation of the Uniscribe Script Processor. 2005-07-27 11:02:52 +00:00
Frank Richter 7d00bb387e Added some generic code to allow subclassing (for the purpose of
theming) of standard controls.
2005-07-27 10:54:49 +00:00
Paul Vriens 7b416af6ea Fix some tests for win9x and winME. 2005-07-27 10:51:45 +00:00
Vitaliy Margolen 00f80c609a Remove all wait_for_poll associated stuff that is no longer needed. 2005-07-27 10:51:36 +00:00
Alexandre Julliard 76ed2835cd Make CONST_VTABLE the default in the Wine source. 2005-07-26 20:10:51 +00:00
Alexandre Julliard 89cbfd8fac Get rid of the _ICOM_THIS macros and call the inline function
directly instead.
2005-07-26 20:02:25 +00:00
Oliver Stieber 052d108bf5 DirectX uses a R/Z transform to translate a texture but under OpenGL a
Q transform must be used instead.
2005-07-26 20:01:29 +00:00
Oliver Stieber 52b5842f70 Remove a load of IWineD3DSurface * casts that are no longer required. 2005-07-26 18:56:18 +00:00
Oliver Stieber 7cb748fed2 Makes sure any internal reference counting is passed onto the parent,
any objects referenced by the internal stateblock are released when
the stateblock is released (we don't reference count while a
stateblock is recording, so recorded stateblocks have no references to
clean up).
2005-07-26 18:49:30 +00:00
Alexandre Julliard b8d3075d83 Uncomment the typedef in the DECLARE_INTERFACE macro, and get rid of
duplicate typedefs.
2005-07-26 18:32:53 +00:00
Filip Navara 52cf1851b8 Use ReleaseDC instead of DeleteDC on DC handle. 2005-07-26 18:25:46 +00:00
Paul Vriens 98e33334ae Rename bText to wType. 2005-07-26 18:25:34 +00:00
Hans Leidekker a1ebea4112 Improve error handling for the init functions. 2005-07-26 18:25:22 +00:00
Phil Krylov a8f4b16bd0 Translate the whole wparam to/from Unicode. 2005-07-26 15:55:42 +00:00
Alexandre Julliard 85c9283f50 Don't generate import libraries for dlls that don't export anything. 2005-07-26 15:52:58 +00:00
Dmitry Timoshkov 2cf3573812 Avoid an orthographic error by rephrasing the message. 2005-07-26 15:50:59 +00:00
Hans Leidekker 56a94afc9e Correct prototype for ldap_search_ext_s.
Improve error handling for the search functions.
2005-07-26 15:50:47 +00:00
Paul Vriens b296b04230 Forward GetFileVersionInfoA to GetFileVersionInfoW. 2005-07-26 15:50:17 +00:00
Thomas Weidenmueller 96e052b9dc Added stubs for objsel.dll and objsel.h. 2005-07-26 11:30:42 +00:00
Oliver Stieber 5b9ddcce44 Correct a regression issue with per-app settings. 2005-07-26 11:14:38 +00:00
Dmitrij Sinukov d0bac065f8 Added Russian resources. 2005-07-26 11:13:48 +00:00
Oliver Stieber ea6189e04b Implement resource tracking, require for reset and evict managed
resources and provides extra sanity checks.
2005-07-26 10:34:15 +00:00
Paul Vriens ef1da879df Cleanup and some additional tests. 2005-07-26 10:33:22 +00:00
Phil Krylov c2cb39b817 Implemented EM_CHARFROMPOS RichEdit message. 2005-07-26 10:33:00 +00:00
Phil Krylov 2b6b09f591 Generate ending \par in RTF output of RichEdit when streaming out a
whole document.
2005-07-26 10:32:46 +00:00
Jacek Caban 6dd67f3d48 Tests crash fix. 2005-07-26 10:31:23 +00:00
Robert Shearman 2cec4f458a wait_for_poll can go into an infinite loop. Remove it and replace it
with snd_pcm_drain which is more likely to do what the original author
intended.
2005-07-26 10:31:11 +00:00
Hans Leidekker aea0ad9172 Improve error handling for the bind functions. 2005-07-26 10:30:49 +00:00
Frank Richter 38904c4fae Add theming for the up/down control. 2005-07-25 11:23:42 +00:00
Hans Leidekker 8d09a7cd2b Implement ldap_search_ext* and ldap_start_tls_s* functions. 2005-07-25 11:09:51 +00:00
Frank Richter d42210dd11 Use theming for the ListView non-client area. 2005-07-25 11:09:38 +00:00
Frank Richter 564872cd81 Add theming support for header controls. 2005-07-25 11:09:09 +00:00
Dmitry Timoshkov bc07b2aca4 Take into account CS_NOCLOSE window class style and SC_CLOSE system
menu item state while adding MDI system menu buttons and generating
WM_SYSCOMMAND messages.
2005-07-25 11:08:59 +00:00
Dmitry Timoshkov a726387a07 Take into account CS_NOCLOSE window class style and SC_CLOSE system
menu item state while handling WM_X11DRV_DELETE_WINDOW request.
2005-07-25 11:08:43 +00:00
Steven Edwards 0cc138dc2e Move and forward lz32 functions to kernel32. 2005-07-25 11:08:30 +00:00
Felix Nawothnig 841b40896c Fix thread tests on WinME. 2005-07-25 11:07:54 +00:00
Paul Vriens 5b325a6d15 Skip test that crashes on W2K/WinXP/W2K. 2005-07-24 17:12:06 +00:00
Stefan Huehner 4f82e547d7 Fix some missing-declarations warnings. 2005-07-24 17:11:59 +00:00
Raphael Junqueira cc8762a91e - add a new settings for vbo support
- use a struct to handle wined3d settings
- prepare VBO using some abstraction APIs
2005-07-24 17:11:33 +00:00
Frank Richter 100923508c OpenThemeData() now always sets the window theme to the handle
returned (even if that is NULL) - previously, it could happen that
when no theme was active or the theme data could not be opened that
the window theme remained became then-dangling (and hence subsequent
calls to GetWindowTheme() would return that bogus theme).
2005-07-24 17:11:05 +00:00
Hans Leidekker be5bf8022d Implement ldap_sasl_bind* functions. 2005-07-24 17:10:46 +00:00
Stefan Huehner 3e05fe1e60 Fix missing-declarations warnings. 2005-07-24 17:10:38 +00:00
Frank Richter 4d2e6b7d98 GetThemeBackgroundContentRect() does not use the content margins
alone, it also falls back to the border size or sizing margins, and if
it can't find any possible margins at all, it returns the original
rectangle.
2005-07-24 17:09:58 +00:00
Francois Gouget 5179aa1bae Get started testing ShellExecute(). 2005-07-24 16:26:53 +00:00
Phil Krylov 8759b5fead Added EM_GETZOOM and EM_SETZOOM RichEdit message handlers. 2005-07-24 16:17:43 +00:00
Vincent Béron 05b2c1cc81 Remove multiple declarations of the same function, keeping the public
one as reference.
2005-07-24 16:17:28 +00:00
Marcus Meissner c5feb317b3 Implemented IsValidInterface16, CoMemAlloc.
Added debug to HGLOBALLockBytes16_QueryInterface.
2005-07-24 16:15:24 +00:00
Vincent Béron ca26076164 Use proper macro for using IOKit includes. 2005-07-24 16:15:06 +00:00
Francois Gouget 13a0f6016f Fix the ldap_search_s prototypes (reported by winapi_check). 2005-07-22 19:58:13 +00:00
Robert Shearman 3e03bc1d73 - Call SetBkMode with the correct value from the NMTBCUSTOMDRAW
structure.
- Don't fill the NMTBCUSTOMDRAW structure in again for
  CDDS_POSTPAINT.
- Remove redundant bBtnTransprnt value.
2005-07-22 19:57:44 +00:00
Robert Shearman 87dacfffc2 - Height is now calculated based on the number of rows, not on the
bounding rect.
- Only call CalcToolbar in AutoSize if it has TBSTYLE_WRAPABLE or
  TBSTYLE_EX_UNDOC1 set.
- Remove a bad test in SetButtonWidth that fixes a regression from the
  above change in IE.
- Remove unnecessary nHeight data.
- Remove duplicated code in Size by calling AutoSize.
- Remove unnecessary bAutoSize value because SetWindowPos doesn't
  generate WM_SIZE when there is nothing to do on both Windows and
  Wine.
2005-07-22 19:55:54 +00:00
Robert Shearman 05f2506c06 TBSTATE_INDETERMINATE only takes effect if the button is enabled,
otherwise it should just appear like any other disabled button.
2005-07-22 19:54:17 +00:00
Robert Shearman 481d189508 Native autosizes on inserting/adding buttons, so we should too. 2005-07-22 19:52:05 +00:00
Alexandre Julliard 8e21562903 Added small assembly wrapper to call entry points without having to
worry about their calling convention.
2005-07-22 19:50:13 +00:00
Francois Gouget 0293d520dc Tweak some prototypes to be closer to the PSDK. 2005-07-22 19:48:43 +00:00
Paul Vriens b7fcecca3e Use current process if assigned process cannot be opened. 2005-07-22 19:48:16 +00:00
Robert Shearman 8b086842c3 The IsValidImageList test is not needed because if it isn't a valid
image list we will have set the bitmap width and height to 1 and it
does the wrong thing when no buttons are present.
2005-07-22 19:48:07 +00:00
Hans Leidekker 455989fa1f Add helper functions for converting LDAPControl structures. 2005-07-22 19:47:37 +00:00
Alexandre Julliard 64329de2a6 Store the SysIP property using a string to avoid trouble with 16-bit
apps that don't expect an atom.
2005-07-22 18:40:21 +00:00
Alexandre Julliard 3ff8239dfe Fixed get_window_properties to correctly specify the output buffer in
the server request (spotted by Marcus Meissner).
2005-07-22 18:31:43 +00:00
Alexandre Julliard 4ed08c497b Preserve the spaces before an opening quote in the middle of a token
(reported by Matthew Davison).
2005-07-22 18:30:53 +00:00
Marcus Meissner 1c3054af32 Added OleSetMenuDescriptor16 stub. 2005-07-22 18:29:39 +00:00
Marcus Meissner c8187b0900 OleInitializeWOW gets 2 arguments. 2005-07-22 18:29:19 +00:00
Robert Shearman 2e0a42ec2c The calculated button height should include the text height when no
buttons are present.
2005-07-22 18:28:46 +00:00
Huw Davies 3b77de9cac Implement the undocumented StartDocDlg[A|W]. These will be used by
StartDoc.
2005-07-22 18:28:12 +00:00
Aric Stewart 88837b5d8d Bail out if the reg key is empty. This prevents us from writing
garbage to the property table.
2005-07-22 18:27:41 +00:00
Phil Krylov 8a36f2a325 Fixed EM_GETCHARFORMAT for selection containing a single character. 2005-07-22 18:27:26 +00:00
Phil Krylov 42f3e22740 Fixed an off-by-one error in EM_STREAMOUT handler for non-Unicode
plain text output.
2005-07-22 18:27:15 +00:00
Gerald Pfeifer 8d43d251b7 Remove unused variable in primitiveConvertToStridedData(). 2005-07-22 18:27:04 +00:00
Phil Krylov 92890e2372 Added some missing but useful items to the TODO list. 2005-07-22 18:26:46 +00:00
Marcus Meissner ba4c61776d 16bit COM interfaces are cdecl, not WINAPI. 2005-07-22 18:26:31 +00:00
Raphael Junqueira e2a2b5f6d5 - cleanup wined3d settings init (now closing opened registry keys)
- support per application settings
2005-07-22 18:26:05 +00:00
Alexandre Julliard 34a5b5636a We cannot use forwards anymore now that kernel functions are only
exported by ordinal (reported by Marcus Meissner).
2005-07-22 09:15:57 +00:00
Francois Gouget bd19d67ad1 Assorted spelling fixes. 2005-07-22 09:06:03 +00:00
Daniel Remenak 6cb230dd20 Correct dinput handling of sliders and non-zero-based axes through the
linux input system.
2005-07-22 09:05:19 +00:00
Oliver Stieber b9efc4d26c Allow running opengl and DirectX applications without stencil support,
an earlier patch assumed that stencil support was available, but it
isn't in all cases.
2005-07-22 09:05:04 +00:00
Francois Gouget d867a77b63 Make the unistd.h include conditional. 2005-07-22 09:04:08 +00:00
Francois Gouget c995331d27 Fix the NdrVaryingArrayUnmarshall prototype (reported by
winapi_check).
2005-07-22 09:03:42 +00:00
Marcus Meissner d32762808b 16bit interfaces are cdecl, so drop the WINAPI. 2005-07-22 09:03:29 +00:00
Felix Nawothnig f633a5ccf7 Convert long to short path in GetModuleFileName16. 2005-07-22 09:03:14 +00:00
Hans Leidekker 05f18059f3 Implement ldap_search* functions. 2005-07-22 09:02:55 +00:00
Stefan Huehner b8585b8d0c Change some char* to const char* to fix warnigns. 2005-07-21 11:59:11 +00:00
Phil Krylov 4605b9558f Added some useful TRACEs. 2005-07-21 11:58:24 +00:00
Rémi Assailly f9f5eaab6e Moved midimap to the top-level dlls directory. 2005-07-21 11:31:56 +00:00
Phil Krylov b5a0433231 Allow NULL parameter for WM_SETTEXT in RichEdit. 2005-07-21 11:28:39 +00:00
Alexandre Julliard b676b62240 Register functions with no arguments should still be called as stdcall
because of the extra CONTEXT arg.
2005-07-21 11:09:26 +00:00
Hans Leidekker d8ad2d3916 Implement ldap_init* and ldap_open* functions. 2005-07-21 11:02:11 +00:00
Phil Krylov a0edd25e43 Implemented EM_LINELENGTH RichEdit message. 2005-07-21 11:01:47 +00:00
Hans Leidekker 8ae2690b2e Add helper functions for converting string arrays into different
encodings.
2005-07-21 11:01:29 +00:00
Oliver Stieber f8079b6947 Correct a problem with the way that FVF vertex arrays containing
blends or orthographic is calculated.
2005-07-21 11:01:19 +00:00
Troy Rollo d1b575e940 Return attributes for the correct file in the unixfs ParseDisplayName. 2005-07-21 11:00:57 +00:00
Saulius Krasuckas 6de20f33ae - Declare implemented functions inside #ifndef _DEBUG block.
- Make MSVCRTD_operator_new_dbg recognize types of memory blocks.
2005-07-21 10:34:08 +00:00
Phil Krylov 84bb372239 Added emulation of RichEdit 1.0 behaviour when the 1.0 window class is
being used. This emulation (introduced in M$ RichEdit 3.0) counts
paragraph endings as 2 characters (CR+LF) instead of 1 (CR).
2005-07-21 10:33:32 +00:00
Oliver Stieber 2125fa9d37 Fixed regression that occurred because changes to texture loading were
committed before changes to textures and states to support the change
were committed.
2005-07-21 10:32:48 +00:00
Aric Stewart 2849d3a0a1 Use SOURCEDIR instead of PackagePath. Because the PackagePath may be
local, while SOURCEDIR is more proper and will be a full directory.
2005-07-21 10:32:16 +00:00
Huw Davies a30c1b9871 Implement stdole2.tlb. 2005-07-20 17:52:04 +00:00
Huw Davies 0a4681fe23 Lookup the port in the spooler registry key and map it to a unix
filename or a pipe like OpenJob16 does.
2005-07-20 17:48:53 +00:00
Hans Leidekker d5ebfb5456 Implement ldap_simple_bind* and ldap_unbind* functions. 2005-07-20 17:47:53 +00:00
Michael Jung 39a6c8b456 Initial support for the IPersistFolder3 interface. 2005-07-20 10:44:54 +00:00
Alexandre Julliard dac19768fa Get rid of cursoricon.h. 2005-07-20 10:31:37 +00:00
Robert Shearman 4fad9ddc86 Hack around broken state management so InstallShield works. 2005-07-20 10:30:04 +00:00
Paul Vriens 8e541c8aeb Add tests for VerQueryValue[AW].
Don't convert the struct to a win16 one in GetFileVersionInfoA.
Convert the struct to win16 in VerQueryValueA (for now).
2005-07-20 10:29:29 +00:00
Michael Jung 47c0906369 Only initialize shell folders via the IPersistFolder3 interface in
SHELL32_CoCreateInitSF if the pidl which specifies the child is of
type 'Folder'. Otherwise fall back to IPersistFolder.
2005-07-20 10:29:05 +00:00
Daniel Remenak 68709f1c41 Basic handling of EM_SETTEXTEX. 2005-07-20 10:28:44 +00:00
Vitaliy Margolen 1a7257e198 Fix IOCTL_CDROM_RAW_READ ioctl. 2005-07-20 10:28:27 +00:00
Hans Leidekker 7a1876e5ae Implement ldap_bind* functions. 2005-07-19 20:32:46 +00:00
Robert Shearman 8b8c901a78 - Fix VT_BYREF|VT_UNKNOWN return values by comparing the correct value
with VT_UNKNOWN and VT_DISPATCH.
- Better tracing.
2005-07-19 20:02:38 +00:00
Robert Shearman 5550636044 Return DISP_E_EXCEPTION from ITypeInfo_Invoke on an error in the
called function.
2005-07-19 20:00:37 +00:00
Robert Shearman 6bfae1a1b7 - IRpcStubBuffer_Disconnect can be called multiple times.
- Release TypeLib when freeing stub buffer.
2005-07-19 20:00:07 +00:00
Robert Shearman 775898ba97 - Always query for the correct stub interface, otherwise we will be
pointing to the completely wrong object when a proxy does a
  queryinterface.
- Remove assumption that the stub buffer will handle the lifetime of
  the object.
2005-07-19 19:59:41 +00:00
Robert Shearman f29a1315ec Activate ITypeLib, ITypeInfo and IEnumVARIANT Marshalers. 2005-07-19 19:43:54 +00:00
Robert Shearman 0648ab6131 Remove RegisterTypeLib hack. 2005-07-19 19:43:37 +00:00
Robert Shearman 5d873adf9f Marshal return value from IRemUnknown_RemQueryInterface. 2005-07-19 19:43:05 +00:00
Robert Shearman d8780c7546 Fix confusion between number of characters and number of bytes in
unmarshaling BSTRs. Convert it all to characters for consistency with
the BSTR_User* routines.
2005-07-19 19:42:50 +00:00
Robert Shearman c0d7a25a42 Silence now noisy error messages caused by changes in the way we call
ipid_to_stubmanager. Move the error message to the one place it is
needed.
2005-07-19 19:42:33 +00:00
Alexandre Julliard 98c315c7c0 Save the scope window for mouse events before overwriting it. 2005-07-19 19:14:32 +00:00
Robert Shearman 500c41b75e Support VT_BYREF|VT_I4 in _copy_arg. 2005-07-19 19:13:45 +00:00