Commit Graph

2998 Commits

Author SHA1 Message Date
Eric Pouech d0d7764ac0 Fix potential memory issue. 2002-01-10 18:21:07 +00:00
Bill Medland dce7e5cf8e Comment only; error in Microsoft documentation. 2002-01-10 18:19:29 +00:00
Francois Gouget 8549821b7f Fix previous patch: the ws_sockaddr_u2ws return value was wrong.
Make ws_sockaddr_{ws2u,u2ws} static.
2002-01-10 18:18:43 +00:00
Alexandre Julliard 13b0c0915b Added rules for running tests. 2002-01-10 03:30:21 +00:00
Martin Wilck 65b7e64c1f Moved the functionality of WS_socket() to WSASocketA().
Made WSASocketA() account for WSA_FLAG_OVERLAPPED.
2002-01-09 21:17:16 +00:00
Paul Rupe 06ffc1aba3 Return length of WS_sockaddr structure in ws_sockaddr_u2ws. 2002-01-09 20:29:17 +00:00
Bill Medland 064972768d Fixed GetDocumentation a little. When called from RegisterTypeLib it
was leaving the Doc entry uninitialised, leading to page fault when
measuring it. Also ensure correct freeing of resources on failure.
2002-01-09 19:10:59 +00:00
Rein Klazes 0f2f2b34fa Move calling of CBT hooks from WIN_CreateWindowEx() to the driver. 2002-01-09 19:09:06 +00:00
Patrik Stridvall 19d66cc1f6 Fixed some issues found by winapi_check. 2002-01-07 21:16:46 +00:00
Mike McCormack 0964495bc4 - Don't use event flags with ReadFileEx and WriteFileEx.
- Use overlapped structure with WriteFile, since FILE_FLAG_OVERLAPPED
  is specified.
