Commit Graph

13567 Commits

Author SHA1 Message Date
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