Commit Graph

11878 Commits

Author SHA1 Message Date
Juan Lang cdc6772017 Implement asn.1 encoding/decoding of times, with tests. 2005-06-08 18:31:21 +00:00
Antoine Chavasse 926e35532c Test cases for the direct3d7 light api. 2005-06-07 21:34:59 +00:00
Antoine Chavasse b65e790bd3 Rewrote the light management API to allow for an unlimited amount of
lights to be set, and only a subset of them to be enabled.
2005-06-07 21:34:40 +00:00
Mike McCormack 20806c730b Use MSI_RecordGetString where possible. 2005-06-07 21:34:05 +00:00
Mike McCormack b64186ad22 Warning fixes for -Wmissing-declarations and -Wwrite-strings. 2005-06-07 20:30:30 +00:00
Mike McCormack f5ae644fc2 Use a richedit control for license text. 2005-06-07 20:30:02 +00:00
Mike McCormack f9acfe635a Fixes for -Wmissing-declarations and -Wwrite-strings warnings. 2005-06-07 20:29:51 +00:00
Christian Costa 09b4966957 Don't use fullscreen mode in video renderer for now and improve error
handling a bit.
Improved a bit Run/Pause/Stop methods of parser template.
2005-06-07 20:29:23 +00:00
Dmitry Timoshkov ef53e7a2f1 Add a test for window state when a window receives WM_ENABLE message. 2005-06-07 20:29:09 +00:00
Alexandre Julliard 898f416370 Still send a message in SetWindowText for the inter-process case even
though it's not fully correct (reported by Jason Campbell).
2005-06-07 20:11:17 +00:00
Mike McCormack 09d5cc2363 Declare some functions. 2005-06-07 20:07:34 +00:00
Robert Shearman 8aecfff867 Make NdrInterfacePointer* more reliable. 2005-06-07 20:07:06 +00:00
Thomas Weidenmueller 4dbcbae5d9 Removed local variables only used in TRACE statements. 2005-06-07 20:06:39 +00:00
Mike McCormack 454dff6fb4 Fix radio button groups. Don't add the WS_GROUP style to every
window.
2005-06-07 20:04:21 +00:00
Juan Lang ab88fd34dc Const-ify a mask. 2005-06-07 20:03:39 +00:00
Juan Lang 369c0492c7 Fix return code abuse (don't use HRESULT when it isn't meant), make
functions static where possible, remove unused prototypes.
2005-06-07 20:03:30 +00:00
Aric Stewart 19ba432b2b Add functions to add the User UpgradeCodes. 2005-06-07 20:02:27 +00:00
Aric Stewart 90bc168c87 Correct a crash if the length buffer is NULL. 2005-06-07 20:02:07 +00:00
Paul Vriens fbc7a40273 Fixed typo.
Zero the thread information before use.
2005-06-07 20:01:48 +00:00
Alexandre Julliard bd000a0203 Removed some unnecessary inclusions of thread.h 2005-06-06 20:13:08 +00:00
Alexandre Julliard ab29aa2126 Moved the ntdll per-thread data out of the TEB into a private
structure stored in TEB.SystemReserved2.
2005-06-06 20:04:33 +00:00
Alexandre Julliard 0f079d7858 Moved the kernel per-thread data out of the TEB into a private
structure stored in TEB.SystemReserved1.
2005-06-06 20:00:14 +00:00
Alexandre Julliard 6ae4ee496e Fetch the stack selector to use from the previous stackframe instead
of the TEB.
2005-06-06 19:57:05 +00:00
Dmitry Timoshkov eba47f1dfe Make remaining OLE interface vtables const. 2005-06-06 19:50:35 +00:00
Michael Jung d20fde8a80 Allow for unixfs folders to be rooted at desktop level.
Moved dos->unix path conversion into canonicalize_path.
Fail in BindToObject, if called with empty pidl.
2005-06-06 19:37:47 +00:00
Christian Costa 69c3e6ff11 Moved d3ddevice and direct3d objects files to ddraw root dir.
Renamed all remaining files.
2005-06-06 15:51:50 +00:00
Felix Nawothnig d8c5960ce1 Make SYSTEM_THREAD_INFORMATION.pszProcessName a UNICODE_STRING. 2005-06-06 15:42:08 +00:00
Mike McCormack b402f04851 Use standard lists in the event subscription code. 2005-06-06 15:40:15 +00:00
Aric Stewart f9e64e8187 Don't get caught in loops on parent progids. 2005-06-06 15:39:59 +00:00
Mike Hearn 17049acd68 Delete version sniffing logic. 2005-06-06 10:06:48 +00:00
Michael Jung 38f2ee9d04 Let BindToObject fail, if called with empty relative pidl.
Tests to show that it should do so.
Fix SHBrowseForFolder to not pass an empty pidl to BindToObject.
2005-06-06 10:04:15 +00:00
Marcus Meissner c834e6a96f Added testcases for OLE Picture handling.
Implemented PICTYPE_NONE loading.
Cleaned up stream loading, handle "lt" magic.
Fixed some small problems exposed by tests against native.
2005-06-06 10:03:58 +00:00
Robert Reif 3433d8bb29 Don't open device if already open.
Don't need opened device to get/set volume.
2005-06-06 10:03:18 +00:00
James Hawkins 645ec7d6e2 Audit the Tab control. 2005-06-06 10:03:03 +00:00
Mike Hearn f45cb12553 Initialize DataRepresentation in NdrClientInitializeNew, not
NdrSendReceive.
2005-06-05 19:19:50 +00:00
Mike Hearn 599f3e879e - Don't return NULL for proxy details if there is no proxy.
- Remove stub message, it seems to be complete.
2005-06-05 19:19:43 +00:00
Rob Shearman e46047e4da Don't disconnect proxies flagged with SORFP_NOLIFETIMEMGMT. It makes
no sense and only causes trouble for proxies that depend on these
proxies being available.
2005-06-05 19:19:24 +00:00
Lauri Tulmin a810802235 Don't truncate text on WM_SETTEXT and send EN_MAXTEXT. 2005-06-05 19:19:11 +00:00
Robert Reif bbb01ae0d0 Fix a problem where actual sample rate doesn't exactly match
requested.
2005-06-05 19:18:52 +00:00
Christian Costa 623fb34acc Fixed clock release in transform template.
AddRef pUnk in CopyMediaType.
Added CreateMediaType helper function and use it.
Replaced some DeleteMediaType calls to FreeMediaType to be in line
with recent changes.
Fixed IEnumMediaTypesImpl_Next.
Clear media type when initializing pins.
Added some AddRef/Release traces.
2005-06-05 19:18:34 +00:00
Alexandre Julliard 6d07a9c39c Moved the server part of the ExitThread functionality to ntdll. 2005-06-05 18:38:48 +00:00
Alexandre Julliard 143db5ce8e Don't bother looking for a resource directory in free memory areas. 2005-06-05 18:28:04 +00:00
Alexandre Julliard 9b57a950d7 Avoid accessing the htask16 TEB field from ntdll. 2005-06-05 18:24:35 +00:00
Alexandre Julliard 73f6718134 Allocate the system view for builtin modules earlier in
load_builtin_callback so that we also create one for the main
executable.
2005-06-05 18:22:02 +00:00
Mike Hearn e3f990467c Add some tracing to the IRemUnknown RpcProxyBuffer implementation. 2005-06-05 18:13:47 +00:00
Robert Reif 72b7071e5a Return proper error code.
Change ERR to WARN for failed requests.
2005-06-05 18:06:35 +00:00
Jacek Caban f863bb59f9 Test only stdole32.tlb as we don't have olepro32.dll in Wine. 2005-06-05 18:04:54 +00:00
Mike Hearn 0aab090838 Suppress the noisy SetNamedPipeHandleState fixme. 2005-06-05 18:03:38 +00:00
Uwe Bonnes 80a84a8c74 Added more pipe tests. 2005-06-05 17:57:10 +00:00
Robert Reif 7d9340b864 Fix tests to work with drivers that don't support a primary buffer. 2005-06-05 17:55:08 +00:00
Paul Vriens 0aec9906cf Added a stub for CryptCATAdminCalcHashFromFileHandle. 2005-06-05 17:53:48 +00:00
Christian Costa 8d0480d754 Moved dsurface object files to ddraw root dir. 2005-06-05 17:50:49 +00:00
Robert Reif 4c315db1a6 Add tests to check DirectSoundCapture creation.
Fix dsound/capture.c to pass tests.
2005-06-05 17:44:30 +00:00
Huw Davies 2ea56681ba If a folder is selected on Open then browse into it, otherwise we
should return the path in the edit box whether that be a folder or a
file.
Don't add extensions to a folder.
2005-06-04 10:00:27 +00:00
Felix Nawothnig 7572fd3870 Fix some missed invalidations after column resize. 2005-06-04 10:00:12 +00:00
Juan Lang 054a8fb604 Implement asn.1 decoding of integers, with tests. 2005-06-04 09:49:33 +00:00
Huw Davies eaef08415d Use DWLP_MSGRESULT to return values from the dialog proc. 2005-06-04 09:49:22 +00:00
Maarten Lankhorst b58f0a3fda Implemented VfwCapture interface. 2005-06-04 09:49:02 +00:00
Alexandre Julliard 4ca26536a9 Authors: Aric Stewart <aric@codeweavers.com>, Mike McCormack <mike@codeweavers.com>
Allow dialog controls to subscribe to installer events.
2005-06-04 09:48:47 +00:00
Robert Reif 5c8fb16893 Finish DirectSoundCapture/DirectSoundCapture8 split.
Add tests to verify split.
2005-06-04 09:38:14 +00:00
Christian Costa cb6e4a12ea Release clock only when one is set. 2005-06-04 09:37:35 +00:00
James Hawkins 4d639be88b - Factor out common text shifting logic.
- Shift selected tab text up instead of down.
2005-06-04 09:37:22 +00:00
Aric Stewart cb72f7fb0a Make sure the TRACE statements do not spew garbage by using
debugstr_wn.
2005-06-04 09:36:44 +00:00
Huw Davies 82af0ed0f4 Send CDN_FOLDERCHANGE whenever we change folder. 2005-06-04 09:36:37 +00:00
Hans Leidekker 3459709379 Remove ntdll from imports. 2005-06-04 09:36:12 +00:00
Mike McCormack a6c8e4e498 Take the dialog frame into account when calculating the dialog size. 2005-06-04 09:35:37 +00:00
Aric Stewart 873c0726e9 Since multiple progids can refer to 1 class we need to check if that
class is isntalled instead of just relying on having it set the
InstallMe variable.
2005-06-04 09:35:22 +00:00
Christian Costa 96eb47392c Moved ddraw object files to ddraw root dir. 2005-06-04 09:34:54 +00:00
Christian Costa 4dadfc481a Moved clipper and palette objects files to ddraw root dir. 2005-06-03 11:30:11 +00:00
Troy Rollo 8cf77bcee8 Remove CR characters. 2005-06-03 11:26:04 +00:00
Juan Lang 5b3499de68 Get rid of a magic number, and improve stubs of
CertOpenSystemStoreA/W.
2005-06-03 11:25:38 +00:00
Juan Lang 5af64e4869 Rearrange Crypt{De|En}codeObjectEx to make error handling more
natural.
2005-06-03 11:25:24 +00:00
Aric Stewart 4d1ce166ce Locate where a buffer size is not being set and correctly handle the
buffer size conversion from W to A (with help from Robert Shearman).
2005-06-03 11:24:57 +00:00
Paul Vriens eb6559f910 Change SYSTEM_PROCESS_INFORMATION to reflect W2K/WinXP/W2K3 structure. 2005-06-03 11:24:43 +00:00
Aric Stewart ee72fb2817 Add install_on_demand for Extension servers also. currently defaulting
to TRUE.
Extension need to have 1 verb to mark the given progid to be
installed.
2005-06-03 11:24:04 +00:00
Richard Cohen 977806a884 - Don't assume the ROT is already empty.
- Test that IEnum::Clone doesn't also do a Reset.
2005-06-02 20:06:33 +00:00
Richard Cohen 95b71ed885 IEnum::Clone shouldn't do a Reset. 2005-06-02 20:06:22 +00:00
Aric Stewart a96e1cef9f Do not loop if a ProgId's Parent Index it itself.
Add a VersionIndIndex for tracking version independent fields for the
ProgIds properly.
2005-06-02 20:06:11 +00:00
Marcus Meissner 20ad4d174e Drop duplicate definition of IID_IEnumDMO. 2005-06-02 19:43:47 +00:00
Richard Cohen 885e6298f2 Added tests for file monikers. 2005-06-02 19:43:03 +00:00
Richard Cohen 54f041ad32 - Base FileMonikerImpl_Save() on XP.
- Correct handling of Unicode strings & multibyte locales.
- More error checking.
- Change ERR to WARN.
- Match Windows quick & dirty estimate for GetSizeMax().
2005-06-02 19:42:48 +00:00
Mike McCormack 07b19112e5 Use MSI_QueryGetRecord in one more place. 2005-06-02 19:40:45 +00:00
Aric Stewart f1104125b1 Print a message for skipped actions in ProcessExecSequence like in the
UISequence.
2005-06-02 19:39:49 +00:00
Juan Lang 4571d0187f Set default for "My Documents" to $HOME, and "Desktop" to ~/Desktop. 2005-06-02 19:39:24 +00:00
Aric Stewart 54ba7b9338 Do not change a features state to Advertise if it explicitly disallows
it.
2005-06-02 15:16:31 +00:00
Aric Stewart ca8c4e4105 For typelibs index 1 do not add \\1 to the path. This cleans up
registry diffs with native MSI.
2005-06-02 15:13:57 +00:00
Aric Stewart 44816cebd6 Register the FileType and correct short vs long path problems with
InprocServer32. Also add install_on_demand boolean for future
expansion.
2005-06-02 15:09:57 +00:00
Dmitry Timoshkov d3847e01b7 Update internal state only if the message is being removed. 2005-06-02 10:38:12 +00:00
Alexandre Julliard 5548e86b72 Temp hack to clean up .def files and hopefully avoid more bug
reports about failed builds.
2005-06-02 10:36:03 +00:00
Juan Lang 46185a9f8e - add some tests for OID functions
- implement encoding integers
2005-06-02 10:34:03 +00:00
Christian Costa 719187f190 Merged remaining header files in DirectDraw objects folders into
ddraw_private.h.
2005-06-02 10:33:06 +00:00
Mike McCormack 6ef329fce7 Make sure that unused code gets compiled to avoid warnings. 2005-06-02 10:30:57 +00:00
Marcus Meissner 590aaaf454 Added stubs for GetVolumePathName(A,W). 2005-06-02 10:30:44 +00:00
Mike McCormack 0b352c7f7f Use the new helper function MSI_QueryGetRecord. 2005-06-02 10:29:57 +00:00
Mike McCormack 6309892499 Create a helper function to fetch a single record from a query. 2005-06-02 10:29:28 +00:00
Robert Reif f46e5ce13c Move FullDuplex code from capture.c to duplex.c. 2005-06-02 10:28:34 +00:00
Alexandre Julliard b5964ad92d Avoid dependency on thread.h. 2005-06-01 20:06:19 +00:00
Robert Reif 48da1d52ad Fix property set description for more than one capture device bug.
Add better traces messages.
2005-06-01 20:04:06 +00:00
Dmitry Timoshkov b67da5b946 Make more of the OLE interface vtables const. 2005-06-01 19:57:42 +00:00
Christian Costa b3473bbcf2 Merged d3ddevice/main.h and direct3d/main.h into d3d_private.h.
Fixed Thunk_IDirect3DImpl_2_CreateViewport.
2005-06-01 19:52:25 +00:00
Mike McCormack 632ee62a3e Add stubs and stub implementations. 2005-06-01 19:49:41 +00:00
Alexandre Julliard 955e589ed0 Authors: Aric Stewart <aric@codeweavers.com>, Mike McCormack <mike@codeweavers.com>
Fix handling of checkbox properties.
2005-06-01 19:48:48 +00:00
Alexandre Julliard d286b8a660 Use standard TLS functions instead of a TEB internal field to access
per-thread data.
2005-06-01 11:08:39 +00:00
Alexandre Julliard a55450da8c Always load 16-bit gdi.exe at init time. 2005-06-01 11:06:14 +00:00
Alexandre Julliard 4b63ed83cf Revert previous change, it shouldn't be necessary (reported by Rob
Shearman).
2005-06-01 11:05:47 +00:00
Mike McCormack 4c6149ee0c Eliminate some -Wwrite-strings warnings. 2005-06-01 11:04:26 +00:00
Robert Shearman acbb3f2f8d - Improve tracing.
- Implement FC_UP and partially FC_OP.
- Don't needlessly marshal 4 bytes in NdrPointer*.
2005-06-01 11:04:03 +00:00
Robert Shearman c6296c418f If we are accessing a method from a superclass then we need to use the
superclass's ITypeInfo otherwise we could get errors when accessing
hreftypes that aren't present in the subclass.
2005-06-01 11:03:40 +00:00
Robert Shearman 9ddf17bfa7 - Fix the return values from QueryPathOfRegTypeLib.
- Open registry key with least access rights necessary.
- Documentation updates.
2005-06-01 11:03:29 +00:00
Robert Shearman 61d862540b DispInvoke is correct so there is no need to print a fixme. 2005-06-01 11:03:05 +00:00
Mike McCormack 9ca5717a2f Clean up headers and make some functions static. 2005-06-01 11:02:48 +00:00
Richard Cohen a4926c1798 - Add static, const.
- Don't change the passed in bitmap header.
2005-06-01 11:02:36 +00:00
Mike McCormack e8b21c3eed - avoid unicode.h
- add a missing function prototype
2005-06-01 11:02:19 +00:00
Jason Edmeades ca52392bf1 Added test case for infinite loops on RDW_REDRAWNOW. 2005-05-31 13:39:24 +00:00
Alexandre Julliard db412aaf60 Added a from_child parameter to the get_update_region request to allow
restarting the search from a given child, in order to avoid looping
forever on windows that don't repaint correctly.
2005-05-31 13:37:16 +00:00
Alexandre Julliard ec3cf77d65 Skip the Unicode signature if present. 2005-05-31 13:29:48 +00:00
Ivan Leo Puoti f0c62a89ea Added IDT emulation. 2005-05-31 13:28:42 +00:00
Detlef Riekenberg d9033a49da Mark links to dir with FILE_ATTRIBUTE_REPARSE_POINT, so modern
applications can use this additional information.
2005-05-31 13:25:38 +00:00
Alexandre Julliard 16885f09a5 Fixed RtlIsTextUnicode prototype, and made it properly take into
account the results of the tests to determine the return value.
2005-05-31 13:24:44 +00:00
Mike McCormack 38de6131f1 Remove some unused code. 2005-05-31 13:20:09 +00:00
Alexandre Julliard c025b018a6 Remove import lib on make clean. 2005-05-31 09:38:10 +00:00
Alexandre Julliard 39c8616e87 Fixed install rule (reported by Vincent Béron). 2005-05-31 09:37:40 +00:00
Stefan Leichter e7425a5b7c Test GetFileVersionInfoSizeA with executables. 2005-05-31 09:33:59 +00:00
Christian Costa 1c196c5923 Merged convert.c, struct_convert.c and helper.c into ddraw_utils.c. 2005-05-31 09:32:44 +00:00
Alexandre Julliard 5bc90f2540 Authors: Evan Deaubl <wine@warpedview.com>, Robert Shearman <rob@codeweavers.com>
- Implement RtlGetControlSecurityDescriptor.
- Fix NtAccessCheck so it works with relative SECURITY_DESCRIPTORs.
2005-05-31 09:32:12 +00:00
Juan Lang 3abb8e63bf - implement Crypt{Get|Set}OIDFunctionValue
- fix bug and memory leak in last patch
2005-05-31 09:31:49 +00:00
Robert Reif a2f1fd3aca Add multiple DIRECTSOUND object support (multiple sound cards can play
at the same time).
Fix CoCreateInstance when no sound card is present.
Fix create bug found by Mike Hearn.
2005-05-31 09:31:37 +00:00
Mike McCormack bdfcb09c57 Some warning fixes for the regression tests. 2005-05-31 09:30:45 +00:00
Mike McCormack 64de949cdd More -Wmissing-declarations and -Wwrite-strings warning fixes. 2005-05-31 09:30:28 +00:00
Mike McCormack b15c264de4 Improve number parsing and avoid unicode.h. 2005-05-31 09:30:01 +00:00
Francois Gouget 883413faf6 On some systems (linux 2.6.8) AFS fails to set d_reclen to 0 or does
not support VFAT_IOCTL_READDIR_BOTH but returns 0 (success) anyway. So
set d_reclen to 65535 (an impossible value) before the ioctl() and
check it afterwards to work around this bug.
2005-05-30 11:33:42 +00:00
Mike McCormack b075f03acb Remove more types from the parser. 2005-05-30 11:32:18 +00:00
Mike McCormack cac6387ca3 Add and correct some function declarations. 2005-05-30 11:12:24 +00:00
Robert Reif 2b7438224f Add support for more than 2 audio channels. 2005-05-30 11:12:07 +00:00
Antoine Chavasse 477ddd8e4d - Implemented the implicit creation of mipmaps for surfaces that have
DDSCAPS_COMPLEX, DDSCAPS_MIPMAP and for which the mipmap count is
  not specified.