- Cancel overlapped operations in CloseComm.
2002-01-07 18:04:50 +00:00
Alexandre Julliard c77c4df35e Allocate debug_info structure at the same time as the TEB.
Removed the TEB cleanup service.
2002-01-07 18:03:14 +00:00
Alexandre Julliard 50c6b74a34 Added SIGNAL_Reset function. 2002-01-07 18:02:35 +00:00
Mark G. Adams 9aa54a9076 Fix UuidCreate() to not forget MAC address.
Remove {}'s from UuidToStringA() output.
Add UuidCreateSequential() function from Windows 2000.
2002-01-06 19:08:47 +00:00
Alexandre Julliard 7c822cc0dc Removed obsolete dosmod. 2002-01-06 18:38:45 +00:00
Marcus Meissner 908d33dc73 Change currency of the european Euro using countries to Euro. 2002-01-06 18:35:04 +00:00
Ove Kaaven a814c4ef08 DOS support restructure. The DOS virtual machine is now a set of
threads running within Wine's own address space, obsoleting the old
dosmod module.
2002-01-06 18:34:02 +00:00
Ove Kaaven 4eb0bebd90 Fixed vm86_enter race conditions. 2002-01-04 21:57:04 +00:00
Sander van Leeuwen fcc148b283 Never delete the font object received by WM_SETFONT. 2002-01-04 21:50:01 +00:00
Sander van Leeuwen 198f1e2f3e Fixed calls with wrong pointer: COMCTL32_Free(&lpttsi) should be
COMCTL32_Free(lpttsi).
2002-01-04 21:27:34 +00:00
Sander van Leeuwen 500c201b0a Fixed DC leak. 2002-01-04 21:26:56 +00:00
Alexandre Julliard 80a3bb4fc0 Removed LoadOEMResource from USER driver. 2002-01-04 18:27:41 +00:00
Dmitry Timoshkov 4e78461b5e Print FIXME() for not implemented NtQueryVolumeInformationFile. 2002-01-04 18:24:51 +00:00
Dimitrie O. Paun 6dc401e2e7 Remove a call to HEAP_strdupAtoW in the Color dialog. 2002-01-04 18:23:46 +00:00
Alexandre Julliard cc2d3826f1 Use DrawFrameControl instead of bitmaps in certain cases.
Moved remaining OEM bitmaps to user32 resources.
2002-01-03 02:35:23 +00:00
Marcus Meissner 6ea7932c80 Implemented CoTreatAsClass, simplified OleSetAutoConvert. 2002-01-03 02:34:09 +00:00
Ove Kaaven edb8bdb555 Handle the lpDirectory field of the LPSHELLEXECUTEINFO. 2002-01-03 02:33:51 +00:00
Alexandre Julliard 2cc54c8c49 Moved the OEM bitmaps that don't depend on the Wine look into the
user32 resources.
2002-01-02 21:49:23 +00:00
Ove Kaaven f250b6b5fa Further unified HAL and HEL mixing, and added some more intelligence
to prebuffering, with some basic prebuffer canceling support, to get
rid of mixing delays in Half-Life. Used a very small waveout buffer
queue in HEL mode, using a callback to queue additional buffers, to
get rid of playback delays in Half-Life. Fixed a couple of bugs.
2002-01-02 21:46:54 +00:00
Ove Kaaven fbdfef73f6 If SafeArrayGetElement is called on a variant array, initialize
destination variant before copying the array element to it, some badly
behaved apps don't seem to do it themselves.
2002-01-02 21:44:49 +00:00
Ove Kaaven a0da66945f Fixed a looks-like-nobody-ever-tested-this-function kind of bug in
VariantCopyInd.
2002-01-02 21:44:30 +00:00
Ove Kaaven d553a9b000 Made the output of --debugmsg +seh a bit more verbose. 2002-01-02 21:44:05 +00:00
Dimitrie O. Paun 0c16564093 Make DrawStatusText Unicode ready. Get rid of a HEAP_strdup call. 2002-01-02 21:43:48 +00:00
Lionel Ulmer ce3ab0e76e - better support for extensions functions that do not have the same
name in windows and in Unix.
- support the NV_vertex_array_range extension.
2002-01-02 21:43:19 +00:00
Alexandre Julliard 3f510ad2bb Link with libutil only where needed. 2002-01-01 01:13:03 +00:00
Alexandre Julliard 193cf50a09 Removed some of the calls to HEAP_strdup* functions. 2002-01-01 00:24:30 +00:00
Jukka Heinonen 420f6c0030 Name of the structured storage file root node is path of the file, not
the name of the root node stored in the file.
When reading streams stored into structured storage files, EOF is not
supposed to cause an error if at least one byte can be returned.
2002-01-01 00:13:32 +00:00
Michael Stefaniuc 00bd7998fb Fixed memory leak.
Removed redundant ImageList_DragShowNolock(FALSE) call.
2001-12-31 22:21:24 +00:00
Michael Stefaniuc 15a478f839 If the fccHandler is mmioFOURCC(0, 0, 0, 0) the AVI is also
uncompressed.
infoPtr->hWnd wasn't updated in ANIMATE_OpenA.
2001-12-26 23:39:13 +00:00
Alexandre Julliard 4895768443 Link to the curses library only for the dlls that need it. 2001-12-26 23:08:31 +00:00
Alexandre Julliard 966121ccd8 Removed the SEGPTR_* macros. 2001-12-26 20:47:33 +00:00
Andreas Mohr a69c039c80 Documentation update. 2001-12-26 20:40:47 +00:00
Andreas Mohr 6924967539 Fixed, added or implemented stubs:
- DrawMenuBarTemp(): corrected parameter count.
- CallCPLEntry16(): stub.
- SetSysColorsTemp(): fully implemented (hopefully) this undocumented
  function.
