Commit Graph

6232 Commits

Author SHA1 Message Date
Martin Fuchs ad1fbf2e5a Only return FALSE in IEnumIDList_fnNext if no item could be fetched at
all.
2003-07-22 03:16:00 +00:00
Marcus Meissner 269048684b Fix some small pointer aliasing problems. 2003-07-22 03:14:25 +00:00
Jon Griffiths acaaecddf8 Implement @203.
Fix a brown paper bag in StrFormatKBSizeW.
Misc cleanups and documentation updates.
2003-07-22 03:13:22 +00:00
Mike Hearn 6a8ac17c64 - GIT should not dereference ppv when unmarshalling interface.
- Correctly eliminate refcounting in the GIT.
- Add warning when given riid does not match.
2003-07-22 01:01:25 +00:00
Mike Hearn cb7db104dd IMallocSpy cannot cause an allocation failure when cb == 0. 2003-07-22 01:01:06 +00:00
Mike Hearn 72d8aa5ec2 Deal with the case of loading an empty PIDL from a stream better in
ILLoadFromStream.
2003-07-22 01:00:47 +00:00
Mike McCormack a3989b1a55 Add an empty hook function for WSASetBlockingHook to return. 2003-07-22 00:58:44 +00:00
Jon Griffiths 9acb0274e4 Implement @280,343,344.
Misc cleanups and documentation updates.
2003-07-22 00:58:09 +00:00
Jon Griffiths a9ae76826e Add a handle for urlmon.dll, fix MSVC warning. 2003-07-22 00:57:25 +00:00
Jon Griffiths 2fa7055c2f Fix MSVC warnings. 2003-07-22 00:57:12 +00:00
Alexandre Julliard 67dca1b794 Fixed prototypes of VTableProcStruc callback functions. 2003-07-21 23:50:39 +00:00
Mike McCormack 87be464163 Moved declaration of VTableProvStruc from dlls/advapi32/crypt.h to
include/wincrypt.h.
2003-07-21 23:50:08 +00:00
Mike McCormack 6b56fabeec Create stub for AssocIsDangerous. 2003-07-21 23:42:24 +00:00
Rok Mandeljc 473c565781 Split the dmusic interfaces. 2003-07-21 22:10:14 +00:00
Martin Fuchs bb40b30640 Send TVN_ITEMEXPANDING when the user tries to expand a tree item
_before_ checking for child items.
2003-07-21 22:04:42 +00:00
Lionel Ulmer a1852bff23 - fix multiple consecutive downloads (by flushing when needed the
command socket)
- detect attempts to download multiple files at the same time
- fix size / date reporting when enumerating files
- fix Y2K problem in NT parsing of files
2003-07-21 22:04:14 +00:00
Michael Günnewig 38f64727e5 - Implemented Mo* methods.
- Added stubs for DMORegister, DMOUnregister, DMOEnum, DMOGetTypes,
  DMOGetName.
