Commit Graph

13839 Commits

Author SHA1 Message Date
Alexandre Julliard 4a0a099c11 Fixed a handle leak. 2005-10-20 13:21:39 +00:00
Vincent Béron 18e909e650 Allow file:/// protocol to be used to download the Mozilla ActiveX
control.
2005-10-20 13:20:03 +00:00
Vijay Kiran Kamuju 9c6a15ce62 Fix msvcrt symbol demangling for non MS symbols. 2005-10-20 13:15:11 +00:00
Vincent Béron 3eb08c44e7 Remove tempfile used to download Mozilla ActiveX control once it's not
used anymore.
2005-10-20 13:14:31 +00:00
Vitaliy Margolen 247ab64d38 Restore focus to the current control without selecting text. 2005-10-20 11:36:55 +00:00
Rein Klazes 551ef36517 In GetDiskFreeSpace:
- only cap the total size and available size to 2GB in Win3.x thru
  WinME;
- in that case adjust number of clusters to be less then 65536 by
  increasing the cluster size;
- add corresponding tests.
2005-10-20 11:36:40 +00:00
Aric Stewart 4a38fb2b10 Move the peek_msg buffers for SSL connections into the
WININET_CONNECTION structure to prevent 2 threads from clobbering each
other's buffers.
2005-10-20 11:35:54 +00:00
Huw Davies f630f97842 Proxies and stubs for GetTypeInfoCont, GetLibAttr and ReleaseLibAttr. 2005-10-20 11:35:30 +00:00
Krzysztof Foltman 6650abcdc4 - Bugfix in EM_GETTEXTEX
- Additional traces helpful in diagnosing similar (text
  retrieval-related) bugs.
