Nikolay Sivov
96fd03b269
dmloader: Use safe list iterator when clearing the cache (Coverity).
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-08-08 20:13:56 +09:00
Michael Stefaniuc
cfb1f130fd
dmloader: Remove a now redundant helper function.
...
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-26 22:14:00 +02:00
Michael Stefaniuc
4a70f67ffc
dmloader: Get rid of two gratuitous typedefs.
...
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-25 21:07:43 +02:00
Michael Stefaniuc
ad0dbe3e02
dmloader: Don't leak memory in the cache.
...
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-25 21:07:39 +02:00
Michael Stefaniuc
3531e50c93
dmloader: Simplify the cache list handling.
...
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-25 21:07:36 +02:00
Michael Stefaniuc
c2aa725356
dmloader: Remove some commented out debugging code.
...
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-25 21:07:31 +02:00
Michael Stefaniuc
fd4cdf5df4
dmloader: Simplify the search path handling.
...
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-25 21:07:27 +02:00
Michael Stefaniuc
a8900c9bbb
dmloader: Move struct definitions to the files they are used in.
...
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-25 21:07:22 +02:00
Michael Stefaniuc
8b98126666
dmloader: Use a bitfield to store the per class cache enable info.
...
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-25 21:07:13 +02:00
Michael Stefaniuc
2e3a8a6fb8
dmloader: Handle NULL and empty path strings in SetSearchDirectory().
...
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-25 21:03:21 +02:00
Michael Stefaniuc
0f202ac84b
dmloader: Initialize a stack variable to avoid erratic test behavior.
...
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-19 10:36:32 +02:00
Michael Stefaniuc
a69dbd41be
dmloader: Return an error for an invalid directory.
...
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-27 22:23:18 +02:00
Michael Stefaniuc
879c428200
dmloader: Cleanup IDirectMusicLoaderImpl_SetSearchDirectory().
...
and emit a FIXME only if the clear flag is set.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-27 22:23:15 +02:00
Michael Stefaniuc
ed6ee0f815
dmloader: Avoid a crash on a NULL string pointer.
...
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-27 22:23:11 +02:00
Fabian Maurer
ca0f6c0d51
dmloader: Better error reporting in IDirectMusicLoaderImpl_SetObject.
...
Signed-off-by: Fabian Maurer <dark.shadow4@web.de>
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-11-21 20:57:06 +01:00
Michael Stefaniuc
917d5eabe6
dmloader: None of the COM classes support aggregation.
2014-03-13 11:21:40 +01:00
Marcus Meissner
b27027ef09
dmloader: Check return of CoCreateInstance (Coverity).
2013-01-08 16:35:34 +01:00
Christian Costa
cdf727ebd1
dmloader: Use dump_DMUS_OBJECTDESC to dump data to avoid truncation in TRACE.
2012-12-20 18:29:46 +01:00
Christian Costa
b47facb4af
dmloader: COM cleanup of IDirectMusicLoader object.
2012-12-18 19:26:26 +01:00
André Hentschel
295ffdfa96
dmloader: Fix sizeof statement (coverity).
2012-11-05 11:14:40 +01:00
Francois Gouget
fac36c55e9
Assorted typo, spelling, wording and case fixes.
2012-05-15 16:26:43 +02:00
Andrew Eikum
5e522a1d1c
dmloader: Don't claim partial success when loading fails.
2012-03-26 12:41:27 +02:00
Francois Gouget
2b54a7ee72
dmloader: Remove an unused critical section.
2011-11-14 15:25:27 +01:00
Michael Stefaniuc
989f39ef32
dmloader: Simplify the module refcount handling.
2011-08-02 11:51:06 +02:00
David Adam
5e39af2683
dmloader: Fix a possible null dereference.
2010-01-06 10:47:42 +01:00
Marcus Meissner
6891b96364
dmloader: pObject NULL checks are not necessary (Coverity).
2009-12-11 12:16:26 +01:00
Francois Gouget
96848a0605
Remove spaces before '\n's.
2009-03-09 12:05:58 +01:00
Francois Gouget
2166afceb7
Assorted spelling fixes.
2008-12-29 11:36:49 +01:00
Francois Gouget
fae2edb91e
dmloader: Add a trailing '\n' to a Wine trace.
2008-12-17 15:27:24 +01:00
Alexandre Julliard
02bfacff5a
dmloader: Make some functions static.
2008-12-03 12:12:34 +01:00
Francois Gouget
b362db0327
dmloader: Remove WINAPI on static functions where not needed.
2008-12-01 12:44:46 +01:00
Michael Stefaniuc
b609a5c037
dmloader: Do not cast NULL.
2008-11-03 13:41:49 +01:00
Andrew Talbot
4cd6ef739d
dmloader: Assign to structs instead of using memcpy.
2008-02-25 13:27:27 +01:00
Alexandre Julliard
7718d2bd7c
dmusic: Fix license headers that mistakenly use GPL instead of LGPL.
...
Confirmed by the original author and the major contributors.
2007-05-30 12:54:07 +02:00
Jan Zerebecki
70f6afdc9c
dmloader: Add DebugInfo to critical sections.
2007-03-12 13:41:16 +01:00
Michael Stefaniuc
187b6ed9b9
dmloader: Win64 printf format warning fixes.
2006-10-12 21:42:58 +02:00
Francois Gouget
5d6ab30c58
dmloader: Modify the debugstr_DMUS_* functions to return strings that never end with a '\n'.
2006-10-06 17:29:32 +02:00
Alexandre Julliard
12179978fb
dmloader: Make the virtual table functions static where possible.
2006-06-10 11:56:03 +02:00
Jonathan Ernst
360a3f9142
Update the address of the Free Software Foundation.
2006-05-23 14:11:13 +02:00
Christian Costa
110cca72e6
Add some checks and fix some stream leaks.
2005-11-08 10:56:13 +00:00
Alexandre Julliard
b8d3075d83
Uncomment the typedef in the DECLARE_INTERFACE macro, and get rid of
...
duplicate typedefs.
2005-07-26 18:32:53 +00:00
Mike McCormack
c7fdb4565a
Fix gcc 4.0 -Wpointer-sign warnings.
2005-07-05 11:02:54 +00:00
Dmitry Timoshkov
247246ede7
Make more of the OLE interface vtables const.
2005-05-30 10:01:08 +00:00
Alexandre Julliard
ebe3c529b1
Janitorial: C booleans must not be compared against TRUE.
2004-12-09 14:07:59 +00:00
Hans Leidekker
fe442b21f7
Fix signed/unsigned comparison warnings.
2004-09-08 01:23:57 +00:00
Alexandre Julliard
f714b39762
Get rid of the no longer used ICOM_MSVTABLE_COMPAT_DummyRTTIVALUE
...
macro.
2004-08-23 19:39:48 +00:00
Alexandre Julliard
48c4bb3c31
Get rid of the non-standard ICOM_VTABLE macro.
2004-08-12 23:00:51 +00:00
Francois Gouget
497709b9bb
Assorted spelling and case fixes.
2004-06-15 20:26:45 +00:00
Rok Mandeljc
72c80375fa
dmloader: complete rewrite and full implementation.
2004-05-13 00:00:22 +00:00
Raphael Junqueira
410bdd365f
- scripts sub-containers loading
...
- better segments Load and ParseDescriptor behaviors
2004-03-12 01:53:05 +00:00