- Added version resources.
2003-07-21 20:03:50 +00:00
Marcus Meissner 20ea3a2d52 Added missing register defines for Linux/PPC. 2003-07-21 20:03:07 +00:00
Mike McCormack ec0d425278 Set defaults for the Next/Prev button. 2003-07-21 20:01:59 +00:00
Mike McCormack 07e69aeab8 Send a CDN_FOLDERCHANGE message when we change folders. 2003-07-21 20:01:42 +00:00
Jason Edmeades 862a1073a5 Disable client texture states when not in use (fast mode) otherwise
traps occur.
Correct number of texture coords supplied in both fast and slow mode.
Dont supply a default colour of white when diffuse mode is disabled.
Reenable fast mode.
2003-07-21 20:01:23 +00:00
Michael Günnewig 645a36ceed - Added support for Sun Audio files in wave-file handler.
- Fallback to mmioOpenA if mmopOpenW doesn't work (when using Win9x DLLs).
2003-07-21 20:00:36 +00:00
Michael Günnewig ea150db949 Fixed wrong assert in PCM_round, which didn't allow to call
acmStreamSize with a value of 0 to convert -- native allows it.
2003-07-21 20:00:17 +00:00
Michael Günnewig 4d37b6691b - Fixed AVIStreamTimeToSample and AVIStreamSampleToTime methods to
stay in bounds and behave like the native ones.
- Fallback to mmioOpenA if mmioOpenW doesn't work (when using Win9x DLLs).
- Fixed a bug of using mmioDescend/mmioAscend (occured with native libs).
- Silent a message which could be incorrect for non-video streams.
2003-07-21 19:59:57 +00:00
Lionel Ulmer 2429d51ff2 - use SIZE command to retrieve the file size (as the file size is not
part of the WinNT acknowledgement string)
- free the handle / close the socket on end of download
- fix InternetReadFile in the FTP case
- fix FTP_ReceiveResponse
2003-07-21 19:59:03 +00:00
Marcus Meissner c18ec9c8e2 KEY_MAX is 511, which does not fit in a BYTE. 2003-07-21 19:58:26 +00:00
Jon Griffiths 400ab3bbd4 Implemented @440, 441.
Warning fixes/documentation.
2003-07-19 03:12:36 +00:00
John K. Hohm 97ae1d2139 Implement DllRegisterServer and DllUnregisterServer for ddraw.dll, and
add OleSelfRegister version string.
2003-07-19 03:10:06 +00:00
Gregory M. Turner a8bbbf5ad1 - eliminate pesky global variables; should be threadsafe now
- fix more memory leaks
- fix some bugs
- some decruftification
- implement support for split cabinets and "NEXT_CABINET" notification
2003-07-19 03:09:21 +00:00
Mike McCormack 9bca6c6d4f Stubs for InternetCreateUrlA/W and CreateUrlCacheEntryA. 2003-07-19 03:08:05 +00:00
Jon Griffiths adc9b65022 Move IQueryAssociations into shlwapi. Docs/-W/MSVC++ fixes. 2003-07-19 03:07:41 +00:00
Jon Griffiths 7d75c147a2 Fix MSVC warning. 2003-07-19 03:06:19 +00:00
Jon Griffiths 3c95046d03 Fix -W warnings. 2003-07-19 03:06:03 +00:00
Jason Edmeades 564f5828b0 Add fps debug channel, so we can see how the d3d code is performing and
their impact of performance changes.
SetTransform almost rewritten in a much neater way, and in
coordination with drawprim it significantly reduces the number of
times that we reload the matrixes.
2003-07-19 03:02:42 +00:00
Alexandre Julliard 0fb0f2a306 Print status codes in hex. 2003-07-18 23:00:49 +00:00
Mike McCormack 08264e679d wvsnprint accepts %p too (on win2k). 2003-07-18 23:00:26 +00:00
Mike McCormack 97ac282fa7 Created stub for CreateClassMoniker. 2003-07-18 22:59:58 +00:00
Mike McCormack 604f0e95fb Fixed incorrect strcasecmp usage. 2003-07-18 22:59:41 +00:00
Mike McCormack dce0829913 Only call wininet callbacks if dwContext is non-zero. 2003-07-18 22:59:25 +00:00
Mike McCormack b2b8a0d164 Implemented password caching. 2003-07-18 22:59:07 +00:00
Jon Griffiths 46e9210f81 Misc fixes. 2003-07-18 22:55:39 +00:00
Jon Griffiths 7787587587 Documentation updates. 2003-07-18 22:55:28 +00:00
Jon Griffiths b62fb40f54 Added some new Rtl* tests. 2003-07-18 22:55:15 +00:00
Jon Griffiths 622a343e9f Implement __p__wpgmptr, _wpgmptr.
Avoid using static storage for pgm pointers.
2003-07-18 22:54:47 +00:00
Jon Griffiths 839131f600 Remove FIXMEs and prototypes for now-implemented functions. 2003-07-18 22:54:01 +00:00
Jon Griffiths e1e0728ba6 Fix compilation under VS.Net. 2003-07-18 22:53:49 +00:00
Jon Griffiths 58422dc83c Add a bunch of missing stuff.
Use proper types for SafeArray/variant prototypes.
Change I1 functions to take signed chars
2003-07-18 22:52:58 +00:00
Alexandre Julliard 4aaa257086 Fixed string.h includes. 2003-07-16 23:31:35 +00:00
John K. Hohm 952e13c10b Implement DllRegisterServer and DllUnregisterServer for dmusic.dll,
and add OleSelfRegister version string.
2003-07-16 23:31:04 +00:00
Gregory M. Turner 7120b6ea4b RPCRT4_NdrClientCall2 is ATM hardly "semi-stub". 2003-07-16 23:30:18 +00:00
Pierre d'Herbemont 3b9f280d81 Change __darwin__ to __APPLE__. 2003-07-16 23:29:40 +00:00
Pierre d'Herbemont 41670d3ed7 Added support for the TEB on Mac OS X. 2003-07-16 23:29:14 +00:00
Lionel Ulmer 08cc0d1c73 - do not forget to set the 'initial_upload_done' flag (to have better
performance)
- better handling of the 'initial' flag for frame-buffer flushes
2003-07-16 23:28:37 +00:00
Francois Gouget 3ca761220a Spelling fixes (s/occured/occurred/ and variants). 2003-07-15 20:53:39 +00:00
Alexandre Julliard d09b2b988a Warning fix. 2003-07-15 20:52:21 +00:00
Lionel Ulmer 877f323161 - fix spec file for FTPFindFirstFileA/W functions
- implement parsing of NT directory format
2003-07-15 20:51:02 +00:00
Jukka Heinonen 02c67f3114 Make int1a BIOS ticks be equal to BIOS segment ticks.
Fix bugs in int1a subfunctions.
2003-07-15 20:50:34 +00:00
John K. Hohm cc9005d0f3 Implement DllRegisterServer and DllUnregisterServer, and add
OleSelfRegister version string.
2003-07-15 20:48:47 +00:00
Huw D M Davies a9bb2a550e Make the return buffer larger (for example EuroSign in uft8 is 3+1
bytes long).
2003-07-15 20:47:39 +00:00
Alexandre Julliard efe812554e Authors: Mike McCormack <mike@codeweavers.com>, Lionel Ulmer <lionel.ulmer@free.fr>
Implement URLDownloadToFileA/W.
2003-07-15 20:47:17 +00:00
Lionel Ulmer 2f34e74ede Some broken games do not put the TEXTURE flags in the surface caps. 2003-07-15 20:45:01 +00:00
Lionel Ulmer cc0b7efead Desktop mode should only disable mode switching, not gamma ramp
support.
2003-07-15 20:44:24 +00:00
Alexandre Julliard ca3ac8f155 Run WH_KEYBOARD_LL and WH_MOUSE_LL hooks in the context of the thread
that set the hook.
2003-07-11 21:55:58 +00:00
Lionel Ulmer aa95df0d94 Check if 'GLX_ARB_get_proc_address' is supported before using
glXGetProcAddressARB.
2003-07-11 21:53:26 +00:00
Paul Rupe eede817da2 register_new_async sets status already. Do not overwrite it with the
function's return value.
2003-07-11 21:44:17 +00:00
Marcelo Duarte 8ce2b13b04 LZCopy: modified timestamp of a expanded file has to be the same of
original file.
2003-07-11 21:43:37 +00:00
Alexandre Julliard 09029b2878 Implemented the SMTO_ABORTIFHUNG flag of SendMessageTimeout. 2003-07-11 04:09:42 +00:00
Alexandre Julliard c8173ecac3 Avoid empty lines at the end of generated files. 2003-07-11 03:51:38 +00:00
Lionel Ulmer ad912cf257 - added fast-path for color-keyed Blts
- fix 565 colour-keying conversion
- properly handles Pitch in colour conversion
- easier and less buggy UNPACK_WIDTH support
2003-07-11 03:50:43 +00:00
Lionel Ulmer 1f4fea3bf7 Load glXGetProcAddressARB dynamically. 2003-07-11 03:50:19 +00:00
Alexandre Julliard 07f1198eea Store window procedures in a static array instead of creating a heap.
Only allocate the winproc selector when actually needed.
2003-07-09 22:31:34 +00:00
Alexandre Julliard ea6863c182 Fixed a couple of buffer overflows. 2003-07-09 22:15:33 +00:00
Robert Lunnon 00c74e940d Fixed some compile problems under Solaris. 2003-07-09 21:55:09 +00:00
Alexandre Julliard 04c1f9f88c Only compute dialog base units once we need them. 2003-07-09 19:53:17 +00:00
Steven Edwards 32d27dc77b - Create new file ole2_16.c for ole2 16bit only functions.
- Move CLSIDFromProgID16 so it can be used internally.
- Compile out more Win16 sources.
2003-07-09 19:49:12 +00:00
Gerald Pfeifer 091f416014 Add charset information as used by FreeBSD. 2003-07-09 19:45:10 +00:00
Dmitry Timoshkov 14d766845c Fix spec entry for ZwSetTimerResolution. 2003-07-09 19:44:51 +00:00
Dmitry Timoshkov 8a8d1b93ca Added support for CP_UNIXCP. 2003-07-09 04:22:57 +00:00
Robert Shearman 37da1e6757 - AddRef type info stored in StdDispatch.
- Don't use outer unknown in StdDispatch.
2003-07-09 04:18:51 +00:00
Alexandre Julliard 4f196ead13 Implemented the ThreadBasicInformation case for
NtQueryInformationThread.
2003-07-09 02:57:57 +00:00
Francois Gouget 56aaea2f43 Spelling fixes. 2003-07-09 02:52:57 +00:00
Mike McCormack 99c67eefcd Null parameters need to be quoted on the commandline. 2003-07-09 02:50:15 +00:00
Mike McCormack fc86392af8 Preserve A/W when creating propsheet dialogs. 2003-07-09 02:49:52 +00:00
Alexandre Julliard 4f4b980c1e Implemented NtRead/WriteVirtualMemory. 2003-07-08 21:18:45 +00:00
Alexandre Julliard 7535424254 Lookup COM/LPT devices in the registry when they are used, instead of
loading everything at startup.
2003-07-08 21:14:07 +00:00
Jukka Heinonen 4ef7ba7247 Real mode context should always have V86 flag turned on.
Entering protected mode uses simpler and more robust virtual interrupt
flag check.
Mouse events are now received in graphics modes.
Improved tracing output of int33 handler.
2003-07-08 21:11:52 +00:00
Uwe Bonnes 119eacc6d3 Removed a no longer used header. 2003-07-08 21:10:45 +00:00
Lionel Ulmer 51df9314d8 - fix FPS computation
- some TRACEing fixes
- optimize BltFast locking rectangles
2003-07-08 21:10:01 +00:00
Rein Klazes c2d287f682 Fixed a typo in the previous SHGetFileInfo() patch. 2003-07-08 21:07:49 +00:00
Lionel Ulmer 8def400d1f Only put 'pure' GL 1.2 calls in the 'opengl_norm.c' file. 2003-07-08 21:07:03 +00:00
Ulrich Czekalla 18873e77d0 Fixed handling of synthesized data.
Don't report errors when there is no selection owner.
Reintegrate the COMPOUND_TEXT patch by Kusanagi Kouichi.
2003-07-08 21:02:51 +00:00
Raphael Junqueira d5ca917a36 - some cosmetic fixes
- fix a bug on IDirect3DVolume8Impl_AddDirtyBox
2003-07-08 21:01:48 +00:00
Alexandre Julliard d9780a8b3e Fixed compile when functions are not inlined. 2003-07-03 18:12:38 +00:00
Stephan BEUZE fac288394a - Fixed iIndex use in SHGetFileInfoA (as of MSDN, iIndex is copied in
the iIcon field of psfi)
- Removed DLL_THREAD_ATTACH and DLL_THREAD_DETACH cases.
2003-07-03 18:11:01 +00:00
Jason Edmeades 021604c600 Implement UpdateTexture for 2D textures only.
Handle alphaop disabled but color op not-disable in a more appropriate
way (Docs say this is an illegal state and then proceed to use it).
Trace out textures as they are created.
Update the comments around the debug code and complete the debugging
set so textures which are used in the game can also be viewed.
2003-07-03 18:10:22 +00:00
Robert Shearman bd1173ca27 - Improve QueryInterface FIXME message.
- Add stubs for IMediaFilter interface in IGraphBuilder.
- Implement some simple methods.
2003-07-03 18:09:28 +00:00
Dmitry Timoshkov 62efd98687 Exit ealier from LCMapStringA in the case of LCMAP_SORTKEY.
Don't rely on computing string length by MultiByteToWideChar in
CompareStringA, do it manually.
2003-07-03 18:09:03 +00:00
Marcus Meissner 104d9d44fd Use standard debugging macros for jack.
JACK_SONAME -> SONAME_LIBJACK so we do not need the devel symlink
there.
2003-07-03 18:08:32 +00:00
Marcus Meissner 39d1b9c0e5 DPMI exceptions only happen on i386. 2003-07-03 18:08:04 +00:00
Francois Gouget 14a5d168e9 Fixed some common spelling errors. 2003-07-02 04:37:26 +00:00
Francois Gouget 5054045f6b Remove some unnecessary casts when assigning NULL to handles. 2003-07-02 04:30:55 +00:00
Christian Costa 2348e7a098 Make Init and InitAudio return an error when no audio driver is
available.
Fix crash in InitAudio when releasing the dsound object.
2003-07-02 04:30:27 +00:00
Eric Pouech 5061d3a21d - renamed winmm.OpenDriverW into winmm.OpenDriver
- replaced all inter-DLL calls (msacm and msvideo) to OpenDriverA with
  OpenDriver (unicode form)
