Commit Graph

2945 Commits

Author SHA1 Message Date
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
Eric Pouech a7e51f19c0 Fixed acmFormatChoose returned fields. 2001-12-04 19:39:54 +00:00
Gerard Patel 2351eabd56 Initialize dialog data correctly in CreateTemplateDialog. 2001-12-04 19:39:33 +00:00
Gerard Patel 8121d3aab6 Misc fixes to DCB building from command line. 2001-12-04 19:39:13 +00:00
Guy L. Albertelli 0889bfa503 Undocumented feature of TB_{GET|SET}BUTTONINFO{A|W}: if mask has
0x80000000 set then the command id is really the index.
2001-12-01 00:37:41 +00:00
Guy L. Albertelli 10b77a9972 - Fixed PathIsURL{A|W}.
- Implemented PathRenameExtension{A|W}, SHRegDuplicateHKey,
  ChrCmpI{A|W}.
- Added forwards to DrawTextW, CreateDialogParamA, CreateFontW,
  TracePopupMenuEx.
2001-12-01 00:37:12 +00:00
Guy L. Albertelli 905f04a932 - Stub routines for _164, _208, _210, _211, _239, _356, _413, _437,
ColorRGBToHLS
- Implement routines for _172, _174, _176, _199, _215, _219, _236, _377,
  _378, UrlCompare{A|W}, UrlApplyScheme{A|W}.
