Commit graph

4745 commits

Author SHA1 Message Date
Rolf Kalbermatter 58c04dafae Change the return value for ExtractIconEx from HICON to UINT and make
the function call directly user32.PrivateExtractIconEx.
2002-12-10 19:10:11 +00:00
Rolf Kalbermatter 2dcb751aa7 - Modify ICO_ExtractIconExW to:
return more compliant values for usage in PrivateExtractIcons and PrivateExtractIconEx
    accept and fill in the icon identifier array correctly if provided
    allow to retrieve both small and large icons together.
- Simplify PrivateExtraxtIcons
- Modify PrivateExtractIconExW to:
   use compatible signature to ExtractIconEx in shell32 which it really is directly
     as tested on W2K by calling both functions with the same parameters
   directly call internal extraction function
   fix error when requesting 1 icon for both sizes
2002-12-10 19:09:45 +00:00
Dimitrie O. Paun 9c50730354 Get rid of generic notification support in comctrl32. The MS docs were
misleading in that all controls send these notifications. They don't.
2002-12-10 19:07:59 +00:00
Dimitrie O. Paun 5720007370 - Plug a bunch of memory leaks.
- Make ranges_destroy behave more like free().
- Fix messed up indentation from tabs set to 4 chars.
- Updated the documentation.
2002-12-10 19:07:27 +00:00
Chris Morgan 50bd40c775 Reset the oss device before we try to close it. Fixes hang on startup
of Starcraft due to oss device being in a bad state.
2002-12-10 19:06:51 +00:00
Jason Edmeades d197d40295 VarAdd support for integers. 2002-12-10 19:06:28 +00:00
Alexandre Julliard 9b1df412f4 Don't build tests by default just yet. 2002-12-07 23:52:43 +00:00
Rolf Kalbermatter 418ca6d1b0 Add SHDefExtractIcon{AW} function. 2002-12-07 23:49:24 +00:00
Rolf Kalbermatter 3390547aef Fix signature of SHLWAPI_334 as its string parameter really is an
output.
2002-12-07 23:48:10 +00:00
Jukka Heinonen 1cfc850b2c Move int08 stub and LOL to upper memory.
Move simple int21 functions to winedos.
2002-12-07 23:46:41 +00:00
Alexandre Julliard 310de886e9 Check file header to differentiate between object files and resources
so that the -r option is not necessary.
2002-12-06 23:26:29 +00:00
Alexandre Julliard ba2f2acc86 Fixed the list of accepted types passed to HttpOpenRequestA. 2002-12-06 23:21:35 +00:00
Rolf Kalbermatter 247457c184 Implement ParseFieldW function based on its ANSI sibling. 2002-12-06 23:20:52 +00:00
Alberto Massari bc8bd72297 - When sending a request using HttpOpenRequest/HttpSendRequest, send the
User-Agent header; fixed the Accept and the Referer header handling to
   really work.
 - Fixed bug in the HTTP_ProcessHeader: when a second value was supposed to be
   added to an existing one, the buffer was reduced to be 1 char long instead
   of being expanded, due to the precedence rules of the operator '?'.
 - Added support for opening URLs that redirect to a different place.
