Commit Graph

13762 Commits

Author SHA1 Message Date
Oliver Stieber 357a484a7e Enable dxt2 and dxt4 compressed textures to be created via
Device_CreateSurface.
2005-09-23 10:48:01 +00:00
Dmitry Timoshkov 37548987ad COLOR_3DFACE is a better choice for the dialog background. 2005-09-23 10:47:26 +00:00
Eric Kohl da46628883 - String id 0 becomes a reserved (invalid) id.
- StringTableStringFromId returns a pointer to an empty string if the
  string id is invalid.
2005-09-23 10:09:47 +00:00
Mike McCormack 202166c343 Stub implementation of the RemoveIniValues action. 2005-09-23 10:09:18 +00:00
Robert Reif 3468a80cf5 Fix dxerr awk scripts to output single quotes properly. 2005-09-23 10:08:57 +00:00
Robert Shearman 53ef9950f2 Implement some IRunningObject functions that actually start the server
and initialize it.
2005-09-23 10:08:35 +00:00
Robert Shearman 3daf39fb0c Implement OleRegEnumVerbs. 2005-09-23 10:08:25 +00:00
Robert Shearman 044ccc40f3 Don't fail in CoRegisterClassObject if the class already exists and
the REGCLS_MULTIPLEUSE flag is specified.
2005-09-23 10:08:11 +00:00
Oliver Stieber 0fac2d96fc Clean up all the objects bound to the device when the device is
destroyed as a result of its ref count reaching zero.
2005-09-23 10:07:46 +00:00
Vijay Kiran Kamuju 07b53de0b2 Implementation of _get_sbh_threshold and _set_sbh_threshold
functions.
2005-09-23 10:07:05 +00:00
Richard Cohen 106af86740 Fix compile without XRender. 2005-09-23 10:05:54 +00:00
Robert Reif 594b7f26e4 Fix capture test to not fail when IDirectSoundCapture class is not
registered.
2005-09-23 10:05:40 +00:00
Mike McCormack 67f83ba7e5 Take advantage of the msi_get_deformatted_field function to simplify
some code.
2005-09-23 10:05:23 +00:00
Mike McCormack 216a4427d5 Avoid using static variables in the InstallFiles action. 2005-09-23 10:05:08 +00:00
Mike McCormack 470f23d471 Fix various memory leaks. 2005-09-22 10:56:26 +00:00
Mike McCormack 994382b2ee Skip the first character of a font identifier if it's \ or &. 2005-09-22 10:54:56 +00:00
Mike McCormack af71ce16bf Fix an error introduced when converting dialog lists to standard
lists.
2005-09-22 10:49:26 +00:00
Mike McCormack 566c69e7e4 Simplify the ProcessComponents action a little. 2005-09-22 10:49:17 +00:00
Alex Villacís Lasso 680bf12aec Fix a scaling error in VarR4FromDec() and VarR8FromDec() that
incorrectly multiplies the high 32 bits of the DECIMAL by 1e64 instead
of the correct 2^64.
2005-09-22 10:49:01 +00:00
Alexandre Julliard 0ec0f048e6 Removed unused debug channels. 2005-09-22 10:44:40 +00:00
Alex Villacís Lasso 253f3bf5be Modify VarDiv() and VarSub() to use the existing VarDecSub() and
VarDecDiv() for DECIMAL.
2005-09-22 10:35:16 +00:00
Robert Shearman 6bc4327c92 - Initialize out pointer to NULL before access check in
IStorage_CreateStorage.
- WriteClassStg should return E_INVALIDARG if pstg is NULL instead of
  asserting.
- ReadClassStg should return E_INVALIDARG if pstg is NULL instead of
  crashing and a NULL pclsid should cause it to return the same
  value.