2005-10-19 19:22:11 +00:00
Robert Reif 669b79b8f5 Change secondary buffer variable name to secondary.
Fix AddRef and Release to use proper class.
2005-10-19 19:21:38 +00:00
Alexandre Julliard 9cf9e5e7dd Don't register classes is no theme is active to avoid trouble (based
on a patch by Vitaliy Margolen).
2005-10-19 19:08:31 +00:00
Mike McCormack 403e58f5f4 Set the http port before figuring out whether we're using a proxy. 2005-10-19 19:07:08 +00:00
Pierre d'Herbemont f26e8090c2 Allow compilation on non-i386. 2005-10-19 19:06:49 +00:00
Vitaliy Margolen 546bc6a681 Fix a number of tests failing on windows. 2005-10-19 19:06:35 +00:00
Markus Gömmel c2d38ceee8 Misplacement of checkboxes with empty label fixed. 2005-10-19 18:30:14 +00:00
Jacek Caban 1ab01450fd Try using mozctlx's path if there is no registered Mozilla directory. 2005-10-19 18:29:51 +00:00
Krzysztof Foltman 73045050b3 Fix CB_GETLBTEXT ANSI-Unicode calls when return value is an error
code.
2005-10-19 18:29:36 +00:00
Aric Stewart 44cbdf2138 Use debugstr_a to prevent a buffer overflow when debugging. 2005-10-19 18:28:35 +00:00
Dmitry Timoshkov 5f2bf16de4 Add a test for SetMetaFileBitsEx, make it pass under Wine. 2005-10-19 18:28:14 +00:00
James Hawkins b721ee0d41 Set the file_part for \\?\ long file names too. 2005-10-18 14:12:25 +00:00
Dmitry Timoshkov 8cd388f398 Use appropriate DDE APIs (ANSI or unicode) for ShellExecuteA/W, Excel
2000 depends on that.
2005-10-18 14:11:17 +00:00
Vitaliy Margolen 64896241b8 LoadLibrary should ignore trailing spaces in the library name. 2005-10-18 14:10:56 +00:00
Huw Davies c0cd7dc6fa Implement GetContainingTypelib_{Proxy,Stub}. 2005-10-18 14:09:58 +00:00
Huw Davies 284687a621 When a dispinterface isn't dual, we should return
TYPE_E_ELEMENTNOTFOUND when trying to get index -1.
2005-10-18 14:09:47 +00:00
Vitaliy Margolen cfbd78d659 Return 0 length line as 0 length line for EM_GETLINE. 2005-10-18 12:01:38 +00:00
Paul Vriens 4be0d76397 Wine's behavior is correct now. 2005-10-18 12:00:59 +00:00
Frank Richter 7686aa86e6 When doing A->W WM_GETTEXTLENGTH, use WM_GETTEXT behind the scenes to
obtain an exact length.
2005-10-18 10:45:18 +00:00
Alexandre Julliard 7886cacbf5 Revert previous change, OF_EXIST really returns HFILE_ERROR. 2005-10-18 10:39:15 +00:00
Mike McCormack 4a28e7cdc9 Use ShellLink_QueryInterface to return the right interface in
IShellLink_Constructor.
2005-10-18 10:36:03 +00:00
Dmitry Timoshkov 2e8bf70f9a Add a test for CopyMetaFile, make it pass under Wine. 2005-10-18 10:35:14 +00:00
Vincent Béron 0be88a04a8 Correct AtlModuleAddTermFunc prototype. 2005-10-18 10:34:21 +00:00
Robert Reif 6727c52f3b Include winuser.h so the code compiles cleanly on windows using
windows headers.
2005-10-17 09:24:50 +00:00
Uwe Bonnes dbdf3df4d9 Remove unspecific FIXME. 2005-10-17 09:23:22 +00:00
Vitaliy Margolen 40c3bd6f1b Fix one test failing on all windows versions. 2005-10-17 09:23:11 +00:00
Alexandre Julliard 7c871f0ce4 Ignore empty environment strings. 2005-10-17 08:56:41 +00:00
Christian Costa c656dfc39c Enumerate only requested modes by taking into account surface desc
when present.
2005-10-17 08:55:27 +00:00
Christian Costa 9b00fce480 Fix installable driver removal. 2005-10-17 08:55:05 +00:00
Aric Stewart 5a8d76749a MSDN states that the pszDisplayName member of BROWSEINFO is assumed to
be MAX_PATH in length. So when doing the A->W conversion in
BrowseForFolderA do not set that member to be the size of the
incoming string, instead make it MAX_PATH.
2005-10-17 08:54:53 +00:00
Eric Pouech 9577e5e296 ioctl 440F only returns non mapped drives (for now). 2005-10-17 08:54:28 +00:00
Alexandre Julliard 45885d136c In parse_mount_entries return the loop device instead of the mounted
file for loop mounts.
2005-10-13 14:32:22 +00:00
Krzysztof Foltman 07c4dc461e Fix unnecessary (and harmful) repeated statement. 2005-10-13 13:44:14 +00:00
Oliver Stieber bda8a5c08a Allow cube textures to be updated. 2005-10-13 13:44:03 +00:00
Oliver Stieber 483320c484 Changed the way that 24bit and 32bit Adapter and Buffer formats are
reported allowing EVE online to get past the startup screen and
allowing the Fur demo (amongst others) to run in a window, as under
windows, instead of in fullscreen mode.
2005-10-12 21:07:27 +00:00
Huw Davies fd99c33e5c Initialize a bunch of dc values to their default before enumerating an
enhmetafile.
Add tests for these and for some values that don't get reset.
2005-10-12 21:06:20 +00:00
Krzysztof Foltman 793f9a5155 - Style trace information is written to different debug channel (it's
not very useful anymore, reference counting looks correct for now).
- The document dump contains the character position of the end-of-text
  mark.
