Ove Kaaven
1a0112a47d
Make NdrDllRegisterProxy use the interface stub header instead of the
...
interface proxy header to avoid stubless proxy ambiguities.
2003-02-17 01:47:54 +00:00
Rok Mandeljc
22b09a10f0
Reimplemented distance attenuation formula.
...
Removed coning formula since i believe it's inappropriate.
2003-02-17 01:46:46 +00:00
Shachar Shemesh
ee63d5ee4a
- Implemented two lookup tables for the sample fonts. The first,
...
"CHARSET_ORDER", is for converting codepage to ordinal charset num,
and the second, "SAMPLE_LANG_TEXT", is for giving the actual sample
text.
- Removed all references to changing the font directly in stc5.
- Modified the "InvalidateRect" calls to invalidate the rect where
stc5 is, rather than stc5 itself.
- Added handling of WM_PAINT that draws the sample text, properly
truncated.
- Removed handling of WM_CTLCOLOR - no longer neccessary.
2003-02-15 00:02:24 +00:00
Robert Reif
5be7f69d72
Added support for direct sound capture and a real direct sound capture
...
driver. Capture now works with some skipping. Full duplex does not but
I will be working on that next.
2003-02-15 00:01:17 +00:00
Robert Reif
4c9e56b163
Added additional formats.
...
Fixed a few bugs in read/write positions when the format is mapped
using acm.
Fixed a bug where the number of waveOut devices is used when iterating
over waveIn devices.
2003-02-15 00:00:12 +00:00
Robert Reif
bcc4bb2d06
Started to add support for a real direct sound capture driver.
...
Changed the capture fragment size but this still needs tuning for best
performance.
2003-02-14 23:59:15 +00:00
Duane Clark
65a9f4daac
Support the undocumented behavior of deleting column zero.
2003-02-14 23:31:45 +00:00
Dan Kegel
743af54541
Roll loop back up to avoid code duplication.
2003-02-14 23:30:50 +00:00
Uwe Bonnes
51e4839fb0
Separate "Enumerate Hardware Addresses" as function, as other netapi32
...
function need it.
Implemented level 0 of NetWkstaTransportEnum.
2003-02-14 23:29:24 +00:00
Michael Stefaniuc
909ffb7930
Implemented _mbsnbcat.
2003-02-14 23:26:58 +00:00
Dimitrie O. Paun
00ccf38987
Correctly remember the first paint event, but delay item metrics
...
calculation until we actually have some items.
2003-02-14 19:24:11 +00:00
Jukka Heinonen
5812f52976
Outputting backspaces should only move the cursor.
...
Text buffer copy is now always initialized correctly.
Preserve video memory flag is parsed and text screen is now really
cleared when flag is clear.
2003-02-14 19:23:16 +00:00
Lionel Ulmer
19e6bf96e8
Use the dwStartVertex argument in the Draw*PrimitiveVB methods.
2003-02-12 21:40:25 +00:00
Lionel Ulmer
b307e6a77f
Change algorithm to detect lighted / unlighted vertices.
2003-02-12 21:36:56 +00:00
Lionel Ulmer
4d09cba51d
Handle the COLORVERTEX render state.
2003-02-12 21:35:06 +00:00
Lionel Ulmer
db9b5f74dc
Trace after the matrix has been copied, not before.
2003-02-12 21:34:46 +00:00
Sergei Turchanov
bf8237553c
- _SHStrDupAA forgot about terminating '\0'.
...
- SHStrDupA adds extra terminator which is not needed as the length
returned by MultiByteToWideChar(,,-1,,) already includes it.
2003-02-12 21:29:20 +00:00
Marcus Meissner
5e71f2d536
Fix warning in __crtLCMapStringA.
2003-02-12 21:28:47 +00:00
Gerald Pfeifer
820157b836
Avoid warnings caused by assert(...).
2003-02-12 21:28:04 +00:00
Duane Clark
45abf7cfa0
Replace HEAP_strdupAtoW call and delete extra
...
RtlCreateUnicodeStringFromAsciiz.
2003-02-12 21:27:27 +00:00
Lionel Ulmer
d14ad4ff8a
Implemented EnumObjects for the keyboard device.
2003-02-12 21:27:00 +00:00
Lionel Ulmer
dff968b5f3
- fixed GetTransform
...
- implemented MultiplyTransform
2003-02-12 21:26:28 +00:00
Lionel Ulmer
6238f9a6fb
Added fogging for transformed vertices.
2003-02-12 21:26:05 +00:00
Michael Stefaniuc
62ed0ffe00
Added some missing LeaveCriticalSection's.
2003-02-12 01:26:05 +00:00
Michael Stefaniuc
3dcd451bf6
Remove dead code after return or properly comment it out.
2003-02-12 01:23:17 +00:00
Duane Clark
0987ae04f3
Winspool expects NULLs to be preserved in ascii to unicode
...
conversions.
2003-02-12 01:19:25 +00:00
Warren Baird
41bbe7073f
Implementation of GetDeviceCaps in metafile driver.
2003-02-12 01:17:25 +00:00
Lionel Ulmer
7c552a4a3a
Report an error if GetDeviceData is called on an Unacquired device.
2003-02-12 01:13:31 +00:00
Christian Costa
f21887f431
Fix comment in ZfromZproj.
...
Fix missing path in lighting code.
Move some OpenGL fog init to the right place.
2003-02-12 01:11:17 +00:00
Christian Costa
3268097dcd
Implemented IDirect3DDevice7_Load.
2003-02-12 01:10:03 +00:00
Jukka Heinonen
101f91d9df
Reorganize IOCTL handling.
...
Move ASPI hooking to winedos.
Move some miscellaneous functions to winedos.
Remove unnecessary exports from winedos dll.
2003-02-11 22:22:50 +00:00
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
Francois Gouget
6bbce6cd22
Initialize the pwave array whenever we don't have a hardware buffer.
...
Always create the wineoss thread.
Change the mmap ERR into a TRACE: there are normal circumstances where
mmap will fail and we can deal with them.
2003-01-15 00:44:50 +00:00
Francois Gouget
9b0b1e078a
Remove (POINTER)NULL casts.
2003-01-14 23:43:41 +00:00
Raphael Junqueira
9e43683316
- beginning of vertex matrix blending using extensions (currently
...
alpha alpha stage as i haven't understand needed extension behavior)
- modify SetRenderState for matrix blending specific params
- by default diffuse color is white ;)
- comments most of the traces (else flood ...)
- add more urls in comments
- indent, cleanups
2003-01-14 23:12:37 +00:00
Raphael Junqueira
72fb7acf8d
Beginning of more COM compliant behavior:
...
- AddRef/Release where needed
- use IUnknown* instead void*
- fix many GetDevice using AddRef
- fix IDirect3DSurface8Impl_GetContainer using QueryInterface
2003-01-14 23:05:39 +00:00
Jason Edmeades
7472d72e03
Copyrect should flag destination texture as dirty, to force it to be
...
reloaded.
2003-01-14 22:53:50 +00:00
Jason Edmeades
bcb05fd43e
Add support for some of the texture address states and border colour.
2003-01-14 22:50:00 +00:00
Raphael Junqueira
6b03dd5c85
- move input and output data in VertexShader struct
...
- better traces
- specific input data filling function for vertex shaders using vertex
shader declaration (and not FVF ... maybe FVF will return for fast
path with simples vertex shader declarations)
- huge vertex shader fixes:
- add and fix many vs (1.0->2.0) used opcodes in complex shaders
- improvements to programs parser: parse comments, version, ..
- add a vertex shader input filler function (parsing vertex shader
declaration): almost complete
- comments most of the traces (else flood ...)
- add more urls in comments
- indent, cleanups
2003-01-14 20:29:33 +00:00
Alberto Massari
04ee55e994
- Align the cleanup phase of ReleaseStgMedium to the native API.
...
- When the data is a bitmap or an enhanced metafile, use the correct
data member.
2003-01-14 19:32:14 +00:00
Uwe Bonnes
574d4a91a6
Stubs for Un|LockServiceDatabase.
2003-01-14 19:31:44 +00:00
Rok Mandeljc
5438df173e
Added cone support.
2003-01-14 19:31:08 +00:00
Robert Shearman
bda22de541
- Add some stubs.
...
- Implement kernel32.FatalExit.
2003-01-13 20:44:13 +00:00
Enrico Horn
a96bfbd181
Add version info to dinput.
2003-01-13 20:41:18 +00:00
Enrico Horn
6b83bb622b
Add version info to dll/dsound.
2003-01-13 20:40:45 +00:00
Francois Gouget
6fed1e3738
Update the registry keys of SPI_ICONHORIZONTALSPACING,
...
SPI_ICONVERTICALSPACING and SPI_SETICONTITLEWRAP to match XP.
The SPI_SETBORDER test leaves an incorect border setting and is just
too erratic: comment it out for now.
Modified the SPI_ICONHORIZONTALSPACING, SPI_ICONVERTICALSPACING and
SPI_SETWORKAREA to not cause the icons to be reorganized.
Don't test out-of-bound values for SPI_SETKEYBOARDSPEED as behavior
differs accross Windows platforms.
On Win9x the maximum value for SPI_SETSCREENSAVETIMEOUT is 32767.
The registry keys and values stored in them for
SPI_ICONHORIZONTALSPACING and SPI_ICONVERTICALSPACING depend on the
Windows platform: ignore them.
No Windows platform seems to SPI_SETFASTTASKSWITCH: no longer test it.
The lParam of WM_SETTINGCHANGE is quite useless (even the MSDN says
so!) and varies accross Windows platforms. Ignore it.
Always check the SystemParametersInfoA return code as it fails in very
strange ways on some platforms. Skip unsupported settings.
Skip Unicode tests on platforms that don't support it.
2003-01-13 20:40:22 +00:00
Robert Shearman
37d9b486f9
Support a few trivial cases in PropVariantClear.
2003-01-13 20:37:39 +00:00
Robert Shearman
d0019a6040
AlignRects stub.
2003-01-13 20:36:39 +00:00
Enrico Horn
daeaff6944
Extend version info.
2003-01-13 18:31:19 +00:00
Lionel Ulmer
f85759bcc9
Update the 'DIRECTDRAW7' flag according to the interface initialized.
2003-01-13 18:30:47 +00:00
Francois Gouget
18e6bb81e3
Fix the case of floats in VarBstrFromR4, VarBstrFromR8 and
...
VarBstrFromCy.
We cannot check for equality of floats or doubles because of rounding
errors. Check equality to 14 digits for doubles.
Add more precision to the expected results so that they match actual
results.
Print floating values with more precision so we know what went wrong.
Specify the locale for all variant functions that depend on it.
Added return codes for Win95. Win95 returns dates with only two digits
for the year.
Uncommented more VariantCopyInd and VariantChangeTypeEx tests.
2003-01-13 18:30:18 +00:00
Francois Gouget
c7de2085bb
Use only Ansi APIs for cleaning up the registry.
...
Skip Unicode tests if the Unicode APIs are not implemented.
If the value name buffer is too small, Win9x returns the number of
characters returned as specified in the MSDN while other Windows
return the number of bytes written (including the trailing '\0').
2003-01-13 18:29:31 +00:00
Eric Pouech
a2534ca00f
Added tests for environment variables, debug and suspend flags.
2003-01-13 18:28:43 +00:00
Alexandre Julliard
76db6b062e
Warning fixes.
2003-01-11 22:50:15 +00:00
Eric Pouech
e9005937ad
Added a few more stubs.
2003-01-11 22:48:11 +00:00
Francois Gouget
ce0557fe8e
Modify OSS_Wave{In,Out}Init to report the exact capabilities of the
...
OSS driver.
Add support for the 48kHz and 96kHz formats.
2003-01-11 22:47:51 +00:00
Eric Pouech
e8a7ad3040
Some code cleanups.
...
Better error handling.
Removed unneeded internal variables.
2003-01-11 22:47:21 +00:00
Alexandre Julliard
a3717a2edd
Fixed EOF return value for sscanf.
2003-01-11 21:06:02 +00:00
John K. Hohm
5778165d65
Reimplemented DllRegisterServer and DllUnregisterServer in a more
...
generally useful way, entirely in regsvr.c. Added (un)registration of
interfaces.
2003-01-11 21:05:15 +00:00
Dimitrie O. Paun
13098ea188
Create stubs for chsize, dup, and dup2.
2003-01-11 21:01:04 +00:00
Marcus Meissner
fe483aae1d
Coerce VT_UNKNOWN <-> VT_DISPATCH, NULL is valid in these cases.
...
Drop VT_x -> VT_x coercions, they are handled before the switch()
already.
2003-01-11 20:58:58 +00:00
Marcus Meissner
d5e60ea373
Convert VT_DISPATCH variants into VT_USERDEFINED/TKIND_DISPATCH and
...
TKIND_INTERFACE targets, Query IID_IDispatch if necessary.
2003-01-11 20:58:35 +00:00
Marcus Meissner
27627d977e
Implemented CoGetTreatAsClass.
2003-01-11 20:58:10 +00:00
Francois Gouget
32140adefa
DSB.SetFormat:Trace the requested format as soon as possible in case
...
it is not supported and simplify validity check.
Initialize the buffer format, and only from the fields we checked.
DirectSoundCreate8 fully initializes the buffer format (just in case).
2003-01-11 20:54:56 +00:00
Francois Gouget
8325deaa33
Fix latent deadlock in DSOUND_callback.
2003-01-11 20:53:43 +00:00
Mehmet Yasar
653510348a
- return EOF when stream is empty
...
- conformance test updated
2003-01-11 20:53:22 +00:00
Rok Mandeljc
438985f3dd
3d sound diminishes with distance.
2003-01-10 01:46:36 +00:00
Juergen Schmied
7cf87c521e
Fixed crash in winamp reported by Andreas Mohr.
2003-01-10 01:46:15 +00:00
Juergen Schmied
799e6ce629
Fix recently broken GetDisplayNamesOf of names of shell extension
...
dlls.
2003-01-10 01:45:57 +00:00
Marcus Meissner
728bedcfc6
Added GIF decompressor support to OLE Automation IPictures.
2003-01-09 06:04:33 +00:00
Jason Edmeades
cf5c35bc81
Calculate starting position for a copyrect correctly.
2003-01-09 06:02:39 +00:00
Eric Pouech
fa8b85aa5c
Set the edition mode as a specific attribute, not an extension of the
...
console mode.
2003-01-09 06:01:32 +00:00
Alexandre Julliard
39720afa84
Remove global NONAMELESS* define for tests too.
2003-01-09 01:56:27 +00:00
Matthew Mastracci
4caf4bf877
Add implementation for PathCreateFromUrlW and add the start for some
...
URL unit tests.
2003-01-09 00:50:17 +00:00
Dimitrie O. Paun
4a883a55f6
Collapse the -hHrs options into the -O option.
...
Generate .res files by default.
2003-01-09 00:03:53 +00:00
Eric Pouech
d93cb70558
Implemented GetModuleBaseName(AW), GetModuleFileNameEx(AW) and
...
GetModuleInformation.
2003-01-09 00:02:26 +00:00
Eric Pouech
2359b57574
- no longer depend on toolhelp definitions for generating snapshots
...
- added get_dll_info request
2003-01-09 00:01:28 +00:00
Dan Kegel
0fd521fee3
Change RECT to use LONG to match win32 standard headers and fix format
...
strings to use %ld for RECT elements.
2003-01-08 21:09:25 +00:00
Alexandre Julliard
8ba666f3a7
Store the keyboard state in the thread input structure on the server
...
side.
2003-01-08 19:56:31 +00:00
Stefan Leichter
7a78ca04ed
GetPrinterDriverDirectoryA: do not crash on null pointers.
2003-01-08 19:52:25 +00:00
Alexandre Julliard
242e395bbc
Store the hardware messages in the thread input structure, not in the
...
thread queue. Get rid of the cooked messages queue.
2003-01-08 00:27:58 +00:00
Francois Gouget
3efacb0acf
Remove extra #include directives from winspool.h.
2003-01-07 23:09:22 +00:00
Lionel Ulmer
1213c17489
- rewrote a little bit the state magagement to remove the RenderState
...
stucture and use only the state_block code
- factorize some code between interface revisions
- fix some smalls bugs
2003-01-07 23:08:31 +00:00
Francois Gouget
ede0e8ae64
In OSS_RawOpenDevice, always retrieve the device format and store it
...
in the OSS_DEVICE structure.
Modify our internal functions so that they can be told to still open
the device even if the device format is not an exact match.
In wodOpen return the actual device format if the WAVE_DIRECTSOUND
flag is set.
Fixes DirectSound on i810 soundcards (i.e. cards supporting only
48000x16x2).
2003-01-07 23:08:05 +00:00
Dimitrie O. Paun
297f3d898d
Define NONAMELESS{STRUCT,UNION} explicitly in the files that need them.
2003-01-07 20:36:20 +00:00
Francois Gouget
112cf22a12
Always open the device in the default 22050x8x2 format, and let it
...
report the actual device format to us.
2003-01-07 19:43:18 +00:00
Francois Gouget
772cabeba9
Fix the BlockSize check.
2003-01-07 19:43:02 +00:00
Dimitrie O. Paun
f53ddb2618
Stubs for DllGetClassObject, Ole[GS]etClipboard in ole2.
2003-01-07 19:42:43 +00:00
Christoph Frick
7f4cb0621b
Implementation of (Get|Set)ClipPlane for d3d7.
2003-01-07 19:42:26 +00:00
Francois Gouget
44eb8bf59f
Many oleaut32 APIs are missing on Win95/IE3. Load them dynamically.
...
Uncomment some 'NULL' tests as they pass on Windows and on Wine.
Comment out those that crash on Win95 and indicate why they are
commented out.
Remove two redundant tests in vartest.c (VarI1FromBool and
VarUI2FromI2, last diff hunk).
2003-01-07 19:40:40 +00:00
Alexandre Julliard
52395b0eb9
Fixed some issues caused by the new oaidl.h.
2003-01-05 20:32:30 +00:00
Lionel Ulmer
76beb5b7ec
Factorize the 'ortho' code (will be needed later on).
2003-01-05 20:28:35 +00:00
Lionel Ulmer
2d7c07c7c3
Ignore the LPSURFACE bit if ALLOCONLOAD is set.
2003-01-05 20:28:17 +00:00
Ove Kaaven
40b94e5347
Avoid direct ICOM_CALL usage.
2003-01-05 01:06:04 +00:00
Lionel Ulmer
07f1269302
- fix in the GetHandle method
...
- factorize some code between D3D1/2/3 and D3D7
- fix reference counting for palettes
2003-01-05 01:04:55 +00:00
Marcus Meissner
274e72672b
ole2nls.c is a 16bit only.
...
No need to define ICOM macros for 16bit iface IMalloc16.
Define and implement HGLOBAL_LockBytes16.
Started on StgOpenStorageOnILockBytes.
2003-01-05 01:04:34 +00:00
Francois Gouget
065e928a7b
The vt field should be a VARTYPE not a VARENUM.
2003-01-05 01:03:12 +00:00
Francois Gouget
ecf2c570d2
Fix signed/unsigned compilation warnings.
2003-01-05 01:02:57 +00:00
Rok Mandeljc
1b3ce0d571
- 3d buffers produce sounds
...
- some other small fixes
2003-01-04 01:24:59 +00:00
Rok Mandeljc
5b918db643
- cleaned *Set* functions
...
- added initial code for 3d buffer recalculating
- added some auxiliary functions
2003-01-04 01:22:51 +00:00
Dimitrie O. Paun
8b36681bad
Rename __WINE__ to __WINESRC__.
2003-01-04 00:52:18 +00:00
Alexandre Julliard
b4a4c05aed
Removed a few more #ifdef __WINE__.
2003-01-04 00:19:17 +00:00
Gerald Pfeifer
3af9641e6f
#include <stdlib.h> instead of the non-standard <malloc.h>.
2003-01-03 22:32:47 +00:00
Lionel Ulmer
330a1b5f2d
Enable Z buffer by default.
2003-01-03 22:32:30 +00:00
Jason Edmeades
850a9429db
Added basic support for mipmaping, verified using sample from
...
codesampler.com.
2003-01-03 21:28:05 +00:00
Jason Edmeades
3d1b725900
- Use faster vertex arrays (rather than processing vertexes one by
...
one), whenever possible.
- Less trace in the slower form by default.
2003-01-03 21:25:42 +00:00
Lionel Ulmer
f89ea6499d
- some fixes / optimisations in the color keying code
...
- minimize at the maximum texture uploads
2003-01-03 21:17:47 +00:00
Lionel Ulmer
cec93d0abd
- re-activate the color-keying code
...
- fix yet again texture enumeration to please all games :-/
2003-01-03 21:16:03 +00:00
Christian Costa
b110a96226
Reenable device's default render states initialization.
2003-01-03 21:10:11 +00:00
Lionel Ulmer
e51b007088
Fix order of texture enumeration to fix yet another set of dumb games.
2003-01-03 21:09:25 +00:00
Christian Costa
4fc7a8495a
Beginning of state block.
...
Initialize the device with the right D3D default values.
Implements GetRenderState, GetTextureStageState and GetLightState.
2003-01-03 21:08:50 +00:00
Lionel Ulmer
c064dcf50c
- hack for one case of the ProcessVertices case
...
- some changes in the execute buffer to reuse the new Matrix code
- always reinitialize the enumeration structures in case some games
modify them
- added support for the (unused) Reserved1 field in the FVF formats
- fix 32 bit texturing and added more checks
- remove some useless and annoying fixme
2003-01-03 21:07:22 +00:00
Lionel Ulmer
0114945b6d
- create a function to set the various transformation matrices to
...
factorize the code between the various code path
- fixed some logging stuff
2003-01-03 21:05:38 +00:00
Lionel Ulmer
74c95ec008
- more thunking in the D3DVertexBuffer COM object
...
- added 'support' for GetInfo
2003-01-03 21:04:12 +00:00
Lionel Ulmer
d0f1569218
- light improvements
...
- misc. fixes
2003-01-03 21:03:15 +00:00
Dimitrie O. Paun
cef5961d2b
Eliminate lots of __WINE__ conditionals from the headers.
2003-01-03 19:12:55 +00:00
Lionel Ulmer
5f87d778aa
- some additionnal flags logged
...
- fixes in the vertex buffer thunking + optimized flag support
2003-01-03 19:10:48 +00:00
Francois Gouget
f947a58006
Win9x does not support {Get,Set}WindowLongW. Use the Ansi version
...
instead since it won't impact _these_ tests anyway.
2003-01-03 19:09:23 +00:00
Alexandre Julliard
78ff6763ed
Added wine_dbg_sprintf function that allocates a temporary buffer in
...
the per-thread strings area.
Added inline functions to format POINT, SIZE and RECT structures.
2003-01-03 03:12:58 +00:00
Dimitrie O. Paun
dfa6b127c2
SHGetMalloc() returns a HRESULT, not a DWORD.
2003-01-03 03:07:21 +00:00
Lionel Ulmer
5e36ae56b2
Check the value of the pfnCallback in addition to the callback bit.
2003-01-03 03:06:42 +00:00
Stefan Leichter
facaee4fd0
Moved implementation of GetPrinterDriverDirectory from ascii to unicode.
2003-01-03 03:04:46 +00:00
Chris Morgan
fa93b446d0
Listview should scroll by at least one column, fixes bug where item
...
being wider than listview prevents any scrolling from occuring. Added
printing of the scroll code text during tracing of scroll functions.
2003-01-03 03:04:22 +00:00
Dan Kegel
adf55c25db
ShellExecute(NULL, "wordpad.exe",) now correctly finds wordpad.exe in
...
App Paths.
2003-01-03 03:03:36 +00:00
Dominik Strasser
ab8247ae5f
Implement VerSetConditionMask by forwarding to ntdll.
2003-01-03 03:03:07 +00:00
Francois Gouget
e0af6d0218
Call lstrcmpW rather than wcscmp.
2003-01-03 03:02:15 +00:00
Marcus Meissner
8ff278d25e
Implemented SafeArray{SetIID,GetIID,SetRecordInfo,GetRecordInfo}.
...
Added support for FADF_HAVEIID, FADF_RECORD, FADF_HAVEVARTYPE.
Implemented SafeArrayAllocDescriptorEx and SafeArrayGetVarType
correctly.
Fixed second argument of SafeArrayCopyData (it is just SAFEARRAY*).
Changed allocation to include 16 bytes before the SAFEARRAY (to store
IID/VARTYPE/IRecordInfo*).
VARTYPE -> size array was not indexed correctly.
Added lots of testcases for most functionality.
Added IRecordInfo interface definition.
2003-01-02 23:13:56 +00:00
Marcus Meissner
48e583db52
Handle VT_ERROR->VT_I4/VT_R4 coercion.
...
VariantCopy does not need to check the return of VariantClear.
VariantCopyInd now copies VT_UNKNOWN and VT_DISPATCH too.
VarCmp handles VT_BOOL.
VarFormat handles VT_BSTR.
coerce_array fixed for VT_ARRAY|VT_UI1 -> VT_BSTR and VT_ARRAY|x ->
VT_SAFEARRAY cases.
VarCat tries to coerce types into VT_BSTR to do cat.
2003-01-02 23:11:56 +00:00
Marcus Meissner
4beaa06e9d
Process TKIND_ALIAS in SLTG typelibs, 0x14 in the tail is the
...
tdescAlias.vt entry.
Added a small handler for TKIND_DISPATCH in SLTG.
ITypeLib_Release can have a NULL pointer as ITypeInfo*.
Split out _copy_arg function for both DispCall and ITypeInfo_fnInvoke,
added some more functionality.
ITypeInfo_fnInvoke can handle VT_USERDEFINED variants.
2003-01-02 23:11:19 +00:00
Francois Gouget
3b761a6b39
Add the ability of playing a test tone when in interactive mode.
...
Test both primary and secondary buffers.
2003-01-02 23:08:57 +00:00
Alberto Massari
4ab2eac2cd
- Implemented InternetCrackUrlW and re-implemented InternetCrackUrlA
...
by using the Unicode version.
- InternetCrackUrlW now parses URL having the "about" and "res"
schemes.
2003-01-02 23:08:22 +00:00
Lionel Ulmer
442b235e63
Fix for stupid applications reading some bytes after the end of the
...
surface memory.
2003-01-02 20:14:24 +00:00
Lionel Ulmer
00a3d5f3f8
- added enumeration of the Reference device (some games seems to need
...
it to work and they want it enumerated first..)
- some comments about potential problems with Z masking
2003-01-02 20:13:47 +00:00
Lionel Ulmer
4dac4a5580
Added support for per-vertex material properties.
2003-01-02 20:12:16 +00:00
Christian Costa
bc2cf94d2f
Reimplemented SwapTextureHandles.
2003-01-02 20:07:05 +00:00
Lionel Ulmer
ae10e9c5aa
- removed some useless WARNs
...
- fixed backface culling and material settings
2003-01-02 20:05:48 +00:00
Christian Costa
f78cf542dc
Fix IDirect3DVertexBuffer interface.
...
Implements GetVertexBufferDesc.
Remove some useless FIXME.
2003-01-02 20:02:49 +00:00
Lionel Ulmer
d70a2c0322
- beginning of Material and Light support for D3D7
...
- new rendering states supported
2003-01-02 20:01:54 +00:00
Lionel Ulmer
825ad05656
Fixed texturing.
2003-01-02 20:00:25 +00:00
Lionel Ulmer
b07df8a198
- allow application to load palette-less textures
...
- handle palette change of loaded textures
- some changes in the ExecuteBuffer
2003-01-02 19:59:49 +00:00
Lionel Ulmer
bb9837d2a4
- added some tracing in the fake ZBuffer methods
...
- added support for the DEPTH_FILL BLT
- set by defaut perspective correction to nicest.
- decrease the limit where 'w' is ignored
2003-01-02 19:58:21 +00:00
Lionel Ulmer
f0541aa544
Added some blend states.
2003-01-02 19:56:52 +00:00
Christian Costa
eb620386dd
Handle more blend states.
2003-01-02 19:56:08 +00:00
Lionel Ulmer
07bcdf40d1
Prevent memory leak in freeing of the VertexBuffer.
2003-01-02 19:54:09 +00:00
Lionel Ulmer
eb6e830727
Implement GetTransform and rework a bit the matrices storage.
2003-01-02 19:53:43 +00:00
Lionel Ulmer
7a025001d3
- implemented GetTexture
...
- semi-stubbed ValidateTexture
- fixed some errors in logging
2003-01-02 19:52:22 +00:00
Lionel Ulmer
6fb7ed8fa7
Added 'blt' and 'bltfast' override functions.
2003-01-02 19:51:25 +00:00
Lionel Ulmer
ce3d96889f
Added 'emulated' VertexBuffer support.
2003-01-02 19:46:46 +00:00
Lionel Ulmer
c3d89f5566
- do not use the alpha coordinates when ALPHABLEND is disabled
...
- disable fogging in the XYZRHW case
- various other small fixes
2003-01-02 19:45:23 +00:00
Lionel Ulmer
62d4f41ee8
Factorize some code in the texture uploading function.
2003-01-02 19:44:14 +00:00
Lionel Ulmer
da66dad0cc
Handle texture addressing the D3D7 way.
2003-01-02 19:43:08 +00:00