2005-09-22 10:34:40 +00:00
Mike McCormack 1c5967c48c Load a table's column information separately from the table itself. 2005-09-22 10:34:07 +00:00
Mike McCormack 75658d7aaa Make build_icon_path return the path directly. 2005-09-22 10:33:57 +00:00
Alexandre Julliard 9f1c6de1ef We are no longer generating .spec.c files. 2005-09-21 14:42:52 +00:00
Alexandre Julliard 5cb97d833a Generate 16-bit spec files as assembly code too. 2005-09-21 14:23:54 +00:00
Steven Edwards 331e09c22c Added stringtable regression test. 2005-09-21 14:16:05 +00:00
Eric Kohl 8196e2d0d0 Implement setupapi stringtable functions. 2005-09-21 14:12:15 +00:00
Kai Blin c532c866c6 Added base64 codec for communication with ntlm_auth. 2005-09-21 11:43:52 +00:00
Alexander N. Sørnes 51ff901f97 Added Norwegian translation of comctl32 and shell32. 2005-09-21 11:43:31 +00:00
James Hawkins 6a09a4f890 Add the SizeBar. 2005-09-21 11:42:41 +00:00
Vitaliy Margolen 97c944c061 Specify flag OBJ_CASE_INSENSITIVE when calling appropriate Ntxx
functions creating/opening named objects.
2005-09-21 11:42:30 +00:00
Mike McCormack d34b1c23a2 Implement MsiSequenceA/W. 2005-09-21 10:55:23 +00:00
Oliver Stieber 329d017db3 Start to implement TestCooperativeLevel. 2005-09-21 10:55:03 +00:00
Mike McCormack 7d7da60db4 Don't refcount tables. 2005-09-21 10:20:20 +00:00
Mike McCormack f3f12ab56b Simplify the InstallValidate action a little. 2005-09-21 10:20:03 +00:00
Mike McCormack 4407ea632d Make sure not to free a a pointer that has been modified.
Check that the text identifier doesn't contain invalid characters.
2005-09-21 10:19:42 +00:00
Oliver Stieber 0c2fcf2efe Added support for state management of vertex shader constants via
stateblocks.
2005-09-21 10:19:29 +00:00
Alexandre Julliard 489c6b3865 Ignore relocations for unmapped pages. 2005-09-21 09:47:12 +00:00
Mike McCormack c818a4e662 Fix "empty body in an if/else-statement" warnings. 2005-09-21 09:46:28 +00:00
Mike McCormack 6dc309187c Fix some simple memory leaks. 2005-09-21 09:43:29 +00:00
Oliver Stieber 5ea96a851f Implemented occlusion queries using either GL_ARB_occlusion_query or
GL_NV_occlusion_query.
2005-09-21 09:43:13 +00:00
Oliver Stieber f7eb64ce97 Correct the number of parameters (and partly their names) for the
undocumented functions ValidatePixelShader and ValidateVertexShader.
2005-09-21 09:42:20 +00:00
Jason Edmeades a18b7baa87 Fix some off by one calculations in the comboboxex functions, and
handle an out of range positive index the same as windows + unit test
case.
2005-09-21 09:41:44 +00:00
Huw Davies 2a75800c4a Release the dc before drawing the underline and strikeout lines. 2005-09-21 09:41:13 +00:00
Dmitry Timoshkov 12b2cf4c77 Fix the usage of COLOR_xxx constants in the place of the window's
class hbrBackground.
2005-09-20 12:02:45 +00:00
James Hawkins 2a4cbe02e5 Correctly draw the navigation pane. 2005-09-20 12:00:46 +00:00
Mike McCormack ee034ba4c2 Added memory allocation inline functions (part 2). 2005-09-20 11:59:14 +00:00
Mike McCormack 8dc28d5306 Added memory allocation inline functions (part 1). 2005-09-20 11:57:19 +00:00
Alexandre Julliard 8defc28951 Exported symbols now get resolved properly so we no longer need the
list of dummy references.
2005-09-20 11:40:55 +00:00
Alexandre Julliard c61f11eadf Added a magic number to the WDML_CONV structure to fix some failing
tests.
2005-09-20 11:39:19 +00:00
Mike McCormack c621a5801f Fix if's that are followed by semicolons. 2005-09-20 11:37:58 +00:00
Jan Van Buggenhout eebf13a1d8 implement stubs for MsiSequence[AW]. 2005-09-20 11:37:30 +00:00
Robert Shearman 0a49c1752e Implement OleIsRunning. 2005-09-20 11:36:56 +00:00
Robert Shearman d389b57171 - Fix a trace to refer to the object ID rather than the legacy MID.
- Fix the error case of CoMarshalInterThreadInterface to release the
  stream.
2005-09-20 11:36:40 +00:00
Milko Krachounov 980f817737 Bulgarian resources for mpr, msi, user, commdlg, oleaut32, shdocvw,
shell32, comctl32, msrle32, mshtml, winspool, wineps, serialui,
setupapi, wininet, regedit, uninstaller, notepad, winecfg and
winhelp.
2005-09-19 17:00:58 +00:00
Dmitry Timoshkov 9628a781bf Use the event's width and height not the translated window rect to
recognize a zero sized window in the ConfigureNotify handler.
2005-09-19 15:25:53 +00:00
James Hawkins 5d5de034ce Add initial toolbar button handling. 2005-09-19 15:25:18 +00:00
Oliver Stieber b7603859f3 Return the adaptor mode as X8R8G8B8 when BPP is 24 or 32 bits. 2005-09-19 15:25:07 +00:00
Alexandre Julliard 7a52190c03 Take into account -noname functions when checking for duplicate export
names. Fixed a couple of issues found by the stricter check.
2005-09-19 14:44:28 +00:00
Robert Shearman 83f3b370b1 - Remove redunant braces.
- Compact multi-line comments that fit into one line.
- Remove comments that state the obvious.
- Remove extra brackets that are redundant because the -> operator
  binds tighter than &.
- Change "this" to "This" to make code more like other interface
  implementations.
