Commit Graph

13791 Commits

Author SHA1 Message Date
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
Alex Villacís Lasso a90c11330e Add missing ! to fix a reversed condition check in
OleCreateDefaultHandler, in order to match intent in comment.
2005-09-28 18:12:45 +00:00
Juan Lang 69dfea8f44 Encode RSA public key modulus as unsigned integer, with tests. 2005-09-28 18:12:29 +00:00
H. Verbeet f469b6f8de Fix missing prototypes when using nVidia OpenGL headers. 2005-09-28 18:12:00 +00:00
Gerald Pfeifer ed77348a9e Use 0 instead of NULL in create_glxpixmap(). 2005-09-28 18:11:17 +00:00
Dmitry Timoshkov 6de4574fb0 Explicitly ignore WM_GETICON message in the message tests. 2005-09-28 18:11:10 +00:00
Mike McCormack 3b95515015 Add some more action stubs, remove forward declarations. 2005-09-28 18:10:44 +00:00
Dmitry Timoshkov 9c559cf385 Make DrawMenuBar and SetMenu tests pass under Wine. 2005-09-28 15:13:10 +00:00
Mike McCormack e3452228c6 Split command line parsing from MSI_InstallPackage into a separate
function.
2005-09-28 15:12:32 +00:00
Mike McCormack 41c8ab5bac Add the progress control. 2005-09-28 15:12:10 +00:00
Mike McCormack 8e74308a10 Fix and test MsiViewGetColumnInfo and binary fields. 2005-09-28 11:59:40 +00:00
Mike McCormack 3c37734f96 Don't quote numbers in a query, as it doesn't parse correctly. 2005-09-28 11:59:16 +00:00
Vincent Béron bd6f176df9 Remove some Unicode->ANSI cross-calls in crypt functions. 2005-09-28 11:59:04 +00:00
Aric Stewart fbecb0c319 Implement a basic beginning for fnIMLangFontLink_CodePageToCodePages,
fnIMLangFontLink_CodePagesToCodePage and
fnIMLangFontLink_GetFontCodePages.
Also some tests for the new functions.
2005-09-28 11:58:47 +00:00
Eric Pouech c43e416bc3 Added a bunch of test cases for atoms. 2005-09-28 11:58:20 +00:00
Huw Davies 1d34b3a99c EnumDisplayDevices and GetMonitorInfo should return the same device
name for the primary device.
Make both EnumDisplayDevicesA and GetMonitorInfoA call their unicode
counterparts.
Update prototype of EnumDisplayDevices.
Add some tests.
2005-09-28 10:17:13 +00:00
Anders Bergh 925e4674a7 Added Swedish translation. 2005-09-28 10:16:33 +00:00
James Hawkins 6f4977d96f - Store the HHInfo struct in the SizeBar hwnd.
- Set the default navigation pane width if no width provided.
- Handle dragging of the SizeBar.
2005-09-28 10:16:02 +00:00
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