- as a consequence, driver name handling in msacm is now mostly
  unicode
- moved UserYield16 and UnMapLS call out of the 32bit part of winmm
2003-07-02 00:40:14 +00:00
Michael Günnewig 8ac6d20d1b Fixed 2 typos in my last patch. 2003-07-02 00:39:14 +00:00
Michael Günnewig c783c20288 - Fixed memory leak in AVISaveOptions.
- Implemented AVISaveVW method.
- Semi-stub implementation for CreateEditableStream method.
- Added support for creation of interleaved AVI files.
- Fixed creation of index table in AVI files.
- Added declaration for IAVIStreaming interface.
- Added some more macros.
- Fixed some minor bugs.
2003-07-02 00:38:57 +00:00
Jason Edmeades 9a9fcd1ad4 Ensure MIPMAP levels is reset when rebinding an existing texture to a
texture unit.
2003-07-02 00:38:01 +00:00
Jason Edmeades 39538a5a9c Add GetLevelCount to the basetexture class. 2003-07-02 00:37:40 +00:00
Eric Pouech 81e15c5ce0 Only release object if we actually got it. 2003-07-02 00:37:16 +00:00
Jason Edmeades 86cb1cec75 Ensure pixel coordinates point to the bottom left of the pixel not the
middle.
2003-07-02 00:36:59 +00:00
Robert Shearman f040a4514f Fix compilation due to nameless structs and unions. 2003-07-02 00:36:18 +00:00
Alexandre Julliard 4433f15543 Add strmif.h to the headers included in libuuid.
Fixed a few header conflicts.
2003-07-01 04:33:35 +00:00
Robert Shearman d38cce8d4b Implemented DevEnum dll. 2003-07-01 04:30:30 +00:00
Robert Shearman c71301a308 Implemented IFilterMapper2. 2003-07-01 04:29:48 +00:00
Eric Pouech 675b75597b - removed next & prev fields from WINE_MODREF and implement instead
the three linked lists in LDR_MODULE
- added PEB_LDR_DATA structure to PEB
- removed a couple of no longer needed global & static variables
2003-07-01 03:38:56 +00:00
Jukka Heinonen 2a3ce4c425 Start processing asynchronous DOS events in DPMI mode. 2003-07-01 03:37:41 +00:00
Alexandre Julliard aa1bdc4263 Added d3d9 dll. 2003-07-01 01:11:13 +00:00
Raphael Junqueira a3dbd7e2c7 - some cleanups and fixes on d3d8 and d3d9 headers
- a lot of stubs for d3d9.dll
2003-07-01 01:09:17 +00:00
Dmitry Timoshkov 380a505bcd Add tests for NORM_IGNORENONSPACE and NORM_IGNORESYMBOLS in the
LCMapString(LCMAP_SORTKEY) branch.
2003-06-30 21:06:12 +00:00
Alexandre Julliard 217fdab78f Implemented NtDelayExecution and make Sleep call it.
The handle count must not be 0 in NtWaitForMultipleObjects (spotted by
Troy Rollo).
2003-06-30 21:00:15 +00:00
Dmitry Timoshkov 4e1ef0c114 For all DLLs with defined DllMain and which do not require
DLL_THREAD_ATTACH/DLL_THREAD_DETACH notifications, call
DisableThreadLibraryCalls() in order to slightly improve performance
on thread creation/exiting.
2003-06-30 20:53:48 +00:00
Alexandre Julliard bf7a4d7d72 Fixed warning. 2003-06-30 20:25:30 +00:00
Robert Shearman 7c8b85a222 - Added DShow headers.
- Added needed const's in FilterGraph implementation.
2003-06-30 20:24:52 +00:00
Marcelo Duarte de08661413 - Localization to Portuguese of Brazil
- Revision and addition of missing resources
- Minor typo fix and codepage fix in programs/winefile resource.
2003-06-30 20:22:35 +00:00
Rok Mandeljc 12acfb2285 File loading improvements. 2003-06-30 18:28:52 +00:00
Robert Lunnon ff4f127801 Added libuuid to wineaudioio makefile. 2003-06-30 18:26:40 +00:00
Alexandre Julliard 2b72be546c Replace calls to WaitForMultipleObjects with a 0 count by calls to
SleepEx.
2003-06-30 02:10:19 +00:00
Alexandre Julliard dfe397fc38 Get/SetPropW needs a Unicode string. 2003-06-30 02:06:22 +00:00
Michael Günnewig 3ebf9a505f - Fixed interframe compression - now works for RLE4 and RLE8.
- Fixed alignment of RLE4 in absolute mode.
- Improved compression (smaller output).
2003-06-30 02:05:44 +00:00
Christian Costa 3a42dd2557 Added support for video compressor/decompressor dynamic installation. 2003-06-30 02:04:26 +00:00
Christian Costa e8d977858d Added some stubs. 2003-06-30 02:04:05 +00:00
Jukka Heinonen 36001fe660 Make timer IRQ handler regular builtin interrupt handler instead of
using an assembler stub.
2003-06-30 02:03:48 +00:00
Alexandre Julliard 0643acd576 Removed Wine-specific definition from exported header (spotted by
Steven Edwards).
2003-06-27 22:24:23 +00:00
Robert Reif 9dacf206fe 3D buffer and listener reference counts should be fixed.
3D sound now plays in 3D.
COM interfaces should be correct for buffers and 3D stuff. The COM
interface is broken on notifications but I will fix that next.
Fixed the bug when closing and opening the same or another sound
device quickly.
Fixed some locking but there is a lot of work left yet.
2003-06-27 22:22:15 +00:00
Mike Hearn 0d6a2e9aba Store PrintStructures in a window property instead of extra window
bytes.
2003-06-27 22:21:06 +00:00
Raphael Junqueira dcddfbc140 - currently always use sloaw path as fast path have some problems
- fix APIENTRY mismatched value used by gl func pointers (in
  d3dcore_gl.h)