- Remove redundant comparisons with NULL for pointers.
2005-09-19 14:42:53 +00:00
Vijay Kiran Kamuju 8c2ba6f93c Added __p__amblksiz implementation. 2005-09-19 14:41:25 +00:00
Uwe Bonnes 6c0cd69f22 Don't free a modified pointer. 2005-09-19 14:40:18 +00:00
Huw Davies c292f4861d Fix a problem with handling ETO_GLPYH_INDEX. Spotted by Rob
Shearman.
2005-09-19 14:36:32 +00:00
Robert Shearman 0ceacf017f Fix the return codes during unmarshaling so that it returns failure
codes instead of S_FALSE returned from IStream_Read.
2005-09-19 14:34:04 +00:00
James Hawkins 13ee51e236 Check for an empty string not a NULL pointer. 2005-09-19 14:31:45 +00:00
Dmitry Timoshkov 5387b672a3 Directly copy DIB bits into destination DC. 2005-09-19 14:31:32 +00:00
Oliver Stieber 4752553d57 Prevent CheckDepthStencilMatch from causing problems if there is a
current active OpenGL context.
2005-09-19 14:31:21 +00:00
Oliver Stieber 7df17cecce Stop vertex shader constants from being set at the same time as the
vertex shader when a stateblock is applied.
2005-09-19 14:30:34 +00:00
Kimmo Myllyvirta d4dff29081 Added Finnish resources. 2005-09-19 14:29:49 +00:00
Marcus Meissner 43e73ebba2 Support more arguments in _invoke(). 2005-09-19 14:29:41 +00:00
Jacek Caban 976dd6c075 - Added IHttpNegotiate2 interface.
- Update BINDSTRING and IInternetSession.
2005-09-19 14:29:16 +00:00
Ge van Geldorp c00ded589a Do some bounds checking on iOrder. 2005-09-18 12:29:35 +00:00
Alexander N. Sørnes f9b3edb42e Added Norwegian translations. 2005-09-18 12:26:22 +00:00
Alexandre Julliard 96508ad686 Moved return value handling to the individual relay thunks so that we
only need one version of wine_call_from_16.
Patch the wine_call_from_16 address along with the cs value directly
in the 16-bit code segment to avoid the need for special magic in the
import thunks.
2005-09-18 12:25:22 +00:00
Alexandre Julliard 2cf740619f Fixed some trace format strings (reported by Gerald Pfeifer). 2005-09-18 11:15:16 +00:00
Alexandre Julliard 89024a63d3 Make the users of wine_call_from_32_regs save %eax so that we don't
need a special hack in the import thunk.
Added a get_pc_thunk_eax function to simplify the code a bit.
2005-09-18 11:13:54 +00:00
Dmitry Timoshkov 66f603ce4b Call SetDIBits with a proper DC in order to set bitmap bits. 2005-09-18 11:12:00 +00:00
Kimmo Myllyvirta 4d0f076092 If HKCU\Software\Wine does not yet exist, create it as non-volatile
key, instead of volatile.
2005-09-18 11:11:49 +00:00
Christian Lupien 112115bd22 Avoid overflow in the read file limit check. 2005-09-18 11:11:36 +00:00
Robert Shearman b3a4b59668 Fix ref-counting rules to match native DCOM Dlls. 2005-09-18 11:10:37 +00:00
Dmitry Timoshkov 8cef366e61 Revert previous change, it should not be needed anymore since a
proper fix for mmioDescend regression has been committed.
2005-09-17 14:30:15 +00:00
Mike McCormack 230e71cc18 Fix memory leaks in the table code. 2005-09-17 14:29:38 +00:00
Mike McCormack dcb0f239fe Read the MaskEdit template from the correct db field. 2005-09-17 14:29:29 +00:00
Robert Shearman 18bd21d4f1 Re-arrange some functions and vtables so we don't have declarations
for all of the functions in the file.
2005-09-17 14:29:11 +00:00
Ge van Geldorp e3b3c5ad7c Buffer size needs to be specified in bytes on input. 2005-09-17 14:29:01 +00:00
Robert Shearman 4db3769e70 GetDesktopWindow can now potentially create a thread, so we shouldn't
call this function from DllMain otherwise it is possible to cause a
deadlock.
2005-09-17 14:28:44 +00:00
Alexandre Julliard ebf7a5d408 Preliminary implementation of signal handling for x86-64. 2005-09-16 19:40:52 +00:00
Dmitry Timoshkov 08de86c831 Add a test for mmioDescend, make it pass under Wine. 2005-09-16 19:40:27 +00:00
Mike McCormack b84e29747b Convert the list of dialog controls to a standard list. 2005-09-16 19:40:00 +00:00
Mike McCormack 6b5f290d75 Make load_string_table return the string table. 2005-09-16 19:01:40 +00:00
Mike McCormack 43fece976f Deformat all dialog text strings before using them. 2005-09-16 19:01:18 +00:00
Alexandre Julliard 06ea6e6e3f Fixed a few pointer truncation bugs for 64-bit platforms. 2005-09-16 18:54:19 +00:00
Alexandre Julliard cdf92942b1 Use the proper size for the cmsg_fd structure on 64-bit plaforms. 2005-09-16 18:52:47 +00:00
Alexandre Julliard 1476116b3a Forward all functions to msvcrt instead of having them link directly
to libc.
2005-09-16 18:50:06 +00:00
Huw Davies 4fb2f50d5f Order the bitmap font list by the ansi codepage bit position.
Fix a few comments.
2005-09-16 18:46:54 +00:00
Jacek Caban 67e2759553 More tests of URLMoniker. 2005-09-16 18:46:29 +00:00
Mike McCormack 978d12d0f6 Load riched20.dll on demand, and unload it after it's used (based on a
patch by Rob Shearman).
2005-09-16 18:45:33 +00:00
Mike McCormack 67189f9d1a Fix a bug in a previous patch spotted by Dieter Komendera. 2005-09-16 18:45:19 +00:00
Mike McCormack 4a202c2112 Fix the stub for MsiConfigureFeature. 2005-09-16 18:45:04 +00:00
Jacek Caban 438f19b9b8 Added SetClientSite implementation. 2005-09-16 18:44:37 +00:00
Stefan Leichter b7819c2431 Added stubs for DllRegisterServer, DllUnregisterServer and
WintrustSetRegPolicyFlags.
2005-09-16 18:44:26 +00:00
Robert Shearman c218e74184 Fix String SID parsing. 2005-09-16 18:44:17 +00:00
Alexandre Julliard 91861e44e7 Fixed a compiler warning. 2005-09-15 18:55:37 +00:00
Jacek Caban 91d6288e35 Added CoInternetGetSession implementation. 2005-09-15 18:47:13 +00:00
Mike McCormack 062ad50510 Rename load_dynamic_property and remove its unused 3rd argument. 2005-09-15 15:04:08 +00:00
Alexandre Julliard 9f49889188 Now that everything is done in assembly in the spec file, directly
generate a .s file to bypass gcc inefficiency with large data
structures.
2005-09-15 15:01:30 +00:00
Mike McCormack 4db02cdb0b Use the new msi_reg_set* macros where possible. 2005-09-15 14:58:38 +00:00
Alexandre Julliard f826b86056 Fixed gcc 4.0 warnings. 2005-09-15 09:49:18 +00:00
Mike McCormack 8a61b4ef16 Create a macro to write a value to a subkey. 2005-09-15 09:31:41 +00:00
James Hawkins ec821b698b Embed the browser object in the HTML window. Spotted by Jacek Caban. 2005-09-15 09:31:28 +00:00
Stefan Leichter 443910ba27 Added stubs for CryptInitOIDFunctionSet and
CryptUnregisterDefaultOIDFunction.
2005-09-15 09:31:20 +00:00
Rein Klazes c16e70587a - Set the LastError in OpenSCManager in case of errors;
- Accept machine names without a '\\' prefix in OpenSCManager and
  RegConnectRegistry.
