Commit Graph

5142 Commits

Author SHA1 Message Date
Marcus Meissner e1c7202716 Fixed undefined operation compiler warning. 2003-02-11 22:20:24 +00:00
Jukka Heinonen b3143f6f70 Add locking to VGA_SetWindowStart.
Move console updates to update thread instead of immediately writing
to console.
2003-02-11 22:19:27 +00:00
Jukka Heinonen d6b6dda6c1 Add support for VESA mode information.
Reorganize controller and state information routines.
2003-02-11 22:18:11 +00:00
Dimitrie O. Paun 15e0657f6b Compute matrix of first paint when we actually have some items
(problem first spotted & debugged by Duane Clark).
2003-02-11 22:17:31 +00:00
Lionel Ulmer 55d4f93e2b Added stub for undocumented 'wglGetDefaultProcAddress' function. 2003-02-11 22:13:54 +00:00
Warren Baird 6552e83a2d Fix wrong structure used to determine the size of a memcpy in
MFDRV_CreateBrushIndirect.
2003-02-11 22:13:11 +00:00
Martin Fuchs 95ffdc1db4 Fixed time zone calculation. 2003-02-11 22:12:41 +00:00
Alexandre Julliard b7a8eefb2b Authors: Francois Gouget <fgouget@free.fr>, With help from Enio Schutt Jr <enio.s.jr@operamail.com>
Skip the overlapped I/O tests on files on Win9x.
2003-02-11 22:11:56 +00:00
Marcus Meissner 1998beaeef Implemented __crtLCMapStringA. 2003-02-11 22:11:17 +00:00
Dmitry Timoshkov 74d7ef8401 Manage internal ctl3d auto subclass flag. 2003-02-11 22:10:36 +00:00
Ove Kaaven bed2b9c3dc Only install the keyboard hook on device creation. 2003-02-11 22:10:11 +00:00
Christian Costa 93a943eecc Add support for 24 bpp to _Blt_ColorFill.
Fix endianness issue in DIB_DirectDrawSurface_Blt.
2003-02-11 21:58:07 +00:00
Andreas Mohr 37fc599268 Added FIXME on stub exception. 2003-02-11 21:56:59 +00:00
Alexandre Julliard bb2210bc45 Store mbstok() next pointer in the per-thread data. 2003-02-01 00:59:22 +00:00
Michael Stefaniuc d76455df74 Implemented _mbstok and _mbsnbset. 2003-02-01 00:45:22 +00:00
Ove Kaaven 0e85f48f9d Implemented marshalling of pointers, simple and complex structures,
conformant and complex arrays, and user-marshalled types.
Improved marshalling of conformant strings and interface pointers a
bit.
2003-02-01 00:44:51 +00:00
Rolf Kalbermatter d11efe88b9 Change SHCreateDirectory and Win32DeleteFile to be Unicode or ANSI depending
on OS version. Add ShCreateDirectoryEx API.
2003-02-01 00:41:30 +00:00
Jason Edmeades 043680c140 Correct some capabilities, and default others to fully supported for
now.
2003-02-01 00:35:36 +00:00
Andrew John Hughes f1028ea28b - DeviceCapabilities16 now calls PSDRV_DeviceCapabilities.
- ExtDeviceMode16 now calls PSDRV_ExtDeviceMode.
- Extended switch statement in DeviceCapabilities to handle new
  options.
- Added comments to functions.
2003-01-31 03:24:33 +00:00
Bill Medland 62a80b76f2 Better handling of bad data in TabbedTextOut/TabbedTextExtent
Checked with:
a) Null tabstop array with non-zero number of entries
b) Negative number of entries (MSDN is wrong; it is not an error)
c) Single tabwidth of negative size
d) Single specified tabwidth of zero size
2003-01-31 03:23:18 +00:00
Ove Kaaven 9dc2584b32 ReuseBuffer should be FALSE for RPC clients.
Some cleanups and elimination of some duplicate code.
2003-01-31 03:22:53 +00:00
Ove Kaaven c3e724d047 Fixed a bug in CompleteBindingA/W. 2003-01-31 03:22:38 +00:00
Ove Kaaven 5d121fbe05 Implemented RpcRaiseException. 2003-01-31 03:22:27 +00:00
Marcus Meissner af39862fe3 Implemented mbsicoll (without locale handling). 2003-01-31 03:20:25 +00:00
Waldeck Schutzer c1a4cead2f Removed invalid char. 2003-01-31 03:20:03 +00:00
Alexandre Julliard 27441a91e0 XCloseIM sometimes crashes in Xlib, don't call it. 2003-01-30 01:08:53 +00:00
Liu Spider bda34eaa52 Added XNFocusWindow attribute when creating a IC. 2003-01-30 01:07:43 +00:00
Andrew John Hughes 1f7dbca935 Provide stub implementations of GetTypeByNameA and SetServiceA. 2003-01-30 00:23:39 +00:00
Dan Kegel 07f773d917 Only warn if message is >= WM_USER && < WM_APP. 2003-01-30 00:18:48 +00:00
Raphael Junqueira 92155f158f - Defer of IDirect3DVertexShader_SetConstant, waiting for
DrawPrimitive call.
- Beginning of VertexShader constants support into stateblock (only
  stored, not captured yet).