2005-10-12 21:05:52 +00:00
Christian Costa 85155cc6be Disable depth test when there is no Z buffer attached.
Initialise texture states at creation instead of when tex name is
generated.
2005-10-12 21:05:40 +00:00
Oliver Stieber 44b4777972 Add checks for ARB_vertex_program before allowing vertex shaders to
use ARB_vertex_program.
2005-10-11 20:27:54 +00:00
Stefan Leichter 18517ca56f Make user test loadable on NT4. 2005-10-11 20:27:27 +00:00
Detlef Riekenberg 9d7c5911be NT3.51 returns ERROR_MORE_DATA. 2005-10-11 19:58:38 +00:00
Mike O'Regan 5fd4aa6fc4 Tests commented out and FIXME-ed long ago now pass. 2005-10-11 19:57:17 +00:00
Phil Krylov be2525b440 Fixed encoding of non-ASCII chars. 2005-10-11 19:56:03 +00:00
Dmitry Timoshkov 007c73c7ce Add a safety check for number of control points in PolyBezierTo. 2005-10-11 19:55:24 +00:00
Huw Davies 22ab2046fb If the meta/clip intersection (Rao) region doesn't exist, return
either the meta or clip region if they do exist.
Remove the wine_todo's.
2005-10-11 19:55:01 +00:00
Dmitry Timoshkov c0c514b072 Update German and Hungarian keyboard layouts to better match X11
ones.
2005-10-11 19:27:22 +00:00
Mike McCormack 4e700d36e0 Make sure not to strcpy from a NULL default value pointer. 2005-10-11 19:27:03 +00:00
James Hawkins 8c523fe36c Test that the FO_COPY action creates output directories if they don't
exist.
2005-10-11 19:26:47 +00:00
Robert Reif 57444565e6 Fix PrimaryBufferImpl pointer to deleted DirectSoundImpl. 2005-10-11 19:26:37 +00:00
Lionel Ulmer c734d93383 - fix first two arguments to 'FindExecutableA' (input strings instead
of pointers)
- fix last argument to 'FindExecutableW' (it's an output string)
2005-10-11 19:26:20 +00:00
Lionel Ulmer 002608224d Add an assert if both arguments to DD_STRUCT_COPY_BYSIZE are equal. 2005-10-10 19:53:37 +00:00
Huw Davies 3bfeaa9a09 GetRandomRgn only returns the SYSRGN in screen coordinates.
Add a bunch of tests for GetRandomRgn.
2005-10-10 19:53:22 +00:00
Krzysztof Foltman 8978549722 Removed buffer overrun error (incrementing output pointer one time too
much in non-CRLF mode) making KeyNote fail to install.
2005-10-10 19:52:59 +00:00
Oliver Stieber 0fbf69fcf8 Report unrecognized opcodes as FIXMEs instead of TRACEs so that they
are easier to spot and fix.
2005-10-10 19:52:49 +00:00
Vijay Kiran Kamuju e573caf8f9 Added PHT time zone. 2005-10-10 18:03:56 +00:00
Krzysztof Foltman 822ae486cd The previous implementation was a workaround for off-by-one bug in
ME_RunOfsFromCharOfs, this one relies on correct behavior of that
function introduced by the previous patch.
2005-10-10 18:00:52 +00:00
Vitaliy Margolen 9b748c8de2 Fix _ismbblead test to pass on windows. 2005-10-10 18:00:20 +00:00
Maxime Bellengé 91ff09b679 In case of failure and OF_EXIST is specified, return FALSE instead of
HFILE_ERROR.
2005-10-10 11:19:31 +00:00
Krzysztof Foltman 24a0f15b29 Fixed EOL detection in ME_RunOfsFromCharOfs in 1.0 emulation mode
(necessary for a non-workaround version of EM_POSFROMCHAR).
2005-10-10 11:18:29 +00:00
Christian Costa b82d94e4f1 Make window uses black brush for background.
Check format type of video stream.
2005-10-10 10:44:54 +00:00
Christian Costa dd3d1e389a Add trace to DefineDosDevice. 2005-10-10 10:44:35 +00:00
Lionel Ulmer dfd1153f1d - do not pass private data to the application but a copy of it
- add some more traces
2005-10-10 10:44:23 +00:00
Krzysztof Foltman fd1d4b7c2b Fix a bug in 1.0 emulation mode in EM_LINELENGTH (which broke PTE
installer).
2005-10-10 10:44:01 +00:00
Krzysztof Foltman 8f4042c574 Fix 1.0 emulation mode in ME_GetTextW. 2005-10-10 10:30:25 +00:00
Richard Cohen e1f752f704 Don't hardcode "windows" directory.
Make "My Pictures" etc. point to $HOME.
2005-10-10 10:29:53 +00:00
Richard Cohen b70a5f2954 Fix an error message. 2005-10-10 10:29:24 +00:00
Robert Reif 0966d61344 DirectSoundDevice reference count cleanup. 2005-10-10 10:29:13 +00:00
Marcus Meissner 4a7666190f Pass characters to get_file_name() helper, not bytes. 2005-10-10 10:28:48 +00:00
Lionel Ulmer ef735703e8 - pass a copy of the surface description to the application
- increase the surface reference count when giving the surface pointer
  to the caller
2005-10-10 10:28:05 +00:00
Robert Reif b6dd5de03f Fix dsound8 test to deal with an installed but unregistered
IDirectSound8.
2005-10-10 10:27:50 +00:00
Eric Pouech 7eba5c5c7d Fixed mmioOpenW flags for playback. 2005-10-10 10:27:05 +00:00
Alexandre Julliard 8777c62d77 In DIALOG_FixChildrenOnChangeFocus make sure the button is a push
button before making it the default.
2005-10-08 10:36:10 +00:00
Vitaliy Margolen 935fcfa8bc Add a few tests that fail under wine. 2005-10-08 10:34:58 +00:00
Stefan Leichter 3855450ab5 Forward the functions DllRegisterServer and DllUnregisterServer of
rsabase.dll to rsaenh.dll.
2005-10-08 10:34:41 +00:00
Krzysztof Foltman 2489dd212b Send verbose info to different debug channels (richedit_check for
output from offset checker, richedit_lists for the document list
dumps).
2005-10-08 10:33:44 +00:00
Jonathan Ernst 3eaad00da9 First creation of registry entries missed AppData. 2005-10-07 15:01:32 +00:00
Vitaliy Margolen a6a5fb7a70 Fix initial position for files opened with O_APPEND flag. 2005-10-07 15:01:15 +00:00
Raphael Junqueira 9e18b7efa9 Don't crash if pDDSD is NULL on DirectDrawSurface::Lock. 2005-10-07 15:01:02 +00:00
Alexandre Julliard b87bce1b99 Added a critical section around the fd cache until the race conditions
can be fixed properly.
2005-10-06 12:31:36 +00:00
Jacek Caban a54da42ef3 Added AtlModuleAddTermFunc implementation. 2005-10-06 12:29:02 +00:00
Huw Davies 422887f36f Ignore the gasp table when we have no hinter. 2005-10-06 12:28:19 +00:00
Huw Davies 90020c953a Add a Wine specific flag to GetRasterizeCaps that reports whether
freetype's patented hinter is enabled.  This will be used by winex11
to check whether it should honour the gasp table settings.
2005-10-06 12:28:11 +00:00
Stefan Dösinger 71af04b60c - Add handling for DDSCL_SETFOCUSWINDOW in SetCooperativeLevel.
- Print a fixme for DDSCL_CREATEDEVICEWINDOW  and
  DDSCL_SETDEVICEWINDOW.
- Don't allow DDSCL_EXCLUSIVE without DDSCL_FULLSCREEN.
2005-10-06 12:26:04 +00:00
Francois Gouget a1f9a13997 Use "static const" rather than "const static" as gcc -W complains
about the former.
2005-10-06 11:38:45 +00:00
Vitaliy Margolen 593ab4cac4 Fix atom tests on win9x. 2005-10-06 11:35:32 +00:00
Joshua Davies dcba743bd1 Windows is returning the length of the string, plus the CRLF
delimiters, whereas wineconsole is returning one less.
2005-10-06 11:35:24 +00:00
Juan Lang fac3698fc2 When just a public key is imported, its ALG_ID should be CALG_RSA_SIGN
rather than CALG_RSA_KEYX.
2005-10-06 11:35:11 +00:00
Huw Davies 119da5a94c Don't try to release the node if we haven't loaded one. 2005-10-06 11:34:15 +00:00
Vitaliy Margolen eabc93a1eb Add brackets around (a)?b:c construct. 2005-10-06 11:32:53 +00:00
Alexandre Julliard 2bbf1b5baf Set WINEDEBUG to an empty value instead of removing it so that it gets
properly cleared in the debugger.
2005-10-04 18:14:22 +00:00
Alexandre Julliard ce1196a84b Copy WINEDEBUG from the Windows environment to allow passing a
modified value to a child process.
2005-10-04 18:09:51 +00:00
Vitaliy Margolen 8fb6037626 Correct Page Up/Down handling in report mode. 2005-10-04 17:58:46 +00:00
Alexandre Julliard 7955fb01d7 Clear the single-step flag in setup_exception instead of in the
SIGTRAP handler to avoid having the assigmnent optimized out.
2005-10-04 15:56:34 +00:00
Alexandre Julliard c2bb910877 Ignore the size of the import directory, process imports until we find
a null entry.
2005-10-04 15:54:55 +00:00
Oliver Stieber 80c60f5bad Provide looser device matching for backbuffer and depth buffer
formats. It should allow some games and applications to run without X
being in the correct backbuffer format (e.g. 16 bit games will run
with a 24bit X backbuffer).
2005-10-04 15:50:57 +00:00
Juan Lang 8630b8ab6e Use wine_get_dos_file_name rather than relying on GetFullPathNameW
hack.
2005-10-04 15:50:35 +00:00
Vitaliy Margolen 6ab0b0194d Don't start dragging for a single mouse click. 2005-10-04 15:50:24 +00:00
James Hawkins 0eddf4341f Check the size of the input buffer so we don't write past the end. 2005-10-04 11:30:20 +00:00
Juan Lang f52d0a6c80 Use correct names when loading registered OID functions. 2005-10-04 11:29:19 +00:00
Maxime Bellengé 458cb289dd Fix a cut&paste mistake. 2005-10-03 18:48:56 +00:00
Vitaliy Margolen e135a52294 Use GetSystemMetrics instead of hardcoding drag width & height. 2005-10-03 18:48:36 +00:00
Alexandre Julliard baa8bf3c74 Fixed a bug where we could set the wrong handle in the fd cache when
encountering the race condition in wine_server_handle_to_fd.
2005-10-03 18:46:57 +00:00
Vitaliy Margolen 059a8c15f2 Don't arrange tabs if there is only one line. 2005-10-03 18:46:07 +00:00
Krzysztof Foltman e098edcdcb - Remove another potential sources of infinite loops caused by EOF in
the middle of the font and color tables.
- Closing brace on text level is treated as EOF (effectively
  protecting the control from trash after the end of RTF).
- Removed misleading comment about incomplete buffers (I was
  definitely wrong).
2005-10-03 18:45:39 +00:00
Ivan Leo Puoti e4512f0d57 Make a stub actually say "stub". 2005-10-03 18:44:52 +00:00
Marcus Meissner d3463d169b ReleaseCapture should return TRUE. 2005-10-03 11:06:14 +00:00
Krzysztof Foltman 025a1a5445 Implemented EM_GETFIRSTVISIBLELINE and EM_POSFROMCHAR (basic
suboptimal implementation, can be optimized to skip whole paragraphs
later if it's useful at all).
2005-10-03 11:03:48 +00:00
Martin Fuchs 803146d220 Simplify 'sei' structure initialization in ShellExecuteA/W. 2005-10-03 11:02:47 +00:00
Robert Shearman c23cb51d52 Pass WM_QUIT to outer modal loop. 2005-10-03 11:02:37 +00:00
Stefan Leichter 02dce5900e Added stub for UnregisterDeviceNotification. 2005-10-03 10:17:05 +00:00
Vitaliy Margolen f09eb790c9 Replace registry editing instructions with winecfg. 2005-10-03 10:16:32 +00:00
Eric Pouech f653a09d33 - N_PSYM stabs blocks (aka parameters) can also contain a typedef
- shorten some paths
2005-10-03 10:16:15 +00:00
Dmitry Timoshkov d48f50b4eb Move user32 to delay loaded imports. 2005-10-03 10:15:43 +00:00
Dmitry Timoshkov de662eeecc Convert a WARN to a FIXME to make it visible to a user, replace an ERR
by a FIXME as it's more appropriate.
2005-10-03 10:15:32 +00:00
Robert Reif 8a4e04a40a Add support for errors with more than one name. 2005-10-03 10:15:15 +00:00
Marcus Meissner 0a7de6a758 Use correct minLookup[] array entry. 2005-10-03 10:15:08 +00:00
Krzysztof Foltman a8eb60e5ee Fixed another case of misunderstanding MSDN wrt StreamInProc, causing
license text to be truncated in Picasa installer (as well as some
other programs, especially those that display long texts with NSIS).
2005-10-03 10:14:28 +00:00
Juan Lang 5b0812fbcf Make CryptImport/ExportPublicKeyInfoEx behave the way MSDN describes
them, and a couple of tests.
2005-09-30 10:35:31 +00:00
Gerald Pfeifer 7714af934d We only need the relay debug channel on MZ_SUPPORTED platforms. 2005-09-30 10:34:32 +00:00
Jacek Caban a18d3faef8 Added GetZoneActionPolicy implementation. 2005-09-30 10:34:10 +00:00
Vitaliy Margolen 6613580ea9 Add a few tests for object manager. 2005-09-30 10:33:54 +00:00
Vitaliy Margolen 7e9b17f745 Add brackets around (a)?b:c construct. 2005-09-30 10:33:43 +00:00
Mike McCormack 61f24a4ca7 Rename ACTION_DoTopLevelINSTALL to MSI_InstallPackage, remove its
duplicate 4th parameter.
Split the code to copy a package into a separate function.
2005-09-30 10:32:41 +00:00
Jason Edmeades 8248d0ae87 Always return MA_ACTIVATE for WM_MOUSEACTIVATE in DefWindowProc. 2005-09-29 13:36:14 +00:00
Kevin Koltzau 7d8e377a92 Fix warnings in 64bit. 2005-09-29 13:34:34 +00:00
Denis Lukianov d664711cae Use ICU_BROWSER_MODE in InternetCanonicalizeUrl. 2005-09-29 13:33:39 +00:00
Mike McCormack 0560ea618e Avoid UpdateWindow, it causes trouble with WS_EX_TRANSPARENT. 2005-09-29 10:48:08 +00:00
Vincent Béron 5eae622f44 Don't define some functions/variables if they won't be used after in
wined3d.
2005-09-29 10:47:59 +00:00
Alexandre Julliard 7e22be4d84 We are no longer generating .dbg.c files. 2005-09-29 10:35:58 +00:00
Kimmo Myllyvirta ae16921577 Bring Finnish resources up to date. 2005-09-29 10:33:55 +00:00
Vincent Béron a0c185ee1b Cast the result of strlen() to DWORD and print it via %ld to get rid
of warnings with gcc 3.2.
2005-09-29 10:33:20 +00:00
Mike McCormack 74f0de9638 Create a function to read a property as an integer. 2005-09-29 10:32:39 +00:00
Oliver Stieber effc262f9f Added support for backbuffer with the formats A1R5G5B5 and X1R5G5B5. 2005-09-29 10:31:43 +00:00
H. Verbeet 9a86a0b046 Fix DXT2 & DXT4 support for d3d8. 2005-09-29 10:31:22 +00:00
Krzysztof Foltman ed8379d1ad - Reimplementation of EM_LINELENGTH.
- Some attempt at documentation of double-linked list of
  ME_DisplayItem's.
2005-09-29 10:30:50 +00:00
Jacek Caban 7f8614bbd4 Register zones. 2005-09-29 10:30:14 +00:00
Jacek Caban c292c84b8d Added MapUrlToZone implementation. 2005-09-29 10:30:04 +00:00
Robert Shearman fc68475c80 Add a stubbed out implementation of IAdviseSink and advise the
delegate object to use it.
2005-09-29 10:29:44 +00:00
Alexandre Julliard 7ddab75619 Declare debug channels as static variables so that we don't need to
generate an external .dbg.c file to define them.
2005-09-28 18:34:00 +00:00
Robert Shearman 8165b584f6 - Make the interfaces that should be supported by the data cache
explicit so their is no confusion in this file as to what it should
  be implementing and what this object should implement.
- Delegate some IOleObject methods to the server IOleObject if it is
  running.
2005-09-28 18:29:38 +00:00
Alexandre Julliard a5e59421f5 Use Linux futexes instead of semaphores if possible for critical
section waits.
2005-09-28 18:21:48 +00:00
Alex Villacís Lasso 1e26f9601d Add NULL check for sinkInterface in DataCache_GetAdvise. 2005-09-28 18:12:58 +00:00