- Add a regression test for that.
2005-09-15 09:31:05 +00:00
Huw Davies d64172dc5e Remember to remove a child font from the child font list. 2005-09-15 09:29:37 +00:00
Huw Davies 63308e5af4 Only add Tahoma to the System font's link list if we can actually find
it.
2005-09-14 19:17:00 +00:00
James Hawkins 3fdcfe998f - Zero the WBInfo struct to get rid of invalid pointers.
- Store object pointers in the WBInfo struct as they're created.
2005-09-14 19:16:13 +00:00
Robert Shearman 2c6ab0dba5 - Add support for navigating a toolbar with the arrow keys.
- Fix WrapToolbar in the case of no parent window.
- Use the newly added NMTBINITCUSTOMIZE for sending the
  TBN_INITCUSTOMIZE so that it is safe on 64-bit platforms.
2005-09-14 19:16:03 +00:00
Mike McCormack fb45042e4d Create a macro function to write registry values. 2005-09-14 15:42:27 +00:00
Dmitry Timoshkov fe1021a629 Perform automatic bitmap font configuration based on the current
locale.
2005-09-14 15:39:29 +00:00
Jacek Caban c54f013787 Added http and ftp protocol stub implementation. 2005-09-14 15:38:26 +00:00
Alexandre Julliard cf3eddee66 Avoid a redefinition warning on 64-bit platforms. 2005-09-14 11:31:46 +00:00
Ge van Geldorp 748d23a7d4 Base of REG_DWORD entries must be auto-detected. 2005-09-14 11:15:58 +00:00
Mike McCormack ade532a163 Remove some unused values in the object header. 2005-09-14 11:15:22 +00:00
Huw Davies 14d5e68f19 Cope with OpenFontFile failing. 2005-09-14 11:15:05 +00:00
Alexandre Julliard fb9cead92b Support arbitrary sizes for the thread signal stack, and set the
default size from the MINSIGSTKSZ constant.
2005-09-14 10:36:58 +00:00
Alexandre Julliard 305b221cf0 Get rid of another long long constant. 2005-09-14 10:30:36 +00:00
Jacek Caban 097750cf95 Added MIME type checking to FileProtocol::Start. 2005-09-14 10:29:56 +00:00
Mike McCormack 5f1b258c9c Convert the list of tables to a standard list. 2005-09-14 10:07:26 +00:00
Mike McCormack b5f878936f Fix gcc 4.0 warnings. 2005-09-14 10:07:15 +00:00
Robert Shearman 43df8b61bb Add exception handling for stubs. 2005-09-14 10:07:01 +00:00
Jacek Caban b3ae533e00 Added MIME type checking to ResProtocol::Start. 2005-09-14 10:06:34 +00:00
Filip Navara 5d0a292dd2 Fix a couple of prototypes. 2005-09-14 10:06:17 +00:00
Alexandre Julliard 7c1925a0f3 Remove the 'L' suffix on a number of constants to avoid comparison
errors on 64-bit platforms.
2005-09-13 15:00:32 +00:00
Alexandre Julliard 127127fd3b Timeout 0 means infinite wait for SendMessageTimeout.
Remove the message from the receiver queue if it times out before
being received.
2005-09-13 14:46:46 +00:00
Michael Jung aa0da30296 Fixed inconsistency in LISTVIEW_DUMP macro. 2005-09-13 14:30:53 +00:00
Jacek Caban 0bc9e7d41c Added PARSE_SECURITY_DOMAIN action implementation. 2005-09-13 14:30:15 +00:00
Alexandre Julliard 903e0b9fc5 Get rid of a couple of non-portable long long constants. 2005-09-13 11:26:36 +00:00
Mike McCormack 1cdffb26c9 Fix the handling of MsiGetTargetPath args (with test case). 2005-09-13 11:25:20 +00:00
Mike McCormack 2acf5086ff Make sure to release the package we grabbed on the error path. 2005-09-13 11:25:07 +00:00
Ge van Geldorp 348449a486 Save a few megabytes of memory by loading the default icon only once
into the image lists.
2005-09-13 11:24:52 +00:00
Mike McCormack e17ef695a2 Fix the handling of MsiDoAction args (with test case). 2005-09-13 10:37:46 +00:00
Mike McCormack 79ca56cd6a Eliminate fixed length buffers from the MSIFEATURE structure. 2005-09-13 10:37:37 +00:00
Walt Ogburn d765cb960f Get IFontDisp type information from stdole2.tlb, instead of IDispatch
information from stdole32.tlb.
2005-09-13 10:36:54 +00:00
Mike McCormack bfb04ad7c0 Fix gcc 4.0 warnings. 2005-09-13 10:33:39 +00:00
Mike McCormack b2e2b70d06 Skip dash characters in the PIDMask for a MaskedEdit control. 2005-09-13 10:33:04 +00:00
James Hawkins 3e507e3ca5 - Add the WebBrowser implementation.
- Load the default Url in the HTML Pane.
2005-09-13 10:32:47 +00:00
Detlef Riekenberg 7bb00b1c20 Let EnumPrinterDrivers return the number of drivers. 2005-09-13 10:32:33 +00:00
Marcus Meissner bd7ec9aca5 The last argument to MultiByteToWideChar is wide character count and
not the buffer size in bytes. Fixed all places where it was wrong.
2005-09-12 22:07:53 +00:00
Jacek Caban db62ddec4d Register ZoneMap. 2005-09-12 22:01:47 +00:00
Eric Pouech ad0168967e Implemented kernel32.GetThreadTimes on top of ntdll's equivalent
function.
2005-09-12 22:01:33 +00:00
Alexandre Julliard ba41fe20bc Fixed a few more pointer to integer typecast issues for 64-bit
platforms.
2005-09-12 21:22:32 +00:00
Jacek Caban 45ece95e51 Added IWebBrowser2 stub implementation. 2005-09-12 21:17:57 +00:00
Alexandre Julliard 5a49e40149 SendMessageTimeout takes a DWORD_PTR not a DWORD. 2005-09-12 20:43:32 +00:00
Alexandre Julliard d559fbd803 Fixed gcc 4.0 warnings. 2005-09-12 20:30:37 +00:00
Alexandre Julliard 5224f74be5 Make the non-client message handling functions return an LRESULT. 2005-09-12 20:30:12 +00:00
Alexandre Julliard e1646dd215 Use MAKEINTRESOURCE instead of casts where appropriate. 2005-09-12 20:29:16 +00:00
Alex Villacís Lasso 3f05998c6a Initialize structs for mmioDescend and FindChunkAndKeepExtras - fixes
AVI file recognition.
2005-09-12 20:14:49 +00:00
Jacek Caban 635d81660c Encode URL in ResProtocol::Start. 2005-09-12 20:12:58 +00:00
Jacek Caban fa1a986093 Rewrote FindMimeFromData to pass tests. 2005-09-12 20:12:40 +00:00
Alexandre Julliard 157f974159 Use Get/SetWindowLongPtr to access pointers in the window extra
bytes.
2005-09-12 15:38:56 +00:00
Alexandre Julliard 556a129afa Avoid truncating the item data to 32 bits in LB_SETITEMDATA. 2005-09-12 15:36:39 +00:00
Alexandre Julliard f367051afe Parameters to virtual memory functions need to be SIZE_T. 2005-09-12 15:35:04 +00:00
Dmitry Timoshkov 2372e9c952 strcpynAtoW takes number of characters, not bytes. 2005-09-12 15:33:50 +00:00
Alexandre Julliard cbca5f2297 Fixed gcc 4.0 warnings. 2005-09-12 15:32:50 +00:00
Mike McCormack 35c20561a7 Fix gcc 4.0 warnings. 2005-09-12 15:28:15 +00:00
Mike McCormack ca2c8c867f Eliminate yet more fixed length buffers. 2005-09-12 15:28:00 +00:00
Alexandre Julliard 261e376495 Fixed a number of pointer to integer conversions that wouldn't work
right on a 64-bit platform.
2005-09-12 15:14:06 +00:00
Alexandre Julliard b597f99960 Fixed memory leak introduced in previous change. 2005-09-12 14:14:50 +00:00
Alexandre Julliard c6b005ac69 Fixed some more traces to use the right printf format and avoid
typecasts.
2005-09-12 14:12:46 +00:00
Alexandre Julliard 5c37785881 Use Get/SetWindowLongPtr when accessing pointers in the window extra
bytes.
2005-09-12 12:20:38 +00:00
Ge van Geldorp 5b7da80911 Fix execution of Control Panel items. 2005-09-12 12:10:57 +00:00
Mike McCormack efcc1ec5e4 Fix more fixed length buffers. 2005-09-12 12:07:15 +00:00
Alexandre Julliard 92167f6021 Use Get/SetClassLongPtr to access the module handle. 2005-09-12 12:06:26 +00:00
Alexandre Julliard 2c1b3c6a1d The item user data has to be a ULONG_PTR. 2005-09-12 11:24:23 +00:00
Alexandre Julliard f4bf9dee3c LOGBRUSH.lbHatch must be a ULONG_PTR since it can contain a handle. 2005-09-12 11:19:56 +00:00
Alexandre Julliard 92a5149540 Avoid non-portable va_list manipulations. 2005-09-12 11:13:05 +00:00
Huw Davies e33f622bd1 Use the gasp table to check whether we should trigger antialiasing. 2005-09-12 11:11:30 +00:00
Jacek Caban dc420fe6c3 Encode URL in file protocol. 2005-09-12 11:11:11 +00:00
Frank Richter fc4b08d5fc Unregister theming subclasses at comctl32 shutdown; should fix
reported re-registration errors.
2005-09-12 11:10:58 +00:00
Jacek Caban fecc5f21a7 Fix protocol test. 2005-09-12 11:10:22 +00:00
Kimmo Myllyvirta 264a33654a Added Finnish resources. 2005-09-12 11:10:03 +00:00
Mike McCormack cbb5709a04 Make sure not to access invalid components or features. 2005-09-12 11:08:20 +00:00
Jacek Caban 9dc4921e2f Added urlmon.inf as dependency of rsrc.res. 2005-09-12 11:08:00 +00:00
Alexandre Julliard d3dba4e56c Fixed gcc 4.0 warnings. 2005-09-12 10:52:38 +00:00
Alexandre Julliard 884599112e Use SIZE_T instead of ULONG for the size arguments of the virtual
memory functions.
2005-09-12 10:36:06 +00:00
Alexandre Julliard f8ee161a1b Fixed some traces to use the right printf format and avoid typecasts. 2005-09-12 10:30:05 +00:00
Mike McCormack a9a3bc7b14 Fix an uninitialized variable problem. 2005-09-12 10:11:23 +00:00
Jacek Caban b3084d55e4 Added PARSE_SECURITY_URL action implementation. 2005-09-12 10:10:52 +00:00
Paul Vriens 90215e81bb Return ERROR_SUCCESS as default and TRUST_E_PROVIDER_UNKNOWN if asked
for WINTRUST_ACTION_GENERIC_VERIFY_V2.
2005-09-12 10:10:36 +00:00
Jacek Caban 5854c4d575 Added *ProtocolInfo::ParseUrl implementation. 2005-09-12 10:10:21 +00:00
Jacek Caban b241d51708 Make IConnectionPointContainer interface heap based. 2005-09-12 10:10:04 +00:00
Juan Lang 4a9d838ca4 Remove an annoying dialog when trying to clean up a directory. 2005-09-12 10:09:50 +00:00
Dmitry Timoshkov 7647cffbdf Add a test for ShowWindow(SW_SHOWMAXIMIZED) called for a not visible
overlapped window, which shows that WM_SHOWWINDOW is not sent in that
case and that it should activate a window and bring it to top.
2005-09-12 10:09:40 +00:00
Juan Lang 807b11b363 When decoding a signed cert, make sure it's really a cert. 2005-09-12 10:08:34 +00:00
Alexandre Julliard e4b2a0bbbc Use Get/SetWindowLongPtr instead of Get/SetWindowLong where
appropriate.
2005-09-09 15:20:04 +00:00
Alexandre Julliard 4c34d9386c Specify 64-bit integers as double instead of long long in spec files
so that we get the correct number of arguments.
2005-09-09 15:05:01 +00:00
Alex Villacís Lasso 10f0ace4a2 Make Single|Double->BSTR conversion use the specified locale for the
decimal point even without the LOCALE_USE_NLS flag. Test supplied.
2005-09-09 15:01:17 +00:00
Mike McCormack 840eca52f6 Fix gcc 4.0 warning. 2005-09-09 14:50:29 +00:00
Mike McCormack 1f09af3004 Move a fixed size buffer to the heap. 2005-09-09 14:49:08 +00:00
Mike McCormack f11c8b0098 Reduce the indent level of a function. 2005-09-09 14:48:51 +00:00
Alexandre Julliard 22a5332661 Added descriptions for a few more machine types. 2005-09-09 10:42:42 +00:00
Francois Gouget 6415654f5f If given the EWX_FORCE flag, ExitWindowsEx() should not send the
WM_{QUERY}ENDSESSION messages.
Add support for EWX_FORCEIFHUNG.
ExitWindowsEx() should return true if it succeeds, even if the user
cancels the shutdown.
2005-09-09 10:35:47 +00:00
Alexandre Julliard 20a1a203c6 Use a more portable scheme for storing the name of a critical
section.
2005-09-09 10:19:44 +00:00
Jacek Caban 5cd9c3f625 Make IQuickActivate interface heap based. 2005-09-09 10:05:40 +00:00
Ulrich Czekalla 4e8ec876f0 Display fccType as hex instead of characters in trace output. 2005-09-09 10:05:02 +00:00
Vincent Béron a3e3b1e360 Use proper ifdefs around unistd.h. 2005-09-09 09:11:10 +00:00
Juan Lang 25cb6e081f - call CertFreeCertificateContext from CertDeleteCertificateFromStore
- fix some ref counting problems
2005-09-09 09:09:45 +00:00
Jacek Caban 110cfa3428 Move protocol's CLSIDs to urlmon.idl. 2005-09-09 09:09:22 +00:00
Jacek Caban ebcb86d10d Added PARSE_PATH_FROM_URL action implementation. 2005-09-09 09:08:56 +00:00
Stefan Leichter fa34635ce9 Added version resource to urlmon.dll. 2005-09-09 09:08:41 +00:00
Alexandre Julliard c7d649483b Define GET_IP for x86_64. 2005-09-08 19:17:04 +00:00
Alexandre Julliard 6f163b56b5 Avoid 'clobbered by longjmp' warnings. 2005-09-08 18:59:52 +00:00
Hans Leidekker 8be6ee3653 Implement ldap_create_sort_control*. 2005-09-08 18:56:22 +00:00
Juan Lang 300c10a3b7 - implement system stores
- remove an intermittently failing registry test
2005-09-08 18:56:14 +00:00
Jacek Caban 09d9f4293c Make IProvideClassInfo2 interface heap based. 2005-09-08 18:55:50 +00:00
Ulrich Czekalla 613cf57872 ckid not fccType specifies the form type to search for. 2005-09-08 18:55:33 +00:00
Jacek Caban 1103e716bd Release BINDINFO in *Protocol::Start. 2005-09-08 18:55:18 +00:00
Huw Davies 95a2cead20 Fix return value of ExtTextOut in the case when count == 0. 2005-09-08 18:55:07 +00:00
Dmitry Timoshkov 4cc1c14005 Pass a locally modified version of SHELLEXECUTEINFO to
IShellExecuteHookW_Execute, this should pass through at least
sei_tmp.nShow retrieved from an .lnk file (fStartup).
2005-09-08 18:54:52 +00:00
Dmitry Timoshkov 8feb70aa01 - Stop using a not initialized variable szTemp in
_dbg_ILSimpleGetText, make _dbg_ILSimpleGetText return no value since
  nobody is using it.
