Commit Graph

13672 Commits

Author SHA1 Message Date
Juan Lang d6a89fbae3 Implement CryptImport/ExportPublicKeyInfo. 2005-09-28 10:15:37 +00:00
Dmitry Timoshkov cc748043cd Draw underline and strikeout for ExtTextOut on an open path using
Polygon to more closely mimic what Windows does.
2005-09-28 10:14:45 +00:00
Mike McCormack b55060844b Make sure to build the def file after a make clean in a module
subdir.
2005-09-28 10:13:39 +00:00
Mike McCormack 41c788f5a1 Don't create MSI handles unless we have to pass one through the API. 2005-09-28 10:13:18 +00:00
Oliver Stieber b3563daca2 Implement state tracking for pixel shader constants. 2005-09-28 10:13:00 +00:00
Alexandre Julliard 60a52559ac Don't apply relocations a second time to self loaded segments.
Fixed messed up indentation in NE_FixupSegmentPrologs.
2005-09-27 11:03:18 +00:00
Alexandre Julliard 6b2a9b3022 Added implementation of _dstbias and __p__dstbias.
Added macros for _dstbias, _daylight, _timezone and _tzname.
2005-09-27 10:55:50 +00:00
Eric Pouech b09582a890 Implemented kernel32 process affinity handling on top on ntdll. 2005-09-27 10:52:10 +00:00
Oliver Stieber c99a3fafef Change the format of surface_SaveSnapshot to TGA from PPM and add
support for compressed textures and an alpha channel.
2005-09-27 10:49:59 +00:00
Alexandre Julliard 2eaff5074f Fixed exception handling on MacOS. 2005-09-27 09:36:15 +00:00
Alexandre Julliard 860c4fe7de The clip list is in screen coordinates so we need to map the result of
GetRandomRgn if the Windows version is win9x.
2005-09-27 09:34:24 +00:00
Vincent Béron 80e023bdea Use the proper calling convention for 2 16-bit functions. 2005-09-27 09:32:41 +00:00
Oliver Stieber 2b8a7dca38 Correct a problem with locking nonpower 2 back and front buffers. 2005-09-27 09:32:29 +00:00
Alex Villacís Lasso f89c69c4cf Tolerate ioctl failure in GetCommState() in order to be capable to use
softmodems.
2005-09-27 09:32:17 +00:00
Alexandre Julliard e96faaa4c8 Added a test to confirm the behavior of GetRandomRgn. 2005-09-26 16:46:31 +00:00
Alexandre Julliard a443761b8d Export the temp buffer functionality in the debug functions interface
to allow sharing more code between libwine and ntdll.
2005-09-26 16:45:25 +00:00
Francois Gouget 2f9678727f Add iads.idl to define the IADsContainer interface.
Add adshlp.h to declare the ADs* functions.
Fix the ADsOpenObject() prototype.
Update win32.api to match.
2005-09-26 16:43:20 +00:00
Rein Klazes d7d8bbfc04 When scrolling, first update the new position of the control before
calling UpdateWindow().
2005-09-26 16:42:18 +00:00
Francois Gouget 9cedc1a390 Export the Dll(Un)RegisterServer() functions to make d3dxof.dll a
self-registering dll.
2005-09-26 16:41:43 +00:00
Francois Gouget b461cc8dfa Define the Direct3DRM GUIDs in d3drm.h.
Include d3drm.h in dxguid.
2005-09-26 16:41:26 +00:00
Alexandre Julliard 43c6396e94 Use int instead of long in interlocked_* functions for 64-bit
compatibility.
2005-09-26 13:51:58 +00:00
Alexandre Julliard 81d64af17e Use a larger buffer in CopyFileW now that the file handle may not
always be cached.
2005-09-26 13:26:40 +00:00
Mike McCormack fbbb32d6d1 Create a function to determine the table's row size and use it.
Fix a memory leak in the table code.
2005-09-26 13:25:48 +00:00
Huw Davies fd7019579a Add an x11drv escape that returns a glx drawable. 2005-09-26 11:04:12 +00:00
Eric Pouech e21aa6a184 - now passing access rights when creating a named pipe in NTDLL
- reimplemented Kernel32.CreatePipe purely on top of NTDLL APIs
- anonymous pipe handles should have the SYNCHRONIZE bit set
2005-09-26 11:02:45 +00:00
Francois Gouget a8c7284f92 Assorted spelling fixes. 2005-09-26 10:58:41 +00:00
Alexander N. Sørnes cd6e5bab8b Added Norwegian translations. 2005-09-26 10:56:47 +00:00
Mike McCormack 744e22c7df Fix various query related memory leaks. 2005-09-26 10:55:18 +00:00
Francois Gouget baab789ce8 Replace the 'if (!cond) ; else code' construct with the standard 'do {
code } while (0)' construct combined with a regular 'if'.
2005-09-26 09:57:38 +00:00
Francois Gouget 335fce9ce0 Fix .spec declarations for functinos with 64bit arguments (reported by
winapi_check).
2005-09-26 09:56:40 +00:00
Mike McCormack 2586a0958e Make a macro function for unimplemented actions.
Add some more unimplemented action stubs.
2005-09-26 09:56:18 +00:00
Vijay Kiran Kamuju bb53d096b1 Add MYT (Malaysian Time) and NOVST (Novosibirsk Summer Time). 2005-09-26 09:55:59 +00:00
Mike McCormack 3c62c53d77 Fill out the stubs for MsiApplyTransformA/W a bit more. 2005-09-26 09:55:38 +00:00
Dmitry Timoshkov 6300ce1a99 Calling DdeUninitialize hangs DDE test on XP SP1, so remove that call,
and add a comment explaining it.
2005-09-26 09:55:25 +00:00
Mike McCormack c877a2ef53 Fix handle leaks in the test cases. 2005-09-26 09:55:12 +00:00
Mike McCormack de71dbb2d8 Make sure to set the minimum size before allocating string table
memory.
2005-09-26 09:54:56 +00:00
Francois Gouget c63b85b866 Make it clear the empty body sections are not accidental. 2005-09-26 09:54:47 +00:00
Kimmo Myllyvirta c70ea04706 Update Finnish resources. 2005-09-26 09:54:02 +00:00
Krzysztof Foltman 4f60ac2ace - Optional destinations in stylesheets are now skipped properly (and
not treated as the "proper" styles as they were before).
- EOF condition in the middle of the stylesheet is no longer putting
  the reader into infinite loop,