- Fix routines _217, _169, _240, _276, _342, _376.
2001-12-01 00:36:18 +00:00
Andriy Palamarchuk c7de3401ac Removed Get/SetScreenSaveTimeout user driver functions because they
are not used.
2001-11-30 23:15:32 +00:00
Michael Stefaniuc caf81dc0a6 Implemented ImageList_GetDragImage.
Fixed ImageList_SetDragCursorImage and ImageList_Merge.
No need for StretchBlt in ImageList_BeginDrag.
Added some traces.
2001-11-30 23:15:00 +00:00
Glenn Schrader 97ba673271 Use gdi_display everywhere to avoid BadColor errors. 2001-11-30 23:14:18 +00:00
Paul Rupe 8111f043ff Fixed WS_getpeername parameter in WS_accept.
Changed order of event processing in WINSOCK_DoAsyncEvent.
2001-11-30 23:12:13 +00:00
Alexandre Julliard 9caa71eef4 Redesign of the server communication protocol to allow arbitrary sized
data to be exchanged.
Split request and reply structures to make backwards compatibility
easier.
Moved many console functions to dlls/kernel, added code page support,
changed a few requests to behave properly with the new protocol.
2001-11-30 18:46:42 +00:00
Alexandre Julliard b0fa2a8ca8 Fixed registry routines broken by the structure sizes fix. 2001-11-24 03:41:37 +00:00
Eric Pouech 0b83d4cbc6 New console code based on Win32 windows. 2001-11-23 23:04:58 +00:00
Dmitry Timoshkov 6b6596a1e3 Fixed packing and layout of many system structures. 2001-11-23 18:44:43 +00:00
Uwe Bonnes b35d86aa13 MSVCRT_getenv: compare for the length of the key and return NULL in
case of failure.
2001-11-23 18:30:19 +00:00
Mike McCormack cce46e5760 Check for completed overlappeds in ReadComm16 to solve problems with
programs that loop on it but don't get data.
2001-11-23 18:26:30 +00:00
Andriy Palamarchuk 096bab67c0 Implemented processing for actions SPI_GET/SETSCREENSAVETIMEOUT,
SPI_GET/SETSCREENSAVEACTIVE, SPI_GET/SETSCREENSAVERRUNNING.
2001-11-20 20:27:26 +00:00
James Juran a630510baf GetUserName should include the terminating null character when
returning the size of the buffer returned. Correctly handle the
ERROR_MORE_DATA case.
2001-11-20 20:26:54 +00:00
Patrik Stridvall ae1c12c4cd Documentation fixes. 2001-11-20 18:55:39 +00:00
Patrik Stridvall 8f4ffb92bd Fixed some issues found by winapi_check. 2001-11-20 18:55:02 +00:00
Dave Hawkes 73f58ee2c7 TOOLBAR_GetRect did not correctly translate the command ID to the
button index.
2001-11-20 18:54:04 +00:00
Francois Gouget ea31cf0a57 Fix LUID definition. 2001-11-20 18:52:20 +00:00
Andreas Mohr 9cef2d0b1d - fix wrong hexadecimal GetLastError() output
- misc fixes
- changed my email address
2001-11-19 02:30:01 +00:00
James Juran 49c779a862 Prevent warnings about labels at end of switch statements when
compiling with gcc-3.x.
2001-11-19 02:24:14 +00:00
Francois Gouget 6e04f591f6 Fix the Solaris and FreeBSD compilation errors introduced by the
recent winsock update.
2001-11-19 02:23:22 +00:00
Simon Britnell 5ba7438df1 Fix a loop playing failure and a problem with choppy sound. 2001-11-19 02:10:50 +00:00
Francois Gouget d5aebbe6b3 A few typos. 2001-11-19 02:09:49 +00:00
Francois Gouget 1eb023dc7e Better relaying for _lcreat. 2001-11-19 02:08:34 +00:00
Marcus Meissner a32459ad72 Small typo in avicap32.spec fixed. 2001-11-19 02:07:40 +00:00
Jussi Jumppanen fb0eeab673 Added missing RichEdit defines. 2001-11-16 18:11:15 +00:00
Alexandre Julliard 47f9821817 Moved WIN_FindWinToRepaint functionality to the server. 2001-11-14 21:28:36 +00:00
Francois Gouget 272023190e Make winsock.h and winsock2.h independent from the Unix headers.
Make them compatible with both the Unix C headers and the MSVCRT
headers.
Ensure compatibility with the Unix headers via the USE_WS_PREFIX
macro.
Add WINE_NOWINSOCK: prevents winsock.h from being included from
windows.h when defined.
Add ws2tcpip.h, move definitions to the right header.
2001-11-14 21:26:23 +00:00
Gerard Patel e5fe7798fe Fix the server paint count in SetWindowPos. 2001-11-13 22:02:20 +00:00
Eric Pouech d45f041ec2 Fixed wave(In|Out)Open when called with WAVE_MAPPED flag; some minor
16/32 API call ordering.
2001-11-13 21:58:32 +00:00
Guy L. Albertelli ad3815929d - Implement ordinals 7, 8, 9, 13, 14, 19, 36.
- Implement SHRegWriteUSValue{A|W}, UrlGetPart{A|W}, UrlIs...{A|W}
2001-11-13 21:28:21 +00:00
Eric Pouech fa7a8c6306 Fixed some race conditions in notification vs. operation
synchronization using the same in process message ring in waveIn as in
waveOut.
2001-11-12 15:55:37 +00:00
Huw D M Davies c10d17dee9 Fixes stupid bug with typelib filenames. 2001-11-12 15:50:01 +00:00
Lawson Whitney 9eaefced36 Cast id to unsigned in GetDlgItem16. 2001-11-12 15:49:38 +00:00
Gerson Kurz d13e6a9a93 Parity settings were not set properly in BuildCommDCBAndTimeouts()
because of an off-by-one error.
2001-11-12 15:49:08 +00:00
Gerard Patel 9dea5b3ac8 Fixed handling of -1 itemid in WM_DRAWITEM. 2001-11-12 15:48:20 +00:00
Gerard Patel 3953614bbd - implement mbscspn mostly as a stub
- reimplement mktime
2001-11-12 15:47:26 +00:00
Andreas Mohr 7f7c6477d3 - don't forget to initialize number of connections to 0
- add "RAS doesn't work" warning
2001-11-12 15:46:33 +00:00
Simon Britnell 78bae03241 Cleaned up the wodPlayer functionality to make it easier to follow.
Changed notification to be calculated from bytes played rather than
time elapsed.
2001-11-09 20:26:59 +00:00
Travis Michielsen 1160c58c62 Test bits with '&' instead of '&&'. 2001-11-09 20:05:06 +00:00
Joshua Thielen 80e7837105 Changed BM_ messages SETCHECK and GETCHECK to SETCHECK16 and
GETCHECK16 in CheckDlgItem16 and IsDlgItemChecked16.
Cast UINT16 value to UINT or INT depending on sign in SetDlgItemInt16.
2001-11-09 19:18:45 +00:00
Guy L. Albertelli 11a5e849b4 Use proper unicode routine. 2001-11-09 19:16:36 +00:00
Alexandre Julliard 22c2ac7273 Implemented inline version of the iswxxx functions. 2001-11-08 19:16:34 +00:00
Ove Kaaven e2c477b21a Moved the int 9 (keyboard) handler to dlls/winedos. 2001-11-08 17:06:40 +00:00
Mike McCormack daf347ac8b Find out how much data is available when calling ReadFileEx. 2001-11-08 17:06:08 +00:00
Gerard Patel 6c58cdce16 Repaired child window activation broken by previous change. 2001-11-07 23:19:42 +00:00
Ove Kaaven cf6f12f3cf Added RunInThread callout to winedos. 2001-11-07 20:15:39 +00:00
Mike McCormack 309ed4e1f1 Make ConnectNamedPipe work in overlapped mode. 2001-11-07 20:14:45 +00:00
Mike McCormack 37f61c45de Ignore DSR/DTR flow control in DCB. termios doesn't support it. 2001-11-07 20:13:25 +00:00