2001-12-26 20:34:12 +00:00
Duane Clark 3169072b2f Added color cursor support. 2001-12-26 20:30:40 +00:00
Dmitry Timoshkov ca737fa478 Fix definition of BY_HANDLE_FILE_INFORMATION structure. 2001-12-26 19:50:58 +00:00
Johan Dahlin 781a5d6aed Updated Swedish translation. 2001-12-26 19:48:38 +00:00
Michael Stefaniuc 1b3c04d2c1 Check the return value of *snprintf for C99 style overflow reporting. 2001-12-26 19:48:15 +00:00
Mike McCormack 096524c5bf Use alertable waits in PeekMessage16 and GetMessage16 so we can
process APCs for 16bit comms.
2001-12-26 19:46:40 +00:00
Jon Griffiths b4c60f2577 Implement/document ordinals 7-11. 2001-12-24 21:11:13 +00:00
Francois Gouget 809c45fc50 Include ftsnames.h or ftnames.h, not both. 2001-12-24 21:10:31 +00:00
Alexandre Julliard 851297919b Use MapLS/UnMapLS instead of SEGPTR_* macros. 2001-12-24 20:30:24 +00:00
Gerard Patel b3a3a8f3bc Forward tab notifications to the parent. 2001-12-24 20:24:58 +00:00
Gerard Patel d83dfd0173 Trivial fixes for shlwapi and Internet routines. 2001-12-24 20:24:36 +00:00
Eric Pouech d547450b35 Added full-duplex capability.
Added missing init for wave-in.
Fixed pause behavior in wave-out.
Added message-ring deletion.
Added experimental full-duplex capability.
2001-12-21 20:28:43 +00:00
Eric Pouech 090629242b Fixed another bunch of bugs (mainly linked to operations where file
pointer was past the end of file).
2001-12-21 20:28:09 +00:00
Alexandre Julliard 4f07f05716 Authors: Jon Griffiths <jon_p_griffiths@yahoo.com>, François Gouget <fgouget@codeweavers.com>
Add RTTI support.
Fix what_exception prototype.
Fix new_handler_func prototype.
Add set_new_handler, _callnewh, _heapadd.
Add stubs for __unDName and __unDNameEx.
Added a semi-stub for __CxxFrameHandler.
2001-12-21 20:27:39 +00:00
Alexandre Julliard 1849f1eb15 Authors: Jon Griffiths <jon_p_griffiths@yahoo.com>, François Gouget <fgouget@codeweavers.com>, Alexandre Julliard <julliard@codeweavers.com>
Implement setjmp/setjmp3 and longjmp.
2001-12-21 19:23:30 +00:00
Alexandre Julliard d7b76822ef Use MapLS/UnMapLS instead of SEGPTR_* macros. 2001-12-20 00:19:40 +00:00
Mike McCormack 6f011c0847 - move async activation into the server
- implement async queues
2001-12-20 00:07:05 +00:00
Uwe Bonnes 1bd9474ee8 Use GlobalPageLock for GetVDMPointer32W16 pointers. 2001-12-19 23:59:54 +00:00
Alexandre Julliard b0f586178a Moved heap functions to ntdll.
Got rid of internal heap flags.
Reimplemented MapLS to not depend on the segptr heap.
2001-12-19 19:16:27 +00:00
Michael Stefaniuc 3bc5ffd3c6 Fixed/implemented the ImageList_*Drag* functions. 2001-12-19 18:47:14 +00:00
Lawson Whitney a77f8d374c If there is no psInfo, it doesn't need to be cleaned up. 2001-12-19 18:46:49 +00:00
Alexandre Julliard 9fcd89a5d8 Removed unnecessary includes. 2001-12-17 22:12:23 +00:00
Paul Rupe 90d8354bab Prevent "window belongs to another process" errors when running
multiple programs simultaneously.
2001-12-17 22:09:18 +00:00
Alexandre Julliard 7f826665e1 Do not call THUNK_Init at startup, only do it when the app actually
requires thunks.
2001-12-17 22:08:17 +00:00
Alexandre Julliard 8eeed94f5f Export DestroyIcon32 from user32 and use GetProcAddress to call it
from FreeResource16.
2001-12-17 21:40:56 +00:00
Alexandre Julliard 7e49205d5a Changed 16-bit USER Enum* functions to not use thunks, now that 16-bit
Winelib is no longer supported.
2001-12-17 21:37:53 +00:00
Alexandre Julliard 9ec81d1673 Got rid of dynamic thunk allocation in mouse/keyboard event procs and
window hooks.
2001-12-17 21:35:42 +00:00
Jon Griffiths de51f61584 Implemented, documented or fixed SHDeleteOrphanKeyA/W, SHEnumKeyExA/W,
SHEnumValueA/W, SHQueryInfoKeyA/W. SHRegGetPathA/W, SHRegSetPathA/W,
SHGetValueA/W, SHSetValueA/W, SHQueryValueExA/W, SHDeleteKeyA/W,
SHDeleteEmptyKeyA/W, SHDeleteValueA/W, ordinals 320-323.
2001-12-17 21:21:29 +00:00
Alexandre Julliard ed29c905a8 Changed 16-bit GDI Enum* functions to not use thunks, now that 16-bit
Winelib is no longer supported.
2001-12-17 21:01:58 +00:00
Alexandre Julliard 7d155d6706 Changed DC hook and abort proc handling to avoid having to allocate
thunks dynamically.
2001-12-17 20:58:06 +00:00
Nog f12e130fc2 Pass on all unhandeled messages to the owner. 2001-12-17 20:52:11 +00:00
Uwe Bonnes 5825025316 PathIsURL(A|W): Check for NULL strings. 2001-12-17 20:51:27 +00:00
Johan Dahlin 664b9bbb67 Add a few extra fields to HTTP_GetStdHeaderIndex. 2001-12-17 20:50:53 +00:00
Alexandre Julliard 70b7619ad6 Changed 16->32 window procedure thunks to use winebuild-generated
entry code directly.
2001-12-14 23:15:44 +00:00
Alexandre Julliard 7662ea1004 Made register and interrupt flags instead of entry point types, so
that we can have both stdcall and cdecl register functions.
Changed 16-bit .spec.c file generation to avoid including builtin16.h.
2001-12-14 23:14:22 +00:00
Paul Rupe 99ed342df0 Very simple support for SO_OPENTYPE in getsockopt and setsockopt. 2001-12-14 22:48:38 +00:00
Bang Jun-Young 9cc52b362c Fix NetBSD compilation errors. 2001-12-14 22:45:42 +00:00
Eric Pouech 37083176e8 Thawed some freezes.
Cleaned up time and notification handling.
Typos fixes (Gerard).
Added breakloop support.
2001-12-14 22:44:29 +00:00
Alexandre Julliard 4964c0f185 Started rewrite of painting functions for multiple processes. Moved
BeginPaint to dlls/user. Fixed bug in paint count handling.
2001-12-13 01:03:30 +00:00
Mike McCormack 5355a7870b Only RTS_CONTROL_HANDSHAKE should set CRTSCTS. 2001-12-13 00:57:58 +00:00
Eric Laforest 2681c021da Add the missing functionality in the tty driver. 2001-12-13 00:54:52 +00:00
Alexandre Julliard eb9a863116 Exported CALL32_Regs from ntdll, renamed to __wine_call_from_32_regs
to follow the naming convention for this type of functions.
Split 16 and 32-bit relay functions into separate files, and moved the
32-bit ones to dlls/ntdll.
2001-12-11 00:50:33 +00:00
Jon Griffiths 7cd2dd79c6 Add new stub MLLoadLibrary. 2001-12-11 00:30:49 +00:00
Jon Griffiths 603f20fc0e Add exclusion defs & remaining funcs, remove internal types &
obj_base.h (sync with win version), fixed a number of function
prototypes.
2001-12-11 00:30:17 +00:00
Bill Medland 32ca21caaa A treeview item may be TVI_ROOT. 2001-12-11 00:15:11 +00:00
Dave Hawkes a1aeeb2b05 Fix for toolbar potentially using a NULL pointer. 2001-12-11 00:14:24 +00:00
Andriy Palamarchuk 2489dc901d Implemented processing for actions: SPI_GET/SETGRIDGRANULARITY,
SPI_GET/SETICONTITLEWRAP, SPI_GET/SETMENUDROPALIGNMENT,
SPI_GET/SETDOUBLECLKWIDTH, SPI_GET/SETDOUBLECLKHEIGHT,
SPI_GET/SETDOUBLECLICKTIME.
2001-12-06 22:28:43 +00:00
Alexandre Julliard afd75a1adc Removed calls to HEAP_GetSegptr. 2001-12-05 22:23:02 +00:00
Alexandre Julliard 1f7fce3cde Fixed compile for !MZ_SUPPORTED. 2001-12-05 22:19:57 +00:00
Alexandre Julliard 60fd03d248 Use ntdll functions instead of MultiByteToWideChar/WideCharToMultiByte
to avoid corrupting the last error code.
2001-12-05 22:18:48 +00:00
Alexandre Julliard 996c0bff59 Removed ntdll dependency on MultiByteToWideChar/WideCharToMultiByte
kernel32 functions, plus a few small cleanups.
2001-12-05 22:14:57 +00:00
François Gouget 63d133172b Cleanup and improve the mbcs support.
Add mbctype.h and mbstring.h.
Implement putwc and putwchar.
2001-12-05 22:11:35 +00:00
Dave Hawkes 4d03cb64f4 The toolbar commands were not sent to the correct notification
window.
2001-12-05 22:10:26 +00:00
François Gouget 3c2c02628d getenv is case insensitive. 2001-12-05 22:09:00 +00:00
François Gouget d1d07fb801 mktime must normalize the struct tm fields. 2001-12-05 22:08:46 +00:00
Guy L. Albertelli 9bd7e6025a - Correct implementation of _169 (call of Release). This fixes crashes
when actually attempting to call Release.
- Correct some traces.
2001-12-04 20:13:40 +00:00
Alexandre Julliard 8cd55d0eba Moved most of the real-mode stuff to dlls/winedos. 2001-12-04 19:54:44 +00:00
Marcus Meissner d848e5f3dd Copy the correct number of bytes in WriteConsoleInputA. 2001-12-04 19:40:54 +00:00
Eric Pouech d585e7a2a4 Fixed bugs in output functions (write).
Rewrote some parts for better DLL separation.
Fixed some prototypes.
Fixed mmioAdvance in write mode.
2001-12-04 19:40:28 +00:00