2002-12-06 23:20:31 +00:00
Francois Gouget 3db0008552 Define PSH_WIZARD97 (problem reported by jaymz@free.fr). 2002-12-06 23:19:54 +00:00
Christoph Frick 983088a03b Force (WS_)SO_REUSEADDR before binding to a socket; ignore
(WS_)SO_DONTROUTE; Network games in Grand Prix Legends and Nascar 2002
are possible now.
2002-12-06 23:19:21 +00:00
Alexandre Julliard bcf2a78268 Build test programs as part of the normal build. 2002-12-06 19:51:20 +00:00
Rolf Kalbermatter 5bfcdc8d73 Fix some parameter types. 2002-12-06 19:50:26 +00:00
Ove Kaaven 1f5315c80f Make sure that no files except unknwn.h include wine/obj_base.h
directly.
2002-12-05 20:33:07 +00:00
Patrik Stridvall 75dee506ae Replace 0x%p with %p. 2002-12-05 19:56:15 +00:00
Peter Mladek 5dc7f13380 Added 2 more Czech keyboard layouts compatible with XFree86 4.1. 2002-12-05 19:55:04 +00:00
Alberto Massari adae4350d2 - Moved GetUrlCacheEntryInfoA and CommitUrlCacheEntryA to urlcache.c.
- Added stub implementation of GetUrlCacheEntryInfoExW.
 - Implemented InternetQueryOptionW, InternetCombineUrl[A|W].
 - InternetSetOptionW prints FIXMEs with more informations.
 - INTERNET_SetLastError was crashing if called after the thread
   local storage area had already been deleted (it happens if you
   close Internet Explorer while the download is still in progress).
2002-12-05 19:54:40 +00:00
Alexandre Julliard 26d648887a Back out the aRts volume patch, this is not user-friendly at all. 2002-12-05 19:20:36 +00:00
Francois Gouget d523a45bd0 A simple test for IDirectSound.GetCaps. 2002-12-05 19:19:41 +00:00
Marcus Meissner d344849e4e Marshal VT_R4 (4 byte float). 2002-12-05 19:12:50 +00:00
Lionel Ulmer b0350a3f4a Have only one GUID for Wine's OpenGL D3D device. 2002-12-05 19:07:59 +00:00
Martin Wilck 4577875c4e Correct 2 bugs connected to asynchronous shutdown():
- Cannot call WSAGetOverlappedResult() because completion function
  destroys the overlapped structure.
- ws2_async_cleanup() called twice in case of failure.
2002-12-05 19:02:55 +00:00
Martin Wilck b5fc589f44 Set the socket to overlapped mode. 2002-12-05 19:02:20 +00:00
Francois Gouget 938ed57cb8 Skip Unicode tests if there's no Unicode support. 2002-12-05 19:01:51 +00:00
Francois Gouget ee4d9c5e29 Return an error if dwSize is not valid.
No need to dump dwFlags before it is initialized.
2002-12-05 19:00:56 +00:00
Alexandre Julliard 18d029722f Removed input.h, queue.h, spy.h and sysmetrics.h and moved their
contents to user.h.
Moved message.h and winproc.h to dlls/user.
2002-12-03 23:34:52 +00:00
Christian Costa 71e880851b Add support for D3DBLEND_ONE for D3DRENDERSTATE_{DEST/SRC}BLEND. 2002-12-03 22:08:37 +00:00
Alexandre Julliard 274836861c Install ipexport.h and icmpapi.h with the other Windows includes. 2002-12-03 22:08:14 +00:00
Ove Kaaven 729dd8bf28 Added more types to wtypes.idl. 2002-12-03 21:42:17 +00:00
Martin Wilck 2a5f290ce1 Fixed test to run fine (0 errors) on Win NT. 2002-12-03 21:36:58 +00:00
Alberto Massari c0e2c5ae5b SHGetSetSettings has now the right signature and the expected behavior
when the user is asking to get the current settings.
2002-12-03 21:36:22 +00:00
Rolf Kalbermatter 25304d0a5e Fix ANSI->Unicode calling for ExtractIconExA/W. 2002-12-03 21:35:43 +00:00
Rolf Kalbermatter a53a988171 Modify PrivateExtractIcons{AW} to match better current MDSN
documentation.
2002-12-03 21:35:27 +00:00
Alexandre Julliard 9169729b0b Merged font.h and path.h into gdi.h. Moved x11font.h to
dlls/x11drv. Removed a number of unnecessary #includes.
2002-12-03 19:18:41 +00:00
Jukka Heinonen 2ec8b71bae Clean up int21 handling. Move error handling to winedos.
Call INT_Int21Handler only to emulate selected functions.
2002-12-03 19:11:49 +00:00
Jukka Heinonen 7b7f198786 Move DPMI segments to winedos. 2002-12-02 21:39:58 +00:00
Lionel Ulmer 5261f031a4 - only handle memory allocation for non-already loaded textures
- implement GetCaps for D3DDevice7
2002-12-02 21:39:34 +00:00
Alexandre Julliard d77294a8ec Authors: Greg Turner <gmturner007@ameritech.net>, Ove Kaaven <ovek@transgaming.com>
- preliminary implementation of endpoint-mapping via a new on-demand
  server-ish process