- Half-full input buffers don't trigger EOF anymore (although it
  could, in theory, break some apps, I find it unlikely - and the
  change makes Out from Boneville installer display license properly).
2005-09-26 09:53:49 +00:00
Francois Gouget 6ccb80d9a5 Documentation tweaks to make winapi_check happy. 2005-09-26 09:52:56 +00:00
Francois Gouget 10f72c719b Add trailing '\n's to ok() calls. 2005-09-26 09:52:25 +00:00
Alexandre Julliard 9f859692f9 Replace DPRINTF by TRACE in a few places. 2005-09-25 15:23:21 +00:00
Alexander N. Sørnes b1e23784eb Norwegian translation of mshtml. 2005-09-25 15:18:58 +00:00
Christian Costa 3d6154aa33 Implement Begin/Vertex/End rendering functions. 2005-09-25 15:18:18 +00:00
James Hawkins 240e7624c6 Correctly resize the child windows. 2005-09-25 15:17:42 +00:00
Christian Costa bfbba1a6fd Fix function names. 2005-09-25 15:17:30 +00:00
Robert Shearman c86fef8844 Move all 16-bit functions to an appropriate 16-bit file. 2005-09-25 15:17:10 +00:00
Alexander N. Sørnes 8822dbbb92 Added Norwegian translations. 2005-09-25 15:15:25 +00:00
Kimmo Myllyvirta a7cdcfd995 Update Finnish resources. 2005-09-25 15:14:58 +00:00
Mike McCormack 786920b7b6 Handle copying of the install package to a temporary file in one place
only.
2005-09-25 15:14:32 +00:00
Mike McCormack 0c9468d66b Fix another memory leak. 2005-09-25 15:14:16 +00:00
Mike McCormack b9a3a7a1f9 Stub implementation of the IsolateComponents action. 2005-09-25 15:14:03 +00:00
Mike McCormack 362079cfb0 Fix a memory leak. 2005-09-23 17:21:46 +00:00
Huw Davies 844c804b9e Move desktop_vi inside process_attach and remember to free it. 2005-09-23 17:21:32 +00:00
Mike McCormack 94fbe09c5f Add a stub implementation of the BindImage action. 2005-09-23 17:21:10 +00:00
Oliver Stieber 9e6957bbdc Optionally repack nonpower 2 textures to the expected span length when
a textures is locked. This is necessary for buggy games like Warhammer
40k that don't work with the odd span sizes produce by default
nonpower 2 support.
2005-09-23 11:08:03 +00:00
Mike McCormack 567f0314af Stub implementation of the PatchFiles action. 2005-09-23 11:06:57 +00:00
Alexandre Julliard 75c27e17b6 Defined a proper structure for debug channels.
Also put all the function pointers inside a structure and added
__wine_dbg_set_functions to change them instead of exporting the
pointers directly.
2005-09-23 10:52:07 +00:00
Mike McCormack 170278dfe0 Implement MsiGetShortcutTargetA. 2005-09-23 10:48:42 +00:00
Mike McCormack 8e22e7d7a9 Stub implementation of the MoveFiles action. 2005-09-23 10:48:17 +00:00
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