- Fix compiation with nivdia GL/gl.h and mesa Gl/glext headers as
  reported by Andrew John Hughes.
- One glActiveTexture/glActiveTextureARB missing.
2003-01-30 00:18:27 +00:00
Jukka Heinonen 8e8518d4ba Fix buffered input function. Add support for UMB subfunctions to
memory allocation strategy function. Move flock to winedos.
2003-01-30 00:17:03 +00:00
Eric Pouech 766ea910b9 - made ICInfo closer to Windows behavior (i.e. no longer opens the
driver)
- fixed most endianess related bugs in fourCC handling
- added debug function for printing fourCC:s
- internal function fixes and speed-up
2003-01-30 00:16:35 +00:00
Raphael Junqueira 4b0297d894 Some needed cleanups for future dx9 and d3d common layer support:
- stateblocks to IDirect3DStateBlockImpl interface and moving into
    a new file (stateblock.c)
  - shaders to IDirect3D*ShaderImpl interfaces
  - splitting vshader and vshader declaration as in dx9 into 2
    interfaces (for future common layer use)
  - vshader declaration code to a new file (vsaderdeclaration.c)
  - device calls to new interfaces (redirect stubs)
Simple texture fix for a little regression after last Jason's patches.
Some caps code using the GL/glext.h defines (GL_VERSION_*).
2003-01-28 01:12:23 +00:00
Gerald Pfeifer cfda84ef53 Properly #define sipx_node for FreeBSD. 2003-01-28 01:07:09 +00:00
Juergen Schmied 34f89b23c6 Fix DoDragDrop in case of child windows. 2003-01-28 01:06:20 +00:00
Alexandre Julliard 49a013cdd3 When using desktop mode attach all thread inputs together, so that
keyboard focus works properly.
2003-01-28 00:34:07 +00:00
Marcus Meissner 7d2173a9e9 Do not free the old string in SysReAllocStringLen, reuse the old
string memory (if 'in' is NULL).
2003-01-28 00:30:29 +00:00
Gerald Pfeifer 9e40570812 Avoid compiler warning in STORAGE_get_free_pps_entry(). 2003-01-28 00:24:23 +00:00
Martin Wilck c422dae189 Do not clear FD_WINE_CONNECTED on shutdown(). FD_WINE_CONNECTED
(currently unused) can thus be used to determine if a stream socket
was ever connected.
2003-01-28 00:24:04 +00:00
Marcus Meissner b3be773afe Added R4 and R8 comparison to VarCmp.
Added I2 to VarFormat.
Added VarSub, VarDiv, VarMul for integer and float types.
2003-01-28 00:23:19 +00:00
Jukka Heinonen f0e1c04b87 Replace FIXMEs with TRACEs in those paging functions that really are
not supposed to do anything.
Add simple emulation of coprocessor state functions.
2003-01-28 00:19:21 +00:00
Jukka Heinonen f92c8ca401 Return scancode when extended keycodes are read using console input
functions. Move file stamp handling to winedos. Implement DOS7 file
stamp extensions.
2003-01-28 00:18:57 +00:00
Shachar Shemesh 7ee13d8f3e - Defined IDs for string constants for font color names and for the
various charsets.
- Load the color names from the resources in the fonts dialog.
2003-01-28 00:18:31 +00:00
Andreas Mohr 056d2a4421 "InternetAutoDial" should be "InternetAutodial". 2003-01-28 00:17:15 +00:00
Jukka Heinonen 6758f027fa Handle horizontal and vertical retrace separately. 2003-01-28 00:16:15 +00:00
Jukka Heinonen 1f5e6994af Unify VGA and VESA video mode setting code. 2003-01-28 00:16:01 +00:00
Enrico Horn eaae7050fa Added d3dim.dll with stubs. 2003-01-24 01:08:15 +00:00
Alexandre Julliard 43690e9e47 Removed no longer needed inclusion of heap.h. 2003-01-24 00:54:58 +00:00
Jason Edmeades aaa68a32f7 Add support for color material sources, with help from Lucho. 2003-01-24 00:48:10 +00:00
Leonardo Quijano Vincenzi 0207855e1d Fixed Latin American keyboard (key "?!" was reversed). 2003-01-24 00:47:08 +00:00
Matthew Davison 620323e294 Removed some Unicode -> Ascii cross-calls. 2003-01-24 00:45:51 +00:00
Stefan Leichter f2710545ba Removed windows version checks from GetPrinterDriverDirectory tests. 2003-01-24 00:45:21 +00:00
Matthew Davison 60009b9a56 Removed calls to HEAP_strdupAtoW. 2003-01-23 23:07:38 +00:00
Marcus Meissner f63e5b646a Remove errno.h from files that do not need it. 2003-01-23 22:51:04 +00:00
Jason Edmeades 5840a1bffc Use device max lights and clipplane support. Also change clipplane to
be affected by view matrix.
2003-01-23 22:38:51 +00:00
Alexandre Julliard a52b2777b2 Keysym check should use 0x8000 instead of 0x800 (spotted by Dmitry
Timoshkov).
2003-01-23 21:35:14 +00:00
Alexandre Julliard f8aa3b506c Added -Wpointer-arith gcc flag, and fixed the resulting warnings. 2003-01-23 21:32:35 +00:00
Greg Turner 92cc5868ae Fix some problems when Extract is used more than once. 2003-01-23 21:22:24 +00:00
Waldeck Schutzer dda7f979d5 Audio codecs were erroneously being listed multiple times, making it
difficult to run certain applications like VirtualDub.
2003-01-23 21:21:33 +00:00
Waldeck Schutzer ab908c4162 Make sure the parameter phas is correct by setting it equal to NULL in
query mode.
2003-01-23 21:21:02 +00:00
Gerald Pfeifer 701ab7dd61 Improve portability wrt. struct sockaddr_ipx. 2003-01-23 21:20:36 +00:00
Alexandre Julliard e5fb975a6e Added dead keys support using X input methods (based on a patch by
Dmitry Timoshkov).
2003-01-23 01:29:58 +00:00
Alexandre Julliard 8b6a21950d Create an X input context for each top-level window. 2003-01-23 01:28:12 +00:00
Marcus Meissner d0372b4e6e Fixed ICOM_CALLs for IFont_xx methods.
Added IPersistPropertyBag, IPersistStreamInit interfaces with stubs.
Implemented IDispatch::Invoke for the used DISPIDs.
2003-01-23 01:23:59 +00:00
Jukka Heinonen 66b29b275e Return number of bytes written when writing to DOS console using int21
function 0x40. Move some int21 functions to winedos.
2003-01-23 01:23:01 +00:00
Jukka Heinonen fcba2b538e Reorganize int10 code. Fix comments. 2003-01-23 01:22:40 +00:00
Waldeck Schutzer f9b35fac09 Fixed initialization of szDevice in ICINFO. 2003-01-23 01:22:16 +00:00
Christian Costa a49cc9e4e1 Implement vertex and pixel fog.
Fix fog color initialization.
2003-01-23 01:21:50 +00:00
Alexandre Julliard a29960e702 Make sure to always set X focus on the top-level window, not on
child windows.
2003-01-21 20:16:20 +00:00
Rolf Kalbermatter 49e1b69172 Change SHChangeNotify to be Unicode and ANSI indifferent, as the type
of parameters is really defined by uFlags parameter.
2003-01-21 19:36:24 +00:00
Liu Spider 5f66cf3a0b Implemented GetFileTitleW; GetFileTitleA now is a call to
GetFileTitleW.
2003-01-21 19:32:21 +00:00
Gerald Pfeifer 6fb1c40eb9 Only declare variables we actually need. 2003-01-21 19:30:52 +00:00
Marcus Meissner 0df0304048 Print a large failure message if we try to load stdole32.tlb and
fail.
2003-01-21 19:29:33 +00:00
Waldeck Schutzer 91d4f41e6e Fixed problems with finding and listing all the video
compression/decompression codecs.
Proper initialization of szDriver field in ICINFO by ICGetInfo.
2003-01-21 19:29:09 +00:00
Robert Shearman 004fed63c5 - Clear bits in structure passed to IOleCommandTarget_QueryStatus to
show that we don't support any Exec's.
- Add two Exec cases that were found during testing.
2003-01-21 19:28:36 +00:00
Jason Edmeades b4a3f1dc68 Ensure using correct args during complement texture operations. 2003-01-21 00:41:32 +00:00
Jason Edmeades ffd4fd517e Restore the texture env mode on SetTexture - Fixes problem in
codesampler demo.
2003-01-21 00:30:27 +00:00
Marcus Meissner 4a46348a9c Changed MONITORINFOEXA,W definition to the one in MSDN which does not
cause gcc 3.3 warnings.
2003-01-21 00:29:31 +00:00
Francois Gouget acc5e9bba1 Check for sysparams keys in either the Win9x or NT locations. This
makes the test succeed on Win9x and NT4 platforms.
Add a 'strict' mode which specifically makes sure that the NT location
is set. In strict mode the test succeeds on Windows XP and Wine.
2003-01-20 23:30:22 +00:00
Francois Gouget 48dacc4996 Make sure we always know about the 48 and 96kHz formats even if they
are not defined in the (old) Windows headers.
2003-01-20 23:28:50 +00:00
Gerald Pfeifer 61e9670d31 #include <stdlib.h> instead of the non-standard <malloc.h>. 2003-01-20 23:27:27 +00:00
Christian Costa 820b8ca0e8 Handle more light states. 2003-01-20 23:27:08 +00:00
Francois Gouget 2a56437f72 {Get,Set}ThreadPriorityBoost are stubs on Win98. 2003-01-20 23:26:09 +00:00
John K. Hohm 2db37e20cd Added optional OLESelfRegister to wine_common_ver.rc, used in
dlls/comcat.
2003-01-20 23:24:43 +00:00
Christian Costa 6d9630f397 Make D3D1..3 lights code rely on D3D7. 2003-01-20 23:24:05 +00:00
Jason Edmeades f5885defc9 Only reload the mipmap images when dirty. 2003-01-20 23:23:41 +00:00
Matthew Davison 6f2a071df1 Remove some calls to HEAP_strdupAtoW from advapi32. 2003-01-20 23:23:12 +00:00
Lawson Whitney 0c391fe32f Fix reversed hour and minute in int 21 ah=2c. 2003-01-20 23:22:27 +00:00
Francois Gouget 9140349886 Warn if open_count is already 0 when OSS_CloseDevice is called.
Don't decrement it in that case.
2003-01-16 01:16:46 +00:00
Francois Gouget 8e9dcb6655 Use the same 8/16bit conversion routines as in pcmconverter.c.
Reorder the two ifs in the first part of cp_fields to simplify the
code.
2003-01-16 00:20:07 +00:00
Francois Gouget 336d8fe298 SetFormat may not change the primary buffer format as requested.
Dump the effective format and prepare the tone signal accordingly.
Play tones from the secondary buffers at -3dB rather than -12dB.
Always print the volume the tone is going to be played at.
Remove the gamedev URL.
2003-01-16 00:19:49 +00:00
Francois Gouget a4c90cff02 Don't use old_spacing-1 if old_spacing already has the minimum value. 2003-01-16 00:19:24 +00:00
Francois Gouget 2147b9f5da Return MMSYS_NOERROR even if we don't open the device with the
requested format, otherwise OSS_OpenDevice will not increment
open_count.
Use -1 to signal OSS_RawOpenDevice not to do ioctls because 0 is
ambiguous (also means mono as opposed to stereo).
2003-01-16 00:19:04 +00:00
Bill Medland 37bbb1c26e Correct GetDateFormat handling of uninitialised fields: only the year,
month and day fields matter; the rest may be uninitialised.
2003-01-16 00:18:34 +00:00
Francois Gouget e1685e6bf5 ok() does not support '%S'. Store the Ansi version, convert to Unicode
when needed, and print the Ansi version using ok().
Fix 'value is so large it is unsigned' warnings.
2003-01-16 00:11:32 +00:00
Juergen Schmied 8be60f8212 Translated some remaining English words. 2003-01-15 03:33:08 +00:00
Juergen Schmied d5281fd393 Give some functions real names. 2003-01-15 00:53:39 +00:00
Stefan Leichter 8780853ab7 Make GetPrinterDriverDirectoryA pass all tests. 2003-01-15 00:51:16 +00:00
Stefan Leichter 88b1106492 Added tests for GetPrinterDriverDirectoryA. 2003-01-15 00:50:48 +00:00
Robert Shearman 8c1911f65a Separate the HINSTANCEs used by GetShellOle() and other delay load
functions.
2003-01-15 00:45:19 +00:00