2003-06-27 22:20:44 +00:00
Shachar Shemesh 409374d914 Implementation of the reordering algorithm by calling ICU's reordering
functions.
2003-06-27 20:47:16 +00:00
Raphael Junqueira 25bf82ba64 - huge COM cleanup: only keep dmusic8 version of interfaces when they
inherit from dmusic1 and dmusic2 version. And always use dmusic8
  versions when available.
- really stupid implementation of IDirectMusicLoader8::GetObject when
  IDirectMusicScript wanted
- really fix the refcount problem found by Rok
2003-06-27 19:43:13 +00:00
Gerald Pfeifer e7724ffc65 Enable all of DllMain(), even if if not MZ_SUPPORTED. 2003-06-27 19:41:10 +00:00
Sylvain Petreolle 1ce760568c Display the interrupt number in hexadecimal. 2003-06-27 19:40:29 +00:00
Robert Shearman 860a2714ae - Silence the FIXME about constructor/destructor since it is wrong for
99.9% of cases (if MS will ever use the feature at all)
- Added stubs for ITypeComp interface in ITypeLib
- Implementation of ITypeComp in ITypeInfo
2003-06-27 19:40:03 +00:00
Dmitry Timoshkov 85d4281616 Implement LCMapString using unicode collation tables.
Move CompareString and LCMapString to dlls/kernel/locale.c.
2003-06-27 19:02:23 +00:00
Alexandre Julliard 4cb212063b Moved some of the process functions to dlls/kernel.
Removed kernel dependencies from sysdeps.c and moved it to dlls/ntdll.
2003-06-27 04:08:04 +00:00
Alexandre Julliard b379334271 Make sure to return an error if load_dll fails because the load order
is empty.
2003-06-27 04:06:23 +00:00
Troy Rollo b58e121326 Removed FIXME when loading second exe file. 2003-06-27 04:05:27 +00:00
Dmitry Timoshkov a97ed621bb Add inclusion of <sys/time.h> needed for struct timeval declaration.
Protect some optional headers from inclusion.
2003-06-27 04:04:00 +00:00
Troy Rollo 72659c998f Implemented OleDraw. 2003-06-27 04:03:40 +00:00
Eric Pouech 9bd4f6bf15 - made async.h ready for use in ntdll: replaced all calls to kernel32
functions with ntdll equivalent
- replaced status setter/getter for wine async structures with direct
  access to a (now included) IO_STATUS_BLOCK structure