- more header fixups
- (re)implement RpcEpRegisterA, RpcEpUnregister, and
  RpcEpResolveBinding using the new rpcss functionality
- update the todo list in rpcrt4_main.c a bit
- many beautifications and touch-ups
- command-line configurable timeout
- micro-client imbedded in np_server.c
2002-12-02 21:17:04 +00:00
Christian Costa 2db04157c7 Handle D3DLIGHTSTATE_COLORVERTEX to prevent SetLightState from
failing.
2002-12-02 21:11:47 +00:00
Patrik Stridvall 7bff19ea6e Added FIXME:s in the stubs. 2002-12-02 19:00:59 +00:00
Lionel Ulmer 41fcb0bbe4 - implement the texturing the D3D3 way
- prepare for multi-texturing support
2002-12-02 18:59:11 +00:00
Jukka Heinonen 742142521a Rename old DOS3Call as INT_Int21Handler and make new DOS3Call call
directly winedos int21 handler.
2002-12-02 18:58:32 +00:00
Jukka Heinonen c71cf7e60f Move int13 handler to winedos. 2002-12-02 18:57:42 +00:00
Jeff Smith 528ac6386e Fix for MIDI Mapper. 2002-12-02 18:57:00 +00:00
Francois Gouget d2667a4ce3 Removed unnecessary HANDLE typecasts. 2002-12-02 18:10:57 +00:00
Christian Costa 0a6c272766 Add D3D capability. 2002-11-30 19:29:20 +00:00
Lionel Ulmer c5f38756a2 - actually use the VertexBuffer stubs
- implement Lock function to prevent crash when the stubs are used
2002-11-30 19:27:19 +00:00
Lionel Ulmer f4b941e859 Beginning of support for D3D7 / D3DDevice7. 2002-11-30 19:21:42 +00:00
Alexandre Julliard e0c6370c75 Removed some checklink rules made unnecessary by the -z defs linker
flag.
2002-11-30 19:19:44 +00:00
Lionel Ulmer a6e5080296 - some more code sharing between D3DDevice versions
- implementation of D3DFVF_TLVERTEX format fast path
2002-11-30 19:19:00 +00:00
Lionel Ulmer 708c4b244f - fixed D3DFVF_VERTEX case
- some other miscellaneous fixes
2002-11-30 19:12:32 +00:00
Lionel Ulmer 5f49e78e35 - start of support for device locking / unlocking via glReadPixels /
glDrawPixels interface (slow but should be enough for a start)
 - implement one vertex case for the D3D3/7 DrawPrimitive functions
 - fix a missing \n in a TRACE call