- Stop dereferencing a possible NULL in pdump since
  _dbg_ILGetDataPointer can potentially return NULL (for instance for
  root or desktop pidl).
- Make shdebugstr_guid use standard wine_dbg_sprintf instead of the
  handmade solution.
2005-09-08 18:54:03 +00:00
Alexandre Julliard 7873573738 Fixed a comment. 2005-09-08 12:42:51 +00:00
Mike McCormack 5c1212261f Allocate memory rather than using fixed length buffers. 2005-09-08 12:42:31 +00:00
Mike McCormack 0232c5c45f Convert RunningActions array into a list. 2005-09-08 12:42:07 +00:00
Huw Davies 2014da26fc Have ExtTextOut call into the font linking mechanism.
GetCharWidth, GetCharABCWidths and GetTextExtentPoint should return
the widths of a linked font's glyphs.
2005-09-08 12:40:20 +00:00
Alexandre Julliard 38673cc01d Avoid a couple of 'clobbered by longjmp' warnings. 2005-09-08 11:27:26 +00:00
Mike McCormack fe1ec78841 Fix gcc 4.0 warnings. 2005-09-08 11:04:53 +00:00
Alexandre Julliard b4c69e0f12 Fix a file descriptor leak when opening the first file on a removable
device.
2005-09-08 11:04:34 +00:00
Mike McCormack b3b5ab8977 Improve a fixme message a little. 2005-09-08 11:04:03 +00:00
Mike McCormack 6db7f82539 - fix a bug introduced by the progid list conversion
- make a fixme a little less alarmist
2005-09-08 11:03:55 +00:00
Mike McCormack 41a04cc0de Fix memory leaks. 2005-09-08 11:03:45 +00:00
Mike McCormack 72faac0d2f Remove an unnecessary level of indent. 2005-09-08 11:03:35 +00:00
Mike McCormack 9cbe09be06 Fix memory leaks in custom actions. 2005-09-08 11:03:18 +00:00
Christian Costa 434fbc5144 Improve midi trace. 2005-09-08 11:02:48 +00:00
Ge van Geldorp 94dc00c558 Fix NdrServerContextMarshall prototype. 2005-09-08 11:02:38 +00:00
Ulrich Czekalla ee934ffadd Remove redundant check. 2005-09-08 11:02:15 +00:00
Jacek Caban e5b5eb693a Make IPersist* interfaces heap based. 2005-09-08 11:01:57 +00:00
Jacek Caban 2312fdeba4 Added ReleaseBindInfo implementation. 2005-09-08 11:01:46 +00:00
Ge van Geldorp ff59efe870 Fix DllCanUnloadNow prototype. 2005-09-08 11:01:27 +00:00
Hans Leidekker 907be53beb Implement ldap_control_free*, ldap_controls_free* and
ldap_free_controls*.
2005-09-08 11:01:08 +00:00
Juan Lang 1cf56599bd Implement system registry stores. 2005-09-08 11:00:51 +00:00
Juan Lang e385fc5c99 Convert a few more constants from strings to byte arrays. 2005-09-08 11:00:24 +00:00
Michael Jung c72d13291a Removed two todo_wine's around tests that meanwhile succeed on wine. 2005-09-07 13:28:49 +00:00
Michael Jung d101921b54 Pass correct pointer to SHFree in case of failure in
UNIXFS_path_to_pidl.
Return E_FAIL if we can't get the unix path in
IPersistFolder3::InitializeEx.
Return E_NOAGGREGATION if non-NULL pUnkOuter is given to the
constructor.
2005-09-07 13:28:38 +00:00
Alexandre Julliard 7f67b35a0d Replace a few more direct lpVtbl accesses by the proper macros. 2005-09-07 13:28:25 +00:00
Huw Davies 90b897f00e Implement FontIsLinked. 2005-09-07 13:26:49 +00:00
Aric Stewart c774bb026d Implement MsiReinstallFeature. 2005-09-07 13:26:06 +00:00
Juan Lang 5ef9d88cab Implement registry stores. 2005-09-07 13:25:56 +00:00
Eric Pouech 60cae6e289 Implemented kernel32:SetThreadPriority on top of ntdll's equivalent
functions.
2005-09-07 13:25:35 +00:00
Alexandre Julliard 856221c057 Use the COM macros instead of accessing lpVtbl directly. 2005-09-07 11:50:34 +00:00
Mike McCormack dc1c62a592 Fix gcc 4.0 warnings. 2005-09-07 11:31:17 +00:00
Jacek Caban 5d7f7f56be Added CoInternetParseUrl implementation. 2005-09-07 11:27:34 +00:00
Huw Davies 182e028956 get_glyph_index should return the nonexistent glyph for bitmap fonts
when a unicode character cannot be represented as a single byte in the
font's codepage.
2005-09-07 11:27:05 +00:00
9c1d0cfc09 Wrong flags were being tested for INTERNET_FLAG_NO_AUTO_REDIRECT. 2005-09-07 11:26:34 +00:00
Mike McCormack b1eb3c30f3 Fix warnings for no force feedback case. 2005-09-07 11:25:32 +00:00
Mike McCormack c50ef541e8 Keep temporary files in a seperate list. 2005-09-07 11:25:18 +00:00
Alexandre Julliard 42744ff420 Don't fallback to LoadMenu16 when the window is created with a null
instance.
2005-09-07 09:28:08 +00:00
Alexandre Julliard c3d87e7c69 Only access 16-bit stack if really necessary. 2005-09-07 09:26:39 +00:00
Karsten Elfenbein 13fc2f88d6 Added A2R10G10B10 and D3DFMT_D24FS8 modes to all other functions. 2005-09-07 09:25:26 +00:00
Hans Leidekker d15d1c4cea Implement ldap_escape_filter_element*. 2005-09-07 09:24:50 +00:00
James Hawkins fa1dca30a1 Call CHM_CloseCHM to avoid a memory leak. 2005-09-07 09:24:27 +00:00
Mike McCormack fec220d321 Don't include the terminating nul in the length in
MsiSummaryInfoGetPropertyW.
2005-09-07 09:24:14 +00:00
Mike McCormack 114d399666 - add test for MsiGetSourcePath
- don't specify drive for package path
2005-09-07 09:23:58 +00:00
Jacek Caban 6f075693bb Make IOleControl and IOleInPlaceObject interface heap based. 2005-09-07 09:23:47 +00:00
Aric Stewart 087de7d439 Fix the translation of dest to DestW, having it be NULL vs "" has
different meanings for MoveFileEx.
2005-09-07 09:23:34 +00:00
Jacek Caban bac6e12c05 - Added IInternetSecurityManager::[SG]etSecuritySite implementation.
- Forward IInternetSecurityManager calls to custom manager.
2005-09-07 09:23:18 +00:00
Marcus Meissner 6f823db58b VT_PTR->VT_USERDEFINED chains depend on the TKIND of the userdefined
type due to our handling of COM interfaces in there.
2005-09-07 09:23:04 +00:00
Michael Jung 937441b3ac Don't clone pidlLast in SHBindToParent. 2005-09-07 09:22:49 +00:00
Richard Cohen 908e9e889e Relax the share mode validation for transacted storage, with a test. 2005-09-07 09:22:15 +00:00
Huw Davies 3915b16762 Add infrastructure for font linking. WineEngGetLinkedHFont will be
used by ExtTextOut to provide an HFONT that will contain a valid
glyph.
2005-09-07 09:21:50 +00:00
Marcus Meissner a42e6aefe1 Added DRAWPATTERNRECT Escape() 16<->32 mapper and stub in WINEPS. 2005-09-06 14:12:17 +00:00
Ivan Leo Puoti f0db7ab06b Added FSCTL_PIPE_LISTEN support. 2005-09-06 14:09:42 +00:00
Saulius Krasuckas 28f0c36036 SHELL32.ILFindLastID is exported by ordinal. 2005-09-06 14:05:07 +00:00
Aric Stewart 685aa44b2d Be sure to null terminate the string in MsiGetProductInfoA after the
W->A conversion using MsiGetProductInfoW if there is space.
2005-09-06 14:04:25 +00:00
Huw Davies e415baadfc Store the selected ppem in the GdiFont. 2005-09-06 14:04:01 +00:00
Marcus Meissner 8063b89cc6 Remove -DETCDIR (unused). 2005-09-06 14:03:38 +00:00
Detlef Riekenberg 92eedf8567 Moved cfgmgr32.h to include/ddk/. 2005-09-06 11:42:50 +00:00
Aric Stewart 42e592d17a Reading the MRUlist using the W functions we need to divide the size
by sizeof(WCHAR) to get the count of characters.
2005-09-06 11:42:13 +00:00
Vijay Kiran Kamuju 6e940bb21e Added a test for failing _ismbblead. 2005-09-06 11:41:48 +00:00
Jacek Caban 755e2bac6c - Make WebBrowser heap based object.
- Improve stubs.
2005-09-06 11:41:14 +00:00
Alex Villacís Lasso 7a843c668e Check against NULL libname in LoadModule16. 2005-09-06 11:40:51 +00:00
Michael Kaufmann e1d7ff9588 - Fix text placement.
- Paint the border correctly if its size is bigger than 1 pixel.
- Don't paint text over the border.
- Fix the edit control placement tests: Put the edit box in a parent
  window.
