Commit Graph

12618 Commits

Author SHA1 Message Date
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
Robert Shearman ec167634f9 Handle CopyImage and other functions failing by not adding the icon
and notifying the caller.
2005-07-14 10:15:59 +00:00
Juan Lang 31acf7f5a5 Release DC in error condition on StretchDIBits. 2005-07-14 10:15:42 +00:00
Jacek Caban 04a8cff140 - Better handling of UI and InPlace active state.
- Implemented InPlaceDeactivate.
- THIS macros cleanup.
2005-07-14 10:14:33 +00:00
Juan Lang 13766712f9 Encode/decode certs, with tests. 2005-07-14 10:14:22 +00:00
Alexandre Julliard 11ad6a0ac4 Return the startup info size in the init_thread request, and allocate
the process parameters structure in ntdll instead of kernel.
2005-07-13 19:43:35 +00:00
Oliver Stieber b220ce1343 Correct a few formats that were incorrect. 2005-07-13 19:38:39 +00:00
Jacek Caban 375548634d Added downloadmgr.idl. 2005-07-13 19:31:07 +00:00
Alexandre Julliard d3a6a16efd Initialize relay debugging earlier on now that the registry is loaded
by the server.
2005-07-13 14:23:06 +00:00
Alexandre Julliard 4391be583e Get rid of the boot_done request. 2005-07-13 14:20:13 +00:00
Oliver Stieber 9253e0e39c Tidy up some comments and formatting. 2005-07-13 14:15:54 +00:00
Huw Davies 1ed9bac896 Partial implementation of SetJobW.
Set the document title in StartDocPrinter.
2005-07-13 14:14:37 +00:00
Alexandre Julliard 0424f38169 Already initialize the process in the first init_thread request
instead of waiting for the init_process request.
2005-07-13 12:12:43 +00:00
Alexandre Julliard 7258914ef6 Use the official names for the Unicode string constants. 2005-07-13 12:07:41 +00:00
Mike McCormack bda7ace2e9 Interlocked LONG* gcc warning fixes. 2005-07-13 11:59:15 +00:00
Hans Leidekker 8d63dfb73e Beginnings of WLDAP32. 2005-07-13 11:56:15 +00:00
Alexandre Julliard 1ca3de36e8 Ignore high bit of spin count. 2005-07-13 11:38:08 +00:00
Oliver Stieber 6a032491d3 Added basic memory management and tracking to wined3d. 2005-07-13 11:34:55 +00:00
Jacek Caban 56a13d13e9 THIS macros cleanup. 2005-07-13 11:29:53 +00:00
Jacek Caban 9caed94dd1 Call ShowUI and HideUI in UIActivate. 2005-07-13 11:29:38 +00:00
Henning Gerhardt 7581d47f92 - Added German winspool resource file.
- Updated German winecfg resource file.
2005-07-13 11:29:26 +00:00
Alexandre Julliard 01caa5e645 Moved the fields that depends on startup info from the init_process
request to get_startup_info.
2005-07-12 20:27:09 +00:00
Mike McCormack 8c64ebc963 Clean up CURSORICON_Load. 2005-07-12 20:23:18 +00:00
Aric Stewart 4b9f3728e0 Both wcschr and wcsrchr should be able to find the terminating
character.
2005-07-12 19:28:04 +00:00
Mike McCormack 0791d06215 Interlocked LONG* gcc warning fixes. 2005-07-12 19:21:36 +00:00
Huw Davies f675a78340 Forward SetJobA -> SetJobW. 2005-07-12 19:19:09 +00:00
Aric Stewart 2e963b89e2 Further testing shows that when CustomActionData needs to be blank it
is an empty string not ' '.
2005-07-12 19:18:48 +00:00
Mike McCormack 8012754ee2 Remove CURSORICON_SimulateLoadingFromResourceW. 2005-07-12 19:18:31 +00:00
Mike McCormack 37a8e0d0c9 Modify CURSORICON_FindBestIcon/Cursor to use enumerator functions. 2005-07-12 18:11:54 +00:00
Robert Shearman 30ff940a68 Call SetLastError on errors. 2005-07-12 18:11:40 +00:00
Robert Shearman ff93df6e0f - Support right-aligned text in TabbedTextOut.
- Add documentation.
2005-07-12 18:11:26 +00:00
Alexandre Julliard 4b0809e8a8 Use the unicode.h functions where possible. 2005-07-12 17:57:31 +00:00
Aric Stewart 27867e2502 Use the SourceList functions to get the source path in
ConfigureProductExW.
2005-07-12 17:56:17 +00:00
Aric Stewart 2d8cb29516 When working toward install on demand support we need to reset all the
constant values so that multiple install process do not get confused
by leftover values from the previous install.
2005-07-12 17:56:03 +00:00
Robert Shearman 7dd1d21132 - Implement LB_SETLOCALE.
- Remove incorrect FIXMEs for LB_USETABSTOPS.
2005-07-12 17:55:35 +00:00
Frank Richter 4d363ab085 Better viewport origin in DrawThemeParentBackground(). 2005-07-12 17:55:20 +00:00
Mike McCormack c447939033 Interlocked LONG* gcc warning fixes. 2005-07-12 17:03:19 +00:00
Oliver Stieber 9f7e794ca6 Implement UpdateTexture and UpdateSurface in wined3d.
Allow NULL members of WINED3DSURFACE_DESC to be set to Surface_GetDesc
so that the whole structure doesn't have to be filled just to get back
one value.
2005-07-12 17:02:47 +00:00