- Implemented test cases for mipmap textures creation.
2005-05-30 11:11:34 +00:00
Kouji Sasaki 6b5b0b9195 Added the feature to change row height in owner draw controls. 2005-05-30 11:10:01 +00:00
Kouji Sasaki 108390a3b4 Corrected the determination of capturing inside EDIT_WM_MouseMove
function.
2005-05-30 11:09:33 +00:00
Dmitry Timoshkov 247246ede7 Make more of the OLE interface vtables const. 2005-05-30 10:01:08 +00:00
Francois Gouget 62253b752f Assorted spelling fixes. 2005-05-30 09:56:56 +00:00
Marcus Meissner e2511e195e Added VarMonthName() implementation. 2005-05-29 20:17:30 +00:00
Mike McCormack d1a55eb3f8 Get rid of some redundant parser types. 2005-05-29 20:17:16 +00:00
Mike McCormack b58a098a11 -Wmissing-declarations and -Wwrite-strings warning fixes. 2005-05-29 20:08:12 +00:00
Eric Pouech 98b2e381f6 _findclose() exists on MinGW, so prefix it. 2005-05-29 20:04:40 +00:00
Marcus Meissner 33f4108b69 #undef interface before including alsa headers. 2005-05-29 20:03:05 +00:00
Robert Reif 8a67554a3a Fix a multiple sound card interface bug.
Add better error messages.
2005-05-29 20:02:58 +00:00
Paul Vriens 4129e6e17f Add SymLoadModule64. 2005-05-29 20:02:42 +00:00
Felix Nawothnig 92f9c3f1b9 Pass the right hwnd to ReleaseDC(). 2005-05-29 20:02:32 +00:00
Robert Reif 84e1e9948b Fix volume control. 2005-05-29 20:02:05 +00:00
Kristiaan Lenaerts 605249eb61 gcc 4.0 compile fix. 2005-05-29 20:01:48 +00:00
Dmitry Timoshkov 28dec19921 Fix Estonian keyboard layout to better match the X11 one. 2005-05-29 20:01:17 +00:00