2002-11-30 19:06:52 +00:00
Hleb Valoska 684444e67b Some fixes to Belarusian locale. 2002-11-30 19:05:59 +00:00
Francois Gouget 952407b1e0 {Get,Set}ThreadPriorityBoost and SetThreadIdealProcessor are missing
on Win95 -> use GetProcAddress.
Cleanup the handling of OpenThread.
Check SuspendThread after a thread terminates (needed by Ipix).
Remove unnecessary version checks (check for
ERROR_CALL_NOT_IMPLEMENTED and similar instead).
Cleanup casts, signed/unsigned comparisons.
2002-11-30 19:03:19 +00:00
Francois Gouget f465a8d658 GetDiskFreeSpace(all NULLs) crashes on NT4 -> removed.
GetDiskFreeSpace("." | "..") fails on Win98 and NT4 but succeeds on XP
-> removed.
Skip the GetDiskFreeSpace tests on floppy drives because NT pops up a
MessageBox if no floppy is present.
Fix the error code checks to take into account the differences between
Win9x, NT4 and XP.
Skip the unicode tests if the first call returns
ERROR_CALL_NOT_IMPLEMENTED.
Whenever a test fails, print sufficient information (typically return
code and GetLastError()!) to let the developer figure out what is
wrong.
2002-11-30 19:02:53 +00:00
Francois Gouget 3475b9edc9 SetEnvironmentVariableA(NULL, NULL) crashes on Win98 -> removed.
SetEnvironmentVariableA("", value) crashes on NT4 -> removed.
The behavior of SetEnvironmentVariableA("", "") varies to much ->
removed.
Test the behavior of SetEnvironmentVariable{A,W}(name, "") taking into
account the differences between Win9x and NT.
Test the behavior of GetEnvironmentVariable{A,W}(name, buf, 0).
Fix the error code checks to take into account the differences between
Win9x, NT4 and XP.
Skip the unicode tests if the first call returns
ERROR_CALL_NOT_IMPLEMENTED.
Whenever a test fails, print sufficient information (typically return
code and GetLastError()!) to let the developer figure out what is
wrong.
2002-11-30 19:02:22 +00:00
Rolf Kalbermatter e2b06d2a10 Added stub implementation with correct prototypes for
ExtractAssociatedIconExA/W.
2002-11-30 02:22:24 +00:00
Lionel Ulmer 2b87b23321 Implemented GetRenderTarget. 2002-11-30 02:20:31 +00:00
Lionel Ulmer 9e94cece22 Added enumeration of ZBuffer format. 2002-11-30 02:20:11 +00:00
Alexandre Julliard 5926cea79f Partially implemented kernel/user times in GetThreadTimes (based on a
patch by Ryan Cumming).
2002-11-30 01:56:56 +00:00
Lionel Ulmer 374a7abd65 Implement wglCreateLayerContext for layer 0. 2002-11-30 01:55:59 +00:00
Lionel Ulmer 5cb15cda5e Do not forget to AddRef the returned Direct3D interface. 2002-11-30 01:53:44 +00:00
Lionel Ulmer bc8cc53163 Add DDCAPS2_CANRENDERWINDOWED capabilities to our DDraw driver. 2002-11-30 01:53:13 +00:00
Jeff Smith 5e0bdcc4d1 Fixed 32 bit flag in midiOutShortMsg. 2002-11-30 01:51:56 +00:00
Andreas Mohr 60e0491fa2 Fixed text mode value. 2002-11-30 01:50:55 +00:00
Lionel Ulmer da0b4dc74e - fix caps filling to be more in line with what we support
- optimize a little bit the DrawPrimitive function
2002-11-30 01:49:08 +00:00
Lionel Ulmer 4941a3aff2 - fix texture snooping (plus adds snoop for 1555 format)
- add texture memory usage tracking
2002-11-27 21:38:28 +00:00
Steve Lustbader e45b1e5cd8 Provide stubs for DnsHostnameToComputerNameA/W. 2002-11-27 21:38:06 +00:00
Alexandre Julliard 14a22702ac Added definitions for a couple of stub functions that we import so
that we don't import stubs directly.
2002-11-27 20:25:12 +00:00
Patrik Stridvall 6cd866b0e6 Fixed some issues found by winapi_check. 2002-11-27 20:21:24 +00:00
Jukka Heinonen 3546290285 Moved handlers for int25 and int26 to winedos. 2002-11-27 20:18:50 +00:00
Dimitrie O. Paun d2e881d543 - Typesafe parameters from TREEVIEW_NotifyFormat.
- Rewrite TREEVIEW_NotifyFormat.
- Fix several invocations of TREEVIEW_SendTreeviewNotify.
2002-11-27 20:15:49 +00:00
Vincent Béron ea966aa6d3 Fix for implicit declaration of abs. 2002-11-27 20:14:45 +00:00
Vincent Béron ca7bce5960 Fix for deprecated use of label at the end of compound statement. 2002-11-27 20:14:32 +00:00
Bill Medland 5a29089727 Correct GetNumberFormatA for zero decimals and for zero grouping. 2002-11-27 20:13:22 +00:00
Steve Lustbader a2e1222486 Stubs for CreateTimerQueue and DeleteTimerQueueEx. 2002-11-25 20:51:31 +00:00
Steve Lustbader f1e1fd05eb Assorted Win2k/WinXP stubs. 2002-11-25 20:50:53 +00:00
Stefan Leichter a5d7fbfb10 Converted implementation of _lseek to _lseeki64, implemented _lseek by
calling _lseeki64.
2002-11-25 20:50:01 +00:00
Mike McCormack 11f4b44451 Implemented registry change notifications. 2002-11-25 02:47:32 +00:00
Andreas Mohr 1e6258fca5 Added the missing cx member to the MyDLGITEMTEMPLATEEX struct. 2002-11-25 02:45:19 +00:00
Stefan Leichter b88a9d5399 Converted implementation of _stat and _fstat to _stati64 and
_fstati64.
Implemented _stat/_fstat by calling _stati64/_fstati64.
2002-11-25 02:44:34 +00:00
Jason Edmeades 0ba86d81fe Add support for VarAnd between integers. 2002-11-25 02:42:33 +00:00
Lionel Ulmer dd738eab07 - Prevent the backbuffer to also have the frontbuffer flag set.
- Log the Locking flags.
- Print symbolic name (if any) of zero values for bit fields (thanks
  Andi).