- Tidied up the edit control tests.
2005-09-06 11:40:01 +00:00
Alexandre Julliard 14a6d89905 Authors: Mike McCormack <mike@codeweavers.com>, Aric Stewart <aric@codeweavers.com>
Test creating a package.
2005-09-06 11:39:15 +00:00
Mike McCormack 298cdaead1 Avoid fixed length buffers for conditions. 2005-09-06 11:39:01 +00:00
Mike McCormack 68680e9c0c Fixes for MsiGetSourcePath parameter handling. 2005-09-06 11:05:35 +00:00
Aric Stewart d3d5ad6b7a Added stub implementations for MsiEnumPatchesA/W. 2005-09-06 11:05:24 +00:00
Stefan Leichter 00efadd93b Added version resource to shlwapi.dll. 2005-09-06 11:04:24 +00:00
Daniel Remenak feb9ab68b9 - Allow the creation of an FF effect while the joystick is not
acquired.
- Failing to download an effect after setting parameters is not a
  fatal error.
2005-09-06 11:03:48 +00:00
Mike McCormack d168219849 Fix gcc 4.0 warnings. 2005-09-06 10:26:13 +00:00
Eric Pouech b3badc7dd3 - rewrite kernel32:{Set|Get}PriorityClass on top of ntdll equivalent
- priority for process in wineserver is now the NTDLL form (no longer
  the kernel32 one)
