Commit Graph

12655 Commits

Author SHA1 Message Date
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
Robert Shearman
d2e2e851da Marshal and unmarshal TKIND_ENUM and TKIND_ALIAS. 2005-07-19 19:13:23 +00:00
Robert Shearman
97be0be7e4 - We should be starting with 1 reference.
- IRpcStubBuffer_Disconnect can be called more than once.
2005-07-19 19:13:11 +00:00
Robert Shearman
b0b3080b2d IRpcStubBuffer_Disconnect can be called more than once. 2005-07-19 19:12:54 +00:00
Robert Shearman
28479ea4aa By-pass the RPC runtime if possible when calling an STA by posting a
message directly to the apartment window for it to process. Fixes a
deadlock in InstallShield caused by having to create a thread when
freeing an object that comes from an STA apartment. Added tests that
fail without this fix.
2005-07-19 19:12:47 +00:00
Robert Shearman
e874408d65 Delete the stub manager outside of the apartment critical section
because the deletion may require the object to re-enter the
apartment.
2005-07-19 19:12:24 +00:00
Huw Davies
48a52d0959 Printer handles referring to the same printer should have the same job
queue.
2005-07-19 19:12:13 +00:00
Alexandre Julliard
bf575f1f8f Initialize the various menu global variables on demand instead of at
startup time.
2005-07-19 11:51:31 +00:00
Kevin Koltzau
6873379991 Define 64bit PE structures. 2005-07-19 11:44:32 +00:00
Alexandre Julliard
6655fed5a6 Don't set win gravity, the default should work fine. 2005-07-19 11:43:38 +00:00
Troy Rollo
2a52813024 When using PATHMODE_UNIX, all files are in the file system. 2005-07-19 11:40:36 +00:00
Alex Villacís Lasso
0f9ebafbec Initialize RegisteredClass properly in CoRegisterClassObject to
prevent crash in CoRevokeClassObject when accessing (uninitialized)
pMarshalledData.
2005-07-19 11:40:22 +00:00
Oliver Stieber
948563267e Implement the use of PBuffers for offscreen textures. 2005-07-19 11:39:24 +00:00
Alex Villacís Lasso
43076139c3 Fix GIF palette allocation, by relying on ColorCount instead of
SColorResolution.
2005-07-19 11:38:25 +00:00
Alex Villacís Lasso
3153aa9131 Ensure that underflowing negative float is represented as a positive
0, just as native oleaut32.
2005-07-19 11:38:12 +00:00
Huw Davies
af2e7eb2cb Test to show that the height returned by GetTextExtentPoint is the
same as tmHeight.
2005-07-18 18:08:30 +00:00
Hans Leidekker
98ac2c1def Implement ber_* functions. 2005-07-18 18:06:42 +00:00
Robert Shearman
7a9bacc45d Replace calls to DIALOG_GetCharSize with code to do the equivalent
using GdiGetCharDimensions.
2005-07-18 18:05:33 +00:00
Robert Shearman
0ceb6b6f6b Implement and test GdiGetCharDimensions. 2005-07-18 18:05:04 +00:00
Alexandre Julliard
cd4e1e512f Remove some no longer needed stub functions. 2005-07-18 15:25:13 +00:00
Alexandre Julliard
15ec968724 Load the USER driver on demand instead of at user32 load time.
Provide a fallback implementation for all the functions to avoid
having to check for NULL functions everywhere.
2005-07-18 15:14:56 +00:00
Hans Leidekker
bb72a06e54 Make lcms support depend on headers _and_ libraries, not just the
headers.
2005-07-18 15:10:36 +00:00
Felix Nawothnig
48533ae97d Implement RegGetValueA/W. 2005-07-18 15:10:22 +00:00
Robert Shearman
91eaea53ae - Change the default user SID to match what was previously returned by
NtQueryInformationToken.
- Implement TokenUser for NtQueryInformationToken.
- Add a function for getting the user's registry path from a SID.
2005-07-18 13:22:55 +00:00
Alexandre Julliard
2997fc51a4 Fixed a few prototypes in the USER driver. 2005-07-18 13:20:18 +00:00
Robert Shearman
8c02f6367e Add stubs for most of the NDR marshaling functions. 2005-07-18 13:14:05 +00:00
Michael Jung
1032fdc595 Use CP_UNIXCP instead of CP_ACP when converting paths (Pointed out by
Troy Rollo).
2005-07-18 13:13:42 +00:00
Huw Davies
03f36e6df0 Partial implementation of GetJob. 2005-07-18 13:13:31 +00:00
Michael Jung
ff23dd29be Release shell folders only if they were successfully acquired. 2005-07-18 13:13:05 +00:00
Alex Villacís Lasso
324267c4a9 Test for behavior of negative underflow formatting. 2005-07-18 10:33:12 +00:00
Oliver Stieber
7d3ba6f562 Implemented a tidied up IWineD3Device_ColorFill. 2005-07-18 10:32:00 +00:00
Frank Richter
5c3f6bcd44 Enabled "tab" dialog texture for property sheet pages. 2005-07-18 10:31:06 +00:00
Felix Nawothnig
7bc3a38ba7 Rewrote the RegGetValue tests for REG_SZ / REG_EXPAND_SZ. 2005-07-18 10:30:51 +00:00
Alexandre Julliard
81008167c2 Load system metrics on demand instead of initializing everything at
user32 load time.
2005-07-18 09:20:07 +00:00
Jacek Caban
18f9462b3d - Added more tests.
- Make tests pass under Wine.
2005-07-18 09:13:32 +00:00
Felix Nawothnig
b08e77d9a3 Add stub for SetLayeredWindowAttributes. 2005-07-18 09:13:13 +00:00
Michael Jung
4ec5aa68b2 Append filename extension if necessary in IShellFolder::SetNameOf. 2005-07-18 09:12:20 +00:00
Hans Leidekker
524251db40 Stub implementations for GetUserNameEx{A,W}, TranslateName{A,W},
LsaCallAuthenticationPackage, LsaConnectUntrusted and
LsaDeregisterLogonProcess.
2005-07-18 09:11:14 +00:00
Hans Leidekker
f2ad5ade5c Fix pointer signedness and missing declarations warnings. 2005-07-18 09:10:51 +00:00
Dimi Paun
ebe8b2292a Silence uninitialized warnings. 2005-07-18 09:10:31 +00:00
Hans Leidekker
3853794ba0 Stubs for GetAddressByName{A,W}. 2005-07-18 09:09:24 +00:00
Paul Vriens
dcb67841d2 Don't run tests on platforms that don't support WindowStation calls. 2005-07-18 09:08:58 +00:00
Paul Vriens
463a655c4a Set size before calling pSetColorProfileElement. 2005-07-18 09:08:43 +00:00
Felix Nawothnig
305ce2f641 Fix registry tests on Win95. 2005-07-18 09:08:24 +00:00
Felix Nawothnig
802b17c8f5 Fix misuse of UrlCombineW. 2005-07-18 09:08:16 +00:00
Juan Lang
8c9b330cce Add/correct a couple definitions, allow hashing nothing. 2005-07-18 09:07:57 +00:00
Oliver Stieber
18f3fcb1c2 Set mipmap levels correctly (even with ATI's buggy drivers). 2005-07-18 09:07:17 +00:00
Oliver Stieber
e0241349c5 Dirty the surface (instead of the texture) when a render targets is
send and endscene is called to make sure that the correct surface is
updated.
2005-07-18 09:07:03 +00:00
Felix Nawothnig
f35f259105 Skip futile tests if CoGetClassObject fails. 2005-07-18 09:06:22 +00:00
Hans Leidekker
ea524defc9 Configure checks for OpenLDAP headers and libraries. 2005-07-15 16:39:42 +00:00
Alexandre Julliard
b5cc0a79fb Added a bunch of utility functions to factor out a lot of the repeated
code in SystemParametersInfoW.
2005-07-15 16:35:27 +00:00
Stefan Huehner
aed3fb612d Fix some sign-compare warnings by choosing correct datatypes. 2005-07-15 16:34:04 +00:00
Stefan Huehner
9b65ffbb36 Add some consts to fix discard-qual warnings. 2005-07-15 16:33:38 +00:00
Dmitry Timoshkov
e3d1a13b9c Add a test for handling overlapped buffers by WideCharToMultiByte. 2005-07-15 16:33:10 +00:00
Paul Vriens
2509c06e16 Added a test, specifically for NT/W2K/XP/W2K3. 2005-07-15 16:32:53 +00:00
Frank Richter
5bb8f968f6 Make dialog theme texture setting non-global (ie a per-window
setting).
2005-07-15 16:32:37 +00:00
Oliver Stieber
41718267be Fixed a division by 0 in setup_light that occurs with range is zero. 2005-07-15 16:32:25 +00:00
Frank Richter
567b6facab Add support for drawing gradient captions. 2005-07-15 16:31:55 +00:00
Dmitry Timoshkov
9bea3bfc96 Avoid unnecessary casts. 2005-07-15 11:44:46 +00:00
Michael Jung
9568893940 Add file type column in detailed shell view.
Make the order of shell view columns 'prefix-compatible' with
shfldr_fs.
Don't remove filename extensions for path pidls in GetDisplayNameOf.
2005-07-15 11:43:25 +00:00
Dmitry Timoshkov
40dd77bf5a Make VIRTUAL_HandleFault return an NTSTATUS. 2005-07-15 11:43:09 +00:00
Kevin Koltzau
28f15a3bdf Forward some header notifications to parent of listview. 2005-07-15 11:42:47 +00:00
Thomas Weidenmueller
2e7f3ad702 Support PSM_IDTOINDEX. 2005-07-15 11:42:18 +00:00
Hans Leidekker
d3447022e1 Link directly to liblcms.
Fix typo in test.
2005-07-15 10:09:43 +00:00
Dmitry Timoshkov
1dc18952ae Use SIZE_T type for size variables in NTDLL when appropriate. 2005-07-15 10:01:30 +00:00
Thomas Weidenmueller
6ea26b50a9 - Support PSH_WIZARDHASFINISH in wizards.
- Correct tab order of the wizard buttons.
2005-07-15 09:59:04 +00:00
Stefan Huehner
06822b8977 Fix some write-strings warnings. 2005-07-15 09:58:36 +00:00
Michael Jung
6b7778f36b Do filename postprocessing in GetDisplayNameOf (Hide filename
extensions if appropriate).
2005-07-15 09:58:03 +00:00
Oliver Stieber
43466542a6 Correct a missplaced #if in IWineD3DDeviceImpl_CleanRender. 2005-07-15 09:57:52 +00:00
Aric Stewart
cd6fd67dcb When adding an image copy the full previous buffer.
Implement replacing an icon with one from a resource.
2005-07-15 09:57:21 +00:00
Robert Shearman
d89705daf6 Fix return value of InternetQueryDataAvailable. 2005-07-15 09:56:34 +00:00
Eric Pouech
00a4a989b8 Get rid of HeapValidate as it's not properly handled by some memory
management tools (Microquill for example).
2005-07-15 09:56:17 +00:00
Felix Nawothnig
9e96be87ac Fix the EnumEnhMetaFile tests. 2005-07-15 09:55:33 +00:00
Huw Davies
183fcb5c2d Set the default doc title to that of Windows.
Pass cups the doc title.
2005-07-15 09:55:23 +00:00
Oliver Stieber
fe80b4ea48 Implemented Get/Set/Free private data in resource. 2005-07-15 09:54:57 +00:00
Paul Vriens
a221e0e2dd Return TRUST_E_PROVIDER_UNKNOWN until implemented. 2005-07-15 09:54:34 +00:00
Alexandre Julliard
3be8cb8b02 Moved initialization of the default user process parameters to ntdll. 2005-07-14 12:33:30 +00:00
Oliver Stieber
3aefc4e4a4 Fixed a bug in Preload caused be a missing brace around a for loop,
slightly improved the way that errors are handled by passing back hr
from some function calls.
2005-07-14 12:31:05 +00:00
Stefan Huehner
190e1597ff Fix some missing-declarations warnings. 2005-07-14 12:19:53 +00:00
Jacek Caban
eae4e45c01 - Added more tests.
- Make tests pass under Wine.
2005-07-14 12:18:59 +00:00
Jacek Caban
c532793426 Added MSHTML library declaration. 2005-07-14 12:18:30 +00:00
Alexandre Julliard
9ad5628639 Moved the server start time to the init_thread request and got rid of
the init_process request (based on a patch by Felix Nawothnig).
2005-07-14 10:32:46 +00:00