2002-11-25 02:42:04 +00:00
Alexandre Julliard 2696ae4c4b Moved some GetThreadTimes tests out of the todo block. 2002-11-25 01:34:23 +00:00
György 'Nog' Jeney 6f3015b8ee - Move SetSystemTime, GetTimeZoneInformation and
SetTimeZoneInformation implementation to ntdll.
- Docu updates.
2002-11-25 01:12:39 +00:00
Aric Stewart eb56d81956 LVN_GETDISPINFO seems to always be Ansi. 2002-11-25 01:11:11 +00:00
Jukka Heinonen 98058eb14d Moved handlers for int11, int15 and int5c to winedos. 2002-11-24 22:34:04 +00:00
Lionel Ulmer 710b86e43e - add implementation for FindDevice function
- some miscellaneous clean-ups / additions
2002-11-24 22:33:41 +00:00
Alexandre Julliard 7791570139 Added CS_DBLCLKS so that systray receives double clicks. 2002-11-24 22:16:29 +00:00
Jukka Heinonen 5d3b7e64ec VGA text mode no longer flickers and it is much faster.
VGA text mode is now initialized earlier.
VGA text mode is now emulated even without console.
2002-11-24 22:15:56 +00:00
Bill Medland 6c5e2b6703 Correct UnhookWindowsHook: clear the handle so that the server doesn't
try to use it.
2002-11-24 22:15:01 +00:00
Christian Costa 774c5f77db Reenable OpenGL surface's flip method.
Reenable execute buffers.
Some bug fixes.
2002-11-24 22:14:40 +00:00
Jens Hoffmann 97bd11de89 Pass correct instance in keyboard_hook setup. 2002-11-24 22:14:08 +00:00
Jukka Heinonen ab163db7c0 Move int2f handler to winedos.
Clean winedos headers a bit.
2002-11-23 02:23:54 +00:00
Alexandre Julliard 547cdc2b02 Made gdi compile with -DSTRICT. 2002-11-22 22:16:53 +00:00