2005-09-06 10:25:11 +00:00
Mike McCormack 1228ce2684 Remove an unnecessary level of indent. 2005-09-06 10:23:34 +00:00
Mike McCormack 0867e48d5f - fix MsiSummaryInfoGetProperty to return ERROR_MORE_DATA if the
buffer is too small (based on a patch by Aric Stewart)
- add a test case to show correct behaviour
2005-09-06 10:23:12 +00:00
Marcus Meissner 575b4116b5 PrintDlg16: Copy back the Flags, nFromPage, nToPage and nCopies struct
members after the print dialog finishes.
2005-09-06 10:22:43 +00:00
Daniel Remenak ff771e2e21 - Allow enumeration of objects when the device is not yet acquired.
- Flag FF-capable axes during enumeration.
2005-09-06 10:22:23 +00:00
Eric Pouech b379e420ed Fixes for function prototypes without arguments. 2005-09-06 09:27:37 +00:00
Jacek Caban 0d4f07ba22 Added file protocol implementation. 2005-09-06 09:27:04 +00:00
James Hawkins ff77264a95 Correct third parameter of NtQueryInformationAtom. 2005-09-06 09:26:31 +00:00
Mike McCormack 1ceb25ba7b Convert progids to a standard list. 2005-09-06 09:26:18 +00:00
Markus Amsler 6b11280607 Add a stub for IsNtAdmin. 2005-09-06 09:25:25 +00:00
Ivan Leo Puoti 6e508761bf Get ExitProcess to call NtTerminateProcess. 2005-09-06 09:25:19 +00:00
Aric Stewart 27eb7adb92 Add the GUID for Patch files so that they can be opened as well. Looks
like the database structure is pretty much the same.
2005-09-06 09:24:48 +00:00