- since we now have a IO_STATUS_BLOCK in async_private, we no longer
  need in most of the user (derivated) structures a field for
  LPOVERLAPPED (it's stored as the IO_STATUS_BLOCK)
- rewrote the async.h users accordingly
- implemented ntdll.Nt{Read|Write}File and let
  kernel32.{Read|Write}File(Ex)? use those new ntdll functions
- rewrote smb read/write interfaces to be more ntdll stylish (no
  overlapped yet)
2003-06-26 02:08:17 +00:00
Eric Pouech 30504fbd66 Added a small test for process exit code retrieval. 2003-06-26 02:05:40 +00:00
Steven Edwards 5552da92aa Remove unneeded calls to LoadLibrary16 and FreeLibrary16. 2003-06-26 02:05:19 +00:00
Marcus Meissner 1ae1797505 VarAdd: Added VT_R8, VT_EMPTY, VT_NULL handling. 2003-06-24 19:36:58 +00:00
Alexandre Julliard 453b324315 Map top-level windows when WS_VISIBLE is set, but don't unmap them
when it's cleared.
2003-06-24 19:31:47 +00:00
Alexandre Julliard 717e8f45ee Another make install dependency fix. 2003-06-24 19:30:25 +00:00
Eric Pouech 583bb3fd3e - started implementing ntdll.NtDeviceIoControlFile and made
kernel32.DeviceIoControl call it
- changed cdrom ioctl function's prototype to stick to
  ntdll.NtDeviceIoControlFile signature
2003-06-24 19:28:21 +00:00
Steven Edwards 1d05524919 More splitting of the Win16/32 internal filedlgproc window procedures
and dialog init.
Make a few internal function static and share a few others.
2003-06-24 19:24:29 +00:00
Marcus Meissner 615615b0c9 OleCreateFontIndirect(NULL,...) uses the OLE StdFont.
Added testcase for OleCreateFontIndirect(NULL).
Added VT_NULL -> VT_BOOL variant converter.
2003-06-24 19:21:20 +00:00
Alexandre Julliard dc4b0c7655 Moved tape.c to dlls/kernel.
Moved critical section and resource update functions to dlls/kernel.
Started moving some of the thread functions too.
2003-06-24 03:34:15 +00:00
Mike McCormack 69ac76d050 Handle CreateMetaFileW(NULL) correctly. 2003-06-24 02:34:42 +00:00
Aric Stewart f7f7bd0cfe ISvItemCm_fnInvokeCommand: added support for "delete" command. 2003-06-24 02:33:53 +00:00
Eric Pouech f6a70969e1 - start moving a few file related functions from files/file.c to
dlls/kernel subdir (also splitting 16bit APIs in a separate file)
- implemented ntdll.Nt{Lock|Unlock}File, and made use of those for the
  kernel32 equivalent
- implemented a few information classes in NtQueryInformationFile and
  NtSetInformationFile (still lots of missing classes)
- enhanced the get_file_info server request in order to implement
  correctly NtQueryInformationFile (change time & file alloc size)
- rewrote registry loading to comply with latest changes
2003-06-24 02:32:01 +00:00
Rok Mandeljc 6c9b097fae Added framework for file loading. 2003-06-24 02:26:07 +00:00
Gerald Pfeifer 018e3cc67b Expose part of DOSVM_SendQueuedEvents() also for platforms without
MZ_SUPPORTED.
2003-06-24 02:24:54 +00:00
Ulrich Czekalla b2df5f9f19 - use global atoms for the format ids
- add timeout when calling XCheckTypedWindowEvent
- fix broken IsClipboardFormatAvailable; it tried to do a trick with
  EnumClipboardFormats by making incorrect assumptions
- in X11DRV_IsClipboardFormatAvailable do a quick exit if no one owns
  the selection
- add 1 second *minimum* time lapse between XSelectionOwner calls
- sync clipboard ownership between different wine processes
- prevents apps from getting into wierd state where they thought they
  didn't own the selection but they did and as a result queried
  themselves for available selection data
2003-06-23 23:02:02 +00:00
Huw Davies a3c10cf1e0 Make sure we update dc->bitsPerPixel. 2003-06-23 20:52:22 +00:00
Alexandre Julliard 280528a07e Added special case for "display" in DRIVER_GetDriverName so that
GetDC(NULL,"display") works.
2003-06-23 20:51:41 +00:00
Huw Davies c23f8578c3 Don't enable client side fonts unless we have at least one non-symbol
font installed - this avoids a nasty Wingdings only scenario.
Add the ability to perform font replacements, this essentially lets
you give a second name to a font family so that familyA gets
enumerated as familyB too.
If we encounter two copies of the same font then use the one with the
larger version number.

Dmitry Timoshkov <dmitry@codeweavers.com>
Move GetTextCharsetInfo implementation to the font driver.
2003-06-23 20:51:06 +00:00
Dmitry Timoshkov 965cbd2a96 Along with AltGr state save also all possible modifier states. 2003-06-23 19:57:59 +00:00
Huw Davies 14c90e8e5f For PostScript versions < 2.015 we need to explicitly allocate space
for the 'glyf' array.
To conserve VM, we only allow up to two fonts to be downloaded before
reclaiming their VM.
2003-06-23 19:57:08 +00:00
Huw Davies 6694ce9d11 It seems cupsGetDefault returns the system default printer and ignores
a user's override.  So use cupsGetDests instead which does respect the
user's choice.
Delete all automatically generated printer keys on startup before
querying the cups server.
2003-06-23 19:52:55 +00:00
Francois Gouget 17c035b684 O_RDONLY==0 but it's cleaner to pass it to DRIVE_OpenDevice() anyway. 2003-06-23 19:50:16 +00:00
Mike McCormack 1351e23b05 Change notification fixes. 2003-06-23 19:49:40 +00:00
Mike McCormack 10c3764058 Record SetWorldTransform and ModifyWorldTransform in enhanced
metafiles.
2003-06-23 19:46:56 +00:00
Alexandre Julliard 635b09f98e Added import libs dependency for make install. 2003-06-23 18:16:20 +00:00
Eric Pouech c962a6997c - in kernel32, replaced all {Enter|Leave}CriticalSection calls with
ntdll counterparts
- {Enter|Leave}CriticalSection is now a pure forward from kernel32 to
  ntdll (we now longer can use {Enter|Leave}CriticalSection in kernel32)
- replaced a few kernel32 heap management calls from ntdll, with
  RtlHeap* equivalents
2003-06-23 18:12:28 +00:00
Gregory M. Turner 50c6965c78 - remove unused loop that always iterates once
- remove warning
- preparations to use multiple fdi_decomp_state structures in a linkedlist,
  which will be used to implement split cabinets, if all goes according
  to plan -- this is somewhat analogous to struct cabinet in cabextract.
2003-06-23 18:10:47 +00:00
Michael Günnewig 9f67cfef42 - Fixed some signed/unsigned mismatches.
- Fixed bugs in AVISaveOptions dialog handling.
- Fixed bug in AVIFILE_LoadFile -- now check for more than
  MAX_AVISTREAMS streams in file.
- Implemented AVIMakeFileFromStreams and AVISaveVA method.
- Added IAVIEditStream interface.
- Implemented EditStream* methods.
- Added stubs for AVISaveVW, CreateEditableStream.
- Added stubs for clipboard handling.
2003-06-23 18:10:06 +00:00
Eric Pouech 5caccaf621 Created an empty oleacc DLL. 2003-06-23 03:43:00 +00:00
Eric Pouech a86a289420 In console input record queue, replace semaphore with a manual reset
event, so that we get correct behavior in synchronization handling.
2003-06-23 03:37:14 +00:00
Jukka Heinonen 76f93fb6bc Add IRQ acknowledge handler for internal IRQs.
Change DPMI asynchronous event handling.
Always use alternate stack in DPMI relays and check for pending events
after original stack has been restored.
2003-06-23 03:35:51 +00:00
Lionel Ulmer 3dfdfbfa6f - some TRACEing fixes
- faster Blt to the framebuffer using texture engine
2003-06-23 03:34:34 +00:00
Oleg Prokhorov 2faead17d7 Fixed Russian commdlg localization. Some resource elements didn't have
proper size, and were partially visible.
2003-06-23 03:33:50 +00:00
Michael Günnewig c28798027c - added stubs for GetOpenFileNamePreview{A,W}
- added stubs for GetSaveFileNamePreview{A,W}
- removed invalid VIDC.MRLD line from system.ini
2003-06-23 03:33:25 +00:00
Eric Pouech 9b5cde85a2 Fixed a few bugs in network interface handling (code & test). 2003-06-23 03:32:28 +00:00
Eric Pouech 412d37f6e6 - adapted kernel32 so that it no longer (directly) manages console
handles as wineserver handles
- console input handle object is no longer waitable (input record
  synchronisation is now implemented as a simple semaphore), and removed
  FD_TYPE_CONSOLE from fd types in wineserver
- console handles now always have their two lower bit set so one can
  distinguish a console handle from a kernel object handle
- implemented some undocumented kernel32 console related APIs
  (CloseConsoleHandle, GetConsoleInputWaitHandle, OpenConsoleW,
  VerifyConsoleIoHandle, DuplicateConsoleHandle)
- allowed a few kernel32 APIs to take console pseudo-handles
  (FlushFileBuffer, GetFileType, WaitFor*Object*)
- simplified the console inheritance at process creation
- in console tests, no longer create a console if one already exists
2003-06-21 02:07:10 +00:00
Eric Pouech 415dfa63e5 Fixed section mapping in PE loading when both
IMAGE_SCN_CNT_UNINITIALIZED_DATA and IMAGE_SCN_CNT_INITIALIZED_DATA
are set.
2003-06-21 02:02:27 +00:00
Jason Edmeades e5aabc6eeb SHGetFileInfo should tolerate null pointers. 2003-06-21 02:01:57 +00:00
Kusanagi Kouichi 44dcf6ad16 Store WM_NAME and WM_ICON_NAME in COMPOUND_TEXT format. 2003-06-20 23:29:06 +00:00
David Hammerton 852c7ae404 - implemented support for https protocol
- fixes to the http protocol
2003-06-20 23:26:56 +00:00
Alexandre Julliard 4ee8290b96 Added checks for ICU libraries (based on a patch by Shachar Shemesh). 2003-06-20 21:38:10 +00:00
Lionel Ulmer 334aacd559 Do not use any typedefs in the GL thunks to prevent all possible
compilation issues.
2003-06-20 21:29:28 +00:00
Jukka Heinonen 75e87b4457 Add int31 VIF manipulation functions.
Fix asynchronous event locking.
Make asynchronous event handling support DPMI.
2003-06-20 21:27:49 +00:00
Francois Gouget 9591836ffb 'sizeof type' is best avoided as it won't always compile (e.g. 'int
main() {return sizeof int;}'). Use 'sizeof(type)' instead.
2003-06-18 19:45:22 +00:00
Robert Reif 05fb2c89e1 Fixed a reference counting bug I introduced. 2003-06-18 19:31:44 +00:00
Francois Gouget c5f775a9c7 Typos/spelling fixes. 2003-06-18 03:30:39 +00:00
Eric Pouech 9d0fa2f02e - kernel32's environment tests: a few more tests now succeed
- added some console related tests to process creation
- added a few more test cases to the ntdll environment tests
2003-06-18 03:24:20 +00:00
Eric Pouech b53b5bcb50 - fixed a couple of bugs in ntdll environment functions (one in trace,
the other one in environment variable expansion)
- the process parameters, when passed thru wineserver, are now fully
  handled in ntdll, they are stored in the RTL_USER_PROCESS_PARAMETERS
  structure.
- later on in kernel32 loading sequence, those parameters are copied
  into STARTUPINFO shadow structures
- later modification to those paramters are now reflected to the
  RTL_USER_PROCESS_PARAMETERS structure (and STARTUPINFO is kept
  untouched) (for example, StdHandle setting) (Win 2k behaves like this)
- ENVDB has been removed
- command line inheritance (from unix command line) is now purely in ntdll
- all kernel32 environment functions now rely on their ntdll counterparts
- goodies: input/output handle inheritance while asking for a detached
  console is better handled; a few more kernel32 environment tests now
  pass ; silenced a valgrind warning in process creation
2003-06-18 03:23:22 +00:00
Raphael Junqueira 8695df5aa4 - add IDirectMusicContainer support in
IDirectMusicLoader8Impl::LoadObjectFromFile
- don't use IDirectMusicSegment*Impl when IDirectMusicSegment*8Impl
  can be used instead (avoid code duplication)
2003-06-18 03:18:23 +00:00
Raphael Junqueira 44edc0c0ec - dsound and d3d works better when x11drv locks/unlocks are correct
- more traces
2003-06-18 03:17:42 +00:00
Alexandre Julliard cf4e5d4eea Added an assembly wrapper to retrieve the this pointer from %ecx for
_thiscall functions.
Fixed some bugs, and added a few missing functions.
2003-06-17 03:59:24 +00:00
Mike Hearn 739ccae798 Implement a class factory for the Global Interface Table. 2003-06-17 03:57:18 +00:00
Gregory M. Turner 0c63c39c8d - move macros and constants into cabinet.h where they can be shared
between cabextract.c and fdi.c
- reminders to eliminate global variables (for multithread
  compatibility)
- remove struct fdi_cab: due to the nature of the FDI API, we cannot
  preload all the cabinets; this appears to obviate the need for struct
  fdi_cab
- "oppress" (that is, do not process) partial files which were
  continuations from another cabinet
- more than one partial file can exist in a single cabinet (how!?) --
  so move the partial file notification (and "oppression" that goes with
  it) into the loop that iterates through files
2003-06-17 03:56:51 +00:00
Christian Costa 677b37cbd8 Allocate necessary dsound buffers for standard audio paths and enable
retrieval of their interfaces via GetObjectInPath.
Fix and clean dsound and dmusics objects allocation when initializing
the performance object.
Some stubs improvements.
2003-06-16 20:26:50 +00:00
Lionel Ulmer e10a0fd375 - rewrote the buffer to buffer fast path using Texture engine (much
faster on my NVIDIA hardware)
- small optimizations
2003-06-16 20:22:46 +00:00
Raphael Junqueira c405019ee5 - DInput WideChar classes support. This time all dinput versions have
widechar classes.
- fix a stupid bug in callback handling caught by Lionel.
- add some forgotten IID on class factory (better if we want to active
  the code)
- many cleanups on COM Macros (don't need A and W variants as they are
  the same)
2003-06-16 20:22:13 +00:00
Raphael Junqueira bf2121a312 Fix AddDirtyRect uncorrect behavior (crash in some cases). Based on a
patch from Roderick Colenbrander.
2003-06-16 20:20:25 +00:00
736ff98510 Added AddAccessAllowdAceEx, AddAccessDeniedAceEx, GetAclInformation. 2003-06-16 19:44:06 +00:00
Lionel Ulmer c203d68e98 - fix some regressions
- GetDC does not lock in ReadOnly mode as it leads to problems with
  some D3D optimizations
- added a fast Back => Front / Front => Back Blt fast path
2003-06-16 19:41:34 +00:00
Steven Edwards d8b97af8f5 Split Win16/32 setupapi device installer support. 2003-06-16 19:40:53 +00:00
Mike Hearn 8e6ae023e5 Stub out SetUrlCacheEntryInfoA/W. 2003-06-16 19:40:27 +00:00
Mike Hearn d2b8e39b5c - Unbreak vertical trackbars
- Make it more closely resemble the native control
- Add focus rectangle
- Misc fixes and cleanups
2003-06-16 19:39:27 +00:00
Mike Hearn a8755ff912 Add stubs for Control_FillCache_RunDLL ansi/unicode variants. 2003-06-16 19:38:10 +00:00
Gerald Pfeifer 8da2cbaa30 Unbreak getTcpTable() on Linux-based systems and make it work on BSD
and Solaris as well.
2003-06-16 19:37:36 +00:00
Mike Hearn 25b4d10138 Add the ID of the blocking thread to the error message. 2003-06-16 19:36:22 +00:00
Rok Mandeljc e36fa4551a Updated a bunch of translations for Slovenian language. 2003-06-16 01:32:09 +00:00
Eric Pouech 2e5cdf95da Implemented:
- RtlDoesFileExists_U as a stub
- RtlDosSearchPath_U
2003-06-16 01:24:30 +00:00
Lionel Ulmer 815118a092 - GL state change optimizations
- some more preparations for GL-accelerated Blts
- added debug code to compute FPS (nice when adding optimizations)
2003-06-16 01:23:58 +00:00
Juan Lang c5e856a300 Use iphlpapi to enumerate LAN adapters.
Add names to NetBIOS transports, and eliminates loopback adapters from
enumerated LAN adapters.
2003-06-16 01:23:20 +00:00
9d5295f5bd Correct mode nr passed to X11DRV_XF86VM_SetCurrentMode. 2003-06-16 01:21:31 +00:00
Steven Edwards 6056159a5e Split Win16/32 file dialogs. 2003-06-16 01:19:16 +00:00
Jukka Heinonen ae906923a1 Remove SIGALRM handler.
Reserve TEB field for DPMI virtual interrupt flag.
2003-06-16 01:18:26 +00:00
Jukka Heinonen e827269a99 Migrate create/open file functions to winedos.
Some fixes based on patch by Ferenc Wagner.
2003-06-16 01:18:01 +00:00
Jukka Heinonen 0b79a6e7c3 Make DOSVM_Wait work in protected mode.
Replace SHOULD_PEND macro with a function.
2003-06-16 01:17:30 +00:00
Alexandre Julliard 15566391e2 Proper support for CPPFLAGS and LDFLAGS (suggested by Todd Vierling). 2003-06-13 23:26:01 +00:00
Lionel Ulmer 26f51af674 - fixes the COLORFILL case for front-buffer
- some preparations for GL-accelerated Blts
- some small optimizations in the Clear code
2003-06-13 23:17:59 +00:00
Sylvain Petreolle 918d8f3e20 Trace which real mode interrupt is emulated. 2003-06-13 23:17:34 +00:00
Michael Günnewig da9e567992 - Fixed end flags while encoding -- only EOI instead of EOL and EOI.
- Fixed 4-bit RLE encoding of keyframes.
- Fixed signed/unsigned mismatches.
- Added some missing const's.
2003-06-13 23:17:01 +00:00
Gregory M. Turner d1957c6092 - most of FDICopy is now implemented, although the actual decompression is not.
- "can" -> "do"
- a novella about a bug
- fix some memory leaks
2003-06-13 23:15:55 +00:00
Alexandre Julliard a8ec5411aa Removed ordinals that differ between Windows versions. 2003-06-13 19:15:36 +00:00
Jason Edmeades 21a092816a Fix the texture operations to resolve glitches shown in UT2003 when
get quad damage.
checkGLcall must not supply a \n as that is supplied by its
expansion.
Performance fixes to save applying the same states 6 times and to
reduce function calls when accessing front/back buffers.
Make traces more readable by more constants -> english descriptions.
2003-06-13 19:14:34 +00:00
Raphael Junqueira bba49757bb - always use IDirectMusicPerformance8Impl instead of
IDirectMusicPerformanceImpl (as the first inherits from the second)
- implement many Loader, AudioPath and Performance8 stubs - fix the
  class factory
- more debug traces
- for now IDirectMusicLoader8::LoadObjectFromFile always returns not
  supported format
- fix the IDirectMusicPerformance8::Init (many crashes)
- implementation of IDirectMusicPerformance8InitAudio
2003-06-13 18:59:51 +00:00
Christian Costa 77c00c9555 Make dinput8 behaviour more correct for mouse and keyboard.
Fix small bug when keyboard buffer overflows.
Use DI_OK instead of 0 for returned values.
2003-06-13 18:55:41 +00:00
Christian Costa 0153a911e4 Fix matrix multiplication. 2003-06-13 18:54:37 +00:00
Gregory M. Turner 141d3a3b02 Fix some uglies. 2003-06-13 18:54:18 +00:00
Sylvain Petreolle 656dc7a8f2 Added Euro and antiquote to the French keyboard layout. 2003-06-13 18:54:00 +00:00
Jason Edmeades 5593a08334 When emulating fullscreen it helps to not allocate space for menu bars
and borders. Make this window a popup window.
2003-06-13 18:53:06 +00:00
Francois Gouget c8ad3cb75c Add stubs for RasDeleteSubEntry* (new in WinMe/WinXP).
Add prototypes for RasDeleteEntry* and RasDeleteSubEntry* in ras.h.
2003-06-13 18:52:36 +00:00
Jason Edmeades 3cf874bb04 Make the fixed function pipeline support multiple streams for created
vertex shaders with no function supplied. Also split down draw
primitive along the lines of the d3dcore requirements and put in some
diagnostic aids.
2003-06-13 18:09:05 +00:00
Steven Edwards 3f5b518dfc Split Win16/32 color dialog support.
Supporting compiling out 16 bit find dialog support.
2003-06-13 18:07:45 +00:00
Lionel Ulmer 1fa9624682 Stubbed some interfaces for the FilterGraph CLSID. 2003-06-13 18:06:44 +00:00
Jukka Heinonen 4cbc69a223 Move get current directory and set current directory int21
subfunctions into winedos. Fix quite a few bugs in the implementation
of these functions.
2003-06-13 18:05:18 +00:00
Gregory M. Turner 6f27b3bc06 - implement FDI{Create,Destroy,IsCabinet}
- fix a typo
- duplicate a bug
- some blathering about code duplication
- change fdi.c indentation to be consistent with cabextract.c
2003-06-13 18:04:35 +00:00
Marcus Meissner eee3a24dc9 Fixed index handling for multi dimensional arrays. 2003-06-13 16:35:07 +00:00
Eric Pouech 1bb3859ece Added support for overlapped ioctl requests (and a few other
cosmetics).
2003-06-13 16:33:50 +00:00
Paul Bain 6936db1103 Put IID_IDirectInputDevice2A back in
IDirectInputDevice2AImpl_QueryInterface.
2003-06-13 16:32:16 +00:00
Lionel Ulmer 8944b25ead Be more stringent in the 'Lock' invalid RECT check. 2003-06-13 16:31:41 +00:00
Lionel Ulmer 9ac8ba1589 Upgrade OpenGL thunks with latest version of OpenGL extension
registry.
2003-06-13 16:31:17 +00:00
Robert Shearman 7614f27f3b - Make button text centre correctly when dropdown arrow is present
- Centre dropdown arrow
2003-06-13 16:30:24 +00:00
Francois Gouget 0fc0ddb62d Add stubs for some new WinXP APIs. 2003-06-13 16:29:54 +00:00
Francois Gouget 39e2a19bc8 Add a stub for CompareSecurityIds (new in WinXP). 2003-06-13 16:29:36 +00:00
Lionel Ulmer f0339d222d Fix the BLT COLOR_FILL case. 2003-06-13 16:29:18 +00:00
Jukka Heinonen b2844d2c3a Split timer code into separate source file.
Stop using SIGALRM for timers.
2003-06-13 16:28:49 +00:00