Dimitrie O. Paun [Sat, 4 Jan 2003 00:52:18 +0000 (00:52 +0000)]
Rename __WINE__ to __WINESRC__.
Alexandre Julliard [Sat, 4 Jan 2003 00:19:17 +0000 (00:19 +0000)]
Removed a few more #ifdef __WINE__.
Dimitrie O. Paun [Sat, 4 Jan 2003 00:17:11 +0000 (00:17 +0000)]
Enable nameless structures in C++ for gcc >= 3.x (discovery and
testing done by Dan Kegel).
Dimitrie O. Paun [Sat, 4 Jan 2003 00:15:49 +0000 (00:15 +0000)]
Pass only the -o -l -L options to winewrap, ignore the rest.
Alexandre Julliard [Fri, 3 Jan 2003 22:36:39 +0000 (22:36 +0000)]
Removed a couple of no longer used tests in the generated configure
script.
Gerald Pfeifer [Fri, 3 Jan 2003 22:32:47 +0000 (22:32 +0000)]
#include <stdlib.h> instead of the non-standard <malloc.h>.
Lionel Ulmer [Fri, 3 Jan 2003 22:32:30 +0000 (22:32 +0000)]
Enable Z buffer by default.
Francois Gouget [Fri, 3 Jan 2003 22:32:14 +0000 (22:32 +0000)]
Added TIME_KILL_SYNCHRONOUS.
Dimitrie O. Paun [Fri, 3 Jan 2003 22:31:56 +0000 (22:31 +0000)]
Properly handle the -M switch.
Dimitrie O. Paun [Fri, 3 Jan 2003 22:31:45 +0000 (22:31 +0000)]
Properly link agains .a files using the -l switch.
Support more verbose output.
Jason Edmeades [Fri, 3 Jan 2003 21:28:05 +0000 (21:28 +0000)]
Added basic support for mipmaping, verified using sample from
codesampler.com.
Jason Edmeades [Fri, 3 Jan 2003 21:25:42 +0000 (21:25 +0000)]
- Use faster vertex arrays (rather than processing vertexes one by
one), whenever possible.
- Less trace in the slower form by default.
Lionel Ulmer [Fri, 3 Jan 2003 21:17:47 +0000 (21:17 +0000)]
- some fixes / optimisations in the color keying code
- minimize at the maximum texture uploads
Lionel Ulmer [Fri, 3 Jan 2003 21:16:03 +0000 (21:16 +0000)]
- re-activate the color-keying code
- fix yet again texture enumeration to please all games :-/
Christian Costa [Fri, 3 Jan 2003 21:10:11 +0000 (21:10 +0000)]
Reenable device's default render states initialization.
Lionel Ulmer [Fri, 3 Jan 2003 21:09:25 +0000 (21:09 +0000)]
Fix order of texture enumeration to fix yet another set of dumb games.
Christian Costa [Fri, 3 Jan 2003 21:08:50 +0000 (21:08 +0000)]
Beginning of state block.
Initialize the device with the right D3D default values.
Implements GetRenderState, GetTextureStageState and GetLightState.
Lionel Ulmer [Fri, 3 Jan 2003 21:07:22 +0000 (21:07 +0000)]
- 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
Lionel Ulmer [Fri, 3 Jan 2003 21:05:38 +0000 (21:05 +0000)]
- create a function to set the various transformation matrices to
factorize the code between the various code path
- fixed some logging stuff
Lionel Ulmer [Fri, 3 Jan 2003 21:04:12 +0000 (21:04 +0000)]
- more thunking in the D3DVertexBuffer COM object
- added 'support' for GetInfo
Lionel Ulmer [Fri, 3 Jan 2003 21:03:15 +0000 (21:03 +0000)]
- light improvements
- misc. fixes
Dimitrie O. Paun [Fri, 3 Jan 2003 21:02:53 +0000 (21:02 +0000)]
Simplify the code for the generated wrapper.
Miscellaneous small cleanups.
Dimitrie O. Paun [Fri, 3 Jan 2003 19:12:55 +0000 (19:12 +0000)]
Eliminate lots of __WINE__ conditionals from the headers.
Lionel Ulmer [Fri, 3 Jan 2003 19:10:48 +0000 (19:10 +0000)]
- some additionnal flags logged
- fixes in the vertex buffer thunking + optimized flag support
Francois Gouget [Fri, 3 Jan 2003 19:09:23 +0000 (19:09 +0000)]
Win9x does not support {Get,Set}WindowLongW. Use the Ansi version
instead since it won't impact _these_ tests anyway.
Alexandre Julliard [Fri, 3 Jan 2003 03:12:58 +0000 (03:12 +0000)]
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.
Dimitrie O. Paun [Fri, 3 Jan 2003 03:07:21 +0000 (03:07 +0000)]
SHGetMalloc() returns a HRESULT, not a DWORD.
Dimitrie O. Paun [Fri, 3 Jan 2003 03:07:06 +0000 (03:07 +0000)]
Define NULL if it's not defined already.
Lionel Ulmer [Fri, 3 Jan 2003 03:06:42 +0000 (03:06 +0000)]
Check the value of the pfnCallback in addition to the callback bit.
Dimitrie O. Paun [Fri, 3 Jan 2003 03:06:02 +0000 (03:06 +0000)]
Support outputing files to a different directory than pwd.
Small cleanups.
Patrik Stridvall [Fri, 3 Jan 2003 03:05:41 +0000 (03:05 +0000)]
Added --include-quotes option that fixes #include to use the correct
of <> and "".
Stefan Leichter [Fri, 3 Jan 2003 03:04:46 +0000 (03:04 +0000)]
Moved implementation of GetPrinterDriverDirectory from ascii to unicode.
Chris Morgan [Fri, 3 Jan 2003 03:04:22 +0000 (03:04 +0000)]
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.
Dan Kegel [Fri, 3 Jan 2003 03:03:36 +0000 (03:03 +0000)]
ShellExecute(NULL, "wordpad.exe",) now correctly finds wordpad.exe in
App Paths.
Dominik Strasser [Fri, 3 Jan 2003 03:03:07 +0000 (03:03 +0000)]
Implement VerSetConditionMask by forwarding to ntdll.
Francois Gouget [Fri, 3 Jan 2003 03:02:15 +0000 (03:02 +0000)]
Call lstrcmpW rather than wcscmp.
Marcus Meissner [Thu, 2 Jan 2003 23:13:56 +0000 (23:13 +0000)]
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.
Marcus Meissner [Thu, 2 Jan 2003 23:11:56 +0000 (23:11 +0000)]
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.
Marcus Meissner [Thu, 2 Jan 2003 23:11:19 +0000 (23:11 +0000)]
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.
Francois Gouget [Thu, 2 Jan 2003 23:08:57 +0000 (23:08 +0000)]
Add the ability of playing a test tone when in interactive mode.
Test both primary and secondary buffers.
Alberto Massari [Thu, 2 Jan 2003 23:08:22 +0000 (23:08 +0000)]
- Implemented InternetCrackUrlW and re-implemented InternetCrackUrlA
by using the Unicode version.
- InternetCrackUrlW now parses URL having the "about" and "res"
schemes.
Dimitrie O. Paun [Thu, 2 Jan 2003 23:07:52 +0000 (23:07 +0000)]
Added C++ support & small cleanups.
Dimitrie O. Paun [Thu, 2 Jan 2003 23:07:40 +0000 (23:07 +0000)]
Support C++ linking with a new -C switch.
Modify the app launcher to pass all options but --debugmsg and --dll
to the app.
Link the wrapper against all of the app's libs.
Drop support for passing the dll names to the launcher.
Lionel Ulmer [Thu, 2 Jan 2003 20:14:24 +0000 (20:14 +0000)]
Fix for stupid applications reading some bytes after the end of the
surface memory.
Lionel Ulmer [Thu, 2 Jan 2003 20:13:47 +0000 (20:13 +0000)]
- 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
Lionel Ulmer [Thu, 2 Jan 2003 20:12:16 +0000 (20:12 +0000)]
Added support for per-vertex material properties.
Christian Costa [Thu, 2 Jan 2003 20:07:05 +0000 (20:07 +0000)]
Reimplemented SwapTextureHandles.
Lionel Ulmer [Thu, 2 Jan 2003 20:05:48 +0000 (20:05 +0000)]
- removed some useless WARNs
- fixed backface culling and material settings
Christian Costa [Thu, 2 Jan 2003 20:02:49 +0000 (20:02 +0000)]
Fix IDirect3DVertexBuffer interface.
Implements GetVertexBufferDesc.
Remove some useless FIXME.
Lionel Ulmer [Thu, 2 Jan 2003 20:01:54 +0000 (20:01 +0000)]
- beginning of Material and Light support for D3D7
- new rendering states supported
Lionel Ulmer [Thu, 2 Jan 2003 20:00:25 +0000 (20:00 +0000)]
Fixed texturing.
Lionel Ulmer [Thu, 2 Jan 2003 19:59:49 +0000 (19:59 +0000)]
- allow application to load palette-less textures
- handle palette change of loaded textures
- some changes in the ExecuteBuffer
Lionel Ulmer [Thu, 2 Jan 2003 19:58:21 +0000 (19:58 +0000)]
- 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
Lionel Ulmer [Thu, 2 Jan 2003 19:56:52 +0000 (19:56 +0000)]
Added some blend states.
Christian Costa [Thu, 2 Jan 2003 19:56:08 +0000 (19:56 +0000)]
Handle more blend states.
Lionel Ulmer [Thu, 2 Jan 2003 19:54:09 +0000 (19:54 +0000)]
Prevent memory leak in freeing of the VertexBuffer.
Lionel Ulmer [Thu, 2 Jan 2003 19:53:43 +0000 (19:53 +0000)]
Implement GetTransform and rework a bit the matrices storage.
Lionel Ulmer [Thu, 2 Jan 2003 19:52:22 +0000 (19:52 +0000)]
- implemented GetTexture
- semi-stubbed ValidateTexture
- fixed some errors in logging
Lionel Ulmer [Thu, 2 Jan 2003 19:51:25 +0000 (19:51 +0000)]
Added 'blt' and 'bltfast' override functions.
Lionel Ulmer [Thu, 2 Jan 2003 19:46:46 +0000 (19:46 +0000)]
Added 'emulated' VertexBuffer support.
Lionel Ulmer [Thu, 2 Jan 2003 19:45:23 +0000 (19:45 +0000)]
- do not use the alpha coordinates when ALPHABLEND is disabled
- disable fogging in the XYZRHW case
- various other small fixes
Lionel Ulmer [Thu, 2 Jan 2003 19:44:14 +0000 (19:44 +0000)]
Factorize some code in the texture uploading function.
Lionel Ulmer [Thu, 2 Jan 2003 19:43:08 +0000 (19:43 +0000)]
Handle texture addressing the D3D7 way.
Lionel Ulmer [Thu, 2 Jan 2003 19:41:25 +0000 (19:41 +0000)]
Prevent lock-up in paletted texture with no palette case.
Lionel Ulmer [Thu, 2 Jan 2003 19:39:57 +0000 (19:39 +0000)]
Enable the application to create first textures and then the D3D
device.
Dmitry Timoshkov [Thu, 2 Jan 2003 19:34:14 +0000 (19:34 +0000)]
Added ctl3d, ctl3dv2 and ctl3d32 API implementations.
Alexandre Julliard [Thu, 2 Jan 2003 19:30:17 +0000 (19:30 +0000)]
Updated for recent options changes.
Patrik Stridvall [Thu, 2 Jan 2003 19:28:09 +0000 (19:28 +0000)]
Fixed some issues found by winapi_check.
Jeff Smith [Thu, 2 Jan 2003 19:27:23 +0000 (19:27 +0000)]
Several improvements and corrections, foremost being correcting wrc
flags and shared object file naming.
Patrik Stridvall [Thu, 2 Jan 2003 19:26:11 +0000 (19:26 +0000)]
- API files update.
- Minor improvement and bug fixes.
Alberto Massari [Thu, 2 Jan 2003 19:25:44 +0000 (19:25 +0000)]
Moved implementation of strpbrkW from filedlg95.c to wine/unicode.h.
Alberto Massari [Thu, 2 Jan 2003 19:24:42 +0000 (19:24 +0000)]
Add stub implementation for ReplaceFile.
Dimitrie O. Paun [Thu, 2 Jan 2003 19:24:03 +0000 (19:24 +0000)]
Add support for wrapper generation to winewrap.
Quite a few micro cleanups, code should be simpler to follow.
Dimitrie O. Paun [Thu, 2 Jan 2003 19:23:48 +0000 (19:23 +0000)]
Compile with WINE_UNICODE_NATIVE defined, essential for C++.
New -V option to display the version.
Do not link -lc, screws up linking, just get the default.
Eric Pouech [Thu, 2 Jan 2003 17:59:47 +0000 (17:59 +0000)]
Removed unused #include of module.h.
Raphael Junqueira [Thu, 2 Jan 2003 17:59:01 +0000 (17:59 +0000)]
- integration with DrawPrimitive
- remove non-esthetic c++ comments into c comments block ;)
- more more debug
- indent, cleanups
- trying to use DIFFUSE and SPECULAR for vertex shader
- many fixes
- integration with Jason's texture patch
Lionel Ulmer [Thu, 2 Jan 2003 17:57:58 +0000 (17:57 +0000)]
Some clean-ups after the DrawPrimitive rewrite.
Lionel Ulmer [Thu, 2 Jan 2003 17:57:39 +0000 (17:57 +0000)]
Fix crash in GetAvailableVidMem function when TRACE is activated.
Eric Pouech [Thu, 2 Jan 2003 17:56:41 +0000 (17:56 +0000)]
When unmapping a (wave|midi)-header unprepare message, make sure the
unpreparation was successful.
Eric Pouech [Thu, 2 Jan 2003 17:56:07 +0000 (17:56 +0000)]
Fixed some nasty bugs in drawdib creation/deletion.
Dominik Strasser [Thu, 2 Jan 2003 17:55:45 +0000 (17:55 +0000)]
Some stubs for dll setup needed by IE6 setup.
Marcus Meissner [Thu, 2 Jan 2003 17:54:57 +0000 (17:54 +0000)]
Support DllGetClassObject of CLSID_StdPicture.
PICTYPE_NONE has width/height 0.
Rein Klazes [Thu, 2 Jan 2003 17:54:23 +0000 (17:54 +0000)]
Let ANIMATE_OpenA return FALSE (= failure) upon a request to close a
previously opened AVI clip when there isn't one.
Andreas Mohr [Thu, 2 Jan 2003 17:53:26 +0000 (17:53 +0000)]
Increment log output from 200 lines to 3000 lines.
Added Win XP as a listed Windows version.
Gerald Pfeifer [Thu, 2 Jan 2003 17:52:53 +0000 (17:52 +0000)]
Fix off_t cast that breaks FreeBSD.
Francois Gouget [Thu, 2 Jan 2003 17:52:05 +0000 (17:52 +0000)]
Add support for WINETEST_INTERACTIVE. If set then tests can perform
additional explicitly interactive tests.
Modify the winmm test to use WINETEST_INTERACTIVE.
Alberto Massari [Thu, 2 Jan 2003 17:51:34 +0000 (17:51 +0000)]
IBindCtx::RegisterObjectParam is supposed to replace the old value if
the key is already registered.
Duane Clark [Thu, 2 Jan 2003 17:51:13 +0000 (17:51 +0000)]
Validate imagelists with christmas magic.
Francois Gouget [Thu, 2 Jan 2003 17:50:48 +0000 (17:50 +0000)]
Fix mapping of STATUS_DEVICE_NOT_CONNECTED to match XP.
Fixed the prototype of statustodoserror to make the test work on NT4.
Added alternate return values to make the test work on Win98.
Check whether RtlNtStatusToDosError ismissing to make the test work on
Win95.
Added a strict option to cause the test to only accept the standard
mapping.
Francois Gouget [Thu, 2 Jan 2003 17:49:51 +0000 (17:49 +0000)]
Remove unnecessary sprintf calls.
Dimitrie O. Paun [Thu, 2 Jan 2003 17:48:05 +0000 (17:48 +0000)]
Add the -F option to set a DLL's filename.
Chris Morgan [Thu, 2 Jan 2003 17:47:40 +0000 (17:47 +0000)]
Default to $P$G prompt. Make width of date 10 characters to align
date column with DATE_SHORTDATE format.
Chris Morgan [Thu, 2 Jan 2003 17:47:22 +0000 (17:47 +0000)]
Use the locale id we created instead of the system or user default,
otherwise some tests are broken on systems where things aren't
english/us.
Francois Gouget [Thu, 2 Jan 2003 17:47:01 +0000 (17:47 +0000)]
Fix signed/unsigned warnings.
Alexandre Julliard [Tue, 24 Dec 2002 02:39:47 +0000 (02:39 +0000)]
Fixed quoting in INSTALL check.
Alexandre Julliard [Tue, 24 Dec 2002 01:18:21 +0000 (01:18 +0000)]
Pass the correct instance when installing the mouse hook (spotted by
Lionel Ulmer).
Lionel Ulmer [Tue, 24 Dec 2002 01:07:21 +0000 (01:07 +0000)]
- actually use the background color when Clear-ing
- replace glOrtho by a hand-built matrix
- fix applications doing SetTransform + using XYZRHW vertices
Lionel Ulmer [Tue, 24 Dec 2002 01:03:04 +0000 (01:03 +0000)]
- factorize Clear method between Viewport and Device
- some more rendering states handled
Lionel Ulmer [Tue, 24 Dec 2002 01:00:45 +0000 (01:00 +0000)]
Support viewports the D3D7 way.
Lionel Ulmer [Tue, 24 Dec 2002 00:58:27 +0000 (00:58 +0000)]
Added some stencil / D3DDevice7 capabilities.