Commit Graph

19255 Commits

Author SHA1 Message Date
Robert Shearman aa336618ec ole32: Add a check for a condition where a stream has an invalid size
and so there aren't enough blocks in the chain to write data into.
2006-09-11 12:28:23 +02:00
Robert Shearman 106156cb75 ole32: Remove some assertions in the stuctured storage code by
returning error codes to the caller and by handling the error
condition.
2006-09-11 12:28:12 +02:00
Robert Shearman 79f7318a11 ole32: Convert the *_{Read,Write}At structured storage functions to
return HRESULTs instead of BOOLs so that errors can be properly
propagated from lower levels.
2006-09-11 12:27:45 +02:00
Robert Shearman bfc1bdc3bb ole32: Fix the IStream_SetSize function for HGLOBAL streams to ignore HighPart. 2006-09-11 12:27:15 +02:00
Robert Shearman 83f13d6b99 ole32: Make an ok message match the name of the function it is testing. 2006-09-11 12:27:07 +02:00
Robert Shearman 355903ddc4 ole32: Fix the return value of the HGLOBAL stream IStream_LockRegion function. 2006-09-11 12:27:04 +02:00
Robert Shearman a552c2ead7 ole32: Fix the HGLOBAL stream IStream_Read function to return S_OK even if not all of the requested bytes were available. 2006-09-11 12:26:58 +02:00
Robert Shearman e10103e3ec ole32: Add tests for the stream object returned by CreateStreamOnHGlobal. 2006-09-11 12:25:01 +02:00
Paul Vriens 944a7788bd wintrust: Change the name of the strings to not confuse them with the functions that are present in wintrust. 2006-09-11 12:22:26 +02:00
Paul Vriens f9141fddbe wintrust: Use the return value of CryptRegisterOIDFunction. 2006-09-11 12:20:54 +02:00
Jeff Latimer aed4f47890 gdi: Fix test for GetGlyphIndicesW on non Unicode systems. 2006-09-11 12:15:57 +02:00
Roderick Colenbrander 2b36c4a4c3 winex11.drv: Import glx makecurrent/wglsharelists. 2006-09-11 11:33:02 +02:00
Roderick Colenbrander 9377c23eff winex11.drv: Import glx context code. 2006-09-11 11:31:13 +02:00
Marcus Meissner 0c15360a3e Removes all unnecessary WINE_DEFAULT_DEBUG_CHANNEL and respective wine/debug.h includes. 2006-09-11 11:30:48 +02:00
Stefan Leichter 08e1260057 dmusic: Print 64bit integers with wine_dbgstr_longlong. 2006-09-11 11:30:26 +02:00
Detlef Riekenberg b317aeaf0a winspool: String cleanup in the tests. 2006-09-11 11:30:04 +02:00
Louis. Lenders 9002468c7b d3d8: Better stub for ValidateVertexShader + tests. 2006-09-11 11:29:56 +02:00
Matt Finnicum abecd9e393 riched20: Rewrite of scrolling and some redrawing code.
Replaces duplicated scrolling code with re-usable functions.
Removes excessive boundary checking on scroll code, since that's done
in the scrollbar control anyways.
Properly separates repaint calls based on what has changed.
Send EN_UPDATE and EN_CHANGE at the right places.
Only call EnsureVisible on changes, not all repaints.
2006-09-11 11:29:42 +02:00
Francois Gouget 6393fed2d4 wintrust: In recent SDKs, WinVerifyTrust()'s last parameter is a void pointer. 2006-09-11 11:29:19 +02:00
Mikołaj Zalewski 455991a7a8 shell32: Remove the unused shell allocator. 2006-09-10 10:19:21 +02:00
Mikołaj Zalewski 8fcc0bdf78 shell32: Document the shell32 "mini-COM" functions. 2006-09-10 10:19:14 +02:00
Stefan Dösinger 6286c4e70d ddraw: Pass the fullscreen flag to wined3d. 2006-09-10 10:18:45 +02:00
Stefan Dösinger 2d5b19c182 ddraw: Double buffered primary surfaces can only be created in EXLUSIVE mode. 2006-09-10 10:18:23 +02:00
Stefan Dösinger 49beec8635 ddraw: Return DDERR_NOPALETTEATTACHED if no palette is attached. 2006-09-10 10:18:12 +02:00
Detlef Riekenberg ce3d836110 kernel: Remove dead code in computername.c. 2006-09-10 10:18:05 +02:00
Damjan Jovanovic 9bbcb857f9 setupapi: Fixed returns values and added a test for SetupDiOpenClassRegKeyExW. 2006-09-10 10:17:55 +02:00
Stefan Leichter 14b5e014e4 dswave: Print 64bit integers with wine_dbgstr_longlong. 2006-09-10 10:17:42 +02:00
Paul Vriens 869b6f7759 crypt32: Fix the adding of pwszIsFunctionName and pwszIsFunctionNameFmt2. 2006-09-10 10:17:18 +02:00
Andrew Talbot ded7d0bcd5 dplayx: Cast-qual warnings fix. 2006-09-10 10:17:11 +02:00
Andrew Talbot ba645eaab1 dnsapi: Cast-qual warnings fix. 2006-09-10 10:17:05 +02:00
Andrew Talbot 78cdd5460c dinput: Cast-qual warnings fix. 2006-09-10 10:16:47 +02:00
Andrew Talbot 8968f8d55d ddraw: Cast-qual warning fix. 2006-09-10 10:16:41 +02:00
Jonathan Ernst 0ebd271fe0 Assorted French translation improvements. 2006-09-10 10:16:33 +02:00
Jonathan Ernst b05e6ffc1d hhctrl: New French translation. 2006-09-10 10:16:17 +02:00
Jonathan Ernst d101c6c8a7 winspool.drv: New French translation. 2006-09-10 10:16:11 +02:00
Jonathan Ernst bef65da0c5 mshtml: Updated French translation. 2006-09-10 10:16:04 +02:00
Paul Vriens d78f7736f3 crypt32/tests: Added tests for CryptSIPAddProvider and CryptSIPRemoveProvider. 2006-09-10 10:15:50 +02:00
Paul Vriens f7ea462916 crypt32: Implemented CryptSIPRemoveProvider. 2006-09-10 10:15:38 +02:00
Paul Vriens b8d9201fc3 crypt32: Add documentation. 2006-09-10 10:15:20 +02:00
Jeff Latimer 9e9095fe7a gdi: Change the metafile.c test to use sprintf instead of snprintf for portability. 2006-09-10 10:15:12 +02:00
Alexandre Julliard 33f047fe56 kernel: An unavailable address for the PE file can cause ERROR_NOT_ENOUGH_MEMORY too. 2006-09-09 23:14:26 +02:00
Alexandre Julliard dc8c76ae3c makefiles: Make sure that all phony targets depend on 'dummy'. 2006-09-09 23:09:04 +02:00
Alexandre Julliard a82f1b0ebb makefiles: Avoid empty variables in substitutions, it's broken on BSD make. 2006-09-09 22:28:53 +02:00
Alexandre Julliard 9c085cba0a makefiles: Add global rules for bison and lex files.
Also build the .c and .h files separately to allow parallel makes.
2006-09-09 13:16:22 +02:00
Alexandre Julliard 689d943dab msi: Specify the bison name prefix directly in the source file. 2006-09-09 11:25:19 +02:00
Andrew Talbot 2f8c51f547 dbghelp: Cast-qual warnings fix. 2006-09-08 16:07:43 +02:00
Andrew Talbot 06e7d91bad kernel: Constify a formal parameter. 2006-09-08 16:07:36 +02:00
Mike McCormack 7aa893481e oleaut32: Include minimal ungif source to remove dependency on libungif. 2006-09-08 16:06:33 +02:00
Detlef Riekenberg c8d4413068 netapi32: Avoid NULL access in NetApiBufferAllocate, with test. 2006-09-08 15:08:05 +02:00
Paul Vriens 4388bdac70 crypt32: Bail out on registry errors and return the error (if any). 2006-09-08 15:07:38 +02:00
Paul Vriens 75604e8681 crypt32: Add documentation. 2006-09-08 15:07:30 +02:00
Paul Vriens 3891011e50 crypt32: Change the order of writing to the registry. 2006-09-08 15:07:23 +02:00
Paul Vriens 360954e46a crypt32: Bail out on registry errors and return the error (if any). 2006-09-08 15:07:12 +02:00
Paul Vriens 8840ef3327 crypt32: Added some input validation. 2006-09-08 15:06:46 +02:00
Konstantin Petrov bb49763154 svrapi: Added a stub svrapi.dll. 2006-09-08 14:48:04 +02:00
Detlef Riekenberg ec1c7cc0d3 winspool: Manage loaded monitors in a list. 2006-09-08 13:43:57 +02:00
Detlef Riekenberg 1e177382a3 winspool: Minimal load/unload printmonitors; use it to get a test working. 2006-09-08 13:41:22 +02:00
Jesse Allen bf69af26be user: ChangeDisplaySettings virtual desktop mode handling fix. 2006-09-08 13:41:11 +02:00
Benjamin Arai aee8a62136 oleaut32: Conformance test for function variant:VarPow. 2006-09-08 12:55:05 +02:00
Benjamin Arai fbf9cba683 oleaut32: Fixes for function variant:VarPow. 2006-09-08 12:54:59 +02:00
Benjamin Arai 9e3e591bf2 oleaut32: Conformance test for function variant:VarAnd. 2006-09-08 12:52:22 +02:00
Benjamin Arai 3abb454c70 oleaut32: Fixes for function variant:VarAnd. 2006-09-08 12:52:14 +02:00
Stefan Leichter 97f85e497a ntdll/tests: Print 64bit integers as two 32 bit integers. 2006-09-08 12:47:11 +02:00
Mike McCormack 0fc2bd760c msi: Add more tests for temporary columns. 2006-09-08 12:46:42 +02:00
Mike McCormack 77d3c59843 msi: Fix the TEMPORARY keyword for columns. 2006-09-08 12:46:32 +02:00
Mike McCormack 14ab62306c msi: Add a test for MsiDatabaseIsTablePersistent. 2006-09-08 12:46:25 +02:00
Mike McCormack 665829c390 msi: Fix the prototype of MsiDatabaseIsTablePersistent to match the SDK. 2006-09-08 12:45:11 +02:00
Mike McCormack 4f9cae8d8c msi: Increase the size of the string table. 2006-09-08 12:44:51 +02:00
Mike McCormack 5f83069bd8 msi: Split code to create a random package name into a separate function. 2006-09-08 12:44:39 +02:00
Mike McCormack 00fdc6cb80 msi: Use msi_string_lookup_id instead of msi_id2stringW where possible. 2006-09-08 12:44:23 +02:00
Detlef Riekenberg ace8fd7298 ntdll: attr is never NULL inside NtCreateFile. 2006-09-08 12:44:09 +02:00
James Hawkins a302f03c65 msi: Allow non-key columns to be used with the join query. 2006-09-08 12:43:55 +02:00
James Hawkins d8c13370b3 msi: Add tests for MSI SQL join queries. 2006-09-08 12:43:39 +02:00
Francois Gouget 06f9532dda Assorted spelling fixes. 2006-09-08 11:04:53 +02:00
Francois Gouget 4efaf24ce7 ntdll: Document a Microsoft spelling mistake so we know it is not to be fixed. 2006-09-08 11:03:19 +02:00
Francois Gouget 130af7f090 setupapi: Document a Microsoft spelling mistake so we know it is not to be fixed. 2006-09-08 11:03:17 +02:00
Francois Gouget 2307b78604 tapi32: Fix spelling of a local variable. 2006-09-08 11:03:13 +02:00
Francois Gouget 19be7545e5 ole32: Fix spelling of a couple of local variables. 2006-09-08 11:03:07 +02:00
Francois Gouget 3c336ab0cf shell32: Fix spelling of a local variable. 2006-09-08 11:03:04 +02:00
Francois Gouget 3eda8da2bd oleaut32: Fix spelling of VARIANT_NUMBER_CHARS's separator fields. 2006-09-08 11:03:00 +02:00
Andrew Talbot 570aad50d2 advpack: Cast-qual warnings fix. 2006-09-08 11:02:41 +02:00
Kai Blin 98aeac78fc secur32: Fix DecryptMessage for the dummy case. 2006-09-08 11:02:25 +02:00
Kai Blin 85655db106 secur32: Fix generation of the session key. 2006-09-08 11:02:17 +02:00
Paul Vriens 822e6af604 crypt32: Don't crash when tracing is on and a numeric identifier is passed. 2006-09-08 11:02:10 +02:00
Paul Vriens 9592a88860 crypt32: Add some documentation. 2006-09-08 11:01:35 +02:00
Albert Lee b2182f9d82 usp10: Implement and test Script{Apply, Record}DigitSubstitution. 2006-09-08 11:01:26 +02:00
Alexandre Julliard 0839ea104a ntdll: Added sysctl to make the signal stack per-thread on MacOS. 2006-09-07 18:08:46 +02:00
Jan Zerebecki db7b684d30 wined3d: Simplify setting the stencil renderstate. 2006-09-07 16:11:21 +02:00
Jan Zerebecki 91bbec013b wininet: Fix fd leak on failure case. 2006-09-07 16:11:15 +02:00
Jan Zerebecki 1ee1d819f9 wineoss: Remove "please report" from a trace. 2006-09-07 16:11:11 +02:00
Jan Zerebecki 6698e9e0b0 winmm: Prevent NULL dereference in MCI_Close and add testcase for it. 2006-09-07 16:10:48 +02:00
Hippocrates Sendoukas 0ad5638bf1 riched20: WM_CONTEXTMENU fix for custom context menus. 2006-09-07 16:06:56 +02:00
Hippocrates Sendoukas 0134e8f7d0 riched20: ME_SetSelection -1 to -1 behavior fix. 2006-09-07 16:06:14 +02:00
James Hawkins 382d06794b crypt32: Simplify CRYPT_AsnDecodeUnicodeNameValueInternal, getting rid of a warning. 2006-09-07 15:17:12 +02:00
James Hawkins a9670e371e crypt32: Simplify CRYPT_AsnDecodeNameValueInternal, getting rid of a warning. 2006-09-07 15:16:45 +02:00
James Hawkins 0405e9d2d4 msi: Store the CustomActionData for deferred custom actions. 2006-09-07 15:15:24 +02:00
James Hawkins 4969ccf3af msi: Add the ability to change directories in the DirectoryList control. 2006-09-07 15:15:06 +02:00
James Hawkins 01432d7165 msi: Add initial implementation of the DirectoryList control. 2006-09-07 15:14:49 +02:00
James Hawkins 8f691adf7e msi: Load and display the VolumeCostList control's column headers. 2006-09-07 15:14:33 +02:00
James Hawkins 1cfdc5185a msi: Store and use the center point of the dialog window in between dialogs. 2006-09-07 15:14:11 +02:00
James Hawkins ad559ca86d msi: Verify the path in the PathEdit control. 2006-09-07 15:13:01 +02:00
James Hawkins 9c3e640c10 msi: Search for the browse dialog controls by type instead of name. 2006-09-07 15:12:48 +02:00
James Hawkins 4e3f6eda0e msi: Provide the control to the dialog_update function for the case
when the control isn't attached to the dialog yet.
2006-09-07 15:12:24 +02:00
James Hawkins 7e86590518 msi: Add more tests for the _Streams table. 2006-09-07 15:12:06 +02:00
Dan Kegel 39857443e4 programs/wcmd: Rename to programs/cmd. 2006-09-07 15:08:44 +02:00
Dmitry Timoshkov 4f28f7967d user: Use computed icon rectangle if SS_CENTERIMAGE style is set. 2006-09-07 13:58:55 +02:00
James Hawkins f6463dfacd msi: Add many more MsiFormatRecord tests. 2006-09-07 13:58:22 +02:00
James Hawkins 16769b26b2 msi: Fix two MsiFormatRecord tests. 2006-09-07 13:58:07 +02:00
James Hawkins ff6fe41df7 msi: Use the TargetPath of a file if the file doesn't exist in MsiFormatRecord. 2006-09-07 13:57:35 +02:00
James Hawkins a248cc8f62 msi: Fix creation of the default format in MsiFormatRecord. 2006-09-07 13:57:24 +02:00
James Hawkins ad2ec01739 msi: Add more tests for MsiFormatRecord. 2006-09-07 13:56:33 +02:00
Ivan Gyurdiev 2e1cf4d948 wined3d: Add support for R32F and R16F texture formats. 2006-09-07 13:48:32 +02:00
Ivan Gyurdiev de54843d7b wined3d: Remove unused field: Surface.textureName. 2006-09-07 13:47:25 +02:00
Ivan Gyurdiev 448f918a39 wined3d: Clean up ActiveRender. 2006-09-07 13:47:13 +02:00
Paul Chitescu 4a581e6030 wined3d: Avoid crashing when ProcessVertices is called with NULL vertex declaration. 2006-09-07 13:46:45 +02:00
Andrew Talbot 778d5d65e8 comdlg32: Cast-qual warnings fix. 2006-09-07 13:46:15 +02:00
Andrew Talbot a1cb75e91b comdlg32: Cast-qual warnings fix. 2006-09-07 13:45:59 +02:00
Andrew Talbot 572c2c273f crypt32/tests: Cast-qual warning fix. 2006-09-07 13:44:47 +02:00
Andrew Talbot 950b838e28 crypt32: Cast-qual warnings fix. 2006-09-07 13:44:42 +02:00
Louis. Lenders c0d2923cc1 shfolder: Add version resource. 2006-09-07 13:44:30 +02:00
Louis. Lenders 531ee64e79 shlwapi: Simple test for UrlCanonicalizeA. 2006-09-07 13:44:24 +02:00
András Kovács d1d5f4b646 wined3d: Implement BlendFactor renderstate. 2006-09-07 13:44:02 +02:00
András Kovács c33e6245b5 wined3d: Remove unnecessary glBlendColor in TextureFactor renderstate. 2006-09-07 13:43:53 +02:00
Paul Vriens 063f3e9c2f crypt32: Set last error on registry errors. 2006-09-07 13:08:12 +02:00
Paul Vriens 6e38461019 wintrust: Add a bunch of CryptRegisterOIDFunction calls. 2006-09-07 13:07:48 +02:00
Paul Vriens 9132cac93c wintrust: Only register actions when HKLM\Software\Microsoft\Cryptography\Providers\Trust can be opened. 2006-09-07 13:07:13 +02:00
Paul Vriens 609b7af8ce wintrust: Register WINTRUST_ACTION_GENERIC_CHAIN_VERIFY. 2006-09-07 13:06:55 +02:00
Paul Vriens 073d4eca9e wintrust: Register DRIVER_ACTION_VERIFY. 2006-09-07 13:06:22 +02:00
Paul Vriens e47bf4965e wintrust: Register OFFICESIGN_ACTION_VERIFY. 2006-09-07 13:06:01 +02:00
Paul Vriens e7798305bd wintrust: Register HTTPSPROV_ACTION. 2006-09-07 13:05:38 +02:00
Paul Vriens f73967a8e0 wintrust: Register WINTRUST_ACTION_TRUSTPROVIDER_TEST. 2006-09-07 13:05:08 +02:00
Paul Vriens ccb4ff764f wintrust: Register WINTRUST_ACTION_GENERIC_CERT_VERIFY. 2006-09-07 13:04:45 +02:00
Paul Vriens 32407f9074 wintrust: Register WIN_SPUB_ACTION_PUBLISHED_SOFTWARE_NOBADUI. 2006-09-07 13:04:17 +02:00
Paul Vriens bded72fc95 wintrust: Register WIN_SPUB_ACTION_PUBLISHED_SOFTWARE. 2006-09-07 13:03:51 +02:00
Paul Vriens 7b75ec2098 wintrust: Register WINTRUST_ACTION_GENERIC_VERIFY_V2. 2006-09-07 13:03:24 +02:00
Andrew Talbot a5bf67ef9b kernel: Constify some formal parameters. 2006-09-07 12:00:46 +02:00
Mike McCormack d998543edb msi: Add a short test for transforms. 2006-09-07 12:00:22 +02:00
Mike McCormack 12baa13ba5 msi: Make opening and closing 4000 handle into two tests, not 20000. 2006-09-07 12:00:00 +02:00
Robert Shearman bb1276425f ole32: Allocate memory for a copy of the ptd member of FORMATETC in
DataAdviseHolder_Advise since there is no requirement for the
application to keep this memory valid for the lifetime of the
connection.
2006-09-07 11:44:11 +02:00
Robert Shearman 5e9df71e0e ole32: Don't send data changes in DataAdviseHolder_Advise for
ADVF_PRIMEFIRST connections if we are connected to a data object,
since it will send the data change for us.
2006-09-07 11:44:03 +02:00
Robert Shearman 53d01d2764 ole32: DefaultHandler_GetData and DefaultHandler_QueryGetData should
both defer to the real data object if the cached versions fail and we
are running.
2006-09-07 11:43:59 +02:00
Robert Shearman 6bf6caa69d ole32: Add a reference to the stream in RPC_StartLocalServer since we
release a reference to it when the local server thread dies.
2006-09-07 11:43:49 +02:00
Robert Shearman 03510be55b ole32: Add a test for OleLoad. 2006-09-07 11:43:41 +02:00
Robert Shearman d0b4717cdb ole32: Do a QueryInterface for IOleLink in OleLoad, like native does. 2006-09-07 11:43:33 +02:00
Robert Shearman 4ad8da53f5 ole32: Re-order the function calls in OleLoad to match native.
Call IOleObject_GetMiscStatus like OleCreate and native do.
2006-09-07 11:43:27 +02:00
Robert Shearman da321acf0e ole32: Add tests for OleCreate. 2006-09-07 11:43:16 +02:00
Robert Shearman 53be8cc861 ole32: Call IRunnableObject_Run and IOleCache_Cache from OleCreate if the render option is specified as draw or format.
This is documented on MSDN and is confirmed by tests.
2006-09-07 11:42:39 +02:00
Robert Shearman 6da80a8898 ole32: Call IOleObject_GetMiscStatus in OleCreate if a client site is passed in. 2006-09-07 11:42:28 +02:00
Robert Shearman ccb634fdee ole32: Re-structure OleCreate to match to order of calls that native does.
Get rid of hres1 since all failures are returned. Cleanup pUnk on 
failure and make sure to return NULL in ppvObj.
2006-09-07 11:42:22 +02:00
Robert Shearman aaa26b2702 ole32: Set the storage's class ID in OleCreate. 2006-09-07 11:42:11 +02:00