---------------------------------------------------------------- 2000-09-10 Alexandre Julliard * scheduler/client.c: Added WINESERVER environment variable to allow overriding the normal server search sequence. * files/directory.c: Removed chdir("/") until we have proper Unix cwd management. * dlls/ntdll/ntdll.spec, scheduler/critsection.c: Implemented RtlpWaitForCriticalSection and RtlpUnWaitCriticalSection. * loader/ne/module.c: Andreas Mohr Fixed NE_LoadExeHeader error handling. * loader/module.c: Eric Pouech Fixed loader - broken search for already loaded modules. * objects/dib.c: Eric Pouech Fixed fallback code for StretchBlt on RLE DIBs with gaps. 2000-09-09 Alexandre Julliard * documentation/fonts.sgml: Marcus Meissner Fixed bdftopcf command. * dlls/msacm/filter.c, dlls/msacm/format.c, dlls/msacm/stream.c: Eric Pouech Added *Filter* functions. Misc bug fixes. * dlls/comctl32/tab.c: Marcus Meissner Implemented TCM_GETROWCOUNT. * programs/control/Makefile.in, programs/notepad/Makefile.in, programs/view/Makefile.in, programs/winhelp/Makefile.in, programs/winver/Makefile.in, libtest/Makefile.in, programs/clock/Makefile.in, programs/cmdlgtst/Makefile.in: Francois Gouget Added the missing library dependencies. * include/Makefile.in, include/cguid.h: Peter Hunnisett Added cguid.h. * dlls/ddraw/dga.c: Lionel Ulmer Do not support DGA when DirectVideo not present. * windows/defwnd.c: Dmitry Timoshkov Unify WM_SETTEXT handling among DefWindowProc16/DefWindowProcA/DefWindowProcW. * controls/listbox.c: Mike McCormack Avoid divide by zero when listbox set to zero height. * windows/mdi.c: Dmitry Timoshkov Simplify a bit MDI child window creation. * controls/menu.c: Dmitry Timoshkov GetMenu might be used to get child window id. 2000-09-07 Alexandre Julliard * windows/x11drv/keyboard.c: Giovanni Pancotti Italian keyboard fixes. * files/dos_fs.c: Andreas Mohr DOSFS_MatchLong ignored several things about file mask matching for long file names. * include/wine/unicode.h: Erik Hofman Added missing const to external tables definitions. * files/dos_fs.c, include/comm.h, include/server.h, misc/comm.c, server/Makefile.in, server/request.h, server/serial.c, server/trace.c: Mike McCormack Added serial port object to the server. * dlls/comctl32/tooltips.c: Francois Jacques - Make sure tooltips are hidden before deleting them. - Glitch happened while moving from a tooltip to another (fixed). * objects/dc.c: Gerard Patel Make GetDeviceCaps16 (hdc, NUMCOLORS) not return -1 for 16 bits programs. * graphics/x11drv/codepage.c: Hidenori Takeshima Added support for cp949. 2000-09-06 Alexandre Julliard * memory/atom.c: Fixed cut&paste typo. * tsx11/Makefile.in, tsx11/X11_calls, tsx11/ts_xvideo.c, configure, configure.in, include/acconfig.h, include/config.h.in, include/ts_xvideo.h, tools/make_X11wrappers: Lionel Ulmer Added possibility to use XVideo. * dlls/comctl32/listview.c, include/commctrl.h: Aric Stewart Implemented both customdraw message sending and handling (based off the treeview method) as well as LVS_OWNERDRAWFIXED. * dlls/comctl32/comctl32undoc.c: Mike McCormack Fixed a bug (incorrect size in memmove) that I introduced with an earlier patch. Tested with wordview. * tools/wineinstall: Phil Cole Added two directories to default non-windows install. * dlls/winaspi/aspi.c, dlls/winaspi/winaspi32.c, dlls/winaspi/wnaspi32.spec: Andreas Mohr Added newer (ASPI 3.0 ?) function stubs to WNASPI32. Better error messages. * dlls/shell32/systray.c: James Hatheway Systray should keep a copy of its icons. * server/sock.c: Ove Kaaven Adapted Winsock to Linux 2.4 TCP socket poll() behaviour (thanks to Berend Ozceri for finding the problem). * windows/mdi.c: Serge Ivanov Delay destroying menu entry until all messages are sent. 2000-09-04 Alexandre Julliard * memory/atom.c: Fixed Unicode conversion in GetAtomNameA (thanks to Gerard Patel). * dlls/dplayx/name_server.c, dlls/ntdll/rtlstr.c, loader/pe_image.c: Patrik Stridvall Fixed some issues found by winapi_check. * tools/winapi_check/win32/ntdll.api, tools/winapi_check/win32/ttydrv.api, tools/winapi_check/win32/x11drv.api, tools/winapi_check/modules.dat, tools/winapi_check/nativeapi.pm, tools/winapi_check/win16/compobj.api, tools/winapi_check/winapi_check, tools/winapi_check/winapi_parser.pm: Patrik Stridvall Minor API files update. * graphics/x11drv/xfont.c: Hidenori Takeshima Add jisx0212 encoding. Remove FIXMEs for implemented DBCS handling. * windows/x11drv/keyboard.c: Mike McCormack Added missing comma. * dlls/comctl32/comctl32undoc.c: Mike McCormack Rewrote quicksort to solve infinite recursions Win98 explorer.exe. 2000-09-02 Alexandre Julliard * win32/console.c: Marcus Meissner Change xterm mouse tracking mode to BTN_EVENT_MOUSE (track if pressed). * scheduler/process.c: Andreas Mohr Avoid crash on empty command-line. * debugger/stabs.c: Gerald Pfeifer Added two missing casts. * dlls/comctl32/animate.c: Jean-Claude Batista Use SetDIBits instead of StretchDIBits (in ANIMATE_PaintFrame). 2000-09-01 Alexandre Julliard * if1632/builtin.c, relay32/builtin32.c: Avoid buffer overflows in builtin dll loading (with the help of Dmitry Timoshkov). * windows/mdi.c: Henning Hoffmann Augment menu when a mdi window starts maximized. * windows/mdi.c: Francis Beaudet MDI Patch which fixes problems in PR, QP, WP and Paradox. * dlls/dsound/dsound_main.c: James Abbatiello Don't use copies of critical sections made by memcpy() Added missing WINAPIs * debugger/break.c, debugger/debugger.h, debugger/winedbg.c: James Abbatiello Fix for debugger disassembly being off by one byte after using nexti on a "call" instruction. * dlls/winsock/socket.c: Stephane Lussier When checking the socket return by the server request, we should do a "signed" check. * dlls/ole32/compobj.c, dlls/ole32/ole32.spec: James Hatheway Implemented CoGetPSClsid(). 2000-08-31 Alexandre Julliard * tools/wineconf: Phil Cole The Path variable in the created .winerc must be in dos format. * tools/wineinstall: Phil Cole Small fix. * dlls/commdlg/filedlg95.c: Andreas Mohr Fixed a string buffer overflow. * dlls/comctl32/animate.c: Jean-Claude Batista - improved ACS_TRANSPARENT and ACS_CENTER support - added RLE8 incremental decompression - each animation is now controlled by its own Windows thread - added use of Critical Sections in the WM_PAINT handler. * win32/console.c: Marcus Meissner Replaced USER32.DLL use by hardcoded tables for VkKeyScanA and MapVirtualKeyA. * scheduler/thread.c, server/console.c, server/context_i386.c, server/context_sparc.c, server/debugger.c, server/file.c, server/process.c, server/sock.c, server/trace.c, tools/make_requests, win32/console.c, win32/except.c, dlls/ntdll/exception.c, dlls/winsock/socket.c, files/dos_fs.c, files/file.c, include/file.h, include/server.h, loader/dos/module.c, memory/virtual.c, misc/comm.c, scheduler/client.c, scheduler/process.c: Converted a lot of server requests to the new exception handling mechanism. 2000-08-30 Alexandre Julliard * dlls/ddraw/dsurface/x11.c: Fixed non-OpenGL compile. * files/change.c, files/file.c, include/ntddk.h, include/server.h, loader/module.c, loader/ne/module.c, loader/pe_image.c, memory/atom.c, memory/selector.c, memory/virtual.c, misc/registry.c, scheduler/debugger.c, scheduler/event.c, scheduler/handle.c, scheduler/mutex.c, scheduler/pipe.c, scheduler/process.c, scheduler/semaphore.c, scheduler/synchro.c, scheduler/thread.c, scheduler/timer.c, server/atom.c, server/debugger.c, server/event.c, server/mapping.c, server/mutex.c, server/object.c, server/request.h, server/semaphore.c, server/thread.c, server/timer.c, server/trace.c, tools/make_requests, win32/console.c, win32/device.c, windows/queue.c, dlls/kernel/toolhelp.c, dlls/ntdll/exception.c, dlls/ntdll/nt.c, dlls/ntdll/om.c, dlls/ntdll/sync.c: Added exception handling wrapper to a number of server requests. Changed a few requests to use the new vararg mechanism. 2000-08-29 Alexandre Julliard * dlls/winmm/mcicda/mcicda.c, misc/cdrom.c: Andreas Mohr Fixed verbose CD-ROM serial number warnings and some spelling errors. * dlls/ddraw/ddraw/x11.c, dlls/ddraw/dsurface/x11.c: Peter Hunnisett Newbie friendly error message for 3D creation failure. * dlls/dplayx/dplay.c, dlls/dplayx/dplay_global.h, dlls/dplayx/dplaysp.c, dlls/dplayx/dplaysp.h, dlls/dplayx/dplayx_messages.c, dlls/dplayx/dplayx_messages.h, dlls/dplayx/name_server.c: Peter Hunnisett - More implementation - Should be able to enumerate sessions anywhere with at least tcp/ip * include/server.h, include/thread.h, scheduler/client.c, scheduler/thread.c, server/request.c, server/request.h, server/thread.c, server/thread.h, server/trace.c, tools/make_requests: Added the data structures and macros that will be needed to support reentrant server requests. * windows/message.c, windows/queue.c, windows/input.c: Andreas Mohr - fix one locking ignorant return 0; in MSG_SendMessageInterThread() - fix a crash in QUEUE_RemoveSMSG() - convert some queue WARN() to ERR() - spaileng fikses * controls/listbox.c, dlls/comctl32/listview.c: Andreas Mohr Always call LISTVIEW_SetSelection() for an item, even if that item has been selected before, in order to let other items get erased. * graphics/x11drv/text.c: Albert den Haan Convert the Unicode Character id to a glyph id in X11DRV_GetTextExtentPoint. * graphics/x11drv/xfont.c: Albert den Haan - enhanced reporting of unsupported X font encodings - added -cp-*- data to font encoding lookup structures 2000-08-28 Alexandre Julliard * relay32/builtin32.c, documentation/wine.man.in, include/loadorder.h, loader/elf.c, loader/loadorder.c, loader/module.c, loader/ne/module.c, loader/pe_image.c, misc/options.c: Peter Ganten - Always store the full path name of 32bit modules in WINE_MODREF - Add the possibility to use path names with the --dll command line option - Add the possibility to use the --dll command line option several times. - Note: The colon-sign is now exchanged with the plus-sign, as it is part of dos path names. * tools/wineinstall: Andreas Mohr Added a wine rpm uninstall section to wineinstall. * windows/nonclient.c: Francois Methot Do not check for system menu if the window has style WS_EX_TOOL_WINDOW. * dlls/ddraw/d3ddevice/mesa.c, dlls/ddraw/d3dtexture.c, dlls/ddraw/dsurface/main.c: Lionel Ulmer - added ARGB 1555 format - fixed refcount problem for Add/DeleteAttachedSurface * server/registry.c: Albert den Haan Fixed typo in HKEY_CURRENT_CONFIG name. * dlls/kernel/messages/winerr_enu.mc: Dmitry Timoshkov Add missing message to winerr_enu.mc. * dlls/kernel/wowthunk.c: James Abbatiello Increase number of supported args for WOW_CallProc32W16 from 11 to 13 (for CreateService). * dlls/kernel/wprocs.spec, msdos/vxd.c: James Abbatiello Stub support for int2f/ax=1684/bx=0027 (VXDLDR). 2000-08-26 Alexandre Julliard * win32/except.c, debugger/winedbg.c, dlls/dinput/dinput_main.c, dlls/dplayx/dplobby.c, loader/task.c: Removed calls to ConvertToGlobalHandle and MakeCriticalSectionGlobal. * dlls/ntdll/reg.c, include/ntddk.h: Simplified root key handling now that the server supports a real root key. Fixed a few prototypes. Implemented NtDeleteKey/NtDeleteValueKey. * dlls/ntdll/misc.c, dlls/ntdll/ntdll_misc.h: Fixed debugstr_as/us prototypes. * dlls/wininet/http.c, dlls/winmm/joystick/joystick.c, dlls/winmm/wineoss/midi.c, loader/main.c, loader/module.c, loader/ne/segment.c, loader/pe_image.c, misc/comm.c, misc/ext_debugger.c, windows/x11drv/clipboard.c, console/xterm.c, dlls/commdlg/colordlg.c, dlls/dsound/dsound_main.c, dlls/gdi/printdrv.c, dlls/ntdll/signal_sparc.c, dlls/oleaut32/parsedt.c, dlls/wininet/ftp.c: Andreas Mohr - made the MIDI sequencer error message much better for confused users to be found on #WineHQ - use strerror instead of errno at important places - got rid of HAVE_STRERROR macro - removed some #include:s (hopefully I didn't break anything) * dlls/comctl32/imagelist.c: Andreas Mohr Replaced cCurImage by cMaxImage. * dlls/comctl32/propsheet.c: Andreas Mohr "Fixed" horribly misaligned pages in property sheets of apparently newer InstallShields. * dlls/wineps/init.c: Dmitry Timoshkov Register Wine Postscript Driver as "WINEPS", "WINEPS.DLL" and "WINEPS.DRV" to allow an easy configuring for users. * graphics/x11drv/codepage.c: Hidenori Takeshima implements DrawText for cp932. * dlls/user/ddeml.c: Andreas Mohr Don't make DDEML mutexes global any more. * files/profile.c, server/main.c, server/object.c, server/object.h, server/registry.c, server/request.c, server/request.h, server/thread.h: Added a real root key and simplified creation of the HKEY_* special root keys. Do not prefix all keys with the name of the top key when saving to a file. Try to load $WINEPREFIX/config into the Wine config branch at startup. * dlls/msacm/.cvsignore, dlls/msacm/Makefile.in, dlls/msacm/driver.c, dlls/msacm/filter.c, dlls/msacm/format.c, dlls/msacm/internal.c, dlls/msacm/msacm.rc, dlls/msacm/msacm32.spec, dlls/msacm/msacm32_main.c, dlls/msacm/stream.c, dlls/msacm/wineacm.h, include/msacm.h: Eric Pouech Implemented most of '*Format*' API. Improved internal object and messages handling. Started some '*Filter*' functions. Fixed standard headers for Winelib. Fixed acmMetrics. 2000-08-25 Alexandre Julliard * dlls/ntdll/ntdll.spec, dlls/ntdll/rtlstr.c, include/ntddk.h: Fixed Rtl* string functions for proper MBCS/codepage support. Added a few more functions. * dlls/kernel/kernel_main.c, scheduler/process.c: Moved TASK_Create call to KERNEL initialisation routine. Clear last error code before calling main entry point (reported by James Juran). * dlls/kernel/kernel.spec, dlls/user/lstr.c, dlls/user/user.spec, memory/string.c: Fixed a couple of WINAPI issues with 16-bit spec files (thanks to Marcus Meissner). * dlls/dplayx/dplay_global.h, dlls/dplayx/dplaysp.c, dlls/dplayx/dplaysp.h, dlls/dplayx/dplayx_global.c, dlls/dplayx/dplayx_global.h, dlls/dplayx/dplayx_main.c, dlls/dplayx/dplayx_messages.c, dlls/dplayx/dplayx_messages.h, dlls/dplayx/dplayx_queue.h, dlls/dplayx/dplobby.c, dlls/dplayx/name_server.c, dlls/dplayx/name_server.h, include/dplay.h, ole/Makefile.in, ole/guid.c, dlls/dplayx/Makefile.in, dlls/dplayx/dpclassfactory.c, dlls/dplayx/dpinit.h, dlls/dplayx/dplay.c: Peter Hunnisett - Implemented loading and initialization of service providers - Created service provider COM object - Lots of dplay/dplobby implementation/fixes - Clean up of ole/guid.c * objects/dc.c: Backed out font codepage change. * include/miscemu.h, misc/comm.c, misc/version.c, msdos/int2f.c, dlls/comctl32/treeview.c, graphics/x11drv/dib.c: Andreas Mohr Minor cosmetic changes. * misc/tweak.c: Andreas Mohr Cleanup and speedup of init code. * objects/gdiobj.c: Gerard Patel Restored the hPseudoBitmap hack for programs deleting the 1x1 bitmap in memory DCs. * graphics/x11drv/xfont.c, include/gdi.h, objects/font.c, objects/text.c: Backed out font codepage change. * dlls/ddraw/helper.c: Lionel Ulmer Fixed the displaying of the FOURCC codes in _dump_pixelformat. * dlls/winmm/wineoss/audio.c: Eric Pouech Fixed recording format settings (16 bit was broken) and reentrancy issues. * dlls/shell32/brsfolder.c, dlls/shell32/shres.rc, dlls/shell32/shresdef.h, include/shlobj.h: Eric Pouech Improved a bit the folder browsing implementation. * include/winbase.h: Matthew Lake Added LHND. * tools/wrc/.cvsignore, tools/wrc/CHANGES, tools/wrc/README.wrc, tools/wrc/parser.y, tools/wrc/wrc.h, tools/wrc/wrc.man: Bertho Stultiens Fixed a LALR(2) problem while scanning usertype resources which had identifiers for both name and type. * misc/wsprintf.c: Marcus Meissner Use int instead of CHAR/WCHAR in va_arg() (fixes gcc-current compile problem). * dlls/ddraw/ddraw/main.c: Lionel Ulmer Change pixel format for 24 BPP surfaces when the DDraw BPP is 32. * objects/gdiobj.c: Andreas Mohr GetObjectA: unlock the object again even in case of failure. 2000-08-23 Alexandre Julliard * include/wine/exception.h: Fixed finally handler name. * windows/class.c: Fixed RegisterClass last error code on atom creation failure. * graphics/x11drv/xfont.c: Cleaned up major ugliness in __lfCheckSum. * dlls/comctl32/listview.c: Susan Farley Large caption icons should end in '...' when they are abbreviated. * dlls/comctl32/animate.c: Francois Methot For the transparency issue, implemented a switch-case for the bitcount (bit per pixel) of the animation files. * dlls/comctl32/trackbar.c: Aric Stewart Wine was not drawing trackbars with minimum ranges of more than 0 correctly. 2000-08-22 Alexandre Julliard * dlls/oleaut32/typelib.c: Francois Jacques - removed unnecessary recursion - upon query failure on main primary lcid and secondary lcid, attempts a query on system lcid (0) * dlls/wininet/internet.c, if1632/snoop.c: Marcus Meissner Fixed some warnings. * msdos/ioports.c: James Abbatiello Fixes for reading latched values with ports 0x40-0x43. * dlls/ddraw/dsurface/main.c: James Abbatiello Don't crash when calling DirectDrawSurface::EnumAttachedSurfaces on a surface with no attached surfaces. * dlls/kernel/format_msg.c: James Abbatiello Allow FormatMessage to load Unicode string resources. * include/server.h, include/winnt.h, scheduler/synchro.c, server/request.h, server/thread.c, server/thread.h, server/timer.c, server/trace.c: Added APC support in waitable timers. * graphics/bitblt.c, graphics/x11drv/bitblt.c: Removed unnecessary calls to CLIPPING_UpdateGCRegion. Fixed PatBlt to use DC_GetDCUpdate. 2000-08-21 Alexandre Julliard * ANNOUNCE, ChangeLog, include/version.h: Release 20000821. ---------------------------------------------------------------- 2000-08-21 Alexandre Julliard * include/winbase.h, scheduler/process.c: Andreas Mohr - don't return FALSE for system process changes - SHUTDOWN_NORETRY is 1 and has to be in winbase.h * dlls/comctl32/listview.c: Aric Stewart Beginning of some simple optimization of the listview drawing. Specifically it reduces flicker when selection changes. * loader/task.c: Andreas Mohr Transform every ERR() to WARN() in MakeProcInstance. * dlls/kernel/kernel_main.c: Uwe Bonnes Call WriteOutProfiles16 to make sure that last profile gets written. * dlls/comctl32/propsheet.c, include/dialog.h, windows/dialog.c: Gerard Patel Disable the owner of a modal dialog box just before creating the dialog window. * files/file.c: Marcus Meissner (from IBM TopPage patch) return correct error for already existing file. * windows/winproc.c: Gerard Patel Handle the LB_GETTEXT and CB_GETLBTEXT cases for 32W to 16 mapping. * windows/winpos.c: Gerard Patel Enables showing of hidden windows when the app ask *only* to maximize it. 2000-08-20 Alexandre Julliard * graphics/x11drv/xfont.c, include/gdi.h, objects/dc.c, objects/font.c, objects/text.c: Hidenori Takeshima Handle the codepage of fonts if supported by the graphics driver. * graphics/x11drv/codepage.c, graphics/x11drv/xfont.c, include/x11font.h: Hidenori Takeshima Added internal charsets for supporting DBCS charsets. * objects/dc.c: Fixed GDI locking in GetDeviceCaps. * dlls/shell32/systray.c: Kai Morich Fixed bug in repeatedly iconisation, code cleanup. * graphics/x11drv/init.c: Marcus Meissner Set X11DRV_DeviceCaps.numColors according to doc (fixes Cubase VST24 startup problem). * dlls/shell32/shell32.spec, dlls/shell32/shell32_main.c: Chris Morgan Implemented DuplicateIcon(). * msdos/int15.c: Chris Morgan Stubbed INT 15 function 84h. * include/win.h, windows/win.c, windows/x11drv/event.c: Louis Philippe Gagnon - Separate application calls to ShowOwnedPopups from Wine calls (in EVENT_MapNotify) by introducing an internal function. - Fix ShowOwnedPopups so it sends messages with the same parameters as in Windows. * dlls/comctl32/treeview.c: Chris Morgan Removed direct calls to TREEVIEW_Refresh(). * objects/enhmetafile.c: Huw D M Davies Implemented playback of EMR_POLYBEZIER{TO}16, EMR_POLYLINE16 and EMR_POLYPOLYLINE. * include/main.h, misc/main.c, ole/ole2nls.c: Dmitry Timoshkov Added new language detection scheme that uses NLS data base instead of hard coded values. * loader/pe_resource.c: Dusan Lacko Pass the type/name as a C string instead of an IMAGE_RESOURCE_DIR_STRING_U structure to the callback function. 2000-08-19 Alexandre Julliard * include/global.h, include/path.h, include/win.h, include/win16drv.h, include/wine/winbase16.h, include/x11drv.h, memory/local.c, objects/bitmap.c, objects/brush.c, objects/clipping.c, objects/dc.c, objects/dcvalues.c, objects/dib.c, objects/enhmetafile.c, objects/font.c, objects/gdiobj.c, objects/metafile.c, objects/palette.c, objects/pen.c, objects/region.c, objects/text.c, windows/cursoricon.c, windows/dce.c, windows/scroll.c, windows/user.c, windows/x11drv/wnd.c, dlls/ddraw/dsurface/dga.c, dlls/ddraw/dsurface/x11.c, dlls/gdi/gdi_main.c, dlls/gdi/printdrv.c, dlls/gdi/wing.c, dlls/opengl32/wgl.c, dlls/ttydrv/bitmap.c, dlls/ttydrv/dc.c, dlls/ttydrv/objects.c, dlls/ttydrv/wnd.c, dlls/wineps/brush.c, dlls/wineps/font.c, dlls/wineps/objects.c, dlls/wineps/psdrv.h, graphics/bitblt.c, graphics/enhmetafiledrv/init.c, graphics/enhmetafiledrv/objects.c, graphics/escape.c, graphics/mapping.c, graphics/metafiledrv/init.c, graphics/metafiledrv/objects.c, graphics/painting.c, graphics/path.c, graphics/win16drv/font.c, graphics/win16drv/objects.c, graphics/x11drv/bitmap.c, graphics/x11drv/brush.c, graphics/x11drv/clipping.c, graphics/x11drv/dib.c, graphics/x11drv/graphics.c, graphics/x11drv/init.c, graphics/x11drv/objects.c, graphics/x11drv/oembitmap.c, graphics/x11drv/palette.c, graphics/x11drv/xfont.c, include/dc.h, include/gdi.h: Alexandre Julliard (for Corel) Albert den Haan Added syslevel locking for GDI operations. Propagate the changes through the graphics code. * misc/cdrom.c: Ed Snow Corrected serial number generation for CD's with 1 or 2 tracks. 2000-08-18 Alexandre Julliard * misc/cdrom.c, files/dos_fs.c: Stefan Leichter Fixed return value of CDROM_GetLabel if CDROM_Open failed (e.g. no Device entry for drive in wine.conf). * include/x11font.h, graphics/x11drv/codepage.c, graphics/x11drv/xfont.c: Hidenori Takeshima Separate GetTextMetrics and implement it for SBCS/Unicode/cp932. * dlls/comctl32/status.c: Marcus Meissner Fixed STATUS_GetTextW in regard to NULL pointers. * graphics/win16drv/prtdrv.c: Dmitry Timoshkov Append .DRV to name only if no extension present. * debugger/stabs.c: Dmitry Timoshkov Do not crash if path is NULL in DEBUG_ProcessElfFileFromPath. * dlls/winmm/wineoss/mixer.c: Ed Snow Clean out the hack on BASS/TREBLE and suppress them in the mask as was recommended oh so long ago. * dlls/comctl32/toolbar.c: Chris Morgan - Added a helper function TOOLBAR_GetText() and macro TOOLBAR_HasText() to determine whether we need to call InvalidateRect() with bErase of TRUE or FALSE. Reduces background erases in non-text toolbars by 80-85%. - Fixed button state not being updated properly when LBUTTONDOWN and cursor leaves the toolbar. - Removed FIXME() in TOOLBAR_DrawString for btnPtr->iString == -1, replaced with a source code comment. - Removed unecessary call to TOOLBAR_CalcToolbar() in TOOLBAR_GetItemRect(). Optimized TOOLBAR_CalcStrings(). Fixes very slow responding toolbars in Ultraedit due to processing TB_GETITEMRECT messages. - Optimized TOOLBAR_SetIntent(), SetRows() and SetStyle(). * scheduler/synchro.c: Mike McCormack Save GET_APCS data before calling any asynchronous procedure calls, in case the server is called during the APC. * dlls/commdlg/finddlg.c, include/dialog.h, windows/dialog.c: Gerard Patel Turns the handling to pure 16 bits, remove references to dialog.h. * dlls/winspool/info.c: Albert den Haan Remove unused critical section global variable PRINT32_RegistryBlocker. * dlls/commdlg/filedlg.c: Gerard Patel Avoids changing 2 levels when clicking .. in the directory list. * dlls/kernel/kernel32.spec, win32/console.c: Chris Morgan Stubbed SetConsoleInputExeNameA/W. * dlls/comctl32/status.c: Gerard Patel WM_GETFONT should return a real font handle instead of NULL. 2000-08-16 Alexandre Julliard * loader/pe_image.c: Niclas Karlsson MATE WATCOM compiled programs leave VirtualSize to zero which triggers the virus check. Use SizeOfRawData instead. * dlls/comctl32/animate.c: Niclas Karlsson MATE Implemented ACS_CENTER for animation controls. * loader/pe_image.c: Avoid going past the end of the relocation section. Skip sanity checks for empty relocation blocks. * dlls/comctl32/animate.c: Francois Methot Implemented background transparency on animation control for avi composed of 8 bpp(or less) image. I added support for 8 bpp or more, but it has not been tested. * dlls/ole32/ole2.c: Louis Philippe Gagnon While dragging, catch keyboard messages between WM_KEYFIRST and WM_KEYLAST, not just WM_KEYFIRST. * dlls/kernel/wowthunk.c: Peter Ganten If a module cannot be found in LoadLibraryEx32W16, call LoadLibraryEx anyway, since it might be a builtin module. * dlls/shell32/shell32_main.c: Marcus Meissner Missed the first character of every argument in CommandLineToArgv. * dlls/winspool/info.c: Gerard Patel Add an error message if devmode structure in registry is invalid; attempt to provide plausible values. 2000-08-15 Alexandre Julliard * graphics/x11drv/codepage.c, graphics/x11drv/xfont.c, include/ts_xlib.h, include/x11font.h, tsx11/X11_calls, tsx11/ts_xlib.c: Hidenori Takeshima Fixed for DBCS(cp932/cp949) codepage conversion. Implemented cp932 handling partly(but still incomplete). Added supporting multiple fonts for DBCS handling. * debugger/debugger.h, debugger/stabs.c, documentation/debugger.sgml: Eric Pouech Enhanced ELF files lookup for symbolic info. * debugger/break.c: Eric Pouech Fixed regression in break command. 2000-08-14 Alexandre Julliard * dlls/commdlg/filedlg.c: Gerard Patel Fix return value to 16 bits for 16 bit hook; remove leading space for file specification. * windows/message.c: Peter Ganten Threads without active or focus window should not receive keyboard messages. * server/mapping.c, server/trace.c, include/server.h, loader/pe_image.c, memory/virtual.c: Implemented SEC_IMAGE mappings and shared PE sections (with the help of Peter Ganten). * include/ntddk.h, loader/ne/module.c, misc/lstr.c, misc/main.c, msdos/int21.c, dlls/Makefile.in, dlls/commdlg/filedlg95.c, dlls/user/lstr.c, dlls/wininet/Makefile.in, dlls/wininet/wininet.spec, files/dos_fs.c, files/profile.c: Moved CharUpper* and CharLower* functions to dlls/user. * graphics/x11drv/Makefile.in, graphics/x11drv/codepage.c, graphics/x11drv/text.c, graphics/x11drv/xfont.c, include/x11font.h: Hidenori Takeshima Added support for special treatments (use 2 or more fonts, codepage conversion, etc...) for DBCS text. * windows/nonclient.c, windows/sysparams.c, winedefault.reg: Dmitry Timoshkov Add "FullWindowDrag" feature for not managed windows. * controls/combo.c: Susan Farley Update the edit box before rolling up the listbox, so the selection isn't lost. * libtest/Makefile.in: Marcus Meissner Added missing referenced dlls for libtest. * dlls/comctl32/listview.c: Niclas Karlsson MATE LPSTR_TEXTCALLBACK wouldn't work if the application supplied the item text in its own buffer. * win32/Makefile.in, win32/error.c, win32/file.c, dlls/commdlg/comdlg32.spec, dlls/crtdll/crtdll_main.c, dlls/crtdll/wcstring.c, dlls/imm32/Makefile.in, dlls/imm32/imm32.spec, dlls/kernel/wowthunk.c, dlls/ole32/compobj.c, dlls/opengl32/Makefile.in, dlls/opengl32/opengl32.spec, dlls/setupapi/Makefile.in, dlls/setupapi/setupapi.spec, dlls/shlwapi/Makefile.in, dlls/shlwapi/shlwapi.spec, dlls/shlwapi/string.c, files/dos_fs.c, files/file.c, dlls/Makefile.in, dlls/advapi32/advapi.c, dlls/avifil32/avifile.c: Cleaned up a few inter-dll dependencies. Added a few imports. * ole/ole2nls.c, windows/class.c, windows/defwnd.c, windows/dialog.c, windows/mdi.c, windows/multimon.c, windows/painting.c, windows/spy.c, dlls/version/info.c, dlls/winspool/info.c, graphics/escape.c, graphics/x11drv/xfont.c, include/shlwapi.h, include/wine/undocshell.h, include/wine/unicode.h, loader/ne/convert.c, memory/atom.c, memory/heap.c, memory/registry.c, objects/palette.c, dlls/msacm/internal.c, dlls/msvideo/msvideo_main.c, dlls/ntdll/wcstring.c, dlls/ole32/antimoniker.c, dlls/ole32/bindctx.c, dlls/ole32/compositemoniker.c, dlls/ole32/defaulthandler.c, dlls/ole32/filemoniker.c, dlls/ole32/itemmoniker.c, dlls/ole32/storage.c, dlls/ole32/storage32.c, dlls/oleaut32/olefont.c, dlls/shell32/clipboard.c, dlls/shell32/shell.c, dlls/shell32/shpolicy.c, dlls/shlwapi/ordinal.c, dlls/shlwapi/path.c, dlls/advapi32/registry.c, dlls/advapi32/service.c, dlls/comctl32/comctl32undoc.c, dlls/comctl32/header.c, dlls/comctl32/monthcal.c, dlls/comctl32/rebar.c, dlls/comctl32/status.c, dlls/comctl32/tab.c, dlls/comctl32/toolbar.c, dlls/comctl32/tooltips.c, dlls/comctl32/treeview.c, dlls/commdlg/filedlg.c, dlls/commdlg/filedlg95.c, dlls/commdlg/finddlg32.c, dlls/commdlg/fontdlg.c, dlls/dplayx/dplayx_global.c, dlls/kernel/format_msg.c, controls/icontitle.c, controls/listbox.c: Replaced all lstr* calls from inside Wine code by their str* equivalent. * msdos/dpmi.c: Replaced global Callbacks structure by appropriate glue code generation. Removed a few unused entries in the Callout structure. * dlls/shell32/shell32_main.c, dlls/shell32/shell32_main.h, dlls/shell32/shellole.c, dlls/shell32/shellord.c, dlls/shell32/shellpath.c, dlls/shell32/shellreg.c, dlls/shell32/shellstring.c, dlls/shell32/shlfileop.c, dlls/shell32/shlmenu.c, include/winversion.h, misc/version.c, win32/device.c, windows/winhelp.c, dlls/advapi32/security.c, dlls/imm32/imm.c, dlls/msacm/msacm32_main.c, dlls/oleaut32/oleaut.c, dlls/oleaut32/typelib.c, dlls/shell32/changenotify.c, dlls/shell32/iconcache.c, dlls/shell32/pidl.c: Replaced VERSION_* calls by exported API equivalents. * include/callback.h, loader/ne/.cvsignore, loader/ne/Makefile.in, loader/ne/module.c, loader/ne/resource.c, loader/ne/segment.c, memory/.cvsignore, memory/Makefile.in, memory/local.c, misc/comm.c, tools/winebuild/spec16.c, controls/.cvsignore, controls/Makefile.in, controls/edit.c, dlls/kernel/.cvsignore, dlls/kernel/Makefile.in, dlls/kernel/thunk.c, dlls/kernel/utthunk.c, dlls/winaspi/.cvsignore, dlls/winaspi/Makefile.in, dlls/winaspi/winaspi16.c, dlls/winaspi/winaspi32.c, dlls/winmm/mmsystem.c, if1632/thunk.c, include/builtin16.h: Replaced global Callbacks structure by appropriate glue code generation. Removed a few unused entries in the Callout structure. * winedefault.reg: Gerard Patel Added load address for the shared memory of BDE (Borland database manager). * scheduler/client.c: Huw D M Davies Fix for starting server from the current directory. * graphics/x11drv/xfont.c: Hidenori Takeshima Added checking for broken font cache. Added supporting for iso10646 encoding. 2000-08-11 Alexandre Julliard * scheduler/client.c, server/request.c: Made server startup more robust against races caused by a previous server terminating at the same time. * configure, configure.in, tools/c2man.pl: Mike_McCormack@looksmart.com.au Created default c2man compatible perl script for generating documentation, in case c2man isn't installed. * dlls/comctl32/listview.c: Aric Stewart Fixed sending of LVN_ITEMCHANGING and LVN_ITEMCHANGED messages, cleaned up some of the drawing, implemented the iIndent for LVS_REPORT and fixed a problem where sub items where not being properly associated with their item for virtual list views. * memory/codepage.c, misc/lstr.c, ole/ole2nls.c, unicode/Makefile.in, unicode/cpmap.pl, unicode/wctype.c, configure, configure.in, dlls/crtdll/mbstring.c, dlls/crtdll/wcstring.c, dlls/ntdll/wcstring.c, dlls/user/lstr.c, include/config.h.in, include/winbase.h, include/wine/unicode.h: Added Unicode ctype support. * dlls/comctl32/updown.c, include/commctrl.h: Moved NM_UPDOWN definition to commctrl.h. * relay32/relay386.c: Peter Ganten The user driver functions might be called with the window lock held. * include/module.h, loader/pe_resource.c, loader/resource.c: Dmitry Timoshkov Make FindResource and FindResourceEx fully windows compatible. * include/tchar.h: Damyan Ognyanoff Remove some obsolete #define's - strlwr and strupr are in NTDLL now. * include/wine/unicode.h, memory/codepage.c, unicode/Makefile.in, unicode/utf8.c: Added UTF-8 conversion support. * windows/x11drv/wnd.c: Stephane Lussier Instead of not doing the Z ordering when the application asks to place the window under a zero-sized window, now the window above the zero-sized window, is used to do the Z ordering. * dlls/commdlg/filedlg95.c: Dmitry Timoshkov Initialize lpstrInitialDir to really bogus value to restore original value later. * include/windef.h: Ove Kaaven Added a few more anonymous union definitions. * include/guiddef.h: Ove Kaaven Fixed C++ operators return value. * dlls/crtdll/crtdll_main.c: Ove Kaaven Implemented fopen() append mode, and a really cheesy fscanf() implementation... * dlls/shell32/shlfileop.c: Dmitry Timoshkov 1. Make buffer for message large enough to hold very long file names. 2. Pass FORMAT_MESSAGE_ARGUMENT_ARRAY for FormatMessageA to not assume implementation specific behaviour. 3. Show actual message to user, not non-formatted one. 2000-08-10 Alexandre Julliard * windows/x11drv/event.c, windows/x11drv/init.c, windows/x11drv/keyboard.c, windows/x11drv/mouse.c, windows/x11drv/wnd.c, dlls/x11drv/x11drv_main.c, include/clipboard.h, include/ttydrv.h, include/user.h, include/x11drv.h, misc/main.c, windows/clipboard.c, windows/cursoricon.c, windows/dce.c, windows/event.c, windows/keyboard.c, windows/sysparams.c, windows/win.c, windows/x11drv/Makefile.in, windows/x11drv/clipboard.c, configure, configure.in, controls/desktop.c, dlls/dinput/dinput_main.c, dlls/ttydrv/Makefile.in, dlls/ttydrv/bitmap.c, dlls/ttydrv/dc.c, dlls/ttydrv/graphics.c, dlls/ttydrv/objects.c, dlls/ttydrv/palette.c, dlls/ttydrv/ttydrv.h, dlls/ttydrv/ttydrv.spec, dlls/ttydrv/ttydrv_main.c, dlls/ttydrv/user.c, dlls/ttydrv/wnd.c, dlls/user/display.c, dlls/user/mouse.c, dlls/user/user_main.c, dlls/x11drv/x11drv.spec: Merged clipboard driver into USER driver. Moved all ttydrv source files to dlls/ttydrv. Load functions pointer for the USER driver from the graphics driver dll with GetProcAddress. 2000-08-09 Alexandre Julliard * objects/bitmap.c, programs/notepad/search.c, scheduler/synchro.c, windows/caret.c, windows/cursoricon.c, windows/queue.c, windows/x11drv/wnd.c, dlls/winsock/async.c, dlls/winsock/socket.c, files/change.c, files/dos_fs.c, graphics/painting.c, include/msacmdrv.h, include/ntddk.h, include/ole.h, include/wine/obj_base.h, misc/comm.c, misc/main.c, msdos/int09.c, dlls/ddraw/direct3d/main.c, dlls/ddraw/direct3d/mesa.c, dlls/dinput/dinput_main.c, dlls/msacm/msacmdrv.h, dlls/ole32/compobj.c, dlls/ole32/storage.c, dlls/serialui/confdlg.c, dlls/shell32/brsfolder.c, dlls/user/ddeml.c, dlls/wininet/http.c, dlls/wininet/internet.c, controls/icontitle.c, controls/widgets.c, dlls/comctl32/tab.c, dlls/crtdll/crtdll_main.c, dlls/ddraw/ddraw/dga.c, dlls/ddraw/ddraw/main.c, dlls/ddraw/ddraw/x11.c, dlls/ddraw/dga.c, dlls/ddraw/dga2.c, dlls/ddraw/helper.c, dlls/ddraw/main.c: Removed some unnecessary #includes and dll dependencies. * memory/environ.c, scheduler/process.c, scheduler/thread.c, win32/init.c, include/process.h, loader/pe_image.c, loader/task.c: Make PDB, ENVDB and STARTUPINFO global variables. Added 'module' field in PDB, and removed Wine-specific fields. * misc/version.c, scheduler/services.c: Removed winver and service_table from the PDB and made them static variables. * include/file.h, loader/dos/dosvm.c, files/file.c: Removed the DOS handles table from the PDB and made it a static variable. * dlls/kernel/kernel_main.c, if1632/builtin.c, include/global.h, memory/global.c, msdos/dosmem.c, objects/metafile.c: Removed obsolete SHMDATA parameter in GLOBAL_CreateBlock. * dlls/oleaut32/typelib.c: Francois Jacques - Avoid null-pointer exceptions by testing listnodes validity before doing any work with those. - TLB_ReadTypeLib now retrieves the length of the TLB and passes it to the TLB constructor which initializes TLBContext::length to that value. - For non-standard pointed types, td[3] is always 0. I observed that the type is stored at td[2]/8 and not td[3]/8. - Null-pointer exception occurs when GetRefTypeOfImplType is called on a type with no inherited interfaces. If the implemented types linked list is empty, set pRefType as 0 and return S_OK. * include/wine/obj_oleaut.h: James Hatheway Fixed typo in the IDispatch_GetTypeInfo macro. * dlls/comctl32/tooltips.c: Huw D M Davies Fix some remaining problems with tooltips. * configure.in, configure: Marcus Meissner Fixed OpenGL configure: move HAVE_OPENGL define to where it belongs, fixed glext.h presence in configure check for PFNGLCOLORTABLEEXTPROC. * include/authors.h, include/crtdll.h, include/device.h, include/file.h, include/metafiledrv.h, include/w32sys.h, tools/make_authors, win32/file.c, dlls/ole32/ole2.c, dlls/shell32/authors.h, dlls/shell32/brsfolder.c, dlls/shell32/shellord.c, dlls/shell32/shlview.c, dlls/win32s/w32sys.c, files/file.c, graphics/metafiledrv/metafiledrv.h, debugger/winedbg.c, dlls/crtdll/crtdll.h, dlls/ddraw/dga.c, dlls/ddraw/dga2.c, dlls/ddraw/helper.c, dlls/kernel/toolhelp.c, dlls/ntdll/exception.c: Moved a few non-standard headers into their respective dlls. * include/Makefile.in: Install all standard Windows includes, plus some from the wine subdir. * dlls/comctl32/datetime.c, dlls/comctl32/flatsb.c, dlls/comctl32/header.c, dlls/comctl32/hotkey.c, dlls/comctl32/imagelist.c, dlls/comctl32/imagelist.h, dlls/comctl32/ipaddress.c, dlls/comctl32/listview.c, dlls/comctl32/monthcal.c, dlls/comctl32/nativefont.c, dlls/comctl32/pager.c, dlls/comctl32/progress.c, dlls/comctl32/rebar.c, dlls/comctl32/status.c, dlls/comctl32/tab.c, dlls/comctl32/toolbar.c, dlls/comctl32/tooltips.c, dlls/comctl32/trackbar.c, dlls/comctl32/treeview.c, dlls/comctl32/updown.c, dlls/shell32/shell.c, dlls/shell32/shell32_main.h, include/animate.h, include/comboex.h, include/commctrl.h, include/datetime.h, include/flatsb.h, include/header.h, include/hotkey.h, include/imagelist.h, include/ipaddress.h, include/listview.h, include/monthcal.h, include/nativefont.h, include/pager.h, include/progress.h, include/rebar.h, include/status.h, include/tab.h, include/toolbar.h, include/tooltips.h, include/trackbar.h, include/treeview.h, include/updown.h, dlls/comctl32/animate.c, dlls/comctl32/comboex.c, dlls/comctl32/commctrl.c: Removed all non-standard common control headers from the include directory. * windows/Makefile.in, windows/struct32.c, windows/struct32.h, graphics/x11drv/graphics.c, include/struct32.h, win32/Makefile.in, win32/struct32.c: Moved struct32.c to windows directory. 2000-08-08 Alexandre Julliard * relay32/builtin32.c: Make sure builtin dlls are never freed since we don't support dlclose properly yet. * dlls/psapi/Makefile.in, dlls/psapi/psapi.spec, dlls/richedit/reader.c, dlls/serialui/confdlg.c, dlls/shell32/shell32.spec, dlls/shell32/shellstring.c, dlls/tapi32/Makefile.in, dlls/tapi32/line.c, dlls/tapi32/tapi32.spec, dlls/winmm/mmsystem.c, dlls/winmm/mmsystem.spec, include/wine/winbase16.h, dlls/Makefile.in, dlls/commdlg/fontdlg.c, dlls/commdlg/printdlg.c, dlls/kernel/Makefile.in, dlls/kernel/kernel.spec, dlls/lzexpand/lzexpand_main.c, dlls/msacm/driver.c, dlls/ole32/ole2.c, dlls/oleaut32/typelib.c: Small dll interfaces cleanups. * configure, configure.in, include/wine_gl.h: Marcus Meissner Eased restrictions on OpenGL/MESA usage a bit. It compiles just fine using mesa-3.2 even without glext.h. * dlls/comctl32/listview.c, include/listview.h: Aric Stewart Reworked how selections are kept track of in the list view. Selections are now listed as a sorted range of paired integers. * dlls/comctl32/tooltips.c: Louis Philippe Gagnon When unsubclassing tools, use toolPtr->hwnd instead of toolPtr->uId if toolPtr->flags does not contain TTF_IDISHWND (meaning uId is not a valid window handle). * documentation/HOWTO-winelib: Wilbur N. Dale Added description of using DLLs with WineLib. * documentation/*: John R. Sheets Converted Wine documentation to SGML format. 2000-08-07 Alexandre Julliard * controls/icontitle.c: Marcus Meissner Initialize 'str' in ICONTITLE_GetTitlePos. * include/module.h, loader/ne/resource.c, loader/pe_resource.c, loader/resource.c: Fixed resource functions to work with 32-bit modules that don't have a 16-bit counterpart (necessary for LOAD_LIBRARY_AS_DATAFILE support). * programs/uninstaller/main.c: Andreas Mohr Add an edit control showing the command line of the currently selected deinstall item. * windows/winpos.c: Huw D M Davies WINPOS_WindowFromPoint should respect hrgnWnd. * loader/pe_image.c: Peter Ganten Set up exe_modref before loading implicitly linked dlls. * dlls/kernel/format_msg.c: Andreas Mohr Prevent endless looping in linebreak handling. * dlls/ddraw/ddraw/x11.c: Marcus Meissner If we are looking for an existing pixmap format, we do not need the same bitsperpixel (fixes depth 15/bitspixel 16 mode). * include/dinput.h: Ove Kaaven Added a few DirectInput 7 definitions and C++ fixes. * dlls/kernel/wowthunk.c: Peter Ganten LoadLibraryEx32W16 should use the search algorithm of 16-bit libraries. * windows/cursoricon.c, windows/input.c, windows/msgbox.c, windows/winpos.c: Marcus Meissner Removed local variable shadows warnings. * win32/process.c, include/elfdll.h, include/module.h, include/pe_image.h, loader/elf.c, loader/elfdll.c, loader/module.c, loader/ne/module.c, loader/pe_image.c, loader/pe_resource.c, loader/resource.c, loader/task.c, misc/version.c, relay32/builtin32.c, scheduler/process.c, debugger/dbgmain.c, debugger/msc.c, debugger/types.c: - Fixed resource functions to work directly from the HMODULE instead of requiring a modref. - Attempted to get LOAD_LIBRARY_AS_DATAFILE right (based on patches by Eric Pouech and Dusan Lacko). - Simplified modref structure and handling. * include/wine/obj_base.h: Ove Kaaven Protect the prototypes in here from C++ name mangling... * dlls/version/install.c: Andreas Mohr VIF_OUTOFSPACE and VIF_OUTOFMEM were reversed. * include/vfw.h: Marcus Meissner inline must be first attribute in function definition. * dlls/user/lstr.c: Marcus Meissner Fixed CharNextW. * graphics/x11drv/dib.c: Uwe Bonnes X11DRV_DIB_SetImageBits_RLE8: break image lines. 2000-08-06 Alexandre Julliard * dlls/wininet/Makefile.in, dlls/wininet/wininet.spec, dlls/winmm/Makefile.in, dlls/winmm/winmm.spec, dlls/winsock/Makefile.in, dlls/winsock/ws2_32.spec, dlls/winspool/Makefile.in, dlls/winspool/winspool.drv.spec, dlls/icmp/Makefile.in, dlls/icmp/icmp.spec, dlls/imagehlp/Makefile.in, dlls/imagehlp/imagehlp.spec, dlls/lzexpand/Makefile.in, dlls/lzexpand/lz32.spec, dlls/mpr/Makefile.in, dlls/mpr/mpr.spec, dlls/msacm/Makefile.in, dlls/msacm/msacm32.spec, dlls/richedit/Makefile.in, dlls/richedit/riched32.spec, dlls/serialui/Makefile.in, dlls/serialui/serialui.spec, dlls/setupapi/Makefile.in, dlls/setupapi/setupapi.spec, dlls/winaspi/Makefile.in, dlls/winaspi/wnaspi32.spec, dlls/wineps/Makefile.in, dlls/wineps/wineps.spec, dlls/Makefile.in, dlls/advapi32/Makefile.in, dlls/advapi32/advapi32.spec, dlls/comctl32/Makefile.in, dlls/comctl32/comctl32.spec: Added imports of kernel32.dll where necessary. * Makefile.in, dlls/user/Makefile.in: Link USER resources into libuser.so. * ole/ole2nls.c: Hidenori Takeshima Fix for calling ctype functions with Unicode characters. * dlls/comctl32/toolbar.c: Chris Morgan Converted all calls to RedrawWindow to InvalidateRect. Previously RedrawWindow was being used for the RDW_UPDATENOW flag which forced an immediate WM_PAINT message. Moving to InvalidateRect should let WM_PAINTs occur normally. * controls/listbox.c: Susan Farley Avoid resetting the background color when clearing out blank areas, as it may have been set to something other than COLOR_WINDOW by the application. * windows/x11drv/wnd.c: Stephane Lussier Top level windows with 0 width or height are created with a size of 1x1 in the X11 driver. I've added some code to make sure those windows are never mapped while the size <= 0. * misc/lstr.c, misc/main.c, relay32/snoop.c, win32/except.c, dlls/shlwapi/shlwapi.spec, dlls/shlwapi/string.c, dlls/user/lstr.c, dlls/user/misc.c, dlls/user/user.spec, dlls/user/user32.spec, if1632/Makefile.in, if1632/dummy.c, include/wine/exception.h, include/wine/winestring.h, include/wine/winuser16.h, include/winuser.h, memory/string.c, console/interface.c, dlls/comctl32/comctl32undoc.c, dlls/gdi/gdi_main.c, dlls/kernel/kernel.spec, dlls/kernel/kernel_main.c, dlls/ntdll/exception.c, dlls/ntdll/ntdll.spec, dlls/shell32/shell32.spec: Moved most USER string functions to dlls/user. Cleaned up a few more inter-dll dependencies. * ole/ole2nls.c, relay32/relay386.c, win32/device.c, win32/init.c, windows/driver.c, windows/painting.c, windows/win.c, files/dos_fs.c, files/drive.c, files/file.c, graphics/win16drv/init.c, graphics/x11drv/xfont.c, loader/loadorder.c, loader/ne/convert.c, loader/ne/module.c, loader/ne/resource.c, misc/registry.c, objects/enhmetafile.c, controls/edit.c, controls/menu.c, dlls/shlwapi/path.c, dlls/user/text.c: Replaced lstrlen/lstrcmp by libc equivalents everywhere we don't need to trap exceptions. 2000-08-04 Alexandre Julliard * tools/winapi_check/modules.dat, tools/winapi_check/modules.pm, tools/winapi_check/nativeapi.dat, tools/winapi_check/nativeapi.pm, tools/winapi_check/win32/comctl32.api, tools/winapi_check/win32/oleaut32.api, tools/winapi_check/win32/ws2_32.api, tools/winapi_check/win32/wsock32.api, tools/winapi_check/winapi_check: Patrik Stridvall - Warn about directories specified in modules.dat that are not used. - Eliminated the warnings caused by the change above. - Minor API files update. - Minor bug fixes. * include/acconfig.h, include/config.h.in, dlls/wininet/internet.c: Patrik Stridvall Fixed issues found by winapi_check. * debugger/stack.c, dlls/comctl32/listview.c: Patrik Stridvall Fixed some warnings. * programs/regapi/Makefile.in, programs/regtest/Makefile.in, programs/uninstaller/Makefile.in, programs/view/Makefile.in, programs/wcmd/Makefile.in, programs/winemine/Makefile.in, programs/winhelp/Makefile.in, programs/winver/Makefile.in, debugger/Makefile.in, programs/avitools/Makefile.in, programs/clock/Makefile.in, programs/cmdlgtst/Makefile.in, programs/control/Makefile.in, programs/notepad/Makefile.in, programs/progman/Makefile.in: Hidenori Takeshima Added a few missing imports. * objects/palette.c, objects/text.c, scheduler/thread.c, win32/Makefile.in, win32/newfns.c, win32/ordinals.c, windows/queue.c, windows/scroll.c, dlls/user/Makefile.in, dlls/user/cache.c, dlls/user/lstr.c, dlls/user/misc.c, dlls/user/resource.c, dlls/user/text.c, graphics/Makefile.in, graphics/cache.c, loader/resource.c, misc/lstr.c, dlls/kernel/kernel32.spec: Moved a bunch of functions out of libwine/kernel/gdi into USER. * windows/x11drv/wnd.c, graphics/metafiledrv/init.c, graphics/win16drv/init.c, graphics/x11drv/init.c, include/gdi.h, include/ttydrv.h, include/user.h, include/win.h, include/x11drv.h, objects/metafile.c, windows/caret.c, windows/clipboard.c, windows/cursoricon.c, windows/dce.c, windows/dialog.c, windows/nonclient.c, windows/painting.c, windows/winpos.c, controls/combo.c, controls/menu.c, dlls/ttydrv/ttydrv_main.c, dlls/wineps/init.c, dlls/x11drv/x11drv_main.c, graphics/enhmetafiledrv/init.c: Removed a few dependencies on GDI internals from USER dll. * dlls/Makefile.in, dlls/gdi/Makefile.in, dlls/gdi/gdi32.spec, dlls/user/user32.spec, programs/uninstaller/Makefile.in, programs/wcmd/Makefile.in, programs/winemine/Makefile.in, debugger/Makefile.in, debugger/winedbg.spec: Added a few missing imports. 2000-08-03 Alexandre Julliard * win32/console.c, Makefile.in, dlls/gdi/.cvsignore, dlls/gdi/Makefile.in, dlls/gdi/printdrv.c, dlls/kernel/toolhelp.spec, dlls/user/Makefile.in, misc/Makefile.in, misc/printdrv.c, msdos/int09.c, msdos/int16.c, scheduler/thread.c: Make USER and GDI separate dlls. * dlls/winsock/async.c, dlls/winsock/socket.c, include/wine/winsock16.h, include/winsock.h, include/winsock2.h: Andreas Mohr Fixed the Win16/Win32 structure size/alignment differences of ws_hostent, ws_protoent, ws_servent, ws_netent. * dlls/comctl32/tooltips.c, include/tooltips.h: Huw D M Davies Redo the show/hide logic and add a comment to explain what's going on. Fix TTM_{S|G}ETDELAYTIME to use the double click time as default. Fix handling of TTDT_AUTOMATIC. Relayed mouse messages should extract the position from lParam not msg.pt SubclassProc now unified with TTM_RELAYEVENT. Change all lstrcpyxtox to use win32 APIs. * dlls/wineps/afm.c, dlls/wineps/psdrv.h: Alexandre Julliard (for Corel) Changed the AFM metrics structure to use an array instead of a linked list. This avoids doing two heap allocations for every character, and reduces the metrics parsing time by approx 25%. * dlls/wininet/http.c: John R. Sheets Added "Mime-Version" to standard MIME headers parsed in HTTP_GetStdHeaderIndex(). * dlls/ole32/errorinfo.c, include/oleauto.h, include/oleidl.h, include/thread.h, include/wine/obj_errorinfo.h, include/wine/obj_oleaut.h: Juergen Schmied Implemented the ErrorInfo interfaces. * dlls/kernel/Makefile.in: Added explicit dependency on message files for people who don't run make depend. * dlls/shell32/shellguid.c, dlls/shlwapi/shlwapi_main.c, ole/guid.c, dlls/avifil32/avifile.c, dlls/ddraw/main.c, dlls/dinput/dinput_main.c, dlls/dplayx/dplayx_main.c, dlls/dsound/dsound_main.c, dlls/ole32/oleobj.c, dlls/oleaut32/oleaut.c: Moved GUID definitions to their respective dll. * dlls/shell32/shelllink.c, include/wine/obj_shelllink.h: Fixed IShellLinkA/W definitions. * dlls/commdlg/filedlg95.c, dlls/commdlg/filedlgbrowser.c, dlls/shell32/brsfolder.c, dlls/shell32/folders.c, dlls/shell32/iconcache.c, dlls/shell32/shellord.c, dlls/shell32/shlmenu.c, dlls/shell32/shlview.c, dlls/shell32/shv_bg_cmenu.c, dlls/shell32/shv_item_cmenu.c, include/guiddef.h, include/initguid.h, include/rpc.h, include/shlguid.h, include/vfw.h, include/wine/obj_base.h, include/wine/obj_commdlgbrowser.h, include/wine/obj_contextmenu.h, include/wine/obj_enumidlist.h, include/wine/obj_extracticon.h, include/wine/obj_shellbrowser.h, include/wine/obj_shellextinit.h, include/wine/obj_shellfolder.h, include/wine/obj_shellview.h, include/wtypes.h: Added guiddef.h and moved a few GUID definitions to the correct file. * dlls/ole32/compobj.c, dlls/ole32/ole32.spec: Fixed IsEqualGUID definition. * include/winnls.h, ole/ole2nls.c: Dmitry Timoshkov LOCALE_NOUSEROVERRIDE means: do not get user redefined settings from the registry. Instead, use system default values. * dlls/comctl32/listview.c: Aric Stewart - Fixed bug where InitSubItem was doing a ZeroMemory on the item. - Cleaned up a sit of extra blue at the end of a FULLROWSELECT list view if there is only one column. - Corrected a bug I introduced with an earlier patch which caused problems with multiple selections. * dlls/ddraw/convert.c: Marcus Meissner One of the 24/32 convert color masks was wrong. * dlls/user/user32.spec: Marcus Meissner GetPropA/W have string args. * if1632/thunk.c, scheduler/process.c, dlls/*/Makefile.in, dlls/*/*.spec: Added imports of user32/gdi32/kernel32 wherever necessary. 2000-08-01 Alexandre Julliard * include/version.h, ANNOUNCE, ChangeLog: Release 20000801. ---------------------------------------------------------------- 2000-08-01 Alexandre Julliard * include/windef.h, include/winnt.h, include/winuser.h, include/wtypes.h: Jeremy White Added WM_TCARD and DWORDLONG. * dlls/kernel/format_msg.c, tools/wmc/write.c: Marcus Meissner PE_MESSAGE_HEADER.Length contains the header itself too. * memory/virtual.c: Peter Ganten Committing a page of a shared mapping in one process lets it appear committed in other processes, too. To fake this, we commit them as soon as they are mapped. * include/winnt.h, memory/heap.c: Peter Ganten Moved Wine private heap creation flags to other values. Return system heap when a shared heap is requested. * files/directory.c: Only set COMSPEC if not defined already. * dlls/commdlg/filedlg.c, include/wine/unicode.h: Gerard Patel Changed the win31 style file dialog to 32 bits structures and messages. * dlls/comctl32/treeview.c: Serge Ivanov Andrew Lewycky Improved drawing of item text, added SHOWSELALWAYS capability. * dlls/comctl32/listview.c: Matthew Lake Fixed a segfault problem using the standard file open dialog box. * files/dos_fs.c, graphics/Makefile.in, graphics/vga.c, msdos/Makefile.in, msdos/vga.c, objects/gdiobj.c: Moved MulDiv() and VGA routines out of GDI. * programs/wcmd/ChangeLog, programs/wcmd/README, programs/wcmd/batch.c, programs/wcmd/builtins.c, programs/wcmd/directory.c, programs/wcmd/wcmdmain.c, programs/wcmd/wcmdrc.rc: Dave Pickles Added support for ERRORLEVEL. Most errors reported via FormatMessage(). COPY command now works correctly if output specifier is a directory. * dlls/comctl32/treeview.c: Susan Farley More consistent calculation of line height, scrolls a full item on line up/down. * dlls/comctl32/listview.c, include/listview.h: Aric Stewart Fixed a few bugs including one with setting extended styles and editing labels. Implemented the LVS_EX_FULLROWSELECT extended style. Begin an implementation of virtual list views (LVS_OWNERDATA style set). * include/ddraw.h: Marcus Meissner Removed unnecessary X11 includes from ddraw.h. * loader/module.c: Peter Ganten WinExec16 should not split quoted filenames with spaces. * dlls/wininet/internet.c, dlls/wininet/wininet.spec: Aric Stewart Implemented InternetCheckConnectionA. * loader/dos/module.c: Ove Kaaven Fixed another non-Linux build failure. * dlls/crtdll/crtdll.spec: Marcus Meissner Fixed 2 forward entries. * dlls/comctl32/status.c: Marcus Meissner Removed some flicker by detecting if we set the same value again. * controls/listbox.c: Gerard Patel Change logic of listbox resizing for 16 bits apps for lists without LBS_NOINTEGRALHEIGHT style. * objects/dc.c: Phillip Ezolt Fixed CreateDC to work properly when it is called with a device. * programs/wcmd/batch.c, programs/wcmd/builtins.c, programs/wcmd/wcmd.h, programs/wcmd/wcmdmain.c: Jason Edmeades - Support whitespace around commands better, and support the @ prefix better - Enhance the set support to unset, display value error correctly - Enhance the command line support for parms, and env var expansion - Enhance the echo command to not loose whitespace, and display output with % signs better * configure, configure.in, include/regstr.h, programs/Makefile.in, programs/uninstaller/.cvsignore, programs/uninstaller/Makefile.in, programs/uninstaller/README, programs/uninstaller/main.c, programs/uninstaller/main.h, programs/uninstaller/rsrc.rc, programs/uninstaller/uninstaller.spec: Andreas Mohr Added an uninstaller for InstallShield, WISE etc. * windows/x11drv/wnd.c: Jean-Claude Batista Provide position hints for window managers. 2000-07-31 Alexandre Julliard * graphics/x11drv/init.c, include/monitor.h, include/sysmetrics.h, include/ttydrv.h, include/x11drv.h, misc/main.c, windows/multimon.c, windows/sysmetrics.c, windows/ttydrv/init.c, windows/user.c, windows/win.c, windows/x11drv/init.c, windows/x11drv/mouse.c, dlls/ddraw/ddraw/dga.c, dlls/ddraw/ddraw/dga2.c, dlls/ddraw/ddraw/main.c, dlls/ddraw/ddraw/x11.c, dlls/ddraw/direct3d/main.c, dlls/ddraw/direct3d/mesa.c, dlls/dinput/dinput_main.c, dlls/gdi/wing.c, dlls/shell32/brsfolder.c, dlls/shell32/shell32_main.c, dlls/ttydrv/ttydrv_main.c, dlls/x11drv/x11drv_main.c, graphics/painting.c, graphics/ttydrv/dc.c, dlls/ddraw/dga.c, dlls/ddraw/dga2.c, dlls/ddraw/helper.c, dlls/ddraw/main.c, dlls/ddraw/x11.c: Cleaned up some more USER dependencies. * include/wingdi.h, include/winuser.h: Moved system metrics definitions to winuser.h. * debugger/stack.c: Ove Kaaven Tidyed up stack backtrace code a bit, and added a simple special case for backtracing from a null EIP. * files/file.c, server/file.c: Hidenori Takeshima Fix for 64-bit negative seek value. * include/module.h, msdos/int2f.c: Ove Kaaven Removed DOS task fields from the NE_MODULE structure. * loader/task.c: Skip quoted program name when building command line. * scheduler/process.c: Ove Kaaven DOS binary support has been restored. * debugger/Makefile.in, dlls/kernel/Makefile.in, dlls/kernel/toolhelp.c, misc/Makefile.in, misc/toolhelp.c, windows/user.c: Moved toolhelp implementation into kernel32 dll. * include/pe_image.h, loader/pe_resource.c, loader/resource.c: Backed out FindResource language patch. * loader/dos/dosvm.c, msdos/int09.c: Ove Kaaven Fixed a few problems. * dlls/kernel/messages/winerr_enu.mc: Dave Pickles Added text for all messages included in win95 and winNT. * dlls/kernel/format_msg.c: Marcus Meissner Added { } around stuff in ADD_TO_T macros. * include/dosexe.h, loader/dos/module.c: Ove Kaaven Convert DOS (MZ) binary loader to the new DOS process model. * msdos/dpmi.c: Ove Kaaven Use MZ_Current() instead of pModule->lpDosTask. Cleaned up the RMCB32 assembly code a bit, and wrapped it in #ifdef __i386__. 2000-07-30 Alexandre Julliard * if1632/thunk.c, include/callback.h, include/keyboard.h, loader/dos/dosvm.c, misc/main.c, objects/bitmap.c, objects/dib.c, objects/palette.c, windows/keyboard.c: Cleaned up a few USER dependencies. * include/dosexe.h, loader/dos/module.c, msdos/dpmi.c: Ove Kaaven Removed hModule parameter from MZ_AllocDPMITask(), and renamed MZ_KillModule() to MZ_KillTask(). * configure, configure.in: Create dll/kernel/messages directory. * include/miscemu.h, msdos/dosmem.c: Ove Kaaven Made DOSMEM_Init() take a BOOL parameter instead of a HMODULE16, and initialize DOS memory properly in the new process model. Made DOSMEM_MemoryBase() use MZ_Current()->img instead of pModule->dos_image. * loader/task.c: Ove Kaaven Removed usage of obsolete pModule->lpDosTask. 2000-07-29 Alexandre Julliard * include/winbase.h, include/winuser.h, loader/resource.c, memory/atom.c, memory/environ.c, misc/comm.c, misc/lstr.c, objects/gdiobj.c, objects/region.c, objects/text.c, relay32/builtin32.c, relay32/snoop.c, win32/device.c, win32/except.c, debugger/winedbg.c, dlls/crtdll/crtdll.spec, dlls/crtdll/crtdll_main.c, graphics/painting.c, graphics/x11drv/xfont.c, if1632/snoop.c: Removed some unnecessary inclusions of wingdi.h and winuser.h * dlls/ntdll/exception.c, dlls/ntdll/nt.c, dlls/ntdll/ntdll.spec, dlls/ntdll/om.c, dlls/ntdll/reg.c, dlls/ntdll/rtl.c, dlls/ntdll/rtlstr.c, dlls/ntdll/sec.c, dlls/ntdll/sync.c, dlls/ntdll/time.c, include/ntddk.h, loader/module.c: Removed a few external dependencies from ntdll. * dlls/oleaut32/oleaut32.spec, dlls/oleaut32/stubs.c, dlls/oleaut32/typelib.c: Marcus Meissner Added CreateTypeLib,LHashValOfNameSys stubs. Check for correct struct magic before reading out of it. * dlls/comctl32/Makefile.in, dlls/comctl32/comctl32.spec, dlls/comctl32/smoothscroll.c: Marcus Meissner Implemented SmoothScrollWindow. * msdos/dosmem.c: Ove Kaaven Fill BIOS segments using pointers from DOSMEM_Bios* functions, instead of pointers from global heap functions. * dlls/kernel/format_msg.c: Marcus Meissner Get rid of USER32 functions in KERNEL32. * include/dosexe.h, loader/dos/dosvm.c: Ove Kaaven Added support for the Win32 Console interface to the main DOSVM event loop. Cleaned up event dispatching code a bit. * msdos/int21.c: Ove Kaaven Make direct console input routines go through int16, rather than reading directly from the console driver. * programs/notepad/Makefile.in, programs/osversioncheck/Makefile.in, programs/progman/Makefile.in, programs/wcmd/Makefile.in, programs/winhelp/Makefile.in, programs/winver/Makefile.in, libtest/Makefile.in, programs/clock/Makefile.in, programs/control/Makefile.in: Francois Gouget ole32 now requires linking with kernel32 shell32 now requires linking with kernel32 and shlwapi * dlls/winaspi/winaspi16.c, dlls/winsock/socket.c: Uwe Bonnes We always have strerror, so no need to ifdef HAVE_STRERROR. * windows/win.c: Huw D M Davies Initialize hrgnWnd. * configure, configure.in: Lionel Ulmer Fix the GLEXT function prototype typedefs detection. * loader/dos/dosvm.c, msdos/int09.c, msdos/ioports.c, include/miscemu.h: Ove Kaaven Let Int09 routines remember a keystroke's ASCII code, if available. * msdos/int33.c: Ove Kaaven Added some int33 function stubs. * msdos/int10.c: Ove Kaaven Changed a few core int10 routines to use the BIOS data segment cursor positions and the VGA routines, instead of directly accessing the console driver. * dlls/ole32/compobj.c, dlls/ole32/ole32.spec: Marcus Meissner Implemented OleGetAutoConvert. * include/pe_image.h, loader/pe_resource.c, loader/resource.c, misc/main.c, ole/ole2nls.c: Dmitry Timoshkov FindResourceExA/W should search for the specified language resource only. FindResourceA/W should search for any language resource. * include/ts_xlib.h, tsx11/X11_calls, tsx11/ts_xlib.c, dlls/ddraw/dsurface/x11.c: Marcus Meissner No longer crash when running with DirectDraw with a DDClipper in -desktop mode. * windows/nonclient.c: Francois Boisvert NC_DoNCHitTest now returns HTNOWHERE like Windows is doing when clicking on a window having a customize non client area. 2000-07-28 Alexandre Julliard * graphics/x11drv/dib.c, include/x11drv.h: Ove Kaaven Add X11DRV_DIB_UpdateDIBSection2 that takes a HBITMAP parameter. * memory/codepage.c: Wolfgang Schwotzer Added NULL pointer checks. * include/acconfig.h, include/config.h.in, include/ts_shape.h, include/ttydrv.h, include/win.h, include/x11drv.h, tools/make_X11wrappers, tsx11/Makefile.in, tsx11/X11_calls, tsx11/ts_shape.c, windows/ttydrv/init.c, windows/ttydrv/wnd.c, windows/winpos.c, windows/x11drv/init.c, windows/x11drv/wnd.c, configure, configure.in, dlls/x11drv/x11drv_main.c: Francois Jacques - implementation of SetWindowsRgn and GetWindowRgn - X11DRV and TTYDRV updated with new API SetWindowRgn * include/miscemu.h, include/winnt.h, loader/dos/module.c, memory/global.c, msdos/dosmem.c, msdos/dpmi.c, msdos/int21.c, msdos/interrupts.c: Ove Kaaven Removed the hModule parameter from various DOSMEM routines, the DOSMEM routines now always use the current memory space. * include/shlwapi.h: Patrik Stridvall Fixed some warnings. * tools/winapi_check/modules.dat, tools/winapi_check/win32/shlwapi.api: Patrik Stridvall Minor API files update. * tools/wmc/mcy.y: Patrik Stridvall Solaris specific fixes. * windows/x11drv/event.c, windows/defwnd.c: Stephane Lussier Now the service thread is no more in charge of erasing the background of the Window. Service thread is doing the invalidation part, and the application thread is doing the erasing part. All this has been implemented using WM_SYNCPAINT message. * dlls/ole32/ole2stubs.c, dlls/ole32/ole32.spec: Dmitry Timoshkov Added stub for OLE32.OleSetAutoConvert needed by Adobe Photoshop 4.0. * windows/x11drv/event.c: Dmitry Timoshkov Do not crash if window was not found. * windows/dialog.c, windows/painting.c: Stephane Lussier - UpdateWindow should refresh all children that have an update region. - In DIALOG_CreateIndirect UpdateWindow shouldn't be called. Wine will generate a WM_PAINT eventually for the dialog, no need to force a paint right away. (based on a patch from James Hatheway in the Corel tree) * msdos/int21.c, msdos/int2f.c: Ove Kaaven Just get DOS task structure from MZ_Current(), instead of (clumsily) trying to find and read from the current task's module structures. * msdos/dpmi.c: Ove Kaaven Make a global asm helper function to handle 32-bit RMCB calls, so we don't need those complex constraints either. * windows/message.c: Ove Kaaven Always get a hardware message from the system queue in PeekMessage, even if no such wake bits are set, because in a PeekMessage loop, there's no sleeping, so the necessary wake bits are never set... * dlls/oleaut32/olefont.c, include/olectl.h: Huw D M Davies Add Connection Point support to OLE font objects. Add some more TRACE()s. * dlls/*/*.spec: Added 'owner' field to 16-bit spec files to specify the name of the 32-bit dll that contains it. 2000-07-26 Alexandre Julliard * dlls/winmm/Makefile.in, dlls/winmm/sound.spec, dlls/winmm/sound16.c, include/stress.h, include/wine/winesound.h, Make.rules.in, configure, configure.in, dlls/Makefile.in, dlls/kernel/Makefile.in, dlls/kernel/stress.c, dlls/kernel/stress.spec, dlls/setupapi/.cvsignore, dlls/setupapi/Makefile.in, dlls/setupapi/setupx.spec, dlls/setupapi/setupx_main.c: Merged setupx.dll into setupapi.dll. Merged sound.dll into winmm.dll. Merged stress.dll into kernel32.dll. * dlls/dciman32/Makefile.in, dlls/dciman32/dciman_main.c, dlls/dplay/Makefile.in, dlls/dplay/dplay_main.c, dlls/msnet32/Makefile.in, dlls/msnet32/msnet_main.c, dlls/shfolder/Makefile.in, dlls/shfolder/shfolder.spec, dlls/shfolder/shfolder_main.c, dlls/wow32/Makefile.in, dlls/wow32/wow_main.c: Added a few empty source files so that each dll has at least one C file. * dlls/winmm/mciseq/mcimidi.c, dlls/winmm/mciwave/mciwave.c, dlls/winmm/midimap/midimap.c, dlls/winmm/wavemap/wavemap.c, dlls/winmm/wineoss/audio.c, dlls/winmm/wineoss/midi.c, dlls/winmm/wineoss/mixer.c, dlls/winmm/wineoss/mmaux.c, dlls/winmm/wineoss/oss.c, include/driver.h, include/mmsystem.h, include/msacm.h, include/vfw.h, programs/avitools/icinfo.c, windows/driver.c, dlls/comctl32/animate.c, dlls/msacm/driver.c, dlls/msacm/internal.c, dlls/msvideo/drawdib.c, dlls/msvideo/msvideo_main.c, dlls/winmm/joystick.c, dlls/winmm/joystick/joystick.c, dlls/winmm/lolvldrv.c, dlls/winmm/mci.c, dlls/winmm/mcianim/mcianim.c, dlls/winmm/mciavi/mciavi.c, dlls/winmm/mcicda/mcicda.c, dlls/winmm/mmsystem.c, dlls/avifil32/avifile.c: Eric Pouech - removed (now obsolete) driver.h file (it's content is now in mmsystem.h) - upgraded vfw.h content * msdos/dpmi.c: Avoid clobbering %ebx. * loader/ne/module.c: Return the proper error code when a 16-bit task failed to start (thanks to Peter Ganten). * documentation/HOWTO-winelib: Andreas Mohr Adapted to the recent winebuild rename. * loader/module.c: Andreas Mohr Added detection code for very old Windows (1.1, 2.0, ...) binaries to MODULE_GetBinaryType(). * dlls/shell32/shellreg.c, dlls/shell32/shellstring.c, dlls/shlwapi/Makefile.in, dlls/shlwapi/ordinal.c, dlls/shlwapi/path.c, dlls/shlwapi/reg.c, dlls/shlwapi/regstream.c, dlls/shlwapi/shlwapi.spec, dlls/shlwapi/shlwapi_main.c, dlls/shlwapi/string.c, dlls/Makefile.in, dlls/shell32/Makefile.in, dlls/shell32/regstream.c, dlls/shell32/shell32.spec, dlls/shell32/shell32_main.c, dlls/shell32/shellord.c, dlls/shell32/shellpath.c: Moved shlwapi routines from shell32.dll to shlwapi.dll. 2000-07-25 Alexandre Julliard * Make.rules.in, Makefile.in, configure, configure.in, dlls/Makedll.rules.in, server/Makefile.in, server/atom.c, server/registry.c, server/unicode.c, server/unicode.h, tools/wmc/Makefile.in, unicode/.cvsignore, unicode/Makefile.in: Make unicode.o into a separate ELF library so that we can use it from the wineserver too. * files/drive.c, include/cdrom.h, misc/cdrom.c, msdos/int2f.c: Andreas Mohr - fixed a gross bug in SetCurrentDirectoryA (where changing to a new non-existent directory would leave the new drive enabled upon aborting (fixes CuteFTP install and should fix MANY apps) This has probably been caused by myself. *brownpaperbag* - added GetVolumeInformation serial number bug-for-bug compatibility - corrected Unicode labels (better CD-ROM handling in general) - moved CD-ROM label detection code to misc/cdrom.c - possible to use loopback mounted ISO9660 files - init some uninitialised drive fields - remove some unnecessary header includes * windows/winpos.c: Susan Farley Don't destroy the caret on SWP_HIDEWINDOW. * dlls/kernel/.cvsignore, dlls/kernel/Makefile.in, dlls/kernel/format_msg.c, dlls/kernel/kernel.rc, dlls/kernel/kernel32.spec, dlls/kernel/messages/.cvsignore, dlls/kernel/messages/winerr_enu.mc, loader/resource.c, misc/lstr.c: Dave Pickles Improved FormatMessage: - Added full support for FORMAT_MESSAGE_FROM_SYSTEM - Implemented language search as documented - Illegal combinations of options trapped. - Message table for system messages added. * include/winbase.h, include/winuser.h: Moved FORMAT_MESSAGE flags definition to winbase.h. * Make.rules.in: Added rules for message compiler .mc files. * dlls/winsock/socket.c, dlls/wsock32/socket.c, dlls/wsock32/wscontrol.h: James Hatheway Portability fixes. * dlls/rpcrt4/rpcrt4_main.c, dlls/serialui/serialui.spec, misc/comm.c: Patrik Stridvall Fixed issues found by winapi_check. * tools/winapi_check/win32/rasapi32.api, tools/winapi_check/win32/rpcrt4.api, tools/winapi_check/win32/serialui.api, tools/winapi_check/win32/ws2_32.api, tools/winapi_check/modules.dat, tools/winapi_check/win16/setupx.api: Patrik Stridvall Minor API files update. * tools/wrc/CHANGES, tools/wrc/Makefile.in, tools/wrc/README.wrc, tools/wrc/parser.y, tools/wrc/utils.c, tools/wrc/wrc.h, tools/wrc/wrc.man: Bertho Stultiens - Implemented a bug-work-around for Berkeley yacc (byacc) which does not generate proper default transition rules for non-terminals. See comments in parser.y how the fix works. - Changed the error-line/char position to make emacs happy parsing the position of the error. - Added comments in the documentation in which order the line-numer and character-position of the error is written. * msdos/dpmi.c: Ove Kaaven Use lcall opcodes, so all gas-es understand it... * dlls/win32s/Makefile.in, dlls/win32s/w32skrnl.spec, if1632/relay.c, if1632/thunk.c, include/flatthunk.h, misc/Makefile.in, misc/w32scomb.c, relay32/Makefile.in, relay32/utthunk.c, relay32/wowthunk.c, win32/kernel32.c, win32/ordinals.c, dlls/Makefile.in, dlls/kernel/Makefile.in, dlls/kernel/flatthunk.h, dlls/kernel/kernel_main.c, dlls/kernel/thunk.c, dlls/kernel/utthunk.c, dlls/kernel/wowthunk.c, dlls/ole32/Makefile.in, dlls/ole32/ole32.spec: Moved thunking functions off to kernel32.dll. * Make.rules.in, Makefile.in, dlls/Makefile.in, dlls/advapi32/.cvsignore, dlls/advapi32/Makefile.in, dlls/ntdll/sec.c, memory/Makefile.in, memory/registry.c: Temporarily moved advapi32 registry support back into libwine.so, and made advapi32 a separate dll. * debugger/break.c, debugger/debugger.h, debugger/expr.c, debugger/memory.c, debugger/source.c, debugger/stabs.c, debugger/winedbg.c: Eric Pouech fixed a number of long standing bugs: - segmented expressions didn't display correctly - using dynamic size array for nested types parsing - correct display of source code after a crash factorized some code * dlls/gdi/wing.c, dlls/gdi/wing.spec, Make.rules.in, configure, configure.in, dlls/Makefile.in, dlls/gdi/Makefile.in: Merged wing.dll into gdi32.dll. * dlls/comctl32/listview.c: Aric Stewart Prevent the attempt to draw invalid image indexes. Provide the two pixel buffer between the image and the label. * dlls/oleaut32/Makefile.in, dlls/oleaut32/connpt.c, dlls/oleaut32/connpt.h: Huw D M Davies A generic implemention of IConnectionPoint/IEnumConnections. * tools/fnt2bdf.c, tools/fnt2bdf.h, include/wine/wingdi16.h: Dmitry Timoshkov Make fnt2bdf produce correct fonts. * msdos/int16.c: Ove Kaaven Make int16 read from the BIOS keyboard buffer, not directly from the console driver. * msdos/dpmi.c: Ove Kaaven Fixed broken assembler. Removed support for old protected-mode hack for running real-mode code on platforms that don't support vm86; the current CallRM->RMCB shortcut code should take care of all Wine-supplied RM APIs (such as DOSASPI) anyway. * files/directory.c, include/task.h, loader/ne/module.c, loader/task.c: Perform NE_InitProcess in the context of the new task. 2000-07-24 Alexandre Julliard * dlls/msacm/.cvsignore, dlls/msacm/Makefile.in, dlls/msacm/driver.c, dlls/msacm/filter.c, dlls/msacm/format.c, dlls/msacm/internal.c, dlls/msacm/msacm32.spec, dlls/msacm/msacm32_main.c, dlls/msacm/stream.c, dlls/msacm/wineacm.h, Make.rules.in, configure, configure.in, dlls/Makefile.in, dlls/kernel/.cvsignore, dlls/kernel/Makefile.in, dlls/kernel/win87em.c, dlls/kernel/win87em.spec, dlls/kernel/windebug.c, dlls/kernel/windebug.spec: Merged msacm and msacm32 dlls. Merged win87em and windebug into kernel32.dll. 2000-07-23 Alexandre Julliard * programs/progman/group.c, programs/progman/grpfile.c, programs/progman/program.c, programs/regapi/regapi.c, programs/winhelp/hlp2sgml.c, programs/winhelp/winhelp.c: Francois Gouget Fixed int/HANDLE mismatches revealed by -DSTRICT. Replaced the Win16 hmemcpy16 (obsolete) with memcpy. * programs/progman/main.c: Francois Gouget Fixed WinMain's signature. Replaced the Win16 hmemcpy16 (obsolete) with memcpy. Removed obsolete references to the Languages array. * programs/clock/language.c, programs/notepad/language.c, programs/progman/string.c: Francois Gouget Removed obsolete references to the Languages array. * programs/clock/main.c: Francois Gouget Fixed WinMain's signature. Fixed parameter order for the call to CreateWindow. * libtest/hello.c, libtest/hello2.c, libtest/hello3.c, libtest/hello4.c, libtest/hello5.c, libtest/new.c, libtest/rolex.c, libtest/vartest.c, programs/notepad/main.c, programs/winver/winver.c: Francois Gouget Fixed WinMain's signature. * programs/wcmd/Makefile.in, programs/winemine/Makefile.in, programs/winhelp/Makefile.in, programs/winver/Makefile.in, programs/clock/Makefile.in, programs/cmdlgtst/Makefile.in, programs/control/Makefile.in, programs/notepad/Makefile.in, programs/osversioncheck/Makefile.in, programs/progman/Makefile.in, programs/regapi/Makefile.in, programs/regtest/Makefile.in, programs/view/Makefile.in, libtest/Makefile.in: Francois Gouget Added -DSTRICT. Added missing libraries comctl32 and rpcrt4. * dlls/winsock/socket.c, dlls/winsock/ws2_32.spec, dlls/wsock32/socket.c, dlls/wsock32/wscontrol.h: James Hatheway Adds an initial WSAIoctl function with support for only the SIO_GET_INTERFACE_LIST command. Adds initial code to WsControl function to support the WSCNTL_TCPIP_QUERY_INFO command. * dlls/ddraw/d3ddevice/mesa.c, dlls/ddraw/d3dtexture.c: Eric Pouech Compilation fixes for OpenGL. * Make.rules.in: Mike_McCormack@looksmart.com.au Corrected c2man flags. It still crashes anyhow :-/ * configure, configure.in, dlls/ddraw/d3ddevice/mesa.c, include/acconfig.h, include/config.h.in: Lionel Ulmer Detect broken glext.h headers. * programs/notepad/dialog.c, programs/notepad/main.c, programs/notepad/main.h: Mike_McCormack@looksmart.com.au Added some basic text display and editing capabilities, cursor positioning, a bit of scrolling and a text file loader. * include/tapi.h: Mike_McCormack@looksmart.com.au Implemented lineGetCountry. (works with HyperTrm.exe) * dlls/commdlg/cdlg_Ca.rc, dlls/commdlg/cdlg_Cs.rc, dlls/commdlg/cdlg_Da.rc, dlls/commdlg/cdlg_De.rc, dlls/commdlg/cdlg_En.rc, dlls/commdlg/cdlg_Eo.rc, dlls/commdlg/cdlg_Es.rc, dlls/commdlg/cdlg_Fi.rc, dlls/commdlg/cdlg_Fr.rc, dlls/commdlg/cdlg_Hu.rc, dlls/commdlg/cdlg_It.rc, dlls/commdlg/cdlg_Ja.rc, dlls/commdlg/cdlg_Ko.rc, dlls/commdlg/cdlg_Nl.rc, dlls/commdlg/cdlg_No.rc, dlls/commdlg/cdlg_Pl.rc, dlls/commdlg/cdlg_Pt.rc, dlls/commdlg/cdlg_Ru.rc, dlls/commdlg/cdlg_Sk.rc, dlls/commdlg/cdlg_Sv.rc, dlls/commdlg/cdlg_Wa.rc, dlls/commdlg/colordlg.c: Gerard Patel Focus handling, visual changes + misc fixes. * dlls/tapi32/line.c: Mike_McCormack@looksmart.com.au Implemented lineGetCountry. (works with HyperTrm.exe) * include/winbase.h: Francois Gouget Removed duplicate declaration of AddAccessAllowedAce. * dlls/comctl32/listview.c: Aric Stewart Handle the case where the function SetItem is called to select an item or set its focus. * dlls/ddraw/d3dlight.c, dlls/ddraw/mesa_private.h, dlls/dsound/dsound_main.c, include/d3dtypes.h, include/d3dvec.inl: Ove Kaaven Added a few C++ operators to Direct3D structures, and made some unions 'nameless'. * dlls/winsock/async.c: Eric Pouech Insured that all parameters of async functions are copied before returnig from request. * controls/scroll.c, documentation/distributors, documentation/x11drv, tools/wineconf: Ove Kaaven Fix a few typos and such. * include/d3d.h, include/ddraw.h: Ove Kaaven Added some DirectDraw7-related definitions. * configure, configure.in, include/config.h.in: Marcus Meissner Make non-existence of (f)lex an error. * dlls/ddraw/ddraw/dga.c, dlls/ddraw/ddraw/dga2.c, dlls/ddraw/ddraw/main.c, dlls/ddraw/ddraw/x11.c, dlls/ddraw/dpalette/dga.c, dlls/ddraw/dpalette/main.c, dlls/ddraw/dpalette/x11.c, dlls/ddraw/dsurface/dga.c, dlls/ddraw/dsurface/dga2.c, dlls/ddraw/dsurface/x11.c, dlls/ddraw/d3ddevice/mesa.c, dlls/ddraw/ddraw_private.h, dlls/ddraw/dga.c, dlls/ddraw/dga2.c, dlls/ddraw/main.c, dlls/ddraw/x11.c: Marcus Meissner IDirectDraw,IDirectDraw2,IDirectDraw4 fixed up in regard to COM usage. * include/winuser.h: Ove Kaaven Added a few Win32 definitions. * include/winspool.h: Ove Kaaven Reduce scope of "Status" #ifdef hack. * if1632/relay.c, relay32/builtin32.c: Ove Kaaven Say that "No handler" messages as fatal. * winedefault.reg: Fixed SharedDir location. * loader/dos/dosvm.c, msdos/dpmi.c, dlls/ntdll/signal_i386.c, include/winnt.h: Ove Kaaven Change the V86BASE macro to call DOSMEM_MemoryBase() instead of using the ugly Dr7 hack. * dlls/winmm/mmio.c, dlls/winmm/wineoss/audio.c: Eric Pouech Fixed first seek on MEM mmio files. * dlls/commdlg/fontdlg.c: Gerard Patel Remove calls to DIALOG_DoDialogBox and DIALOG_CreateIndirect. * dlls/wininet/http.c: John R. Sheets Add a few more fields to HTTP_GetStdHeaderIndex() and fix some typos. * dlls/wininet/internet.c: John R. Sheets Put the URL parameter list in with the URL path if the ExtraInfo buffer isn't specified. * controls/icontitle.c: Gerard Patel Fixed calculation of buffer length after switch of window text to unicode. * debugger/memory.c: Ove Kaaven Comment out a nonfunctional DOS part of debugger. * dlls/rasapi32/rasapi.c, dlls/rasapi32/rasapi32.spec: Ove Kaaven Added stub for RasHangUpA(). * windows/defwnd.c: Ove Kaaven DefWindowProc should pass unhandled WM_MOUSEWHEEL to parent, according to documentation. * tools/wineinstall: Ove Kaaven Fixed a few problems. * dlls/comctl32/toolbar.c: David Elliott - Changed the temporary buffer for loading resources from 256 to 512 - Define MAX_RESOURCE_STRING_LENGTH instead of using it magically throughout the function - Use lstrcpynW instead of lstrcpyW 2000-07-16 Alexandre Julliard * ANNOUNCE, ChangeLog, include/version.h: Release 20000716. ---------------------------------------------------------------- 2000-07-16 Alexandre Julliard * windows/winproc.c: Added assembly wrapper for calling window procedures. * include/main.h, include/options.h, include/process.h, loader/dos/module.c, loader/main.c, misc/options.c, scheduler/client.c, scheduler/process.c: Get full path of argv[0] before we change directories. Make sure process names are long path names. Cleaned up initialisation a bit. * server/sock.c: Stephane Lussier In set_socket_event, the event should be signaled if there's a pending network event corresponding to the events the application wanted to be notified. * dlls/winspool/info.c, files/file.c, graphics/x11drv/xfont.c, loader/task.c, windows/class.c, dlls/odbc32/proxyodbc.c, dlls/ole32/datacache.c, dlls/oleaut32/olefont.c, dlls/oleaut32/olepicture.c, dlls/richedit/richedit.c, dlls/rpcrt4/rpcrt4_main.c, dlls/serialui/confdlg.c, dlls/wininet/internet.c: Andreas Mohr Spelling fixes. * loader/elfdll.c, loader/ne/module.c, tools/wineinstall, documentation/wine.man.in, include/winuser.h: Andreas Mohr Doc and trace updates. * include/process.h, loader/module.c, scheduler/process.c: Marcus Meissner Transmit current directory settings to newly created processes. * documentation/installation-und-konfiguration.german: Peter Ganten Added German installation and configuration manual. * windows/x11drv/keyboard.c: Raul Fernandes Added Brazilian keyboard. * controls/listbox.c: Gerard Patel Set clipping region to client window before owner-drawn painting. * winedefault.reg: Andreas Mohr Added the "SharedDir" registry key. * include/acconfig.h, include/config.h.in, configure, configure.in, dlls/ddraw/d3d_private.h, dlls/ddraw/d3ddevice/main.c, dlls/ddraw/d3ddevice/mesa.c, dlls/ddraw/d3dmaterial.c, dlls/ddraw/d3dtexture.c, dlls/ddraw/ddraw_private.h, dlls/ddraw/dga.c, dlls/ddraw/direct3d/mesa.c, dlls/ddraw/dsurface/x11.c, dlls/ddraw/mesa.c, dlls/ddraw/mesa_private.h, dlls/ddraw/x11_private.h: Lionel Ulmer - fix Direct3D support and a lot of warnings - add support for DDraw in a window (not optimized yet) - cleans up OpenGL extensions handling for D3D * controls/static.c: Gerard Patel Background of SS_SIMPLE static control is not filled (unless it has SS_NOPREFIX too). * files/directory.c: Marcus Meissner Drop UNIX cwd to / after calculating WINE current directory (to allow CD unmounts). 2000-07-15 Alexandre Julliard * graphics/x11drv/dib.c: Stephane Lussier New version of the patch from Francois Jacques with a modification of my own that makes everybody happy :-) * misc/comm.c, dlls/kernel/kernel32.spec: Mike McCormack Hook serialui dll into existing comm functions. * Make.rules.in, configure, configure.in, dlls/Makefile.in, dlls/serialui/.cvsignore, dlls/serialui/Makefile.in, dlls/serialui/confdlg.c, dlls/serialui/serialui.h, dlls/serialui/serialui.spec, dlls/serialui/serialui_rc.rc: Mike McCormack Implemented serialui dll containing CommConfigDialog, GetDefaultCommConfig and SetDefaultCommConfig. * dlls/shell32/shell.c, dlls/winaspi/aspi.c, dlls/winmm/wineoss/audio.c, dlls/dsound/dsound_main.c: Patrik Stridvall Fixed some warnings. * tools/winapi_check/modules.dat, tools/winapi_check/win32/crtdll.api, tools/winapi_check/win32/kernel32.api, tools/winapi_check/win32/ntdll.api, tools/winapi_check/win32/oleaut32.api, tools/winapi_check/win32/setupapi.api, tools/winapi_check/win32/shlwapi.api, tools/winapi_check/win32/user32.api, tools/winapi_check/win32/ws2_32.api, tools/winapi_check/winapi.pm, tools/winapi_check/winapi_check, tools/winapi_check/winapi_local.pm, tools/winapi_check/winapi_options.pm: Patrik Stridvall - Minor API files fixes. - Minor bug fixes and additions. * dlls/crtdll/crtdll_main.c, dlls/shell32/shellpath.c: Patrik Stridvall Fixed some issues found by winapi_check. * controls/button.c: Dave Hawkes All standard window controls should have CS_PARENTDC, but should still clip to the control window. * windows/message.c: John R . Sheets We also have to validate the frame to avoid an infinite loop when the app doesn't call BeginPaint. * scheduler/handle.c: Andreas Mohr Extend the WSOCK32 warning in certain functions to mention WS2_32 too. * dlls/winmm/wineoss/mixer.c: Ed Snow Fixes unmuting when unmuted. Unifies scale reported with scale used for volume control. Hack for Bass/Treble until better fix is complete. * graphics/x11drv/xfont.c: Hidenori Takeshima Added DBCS/unicode encoding templates. * controls/combo.c: Susan Farley Don't clear selection when initial entry is not in the list. * include/main.h, include/ntddk.h, include/options.h, misc/main.c, misc/options.c, ole/ole2nls.c: Made --language behave the same as setting the LANGUAGE environment variable. * Make.rules.in, configure, configure.in, dlls/Makefile.in, dlls/ole32/Makefile.in, dlls/ole32/compobj.c, dlls/ole32/ole2stubs.c, dlls/ole32/ole32.spec, dlls/rpcrt4/.cvsignore, dlls/rpcrt4/Makefile.in, dlls/rpcrt4/rpcrt4.spec, dlls/rpcrt4/rpcrt4_main.c, include/rpc.h, include/wtypes.h, loader/loadorder.c: Huw D M Davies Create rpcrt4.dll. Implement UuidCreate (using existing code from CoCreateGuid). CoCreateGuid calls UuidCreate. * memory/heap.c: Hidenori Takeshima Fix for supporting DBCS. * dlls/comctl32/toolbar.c: Rob Farnum Ignore iBitmap width when drawing flat toolbar. * loader/pe_image.c: Peter Ganten Fixed a file descriptor leak in the PE loader. * windows/winpos.c: Jean-Claude Batista Ensure the validity of hOldFocus before calling WIN_GetTopParent. * graphics/x11drv/xfont.c: Drew Ronneberg Ignore broken fonts when building cache file. * windows/win.c: Gerard Patel Allow SetWindowLong(... GWL_STYLE) to change visible bit. * documentation/registry: Ove Kaaven D Text of WWN article "The Registry". * dlls/winaspi/aspi.c, dlls/winaspi/winaspi32.c, dlls/winaspi/winescsi.h: David Elliott - New function in aspi.c SCSI_Fix_CMD_LEN which determines if Linux is guessing the command length correctly, and if not, tell's it what's up. - Changed strcat to strcpy in SendASPI32Command to avoid requiring the caller to clear the fields. - Added a new field to HA_Unique content to fix some applications. Will fix this for good at a later date. - Added TRACE to GetASPI32DLLVersion (and FIXME when not running under Linux) - Added some constants to winescsi.h (with the help of Bernd Bernie Meyer ) * dlls/user/user32.spec, windows/user.c: Peter Ganten Stubs for CreateDesktopA and EnumDesktopWindows. * loader/loadorder.c: Andreas Mohr Added ws2_32 loadorder. * tools/winebuild/main.c: Peter Ganten Try to unlink output file before opening it. * controls/edit.c: Marcus Meissner Replaced %s by %p in EDIT_WM_SetText. * dlls/winsock/ws2_32.spec: Andreas Mohr Added WSAWaitForMultipleEvents (alias to WaitForMultipleObjectsEx). * loader/pe_image.c: Gerard Patel Add a warning when the normal load address for a win32 program is not available. * dlls/oleaut32/Makefile.in, dlls/oleaut32/olepicture.c, dlls/oleaut32/stubs.c: Huw D M Davies OLE picture object implementation. * misc/comm.c: Gerald Pfeifer Fixed an incorrect format string. * loader/loadorder.c: Andreas Mohr Added loadorder entry for the Linux glide3x library. * winedefault.reg: Uwe Bonnes Added "CommonFilesDir"="C:\Program Files\Common Files". * debugger/db_disasm.c: Ian Schmidt Added Pentium Pro/2/3/4 conditional move instructions. 2000-07-11 Alexandre Julliard * dlls/kernel/kernel_main.c, memory/codepage.c: Set ansi/oem/mac code pages from current locale. * scheduler/client.c: Andreas Mohr Better error message for really clueless newbies. * dlls/msacm32/msacm32_main.c: James Hatheway Stub for the ACM_METRIC_MAX_SIZE_FORMAT command of acmMetrics. * dlls/ddraw/dsurface/main.c: Marcus Meissner Check for NULL flipchain and just return the current surface if it happens. * dlls/crtdll/crtdll.spec, dlls/crtdll/crtdll_main.c: Marcus Meissner Implemented _vsnprintf by calling wvsnprintfA. * objects/dib.c: Stephane Lussier In CreateDIBSection function, if hdc is NULL it now uses the desktop DC instead of failing. * dlls/comctl32/toolbar.c: Chris Morgan Fixed TOOLBAR_DrawString() to offset button text if infoPtr->himlDef is non-zero. Better fix than my previous patch. 2000-07-10 Alexandre Julliard * scheduler/thread.c: Lazy initialisation of thread locale. * dlls/dplayx/Makefile.in, dlls/dplayx/dplay.c, dlls/dplayx/dplayx_global.c, dlls/dplayx/dplayx_global.h, dlls/dplayx/dplayx_main.c, dlls/dplayx/dplayx_messages.c, dlls/dplayx/dplayx_messages.h, dlls/dplayx/dplayx_queue.h, dlls/dplayx/dplobby.c, documentation/status/directplay, include/dplobby.h: Peter Hunnisett - Make ref counting a little more efficient - Correct suspended process resumption - Don't use sys/queue.h anymore - Properly initialize the global semaphore across processes - Create a mapped file for shared data structures - Change some trace messages - Allocate dynamic shared data from the mapped file - Rework setting and retrieving lobby settings from shared memory - Add infrastructure for syncronization after app launch - Small documentation update - Include some stuff missing from header - Start on dp and dpl message infrastructure - Unicode versions of player/group commands added - Combined Connect/ConnectEx and Open/SecureOpen - More implementation * dlls/kernel/nls/*, dlls/kernel/.cvsignore, dlls/kernel/Makefile.in, dlls/kernel/kernel32.spec, dlls/kernel/locale_rc.rc: Dmitry Timoshkov Moved all NLS dependent data to the KERNEL resources. * scheduler/thread.c: Juergen Schmied Moved setting the locale value to the right position. * misc/lstr.c: Eric Pouech Fixed FormatMessage[A|16] against some buffer overflow cases. * debugger/info.c: Eric Pouech Removed extraneous trace message. * debugger/winedbg.c: Eric Pouech Unconditionnally print messages on DLL load breakpoint. * debugger/break.c: Andreas Mohr Fixed winedbg watchpoints. * dlls/oleaut32/ole2disp.c: Francois Jacques Prevent SysAllocString and SysAllocString16 to perform any processing on NULL strings. * tools/fnt2bdf.c: Stas Sergeev Make it possible to change the encoding of fonts from the command line, even if autodetected. * windows/spy.c, windows/ttydrv/wnd.c, windows/win.c, windows/x11drv/wnd.c, controls/button.c, controls/icontitle.c, controls/static.c, include/mdi.h, include/ttydrv.h, include/win.h, include/x11drv.h, windows/defwnd.c, windows/dialog.c, windows/mdi.c, wine.ini: Dmitry Timoshkov Convert WND.text field to Unicode. Add new key to wine.ini in the section [x11drv] - TextCP, which means code page used for texts passed to X. Accordingly fix handlers of WM_SETTEXT/WM_GETTEXT. * graphics/x11drv/dib.c: Backed out previous patch. * dlls/user/user32.spec, include/winuser.h, windows/user.c: Marcus Meissner Stub for RegisterDeviceNotificationA. * dlls/winsock/socket.c: Gerard Patel Fakes a negotiation of the winsock version. * dlls/oleaut32/typelib.c: Juergen Schmied - better loading of *.tlb files - seperated code for loading tlb resource into memory from code for parsing the tlb resource. * dlls/ole32/ole2stubs.c: Juergen Schmied Implemented OleCreate. 2000-07-09 Alexandre Julliard * windows/class.c: Noomen Hamza GetClassInfo should return global classes even if the hInstance parameter is different from the one passed to the RegisterClass function. * misc/comm.c: Stefan Leichter Fixes the BuildCommDCBA function. * configure, configure.in, include/config.h.in, misc/port.c: Hidenori Takeshima Added configure check for libutil.h. * controls/listbox.c: Gerard Patel Make the focus follow the last selected item for multiselect listboxes. * dlls/oleaut32/oleaut32.spec, dlls/oleaut32/typelib.c: Huw D M Davies Stub implementation of LHashValOfNameSysA. Don't crash if we encounter a BSTR with length <= 0. Fix typos in ITypeLib::GetDocumentation. * dlls/shell32/shell.c: Dave Hawkes With some apps a fault was possible in ExtractAssociatedIcon. * windows/cursoricon.c: Dave Hawkes GetIconInfo did no correctly identify icons from cursors. * windows/msgbox.c: Haithem Hmida Under Windows 95/98/NT, message boxes do not have a default icon. * misc/registry.c: Fixed lstrcpynAtoW usage (reported by Stas Sergeev). Small cleanups. * dlls/wsock32/.cvsignore, dlls/wsock32/Makefile.in, dlls/wsock32/socket.c, dlls/wsock32/wsock32.spec, dlls/dplay/.cvsignore, dlls/dplay/Makefile.in, dlls/dplay/dplay.spec, dlls/dplayx/Makefile.in, dlls/dplayx/dplay.spec, dlls/kernel/.cvsignore, dlls/kernel/Makefile.in, dlls/kernel/wow32.spec, dlls/shell32/Makefile.in, dlls/shell32/shell32_main.c, dlls/shell32/shell32_main.h, dlls/shell32/shellord.c, dlls/shell32/shfolder.spec, dlls/shell32/shlwapi.spec, dlls/shfolder/.cvsignore, dlls/shfolder/Makefile.in, dlls/shfolder/shfolder.spec, dlls/shlwapi/.cvsignore, dlls/shlwapi/Makefile.in, dlls/shlwapi/ordinal.c, dlls/shlwapi/shlwapi.spec, dlls/shlwapi/shlwapi_main.c, dlls/winsock/.cvsignore, dlls/winsock/Makefile.in, dlls/winsock/socket.c, dlls/winsock/ws2_32.spec, dlls/winsock/wsock32.spec, dlls/wow32/.cvsignore, dlls/wow32/Makefile.in, dlls/wow32/wow32.spec, Make.rules.in, configure, configure.in, dlls/Makefile.in: Created separate libraries for dplay, shfolder, shlwapi, wow32 and wsock32 so that we have at most one Win32 dll in each .so library. 2000-07-08 Alexandre Julliard * graphics/x11drv/dib.c: Francois Jacques Updated X11DRV_DIB_GetDIBits to properly handle bottom-up DIBs manipulation. Corrected XGetSubImage arguments order. * include/commctrl.h, include/winbase.h, include/wingdi.h, include/winuser.h: Matthew Lake Added some missing definitions. * dlls/oleaut32/oleaut32.spec, dlls/oleaut32/safearray.c, include/wine/obj_oleaut.h: Francois Jacques Implemented SafeArrayGetVarType. Added a VT_RECORD variant type definition. * dlls/kernel/kernel32.spec, misc/comm.c: Stefan Leichter Started implementation of the functions GetDefaultCommConfigA/W. * dlls/ddraw/convert.c: Marcus Meissner Corrected 24->32 conversion. Still only correct for little endian. * windows/winpos.c: Susan Farley Check for WS_DISABLED parent in WindowFromPoint for un-managed windows. * loader/module.c: Andreas Mohr Rename MODULE_InitDll to MODULE_InitDLL for the sake of consistency. * dlls/comctl32/toolbar.c: Chris Morgan Fixed TOOLBAR_DrawString() to offset button text if the himl parameter is non-zero or the default himl, himlDef, is non-zero. Fixes a bug in WinZip 8.0 where text is not shifted down by the height of the button image. * windows/dialog.c: Slava Monich Check the value returned by DIALOG_GetCharSize. * Make.rules.in, configure, configure.in, dlls/Makefile.in, dlls/setupapi/.cvsignore, dlls/setupapi/Makefile.in, dlls/setupapi/setupapi.spec, dlls/setupapi/stubs.c, include/debugdefs.h: Francois Jacques Added setupapi shared library and SetupIterateCabinet stub. * dlls/msvideo/.cvsignore, dlls/msvideo/Makefile.in, dlls/msvideo/drawdib.c, dlls/msvideo/msvfw32.spec, dlls/msvideo/msvideo.spec, dlls/msvideo/msvideo_main.c, include/vfw.h, tools/winapi_check/win16/msvideo.api, tools/winapi_check/win32/msvfw32.api, windows/driver.c: Bradley Baetz Implemented a large number of the msvideo dll routines. * dlls/comctl32/imagelist.c, dlls/comctl32/toolbar.c: Gerard Patel Allow the size of bitmaps to be changed after toolbar buttons have been added. * dlls/comctl32/propsheet.c: Slava Monich On Windows property sheet has DWL_USER dword pointing to a structure that starts with HWND and PROPSHEETHEADER fields. * dlls/kernel/kernel32.spec, include/winbase.h, scheduler/thread.c: Slava Monich Implementation of Get/SetThreadPriorityBoost. * documentation/psdriver: Stefan Leichter Added documentation on how to setup wine's Buildin Postscript Driver working with ghostscript (afmfiles, ppdfile). * debugger/debugger.h, debugger/expr.c, debugger/types.c: Peter Hunnisett - Explicit init of rtn.cookie in DEBUG_EvalExpr to bad value to expose further bad code - Print of pointer used as array now works * dlls/comctl32/listview.c: James Hatheway Only use the column headers to calculate the width of a LDS_REPORT-type listbox if it actually has column headers. (ie. LVS_NOCOLUMNHEADER bit is not set.) * windows/winpos.c: Slava Monich BeginDeferWindowPos should allow zero count. * dlls/shell32/shell32.spec, dlls/shell32/shell32_main.c: Andreas Mohr Added semi-stub. * dlls/winmm/mci.c: Bradley Baetz Handle mciSendString("open ",...) * tools/wrc/CHANGES, tools/wrc/README.wrc, tools/wrc/genres.c, tools/wrc/parser.l, tools/wrc/parser.y, tools/wrc/ppl.l, tools/wrc/wrc.c, tools/wrc/wrc.h, tools/wrc/wrc.man: Bertho Stultiens - Bugfix: Macro expansion of strings would assert an internal error or a segfault due to a lacking '\0' in the expansion. - Bugfix: Prevent buffer overflow in reallocation of macro expansion buffers. - Bugfix: Wrc's version information was not passed as numerical to the preprocessor due to an error in the definition of the macro. - Relaxed the newline constraint in global LANGUAGE statements, which was introduced in version 1.1.3, so that some fancy preprocessor constructs can work. - Removed the gcc-style #line handling from the resource-parser to the resource-scanner so that it is possible to include files at any stage of the source, independent of the parser-state. - Bugfix: Stringtables were not correctly searched for duplicates because the language comparison disregarded the sublanguage. - Eliminated a repetitive warning when writing stringtables with zero length string entries. These are perfectly valid (but make no sense:-). Warnings are now only generated during parse in pedantic mode. * dlls/oleaut32/ole2disp.c: Huw D M Davies Fix SysStringByteLen to really return the length in bytes. * dlls/comctl32/rsrc.rc: Slava Monich Changed the size of property sheet template to be the same as the original one (was 292x159, now 220x140). * dlls/ole32/compobj.c, dlls/ole32/oleobj.c: Huw D M Davies Implement IDataAdviseHolder. * dlls/oleaut32/typelib.c: Huw D M Davies Fix typo in ITypeLib::IsName. * dlls/ole32/hglobalstream.c: Huw D M Davies CreateStreamOnHGlobal should alloc a shared memory block if supplied handle is 0. * dlls/commdlg/filedlg95.c: Dmitry Timoshkov Do not crash if there was no files selected and OK button was pressed. * dlls/dsound/dsound_main.c: Ove Kaaven Fix a couple of problems with underruns and stopping/restarting. * misc/main.c: Joerg Mayer Fixed the debugmsg help. * dlls/winaspi/aspi.c, dlls/winaspi/winescsi.h: David Elliott Map each channel on every host to an ASPI controller number. Store map in HKEY_DYN_DATA. * dlls/comctl32/comctl32undoc.c: Andreas Mohr DSA_InsertItem returns nIndex, not nItemCount. * dlls/comctl32/monthcal.c: Chris Morgan Fixed background redrawing when control is covered. Fixed a really dumb mistake I made with border drawing many patches ago. Fixed offset by 1 alignment issues. * dlls/ddraw/dsurface/main.c: Marcus Meissner Removed another bad assert and two no longer needed ones. 2000-06-25 Alexandre Julliard * win32/except.c: Eric Pouech Fixed bad exception handler chain termination. * windows/x11drv/wnd.c, windows/win.c: Lawson Whitney Moved zero-sized window hack to x11drv. * dlls/ntdll/nt.c: Marcus Meissner Return "no debugger attached" in NtQueryInformationProcess to satisfy some copy protection mechanisms. * dlls/commdlg/colordlg.c: Eric Pouech Fixed crash when lpTemplateName is gotten from MAKEINTRESOURCE. * dlls/ddraw/dsurface/main.c: Marcus Meissner Fixed two asserts in Blt(). * dlls/ddraw/helper.c: Gerald Pfeifer Properly cast arguments to printf to match the intended output. * dlls/winmm/mmio.c, dlls/winmm/winemm.h, include/mmsystem.h: Eric Pouech Several fixes spotted by Corel (Jean-Claude Batista & Sean Langley). Seeking from SEEK_END was wrong. Seeking on empty buffer was wrong. Some installed ioProcs had uninitialized fields. A few more bits for rename functions. * debugger/dbg.y, debugger/intvar.h, debugger/winedbg.c, documentation/winedbg: Eric Pouech Added BreakOnDllLoad internal var, cleaned up register validation on exception. * dlls/comctl32/toolbar.c: Mike McCormack Add workarounds for null strings in TOOLBAR_InsertButtonA and calling TOOLBAR_SetButtonSize after button added to the toolbar (latter for WINZIP32.EXE) * controls/combo.c: Gerard Patel Set the minimum dropped height to the combo list height if any in CBDropDown. * files/dos_fs.c: Dave Hawkes If whitespace or dots are appended to the end of any component in a path then it should be ignored. 2000-06-24 Alexandre Julliard * loader/module.c, scheduler/process.c, include/process.h: Make sure the cmdline passed to CreateProcessA is writeable (thanks to Peter Ganten ). * dlls/winmm/wineoss/audio.c, dlls/winmm/wineoss/midi.c, dlls/winmm/wineoss/oss.c, dlls/winmm/wineoss/oss.h: Eric Pouech Cleaned up loading/init code in OSS. Cleaned up getDevCaps in midi part. Implemented asynchronous waveIn recording using a thread. * dlls/kernel/kernel32.spec, win32/console.c: Eric Pouech A few missing console stubs. * dlls/comctl32/animate.c: Eric Pouech Fixed animation loading for RLE encoding. * dlls/oleaut32/typelib.h, include/wine/obj_oleaut.h, dlls/oleaut32/oleaut32.spec, dlls/oleaut32/typelib.c: Juergen Schmied - removed hack to find the right resource - updated to use the ICOM macros - cleaned up use typelib and typelib2 (was mixed up) * dlls/commdlg/cdlg.h, dlls/commdlg/cdlg32.c, dlls/commdlg/cdlg_En.rc, dlls/commdlg/cdlg_xx.rc, dlls/commdlg/filedlg95.c, dlls/commdlg/filedlgbrowser.h: Juergen Schmied - fixed reported bugs - fixed default extensions - implemented "browse to desktop" button * memory/environ.c, tools/winebuild/spec32.c, include/winbase.h: Hidenori Takeshima GetCommandLine should return non-const strings. * dlls/kernel/kernel.spec: Andreas Mohr CallProcEx32W should be named _CallProcEx32W. * files/change.c: Andreas Mohr Added some stuff saying that this is NOT supported. * relay32/snoop.c: Juergen Schmied Avoid calling the exception handler in some cases. * dlls/shell32/classes.c, dlls/shell32/shellpath.c, dlls/shell32/shlwapi.spec, include/shlwapi.h, include/wine/obj_shellview.h, include/wine/undocshell.h: Juergen Schmied - many new Path* stubs - many bugfixes - class functions expanding environments variables now * dlls/winmm/lolvldrv.c, dlls/winmm/mmsystem.c, dlls/winmm/wineoss/audio.c: Ove Kaaven Implemented the DirectSound HAL in winmm's wineoss (Open Sound System) driver, and winmm's interface for DirectSound to access it. It requires the ability to mmap /dev/dsp, to trigger playback, and sample-accurate position readouts. (If the soundcard's device driver does not report these capabilities, wineoss will report the HAL as unavailable and force DirectSound to use its HEL instead.) * include/mmsystem.h, dlls/dsound/dsound_main.c: Ove Kaaven Implemented the DirectSound HAL mode for DMA primary buffers, with a 10ms latency (not noticeable), and about 300ms of prebuffering. Fixed a few bugs. Added a Wine-only WINMM flag for waveOutOpen for DirectSound to use (so drivers like wineoss have some way of knowing what to prepare itself for). * dlls/user/user.spec, include/wine/winuser16.h, windows/cursoricon.c, windows/sysparams.c: Andreas Mohr Implemented/stubbed IconSize() and ControlPanelInfo() needed for Win 2.0 control.exe and paint.exe. * include/winuser.h: Hidenori Takeshima Added IDI_WINLOGO. * debugger/winedbg.c: Eric Pouech Don't block endlessly after last debugged process has exited. * memory/string.c: Eric Pouech Added (back) correct behavior for NULL ptrs in CharToOem funcs. * memory/global.c: Eric Pouech Fixed some OOM conditions in GlobalAlloc. * dlls/ntdll/misc.c: Gerald Pfeifer Added missing #include . * include/winresrc.h: Removed MIME garbage. * dlls/ddraw/ddraw/x11.c: Marcus Meissner Create xlib ddsurfaces with correct reference counts. * dlls/gdi/Makefile.in, dlls/gdi/bidi16.c, dlls/user/Makefile.in, dlls/user/bidi16.c, dlls/user/network.c, misc/Makefile.in, misc/bidi16.c, misc/network.c: Split bidi16.c and network.c out of misc/ into their respective dlls. 2000-06-23 Alexandre Julliard * tools/.cvsignore, tools/Makefile.in, tools/build-spec.txt, tools/build.c, tools/winebuild/.cvsignore, tools/winebuild/Makefile.in, tools/winebuild/README, tools/winebuild/build.h, tools/winebuild/main.c, tools/winebuild/parser.c, tools/winebuild/relay.c, tools/winebuild/spec16.c, tools/winebuild/spec32.c, tools/winebuild/utils.c, Make.rules.in, configure, configure.in, if1632/.cvsignore, if1632/Makefile.in, relay32/.cvsignore, relay32/Makefile.in: Split the build program in several files. Renamed it 'winebuild' to avoid possible conflicts. Cleaned up command-line parsing. Make it understand -fPIC instead of -pic. Merged call16.s and call32.s generated files. * dlls/gdi/gdi.spec, dlls/kernel/kernel.spec, dlls/kernel/system.spec, dlls/sound/sound.spec, dlls/user/user.spec: Andreas Mohr Added more ordinals to KERNEL, GDI, USER and system drivers (Windows 1.1, 2.0). * dlls/ddraw/ddraw/dga.c: Peter Ganten _common_depth_to_pixelformat() returns -1 and not zero, if a mode is supported. * dlls/comctl32/toolbar.c: Dave Hawkes Avoid gratuitously changing the ZORDER. * dlls/ddraw/ddraw/x11.c, dlls/ddraw/ddraw_private.h, dlls/ddraw/dsurface/x11.c: Marcus Meissner Use correct bpp for the X side of the surface XImages. Cleaned up Xlib_Surface_Release so it is a bit more readable. use VirtualAlloc for conversion-programside buffer to simplify handling. * loader/resource.c: Dave Hawkes GlobalFree16 returns NULL on success, but DestroyAcceleratorTable should return TRUE on success. * dlls/ddraw/dsurface/main.c, dlls/ddraw/helper.c, dlls/ddraw/x11.c: Marcus Meissner Dump FourCC correctly, print conversion messages, add reference to ddraw in DDSurface::GetDDInterface. * dlls/x11drv/x11drv_main.c: Marcus Meissner Restrict nTimeout to 0-32767, since it is a 16bit value in X. * dlls/ntdll/signal_i386.c: Dave Hawkes Exception handling for SIGFPE must always clear the FPU interrupt status. * dlls/commdlg/filedlg95.c, dlls/crtdll/.cvsignore, dlls/crtdll/Makefile.in, dlls/crtdll/crtdll.spec, dlls/crtdll/crtdll_main.c, dlls/crtdll/mbstring.c, dlls/crtdll/wcstring.c, dlls/ntdll/Makefile.in, dlls/ntdll/misc.c, dlls/ntdll/ntdll.spec, dlls/ntdll/rtlstr.c, dlls/ntdll/string.c, dlls/ntdll/wcstring.c, include/crtdll.h, Make.rules.in, Makefile.in, dlls/Makefile.in: Moved shared crtdll/ntdll functions into ntdll. Made crtdll a separate dll. * dlls/olecli/olecli_main.c, dlls/shell32/classes.c, dlls/shell32/folders.c, dlls/shell32/pidl.c, dlls/shell32/shellole.c, dlls/shell32/shellord.c, include/wine/obj_base.h, misc/lstr.c, dlls/ole32/compobj.c, dlls/ole32/datacache.c, dlls/ole32/ole2.c, dlls/oleaut32/typelib.c: Cleaned up a few inter-dll dependencies. * dlls/shell32/shellpath.c, dlls/winsock/socket.c: Patrik Stridvall Fixed some issues found by winapi_check. * dlls/ddraw/d3ddevice/main.c, dlls/wininet/http.c, dlls/wininet/internet.c: Patrik Stridvall Fixed some warnings. * tools/winapi_check/win32/ole32.api, tools/winapi_check/win32/oleaut32.api, tools/winapi_check/win32/olecli32.api, tools/winapi_check/win32/opengl32.api, tools/winapi_check/win32/shlwapi.api, tools/winapi_check/win32/user32.api, tools/winapi_check/win32/wininet.api, tools/winapi_check/win32/ws2_32.api, tools/winapi_check/modules.dat, tools/winapi_check/win32/crtdll.api, tools/winapi_check/win32/kernel32.api, tools/winapi_check/win32/msvfw32.api, tools/winapi_check/winapi_local.pm: Patrik Stridvall - Minor API files fixes. - Minor bug fixes and additions. * include/dsdriver.h, dlls/dsound/Makefile.in, dlls/dsound/dsound.spec, dlls/dsound/dsound_main.c: Ove Kaaven Restructure DirectSound. Remove dsound thread, use MM timers instead. Implemented the DirectSound HEL, with the ability to prebuffer 300ms of sound, while maintaining play latency of 40ms, and the exact playposition (Starcraft cinematics are lip-synched). Some initial HAL support. * relay32/builtin32.c: Andreas Mohr Replaced the BUILTIN32_dlopen() ERR() by a WARN(). * include/winresrc.h: Hidenori Takeshima Added include/winresrc.h for porting with winelib. * dlls/winspool/info.c, dlls/winspool/winspool.drv.spec: Francois Gouget Merged DeviceCapabilities and DeviceCapabilitiesA. * dlls/msvideo/msvfw32.spec, dlls/msvideo/msvideo_main.c, include/vfw.h: Francois Gouget Merged MCIWndCreate and MCIWndCreateA. * dlls/ole32/compobj.c: Huw D M Davies CLSIDFromString apparently also accepts ProgIDs as an input string. * include/winuser.h: Hidenori Takeshima Added SC_ICON/SC_ZOOM (obsolete macros). * include/wininet.h: Marcus Meissner Added prototypes for new InternetCheckConnection*. 2000-06-20 Alexandre Julliard * dlls/olecli/olecli32.spec, dlls/olecli/olecli_main.c, dlls/olesvr/olesvr_main.c, dlls/oleaut32/oleaut32.spec: Cleaned up a few inter-dll dependencies. * tools/wmc/Makefile.in, tools/wrc/Makefile.in: Alexander V. Lukyanov Fixed problems with compilation/install out of source tree. * include/winerror.h, dlls/ole32/compobj.c, dlls/ole32/storage32.c: Noomen Hamza OleConvertOLESTREAMToIStorage fails (returns REGDB_E_CLASSNOTREG) when the CLSID of the OLE object is not found in the registry. Fixed. * files/profile.c: Uwe Bonnes Make WritePrivateProfileSectionA care for "" and NULL as the string argument. New function PROFILE_DeleteAllKeys. * dlls/winmm/wineoss/midi.c: Gerald Pfeifer Fixed format strings. * programs/winhelp/hlpfile.c, programs/winhelp/macro.c, programs/winhelp/macro.lex.l, programs/winhelp/winhelp.c: Rein Klazes Fix a crash in winhelp caused by hmemcpy16 without prototype. Fix some compiler warnings. * dlls/*/Makefile.in: For dlls, derive SPEC_SRCS from MODULE and ALTNAMES. * dlls/winmm/wineoss/audio.c: Ove Kaaven Fixed WHDR_DONE race condition. * dlls/shell32/shellstring.c, dlls/shell32/shlwapi.spec: Huw D M Davies Implemented StrCatBuff. * include/shlobj.h: Hidenori Takeshima Added typedef of DROPFILES. * include/winerror.h: Hidenori Takeshima Added ResultFromScode/GetScode (obsolete macros). * graphics/painting.c: Dave Hawkes MoveToEx: return TRUE even if there is no driver implementation. * dlls/comctl32/status.c: Gerard Patel Protect against programs creating parts with negative width. 2000-06-18 Alexandre Julliard * loader/resource.c, msdos/int21.c: Dmitry Timoshkov Use GetSystemDefaultLangID() instead of WINE_LanguageId. * documentation/winedbg, debugger/break.c, debugger/dbg.y, debugger/debug.l, debugger/debugger.h, debugger/intvar.h, debugger/memory.c, debugger/module.c, debugger/registers.c, debugger/stack.c, debugger/types.c, debugger/winedbg.c: Eric Pouech - cleaned-up break handling - better integration of debugger inner loops (parser & events) - added attach command - improved parser so that it can be entered without any process loaded - added BreakOnFirstChance internal variable - disabled NE module symbol module (which is broken with ASS) - misc portability cleanups * dlls/oleaut32/safearray.c, include/wine/obj_oleaut.h: Stephane Lussier - Fixed a memory corruption in safe arrays when using SafeArrayCopy() function with a SafeArray created with FADF_FIXEDSIZE. - Added more FADF flags in the .h file. - FADF flags were defined twice, corrected the situation. * graphics/x11drv/text.c: Dmitry Timoshkov Do not assume that double byte font == unicode font. * dlls/msvideo/msvideo_main.c, include/ddeml.h, include/vfw.h, include/winbase.h, include/winuser.h, tools/winapi_check/win32/msvfw32.api, tools/winapi_check/win32/user32.api, windows/user.c: Francois Gouget Added some missing prototypes. Define the HDRAWDIB handle type. * include/windowsx.h: Francois Gouget hmemcpy16 is a Win16 API, the macro is hmemcpy. * dlls/Makefile.in, dlls/winsock/Makefile.in, dlls/winsock/socket.c, dlls/winsock/ws2_32.spec, include/winsock2.h: James Hatheway Created an initial Winsock 2 (ws2_32) DLL. Makes use of the Winsock 1 functions already implemented. * dlls/winmm/mciseq/mcimidi.c: Eric Pouech Fixed port status query. * include/dsdriver.h: Ove Kaaven Added DirectSound device driver header file. * loader/pe_image.c: Ove Kaaven Make the base relocation message a WARN, not a FIXME. * tools/Makefile.in: Gerald Pfeifer Distinguish between SUBDIRS and INSTALLSUBDIRS. * controls/combo.c: Gerard Patel CB_SETCURSEL should not generate another listbox event after updating the edit box. * dlls/comctl32/treeview.c: Noomen Hamza WM_PAINT should be processed only by the TREEVIEW_Paint function, so we don't need to call DefWindowProcA function within TREEVIEW_Paint. * windows/class.c: James Hatheway We must return the atom of the class in GetClassInfoEx instead of just TRUE. * dlls/ole32/compobj.c, dlls/ole32/ole32.spec: James Hatheway Added a stub for CoCreateFreeThreadedMarshaler(). * memory/string.c: Dmitry Timoshkov Reimplement CharToOemA/W, CharToOemBuffA/W, OemToCharA/W, OemToCharBuffA/W using MultiByteToWideChar/WideCharToMultiByte. * controls/menu.c: Francois Jacques GetSystemMenu called with bRevert argument set to TRUE now returns NULL as specified in Platform SDK. * graphics/x11drv/dib.c: Stephane Lussier Fixed memory access outside of the range for source bits in 24-bit bitmaps. 2000-06-16 Alexandre Julliard * dlls/ole32/ole32.spec: Francois Jacques Make IIDFromString point to CLSIDFromString. * dlls/commdlg/cdlg.h, dlls/commdlg/cdlg32.c, dlls/commdlg/filedlg95.c, dlls/commdlg/filedlgbrowser.c: Juergen Schmied - better error check when importing functions via GetProcAdress - replaced SHGetSpecialFolderPath (not aviable in all shell32 versions) - changed call order when browsing to different folder (crash with native shell) - removed Move call since IShellview_CreateViewWindow creates it already in the right rect * dlls/shell32/shlwapi.spec, dlls/shell32/pidl.c, dlls/shell32/shell32_main.c, dlls/shell32/shell32_main.h, dlls/shell32/shellord.c: Juergen Schmied - fixed null-pidl from _ILCreateControl - some more no-name functions in shlwapi * dlls/shell32/systray.c: Francois Jacques Keep an internal copy of the icon. * include/objbase.h: Francois Gouget Reorder the __attribute__ directive in the legacy macros for compatibility with old g++ compilers. * graphics/x11drv/dib.c: Ken Coleman Fixes to CreateDIBSection and other areas where biSizeImage is incorrectly assumed to be correct if it non-zero. This fixes a crashing problem in Sid Meier's Alpha Centauri. ---------------------------------------------------------------- 2000-06-15 Alexandre Julliard * windows/mdi.c, include/mdi.h, resources/sysres_En.rc, resources/user32.rc: David Lassonde Implemented the More Windows... menu item for MDI. * windows/dialog.c: Sheri Steeves Check again for GetNextDlgTabItem after return from WM_INITDIALOG message in dialog creation. * controls/listbox.c: Gerard Patel Set clipping region to client window in LISTBOX_Paint. * server/main.c: Andreas Mohr More verbose error message. * unicode/mbtowc.c: Uwe Bonnes cp_mbstowcs: check functions return zero on success. * files/dos_fs.c: Uwe Bonnes GetFullPathName: get "drive" value too for absolute paths. * misc/printdrv.c: Frederic Boulanger CreateSpoolFile is called with a dos name, we have to make sure that when we create the spoolfile we use the unix name associated to the dos file name. * include/winbase.h, misc/comm.c: Mike McCormack - add prototypes for serial API functions - correct existing serial API prototypes incorrectly using DWORD instead of HANDLE - define more structures and values in serial API * windows/dce.c: Noomen Hamza Added a NULL pointer check within DCE_AddClipRects function. * loader/resource.c: Dmitry Timoshkov Optimized implementation of LoadStringA. * documentation/x11drv: Ove Kaaven Text of WWN article "The X11 driver". * documentation/HOWTO-winelib: Wilbur N. Dale WineLib does not support Win16. Removed references to Win16 and Win 3.x in the introduction. Standardized capitalization of Wine and WineLib. Added documentation for compiling a simple "Hello World" WineLib program. * windows/message.c: Sheri Steeves Added setting of cursor postition to MSG_PostToQueue. * controls/listbox.c: Gerard Patel WM_SETREDRAW should repaint the listbox when set to on if something has been changed. 2000-06-14 Alexandre Julliard * configure.in, debugger/Makefile.in, server/Makefile.in, tools/Makefile.in, tools/cvdump/Makefile.in, tools/wmc/Makefile.in, tools/wrc/Makefile.in, Make.rules.in, Makefile.in, configure: Removed @PROGEXT@ (it was broken anyway). Improved 'make install'. Cleaned up the main Makefile. * scheduler/handle.c: Alexandre Julliard (for Corel) ConvertToGlobalHandle: fixed handle leak. * include/options.h: Fixed options structure definition. * windows/winpos.c: Noomen Hamza Made SetWindowPos handle the case when inserting a window after itself (don't need to change the Zorder). * documentation/opengl: Lionel Ulmer Updated OpenGL documentation. * dlls/olepro32/olepro32.spec: Gerard Patel Set the base for the ordinals of olepro32 to 248. * include/commctrl.h: Matthew J. Francis Alias NMUPDOWN to be NM_UPDOWN, rather than overwrite NM_UPDOWN with NMUPDOWN. * dlls/crtdll/crtdll.spec, dlls/crtdll/crtdll_main.c: jimregan@litsu.ie Added difftime function. 2000-06-13 Alexandre Julliard * tools/Makefile.in, tools/wmc/.cvsignore, tools/wmc/CHANGES, tools/wmc/Makefile.in, tools/wmc/lang.c, tools/wmc/lang.h, tools/wmc/language.c, tools/wmc/mcl.c, tools/wmc/mcy.y, tools/wmc/utils.c, tools/wmc/utils.h, tools/wmc/wmc.c, tools/wmc/wmc.h, tools/wmc/wmc.man, tools/wmc/wmctypes.h, tools/wmc/write.c, tools/wmc/write.h, unicode/wctomb.c, Make.rules.in, configure, configure.in: Bertho Stultiens Initial release of the message compiler. * loader/loadorder.c, dlls/Makefile.in, dlls/shell32/Makefile.in, dlls/shell32/shell32.spec, dlls/shell32/shellord.c, dlls/shell32/shellpath.c, dlls/shell32/shellstring.c, dlls/shell32/shfolder.spec, dlls/shell32/shlwapi.spec, include/shell.h, include/shlobj.h, include/shlwapi.h, include/wine/undocshell.h: Juergen Schmied - new dll shfolder.dll - small fixes * dlls/user/Makefile.in, tools/wrc/CHANGES, tools/wrc/README.wrc, tools/wrc/dumpres.c, tools/wrc/genres.c, tools/wrc/newstruc.c, tools/wrc/parser.l, tools/wrc/parser.y, tools/wrc/ppl.l, tools/wrc/ppy.y, tools/wrc/wrc.c, tools/wrc/wrc.h, tools/wrc/wrc.man: Bertho Stultiens - Bugfix: Corrected "off by one" error in the linenumber while parsing resource. - Bugfix: A segfault would occur if messagetables were parsed without memory options attached. Also added buffer-overflow safeguard while converting between byteorders. - Finished remapping usertype resources onto standars types by tricking the parser into accepting a different token. The remapping can be disabled with a new commandline option '-m'. - Resolved some warning about chars used as index on SGI O2 machine (the ctype isXXX() routines are macros there). * ole/ole2nls.c: Bertho Stultiens Commented out IsBadWritePtr check. Makes winhlp32.exe happy in extended search. * documentation/opengl: Lionel Ulmer OpenGL documentation. * files/drive.c: Andreas Mohr DRIVE_GetFreeSpace() is supposed to *always* return 0 for "avail" on CD-ROMs, even if CD-ROM is *not* mounted and thus the mount point normally returns the "avail" of the corresponding partition. Cleaned up GetDiskFreeSpaceA. * windows/x11drv/wnd.c: Gerard Patel Do not change the WS_CHILD style in SetParent. * loader/pe_resource.c, ole/ole2nls.c, dlls/comctl32/comctl32undoc.c, dlls/ntdll/reg.c, dlls/ole32/datacache.c, dlls/ole32/ole2nls.c, dlls/shell32/shellord.c, dlls/shell32/shellpath.c, dlls/shell32/shellreg.c, dlls/shell32/shellstring.c, dlls/version/info.c: Use the Unicode string functions from wine/unicode.h instead of the crtdll ones. * include/wine/unicode.h, unicode/Makefile.in, unicode/string.c: Added a couple of Unicode string routines. * dlls/ddraw/convert.c, dlls/ddraw/ddraw/dga.c, dlls/ddraw/ddraw/x11.c, dlls/ddraw/ddraw_private.h, dlls/ddraw/dga.c, dlls/ddraw/helper.c, dlls/ddraw/x11.c: Marcus Meissner Added 24->32 packed pixel mapping support to convert. Slightly rewrote the conversion initialisation. * files/profile.c: Marcus Meissner Strip whitespace from front of profile values. 2000-06-12 Alexandre Julliard * dlls/user/Makefile.in, dlls/user/exticon.c, win32/ordinals.c: Juergen Schmied Implementation for PrivateExtractIcons, PrivateExtractIconEx. * scheduler/thread.c, dlls/ole32/errorinfo.c, include/thread.h, scheduler/process.c: Juergen Schmied - implemented Get/SetThreadLocale - added comment about OleErrorInfo field in TEB * include/ddraw.h: Marcus Meissner Added struct offsets so understanding game disassembly is easier. * dlls/wineps/brush.c: Huw D M Davies If printer only supports level 1 PostScript then complain rather than trying to use a pattern color space. Thanks to David Goodenough. * include/wine/obj_base.h: Marcus Meissner Corrected IsEqualGUID prototype. * dlls/ddraw/dga2.c: Lionel Ulmer replaced a DPRINTF by a TRACE * dlls/opengl32/make_opengl, dlls/opengl32/opengl32.spec, dlls/opengl32/wgl.c: Lionel Ulmer - moved the 'constructor' into a real DLL init function - make OpenGL32 dependant on the X11 driver * objects/dc.c: Gerard Patel hookThunk was not initialized in GetDcState. * graphics/x11drv/text.c: Use the font default char for undefined characters when mapping from Unicode. * dlls/opengl32/make_opengl, dlls/opengl32/make_opengl_ext, dlls/opengl32/make_opengl_norm, dlls/opengl32/make_opengl_spec, dlls/opengl32/opengl32.spec, dlls/opengl32/opengl_ext.c, dlls/opengl32/opengl_norm.c: Lionel Ulmer New OpenGL thunk generation script. * dlls/ddraw/dsurface/x11.c: Lionel Ulmer Removed the Release in case of error as we do not AddRef anymore. * misc/version.c: Andreas Mohr Made the DLL version clash error message more verbose. * unicode/c_932.c, unicode/c_936.c, unicode/c_949.c, unicode/c_950.c, unicode/casemap.c, unicode/cpmap.pl, unicode/mbtowc.c, unicode/wctomb.c, unicode/c_042.c, unicode/c_10000.c, unicode/c_10006.c, unicode/c_10007.c, unicode/c_10029.c, unicode/c_1006.c, unicode/c_10079.c, unicode/c_10081.c, unicode/c_1026.c, unicode/c_1250.c, unicode/c_1251.c, unicode/c_1252.c, unicode/c_1253.c, unicode/c_1254.c, unicode/c_1255.c, unicode/c_1256.c, unicode/c_1257.c, unicode/c_1258.c, unicode/c_20866.c, unicode/c_28591.c, unicode/c_28592.c, unicode/c_28593.c, unicode/c_28594.c, unicode/c_28595.c, unicode/c_28596.c, unicode/c_28597.c, unicode/c_28598.c, unicode/c_28599.c, unicode/c_424.c, unicode/c_437.c, unicode/c_500.c, unicode/c_737.c, unicode/c_775.c, unicode/c_850.c, unicode/c_852.c, unicode/c_855.c, unicode/c_856.c, unicode/c_857.c, unicode/c_860.c, unicode/c_861.c, unicode/c_862.c, unicode/c_863.c, unicode/c_864.c, unicode/c_865.c, unicode/c_866.c, unicode/c_869.c, unicode/c_874.c, unicode/c_875.c, unicode/c_878.c, dlls/ntdll/rtlstr.c, include/casemap.h, include/wine/unicode.h, memory/string.c, unicode/Makefile.in, unicode/c_037.c: Reimplemented Unicode case mapping in a slightly more efficient way. Moved case mapping support to the unicode directory. Some cleanups in cpmap.pl, use WCHAR instead of unsigned short. 2000-06-11 Alexandre Julliard * dlls/comctl32/header.c: Aric Stewart We were not properly masking the item that was sent with the message and also we where not sending the notification at the proper times. * controls/listbox.c: Jason Mawdsley Take focus before setting the caret position and selections. * relay32/snoop.c: James Abbatiello Fix for compiler warning (due to setjmp/longjmp being used for exception handling). * controls/button.c: Sheri Steeves Added save and reset of SetBKMode values in WM_PAINT. Added handling of lParam value in BM_SETSTYLE. * include/wine/exception.h, include/wine/obj_base.h, include/wine/obj_channel.h, include/wine/obj_misc.h, include/wine/obj_oleaut.h, include/wine/obj_oleview.h, include/wine/undocshell.h, include/wine/windef16.h, include/wine/wingdi16.h, include/wine/winuser16.h, include/ddraw.h, include/dinput.h, include/dplay.h, include/dplobby.h, include/dsound.h, include/gdi.h, include/imagehlp.h, include/imm.h, include/keyboard.h, include/mmddk.h, include/mmsystem.h, include/msacm.h, include/netspi.h, include/ntddk.h, include/ole.h, include/ole2.h, include/oleauto.h, include/oledlg.h, include/pe_image.h, include/process.h, include/prsht.h, include/richedit.h, include/server.h, include/shlobj.h, include/tapi.h, include/task.h, include/user.h, include/winbase.h, include/wingdi.h, include/wininet.h, include/winnetwk.h, include/winnls.h, include/winnt.h, include/winsvc.h, include/winuser.h, include/animate.h, include/callback.h, include/commctrl.h, include/commdlg.h, include/crtdll.h, include/d3d.h, include/d3dcaps.h, include/d3dtypes.h, include/ddeml.h: Francois Gouget Reordered the CALLBACK and WINAPI directives so that it compiles with old g++ versions. * include/vfw.h, include/windef.h: Francois Gouget - Define HIC in this header rather than in windef.h (this is the correct thing to do although it is unrelated to the C++ issues). - WINE_HIC is an internal structure and it won't compile in C++ because it contains a field called 'private'. Enclosed in a __WINE__ ifdef. - Reordered the CALLBACK and WINAPI directives so that it compiles with old g++ versions. * include/winspool.h: Francois Gouget Fixed a typo in the name of FreePrinterNotifyInfo. * dlls/wininet/Makefile.in, dlls/wininet/ftp.c, dlls/wininet/http.c, dlls/wininet/internet.c, dlls/wininet/internet.h, dlls/wininet/utility.c, dlls/wininet/wininet.spec: Ulrich Czekalla HTTP protocol now supported, InternetCrackUrl fixed, lots of other fixes. * dlls/comctl32/toolbar.c, dlls/shell32/shellpath.c, tools/build.c: Patrik Stridvall Fixed some warnings. * dlls/oleaut32/oleaut32.spec: Patrik Stridvall Fixed some issues found by winapi_check. * tools/winapi_check/modules.dat, tools/winapi_check/output.pm, tools/winapi_check/win32/oleaut32.api, tools/winapi_check/winapi.pm, tools/winapi_check/winapi_check, tools/winapi_check/winapi_local.pm, tools/winapi_check/winapi_options.pm, tools/winapi_check/winapi_parser.pm: Patrik Stridvall - Minor API files fixes - Use output prefix instead of high order functions that, for some reason, leaks memory. The memory usage of winapi_check is now greatly reduced. :-) - Turned on argument kind checking of doubles by default * dlls/commdlg/comdlg32.spec: Huw D M Davies Remove second import of winspool.drv. * controls/static.c: Huw D M Davies Add support for icons set by STM_SETIMAGE. * dlls/wineps/bitmap.c: Huw D M Davies Terminate image data with a '>' [The PSLRM is rather vague about this]. Thanks to Bernd Herd. * graphics/x11drv/xfont.c: John Elliot Some fonts may have no characters at all for some reason, avoid crashes. * dlls/dsound/dsound_main.c: James Abbatiello Add a few more flags to those recognized when doing trace+dsound. * objects/text.c: James Abbatiello Don't print uiLengthDrawn in the FIXME in DrawTextExA. Its an output variable, not an input variable. * graphics/x11drv/dib.c: James Abbatiello Use XCreateImage/XGetSubImage instead of XGetImage for X11DRV_DIB_GetImageBits. 2000-06-10 Alexandre Julliard * unicode/c_950.c, unicode/cpmap.pl, unicode/cptable.c, unicode/Makefile.in, unicode/c_042.c, unicode/c_10000.c, unicode/c_10006.c, unicode/c_10079.c, unicode/c_10081.c, unicode/c_1253.c, unicode/c_1255.c, unicode/c_1257.c, unicode/c_28593.c, unicode/c_28596.c, unicode/c_28597.c, unicode/c_28598.c, unicode/c_424.c, unicode/c_856.c, unicode/c_857.c, unicode/c_864.c, unicode/c_874.c, unicode/c_932.c, unicode/c_936.c, unicode/c_949.c, memory/codepage.c: Added support for symbol codepage. Improved handling of undefined codepage characters. * loader/ne/module.c: Make sure GetModuleFileName16 does not return garbage even if the path is not valid (thanks to Andreas Mohr). * graphics/x11drv/text.c, graphics/x11drv/xfont.c, include/x11font.h: Dmitry Timoshkov Assign codepage for every X11 font suffix, and use it for converting text to display. * win32/Makefile.in, win32/code_page.c, dlls/kernel/kernel.spec, memory/Makefile.in, memory/codepage.c, memory/string.c: Rewrote codepage support to use the new codepage tables. * unicode/cpmap.pl, unicode/mbtowc.c, unicode/wctomb.c, unicode/c_857.c, unicode/c_860.c, unicode/c_861.c, unicode/c_862.c, unicode/c_863.c, unicode/c_864.c, unicode/c_865.c, unicode/c_866.c, unicode/c_869.c, unicode/c_874.c, unicode/c_875.c, unicode/c_878.c, unicode/c_932.c, unicode/c_936.c, unicode/c_949.c, unicode/c_950.c, include/wine/unicode.h, include/winnls.h, unicode/c_037.c, unicode/c_10000.c, unicode/c_10006.c, unicode/c_10007.c, unicode/c_10029.c, unicode/c_1006.c, unicode/c_10079.c, unicode/c_10081.c, unicode/c_1026.c, unicode/c_1250.c, unicode/c_1251.c, unicode/c_1252.c, unicode/c_1253.c, unicode/c_1254.c, unicode/c_1255.c, unicode/c_1256.c, unicode/c_1257.c, unicode/c_1258.c, unicode/c_20866.c, unicode/c_28591.c, unicode/c_28592.c, unicode/c_28593.c, unicode/c_28594.c, unicode/c_28595.c, unicode/c_28596.c, unicode/c_28597.c, unicode/c_28598.c, unicode/c_28599.c, unicode/c_424.c, unicode/c_437.c, unicode/c_500.c, unicode/c_737.c, unicode/c_775.c, unicode/c_850.c, unicode/c_852.c, unicode/c_855.c, unicode/c_856.c: Added support for WC_NO_BEST_FIT_CHAR and default char parameters in cp_wcstombs. Minor cosmetic fixes. * dlls/ddraw/dpalette/dga.c, dlls/ddraw/dsurface/dga.c: Ove Kaaven Call TSXFlush after setting DGA palette, so it updates immediately. 2000-06-09 Alexandre Julliard * unicode/c_28591.c, unicode/c_28592.c, unicode/c_28593.c, unicode/c_28594.c, unicode/c_28595.c, unicode/c_28596.c, unicode/c_28597.c, unicode/c_28598.c, unicode/c_28599.c, unicode/c_424.c, unicode/c_437.c, unicode/c_500.c, unicode/c_737.c, unicode/c_775.c, unicode/c_850.c, unicode/c_852.c, unicode/c_855.c, unicode/c_856.c, unicode/c_857.c, unicode/c_860.c, unicode/c_861.c, unicode/c_862.c, unicode/c_863.c, unicode/c_864.c, unicode/c_865.c, unicode/c_866.c, unicode/c_869.c, unicode/c_874.c, unicode/c_875.c, unicode/c_878.c, unicode/c_932.c, unicode/c_936.c, unicode/c_949.c, unicode/c_950.c, unicode/cpmap.pl, unicode/cptable.c, unicode/defaults, unicode/mbtowc.c, unicode/wctomb.c, Makefile.in, configure, configure.in, include/wine/unicode.h, unicode/.cvsignore, unicode/Makefile.in, unicode/c_037.c, unicode/c_10000.c, unicode/c_10006.c, unicode/c_10007.c, unicode/c_10029.c, unicode/c_1006.c, unicode/c_10079.c, unicode/c_10081.c, unicode/c_1026.c, unicode/c_1250.c, unicode/c_1251.c, unicode/c_1252.c, unicode/c_1253.c, unicode/c_1254.c, unicode/c_1255.c, unicode/c_1256.c, unicode/c_1257.c, unicode/c_1258.c, unicode/c_20866.c: Added a bunch of code page tables for multibyte<->wide char conversions (with the help of Dmitry Timoshkov). 2000-06-08 Alexandre Julliard * dlls/ntdll/ntdll.spec, dlls/ntdll/rtlstr.c, dlls/shell32/shellpath.c, include/ntddk.h, include/winnls.h, memory/string.c, misc/lstr.c, dlls/crtdll/crtdll.spec, dlls/crtdll/wcstring.c: Dmitry Timoshkov Implement NTDLL.towupper and NTDLL.towlower using already existing case conversion tables. Replace all direct calls to towupper/towlower either to NTDLL for core or to CRTDLL if latter already used in the non core dll. * graphics/x11drv/bitblt.c: Shi Quan He (of Corel) The implementation of StretchBlt in WINE does not use the foreground and background color when a bitmap is copied from mono to mono. This is not the case in the actual implementation under Windows but MSDN did not document it. * dlls/comctl32/status.c: Aric Stewart Windows must update the right edge (-1) of the last panel upon drawing instead of relying on WM_SIZE. * dlls/comctl32/treeview.c: Aric Stewart Properly handle InsertItem with an invalid HTREEITEM. Windows handles these like a TVI_LAST. * windows/x11drv/event.c: Turchanov Sergei DGA compile fix. * dlls/Makefile.in: Added missing dependency. * debugger/msc.c, debugger/winedbg.c, relay32/builtin32.c: Removed the .xcnlnk section hack, and replaced it by another hack in the debugger CREATE_PROCESS event handling. * dlls/Makefile.in: Merged mouse dll into USER. * programs/winhelp/macro.c: Compile fix. * if1632/builtin.c, if1632/thunk.c, loader/task.c, memory/atom.c, scheduler/thread.c, win32/kernel32.c: Removed a few unnecessary includes. * dlls/ttydrv/ttydrv_main.c, dlls/user/.cvsignore, dlls/user/Makefile.in, dlls/user/display.c, dlls/user/display.spec, dlls/user/mouse.c, dlls/user/mouse.spec, dlls/user/mouserc.rc, dlls/user/user_main.c, dlls/x11drv/x11drv_main.c, include/mouse.h, include/ttydrv.h, include/user.h, include/x11drv.h, windows/ttydrv/mouse.c, windows/x11drv/event.c, windows/x11drv/mouse.c, Makefile.in, configure, configure.in, dlls/dinput/Makefile.in, dlls/dinput/dinput.spec: Merged mouse dll into USER. * debugger/Makefile.in, dlls/richedit/Makefile.in, dlls/shell32/Makefile.in, dlls/shell32/shell32.spec, dlls/urlmon/Makefile.in, dlls/winmm/Makefile.in, dlls/winmm/winmm.spec, libtest/Makefile.in, programs/avitools/Makefile.in, resources/Makefile.in, Make.rules.in: Simplified wrc flags handling. * windows/win.c: Yet another attempt at fixing CW_USEDEFAULT handling. * loader/module.c: Use FILE_SHARE_READ to open the file in GetBinaryTypeA. * debugger/module.c: Strip path name from dll when adding symbols. * loader/pe_image.c: Send full path name and debug information in load_dll event. * include/server.h, relay32/builtin32.c, scheduler/process.c, server/debugger.c, server/process.c, server/trace.c, include/module.h: Pass the main exe name in the CREATE_PROCESS debug event. * scheduler/sysdeps.c: Ulrich Weigand Make a better guess to find the top of the initial stack. Fixed FreeBSD compile problem (thanks to Gerald Pfeiffer). * windows/cursoricon.c: Louis-Philippe Gagnon (of Macadamian for Corel) Search for already loaded CursorIcon was done with the wrong handle, so it was leaking icons. Fixed. * tools/wrc/README.wrc, tools/wrc/dumpres.c, tools/wrc/genres.c, tools/wrc/newstruc.c, tools/wrc/newstruc.h, tools/wrc/parser.l, tools/wrc/parser.y, tools/wrc/ppl.l, tools/wrc/wrc.h, tools/wrc/wrc.man, tools/wrc/wrctypes.h, tools/wrc/writeres.c, tools/wrc/CHANGES: Bertho Stultiens - Implemented MESSAGETABLE resource type. - Usertype resources that cause a type-clash with defined resources are now detected and a warning is generated. Some types should be rerouted through other code so that they will be (re-)interpreted. - Bugfix: Line-continuation in strings in resources include a newline. This `feature' got deleted with the builtin preprocessor, but has been put back into place (see last changes comment from version 1.1.0). - Bugfix: The preprocessor now correctly will see "\\\r\n" as a line- continuation. - Bugfix: Assemblers on some platforms do not use 16bit quantities for `.word'. This directive is now changed into `.short'. - All types that accept inline data definitions (a la RCDATA) now also accept a file specification. This unifies the structure a bit. 2000-06-07 Alexandre Julliard * documentation/dll-overrides: Ove Kaaven Text of WWN article "DLL overrides". * documentation/HOWTO-winelib: Wilbur N. Dale Added to project. Currently incomplete but will update weekly. * scheduler/client.c, scheduler/process.c, dlls/ntdll/signal_i386.c: Setup signal handling and exceptions only after REQ_INIT_PROCESS_DONE has been sent, to avoid deadlocking the debugger. * controls/combo.c, include/combo.h: Serge Ivanov - ComboLBox is always created as child of ComboBox. If ComboBox has style other than CBS_SIMPLE, parent of listbox is set to desktop. - In CBDropDown. ComboBox uses only first item to calculate height of dropped listbox. Also if listbox is empty its height is unmodified (previously it was set to 0). - Added correct handling of WM_GETDLGCODE and WM_(SYS)KEYDOWN messages. - General clean-up. Message order is now more precise (at least notifications to client); listbox - combobox interaction has slight differences comparing to Windows. * controls/edit.c: Serge Ivanov - Removed dependency of edit control from combobox implementation. - Edit control uses undocumented window style 0x0200 to detect is it a part of combobox. If so it calls GetDlgItem(hwndCombo, 1000) to get ComboLBox window handle (see comments for combo.c below). - EDIT_CheckCombo - modified for correct handling of keyboard messages. - Processing of WM_GETDLGCODE and WM_CHAR for VK_RETURN and VK_ESCAPE depends on whether listbox is dropped down. This prevents closing of dialog if listbox is dropped down and allows combobox to process these keyboard messages properly. * controls/listbox.c: Serge Ivanov - We can use wnd->wIDmenu for ComboLBox (it is not reset anymore in SetParent) - When user clicks outside of dropped listbox, original selection must be restored. - ComboLBox has caret_on = FALSE on creation, that's why combobox sends LB_CARETON message before dropping listbox down (but only for CBS_DROPDOWNLIST - I don't now why). * windows/x11drv/wnd.c: Serge Ivanov Well, SetParent doesn't work properly at all, but at least it must preserve window ID. In fact it also must preserve window styles, destroy X counterpart if parent of popup or overlapped window is set to someting different from Desktop, and lot of other stuff that it must and mustn't do. But preserving ID is good enough for now. * include/winuser.h: Serge Ivanov Added undocumented window style. * dlls/dplayx/dplay.c, dlls/dplayx/dplayx_main.c, dlls/dplayx/dplayx_queue.h, documentation/status/directplay: Peter Hunnisett - Small update to documentation - More player/group interface implementation (not tested) * win32/except.c: Ulrich Weigand Don't call MessageBoxA before USER is initialized. * controls/listbox.c: Stephane Lussier Sheri Steeves Haithem Hmida - Height of the listbox should be adjust when LBS_OWNERDRAWFIXED is set and not if LBS_OWNERDRAWVARIABLE is set, previously it was not adjusting the size in both cases. - When the caret index change, items repainting need tp be in this order a) Paint old caret item without the focus b) Paint old caret item without the selection c) Paint new caret item with the selection d) Paint new caret item with the focus. - When repainting the listbox, we should paint all items regarding if they are slected or not and then paint after the focus item. So focus item will end out being painted twice. (That's what Windows does). * files/file.c: Stas Sergeev mmap() fails with ENODEV on NTFS under Linux. * dlls/commdlg/filedlg95.c, dlls/shell32/shellpath.c: Uwe Bonnes PathFindNextComponent: return pointer to NULL and not NULL. * dlls/comctl32/toolbar.c: Aric Stewart Added handling of TBSTYLE_AUTOSIZE. * dlls/comctl32/datetime.c, dlls/comctl32/treeview.c, dlls/commdlg/filedlg95.c, dlls/x11drv/x11drv_main.c, include/crtdll.h, msdos/ioports.c: Patrik Stridvall Fixed some warnings. * dlls/urlmon/umon.c, include/urlmon.h, scheduler/critsection.c, dlls/odbc32/proxyodbc.c, dlls/ole32/moniker.c, dlls/shell32/shellstring.c: Patrik Stridvall Fixed issues found by winapi_check. * tools/winapi_check/win32/comdlg32.api, tools/winapi_check/win32/odbc32.api, tools/winapi_check/winapi_local.pm, tools/winapi_check/winapi_options.pm, tools/winapi_check/modules.dat, tools/winapi_check/winapi_check: Patrik Stridvall - Minor API files update. - Turned on calling convention checking for Win32 functions by default. * dlls/comctl32/toolbar.c: Uwe Bonnes TOOLBAR_DrawString: catch index== -1 (but not yet handled). * misc/options.c: Fixed off-by-one error in string allocation. * windows/win.c: Alexandre Julliard for Corel The window dimensions have to be initialized before sending the WM_GETMINMAXINFO message. * include/miscemu.h, msdos/devices.c, msdos/dosmem.c, msdos/dpmi.c: Ulrich Weigand Removed mis-aligned accesses during BIOS/DOS data initialization. * tools/build.c: Ulrich Weigand Fixed size of pe_header on machines with non-4K pages. * if1632/snoop.c, relay32/snoop.c: Uwe Bonnes Use "CALL" and "RET" in capital letters for distinction. * dlls/comctl32/propsheet.c: Noomen Hamza The active page should be unchanged when removing an active first page from a property sheets. 2000-06-04 Alexandre Julliard * dlls/ntdll/signal_sparc.c, memory/selector.c, scheduler/critsection.c, server/Makefile.in, server/context_sparc.c: Ulrich Weigand Updated support for Solaris/Sparc architecture. * dlls/comctl32/toolbar.c: Michael Cardenas Corrected a potential crash. * scheduler/process.c, scheduler/sysdeps.c, tools/build.c, include/callback.h, loader/task.c: Ulrich Weigand Moved stack switch handling (large stack) to sysdeps.c Enable exception dispatch while on large stack. * dlls/comctl32/listview.c: Chris Morgan Finished the implementation of LISTVIEW_SetColumnWidth. Tested against windows thoroughly. Fixed bug resulting in unsigned values being passed into LISTVIEW_SetColumnWidth from the listview window procedure. Fixed LISTVIEW_GetItemHeight to disregard the height of icons if no icons exist. * include/commctrl.h: Chris Morgan Added defines for LVSCW_AUTOSIZE/_USEHEADER. * dlls/comctl32/header.c: Chris Morgan Replaced calls to HEADER_Refresh with InvalidateRect. * dlls/comctl32/toolbar.c: Eric Kohl Started support for menubar-like toolbars. * debugger/break.c, debugger/debugger.h, debugger/hash.c, debugger/memory.c, debugger/source.c, debugger/stack.c, debugger/winedbg.c: Ulrich Weigand Compile fixes for non-i386 archs. * controls/button.c, controls/uitools.c: Susan Farley Attempt to paint the checkbox and radio buttons better. 2000-06-03 Alexandre Julliard * dlls/ttydrv/ttydrv_main.c: Fixed warning. * dlls/comctl32/comctl32.spec, dlls/comctl32/comctl32undoc.c, dlls/comctl32/commctrl.c, include/commctrl.h: Eric Kohl Updated to dll version 5.81 (IE 5.01). * dlls/comctl32/treeview.c: Eric Kohl Implemented TVM_GETITEMW. * dlls/comctl32/listview.c, include/listview.h: Jason Mawdsley Added support for typing the filename in the listview control and having the control select it. * windows/message.c, windows/x11drv/event.c, windows/x11drv/keyboard.c, include/message.h, misc/main.c: Removed MSG_WineStartTicks (does not work for multiple address spaces anyway). * graphics/enhmetafiledrv/init.c: Replaced GetDC by CreateDC. * include/bitmap.h, objects/dib.c, windows/cursoricon.c: Moved DIB_FixColorsToLoadflags to cursoricon.c. * documentation/wine.man.in: Peter Ganten Documented the new wine command line and the environment variable WINEPREFIX. * msdos/dpmi.c, dlls/dsound/dsound_main.c: Patrik Stridvall Fixed some warnings. * tools/winapi_check/win16/wineps16.api, tools/winapi_check/win32/comdlg32.api, tools/winapi_check/win32/dsound.api, tools/winapi_check/win32/kernel32.api, tools/winapi_check/win32/shlwapi.api, tools/winapi_check/modules.dat, tools/winapi_check/win16/wineps.api: Patrik Stridvall API files update. * memory/instr.c, msdos/interrupts.c, dlls/kernel/wprocs.spec, if1632/builtin.c, include/builtin16.h: Delay loading of interrupt table functions until they are needed. * include/miscemu.h, msdos/ioports.c: Delay initialization of I/O permissions until they are first used. * loader/main.c, dlls/kernel/Makefile.in, dlls/kernel/kernel_main.c, dlls/ttydrv/ttydrv_main.c, dlls/x11drv/x11drv_main.c, if1632/relay.c, scheduler/process.c: Moved kernel initialization to kernel_main.c * windows/x11drv/wnd.c, configure.in, dlls/Makefile.in, dlls/dinput/dinput_main.c, dlls/user/.cvsignore, dlls/user/Makefile.in, dlls/user/disp.rc, dlls/user/display.c, dlls/user/display.spec, dlls/user/user_main.c, include/display.h, loader/main.c, windows/cursoricon.c, Makefile.in, configure: Merged display.dll into USER. * misc/wsprintf.c: Juergen Schmied Fixed crash. * relay32/.cvsignore, relay32/Makefile.in, relay32/kernel32.spec, relay32/wow32.spec, configure, configure.in, dlls/Makefile.in, dlls/kernel/.cvsignore, dlls/kernel/Makefile.in, dlls/kernel/comm.spec, dlls/kernel/kernel.spec, dlls/kernel/kernel32.spec, dlls/kernel/system.spec, dlls/kernel/toolhelp.spec, dlls/kernel/wow32.spec, dlls/kernel/wprocs.spec, if1632/.cvsignore, if1632/Makefile.in, if1632/comm.spec, if1632/kernel.spec, if1632/system.spec, if1632/toolhelp.spec, if1632/wprocs.spec, Make.rules.in, Makefile.in: Dimitrie O. Paun Start to separate KERNEL out of libwine. 2000-06-02 Alexandre Julliard * include/ts_xutil.h, tsx11/X11_calls, tsx11/ts_xutil.c, windows/x11drv/wnd.c: Susan Farley Preserve WM hints that were set during window creation by calling XGetWMHints prior to XSetWMHints. * include/commdlg.h: Michael Cardenas Added a few message crackers. * tools/wineconf: Ove Kaaven Add "Unix drives" /tmp and ${HOME}, and Device and Filesystem statements, to autogenerated wine.conf. * dlls/commdlg/cdlg.h, dlls/commdlg/cdlg32.c, dlls/commdlg/cdlg_En.rc, dlls/commdlg/comdlg32.spec, dlls/commdlg/filedlg95.c, dlls/commdlg/filedlgbrowser.c, dlls/commdlg/filedlgbrowser.h, dlls/commdlg/printdlg.c: Juergen Schmied - Rewrite of the shell related parts of the dialog to use the already in shell32implemented functions (ShellFolder/Path*). Eliminated direct file access. - Replaced LoadLibraryA with GetModuleHandleA since comdlg32 is imports some dlls per *.spec file - Most OpenFile Flags (OFN_*) should work properly now - The edit box should work right with all stuff entered in it like ..\temp\file.txt or just c: to change a drive - Optimized DataObject handling - Some bugs fixed, should work with native shell32 again. - Stubs for PrintDlgEx 2000-06-01 Alexandre Julliard * dlls/dplayx/dplay.c, dlls/winmm/wineoss/audio.c, dlls/winmm/wineoss/midi.c, documentation/config, documentation/distributors, documentation/fonts, documentation/no-windows, misc/registry.c, win32/kernel32.c, windows/driver.c, windows/message.c, controls/menu.c, dlls/ddraw/ddraw/x11.c, dlls/ddraw/ddraw_private.h, dlls/ddraw/mesa_private.h: Andreas Mohr Lots of spelling fixes that accumulated in my tree again, made several error msgs more verbose, doc updates. * documentation/shell32, include/shlwapi.h, dlls/shell32/Makefile.in, dlls/shell32/pidl.c, dlls/shell32/regstream.c, dlls/shell32/shell32.spec, dlls/shell32/shell32_main.c, dlls/shell32/shellord.c, dlls/shell32/shellpath.c, dlls/shell32/shellreg.c, dlls/shell32/shellstring.c, dlls/shell32/shlfolder.c, dlls/shell32/shlmenu.c, dlls/shell32/shlwapi.spec: Juergen Schmied - New (some stubs): SHGetFolderLocation, PathAddExtension, PathIsUNCServer, PathIsUNCServerShare, PathMakePretty, SHCreateShellPalette, SHOpenRegStream, SHOpenRegStream2 - Many string functions implemented - Some stubs for exports by ordinal * loader/pe_image.c: Juergen Schmied Give a error message if a forwarded export is not resolved. * files/dos_fs.c, include/winbase.h, relay32/kernel32.spec: Juergen Schmied Implemented FindFirstFileEx, cleaned old implementation up. * controls/widgets.c: Louis-Philippe Gagnon (of Macadamian for Corel) Static controls weren't receiving WM_LBUTTONDBLCLK messages because the Static window class was registered without the CS_DBLCLKS style (which it has in Windows). * scheduler/process.c: Make sure main_exe_name is a DOS filename (thanks to Uwe Bonnes). * include/dsound.h, dlls/dsound/dsound_main.c, include/dplay.h: Peter Hunnisett - Added DirectSoundCapture and DirectSoundCaptureBuffer interfaces - Added some SoundCapture stubs - Changed REFIID to LPCGUID in a few places as per MS header file * dlls/ntdll/ntdll.spec, dlls/ntdll/sec.c: Juergen Schmied Stub for RtlConvertSidToUnicodeString. * controls/static.c: Serge Ivanov MSDN: "WM_NCHITTEST - Returns HTCLIENT if the control style is SS_NOTIFY; otherwise, returns HTTRANSPARENT. " * dlls/winsock/socket.c: Gerald Pfeifer Fixed warning. 2000-05-31 Alexandre Julliard * windows/win.c: Gerard Patel Set a default size for windows when CW_USEDEFAULT is used. 2000-05-30 Alexandre Julliard * ole/nls/hrv.nls, windows/x11drv/keyboard.c, documentation/languages, documentation/wine.man.in, include/options.h, misc/main.c, ole/ole2nls.c: Zoran Dzelajlija Basic Croatian language support. * controls/edit.c: Serge Ivanov Returning DLGC_WANTALLKEYS for multiline edit control was not good because it breaks navigation in dialogs. * dlls/dsound/dsound_main.c: Peter Hunnisett - Fixed some initialization/destruction and reference counting - Added a little more debugging information * tools/font_convert.sh: Peter Ganten Added a shell-script for easier font-installation. * dlls/wineps/bitmap.c, dlls/wineps/brush.c, dlls/wineps/clipping.c, dlls/wineps/color.c, dlls/wineps/driver.c, dlls/wineps/escape.c, dlls/wineps/font.c, dlls/wineps/graphics.c, dlls/wineps/init.c, dlls/wineps/objects.c, dlls/wineps/pen.c, dlls/wineps/ppd.c, dlls/wineps/ps.c, dlls/wineps/psdrv.h, dlls/wineps/text.c, dlls/wineps/wineps.spec, dlls/wineps/wineps16.spec, if1632/.cvsignore, if1632/Makefile.in, if1632/wineps.spec, include/psdrv.h, loader/main.c, Makefile.in, configure, configure.in, dlls/Makefile.in, dlls/gdi/gdi_main.c, dlls/wineps/.cvsignore, dlls/wineps/Makefile.in, dlls/wineps/afm.c, dlls/wineps/bitblt.c, Make.rules.in: Dimitrie O. Paun Separate wineps out of Wine's core. * dlls/dplayx/dplayx_main.c, dlls/dplayx/dplayx_queue.h, dlls/dplayx/dplobby.c, dlls/dplayx/dplay.c: Peter Hunnisett - Added a little more dll level debugging and small changes - Start on group and player interfaces * dlls/dsound/dsound.spec, dlls/dsound/dsound_main.c, include/dsound.h: Peter Hunnisett - Add another way to create a 3d listener interface. - Fix up some reference counting bugs and interface creation bugs - Add DirectSoundEnumerateW stub - Add DirectSoundCaptureEnumerate{A,W} stubs * dlls/comctl32/datetime.c, include/datetime.h: Chris Morgan Added 3D border around control. Fixed monthcal control popup. Added WM_SIZE support. Optimized drawing. Added WM_LBUTTONUP handling. Handle DTS_RIGHTALIGN style. Fixed handling of formatting styles, date is now displayed properly for DTS_SHORTDATEFORMAT. * dlls/comctl32/monthcal.c: Chris Morgan Removed all direct calls to MONTHCAL_Refresh() and replaced with either RedrawWindow or InvalidateRect. Optimized drawing using RedraWindow and update regions. Fixed "Today" date bug where year was only one digit. Fixed drawing of circle drawn next to "Today". Fixed moving to previous or next month by clicking on days belonging to previous or next months. * relay32/kernel32.spec, win32/console.c: Ulrich Czekalla Add stub for SetConsoleOutputCP. * tools/wrc/ppy.y: Marcus Meissner Add a ; needed by some YACCs. * dlls/ddraw/dsurface/x11.c: Lionel Ulmer Install the colormap only if it was created. * msdos/int21.c: Andreas Mohr Implemented int 0x21 long file name function 0x71a0: Get Volume Info. * dlls/opengl32/wgl.c: Lionel Ulmer Implemented wglShareLists and wglGetCurrentDC. * windows/message.c, windows/queue.c, windows/user.c, include/process.h, include/queue.h, include/server.h, scheduler/process.c, server/Makefile.in, server/object.h, server/process.c, server/process.h, server/queue.c, server/request.h, server/thread.c, server/thread.h, server/trace.c: Moved idle event handling to the server. * windows/win.c: Use GetStartupInfoA() instead of accessing process structure directly. * loader/task.c: Make sure initial task is not marked as 32-bit. * misc/options.c: Make child processes inherit command-line options through the WINEOPTIONS environment variable. * windows/win.c: Serge Ivanov SetParent: call SetWindowPos with SWP_NOACTIVATE flag set. * dlls/Makefile.in, dlls/gdi/Makefile.in, dlls/gdi/dispdib.spec, if1632/Makefile.in, if1632/dispdib.spec: Dimitrie O. Paun Moved DISPDIB out of the kernel into GDI. * controls/combo.c, include/combo.h: David Grant - Creating combobox with CBS_SIMPLE style shall set internal flag CBF_EDIT. - Edit text must be selected only if CB is in focus. - If CB has edit control we have to call CBUpdateEdit to update its contents. Invalidating textRect will not force updating of child edit control, obviously. - We have to protect ourselves from changing selection in listbox when we receive listbox notification. So LBN_SELCHANGE -> CBUpdateEdit -> EN_CHANGE will not reselect item in the lisbox. * dlls/gdi/gdi_main.c: Dimitrie O. Paun Add include for LoadLibrary. * include/server.h, memory/atom.c, relay32/kernel32.spec, server/atom.c, server/process.c, server/process.h, server/request.h, server/trace.c: Turchanov Sergei Implemented local atoms in the server. * if1632/builtin.c: Do not load wineps on startup. * misc/comm.c: Gerald Pfeifer Fixed warning. * controls/combo.c: Owen Wang When you click on an icon to open a combo box, you would expect it to be enabled so you can choose something in it. In Wine this was not guaranteed since your default flags could get lost in the process-heap of the application. 2000-05-29 Alexandre Julliard * msdos/int21.c, scheduler/client.c, scheduler/process.c, scheduler/thread.c, win32/except.c, windows/nonclient.c, windows/queue.c, windows/user.c, loader/dos/module.c, loader/ne/module.c, loader/pe_image.c, loader/task.c, memory/environ.c, misc/main.c, misc/options.c, miscemu/main.c, msdos/int20.c, dlls/shell32/shell.c, include/main.h, include/module.h, include/options.h, include/pe_image.h, include/process.h, include/task.h, include/thread.h, loader/main.c, loader/module.c: Exec a separate wine binary for every win32 process so that they run in separate address spaces. Run 16-bit tasks as Win32 threads, not processes. 2000-05-26 Alexandre Julliard * include/version.h, ANNOUNCE, ChangeLog: Release 20000526. * controls/listbox.c: Serge Ivanov - Added handling of WM_MOUSEACTIVATE message - Added in_focus field to internal listbox's structure. This flag is set on receiving WM_SETFOCUS message and is reseted on WM_KILLFOCUS. All calls to GetFocus function were replaced with checks of this flag. - In LISTBOX_HandleLButtonDown: focus is set only if 'in_focus' flag is clear * dlls/dplayx/dplay.c, dlls/dplayx/dplayx_global.c, dlls/dplayx/dplayx_global.h, dlls/dplayx/name_server.c, dlls/dplayx/name_server.h: Peter Hunnisett Started local name server framework. * dlls/commdlg/finddlg.c, dlls/commdlg/fontdlg.c, dlls/commdlg/printdlg.c, include/commdlg.h, dlls/commdlg/cdlg.h, dlls/commdlg/cdlg_En.rc, dlls/commdlg/comdlg32.spec, dlls/commdlg/filedlg.c: Huw D M Davies Add PrintSetup dialog and support for hooks and templates. Move 16 bit api definitions out of commdlg.h to cdlg.h ---------------------------------------------------------------- 2000-05-26 Alexandre Julliard * controls/listbox.c: Serge Ivanov - Added handling of WM_MOUSEACTIVATE message - Added in_focus field to internal listbox's structure. This flag is set on receiving WM_SETFOCUS message and is reseted on WM_KILLFOCUS. All calls to GetFocus function were replaced with checks of this flag. - In LISTBOX_HandleLButtonDown: focus is set only if 'in_focus' flag is clear * dlls/dplayx/dplay.c, dlls/dplayx/dplayx_global.c, dlls/dplayx/dplayx_global.h, dlls/dplayx/name_server.c, dlls/dplayx/name_server.h: Peter Hunnisett Started local name server framework. * dlls/commdlg/finddlg.c, dlls/commdlg/fontdlg.c, dlls/commdlg/printdlg.c, include/commdlg.h, dlls/commdlg/cdlg.h, dlls/commdlg/cdlg_En.rc, dlls/commdlg/comdlg32.spec, dlls/commdlg/filedlg.c: Huw D M Davies Add PrintSetup dialog and support for hooks and templates. Move 16 bit api definitions out of commdlg.h to cdlg.h * controls/edit.c: Henning Hoffmann Don't send EN_CHANGE after painting the edit. Send it wherever text is changed. * controls/edit.c: Ulrich Czekalla Moved the EN_UPDATE notification out of the paint handler. Instead, the notification is sent when an InvalidateRect is made after modifying the text. * dlls/comctl32/tooltips.c: Francois Methot (Macadamian) Fixed the blank color palette tooltip bug by triggering a refresh of the tooltip with UpdateWindow function instead of calling directly the refresh function. * debugger/Makefile.in, debugger/external.c, misc/Makefile.in, misc/ext_debugger.c: James Juran DEBUG_ExternalDebugger() needs to be a part of wine, not winedbg. 2000-05-25 Alexandre Julliard * Make.rules.in: Do not clear suffixes list (breaks BSD make). * dlls/winspool/info.c, include/winspool.h: Huw D M Davies Move winspool to unicode. Minor bug fixes. * dlls/comctl32/trackbar.c: Aric Stewart Reworked the thumb drawing code, thumb calculation code, channel calculation code, and corrected some bugs in how tics are drawn and how clicks are handled. * controls/edit.c: Louis-Philippe Gagnon (of Macadamian Technologies for Corel) Added event handler for WM_MBUTTONDOWN (sends WM_PASTE message). * dlls/comctl32/toolbar.c: Chris Morgan Use clipping regions to reduce the amount of processing performed when the toolbar is repainting. Reduces processing by approximately 85-95% in most cases. * dlls/comctl32/treeview.c: Gerard Patel Fixes crash when calling Treeview_EndEditLabelNow and no node is currently edited. 2000-05-24 Alexandre Julliard * dlls/comctl32/flatsb.c: Susan Farley Defer to standard scrolling APIs for non-flatSB specific functions so that flatSBs show up and behave properly, just not with flat properties. * graphics/x11drv/dib.c: Rob Farnum Separate out the 32bit case from the 24bit case, and copy 3bytes of source for every 4bytes of input, into the destination for the 24bit case. * include/winbase.h, include/winnt.h, win32/file.c: Francois Gouget Sorted out a few misplaced definitions. Added some missing definitions related to file handling and virtual memory manipulation. Added IsTextUnicode. * dlls/comctl32/treeview.c: Aric Stewart Added handling for TVS_SINGLEEXPAND. * dlls/comctl32/tab.c: Aric Stewart Corrected the problem where a tab control marked multiline but has only one tab was being justified to fill the whole tab space. * msdos/dpmi.c: Marcus Meissner Commented out broken __asm__, added comments where it is broken. * dlls/comctl32/listview.c: Martin Fuchs Inserted a missing call to SetWindowPos(). With this change the header control is visible again in list views with report style. * Make.rules.in, tools/wrc/Makefile.in: Revived the GEN_C_SRCS variable to support wrc lex/yacc sources. 2000-05-23 Alexandre Julliard * windows/message.c: Alexandre Julliard (for Corel) Send a normal mouse message code in WM_PARENTNOTIFY, even if the actual message was a non-client one. * server/registry.c, dlls/ddraw/main.c, dlls/opengl32/wgl.c, dlls/x11drv/x11drv_main.c, include/x11drv.h: Patrik Stridvall Fixed issues found by winapi_check. * tools/winapi_check/modules.dat, tools/winapi_check/modules.pm, tools/winapi_check/nativeapi.dat, tools/winapi_check/win32/opengl32.api, tools/winapi_check/winapi.pm, tools/winapi_check/winapi_check, tools/winapi_check/winapi_function.pm, tools/winapi_check/winapi_local.pm, tools/winapi_check/winapi_options.pm: Patrik Stridvall - Updated API files - Better headers and prototype checking - Prototype checking now called --prototype instead of --headers - New options --headers-{duplicated,misplaced} for duplicated/misplaced functions checking of the headers. - Minor bug fixes. * Make.rules.in, configure, configure.in: Hidenori Takeshima If system doesn't have OpenGL, don't refer to libopengl32.so. * dlls/ole32/datacache.c, dlls/ole32/defaulthandler.c: Abey George (of Macadamian/Corel) When you open files with Embedded objects, they were not getting drawn correctly. When you paste OLE objects with presentation data, they were not getting drawn correctly. * controls/menu.c: Rob Farnum Post a WM_CANCELMODE message to wake up the internal menu handling code. This fixes the problem of a menu being orphaned when the parent window disappears, or if the parent loses focus. * dlls/winsock/socket.c: Gerald Pfeifer Fix a mismatch between format string and parameter. * dlls/comctl32/updown.c: Susan Farley SetBuddy no longer overwrites its superclass' WndProc property when the buddy has already been subclassed, eliminating the infinite loop that resulted. * configure, configure.in: John R. Sheets Cleaned up X11 extension tests. * controls/edit.c: Ulrich Czekalla Capture ^V,^X,^C and translate it to the corresponding message for paste, cut, copy. * dlls/opengl32/make_opengl_spec, dlls/opengl32/opengl32.spec, dlls/opengl32/wgl.c: Lionel Ulmer - fixed the OpenGL32 spec file (and the make_opengl_spec tool) - prevent HalfLife from crashing when it frees three times the same rendering context * graphics/vga.c, include/vga.h: Ove Kaaven Improved DirectDrawPalette handling (set it on init, not every time it changes). Added VGA_WriteChars() function. * msdos/int33.c: Ove Kaaven Scale mouse coordinates to default width 640. * dlls/ddraw/ddraw/main.c: Ove Kaaven Made WINE_DirectDraw a decorationless popup window. Fixes mouse coordinates previously offset by the invisible decorations. * include/winnt.h: Gerald Pfeifer #undef DELETE before (re)defining it. * dlls/comctl32/tooltips.c: Chris Morgan Fixed tooltips. * dlls/comctl32/toolbar.c: Chris Morgan Reduce toolbar redrawing and flicker by calling RedrawWindow() in TOOLBAR_MouseMove() only if hot effect applies to the current hot button. Restore bHot flag of hot button in TOOLBAR_LButtonUp() to restore hot effect properly. * controls/listbox.c: Serge Ivanov Fixed WM_LBUTTONDBLCLK handling. * include/win.h, include/x11drv.h, windows/defwnd.c, windows/nonclient.c, windows/x11drv/wnd.c: Susan Farley Set and retrieve the window icon that is drawn under managed mode (based on the work of Andrew Lewycky for Corel). * dlls/comctl32/toolbar.c: Aric Stewart Corrected a problem of when oldHit is negative and we try to use it as an index into the buttons array. * include/windows.h: Francois Gouget Should include commdlg.h. * include/windef.h: Francois Gouget Define the _X86_ macro on Intel processors. * controls/edit.c: Andreas Mohr Some part of EDIT_EM_LineLength code was commented (broken). Restored the capability to calculate the remaining non-selected chars of a selection area. * dlls/ddraw/ddraw/dga.c, dlls/ddraw/ddraw/x11.c: Lionel Ulmer Remove the PRIMARYSURFACE attribute from back buffers. * dlls/comctl32/listview.c: Aric Stewart If a listview is created with LVS_NOCOLUMNEHEADER then wine creates the header like normal but just sets it not visible. This fix lays out those supposedly nonexistent headers to size 0,0. So that even if they become visible they are not drawn. * dlls/commdlg/colordlg.c, include/wine/winuser16.h: Gerard Patel Remove the direct call into core (DIALOG_DoDialogBox). * dlls/ddraw/ddraw/dga.c, dlls/ddraw/ddraw/dga2.c, dlls/ddraw/dga_private.h: Lionel Ulmer Initialize the back-buffer with the correct VTable. * dlls/opengl32/opengl32.spec, dlls/opengl32/wgl.c, dlls/x11drv/x11drv_main.c, dlls/opengl32/make_opengl_spec, wine.ini: Lionel Ulmer - added option to get double-buffered desktop - implemented wglUseFontBitmapsA and wglDeleteContext * tools/wrc/CHANGES, tools/wrc/README.wrc, tools/wrc/dumpres.c, tools/wrc/dumpres.h, tools/wrc/genres.c, tools/wrc/newstruc.c, tools/wrc/newstruc.h, tools/wrc/parser.h, tools/wrc/parser.l, tools/wrc/parser.y, tools/wrc/utils.c, tools/wrc/utils.h, tools/wrc/wrc.h, tools/wrc/wrc.man, tools/wrc/wrctypes.h, tools/wrc/writeres.c: Bertho Stultiens - Implemented animated cursors and icons resource types. - Added partial support for font resources (user supplied fontdir is required). - All resources with inline data (a la RCDATA) now support language, version and characteristics data. - Implemented resource name duplicate checks. It is now an error if two resources of the same type have the same name. - Bugfix: Language propagation was not correct when .res files were generated. - Bugfix: VERSIONINFO now handles memory options. - Bugfix: resource names and the resource type may be equal (e.g. MENU MENU {...}). This support was mistakingly deleted in the upgrade to the builtin preprocessor. The standalone LANGUAGE setting became context sensitive as a consequence of this. Now it *must* end with a newline *after* both expressions and no newlines are allowed within the line (the statement must fit on one line). This is no practical problem though. * tools/winapi_check/output.pm: Francois Gouget Send regular messages to stdout so that they are separate from progress messages. * documentation/bugreports: Gerard Patel Regression testing using CVS. * dlls/dplayx/dplay.c, dlls/dplayx/dplayx_global.c, documentation/status/directplay: Peter Hunnisett - Small fixes/updates - Add support for the DPCONNECTION_DIRECTPLAYLOBBY flag * documentation/winedbg: Eric Pouech A bit of documentation on new debugging features. * files/directory.c: James Juran SearchPathA needs to set the last error to ERROR_FILE_NOT_FOUND when it does not find the file. * scheduler/debugger.c: Andreas Mohr Use WARN() instead of TRACE() in DebugOutputA(). * memory/heap.c: Huw D M Davies HeapFree on a NULL ptr should return TRUE. 2000-05-19 Alexandre Julliard * dlls/comctl32/listview.c: Chris Morgan Update nItemWidth in LISTVIEW_SetItem() if LVS_LIST or LVS_SMALLICON mode and item text is wider than the current nItemWidth. * loader/task.c: Ulrich Weigand U Fixed initialization of INSTANCEDATA in InitTask(). * dlls/ole32/storage.c: Uwe Bonnes StgOpenStorage16: correct arguments to the CreateFile call. * files/dos_fs.c: Uwe Bonnes DOSFS_DoGetFullPathName: terminate string weh called like .\\file * dlls/icmp/icmp_main.c: Francois Gouget Replace the calls to malloc by calls to HeapAlloc and friends. * dlls/comctl32/toolbar.c: Aric Stewart Fixes the line of garbage at the bottom of images and the fact that the buttons in the open dialog box where too tall. * dlls/ole32/Makefile.in, dlls/ole32/ole2conv.spec, dlls/ole32/ole2prox.spec, dlls/ole32/ole2thk.spec, if1632/.cvsignore, if1632/Makefile.in, if1632/ole2conv.spec, if1632/ole2prox.spec, if1632/ole2thk.spec, dlls/Makefile.in: Dimitrie O. Paun Moved if1632/ole2{conv,prox,thk}.spec into dlls/ole32. 2000-05-18 Alexandre Julliard * include/d3d.h, include/d3dcaps.h, include/d3dtypes.h, include/dsound.h: Peter Hunnisett - Added remaining DirectX 3D3 6&7 3D interfaces. - Added d3dcaps.h, d3dtypes.h and rearranged contents according to DirectX 7 headers. - Fixed dsound.h include list (d3d.h->d3dtypes.h). * programs/regapi/README: Juergen Lock Minor update. * misc/printdrv.c: Patrik Stridvall Fixed issues found by winapi_test. * dlls/gdi/gdi32.spec, include/wingdi.h, objects/dc.c, objects/dcvalues.c: Patrik Stridvall GetRelAbs for some reason takes 2 parameters, even though the second one is ignored at least on Windows NT 3.51 according to Marcus Meissner. * controls/edit.c: Sheri Steeves The edit is now detected correctly if the parent is a combo box. It wasn't working when the combobox was superclassed. * windows/nonclient.c: Francois Boisvert System icons in the small caption bars are displayed with the right size. * dlls/opengl32/make_opengl_norm, dlls/opengl32/opengl_norm.c, dlls/opengl32/wgl.c: Patrik Stridvall Fixed issues found by winapi_check. * tools/winapi_check/modules.dat, tools/winapi_check/win32/opengl32.api, tools/winapi_check/winapi.pm, tools/winapi_check/winapi_check, tools/winapi_check/winapi_options.pm, tools/winapi_check/winapi_parser.pm: Patrik Stridvall Minor bug fixes. * dlls/comctl32/tab.c: Francois Gouget Convert C++ comments to regular C comments. * dlls/ddraw/dga_private.h, dlls/ddraw/dsurface/dga.c, dlls/ddraw/dsurface/dga2.c, dlls/ddraw/dsurface/x11.c, dlls/ddraw/x11_private.h: Ove Kaaven Made IDirectDrawSurface::SetPalette set the surface's DIBSection color map to point to the IDirectDrawPalette's own depth conversion color map. * dlls/ddraw/ddraw/main.c, dlls/ddraw/main.c: Ove Kaaven Initialize an identity mapping in CreatePalette if no depth conversion is necessary. Also fixed a warning. * graphics/x11drv/dib.c: Ove Kaaven Made X11DRV_DIB_MapColor map back to the original color index if the XImage pixel's physical color is still the same. 2000-05-15 Alexandre Julliard * graphics/x11drv/xfont.c: Use the correct display for cached metrics file name. Store metrics in specified config dir. * dlls/x11drv/x11drv_main.c, include/options.h, wine.ini: Make sure all Wine processes share the same X display. Inherit --managed option across processes. Add support for specifying display and managed mode in config file. * dlls/ddraw/convert.c: Ove Kaaven Use unsigned int instead of unsigned short in DirectDraw depth-conversion color map. * controls/listbox.c: Susan Farley Avoid calls to SetFocus when they are unnecessary. 2000-05-14 Alexandre Julliard * dlls/comctl32/treeview.c: David Black Implemented TVM_EDITLABELA, plus some improvements to EndLabelEditNow. * dlls/winmm/wineoss/midi.c: Andreas Mohr More verbose errors. * windows/nonclient.c: Chris Morgan Fixed borders of windows while dragging or sizing to match TWEAK_WineLook setting. * relay32/builtin32.c: Gerald Pfeifer #include before . * misc/Makefile.in, misc/ddeml.c, dlls/Makefile.in, dlls/user/Makefile.in, dlls/user/ddeml.c, dlls/user/ddeml.spec, if1632/.cvsignore, if1632/Makefile.in, if1632/ddeml.spec, if1632/ole2nls.spec: Dimitrie O. Paun Moved DDEML into dlls/user. * dlls/advapi32/registry.c, include/server.h, misc/registry.c, server/registry.c, server/trace.c: Added support for registry values larger than the server buffer. When loading a registry file, automatically determine overlap between key name and file contents based on the first key name. Removed v1 saving code. Save USER\.Default separately into ~/.wine/userdef.reg. * dlls/ddraw/ddraw/dga.c, dlls/ddraw/ddraw/dga2.c, dlls/ddraw/ddraw/main.c, dlls/ddraw/ddraw/x11.c, dlls/ddraw/dga.c, dlls/ddraw/dga2.c, dlls/ddraw/dga_private.h, dlls/ddraw/dsurface/dga.c, dlls/ddraw/dsurface/dga2.c, dlls/ddraw/dsurface/main.c, dlls/ddraw/dsurface/x11.c: Ove Kaaven Improved DIBSection support for IDirectDrawSurface::GetDC. * graphics/x11drv/opengl.c, dlls/opengl32/wgl.c: Lionel Ulmer - set debug messages after a TRACE_ON test - prevent crash when making the NULL context current * controls/menu.c: Gerard Patel When new menu Id is not found or index > nitems, insert the new menu at end of current menu. 2000-05-13 Alexandre Julliard * dlls/ddraw/d3d_private.h, dlls/ddraw/ddraw.spec, dlls/ddraw/ddraw/x11.c, dlls/ddraw/direct3d/mesa.c, dlls/ddraw/main.c, dlls/ddraw/mesa_private.h, include/ddraw.h: Peter Hunnisett - Added ability to create 3D3 interfaces for Xlib - Changed DD_OK to D3D_OK in some places for consistency - Cleaned up some compiler warnings present without DGA2 - Changed order for DirectDrawEnumerateExA to enumerate at least what abilities are known rather than bailing on unsupported flags - Added DirectDrawCreateEx stub 2000-05-12 Alexandre Julliard * controls/menu.c: Susan Farley Distinguish RADIOCHECK style menu items from standard checkmark menu items. * controls/button.c: Susan Farley Like the AUTORADIOBUTTON, the parent of a RADIOBUTTON style button should be sent a BN_CLICKED when it receives the focus. * files/dos_fs.c: Uwe Bonnes GetFullPathname: add missing termination to the string. * tools/wrc/genres.c, tools/wrc/newstruc.c, tools/wrc/parser.y, tools/wrc/wrc.c: Patrik Stridvall Fixed byte order on Solaris and FreeBSD. * graphics/metafiledrv/init.c, graphics/psdrv/init.c, graphics/ttydrv/init.c, graphics/win16drv/init.c, graphics/x11drv/Makefile.in, graphics/x11drv/init.c, graphics/x11drv/opengl.c, include/acconfig.h, include/config.h.in, include/debugdefs.h, include/gdi.h, include/wine_gl.h, include/x11drv.h, loader/loadorder.c, dlls/Makefile.in, dlls/ddraw/d3dviewport.c, dlls/ddraw/ddraw/dga.c, dlls/ddraw/ddraw/x11.c, dlls/ddraw/dsurface/x11.c, dlls/ddraw/mesa_private.h, dlls/opengl32/.cvsignore, dlls/opengl32/Makefile.in, dlls/opengl32/make_opengl_ext, dlls/opengl32/make_opengl_norm, dlls/opengl32/make_opengl_spec, dlls/opengl32/opengl32.spec, dlls/opengl32/opengl_ext.c, dlls/opengl32/opengl_ext.h, dlls/opengl32/opengl_norm.c, dlls/opengl32/wgl.c, dlls/opengl32/wgl.h, graphics/enhmetafiledrv/init.c, graphics/painting.c, Make.rules.in, configure, configure.in: Lionel Ulmer Added support for OpenGL. * dlls/shell32/shlfolder.c: Eric Pouech Fixed absolute path to pidl generation. 2000-05-11 Alexandre Julliard * dlls/shell32/shlfolder.c: Alexandre Julliard (for Corel) Fixed buffer overflow. * dlls/imagehlp/access.c, dlls/imagehlp/integrity.c, dlls/imagehlp/symbol.c, dlls/shell32/brsfolder.c, dlls/shell32/shellord.c, dlls/tapi32/line.c, dlls/tapi32/phone.c, windows/driver.c: Patrik Stridvall Fixed some debug messages. * dlls/richedit/richedit.c, include/richedit.h, dlls/comctl32/listview.c: Patrik Stridvall Fixed issues found by winapi_check. * tools/winapi_check/modules.dat, tools/winapi_check/win16/ole2disp.api, tools/winapi_check/win32/advapi32.api, tools/winapi_check/win32/crtdll.api, tools/winapi_check/win32/imagehlp.api, tools/winapi_check/win32/kernel32.api, tools/winapi_check/win32/ntdll.api, tools/winapi_check/win32/oleaut32.api, tools/winapi_check/win32/riched32.api, tools/winapi_check/winapi.pm, tools/winapi_check/winapi_check, tools/winapi_check/winapi_function.pm, tools/winapi_check/winapi_local.pm, tools/winapi_check/winapi_options.pm, tools/winapi_check/winapi_parser.pm: Patrik Stridvall - Check for missing modules in modules.dat. - New options --debug-messages for debug message checking (turned off by default) - Do not discard the argument name (use in debug message checking) - Improved parsing - Minor bug fixes * graphics/x11drv/dib.c: Marcus Meissner Fixed asm() constraints. * debugger/dbg.y, debugger/debugger.h, debugger/info.c, debugger/intvar.h, debugger/stabs.c, debugger/stack.c, debugger/types.c, debugger/winedbg.c: Eric Pouech Fixed %p in printf (now using wsprintf which doesn't support it). Added ThreadId and ProcessId internal vars. Allow at startup to pick up a process to debug. * dlls/winmm/wineoss/audio.c: Eric Pouech Fixed division by zero. * dlls/comctl32/trackbar.c: Eric Pouech Fixed some quirks (range is 32 bit, page up/dn mismatch on HZ trackbars). * windows/scroll.c: Ove Kaaven Scroll off-screen controls when scroll rectangle is NULL. * dlls/comctl32/tab.c, include/tab.h: Ken Thomases Implemented tab control style TCS_HOTTRACK (tabs are highlighted on mouse-over). * dlls/comctl32/imagelist.c: Aric Stewart Remove the background from the new image when it is being replaced with a ReplaceImage. * loader/ne/module.c, loader/ne/segment.c, loader/task.c: Bernd Herd Make sure hInstance is a proper global handle and not a selector value. * dlls/commdlg/printdlg.c: Jean-Claude Batista PrintDialog now creates a DC when receiving a PD_RETURNDC flag. * dlls/comctl32/treeview.c: Aric Stewart Clean up the drawing code after a label update. There were problems if the new label is shorter that the old label fragments of the old label were left drawn. * windows/win.c: Guy Albertelli Clear menu handle after destroying menu. * controls/menu.c: Guy Albertelli Revalidate menu handle in mt.hTopMenu after DispatchMessage. * windows/dialog.c: Bernd Herd Pass CTLDATA as SEGPTR for 16-bit programs. * dlls/version/ver16.c: Alexander Frink Prevent possible NULL pointer access. 2000-05-10 Alexandre Julliard * controls/menu.c: Aric Stewart - Wine was passing the wrong hwnd as the owner when processing owner drawn menubars. - When doing MENU_CalcItemSize for the menu bar we were not properly padding the returned rect. * dlls/comctl32/treeview.c: Aric Stewart Allow the user to cancel label editing with esc and confirm with return. * dlls/comctl32/tab.c: Ken Thomases Restore accidentally undone changes. * dlls/comctl32/treeview.c: Aric Stewart - Wine was not properly reporting back the edited label to the application in a treeview when the label is a callback. - Because windows applications assume they get a new edit control every time they often subclass that edit box willy-nilly and do not clean up. So it is necessary to actually give them a new edit control each time. * dlls/comctl32/toolbar.c: Aric Stewart - Cleaned up some of the drawing code, specifically dealing with avoiding trying to draw invalid bitmaps. - Avoid directly calling drawing functions instead invalidating rects and relying on WM_PAINT. - For the dropdown event check the button style as opposed to the toolbar style. * dlls/dsound/dsound_main.c: Eric Pouech Make internal buffers size multiple of 4. * windows/mdi.c: Guy L. Albertelli Verify the menu handle is non-zero prior to use. * controls/menu.c: Ken Thomases Fixed to display popup-menu arrow on owner-drawn popup menus. Fixed positioning of submenus relative to parent menus. * windows/x11drv/event.c, dlls/comctl32/animate.c, dlls/winmm/time.c, graphics/vga.c, misc/system.c, scheduler/services.c, windows/timer.c: Specify the service thread timers in ms instead of us. * relay32/builtin32.c, relay32/relay386.c, tools/build.c, include/builtin32.h, include/winnt.h, misc/main.c: Reserve space for the PE header at the start of the .so file. Store the export table inside the data section so that sections can be properly aligned. Build the relay function table directly in the .spec.c file. Moved relay debugging functions to relay386.c. * dlls/comctl32/pager.c, dlls/comctl32/progress.c, dlls/comctl32/rebar.c, dlls/comctl32/status.c, dlls/comctl32/tab.c, dlls/comctl32/tooltips.c, dlls/comctl32/trackbar.c, dlls/comctl32/updown.c, dlls/comctl32/animate.c, dlls/comctl32/comboex.c, dlls/comctl32/header.c, dlls/comctl32/hotkey.c, dlls/comctl32/ipaddress.c, dlls/comctl32/listview.c, dlls/comctl32/monthcal.c: Gerard Patel Protect against use of comctl32 private control memory after it has been freed. * dlls/comctl32/status.c: Aric Stewart Some programs switch their status bar back and forth from simple mode while running. This fix corrects drawing and text setting problems that result from this behavior. 2000-05-09 Alexandre Julliard * memory/heap.c: Alexandre Julliard (for Corel) Fixed HeapAlloc(HEAP_ZERO_MEMORY) to clear the whole allocated block. Various optimizations. * dlls/winmm/wineoss/audio.c: Eric Pouech Changed WAVEHDR notification heuristic. Added preliminary support for loops in WAVEHDRs. Fixed issues when mixing open and getCaps calls. * tools/wrc/CHANGES, tools/wrc/Makefile.in, tools/wrc/README.wrc, tools/wrc/dumpres.c, tools/wrc/genres.c, tools/wrc/newstruc.c, tools/wrc/parser.h, tools/wrc/parser.l, tools/wrc/parser.y, tools/wrc/readres.c, tools/wrc/wrc.c, tools/wrc/wrc.h, tools/wrc/wrc.man, tools/wrc/wrctypes.h, tools/wrc/writeres.c: Bertho Stultiens - Bugfix: Corrected a SEGV in the rawdata handling. Mistakingly took the address of a pointer instead of its value. This probably slipped in during the merge of my tree into the winetree. Lesson learned: always double check. - Verified most resources so that win16 compile also generates correct output for reversed endian. - Implemented byte-ordering for resources. All resources can be forced to be little-, big- or native endian with command-line option -B. - Reading resources from .res-files are only accepted in native byte- ordering so that no additional semantic analysis is required. - Resource directory is still written in native-only format, including the strings. - Wrc is now installed through the makefile with 'make install' and also uninstalled with 'make uninstall'. - Wrote a man-page for better reference. The manpage also gets installed and uninstalled. - Cleaned up the namespace a bit by more agressive use of static. * dlls/comctl32/tab.c, include/tab.h: Aric Stewart Added the ability to use multiline tab controls to wine. * dlls/ddraw/dsurface/main.c, dlls/ddraw/dsurface/x11.c: Marcus Meissner Number of surface Lock/Unlocks must NOT match, so do NOT use it for reference counting. * tools/wineinstall: Ove Kaaven Update for new Wine features; use ttydrv instead of x11drv when running regapi, and set correct winedbg path in the registry. * scheduler/pthread.c: Ove Kaaven Fixed jump_alias for non-PIC, and disabled it for PIC, since it doesn't work for PIC right now. This fixes current crashing sigaction calls. * debugger/memory.c: Eric Pouech Fixed x /s command. * dlls/advapi32/registry.c: Andreas Mohr Added some reg temp file clutter check (more than 100 temp files in ~/.wine). 2000-05-07 Alexandre Julliard * graphics/x11drv/dib.c: Marcus Meissner SetImageBits_8: added ->15 conversion in optimized assembler. * dlls/richedit/Makefile.in, dlls/richedit/ansi_gen.h, dlls/richedit/ansi_sym.h, dlls/richedit/charlist.c, dlls/richedit/charlist.h, dlls/richedit/reader.c, dlls/richedit/riched32.h, dlls/richedit/riched32.spec, dlls/richedit/riched32_main.c, dlls/richedit/richedit.c, dlls/richedit/rtf.h, dlls/richedit/rtf2text.h, dlls/richedit/stdcharnames.h, dlls/richedit/text-writer.c, dlls/richedit/text_map.h, include/richedit.h: Jean-Claude Batista Wraps some RichEdit control functionality on an Edit control. It uses a free implementation of an RTF parser written by Paul DuBois http://www.primate.wisc.edu/software/RTF/ which I modified a bit to work with the control. * windows/winproc.c: Do not send WM_SIZING to 16-bit windows. * dlls/gdi/gdi_main.c, dlls/user/user_main.c: Cleaned up local heap initialisation. * dlls/commdlg/cdlg32.c, dlls/ole32/ole2.c, include/winbase.h, include/wine/winbase16.h, loader/pe_image.c, relay32/builtin32.c, windows/driver.c: Moved Load/FreeLibrary16 definition to winbase16.h. * dlls/Makefile.in, dlls/ole32/Makefile.in, dlls/ole32/ole2nls.c, dlls/ole32/ole2nls.spec, if1632/Makefile.in, ole/ole2nls.c: Dimitrie O. Paun Separate OLE2NLS out of KERNEL. * tools/winapi_check/modules.dat, tools/winapi_check/modules.pm, tools/winapi_check/winapi_check: Patrik Stridvall - Check for missing modules in modules.dat. - Minor bug fixes * graphics/x11drv/dib.c: Jean-Claude Batista (Macadamian/Corel) Top-down images have a negative biHeight, the scanlines of theses images were inverted in X11DRV_DIB_GetImageBits_xx. To prevent this I simply changed the sign of lines, the scanlines were correctly handled afterwards * debugger/stabs.c: Marcus Meissner Old versions of glibc might not have STN_UNDEF defined. * files/file.c: Gerard Patel Revert the test for Virtual_HandleFault in ReadFile/WriteFile. * dlls/comctl32/status.c: Gerard Patel Set the itemID member of the DRAWITEMSTRUCT to the number of the status part painted. * windows/mdi.c: Gerard Patel Always calls SetMenu in MDISetMenu. * dlls/tapi32/line.c: Dimitrie O. Paun Small debug channel cleanup. * controls/listbox.c: Chris Morgan Fixed scrolling bug. * dlls/comctl32/listview.c, include/listview.h: Chris Morgan Implemented ListView_SetHoverTime(), ListView_GetHoverTime(), initial support for the LVS_EX_TRACKSELECT flag. Added code to delete items in LISTVIEW_SetItemCount(). 2000-05-05 Alexandre Julliard * include/winuser.h, windows/nonclient.c: Aric Stewart Added WM_SIZING message support. * graphics/path.c: Rob Farnum Removed warnings from freeing path in DeleteDC. * dlls/comctl32/header.c: Aric Stewart Fixed a bug with the processing of HitTest. * controls/edit.c: Susan Farley Handle ^C, ^V and ^X in an edit control properly. * misc/registry.c: Huw D M Davies Strip the $$$PROTO.HIV bit from win2k SYSTEM and SOFTWARE hives. * dlls/comctl32/treeview.c: Huw D M Davies Fixed DC leak. * loader/pe_resource.c: Stephane Lussier If we do not find a resource for both (primary lang|sub lang), we try just (primary lang) before using the default. * dlls/comctl32/tooltips.c: Sheri Steeves Worked around some tooltips hide problems by checking the current tooltip. * documentation/distributors: Andreas Mohr Added a configuration hint for the CD-ROM "unhide" option. * ole/ole2nls.c: Henning Hoffmann (of Macadamian for Corel) Implemented SetLocaleInfo(). It required a change to GetLocaleInfo() as well, because GetLocaleInfo() has to get any values saved by SetLocaleInfo() in the registry. * debugger/break.c, debugger/dbg.y, debugger/debugger.h, debugger/intvar.h, debugger/module.c, debugger/stabs.c, debugger/winedbg.c: Eric Pouech Fixed some buffer overflows. Made stab parsing more robust (now ignores C++ stabs). Display correct backtrace at first when invoked on unhandled exception. Loads stabs from .so files when those are loaded. 2000-05-03 Alexandre Julliard * include/debugdefs.h: Generated again. * include/pe_image.h, loader/pe_image.c: PE_LoadImage: removed version parameter, set last error correctly. * scheduler/process.c, server/process.c, server/trace.c, include/process.h, include/server.h: Store process file name in startup info. Fixed exe_file handling. * dlls/Makefile.in: Fixed typo. * Make.rules.in, configure, configure.in, dlls/Makefile.in, dlls/richedit/.cvsignore, dlls/richedit/Makefile.in, dlls/richedit/riched32.spec, dlls/richedit/riched32_main.c: Hidenori Takeshima Added stubs for riched32.dll. * dlls/x11drv/x11drv_main.c: Lionel Ulmer Call XOpenIM on the large stack. * include/winsock.h: Bang Jun-Young FreeBSD 3.4 compile fix. * debugger/editline.c, debugger/winedbg.c, graphics/vga.c, include/winbase.h, include/wincon.h, relay32/kernel32.spec, server/console.c, win32/console.c: Fixed COORD structure definition. Fixed GetLargestConsoleWindowSize to not return a structure when called from the Window binary. * server/object.c: Small optimization. * scheduler/thread.c: Fixed default thread stack size. * objects/text.c: Fixed DrawTextW length handling. * dlls/ddraw/dsurface/main.c: Lionel Ulmer Remove the assertion when there is no source surface. * include/oleauto.h: Huw D M Davies Add DosDateTimeToVariantTime prototype. * dlls/shell32/shlwapi.spec: Huw D M Davies Map StrChrA to strchr. Fix StrChrW arg list. * include/winuser.h: Huw D M Davies Added HWND_MESSAGE. * dlls/ole32/stg_stream.c: Huw D M Davies Allow ISequentialStream_Write to work if access mode is STGM_READWRITE. * misc/registry.c: Bertho Stultiens Mmap does not fail on zero-length files. 2000-05-01 Alexandre Julliard * include/global.h, memory/virtual.c: Use exception handling to implement the IsBad* functions. Removed /proc/self/maps parsing as it is not very useful with .so libs. * include/process.h, include/thread.h, miscemu/main.c, scheduler/process.c, scheduler/thread.c: Setup the initial thread %fs from a constructor. * dlls/ddraw/dga.c, dlls/ddraw/dga2.c, dlls/ddraw/x11.c, include/winnt.h: Added DECL_GLOBAL_CONSTRUCTOR macro. * resources/user32.rc, tools/Makefile.in, tools/wrc/.cvsignore, tools/wrc/CHANGES, tools/wrc/Makefile.in, tools/wrc/README.wrc, tools/wrc/newstruc.c, tools/wrc/parser.h, tools/wrc/parser.l, tools/wrc/parser.y, tools/wrc/ppl.l, tools/wrc/ppy.y, tools/wrc/preproc.c, tools/wrc/preproc.h, tools/wrc/utils.c, tools/wrc/utils.h, tools/wrc/wrc.c, tools/wrc/wrc.h, tools/wrc/writeres.c, dlls/commdlg/rsrc.rc, dlls/display/disp.rc, dlls/shell32/shres.rc, programs/clock/Makefile.in, programs/notepad/Makefile.in, programs/progman/Makefile.in, programs/winemine/Makefile.in, programs/winhelp/Makefile.in, dlls/comctl32/rsrc.rc: Bertho Stultiens - Implemented a new preprocessor that is (nearly) ANSI-C compliant. The old parser has been stripped from the old preprocessor-code which cleaned up both resource-scanner and -parser. - Standard defines have been introduced (see README.wrc) - Both preprocessor- and resource-scanner have been optimized slightly so that no backing up is required (one char lookahead is enough). - Filename-scanning has been cleaned up, though not perfect yet. - User-type resources are compatible now. - Line-continuation in strings is corrected so that it does not introduce a newline in the output. * scheduler/thread.c, server/process.c, server/process.h, server/request.c, server/request.h, server/thread.c, server/thread.h, server/trace.c, windows/queue.c, loader/module.c, memory/environ.c, miscemu/main.c, scheduler/process.c, include/process.h, include/server.h, include/thread.h, loader/main.c: Rewrote Unix process launching to allow passing startup information to Winelib apps. Improved handling of execve() failures. * files/file.c: Added ENOEXEC error code. * scheduler/pthread.c: Added atfork support. * configure.in, dlls/ddraw/Makefile.in, dlls/ddraw/ddraw/dga.c, dlls/ddraw/ddraw/dga2.c, dlls/ddraw/dga.c, dlls/ddraw/dga2.c, dlls/ddraw/dga2_private.h, dlls/ddraw/dga_private.h, dlls/ddraw/dpalette/dga.c, dlls/ddraw/dsurface/dga.c, dlls/ddraw/dsurface/dga2.c, configure: Lionel Ulmer Added DGA2 driver to DirectDraw. * dlls/commdlg/cdlg32.c: Uwe Bonnes COMDLG32_DllEntryPoint,COMDLG32_SetCommDlgExtendedError: delay allocation of Tls for CommDlgExtendedError until it is needed. * debugger/winedbg.c: Eric Pouech Fixed segv when debugger registry key doesn't exist. * dlls/icmp/icmp_main.c: Gerald Pfeifer Use instead of the deprecated and non-portable . 2000-04-30 Alexandre Julliard * ANNOUNCE, ChangeLog, include/version.h: Release 20000430. * windows/x11drv/wnd.c: Gerard Patel X11DRV_SetFocus: really don't mess with focus for managed windows. * graphics/win16drv/graphics.c, graphics/x11drv/oembitmap.c, graphics/x11drv/text.c, include/heap.h, memory/heap.c, objects/text.c, windows/clipboard.c, windows/input.c, windows/winproc.c: Dimitrie O. Paun Removed HEAP_xalloc. * debugger/break.c, debugger/db_disasm.c, debugger/dbg.y, debugger/debug.l, debugger/debugger.h, debugger/display.c, debugger/editline.c, debugger/expr.c, debugger/hash.c, debugger/info.c, debugger/intvar.h, debugger/memory.c, debugger/registers.c, debugger/source.c, debugger/stabs.c, debugger/stack.c, debugger/types.c, debugger/winedbg.c, debugger/winedbg.spec: Eric Pouech - Enhanced internal variables framework (including read/save to registry and typing) - Finalized use of Windows' Console I/O interface (instead of Unix std streams) - Now handling registers as internal variables (they are no longer seen as a specific type) * win32/except.c: Eric Pouech Insure we always try to launch a debugger. * relay32/wowthunk.c: Uwe Bonnes Use Thread pseudo handle and not Thread Id as argument for the call to GetThreadSelectorEntry. ---------------------------------------------------------------- 2000-04-30 Alexandre Julliard * windows/x11drv/wnd.c: Gerard Patel X11DRV_SetFocus: really don't mess with focus for managed windows. * graphics/win16drv/graphics.c, graphics/x11drv/oembitmap.c, graphics/x11drv/text.c, include/heap.h, memory/heap.c, objects/text.c, windows/clipboard.c, windows/input.c, windows/winproc.c: Dimitrie O. Paun Removed HEAP_xalloc. * debugger/break.c, debugger/db_disasm.c, debugger/dbg.y, debugger/debug.l, debugger/debugger.h, debugger/display.c, debugger/editline.c, debugger/expr.c, debugger/hash.c, debugger/info.c, debugger/intvar.h, debugger/memory.c, debugger/registers.c, debugger/source.c, debugger/stabs.c, debugger/stack.c, debugger/types.c, debugger/winedbg.c, debugger/winedbg.spec: Eric Pouech - Enhanced internal variables framework (including read/save to registry and typing) - Finalized use of Windows' Console I/O interface (instead of Unix std streams) - Now handling registers as internal variables (they are no longer seen as a specific type) * win32/except.c: Eric Pouech Insure we always try to launch a debugger. * relay32/wowthunk.c: Uwe Bonnes Use Thread pseudo handle and not Thread Id as argument for the call to GetThreadSelectorEntry. 2000-04-29 Alexandre Julliard * loader/pe_image.c: Clear the remainder of the page when mapping a section whose size on disk is not a full page multiple. Temporarily commented out the VirtualFree call in PE_UnloadLibrary. * dlls/ddraw/ddraw/x11.c, include/ts_xlib.h, tsx11/X11_calls, tsx11/ts_xlib.c: Lionel Ulmer - added thread-safety protection to XListPixmapFormats - moved pixmap / image format matching ERRs to WARNs * win32/console.c, include/winbase.h: Eric Pouech Fixed GetLargestConsoleWindowSize prototype. * dlls/wininet/ftp.c: Gerald Pfeifer FreeBSD compile fix. * graphics/x11drv/dib.c, include/bitmap.h, include/gdi.h, include/x11drv.h, objects/dib.c: Ove Kaaven Added DIB_CreateDIBSection with extra parameter ovr_pitch, added ovr_pitch to pCreateDIBSection in DC_FUNCS. If ovr_pitch is nonzero, it is a pitch override (specifies bytes per line), and tells to treat the offset parameter as an already-mapped virtual memory address (if the section parameter is zero). Fixed a DIB status init bug in creating DIB sections from file mappings (if created from mapping, the DIB is *not* really InSync). * include/winbase.h, memory/virtual.c: Ove Kaaven Add Wine-internal allocation type MEM_SYSTEM for VirtualAlloc to register external mappings (like video frame buffers). * configure.in, include/config.h.in, scheduler/pthread.c, configure: Eric Pouech Enhanced libc's pthread configuration detection. * dlls/x11drv/x11drv_main.c, graphics/x11drv/bitmap.c, msdos/dosaspi.c, windows/multimon.c: Eric Pouech Fixed a few compilation warnings. * dlls/commdlg/colordlg.c, dlls/shell32/shellord.c: Patrik Stridvall Fixed some warnings. * dlls/dplayx/dpclassfactory.c, dlls/shell32/shell32.spec, dlls/urlmon/urlmon.spec, dlls/urlmon/urlmon_main.c, misc/comm.c: Patrik Stridvall Fixed issues reported by winapi_check. * tools/winapi_check/win32/shell32.api, tools/winapi_check/win32/shlwapi.api, tools/winapi_check/winapi_check, tools/winapi_check/winapi_local.pm, tools/winapi_check/winapi_options.pm, tools/winapi_check/winapi_parser.pm: Patrik Stridvall - API files update - Minor bug fixes. - Added new option --cross-call-unicode-ascii for checking illegal Unicode to ASCII calls. * configure, configure.in, include/config.h.in: Lionel Ulmer Added '--enable-opengl' flag to bypass the thread-safety check. * files/dos_fs.c, files/profile.c, graphics/painting.c, windows/x11drv/event.c, dlls/lzexpand/lzexpand_main.c: Dimitrie O. Paun Removed some HEAP_xalloc calls. * dlls/winmm/mci.c: Eric Pouech Fixed bug when file doesn't exist in MCI_OPEN handling. Reduced time spent with crit sect locked. * tools/build.c: Eric Pouech Fixed argv handling for cuiexe winelib programs. * scheduler/pthread.c: Ove Kaaven Made pthread_kill_other_threads_np and pthread_atfork fixmes less obtrusive. * windows/winhelp.c: Rein Klazes WinHelp must accept a NULL pointer to the help key string. 2000-04-28 Alexandre Julliard * dlls/commdlg/finddlg32.c: Guy L. Albertelli - Correct check for minimum buffer length. - Correct cases where ShowWindow is done/not done. * dlls/comctl32/commctrl.c: Chris Morgan , James Abbatiello Implemented TME_QUERY and TME_HOVER flags in _TrackMouseEvent and TrackMouseEventProc. Added code to allow addition/cancelation of tracking flags on existing entries rather than create extra entries. Fixed timer. Added check to _TrackMouseEvent to stop timer if the tracking list is empty. Fixed TME_CANCEL. Fixed TME_LEAVE/TME_HOVER when hwndTrack isn't the current hwnd. * files/dos_fs.c: Uwe Bonnes DOSFS_DoGetFullPathName: rewrite to return results like OSR2. * include/module.h, loader/module.c, loader/pe_image.c, memory/virtual.c: Gavriel State , Ulrich Czekalla Added support for memory mapping of 4k aligned PE binaries. This can speed up load times significantly for some applications. * dlls/shell32/brsfolder.c, dlls/shell32/shellguid.c, dlls/shell32/shellpath.c, dlls/shell32/shlfileop.c, dlls/shell32/shlfolder.c, dlls/shell32/shlmenu.c, dlls/shell32/shlwapi.spec, dlls/shell32/shres.rc, dlls/shell32/shresdef.h, dlls/shell32/shv_bg_cmenu.c, include/shell.h, include/shlobj.h, include/shlwapi.h, include/wine/obj_shellbrowser.h, include/wine/undocshell.h: Juergen Schmied Complete cleanup, bugfixes. New: PathStripPath, PathMakeUniqueName, PathStripToRoot, PathGetShortPath, PathParseIconLocation, PathRemoveExtension, PathRemoveArgs, PathAppend, PathBuildRoot, PathCanonicalize, PathFindNextComponent, PathRemoveFileSpec. * dlls/shell32/classes.c, include/wine/obj_queryassociations.h: Juergen Schmied Stubs for IQueryAssociations. * dlls/shell32/Makefile.in, dlls/shell32/dialogs.c, dlls/shell32/shellord.c, dlls/shell32/shpolicy.c: Juergen Schmied Moved policy related functions to shpolicy.c Moved dialog related functions to dialogs.c * dlls/shell32/shell32.spec: Juergen Schmied Explicit import user32.dll. Many corrections, exported some functions by name. * dlls/shell32/shell.c, dlls/shell32/shellole.c: Juergen Schmied Separated 32 bit functions to shellole.c. * dlls/shell32/pidl.c: Juergen Schmied Small fixes. * dlls/shell32/iconcache.c: Juergen Schmied Fixed: extract the icon by resource id. * dlls/shell32/shlview.c: Juergen Schmied Small fixes. * dlls/shell32/shell32_main.c, dlls/shell32/shell32_main.h: Juergen Schmied Fixes. Use GetModuleHandleA instead of LoadLibrary for dlls imported by the spec file. * wine.ini: Dmitry Timoshkov Make WineLook=Win95 the default setting. * dlls/dinput/dinput_main.c: Lionel Ulmer Added leaving of critical section on all return cases. * scheduler/pthread.c: Ove Kaaven Removed init_sect. Use Interlocked* functions instead. * misc/registry.c: Juergen Schmied Small fixes, removed asserts. * libtest/Makefile.in, programs/clock/Makefile.in, programs/cmdlgtst/Makefile.in, programs/notepad/Makefile.in, programs/progman/Makefile.in, programs/view/Makefile.in, programs/winhelp/Makefile.in: Changed imports of winspool to winspool.drv. * dlls/Makefile.in, dlls/user/Makefile.in: Added libkeyboard.so creation. * dlls/comctl32/header.c, include/header.h: Martin Fuchs - Return modified rectangle after layouting header control - Output text in header control when no other Flag specified - Delay bounding rectangle calculation for header control items * dlls/comctl32/toolbar.c: Chris Morgan Implemented TOOLBAR_MouseLeave to handle WM_MOUSELEAVE messages. Added TrackMouseEvent calls to TOOLBAR_MouseMove. Hot buttons now look/behave almost exactly the same as native windows. * windows/sysparams.c: Chris Morgan Added default values for SPI_GETMOUSEHOVERHEIGHT, SPI_GETMOUSEHOVERWIDTH and SPI_GETMOUSEHOVERTIME to SystemParametersInfo16(). * misc/comm.c: Rein Klazes Implement mark and space parity generation. Accept one-and- a-half stopbits: the most common uarts will generate this automatically when there are 5 databits. * scheduler/pthread.c: Ove Kaaven Override fork(). * debugger/debugger.h, include/heap.h, memory/heap.c: Dimitrie O. Paun Get rid of HEAP_xrealloc. 2000-04-25 Alexandre Julliard * Make.rules.in, configure, configure.in, dlls/Makefile.in, dlls/ddraw/Makefile.in: Patrik Stridvall Compile fix for --without-x. * loader/main.c, wine.ini: Patrik Stridvall Added new configuration file option for selecting graphics driver. * dlls/ttydrv/Makefile.in: Patrik Stridvall Link the TTY driver with the standard libs. * Make.rules.in, dlls/Makefile.in, dlls/commdlg/Makefile.in, dlls/winspool/.cvsignore, dlls/winspool/Makefile.in: Eric Pouech Fixed winspool(.drv) loading. * windows/x11drv/clipboard.c, windows/x11drv/event.c, windows/x11drv/init.c, windows/x11drv/keyboard.c, windows/x11drv/mouse.c, windows/x11drv/wnd.c, graphics/x11drv/bitblt.c, graphics/x11drv/bitmap.c, graphics/x11drv/brush.c, graphics/x11drv/clipping.c, graphics/x11drv/dib.c, graphics/x11drv/graphics.c, graphics/x11drv/init.c, graphics/x11drv/objects.c, graphics/x11drv/oembitmap.c, graphics/x11drv/palette.c, graphics/x11drv/pen.c, graphics/x11drv/text.c, graphics/x11drv/xfont.c, include/ts_xf86dga.h, include/ts_xf86dga2.h, include/ts_xf86vmode.h, include/ts_xlib.h, include/ts_xpm.h, include/ts_xresource.h, include/ts_xshm.h, include/ts_xutil.h, include/x11drv.h, tools/make_X11wrappers, tsx11/ts_xf86dga.c, tsx11/ts_xf86dga2.c, tsx11/ts_xf86vmode.c, tsx11/ts_xlib.c, tsx11/ts_xpm.c, tsx11/ts_xresource.c, tsx11/ts_xshm.c, tsx11/ts_xutil.c: Patrik Stridvall Removed X_DISPLAY_MISSING. * debugger/types.c, debugger/msc.c: Ulrich Weigand Improved CodeView type information loader. * dlls/commdlg/colordlg.c: Gerard Patel Don't use the template member unless the corresponding flag is set. 2000-04-24 Alexandre Julliard * LICENSE, WARRANTY: Switched to the X11 license. * server/registry.c, if1632/relay.c, misc/ddeml.c: Patrik Stridvall Fixed some warnings. * dlls/wininet/Makefile.in, dlls/wininet/wininet.spec, dlls/wininet/wininet_main.c, dlls/comctl32/comctl32.spec, dlls/comctl32/commctrl.c, dlls/dinput/dinput.spec, dlls/dinput/dinput_main.c, dlls/dplayx/dpclassfactory.c, dlls/dplayx/dplayx.spec, dlls/shell32/shell32.spec, dlls/shell32/shell32_main.c, dlls/urlmon/Makefile.in, dlls/urlmon/urlmon.spec, dlls/urlmon/urlmon_main.c: Patrik Stridvall Fixed issues found by winapi_check. * tools/winapi_check/win16/wprocs.api, tools/winapi_check/win32/dinput.api, tools/winapi_check/win32/kernel32.api, tools/winapi_check/win32/urlmon.api, tools/winapi_check/win32/wininet.api, tools/winapi_check/winapi_function.pm, tools/winapi_check/winapi_local.pm, tools/winapi_check/winapi_options.pm, tools/winapi_check/modules.dat, tools/winapi_check/modules.pm, tools/winapi_check/winapi.pm, tools/winapi_check/winapi_check: Patrik Stridvall - Updated API files. - Improved misplaced function checking. - Fixed minor bugs. * include/winnt.h: Francois Gouget Include string.h to make winnt.h self-sufficient. * dlls/comctl32/tooltips.c: Patrick Yang (Corel) infoPtr sometimes can be NULL. * dlls/commdlg/cdlg_Ca.rc, dlls/commdlg/cdlg_Cs.rc, dlls/commdlg/cdlg_Da.rc, dlls/commdlg/cdlg_De.rc, dlls/commdlg/cdlg_En.rc, dlls/commdlg/cdlg_Eo.rc, dlls/commdlg/cdlg_Es.rc, dlls/commdlg/cdlg_Fi.rc, dlls/commdlg/cdlg_Fr.rc, dlls/commdlg/cdlg_Hu.rc, dlls/commdlg/cdlg_It.rc, dlls/commdlg/cdlg_Ja.rc, dlls/commdlg/cdlg_Ko.rc, dlls/commdlg/cdlg_Nl.rc, dlls/commdlg/cdlg_No.rc, dlls/commdlg/cdlg_Pl.rc, dlls/commdlg/cdlg_Pt.rc, dlls/commdlg/cdlg_Ru.rc, dlls/commdlg/cdlg_Sk.rc, dlls/commdlg/cdlg_Sv.rc, dlls/commdlg/cdlg_Wa.rc, dlls/commdlg/colordlg.c, include/commdlg.h: Gerard Patel 32 bits message processing for color dialog. * dlls/comctl32/toolbar.c, dlls/comctl32/commctrl.c: Martin Fuchs Fixed toolbar bitmap size handling. * configure.in, configure: Rein Klazes Correct test for linux 2.2 joystick API, which returned true in every case. * dlls/version/install.c, graphics/x11drv/bitmap.c, include/xmalloc.h, misc/Makefile.in, misc/xmalloc.c: Dimitrie O. Paun Removed the last xmalloc calls. * programs/winver/Makefile.in, relay32/builtin32.c, programs/cmdlgtst/Makefile.in, programs/control/Makefile.in, programs/notepad/Makefile.in, programs/osversioncheck/Makefile.in, programs/progman/Makefile.in, programs/regapi/Makefile.in, programs/regtest/Makefile.in, programs/view/Makefile.in, programs/wcmd/Makefile.in, programs/winemine/Makefile.in, programs/winhelp/Makefile.in, dlls/commdlg/comdlg32.spec, dlls/shell32/shellord.c, dlls/x11drv/Makefile.in, if1632/builtin.c, include/module.h, libtest/Makefile.in, libtest/hello3res.rc, programs/avitools/Makefile.in, programs/clock/Makefile.in, configure.in, debugger/Makefile.in, dlls/Makedll.rules.in, dlls/Makefile.in, wine.ini, .cvsignore, Make.rules.in, Makefile.in, configure: Implemented on-demand loading of builtin dlls using dlopen(). 2000-04-23 Alexandre Julliard * Makefile.in, dlls/x11drv/Makefile.in: Build wineclipsrv as part of the x11drv dll. * dlls/commdlg/Makefile.in, dlls/commdlg/cdlg.h, dlls/commdlg/cdlg32.c, dlls/commdlg/filedlg95.c, dlls/commdlg/filedlgbrowser.c, dlls/commdlg/printdlg.c, dlls/shell32/Makefile.in, dlls/shell32/shlview.c: Removed a few inter-dll dependencies. * windows/painting.c: Rein Klazes Make RDW_ValidateParent() modify the update region of all parents, not just the direct parent. * relay32/snoop.c: Uwe Bonnes SNOOP_PrintArg: replaced IsBad* functions by exception handler. * configure, configure.in: Patrik Stridvall Added --without-curses compile option. * scheduler/pthread.c: Ove Kaaven Added some more pthread overrides. * winedefault.reg: Ove Kaaven Fixed debugger registry key location. * include/ddeml.h: Francois Gouget Use DECLARE_HANDLE to declare handles. * include/windef.h: Francois Gouget DECLARE_HANDLE should not be undef'ed after use. * controls/edit.c: Ove Kaaven Fix edit control's WM_GETTEXT behaviour. * misc/comm.c: Gerard Patel Do not initialize dcb in BuildCommDCB[AndTimeouts]. * include/casemap.h, tools/unimap.pl: Dmitry Timoshkov Adapted unimap.pl script and generated by it casemap.h to the Unicode Standard, Version 3.0. * windows/dialog.c: Gerard Patel Check if dialog is visible before setting the focus. * windows/defwnd.c: Dmitry Timoshkov Removed the longstanding hack in response to WM_ACTIVATE message. * include/winuser.h: Martin Fuchs Fixed GetNumberFormat declaration. * dlls/comctl32/toolbar.c: Chris Morgan James Abbatiello Redraw toolbar button inside TOOLBAR_EnableButton() only if the state of the button changes. Stops flickering in toolbars caused by excessive redrawing. * dlls/wininet/internet.c, dlls/wininet/wininet.spec: Gerard Patel Stub for InternetGetConnectedState. * include/winbase.h: Francois Gouget Fixed GetProcessHeap() for the STRICT mode. * dlls/ddraw/main.c: Marcus Meissner Also check for empty GUID in DirectDrawCreate. 2000-04-19 Alexandre Julliard * dlls/version/version.spec, dlls/winmm/joystick/joystick.spec, dlls/winmm/mcianim/mcianim.spec, dlls/winmm/mciavi/mciavi.spec, dlls/winmm/mcicda/mcicda.spec, dlls/winmm/mciseq/mciseq.spec, dlls/winmm/mciwave/mciwave.spec, dlls/winmm/midimap/midimap.spec, dlls/winmm/wavemap/msacm.spec, dlls/winmm/wineoss/wineoss.spec, dlls/avifil32/avifil32.spec, dlls/commdlg/comdlg32.spec, dlls/ddraw/ddraw.spec, dlls/dplayx/dplayx.spec, dlls/msvideo/msvfw32.spec, dlls/oleaut32/oleaut32.spec, dlls/olecli/olecli32.spec, dlls/shell32/shell32.spec, dlls/urlmon/urlmon.spec: Added some missing import directives. * dlls/oleaut32/Makefile.in, dlls/shell32/Makefile.in, dlls/comctl32/Makefile.in, dlls/commdlg/Makefile.in: Removed winmm from import list. * dlls/comctl32/animate.c, include/animate.h: Use GetProcAddress for mmio* functions to avoid importing winmm.dll. * programs/wcmd/builtins.c, programs/wcmd/wcmd.spec: Fixed resource loading. * tools/cvdump/cvcrunch.c, tools/cvdump/cvdump.c, tools/cvdump/cvinclude.h, tools/cvdump/cvload.c: John R. Sheets Minor cleanups, plus fixed a couple bugs in .DBG parsing code. Added dump for MISC section. * winedefault.reg: Andreas Mohr Added DirectPlay registry keys to winedefault.reg. * dlls/comctl32/treeview.c: Stephane Lussier Mousewheel support. 2000-04-18 Alexandre Julliard * tools/cvdump/cvcrunch.c, tools/cvdump/cvdump.h, tools/fnt2bdf.c, include/imagehlp.h, include/neexe.h, include/pe_image.h, include/peexe.h, include/winnt.h, loader/dos/module.c, loader/elf.c, loader/module.c, loader/ne/module.c, loader/pe_image.c, loader/task.c, relay32/builtin32.c, relay32/snoop.c, debugger/dbgmain.c, debugger/module.c, debugger/msc.c, debugger/types.c, dlls/shell32/iconcache.c, dlls/shell32/shell.c, dlls/version/resource.c: Moved PE header definitions to winnt.h where they belong. * windows/x11drv/event.c, controls/combo.c, controls/edit.c, controls/listbox.c, dlls/comctl32/listview.c, include/mouse.h, include/winuser.h, windows/input.c, windows/spy.c: Stephane Lussier Implemented Mousewheel support. * dlls/winsock/async.c: Rein Klazes Convert service and protocol names to lowercase before calling getservby{name|port} and getprotoby{name|port}. * objects/region.c: Huw D M Davies Fix return value for OffsetRgn if x and y are 0. * graphics/path.c: Huw D M Davies Implement StrokeAndFillPath. Call DeleteObject when finished with hrgn in PATH_FillPath. * include/wininet.h: Huw D M Davies Fixed typo. * graphics/enhmetafiledrv/objects.c: Sheri Steeves EMR_SELECTOBJECT records stock objects with their id as the object handle and the high bit set. * objects/enhmetafile.c: Huw D M Davies Tidy up of PlayEnhMetaFileRecord - fixes PolyPoly* functions. 2000-04-16 Alexandre Julliard * server/registry.c: Removed permission checks in create_key and delete_key. It seems Windows doesn't check anything. * loader/resource.c: Richard Cohen Wrap an exception handler around FindResource. * programs/regtest/regtest.c: Uwe Bonnes Corrected WinMain. Added test case for RegCreateKeyEx showing win95 behaviour. * debugger/dbg.y, debugger/debug.l, debugger/debugger.h, debugger/info.c: Implemented 'walk process' and 'walk threads' commands using toolhelp snapshots. * include/server.h, include/tlhelp32.h, include/toolhelp.h, misc/toolhelp.c, server/process.c, server/process.h, server/request.h, server/snapshot.c, server/thread.c, server/thread.h, server/trace.c: Implemented thread and (partial) module snapshots, based on the work of Andreas Mohr . * server/main.c, server/registry.c, server/request.h, server/trace.c, documentation/wine.conf.man.in, include/server.h, include/shell.h, loader/main.c, misc/registry.c, wine.ini: Save the registry on server exit without client intervention. Removed "alt" registry files since we now have symlinks and WINEPREFIX to replace them. * include/ts_xlib.h, tsx11/X11_calls, tsx11/ts_xlib.c, windows/x11drv/event.c: Stephane Lussier Support switching the keyboard layout with WINE running. * dlls/crtdll/crtdll_main.c: Uwe Bonnes fgets: Don't swallow \n, treat EOF feof: Crude implementation signal: Return error * winedefault.reg: Uwe Bonnes Add missing backslash in the debugger definition. * win32/time.c: Rein Klazes SetLocalTime() and SetSystemTime() bugfixes. Added a maximum clock adjustment of 2 minutes just in case... * dlls/dsound/dsound_main.c: Marcus Meissner DSOUND_MixerNorm: do not compare unrelated pointers. 2000-04-15 Alexandre Julliard * loader/module.c: Rewrote command-line parsing of CreateProcessA to be more compatible. * programs/winhelp/Makefile.in, programs/winver/Makefile.in, relay32/builtin32.c, scheduler/process.c, scheduler/thread.c, tools/build.c, programs/cmdlgtst/Makefile.in, programs/control/Makefile.in, programs/notepad/Makefile.in, programs/osversioncheck/Makefile.in, programs/osversioncheck/osversioncheck.c, programs/osversioncheck/osversioncheck.spec, programs/progman/Makefile.in, programs/regapi/Makefile.in, programs/regtest/Makefile.in, programs/view/Makefile.in, programs/wcmd/Makefile.in, programs/wcmd/wcmd.spec, programs/wcmd/wcmdmain.c, programs/winemine/Makefile.in, debugger/Makefile.in, include/callback.h, include/main.h, include/module.h, include/thread.h, libtest/Makefile.in, loader/main.c, loader/module.c, loader/pe_image.c, misc/options.c, programs/avitools/Makefile.in, programs/clock/Makefile.in, Make.rules.in: Improved Winelib apps initialisation code. No longer need to link winestub.o with Winelib apps. * include/wine/winbase16.h, relay32/utthunk.c, dlls/dinput/dinput_main.c, dlls/dplayx/dplayx.spec, dlls/icmp/icmp_main.c, dlls/ntdll/om.c, dlls/shell32/shlwapi.spec, dlls/win87em/emulate.c, dlls/wininet/ftp.c, dlls/wininet/internet.c, dlls/winmm/mcianim/mcianim.c, graphics/ttydrv/palette.c, dlls/ddraw/main.c, dlls/ddraw/x11.c: Patrik Stridvall Fixed some issues reported by winapi_check. * tools/winapi_check/*: Patrik Stridvall - API files update. - Add new options --all and --none that enable/disables all check respectively. - Fixed and improved stub statistics. - Fixed bug that prevented checking of the first function in the .spec files. - Partial implementation of a more advanced misplaced function checking. - Minor fixes. * dlls/comctl32/toolbar.c: Martin Fuchs Implement CCS_NOMOVEY for tool bars. * tools/wineinstall: Ove Kaaven Symlink root's registry to global registry. Minor cleanups. * ole/ole2nls.c: Owen Wang Added further implementation of WINAPI EnumDateFormats() to support three more locales: German(standard), French(standard) and French (canadian). All date formats follow conventions from Windows NT 4.0 * dlls/comctl32/treeview.c: Serge Ivanov Added proper handling TVIS_OVERLAYMASK flag and allows to display overlay images. Fixed off by one error with listitem in TREEVIEW_InsertItemA (uNumItems is 0 based, cChildren is a count). 2000-04-14 Alexandre Julliard * include/thread.h, scheduler/Makefile.in, scheduler/pthread.c: Ove Kaaven POSIX threads emulation, tricks glibc into being threadsafe. * scheduler/client.c, server/main.c, server/request.c: Made server launching somewhat cleaner and faster. * dlls/ddraw/ddraw/dga.c, dlls/ddraw/dga.c, include/x11drv.h, windows/x11drv/event.c: Marcus Meissner Detypoed X11DRV_EVENT_SetInputMethod. * windows/x11drv/keyboard.c: Stephane Lussier When dealing with XKB extensions, force the AltGr key mask to use the group index instead of the modifier. * include/windef.h: Huw D M Davies Define __fastcall. * include/commctrl.h: Huw D M Davies Added a few toolbar defines. * graphics/enhmetafiledrv/graphics.c, graphics/enhmetafiledrv/init.c: Huw D M Davies A few corrections to bounding boxes. * graphics/x11drv/graphics.c: Huw D M Davies Don't close groups of polylines. * misc/comm.c: Marcus Meissner Do not dereference a ptr we just checked being NULL. * dlls/ddraw/d3ddevice/main.c, dlls/ddraw/ddraw_private.h, dlls/ddraw/direct3d/main.c, dlls/ddraw/mesa_private.h: Francois Gouget Changed the placement of WINE_UNUSED to make gcc 2.7.2 happy. * misc/registry.c: Ove Kaaven Follow symlinks when saving registry. * debugger/Makefile.in: Added missing winestub dependency. * include/server.h, scheduler/process.c, server/event.c, server/object.h, server/process.c, server/thread.c, server/trace.c: Load done event now created by the server. 2000-04-13 Alexandre Julliard * debugger/.cvsignore, debugger/Makefile.in, debugger/break.c, debugger/db_disasm.c, debugger/dbg.y, debugger/debug.l, debugger/debugger.h, debugger/display.c, debugger/expr.c, debugger/hash.c, debugger/info.c, debugger/intvar.h, debugger/memory.c, debugger/module.c, debugger/msc.c, debugger/registers.c, debugger/source.c, debugger/stabs.c, debugger/stack.c, debugger/types.c, debugger/winedbg.c, debugger/winedbg.spec, include/stackframe.h, Makefile.in: Eric Pouech Made the winedbg an external and WineLib program. Centralized output handling (preparation for console usage). Fixed a few debug information reading options (stabs and sym). Started a framework to hold debugger's internal variables. * miscemu/main.c, documentation/wine.man.in, include/options.h, misc/main.c, misc/options.c: Eric Pouech Got rid of -debug wine's option (wine now requires an external debugger). * win32/except.c, winedefault.reg: Eric Pouech Added launching of a debugger when unhandled exception occurs. * relay32/builtin32.c: Eric Pouech Added a .xcnlnk section to builtin KERNEL32 PE header. * loader/module.c: Eric Pouech Let CreateProcess launch unix executable without a .exe extension. Fixed arguments passed when creating a unix process. * dlls/ntdll/signal_i386.c, include/acconfig.h, include/config.h.in, configure, configure.in: Fixed signal stack handling on Linux when sigaltstack is available. Added a direct sigaltstack syscall to work-around the glibc bug. * dlls/ntdll/signal_i386.c, include/global.h, memory/virtual.c: Implemented guard pages and stack overflow exceptions. * include/thread.h, scheduler/process.c, scheduler/thread.c: Cleanup thread stack allocation. Use a single VirtualAlloc for TEB and the various stacks. * files/profile.c: Make sure HKLM\Software\Wine\Wine is a non-volatile key. * dlls/x11drv/x11drv_main.c, windows/x11drv/keyboard.c: Stephane Lussier Fixed AltGr key handling. * dlls/ddraw/ddraw/dga.c, dlls/ddraw/dga.c, dlls/ddraw/dga_private.h, dlls/ddraw/dpalette/dga.c, dlls/ddraw/dsurface/dga.c: Marcus Meissner Make DirectDraw compile with DGA2 present. * files/file.c: Andreas Mohr FILE_CreateFile()'s read/write-check was broken due to checking of ERROR_xxx instead of STATUS_xxx. * objects/enhmetafile.c: Huw D M Davies Fixes and cleans up some of the GetEnhMetaFile* functions. Fixes scaling of EMFs in playback. Will probably be right when World Transforms work properly... * memory/global.c: Huw D M Davies GlobalReAlloc returns 0 on failure. * dlls/ntdll/ntdll.spec, dlls/ntdll/om.c: Andreas Mohr Stub for NtAllocateUuids. * dlls/comctl32/treeview.c: Huw D M Davies Clear TopRootItem when whole tree is deleted. Fix off by one lstrcpyn. Clean up and fix GetNextItem. 2000-04-11 Alexandre Julliard * documentation/.cvsignore: Ignore all output files. * dlls/wininet/.cvsignore, dlls/wininet/Makefile.in, dlls/wininet/ftp.c, dlls/wininet/internet.c, dlls/wininet/internet.h, dlls/wininet/utility.c, dlls/wininet/wininet.spec, include/debugdefs.h, include/urlmon.h, include/wininet.h, Make.rules.in, configure, configure.in, dlls/Makefile.in, dlls/urlmon/.cvsignore, dlls/urlmon/Makefile.in, dlls/urlmon/umon.c, dlls/urlmon/urlmon.spec: Merged urlmon.dll and wininet.dll from the Corel tree (implementation by Ulrich Czekalla ) * include/process.h, include/thread.h, include/winbase.h, scheduler/client.c, scheduler/process.c, scheduler/thread.c, windows/queue.c: Made GetProcessHeap(), GetCurrentProcessId(), GetCurrentThread() and GetCurrentProcess() inline. * AUTHORS, include/authors.h: Marcus Meissner Merged in Corel's AUTHORs. * graphics/x11drv/dib.c: Marcus Meissner Only copy dstwidth*3 bytes in the 24bit case. * dlls/ddraw/dsurface/x11.c: Marcus Meissner Free private structure in Xlib_DDS_Release. * windows/message.c: Ulrich Czekalla MSG_ProcessKbdMsg can be called from peek, so only process when remove is set. * dlls/comctl32/treeview.c: Serge Ivanov TreeView - minor bugfix and optimization: - GetDC call moved down to avoid possible resource leak. - Invariant code is moved out of loop. * dlls/shell32/pidl.c: Ulrich Czekalla _ILGetFileDate should convert the date to local time before generating the string (_ILGetFileDateTime does not). * dlls/winmm/mmio.c: Noomen Hamza Fixed other bugs within MMIO implementation. Now, it's possible to copy/cut from PhotoPaint and paste to CorelDraw. 2000-04-10 Alexandre Julliard * dlls/ddraw/d3ddevice/main.c, dlls/ddraw/d3ddevice/mesa.c: Marcus Meissner Use d3dexecutebuffer_create only when compiling with MESA. 2000-04-09 Alexandre Julliard * graphics/x11drv/bitmap.c, graphics/x11drv/palette.c, graphics/ttydrv/palette.c: Dimitrie O. Paun Replaced xmalloc calls with malloc/HeapAlloc calls. * console/generic.c, console/ncurses.c, console/xterm.c: Eric Pouech Cosmetics. * memory/heap.c: Andreas Mohr Implemented HeapWalk(). * dlls/ddraw/dsurface/x11.c: Marcus Meissner Two left over HeapValidate assertions removed. * server/debugger.c: Eric Pouech Clear status for sending exception event. * tools/genpatch: Eric Pouech Added ability to put new-lines in changelog entry. Added -p to locate destination directory. * dlls/comctl32/listview.c: Richard Cohen GetItem was returning the item instead of subitem info. * programs/winemine/main.c: Dave Pickles Registry key used in LoadBoard() was not the same as the one used in SaveBoard(). Also fixed a typo in the position saving code. * configure, configure.in: Create directories that don't contain a Makefile. * tools/wrc/Makefile.in, dlls/ttydrv/Makefile.in, dlls/winmm/Makefile.in, dlls/x11drv/Makefile.in, documentation/Makefile.in, include/Makefile.in, ole/Makefile.in, programs/Makefile.in, programs/winhelp/Makefile.in, tools/Makefile.in, Make.rules.in, Makefile.in, debugger/Makefile.in, dlls/Makefile.in, dlls/ddraw/Makefile.in: Improved support for Makefiles that need to recurse in subdirectories. * dlls/ddraw/dpalette/dga.c, dlls/ddraw/dpalette/main.c, dlls/ddraw/dpalette/x11.c, dlls/ddraw/dsurface/dga.c, dlls/ddraw/dsurface/main.c, dlls/ddraw/dsurface/x11.c, configure.in, dlls/ddraw/.cvsignore, dlls/ddraw/Makefile.in, dlls/ddraw/convert.c, dlls/ddraw/d3d_private.h, dlls/ddraw/d3dcommon.c, dlls/ddraw/d3ddevice/main.c, dlls/ddraw/d3ddevice/mesa.c, dlls/ddraw/d3ddevices.c, dlls/ddraw/d3dexecutebuffer.c, dlls/ddraw/d3dlight.c, dlls/ddraw/d3dmaterial.c, dlls/ddraw/d3dtexture.c, dlls/ddraw/dclipper/main.c, dlls/ddraw/ddraw.spec, dlls/ddraw/ddraw/dga.c, dlls/ddraw/ddraw/main.c, dlls/ddraw/ddraw/x11.c, dlls/ddraw/ddraw_main.c, dlls/ddraw/ddraw_private.h, dlls/ddraw/dga.c, dlls/ddraw/dga_private.h, dlls/ddraw/direct3d/main.c, dlls/ddraw/direct3d/mesa.c, dlls/ddraw/helper.c, dlls/ddraw/main.c, dlls/ddraw/mesa.c, dlls/ddraw/mesa_private.h, dlls/ddraw/x11.c, dlls/ddraw/x11_private.h, configure: Marcus Meissner Restructured DirectDraw. Split into X11 and DGA driver, and multiple files/dirs for easier maintenance. Cleaned up structs and include files. Reindented the code. Started the same for Direct3D. Driver inclusion now done by using configure/Makefile/ELF constructor tricks. 2000-04-08 Alexandre Julliard * windows/x11drv/event.c, files/profile.c, graphics/x11drv/xfont.c, include/cursoricon.h, include/message.h, loader/ne/module.c, memory/heap.c, scheduler/sysdeps.c, scheduler/syslevel.c, windows/cursoricon.c, windows/timer.c, dlls/shell32/changenotify.c, dlls/shell32/iconcache.c, dlls/user/user_main.c, dlls/x11drv/x11drv_main.c: Removed a number of global handle allocations and critical section initializations. * server/process.c, scheduler/process.c: Temporary hack to share handles between processes sharing the same address space. * include/winbase.h, scheduler/critsection.c: Added lazy initialization of critical sections, based on a patch by Andrew Lewycky. * dlls/comctl32/tab.c: Yuxi Zhang Stephen Mereu TabCtrl leftmostVisible is not updated properly. It caused the QP application bar on the bottom fail to bring back the items when there is no need to scrolling. Also fixed a bug that when an item is inserted, setItemBounds should be called first, then it's time to invalidate. * relay32/kernel32.spec, win32/newfns.c: Andreas Mohr Added PeekNamedPipe stub. * graphics/x11drv/init.c: Gerard Patel Fixed pixmap leak with the 1x1 bitmap in memory DCs. * tools/wineinstall: Ove Kaaven wineinstall now properly configures no-windows installs, and should now be easier to adapt for binary packages too. * documentation/samples/system.ini: Ove Kaaven Default system.ini (from documentation/status/multimedia). 2000-04-06 Alexandre Julliard * server/debugger.c, server/thread.c, server/thread.h: Do not send a debug event for a thread until the previous event for the same thread has been continued. * misc/registry.c, wine.ini: Moved SaveOnlyUpdatedKeys to wine.ini. Use get_config_dir() instead of hardcoding ~/.wine Simplified loading and saving routines. * files/profile.c, include/options.h, include/server.h, scheduler/client.c, server/request.c: Added support for WINEPREFIX environment variable. * windows/winpos.c, loader/ne/module.c, memory/selector.c, misc/lstr.c, misc/network.c, msdos/int21.c, objects/font.c, win32/console.c, win32/except.c, windows/dialog.c, windows/hook.c, windows/mdi.c, windows/message.c, dlls/win32s/w32sys.c, dlls/win87em/emulate.c, dlls/winmm/mmio.c, dlls/winmm/mmsystem.c, dlls/winmm/mmsystem.spec, graphics/painting.c, graphics/psdrv/driver.c, graphics/win16drv/font.c, loader/module.c, dlls/advapi32/advapi32.spec, dlls/advapi32/service.c, dlls/comctl32/comctl32.spec, dlls/comctl32/comctl32undoc.c, dlls/gdi/gdi.spec, dlls/msacm/msacm_main.c, dlls/ole32/storage32.c, dlls/oleaut32/stubs.c, dlls/olepro32/olepro32.spec, dlls/shell32/shell.c, dlls/shell32/shell32.spec, dlls/shell32/shellpath.c, dlls/shell32/shlwapi.spec: Patrik Stridvall Fixed some issues reported by winapi_check. * include/winuser.h, ole/ole2nls.c, relay32/kernel32.spec: Owen Wang Implemented API EnumTimeFormatsA(). It supports now all different English locales, as well as German(standard), French(standard) and French(Canadian). All time formats follow conventions in Windows NT 4.0 Haithem Hmida (of Macadamian for Corel) Implemented GetCurrencyFormatA() API: - GetCurrencyFormatA() calls GetNumberFormatA() to format the number (as a positive one), then formats the number depending on NegativeOrder/PositiveOrder fields. - GetNumberFormatA() has been slightly modified. * objects/text.c: Junichi Kuchinishi Added conversion from DBCS lpDx to WCHAR lpDx. * tools/winapi_check/win32/advapi32.api, tools/winapi_check/win32/shell32.api, tools/winapi_check/win32/shlwapi.api, tools/winapi_check/winapi.pm, tools/winapi_check/winapi_check, tools/winapi_check/winapi_options.pm, tools/winapi_check/winapi_parser.pm: Patrik Stridvall - Implemented stub statistics. Turned off by default. (Requested by Francois Gouget). - Implemented missing prototype checking. Turned off by default (Requested by Dimitry Timoshkov). - Implemented .spec file name sanity checking. Turned off by default. - Implemented documentation width checking. Turned off by default. - Minor bug fixes. * dlls/ole32/compobj.c: Andrew Lewycky Fix StringFromGUI2 return value as per documentation. * dlls/dsound/dsound_main.c: Marcus Meissner Make audiodevice blocking directly after the non-blocking open, since we use the write(2) also for synchronization. * dlls/winsock/async.c, dlls/winsock/socket.c: Rein Klazes Corrected error handling for ws_getprotobyname/number. Made the Async error returns the same as the normal functions. * files/dos_fs.c: Uwe Bonnes GetShortPathName: always erase characters at the end of the new string, and return only single backslashes. 2000-04-04 Alexandre Julliard * files/dos_fs.c, files/drive.c, files/file.c, include/drive.h, include/file.h, include/options.h, misc/main.c, misc/options.c, misc/registry.c, documentation/wine.conf.man.in, documentation/wine.man.in: Added a per-drive FailReadOnly flag, and removed the global --failreadonly option. * dlls/x11drv/x11drv_main.c, files/file.c, scheduler/client.c: Fixed file descriptor leaks. * misc/registry.c: Call PROFILE_GetWineIniBool before starting to fill the request buffer. Made new registry format the default. * server/ptrace.c: Increment suspend count before attempting attach in suspend_for_ptrace. * server/file.c, server/mapping.c, server/mutex.c, server/process.c, server/registry.c, server/request.h, server/semaphore.c, server/timer.c, server/trace.c, tools/make_requests, server/atom.c, server/console.c, server/event.c: Made request tracing more robust against bogus lengths. * documentation/Makefile.in, documentation/wine.conf.man.in, documentation/wine.man.in: Peter Ganten Adapted the manual pages to the new long options, updated the -debugmsg channels and added a small hack to get the @sysconfdir@ stuff in the manual pages right. * dlls/winmm/mmio.c: Noomen Hamza Fixed two small bugs within MMIO_InstallIOProc and MMIO_Destroy. * programs/winemine/main.c, programs/winemine/main.h: Joshua Thielen Added DestroyBoard function to delete bitmap handles. Moved SelectObject outside of DrawMine. Selected old object's back into hMemDC. * msdos/int21.c: Ian Schmidt Implemented FAT32 function 7302 (Get Extended DPB). * win32/device.c: Ian Schmidt Implemented DeviceIoControl VWIN32_DIOC_DOS_DRIVEINFO, needed by Internet Explorer. * programs/regapi/regapi.c: Gavriel State This patch adds the ability for regapi to call the DllRegisterServer or DllUnregisterServer for a list of DLLs. * dlls/ole32/ole2.c: Gavriel State OleRegGetUserType did return an unterminated ASCII string instead of an OLESTR (wide characters). * misc/main.c, ole/nls/ena.nls, ole/nls/enb.nls, ole/nls/enc.nls, ole/nls/eng.nls, ole/nls/eni.nls, ole/nls/enj.nls, ole/nls/enl.nls, ole/nls/ens.nls, ole/nls/ent.nls, ole/nls/enu.nls, ole/nls/enz.nls, ole/nls/irl.nls, ole/ole2nls.c: Michael Abd-El-Malek (Corel) Changed irl.nls to eni.nls. Reviewed and fixed a lot of the NLS files to be more compatible to Windows. Added en_GB (used by Corel Linux 1.0,1.1) as alias for en_UK. Jeff Tranter The measurement unit for Canadian English should be metric. LANG_SUB_ENTRY did always return the first language due to missing {}. 2000-03-30 Alexandre Julliard * documentation/distributors: Marcus Meissner Updated documentation/distributors in regards to shared libraries and some more windows specific dirs. * programs/winemine/README, programs/winemine/main.c, programs/winemine/main.h: Peter Hunnisett - Fix painting bug with middle button down when dragging mouse - Speed up drawing and hence overall speed - Fix compiler warnings - Added some optional debugging information - Added a new known bug to the list * misc/comm.c: Rein Klazes Added CTS, DSR and RingIndicator states to Window's semi-documented modem line status register. * include/wingdi.h, objects/enhmetafile.c: Huw D M Davies Delete objects after use in EnumEnhMetaFile. Make PlayEnhMetaFile call EnumEnhMetaFile. Move EnumEnhMetaFile prototype to wingdi.h. * dlls/dsound/dsound_main.c, dlls/winmm/wineoss/audio.c: Marcus Meissner open() the OSS sounddevice non-blocking in case another process has it open already. * scheduler/process.c: Commented out exit() call on ExitProcess for now. * server/context_i386.c, server/debugger.c, server/main.c, server/object.h, server/process.c, server/thread.c, server/thread.h: Set thread start address to 0 on events generated by DebugActiveProcess. Return a correct address in the simulated exception event. * dlls/ttydrv/ttydrv_main.c, graphics/ttydrv/dc.c, graphics/ttydrv/graphics.c, graphics/ttydrv/text.c, include/ttydrv.h, windows/ttydrv/wnd.c: Fixed ttydrv compile when using curses. Cleaned up a few #ifdefs. 2000-03-28 Alexandre Julliard * dlls/dsound/dsound_main.c, dlls/winaspi/winaspi16.c, graphics/path.c, programs/winhelp/macro.yacc.y: Niels Kristian Bech Jensen - Fix some compiler warnings. - Remove superfluous #include statement. * include/wine/winnet16.h, misc/network.c: Ron Gage Fixed bug reported by winapi_check. * */*.c: Patrik Stridvall Added/fixed some documentation reported by winapi_check. * graphics/x11drv/palette.c, objects/palette.c: Fixed memory allocations. * dlls/crtdll/crtdll.spec, dlls/crtdll/crtdll_main.c, dlls/user/user32.spec, include/winuser.h, windows/input.c: Patrik Stridvall - Added/fixed some documentation reported by winapi_check - Renamed MapVirtualKeyEx32A to MapVirtualKeyExA - Renamed CRTDLL__dllonexit to CRTDLL___dllinit * dlls/ole32/ifs.c, dlls/ttydrv/ttydrv_main.c, misc/printdrv.c: Patrik Stridvall Fixed some warnings. * tools/winapi_check/win32/kernel32.api, tools/winapi_check/winapi_check, tools/winapi_check/winapi_options.pm: Patrik Stridvall - Updated the API files. - Minor bug fixes * dlls/comctl32/animate.c: Andreas Mohr Do a LoadLibraryA of WINMM upon ANIMATE_Create and a FreeLibrary upon ANIMATE_Destroy. * tools/wrc/parser.l: Patrik Stridvall Minor fix in wrc to support the Solaris preprocessor. * debugger/msc.c: Patrik Stridvall Fixed some ANSI C violations. * documentation/no-windows: Ove Kaaven Add start menu directories. * scheduler/sysdeps.c, scheduler/thread.c: Put CLONE_FILES back in, it is still breaking too many things. * objects/bitmap.c, graphics/ttydrv/bitmap.c, graphics/x11drv/bitmap.c, graphics/x11drv/brush.c, graphics/x11drv/dib.c, graphics/x11drv/init.c, graphics/x11drv/oembitmap.c, include/bitmap.h, include/x11drv.h: Merged DDBitmap and physBitmap into the generic bitmap structure (suggested by Andrew Lewycky). * files/dos_fs.c: Ignore trailing spaces in DOSFS_ToDosFCBFormat. * dlls/winsock/socket.c: Fixed small bug in WSOCK32_accept 2000-03-26 Alexandre Julliard * include/version.h, ANNOUNCE, ChangeLog: Release 20000326. ---------------------------------------------------------------- 2000-03-26 Alexandre Julliard * files/dos_fs.c: Stefan Leichter DOSFS_ToDosFCBFormat: fail if extension longer than 3 characters. * tools/cvdump/.cvsignore, tools/cvdump/Makefile.in, tools/cvdump/cvcrunch.c, tools/cvdump/cvdump.c, tools/cvdump/cvdump.h, tools/cvdump/cvinclude.h, tools/cvdump/cvload.c, Makefile.in, configure, configure.in: John R. Sheets Added cvdump tool to dump CodeView symbol information. * dlls/winsock/socket.c, include/server.h, server/sock.c, server/trace.c: Ove Kaaven Handle POLLHUP better (delay FD_CLOSE notification until all data has been read). Made WSAEnumNetworkEvents atomic. Convert socket event error codes properly. Made accept()-ed sockets inherit the listening socket's WSAAsyncSelect(). * dlls/dsound/dsound_main.c: Andreas Mohr Fixed debug formatting. * dlls/advapi32/registry.c: Fixed error checking in registry saving. * misc/cdrom.c: Uwe Bonnes Use strerror in debug output. * dlls/shell32/changenotify.c: Uwe Bonnes SHChangeNotify[A|W]: free only items we allocated. * loader/resource.c, objects/enhmetafile.c, objects/font.c, objects/text.c, win32/console.c: Hidenori Takeshima Fixes for i18n. * debugger/stabs.c: Eric Pouech Now read .so list from debuggee's address space. * include/windowsx.h: Francois Gouget Added missing macros. * include/winnt.h, include/winreg.h, server/registry.c: Andreas Mohr Moved some registry definitions to winnt.h. * programs/winhelp/winhelp.spec, programs/cmdlgtst/cmdlgtst.spec, programs/notepad/notepad.spec, programs/progman/progman.spec: Hidenori Takeshima Added import of comdlg32.dll in spec file. * windows/winpos.c: Gerard Patel Activate a hidden window only when explicitely asked by the application. * debugger/Makefile.in, debugger/break.c, debugger/dbg.y, debugger/debugger.h, debugger/hash.c, debugger/info.c, debugger/module.c, debugger/msc.c, debugger/stabs.c, debugger/winedbg.c: Eric Pouech improved exception handling merged all module handling code in new module.c file reenabled 'walk module' and 'info module' commands added ability to drive break on thread startup * dlls/oleaut32/oleaut.c, dlls/oleaut32/oleaut32.spec: Marcus Meissner Stubs for DllRegisterServer/DllUnregisterServer. * dlls/winaspi/winaspi32.c: Marcus Meissner Fixed return value for SC_GET_DEV_TYPE. 2000-03-25 Alexandre Julliard * server/registry.c, server/trace.c, tools/build.c, windows/cursoricon.c, windows/dce.c, windows/msgbox.c, windows/nonclient.c, windows/rect.c, windows/timer.c, windows/user.c, windows/winpos.c, windows/winproc.c, loader/pe_image.c, loader/resource.c, memory/heap.c, memory/local.c, misc/version.c, msdos/int21.c, objects/enhmetafile.c, objects/region.c, programs/winhelp/hlpfile.c, programs/winhelp/macro.c, programs/winhelp/winhelp.c, dlls/winmm/wineoss/audio.c, files/dos_fs.c, files/drive.c, files/file.c, files/profile.c, graphics/enhmetafiledrv/graphics.c, graphics/enhmetafiledrv/init.c, graphics/metafiledrv/init.c, graphics/x11drv/graphics.c, graphics/x11drv/xfont.c, include/windef.h, dlls/comctl32/comctl32undoc.c, dlls/comctl32/trackbar.c, dlls/comctl32/updown.c, dlls/commdlg/colordlg.c, dlls/crtdll/crtdll_main.c, dlls/ole32/hglobalstream.c, dlls/ole32/memlockbytes.c, dlls/ole32/stg_stream.c, dlls/ole32/storage32.c, dlls/winmm/lolvldrv.c, dlls/winmm/mciwave/mciwave.c, dlls/winmm/mmio.c, dlls/winmm/mmsystem.c, dlls/winmm/time.c, controls/edit.c, controls/menu.c, controls/scroll.c: Francois Gouget Use min/max instead of MIN/MAX. * server/sock.c: Ove Kaaven Handle socket POLLERR/POLLHUP conditions properly. Clear error field for OOB notifications. * controls/listbox.c: Huw D M Davies Send the correct ODA_ code when deselecting an item. * windows/user.c, include/process.h, include/server.h, include/thread.h, loader/ne/module.c, loader/task.c, scheduler/process.c, scheduler/sysdeps.c, scheduler/thread.c, server/process.c, server/thread.c, server/trace.c: Fixed a couple of file descriptor leaks. Always call USER signal proc in the right context. Cleaned up THREAD_Create. * include/Makefile.in: Do not erase local files on uninstall if install dir does not exist. * windows/multimon.c, windows/sysparams.c, windows/ttydrv/Makefile.in, windows/ttydrv/desktop.c, windows/ttydrv/init.c, windows/ttydrv/monitor.c, windows/ttydrv/wnd.c, windows/user.c, windows/win.c, windows/x11drv/Makefile.in, windows/x11drv/init.c, windows/x11drv/monitor.c, controls/desktop.c, dlls/ttydrv/ttydrv_main.c, dlls/x11drv/x11drv_main.c, graphics/ttydrv/dc.c, include/desktop.h, include/monitor.h, include/ttydrv.h, include/user.h, include/x11drv.h, misc/main.c, windows/dce.c: Store monitor size and depth in the generic structure. Merged monitor driver into USER driver. * windows/ttydrv/Makefile.in, windows/ttydrv/main.c, windows/x11drv/Makefile.in, windows/x11drv/desktop.c, windows/x11drv/main.c, windows/x11drv/monitor.c, windows/x11drv/mouse.c, windows/x11drv/wnd.c, dlls/ddraw/ddraw_main.c, dlls/x11drv/x11drv_main.c, graphics/x11drv/bitmap.c, graphics/x11drv/brush.c, graphics/x11drv/dib.c, graphics/x11drv/graphics.c, graphics/x11drv/init.c, graphics/x11drv/oembitmap.c, graphics/x11drv/palette.c, include/x11drv.h: A few simplifications and optimizations in the x11 driver. * Make.rules.in, Makefile.in, dlls/ddraw/Makefile.in, dlls/ttydrv/Makefile.in, dlls/x11drv/Makefile.in: Link ttydrv and x11drv objects into their respective dll. * dlls/user/Makefile.in: Added missing keyboard.spec. 2000-03-24 Alexandre Julliard * windows/msgbox.c, misc/comm.c, misc/printdrv.c, win32/except.c: Moved FatalAppExit functions to win32/except.c. Added a few uses of Callout instead of referencing USER functions directly. * windows/cursoricon.c, include/bitmap.h, objects/bitmap.c: Moved LoadImage and related functions to cursoricon.c. * dlls/gdi/.cvsignore, dlls/gdi/Makefile.in, dlls/gdi/gdi.spec, dlls/gdi/thunk.c, dlls/user/.cvsignore, dlls/user/Makefile.in, dlls/user/keyboard.spec, dlls/user/thunk.c, dlls/user/user.spec, if1632/.cvsignore, if1632/Makefile.in, if1632/keyboard.spec, if1632/thunk.c, include/callback.h, objects/linedda.c, windows/win.c: Moved gdi/user thunking functions into their respective dlls. Moved keyboard.spec into user dll. * configure, configure.in: Lionel Ulmer Disable OpenGL support if the latter is thread safe. * debugger/dbg.y, debugger/memory.c, dlls/crtdll/wcstring.c, dlls/ole32/clipboard.c, dlls/ole32/storage32.h, graphics/win16drv/init.c, graphics/x11drv/dib.c, scheduler/sysdeps.c: Patrik Stridvall Fixed some warnings. * dlls/dinput/dinput_main.c, graphics/dispdib.c, include/animate.h, include/button.h, include/crtdll.h, include/dinput.h, include/dispdib.h, include/enhmetafile.h, include/imagelist.h, include/metafile.h, include/region.h, include/sqltypes.h, include/wine/icmpapi.h, include/wine/obj_commdlgbrowser.h, include/wine/obj_contextmenu.h, include/wine/obj_dockingwindowframe.h, include/wine/obj_property.h, include/wine/obj_shellextinit.h, include/wine/windef16.h, include/wine/wingdi16.h, include/winpos.h: Patrik Stridvall Made the include files self sufficient. * dlls/win32s/w32skernel.c, dlls/winmm/joystick.c, dlls/winmm/mmsystem.c, dlls/winmm/wineoss/audio.c, dlls/winsock/socket.c, dlls/winsock/wsock32.spec, misc/ddeml.c, dlls/oleaut32/oleaut.c, dlls/oleaut32/safearray.c, dlls/oleaut32/variant.c, dlls/olepro32/olepro32stubs.c, dlls/shell32/changenotify.c, dlls/shell32/iconcache.c, dlls/shell32/shell.c, dlls/shell32/shellord.c, dlls/shell32/shellpath.c, dlls/shell32/systray.c, dlls/tapi32/assisted.c, dlls/tapi32/line.c, dlls/tapi32/phone.c, dlls/version/install.c, dlls/dplayx/dpclassfactory.c, dlls/dsound/dsound_main.c, dlls/icmp/icmp_main.c, dlls/mpr/mpr_main.c, dlls/msvideo/msvideo_main.c, dlls/ntdll/nt.c, dlls/ntdll/rtl.c, dlls/ntdll/sec.c, dlls/ntdll/time.c, dlls/odbc32/proxyodbc.c, dlls/ole32/compositemoniker.c, dlls/avifil32/avifile.c, dlls/comctl32/comctl32undoc.c, dlls/comctl32/draglist.c, dlls/comctl32/flatsb.c, dlls/commdlg/finddlg32.c, dlls/ddraw/ddraw_main.c: Patrik Stridvall Added/fixed some documentation reported by winapi_check. * relay32/kernel32.spec, scheduler/critsection.c, win32/newfns.c, windows/painting.c, dlls/crtdll/crtdll.spec, dlls/ntdll/ntdll.spec, graphics/painting.c, include/ddeml.h, include/wingdi.h: Patrik Stridvall Fixed some issues reported by winapi_check. * include/winnt.h, ole/ole2nls.c, dlls/ntdll/signal_i386.c, dlls/ole32/storage32.c, dlls/shell32/shlview.c: Patrik Stridvall Fixed some ANSI C violations. * programs/cmdlgtst/cmdlgtst.c, programs/notepad/Da.rc, programs/notepad/De.rc, programs/notepad/dialog.c, programs/regapi/regapi.c, programs/regtest/regtest.c, programs/view/view.c, programs/wcmd/directory.c, programs/wcmd/wcmdmain.c, programs/avitools/aviplay.c: Patrik Stridvall Fixed ANSI C related compile problems. * tools/winapi_check/win32/gdi32.api, tools/winapi_check/win32/kernel32.api, tools/winapi_check/win32/ole32.api, tools/winapi_check/win32/oleaut32.api, tools/winapi_check/win32/user32.api, tools/winapi_check/win32/winmm.api, tools/winapi_check/win16/ddeml.api, tools/winapi_check/winapi_check, tools/winapi_check/winapi_function.pm, tools/winapi_check/winapi_options.pm, tools/winapi_check/winapi_parser.pm: Patrik Stridvall - Updated API files - Don't check the *.spec.c files - Better parsing of strings - Better documentation checking - Minor bug fixes * dlls/dinput/dinput_main.c: Lionel Ulmer - added some debug code and cleaned-up the mouse warping code - be ready once mouse will be reported relatively * windows/mdi.c: Huw D M Davies Fixed copying of the MDI 'Windows' menu items if the items are not of type MFT_STRING. * controls/menu.c: Huw D M Davies Set the correct value for the cch element of MENUITEMINFO in GetMenuItemInfo. * dlls/gdi/gdi32.spec: Huw D M Davies Fix spec file entries for EnumFontFamiliesEx*. * tools/bug_report.pl: Gerald Pfeifer Further code simplifications and interface (consistency) improvements. Fix selection of the Wine binary which was broken by a recent change. * windows/sysparams.c: Andreas Mohr Added proper termination upon failure. * debugger/types.c: Eric Pouech Fixed basic type evaluation. * server/registry.c: Huw D M Davies Ensure that non-NULL terminated stings are saved correctly. * windows/input.c: Rein Klazes Correct the NotifyCode in the WM_COMMAND message sent by KBD_translate_accelerator(). * dlls/winaspi/winaspi32.c: Marcus Meissner Slightly better REQUEST SENSE dumping, fixed GET_DEV_TYPE returns, work around EXEC SCSI commands which do not set the host<->target data flags, ignore errors on DVD REPORT KEY/DVD SEND KEY. * server/context_i386.c: Peter Hunnisett Changed PTRACE_PEEKUSER to PTRACE_PEEKUSR and PTRACE_POKEUSER to PTRACE_POKEUSR for libc5(?) compile. * controls/combo.c: Huw D M Davies Stop a WM_SETTEXT message (and friends) to a combo sending CBN_EDIT* messages to the parent. * include/winbase.h, memory/heap.c: Francois Gouget Added (correct) prototype for HeapWalk. * dlls/ole32/ifs.c, include/wine/obj_base.h: Francois Gouget - The ICOM_CMETHODxxx cause problems because the 'const' changes the signature. There's no such thing on Windows anyway (it's a shame) so just remove them altogether. - HeapMinimize returns a void, not a 'void*' 2000-03-20 Alexandre Julliard * windows/ttydrv/event.c, windows/ttydrv/init.c, windows/ttydrv/keyboard.c, windows/ttydrv/main.c, windows/x11drv/desktop.c, windows/x11drv/init.c, windows/x11drv/keyboard.c, windows/x11drv/main.c, loader/main.c, misc/main.c, objects/gdiobj.c, windows/event.c, windows/keyboard.c, windows/multimon.c, windows/ttydrv/desktop.c, windows/win.c, controls/desktop.c, dlls/dinput/dinput_main.c, dlls/display/display_main.c, dlls/mouse/mouse_main.c, dlls/ttydrv/ttydrv.spec, dlls/ttydrv/ttydrv_main.c, dlls/x11drv/x11drv.spec, dlls/x11drv/x11drv_main.c, graphics/ttydrv/init.c, graphics/x11drv/init.c, include/desktop.h, include/keyboard.h, include/message.h, include/monitor.h, include/mouse.h, include/ttydrv.h, include/user.h, include/x11drv.h: Moved graphics initialisation to the x11drv/ttydrv dll init code. Merged event, keyboard and mouse drivers into USER driver. 2000-03-19 Alexandre Julliard * ole/ole2nls.c: Andrew Lewycky Improved CompareStringA performance. * library/winestub.c: Added missing debugtools.h include. * programs/winhelp/hlpfile.c, programs/winhelp/macro.c, programs/winhelp/macro.lex.l, programs/winhelp/winhelp.c, programs/clock/language.c, programs/clock/main.h, programs/cmdlgtst/cmdlgtst.c, programs/notepad/dialog.c, programs/notepad/main.c, programs/notepad/search.c, programs/progman/dialog.c, programs/progman/group.c, programs/progman/main.c, programs/progman/program.c, programs/view/init.c, programs/view/view.c: Niels Kristian Bech Jensen Fixed some compiler errors and warnings. * ole/ole2nls.c: Steven Elliott Temporarily implemented the LCMAP_SORTKEY flag in the LCMapStringW() function pending a more complete implementation of locales. * loader/module.c: Hack: always try builtin module before elf or elfdll to avoid loading a builtin dll .so file in the wrong mode. * graphics/x11drv/xfont.c, objects/font.c: Moved font resource functions out of the X11 driver. * tools/makedep.c: Added support for source files stored in subdirectories. * graphics/enhmetafiledrv/init.c, graphics/metafiledrv/init.c, graphics/psdrv/init.c, graphics/ttydrv/init.c, graphics/win16drv/init.c, graphics/x11drv/graphics.c, graphics/x11drv/init.c, include/gdi.h, include/x11drv.h, objects/dc.c: Added GetDCOrgEx in graphics device interface and removed X11 code from dc.c. * dlls/winmm/mmio.c, dlls/winmm/mmsystem.spec, dlls/winmm/winemm.h, dlls/winmm/winmm.spec, include/mmsystem.h: Eric Pouech Fixed segmented/linear buffers manipulation. Better IO buffering. Added some missing prototypes. * dlls/comctl32/treeview.c, dlls/shell32/brsfolder.c: Francois Gouget Explicitly use the TVN_xxxA version of the macros. * include/commctrl.h: Francois Gouget - Added the TVN_xxxA macros - Added missing TBNOTIFY macros and types - Added SNDMSG * include/winuser.h: Francois Gouget Added WM_APP. * scheduler/client.c, scheduler/critsection.c, windows/clipboard.c, windows/ttydrv/clipboard.c, windows/ttydrv/keyboard.c, graphics/x11drv/graphics.c, graphics/x11drv/palette.c, include/x11drv.h, library/winestub.c, loader/ne/segment.c, memory/virtual.c, misc/main.c, misc/printdrv.c, misc/registry.c, misc/xmalloc.c, objects/palette.c, graphics/win16drv/init.c, graphics/x11drv/bitblt.c, graphics/x11drv/brush.c, graphics/x11drv/dib.c: Dimitrie O. Paun Removed most calls to xmalloc/xrealloc. * include/windef.h: Francois Gouget - Added missing definition for GLOBALHANDLE and LOCALHANDLE - Fixed the prototype of WNDENUMPROC * include/ddeml.h: Francois Gouget Added some missing defines. * windows/dialog.c: Andrew Lewycky Propagate IsDialogMessage to the parent if the dialog has the DS_CONTROL flag. * memory/string.c: Andreas Mohr Added an exception frame for lstrcpy16. * loader/main.c: Eric Pouech Now attaching imported DLLs of a winelib executable. * include/wine/obj_inplace.h: Marcus Meissner IOleItemContainer has OLEGUID(0x11c), not 0x11a. * dlls/ole32/compobj.c: Marcus Meissner Fixed memory corruption with CoTaskMemRealloc. * tools/genpatch: Steven Elliott Made various changes to tools/genpatch including suggestions from Ove Kaaven (Place added files last in the patch. Add a switch that specifies modified files.) * include/tchar.h, include/winnt.h: Francois Gouget Moved the definition of PTSTR and LPTSTR from tchar.h to winnt.h. * include/windows.h: Francois Gouget Should include 'winspool.h'. * tools/wrc/parser.h, tools/wrc/parser.l: Francois Gouget - An extern statement finishes with the first closing '}' or the first outer ';' - Handle '#error', '#line' and '#pragma' even when in the 'pp_strips', 'pp_stripe', 'pp_stripp' or 'pp_false' contexts (just like '#if' and co). But still don't issue an error if '#error' is found when in the 'pp_false' state. * tools/wrc/parser.y: Francois Gouget Make the first comma in the control's definition optional. * dlls/ole32/datacache.c: Andrew Lewycky Support loading any presentation aspect. * dlls/winaspi/aspi.c: Gerald Pfeifer Avoid a link error from another DLL on FreeBSD. * dlls/winmm/joystick.c, dlls/winmm/joystick/joystick.c: Eric Pouech Fixed joystick ID/deviceID/driver handle/instance ID mixup. * graphics/x11drv/dib.c: Andrew Lewycky Delete the shm segment as soon as wine and X have attached it. * dlls/winsock/socket.c: Lars Heete Corrected handling of proto==NULL in WINSOCK_getservbyname and WINSOCK_getservbyport. * windows/event.c, include/main.h, loader/main.c, misc/main.c, miscemu/main.c, objects/gdiobj.c, relay32/.cvsignore, relay32/Makefile.in, relay32/gdi32.spec, relay32/user32.spec, configure.in, dlls/Makefile.in, dlls/gdi/.cvsignore, dlls/gdi/Makefile.in, dlls/gdi/gdi.spec, dlls/gdi/gdi32.spec, dlls/gdi/gdi_main.c, dlls/ttydrv/.cvsignore, dlls/ttydrv/Makefile.in, dlls/ttydrv/ttydrv.spec, dlls/ttydrv/ttydrv_main.c, dlls/user/.cvsignore, dlls/user/Makefile.in, dlls/user/user.spec, dlls/user/user32.spec, dlls/user/user_main.c, dlls/x11drv/.cvsignore, dlls/x11drv/Makefile.in, dlls/x11drv/x11drv.spec, dlls/x11drv/x11drv_main.c, if1632/.cvsignore, if1632/Makefile.in, if1632/gdi.spec, if1632/user.spec, Make.rules.in, configure: Created separate dlls for user,gdi,ttydrv,x11drv. Fixed Winelib argc handling (thanks to Eric Pouech). 2000-03-18 Alexandre Julliard * graphics/psdrv/escape.c, include/dinput.h, include/keyboard.h, include/ttydrv.h, include/tweak.h, include/user.h, include/x11drv.h, loader/main.c, misc/tweak.c, ole/ole2nls.c, scheduler/synchro.c, windows/ttydrv/init.c, windows/ttydrv/keyboard.c, windows/ttydrv/main.c, windows/x11drv/init.c, windows/x11drv/main.c: Misc small cleanups. * windows/spy.c, windows/sysparams.c, graphics/x11drv/bitblt.c, loader/dos/dosvm.c, misc/Makefile.in, misc/main.c, misc/spy.c, objects/Makefile.in, objects/clipping.c, objects/cursoricon.c, objects/region.c, objects/text.c, windows/Makefile.in, windows/cursoricon.c, windows/message.c: Avoid calling the *Rect USER functions from inside GDI. Moved a few USER functions to a more appropriate location. * loader/main.c, misc/Makefile.in, misc/main.c, misc/options.c, misc/registry.c, misc/version.c, miscemu/main.c, windows/x11drv/main.c, windows/x11drv/monitor.c, dlls/ddraw/ddraw_main.c, documentation/wine.man.in, graphics/x11drv/bitblt.c, graphics/x11drv/palette.c, include/main.h, include/options.h, include/shell.h, wine.ini: Moved command-line option handling out of the X11 driver. Added support for "--" prefix on options. Replaced a few X11 command-line options by wine.conf parameters. 2000-03-17 Alexandre Julliard * graphics/Makefile.in, graphics/d3d_private.h, graphics/d3dcommon.c, graphics/d3ddevices.c, graphics/d3dexecutebuffer.c, graphics/d3dlight.c, graphics/d3dmaterial.c, graphics/d3dtexture.c, graphics/d3dviewport.c, graphics/ddraw.c, graphics/ddraw_private.h, graphics/vga.c, relay32/Makefile.in, relay32/ddraw.spec, relay32/dinput.spec, windows/Makefile.in, windows/dinput.c, Make.rules.in, configure, configure.in, dlls/Makefile.in, dlls/ddraw/.cvsignore, dlls/ddraw/Makefile.in, dlls/ddraw/d3d_private.h, dlls/ddraw/d3dcommon.c, dlls/ddraw/d3ddevices.c, dlls/ddraw/d3dexecutebuffer.c, dlls/ddraw/d3dlight.c, dlls/ddraw/d3dmaterial.c, dlls/ddraw/d3dtexture.c, dlls/ddraw/d3dviewport.c, dlls/ddraw/ddraw.spec, dlls/ddraw/ddraw_main.c, dlls/ddraw/ddraw_private.h, dlls/dinput/.cvsignore, dlls/dinput/Makefile.in, dlls/dinput/dinput.spec, dlls/dinput/dinput_main.c: Made ddraw and dinput separate dlls. * server/process.c, server/process.h, server/ptrace.c, server/request.c, server/request.h, server/thread.c, server/thread.h, server/trace.c, include/server.h, include/thread.h, include/winbase.h, include/windef.h, loader/module.c, scheduler/client.c, scheduler/process.c, scheduler/sysdeps.c, scheduler/thread.c: Have threads and processes exit more cleanly whenever possible. * relay32/builtin32.c: Include space for resources in the module header instead of doing a separate allocation. * Make.rules.in, Makefile.in, dlls/Makefile.in, dlls/mpr/.cvsignore, dlls/mpr/Makefile.in, misc/network.c: Made MPR a separate dll. * dlls/ole32/stg_bigblockfile.c, dlls/ole32/storage32.h: Andrew Lewycky Rewrite the BIGBLOCKFILE implementation for better performance. * tools/bug_report.pl: Gerald Pfeifer Further simplify the code and remove some redundant code. Make the user interface more consistent and appealing. * dlls/ole32/defaulthandler.c: Andrew Lewycky Avoid a refcount leak in QueryInterface when delegating. And a couple of minor bugs. 2000-03-15 Alexandre Julliard * debugger/info.c, debugger/memory.c, debugger/msc.c, debugger/source.c, debugger/stabs.c, debugger/stack.c, debugger/types.c, debugger/winedbg.c, debugger/break.c, debugger/db_disasm.c, debugger/dbg.y, debugger/dbgmain.c, debugger/debug.l, debugger/debugger.h, debugger/display.c, debugger/expr.c, debugger/hash.c: Eric Pouech Introduced DBG_VALUE struct to manipulate debugger/debuggee address space. Added watch (hardware assisted debugging) and whatis (type of expr) commands. Fixed some issues in local vars handling (stabs parsing & registers optimization). * graphics/x11drv/graphics.c, graphics/x11drv/text.c: Karl Lessard Update DIB sections in text output and for graphics primitives. * windows/dce.c, windows/x11drv/event.c: Michael Abd-El-Malek (on behalf of Corel) When we were switching to another desktop, the popup windows lost their WS_VISIBLE flag. * server/context_i386.c: Avoid SIGSTOP/SIGCONT race when ptrace is disabled. Fixed context flags handling (thanks to Eric Pouech). * server/process.c, server/ptrace.c, server/thread.c, server/thread.h: Avoid SIGSTOP/SIGCONT race when ptrace is disabled. * server/debugger.c: Fixed bug in generate_startup_debug_events(). * programs/Makefile.in, programs/winemine/.cvsignore, programs/winemine/Makefile.in, programs/winemine/README, programs/winemine/dialog.c, programs/winemine/dialog.h, programs/winemine/main.c, programs/winemine/main.h, programs/winemine/resource.h, programs/winemine/rsrc.rc, programs/winemine/winemine.spec, configure, configure.in: Joshua Thielen Added winemine app. * tools/bug_report.pl: Gerald Pfeifer Improved the visual appearence of the user interface. Made the code somewhat simpler. 2000-03-12 Alexandre Julliard * dlls/crtdll/crtdll_main.c, dlls/crtdll/crtdll.spec: Waldek Hebisch Implemented _read and _lseek. * dlls/winsock/socket.c: Rein Klazes Correct conversion of level parameter if WINSOCK_setsockopt is called for option WS_SO_DONTLINGER. * objects/gdiobj.c: Rein Klazes Correct rounding of the result in MulDiv16(). * dlls/winaspi/aspi.c, dlls/winaspi/winescsi.h: Gerald Pfeifer Fixed FreeBSD compilation. * dlls/dplayx/Makefile.in, dlls/dplayx/dplay.c, dlls/dplayx/dplobby.c, dlls/dplayx/name_server.c, dlls/dplayx/name_server.h, documentation/status/directplay: Peter Hunnisett - Make registry usage a little more correct and modern - Create home for all dplay name server functionality - Add the framework for EnumSessions - Documentation update * dlls/advapi32/security.c, dlls/avifil32/avifile.c, include/debugdefs.h: Dimitrie Paun Cleaned up debug channels a bit. * graphics/ddraw.c: Marcus Meissner Implemented stretched blts for depth 24 (unoptimized). 2000-03-10 Alexandre Julliard * debugger/winedbg.c: Fixed OUTPUT_DEBUG_STRING pointer handling. * include/process.h, memory/virtual.c, scheduler/process.c: Removed PROCESS_IsCurrent(). * include/server.h, scheduler/debugger.c, server/context_i386.c, server/debugger.c, server/file.c, server/main.c, server/object.h, server/process.c, server/request.c, server/request.h, server/thread.c, server/thread.h, server/trace.c, tools/make_requests, win32/except.c, dlls/ntdll/exception.c: Added specific routines for OUTPUT_DEBUG_STRING and EXCEPTION debug events. Generate a breakpoint event on process attach. Misc cleanups in request handling. 2000-03-09 Alexandre Julliard * debugger/break.c, debugger/dbg.y, debugger/debug.l, debugger/debugger.h: Eric Pouech Now relying on exception codes to know when debugger is entered for a single step trap. * debugger/winedbg.c, miscemu/main.c: Eric Pouech Added proc to start debugging process from its command line (by launching it). * debugger/expr.c: Eric Pouech Cleanup. * graphics/psdrv/afm.c: Huw D M Davies Add Black as a valid font weight. Cope with afm files that do not contain {Family|Full}Name entries. * dlls/winaspi/winaspi32.c: David Elliott - Got rid of PROFILE functions. - Use functionality of aspi.c. - Automagically read /proc/scsi/scsi (part of aspi.c which is already in tree). * graphics/x11drv/dib.c: Jim Aston Handle 24 bit DIBs <-> 24 bit deep/24 bits per pixel XImages. * programs/view/globals.h: Mike Castle Added resource.h include. * windows/rect.c: Marcus Meissner IsRectEmpty also returns true for negative width/heights (verified against Windows), found by Brad Oliver . * dlls/oleaut32/variant.c: Lawson Whitney Take type from referenced variant for VT_BYREF && VT_VARIANT. * relay32/builtin32.c, scheduler/client.c, scheduler/debugger.c, scheduler/process.c, server/debugger.c, server/object.h, server/process.c, server/process.h, server/ptrace.c, server/request.c, server/request.h, server/thread.c, server/trace.c, include/elfdll.h, include/module.h, include/pe_image.h, include/process.h, include/server.h, loader/elf.c, loader/elfdll.c, loader/module.c, loader/pe_image.c: Store the list of loaded dlls in the server, and generate debug events internally. 2000-03-08 Alexandre Julliard * server/thread.c, server/trace.c, tools/make_requests, include/server.h, scheduler/client.c: Added server protocol version check. * include/aspi.h, include/winaspi.h, include/wnaspi32.h, msdos/Makefile.in, msdos/dosaspi.c, Makefile.in, configure, configure.in, dlls/Makefile.in, dlls/winaspi/.cvsignore, dlls/winaspi/Makefile.in, dlls/winaspi/aspi.c, dlls/winaspi/winaspi16.c, dlls/winaspi/winaspi32.c, dlls/winaspi/winescsi.h, dlls/winaspi/wnaspi32.spec: David Elliott - Slightly reworked include files (less messy, more straightforward). - Moved DOS ASPI functionality to msdos/dosaspi.c. - Got rid using PROFILE to get SCSI info from wine.conf. - Read scsi info from /proc/scsi/scsi. - Added setting of a reasonable timeout when opening a SCSI device (5 minutes, defined in winescsi.h). - ExecScsiCommand now ALWAYS posts, even on error (which is the correct behavior). * dlls/commdlg/cdlg_Sk.rc, dlls/commdlg/rsrc.rc, dlls/shell32/shell32_Sk.rc, dlls/shell32/shres.rc, documentation/wine.man.in, include/options.h, misc/main.c, resources/sysres_Sk.rc, resources/user32.rc: Simen Zamecnik Added Slovak language support. * dlls/shell32/shell32_Ja.rc, dlls/shell32/shres.rc, include/options.h, misc/main.c, resources/.cvsignore, resources/sysres_Ja.rc, resources/user32.rc, dlls/commdlg/cdlg_Ja.rc, dlls/commdlg/rsrc.rc: Junichi Kuchinishi Added some Japanese resources. * dlls/ole32/Makefile.in, dlls/ole32/clipboard.c, dlls/ole32/datacache.c, dlls/ole32/ole2impl.c, dlls/ole32/ole2stubs.c, dlls/ole32/olestd.h, dlls/ole32/storage32.c, include/ole2.h, include/winerror.h: Abey George Implemented OLE clipboard functionality for Embed Source format. It helps you cut and paste data with Embed Source format between applications. It also implements OleCreateFromData and OleQueryCreateFromData and fixes some bugs in datacache.c. * loader/module.c: Ulrich Czekalla wm->modname might be invalid at the end of FreeLibrary. * loader/ne/module.c, misc/debugstr.c, misc/error.c, windows/defdlg.c, windows/defwnd.c, windows/dialog.c, windows/focus.c, windows/input.c, windows/user.c, windows/x11drv/event.c, windows/x11drv/keyboard.c, controls/edit.c, controls/menu.c, debugger/stack.c, dlls/comctl32/commctrl.c, dlls/winsock/async.c, dlls/winsock/socket.c, include/dce.h, include/menu.h, include/message.h, include/nonclient.h, include/queue.h, include/stackframe.h, include/struct32.h, include/thread.h, include/win.h, include/winbase.h, include/wine/winuser16.h, include/winpos.h, loader/module.c, controls/button.c: Patrik Stridvall Removed a lot of unnecessary includes and fixed the compile errors. * dlls/ole32/moniker.c, dlls/ole32/storage32.c, include/ole2.h, include/shell.h, memory/global.c, misc/registry.c, misc/wsprintf.c, server/registry.c, server/request.c: Patrik Stridvall Fixed some warnings. * dlls/oleaut32/variant.c: Lawson Whitney Corrected value for DAYS_IN_ONE_YEAR. * dlls/crtdll/crtdll_main.c: Alexandre Julliard (for Corel) Cleaned up CRTDLL__unlink. * controls/static.c: Ulrich Czekalla The static control only needs to invalidate its rect when we SetText. * include/winuser.h, misc/spy.c: Hidenori Takeshima Added a few messages for IME. * debugger/Makefile.in, debugger/break.c, debugger/db_disasm.c, debugger/dbg.y, debugger/debug.l, debugger/debugger.h, debugger/display.c, debugger/expr.c, debugger/hash.c, debugger/info.c, debugger/memory.c, debugger/registers.c, debugger/source.c, debugger/stabs.c, debugger/stack.c, debugger/types.c, debugger/winedbg.c, include/debugdefs.h, include/debugger.h, miscemu/main.c: Eric Pouech No longer directly accessing debuggee memory. Execution context (mode, steps...) are now linked to a thread. Removed some X11 crst hacks. Rewrote info/walk commands. Removed direct debugger invocation code (and moved the rest to the new winedbg.c file). * scheduler/debugger.c, scheduler/process.c, server/process.c, server/trace.c, win32/except.c, win32/newfns.c, include/ntddk.h, include/server.h, include/winbase.h, loader/module.c, dlls/ntdll/exception.c: Removed PDB32_DEBUGGED flag and send all debug events unconditionally. Implemented IsDebuggerPresent(). * server/debugger.c, server/object.h, server/process.c, server/process.h, server/thread.c, server/thread.h, server/trace.c, include/process.h, include/server.h, scheduler/client.c, scheduler/debugger.c, scheduler/process.c, scheduler/thread.c: Generate CREATE_PROCESS/THREAD debug events internally in the server. 2000-03-07 Alexandre Julliard * scheduler/critsection.c, scheduler/thread.c, win32/Makefile.in, win32/thread.c, include/thread.h, include/winbase.h: Better implementation of inline functions SetLastError and GetCurrentThreadId. Added asm inlines for Interlocked* functions. * dlls/ntdll/signal_i386.c, include/ntddk.h, dlls/ntdll/exception.c, dlls/ntdll/ntdll.spec: Added DbgBreakPoint. Fixed exception record contents on SIGTRAP. * loader/ne/module.c, loader/ne/segment.c: Andreas Mohr Fixed second instance DGROUP loading. * include/winuser.h, misc/main.c: Huw D M Davies Implement SPI_GETICONMETRICS. Change WARN -> FIXME for unimplemented SPI_s and set appropriate error. * memory/global.c: Marcus Meissner Actual write the cached struct in GlobalMemoryStatus. * documentation/fonts, graphics/x11drv/xfont.c: Rein Klazes Include in the AddFontResourceA/W fixme message a pointer to the fonts document. In this document tell the user how to find the needed tools. * dlls/winsock/socket.c: Rein Klazes Add a message and fix error code if __ws_getservbyname() and __ws_getservbyport() cannot find the requested service. Fix WINSOCK_setsockopt() when called with optval pointing to 16 bit int. * dlls/winmm/mmio.c: Ulrich Czekalla Check for existence if MMIO_EXIST is passed to MMIO_Open. * dlls/ole32/filemoniker.c: Jeff Tranter The pathname was stored in a string of size 100, which was not always large enough. It should be set to MAX_PATH (255). * loader/task.c: Andreas Mohr Several fixes to MakeProcInstance. 2000-03-05 Alexandre Julliard * dlls/winmm/Makefile.in, dlls/winsock/Makefile.in, dlls/ole32/Makefile.in, dlls/oleaut32/Makefile.in, dlls/olecli/Makefile.in, dlls/olesvr/Makefile.in, dlls/rasapi32/Makefile.in, dlls/shell32/Makefile.in, dlls/version/Makefile.in, dlls/win32s/Makefile.in, dlls/Makefile.in, dlls/avifil32/Makefile.in, dlls/commdlg/Makefile.in, dlls/dplayx/Makefile.in, dlls/lzexpand/Makefile.in, dlls/msvideo/Makefile.in, dlls/Makedll.rules.in: Added support for creating extra symlinks for .so files that contain multiple dlls. 2000-03-04 Alexandre Julliard * */Makefile.in, Make.rules.in, Makefile.in, configure, configure.in, dlls/.cvsignore, dlls/Makedll.rules.in: Moved dll-specific make rules to a separate Makedll.rules file. * misc/registry.c: Fixed error checking in registry saving. * dlls/winsock/socket.c: Ove Kaaven WSACleanup should set last error to WSANOTINITIALISED if failing because Winsock was not initialized... * dlls/ole32/compobj.c, include/ole.h, include/wine/obj_base.h: Marcus Meissner CoLoadLibrary gets UNICODE, not ASCII strings. (spotted by Lawson Whitney), removed the dllName component of the openDlls. Added some debugstr_guid(). * dlls/ntdll/nt.c: Dan Scott Fixed typos in _alldiv() and _allmul(). * configure.in, configure: Marcus Meissner Added message for missing xpm devel libs for debian/corel. * dlls/ole32/ole2.c: Pierre Mageau OleRegGetUserType did query wrong registry key. * memory/global.c: Marcus Meissner Some applications call GlobalMemoryStatus() very often. Cache the results of the call for 1 second (spotted by Corel). * windows/x11drv/event.c: Marcus Meissner GetClipboardData16 might return an invalid global handle (spotted by Corel). * objects/enhmetafile.c: Lilia Roumiantseva cbCountSizeOfEnhMetafile callback function instead of increasing a contents of the pointer to the size increased the pointer itself. * documentation/psdriver: Huw D M Davies Fix docs to reflect change to .winerc processing. * tools/wineinstall: Ove Kaaven Fixed a couple of config.cache problems. * dlls/comctl32/trackbar.c: Vahid Pourlotfali Trackbar contol did not have proper position value in case of SB_THUMBTRACK notification message: it was always sending 0. Jim Aston Made the slider control a rect. It had been trying to draw a notched slider, but the result didn't look right. * dlls/winsock/socket.c: Rein Klazes Made WINSOCK_setsockopt handle option SO_DONTLINGER correctly. * objects/cursoricon.c: Serge Ivanov CURSORICON_IconToCursor: inconsistent Lock/Unlock * files/profile.c: Uwe Bonnes PROFILE_GetString: only accept NULL for keyname to return the list of keys as Win95 does. * graphics/x11drv/dib.c: Joerg Mayer Fix a sign bug where memcpy was called with negative length. 2000-02-29 Alexandre Julliard * files/profile.c: Make profile key a global handle. * dlls/win32s/.cvsignore, dlls/win32s/Makefile.in, dlls/win32s/w32skernel.c, dlls/win32s/w32skrnl.c, Make.rules.in, dlls/Makefile.in: Renamed libwin32s to use the proper dll name (libw32skrnl). * windows/x11drv/keyboard.c, windows/x11drv/wnd.c, dlls/comctl32/monthcal.c, dlls/comctl32/toolbar.c, dlls/imm32/imm.c, dlls/msacm32/driver.c, dlls/msvideo/msvideo_main.c, dlls/shell32/iconcache.c, msdos/int21.c, windows/x11drv/clipboard.c: Niels Kristian Bech Jensen Removed superfluous #include statements for header files included twice. * dlls/comctl32/updown.c: Serge Ivanov Make updown control work. UpDown control always sends WM_*SCROLL message and uses SB_THUMBPOSITION code (not SB_LINE[UP|DOWN]). * dlls/comctl32/header.c: Pascal Lessard Implemented the behavior of sending WM_CONTEXTMENU when receiving a WM_RBUTTONUP. * dlls/ole32/storage32.c: Murali Pattathe This is the patch for the OleConvertOLESTREAMToIStorage wine API. This API calls another function called OLECONVERT_LoadOLE10 which basically read the OLE stream from the file through the callback function (this is passed by the application). The reading format was wrong. Still I am not very sure this is 100 % correct format. I did some reverse engineering and found the format. I have tried with different OLE object and its worked in paradox. I haven't tested with any other apps. * dlls/oleaut32/Makefile.in, dlls/oleaut32/oleaut32.spec, dlls/oleaut32/stubs.c, dlls/olepro32/olepro32.spec, dlls/olepro32/olepro32stubs.c: Patrik Stridvall Moved some stubs and added forwards in order to make both winapi_check and checklink happy. * tools/winapi_check/*: Patrik Stridvall Moved the rest of the API specification from the global file to the local files. 2000-02-27 Alexandre Julliard * ANNOUNCE, ChangeLog, include/version.h: Release 20000227. ---------------------------------------------------------------- 2000-02-27 Alexandre Julliard * win32/init.c: Uwe Bonnes GetComputerNameA(): added parameter check like Win95 does. * tools/build.c: Patrik Stridvall - Fixed some Solaris specific assembler problems - Fixed some missing .type @function (helps debugging with dbx) - Fixed code needing __attribute__((constructor))__ for non-GCC ELF compilers - Fixed use of zero width arrays (ANSI C violation) - @GOTOFF on Solaris doesn't work - use @GOT and redirection instead * memory/selector.c, include/selectors.h: Patrik Stridvall Fixed some Solaris specific assembler problems. * dlls/ole32/ole32.spec, dlls/shell32/shlwapi.spec: Patrik Stridvall Fixed some issues found by winapi_check. * tools/winapi_check/win32/ntdll.api, tools/winapi_check/win32/ole32.api, tools/winapi_check/win32/oleaut32.api: Patrik Stridvall Updated winapi_check. * tools/genpatch: Steven Elliott Added utility that generates patches for submission to wine-patches@winehq.com. * dlls/oleaut32/Makefile.in, dlls/oleaut32/oleaut32.spec: oleaut32 should not import functions from olepro32. * dlls/comctl32/listview.c, include/listview.h: Pierre Mageau Don't display the context menu on a double click. Ulrich Czekalla Set the font on the edit label control to that used by the listview control. It also uses text metrics to set a more reasonable initial edit control size. Pierre Mageau Handle M_SETREDRAW in ListView. Fix to EnsureVisible to handle small and large icon correctly. Add edit label functionnality to the listview and the file open dialog. Ulrich Czekalla RelaseDC in CreateEditLabel. Pierre Mageau Add functionnality to create new folder in the open dialog. Add support for right click menu in common file dialog. LISTVIEW_EndEditlabel is now handling NONLPSTR_TEXTCALLBACK listview items. Serge Ivanov LISTVIEW_GetColumnA fix (do not copy string, pass pointers). Luc Tourangeau Preventing a divide by zero when handling LVW_ENSUREVISIBLE message. Don Kelly -Implemented the sorting on insert of items into a ListView control with either LVS_SORTASCENDING or LVS_SORTDESCENDING set. -(helping evil applications): sometimes not so well structured apps (PFPI90, in this case) will not fully initialize structs. In the case of the LVM_GETITEM message the app may have only initialized the mask and iItem members of the struct. Added processing of the LVIF_PARAM mask in the case that iSubItem was set but is invalid/uninitialized. Pierre Mageau Fix for handling correctly the cancelling mode of the Edit label. Fix width calculation of the edit label. Pascal Lessard Implemented the behavior of sending WM_CONTEXTMENU when receiving a WM_RBUTTONUP. Ulrich Czekalla Fixed a painting problem with listview when the view changes and an edit label is active. Ulrich Czekalla Fixed a notification problem with listview. On creation if the user specifies an item with focus and/or selection we should send the proper notification. Insert was preventing LISTVIEW_SetItem from seeing the changes and sending the notification. Make the draw item rectangle consistent with the selection rectangle. This allows us to click on the folders and icons in the file open dialog box and the item actually gets selected. * files/drive.c: Petr Tomasek - Write serial numbers to the device (FAT) - DRIVE_ReadSuperblock: better checking for the FAT fs. * files/dos_fs.c: Uwe Bonnes GetFullPathName fixes. 2000-02-26 Alexandre Julliard * include/winbase.h, include/winnt.h, memory/string.c, dlls/ntdll/ntdll.spec, dlls/ntdll/rtl.c: Juergen Schmied Fixed definition of the RtlMemory functions. Use macros internally and for Winelib, use real functions for exports from ntdll. * include/ole2.h: Juergen Schmied Prototypes OleInitialize, OleUninitialize. * dlls/commdlg/filedlg95.c: Hidenori Takeshima ArrangeCtrlPositions: fix for user-defined template with no stc32. * controls/menu.c, include/menu.h, windows/message.c: Ulrich Czekalla Send WM_HELP message when F1 is pressed. * controls/listbox.c: Yuxi Zhang In the listbox, when the last item is selected and deleted, it still appeared in the window. Sheri Steeves In LISTBOX_UpdateScroll(), if the listbox did not have the WS_SCROLL style it would just return. This left the horizontal scroll bar uninitialized and it was appearing at the bottom of the listbox when it did not have to. Serge Ivanov LISTBOX_SetColumnWidth adds extra 2 pixels to the passed column width (it says it is for column margins). Obviously it is wrong, because margins must be internal. * dlls/ole32/Makefile.in, dlls/ole32/errorinfo.c, dlls/oleaut32/Makefile.in, dlls/oleaut32/errorinfo.c: ErrorInfo functions need to be in ole32, not oleaut32. * dlls/crtdll/wcstring.c: More portable CRTDLL_iswctype. * dlls/shell32/shlmenu.c, dlls/shell32/shlview.c, dlls/shell32/shlwapi.spec, dlls/shell32/shv_bg_cmenu.c, dlls/shell32/shv_item_cmenu.c, dlls/shell32/pidl.h, dlls/shell32/shlfileop.c, dlls/shell32/shlfolder.c: Juergen Schmied Moved file functions to shlfileop.c New SHELL_DeleteDirectoryA Use shell notifications. Enabled file manipulation functions. * dlls/shell32/folders.c, dlls/shell32/iconcache.c: Juergen Schmied Fix for OpenIcon. * dlls/shell32/shell32.spec, dlls/shell32/shellpath.c: Juergen Schmied Stub PathIsDirectory. * dlls/shell32/shellord.c: Juergen Schmied Fixes for ShellExecuteEx. * dlls/shell32/shell32_main.h, include/wine/undocshell.h, dlls/shell32/changenotify.c, dlls/shell32/shell32_main.c: Juergen Schmied Basic implementation of shell notifications. * documentation/shell32: Juergen Schmied Updated. * include/wine/obj_contextmenu.h, include/wine/obj_extracticon.h, include/wine/obj_shellfolder.h: Juergen Schmied Added Winelib types. * dlls/shell32/shres.rc: Juergen Schmied Added icon no 4 (open folder). * dlls/ole32/ole32.spec, dlls/oleaut32/Makefile.in, dlls/oleaut32/errorinfo.c, dlls/oleaut32/oleaut32.spec, include/oleauto.h: Patrik Stridvall Added stubs for {Create,Get,Set}ErrorInfo. * dlls/ole32/ole2stubs.c: Abey George Return an error instead of a success code in OleCreate stub function. * dlls/comctl32/tab.c, include/tab.h: Don Kelly In Windows Property Sheet can have any mix of icon-less tabs and tabs with icons. Adds a check to see if the icon we're adding is non-NULL (otherwise random junk from memory can be rendered) when the application has specified the PSP_USEICONID flag is set. Changes to the Tab control to only render icons for tabs that have the TCIF_IMAGE flag set (previously, if the flag was set the entire image list of icons was rendered). Stephane Lussier Fixes for some tab control bugs Henning Hoffmann Fixed some width problem with OWNERDRAW tab. Luc Tourangeau TCM_ADJUSTRECT is now returning consistant compare to Windows. Serge Ivanov Fixed problem with tab selection. When you select tab it becames first visible tab. Now leftmost visible tab is calculated properly. - Added code for correct handling of updown control. - Forced recalculation of tabs' coordinates when: a) all items are deleted, b) window style is canged * include/commctrl.h: Ian Schmidt Added necessary defines and structures to compile WineLib apps using MFC 6.0 headers. Fixed typo in TCM_SETMINTABWIDTH constant. * controls/button.c: Bill Jin Bitmap buttons were not refreshed correctly. * dlls/comctl32/propsheet.c: Jim Aston This reverts Matts patch. The messaging needs double checking. * windows/message.c, windows/winproc.c, memory/selector.c, misc/w32scomb.c, msdos/dpmi.c, relay32/relay386.c, scheduler/sysdeps.c, scheduler/syslevel.c, tools/build.c, win32/kernel32.c, controls/edit.c, controls/listbox.c, debugger/registers.c, dlls/ntdll/signal_i386.c, if1632/snoop.c, if1632/thunk.c, include/selectors.h, include/thread.h, include/winnt.h, loader/main.c: Improved the selector get/set functions. Support ANSI-compatible inline asm (with the help of Patrik Stridvall). * dlls/winmm/joystick/Makefile.in, dlls/winmm/mcianim/Makefile.in, dlls/winmm/mciavi/Makefile.in, dlls/winmm/mcicda/Makefile.in, dlls/winmm/mciseq/Makefile.in, dlls/winmm/mciwave/Makefile.in, dlls/winmm/midimap/Makefile.in, dlls/winmm/wavemap/Makefile.in, dlls/winmm/wineoss/Makefile.in, include/acconfig.h, include/config.h.in, dlls/Makefile.in, dlls/avifil32/Makefile.in, dlls/comctl32/Makefile.in, dlls/commdlg/Makefile.in, dlls/msvideo/Makefile.in, dlls/oleaut32/Makefile.in, dlls/shell32/Makefile.in, dlls/winmm/.cvsignore, dlls/winmm/Makefile.in, Make.rules.in, Makefile.in: Made winmm a separate shared library. * scheduler/process.c, tools/bin2res.c, include/wine/windef16.h, loader/ne/resource.c, misc/registry.c, objects/dib.c, ole/ole2nls.c, programs/clock/winclock.c, dlls/shell32/changenotify.c, dlls/shell32/shellord.c, graphics/x11drv/dib.c, if1632/builtin.c, include/dplobby.h, include/wingdi.h, dlls/dplayx/dplobby.c, dlls/icmp/icmp_main.c, dlls/ntdll/reg.c, dlls/odbc32/proxyodbc.c, dlls/oleaut32/typelib.c, dlls/commdlg/filedlg95.c: Patrik Stridvall Fixed ANSI C violations. * server/context_i386.c: Patrik Stridvall Fixed Solaris specific compiler issue. * files/dos_fs.c, win32/init.c: Patrik Stridvall Fixed some debug message crashes. * include/dinput.h, windows/dinput.c: Lionel Ulmer - implement EnumObjects and GetProperty for Mouse and Joystick drivers - implement SetDataFormat for the Mouse driver * dlls/winmm/joystick/.cvsignore, dlls/winmm/joystick/Makefile.in, dlls/winmm/joystick/joystick.c, dlls/winmm/joystick/joystick.spec, include/debugdefs.h, include/message.h, include/mmddk.h, windows/message.c, Make.rules.in, configure, configure.in, dlls/Makefile.in, dlls/winmm/Makefile.in, dlls/winmm/joystick.c: Eric Pouech Moved hardware related handling to dlls/winmm/joystick driver. Got rid of joySendMessages() hack (now implementation with a timer). 2000-02-25 Alexandre Julliard * misc/debugstr.c: Release unused space in debug strings to avoid too frequent wrap-arounds in the circular buffer. * dlls/oleaut32/Makefile.in: Added import of olepro32. * winedefault.reg: Andreas Mohr Added OLE entries and comments. * ole/nls/jpn.nls: Hidenori Takeshima Japanese support implemented. * ole/ole2nls.c: Steven Elliott Stubbed out the implementation of LCMAP_SORTKEY in LCMapStringW() in order to allow Windows 9x Perl to start. * dlls/winspool/info.c: Ulrich Czekalla This patch initializes the return buffer used in GetPrinterDriverA to zeros. This prevents buffer overruns caused by accessing garbage data. Some improvements to the NULL check patch. Gautam Jain EnumPrinters is not returning the number of printers found in case the parameter dwLevel is 1. * dlls/ntdll/reg.c: Dmitry Timoshkov Do not overwrite the valid ObjectAttributes->RootDirectory. Perform case insensitive comparison for the registry paths. * include/ntddk.h: Dmitry Timoshkov Added prototypes for registry functions. * include/winbase.h, include/winnls.h: Dmitry Timoshkov Move definition of CPINFO structure from winbase.h to winnls.h Add definition of CPINFOEX structure to winnls.h * include/crtdll.h: Dmitry Timoshkov Add prototype for CRTDLL_wcstol. * dlls/comctl32/toolbar.c: Hidenori Takeshima Fix for toolbar button size. * misc/lstr.c: Hidenori Takeshima Fixed CharNextA/CharNextExA for DBCS. * windows/multimon.c, windows/x11drv/monitor.c, include/debugger.h, misc/comm.c, ole/ole2nls.c, relay32/snoop.c, tools/build.c, debugger/msc.c, debugger/stabs.c, dlls/comctl32/draglist.c, graphics/ddraw.c: James Abbatiello Misc. fixes for compiler warnings. * dlls/ole32/stg_stream.c, dlls/ole32/storage32.c, dlls/ole32/storage32.h, include/ole2.h, include/wine/obj_base.h, include/winerror.h: Pierre Mageau Implementation of OleConvert routines. Thuy Nguyen Don't allow to resize stream open in read only mode Allow write access for stream/storage open with STGM_READWRITE. StgOpenStorage return values are now more detailed. Don't rely on STGM_CREATE flag in the Storage constructor. Preventing to write out of date property. Owen Wang Allow both positive & negative 32-bit integers as with MFC assumption. This patch improves the 32bit limit on IStream::*_Seek operations. John Li When WP opens a linked file, the malloc function in OLECONVERT_LoadOLE10(...) returns a NULL. This causes a later Wine crash. The actual problem is the function reading a large data length. * dlls/version/info.c: Patrik Stridvall Made some local functions static. * dlls/oleaut32/oleaut32.spec, server/context_i386.c: Patrik Stridvall Fixed some issues found by winapi_check. * tools/winapi_check/*: Patrik Stridvall Moved some of the API specification from the global file to the local files. * dlls/mouse/mouse_main.c, include/mouse.h, include/ttydrv.h, include/x11drv.h, windows/ttydrv/mouse.c, windows/x11drv/mouse.c: James Abbatiello Better thread safety for WarpPointer hack. * dlls/advapi32/advapi32.spec, dlls/advapi32/security.c: Juergen Schmied Added AddAccessAllowedAce. * include/commctrl.h: Juergen Schmied Some more ListView_ macros, winelib fixes. * objects/cursoricon.c: Juergen Schmied Fixed allocation of 16x16 icons. * dlls/commdlg/filedlg95.c: Juergen Schmied For unicode: give the selected filename back. * tools/wineinstall: Ove Kaaven Check for Xpm headers and add /usr/local/lib to /etc/ld.so.conf if necessary. * windows/painting.c: Serge Ivanov We don't need to call LPtoDP in here as far as PatBlt does it internally. * dlls/comctl32/propsheet.c: Serge Ivanov In Windows, if PropertySheet can't create some page it just skips it. This patch adds similar behaviour to Wine. It also adds some NULL checks. Fix property sheet initialization bugs. Matthew Robertson The template was calling GetActiveIndex which was not being set in the propsheet code, and the call was moved before we call SetActive - because that's where we query for the Active Index. Noomen Hamza Resize property sheet to the largest dialog size. Don Kelly In the WM_INITDIALOG handler for the prop sheet, there is a call to PROPSHEET_IsTooSmall() which, if it returns TRUE, calls PROPSHEET_AdjustSize(). Contrary to its comment, .._AdjustSize() actually aligns the sizes of the "largest" prop. sheet dialog template and the tab control. The IsTooSmall() call doesn't properly catch this mismatch. Modified the function to return TRUE if the sizes mismatch and renamed it to PROPSHEET_SizeMismatch() to reflect its proper use. * dlls/shell32/shlwapi.spec: Marcus Meissner We define PathISURLA, so use it. * dlls/comctl32/imagelist.c: Serge Ivanov In function IMAGELIST_InternalDrawMask we have to mask out overlay mask in fStyle. Otherwise comparison fStyle == ILD_NORMAL will not work, which leads to improper display of overlay images. * windows/win.c: Alexandre Julliard (for Corel) ATOMs are considered unique, so we don't need to check class pointers in FindWindow. * objects/region.c: Serge Ivanov Not all region functions updated 'type' field to reflect current region state. * programs/cmdlgtst/cmdlgr.rc, programs/cmdlgtst/cmdlgtst.c: Eric Williams Minor fixups and tweaking, and a dummy hook. * dlls/commdlg/filedlg.c: Juergen Schmied Fixed handling of filedlg flags. 2000-02-20 Alexandre Julliard * scheduler/process.c: Andreas Mohr Added FIXME comment for entry point parameter. * dlls/ole32/moniker.c, dlls/ole32/ole32.spec: Andreas Mohr - stub for OLE32.MkParseDisplayName - spelling fixes * windows/dialog.c, windows/win.c: Andreas Mohr - fixed my slightly incorrect EndDialog patch - cleaned up win.c * windows/x11drv/wnd.c, dlls/comctl32/tab.c, windows/winproc.c: Andreas Mohr Spelling fixes. * dlls/dsound/dsound_main.c: Marcus Meissner Made the buffer list in the directsound object thread-safe. * loader/module.c, loader/ne/module.c: Andreas Mohr It seems to be GetModuleFileName16 that checks exe version on whether to return long or short paths, not GetModuleFileNameA. * dlls/commdlg/filedlg.c: Gerard Patel Avoid too much refreshing when changing the drive in the 16 bits file dialog. * files/dos_fs.c: Petr Tomasek GetLongPathName rewrite. * dlls/commdlg/cdlg_En.rc, dlls/commdlg/filedlg95.c, dlls/commdlg/filedlgbrowser.c, dlls/commdlg/filedlgbrowser.h, dlls/commdlg/filetitle.c: Corel merge: Pierre Mageau Don't update the combo box selection when closing the dialog only when clicking on OK button. Adjust file dialog size when help button isn't present. Don Kelly. Fixes problems with open dialog box filters. Ulrich Czekalla Prevents the help button from displaying on OpenFile dialogs unless the proper flag is set in the OPENFILENAME struct. Yuxi Zhang Fixed memory leak. Jean-Claude Batista Add tooltips to the file Dialog toolbar. Sylvain Bouchard, Bill Jin Three new functions EnumSelectedPidls, GetNumSelected, FILEDLG95_OnOpenUsingView: corrections Instead of passing in a copy of ofn, passing in the pointer of ofn. David Golding A "!" was missing in a check against lpstrInitialDir. Rick Mutzke Fixed crash: if dialog has no filetypes appearing in the dropdown list. Matt Robertson, Ulrich Czekalla Fixed problems occurring with selection of files inside openfiledlg. * dlls/commdlg/filedlg.c: Juergen Schmied - activated use of templates - moved the creating of new folders to the shellview * dlls/shell32/shell32_main.c, dlls/shell32/shell32_main.h: Juergen Schmied Started with shell-clipboard handling (context menu cut&paste, drag&drop). * dlls/shell32/dataobject.c: Juergen Schmied Removed ItemIDListList, reorganisation, more formats. * dlls/shell32/shlview.c: Juergen Schmied - implemented rename, copy and delete file - "new file" is activating label edit for rename - implemented IShellView_SelectItem * dlls/shell32/shres.rc, dlls/shell32/shresdef.h, dlls/shell32/shv_bg_cmenu.c: Juergen Schmied Better context menus. * dlls/shell32/Makefile.in, dlls/shell32/clipboard.c, dlls/shell32/contmenu.c, dlls/shell32/shv_item_cmenu.c, include/wine/obj_contextmenu.h, include/wine/obj_shellview.h, include/wine/undocshell.h: Juergen Schmied - new files related to context menu and drag drop file operations - render functions for clipboardformats * dlls/shell32/shell.c, dlls/shell32/shellpath.c: Stephane Lussier Implemented PathIsURLA and modified ShellExecute16 to be able to load URL * dlls/shell32/shell32.spec, dlls/shell32/changenotify.c, dlls/shell32/shellord.c, include/shell.h, include/shellapi.h, include/shlobj.h: Juergen Schmied Started implementation of shell notifications. * dlls/shell32/shlfileop.c: Juergen Schmied New file (SHFileOperation). * dlls/shell32/classes.c: Juergen Schmied Fixes. * dlls/shell32/shellfolder.h, dlls/shell32/shlfolder.c: Juergen Schmied - new internal interface for item manipulation (cut/paste/new folder/delete/rename) - implemented IPersistFolder2 interface * dlls/shell32/pidl.c, dlls/shell32/pidl.h: Juergen Schmied New aPidl handling functions. * misc/main.c: Avoid crash on usage message. * dlls/advapi32/registry.c: Avoid crash on NULL data pointer. * dlls/ntdll/ntdll.spec, dlls/ntdll/rtl.c: Andreas Mohr Added stub for RtlAssert(). * windows/x11drv/keyboard.c: Hidenori Takeshima Added Japanese jp106 and pc98x1 keyboard layout. * dlls/winmm/mci.c: Eric Pouech Got rid of PROFILE_ functions, now accessing Wine config options through the registry. * files/profile.c: Eric Pouech While creating the wine config key, make sure that only Wine's subkeys are volatile. * graphics/psdrv/driver.c: Marcus Meissner Check for NULL ptr in PSDRV_GetDeviceCapabilities. * win32/console.c: Marcus Meissner Added a bit magic to CONSOLE_get_input so we don't get single Escapes from function key escape sequences. 2000-02-19 Alexandre Julliard * memory/atom.c: Bug fix for native USER. * loader/loadorder.c, wine.ini: Hard-coded DllPairs configuration; there is no need for the user to change it. * graphics/psdrv/afm.c, graphics/x11drv/xfont.c, include/console.h, include/main.h, include/options.h, misc/main.c, misc/version.c, windows/x11drv/main.c, windows/x11drv/wnd.c, console/interface.c, documentation/wine.man.in, files/profile.c: Store config file contents in the registry so we only have to load it once per session. Replaced PROFILE_EnumerateWineIniSection by PROFILE_EnumWineIniString. Removed a few unnecessary/unused command-line options. 2000-02-18 Alexandre Julliard * loader/dos/module.c, loader/ne/module.c, loader/pe_image.c, loader/task.c, scheduler/process.c, server/process.c, server/process.h, server/trace.c, include/process.h, include/server.h: Store the handle of the process exe file in the server. Removed PROCESS_Initial(). * dlls/oleaut32/variant.c: Owen Wang Set the type of VarBstrFromDate to dwFlags, instead of lcid. Ulrich Czekalla Fixed the problem with the date being off by one. Petar Djukic VariantCopy was ignoring VT_DISPATCH,VT_UNKNOWN, and VT_VARIANT. Same with VariantClear. Coerce function doesn't implement coercion for VT_DISPATCH type. * if1632/gdi.spec, if1632/kernel.spec, if1632/user.spec: Andreas Mohr Added/corrected ordinals of kernel, gdi, user. * include/win.h, windows/win.c: Noomen Hamza Popup windows will be hidden when minimizing the main frame. * dlls/oleaut32/typelib.c, dlls/oleaut32/typelib.h: Alexandre Julliard (for Corel) Changed the loading of typelib files to use a memory mapping instead of reading the file bit by bit. * files/drive.c: Andreas Mohr DRIVE_FindDriveRoot() always checked from drive A: to Z: for each path component even if a match already occurred. * dlls/oleaut32/ole2disp.c: Eric Pouech Fixed prototype for OleTranslateColor. * files/file.c: Matthew Cline Added WARN messages on open errors. * misc/wsprintf.c: Hidenori Takeshima The maximum size of the buffer is 1024 bytes in Win32. 2000-02-16 Alexandre Julliard * relay32/snoop.c, windows/driver.c, windows/hook.c, windows/win.c, windows/winproc.c, if1632/snoop.c, if1632/thunk.c, include/region.h, loader/loadorder.c, loader/ne/module.c, misc/ddeml.c, misc/toolhelp.c, objects/enhmetafile.c, objects/metafile.c, objects/region.c, files/drive.c, files/file.c, files/profile.c, graphics/driver.c, graphics/enhmetafiledrv/graphics.c, graphics/enhmetafiledrv/init.c, graphics/enhmetafiledrv/objects.c, graphics/metafiledrv/bitblt.c, graphics/metafiledrv/graphics.c, graphics/metafiledrv/init.c, graphics/metafiledrv/objects.c, graphics/win16drv/init.c, graphics/win16drv/prtdrv.c, graphics/x11drv/xfont.c, dlls/lzexpand/lzexpand_main.c, dlls/mpr/mpr_main.c, dlls/winaspi/winaspi16.c, dlls/winmm/lolvldrv.c, dlls/winmm/mci.c, dlls/winmm/wineoss/midi.c, dlls/wnaspi32/winaspi32.c, files/dos_fs.c, dlls/advapi32/security.c: Moved SystemHeap allocations to the process heap. * windows/win.c: Gerard Patel Do not use GlobalFindAtom with atom handles in CreateWindow* functions. * windows/defwnd.c: Ulrich Czekalla Send WM_HELP message when F1 is pressed. * ole/nls/brf.nls, ole/nls/cor.nls, ole/nls/cym.nls, ole/nls/gae.nls, ole/nls/gdh.nls, ole/nls/gdv.nls, documentation/wine.man.in, include/options.h, include/winnls.h, misc/main.c, ole/ole2nls.c: Alastair McKinstry Added support for the following celtic languages: Irish Gaelic, Scots Gaelic, Manx Gaelic, Breton, Welsh, Cornish. 2000-02-14 Alexandre Julliard * dlls/ole32/clipboard.c, dlls/ole32/compobj.c, dlls/ole32/ole32.spec: Juergen Schmied Added stub for CoResumeClassObjects. * windows/dinput.c: Lionel Ulmer - added argument printing to stubs - replaced memcmp by IsEqualGUID - implemented GetCapabilities for Mouse and Keyboard * dlls/winsock/socket.c: Ove Kaaven ioctlsocket() now returns success if the app sets nonblocking mode for WSAAsyncSelect()-ed sockets. * dlls/crtdll/wcstring.c: Gerald Pfeifer Fixed FreeBSD compile. * dlls/winmm/mci.c: Eric Pouech - fixed crash on mci channel tracing - fixed 16 to 32 bit translation for MCI_BREAK and MCI_SYSINFO messages 2000-02-13 Alexandre Julliard * graphics/x11drv/bitblt.c: James Abbatiello Moved CLIPPING_UpdateGCClipping call outside of the X11 section. * include/winbase.h, scheduler/process.c, scheduler/thread.c, server/process.c, server/thread.c: Dave Pickles Added definition for STILL_ACTIVE. * server/request.c, configure, configure.in, include/config.h.in, scheduler/client.c: Juergen Lock Added configure check for the unix domain sockaddr length. * misc/cdrom.c: Juergen Lock Fixed CDROM_Audio_Seek for non-linux systems. * objects/gdiobj.c, include/gdi.h: Matthew Cline GetObjectA() now rejects GDI handles which are invalid. * misc/version.c: Juergen Lock VERSION_GetSystemDLLVersion crashed when being called on a .so. * windows/defwnd.c: Martin Fuchs Display the system popup menu when clicking with the right mouse button in the window caption. * dlls/ole32/clipboard.c: Removed check for class existence. * dlls/comctl32/animate.c, dlls/comctl32/comboex.c, dlls/comctl32/datetime.c, dlls/comctl32/flatsb.c, dlls/comctl32/header.c, dlls/comctl32/hotkey.c, dlls/comctl32/ipaddress.c, dlls/comctl32/listview.c, dlls/comctl32/monthcal.c, dlls/comctl32/nativefont.c, dlls/comctl32/pager.c, dlls/comctl32/progress.c, dlls/comctl32/rebar.c, dlls/comctl32/status.c, dlls/comctl32/tab.c, dlls/comctl32/toolbar.c, dlls/comctl32/tooltips.c, dlls/comctl32/trackbar.c, dlls/comctl32/updown.c: Alexandre Julliard Removed superfluous GlobalFindAtom calls. * misc/registry.c: Juergen Schmied Reading of ri blocks. Better error handling. * windows/mdi.c: Matthew Cline Check that ci->hWindowMenu is not zero before using it. * dlls/crtdll/crtdll.spec, dlls/crtdll/wcstring.c, dlls/ntdll/ntdll.spec: David Howells Implemented isw*() wctype.h functions. * miscemu/main.c: Andreas Mohr Better error messages. * dlls/comctl32/treeview.c: Alex Priem Fixed off-by-one error. * memory/atom.c, server/Makefile.in, server/atom.c, server/main.c, server/object.h, server/request.h, server/trace.c, server/unicode.h, windows/class.c, windows/message.c, windows/win.c, if1632/kernel.spec, if1632/user.spec, include/server.h, include/wine/winbase16.h, include/wine/winuser16.h: Moved global atoms to the server (based on the work of Sergei Turchanov ). 2000-02-12 Alexandre Julliard * include/wingdi.h: Matthew Cline Added a PTEXTMETRIC[A|W] definition. * include/windef.h: Matthew Cline Added typedefs for PSHORT and PUSHORT. * windows/dialog.c: Andreas Mohr Protect EndDialog() from invalid window handles. * graphics/d3dlight.c, graphics/d3dmaterial.c, graphics/d3dtexture.c: Lionel Ulmer Replaced fprintfs by proper debug macros and fixed some compilation warnings. 2000-02-10 Alexandre Julliard * include/ddraw.h: Ian Schmidt Added GUIDs, defines, and structures for DirectX7. * dlls/winmm/winmm_Ru.rc, dlls/winmm/winmm_res.rc: Oleg Korda Added Russian translation. * windows/class.c: Phillip Ezolt Added missing goto in switch statement. * misc/main.c: Marcus Meissner Initialize the NONCLIENTMETRICS with 0 (helps moorhuhn.exe). * win32/kernel32.c, windows/x11drv/event.c, windows/x11drv/main.c, graphics/psdrv/afm.c, graphics/psdrv/ppd.c, graphics/psdrv/ps.c, if1632/builtin.c, include/debugdefs.h, include/debugtools.h, include/miscemu.h, memory/global.c, memory/heap.c, memory/ldt.c, memory/virtual.c, misc/cpu.c, misc/debugstr.c, misc/error.c, misc/main.c, misc/registry.c, msdos/dpmi.c, msdos/int2a.c, msdos/int3d.c, msdos/int41.c, msdos/int4b.c, msdos/ioports.c, relay32/snoop.c, tools/make_debug, dlls/winmm/mcicda/mcicda.c, dlls/winmm/mciseq/mcimidi.c, dlls/winmm/mmio.c, dlls/winmm/wineoss/mixer.c, dlls/wnaspi32/winaspi32.c, files/file.c, graphics/ddraw.c, dlls/ole32/compobj.c, dlls/ole32/compositemoniker.c, dlls/oleaut32/typelib.c, dlls/shell32/classes.c, dlls/shell32/shellord.c, dlls/version/install.c, dlls/version/resource.c, dlls/winaspi/winaspi16.c, dlls/advapi32/registry.c, dlls/comctl32/datetime.c, dlls/comctl32/ipaddress.c, dlls/comctl32/trackbar.c, dlls/commdlg/filedlg95.c, dlls/dplayx/dplayx_global.c, dlls/dsound/dsound_main.c, dlls/lzexpand/lzexpand_main.c, dlls/ntdll/misc.c, dlls/ntdll/ntdll_misc.h, dlls/ntdll/signal_i386.c: Optimized debugging API to reduce code size. * library/winestub.c, misc/cdrom.c, msdos/int2f.c, objects/linedda.c, dlls/oleaut32/variant.c, dlls/olecli/olecli_main.c, dlls/olesvr/olesvr_main.c, graphics/cache.c, graphics/escape.c, graphics/ttydrv/text.c, include/color.h, include/enhmetafiledrv.h, include/metafiledrv.h, include/ole.h, include/psdrv.h, include/win16drv.h, include/wingdi.h, dlls/ole32/compobj.c, dlls/ole32/datacache.c, dlls/ole32/storage.c: Removed extra includes from ole.h and wingdi.h. * */*: Jeremy White Removed #include of wingdi.h and windef.h from winuser.h (and resolved the resulting compilation failures). 2000-02-07 Alexandre Julliard * dlls/ole32/compobj.c: Owen Wang Make CLSIDFromString return a CLSID of zeros instead of crashing when passed a null pointer. * dlls/winmm/joystick.c: Gerald Pfeifer Fixed unconditional use of JOYDEV. * include/commdlg.h, include/windowsx.h, include/wingdi.h, include/winuser.h: Michael Cardenas Added a bunch of macros needed for compiling Winelib apps. * include/commctrl.h: Juergen Schmied Added ListView_EditLabel macros. * dlls/commdlg/cdlg32.c: Juergen Schmied Changed import to ordinal. * include/wine/obj_shellfolder.h: Juergen Schmied Added IPersistFolder2 interface. * misc/cdrom.c, msdos/int2f.c, dlls/winmm/mcicda/mcicda.c, dlls/winmm/mcicda/mcicda.spec, files/drive.c, include/cdrom.h, include/debugdefs.h: Andreas Mohr - implemented serial numbers for audio CDs and data CDs - big clean up of misc/cdrom.c and dlls/winmm/mcicda/mcicda.c function naming and such - split debug channel cdaudio into cdrom and mcicda - fixed some typos * dlls/oleaut32/olefont.c, include/olectl.h: Sean Langley Made OleCreateFontIndirect have the same signature (exactly) as the header file. Added olepro32 dll stubs. * Make.rules.in, configure, configure.in, dlls/Makefile.in, dlls/olepro32/.cvsignore, dlls/olepro32/Makefile.in, dlls/olepro32/README, dlls/olepro32/olepro32.spec, dlls/olepro32/olepro32stubs.c: Sean Langley OLEPRO32 stubs. * windows/clipboard.c: Juergen Schmied Added CF_HDROP. * dlls/winmm/joystick.c: Wolfgang Schwotzer Extended the winmm joystick API calls to support the new Linux joystick driver. * server/context_i386.c: Juergen Lock Added context functions for FreeBSD. * dlls/shell32/systray.c: Sheri Steeves Fix for the system tray, Icon and popup menu's now work. * graphics/ddraw.c: Marcus Meissner Use window properties instead of window long, also use them to determine if we really own a window and can destroy it. The pixelformat for 256 colors has PALETTE|RGB flags (Tomb Raider 2) Set paintable flag for application passed cooperative/drawing window. GetDisplayMode: We might have and do support 2 backbuffers. * dlls/ole32/moniker.c: Noomen Hamza Running object table are not using 0 as a valid index anymore. * controls/static.c: Luc Tourangeau Implementation of Static OwnerDraw. * dlls/comctl32/imagelist.c: Marcus Meissner Height calculation was 1 off in ImageList_Read. 2000-02-03 Alexandre Julliard * programs/view/init.c, programs/view/view.c, tools/wrc/wrc.c, windows/mdi.c, controls/edit.c, controls/menu.c, dlls/commdlg/colordlg.c, dlls/commdlg/filedlg.c, dlls/commdlg/finddlg.c, dlls/commdlg/fontdlg.c, dlls/commdlg/printdlg.c, dlls/shell32/brsfolder.c, dlls/shell32/shell32_main.c, graphics/psdrv/driver.c, include/resource.h, loader/ne/resource.c: Removed resource.h. * programs/regtest/Makefile.in, programs/regtest/regtest.spec, programs/view/.cvsignore, programs/view/Makefile.in, programs/view/view.spec, programs/wcmd/.cvsignore, programs/wcmd/Makefile.in, programs/wcmd/wcmd.spec, programs/winhelp/.cvsignore, programs/winhelp/Makefile.in, programs/winhelp/winhelp.spec, programs/winver/.cvsignore, programs/winver/Makefile.in, programs/winver/winver.spec, programs/avitools/.cvsignore, programs/avitools/Makefile.in, programs/avitools/aviinfo.spec, programs/avitools/aviplay.spec, programs/avitools/icinfo.spec, programs/clock/.cvsignore, programs/clock/Makefile.in, programs/clock/clock.spec, programs/cmdlgtst/.cvsignore, programs/cmdlgtst/Makefile.in, programs/cmdlgtst/cmdlgtst.spec, programs/control/.cvsignore, programs/control/Makefile.in, programs/control/control.spec, programs/notepad/.cvsignore, programs/notepad/Makefile.in, programs/notepad/notepad.spec, programs/osversioncheck/.cvsignore, programs/osversioncheck/Makefile.in, programs/osversioncheck/osversioncheck.spec, programs/progman/.cvsignore, programs/progman/Makefile.in, programs/progman/progman.spec, programs/regapi/.cvsignore, programs/regapi/Makefile.in, programs/regapi/regapi.spec, programs/regtest/.cvsignore, libtest/.cvsignore, libtest/Makefile.in, libtest/expand.spec, libtest/hello.spec, libtest/hello2.spec, libtest/hello3.spec, libtest/hello4.spec, libtest/hello5.spec, libtest/new.spec, libtest/rolex.spec, libtest/vartest.spec, libtest/volinfo.spec: Ulrich Weigand Added .spec files for all libtest/ and programs/ WineLib apps. Updated all Makefiles to use .spec files and new resource handling. * loader/libres.c, loader/main.c, loader/pe_resource.c, loader/resource.c, relay32/builtin32.c, resources/sysres.c, tools/build.c, include/builtin32.h, include/libres.h, include/module.h, include/pe_image.h, include/resource.h, loader/Makefile.in, loader/elf.c: Ulrich Weigand Added .spec keyword 'mode' to allow creating built-in EXE modules. Use built-in EXE modules for WineLib apps (instead of ELF modules). Removed dummy ELF module creation. Removed LIBRES handling. * programs/notepad/main.c: Ulrich Weigand Fixed memory overwrite bug. * include/windef.h, include/wine/windef16.h: Jeremy White Moved definitions such as BOOL16 and INT16 from windef.h into wine/windef16.h. * ole/ole2nls.c: Julio César Gázquez GetNumberFormatA implementation added. * win32/console.c: Marcus Meissner Save and restore cursor in WriteConsoleOutputA. * include/datetime.h, include/monthcal.h, dlls/comctl32/datetime.c, dlls/comctl32/monthcal.c: Alex Priem - Implementation of WM_SETFORMAT - Reworked drawing/selection - Implementation of WM_KEYDOWN * include/miscemu.h, msdos/int09.c, msdos/int16.c: Ove Kaaven Added INT_Int16ReadChar and made int09 handle special keys. * graphics/vga.c, include/vga.h: Ove Kaaven Added alphanumeric mode to the VGA emulation. Use service thread for the periodic refresh. * loader/dos/module.c: Ove Kaaven Cleanup VGA refresh when terminating. * win32/console.c: Ove Kaaven Handle backspace correctly. 2000-01-31 Alexandre Julliard * configure, Make.rules.in, */Makefile.in: Build most dlls as separate shared libraries. 2000-01-30 Alexandre Julliard * configure.in, include/config.h.in, server/context_i386.c, configure: Ulrich Weigand Added configure check for sys/reg.h. * dlls/comctl32/imagelist.c, include/imagelist.h: Marcus Meissner Overlay indices are signed shorts (-1 means no overlay) (ImageList_SetOverlayIndex) should accept -1 as overlayindex. (ImageList_Read) We can read a NxM bitmap from the stream and have to convert it into a 1x(M*N) bitmap, set cCurImage,cMaxImage. Added documentation. (others) removed some potential operator precendence problems. * objects/dc.c: Marcus Meissner GetDeviceCaps: spot yet unsupported accesses to the DeviceCaps struct. * include/wine/exception.h, miscemu/main.c, win32/except.c, Makefile.in, debugger/dbg.y, debugger/external.c, dlls/ntdll/exception.c, include/debugger.h, include/thread.h: Ulrich Weigand Moved debugger to libwine to make it available to WineLib apps. Try to invoke external debugger if internal debugger crashes. Try to handle early invocation of debugger more gracefully. * include/main.h, include/process.h, include/task.h, loader/main.c, scheduler/process.c, scheduler/thread.c: Ulrich Weigand Mark initial process as 32-bit for WineLib apps. Use teb->tibflags instead of teb->flags (for Win95 USER32 compatibility). Removed unused thread event. * files/profile.c: Andreas Mohr - Windows skips the '\t' and ' ' at the beginning and end of section key names of .INI files. - Fixed Get/WritePrivateProfileStructA(): - (re-)translate the binary data into ASCII hex chars - add checksum / checking of it ---------------------------------------------------------------- 2000-01-30 Alexandre Julliard * configure.in, include/config.h.in, server/context_i386.c, configure: Ulrich Weigand Added configure check for sys/reg.h. * dlls/comctl32/imagelist.c, include/imagelist.h: Marcus Meissner Overlay indices are signed shorts (-1 means no overlay) (ImageList_SetOverlayIndex) should accept -1 as overlayindex. (ImageList_Read) We can read a NxM bitmap from the stream and have to convert it into a 1x(M*N) bitmap, set cCurImage,cMaxImage. Added documentation. (others) removed some potential operator precendence problems. * objects/dc.c: Marcus Meissner GetDeviceCaps: spot yet unsupported accesses to the DeviceCaps struct. * include/wine/exception.h, miscemu/main.c, win32/except.c, Makefile.in, debugger/dbg.y, debugger/external.c, dlls/ntdll/exception.c, include/debugger.h, include/thread.h: Ulrich Weigand Moved debugger to libwine to make it available to WineLib apps. Try to invoke external debugger if internal debugger crashes. Try to handle early invocation of debugger more gracefully. * include/main.h, include/process.h, include/task.h, loader/main.c, scheduler/process.c, scheduler/thread.c: Ulrich Weigand Mark initial process as 32-bit for WineLib apps. Use teb->tibflags instead of teb->flags (for Win95 USER32 compatibility). Removed unused thread event. * files/profile.c: Andreas Mohr - Windows skips the '\t' and ' ' at the beginning and end of section key names of .INI files. - Fixed Get/WritePrivateProfileStructA(): - (re-)translate the binary data into ASCII hex chars - add checksum / checking of it * files/directory.c, misc/registry.c, documentation/wine.conf.man.in, wine.ini: Juergen Schmied - fixes, loading of settings per user - autodetecting of windows registry version * dlls/commdlg/filedlgbrowser.c, dlls/dplayx/dpclassfactory.c, dlls/dsound/dsound_main.c, dlls/ole32/oleobj.c, dlls/oleaut32/typelib.c, include/wine/obj_base.h: Francois Gouget The COM virtual tables must use the 'ICOM_MSVTABLE_COMPAT_DummyRTTIVALUE' macro to provide padding in C++. * msdos/int09.c: Ove Kaaven Made int9 handler add keystroke to BIOS keyboard buffer. * loader/dos/dosmod.c, loader/dos/dosmod.h: Ove Kaaven dosmod protocol revision 3, featuring MPROTECT and ENTERIDLE. * include/wincon.h: Ove Kaaven Added a couple of prototypes. * winedefault.reg: Dmitry Timoshkov Add information about code pages to default registry. * configure.in, Make.rules.in, configure: Patrik Stridvall - Unixware (Solaris) linker typo fixed - Solaris (and possibly Unixware) specific linker support for the GNU:ism --[no-]whole-archive - Solaris make specific makefile fix * server/context_i386.c: Patrik Stridvall Solaris support for {set,get}_thread_context added. 2000-01-29 Alexandre Julliard * server/context_i386.c: Added our own user_regs_struct definition for better compatibility. * controls/button.c, windows/dialog.c: Dmitry Timoshkov Correct the behaviour of the accelerator keys in dialogs according to the Windows' one. * programs/notepad/.cvsignore, programs/notepad/Makefile.in, programs/notepad/dialog.c, programs/notepad/main.c, programs/notepad/main.h, programs/notepad/notepad.rc, programs/notepad/rsrc.rc, programs/progman/.cvsignore, programs/progman/Makefile.in, programs/progman/Xx.rc, programs/progman/accel.rc, programs/progman/main.c, programs/progman/rsrc.rc, programs/winhelp/.cvsignore, programs/winhelp/Makefile.in, programs/winhelp/Pt.rc, programs/winhelp/Xx.rc, programs/winhelp/rsrc.rc, programs/winhelp/winhelp.c, programs/clock/.cvsignore, programs/clock/Makefile.in, programs/clock/clock.rc, programs/clock/main.c, programs/clock/rsrc.rc: Ulrich Weigand Link only a single .rc file with application. * windows/x11drv/wnd.c, dlls/shell32/shlfolder.c, documentation/no-windows, documentation/wine.man.in, graphics/d3dtexture.c, if1632/snoop.c, loader/loadorder.c, loader/ne/module.c, loader/pe_image.c, scheduler/process.c, BUGS, README, dlls/comctl32/treeview.c, dlls/dplayx/dplay.c, dlls/ole32/storage32.c: Andreas Mohr - add some documentation items - fix some spelling - fix some warnings * dlls/winmm/mcicda/mcicda.c, documentation/cdrom-labels, files/drive.c, include/cdrom.h, include/debugdefs.h, include/drive.h, libtest/volinfo.c, misc/cdrom.c, msdos/int2f.c, wine.ini: Andreas Mohr - support for reading labels and serial nums from device - "reasonable" misc/cdrom.c device handling - much improved audio CD support - serial number overwrite bug fix - spelling fixes * Makefile.in, configure, configure.in, dlls/Makefile.in, dlls/setupx/.cvsignore, dlls/setupx/Makefile.in, dlls/setupx/setupx.spec, dlls/setupx/setupx_main.c: Andreas Mohr Added SETUPX dll. * dlls/ole32/ole2.spec, server/process.c: Patrik Stridvall Fixed minor issues found by winapi_check. * tools/winapi_check/*: Patrik Stridvall - Minor fixes. - Moved some of the API specifications from the global file to the local files. * include/imagelist.h, dlls/comctl32/imagelist.c: Marcus Meissner Implemented ImageList_Read (not 100% correct in regarding to setting the bitmap). Filled out unknown members of ILHEAD. Started reordering IMAGELIST to make it Windows binary compatible. * dlls/shell32/iconcache.c: Marcus Meissner nIconIndex == -1 should return nr of available icons, not 0. * Makefile.in: Fixed building of dosmod and wineclipsrv. * misc/debugstr.c: Bug fix: added temp structure to cope with debug traces during thread startup. * win32/newfns.c, windows/msgbox.c, dlls/avifil32/avifile.c, dlls/ntdll/misc.c, dlls/ntdll/nt.c, dlls/ntdll/sec.c, dlls/ntdll/sync.c, if1632/snoop.c, include/debugstr.h, libtest/vartest.c, loader/resource.c, objects/text.c, relay32/relay386.c, relay32/snoop.c, relay32/utthunk.c: Removed debugstr.h. * misc/debugstr.c, scheduler/thread.c, if1632/relay.c, include/debugtools.h, include/thread.h: Use a per-thread buffer and write(2) for debug traces. Removed debug_dumpstr. 2000-01-27 Alexandre Julliard * dlls/ntdll/rtlstr.c: Juergen Schmied Small fix. * server/registry.c: Juergen Schmied Get HCU name from unix user name. * scheduler/process.c, server/process.c, server/process.h, server/request.h, server/thread.c, server/trace.c, tools/make_requests, include/server.h, memory/selector.c: Implemented GetThreadSelectorEntry through the server. 2000-01-26 Alexandre Julliard * dlls/winmm/lolvldrv.c: Dynamically load version.dll in MMDRV_GetDescription32. * dlls/ole32/ole2.c: Use a linked list instead of a DPA for the hook list. * windows/x11drv/clipboard.c: Use a linked list instead of a DPA to manage pixmaps. * dlls/ole32/storage32.c, dlls/ole32/storage32.h, dlls/ole32/stg_stream.c: Gerard Patel Returns an error if trying to write to a stream opened for read. * files/directory.c: Andreas Mohr Add a newbie warning for slashes in the search Path= of wine.conf. * graphics/ddraw.c: Ove Kaaven Wait for ShmCompletion during Flip. * configure.in, libtest/Makefile.in, Make.rules.in, Makefile.in, configure: Made --enable-dll the default. Use $(MAKE) instead of $(SUBMAKE) for recursive makes. Cleaned up install targets in main Makefile. * dlls/ntdll/sync.c: Don't crash when ObjectAttributes is NULL. 2000-01-25 Alexandre Julliard * windows/x11drv/monitor.c, debugger/dbgmain.c, debugger/stabs.c, dlls/crtdll/crtdll_main.c, include/options.h, loader/dos/module.c, loader/main.c, misc/main.c, miscemu/main.c, scheduler/client.c: Use argv[0] to locate the server executable. * memory/heap.c, include/heap.h, include/process.h, include/winnt.h, memory/environ.c, memory/global.c: Alexandre Julliard Share the system heap between different address spaces. Made process heap per-address space instead of per-process. * server/thread.h, server/trace.c, Makefile.in, include/server.h, include/thread.h, loader/main.c, misc/registry.c, scheduler/client.c, scheduler/process.c, scheduler/thread.c, server/Makefile.in, server/main.c, server/object.c, server/object.h, server/process.c, server/process.h, server/request.c, server/request.h, server/select.c, server/thread.c: Alexandre Julliard Made the server listen for new clients on a Unix socket in $HOME/.wine. Newly started wine processes now attach to an existing server if one is running. * files/profile.c, include/options.h: Added PROFILE_GetConfigDir function. 2000-01-24 Alexandre Julliard * dlls/advapi32/registry.c, dlls/ntdll/reg.c, dlls/ntdll/sync.c, dlls/winsock/socket.c, include/server.h, scheduler/client.c, server/*.c: Changed the server to return STATUS_* error codes. * dlls/ntdll/Makefile.in, dlls/ntdll/error.c, dlls/ntdll/rtl.c: Built a complete translation table for RtlNtStatusToDosError. * include/winerror.h, include/winnt.h: Added some error codes. * windows/nonclient.c: Use GetProcAddress instead of calling ShellAboutA directly. 2000-01-23 Alexandre Julliard * Makefile.in, configure, configure.in, dlls/Makefile.in, dlls/version/Makefile.in, dlls/version/ver.spec, dlls/version/ver16.c: Merged dlls/ver into dlls/version. * dlls/advapi32/advapi32.spec, dlls/advapi32/security.c, dlls/ntdll/Makefile.in, dlls/ntdll/file.c, dlls/ntdll/misc.c, dlls/ntdll/nt.c, dlls/ntdll/ntdll.spec, dlls/ntdll/ntdll_misc.h, dlls/ntdll/om.c, dlls/ntdll/reg.c, dlls/ntdll/rtl.c, dlls/ntdll/rtlstr.c, dlls/ntdll/sec.c, dlls/ntdll/sync.c, include/ntddk.h, include/ntdef.h, include/ntsecapi.h, include/winbase.h: Juergen Schmied - implementation of RtlReg* (read access), RtlEvent*, RtlSemaphore*, NtAllocateLocallyUniqueId - implementation or stubs for NtAccessCheck, NtSetSecurityObject, RtlClearBits, RtlEqualPrefixSid, RtlFindClearBits, RtlFormatCurrentUserKeyPath, RtlGetControlSecurityDescriptor, RtlIdentifierAuthoritySid, RtlImpersonateSelf, RtlInitializeBitMap, RtlInitializeGenericTable, RtlMakeSelfRelativeSD, RtlPrefixUnicodeString, RtlSetBits, RtlUnicodeToMultiByteN, RtlUpcaseUnicodeStringToOemString, RtlUpcaseUnicodeToOemN, RtlValidSid, RtlxUnicodeStringToOemSize - corrected most RtlString* functions, added documentation - more fixes and partial implementations * misc/main.c, windows/x11drv/event.c, windows/x11drv/main.c, graphics/ddraw.c, include/options.h: Ove Kaaven Added -dxgrab command line option, which confines cursor motion to the DirectX primary surface. * dlls/commdlg/filedlg95.c: Marcus Meissner Replaced some weird C constructs (char[]="" ) with more compatible ones. Added another NULL ptr check in _OnOpen. * misc/winsock_async.c, relay32/Makefile.in, relay32/wsock32.spec, Makefile.in, configure, configure.in, dlls/Makefile.in, dlls/winsock/.cvsignore, dlls/winsock/Makefile.in, dlls/winsock/async.c, dlls/winsock/socket.c, dlls/winsock/winsock.spec, dlls/winsock/wsock32.spec, if1632/Makefile.in, if1632/winsock.spec, misc/Makefile.in, misc/winsock.c: Moved winsock implementation to dlls/winsock. * dlls/*/.cvsignore: Marcus Meissner Added *.spec.c, *.spec.glue.s, *.glue.c to .cvsignore that need them. * graphics/x11drv/dib.c: Marcus Meissner Corrected arguments to VirtualFree(). * dlls/shell32/pidl.c, dlls/shell32/shlfolder.c, include/wine/winestring.h, memory/string.c: Dmitry Timoshkov Replaced LocalToWideChar() by lstrcpynAtoW(), WideCharToLocal() by lstrcpynWtoA(). * windows/winproc.c: Gerard Patel Map WM_MENUSELECT 32->16 bits for closing menu. * windows/mdi.c: Gerard Patel Fix parameters for MDI_RestoreFrameMenu in WM_DESTROY msg. * dlls/oleaut32/oleaut.c: Marcus Meissner Implemented (Register|Get|Revoke)ActiveObject from the docs. * graphics/ddraw.c, include/x11drv.h, windows/x11drv/event.c: Ove Kaaven Supercharged XShm implementation for DirectDraw. * debugger/msc.c: Ulrich Weigand Bugfix: missing NULL pointer checks. * loader/pe_image.c: Uwe Bonnes Check for MZ header before trying to decipher the PE header. * relay32/kernel32.spec: Uwe Bonnes Export GetLongPathName[A|W]. * memory/global.c, memory/heap.c: Guy Albertelli Fix problems with GlobalHandle and GlobalFree so results match Win98. Restructure HEAP_ValidateInUseArena, HeapValidate, and add HEAP_IsRealArena to eliminate *bogus* error messages. * windows/message.c: Huw D M Davies Actually print return value of message. * objects/dib.c: Marcus Meissner Corrected arguments in DIB_DeleteDIBSection. * files/file.c: Marcus Meissner Handle \\.\ like in CreateFile. Tested with help of James Feeney . 2000-01-20 Alexandre Julliard * scheduler/debugger.c, scheduler/thread.c, server/Makefile.in, server/context_i386.c, server/debugger.c, server/object.h, server/request.h, server/trace.c, tools/make_requests, include/server.h: Alexandre Julliard Added Get/SetThreadContext support through the server. 2000-01-18 Alexandre Julliard * windows/dinput.c, dlls/oleaut32/ole2disp.c, dlls/oleaut32/oleaut.c, dlls/oleaut32/olefont.c, dlls/shell32/contmenu.c, dlls/shell32/dataobject.c, dlls/shell32/enumidlist.c, dlls/shell32/folders.c, dlls/shell32/memorystream.c, dlls/shell32/regstream.c, dlls/shell32/shelllink.c, dlls/shell32/shellole.c, dlls/shell32/shlfolder.c, dlls/shell32/shlview.c, dlls/shell32/shv_bg_cmenu.c, graphics/d3ddevices.c, graphics/d3dexecutebuffer.c, graphics/d3dlight.c, graphics/d3dmaterial.c, graphics/d3dtexture.c, graphics/d3dviewport.c, graphics/ddraw.c, include/debugstr.h, misc/debugstr.c, dlls/avifil32/avifile.c, dlls/dplayx/dpclassfactory.c, dlls/dplayx/dplay.c, dlls/dplayx/dplobby.c, dlls/dsound/dsound_main.c, dlls/ole32/clipboard.c, dlls/ole32/datacache.c, dlls/ole32/defaulthandler.c, dlls/ole32/ifs.c, dlls/ole32/storage.c: Added debugstr_guid function and used it to replace WINE_StringFromCLSID in all debugging messages. * dlls/winmm/wineoss/audio.c: Uwe Bonnes Always initialize lpWaveHdr->lpNext to NULL. Don't fail on strange fragment sizes. 2000-01-17 Alexandre Julliard * include/winnls.h: Dmitry Timoshkov Add some defines needed for Unicode to Ascii conversions. * misc/registry.c: Juergen Schmied Better error handling, less keys held open. * graphics/ddraw.c: Marcus Meissner EnumDisplayModes must pass lPitch. * controls/menu.c: Gerard Patel Validate the menu handles. * dlls/win87em/emulate.c: Gerard Patel Rounds to the lowest integer, not the nearest. * loader/task.c: Ulrich Weigand Fixed race between Win16 parent and child for first rescheduling of child process. This fixes WinExec returning too early. 2000-01-16 Alexandre Julliard * configure, configure.in: Eric Pouech Use --whole-archive to force linking all of libwine.a. into wine. * if1632/builtin.c, include/builtin16.h, include/builtin32.h, relay32/builtin32.c, tools/build.c: Added automatic registration of built-in DLLs. 2000-01-15 Alexandre Julliard * configure.in, configure: Aaron Hope Fixed IPX detection. * misc/registry.c: Juergen Schmied New implementation of the win95 registry loader. * dlls/advapi32/registry.c: Juergen Schmied If there is enough space in the buffer and the type is REG_SZ and the string is not 0-terminated RegQueryValue and RegEnumValue are appending a 0. * debugger/hash.c: Gerard Patel Display the external modules after the internal modules in crash report. * files/drive.c: Ove Kaaven Made SetVolumeLabel report failure on CD-ROM drives. * documentation/status/directplay: Peter Hunnisett Updated documentation. * dlls/winmm/lolvldrv.c, dlls/winmm/mci.c, include/driver.h, windows/driver.c: Eric Pouech Replaced Wine specific DRIVER_GetType by a correct implementation of GetDriverFlag. * configure, configure.in, include/wine_gl.h: Lionel Ulmer - (ugly) fix for the 'Xmd.h' problem - fix the detection of DGA 2 in configure script * include/thread.h, scheduler/thread.c: Juergen Schmied - added NT fields to TEB - moved tls-fields and some wine specific fields to a higher offset - added some documentation - initialisation of the UnicodeString * dlls/dsound/dsound_main.c: Todd T. Fries Add HAVE_SOUNDCARD_H to support OpenBSD. * include/wingdi.h, objects/enhmetafile.c, relay32/gdi32.spec: Peter Hunnisett - Added some missing EMR record types and updated and fixed others - Added stubs and headers for CreateColorSpace,DeleteColorSpace and SetColorSpace - Added header for SetICMMode - Added ability to play more enhanced metafile records * graphics/enhmetafiledrv/init.c: Peter Hunnisett Store reference hdc size into enhanced metafile header when creating. * dlls/ole32/moniker.c, dlls/ole32/ole2stubs.c: Marcus Meissner Implemented OleRun. * objects/dc.c: Gerard Patel Removed DeleteObject call left over from previous patch. * win32/thread.c: Ove Kaaven Fixed bad register constraint in InterlockedCompareExchange. * include/winbase.h: Ove Kaaven Added prototypes for the NT synchronization functions InterlockedCompareExchange and InterlockedExchangeAdd. * loader/module.c: Ulrich Weigand Don't access 'wm->modname' after the modref has been flushed. * memory/global.c: Guy Albertelli Added null check in GlobalHandle. 2000-01-12 Alexandre Julliard * dlls/comctl32/datetime.c, dlls/comctl32/monthcal.c, dlls/oleaut32/parsedt.c, include/monthcal.h: Removed a dependency between oleaut32 and comctl32. * include/winnt.h: Juergen Schmied More STATUS_ codes. * include/ddraw.h: Steve Langasek Fixed macro definition of IDirectDrawSurface_Restore. Added defines for Ddraw's WaitForVerticalDisplay(). * include/dsound.h: Steve Langasek Fixed typos in macro definitions for IDirectSoundBuffer_GetStatus, IDirectSoundBuffer_Unlock. * include/mmsystem.h: Steve Langasek Missing Winelib declarations for AUXCAPS. * tools/build.c: Ulrich Weigand Fix (harmless) assembler warnings. * dlls/dplayx/dplay.c: Peter Hunnisett Fix problem with initialization (reported by Andreas Mohr). * dlls/comctl32/treeview.c: Alex Priem InfoPtr checking mixed up WM_DESTROY and WM_CREATE. ---------------------------------------------------------------- Sun Jan 9 21:42:42 2000 Alexandre Julliard * dlls/wnaspi32/winaspi32.c: Patrik Stridvall Non-Linux compile fix. * files/dos_fs.c: Francois Gouget DOSFS_DoGetFullPathName would underflow (p would get past the beginning of buffer) if given the name "//..". Regrouped the handling of the directory separators. Directory separators in the returned path are now alway a single "\" which simplifies the handling of ".." in the name. * dlls/advapi32/registry.c: Juergen Schmied Corrected behaviour of RegOpenKey in case of failure. * misc/registry.c, server/registry.c, server/trace.c, include/server.h: Juergen Schmied - removed copying of HKEY_USERS to HKEY_CURRENT_USER - HKEY_CURRENT_USER is now subkey of HKEY_USERS - changed query_key_info_request to return the key name too (NtQueryKey needs this) - the rootkeys (MACHINE and USER) do have names * include/gdi.h, objects/dc.c, objects/gdiobj.c: Gerard Patel Avoid deleting of the default 1x1 bitmap for memory DCs. * include/builtin16.h, include/builtin32.h, loader/ne/module.c, relay32/builtin32.c, relay32/user32.spec, tools/build.c, dlls/comctl32/comctl32.spec, dlls/commdlg/comdlg32.spec, dlls/display/display.spec, dlls/mouse/mouse.spec, dlls/shell32/shell32.spec, dlls/winmm/winmm.spec, if1632/builtin.c: Built-in DLLs resources are now specified in spec file. Removed unnecessary flags in built-in DLLs tables. * if1632/dummy.c, if1632/gdi.spec, if1632/user.spec, misc/Makefile.in, misc/bidi16.c: Erez Volk Added stubs for some BiDi API functions. * dlls/winmm/mciwave/mciwave.c: Bradley Baetz Fixed race condition between app and wine in WAVE_mciPlay. * controls/menu.c: Pascal Lessard Stop menu tracking when clicking on the menu bar where there is no menu item. * win32/newfns.c: Erez Volk Better error reporting. Sat Jan 8 22:27:31 2000 Alexandre Julliard * graphics/x11drv/xfont.c: Backed out scalable bitmap change (gives ugly results). * controls/menu.c: Marcus Meissner GetMenuString should return itemlength on 0 nMax or NULL str InsertItem pos=-1, flags = 0 should append item (thanks to Sander van Leeuwen) * include/aspi.h, dlls/wnaspi32/winaspi32.c, dlls/wnaspi32/wnaspi32.spec: David Elliott Removed malloc/free hack and replaced with HeapAlloc/HeapFree throughout code. Added critical section around code dealing with global variables. Added a few comments about how ASPI is supposed to work. Copy sense info into the correct place (right after the fixed 16-byte CDB). Now returns target status (many Windows apps won't even look at the sense are unless they get an error code). Added SC_ABORT_SRB FIXME. Added SC_GET_DISK_INFO place holder for clarity. Updated Linux SG interface structure to include new kernel 2.2 status fields. * Make.rules.in: Marcus Meissner Look for our header files first, then for systems headers. * dlls/commdlg/filedlg.c: Marcus Meissner The new filedialog stuff does not handle template. So do not call if there are any. * windows/winpos.c: Rein Klazes Avoid problems during changing the Z-order if the window and the window to insert after are the same. * libtest/expand.c, libtest/hello5.c: Marcus Meissner Removed GUI junk from expand.c, so you can use it in commandline mode. Fixed hello5.c. * dlls/imagehlp/imagehlp.spec, dlls/imm32/imm32.spec: Patrik Stridvall Fixed some issues found by winapi_check. * tools/winapi_check/win32/shell32.api, tools/winapi_check/winapi.pm, tools/winapi_check/winapi_check, tools/winapi_check/winapi_local.pm: Patrik Stridvall - Added support for auto allocated ordinals - Fixed varargs (16 bit) bug - Minor fixes * dlls/version/info.c: Ulrich Weigand Fixed alignment problem with VERSION_INFO members. Wed Jan 5 03:24:52 2000 Alexandre Julliard * configure, configure.in: Marcus Meissner Add $X_EXTRA_LIBS to any X dependend checks or they will fail if some of the $X_EXTRA_LIBS are required. * windows/defwnd.c, windows/painting.c: Patrik Stridvall - Made FillRect behave like it does on Windows - Cleaned up WM_{,ICON}ERASEBACKGROUND default handling - Added some comments on how Windows behaves * windows/winhelp.c: Peter Ganten Check if winhelp is already running; use winhlp32.exe or winhelp.exe depending on the emulated version, relase win16lock before calling WinHelpA. * AUTHORS, include/authors.h: Updated authors list from the Changelog. Please let me know if you have been left out. * documentation/fonts: Marcus Meissner TrueType clarification. * configure, configure.in, graphics/d3ddevices.c, graphics/d3dtexture.c, include/acconfig.h, include/config.h.in: Lionel Ulmer - detect if the OpenGL implementation defines the paletted texture and color table extensions - small warning fixes - fix the double '-lXxf86dga' when having DGA 2.0 * include/winbase.h: Marcus Meissner Some comm clean up, much more error messages, only use TIOCOUTQ if defined [wine-bugs/104], tried implementing SetCommTimeouts. * dlls/comctl32/treeview.c: Alex Priem - When processing WM_PAINT messages, the treeview might sometimes use the wrong hdc. Fixed. - Better checking for TREEVIEW_INFO *infoPtr=NULL. Similar to code in toolbar.c - Other small fixes (subclassed edit control). * debugger/msc.c: Ulrich Weigand Bugfix: uninitialized pointer caused crashes. * loader/pe_image.c: Marcus Meissner Made virus warning a bit more drastic, since some people don't believe us. * misc/comm.c: Marcus Meissner Some comm clean up, much more error messages, only use TIOCOUTQ if defined [wine-bugs/104], tried implementing SetCommTimeouts. * files/profile.c: Rein Klazes Implement WritePrivateProfileSectionA(). * dlls/ntdll/rtl.c: Adam Sacarny Fix for compilers that don't support 'long long' (From Ove Kaaven). Tue Jan 4 02:40:22 2000 Alexandre Julliard * scheduler/thread.c, server/thread.c: Moved allocation of the socket pair for a new thread to the server. * server/debugger.c: Made debug events and contexts standard objects. Use sleep_on to wait on debug events. * server/request.c, server/request.h, server/thread.c, server/thread.h, server/trace.c: Made sleep_on usable from all requests. * dlls/winmm/lolvldrv.c, dlls/winmm/mmsystem.c, include/mmsystem.h: Eric Pouech Added more MIDI messages 16<=>32 mapping. Fixes some bugs in buffers handling and index for MAPPER. * include/callback.h, if1632/thunk.c: Eric Pouech Removed the obsoleted CallTimeFuncProc, CallDriverProc, CallDriverCallback. * dlls/winmm/.cvsignore, dlls/winmm/Makefile.in, dlls/winmm/time.c: Eric Pouech Put back visible minimum timer resolution to 1 ms. Decorrelate the service thread resolution from the user required timer & visible minimum resolutions. Removed the Callback.TimeFuncProc entry. * windows/x11drv/monitor.c: Lionel Ulmer Give +0+0 as a default position for the desktop window. * dlls/winmm/mmio.c: Bradley Baetz Convert mmio to allow the use of 32 bit mmio procedures. * dlls/shell32/shell32.spec, dlls/shell32/shell32_main.c, dlls/shell32/shell32_main.h, dlls/shell32/shellord.c, dlls/shell32/shellpath.c, dlls/shell32/shlmenu.c, dlls/shell32/systray.c: Juergen Schmied Small fixes. * dlls/odbc32/odbc32.spec, misc/registry.c, relay32/kernel32.spec: Patrik Stridvall Fixed some issues found by winapi_check. * tools/winapi_check/win32/advapi32.api, tools/winapi_check/win32/comctl32.api, tools/winapi_check/win32/odbc32.api, tools/winapi_check/winapi.pm: Patrik Stridvall Updated winapi_check to handle the new additions. * dlls/comctl32/monthcal.c, include/monthcal.h: Chris Morgan James Abbatiello Implemented WM_SIZE message support. Optimized drawing to use precalculated size values rather than recalculating during each call of MONTHCAL_Refresh. * relay32/user32.spec, windows/dialog.c: Juergen Schmied Corrected parameter count for DialogBoxIndirectParamAorW. * controls/scroll.c: Rein Klazes Don't show the scrollbar if SetScrollinfo() is called with only the SIF_DISABLENOSCROLL flag. * windows/x11drv/keyboard.c: Ove Kaaven Added extra US keymap with the infamous phantom key. * Makefile.in, dlls/winmm/wineoss/Makefile.in: Eric Pouech Use a uniform naming scheme for driver modules. * include/driver.h: Eric Pouech Encapsulated Wine internal data into an ifdef __WINE__. * windows/Makefile.in, windows/driver.c, windows/.cvsignore: Eric Pouech Moved the 16 bit driver functions callout into the dir. * dlls/winmm/wavemap/wavemap.c: Eric Pouech Added support for WODM_BREAKLOOP message. * dlls/winmm/wineoss/mixer.c: Eric Pouech Removed extraneous ERR message. * dlls/winmm/mciseq/mcimidi.c: Eric Pouech Added support for MCI_INFO_COPYRIGHT and MCI_INFO_NAME. * debugger/hash.c: Eric Pouech Use case insensitive comparison while searching for new modules. * dlls/ntdll/ntdll.spec: Andreas Mohr Added spec entry for _itoa. * tools/wrc/CHANGES, tools/wrc/wrc.h, tools/wrc/writeres.c: Bertho Stultiens Generated labels of resource names must be unique throughout the generated code. * windows/message.c: Andreas Mohr "resultp" can be NULL in SendMessageTimeout*(). * dlls/crtdll/crtdll.spec, dlls/crtdll/crtdll_main.c: Andreas Mohr - prevent mem leak of CRTDLL_acmdln_dll - better argument parsing - last xargv entry has to be NULL - return value is environment pointer instead of NULL - added a spec entry for bsearch() Sat Jan 1 22:38:21 2000 Alexandre Julliard * loader/module.c, scheduler/process.c, windows/message.c, windows/queue.c, windows/user.c, if1632/thunk.c, include/callback.h, include/process.h: Peter Ganten Implemented WaitForInputIdle. * misc/ddeml.c, windows/win.c: Fixed potential buffer overflows (spotted by Francois Gouget). * relay32/wow32.spec, dlls/mpr/mpr.spec, dlls/ntdll/ntdll.spec, dlls/psapi/psapi.spec, dlls/shell32/shlwapi.spec, dlls/tapi32/line.c, dlls/tapi32/tapi32.spec, dlls/version/version.spec, dlls/winmm/winmm.spec, relay32/ddraw.spec, relay32/dinput.spec, relay32/gdi32.spec, dlls/avifil32/avifil32.spec, dlls/crtdll/crtdll.spec, dlls/dciman32/dciman32.spec, dlls/dplayx/dplay.spec, dlls/icmp/icmp.spec, dlls/imagehlp/imagehlp.spec, dlls/imm32/imm32.spec, dlls/lzexpand/lz32.spec, dlls/advapi32/advapi32.spec: Make use of automatic ordinal allocation. * server/socket.c, server/device.c, server/event.c, server/file.c, server/handle.c, server/mapping.c, server/mutex.c, server/object.c, server/object.h, server/pipe.c, server/process.c, server/registry.c, server/request.c, server/request.h, server/select.c, server/semaphore.c, server/snapshot.c, server/sock.c, server/thread.c, server/thread.h, server/timer.c, server/trace.c, server/Makefile.in, server/change.c, server/console.c: Moved poll handling to the generic part of the server objects. Fixed busy waiting on POLLERR events. Merged struct client into struct thread. Mon Dec 27 05:26:01 1999 Alexandre Julliard * win32/process.c, windows/x11drv/wnd.c, dlls/odbc32/proxyodbc.c, dlls/ole32/bindctx.c, dlls/ole32/hglobalstream.c, graphics/ttydrv/bitmap.c, misc/ddeml.c, misc/version.c: Cosmetics. * memory/atom.c, memory/environ.c, misc/lstr.c, misc/registry.c, misc/winsock.c, programs/regapi/regapi.c, relay32/builtin32.c, windows/driver.c, windows/mdi.c, windows/x11drv/keyboard.c, dlls/winmm/lolvldrv.c, dlls/winmm/wineoss/mixer.c, files/profile.c, graphics/psdrv/driver.c, graphics/psdrv/font.c, loader/module.c, loader/ne/module.c, loader/task.c, dlls/commdlg/filedlg.c, dlls/commdlg/filetitle.c, dlls/shell32/pidl.c, dlls/shell32/shelllink.c, dlls/shell32/shlfolder.c, dlls/version/install.c: Francois Gouget Buffer overflows and strncpy fixes. * loader/pe_image.c: PE_FindExportedFunction: use a binary search for function names. Sun Dec 26 23:12:38 1999 Alexandre Julliard * dlls/advapi32/advapi32.spec, dlls/odbc32/odbc32.spec: Fixed/commented out duplicate entry point names. * relay32/builtin32.c, tools/build-spec.txt, tools/build.c: Added support for automatic ordinal allocation. Output list of function names in sorted order. Added support for nameless (ordinal-only) entry points. Cleaned up error handling. * include/metafiledrv.h, include/psdrv.h, include/ts_xlib.h, include/ttydrv.h, include/win16drv.h, include/x11drv.h, objects/font.c, objects/text.c, tsx11/X11_calls, tsx11/ts_xlib.c, graphics/metafiledrv/text.c, graphics/psdrv/font.c, graphics/psdrv/ps.c, graphics/psdrv/text.c, graphics/ttydrv/font.c, graphics/ttydrv/text.c, graphics/win16drv/font.c, graphics/win16drv/text.c, graphics/x11drv/text.c, graphics/x11drv/xfont.c, include/gdi.h: Huw D M Davies Move DCFuncs ExtTextOut and GetTextExtentPoint to Unicode. Map a few Unicode chars to the first 0xff in psdrv. Don't expect x11drv to display Unicode chars yet. * dlls/comctl32/tooltips.c, dlls/shell32/pidl.c, dlls/shell32/shellord.c, dlls/shell32/shellpath.c, dlls/shell32/shlfolder.c, memory/string.c, relay32/relay386.c, relay32/snoop.c: Francois Gouget Wrapped some strings in a debugstr_* call. Replaced some calls to debugstr_{a,w} by debugstr_{a,w}n. Removed redundant 'L's for Unicode strings. Tried to harmonize the traces a little bit. * misc/debugstr.c: Francois Gouget debugstr_w now returns something looking like 'L"xxxx"...' * dlls/commdlg/filedlg95.c: Francois Gouget FILEDLG95_HandleCustomDialogMessages: - for the three handled messages we must return the required buffer size - for CDM_GETFILEPATH paths like "dir\file" were handled incorrectly - fixed multiple potential buffer overflows. FILEDLG95_OnOpen: fixed a use of strncpy without '\0'. FILEDLG95_SHELL_NewFolder: the size of lpstrCaption was incorrect leading to a buffer overflow. Sat Dec 25 22:58:59 1999 Alexandre Julliard * objects/enhmetafile.c: Peter Hunnisett Added support for playing more record types (still more to come). * dlls/comctl32/listview.c: Francois Gouget Better support very long strings by avoiding to copy them in a fixed size buffer (one exception partly remains: callback strings). Raise the buffer size to 512 characters. Merge the handling of item 0 and other items together in GetItemA to reduce code duplication. * graphics/psdrv/bitmap.c: Huw D M Davies Fix PSDRV_StretchDIBits for non-integer byte src widths (1 & 4bpp). * dlls/winmm/wineoss/audio.c: Marcus Meissner Cast the unsigned int to signed, or NEAR_MATCH will not work. * misc/cdrom.c, msdos/int2f.c, include/cdrom.h: Eric Pouech Fixed first/last playable frame referencing. * include/mmsystem.h, dlls/winmm/mcicda/mcicda.c: Eric Pouech Fixed some bogus values in MCI_STATUS handling (position & length of tracks). Added support for MCI_INFO on MEDIA_UPC & MEDIA_IDENTITY commands. * windows/rect.c: Marcus Meissner Test pointers passed to copyrect for NULL. * windows/dialog.c: Dmitry Timoshkov Restore erroneously deleted lines. * dlls/comctl32/comctl32undoc.c: Huw D M Davies DPA_DeletePtr was resizing the array to a too small size. * windows/winpos.c: Huw D M Davies Avoid infinite loop in WINPOS_FindIconPos if the width of the parent client area is less than the icon spacing. * documentation/linux-fat-permissions: Steven Elliott Added a document that describes configuring FAT filesystem permissions for Wine. * scheduler/thread.c: Juergen Schmied NT allocates one page as TEB. Some native NT-dlls are using this. * graphics/x11drv/xfont.c: Dmitry Timoshkov Don't skip usable X fonts. Add support for koi8 fonts. * dlls/icmp/icmp_main.c: Francois Gouget Modified IcmpCloseHandle and IcmpSendEchoRequest so that we don't crash if the handle is INVALID_HANDLE_VALUE. * include/windef.h: Steven Elliott Changed the "this_is_a_syntax_error" error message to a more specific error message. Mon Dec 20 04:14:48 1999 Alexandre Julliard * graphics/metafiledrv/graphics.c, graphics/metafiledrv/init.c, graphics/painting.c, graphics/path.c, graphics/ttydrv/graphics.c, graphics/ttydrv/init.c, graphics/x11drv/graphics.c, graphics/x11drv/init.c, include/gdi.h, include/metafiledrv.h, include/path.h, include/ttydrv.h, include/x11drv.h: Huw D M Davies Move Bezier code out of x11drv into commmon GDI code; if any driver does not implement PolyBezier[To] the curve is approximated to lines and drawn with Polyline. Implement many GDI-Path recording functions (at least the win9x subset). Implement FlattenPath and FillPath. * dlls/dplayx/dplayx.spec: Peter Hunnisett Fixed ordinal numbering and added new spec stub. * configure, configure.in: Marcus Meissner Readded Xpm autoconf checks. * ole/ole2nls.c: Rein Klazes EnumSystemLocalesA should look for registry values, not subkeys. * dlls/wnaspi32/winaspi32.c: Marcus Meissner Small fix to get GET_DEVICE_TYPE working (verified by Dan Kegel). * dlls/comctl32/trackbar.c: Ian Schmidt Corrected background color and fixed leaking GDI brush. * misc/registry.c: Juergen Schmied NT loader: don't stop loading a hive when an error occurs. * objects/metafile.c: Huw D M Davies PlayMetaFile and EnumMetaFile should work if the hdc is a (enh)metafile DC. * README: Juergen Lock Updated the FreeBSD notes, the LDT patch finally made it into -current. * dlls/commdlg/filetitle.c: Francois Gouget If lpTitle==NULL and cbBuf==0 then we must return the required buffer size. * dlls/comctl32/comctl32.spec, dlls/comctl32/commctrl.c, include/commctrl.h: Shaun Morris Implemented _TrackMouseEvent for the TME_LEAVE flag. * graphics/ddraw.c, graphics/ddraw_private.h: Lionel Ulmer Adds resolution / depth switching with DGA 2.0. ---------------------------------------------------------------- Sun Dec 12 21:28:44 1999 Alexandre Julliard * windows/x11drv/event.c: Lionel Ulmer Fixed handling of DGA2.0 keyboard events. * dlls/msacm32/driver.c, dlls/msacm32/internal.c, dlls/msacm32/msacm32_main.c, dlls/msacm32/wineacm.h: Eric Pouech Added the ability to open several streams on the same driver. Added a few acmMetrics options. * dlls/oleaut32/ole2disp.c: Eric Pouech SysStringLen can get a NULL pointer (and shall return 0). * dlls/winmm/mmsystem.c: Eric Pouech Now using notification for detecting when a WAVEHDR has been played * dlls/winmm/mciwave/mciwave.c: Eric Pouech Enhanced synchronization between playback thread and stop/close commands Now using notification for detecting when a WAVEHDR has been played * controls/combo.c: Dmitry Timoshkov ComboBox should not send bogus messages to edit buddy and to itself. * files/dos_fs.c: Peter Ganten Fixed GetShortPathNameA. * Makefile.in, configure, configure.in: Moses DeJong Fixed missing libwine.so symlink during install. Set the runtime linker path. * windows/dialog.c: Murali Pattathe GetNextDlgGroupItem: needs to check the control parent is the main dialog. GetNextTabItem: make sure this control is visible and not disabled. * loader/module.c: Andreas Mohr Fixed cmd line length calculation. * include/x11drv.h, windows/x11drv/event.c, graphics/ddraw.c: Lionel Ulmer - added support of DGA-2.0 events - fixed the leaving of DGA-2.0 mode * controls/menu.c, include/menu.h, windows/winproc.c: Rein Klazes In win32 a WM_MENUSELECT message should contain the position when the item refers to a submenu, not the submenu's handle as in win16. * files/tape.c: Huw D M Davies Fixed arg types of FIXMEs. * windows/mdi.c: Marcus Meissner Check for passed invalid window handle in DefMDIChildProc*. * dlls/winmm/mmsystem.c: Huw D M Davies Fix no. of arguments in a WARN statement. * objects/text.c: Eric Pouech Allows DrawText(16|A|W) to get a NULL string as parameter. * scheduler/process.c, dlls/advapi32/service.c, dlls/comctl32/datetime.c, dlls/comctl32/tab.c, dlls/dplayx/dplay.c, graphics/ttydrv/objects.c: Andreas Mohr Fixed compiler warnings. * controls/listbox.c, misc/registry.c, misc/version.c: Marcus Meissner Removed 2 useless include winversion.h Do not make autodetected version fix on first calls if it is Win31. * dlls/shell32/shell32.spec: Juergen Schmied Added StrNCpyA, StrNCpyW. * windows/winproc.c: Juergen Schmied Message translation WM_CREATE fixed. Sat Dec 11 23:56:47 1999 Alexandre Julliard * relay32/builtin32.c, Makefile.in, configure, configure.in, dlls/Makefile.in, dlls/odbc32/.cvsignore, dlls/odbc32/Makefile.in, dlls/odbc32/odbc32.spec, dlls/odbc32/proxyodbc.c, dlls/odbc32/proxyodbc.h, include/debugdefs.h, include/sql.h, include/sqlext.h, include/sqltypes.h, loader/loadorder.c: Xiang Li Implementation of a proxy ODBC32 dll. * windows/x11drv/wnd.c, dlls/shell32/Makefile.in, dlls/shell32/shell32_main.c, dlls/shell32/systray.c, include/winuser.h, include/x11drv.h, windows/nonclient.c: Kai Morich Marcus Meissner Added systray support. Swallow the windows systray icons into kpanel systray if KDE/KWM is running. * documentation/wine.conf.man.in, misc/registry.c, wine.ini: Juergen Schmied Added loader for NT registry files. * dlls/ntdll/nt.c, include/ntsecapi.h, include/winnt.h, dlls/advapi32/advapi32.spec, dlls/advapi32/security.c: Juergen Schmied Stubs for LsaFreeMemory, LsaQueryInformationPolicy, LsaClose. Small fixes. * include/wingdi.h, objects/enhmetafile.c, objects/region.c, relay32/gdi32.spec: Peter Hunnisett - Implemented GetEnhMetaFilePaletteEntries - Added fixme stubs for SetMetaRgn and GetMetaRgn - Added support for playing several enhanced metafile records - Added beginnings of implementation for playing the rest of the enhanced metafile records * graphics/ttydrv/Makefile.in, graphics/ttydrv/bitmap.c, graphics/ttydrv/brush.c, graphics/ttydrv/clipping.c, graphics/ttydrv/dc.c, graphics/ttydrv/dib.c, graphics/ttydrv/font.c, graphics/ttydrv/graphics.c, graphics/ttydrv/init.c, graphics/ttydrv/objects.c, graphics/ttydrv/oembitmap.c, graphics/ttydrv/palette.c, graphics/ttydrv/pen.c, graphics/ttydrv/text.c, include/ttydrv.h, windows/ttydrv/main.c, windows/ttydrv/monitor.c, windows/ttydrv/wnd.c: Patrik Stridvall Improved the TTY driver. * files/file.c: Peter Ganten Return an error if lpOverlapped is provided to ReadFile / WriteFile. * misc/wsprintf.c: Marcus Meissner Do not confuse the 0 fill magic of wsprintf with the "0x" hex prefix. * dlls/winmm/mmsystem.c, dlls/winmm/wavemap/wavemap.c: Bradley Baetz The wavemap driver wasn't passing the callback type to the DriverCallback routine correctly. * files/tape.c: Added missing WINAPIs. * windows/syscolor.c: Marcus Meissner If we have registry entries, use them. Never mind which version we autodetected. * dlls/oleaut32/oleaut32.spec, misc/port.c, tools/bin2res.c: Patrik Stridvall Fixed some issues found by winapi_check. * tools/winapi_check/win16/display.api, tools/winapi_check/win16api.dat, tools/winapi_check/win32api.dat, tools/winapi_check/winapi.pm, tools/winapi_check/winapi_check, tools/winapi_check/winapi_local.pm, tools/winapi_check/winapi_parser.pm: Patrik Stridvall Minor fixes and additions. * loader/ne/resource.c: Ulrich Weigand Bugfix: Added missing 'return' statement. * dlls/commdlg/filedlg95.c: Juergen Schmied Small fixes. Fri Dec 10 03:47:14 1999 Alexandre Julliard * include/queue.h, windows/dialog.c, windows/message.c, windows/nonclient.c, windows/queue.c, controls/menu.c, include/message.h: Ulrich Weigand Perform 16/32A/32W message mapping for posted messages. * files/Makefile.in, files/tape.c, include/debugdefs.h, relay32/kernel32.spec: Chris Morgan James Abbatiello Added stubs for the WinNT tape backup functions. * debugger/msc.c, debugger/source.c: Ulrich Weigand Parse CodeView type/symbol info with 32-bit type indices. Added (partial) support for VC 5/6 .PDB files. Fixed treatment of source file names containing path. * server/registry.c: Ulrich Czekalla Fixed off-by-one error. * scheduler/process.c: Ulrich Weigand Bugfix: Show main window if CreateProcess was called without the STARTF_USESHOWWINDOW flag. * loader/pe_image.c: Ulrich Weigand Implemented PE_UnloadLibrary(). * include/dinput.h, windows/dinput.c: Lionel Ulmer - do not loose initial auto-repeat status when acquiring the keyboard more than one time - support of DirectX 7's DIMOUSESTATE2 structure * dlls/ntdll/nt.c, dlls/ntdll/ntdll.spec: Marcus Meissner Added NtPowerInformation stub. * dlls/ole32/bindctx.c: Gerard Patel Transfer only cbStruct size in BindCtxImpl_S(G)etOptions. Wed Dec 8 03:56:34 1999 Alexandre Julliard * windows/x11drv/event.c, windows/x11drv/keyboard.c, windows/message.c, windows/nonclient.c, windows/painting.c, windows/win.c, windows/keyboard.c, scheduler/critsection.c, scheduler/debugger.c, scheduler/process.c, win32/kernel32.c, win32/newfns.c, msdos/dosmem.c, objects/bitmap.c, objects/clipping.c, objects/font.c, ole/ole2nls.c, loader/elfdll.c, loader/module.c, loader/pe_image.c, loader/resource.c, loader/task.c, memory/instr.c, memory/local.c, misc/registry.c, graphics/bitblt.c, graphics/metafiledrv/objects.c, graphics/x11drv/dib.c, if1632/thunk.c, files/directory.c, files/dos_fs.c, files/drive.c, dlls/shell32/pidl.c, dlls/shell32/shell.c, dlls/shell32/shell32_main.c, dlls/shell32/shellole.c, dlls/tapi32/line.c, dlls/comctl32/comctl32undoc.c, dlls/comctl32/flatsb.c, dlls/ole32/storage.c, dlls/oleaut32/typelib.c, dlls/advapi32/crypt.c, dlls/advapi32/security.c, dlls/avifil32/avifile.c, controls/edit.c: Dimitrie O. Paun Make use of the DEFAULT_DEBUG_CHANNEL where appropriate. Use the default version of FIXME, ERR, WARN, TRACE for the default channel. * include/module.h, loader/module.c, scheduler/process.c: Ulrich Weigand Delay sending debug events until process initialization is complete. * documentation/status/multimedia: Eric Pouech Updated, added chapter on configuration and architecture. * dlls/winmm/mmio.c: Bradley Baetz - Fix MMIO_{Open,Rename} to check the filename (of the form file.ext+ABC) for the correct mmio procedure to use. - mmioStringToFOURCC now converts to uppercase if asked to, and handles strings of length < 4. * controls/edit.c: Dmitry Timoshkov Fix problem with EN_UPDATE notification sent by edit control. Mon Dec 6 01:20:01 1999 Alexandre Julliard * dlls/mouse/.cvsignore, dlls/mouse/Makefile.in, dlls/mouse/mouse.spec, dlls/mouse/mouse_main.c, dlls/mouse/mouserc.rc, documentation/resources, if1632/.cvsignore, if1632/display.spec, if1632/mouse.spec, if1632/Makefile.in, if1632/builtin.c, loader/ne/resource.c, windows/display.c, windows/mouse.c, windows/Makefile.in, Makefile.in, configure, configure.in, dlls/Makefile.in, dlls/display/.cvsignore, dlls/display/Makefile.in, dlls/display/disp.rc, dlls/display/display.spec, dlls/display/display_main.c: Andreas Mohr Added .rc file support for Win16 NE modules. Moved display.c and mouse.c to separate dll directories. * controls/combo.c: Dmitry Timoshkov Allow to deselect all items by sending CB_SETCURSEL(-1) to the combo. Sun Dec 5 23:54:04 1999 Alexandre Julliard * windows/painting.c, graphics/enhmetafiledrv/dc.c, graphics/enhmetafiledrv/graphics.c, graphics/enhmetafiledrv/init.c, graphics/metafiledrv/dc.c, graphics/metafiledrv/graphics.c, graphics/metafiledrv/init.c, graphics/psdrv/graphics.c, graphics/psdrv/init.c, graphics/ttydrv/graphics.c, graphics/ttydrv/init.c, graphics/win16drv/init.c, graphics/x11drv/graphics.c, graphics/x11drv/init.c, include/enhmetafiledrv.h, include/gdi.h, include/metafiledrv.h, include/path.h, include/psdrv.h, include/ttydrv.h, include/x11drv.h, graphics/painting.c, graphics/path.c: Huw D M Davies Fixes several bugs in gdi path handling. Adds *Path functions to dc funcs table + add EnhMetaFile recording. Separate out Polylne/PolylineTo and PolyBezier/PolyBezierTo in dc funcs table to enable proper enhmetafile recording. The current position update in *To functions is now handled by the main function and not in the drivers. Move USER functions from graphics/painting.c -> windows/painting.c * dlls/ole32/compobj.c, dlls/ole32/ole2.c, dlls/oleaut32/oleaut.c, dlls/oleaut32/typelib.c, dlls/oleaut32/typelib.spec, include/ole2ver.h, misc/version.c: Andreas Mohr - the OLE version returned was too low - renamed OABuildVersion16 to OaBuildVersion16 - spelling fixes * files/drive.c: Peter Ganten Fix GetCurrentDirectoryA and W to return the needed space for the CWD, if the buffer size is not large enough. * controls/button.c, windows/dialog.c: Dmitry Timoshkov Remove hack for keyboard messages in dialogs. * win32/device.c: Ian Schmidt Stubs for VMM GetDemandPageInfo function and VWin32 "Get VMCPD Version". Implementation for VWin32 Int31/DPMI dispatch call. Fixed "dangling else" compiler warning. * dlls/comctl32/listview.c: Francois Gouget Whenever we do an strncpy we should make sure we put a '\0' at the end of the buffer. * include/toolhelp.h, misc/toolhelp.c, relay32/kernel32.spec: Andreas Mohr Added Thread32First/Next stubs. * include/thread.h: Eric Pouech Moved wineserver's buffer & buffer_size at the end of TEB so that IE doesn't overwrite them. * dlls/winmm/mciwave/mciwave.c: Eric Pouech Fixed mciInfo. * dlls/winmm/wavemap/wavemap.c: Eric Pouech Added support for WAVE_FORMAT_QUERY flag in wodOpen. * dlls/msacm32/stream.c: Eric Pouech Correctly implement ACM_STREAMOPENF_QUERY flag in acmOpenStream. * dlls/winmm/mci.c: Eric Pouech Fixed MCI_OPEN command for types like "CDAUDIO!H:". * graphics/ddraw_private.h, graphics/ddraw.c: Marcus Meissner Merged _all_ lpClipper into common_surface. Add NULL ptr check to SetClipper. Some more debug output. * include/config.h.in, misc/port.c, configure, configure.in: Marcus Meissner Use the real glibc openpty if present. * loader/ne/segment.c: Eric Pouech Added typedef to insure compilation on all gcc&egcs versions. * misc/registry.c: Marcus Meissner Fixed _copy_registry(). * include/winnls.h, ole/nls/esa.nls, ole/nls/esc.nls, ole/nls/esd.nls, ole/nls/esg.nls, ole/nls/esm.nls, ole/nls/esn.nls, ole/nls/esp.nls: Juergen Schmied Added some constants for Spanish. * include/module.h, loader/ne/module.c, loader/ne/segment.c: Ulrich Weigand Bugfix: Call DllEntryPoint for *every* process that loads the DLL, not just for the first one. Bypass 32->16->32 transition when calling DllEntryPoint of built-in. * if1632/user.spec, windows/user.c: Ulrich Weigand Added USER.DllEntryPoint(). * if1632/thunk.c, include/process.h, loader/task.c, scheduler/process.c, scheduler/thread.c: Ulrich Weigand Call 16-bit instead of 32-bit UserSignalProc entry point. Don't load USER32.DLL unless requested by the program. Bugfix: Pass the correct thread ID to UserSignalProc. * loader/pe_image.c: Eric Pouech Fixed crash when map fails. * controls/combo.c: Dmitry Timoshkov Show use of undocumented messages. * include/keyboard.h, include/ttydrv.h, include/x11drv.h, windows/dinput.c, windows/ttydrv/init.c, windows/ttydrv/keyboard.c, windows/x11drv/init.c, windows/x11drv/keyboard.c: Lionel Ulmer - removed keyboard auto-repeat when DInput acquires it - removed some (now) obsolete fixme's * graphics/ddraw_private.h, graphics/ddraw.c: Marcus Meissner Moved lpClipper into common_directdrawsurface struct Release old clipper on new set * dlls/winmm/wineoss/midi.c, include/mmsystem.h: Eric Pouech Fake MIDI_IO_STATUS support in midi in open Fixed bug in midi in while reading data * dlls/winmm/wineoss/audio.c: Eric Pouech Fixed infinite loop for 0-length wavehdrs. * dlls/winmm/mciwave/mciwave.c: Eric Pouech Fixed buggy playback for non PCM files Added support for from & to indexes for playback Now using double wavehdr for better output Cleaned-up internal structs and removed last 16 bit API adherence * dlls/winmm/mmsystem.c: Eric Pouech Tried to reduce echo in playSound API (using two wavehdr instead of one). * dlls/winmm/lolvldrv.c: Eric Pouech Added callback mechanisms for MIDI IN. * dlls/msacm32/stream.c, dlls/msacm32/wineacm.h: Eric Pouech Fixed improper acm streams closing. * dlls/msacm32/driver.c: Eric Pouech Debug traces cosmetic fixes. * DEVELOPERS-HINTS: Eric Pouech Fixed some errors (thanks to F Gouget for reporting them). Added some bits on thunking and resources for DLLs. Sat Dec 4 04:22:04 1999 Alexandre Julliard * graphics/ddraw.c, graphics/ddraw_private.h, include/ts_xlib.h, tsx11/X11_calls, tsx11/ts_xlib.c: Lionel Ulmer First support of DGA 2.0 for DirectDraw. * include/winuser.h, relay32/user32.spec, win32/newfns.c: Erez Volk Stubs for Get/SetProcessDefaultLayout. * files/profile.c, relay32/kernel32.spec: Marcus Meissner Stub for CloseProfileUserMapping. * windows/dinput.c: Lionel Ulmer Use DInput's internal mouse event handler to handle the GetDeviceState function. * dlls/winmm/mmsystem.c: Peter Ganten waveHdr.lpData was eventually HeapFree()ed uninitialized. * loader/module.c: Sergei Turchanov Fix for GetBinaryType to return SCS_DOS_BINARY if extended signature is unknown. * loader/dos/module.c, loader/ne/module.c, relay32/builtin32.c, scheduler/process.c, include/dosexe.h, include/elfdll.h, include/module.h, include/pe_image.h, loader/elf.c, loader/elfdll.c, loader/main.c, loader/module.c, loader/pe_image.c: Ulrich Weigand Fixed 32-bit module name handling to conform better to Win9x. Removed OFSTRUCT passing during process creation sequence. Bugfix: don't set exe_modref when LOAD_LIBRARY_AS_DATAFILE is set. * dlls/advapi32/service.c, include/winsvc.h, dlls/advapi32/advapi32.spec: Michael McCormack Added code to some service functions (some untested), fixed declaration of service main function. * dlls/commdlg/filedlg95.c, dlls/commdlg/filedlgbrowser.h: Pierre Mageau Murali Pattathe Francois Boisvert Francis Baudet Henning Hoffmann Many fixes. * dlls/comctl32/comctl32.spec, dlls/comctl32/comctl32undoc.c: Huw D M Davies Added stubs for several MRU list functions and documented some others. * server/file.c: Marcus Meissner Flush handle in any access mode. * dlls/comctl32/header.c: Huw D M Davies Fixes off by one error in item insertion. * dlls/winmm/wineoss/audio.c: Marcus Meissner Allow 1% deviation from specified sampling rate for some soundcards. * include/d3d.h: Lionel Ulmer Suppressed the inclusion of OpenGL headers. * objects/enhmetafile.c: Peter Hunnisett - Added stub for conversion from meta to enhance meta files. - Implemented GetEnhMetaFileBits for enhanced meta files. * graphics/ddraw.c, graphics/ddraw_private.h: Peter Hunnisett Improved stubs for the ddraw clipper routines. Mon Nov 29 02:48:43 1999 Alexandre Julliard * win32/time.c: Made GetSystemTimeAsFileTime return value more precise. * server/event.c, server/file.c: Fixed get_event_obj/get_file_obj to use the process parameter (thanks to Eric Pouech). * server/process.h, scheduler/process.c, server/process.c: Fixed DEBUG_ONLY_THIS_PROCESS again (thanks to Ulrich Weigand). * scheduler/timer.c, server/Makefile.in, server/request.h, server/timer.c, server/trace.c, dlls/ntdll/nt.c, include/server.h, include/winbase.h, relay32/kernel32.spec, scheduler/Makefile.in: Implemented waitable timers. Sun Nov 28 21:03:46 1999 Alexandre Julliard * tools/bin2res.c: Bug fixes. * dlls/comctl32/comctl32.h, dlls/comctl32/propsheet.c, dlls/comctl32/rsrc.rc, include/prsht.h: Serge Ivanov Pierre Mageau Thy Nguyen Don Kelly Noomen Hamza Lots of bug fixes and new features in property sheets. * win32/newfns.c, windows/x11drv/clipboard.c, windows/x11drv/event.c, dlls/dplayx/dplobby.c, dlls/shell32/shlview.c, graphics/psdrv/font.c, dlls/comctl32/tab.c: Niels Kristian Bech Jensen Compiler warnings fixed. * graphics/x11drv/xfont.c: Bradley Baetz Give the app back the exact font name it asked for. * dlls/comctl32/toolbar.c: Dave Pickles Prevent a crash if messages are sent to a toolbar window before WM_NCCREATE or after WM_DESTROY. * dlls/winmm/winmm_Es.rc: Julio Cesar Gazquez Updated Spanish MM error string translation. * dlls/comctl32/comctl32.h, dlls/comctl32/rsrc.rc, dlls/comctl32/treeview.c, include/commctrl.h, include/treeview.h: Alex Priem - (final?) update of TreeView_* macro's. - implementation of TVM_SETINSERTMARK & TVM_SETINSERTMARKCOLOR - fixed some typo's - custom draw enhancements - implementation of state images - implementation of TVS_CHECKBOXES * dlls/comctl32/toolbar.c: Eric Kohl Fixed some visual toolbar bugs. * README: Juergen Lock Added notes about Wine-related FreeBSD kernel patches. * dlls/winspool/info.c: Huw D M Davies Use RegQueryInfoKey to count number of printers. * server/unicode.h: Juergen Lock Don't try to call towupper() when there's no wctype.h. * controls/combo.c: Dmitry Timoshkov When combobox selection changes, update its edit box accordingly. * controls/listbox.c: Dmitry Timoshkov Notify parent of listbox if requested. Thu Nov 25 23:42:54 1999 Alexandre Julliard * server/ptrace.c: More portability fixes (thanks to Juergen Lock). * dlls/ntdll/signal_i386.c: Juergen Lock Set/use fs/gs from the sigcontext struct, the corresponding kernel change now finally has been MFC'd to -stable. * documentation/fonts: Juergen Lock Mention free Truetype font servers (Xfstt and xfsft). * winedefault.reg: Juergen Lock Note what to do with the winedefault.reg in the file. * win32/device.c: Peter Ganten Implemented parts of _PageReserve() _PageCommit() _PageDecommit() _PageChangePermissions() and _PageFree() using the Virtual*()-Functions (with the great help of Ulrich Weigand). * memory/atom.c: Juergen Schmied Removed fixme. * misc/registry.c: Several bug fixes in save_key(). * dlls/advapi32/registry.c: Eric Pouech Fixed some bogus error detection for RegEnumValue[AW] and RegQueryValueEx[AW]. * dlls/dplayx/dplay.c, dlls/dplayx/dplayx_global.c, dlls/dplayx/dplayx_global.h, dlls/dplayx/dplobby.c: Peter Hunnisett - Added global data mutual exclusion - Removed hack for creating processes suspended now that it's implemented - Fixed ordinal numbering and added spec stubs - Fixed EnumConnections callback to fill in all parameters with valid data - Made direct play allocation/deallocation follow the same pattern as direct play lobby * dlls/win87em/emulate.c: Andreas Mohr Several improvements. * ole/ole2nls.c: Eric Pouech Removed invalid LCMapString fixme for NORM_IGNOREKANATYPE case. * include/comm.h, misc/comm.c: Ove Kaaven Made win16 serial comms less of a CPU hog. * include/server.h, memory/virtual.c, scheduler/event.c, scheduler/mutex.c, scheduler/semaphore.c, server/Makefile.in, server/event.c, server/handle.c, server/handle.h, server/mapping.c, server/mutex.c, server/object.c, server/object.h, server/registry.c, server/semaphore.c, server/trace.c, server/unicode.c, server/unicode.h: Store all object names as Unicode in the server. Wed Nov 24 19:34:32 1999 Alexandre Julliard * include/server.h, misc/registry.c, server/registry.c, server/trace.c, wine.ini: Added wine.conf option for new format registry files. Added optional periodic saving of the registry. * misc/registry.c, server/registry.c: Added support to the server for loading new format (version 2) files. * misc/registry.c: Bug fixes (thanks to Juergen Schmied). * include/process.h, include/server.h, scheduler/debugger.c, dlls/ntdll/exception.c: Added current context to the exception debug event sent to the server. * server/debugger.c, server/process.c, server/process.h, server/thread.c, server/thread.h: Fixed handling of debug events on thread/process exit. * debugger/dbg.y, include/winbase.h, scheduler/critsection.c: Raise an exception when a critical section wait failed. Tue Nov 23 23:43:29 1999 Alexandre Julliard * graphics/ttydrv/Makefile.in, graphics/ttydrv/bitblt.c, graphics/ttydrv/bitmap.c, graphics/ttydrv/brush.c, graphics/ttydrv/clipping.c, graphics/ttydrv/font.c, graphics/ttydrv/graphics.c, graphics/ttydrv/init.c, graphics/ttydrv/objects.c, graphics/ttydrv/oembitmap.c, graphics/ttydrv/palette.c, graphics/ttydrv/pen.c, graphics/ttydrv/text.c, include/ttydrv.h, windows/ttydrv/desktop.c, windows/ttydrv/main.c, windows/ttydrv/monitor.c, windows/ttydrv/wnd.c: Patrik Stridvall Improved the stubs. * dlls/comctl32/imagelist.c, include/imagelist.h: Eric Kohl - first 'dummy' implementation of ImageList_Read * include/rebar.h, dlls/comctl32/rebar.c: Eric Kohl - added version messages * dlls/comctl32/draglist.c: Eric Kohl - implemented LBItemFromPt * include/commctrl.h, dlls/comctl32/listview.c: Eric Kohl - implemented simple column order array functionality - implemented some virtual listview notifications * dlls/comctl32/comctl32.spec, dlls/comctl32/comctl32undoc.c: Eric Kohl - minor update to mru list functions - stubs for COMCTL32_411 to COMCTL32_413 * dlls/comctl32/toolbar.c, include/toolbar.h: Eric Kohl - added version messages and some simple get/set messages. - added unicode messages * include/shlguid.h, dlls/shell32/classes.c, dlls/shell32/iconcache.c, dlls/shell32/pidl.c, dlls/shell32/pidl.h, dlls/shell32/shellole.c, dlls/shell32/shellord.c, dlls/shell32/shellpath.c, dlls/shell32/shlfolder.c, dlls/shell32/shlview.c: Juergen Schmied - made IShellFolder a aggregable object - SHCoCreateInstance can create CSIDL_FSFolder now - browsing into folders on the desktop implemented - corrected returnvalue of Ico_ExtractIconEx - fixed SHGetDataFromIDList to return data of simple pidls * relay32/wsock32.spec, if1632/winsock.spec, include/winsock.h, misc/winsock.c: Moses DeJong Added implementation for WSARecvEx function. This is a Microsoft specific extension to the winsock API. * dlls/mpr/mpr.spec, dlls/mpr/pwcache.c, include/winnetwk.h: Juergen Schmied Corrected wrong parameter counts for WNetCachePassword and WNetEnumCachedPasswords. * dlls/shell32/shell32.spec, dlls/shell32/shell32_main.c: Ian Schmidt Added stub for DllInstall(). * misc/registry.c, include/wine/winbase16.h, include/winnt.h, include/winreg.h, dlls/advapi32/Makefile.in, dlls/advapi32/registry.c, dlls/shell32/shell.spec, if1632/kernel.spec: Changed to use new server-side registry support. * include/server.h, server/Makefile.in, server/main.c, server/object.c, server/object.h, server/registry.c, server/request.h, server/trace.c, server/unicode.h: Added registry support to the server. * tools/make_requests: Differentiate tracing functions between request and reply. Added possibility to have dumping functions for specific types. Sun Nov 21 21:02:06 1999 Alexandre Julliard * include/server.h, scheduler/client.c: Added server_call_noerr function that avoids touching the last error. * include/winerror.h: Added a few registry error codes. * graphics/x11drv/xfont.c, objects/font.c: Ulrich Weigand Removed some unaligned accesses. * dlls/commdlg/filedlg95.c: Juergen Schmied - the fodInfos were used before initialized - lpTemplateName can be a resource id - if lpTemplateName is a string don't free the original one * win32/console.c, win32/kernel32.c, windows/x11drv/main.c, loader/ne/convert.c, loader/ne/module.c, misc/cpu.c, msdos/ioports.c, ole/guid.c, programs/notepad/main.c, scheduler/critsection.c, scheduler/process.c, server/socket.c, tools/wrc/newstruc.c, dlls/winmm/mci.c, graphics/ddraw.c, graphics/x11drv/graphics.c, loader/loadorder.c, loader/main.c, loader/task.c, debugger/dbgmain.c, debugger/editline.c, debugger/source.c, debugger/stabs.c, debugger/types.c, dlls/icmp/icmp_main.c, dlls/ntdll/sec.c, dlls/ntdll/signal_i386.c, dlls/wing/wing_main.c: Niels Kristian Bech Jensen Removed extra #include statements. * files/file.c: Fixed MoveFileExA behavior when target file does not exist. * dlls/commdlg/cdlg_Pt.rc, programs/winhelp/.cvsignore, programs/winhelp/Makefile.in, programs/winhelp/Pt.rc: Gustavo Junior Alves Added Portuguese language support. * dlls/comctl32/monthcal.c, include/monthcal.h: Chris Morgan James Abbatiello Implemented current day circling. Fixed many bugs in the month calender control including control spacing and alignment. Fixed defines monthcal.h. Optimized control drawing and removed many extranious redraws. Improved control behavior. Fixed inconsistent formatting in both .c and .h files. * files/profile.c: Andreas Mohr Flush current profile before using a newly opened one. * memory/selector.c: Ulrich Weigand Bugfix: GetThreadSelectorEntry() sets read-write flag incorrectly. * include/wine/wingdi16.h, objects/font.c, if1632/gdi.spec: Huw D M Davies Stub for GetFontData16. * windows/display.c, if1632/display.spec: Andreas Mohr Added some ordinals and GetDriverResourceID(). * server/process.c, server/ptrace.c: Portability fixes. * scheduler/process.c: Fixed meaning of DEBUG_ONLY_THIS_PROCESS flag. * tools/bin2res.c: Peter Hunnisett Fixed compile error. * dlls/advapi32/service.c: Peter Schlaile Implemented StartServiceCtrlDispatcherA according to DispatcherW. * Makefile.in: Make sure we clean dlls/ too. * dlls/advapi32/service.c: Michael McCormack Implemented OpenSCManagerW, CloseServiceHandle, OpenServiceW, and some of QueryServiceStatus. * tools/wrc/parser.y: Eric Pouech Added missing ';'. * tools/wrc/parser.l: Eric Pouech Error reporting fix. * tools/bug_report.pl: Andreas Mohr Changed default relay line number from 100 to 200. * dlls/comctl32/toolbar.c, include/commctrl.h: Eric Pouech Added undocumented feature to InsertButtonA. Added dropdown button support. * dlls/comctl32/animate.c: Eric Pouech Fixed play back of uncompressed AVI file. Fixed exiting conditions. * graphics/ddraw.c: Eric Pouech Fixed a crash in IDirectDrawSurface:BltFast. * dlls/winmm/lolvldrv.c, dlls/winmm/midimap/midimap.c, dlls/winmm/wavemap/wavemap.c: Eric Pouech Fixed forwarding and handling messages directed to the mappers. * loader/ne/module.c, loader/ne/segment.c, include/module.h: Ulrich Weigand Simplified hInstance creation/handling. Fixes problems with self-loaders creating DGROUP themselves. * include/wingdi.h, objects/dc.c, relay32/gdi32.spec: Huw D M Davies Add stubs for Get/SetLayout(). * dlls/ole32/ole32.spec, dlls/ole32/storage32.c: Jim Aston Added stub for StgSetTimes. * dlls/shell32/shlmenu.c: Andreas Mohr SHFind_InitMenuPopup is supposed to return a pointer. * dlls/icmp/icmp_main.c: Ulrich Weigand u_int[16|32]_t might not be defined. * dlls/comctl32/treeview.c: Alex Priem - fixed crash when adding items with TVI_SORT and wineItem->pszText is set to LPSTR_TEXTCALLBACK. - ditto for TREEVIEW_DeleteItem, TREEVIEW_CreateDragImage. ---------------------------------------------------------------- Mon Nov 15 00:46:30 1999 Alexandre Julliard * memory/virtual.c: Fixed allocation rounding for MEM_RESERVE. * server/file.c: Eric Pouech Fixed hash function. Sun Nov 14 23:59:01 1999 Alexandre Julliard * dlls/winmm/mmio.c: Eric Pouech The adwInfo[0] field was no longer used on mmioOpen (may contain file handle). * dlls/ole32/ole2stubs.c, dlls/ole32/ole32.spec: Eric Pouech Added stubs for SetErrorInfo, PropVariantClear, PropVariantCopy, FreePropVariantArray. * dlls/dsound/dsound_main.c: Eric Pouech Removed suicide code when playback thread's father dies. * dlls/shell32/pidl.c, dlls/shell32/shell32_De.rc, dlls/shell32/shell32_En.rc, dlls/shell32/shell32_main.h, dlls/shell32/shellole.c, dlls/shell32/shlfolder.c, dlls/shell32/shlview.c, dlls/shell32/shres.rc, dlls/shell32/shresdef.h: Juergen Schmied - the colums in the shellview are now created depending on the attributes of the folder object shown - get all attributes from the shellfolder instead directly from the idlist - header fields localized (only engl. and german till now) - small fixes * dlls/commdlg/cdlg_En.rc, dlls/commdlg/filedlg95.c: Juergen Schmied - corrected control positions - use the icons from comctl32 for the buttons * relay32/kernel32.spec, relay32/relay386.c, relay32/snoop.c: Ulrich Weigand Bugfix: relay/snoop debugging was broken by last patch ... * server/Makefile.in, server/process.c, server/ptrace.c, server/thread.c, server/thread.h: Moved ptrace support to ptrace.c. Tried to improve portability. * server/debugger.c: Bug fixes. * if1632/relay.c: Ulrich Weigand Fixed some unresolved externals on non-Intel archs. * relay32/snoop.c: Rein Klazes Added missing WINAPI attribute to two forward declarations. * dlls/icmp/icmp_main.c: Francois Gouget Removed leftover #undefs. * dlls/winmm/mcicda/mcicda.c: Uwe Bonnes Ignore MCI_OPEN_ELEMENT in CDAUDIO_mciOpen. * dlls/crtdll/wcstring.c: Marcus Meissner Work around glibc bug, that does not handle latin-1 umlauts. Sat Nov 13 23:54:05 1999 Alexandre Julliard * loader/ne/module.c, memory/selector.c, relay32/kernel32.spec, relay32/relay386.c, relay32/snoop.c, win32/device.c, win32/kernel32.c, win32/ordinals.c, dlls/ntdll/exception.c, dlls/ntdll/ntdll.spec, dlls/ntdll/rtl.c, dlls/ntdll/signal_i386.c, dlls/ntdll/signal_sparc.c, if1632/kernel.spec, include/ntddk.h, include/wine/exception.h, loader/dos/dosvm.c: Ulrich Weigand Adapted to new register function handling. * tools/build.c, include/stackframe.h, include/winnt.h: Ulrich Weigand Modified Win32 register function handling. * configure, configure.in, dlls/icmp/icmp_main.c, dlls/icmp/ip.h, dlls/icmp/ip_icmp.h, include/config.h.in: Francois Gouget Use BSD headers for ICMP portability. * dlls/comctl32/rsrc.rc, dlls/commdlg/cdlg_xx.rc, dlls/shell32/shres.rc: Juergen Schmied - inserted markers for the bin2res tool - reformated hexdump in shres.rc * documentation/resources, tools/.cvsignore, tools/Makefile.in, tools/bin2res.c: Juergen Schmied New tool to convert the binary resources in *.rc files (hexdumps) from and to a binary. * include/wine/port.h, misc/port.c, misc/winsock.c, misc/winsock_async.c, scheduler/sysdeps.c, configure, configure.in, files/drive.c, include/config.h.in: Patrik Stridvall Added better missing function emulation. * include/debugger.h, debugger/break.c, debugger/db_disasm.c, debugger/dbg.y, debugger/expr.c, debugger/hash.c, debugger/memory.c, debugger/registers.c, debugger/source.c, debugger/stack.c: Ulrich Weigand Made debugger compile and marginally work on non-Intel archs. * dlls/ntdll/exception.c, include/winnt.h: Ulrich Weigand Moved GET_IP macro to winnt.h * documentation/printing, documentation/psdriver, documentation/psdrv.reg, graphics/psdrv/README: Huw D M Davies Move PostScript driver docs to documentation/ . Add instructions on how to use regapi to get information into the registry. Supply sample input to regapi. * dlls/commdlg/cdlg_En.rc, dlls/commdlg/printdlg.c: Klaas van Gend Implemented the PrintSetup dialog box for the PrintDlgA. * dlls/comctl32/propsheet.c: Adrian Thurston Added validations for page index before using it. * dlls/commdlg/filedlg95.c: Adrian Thurston - fixed the index of the item chosen in the filter combo box - added support for the OFN_OVERWRITEPROMPT flag - fixed positioning of controls in the user-defined templates * include/server.h, scheduler/process.c, server/process.c, server/request.h, server/trace.c: Added support for WriteProcessMemory through the server. * server/mapping.c, server/object.h: Added get_page_size function. Fri Nov 12 21:39:15 1999 Alexandre Julliard * server/file.c, server/process.c, server/request.h, server/thread.c, server/thread.h, server/trace.c, include/server.h, scheduler/process.c: Added support for ReadProcessMemory through the server. * include/server.h, loader/module.c, scheduler/process.c, server/process.c, server/process.h, server/request.h, server/thread.c, server/trace.c: Added support for CREATE_SUSPENDED flag in CreateProcess. * win32/device.c: Ian Schmidt Implemented VWin32 VxDCall mechanism and 2 calls. * dlls/winmm/joystick.c: Fixed joystick scaling. * dlls/commdlg/cdlg_Ca.rc, dlls/commdlg/cdlg_Cs.rc, dlls/commdlg/cdlg_Da.rc, dlls/commdlg/cdlg_De.rc, dlls/commdlg/cdlg_Eo.rc, dlls/commdlg/cdlg_Es.rc, dlls/commdlg/cdlg_Fi.rc, dlls/commdlg/cdlg_Hu.rc, dlls/commdlg/cdlg_It.rc, dlls/commdlg/cdlg_Ko.rc, dlls/commdlg/cdlg_Nl.rc, dlls/commdlg/cdlg_No.rc, dlls/commdlg/cdlg_Pl.rc, dlls/commdlg/cdlg_Pt.rc, dlls/commdlg/cdlg_Ru.rc, dlls/commdlg/cdlg_Sv.rc, dlls/commdlg/cdlg_Wa.rc, dlls/shell32/shell32_Ca.rc, dlls/shell32/shell32_Cs.rc, dlls/shell32/shell32_Da.rc, dlls/shell32/shell32_De.rc, dlls/shell32/shell32_En.rc, dlls/shell32/shell32_Es.rc, dlls/shell32/shell32_Fi.rc, dlls/shell32/shell32_Hu.rc, dlls/shell32/shell32_It.rc, dlls/shell32/shell32_Nl.rc, dlls/shell32/shell32_No.rc, dlls/shell32/shell32_Pl.rc, dlls/shell32/shell32_Pt.rc, dlls/shell32/shell32_Ru.rc, dlls/shell32/shell32_Sv.rc, dlls/shell32/shell32_Wa.rc: Gustavo Junior Alves Use constants IDOK and IDCANCEL in .rc files. * server/thread.c: Gerald Pfeifer Portability fix: renamed PTRACE_* into PT_*. * relay32/kernel32.spec, win32/device.c: Ulrich Weigand Allow for buggy apps that call the wrong VxDCall routine. * dlls/rasapi32/rasapi.c: Gerard Patel Complete stub for RasEnumEntries by saying we have 0 entries. * include/debugstr.h, misc/debugstr.c: Jeremy White Add debugstr_hex_dump to allow display hex dumps of data in any debugging message. * server/thread.c: Added use_ptrace flag to disable ptrace usage. Should eventually be made into an option. * dlls/commdlg/cdlg.h, dlls/commdlg/filedlg95.c, dlls/commdlg/filedlgbrowser.c, dlls/commdlg/filedlgbrowser.h, dlls/commdlg/rsrc.rc, dlls/shell32/shlview.c, include/dlgs.h, include/wine/obj_shellview.h: Juergen Schmied Made the buttons in the filedlg change when selecting a different view type by the context menu, cleanup. * dlls/winmm/winmm_Es.rc, dlls/winmm/winmm_res.rc: Julio Cesar Gazquez Added Spanish (pure Castillan) MM error string translation. * dlls/ntdll/Makefile.in, dlls/ntdll/signal_sparc.c: Ulrich Weigand Added signal handling for SPARC / Solaris. * programs/regapi/regapi.c: Huw D M Davies Comment out explicit call to SHELL_SaveRegistry since winelib programs now exit properly. Change several NULLs to '\0's. Fix some spelling. * windows/x11drv/event.c: Ove Kaaven Fixed XShm completion event leak. * dlls/winmm/mmsystem.c: Eric Pouech Fixed recursion count while calling midiStream(Pause|Restart). * misc/registry.c: Huw D M Davies Fix save_check_tainted to properly scan the tree so that all tainted branches get saved. * dlls/crtdll/crtdll.spec, dlls/crtdll/crtdll_main.c: Bernd Paysan Added a stub for setjmp. Wed Nov 10 20:25:19 1999 Alexandre Julliard * server/thread.c: Don't crash when we get a SIGCHLD for a removed thread. * dlls/icmp/icmp_main.c: Patrik Stridvall Solaris compile fixes. * dlls/ntdll/exception.c, include/winnt.h: Ulrich Weigand (Preliminary) CONTEXT structure for SPARC added. * include/process.h, loader/module.c, scheduler/debugger.c: Ulrich Weigand Bugfix: LOAD_DLL_DEBUG_EVENT lpImageName parameter was incorrect. * memory/virtual.c: Ulrich Weigand When decommitting, remap zero pages using MAP_FIXED. * dlls/ole32/compobj.c: Rein Klazes CoGetClassObject should complain about not being able to do out-of-process servers *only* if the application doesn't include the in-process options. * misc/version.c, controls/edit.c, include/winversion.h: Rein Klazes Send WM_CTLCOLOREDIT not WM_CTLCOLORSTATIC messages to parent of a disabled edit control if the application expects a windows version before WIN95 and NT40. * include/winbase.h, relay32/kernel32.spec, files/file.c: Moshe Vainer Stub for GetOverlappedResult. * relay32/builtin32.c, tools/build.c, include/module.h, include/pe_image.h, loader/dos/module.c, loader/main.c, loader/module.c, loader/ne/module.c, loader/pe_image.c: Ulrich Weigand Determine expected_version of PE buddies from the SubsystemVersion. * dlls/ntdll/exception.c, include/wine/exception.h, include/winnt.h, win32/except.c: Ulrich Weigand Bugfix: Exception handlers are *not* WINAPI. Mon Nov 8 05:31:47 1999 Alexandre Julliard * server/process.c, server/select.c, server/thread.c, server/thread.h: Preliminary ptrace support. * memory/virtual.c: Remap zero-pages when decomitting a page range (based on a patch by Gerard Patel). * Makefile.in, scheduler/Makefile.in, scheduler/client.c, server/main.c: Install the wine server in $(bindir) and exec it from there. Sun Nov 7 23:59:08 1999 Alexandre Julliard * server/debugger.c: Do not free the handles once they have been sent to the client (thanks to Jeremy White). * windows/msgbox.c: Eric Pouech Fixed crash when asked to use strings identified by resource id instead of pointer. * windows/dce.c: Jim Aston When window class has CS_CLASSDC style we should not remove the DC when destroying the window. * dlls/rasapi32/rasapi32.spec, dlls/win32s/w32skrnl.c: Patrik Stridvall Minor fixes. * tools/winapi_check/nativeapi.pm, tools/winapi_check/output.pm, tools/winapi_check/win32api.dat, tools/winapi_check/winapi_check, tools/winapi_check/winapi_options.pm: Patrik Stridvall Minor fixes and reorganizations. * dlls/shell32/if_macros.h, include/bit_array.h, include/ntdll.h, include/oleobj.h: Patrik Stridvall Removed obsolete files no longer in use. * tsx11/X11_calls, tsx11/ts_xlib.c, windows/x11drv/event.c, graphics/ddraw.c, graphics/ddraw_private.h, include/ts_xlib.h, include/x11drv.h: Ove Kaaven DirectX-XShm now waits for the X server to finish the previous frame before sending another frame down its pipe, avoiding the X server overload and resulting slowness that used to be. * dlls/comctl32/toolbar.c, dlls/commdlg/cdlg_En.rc, dlls/commdlg/cdlg_xx.rc, dlls/commdlg/filedlg95.c, dlls/commdlg/filedlgbrowser.h, include/dlgs.h: Juergen Schmied - unified templates for the open and the save dlg - replaced buttons with a toolbar * dlls/shell32/shlfolder.c, dlls/shell32/shlview.c, include/wine/obj_shellfolder.h: Juergen Schmied - new interface declaration for IShellfolder2 - added this interface to all shell folders - small fixes to shellview (crash with native comdlg32) * loader/pe_image.c: Marcus Meissner Fixed the relocation hack in PE_InitTls. Added some more for the other pointerfields in the TLS entry. (With testing help from Jussi Jumppanen ). * relay32/user32.spec, windows/user.c, include/winuser.h: Marcus Meissner Added ChangeDisplaySettingsExA stub and some flag defines. * include/console.h: Robert 'Admiral' Coeyman Added the hex triplets to the console color definitions. * windows/ttydrv/event.c, windows/ttydrv/init.c, windows/ttydrv/mouse.c, windows/x11drv/event.c, windows/x11drv/init.c, windows/x11drv/mouse.c, include/input.h, include/message.h, include/mouse.h, include/ttydrv.h, include/x11drv.h, objects/cursoricon.c, windows/dinput.c, windows/event.c, windows/input.c, windows/mouse.c, windows/winpos.c: Lionel Ulmer Added the possibility to have mouse movements reported relative to Wine's mouse driver. * Makefile.in, configure, configure.in, dlls/Makefile.in, dlls/icmp/.cvsignore, dlls/icmp/Makefile.in, dlls/icmp/icmp.spec, dlls/icmp/icmp_main.c, include/debugdefs.h, include/wine/icmpapi.h, include/wine/ipexport.h, loader/loadorder.c, relay32/builtin32.c, wine.ini: Francois Gouget Added ICMP DLL implementation. * tools/wrc/dumpres.c, tools/wrc/genres.c, tools/wrc/newstruc.c, tools/wrc/newstruc.h, tools/wrc/parser.y, tools/wrc/wrc.h, tools/wrc/wrctypes.h, tools/wrc/CHANGES: Juergen.Schmied@debitel.net - Bugfix: Styles were evaluated as expressions. The NOT in combination with style flags was not overwriting the default styles like WS_VISIBLE. Solved by introducing own rules for parsing styles. * controls/combo.c: Jim Aston Fixed the height of the ComboBox drop list. * windows/dialog.c: David Grant Windows sends WM_GETDLGCODE only in response to keyboard messages (WM_KEYDOWN, WM_CHAR, WM_SYSCHAR). * include/wine/obj_base.h: Peter Hunnisett - Added missing __attribute__ ((com_interface)) for IUnknown with. ICOM_USE_COM_INTERFACE_ATTRIBUTE - Small addition to comments surrounding ICOM_USE_COM_INTERFACE_ATTRIBUTE "option". * ole/ole2nls.c, if1632/ole2nls.spec: Andreas Mohr Implementation of RegisterNLSInfoChanged. * scheduler/critsection.c, windows/queue.c, memory/heap.c: James Abbatiello Addresses issues with multiple processes accessing non-global critical sections. * server/sock.c: Jeremy White Fixed bug in WINSOCK_accept when no event is present. * dlls/rasapi32/rasapi.c, include/lmcons.h, include/ras.h: Rein Klazes Added stubs for RasEnumEntriesA and RasGetEntryDialParamsA. * dlls/commdlg/filedlg95.c, dlls/commdlg/filedlgbrowser.c, dlls/commdlg/filedlgbrowser.h: Ulrich Czekalla Implementation of custom dialog messages and notifications. * dlls/comctl32/treeview.c: David Grant - Proper initialization of cchTextMax field was added for TVN_GETDISPINFO notification message. - TVM_SETITEM should update 'mask' field to synchronize it with current item state. * graphics/psdrv/ppd.c: Huw D M Davies If PageSize/InputSlot entry doesn't contain an options translation string use the option name instead. * dlls/comctl32/propsheet.c: Eric Pouech Fixed SetTitleA when string resources were to be loaded. * dlls/comctl32/listview.c: Pierre Mageau - Fixed an error for scrolling in Listview (sometimes a column would not be visible) due to my last checkin. - Fixed an error for the header control when the Listview is resized with WM_SIZE - Fixed the scrolling for small and large icon (this broke because of the use of SB_PAGE in scrollInfo) - Added a patch made by Noomen Hamza to update the item width when adding a new item * server/sock.c: Ove Kaaven Handle socket creation errors. * controls/menu.c: Karl Lessard When a popupmenu is currently active on the screen, it shouldn't remove mouse click messages that don't belong to it from the queue. * windows/x11drv/clipboard.c: Juergen Lock Exec `wineclipsrv' not `wineclipsvr', and don't inherit wine's X sockets to it (otherwise windows stay around when wine hangs). Thu Nov 4 02:51:24 1999 Alexandre Julliard * loader/main.c: Fixed -debugmsg +server. * scheduler/handle.c: Added special handling for the stdio handles in CloseHandle. * server/handle.c: Made all handles multiple of 4. Fixed semantics for pseudo-handles. * server/debugger.c: Free the handles of the event structure in the right process (thanks to Jeremy White). * dlls/dplayx/Makefile.in, dlls/dplayx/dplay.c, dlls/dplayx/dplayx.spec, dlls/dplayx/dplayx_global.c, dlls/dplayx/dplayx_global.h, dlls/dplayx/dplayx_main.c, dlls/dplayx/dplobby.c, documentation/status/directplay, include/dplay.h, include/dplobby.h: Peter Hunnisett - Added dplayx LibMain for initialization of all dplayx 'global' data - Added start for global data manipulation - TODO list updated - Added some missing header file definitions - Added the ansi versions of dplay and dplobby - Fixed invalid macro for IDirectPlay4 - Cleaned up compiler warnings - More implementation, bug fixes and critical region protection * windows/x11drv/event.c: Karl Lessard Never send a WM_CLOSE message to a popup window. * windows/x11drv/wnd.c: Karl Lessard Check if the window is managed before trying to give it focus. * configure, configure.in: Marcus Meissner Enhanced linux joystick api detection slightly. * windows/x11drv/keyboard.c: Jaroslaw Piotr Sobieszek Added Polish keyboard support. * graphics/win16drv/prtdrv.c: Huw D M Davies Add DC_VERSION and DC_TRUETYPE to win16drv DeviceCapabilities. * graphics/psdrv/ppd.c: Huw D M Davies Add `Cassette' to PPD -> windows printer-bin mapping. * memory/string.c: Michael McCormack Modified lstrcpynWtoA to put terminating null at end of string, not end of buffer. * include/wine/obj_storage.h: Francois Gouget Removed duplicate macro definitions for the IStorage and IStream COM interfaces. * windows/defwnd.c: Karl Lessard Fixed COLOR_MAX definition for new Win32 values. * objects/gdiobj.c: Ian Schmidt Removed unnecessary USER call from GetFontMetrics. Fixes native USER. * dlls/comctl32/listview.c, include/listview.h: Ulrich Czekalla Set proper item focus on DeleteItem. Clean up edit label implementation. * files/drive.c: Peter Schlaile Fixed a long standing (and annoying) typo, that prevented GetDiskFreeSpaceA from working... * misc/registry.c: Eric Pouech Enable safe reading of registry file, even if file is broken. * win32/newfns.c: Ian Schmidt Changed OpenDesktop stub to Win9x behavior for QuickTime 4. ---------------------------------------------------------------- Sun Oct 31 22:26:35 1999 Alexandre Julliard * scheduler/client.c: Set close-on-exec flag on server socket. * DEVELOPERS-HINTS: Eric Pouech Added explanation on creating a new DLL. * misc/version.c: Juergen Schmied Better version autodetection. * windows/dialog.c: Ulrich Czekalla Implemented support of DS_CONTROL and WS_EX_CONTROLPARENT styles. * graphics/ddraw.c: Ivan de Saedeleer Fail when LPRECT contains negative values. * windows/x11drv/event.c: Pierre Mageau On ConfigureNotify, find the first visible window above the current one. * debugger/db_disasm.c: Rein Klazes Corrected operand sizes for the "enter" instruction. * dlls/comctl32/propsheet.c: Thuy Nguyen PSM_ADDPAGE returns TRUE or FALSE. * dlls/msacm32/builtin.c, dlls/msacm32/Makefile.in, dlls/msacm32/driver.c, dlls/msacm32/internal.c, dlls/msacm32/msacm32_main.c, dlls/msacm32/stream.c, dlls/msacm32/wineacm.h, include/msacm.h: Eric Pouech Made msacm32 really load ACM drivers. * graphics/painting.c: Jim Aston Prevent FillRgn from using a NULL pointer. * misc/registry.c: Huw D M Davies Fixed a few problems with RegEnumKey*. * dlls/commdlg/filedlg95.c: Ulrich Czekalla Implementation of user defined templates. * dlls/ole32/ifs.c: Marcus Meissner IMalloc16_Constructor: moved ICOM_VTBL(This) where it belongs. * controls/static.c: Marcus Meissner Do not clear the drawing area for etched static controls. Replaced our own drawing stuff in etched static controls by DrawEdge. * dlls/comctl32/listview.c: Pierre Mageau In report view mode of the listview control, implemented the horizontal scrollbar functionality. * windows/mdi.c: Francis Beaudet Fixed a small bug in the behavior of maximized MDI children. * dlls/winspool/info.c: Huw D M Davies Rewrite of EnumPrinters. * dlls/comctl32/propsheet.c: Thuy Nguyen Fill in the hwndFrom field of the NMHDR structure when sending notifications. * files/profile.c: Eric Pouech When reading a profile entry remove trailing quote when there's an opening one. * objects/gdiobj.c: Francis Beaudet Return correct height and width for stock fonts in GetObject. * programs/avitools/aviplay.c: Compile fix. * programs/wcmd/.cvsignore: Added wmcdrc.h * dlls/winmm/mmio.c: Ulrich Czekalla Added support for the addition and removal of custom I/O preocedures. * dlls/ole32/compobj.c, dlls/ole32/ole32.spec: Abey George Implemented ProgIDFromCLSID. * dlls/comctl32/propsheet.c, dlls/comctl32/rsrc.rc: Thuy Nguyen Wizard mode property sheets have a tab control. * loader/loadorder.c, relay32/builtin32.c, Makefile.in, configure, configure.in, dlls/Makefile.in, dlls/winmm/midimap/.cvsignore, dlls/winmm/midimap/Makefile.in, dlls/winmm/midimap/midimap.c, dlls/winmm/midimap/midimap.spec, dlls/winmm/wavemap/.cvsignore, dlls/winmm/wavemap/Makefile.in, dlls/winmm/wavemap/msacm.spec, dlls/winmm/wavemap/wavemap.c, wine.ini: Eric Pouech Added built-in msacm.drv and midimap.drv drivers. * tools/winapi_check/nativeapi.pm, tools/winapi_check/winapi.pm, tools/winapi_check/winapi_check, tools/winapi_check/winapi_function.pm, tools/winapi_check/winapi_global.pm, tools/winapi_check/winapi_local.pm, tools/winapi_check/winapi_options.pm, tools/winapi_check/winapi_parser.pm: Patrik Stridvall - Minor fixes and reorganizations. - Added checks for documentation inconsistencies. * dlls/winmm/wineoss/audio.c, dlls/winmm/wineoss/midi.c, dlls/winmm/wineoss/mixer.c, dlls/winmm/wineoss/mmaux.c, misc/port.c, misc/winsock.c, misc/winsock_async.c, dlls/winmm/joystick.c: Patrik Stridvall Added missing configuration #if:s and #includes:s. * dlls/crtdll/crtdll_main.c, files/dos_fs.c, objects/dcvalues.c, dlls/advapi32/crypt.c: Patrik Stridvall Fixed documentation. * dlls/winmm/mciwave/Makefile.in: Patrik Stridvall Solaris make doesn't like unnecessary \. * programs/avitools/aviplay.c, windows/dinput.c, dlls/ole32/memlockbytes.c, dlls/ole32/moniker.c, dlls/ole32/oleobj.c, dlls/ole32/stg_stream.c, dlls/ole32/storage.c, dlls/ole32/storage32.c, dlls/ole32/storage32.h, dlls/shell32/contmenu.c, dlls/shell32/dataobject.c, dlls/shell32/enumidlist.c, dlls/shell32/folders.c, dlls/shell32/if_macros.h, dlls/shell32/regstream.c, dlls/shell32/shell32.spec, dlls/shell32/shelllink.c, dlls/shell32/shellole.c, dlls/shell32/shlfolder.c, dlls/shell32/shlview.c, dlls/shell32/shv_bg_cmenu.c, graphics/d3d_private.h, graphics/d3ddevices.c, graphics/d3dexecutebuffer.c, graphics/d3dlight.c, graphics/d3dmaterial.c, graphics/d3dtexture.c, graphics/d3dviewport.c, graphics/ddraw.c, graphics/ddraw_private.h, dlls/avifil32/avifile.c, dlls/dplayx/dpclassfactory.c, dlls/dsound/dsound_main.c, dlls/ole32/bindctx.c, dlls/ole32/clipboard.c, dlls/ole32/compositemoniker.c, dlls/ole32/hglobalstream.c, dlls/ole32/ifs.c: Francois Gouget Generalized the use of the new ICOM_VFIELD and ICOM_VTBL macros. * windows/win.c, windows/x11drv/wineclipsrv.c: Huw D M Davies Fixed a couple of compiler warnings. * dlls/shell32/pidl.c: Pierre Mageau A crash would occur if the file type in report mode was empty. * windows/keyboard.c: Lionel Ulmer Changed the initialisation of the KeyState array. * misc/lstr.c: Huw D M Davies Better handling of newlines in FormatMessage*. * dlls/winmm/wineoss/audio.c: Eric Pouech Fix (some) bad behavior with buffer underrun. * dlls/winmm/mmsystem.c: Eric Pouech Fixed PlaySound proc for non PCM content. * dlls/comctl32/treeview.c: Ulrich Czekalla - Treeview uses COLOR_WINDOW color instead of clrBk to fill background. - Treeview: colors returned by TVM_GET**COLOR are mixed up. * dlls/commdlg/filedlg95.c: Pierre Mageau Clicking the combo box would cause a crash if it was empty. * graphics/escape.c, graphics/win16drv/init.c, include/wine/wingdi16.h, misc/printdrv.c: Huw D M Davies It appears that StartDoc sends the STARTDOC escape with the DOCINFO structure pointed to with the output data parameter. * graphics/fontengine.c, if1632/gdi.spec: Huw D M Davies Stub for EngineRealizeFontExt (used by the win98 pscript driver). * dlls/comctl32/tab.c: Noomen Hamza Selected button within tab control will be painted with the right color brush. * dlls/comctl32/propsheet.c: Pierre Mageau Do not send two PSN_KILLACTIVE messages. * wine.ini: Marcus Meissner ini variables do not like ; comments after them (they are not shell scripts). Fixed a typo in one of the names. Mon Oct 25 15:43:36 1999 Alexandre Julliard * dlls/dplayx/dplay.c, dlls/dplayx/dplobby.c, dlls/ole32/compobj.c, dlls/ole32/ifs.c, include/wine/obj_base.h: Francois Gouget Added two macros, ICOM_VFIELD and ICOM_VTBL, so that when implementing a COM interface one never has to name the lpVtbl field explicitly. * dlls/oleaut32/ole2disp.c: Andreas Mohr SysAllocStringLen16 needs to handle NULL pointers, too. * memory/local.c: Andreas Mohr Bug fix. * tools/find_debug_channels: Francois Gouget Fixed small typos and slightly outdated comments. * dlls/shell32/shell32.spec, dlls/shell32/shellord.c: Ian Schmidt Partial implementation of the Shell32 call Win32DeleteFile(), required by IE5's Explorer. * programs/winhelp/Makefile.in, programs/winver/Makefile.in, programs/regapi/Makefile.in, programs/regtest/Makefile.in, programs/view/Makefile.in, programs/wcmd/Makefile.in, programs/notepad/Makefile.in, programs/progman/Makefile.in, Make.rules.in, programs/avitools/Makefile.in, programs/clock/Makefile.in, programs/cmdlgtst/Makefile.in, programs/control/Makefile.in: Added dependency on winestub.o Sun Oct 24 22:13:55 1999 Alexandre Julliard * windows/dinput.c, tools/build.c, tools/fnt2bdf.c, win32/console.c, win32/device.c, win32/file.c, win32/process.c, relay32/snoop.c, scheduler/client.c, scheduler/thread.c, server/console.c, server/file.c, server/pipe.c, server/sock.c, server/socket.c, msdos/int21.c, objects/gdiobj.c, include/config.h.in, loader/dos/dosmod.c, loader/dos/dosvm.c, loader/dos/module.c, loader/pe_image.c, memory/ldt.c, dlls/wnaspi32/winaspi32.c, files/directory.c, files/dos_fs.c, graphics/ddraw.c, graphics/x11drv/dib.c, dlls/ole32/compobj.c, dlls/oleaut32/variant.c, dlls/winaspi/winaspi16.c, configure.in, debugger/stabs.c, dlls/crtdll/crtdll_main.c, configure: Patrik Stridvall - Added missing configuration #if:s and #includes:s. - Minor configuration related changes. * misc/registry.c: Marcus Meissner Made LoadHomeRegistryFiles default to TRUE. * include/authors.h, include/comm.h, include/datetime.h, include/monthcal.h, include/netspi.h, include/ntsecapi.h, include/psdrv.h, include/wine/obj_connection.h, include/wine/obj_oleundo.h, include/wine/obj_picture.h, include/wine/obj_property.h, include/wine/obj_shellextinit.h, include/wine/winnet16.h, include/winspool.h, include/xmalloc.h, tools/make_authors: Patrik Stridvall Made the include files self-sufficient. * tools/winapi_check/*: Patrik Stridvall - Fixed the long long problem. - Added configure include consistancy checking. - Added progress indicator. - Began splitting up the win16api.dat and win32api.dat files. - Added various minor checks. - Minor fixes. * relay32/kernel32.spec, relay32/user32.spec, dlls/shell32/shell32.spec, dlls/shell32/shlwapi.spec, dlls/win32s/w32skrnl.spec, dlls/winspool/winspool.spec, dlls/wnaspi32/wnaspi32.spec, dlls/ole32/ole32.spec, dlls/oleaut32/oleaut32.spec, dlls/olecli/olecli32.spec, dlls/psapi/psapi.spec, dlls/avifil32/avifil32.spec, dlls/comctl32/comctl32.spec, dlls/comctl32/comctl32undoc.c, dlls/crtdll/crtdll.spec, dlls/ntdll/ntdll.spec, dlls/ntdll/reg.c: Patrik Stridvall Added spec file declarations for already implemented functions. * graphics/path.c, if1632/gdi.spec, objects/clipping.c: Patrik Stridvall Added Win16 variants of existing Win32 functions. * dlls/ntdll/signal_i386.c: Patrik Stridvall Solaris compile fix. * files/file.c: Gerard Patel Remove prefixing by a tilde for GetTempFileName 32bits. * debugger/expr.c: Marcus Meissner Added missing include. * windows/win.c: Uwe Bonnes Warn users to use -the -desktop option together with the native user DLLs. * loader/resource.c: Uwe Bonnes Return the size of the needed resource when buffer is NULL for LoadString(). * dlls/ole32/clipboard.c, windows/clipboard.c, windows/user.c, windows/x11drv/Makefile.in, windows/x11drv/clipboard.c, windows/x11drv/wineclipsrv.c, wine.ini: Francis Beaudet Enabled the persistent clipboard server. * misc/registry.c, wine.ini: Nathaniel Improved registry isolation possibilities. * multimedia/*.c: Eric Pouech Split the multimedia/ directory into dlls/ subdirectories. * multimedia/winmm.rc, multimedia/winmm_Pt.rc, programs/clock/ChangeLog, programs/clock/Pt.rc, programs/notepad/ChangeLog, programs/notepad/Fr.rc, programs/notepad/Pt.rc, programs/notepad/Wa.rc, programs/progman/.cvsignore, programs/progman/ChangeLog, programs/progman/Pt.rc, programs/winhelp/.cvsignore: Gustavo Junior Alves More Portuguese language support. * objects/dib.c: Matthew J. Francis Fixed top-down DIB handling in StretchDIBits32(). * include/windowsx.h: Peter Hunnisett Added macro definitions for memory allocation. * graphics/x11drv/xfont.c, include/gdi.h, include/x11font.h, objects/font.c: Ulrich Czekalla Make sure that all calls use the extended structures which are a superset of the regular structures. * dlls/comctl32/listview.c: Pierre Mageau Added the functionality of the thumb track. * windows/focus.c: Adrian Thurston Do not set focus to a disabled window. * windows/x11drv/keyboard.c: Pierre Mageau Fixed an entry in the keyboard translation table for Ctrl-Break. * include/debugdefs.h, scheduler/debugger.c: Ulrich Czekalla New channel 'debugstr' used to print OutputDebugString API calls. * windows/nonclient.c, windows/x11drv/event.c: Noomen Hamza Popup windows will be hidden when we minimize a main frame or shown when we maximize or restore a minimized main frame. Sat Oct 23 23:59:47 1999 Alexandre Julliard * dlls/comctl32/propsheet.c: Ulrich Czekalla PropertySheet didn't destroy page dialog's window while removing page. * dlls/comctl32/listview.c: Pierre Mageau Update the item width upon a new column in the header control. * dlls/ntdll/exception.c: Gerard Patel Reorder parameters to fix position of base reg relative to exception frame. * documentation/Makefile.in: Fixed typo. * include/*.h: Francois Gouget Define the COM macros even in C++. * controls/menu.c, windows/mdi.c: Pierre Mageau Fixed loop with WM_SYSCHAR. * dlls/comctl32/tooltips.c: Joshua Thielen Fixed tooltips positioning. * graphics/x11drv/dib.c: Re-applied lost change. * loader/task.c: Uwe Bonnes Ignore wrong hInstance. * include/miscemu.h, msdos/int10.c, msdos/interrupts.c: Robert 'Admiral' Coeyman Report non-hercules video. Turned on int 2a. * include/file.h, include/winbase.h, loader/module.c, files/file.c: Jim Aston Fixed compiling with STRICT. * dlls/comctl32/propsheet.c: Adrian Thurston Proper resource support for dialog title. * include/dlgs.h: Ulrich Czekalla Fixed some wrong defines. * objects/brush.c: Ulrich Czekalla Copy bitmaps properly. * include/debugger.h, debugger/dbg.y, debugger/hash.c, debugger/msc.c: Eric Pouech Allow loading of modules debug information after first invocation of debugger. * dlls/shell32/shellpath.c, dlls/shell32/shlwapi.spec: Jim Aston Added a few stubs. * include/listview.h, dlls/comctl32/listview.c: Ulrich Czekalla Implementation of edit labels. * graphics/d3ddevices.c, graphics/d3dtexture.c, graphics/ddraw.c: Ove Kaaven Fixed some anonymous union accesses. * controls/listbox.c: Abey George Draw the item text from the top of the item rect. * dlls/comctl32/comctl32undoc.c, dlls/shell32/shlview.c: Pierre Mageau Fixed the ascending and descending sort order for the File Dialog. * dlls/comctl32/propsheet.c: Ulrich Czekalla - adds calling application defined callback function once PropertSheet Dialogbox has been initialized just after creating the tab control - handle the case when pszCaption specifies a resource instead of a string * dlls/shell32/pidl.c, dlls/shell32/pidl.h, dlls/shell32/shlfolder.c, dlls/shell32/shv_bg_cmenu.c: Juergen Schmied - removed all unnecessary "winapi" from internal _IL* functions - better parameter checking for shellfolder - removed dead code from shv_bg_contextmenu * graphics/ddraw.c, graphics/vga.c, include/ddraw.h: Jim Aston Added another anonymous union using the DUMMYUNIONNAME style. * dlls/comctl32/listview.c: Ulrich Czekalla Properly copy text into user supplied buffer. * misc/winsock.c, relay32/wsock32.spec, server/object.h, server/sock.c, if1632/winsock.spec, include/task.h, include/winsock.h, loader/main.c, loader/task.c, misc/main.c: Ove Kaaven Winsock rewrite. Sockets are now proper win32 handles. Internal structures are now really internal. * dlls/comctl32/tab.c: Ulrich Czekalla Tab control doesn't refresh tab area on TCM_SETCURSEL. * dlls/shell32/shellord.c, dlls/shell32/shlwapi.spec: Ulrich Czekalla Implemented StrRChrA. * debugger/dbg.y, debugger/debug.l, debugger/expr.c, include/debugger.h: Ulrich Weigand Bugfix: Perform proper process shutdown on 'quit' and error. * dlls/advapi32/security.c: Gerard Patel Stub OpenThreadToken & OpenProcessToken for failure in Win9x mode. * include/winuser.h: Jim Aston Fixed a small typo. * windows/dialog.c: Adrian Thurston Protect against wrong return value from WM_INITDIALOG. * graphics/x11drv/bitmap.c: Francis Beaudet Removed an illegal character. * dlls/shell32/shell32_main.c: Ian Schmidt Now inits the policy cache when shell32 is first instantiated. Matches Windoze behavior. * dlls/shell32/Makefile.in, dlls/shell32/shellord.c, dlls/shell32/shpolicy.c, dlls/shell32/shpolicy.h: Ian Schmidt Real implementation of SHRestricted(), clarified SHInitRestricted()'s role a little, added policy data table. * dlls/ole32/ifs.c: Marcus Meissner Use segmented lpvtbl pointer for IMalloc16 interface, not linear one. * windows/x11drv/mouse.c: Francis Beaudet Replaced a X call with a TSX call in XDRV_MOUSE_SetCursor(). * dlls/comctl32/rsrc.rc: Ulrich Czekalla The property sheet dialog needs flag WS_VISIBLE. * dlls/commdlg/filedlg95.c: Pierre Mageau Set the default view button to List in the FileDialog. * loader/ne/module.c: Ulrich Weigand Bugfix: don't use GetModuleHandle16 in LoadModule16/NE_CreateProcess. * debugger/types.c: Eric Pouech Fixed potential crash in string variable printing. * dlls/comctl32/toolbar.c: Eric Pouech Added WM_GETFONT support. * include/main.h, loader/main.c, miscemu/main.c, scheduler/process.c: Ulrich Weigand Bugfix: don't call ExitProcess() before SYSLEVEL_Init(). * multimedia/mmio.c: Eric Pouech Fixed some bugs (mmioOpen with 16/32 bit strangeness, mmioAscend & mmioDescend offset and alignment issues). * windows/clipboard.c: Ulrich Czekalla We are supposed to delete the palette object with the DeleteObject function. * dlls/comctl32/listview.c: Noomen Hamza Listview items will be drawn with the right item dimensions. * graphics/psdrv/text.c: Luc Tourangeau Some small corrections to the ExtTextOut function. * dlls/ole32/ole2.c: Francis Beaudet Make sure that the drop effect of a DnD operation is set to DROPEFFECT_NONE if the user cancelled the operation. * dlls/comctl32/animate.c, include/animate.h: Eric Pouech First working version. * multimedia/mixer.c: Eric Pouech Added the mute capability to most control lines. * windows/win.c: Rein Klazes Use the module handle, if CreateWindowEx is called with hInstance==NULL. * include/wine/undocshell.h: Marcus Meissner Added missing prototypes for StrRetToBuf(A|W). Wed Oct 13 16:17:23 1999 Alexandre Julliard * programs/clock/.cvsignore, programs/notepad/.cvsignore, programs/progman/.cvsignore: Added Pt.s. * objects/dib.c: Backed out previous change (breaks with metafiles). * server/Makefile.in, server/request.h, server/sock.c, server/trace.c, include/server.h, include/winsock.h: Ove Kaaven Added socket interface to wineserver. * loader/loadorder.c, loader/main.c, miscemu/main.c, wine.ini: Eric Pouech Correct filename for kernel module is KRNL386.EXE. * dlls/winspool/winspool.spec, dlls/winmm/wineoss/wineoss.spec: Eric Pouech Added missing (and now required) filename directive. * tools/build.c, include/builtin32.h: Eric Pouech Added filename to 32 bit builtin module descriptors. * if1632/builtin.c, relay32/builtin32.c: Eric Pouech Fix loading of modules: now search key is module's filename, not module's name. * dlls/comctl32/propsheet.c, dlls/comctl32/tab.c: Pierre Mageau When an error occurred in a property sheet because of invalid data, clicking on another tab, would activate the new tab but keep the original property sheet. * dlls/comctl32/listview.c, dlls/shell32/pidl.c, dlls/shell32/pidl.h, dlls/shell32/shell32_main.c, dlls/shell32/shlview.c, dlls/shell32/shv_bg_cmenu.c: Juergen Schmied - implemented sorting the listview by clicking on the column header - implemented the context menu entrys for sorting - some more functions to gather data form pidls * dlls/commdlg/cdlg.h, dlls/commdlg/cdlg32.c, dlls/commdlg/filedlg95.c, dlls/commdlg/filedlgbrowser.c: Juergen Schmied Removed linking by GetProcAddress for StrRetToBuf sinc not all versions of shlwapi exporting this function. * loader/module.c: Chris Morgan James Abbatiello Removes extraneous comparison of data pointed to by the relocation offset when no relocation entries exist. * if1632/wprocs.spec, loader/ne/module.c: Marcus Meissner WPROCS.ENTRYADDRPROC needs to return something in CX too (fixes BLINKER selfextracting executables). * windows/dialog.c: Abey George Changed EndDialog to behave like as in Windows. Call SetWindowPos instead of ShowWindow in EndDialog. * windows/winpos.c: Abey George Changed WINPOS_CanActivate to not to consider WS_VISIBLE style. Code for activating and setting focus to other windows when a window is hidden, is moved to ShowWindow from SetWindowPos. Activate the top level window if it's not active in ShowWindow(SW_SHOW). * graphics/x11drv/dib.c: Eric Pouech Fixed X11DRV_DIB_SetImageBits when called for RLE encoded dibs. * objects/dib.c: Eric Pouech Optimized StretchDIBits to call SetDIBitsToDevice (when src & dst dimensions are equal). * programs/notepad/Makefile.in, programs/notepad/Pt.rc, programs/progman/Makefile.in, programs/progman/Pt.rc, programs/clock/Makefile.in, programs/clock/Pt.rc: Gustavo Junior Alves Added Portuguese language support. * dlls/avifil32/avifile.c, dlls/dplayx/dplay.c, dlls/dplayx/dplobby.c, dlls/oleaut32/typelib.c, dlls/shell32/brsfolder.c, dlls/shell32/shellord.c: Francois Gouget Use the COM macros rather than directly accessing the lpvtbl field. * include/wine/winuser16.h, misc/lstr.c, if1632/user.spec: Uwe Bonnes Use LoadString16 for FormatMessage16 and handle FORMAT_MESSAGE_ALLOCATE_BUFFER flag. * graphics/psdrv/text.c: Luc Tourangeau Some adjustments to ExtTextOut. * include/psdrv.h, graphics/psdrv/clipping.c, graphics/psdrv/init.c, graphics/psdrv/ps.c: Stephane Lussier Fixed the clipping for the postscript driver and turned it on (by setting PSDRV_SetDeviceClipping in the function table). * files/drive.c: Uwe Bonnes Account for the trailing NULL in GetLogicalDriveStringsA. * include/wine/obj_oleaut.h: Francois Gouget Fixed a typo in a function declaration. * windows/x11drv/keyboard.c: Zoltan Kovacs Added Hungarian keyboard support. * windows/mdi.c, windows/winpos.c: Thuy Nguyen We have to activate MDI child windows. * dlls/commdlg/filedlg.c: Uwe Bonnes Use Get|SetPropA to store lParam to retrieve the OPENFILENAME16 for a hWnd. * graphics/x11drv/graphics.c: Rein Klazes Correct usage of a scratch array in X11DRV_PolyBezier. * controls/combo.c: Gerard Patel Make WM_GETTEXTLENGTH return length for dropdownlist combos. * controls/button.c: Francois Boisvert Removed FillRect in the ownerdrawn button procedure. * windows/x11drv/event.c: Abey George Make sure the Focus Out window is still the Foreground window before doing SetForegroundWindow(0) in Event_FocusOut. * graphics/x11drv/palette.c: Chris Morgan James Abbatiello Fixes problems with color drift when switching to/from logical/physical colors. * dlls/comctl32/header.c: Thuy Nguyen Mouse position is signed. * windows/syscolor.c: Noomen Hamza Set the COLOR_3DLIGHT system color to the right window default value. * loader/pe_image.c: Marcus Meissner Small hack to check if we need to relocate the TLS directory or not (some seem to need this pointer relocateable, some already do relocate it by themselves). * Make.rules.in: Marcus Meissner Relink subdirectory objects on Makefile.in/Make.rules.in change. * dlls/comctl32/propsheet.c: Marcus Meissner Check for NULL ptr in Propsheet_RemovePage (Xing DVD Player). * multimedia/dsound.c: Marcus Meissner Don't ref NULL ptrs in debug. * windows/dinput.c: Marcus Meissner If the joydevice is not present, do not create a DirectInputDevice. * dlls/commdlg/commdlg.spec, dlls/commdlg/printdlg.c, include/commdlg.h: Huw D M Davies Map PrintDlg16 to PrintDlgA. * dlls/shell32/shlmenu.c: Juergen Schmied Small fixes. * controls/menu.c: Juergen Schmied Made TrackPopupMenu with TPM_RETURNCMD returning the id instead of true. * dlls/comctl32/treeview.c: Ulrich Czekalla Prevent self referencing next pointer during insert. * ole/nls/fra.nls: Eric Pouech Added some missing definitions. * multimedia/winmm.rc, multimedia/winmm_Nl.rc: Klaas van Gend Added Dutch to the languages supported by MCI. * documentation/status/internationalisation: Klaas van Gend Updated status of internationalisation. * loader/pe_image.c: Ulrich Weigand Bugfix: *Don't* resolve PE imports if asked not to ... * misc/ddeml.c: Ulrich Weigand Bugfix: DdeNameService was broken. * loader/ne/module.c: Ulrich Weigand Bugfix: When loading an executable module fails, don't perform module cleanup before the corresponding task is destroyed. * dlls/commdlg/cdlg_En.rc, dlls/commdlg/cdlg_xx.rc: Klaas van Gend Moved bitmap resource to language-independent resource file. * misc/version.c: Andreas Mohr Added warning for future VERSION_GetVersion() (mis-)users and made OSVERSIONINFO warning more detailed. * dlls/oleaut32/oleaut.c, dlls/oleaut32/oleaut32.spec: Marcus Meissner Added stubs for RevokeActiveObject, GetActiveObject, fixed RegisterActiveObject stub argtypes. * windows/x11drv/keyboard.c: Marcus Meissner Added german keyboard layout with "nodeadkeys" option enabled (just to apostrophes are switched). * dlls/msvideo/msvideo.spec, dlls/msvideo/msvideo_main.c: Marcus Meissner Stub for VideoCapDriverDescAndVer. * msdos/int21.c: Marcus Meissner Replicate CreateDirectory() LastError workaround for the LFN part. * misc/registry.c: Marcus Meissner Also escape characters >=0x80 within the wineregistry savefile. * dlls/wnaspi32/winaspi32.c: Marcus Meissner Don't use malloc/free in winaspi32. * graphics/ddraw.c: Marcus Meissner Use 1 macro for rgbbitdepth -> byte determination. xshm/image creation now uses 1/8 of the space for every image. * relay32/user32.spec: Marcus Meissner Replaced double ChangeDisplaySettingsA by (Ex)[AW]. Wed Sep 29 12:16:16 1999 Alexandre Julliard * if1632/builtin.c, loader/module.c, loader/ne/module.c: Ulrich Weigand Bugfix: Don't call GetVersionExA too early, to avoid breaking automatic emulated Windows version detection. * dlls/oleaut32/typelib.c, include/oleauto.h, dlls/oleaut32/oleaut32.spec: Rein Klazes First implementation of LoadTypeLibEx(). * if1632/mmsystem.spec, multimedia/mmsystem.c: Marcus Meissner Added stub for WMMMIDIRUNONCE called by midimap.drv. * misc/winsock.c: Marcus Meissner Set refcounter to 1 on initial init or WSAStartup/WSAStartup with following WSACleanup will already free the structures. * multimedia/dsound.c: Marcus Meissner Create DirectSound object even without sounddevice. Games can be played without sound, but not without DirectSound object (tested with Monkey Island 3). * dlls/oledlg/oledlg.spec, include/ntddk.h, relay32/kernel32.spec, relay32/user32.spec, tools/build.c, dlls/crtdll/crtdll.spec, dlls/ntdll/ntdll.spec, dlls/ntdll/rtl.c: Patrik Stridvall Fixed some of the issues reported by winapi-check, by adding arguments to varargs. * Make.rules.in, Makefile.in: Patrik Stridvall Added ability to call winapi_check from the Makefiles. * msdos/dpmi.c: Patrik Stridvall Modification due to problems with winapi-check. * tools/winapi_check/parser.pm, tools/winapi_check/win16api.dat, tools/winapi_check/win32api.dat, tools/winapi_check/winapi.pm, tools/winapi_check/winapi_check, tools/winapi_check/winapi_options.pm, tools/winapi_check/winapi_parser.pm: Patrik Stridvall - Adapted to changes in Wine. - Minor improvements. Tue Sep 28 16:40:07 1999 Alexandre Julliard * server/event.c, server/object.h: Made event manipulation routines public. * dlls/Makefile.in, dlls/dplayx/.cvsignore, dlls/dplayx/Makefile.in, dlls/dplayx/dpclassfactory.c, dlls/dplayx/dpinit.h, dlls/dplayx/dplay.c, dlls/dplayx/dplay.spec, dlls/dplayx/dplayx.spec, dlls/dplayx/dplobby.c, documentation/status/directplay, include/dplay.h, include/dplobby.h, multimedia/Makefile.in, multimedia/dplay.c, relay32/.cvsignore, relay32/dplay.spec, relay32/dplayx.spec, relay32/Makefile.in, Makefile.in, configure, configure.in: Peter Hunnisett - Moved dplay and dplayx to a proper home in the dlls directory. - Implemented new DirectPlay4 and DirectPlayLobby3 interfaces. - Implemented a class factory for dplay and dplobby. COM interfaces now work for dp and dpl. - Added a few more entries to dplayx.spec files. How do you find the ordinals? I just guessed :( - Seperated DirectPlay and DirectPlayLobby implementation into separate files. - Included some missing header file definitions. - Implemented the dplay dll in terms of the dplayx dll. I haven't tested it so it may not work... - A few bug fixes and a little new implementatioe.n - Updated document with a more detailed implementation plan. * windows/win.c: Noomen Hamza Rewrite the ShowOwnedPopups function with a safety algorithm. * controls/menu.c: Karl Lessard Make ExecFocusedItem return -1 on failure. * graphics/ddraw.c, multimedia/dsound.c: Peter Hunnisett - Changed return code for failure on *_DllGetClassObject to CLASS_E_CLASSNOTAVAILABLE from E_NOTAVAILABLE as documented. - Replaced memcmps with equivalent IsEqualCLSID or IsEqualGUID macros. - Changed "return 0;" with S_OK or DS_OK as appropriate. * dlls/ntdll/signal_i386.c: Support TRAP_sig for FreeBSD (with the help of Juergen Lock). * loader/module.c: Uwe Bonnes Remember the allocated string to free it. * controls/menu.c: Gerard Patel Force recalculation of menu when calling InsertMenuItem. * dlls/shell32/shell32.spec, dlls/shell32/shellord.c: Ian Schmidt Implementation of 2 Win98 by-ordinal SHELL32 routines. Helps Win98 Explorer work better. * multimedia/mci.c: Eric Pouech Fixed typo in hDrv for sending message. Mon Sep 27 13:38:57 1999 Alexandre Julliard * include/mmddk.h, multimedia/mci.c, multimedia/mcianim.c, multimedia/mciavi.c, multimedia/mcicda.c, multimedia/mcimidi.c, multimedia/mciwave.c: Eric Pouech Removed last dependancies between MCI drivers and WINMM/MMSYSTEM DLLs. * multimedia/mmsystem.c: Eric Pouech Got rid of hack on WAVEHDR's & MIDIHDR's reserved field for 16/32 bit discrimination. Fixed a few segptr/linear address bugs in WAVEHDR/MIDIHDR handling. * multimedia/mixer.c, multimedia/mmaux.c: Eric Pouech Check for OSS driver presence and return error accordingly. * multimedia/midi.c: Eric Pouech Got rid of hack on MIDHDR's reserved field for 16/32 bit discrimination. * multimedia/lolvldrv.c: Eric Pouech Fixed crash with mapper loading. Got rid of hack on WAVEHDR's reserved field for 16/32 bit discrimination. * multimedia/audio.c: Eric Pouech Got rid of hack on WAVEHDR's reserved field for 16/32 bit discrimination. * documentation/wine.texinfo: Eric Pouech Typo correction. * loader/libres.c: Ulrich Czekalla Fix integer based resource id assumption. Add support for string based type ids. * include/winsock2.h: Ove Kaaven Added some basic Winsock2 definitions. * server/object.h, server/select.c: Ove Kaaven Added EXCEPT_EVENT to wineserver select loop. * files/dos_fs.c: Peter Ganten Fix for VFAT_IOCTL_READDIR_BOTH. * dlls/wing/wing_main.c: Peter Ganten Small wing enhancement. * controls/edit.c: Stephane Lussier Return key should not be ignored in multiline edit even if ES_WANTRETURN flag isn't set. * include/gdi.h, objects/gdiobj.c: Francis Beaudet DPtoLP needs to round the result. Fixed MulDiv to deal better with negative numbers. * windows/painting.c: Francis Beaudet rcPaint has to be returned in logical coordinates but was intersected with a client rectangle in device coordinates. * objects/region.c: Richard Cohen Fixed GetRandomRgn. * files/drive.c: Abey George Made GetCurrentDirectory return long name of the current directory. * include/button.h, controls/button.c: Rein Klazes Use an extra bit in the button status byte to flag whether the DefButtonWndProc should process the WM_LBUTTONUP message. * scheduler/process.c, scheduler/sysdeps.c, dlls/ntdll/Makefile.in, dlls/ntdll/exception.c, dlls/ntdll/signal_i386.c, graphics/ddraw.c, include/sig_context.h, include/debugger.h, include/dosexe.h, include/miscemu.h, include/wine/exception.h, loader/signal.c, loader/Makefile.in, loader/main.c: Moved all signal support to a new platform-specific file. Make use of the per-thread signal stack (Juergen Lock). Fixed %fs in signal handler for non FS_sig case (Ulrich Weigand). ---------------------------------------------------------------- Thu Sep 23 16:14:44 1999 Alexandre Julliard * Makefile.in, windows/x11drv/.cvsignore, windows/x11drv/Makefile.in, windows/x11drv/wineclipsrv.c: Noel Borthwick Added clipboard server. * tools/Attic/winapi-check, tools/winapi_check/nativeapi.dat, tools/winapi_check/nativeapi.pm, tools/winapi_check/parser.pm, tools/winapi_check/win16api.dat, tools/winapi_check/win32api.dat, tools/winapi_check/winapi.pm, tools/winapi_check/winapi_check, tools/winapi_check/winapi_global.pm, tools/winapi_check/winapi_local.pm, tools/winapi_check/winapi_options.pm, tools/winapi_check/winapi_parser.pm: Patrik Stridvall Made a new improved version of winapi-check in perl. * msdos/int21.c: Implemented uppercasing functions (based on a patch by Robert 'Admiral' Coeyman). * windows/user.c, dlls/ole32/ole2stubs.c, dlls/ole32/storage.c, dlls/oleaut32/typelib.c, dlls/stress/stress_main.c, if1632/dummy.c, include/stress.h, include/wine/wingdi16.h, misc/printdrv.c, windows/input.c: Patrik Stridvall Fixed some of the issues reported by winapi-check. * misc/comm.c: Patrik Stridvall Modification due to problems with winapi-check. * windows/x11drv/event.c: Noomen Hamza WS_POPUP windows (excluding the WS_POPUPWINDOW windows) should be closed after loosing the focus. * objects/dib.c: Francois Boisvert CreateDIBitmap creates a monochrome bitmap only when the first color of the colormap is black followed by white. Otherwise it creates a color bitmap. * windows/defwnd.c, windows/nonclient.c: Noomen Hamza Non active window should be activated when it gets any client/non-client double/single left/medium/right mouse click(s). Wed Sep 22 16:53:54 1999 Alexandre Julliard * relay32/builtin32.c: Eric Pouech Added WINEOSS descriptor. * multimedia/mmsystem.c: Eric Pouech MMSYSTEM_GetIData() now dies when no iData is present Better error recovery when the process attachment fails PlaySound (and helper functions) now use the regular waveOutXXX (instead of wodMessage) Moved handling of hack for differenciating between 16 and 32 bit callback to lolvldrv.c Makes use of new lolvldrv.c interfaces * multimedia/.cvsignore, multimedia/Makefile.in, multimedia/lolvldrv.c, multimedia/oss.c, multimedia/oss.h, multimedia/winemm.h: Eric Pouech Added lolvldrv.c and oss.c. Thunks to 16 bit are now generated for the MMSYSTEM module. * configure.in, dlls/winmm/.cvsignore, dlls/winmm/Makefile.in, dlls/winmm/wineoss/.cvsignore, dlls/winmm/wineoss/Makefile.in, dlls/winmm/wineoss/wineoss.spec, Makefile.in, configure: Eric Pouech Added dlls/winmm and dlls/winmm/wineoss directories. * multimedia/time.c: Eric Pouech No longer checking for correct iData in code. * relay32/winmm.spec: Eric Pouech Added missing DriverCallBack function. * if1632/mmsystem.spec: Eric Pouech All headers (wave and midi functions) are now seen as segptr. Added stub for joyGetPosEx16(). * include/mmsystem.h: Eric Pouech Added some missing defines. * include/mmddk.h: Eric Pouech Now using the same structs for low-level drivers as Windows do. * multimedia/audio.c, multimedia/mixer.c, multimedia/mmaux.c: Eric Pouech Make it (almost) 32 bit only. Reflected creation of WINEOSS module. * multimedia/midi.c: Eric Pouech Make it (almost) 32 bit only. Reflected creation of WINEOSS module. No longer using ERR when no MIDI card is present. * multimedia/joystick.c: Eric Pouech Added stub for joyGetPosEx16(). * multimedia/mci.c: Eric Pouech No longer checking for correct iData in code. Added look-up tables to command tables (speeds up queries). * multimedia/mciwave.c: Eric Pouech Now using WAVEFORMATEX instead of PCMWAVEFORMAT. * multimedia/mcimidi.c: Eric Pouech Now using modReset() instead of tweaking MIDI controls. * multimedia/mcicda.c: Eric Pouech Fixed returned type upon open. Fixed some bogus error checking. * multimedia/mcianim.c, multimedia/mciavi.c: Eric Pouech Fixed returned type upon open. * dlls/ntdll/exception.c: Juergen Schmied Do not set EH_NONCONTINUABLE. * programs/osversioncheck/.cvsignore, programs/osversioncheck/ChangeLog, programs/osversioncheck/Makefile.in, programs/osversioncheck/osversioncheck.c, configure, configure.in, programs/Makefile.in: Morten Eriksen Added simple console mode example program which lists information about the version of Windows we're currently running on. * loader/module.c: Fixed memory allocation bug. * windows/x11drv/event.c: Gerard Patel Fix infinite loop with glastXFocusWindow. * dlls/comctl32/imagelist.c: Stephane Lussier Allow creation of empty imagelist. * objects/palette.c, relay32/gdi32.spec: Ian Schmidt Added partial implementation of GetICMProfileA, required by Paint Shop Pro 5. * controls/menu.c: Abey George Don't send WM_ENTERMENULOOP, WM_INITMENU & WM_INITMENUPOPUP messages when TPM_NONOTIFY flag is set in TrackPopupMenu. * misc/winsock.c: David Luyer getpeername() and getsockname() return errors in errno not h_errno. Mon Sep 20 18:52:06 1999 Alexandre Julliard * dlls/commdlg/filedlgbrowser.c, dlls/commdlg/printdlg.c, include/builtin16.h, misc/registry.c, objects/cursoricon.c, tools/build.c: Patrik Stridvall Fixed ANSI C violations. * windows/keyboard.c, windows/mouse.c, if1632/keyboard.spec, if1632/mouse.spec, windows/input.c: Ulrich Weigand Keyboard/mouse event proc thunk creation moved out of if1632/thunk.c. * if1632/kernel.spec, include/task.h, loader/.cvsignore, loader/Makefile.in, loader/ne/module.c, loader/ne/segment.c, loader/task.c: Ulrich Weigand Don't create thunk for task signal proc, call it directly. * if1632/gdi.spec, include/gdi.h, objects/.cvsignore, objects/Makefile.in, objects/clipping.c, objects/dc.c, windows/dce.c: Ulrich Weigand DC hook proc thunk management simplified. * misc/system.c: Ulrich Weigand System timer proc thunk creation moved out of if1632/thunk.c. * scheduler/thread.c: Ulrich Weigand Don't create thunk for CreateThread16 proc, call it directly. * windows/.cvsignore, windows/Makefile.in, windows/hook.c, dlls/shell32/shell.c, if1632/user.spec, include/hook.h: Ulrich Weigand Windows hook proc thunk management simplified. * include/callback.h, if1632/thunk.c: Ulrich Weigand Modified THUNK_Alloc so as to avoid 32->16->32 calling sequences. Removed persistent thunk creation routines. * configure, configure.in, include/acconfig.h, include/config.h.in, include/ts_xf86dga2.h, tools/make_X11wrappers, tsx11/Makefile.in, tsx11/X11_calls, tsx11/ts_xf86dga2.c: Lionel Ulmer Added the possibility to use DGA 2.0. * winedefault.reg: Ulrich Weigand Added HKEY_LOCAL_MACHINE\...\ProgramFilesDir registry key. * dlls/comctl32/commctrl.c: Dennis Borklund It's no error to send a WM_COMMAND to MenuHelp. * files/file.c: Francois Boisvert CreateFileA returns HFILE_ERROR when the filename contains a wild card. * controls/static.c: Francis Beaudet Fixed display bug in the static control. * controls/menu.c: Pascal Lessard Message removed when menu tracking finish on a WM_LBUTTONDOWN. * include/bitmap.h, include/ts_xlib.h, include/x11drv.h, objects/dib.c, tsx11/X11_calls, tsx11/ts_xlib.c, windows/clipboard.c, windows/x11drv/clipboard.c, windows/x11drv/event.c, graphics/x11drv/bitmap.c, graphics/x11drv/dib.c: Noel Borthwick - Add clipboard support for copying/pasting bitmaps or Pixmaps between Wine and native Linux applications. - Respond to the MULTIPLE selection request target when Wine is the selection owner. - Relax type checking for TARGETS selection. * if1632/builtin.c, loader/module.c: Ulrich Weigand Set 'expected_version' of built-in and dummy modules according to emulated Windows version. * if1632/relay.c, loader/main.c: Ulrich Weigand Make CallTo16 return stub segment owned by KERNEL. * include/wine/winbase16.h, loader/task.c: Ulrich Weigand Bugfix: Improved GetCodeHandle16 / GetCodeInfo16. * ole/nls/sve.nls: Dennis Bjorklund Added some values that were missing in the Swedish nls file. Sun Sep 19 18:58:16 1999 Alexandre Julliard * graphics/x11drv/dib.c: Ulrich Weigand Bugfix: create DDB in X11DRV_DIB_GetDIBits if necessary. * dlls/ole32/ole32.spec: Juergen Schmied Added missing export. * objects/cursoricon.c: Juergen Schmied Fixed crash when loading *.ani files. * ole/*, dlls/ole32/*, dlls/oleaut32/*, dlls/olecli/*, dlls/oledlg/*: Ulrich Weigand Moved bulk of OLE implementation to dlls/ subdirectories. * controls/menu.c: Dennis Björklund Send correct WM_MENUSELECT when menu closes. * dlls/commdlg/filedlg95.c, dlls/commdlg/filedlgbrowser.c, dlls/shell32/shres.rc: Francois Boisvert Added small feature in the file dialog. * win32/newfns.c, files/drive.c, include/winnt.h, include/wtypes.h, msdos/vxd.c, ole/antimoniker.c, ole/compositemoniker.c, ole/datacache.c, ole/filemoniker.c, ole/hglobalstream.c, ole/itemmoniker.c, ole/memlockbytes.c, ole/olefont.c, ole/stg_bigblockfile.c, ole/stg_stream.c, ole/storage.c, ole/storage32.c, ole/variant.c, dlls/advapi32/service.c, dlls/comctl32/comctl32undoc.c: Patrik Stridvall Added support for anonymous structs/unions on compilers that implement it. * include/wingdi.h, objects/text.c, relay32/gdi32.spec: Peter Ganten Stubs for PolyTextOutA/W. * graphics/x11drv/dib.c, objects/dib.c: Karl Lessard Some more minor GDI fixes. * dlls/comctl32/imagelist.c: Stephane Lussier In ImageList_Draw when drawing the bitmap with the transparent flag set, background color/foreground color should be set to white/black, when doing bitblt operation with the bitmap mask. * graphics/escape.c, graphics/win16drv/init.c, include/win16drv.h: Huw D M Davies Extend DRAWMODE struct to win95 spec. Add some more Escape -> Escape16 conversions. * graphics/win16drv/prtdrv.c: Huw D M Davies Stop trashing devmode if in and out devmodes are the same. * controls/widgets.c: Noomen Hamza The MDIClient class must be registered with the IDC_ARROW cursor. * controls/combo.c: Francis Beaudet Implemented the disabled state of the combobox. * controls/menu.c: Richard Cohen Protect SetMenu from rogue menu handle. GetMenu16 can just call GetMenu. * windows/mdi.c: Richard Cohen Protect MDISetMenu from rogue menu handles. * memory/local.c: Richard Cohen Tidy up TRACE etc to use default channel. * dlls/version/info.c, dlls/version/version.spec, include/winbase.h, include/winver.h, ole/ole2nls.c: Ulrich Weigand Move VerLanguageName[AW] back to base (exported from KERNEL32 ...). * dlls/comctl32/rsrc.rc, dlls/comctl32/comctl32.h, dlls/comctl32/propsheet.c: Thuy Nguyen Added support for wizard property sheets. * misc/lstr.c: Huw D M Davies Fix FormatMessage16 at least enough to get win95 16bit printdlg working. * dlls/comctl32/tab.c: David Luyer - iSelected should be -1 if no item selected (Gerard Patel) - some of the checks for invalid items where > when they should have been >= (Marcus Meissner) - made InsertItem behave similarly to DeleteItem, ie, if the current item is after where the item is inserted, increment the selected item (David Luyer) * if1632/thunk.c: Ulrich Weigand Bugfix: Declare CALL32_CBClient[Ex] without WINAPI. * debugger/db_disasm.c: Ulrich Weigand Bugfix: (E)IP-relative offsets depend on operand, not address, size. * include/winuser.h, relay32/user32.spec, windows/user.c, include/wingdi.h: Marcus Meissner Added stub implementation for EnumDisplayDevices*. * dlls/wnaspi32/winaspi32.c: Marcus Meissner Added SC_GET_DEVTYPE. * ole/compobj.c: Juergen Schmied Added stub for OLE32.DllGetClassObject. * dlls/shell32/pidl.h, dlls/shell32/shell32_main.c, include/shlguid.h, dlls/shell32/pidl.c: Juergen Schmied More support for special pidls in SHGetSpecialFolderLocation. * graphics/psdrv/graphics.c, graphics/psdrv/pen.c, include/psdrv.h: Luc Tourangeau Implemented invisible pens. * objects/dib.c, graphics/x11drv/dib.c: Huw D M Davies Small DIB fixes. * controls/menu.c: Pascal Lessard Added a case for menu handling in win31. Tue Sep 14 11:51:02 1999 Alexandre Julliard * include/x11drv.h, objects/dib.c, graphics/x11drv/dib.c: Karl Lessard Fixed GetDIBits problems. * misc/cpu.c, multimedia/mixer.c, include/commctrl.h, include/mmsystem.h, include/ntddk.h, include/prsht.h, include/shlobj.h, include/winbase.h, include/windef.h, include/wine/obj_dataobject.h, include/wine/obj_oleaut.h: Patrik Stridvall Add support for anonymous struct/unions on compilers that implement it. Mon Sep 13 16:06:17 1999 Alexandre Julliard * controls/button.c, controls/uitools.c: Dennis Bj|rklund Fixed win9x look on checkboxes and radiobuttons. * graphics/win16drv/.cvsignore, graphics/win16drv/Makefile.in, graphics/win16drv/init.c, graphics/win16drv/prtdrv.c, if1632/thunk.c, include/callback.h, include/gdi.h, misc/.cvsignore, misc/Makefile.in, misc/printdrv.c, objects/dc.c, graphics/escape.c, graphics/psdrv/escape.c: Huw D M Davies Change interfaces to THUNK_Alloc/Free slightly and make them non-static. Remove relays for win16drv from CallBack table, instead use build to generate them directly in graphics/win16drv/prtdrv.c. If Printer AbortProc is 16bit then allocate thunk and store that as a 32bit proc in DC. Setting of abortprocs now done in the correct place (i.e. not in the driver). * objects/dib.c: Kai Morich Relaxed parameter checking for GetDIBits. * win32/device.c: Ulrich Weigand Fixed last error code when trying to load unknown VxD with CreateFile. * dlls/shell32/shell32_main.c: Andreas Mohr Pretend successful execution of SHELL_NotifyIcon*(). * controls/menu.c, relay32/user32.spec: Eric Pouech Added MenuItemFromPoint stub. * dlls/comctl32/comctl32undoc.c: Eric Pouech Fixed off by one allocation error (DPA and DSA). * multimedia/mmsystem.c: Eric Pouech Fixed crash in PlaySound thread. Sat Sep 11 16:29:00 1999 Alexandre Julliard * controls/listbox.c: Nick Holloway For Win 3.x applications, if they have either horizontal or vertical scrollbars, enable both. * dlls/advapi32/crypt.c, dlls/msacm32/internal.c, dlls/shell32/pidl.c, include/wine/winestring.h, memory/string.c: Patrik Stridvall Eliminated warnings. * controls/combo.c, controls/listbox.c: Pierre Mageau Set the mouse capture on the combo listbox. * graphics/ddraw.c: Lionel Ulmer - fixed the creation of back-buffers in DGA mode - added a check on the validity of the Locking rectangle - fixed the enumeration for DX-6.0 * dlls/comctl32/commctrl.c: Stephane Lussier Fixed RGBQUAD/COLORREF mixup in CreateMappedBitmap(). * controls/button.c: Abey George Draw the focus rectangle for buttons with BS_3STATE, BS_RADIOBUTTON, BS_CHECKBOX, BS_AUTO* styles. Fri Sep 10 14:38:20 1999 Alexandre Julliard * graphics/psdrv/driver.c, graphics/win16drv/init.c, graphics/win16drv/prtdrv.c, if1632/thunk.c, include/callback.h, include/gdi.h, include/psdrv.h, include/win16drv.h, graphics/driver.c: Huw D M Davies Winspool DocumentProperties and DeviceCapabilities should now work on native 16 bit drivers. * dlls/winspool/info.c: Huw D M Davies Fixes DeviceCapabilities for DC_PAPERSIZE. Various fixes for OpenPrinter and EnumPrinters. Separation of GetPrinter in preparation for unification with EnumPrinters. * graphics/psdrv/ppd.c, include/wingdi.h: Huw D M Davies Add support for a large number of different paper sizes to PostScript driver. * include/d3d.h: Lionel Ulmer Added definitions of COM objects for D3D 6.x support. * graphics/psdrv/font.c: Nick Holloway If there is not an exact match found for the requested font name, instead of using the first font defined for the printer, map some common font families (e.g. Arial -> Helvetica), and search again. * if1632/kernel.spec, if1632/thunk.c: Ulrich Weigand Fixed bug in CBClient routines by storing the SEGPTR in the global table and translating it on every use. * include/bitmaps/oic_sample: Abey George Changed the pixmap to look like the windows default application icon. * files/drive.c: Richard Cohen Stop crash in GetDiskFreeSpaceEx. * windows/nonclient.c: Francis Beaudet Made sure that the windows with the WS_EX_TOOLWINDOW style didn't get handled by the window manager. * controls/edit.c: Pascal Lessard Implemented the behavior around the ES_WANTRETURN style in the edit control. * windows/x11drv/keyboard.c: Stephane Lussier Pressing the delete key using an extended keyboard with numlock on is not generating anymore a WM_CHAR message. * dlls/shell32/shellpath.c: Niclas Karlsson Fixed pattern matching in PathMatchSpecA/W * dlls/shell32/shlview.c: Francois Boisvert Tabbing in the listview of the shellview. * dlls/comctl32/listview.c: Luc Tourangeau Fixed LISTVIEW_GetItemRect: the calculations were off for LVIR_BOUNDS, LVIR_SELCTBOUNDS, LVIR_LABEL when the item width is greater than the column width. Fixed WM_GETDLGCODE by removing the DLGC_WANTRTAB and adding DLGC_WANTCHARS. * dlls/shell32/shell32_main.c: Juergen Schmied Fixed crash in detach sequence. * dlls/shell32/shlfolder.c: Juergen Schmied Fixed wrong return value. * dlls/crtdll/crtdll_main.c: Juergen Schmied Prevent endless loop in except2. * tools/bug_report.pl: Adam Sacarny Now works around wine never exiting the debugger. Should put bug reports in the right place now. * ole/oleaut32.c, ole/Makefile.in, relay32/oleaut32.spec: Marcus Meissner Added stub for RegisterActiveObject(). * dlls/win32s/w32sys.c, dlls/win32s/w32sys.spec: Marcus Meissner Added stub for WIN32S16.EXP1 (most likely LoadPeResource16). Sun Sep 5 16:48:17 1999 Alexandre Julliard * loader/main.c, loader/module.c, miscemu/main.c, include/windef.h: Removed __winelib flag. * windows/driver.c, multimedia/audio.c, multimedia/dsound.c, multimedia/mci.c, multimedia/mcianim.c, multimedia/mciavi.c, multimedia/mcicda.c, multimedia/midi.c, multimedia/mixer.c, multimedia/mmaux.c, multimedia/mmsystem.c, multimedia/time.c, multimedia/winmm.rc: Eric Pouech Updated to new MM header organization. * include/multimedia.h, include/mmddk.h, include/mmsystem.h, multimedia/oss.h, multimedia/winemm.h: Eric Pouech Moved DDK level material to new include/mmddk.h file. Copied some SDK level material from include/multimedia.h file. * multimedia/mciwave.c, multimedia/mcimidi.c: Eric Pouech Updated to new MM header organization. Cleaned-up internal structures (now 32 bit only). Now using the MMSYSTEM entry points rather than the low level driver ones directly. * include/sig_context.h: Juergen Lock Fix %fs for signal handlers in the FS_sig undefined case (this patch actually from Ulrich Weigand, I only tested it). * scheduler/sysdeps.c, configure, configure.in, include/acconfig.h, include/config.h.in: Ron Record Added support of __thr_errno for reentrance on UnixWare. * windows/dialog.c: Richard Cohen No longer needs to calculate its own character size. * misc/main.c: Richard Cohen Consequential changes to default system font sizes * graphics/x11drv/xfont.c, include/x11font.h: Richard Cohen Various fixes for the X11 font mapper, particularly: - size fonts with negative heights correctly - calculate average width correctly. * objects/cursoricon.c: Francis Beaudet Use a special value in the hotspot coordinate to identify which HICON are cursors and which are icons. * controls/combo.c: Pierre Mageau Modified CBDropDown to find the best height of the listbox. Sat Sep 4 14:36:03 1999 Alexandre Julliard * configure.in, include/config.h.in, include/wine/winestring.h, memory/string.c, misc/port.c, configure: Added configure check for str[n]casecmp. * windows/timer.c: Uwe Bonnes Allow timeout of 0. Cap timer rate to SYS_TIMER_RATE. * include/windef.h: Huw D M Davies Added type PWORD. * dlls/winspool/info.c, include/winspool.h: Huw D M Davies Added loads of types, defines and declarations to winspool.h. * dlls/commdlg/cdlg_En.rc, dlls/commdlg/filedlg95.c: Francois Boisvert Fixed the height of items in the lookin combobox of the filedlg95. * controls/edit.c: Stephane Lussier Initialize the enabling state variable in the edit. * graphics/bitblt.c: Noomen Hamza The fast window frame size should be the same as the frame size used by NC_DrawFrame function. * objects/region.c: Huw D M Davies Fixed compiler warnings. * programs/regapi/regapi.c: Huw D M Davies lstrncmpi isn't a windows API, use strncasecmp instead. * memory/global.c: Fixed GMEM_ZEROINIT in GlobalRealloc (thanks to Gerard Patel). * windows/msgbox.c: Added missing HFONT type. * dlls/comctl32/imagelist.c, include/cursoricon.h, loader/main.c, objects/bitmap.c, objects/cursoricon.c, windows/class.c: Pierre Mageau Changed CopyImage to accept desiredX, desiredY and LR_COPYFROMRESOURCE. CURSORICON_FindBestIcon changed to find the correct icon. ImageList_ReplaceIcon now calls CopyImage internally. Assign a value for the hIconSm CLASS member (using CopyImage). * win32/console.c: Guy Albertelli Fixed WriteConsoleOutput and GetNumberOfConsoleInputEvents. * dlls/comctl32/propsheet.c: Thuy Nguyen Give applications a copy of the property sheet dialog template as they might modify it. * relay32/relay386.c: Marcus Meissner Relay exclude lists were not working due to some CharUpperA() somewhere else. * loader/loadorder.c, wine.ini: Huw D M Davies winspool -> winspool.drv * dlls/comctl32/comctl32.spec, dlls/comctl32/comctl32undoc.c: Uwe Bonnes Implemented StrCmpNIA like the other StrCmpXX functions. * files/profile.c: Thuy Nguyen Resolve environment variable when enumerating values. * controls/edit.c: Pascal Lessard The format rect is recalculated for each font change. MoveEnd & MoveHome improved. Fri Sep 3 16:49:17 1999 Alexandre Julliard * graphics/x11drv/dib.c, include/x11drv.h, objects/dib.c: Karl Lessard Ian Ward Dan Langlois Speed up conversion between XImages and DIBSections. * dlls/commdlg/filedlg95.c, dlls/commdlg/filedlgbrowser.c, dlls/commdlg/filedlgbrowser.h, dlls/shell32/shlview.c: Francois Boisvert Some features in the file dialog 95. * include/winnt.h, scheduler/sysdeps.c: Ulrich Weigand Removed global variable pCurrentTeb. * memory/heap.c: Ulrich Weigand HEAP_Commit/Decommit were assuming a page size of 4KB unconditionally. * include/wingdi.h: Huw D M Davies A few more DC_ defines from Win2000. * dlls/comctl32/status.c: Huw D M Davies Check that lpCreate->lpszName is non-NULL. * windows/dialog.c: Marcus Meissner More restrictive checks, so DIALOG_IsAccelerator don't loop endlessly. * controls/menu.c: Pascal Lessard Menu hides when clicked for a second time. * windows/msgbox.c: Richard Cohen - select the font into the dc before calculating the extent - make buttonheight correspond to text height + width to caption - button was "flashing" on EndDialog (must delete font AFTER EndDialog) - #defines for DlgItemIds - implement MB_RETRYCANCEL * controls/edit.c: Stephane Lussier Keep the enable state in the edit structure instead of calling IsWindowEnabled(). * include/clipboard.h, include/ttydrv.h, include/x11drv.h, ole/clipboard.c, windows/clipboard.c, windows/ttydrv/clipboard.c, windows/ttydrv/init.c, windows/user.c, windows/x11drv/clipboard.c, windows/x11drv/event.c, windows/x11drv/init.c: Noel Borthwick - Implement interprocess clipboard communication. - Support for the PRIMARY and CLIPBOARD selection atoms. - Support for the TARGETS selection format. - Expose native Windows clipboard formats through X selection targets. * objects/gdiobj.c: Richard Cohen Make stock fonts independent of mapping mode. System font should only be bold for Win31. * windows/dialog.c: Francis Beaudet Removed truncating errors that happen when converting fom dialog units to pixels. * windows/winpos.c: Abey George Check new coordinates received in WM_NCCALCSIZE message. * controls/button.c: Francis Beaudet Slight 1 pixel adjustment on the position of the radio button bitmap. * dlls/commdlg/filedlg95.c: Eric Pouech Fixed off by one allocation errors. * controls/edit.c: Pascal Lessard The backspace is now handled in the WM_CHAR message. * windows/mdi.c, windows/nonclient.c: Francis Beaudet Make sure that all MDI children have the WS_EX_MDICHILD style set. * memory/string.c: Marcus Meissner Fixed prototype order. * dlls/ntdll/exception.c: Juergen Lock Fix EXC_segv for the TRAP_sig undefined case (eg FreeBSD). * debugger/stabs.c: Eric Pouech Fixed crash. * dlls/shell32/shell32_main.c: Francis Beaudet Fixed the support for the close button in the ShellAbout dialogs. * dlls/commdlg/cdlg_Nl.rc: Klaas van Gend Added Dutch resources for PrintDlg32. * dlls/commdlg/cdlg.h, dlls/commdlg/cdlg_En.rc, dlls/commdlg/printdlg.c: Klaas van Gend Completed PrintDlg32 resource stringtable. * dlls/comctl32/tooltips.c: Francis Beaudet Added sanity checks in the cleanup code. * windows/x11drv/keyboard.c: Guy Albertelli Completed GetKeyNameText for non-character keys. * dlls/shell32/brsfolder.c: Francois Boisvert Make directories name appear in the BrowseForFolder dialog. * loader/loadorder.c: Eric Pouech Do not remove .drv from filenames. * controls/button.c: Francis Beaudet Fixed a little positioning bug with the checkbox. * windows/nonclient.c, windows/win.c, windows/x11drv/wnd.c: Abey George Fixed resizing bugs for windows with WS_THICKFRAME and WS_DLGFRAME styles. * multimedia/mci.c: Michael McCormack Changed snprintf to wsnprintfA to remove unresolved external when compiling on Solaris/Sun. * dlls/comctl32/listview.c: Marcus Meissner Implemented LVM_INSERTCOLUMNW and LVM_INSERTITEMW by using the ascii equivalents. (WinWord 97, File Open dialog) * windows/class.c: Marcus Meissner Use in GetClassInfoW the same hack for systemclasses as in GetClassInfoA (winword 97 with native comctl32). * dlls/shell32/pidl.c: Marcus Meissner Handle SHGDFIL_FINDDATA correctly in SHGetDataFromIDListW. * controls/edit.c: Gerard Patel Implemented wParam of WM_PAINT msg for edit control. * dlls/winspool/info.c: Huw D M Davies Fix off by one error in WINSPOOL_GetOpenedPrinterA. * misc/registry.c: Marcus Meissner subkey_found did not search for _all_ sub keys. Sat Aug 21 14:47:29 1999 Alexandre Julliard * dlls/commdlg/filedlg95.c, dlls/commdlg/filedlgbrowser.c, dlls/commdlg/cdlg.h, dlls/commdlg/cdlg32.c: Francois Boisvert Implemented basic browsing in the file name edit of the filedlg 95. * controls/menu.c: Stephane Lussier Avoid changing the activation state in EnableMenuItem. * include/winnt.h: Fixed #ifdef symbol for PowerPC. * ole/parsedt.c, ole/parsedt.h: Eric Pouech Only declare DateStyle in a single compilation unit. * windows/nonclient.c: Pascal Lessard Added the case of a user defined icon for the sysbutton hittest. * ole/typelib.c: Rein Klazes Fixed typelib reading to correctly use the offset of the typelib that is embedded in for example a dll file. * graphics/x11drv/dib.c: Kristian Nielsen Fixed CreateDIBSection() called with negative height to set the height positive in the created DIBSECTION, as per MS knowledgebase Q186586. * windows/painting.c: Stephane Lussier The paint rectangle return in the PAINTSTRUCT in BeginPaint should never be bigger than the client area of the window. * controls/listbox.c: Rein Klazes Make sure that an empty string never matches a listbox entry in LISTBOX_FindString(). * dlls/version/info.c: Uwe Bonnes Alignment fix. * controls/menu.c: Eric Pouech Fixed crash when accessing sysmenu. * debugger/stack.c: Eric Pouech Really do a silent backtrace when requested. * debugger/hash.c: Eric Pouech Do not set the address if the symbol is still tagged INVALID. * debugger/stabs.c: Eric Pouech Added support for N_BINCL and N_EINCL instructions. Fixed type parsing (as generated by egcs). Wed Aug 18 18:40:52 1999 Alexandre Julliard * tools/build.c: Ulrich Weigand Use typedef to work around egcs problem. * ole/*.c: Michael Veksler Removed unnecessary includes from ole related files. * ole/compobj.c, multimedia/mmsystem.c: Ulrich Weigand Adapted to WOW changes. * include/callback.h, include/winbase.h, include/wine/winbase16.h, include/wownt32.h, loader/module.c, memory/global.c, memory/selector.c, relay32/Makefile.in, relay32/kernel32.spec, relay32/wow32.spec, relay32/wowthunk.c, win32/kernel32.c, win32/ordinals.c, if1632/kernel.spec, if1632/relay.c, if1632/thunk.c: Ulrich Weigand Moved implementation of WOW routines to single file. Added all missing WOW routines, fixed WOWCallback16Ex. * multimedia/mmio.c: Eric Pouech Fixed internal buffer for 16 bit mmio MEM files. * multimedia/mci.c: Eric Pouech - some errors in cleaning up values returned by MCI drivers: this should solve the issues reported with the CD player/writer - crash when command was requested with automatic open (note, this will now gracefully report an error, not do the correct thing). * dlls/comctl32/propsheet.c: Thuy Nguyen Implemented the PSH_USEICONID/PSH_USEHICON and the PSP_USETITLE flags. * tools/build.c: Ulrich Weigand Bugfix: EFlags were passed incorrectly by CallFrom16Register. * loader/task.c: Ulrich Weigand Bugfix: restore STACK16FRAME fields in SwitchStackBack16. * tools/wrc/wrc.h, dlls/commdlg/cdlg_En.rc, tools/wrc/CHANGES, tools/wrc/parser.y: Bertho Stultiens Wrc did not check any IDs which are only 16 bit. Common dialogs had some IDs larger and that caused problems. This is now solved (I hope). ---------------------------------------------------------------- Sun Aug 15 18:52:32 1999 Alexandre Julliard * objects/cursoricon.c: Steve Tibbett Fixed cursor stretch code. * memory/selector.c: Uwe Bonnes Inhibit wraparound in comparison. * dlls/shell32/.cvsignore, dlls/shell32/Makefile.in, dlls/shell32/shellord.c, dlls/shell32/shlwapi.spec, loader/loadorder.c, relay32/builtin32.c: Juergen Schmied New internal dll, exporting already existing path functions. * include/message.h, windows/dialog.c, windows/message.c, windows/nonclient.c, controls/menu.c: Francis Beaudet Ensure that the WM_ENTERIDLE message is not sent if the wake-up event for the MSG_InternalGetMessage() call is a WM_TIMER. * rc/winerc.c, include/resource.h, include/windef.h: Patrik Stridvall GCC 3.0 has not been released yet, but it is good to be prepared. * misc/spy.c: Juergen Schmied Added resolution of LVM messages. * objects/dib.c: Gerard Patel Added protection against possible memory corruption. * objects/cursoricon.c: Steve Tibbett Fixed cursor selection to find the correct cursor when more than one available. * dlls/winspool/Makefile.in, dlls/winspool/info.c, dlls/winspool/winspool.spec, dlls/winspool/wspool.c: Thuy Nguyen Replaced a static ten element array with a dynamic pointer array. * dlls/commdlg/printdlg.c: Gerard Patel Fix special case when no printer installed. * dlls/shell32/shell.c, dlls/shell32/shell.spec: James Juran New routine DllEntryPoint for shell.dll. Loads shell32.dll, since most shell.dll functions call their 32-bit counterparts. * dlls/version/info.c: Uwe Bonnes Fixed alignment. * controls/edit.c: Pascal Lessard EM_SETSEL scrolls if outside of the visible range. "shift+home" selection improved in the edit control. * ole/parsedt.c: Removed RCS keyword. * dlls/shell32/folders.c, dlls/shell32/pidl.c, dlls/shell32/shell32.spec, dlls/shell32/shell32_main.h, dlls/shell32/shelllink.c, dlls/shell32/shellole.c, dlls/shell32/shellord.c, dlls/shell32/shellpath.c, dlls/shell32/shres.rc, dlls/shell32/shresdef.h, dlls/shell32/shv_bg_cmenu.c, include/shell.h, include/wine/undocshell.h: Juergen Schmied More use of rc files for strings and menus, fixes. First internal icons. * dlls/shell32/shlview.c: Juergen Schmied New interface: DropSource. * dlls/shell32/shlfolder.c: Juergen Schmied Better DropTarget. * dlls/shell32/shell32_main.c: Juergen Schmied Implemented SHGetFileInfo better. * dlls/shell32/iconcache.c: Juergen Schmied Protect cache with critical section. Removed hack to load icons from external shell32.dll. * dlls/shell32/dataobject.c: Juergen Schmied QueryGetData, EnumFormatEtc implemented. * dlls/shell32/classes.c: Juergen Schmied Fixed mapping of file extensions to text. * misc/ddeml.c: Juergen Schmied Fixed ascii/unicode issue for naming of the mutexes. Made mutex handles global. Fixed incorrect interpretation of return values of WaitForSingleObject. * objects/font.c: Juergen Schmied First implementation of GetCharacterPlacementA. * windows/defwnd.c, include/winuser.h: Thuy Nguyen Implemented the WM_SETICON and WM_GETICON messages. * files/drive.c: Morten Eriksen FIXME on unimplemented feature made less obtrusive. * graphics/x11drv/bitblt.c: Pascal Lessard Now the conversion in the blt functions round up the result. * tools/build-spec.txt, tools/build.c: James Juran Document use of "init" in build-spec.txt, and make build.c print a warning if someone tries to use "init" in a Win16 spec file. * loader/ne/segment.c: Michael Karcher Make sure we have a dgroup before patching prologs. * */Makefile.in, */.cvsignore: Ulrich Weigand Adapted to glue code generation changes. * loader/ne/module.c, loader/ne/segment.c, windows/winproc.c, if1632/builtin.c, if1632/relay.c, if1632/snoop.c, if1632/thunk.c, include/callback.h, include/module.h, include/snoop.h, loader/module.c, loader/task.c: Ulrich Weigand Adapted to new-style Wine thunks. Removed some now unnecessary function pointers. * include/builtin16.h, include/stackframe.h, tools/build.c: Ulrich Weigand CallTo16... / CallFrom16... Wine thunks reorganized: - Cleaner separation between core and glue code. - Argument conversion glue code now in C. - Glue code needed for 16-bit .spec files inlined. Sat Aug 14 15:53:50 1999 Alexandre Julliard * misc/comm.c: Uwe Bonnes - implemented GetCommModemStatus - fixed the DTR, CTS and COMMBREAK related subfunctions of EscapeCommFunction - added more verbose TRACEing * misc/version.c: Morten Eriksen Made GetVersionEx() behave in accordance with the specification with regard to error handling. * dlls/msvideo/msvfw32.spec, dlls/msvideo/msvideo_main.c: Mark G. Adams Added stub for DrawDibClose. * controls/combo.c: Francis Beaudet Fixed the look of the combobox's drop down button when in Win95 look. * dlls/comctl32/propsheet.c: Thuy Nguyen Added support for icons in property sheet tabs. * include/commctrl.h, tools/wrc/CHANGES, tools/wrc/genres.c, tools/wrc/parser.l, tools/wrc/wrc.h: Bertho Stultiens Version 1.0.14 of wrc. Sun Aug 8 18:56:04 1999 Alexandre Julliard * include/winbase.h, win32/time.c: Fixed SetLocalTime prototype. * ole/ole2nls.c, win32/kernel32.c, dlls/commdlg/printdlg.c, dlls/ntdll/rtlstr.c, dlls/shell32/shell32_main.c, dlls/shell32/shellpath.c, dlls/version/info.c, files/dos_fs.c, if1632/thunk.c, include/wine/winestring.h, loader/libres.c, loader/pe_resource.c, dlls/comctl32/comctl32undoc.c: Replaced a few calls to lstr* functions by their CRTDLL or libc equivalent. * memory/string.c: Added an exception handler around a few lstr* functions. * dlls/crtdll/Makefile.in, dlls/crtdll/crtdll.spec, dlls/crtdll/crtdll_main.c, dlls/crtdll/mbstring.c, dlls/crtdll/wcstring.c, dlls/ntdll/ntdll.spec, include/crtdll.h: Reimplemented multi-byte and wide-chars functions to not depend on lstr* functions; added a few missing ones; fixed a couple of bugs. Sat Aug 7 14:32:34 1999 Alexandre Julliard * include/Attic/wnet.h, include/wine/winnet16.h, include/winerror.h, include/winnetwk.h, include/winuser.h, misc/network.c, relay32/.cvsignore, relay32/Attic/mpr.spec, relay32/Makefile.in, Makefile.in, configure, configure.in, dlls/Makefile.in, dlls/mpr/.cvsignore, dlls/mpr/Makefile.in, dlls/mpr/auth.c, dlls/mpr/mpr.spec, dlls/mpr/mpr_main.c, dlls/mpr/multinet.c, dlls/mpr/nps.c, dlls/mpr/pwcache.c, dlls/mpr/wnet.c, include/netspi.h: Ulrich Weigand Separated Win16 (USER) and Win32 (MPR) network routines. Moved implementation of MPR to dlls/mpr/. Added proper headers and stubs for missing MPR routines. * misc/registry.c: Andreas Mohr Improved (sort of) RegFlushKey. * windows/winpos.c: Francis Beaudet If the window is already the topmost window in ShowWindow(SW_SHOW), it must not be activated. * windows/x11drv/event.c: Stephane Lussier WM_SYSCOMMAND message (for SC_CLOSE) should be posted not sent. * windows/dce.c, windows/x11drv/wnd.c: Stephane Lussier X11drv SetDrawable function modifies the DC origin, this translation should be reflected for the dc clipping region for CS_OWNDC and CS_CLASSDC. * windows/defdlg.c, windows/dialog.c: Abey George Set focus to the dialog in EndDialog. * libtest/Makefile.in: James Juran Make sure we compile winestub.o before trying to build a Winelib test program. * files/directory.c: Andreas Mohr Fixed case sensitivity flag. * include/commdlg.h, dlls/commdlg/printdlg.c: Klaas van Gend Implemented the return of hDevModes and hDevNames in the PRINTDLG structure of PrintDlgA(). * windows/queue.c, include/queue.h: Ove Kaaven Made hardware_event use win32-conformant parameters. * dlls/commdlg/cdlg32.c: Juergen Schmied Explicitly load shell32.dll. * dlls/comctl32/tab.c: Thuy Nguyen Take into account icons when determining tab size. * files/drive.c: Morten Eriksen Improved GetDiskFreeSpaceEx() implementation a little bit. * misc/comm.c: Uwe Bonnes - added some more Baudrates - fixed a hang in tcsetattr when the input buffer isn't empty - added more verbosity for debugging * controls/uitools.c: Francis Beaudet Handle the case when the button is really small. * windows/nonclient.c: Thuy Nguyen WS_EX_DLGMODALFRAME alone does not mean title bar, you still have to specify WS_CAPTION. Wed Aug 4 15:07:57 1999 Alexandre Julliard * configure.in, include/acconfig.h, include/config.h.in, include/dinput.h, windows/dinput.c, configure: Marcus Meissner Implemented DirectInput Joystick support (tested with WC:Prophecy). * relay32/kernel32.spec, win32/time.c: Andreas Mohr Implemented SetLocalTime. * windows/x11drv/keyboard.c: Ivan De Saedeleer Minor fix to the French Canadian keyboard. * graphics/ddraw.c: Marcus Meissner When flipping backbuffer -> frontbuffer, first exchange surfaces, then copy XImage, since the palette might only be defined in the frontbuffer. * tools/wineinstall: Joerg Mayer Create sysconfdir on install. * dlls/stress/.cvsignore: Fixed typo. * dlls/wnaspi32/winaspi32.c, if1632/relay.c, include/debugtools.h, loader/pe_image.c, win32/kernel32.c, windows/x11drv/keyboard.c, controls/listbox.c, controls/menu.c, controls/scroll.c, dlls/version/info.c, dlls/winaspi/winaspi16.c: Got rid of dsprintf and related macros. * server/mutex.c: Remove the mutex from the thread list when destroying it. * */*: Ulrich Weigand Moved various DLLs to dlls/ Sun Aug 1 14:58:02 1999 Alexandre Julliard * dlls/winaspi/winaspi16.c, if1632/snoop.c, include/winnt.h, loader/ne/segment.c, misc/error.c, msdos/devices.c, msdos/dpmi.c, msdos/int21.c, msdos/int33.c, debugger/registers.c, debugger/stack.c: Removed IP_reg, SP_reg and FL_reg definitions to avoid potential aliasing optimization problems. * dlls/ntdll/exception.c, include/miscemu.h, loader/dos/module.c, loader/signal.c: Removed SIGNAL_MaskAsyncEvents and cleaned up signal handling. * include/Attic/async.h, win32/console.c, files/Attic/async.c, files/Makefile.in, files/file.c: Removed async I/O support. * include/comm.h, misc/comm.c: Use the service thread for comm notifications. * include/sig_context.h, include/stackframe.h, loader/task.c, msdos/dpmi.c, relay32/relay386.c, win32/kernel32.c, if1632/relay.c, if1632/thunk.c: Made stack manipulation macros into inline functions. Changed a few accesses to context registers to avoid potential aliasing optimization problems. * include/miscemu.h, include/sig_context.h, include/windef.h, loader/dos/dosvm.c, memory/instr.c, dlls/ntdll/exception.c: Changed INSTR_EmulateInstruction to use a CONTEXT86 instead of a SIGCONTEXT. * Makefile.in: Remove wine.conf.man on distclean ---------------------------------------------------------------- Sat Jul 31 19:35:58 1999 Alexandre Julliard * windows/nonclient.c: Noomen Hamza Close the right window when clicking on a non active window close button. * Makefile.in: Pavel Roskin Removed the dependency on "dummy" for wine and wine.sym. * files/profile.c: Remove file from cache when flushing it (based on a patch by Ian Schmidt). * include/winnt.h: Marcus Meissner Added CONTEXT for ALPHA and MIPS. * configure.in, Make.rules.in, Makefile.in, configure: Patrik Stridvall Added support for Solaris Lint. * scheduler/debugger.c, server/debugger.c, tools/make_debug, win32/console.c, console/generic.c, console/xterm.c, graphics/enhmetafiledrv/graphics.c, graphics/enhmetafiledrv/objects.c, graphics/metafiledrv/bitblt.c, graphics/metafiledrv/graphics.c, graphics/metafiledrv/objects.c, graphics/metafiledrv/text.c, include/debugdefs.h, include/xmalloc.h, misc/xmalloc.c: Patrik Stridvall Fixed some of the issues reported by Solaris Lint. * include/pshpack4.h: Patrik Stridvall Solaris C/C++ compile fix. * msdos/dosmem.c, ole/storage32.c, windows/painting.c, controls/button.c, dlls/comctl32/monthcal.c, dlls/commdlg/filedlg95.c, dlls/commdlg/filedlgbrowser.c, graphics/ddraw.c, include/wine/obj_base.h: Patrik Stridvall Various ANSI C compability fixes. * relay32/winmm.spec, if1632/builtin.c, if1632/gdi.spec, if1632/mmsystem.spec, if1632/user.spec, include/multimedia.h, include/ntddk.h, include/olectl.h, include/winsock.h, misc/network.c, misc/system.c, misc/winsock.c, multimedia/mmsystem.c, ole/olefont.c, relay32/kernel32.spec, relay32/oleaut32.spec, relay32/user32.spec, dlls/comctl32/comctl32.spec, dlls/ntdll/exception.c, dlls/ntdll/file.c, dlls/ntdll/ntdll.spec, dlls/ntdll/rtl.c, dlls/tapi32/tapi32.spec: Patrik Stridvall Fixed some of the issues reported by winapi-check. * documentation/Makefile.in: Marcus Meissner Actually create the man/ subdirectories before installing. * if1632/kernel.spec, include/wine/winbase16.h, loader/task.c, windows/queue.c: Ulrich Weigand Implemented KERNEL.447 (WIN32_OldYield16). * windows/event.c: Ulrich Weigand Suspend WND lock before EVENT_Synchronize. * win32/device.c: Ulrich Weigand Create VxD handle only for known VxDs. * Make.rules.in, relay32/Makefile.in: Patrik Stridvall Made compilation of *.spec.c files use -fno-builtin regardless of where they are. * include/tapi.h, include/winbase.h, scheduler/thread.c, dlls/comctl32/datetime.c, dlls/comctl32/flatsb.c, dlls/comctl32/header.c, dlls/comctl32/hotkey.c, dlls/comctl32/ipaddress.c, dlls/comctl32/listview.c, dlls/comctl32/monthcal.c, dlls/comctl32/nativefont.c, dlls/comctl32/pager.c, dlls/comctl32/progress.c, dlls/comctl32/rebar.c, dlls/comctl32/status.c, dlls/comctl32/tab.c, dlls/comctl32/toolbar.c, dlls/comctl32/tooltips.c, dlls/comctl32/trackbar.c, dlls/comctl32/treeview.c, dlls/comctl32/updown.c, dlls/shell32/brsfolder.c, dlls/shell32/contmenu.c, dlls/shell32/memorystream.c, graphics/ddraw.c, dlls/avifil32/avifile.c, dlls/comctl32/animate.c, dlls/comctl32/comboex.c: Patrik Stridvall Fixed/added missing/wrong function prototypes and made internal functions static. * tsx11/ts_xshm.c, tsx11/ts_xutil.c, tools/make_X11wrappers, tsx11/ts_xf86dga.c, tsx11/ts_xf86vmode.c, tsx11/ts_xlib.c, tsx11/ts_xpm.c, tsx11/ts_xresource.c: Patrik Stridvall Fixed missing prototypes and made it work with Solaris X11. * debugger/external.c, include/wine/undocshell.h, multimedia/mcimidi.c, ole/antimoniker.c, ole/compositemoniker.c, ole/datacache.c, ole/filemoniker.c, ole/itemmoniker.c, ole/olefont.c, scheduler/thread.c, dlls/shell32/contmenu.c, dlls/shell32/folders.c, dlls/shell32/shelllink.c, dlls/shell32/shlfolder.c, dlls/shell32/shlview.c: Patrik Stridvall Eliminated warnings. * loader/ne/segment.c: Andreas Mohr Fixed the DSEG value in the SEGTABLEENTRY struct. * dlls/comctl32/comctl32.h, dlls/comctl32/flatsb.c, dlls/comctl32/pager.c, dlls/comctl32/rsrc.rc, dlls/comctl32/toolbar.c, documentation/common_controls: Eric Kohl Added builtin toolbar bitmaps. * dlls/comctl32/listview.c, dlls/comctl32/treeview.c, include/listview.h, include/treeview.h: Eric Kohl Some more messages. * dlls/advapi32/advapi32.spec, dlls/advapi32/crypt.c: Eric Kohl Added stub for CryptSetKeyParams(). * dlls/shell32/shell32.spec, dlls/shell32/shellord.c: Eric Kohl Added stubs for DAD_SetDragImage() and PathCleanupSpec(). * misc/crtdll.c, relay32/crtdll.spec: Eric Kohl Added stub for _except_handler2(). * objects/region.c: Eric Kohl Improved GetRandomRegion(). * controls/menu.c, windows/nonclient.c: Pascal Lessard Implemented the system button behavior and associated it to the system menu in win95. Also permit the SC_CLOSE item to be disabled. * misc/comm.c: Ove Kaaven Bugfixes and a fake GETBASEIRQ. * files/async.c: Ove Kaaven Made async fds nonblocking. * windows/mdi.c: Dan Langlois Removed an inappropriate if statement from MDI_ChildActivate that prevented the activation code from executing. * dlls/comctl32/monthcal.c, include/monthcal.h: Alex Priem Bugfixes & further updates for the month calendar common control. * dlls/comctl32/datetime.c, include/commctrl.h, include/datetime.h: Alex Priem Started implementing date/time common control. * graphics/psdrv/graphics.c, graphics/psdrv/ps.c: Huw D M Davies PSDRV_WriteArc shouldn't write a newpath. * controls/button.c: Rein Klazes Fix handling of WM_LBUTTONDCLICK message for buttons with certain styles. * windows/dce.c: Abey George Bug fix for updating the clipping region in nested GetDCEx calls. * windows/winpos.c: Yuxi Zhang Tried to fix the code for SetWindowPos to erase the background properly. Fri Jul 30 18:10:21 1999 Alexandre Julliard * dlls/commdlg/cdlg_En.rc, dlls/commdlg/cdlg_xx.rc, dlls/commdlg/printdlg.c, dlls/commdlg/rsrc.rc, include/winspool.h: Klaas van Gend - added Collate/NoCollate Icons to Print32 dialog (unfortunately they don't display yet). - added status strings. - added string table for internationalisation of several internal message boxes. * include/commctrl.h, include/winuser.h: Yuxi Zhang Removed duplicated defines in winuser.h and commctrl.h. Also corrected a typo for SW_MAX value. * dlls/commdlg/cdlg.h, dlls/commdlg/cdlg32.c, dlls/commdlg/filedlg95.c: Francis Beaudet Fixed a memory leak in the file dialog. * loader/loadorder.c: Huw D M Davies Strip .drv extensions to MODULE_GetLoadOrder. * dlls/comctl32/tab.c: Francis Beaudet Fixed a memory leak. * scheduler/process.c, loader/task.c: Ulrich Weigand Bugfix: Install task-entry breakpoint *after* EXE module is initialized. * graphics/psdrv/ps.c, include/psdrv.h: Luc Tourangeau Added a call to the newpath operator immediately before the arc operator. * controls/button.c: Pierre Mageau Fixed a problem when the style is BS_BITMAP or BS_ICON: the bitmap or icon needed to be centered when the button is smaller than the bitmap. * windows/mdi.c: Francis Beaudet Fixed a memory leak that occurs when we maximize/minimize an MDI child. * dlls/comctl32/updown.c: Francis Beaudet Added more support for buddy windows in the updown control. * controls/edit.c: Francis Beaudet Implemented proper win95 support for the WS_BORDER style. * controls/listbox.c: Francis Beaudet Changed the WS_BORDER style to a WS_EX_CLIENTEDGE style for the listbox control. * controls/combo.c: Francis Beaudet Fixed the border for the listbox created by the simple combobox. * ole/compobj.c, if1632/compobj.spec: Andreas Mohr Implemented CoRevokeClassObject stub needed by Acrobat 3 16 bit. * loader/ne/module.c: Ulrich Weigand GetModuleHandle16: treat Win32 modules correctly. Wed Jul 28 16:38:45 1999 Alexandre Julliard * dlls/commdlg/filedlg95.c, dlls/commdlg/filedlgbrowser.c, dlls/shell32/brsfolder.c: Juergen Schmied Fixed use of StrRetToStrN. * dlls/shell32/shell32.spec, dlls/shell32/shellord.c: Juergen Schmied StrRetToStrN[A|W|AW] new independent unicode/ascii/export functions. * documentation/dlls: Klaas van Gend Added explanation of the current DLL support. * memory/global.c: Ulrich Weigand Bugfix: fixed freshly introduced bug in GlobalLock16. * dlls/comctl32/comctl32.spec, dlls/comctl32/comctl32undoc.c: Ian Schmidt Added stubs for InitMUILanguage and COMCTL32.410. Fixed some compiler warnings. Tue Jul 27 17:10:06 1999 Alexandre Julliard * if1632/gdi.spec, if1632/thunk.c, if1632/user.spec, include/callback.h, miscemu/main.c, objects/gdiobj.c, windows/user.c: Ulrich Weigand Added FinalUserInit16/FinalGdiInit16 stubs. Call out to FinalUserInit in MAIN_EmulatorRun. * if1632/kernel.spec, memory/selector.c: Ulrich Weigand Added IsBadFlatReadWritePtr16(). * controls/edit.c: Abey George Fixed incorrect edit control behaviour in mouse message handling. * windows/message.c: Abey George Send normal mouse messages to WM_SETCURSOR when non-client mouse messages occur. * windows/winpos.c: Thuy Nguyen Check if the window has the WS_CLIPSIBLINGS style before using the DCX_CLIPSIBLINGS flag. * dlls/commdlg/Makefile.in, dlls/commdlg/cdlg.h, dlls/commdlg/cdlg32.c, dlls/commdlg/cdlg_En.rc, dlls/commdlg/filedlg.c, dlls/commdlg/filedlg95.c, dlls/commdlg/filedlgbrowser.c, dlls/commdlg/filedlgbrowser.h, include/commdlg.h, include/dlgs.h, include/tchar.h: Francois Boisvert Implemented the Win95 file open/save dialogs. * Makefile.in: Marcus Meissner Do tools/ before any of the other subdirectories, even when doing parallel makes. * memory/global.c: Ulrich Weigand Bugfix: Return selector also in CX from GlobalLock16(). * if1632/thunk.c: Ulrich Weigand More gcc bug workarounds. * graphics/psdrv/ppd.c, include/wingdi.h: Huw D M Davies Added more paper sizes and bin names to PPD parser. * windows/dinput.c: Marcus Meissner Actually return the number of events in Mouse_GetDeviceData (fixes Wing Commander Prophecy). Added timestamp and sequence generation, critical section for mousedata. Disabled mouse warping in GetDeviceData for now (generates excess mouse events). Sun Jul 25 13:15:49 1999 Alexandre Julliard * */*.spec: Ulrich Weigand Moved .spec files to corresponding dlls/ directory. * controls/listbox.c: Gerard Patel Several focus and selection problems in listboxes. * windows/dce.c: Francis Beaudet Retrieve the clipping region before setting the drawable and reset the clipping region after. * relay32/Attic/shell32.spec, dlls/shell32/brsfolder.c, dlls/shell32/pidl.c, dlls/shell32/pidl.h, dlls/shell32/shell32_main.c, dlls/shell32/shell32_main.h, dlls/shell32/shlmenu.c, include/shell.h, include/shlguid.h, include/shlobj.h, include/wine/obj_enumidlist.h, include/wine/obj_shellfolder.h: Juergen Schmied Many fixes/reimplementations. * dlls/shell32/shlview.c: Juergen Schmied Removed experimental/unused code. Use ShellFolder to get ViewObjects. Started cleanup of the contextmenu code. * dlls/shell32/shlfolder.c: Juergen Schmied Complete redesign, split into 3 implementations (Desktop, MyComputer and filesystem folders). All parsing and binding is done recursive. * dlls/shell32/shellpath.c: Juergen Schmied Implemented SHGetSpecialFolderPathA. * dlls/shell32/shellord.c: Juergen Schmied Implemented SHCreateShellFolderViewEx. * dlls/shell32/shellole.c: Juergen Schmied Removed special CoCreateClassObject and use ole functions instead. SHCreateDefClassObject implemented. * dlls/shell32/shelllink.c: Juergen Schmied Implemented access to lnk's to a IStream interface. * dlls/shell32/iconcache.c: Juergen Schmied Fixed icon background (was black). * dlls/shell32/folders.c: Juergen Schmied Fixed getting icons from filetypes. * dlls/shell32/enumidlist.c: Juergen Schmied Implemented enumeration of shell extensions, seperated enum stuff for the 3 seperate shellfolder implementations. * dlls/shell32/dataobject.c: Juergen Schmied Rewrote GetData so support multiple selections. * dlls/shell32/contmenu.c: Juergen Schmied Separated stuff for shv background contextmenu to separate file. * dlls/shell32/classes.c: Juergen Schmied New functions to access attributes in HCR. * dlls/shell32/Makefile.in, dlls/shell32/shv_bg_cmenu.c: Juergen Schmied New file. Seperate implementation of the shellview background contextmenu. * include/wine/undocshell.h: Juergen Schmied New file. Contains functions not in the official headers but widely used from other dlls. * Makefile.in: Marcus Meissner Added X11OBJS and LIBOBJS to wine dependencies (we can't add ALT_LINK). * Makefile.in: Make sure we build tools first. * if1632/kernel.spec, if1632/relay.c, if1632/wprocs.spec, memory/global.c, tools/build-spec.txt, tools/build.c: Ulrich Weigand Relay code for Win16 register functions converts arguments. New 'interrupt' keyword added (for Win16 interrupt handlers). Adapted .spec files and implementations of register routines. * include/psdrv.h, include/wine/wingdi16.h, misc/printdrv.c, graphics/psdrv/escape.c, graphics/psdrv/init.c, graphics/psdrv/ps.c, if1632/gdi.spec: Huw D M Davies {Start|End}{Doc|Page} go through DCfuncs. Implement these in the PostScript driver. Change PSDRV_Escape to use them. * loader/dos/dosvm.c: Ulrich Weigand Work around 'local extern declaration with attribute' gcc bug. * windows/dinput.c: Lionel Ulmer Implementation of SetEventNotification for the mouse driver. * ole/compobj.c: Juergen Schmied Let CoCreateInstance use LOAD_WITH_ALTERED_SEARCHPATH. * include/ole2.h: Juergen Schmied Fixed incomplete proto. * winedefault.reg: Juergen Schmied New keys nessesary for running the new shell32. * controls/static.c: Huw D M Davies Use GDI APIs to access bitmap info. * graphics/psdrv/clipping.c: Huw D M Davies Rewrote PSDRV_SetDeviceClipping to use GetRegionData API. Sat Jul 24 12:20:25 1999 Alexandre Julliard * miscemu/main.c, if1632/thunk.c, include/main.h, loader/main.c, misc/Attic/callback.c, misc/Makefile.in: Ulrich Weigand Unify startup sequence for Wine and WineLib. * windows/clipboard.c, include/clipboard.h, memory/global.c: Noel Borthwick Fix bug with pasting Wine clipboard content to external applications, by storing clipboard data on the shared system heap. * windows/x11drv/mouse.c: Achim Kaiser Draw an additional white bit for each invert bit of a cursor. * windows/x11drv/event.c: Noel Borthwick While handling the X FocusIn message in managed mode, if the window has been disabled revert the X focus back to the last focus window. * dlls/shell32/brsfolder.c, include/commctrl.h, dlls/comctl32/treeview.c: Francois Boisvert Implemented TREEVIEW_InsertItemW. * graphics/escape.c: Huw D M Davies Implemented ExtEscape. * Makefile.in: Marcus Meissner Trying to fix parallel make by doing direct subdir/subdir.o rules. * include/win.h, windows/nonclient.c, windows/x11drv/wnd.c: Sylvain St-Germain Fixed inconsistency in conditions that determines if a window requires a WM border. * graphics/x11drv/xfont.c, include/x11font.h: Huw D M Davies For large font sizes call XLoadQueryFont with a 100 pixel high font and rescale the metrics. * misc/printdrv.c, objects/dc.c, graphics/psdrv/escape.c, graphics/win16drv/init.c, include/gdi.h: Huw D M Davies Implement handling of 32 bit AbortProc. * include/process.h, include/server.h, include/wine/exception.h, include/winnt.h: Lionel Ulmer Suppressed compiler warning by using the 'unused' attribute. * debugger/Makefile.in, debugger/external.c: Kevin Holbrook Added utility function to invoke external debugger. * multimedia/.cvsignore, multimedia/winmm.rc, multimedia/winmm_En.rc, multimedia/winmm_Fr.rc, relay32/builtin32.c: Eric Pouech Added WINMM resources. * multimedia/Attic/mcistring.c, multimedia/Makefile.in: Eric Pouech Removed obsoleted mcistring.c. Added support for resources. * multimedia/mcianim.c, multimedia/mciavi.c, multimedia/mcicda.c, multimedia/mcimidi.c, multimedia/mciwave.c: Eric Pouech Fixed return values for some messages in DriverProc (MCI_GETDEVCAPS & MCI_STATUS) for mciSendString. * multimedia/time.c: Eric Pouech Spread the use of MM crit sect. * multimedia/mmsystem.c: Eric Pouech Moved some MCI functions to mci.c. Now loads error messages from string table. Spread the use of MM crit sect. * multimedia/mci.c: Eric Pouech Added parsing & storing of command tables. Merged some MCI functions from mmsystem.c. * include/multimedia.h: Eric Pouech Removed some no longer used prototypes. Added command tables to MCI structure. * include/mmsystem.h: Eric Pouech Fixed buggy prototype. * debugger/types.c: Kevin Holbrook Avoid crashing on a bad symbol address of 0x0000. * misc/w32sys.c: Fixed GetW32SysVersion16 return type. * include/commdlg.h, include/module.h, loader/module.c, relay32/utthunk.c, dlls/commdlg/colordlg.c, dlls/commdlg/filedlg.c, dlls/commdlg/finddlg.c, dlls/commdlg/fontdlg.c, dlls/commdlg/printdlg.c, if1632/wprocs.spec: Ulrich Weigand Removed MODULE_GetWndProcEntry16(). Use 32-bit window procedures in COMMDLG instead. * configure, configure.in: Eric Pouech Fixed cut&paste bug. * include/docobj.h, include/wine/obj_base.h, include/wine/obj_dataobject.h, include/wine/obj_dragdrop.h, include/wine/obj_inplace.h, include/wine/obj_olefont.h, include/wine/obj_oleundo.h, include/wine/obj_propertystorage.h, include/wine/obj_storage.h: Paul Quinn Add a few stubs, some C++ compatibility, and fix a few types. * include/initguid.h, ole/guid.c: Albert den Haan Declare only one instance of GUID_NULL. * dlls/comctl32/imagelist.c: Pierre Mageau Fixed various problem with ImageList_Draw. * windows/dialog.c: Stephane Lussier Re-enable the owner window in the EndDialog(). * dlls/comctl32/propsheet.c: Thuy Nguyen Fixed notifications. * if1632/thunk.c: Ulrich Weigand Always retrieve Callout routines using GetProcAddress(). * windows/defwnd.c: Abey George Send WM_CONTEXTMENU on WM_RBUTTONUP, not WM_RBUTTONDOWN. * windows/x11drv/keyboard.c: Huw D M Davies Fixed compiler warning. * dlls/winspool/info.c: Huw D M Davies Let through more flags to EnumPrinters. Fixes for GetPrinter/GetPrinterDriver. * graphics/psdrv/color.c, graphics/psdrv/init.c, graphics/psdrv/ps.c: Huw D M Davies Fix stupid `rubbish at end of %%Title' bug. Don't complain about palette relative RGBs. If output param to CreateDC is NULL default to `LPT1:' - Hack. Fri Jul 23 19:33:24 1999 Alexandre Julliard * configure, configure.in, include/config.h.in, include/wine_gl.h: Lionel Ulmer Better detection of OpenGL. * include/callback.h, include/stackframe.h, misc/Attic/callback.c, tools/build.c, if1632/thunk.c: Ulrich Weigand Bugfix: Reverted CallTo16 routines to STDCALL convention. * objects/font.c: Huw D M Davies String to GetTextExtentPoint is not necessarily 0 terminated. Fix function name `32's in comments - API naming madness makes this worthwhile. * dlls/winspool/info.c, graphics/driver.c, graphics/psdrv/README, include/winspool.h, relay32/Attic/winspool.spec: Huw D M Davies EnumJobs stub. Update graphics/psdrv/README. Add warnings to DRIVER_GetDriverName. * windows/mdi.c: Eric Pouech Fixed some bad ptr occurrence in this class WndProc. * graphics/ddraw.c, include/options.h, misc/main.c, windows/x11drv/main.c: Lionel Ulmer - Added a new option 'noxshm' - Added a 16bpp -> 32 bpp conversion function * windows/syscolor.c: Gerard Patel Change color gray text to 128 128 128 for win9x look. Tue Jul 20 15:13:20 1999 Alexandre Julliard * scheduler/debugger.c: Do not output text in OutputDebugStrAW when not being debugged * windows/mdi.c: Noomen Hamza MDIDestroyChild: MDI window menu item was deleted only if the current destroyed child was active. * dlls/comctl32/propsheet.c: Gerard Patel Reset disabled style for the dialog boxes set on property pages. * tools/wrc/dumpres.c, tools/wrc/genres.c, tools/wrc/newstruc.c, tools/wrc/newstruc.h, tools/wrc/parser.l, tools/wrc/parser.y, tools/wrc/wrc.c, tools/wrc/wrc.h, tools/wrc/wrctypes.h, tools/wrc/CHANGES: Bertho Stultiens - Generalized the distinction between 2 and 4 byte integers slightly through a new parser state. The is now a warning when a 2 byte integer is larger than 16 bit (and is truncated). - Fixed a couple of cosmetic things in the DLGINIT stuff so that dumping of this type will work as expected. - Added generalized language/version/characteristics support to the DLGINIT resource type. Ulrich Czekalla - Added support for DLGINIT resource-type. - Added string continuation and embedded quoting. - Added numeric IDs for icons in controls. Eric Pouech - Bugfix: Distinguish between 2 and 4 byte integers in RCDATA. Sun Jul 18 18:42:29 1999 Alexandre Julliard * misc/Attic/string.c, misc/Makefile.in: Albert den Haan Remove string.c because all of its functions were moved to crtdll.c where they belonged. * tools/wrc/dumpres.c, tools/wrc/genres.c, tools/wrc/newstruc.c, tools/wrc/parser.l, tools/wrc/preproc.c, tools/wrc/readres.c, tools/wrc/utils.c, tools/wrc/wrc.c, tools/wrc/writeres.c, debugger/display.c, dlls/winaspi/winaspi16.c, dlls/wnaspi32/winaspi32.c: Patrik Stridvall Make it possible to compile with GNU C's -I- option. * loader/dos/dosvm.c: Eric Pouech Work around gcc sig11 fault. * objects/gdiobj.c: Thuy Nguyen Fixed rounding in MulDiv. * graphics/psdrv/Makefile.in, graphics/psdrv/clipping.c, graphics/psdrv/init.c, graphics/psdrv/ps.c, include/psdrv.h: Luc Tourangeau - implementation of SetDeviceClipping - coordinate system origin fix * win32/kernel32.c: Ulrich Weigand Work-around for compiler bug. * dlls/comctl32/treeview.c, include/commctrl.h, include/treeview.h: Alex Priem - Implementation of simple comctl32 v5.0 changes. - TVM_SORTCHILDRENCB also accepts TVI_ROOT as a valid hParent. * dlls/advapi32/security.c: Ian Schmidt Added pointer validation and additional sanity check to IsValidSid(). * controls/uitools.c: Dennis Bj|rklund Small fix in UITOOLS95_DrawRectEdge(). Also a fix to draw scrollbar-buttons more like in win9x. * windows/painting.c: Eric Pouech In WIN_UpdateNCRgn, do not send in WM_NCPAINT a region that is used afterwards, but a copy of it. * objects/region.c: Eric Pouech Check better that handles are actual handles to a region. * windows/dce.c: Lawson Whitney Stop DCE_GetVisRect dereferencing a null wndPtr. * configure.in, documentation/.cvsignore, documentation/Makefile.in, documentation/wine.conf.man.in, documentation/wine.man.in, Make.rules.in, README, configure: James Juran Andreas Mohr Updated README and man page. Split documentation for wine.conf into new wine.conf(5) manpage. * include/ole2.h, include/winerror.h, ole/Makefile.in, ole/clipboard.c, ole/ole2.c, ole/ole2stubs.c, ole/olecli.c: Noel Borthwick Implemented the OLE Clipboard API. * windows/winpos.c: Abey George Validate the parent with the child window client rectangle when the parent's update region is not empty. * include/win.h, windows/painting.c: Francis Beaudet Delay WM_NCPAINT message until the "painter's algorithm" kicks in. * controls/combo.c: Francis Beaudet Fixed fake WM_LBUTTONUP message. * include/winversion.h, misc/version.c: Ian Schmidt Added version information for Win98. * include/commctrl.h: Alex Priem Macro definitions used SNDMSG instead of SendMessage[AW]. Bad. * misc/main.c: Eric Pouech debug_(snoop|relay)_(exclude|include)list => fixed allocation, modules are now stored uppercase. * controls/button.c: Francis Beaudet Implemented the BS_ICON style. * windows/dialog.c: Ove Kaaven CreateDialogParamA should not call CreateDialogParamW, because that'd create a dialog box with a Unicode dialog procedure... * controls/scroll.c: Dennis Bj|rklund Win9x look & feel on scrollbars. * graphics/psdrv/README, graphics/psdrv/init.c, include/psdrv.h: Thuy Nguyen Introduced a [psdrv] section in wine.conf with a ppdfile value specifying the path and name of the PPD file. * dlls/comctl32/updown.c, include/updown.h: Sylvain St-Germain Implementation of the updown buddy windproc subclassing for the handling of keyboard up and down arrow. * DEVELOPERS-HINTS: Jim Aston Updated documentation to reflect renamed header. * misc/winsock.c: Ove Kaaven Added missing include netinet/tcp.h, for TCP_NODELAY. * dlls/comctl32/imagelist.c: Luc Tourangeau GetIcon bug fix. Thu Jul 15 16:09:05 1999 Alexandre Julliard * include/module.h, loader/ne/module.c: Uwe Bonnes Add WINAPI for EntryAddrProc. * misc/ddeml.c: Keith Matthews Minor bug fixes in DdeNameService, also changes to move towards process-safe code. * controls/button.c: Dennis Bj|rklund Win9x look & feel on buttons and a fix for ownerdrawn buttons (background set to COLOR_BTNFACE). * if1632/kernel.spec: Ulrich Weigand GlobalSmartPageUnlock() stub added. * miscemu/Attic/emulate.c, miscemu/Makefile.in, miscemu/main.c, relay32/Makefile.in, tools/build.c, Make.rules.in, Makefile.in, configure, configure.in, dlls/Makefile.in, dlls/win87em/.cvsignore, dlls/win87em/Makefile.in, dlls/win87em/emulate.c, graphics/win16drv/Makefile.in, if1632/Makefile.in, memory/instr.c: Ulrich Weigand Use position-independent code in assembly glue when building .so. Include if1632/ and graphics/win16drv/ into WineLib. Move miscemu/emulate.c into dlls/win87em/. * include/multimedia.h: Eric Pouech Changed way of allocation open mci drivers (array => list); this list is now stored on a per process basis. * multimedia/mcianim.c, multimedia/mciavi.c, multimedia/mcicda.c: Eric Pouech Removed fixed size array to store specific data (now using mci(Set|Get)DriverData to store specific data). Make use of default debugtools.h channel. Added CALLBACK attribute to DriverProc. * multimedia/mci.c: Eric Pouech Changed way of allocation open mci drivers (array => list). First valid ID for mci devices is now 1 (some progs were testing this value). Started implementing mci command table resources. Handled closing on MCI_ALL. * multimedia/mcimidi.c: Eric Pouech Removed fixed size array to store specific data (now using mci(Set|Get)DriverData to store specific data). Deferred opening of low-level device until play is requested. * multimedia/Attic/mcistring.c: Eric Pouech Fixed return value for 'open' command. Changed way of allocation open mci drivers (array => list). * multimedia/mciwave.c: Eric Pouech Removed fixed size array to store specific data (now using mci(Set|Get)DriverData to store specific data). Fixed mmio chunk lookup on odd size 'fmt ' chunks. * multimedia/midi.c: Eric Pouech Uniformized use of fd to midi device. Now allocating memory on system heap. Fixed bug when stopping all notes. * multimedia/mmsystem.c: Eric Pouech Cosmetic fixes. Changed way of allocation open mci drivers (array => list). Started implementing mci command table resources. * multimedia/time.c: Eric Pouech No longer calling mm timers callbacks with mm timer crit sect locked. * misc/registry.c: Marcus Meissner ERROR_MORE_DATA requires to write the needed number of bytes into the lpcchX value (verified against NT3.51 advapi32.dll). * include/winnt.h, win32/device.c: Ulrich Weigand Fixed some CONTEXT86 vs. CONTEXT mismatches. * include/neexe.h, loader/ne/segment.c: Ulrich Weigand Added support for 32-bit NE code segments. * dlls/comctl32/treeview.c: Alex Priem Fix a hang when we process WM_STYLECHANGED. Small optimization in TREEVIEW_DrawItem. Fix debugging crash in TREEVIEW_Expand. Mon Jul 12 13:46:38 1999 Alexandre Julliard * dlls/shell32/pidl.h: Marcus Meissner Added missing prototype for ILFindChild(). * dlls/advapi32/security.c, loader/dos/dosmod.c, misc/network.c: Eric Pouech Compiler warnings fix. * misc/comm.c: Eric Pouech Dumb fixes. * if1632/kernel.spec, loader/task.c: Ulrich Weigand Fixed bugs introduced by 'register' and 'return' function changes. * graphics/ddraw.c: Marcus Meissner Fixed DirectDrawSurface::Flip, do not change flags, exchange the low level physical surfaces (verified for XLIB with WC Prophecy). Sun Jul 11 17:20:06 1999 Alexandre Julliard * windows/keyboard.c, windows/user.c, windows/win.c, misc/system.c, misc/toolhelp.c, misc/w32sys.c, tools/build-spec.txt, tools/build.c, win32/kernel32.c, memory/global.c, memory/local.c, include/builtin16.h, loader/ne/module.c, loader/task.c, if1632/kernel.spec, if1632/keyboard.spec, if1632/system.spec, if1632/thunk.c, if1632/toolhelp.spec, if1632/user.spec, if1632/w32sys.spec, if1632/dummy.c: Take advantage of the new registers saved in the STACK16FRAME to turn some 'register' functions into normal functions. Removed the few remaining 'return' functions to simplify relay handling. * ipc/Attic/hash_test.c, ipc/Attic/run_tests, ipc/Attic/shm_block.c, ipc/Attic/shm_fragment.c, ipc/Attic/shm_fragment_test.c, ipc/Attic/shm_main_blk.c, ipc/Attic/shm_semaph.c, ipc/Attic/shm_semaph_test.c, ipc/Attic/wine_test_stub.c, loader/signal.c, loader/task.c, memory/atom.c, memory/global.c, misc/ddeml.c, windows/message.c, windows/win.c, windows/x11drv/event.c, Makefile.in, configure, configure.in, include/Attic/dde_atom.h, include/Attic/dde_mem.h, include/Attic/dde_proc.h, include/Attic/shm_block.h, include/Attic/shm_fragment.h, include/Attic/shm_main_blk.h, include/Attic/shm_semaph.h, include/dde.h, ipc/Attic/.cvsignore, ipc/Attic/Makefile.in, ipc/Attic/README, ipc/Attic/TEST_FRAGMENT.std, ipc/Attic/bit_array.c, ipc/Attic/bit_array_test.c, ipc/Attic/dde.tex, ipc/Attic/dde_atom.c, ipc/Attic/dde_atom_test.c, ipc/Attic/dde_mem.c, ipc/Attic/dde_mem_test.c, ipc/Attic/dde_proc.c, ipc/Attic/dde_proc_test.c, ipc/Attic/generic_hash.c, ipc/Attic/generic_hash.h: Marcus Meissner Removed the old, historical and no longer working IPC support. * if1632/.cvsignore, if1632/Makefile.in, if1632/builtin.c, if1632/relay.c, if1632/snoop.c, if1632/thunk.c, include/builtin16.h, include/callback.h, include/module.h, include/stackframe.h, misc/Attic/callback.c, miscemu/main.c, relay32/.cvsignore, relay32/Makefile.in, scheduler/syslevel.c, tools/build.c, Make.rules.in: Ulrich Weigand Modularized CallFrom/To16 routines. Adapted dependent routines, 16-bit snoop/relay debugging, and make rules. * windows/message.c: Gerard Patel Revert last change in window activation on mouse click. * memory/global.c: Rein Klazes Fixed a case when GlobalSize did not return zero after an error. Sat Jul 10 13:16:56 1999 Alexandre Julliard * server/socket.c: Howard Abrams Renamed static global variable 'iovec' to 'myiovec'. * windows/dinput.c, memory/virtual.c, misc/registry.c, misc/winsock.c, multimedia/joystick.c, scheduler/client.c, scheduler/thread.c, server/console.c, server/file.c, server/pipe.c, server/thread.c, win32/console.c, win32/device.c, win32/file.c, configure, configure.in, debugger/break.c, debugger/msc.c, debugger/source.c, debugger/stabs.c, files/directory.c, files/dos_fs.c, files/file.c, include/config.h.in, include/multimedia.h, include/windef.h, loader/pe_image.c: Howard Abrams Added checks for sys/errno.h, sys/signal.h and sys/mman.h. * windows/dialog.c: Ulrich Weigand Create dialog window using CreateWindowEx16/W depending on template type, not dialog procedure type. * dlls/shell32/shlfolder.c: Francois Boisvert Made IShellFolder::fnParseDisplayName return a relative pidl. * dlls/comctl32/comctl32.h, dlls/comctl32/monthcal.c, dlls/comctl32/rsrc.rc, include/commctrl.h, include/monthcal.h: Alex Priem First try at the month calendar common control. Main features basically OK. * graphics/psdrv/init.c, include/winspool.h, dlls/winspool/info.c: Huw D M Davies Implemented GetPrinterA and GetPrinterDriverA. * controls/button.c: Luc Tourangeau Added BN_CLICKED notification in WM_SETFOCUS. * dlls/shell32/shellpath.c, dlls/shell32/shlfolder.c, dlls/shell32/shlmenu.c, dlls/shell32/shlview.c, dlls/shell32/shres.rc, include/docobj.h: Juergen Schmied Small fixes. * relay32/Attic/shell32.spec, dlls/shell32/shellord.c: Juergen Schmied Implemented StrToOleStrN. Fixed crash in ShellExecuteEx. Implemented SHRegOpenKeyA, SHRegQueryValueExA, StrToOleStr[A|W]. Stubs for DoEnvironmentSubst[A|W], PathProcessCommand[A|W]. * dlls/shell32/Makefile.in, dlls/shell32/memorystream.c: Juergen Schmied IStream interface for file access. * dlls/shell32/iconcache.c, dlls/shell32/shell32_main.c, dlls/shell32/shell32_main.h: Juergen Schmied Fixed crash during second DLL_PROCESS_DETACH if the dll refcount reached zero after the second one (memory freed twice). * dlls/shell32/pidl.c, dlls/shell32/pidl.h: Juergen Schmied Some more pidl-types. Implementation of ILIsParent. * dlls/shell32/shelllink.c: Juergen Schmied Completely rewritten. IPersistStream interface implemented. * dlls/shell32/shellole.c: Juergen Schmied DLLGetClassObject/Classfactory: create objects by CLSID not IID. * misc/main.c: Ulrich Weigand Bugfix: exit() replaced by ExitProcess(). * memory/local.c: Ulrich Weigand Bugfix: correctly cope with end > 0xfffe. * library/winestub.c: Ulrich Weigand Call ExitProcess() after WinMain() returns. * loader/ne/module.c: Ulrich Weigand Improved behaviour of GetModuleHandle16 w.r.t dummy modules. Don't try to call WEP of dummy modules in FreeLibrary16(). * include/winreg.h, misc/registry.c: Huw D M Davies Added `const's to some registry API functions. * winedefault.reg: Ove Kaaven Added a couple of DirectX CLSID entries. This makes Unreal completely independent of a windows installation. * ole/ole2nls.c: Dave Pickles GetTimeFormat() should return LocalTime not SystemTime. * programs/wcmd/ChangeLog, programs/wcmd/README, programs/wcmd/batch.c, programs/wcmd/builtins.c, programs/wcmd/directory.c, programs/wcmd/wcmd.h, programs/wcmd/wcmdmain.c, programs/wcmd/wcmdrc.rc: Dave Pickles FOR and IF commands added. MOVE command added, but no wildcard support. Redirection added. Fixed TIME (was reporting in GMT). More help text. * dlls/comctl32/tab.c: Abey George Sometimes the text on a tab control got truncated. * controls/combo.c: Abey George Fixed the height of the dropped list when there are few items in the list. * include/message.h, include/ttydrv.h, include/x11drv.h, scheduler/synchro.c, windows/event.c, windows/ttydrv/event.c, windows/winpos.c, windows/x11drv/event.c, windows/x11drv/keyboard.c, windows/x11drv/monitor.c, windows/x11drv/wnd.c: Ulrich Weigand Removed all EVENT_Synchronize( FALSE ) calls; use a periodic callback calling XFlush() instead. * include/psdrv.h, graphics/psdrv/Makefile.in, graphics/psdrv/bitblt.c, graphics/psdrv/bitmap.c, graphics/psdrv/brush.c, graphics/psdrv/init.c, graphics/psdrv/ps.c: Huw D M Davies Added patterned brushes (level 2 PostScript only). Simple PatBlt for PATCOPY, WHITENESS and BLACKNESS. * dlls/comctl32/treeview.c: Alex Priem Implementation of TVM_SORTCHILDREN. Massaged TVM_SORTCHILDRENCB a bit to use the same code path. * loader/task.c: Ulrich Weigand Fix InitTask() to work if DGROUP was manually resized. * dlls/advapi32/security.c, relay32/Attic/advapi32.spec: Ian Schmidt Added stub for SetThreadToken(), required by Office 2000. * include/commdlg.h: Ulrich Weigand Bugfix: COMMDLG hook procedures were not CALLBACK. * ole/stg_stream.c: Thuy Nguyen It is possible for a stream to have both small block and big block chain as NULL. * loader/ne/module.c: Marcus Meissner Made string compare case insensitive in GetModuleHandle16() as a quick fix for WinWord 6. * misc/network.c, relay32/mpr.spec: Juergen Schmied Added stub for WNetGetUniversalName[A|W]. * graphics/x11drv/palette.c: Juergen Schmied Fixed crash due to invalid GDI_Obj. * objects/metafile.c: Juergen Schmied Fixed crash due to invalid pointer. ---------------------------------------------------------------- Sun Jul 4 16:09:20 1999 Alexandre Julliard * windows/*.c, ole/*.c, files/*.c, multimedia/*.c: Converted to the new debug interface, using script written by Patrik Stridvall. * include/windef.h, include/winreg.h, tools/make_X11wrappers, tsx11/ts_xf86vmode.c, Makefile.in, graphics/ddraw.c, include/basetsd.h, include/ntdef.h, include/ts_xf86vmode.h, include/winbase.h: Patrik Stridvall Started on an implementation of Win64 for use on 64 bit platforms. * windows/nonclient.c: Noomen Hamza Windows should be activated in these cases: 1- when we click on non active window. 2- when we cancel a moving or resizing of a non active window. * documentation/distributors: Marcus Meissner Added sample wine.conf. * graphics/ddraw.c, include/keyboard.h, include/ttydrv.h, include/x11drv.h, objects/dc.c, objects/gdiobj.c, windows/dinput.c, windows/ttydrv/init.c, windows/ttydrv/keyboard.c, windows/x11drv/init.c, windows/x11drv/keyboard.c: Patrik Stridvall Moved code to the X11 driver. * include/winuser.h, loader/resource.c, relay32/user32.spec: Joshua Thielen Fixed DestroyAcceleratorTable and implemented CreateAcceleratorTableW. * windows/win.c: Uwe Bonnes WIN_FindWindow: use GetExeptr(pWnd->hInstance) for CLASS_FindClassByAtom. * controls/scroll.c: Ove Kaaven Fixed check for whether to call SetWindowPos when showing a window scroll bar. * ole/typelib.c: Marcus Meissner Check for complete lcid or just the primary language id in the registry lookups (fixes one FirstClassClient 32 problem). * windows/message.c: Per Ångström Fixed a problem with apps that override the default behaviour on WM_MOUSEACTIVATE message (main window was not activated). * loader/pe_resource.c: Marcus Meissner When enumerating resource, only use the lower 31 bit of the name as the offset (for the highest bit is '1'). Should fix wine-net/257. * relay32/ntdll.spec, tools/wrc/writeres.c, dlls/ntdll/rtl.c, misc/wsprintf.c, multimedia/mcimidi.c: Patrik Stridvall Fixes for compile on non-Intel platforms. * dlls/advapi32/eventlog.c, dlls/advapi32/security.c, dlls/advapi32/service.c, include/ntddk.h, include/ntsecapi.h, include/winbase.h, include/windef.h, include/winnt.h, include/winreg.h, include/winsvc.h, include/wtypes.h: Patrik Stridvall Fixed/moved/added missing/wrong function prototypes. * dlls/commdlg/cdlg_Da.rc, documentation/status/internationalisation, programs/progman/Da.rc, resources/sysres_Da.rc: Henrik Olsen Cleanup of the Danish support. * windows/winpos.c: Yuxi Zhang Fix a bug in SetWindowPos to prevent parent from erasing its child painting area when parent window and child window don't have WS_CLIPCHILDREN and WS_CLIPSIBLINGS. * windows/defwnd.c: Yuxi Zhang Make defwndproc erase the correct location. Sat Jul 3 16:01:44 1999 Alexandre Julliard * relay32/crtdll.spec, windows/dinput.c, dlls/comctl32/propsheet.c, dlls/comctl32/trackbar.c, dlls/version/resource.c, if1632/relay.c, include/win.h, loader/elf.c, loader/pe_image.c, misc/crtdll.c, misc/shell.c, multimedia/dsound.c, dlls/advapi32/advapi.c, dlls/advapi32/eventlog.c, dlls/avifil32/avifile.c: Marcus Meissner some small include fixes, some checks for NULL ptrs, loader/elf.c: fixed the "lib" insertion crtdll: added fsopen() dinput: return that we are attached. * controls/button.c: Reverted previous change. * controls/edit.c: Gerard Patel Cancel pending notifications when EM_SETMODIFY is called. * dlls/comctl32/treeview.c: Alex Priem Fix a crash when doing sorted inserts at top level. * windows/nonclient.c: Ove Kaaven Reworked nonclient drawing code. Win31 look now works more like real Win31, so apps like Delphi 1.0 no longer go into infinite recursion etc. Fixed a couple of bugs in win95 look too, but not as thoroughly (e.g. WS_EX_WINDOWEDGE is still not handled). * windows/sysmetrics.c: Ove Kaaven SM_C[XY]FRAME is BorderWidth + 1. * memory/local.c: Ulrich Weigand Bugfix: LocalInit with start == 0 always places heap at end of segment. * loader/task.c: Ulrich Weigand Bugfix: TASK_CallToStart didn't pass correct hInstance to app. * loader/dos/module.c, loader/ne/module.c, loader/pe_image.c, loader/task.c, miscemu/main.c, scheduler/process.c, include/module.h, include/process.h, include/task.h, loader/main.c: Ulrich Weigand On NE process creation, move major part of NE EXE module loading and NE instance creation into the child process. * documentation/gui: Ove Kaaven Window style updates. * libtest/guitest.c: Ove Kaaven Some enhancements, and removal of C++ constructs. * graphics/d3ddevices.c, graphics/ddraw.c, graphics/ddraw_private.h: Marcus Meissner Implemented chains of surfaces. This allows an unlimited number of backbuffers, and other attached surfaces (zbuffers, alpha buffers, whatever). * files/file.c, relay32/kernel32.spec: Andreas Mohr Added UnlockFileEx stub. * documentation/status/internationalisation, resources/sysres_Ca.rc, resources/sysres_Es.rc: Jose Marcos Lopez Caravaca Added missing 61762 entry on system resources in Spanish and Catalonian languages. * controls/scroll.c: Gerard Patel Make GetScrollInfo return scroll pos when program requests thumb pos outside drag operation. Sun Jun 27 15:40:44 1999 Alexandre Julliard * graphics/d3d_private.h: Eric Pouech Converted to the new debug interface. * win32/console.c: Marcus Meissner ReadConsoleA: use ir as pointer to (req+1). * windows/painting.c: Gerard Patel Remove the validated child area from the update region of parent for windows without WS_CLIPCHILDREN style. * debugger/db_disasm.c: Ulrich Weigand Bugfix: Grp8 instructions have *byte* BitOffset operand. * msdos/vxd.c: Ulrich Weigand Bugfix: missing WINAPIs added. * ole/ole2.c: Marcus Meissner OleMetaFilePictFromIconAndLabel16: slightly broken, use LPOLESTR16. * files/file.c: Gerard Patel Return ERROR_DISK_FULL for WriteFile. * programs/cmdlgtst/cmdlgtst.c: Eric Williams Fixed missing return after about dialog. Sat Jun 26 19:09:11 1999 Alexandre Julliard * msdos/*.c, misc/*.c, miscemu/*.c, graphics/*.c: Converted to the new debug interface, using script written by Patrik Stridvall. * scheduler/thread.c, tools/build.c, win32/device.c, win32/kernel32.c, win32/ordinals.c, windows/win.c, loader/ne/module.c, loader/ne/segment.c, memory/global.c, memory/local.c, memory/selector.c, misc/callback.c, misc/error.c, misc/windebug.c, miscemu/emulate.c, msdos/devices.c, msdos/dpmi.c, msdos/int09.c, msdos/int10.c, msdos/int11.c, msdos/int12.c, msdos/int13.c, msdos/int15.c, msdos/int16.c, msdos/int17.c, msdos/int19.c, msdos/int1a.c, msdos/int20.c, msdos/int21.c, msdos/int25.c, msdos/int26.c, msdos/int29.c, msdos/int2a.c, msdos/int2f.c, msdos/int33.c, msdos/int3d.c, msdos/int41.c, msdos/int4b.c, msdos/int5c.c, msdos/interrupts.c, msdos/vxd.c, msdos/xms.c, dlls/ntdll/exception.c, dlls/ntdll/rtl.c, dlls/winaspi/winaspi16.c, if1632/builtin.c, if1632/relay.c, if1632/snoop.c, if1632/thunk.c, include/callback.h, include/dosexe.h, include/miscemu.h, include/msdos.h, loader/dos/dosvm.c, loader/task.c: Changed CONTEXT into CONTEXT86 everywhere we really want an i386 context. Added #ifdef __i386__ around accesses to 386 registers in the generic CONTEXT structure. * include/winnt.h: Added CONTEXT86 definition. Added PowerPC context as an example (not tested). * relay32/relay386.c, relay32/snoop.c, include/wine/exception.h: Fixes for non-i386 compiling. * */*: Patrik Stridvall ANSI C fixes. Removed warnings. Made the include files self-sufficient. Some Solaris fixes. * relay32/comctl32.spec, dlls/comctl32/comctl32undoc.c, include/commctrl.h: Eric Kohl Fixed DPA_LoadStream and improved DPA_Merge. * dlls/comctl32/treeview.c: Eric Kohl Added check for invalid parent item. * dlls/shell32/shellord.c, relay32/shell32.spec: Eric Kohl Added SHDoDragDrop() stub. * objects/region.c: Eric Kohl Improved GetRandomRegion(). * misc/network.c, relay32/mpr.spec: Eric Kohl Added WNetRemoveCachedPassword() stub. * dlls/comctl32/updown.c: Eric Kohl Store buddy window. * include/tooltips.h, dlls/comctl32/tooltips.c: Eric Kohl Started WM_NOTIFYFORMAT support. * dlls/comctl32/rebar.c: Eric Kohl Better ComboBoxEx placement. * loader/module.c: Dave Pickles Ensure that the command-line passed to the various *CreateProcess functions contains the path to the program being invoked. * windows/x11drv/wnd.c: Lars Heete Prevent bad window X error. * windows/mdi.c, windows/sysmetrics.c: Abey George The system menu icon on a MDI child window was corrupted when the child frame window is maximized within the main frame when the wine look is Windows 95. * controls/scroll.c, windows/defwnd.c: Slava Monich In case if scrollbar has the same background color as the window it belongs to, it needs to be filled with 0x55aa bitmap brush. * misc/registry.c: Marcus Meissner Fixed the stringcompare in _find_or_add_*() (was missing tolower()s). * debugger/memory.c: Juergen Lock Fix (well kludge around) FreeBSD's `Invalid address' errors. * controls/edit.c: Chris Morgan James Abbatiello Draw a 3D border around edit controls when not in WIN31_LOOK. * controls/button.c: Chris Morgan James Abbatiello Only draw a black border around normal buttons when in WIN31_LOOK. * multimedia/mmio.c: Eric Pouech Fixed alignment and position when looking for mmio chunks. * multimedia/mmsystem.c: Eric Pouech No longer using global vars (shared data) for mm timers, but a specific structure for each attached process. Fixed alignment and position when looking for mmio chunks. Fixed WAVE mapper handling in waveGetCaps. * include/multimedia.h, multimedia/time.c: Eric Pouech No longer using global vars (shared data) for mm timers, but a specific structure for each attached process. * documentation/distributors: Marcus Meissner Wrote a small document on how to package WINE for distributors. * windows/nonclient.c: Noomen Hamza SetCursorPos() function was called with a window coordinates parameter. * multimedia/mcistring.c: Eric Pouech Fixed null ptr deref introduced in last patch. * if1632/ole2.spec, ole/ole2.c: Andreas Mohr Kind of implemented OleMetaFilePictFromIconAndLabel. * include/toolbar.h, dlls/comctl32/toolbar.c: Chris Morgan James Abbatiello Fixed various problems related to bitmaps and flat toolbars. * dlls/comctl32/listview.c: Chris Morgan James Abbatiello Fixed problems with disappearing text. * dlls/comctl32/ipaddress.c: Chris Morgan James Abbatiello Complete rewrite of messaging code to implement/fix all input behaviors. Fixed a few fixmes. * programs/wcmd/ChangeLog, programs/wcmd/README, programs/wcmd/batch.c, programs/wcmd/builtins.c, programs/wcmd/wcmd.h, programs/wcmd/wcmdmain.c: Dave Pickles Added more batch functionality, including the CALL GOTO and SHIFT commands plus batch command arguments. * documentation/status/multimedia: Eric Pouech Updated to reflect current status. * loader/ne/module.c: Uwe Bonnes NE_LoadFileModule: Free module when NE_LoadDLLs fails. * graphics/psdrv/ps.c, graphics/psdrv/text.c, include/psdrv.h: Thuy Nguyen Implemented the underline and strikeout text attributes for the Wine PostScript driver. * windows/win.c: Pascal Lessard EnableWindow doesn't release the capture of a child window. * Makefile.in: James Juran Only test $(LIB_TARGET) = libwine.so.1.0 if $(LIB_TARGET) is non-blank. * controls/menu.c: Noomen Hamza Remove the WM_LBUTTONUP message from the queue after selecting a mouse menu item. * server/change.c, server/console.c, server/debugger.c, server/device.c, server/event.c, server/file.c, server/handle.c, server/mapping.c, server/mutex.c, server/object.c, server/object.h, server/pipe.c, server/process.c, server/request.c, server/request.h, server/semaphore.c, server/snapshot.c, server/socket.c, server/thread.c, server/thread.h, server/trace.c, tools/make_requests, win32/console.c, win32/device.c, include/server.h, include/thread.h, loader/dos/module.c, memory/virtual.c, misc/comm.c, misc/toolhelp.c, ole/parsedt.c, scheduler/client.c, scheduler/debugger.c, scheduler/event.c, scheduler/handle.c, scheduler/mutex.c, scheduler/pipe.c, scheduler/process.c, scheduler/semaphore.c, scheduler/synchro.c, scheduler/thread.c, files/change.c, files/dos_fs.c, files/file.c: Further server optimizations: - merged request and reply structures - build requests directly into the buffer to avoid a copy Tue Jun 22 19:14:41 1999 Alexandre Julliard * dlls/shell32/shell32_Ru.rc, graphics/x11drv/xfont.c, ole/nls/rus.nls, resources/sysres_Ru.rc, dlls/commdlg/cdlg_Ru.rc: Alexander Kanavin Standard dialog boxes resources and OLE strings are now in cp1251 encoding Font mapper does not anymore use fonts in -koi8-r encoding Font mapper now recognises fonts in -windows-* encodings (these are provided by xfstt TrueType server) Font mapper now sees max 16384 fonts (was 2048) * relay32/builtin32.c: Ulrich Weigand Share the HMODULE of built-in modules over all processes. Use the cached HMODULE to speed up relay debugging. Display the multi-instantiation warning only for 'dangerous' DLLs. * scheduler/process.c: Ulrich Weigand Load USER32.DLL before calling UserSignalProc. * windows/timer.c: Ulrich Weigand Use separate service for each windows timer. * if1632/compobj.spec, ole/compobj.c: Andreas Mohr Added COMPOBJ.DllEntryPoint (Acrobat3 16bit needs it). * ole/typelib.c, dlls/comctl32/listview.c, dlls/comctl32/treeview.c: Eric Pouech Thou shalt not use C++ comments. * include/driver.h, windows/driver.c: Eric Pouech Moved to new trace interface. Fixed driver closing. * multimedia/mcistring.c: Eric Pouech Better handling of double quotes in MCI string commands. * multimedia/mci.c: Eric Pouech Fixed memory leak in mci structures. * graphics/ddraw.c: Eric Pouech Fixed error handling in DGA_IDirectDraw2Impl_GetCaps(). * graphics/x11drv/clipping.c: Eric Pouech Added missing GDI heap unlock. Moved to new debug interface. * dlls/commdlg/filedlg.c: Eric Pouech Fixed GetOpenFileName when called with both OFN_ALLOWMULTISELECT and OFN_EXPLORER bits set. * dlls/comctl32/imagelist.c: Francois Boisvert Modified ImageList_LoadImageA to check the case where cx is set to zero. * windows/x11drv/keyboard.c: Philippe Froidevaux Added Swiss french keyboard layout. * server/select.c: Dump server objects on SIGHUP. * server/file.c, server/handle.c, server/handle.h, server/main.c, server/mapping.c, server/mutex.c, server/object.c, server/object.h, server/pipe.c, server/process.c, server/request.c, server/request.h, server/semaphore.c, server/snapshot.c, server/socket.c, server/thread.c, server/thread.h, server/trace.c, tools/make_requests, win32/console.c, include/server.h, include/server/Attic/request.h, include/thread.h, memory/virtual.c, misc/comm.c, scheduler/client.c, scheduler/debugger.c, scheduler/event.c, scheduler/mutex.c, scheduler/pipe.c, scheduler/semaphore.c, scheduler/thread.c, server/change.c, server/console.c, server/debugger.c, server/device.c, server/event.c, files/file.c: Made server communication faster by using a shared memory block. A few other optimizations in request processing in the server. Moved automatically generated request definitions to server.h and removed include/server/request.h. * windows/message.c, windows/queue.c, windows/win.c, windows/winproc.c, loader/main.c, loader/ne/segment.c, loader/task.c, miscemu/main.c, msdos/dpmi.c, scheduler/client.c, scheduler/process.c, scheduler/sysdeps.c, scheduler/syslevel.c, scheduler/thread.c, tools/build.c, win32/kernel32.c, debugger/stack.c, dlls/ntdll/exception.c, if1632/relay.c, if1632/thunk.c, include/process.h, include/queue.h, include/stackframe.h, include/task.h, include/thread.h, include/winbase.h, include/winnt.h: Merged THDB and TEB structures. Made SetLastError(), GetCurrentThreadId() and PROCESS_Current() inline. * programs/winhelp/.cvsignore, programs/clock/.cvsignore, programs/progman/.cvsignore: Added Wa.s Sun Jun 20 15:09:32 1999 Alexandre Julliard * memory/instr.c, miscemu/main.c, programs/clock/Wa.rc, programs/progman/Wa.rc, programs/winhelp/Wa.rc: Fixed Winelib compilation. Fri Jun 18 18:29:04 1999 Alexandre Julliard * memory/Makefile.in, memory/instr.c, miscemu/Attic/instr.c, miscemu/Makefile.in: Include instruction emulation in Winelib. * include/wine/exception.h, win32/except.c: A few optimizations. * loader/dos/dosvm.c: Use exceptions instead of ctx_debug_call. * include/winbase.h, relay32/kernel32.spec, scheduler/syslevel.c, windows/x11drv/main.c: Added DebugBreak. * debugger/break.c, debugger/dbg.y, debugger/debug.l, debugger/info.c, debugger/registers.c, include/debugger.h, miscemu/main.c: Debugger is now called by exception handling. Added 'pass' command to pass exceptions to the app. * include/miscemu.h, include/sig_context.h, loader/signal.c, dlls/ntdll/exception.c, graphics/ddraw.c: Moved signal handling to exception.c, generate exceptions on signals. Added hook for debugger in exception handling (temporary). * programs/progman/Makefile.in, programs/progman/Wa.rc, programs/winhelp/Makefile.in, programs/winhelp/Wa.rc, resources/sysres_Wa.rc, ole/nls/wal.nls, programs/clock/Makefile.in, programs/clock/Wa.rc, programs/notepad/Makefile.in, programs/notepad/Wa.rc, dlls/commdlg/cdlg_Wa.rc, dlls/shell32/shell32_Wa.rc: Pablo Saratxaga Walloon language update. * windows/winpos.c, windows/x11drv/event.c, windows/x11drv/wnd.c, include/winpos.h, include/winuser.h: Ulrich Weigand - Do not call XConfigureWindow if SetWindowPos was called due to a received ConfigureNotify event (to avoid recursion). - Use XTranslateCoordinates in EVENT_GetGeometry instead of manually walking the tree. - Set XSizeHint.win_gravity to StaticGravity for managed windows. * misc/version.c: Andreas Mohr Bug fix. * loader/pe_image.c: Ulrich Weigand Fix compiler warning. * documentation/Makefile.in, Makefile.in: Alexander V. Lukyanov Install wine.man from current directory. Remove wine.man on distclean, not on clean. ---------------------------------------------------------------- Sun Jun 13 08:49:47 1999 Alexandre Julliard * dlls/comctl32/listview.c, include/listview.h: Chris Morgan James Abbatiello Implemented LISTVIEW_SortItems() and LISTVIEW_CallBackCompare() * dlls/comctl32/status.c: Chris Morgan James Abbatiello Fixes a problem when using STATUSBAR_SetText() to toggle SBT_OWNERDRAW * dlls/comctl32/treeview.c: Chris Morgan James Abbatiello Adds some undocumented behavior to TREEVIEW_GetItemA(). * loader/module.c: Marcus Meissner Fixed ambigous else/brace problem, moved "name" computation in CreateProcess _before_ outputting it in the FIXME_()s. * objects/region.c: Marcus Meissner Do not reuse a passed CONST RECT * pointer. * windows/x11drv/mouse.c: Ulrich Weigand Bugfix: DISPLAY_SetCursor should not use USER-internals, as it is also used with native USER ... * loader/pe_image.c, scheduler/process.c: Ulrich Weigand Removed broken hack to support shared DLLs (e.g. USER32.DLL) and replaced it by a somewhat less broken hack :-/ * multimedia/mci.c: Marcus Meissner Fixed small memory corruption. Sat Jun 12 18:36:55 1999 Alexandre Julliard * include/*.h: Patrik Stridvall Mad the include files idempotent using a consistent macro naming scheme. * windows/painting.c: Noomen Hamza Avoid painting destroyed windows. * dlls/*.c, if1632/*.c, loader/*.c: Converted to the new debug interface, using script written by Patrik Stridvall. * if1632/builtin.c, loader/ne/module.c, loader/ne/segment.c, memory/atom.c, memory/string.c, objects/text.c, win32/thread.c, windows/property.c, windows/rect.c, windows/sysmetrics.c, dlls/advapi32/advapi.c, dlls/commdlg/filetitle.c, dlls/ntdll/nt.c, dlls/ntdll/sync.c: Patrik Stridvall Added missing/wrong includes. * windows/user.c, windows/x11drv/event.c, controls/icontitle.c, controls/menu.c, controls/widgets.c, debugger/dbg.y, debugger/dbgmain.c, loader/module.c, misc/spy.c, windows/message.c, windows/painting.c, windows/scroll.c: Patrik Stridvall Removed direct references to CLASS internals. * include/process.h, misc/version.c, scheduler/process.c: Andreas Mohr Rearrange winver detection code and cache the winver value we determined in the PDB to speed up. * windows/nonclient.c: Gerard Patel Draws a border around windows with old win31 style (only ws_border) in win95 look. * include/commctrl.h, include/prsht.h, include/wine/obj_dataobject.h, include/wtypes.h: Patrik Stridvall Added CINTERFACE and NONAMELESSUNION support. * include/*.h: Patrik Stridvall Added extern "C" if __cplusplus is defined. * include/combo.h, controls/combo.c, controls/listbox.c: Francis Beaudet Fixed a few behaviors of the combobox that were broken. * debugger/dbg.y, debugger/debug.l, debugger/info.c, include/module.h, include/process.h, loader/module.c, scheduler/process.c: Guy Albertelli Add new "walk" command options to list processes and modref's. * graphics/x11drv/dib.c: Uwe Bonnes X11DRV_DIB_SetImageBits_24/32: Fix the case for bits_per_pixel == 32 and negative lines. * dlls/comctl32/status.c, dlls/comctl32/tab.c, dlls/comctl32/tooltips.c, dlls/comctl32/trackbar.c, dlls/comctl32/updown.c, include/winuser.h, dlls/comctl32/comboex.c, dlls/comctl32/commctrl.c, dlls/comctl32/datetime.c, dlls/comctl32/flatsb.c, dlls/comctl32/header.c, dlls/comctl32/hotkey.c, dlls/comctl32/imagelist.c, dlls/comctl32/ipaddress.c, dlls/comctl32/monthcal.c, dlls/comctl32/nativefont.c, dlls/comctl32/pager.c, dlls/comctl32/progress.c, dlls/comctl32/rebar.c: Patrik Stridvall Changed xxx(VOID) to xxx(void). * multimedia/time.c: Eric Pouech - simplified internal data - thread safe access to internal structures - fixed bug on ONE_SHOT timers - deferred service thread call until really needed (no longer on WINMM or MMSYSTEM attachement) * include/process.h, include/services.h, loader/main.c, scheduler/services.c, scheduler/thread.c: Eric Pouech Made the service thread instanciable in every process. * Make.rules.in, Makefile.in, configure, configure.in: James Juran Use Autoconf to find path to ldconfig. * ole/typelib.c: Francis Beaudet Fixed a problem with the LoadTypeLib method. * misc/Makefile.in, misc/registry.c: Marcus Meissner Use @sysconfdir@ for the default registries in misc/registry.c too. * graphics/ddraw.c: Marcus Meissner Added generic pixel converter for 8->24. * windows/dialog.c: Pavel Roskin DIALOG_ParseTemplate16() supported up to 127 controls. Bigger values were expanded to WORD incorrectly. * loader/dos/dosvm.c, loader/dos/module.c, msdos/dpmi.c: Ove Kaaven Various DPMI fixes and preliminary DPMI raw mode switch handler. * windows/mdi.c: Noomen Hamza Fixed imprecision in the MDI tiling functionality. * objects/metafile.c: Huw D M Davies Open files with more appropriate sharing mode. * objects/enhmetafile.c: Huw D M Davies Small fixes for EnhMetaFile playback. * dlls/comctl32/comctl32undoc.c: Ian Schmidt Fixed an error and an off-by-one bug in DSA_SetItem(). This eliminates some crashes with Win98 native SHELL32. * graphics/ddraw.c: Marcus Meissner Remove DIABLO_HACK (does not work anymore), add 1 FIXME, fix GetCaps() with caps1==NULL. * windows/syscolor.c: Slava Monich dwDataSize needs to be reset before each RegQueryValueEx() call. * multimedia/dsound.c: Ove Kaaven Don't ignore application-requested primary buffer flags. * tools/build.c: Ove Kaaven Clear high word of %esp when returning from CallFrom16. * include/comm.h, misc/comm.c: Ove Kaaven Implementation of EV_RXFLAG. * windows/winpos.c, windows/x11drv/event.c: Ulrich Weigand Better implementation of [GS]etForegroundWindow. Fixed focus handling on inter-thread activation. Adapted FocusIn/Out event handling to per-queue focus. * loader/ne/module.c: Ulrich Weigand Release Win16Lock during PROCESS_Create. * dlls/comctl32/imagelist.c: Luc Tourangeau ImageList_GetIcon bug fix. * win32/time.c: Rein Klazes Corrected a problem in GetTimeZoneInformation() due a change to mktime() in glibc-2.1.1 when daylight saving time is in effect. * debugger/db_disasm.c: Patrik Stridvall Changed K&R C function definition to ANSI C. * graphics/psdrv/bitmap.c, include/psdrv.h: Huw D M Davies PSDRV_StretchDIBits should use logical co-ords. Some versions of ghostscript seem to eat one too many characters of image data. Add a '%' to the output file to work around this. * relay32/wnaspi32.spec: Andreas Mohr Fixed WNASPI32 ordinals. * include/winbase.h: Andreas Mohr Added the function definitions of GetStartupInfo*(). * documentation/status/dde, misc/ddeml.c: Keith Matthews 1st cut implementation of DdeNameService (omits monitor callback) 1st cut implementation of DdeKeepStringHandle (probably complete) DdeInitializeW - minor changes to initialise service names structure DdeGetLastError - start of proper last error retrieval DdeCreateStringHandle16 - added code for default codepage where not supplied. Various documentary/comment corrections. Fri Jun 11 18:33:46 1999 Alexandre Julliard * include/process.h, memory/environ.c, scheduler/process.c: Use the normal environment routines to build the env db of the initial process. * include/server.h, server/console.c, server/object.h, server/process.c, server/process.h, server/trace.c, tools/make_requests, win32/console.c: Return console handles in alloc_console request. Fixed read_console_input parameters to conform to the reply structure declaration. Mon Jun 7 17:46:39 1999 Alexandre Julliard * objects/bitmap.c: Eric Pouech Fixed CreateCompatibleBitmap when called with 0 width or height. * multimedia/mmio.c: Eric Pouech Fixed mmioDescend when called with a parent chunk. * loader/signal.c: Marcus Meissner Trying to fix sigaltstack() problem reported by Debian users. SIGTRAP might be undefined (beos). * ole/typelib.c: Marcus Meissner Fixed TLB_Read (can easily get count!=bytesread at the end of the file). Fixed TLB_FindTlb (strstr on binary data will not work). * dlls/comctl32/treeview.c: Marcus Meissner Fixed >> and * operator precedence problem. * windows/x11drv/mouse.c: Eric Pouech Fixed order for entering critical sections (X11 vs. WndLock) when calling X11DRV_MOUSE_SetCursor. * loader/module.c: Ulrich Weigand Consult ne.operating_system field for NE files in GetBinaryType(). * server/process.c: Fixed initial process refcount. Sun Jun 6 17:28:21 1999 Alexandre Julliard * documentation/status/directplay, loader/dos/Makefile.in, documentation/Makefile.in, documentation/cdrom-labels: Forced commit to get rid of the vendor branch * programs/cmdlgtst/.cvsignore: Added cmdlgr.h * programs/regapi/regapi.c: Avoid use of strncmpi (reported by Ron Cemer). * include/wine/winestring.h, multimedia/joystick.c, include/winbase.h, include/winuser.h: Moved inclusion of winestring.h to winebase.h. Added Winelib macros for lstrncmp functions. * controls/scroll.c: Ron Cemer Fixes for several bugs in which portions of the scrollbar were not being redrawn correctly, the focus rectangle was not being correctly removed from the thumb before redrawing, etc.; added complete Win9x and WinNT look and feel support. * windows/sysmetrics.c: Ron Cemer Fixes for Win9x and WinNT look and feel. * files/dos_fs.c: Chris Morgan James Abbatiello Fixed response of GetFullPathNameA when buffer==NULL. * files/file.c: Uwe Bonnes CreateFileA/FILE_DoOpenFile: add verbose reporting of arguments. * configure.in, programs/Makefile.in, programs/wcmd/.cvsignore, programs/wcmd/ChangeLog, programs/wcmd/Makefile.in, programs/wcmd/README, programs/wcmd/batch.c, programs/wcmd/builtins.c, programs/wcmd/directory.c, programs/wcmd/makefile.bcc, programs/wcmd/wcmd.h, programs/wcmd/wcmdmain.c, programs/wcmd/wcmdrc.rc, configure: Dave Pickles Added Wine command-line interpreter. * if1632/thunk.c, include/callback.h, misc/callback.c: Ulrich Weigand Removed Callback.CallTaskRescheduleProc(). * include/main.h, miscemu/main.c, tools/build.c: Ulrich Weigand Switch stacks in CALL32_Init(). * loader/task.c, scheduler/process.c, include/process.h, include/task.h: Ulrich Weigand 16-bit scheduler reorganized: run all tasks in their own thread. Process creation sequence adapted to new scheduler. * include/services.h, loader/main.c, scheduler/services.c: Ulrich Weigand Removed SERVICE_Exit(). * windows/queue.c: Ulrich Weigand Release WND lock before calling PostEvent16(). * include/wnaspi32.h: Uwe Bonnes Add some defines. * dlls/wnaspi32/winaspi32.c: Uwe Bonnes ASPI_ExecScsiCmd: better return value and verbose error when no device found. * loader/module.c: Guy Albertelli Use SearchPath to test for existance of programs in lpCmdLine processing. For lpApplName do not append ".exe" and use DOSFS_GetFullName to locate the program. Move module find process after flag testing and provide quick exit if not found. * windows/dialog.c: Slava Monich Implemented dialog units -> pixels conversion very close to how it's actually done by Windows. Sat Jun 5 15:23:20 1999 Alexandre Julliard * dlls/commdlg/colordlg.c, dlls/commdlg/filedlg.c, dlls/commdlg/fontdlg.c, include/commdlg.h, include/initguid.h, include/objbase.h, include/ole2.h, include/windef.h, include/wine/obj_dataobject.h, include/wine/obj_inplace.h, include/wine/obj_moniker.h, include/wine/obj_oleaut.h, include/wine/obj_oleobj.h, include/winerror.h, include/wingdi.h, include/winuser.h, include/wtypes.h, ole/bindctx.c, ole/moniker.c: Paul Quinn Some non-threatening fixes to some headers, as well as some casting changes that make winelib more win32 code compatible. * files/drive.c, include/winbase.h, relay32/kernel32.spec: Stub for SetVolumeLabel(). * windows/message.c: Uwe Bonnes Add back lost treatment of HWND_TOPMOST. * windows/x11drv/event.c: Ulrich Weigand Try to improve ConfigureNotify event processing. * objects/pen.c: Joshua Thielen Allow pens with styles greater than PS_INSIDEFRAME to be created with ExtCreatePen. * relay32/oleaut32.spec, include/debugdefs.h, include/wine/obj_oleaut.h, ole/typelib.c, ole/typelib.h: Rein Klazes Read/load type libraries. Implementation of ITypeLib, ITYpeInfo, ITypeLib2 and ITypeInfo2 methods. * ole/ole2disp.c: Rein Klazes Allow NULL as argument to SysFreeString in accordance with SDK. * DEVELOPERS-HINTS: Klaas van Gend - more up-to-date description of source tree - better example of required comments for an API implementation - replacement of WINE_PACKED by "pshpack1.h", etc. - naming conventions for non-api calls and types - location conventions for non-api header files and prototypes * relay32/mpr.spec, include/winnetwk.h, include/wnet.h, misc/network.c: Robert W Hall Added 2 stubs. * if1632/thunk.c: Ulrich Weigand Fixed behaviour of Alloc..ThunkletCallback[Ex] for NULL target. * windows/x11drv/event.c, windows/x11drv/wnd.c: Ulrich Weigand Fixed potential memory corruption in EVENT_QueryZOrder. Fixed potential X synchronization problem in X11DRV_WND_SetHostAttr. * files/directory.c: Guy Albertelli Correct search order in SearchPath for Win 3.1/95/98. Still broken for NT. * windows/win.c: Slava Monich o check for both CW_USEDEFAULT and CW_USEDEFAULT16. o if x is CW_USEDEFAULT (or CW_USEDEFAULT16) and y is *not* CW_USEDEFAULT (or CW_USEDEFAULT16) then use y as a second parameter to ShowWindow(). Some apps (CALC.EXE for Win98 is one of them) use this undocumented feature to create hidden window with WS_VISIBLE style set. * relay32/comctl32.spec, dlls/comctl32/comctl32undoc.c: Ian Schmidt Added partial implementation for DPA_LoadStream and stub for DPA_SaveStream. Thanks to Eric Kohl (ekohl@abo.rhein-zeitung.de) for the partial implementation and parameter information. * debugger/stabs.c: Pavel Roskin Make it possible to link Wine statically (at least on RedHat 6.0). * controls/menu.c: Eric Pouech When looking into sys menu, check if items are present before dereferencing. * documentation/Attic/wine.man: Marcus Meissner Autoconfigure the directories in the manpage. * include/message.h, include/ttydrv.h, include/x11drv.h, windows/event.c, windows/ttydrv/event.c, windows/ttydrv/init.c, windows/winpos.c, windows/x11drv/event.c, windows/x11drv/init.c: Ulrich Weigand Removed DummyMotionNotify EVENT driver routine. * configure, configure.in, documentation/.cvsignore, documentation/Makefile.in, documentation/wine.man.in: Marcus Meissner Autoconfigure the directories in the manpage. * files/file.c, include/winbase.h, relay32/kernel32.spec: James Juran Add stub for LockFileEx (KERNEL32.513). * documentation/status/internationalisation: Klaas van Gend Current status of Wine on internationalisation. * controls/button.c: Rein Klazes Do not process WM_LBUTTONUP message in ButtonWndProc() when the mouse is not captured. * graphics/psdrv/init.c, objects/dc.c: Noel Borthwick From CreateCompatibleDC, pass the device name associated with the source DC in order to allow PSDRV_CreateDC to locate the printer info for the device. * multimedia/mcistring.c: Eric Pouech Added some digital video interface Fixed a few bugs (device names are no longer converted to upper case, added call back window, all structures moved to 32 bit...). * if1632/thunk.c: Eric Pouech Workaroung gcc 2.7.2.x sig 11 issue. * include/multimedia.h, multimedia/mci.c, multimedia/mmsystem.c: Eric Pouech Added (still incomplete) handling of MCI_BREAK command. * documentation/no-windows: James Juran Updated documentation/no-windows. * graphics/ddraw.c: Marcus Meissner Speedup enhancement for the 8->16 and 8->32 copy loop hotspots, using a faster generic routine and some inline assembly for i386 (cleanups by Ove). Fri Jun 4 19:49:54 1999 Alexandre Julliard * server/handle.c, server/handle.h, server/process.c, server/process.h, server/thread.c: Made handle table a separate object. Global handle table is no longer bound to a process. Removed special handling of the initial process. * server/main.c, server/object.c, server/object.h: Added optional debugging code in object management. Sat May 29 14:27:27 1999 Alexandre Julliard * scheduler/client.c, scheduler/process.c, scheduler/sysdeps.c, scheduler/syslevel.c, scheduler/thread.c, windows/queue.c, windows/winproc.c, include/thread.h, loader/task.c: Got rid of THREAD_InitDone. Made THREAD_Current() inline. Moved server tid into TEB. * windows/dialog.c: Luc Tourangeau Reimplemented the CheckRadioButton function. * dlls/comctl32/tab.c: Chris Morgan James Abbatiello Fixed incorrect lookup of background color. * dlls/comctl32/commctrl.c, dlls/comctl32/status.c: Chris Morgan James Abbatiello Fixed problems when using multiple style flags together. * dlls/comctl32/tooltips.c: Chris Morgan James Abbatiello Fixed a problem when using string resources as tooltext. * windows/win.c: Francis Beaudet Fixed a behavior of the focus when a parent window is disabled. * graphics/x11drv/graphics.c: Joshua Thielen Fixed a bug which causes the PolyBezier to not be updated on redraw (when you want them to be). * windows/input.c: Gerard Patel Remove unnecessary warning in TranslateAccelator. * server/handle.c: Fixed duplicate_handle to work with pseudo-handles (reported by Marcus Meissner). * dlls/commdlg/cdlg_xx.rc, dlls/ver/ver16.c, dlls/version/info.c, dlls/version/install.c, dlls/version/resource.c, include/ver.h, include/winver.h, tools/wrc/wrctypes.h: Paul Quinn ver.h is a legacy header. winver.h should be used instead. * dlls/tapi32/phone.c, misc/crtdll.c: Marcus Meissner Fixed some warnings. * include/commctrl.h, include/listview.h, dlls/comctl32/listview.c: Luc Tourangeau - Reimplemented the scrolling using SetScrollInfo and GetScrollInfo. - Implemented LVM_FINDITEM message. - Added some new window styles. - Fixed some bugs and extended a number of existing functions. - Modified selection functions to support area selection (for group selection in LVS_ICON and LVS_SMALLICON). * misc/comm.c: Ove Kaaven Fixed a couple of missing event notifications. Some more debugging messages. * windows/x11drv/keyboard.c: Rikhardur Egilsson Icelandic keyboard support. * graphics/ddraw_private.h, graphics/ddraw.c: Lionel Ulmer - better debug output for surface creation - added (experimental) DIBSection implementation of GetDC / ReleaseDC * graphics/d3ddevices.c: Lionel Ulmer Corrected warning. * controls/menu.c: Pascal Lessard Support TPM_RETURNCMD in TrackPopupMenu. * win32/console.c: Marcus Meissner Fix key (somehow we get a control keystate). * loader/dos/module.c: Gerald Pfeifer Fixed compilation erros on non-Linux systems. * include/debugtools.h: Eric Pouech Added missing TRACE define when NO_DEBUG_MSGS was defined. * dlls/shell32/shellord.c: Ian Schmidt Added missing WINAPI for SHValidateUNC. * documentation/languages: Klaas van Gend Adapted to the new dll resource handling by Bertho Stultiens. Mon May 24 15:02:18 1999 Alexandre Julliard * misc/shell.c: Release the Win16Lock before calling WinExec. * scheduler/thread.c, include/process.h, loader/ne/module.c, loader/task.c: Removed process argument to PROCESS_CallUserSignalProc. * scheduler/process.c: Moved remaining initialisations to the new process context. Shuffled things around a bit in PROCESS_Start to avoid deadlocks. Changed PROCESS_CallUserSignalProc to avoid accessing another process address space. * include/server.h, server/process.c, server/trace.c, tools/make_requests: Added support for dumping variable-size data of server replies. Added cmd_line and cmd_show in new_process request. * if1632/mmsystem.spec: Eric Pouech fixed builtin mmsystem.dll init sequence * multimedia/Attic/init.c, multimedia/Makefile.in: Eric Pouech removed obsoleted init.c source file * include/multimedia.h: Eric Pouech removed unnecessary MCI drivers entry point added undocumented mmsystem functions * multimedia/time.c: Eric Pouech moved to new trace interface now calling time init function from mmsystem and/or winmm entry point * multimedia/mmsystem.c: Eric Pouech included DLL init sequence (from obsoleted init.c) fixed builtin mmsystem.dll init sequence fixed PlaySound when used with an asynchronous audio driver fixed midiStream functions for Stop/Pause/Restart functions fixed error handling in waveOutOpen with QUERY_FORMAT flag * multimedia/midi.c: Eric Pouech included midi init sequence (from obsoleted init.c) moved to new trace interface simplified code with using new configuration constant (HAVE_OSS_MIDI) fixed erroneous warnings * multimedia/mci.c: Eric Pouech included mci init sequence (from obsoleted init.c) moved to new trace interface * multimedia/audio.c: Eric Pouech output: better internal thread interface (orthogonalization of states and events) output: removed use of DSP_IOCTL_GETOSPACE output: fixed latency in reset messages handling output: replaced some polling mechanisms with blocking ones output: fixed get/set volume functions * multimedia/mciwave.c: Eric Pouech moved to the new debug interface fixed bugs in pause/play/stop functions fixed signature of driver entry point * multimedia/mcimidi.c: Eric Pouech moved to the new debug interface fixed bugs in pause/play functions fixed signature of driver entry point * multimedia/mixer.c: Eric Pouech Updated traces. * windows/driver.c: Eric Pouech Remove extraneous winuser16.h. * graphics/x11drv/dib.c: Eric Pouech Changed printf into TRACE. * debugger/expr.c: Eric Pouech Fixed a few typos. * debugger/stack.c: Eric Pouech Check when backtracking the stack if frames are correct (readable). * windows/event.c, include/message.h, include/winsock.h, loader/main.c, loader/task.c, misc/winsock.c: Ulrich Weigand Moved WINSOCK network IO event handling to special thread. Removed EVENT_WaitNetEvent, introduced a global scheduler event. * miscemu/main.c, scheduler/process.c: Ulrich Weigand Wait until child initialized before returning from PROCESS_Create. * relay32/kernel32.spec, win32/kernel32.c: Ulrich Weigand Use register functions with arguments for LogApiThk... * dlls/comctl32/listview.c: Chris Morgan James Abbatiello Cleaned up LISTVIEW_KeyDown by using LISTVIEW_GetNextItem. Removed unused variable in LISTVIEW_GetNextItem. Sun May 23 20:02:05 1999 Alexandre Julliard * include/dosexe.h, include/module.h, include/pe_image.h, include/process.h, include/thread.h, loader/dos/module.c, loader/module.c, loader/ne/module.c, loader/pe_image.c, relay32/kernel32.spec, scheduler/process.c, scheduler/thread.c, win32/except.c, dlls/ntdll/exception.c: Use the new debug functions to send debug events at appropriate places. Pass the process creation flags to PROCESS_Create. * scheduler/Makefile.in, scheduler/client.c, scheduler/debugger.c, win32/newfns.c, win32/process.c, include/winbase.h, misc/lstr.c: Implemented the Win32 debug API functions. * include/server.h, include/server/request.h, server/Makefile.in, server/debugger.c, server/object.h, server/process.c, server/thread.c, server/thread.h, server/trace.c: Added debug events support. ---------------------------------------------------------------- Sun May 23 10:25:26 1999 Alexandre Julliard * memory/global.c, memory/heap.c, memory/ldt.c, memory/selector.c, memory/string.c, memory/virtual.c, objects/brush.c, objects/color.c, objects/dc.c, objects/dib.c, objects/enhmetafile.c, objects/gdiobj.c, objects/metafile.c, objects/palette.c, objects/pen.c, objects/region.c, objects/text.c, scheduler/handle.c, scheduler/services.c, scheduler/synchro.c, scheduler/sysdeps.c, scheduler/syslevel.c, scheduler/thread.c, win32/code_page.c, win32/console.c, win32/error.c, win32/file.c, win32/init.c, win32/process.c, win32/struct32.c, win32/thread.c, win32/time.c, dlls/ntdll/file.c, dlls/ntdll/nt.c, dlls/ntdll/om.c, dlls/ntdll/reg.c, dlls/ntdll/rtl.c, dlls/ntdll/rtlstr.c, dlls/ntdll/sec.c, dlls/ntdll/sync.c, dlls/ntdll/time.c, memory/atom.c: Converted to the new debug interface, using script written by Patrik Stridvall. * scheduler/process.c: Ulrich Weigand Bugfix: dwFlags must describe target process in UserSignalProc. * dlls/shell32/shellord.c: Ian Schmidt Added missing WINAPI to SHELL32_654 stub. Fixes crash in Win98 Explorer. * dlls/comctl32/listview.c: Chris Morgan James Abbatiello LISTVIEW_KeyDown: Invalidate the listview window only when the selected item changes. * if1632/kernel.spec, misc/wsprintf.c, relay32/kernel32.spec, win32/kernel32.c: Ulrich Weigand Added _DebugOutput (KERNEL.328), LogApiThk (KERNEL.423), LogApiThkLSF (KERNEL32.42), LogApiThkSL (KERNEL32.44), LogCBThkSL (KERNEL32.47), and SSConfirmSmallStack (KERNEL.704). * if1632/display.spec, windows/display.c: Ulrich Weigand Fix typo (wrong DISPLAY.CheckCursor ordinal). Superfluous FIXME converted to TRACE in CheckCursor. * relay32/relay386.c: Ulrich Weigand Bugfix: syslevel relay check was too strict. * server/mapping.c: Marcus Meissner Do not use pagesize aligned size_low to grow mapped file, but original size_low. (fixes Heises Index Register) Sat May 22 19:22:26 1999 Alexandre Julliard * graphics/ddraw.c: Lionel Ulmer - added some more debug output - corrected a slight bug in DGA DirectDraw creation * windows/win.c: Francis Beaudet Fixed a major memory leak in the window management code. * windows/winpos.c: Eric Pouech In SetWindowPos if changing Z order and child window not yet in its parent list, do not link it in WINPOS_ShowIconTitle, check for retval of WIN_FindWndPtr. * graphics/x11drv/dib.c: Pavel Roskin Disable passing device context to X11DRV_DIB_BuildColorMap when RGB colormap is used. * debugger/dbg.y: Ulrich Weigand Don't freeze other thread while it may hold the X critical section. * include/display.h, loader/main.c, windows/display.c: Ulrich Weigand Added UserRepaintDisable16(). * windows/dinput.c, windows/message.c: Ulrich Weigand Removed EVENT_WaitNetEvent() calls. * windows/input.c: Ulrich Weigand Added IsUserIdle16(). * include/ttydrv.h, windows/ttydrv/event.c, windows/ttydrv/init.c: Ulrich Weigand Adapted to EVENT_ driver changes. * loader/task.c, scheduler/synchro.c: Ulrich Weigand Adapted to event synchronization changes. * include/message.h, include/x11drv.h, windows/event.c, windows/x11drv/event.c, windows/x11drv/init.c, windows/x11drv/wnd.c: Ulrich Weigand Moved X input event handling out of EVENT_WaitNetEvent and into service thread callback; moved EVENT_WaitNetEvent out of the EVENT_ driver. Changed winContext to hold HWND instead of WND *. * windows/winpos.c: Ulrich Weigand Don't change Z-order of child windows when activating. * dlls/winspool/info.c, include/wine/wingdi16.h, include/winerror.h, include/winspool.h, relay32/winspool.spec: Huw D M Davies Implemented AddPrinterA, AddPrinterDriverA and GetPrinterDriverDirectory Moved some 16bit GDI function declarations from winspool.h -> wingdi16.h * configure, configure.in, include/acconfig.h, include/config.h.in: Eric Pouech Create a new configuration manifest constant HAVE_OSS_MIDI. * loader/dos/module.c: Ove Kaaven Fixed silly EINTR bug with starting dosmod. * graphics/ddraw.c: Kevin Holbrook Should compare to X11 constant "None" since a colormap is an X Resource ID and not a pointer. * controls/listbox.c: Paul Quinn Stop a listbox bug that causes a div by zero when the item height is zero. Doesn't solve the root of the problem though. * dlls/shell32/shell32_Pt.rc: Andre Malafaya Baptista About dialog translated to Portuguese. * if1632/thunk.c: James Juran task.h was included twice. Removing one fixed a sig11 in gcc-2.7.2.3. * objects/cursoricon.c: Eric Pouech Check if dc has been created before using it. * graphics/escape.c: Huw D M Davies Add a few more 32->16 Escape conversions. * relay32/relay386.c, if1632/relay.c: Ulrich Weigand Check for syslevel violations while relay debugging. * if1632/kernel.spec, include/syslevel.h, include/thread.h, scheduler/syslevel.c, windows/win.c: Ulrich Weigand Improved syslevel handling, store currently held syslevels in thread database, WIN_CritSection converted to syslevel. * include/windows.h: Joshua Thielen Added mmsystem.h include. * loader/main.c, loader/task.c, scheduler/process.c, windows/user.c, if1632/kernel.spec, include/user.h, include/wine/winbase16.h: Ulrich Weigand Added ExitKernel16 (replacing USER_ExitWindows), ExitProcess16, and MapProcessHandle; stub for BUNNY_351. * if1632/thunk.c: Ulrich Weigand Handle proc == NULL in THUNK_SetDCHook correctly. * files/profile.c: Andreas Mohr Added support for the undocumented combination GetPrivateProfileStringA(section == NULL, entry == NULL, ... * dlls/comctl32/header.c: Chris Morgan James Abbatiello Cleaner null pointer check in HEADER_InsertItemA and HEADER_InsertItemW. * dlls/comctl32/listview.c: Chris Morgan James Abbatiello Implemented GetNextItem for the Listview control. * scheduler/services.c: Ove Kaaven Expire timers on expiry time too, not just after. * include/wine/obj_base.h, graphics/d3dexecutebuffer.c, graphics/d3dlight.c, graphics/d3dmaterial.c, graphics/d3dtexture.c, graphics/d3dviewport.c, graphics/ddraw.c, multimedia/dplay.c, multimedia/dsound.c, ole/antimoniker.c, ole/bindctx.c, ole/compositemoniker.c, ole/datacache.c, ole/defaulthandler.c, ole/filemoniker.c, ole/hglobalstream.c, ole/ifs.c, ole/itemmoniker.c, ole/memlockbytes.c, ole/moniker.c, ole/olefont.c, ole/oleobj.c, ole/stg_stream.c, ole/storage32.c, windows/dinput.c, dlls/avifil32/avifile.c, dlls/shell32/contmenu.c, dlls/shell32/dataobject.c, dlls/shell32/enumidlist.c, dlls/shell32/folders.c, dlls/shell32/regstream.c, dlls/shell32/shelllink.c, dlls/shell32/shellole.c, dlls/shell32/shlfolder.c, dlls/shell32/shlview.c, graphics/d3ddevices.c: Paul Quinn Microsoft com vtable compatibility workaround for g++. Basically adds an optional 8 bytes padding to COM objects where the RTTI would be. * include/sysmetrics.h, misc/shell.c, objects/bitmap.c, objects/cursoricon.c, windows/dce.c, windows/defwnd.c, windows/dialog.c, windows/dinput.c, windows/input.c, windows/mdi.c, windows/message.c, windows/nonclient.c, windows/scroll.c, windows/sysmetrics.c, windows/win.c, windows/winpos.c, controls/button.c, controls/combo.c, controls/icontitle.c, controls/menu.c, controls/scroll.c, dlls/commdlg/filedlg.c, dlls/commdlg/finddlg.c, dlls/commdlg/fontdlg.c, dlls/commdlg/printdlg.c, dlls/shell32/iconcache.c: Marcus Meissner Replaced all occurences of SYSMETRICS_xx and sysMetrics[SM_xx] by GetSystemMetrics(SM_xx), removed no longer needed includes of sysmetrics.h. * msdos/int16.c: Ove Kaaven Added INT_Int16AddChar. * loader/resource.c: Bertho Stultiens Bugfix: Prevent null-pointer dereference in TRACE argument list in RES_FindResource * loader/elfdll.c: Bertho Stultiens Fixed wrong NE module registration so that resources work. * if1632/thunk.c, tools/build.c, win32/kernel32.c: Ulrich Weigand Set %ebx to point to real 16-bit stack in CBClientThunkSL. Pass %esi back-and-forth in CBClientThunkSL(Ex). Copy modified buffers back after return from FT_Thunk. Fix broken recognition of LS thunklets. * dlls/comctl32/comctl32undoc.c, dlls/comctl32/rebar.c, dlls/comctl32/toolbar.c, dlls/comctl32/updown.c: Marcus Meissner Removed use of win.h, sysmetrics.h and associated WINE USER internal variables. Added missing infoPtr->Buddy = hwndBud; in updown.c * dlls/comctl32/Attic/propsheet.h, dlls/comctl32/comctl32.h, dlls/comctl32/propsheet.c, dlls/comctl32/rsrc.rc, dlls/comctl32/toolbar.c, include/commctrl.h, include/toolbar.h: Eric Kohl Toolbar customization dialog (take one). * windows/win.c: Francis Beaudet Fixed GetTopWindow so it will correctly handle the NULL parameter. * include/process.h, loader/module.c: Ulrich Weigand Fix swapped FreeLibary return values. Handle FreeLibrary( 0 ) better. Fix DLL_PROCESS_DETACH call sequence bugs resulting from nested FreeLibrary calls. * if1632/mmsystem.spec, multimedia/mmsystem.c: Marcus Meissner Fixed specs for mixerGetDevCaps16/mixerGetID16, fixed mixGetDevCaps16. * include/miscemu.h, msdos/devices.c, msdos/dosmem.c, msdos/int21.c: Ove Kaaven Changed global DOS_LOL into function DOSMEM_LOL() in order to operate on the correct address space. Added DOSMEM_MovePointers() that relocates selectors when the DOS address space changes (i.e. when dosmod is spawned, particularly from Win16 apps that uses DPMI to execute real-mode code). More complete DOS device implementation. * include/dosexe.h, loader/dos/dosvm.c, loader/dos/module.c: Ove Kaaven Added MZ_Current() (returns current LPDOSTASK) and DOSVM_Wait() (DOSVM idle message loop), and fields hConInput and hConOutput. * objects/bitmap.c: Pascal Lessard Add some null checking in the Get/SetBitmapBits functions. * misc/crtdll.c, relay32/crtdll.spec: Marcus Meissner Added init function for CRTDLL, allocate stdio/stderr/stdout on DLL_PROCESS_ATTACH, increase buffer for vfprintf() (Win95 arp.exe needs 1.3KB). * debugger/memory.c: Marcus Meissner Added support for FreeBSD 3.0 to DEBUG_checkmap_bad(). * misc/winsock.c: James Juran Print a more effective (and visible) error message when an application can't create a socket with type == SOCK_RAW. * include/mmreg.h: Eric Pouech Some more defines for multimedia. * msdos/vxd.c, win32/device.c: Juergen Schmied Some stubs for pccard vxd to debug the native shell32. * multimedia/time.c: Ove Kaaven Use service thread for "true" multimedia timers. Removed implementation of fake multimedia timers. Set minimum resolution to 10 ms (the timing resolution of the Linux kernel). Fixed a couple of flaws. * misc/spy.c: Juergen Schmied Implemented printing out of some structures. Thu May 20 16:40:23 1999 Alexandre Julliard * server/select.c, server/socket.c: Set only the client socket in non-blocking mode instead of all fds; should avoid problems with stdio handles. Mon May 17 16:20:53 1999 Alexandre Julliard * include/debugdefs.h, include/gdi.h, include/psdrv.h, include/ttydrv.h, include/wine/wingdi16.h, include/wingdi.h, include/winspool.h, misc/Attic/spooler.c, misc/Makefile.in, misc/printdrv.c, objects/dc.c, dlls/winspool/.cvsignore, dlls/winspool/Makefile.in, dlls/winspool/info.c, graphics/driver.c, graphics/enhmetafiledrv/init.c, graphics/env.c, graphics/escape.c, graphics/metafiledrv/init.c, graphics/psdrv/driver.c, graphics/psdrv/init.c, graphics/psdrv/ppd.c, graphics/psdrv/ps.c, graphics/ttydrv/init.c, graphics/win16drv/init.c, graphics/x11drv/init.c, Makefile.in, configure, configure.in: Huw D M Davies Implement DocumentProperties, DeviceCapabilities, beginnings of Open/Get/ClosePrinter. Additions to PSDRV_DeviceCapabilities. Split off WINSPOOL into its own directory. Several functions added to DC_Funcs. Based largely on a patch by Pascal Lessard * loader/loadorder.c: Marcus Meissner glide2x loadorder is "so,native". * msdos/dpmi.c: Ove Kaaven Improved shortcuts - follows jumps in trying to avoid switching to real mode unnecessarily. * documentation/no-windows: Ove Kaaven Updated and improved instructions. * debugger/expr.c: Ove Kaaven Made "Wine-dbg>set *seg:off = val" work (previously only "Wine-dbg>set *off = val" worked). * multimedia/mcimidi.c, multimedia/mciwave.c: Jukka Kangas When opening the file we don't need MMIO_EXCLUSIVE rights. MMIO_DENYWRITE should be sufficient. * dlls/shell32/shellpath.c: Juergen Schmied Prevent crash in stub of SheGetDirW. * dlls/shell32/shlmenu.c: Juergen Schmied Further implementation of the FileMenu. * windows/mdi.c: Juergen Schmied Set the default menu item of the window menu * wine.ini: James Juran Changed serial ports in wine.ini to /dev/ttySX from /dev/cuaX in accordance with Linux 2.2 Changes file. * if1632/kernel.spec, loader/module.c: Ulrich Weigand Release Win16Lock when calling LoadLibrary32 from 16-bit code. * if1632/thunk.c: Ulrich Weigand Fixed THUNK_SetDCHook when using native USER. * win32/kernel32.c: Ulrich Weigand Bugfix: FT_PrologPrime was broken due to relay changes. * misc/network.c, relay32/mpr.spec: Ulrich Weigand Some stubs added. * windows/hook.c: Ulrich Weigand Suspend window locks before calling hook procedure. * windows/dialog.c: Ulrich Weigand Fixed window refcount handling in GetNextDlgGroupItem. * controls/button.c: Ulrich Weigand Removed superfluous WIN_ReleaseWndPtr. * graphics/ddraw.c: Marcus Meissner Xlib_IDirectDrawSurface4Impl_Flip should show 'flipto' surface, not previous one. (reported by Ove) Sun May 16 17:11:58 1999 Alexandre Julliard * include/winbase.h, include/winnt.h: Added a few missing debug event definitions. * server/console.c, server/file.c, server/pipe.c, server/thread.c, server/thread.h: Adapted to new select interface. Fixed bug in *_signaled routines that could cause busy-waiting in the select loop. * server/object.c, server/object.h, server/request.c, server/select.c, server/socket.c: Changed select interface, separated timeouts from file descriptors. * server/handle.c, server/handle.h, server/process.c, server/process.h: Moved process structure definition to process.h. Added suspend/resume_process. Moved handle table back into the process structure. * scheduler/client.c, server/trace.c, include/server.h: Added TEB in init_thread request. Sat May 15 10:52:56 1999 Alexandre Julliard * miscemu/instr.c: Tried to add an error message when crashing on a selector load because of missing LDT sharing between threads (untested). * scheduler/event.c, scheduler/mutex.c, scheduler/semaphore.c, server/Makefile.in, server/change.c, server/console.c, server/device.c, server/event.c, server/file.c, server/handle.c, server/handle.h, server/main.c, server/mapping.c, server/mutex.c, server/object.c, server/object.h, server/pipe.c, server/process.c, server/process.h, server/request.c, server/select.c, server/semaphore.c, server/snapshot.c, server/socket.c, server/thread.c, server/thread.h, server/trace.c, tools/make_requests, include/server.h, include/server/Attic/object.h, include/server/Attic/process.h, include/server/Attic/thread.h, include/server/request.h, memory/virtual.c: Server reorganization: - moved request handlers to the specific C files - moved handle management to handle.c - moved server private includes to server/ instead of include/server/ * Make.rules.in: Get include files from the current directory first. Fri May 14 18:39:37 1999 Alexandre Julliard * dlls/commdlg/colordlg.c, dlls/commdlg/filedlg.c, dlls/commdlg/finddlg.c, dlls/commdlg/fontdlg.c, dlls/commdlg/printdlg.c, dlls/shell32/shell32_main.c, graphics/psdrv/driver.c, include/win.h, windows/msgbox.c, windows/queue.c, windows/win.c: Marcus Meissner Replaced WIN_GetWindowInstance by GetWindowLongA(GWL_HINSTANCE), removed unnecessary win.h includes, added syslevel.h to queue.c. * controls/combo.c: Francois Boisvert Changed CBGetDroppedControlRect to be compliant with Windows API. * include/wine/exception.h, win32/except.c: Fixed a few bugs, and improved the exception macros (based on suggestions by Sergei Turchanov). * dlls/ver/ver16.c, dlls/version/info.c, dlls/version/install.c, dlls/version/resource.c, ipc/dde_atom.c, ipc/dde_atom_test.c, ipc/shm_block.c, ipc/shm_fragment.c, ipc/shm_fragment_test.c, ipc/shm_main_blk.c, ipc/shm_semaph.c, ipc/shm_semaph_test.c, ipc/wine_test_stub.c, relay32/snoop.c, relay32/utthunk.c, dlls/advapi32/advapi.c, dlls/advapi32/crypt.c, dlls/advapi32/eventlog.c, dlls/advapi32/service.c, dlls/imagehlp/access.c, dlls/imagehlp/debug.c, dlls/imagehlp/imagehlp_main.c, dlls/imagehlp/integrity.c, dlls/imagehlp/internal.c, dlls/imagehlp/modify.c, dlls/imagehlp/symbol.c, dlls/msacm/msacm_main.c, dlls/msacm32/builtin.c, dlls/msacm32/driver.c, dlls/msacm32/filter.c, dlls/msacm32/format.c, dlls/msacm32/internal.c, dlls/msacm32/msacm32_main.c, dlls/msacm32/stream.c, dlls/psapi/psapi_main.c, dlls/rasapi32/rasapi.c, dlls/tapi32/assisted.c, dlls/tapi32/phone.c, console/generic.c, console/ncurses.c, console/xterm.c, controls/combo.c, controls/listbox.c, controls/menu.c, controls/scroll.c, controls/static.c, controls/uitools.c: Converted to the new debug interface, using script written by Patrik Stridvall. * tools/make_X11wrappers, tsx11/ts_xf86dga.c, tsx11/ts_xf86vmode.c, tsx11/ts_xlib.c, tsx11/ts_xpm.c, tsx11/ts_xresource.c, tsx11/ts_xshm.c, tsx11/ts_xutil.c: Converted to the new debug interface. * windows/painting.c: Ulrich Weigand Fixed invalid window refcount handling in RDW_Paint(). * windows/message.c: Noel Borthwick Fix a deadlock with the system message queue by ensuring the system message queue is unlocked while the actual message is being processed. * graphics/ddraw.c: Lionel Ulmer Check if in depth-conversion mode before returning an error message in IDirectDrawPaletteImpl_GetEntries. Thu May 13 18:53:05 1999 Alexandre Julliard * documentation/status/direct3D, graphics/d3d_private.h, graphics/d3dcommon.c, graphics/d3ddevices.c, graphics/d3dexecutebuffer.c, graphics/d3dlight.c, graphics/d3dmaterial.c, graphics/d3dtexture.c, graphics/d3dviewport.c, graphics/ddraw.c, graphics/ddraw_private.h, include/wine_gl.h: Lionel Ulmer Replaced all the Mesa specific code by GLX code. Should work now on any OpenGL implementation. * windows/x11drv/keyboard.c: Added Italian keyboard support. * graphics/enhmetafiledrv/graphics.c: Huw D M Davies Fixed a couple of memcpy errors. * graphics/psdrv/driver.c: Huw D M Davies Small fix to help native win95 PrintDlg on the way. * dlls/winaspi/winaspi16.c, if1632/winaspi.spec, include/aspi.h: Andreas Mohr Implemented InsertInASPIChain and fixed minor things. * windows/x11drv/mouse.c: Andreas Mohr Fixed quite ill window locking code. * windows/winpos.c: Francis Beaudet Fixed an infinite loop in ChildWindowFromPointEx. * controls/menu.c: Juergen Schmied - prevent crash when GetMenuDefaultItem is called on empty menu - set default item on system menu * loader/ne/module.c, memory/selector.c, relay32/ntdll.spec, win32/kernel32.c, win32/ordinals.c, dlls/ntdll/exception.c, dlls/ntdll/rtl.c, include/stackframe.h: Adapted for new register functions support (ESP_reg in register functions now points after the arguments). * relay32/builtin32.c, relay32/kernel32.spec, relay32/relay386.c, relay32/snoop.c, tools/build.c: Win32 register functions can now have arguments. Simplified relay debugging for register functions. * relay32/kernel32.spec, win32/device.c: VxDCall functions do not need to be 'register'. Wed May 12 16:10:53 1999 Alexandre Julliard * relay32/builtin32.c: Fixed bug I introduced in relay debugging. * dlls/ntdll/exception.c, if1632/thunk.c, include/Attic/except.h, include/wine/exception.h, win32/except.c: Added macros and definitions for using exception inside Wine or Winelib code. * include/Attic/except.h, include/ntddk.h, include/winnt.h, misc/crtdll.c, win32/init.c: Moved some exception definitions to winnt.h and ntddk.h. * msdos/devices.c: Marcus Meissner Added missing WINAPI for the callback procs. * include/sig_context.h: Added ERROR_sig. * ole/stg_bigblockfile.c: Francis Beaudet Bug fix. * misc/winsock.c, include/winsock.h: Marcus Meissner WSOCK32/WINSOCK uses SetLastError() to keep its own WSALastErrors, replaced all pwsi->err references. * loader/pe_image.c: Changed some error handling a bit. * windows/win.c: Ove Kaaven Cleaner Suspend/RestoreWndsLock, which should fix some slowness. * relay32/kernel32.spec, relay32/ntdll.spec: Added RtlUnwind in ntdll, and made kernel32 spec entry a forward to the ntdll one. * relay32/builtin32.c, tools/build-spec.txt, tools/build.c, include/builtin32.h: Added import declaration for Win32 built-ins. Mon May 10 14:44:48 1999 Alexandre Julliard * tools/build-spec.txt, tools/build.c, include/builtin32.h, relay32/builtin32.c: Added support for forwarded ordinals in built-in dlls. Sun May 9 16:15:28 1999 Alexandre Julliard * win32/console.c: Fixed request size for alloc_console and free_console. * relay32/kernel32.spec, relay32/ntdll.spec, win32/except.c, dlls/ntdll/Makefile.in, dlls/ntdll/exception.c, dlls/ntdll/rtl.c, include/Attic/except.h, include/debugdefs.h, include/ntddk.h, include/thread.h, include/winbase.h, include/winnt.h: Improved exception handling. Based on the work of Sergey Turchanov . * loader/module.c: Use OpenFile() to test for file existence, so that the path gets searched. * server/select.c: Ove Kaaven Restart interrupted select() (happens with -pg). * debugger/memory.c: Ove Kaaven Fixed off-by-one bug in memory access check. * misc/registry.c: Marcus Meissner More debug output for RegQueryInfoKey. * debugger/stack.c: Ove Kaaven Fixed a couple of bugs (silent backtrace not totally silent, crashes when the stack is corrupted or similar). ---------------------------------------------------------------- Sat May 8 18:39:05 1999 Alexandre Julliard * tools/wineconf.libs/autoconf.eng, tools/wineconf.libs/autoconf.tcl, tools/wineconf.libs/browsers.eng, tools/wineconf.libs/dirbrowser.tcl, tools/wineconf.libs/general.eng, tools/wineconf.libs/getfilename.tcl, tools/wineconf.libs/message.tcl, tools/wineconf.libs/message2.tcl, tools/wineconf.libs/saveRC.tcl, tools/wineconf.libs/wine-half.gif, tools/wineconf.libs/wineconf.eng, tools/wineconf.libs/wineconf.tcl, tools/wineconf.libs/wineconf1.tcl, tools/wineconf.tcl: Jean-Louis Thirot Added graphical configuration tool wineconf.tcl. * win32/console.c: Marcus Meissner Ignore ESC[%dc reports generated by 8bit control codes. Open console even if we already have one in the process. * files/profile.c: Marcus Meissner Fixed off by 1 error in section code (did not return len-2 on buffer overflow in some cases, but len-1). * dlls/comctl32/propsheet.c: Marcus Meissner Fixed warning. * graphics/x11drv/palette.c: Pavel Roskin Fixed palette handling for true/high-color X11. * loader/ne/module.c: Uwe Bonnes Fixed extension handling in LoadLibrary16. * windows/dce.c, windows/painting.c, windows/win.c, windows/winpos.c, windows/x11drv/event.c, include/win.h, objects/region.c: Alex Korobka Rearranged PAINT_RedrawWindow() so that it first recursively updates invalid regions and only then starts sending out messages. This should help with reentrancy during message processing and now it needs just one (or none) scratch region for all there is to do. Also, small fixes for SetWindowPos(). * configure, configure.in: Added check for missing __i386__ definition. * include/config.h.in, scheduler/client.c, server/socket.c, server/trace.c, configure, configure.in, tools/wrc/parser.y, ole/datacache.c, ole/defaulthandler.c, ole/hglobalstream.c, ole/memlockbytes.c, scheduler/sysdeps.c, tools/build.c, misc/wsprintf.c, miscemu/instr.c, msdos/ioports.c, if1632/snoop.c, include/server.h, include/stackframe.h, ipc/bit_array.c, controls/edit.c, controls/menu.c, debugger/dbg.y, graphics/x11drv/xfont.c: Patrik Stridvall ANSI C fixes. * dlls/comctl32/propsheet.c: Marcus Meissner Pass PROPSHEETPAGE to propertypage dialog as lParam. * misc/winsock.c, multimedia/dsound.c, objects/brush.c, objects/enhmetafile.c, ipc/dde_atom.c, ipc/generic_hash.c, ipc/shm_block.c, ipc/shm_main_blk.c, ipc/shm_semaph.c, loader/dos/dosmod.c, loader/signal.c, memory/ldt.c, graphics/psdrv/init.c, include/dplay.h, include/dplobby.h, include/heap.h, include/metafile.h, include/mmsystem.h, include/psdrv.h, include/shellapi.h, include/sig_context.h, include/winsock.h, dlls/ntdll/time.c, dlls/shell32/folders.c, dlls/shell32/shlfolder.c, dlls/shell32/shlview.c, graphics/ddraw.c, graphics/ddraw_private.h, graphics/dispdib.c, dlls/comctl32/pager.c, dlls/comctl32/rebar.c, dlls/comctl32/status.c, dlls/comctl32/toolbar.c, dlls/comctl32/tooltips.c, dlls/comctl32/treeview.c, dlls/commdlg/fontdlg.c, debugger/msc.c, dlls/comctl32/comboex.c, dlls/comctl32/header.c, dlls/comctl32/hotkey.c, dlls/comctl32/listview.c: Patrik Stridvall ANSI C fixes. * windows/caret.c, include/wine/wingdi16.h, include/wine/winuser16.h, misc/printdrv.c, objects/font.c, objects/linedda.c, objects/region.c, graphics/win16drv/font.c, include/gdi.h, include/windef.h, include/wingdi.h, include/winuser.h, graphics/psdrv/font.c: Huw D M Davies Split off wingdi16.h from wingdi.h. Add many more #defines/typedefs to bring wingdi.h almost upto a complete NT4.0 interface. Fix return value of SetRectRgn(). * windows/display.c, windows/focus.c, windows/nonclient.c, windows/ttydrv/mouse.c, windows/win.c, windows/winpos.c, include/ttydrv.h, include/winpos.h: Michael Veksler Removed #include "wine/winuser16.h" and use "struct tag????" instead. * debugger/stack.c: Ove Kaaven Improved Wine debugger backtrace. New features: - Displays ebp, in case you want to check stackframes manually - Detects far calls even when windows apps don't mark them - Tracks CallFrom16/CallTo16 relaying (thunking) * loader/elfdll.c: Ulrich Czekalla Bugfix: get_sobasename was off by one pointer increment. * multimedia/init.c: Kevin Holbrook Fixed implicit type warning. * controls/listbox.c: Gerard Patel Values returned from PtInRect and LB_ITEMFROMPOINT are reversed. * ole/datacache.c, ole/defaulthandler.c, ole/ole2.c, ole/ole2stubs.c, ole/oleobj.c: Francis Beaudet Second part of the OLE datacache implementation. * msdos/Makefile.in, msdos/devices.c, msdos/dosmem.c, msdos/int21.c, include/dosexe.h, include/miscemu.h, include/msdos.h: Ove Kaaven Moved DOS List of Lists initialization, and added the beginnings of the DOS device structures. * programs/regapi/regapi.c, include/winreg.h, misc/registry.c: Noomen Hamza Bug fixes. * ole/hglobalstream.c, relay32/ole32.spec: Thuy Nguyen Implemented GetHGlobalFromStream. * include/thread.h, scheduler/thread.c: Ulrich Weigand Call THREAD_FreeTHDB as service thread callback. * include/message.h, loader/task.c, windows/timer.c: Ulrich Weigand Removed TIMER_SwitchQueue. * debugger/memory.c: Uwe Bonnes Format output in DEBUG_ExamineMemory for "d" and "x" not to exceed 80 chars. * loader/signal.c: Marcus Meissner Stop winelib programs on fault instead of endless faultlooping. * Makefile.in: James Juran Run ldconfig in make install if using --enable-dll. Cleaned up uninstall_lib as well. * ole/storage.c, ole/storage32.c, ole/storage32.h, relay32/ole32.spec, ole/stg_bigblockfile.c, include/wine/obj_storage.h, ole/memlockbytes.c: Thuy Nguyen Implementation of IStorage supported by an implementation of ILockBytes on top of an HGLOBAL. * files/profile.c, relay32/kernel32.spec: Marcus Meissner Return the correct value from GetPrivateProfileSectionA. Copy/convert back the buffer in GetPrivateProfileSectionW. Replace some output pointers str/wstr->ptr in kernel32.spec. * loader/task.c, scheduler/process.c: Ulrich Weigand Some initialization sequence bugfixes: - Initialize process crst for 16-bit processes. - Don't crash due to uninitialized stack frames in WineLib. - Map system DLLs before calling UserSignalProc. - Signal USIG_PROCESS_CREATE only *after* the env_db is filled. * if1632/thunk.c: Ulrich Weigand Call Callout routines directly when using builtin USER. * loader/pe_image.c: Ulrich Weigand Bugfix: all PE modules were marked 'internal'. * include/dce.h, objects/dc.c, windows/dce.c: Ulrich Weigand Check for busy DCE moved to DCHook16(). * include/win.h, loader/main.c, windows/win.c: Ulrich Weigand Initialize WIN_CritSection earlier. * dlls/comctl32/trackbar.c, include/trackbar.h: Luc Tourangeau Removed the timer that was used to queue TRACKBAR_Refresh calls. Removed all direct calls to TRACKBAR_Refresh (except from within the WM_PAINT handling section) and replaced them by calls to InvalidateRect. Fixed a bug in the TRACKBAR_SetPos function. Fixed the behavior for different types of mouse input. * dlls/comctl32/toolbar.c: Yuxi Zhang Implemented toolbar multirow button layout. * dlls/comctl32/tooltips.c: Francois Boisvert Implementation of WM_GETTEXT and WM_GETTEXTLENGTH in tooltips. * ole/ole2disp.c: Thuy Nguyen Implemented OleTranslateColor. * include/winuser.h, windows/input.c: Francis Beaudet Changed the return value of GetKeyboardState and SetKeyboardState from VOID to BOOL. * controls/listbox.c: Francois Boisvert Prevented LISTBOX_RepaintItem from repainting a non visible item. * relay32/builtin32.c: Eric Pouech Fixed typo. * windows/class.c: Huw D M Davies Bugfix for TRACE in UnregisterClass. Wed May 5 13:20:50 1999 Alexandre Julliard * include/Attic/propsheet.h: No longer necessary. Tue May 4 16:55:23 1999 Alexandre Julliard * objects/dc.c, windows/dce.c, include/dce.h: Francis Beaudet Check if DC is busy before deleting it. * win32/newfns.c: Andreas Mohr GetMailslotInfo is supposed to check for pointer validity. * server/select.c: Ulrich Weigand Possible crash in select_loop() fixed. * include/services.h, loader/task.c, scheduler/services.c: Ulrich Weigand Fixed various stupid bugs in services thread routines. Added SERVICE_Exit routine to kill the services thread. * misc/main.c: Eric Pouech Inverted class/channel in __(SET|GET)_DEBUGGING macros. * windows/queue.c: Ulrich Weigand Correct implementation of GetWindowThreadProcessId(). * if1632/mmsystem.spec, multimedia/mmsystem.c: Ulrich Weigand Added PlaySound16, sndPlaySound16. * if1632/thunk.c: Ove Kaaven Fixes winproc deadlock for win16. Mon May 3 09:44:57 1999 Alexandre Julliard * windows/queue.c: Eric Pouech Fixed some deadlock(s) in message sending. * multimedia/mmsystem.c: Eric Pouech cleaned up debug channels to use default one (mmsys) more conversions from mixerXXXW and mixerXXXX16 to mixerXXXXA fixed callback bug in midiStream functions fixed compilation bug with egcs changed to the new debug channel interface * multimedia/mmaux.c: Eric Pouech small range fixes for OSS driver changed to the new debug channel interface * multimedia/mixer.c: Eric Pouech first (working) shot at OSS mixer low level interface changed to the new debug channel interface * misc/network.c, relay32/mpr.spec: Ulrich Weigand Fixed off-by-one ordinals in MPR. Added MPR_Alloc/ReAlloc/Free (MPR.22-24). * loader/module.c, if1632/relay.c: Ulrich Weigand Bugfix: release Win16Lock in WinExec16, CallProc[Ex]32W_16. * loader/main.c: Ulrich Weigand Load system DLLs into WineLib applications. * graphics/psdrv/ps.c: Huw D M Davies Small update to the PostScript encoding vector. * loader/module.c, loader/task.c: Bug fixes. Sun May 2 19:10:57 1999 Alexandre Julliard * scheduler/process.c: Moved a few more initialisations to the new process context. * loader/task.c: Don't initialise the stacks for 32-bit processes. * miscemu/main.c: Only check number of tasks after first message. Use a 16-bit module for creating the initial task. * include/authors.h, AUTHORS: Updated authors list from the Changelog. Please let me know if you have been left out. * loader/task.c, scheduler/process.c: Converted to the new debugging interface (done with the help of the script written by Patrik Stridvall). Some changes to the initialisation sequence for 32-bit processes. * */*.c: Converted to the new debugging interface (done with the help of the script written by Patrik Stridvall). * tools/make_debug, include/debugdefs.h, include/debugtools.h, misc/main.c: Misc fixes and improvements. * include/config.h.in, configure, configure.in: Added check for -lmmap for OS/2. * include/debugdefs.h, ole/hglobalstream.c, ole/stg_stream.c, ole/storage32.c: Francis Beaudet Fixed a few bugs in the OLE storage implementation, added a new set of trace statements for the OLE storage related methods and introduced a new debug channel for the storage subsystem. * multimedia/time.c, objects/dib.c, objects/palette.c, include/wine/winuser16.h, misc/spooler.c: Michael Veksler Removed redundant include of winbase.h from winuser16.h. Moved types from winbase.h to winuser16.h . * include/winuser.h: Juergen Schmied - default item handling - small drawing fixes * dlls/commdlg/cdlg_En.rc, dlls/commdlg/printdlg.c: Klaas van Gend More implementation of PrintDlgA. Conversion of resource identifiers of Print32 window to comply to the M$ numbering. * server/thread.c: Ulrich Weigand Don't crash if queuing an APC on a thread that doesn't wait. * windows/timer.c, windows/x11drv/event.c, include/message.h: Ulrich Weigand Use SERVICES callback to implement Windows timers. Timer expiration handling removed from EVENT_WaitNetEvent loop. * memory/heap.c: Huw D M Davies Call SetLastError in HeapCompact(). * include/winbase.h: Ove Kaaven Added prototype for TryEnterCriticalSection. * include/commdlg.h: Klaas van Gend Make all structures packed and removal of some WINE_PACKED. * controls/button.c: Pavel Roskin Pushbuttons should only be rounded in Win31 look. * controls/menu.c: Juergen Schmied - default item handling - small drawing fixes * windows/winpos.c: Noel Borthwick Fixed an unbalanced windows lock/unlock sequence in WINPOS_ActivateOtherWindow. * include/debugdefs.h: enhmetafile added * relay32/.cvsignore, relay32/Makefile.in, relay32/builtin32.c, relay32/mcianim.spec, relay32/mciavi.spec, relay32/mcicda.spec, relay32/mciseq.spec, relay32/mciwave.spec, relay32/winmm.spec, include/multimedia.h, loader/main.c, multimedia/audio.c, multimedia/init.c, multimedia/mci.c, multimedia/mcianim.c, multimedia/mciavi.c, multimedia/mcicda.c, multimedia/mcimidi.c, multimedia/mcistring.c, multimedia/mciwave.c, multimedia/mmsystem.c, documentation/status/multimedia, if1632/mmsystem.spec, wine.ini: Eric Pouech - got rid of all the internal MM tweaks to load builtin MCI drivers. They are all seen as drivers, loaded as DLLs and standard module loadorder is used to know which type to use (builtin vs native). - first full working implementation of mmThread??? functions (to support gracefully native MCI drivers). - support of mmShowMMCPLPropertySheet. - fix of some heap validate bugs (thanks to Ulrich for reporting them). * loader/module.c: Guy Albertelli Fix CreateProcessA to implement correct actions on ambiguous command line names (try longer and longer strings). * Makefile.in, configure, configure.in, graphics/enhmetafiledrv/.cvsignore, graphics/enhmetafiledrv/Makefile.in, graphics/enhmetafiledrv/dc.c, graphics/enhmetafiledrv/graphics.c, graphics/enhmetafiledrv/init.c, graphics/enhmetafiledrv/mapping.c, graphics/enhmetafiledrv/objects.c, graphics/metafiledrv/init.c, include/enhmetafiledrv.h: Huw D M Davies Started implementing Enhanced MetaFile driver. * include/ole2.h, include/wine/obj_oleobj.h, include/wine/obj_oleview.h, ole/Makefile.in, ole/datacache.c, ole/defaulthandler.c, ole/ole2.c, ole/ole2stubs.c, ole/oleobj.c, relay32/ole32.spec, dlls/shell32/shlview.c: Francis Beaudet Implemented the OLE object default handler and data cache. * include/enhmetafile.h, include/wingdi.h, objects/enhmetafile.c: Huw D M Davies Several improvements to Enhanced MetaFile playback. * loader/ne/module.c: Bertho Stultiens Only try to append ".dll" if a library is loaded implicitely. * dlls/shell32/shellord.c: Michael Veksler Fix TRACE formatting warnings. * dlls/shell32/shlfolder.c: Andreas Mohr Fixed a small syntax problem. * windows/winpos.c: Juergen Schmied - better stubs for Get/Set special (Progman/Taskman) window functions * relay32/user32.spec, windows/message.c: Juergen Schmied - new SendMessageCallbackW - some fixme's for missing A<->W conversion * windows/dialog.c: Noel Borthwick Fixed an unbalanced windows lock/unlock sequence in GetNextDlgTabItem. * misc/printdrv.c: Klaas van Gend Bugfix for EnumPrinters level 2. * windows/x11drv/keyboard.c: Guy Albertelli Correct logic in GetKeyNameText. * documentation/bugreports: Andreas Mohr Removed +snoop from documentation/bugreports. Sat May 1 10:41:02 1999 Alexandre Julliard * objects/bitmap.c: Pavel Roskin LoadImageW fixed for hicolor displays. * include/mmsystem.h, include/multimedia.h, multimedia/mmsystem.c: Marcus Meissner MCI_ANIM_OPEN_PARMSW should be LPCWSTR, MCI_DefYieldProc should be WINAPI. * dlls/comctl32/header.c: Chris Morgan James Abbatiello Fixed HEADER_InsertItemA and HEADER_InsertItemW null pointer checking to handle wide character strings properly. Fix of our previous patch for null pointer checking. * ole/Makefile.in, ole/memlockbytes.c, ole/ole2stubs.c: Thuy Nguyen Implemented CreateILockBytesOnHGloba, GetHGlobalFromILockBytes and the ILockBytes interface based on an HGLOBAL. * ole/compobj.c: Francis Beaudet Fixed a bug in CoRegisterClassObject. * dlls/comctl32/toolbar.c: Luc Tourangeau Removed some flickering when inserting or deleting buttons. * dlls/comctl32/listview.c: Chris Morgan James Abbatiello Fixed LISTVIEW_GetItemChanges() to perform a more complete comparison between lpItem and lpLVItem. Now compares the pszText string of the lpItem and lpLVItem structs. Fixes a bug where the old and new item have the same attributes but their text differs and GetItemChanges() compares them as equal. * dlls/comctl32/propsheet.c, dlls/comctl32/propsheet.h, dlls/comctl32/rsrc.rc, dlls/comctl32/tab.c: Thuy Nguyen Added support for adding and removing pages dynamically from a property sheet. * controls/button.c, controls/combo.c, controls/desktop.c, controls/listbox.c: Marcus Meissner Removed the gotos from the WndProcs, always use a small wrapper that locks the window, calls the real wndproc, unlocks the window. * dlls/shell32/contmenu.c: Juergen Schmied Fixed default menu item. * win32/code_page.c, misc/ddeml.c: Juergen Schmied Fixed typo. * windows/queue.c: Andreas Mohr Added a missing LeaveCriticalSection. * windows/mdi.c: Francois Boisvert Fixed a wrong usage of WIN_FindWndPtr/WIN_ReleaseWndPtr in TranslateMDISysAccel16. * misc/comm.c: Ove Kaaven Fixed off-by-one bug in async output buffers. * ole/ole2.c: Francis Beaudet Fixed a little Drag and Drop bug. ---------------------------------------------------------------- Mon Apr 26 14:58:59 1999 Alexandre Julliard * include/config.h.in, configure, configure.in: Marcus Meissner Added autoconf check for "inline". You can now use it, it will be defined to (empty) for compilers that do not have it. * tools/wrc/parser.y: Gerald Pfeifer Don't include alloca.h. * README, documentation/wine.man: James Juran Update to reflect recent changes and discussions. * loader/loadorder.c: Bertho Stultiens The load order parser should not always complain about extensions. * controls/menu.c: Juergen Schmied - align magic buttons right - shortcuts alignment working again * loader/ne/module.c: Eric Pouech Fixed loading of native NE dlls. Sun Apr 25 19:04:42 1999 Alexandre Julliard * memory/heap.c: Fixed __builtin_return_address arg. * */*: Patrik Stridvall Fixed ANSI compabillity. * */*: Bertho Stultiens Built-in dlls now have resources attached via the PE-header like normal dlls. This enables the use of the resource API. * misc/registry.c: Use $HOME instead of getpwuid for user's home directory. Fixed messed up indentation. * graphics/x11drv/xfont.c: Use $HOME instead of getpwuid for user's home directory. * */*.h: Patrik Stridvall #pragma pack(?) changed to #include "*pack*.h" * tools/build.c, include/commctrl.h, include/commdlg.h, include/docobj.h, include/heap.h, include/shellapi.h, include/winbase.h, include/windef.h, include/wine/obj_oleaut.h, include/wine/obj_storage.h, include/winerror.h, include/wingdi.h, include/winnetwk.h, include/winnls.h, include/winuser.h: Jim Aston Added some missing #defines I've run across. * files/dos_fs.c: Andreas Mohr Ignore trailing dots on file names. * include/debugger.h, debugger/dbg.y, debugger/debug.l, debugger/display.c, debugger/editline.c, debugger/expr.c, debugger/hash.c, debugger/msc.c, debugger/source.c, debugger/stabs.c, debugger/stack.c, debugger/types.c: Ove Kaaven Added a possibility to let the internal debugger use a separate heap. Not enabled by default, change #if in include/debugger.h to use this (the heap allocator is very slow). * loader/loadorder.c: Eric Pouech wine.conf should not overrule content of burned in data in loadorder.c. * graphics/mapping.c: Karl Lessard SetMapMode should not reset the window and viewport origins to 0. * tools/wineconf: Eric Pouech Allow to automatically copy part of wine.ini into generated file. Small perl enhancement (work in strict mode). Small updates in heuristics. * wine.ini: Eric Pouech Upgraded to have a decent multimedia DLLs configuration. * tools/wrc/wrc.h, tools/wrc/writeres.c, tools/wrc/CHANGES: Bertho Stultiens - Fixed a counting bug in the win32 count and sort routine. - Fixed sort order of resources (must be name before ordinal). - Shuffled a couple of global variables so that built-in dlls now can load resources through the proper PE interface. * include/windef.h, include/winreg.h: Adrian Thurston Added support for strict handles. Only works on machines where sizeof(UINT) == sizeof(void*). * scheduler/process.c: Ulrich Weigand Initialize process critical section in the correct process context. * scheduler/critsection.c: Ulrich Weigand Warn if wrong process tries to enter critical section. Better implementation of Reinitialize/UninitializeCriticalSection (still not quite correct). * loader/loadorder.c: Marcus Meissner debug.h must be last in list of includes. * loader/ne/module.c: Ulrich Weigand Return 32-bit module in GetModuleHandle16() if appropriate. * msdos/int2f.c: Eric Pouech Fixed crash when status was read with cd-rom tray open. * windows/driver.c: Eric Pouech Fixed a bug in msg conversion. * dlls/comctl32/trackbar.c: Eric Pouech Prevent crash when nMinRange > nMaxRange. * include/winuser.h: Eric Pouech Added some missing manifest constants for Queue Status functions (QS_????). * controls/button.c, controls/edit.c, windows/mdi.c: Eric Pouech Added missing WIN_ReleaseWndPtr. * graphics/x11drv/xfont.c: Chris Morgan James Abbatiello More appropriate default size for fonts with invalid sizes. * dlls/comctl32/listview.c: Chris Morgan James Abbatiello Implemented SetColumnWidth for ListView control. * documentation/config: Adam Sacarny Added new documentation for the configuration file. * misc/version.c: Andreas Mohr Improved VERSION_GetVersion. * windows/x11drv/keyboard.c: Peter Bortas Added Swedish keyboard layout. * include/gdi.h, include/metafiledrv.h, include/wingdi.h, objects/clipping.c, objects/dc.c, objects/dcvalues.c, objects/font.c, objects/gdiobj.c, objects/metafile.c, graphics/metafiledrv/Makefile.in, graphics/metafiledrv/dc.c, graphics/metafiledrv/graphics.c, graphics/metafiledrv/init.c, graphics/metafiledrv/objects.c, graphics/painting.c, graphics/psdrv/README, graphics/psdrv/init.c, graphics/win16drv/init.c, graphics/x11drv/init.c: Huw D M Davies General tidy up of the MetaFile driver - make sure that everything goes through the DCFuncs table. * misc/toolhelp.c, if1632/kernel.spec: Uwe Bonnes Add a stub for GlobalMasterHandle. * tools/bug_report.pl: Adam Sacarny Much nicer way to select wine's location. Option to disable creation of debugging output. Debugging output is now created in directory script was started in. * windows/x11drv/wnd.c: Noel Borthwick Fixed a problem with managed mode, where popup windows with a WS_DLGFRAME style were appearing with a title bar. According to the docs for WS_DLGFRAME a window with this style cannot have a title bar. * loader/loadorder.c: Marcus Meissner Use DllOverrides from wine.ini as defaults also in loadorder.c (merged in some MM dlls lines from Eric Poeuch). * windows/timer.c: Eric Pouech Fixed some bogus infinite expiration time. * windows/x11drv/event.c: David Luyer - consolidate both cases of !pending in WaitNetEvent - select() returns -1 not 0 on error in WaitNetEvent * memory/heap.c, include/heap.h: Ove Kaaven Made HeapValidate threadsafe, and added some macros to track callerEIP a little better. Added HEAP_xrealloc. Sat Apr 24 12:02:15 1999 Alexandre Julliard * loader/loadorder.c, configure, configure.in, include/acconfig.h, include/config.h.in, include/elfdll.h, loader/elf.c, loader/elfdll.c: Marcus Meissner autoconf fixes and cleanups (check for dlopen() in libc too). * ole/Makefile.in, ole/hglobalstream.c, ole/ole2stubs.c, ole/stg_stream.c: Francis Beaudet Implemented CreateStreamOnHGLOBAL. * ole/compobj.c: Andreas Mohr Let CoSetState() accept state == NULL. * dlls/shell32/pidl.c, dlls/shell32/pidl.h: Juergen Schmied Made internal format more compatible. * dlls/shell32/shlfolder.c: Juergen Schmied Small fixes. * windows/class.c, windows/dce.c, controls/combo.c: Guy Albertelli Fix locking with proper calls to WIN_ReleaseWndPtr. * multimedia/dsound.c: Ove Kaaven Don't malloc/free for every mixing operation, use the same buffer over instead... * dlls/comctl32/header.c: Chris Morgan James Abbatiello HEADER_InsertItemA and HEADER_InsertItemW now treat null pointers to text strings as null strings, as Windows does. Fixes wine crash on startup of CuteFTP. * misc/registry.c: Noomen Hamza Set (when registry loaded) data to "\0" and length to 2 in empty string value case, in place of setting data to NULL and length to 0, and this is without initializing output buffer parameter of RegQueryValue*. * include/wingdi.h: Huw D M Davies Added Panose defines and EXTLOGFONT[A|W]. Thu Apr 22 16:27:53 1999 Alexandre Julliard * */*: Patrik Stridvall Fixed ANSI compabillity. * multimedia/mciavi.c, multimedia/mcimidi.c, multimedia/mciwave.c, multimedia/midi.c, objects/text.c, windows/caret.c, windows/rect.c, dlls/version/info.c, if1632/thunk.c, include/wine/winuser16.h, memory/atom.c, memory/string.c, misc/lstr.c, multimedia/mcianim.c, controls/uitools.c, dlls/commdlg/finddlg.c, dlls/shell32/brsfolder.c: Michael Veksler Removed some includes of 16 bit API. * dlls/shell32/pidl.c, dlls/shell32/shell32_main.h, include/oleobj.h, include/shlobj.h, dlls/shell32/dataobject.c: Adrian Thurston ICOMization of remaining interfaces. * dlls/comctl32/tooltips.c: Noel Borthwick Fixed bug with tooltips stealing focus whenever a tooltip was created, shown, hidden or tracked. The SetWindowPos calls needed to have the SWP_NOACTIVATE flag set additionally. * objects/clipping.c: Karl Lessard Fixed coordinates conversion in OffsetClipRgn. * include/objbase.h: Adrian Thurston Clean up objbase.h. Makes the STDMETHOD set of macros available to the winelib user. * relay32/kernel32.spec, scheduler/handle.c: Marcus Meissner CreateSocketHandle,GetHandleContext,SetHandleContext stubs added. * dlls/shell32/brsfolder.c, dlls/shell32/iconcache.c, dlls/shell32/regstream.c, dlls/shell32/shell32_main.c, dlls/shell32/shellord.c, include/shell.h, include/shellapi.h, include/shlobj.h: Juergen Schmied Moved stuff to the right place. * windows/syscolor.c: Gerard Patel Fixed syscolors for win 3.1. * files/profile.c, if1632/kernel.spec: Ulrich Weigand Added missing profile KERNEL routines (call 32-bit versions). * if1632/builtin.c: Ulrich Weigand Bugfix: BUILTIN_GetEntryPoint16 didn't work correctly with the new entry table layout. * include/wingdi.h: Huw D M Davies Add Enhanced MetaFile record structures. * dlls/comctl32/commctrl.c, dlls/comctl32/propsheet.c, include/resource.h, resources/sysres_En.rc: Thuy Nguyen First patch implementing property sheets. * relay32/gdi32.spec: Ulrich Weigand Bugfix: GDI32.100-104 are ordinal-only routines. Added stubs for some Win98 GDI32 routine. Re-numbered all named exports (lexicographically). * graphics/driver.c: Ulrich Weigand Added prototypes (stubs) for GDI32.100-104. * dlls/shell32/folders.c, dlls/shell32/iconcache.c, dlls/shell32/pidl.c, dlls/shell32/pidl.h, dlls/shell32/shell32_main.h, dlls/shell32/shelllink.c: Juergen Schmied - more checks for valid pidl formats * relay32/shell32.spec, dlls/shell32/shellord.c, include/shlobj.h: Juergen Schmied - corrected parameter count for SHGetSettings - stub SHValidateUNC * loader/elf.c: Gerald Pfeifer #else branch compile fix. * include/elfdll.h, loader/elfdll.c, loader/loadorder.c: Bertho Stultiens Change wine's dlopen search-patch strategy not using the environment and added #if:s to seperate the code out if libdl isn't availble. * ole/compobj.c: Francis Beaudet Added a check for a NULL pointer in CoFreeUnusedLibraries. * relay32/builtin32.c: Marcus Meissner Include debug.h last (ERR() macro problem on Solaris). * controls/combo.c: Francis Beaudet Fixed a sizing bug in the combobox control. * tools/build.c: Ulrich Weigand Bugfix: Internal NE entry point tables were bad (one huge bundle). * misc/registry.c: Noomen Hamza Initialize the output buffer parameters to 0 in RegQueryValue* functions. This is important specially when there's no data to return. * loader/module.c: Bertho Stultiens Do not increment module refCount if self is loaded from within DllEntryPoint during the attach notification. Wed Apr 21 14:27:37 1999 Alexandre Julliard * controls/menu.c: Juergen Schmied - protect TRACE against NULL-ptr - rewrote GetMenuItemID/GetSubMenu to use MENU_FindItem (hmenu=0xffff fix). * dlls/comctl32/toolbar.c: Juergen Schmied Fixed typo. * loader/ne/module.c: Bertho Stultiens Reimplementation of GetModuleHandle16 according to how win95 handles it (thanks to Marcus Meissner ). * if1632/builtin.c: Bertho Stultiens Corrected wrong return values of built-in loader to work with the loadorder stuff. Mon Apr 19 16:45:24 1999 Alexandre Julliard * graphics/metafiledrv/bitblt.c, graphics/metafiledrv/init.c, include/bitmap.h, include/metafiledrv.h, objects/dib.c, objects/metafile.c: Huw D M Davies Implemented recording of StretchDIBits and SetDIBitsToDevice and playback of SetDIBitsToDevice. Cleaned up PlayMetaFileRecord a bit. * include/elfdll.h, loader/elf.c, loader/elfdll.c, loader/loadorder.c: Bertho Stultiens Removed non-portable hacks and replaced them with more general versions. * windows/dce.c: Paul Millar Code added to re-evaluate stale DC information in DCE cache. * loader/module.c: Bertho Stultiens Attach notifications must be send after all recursive dependencies are loaded and not before. * graphics/x11drv/palette.c: Patrik Stridvall Fixed typo. * multimedia/mcicda.c: Eric Pouech Fixed playing position when required by track number. * win32/device.c: Marcus Meissner Added MMDEVLDR DeviceIoctl(5) stub (msacm32 is a bit happier now). * wine.ini: Marcus Meissner Native toolhelp will not work (missing GLOBALMASTERHANDLE). * BUGS, README: Marcus Meissner Updated. * controls/edit.c: Gerard Patel Test for static was reversed. * */*: Patrik Stridvall New debug scheme with explicit debug channels declaration. Sun Apr 18 14:44:26 1999 Alexandre Julliard * loader/ne/module.c: Removed extra call to TASK_StartTask. * include/acconfig.h, include/config.h.in, configure, configure.in: Removed check for union semun; cleaned up a bit. * include/server.h, server/process.c, server/trace.c, tools/make_requests: Added env ptr to new_process request * relay32/user32.spec, windows/mdi.c, controls/menu.c, include/menu.h, include/winuser.h: Juergen Schmied - use fonts/fontsizes given by SystemParametersInfo - drawing/alignment fixes, win98 style for menubar - ownerdrawn menus are working now for the first time - complete constants magic items - use right owner for popupmenus - new: Get/SetMenuInfo - implemented: Get/SetMenuContextHelpId - more flags for Get/SetMenuItemInfo * files/dos_fs.c: robert w hall Make DOSFS_MatchLong match a search string ending in '*.' to a zero extension file name, allowing Mathcad to run. * loader/loadorder.c: Eric Pouech Fixed memory freeing. * programs/cmdlgtst/Attic/cmdlgr.h, programs/cmdlgtst/cmdlgr.rc, programs/cmdlgtst/cmdlgtst.c, programs/cmdlgtst/cmdlgtst.h: Renamed cmdlgr.h to cmdlgtst.h. * scheduler/critsection.c: Added timeout to critical section waiting. * include/thread.h, scheduler/sysdeps.c: Ulrich Weigand Merged Linux/FreeBSD reentrant errno handler, added Solaris. Preliminary support for Solaris low-level threads (LWPs) added. * configure, configure.in, include/acconfig.h, include/config.h.in: Ulrich Weigand Reentrant libc check for Solaris added. Fixed reentrant X11 check for FreeBSD and Solaris. Added check for Solaris low-level thread routines. * loader/ne/module.c: Fixed toolhelp routines usage in GetModuleFromPath (reported by Bertho Stultiens). * tools/wineinstall: Ove Kaaven Automatic install script, which automatically configures and compiles wine and regapi, runs tools/wineconf to generate a configuration file if one does not already exist, and uses regapi to install the default registry. * documentation/gui, windows/win.c, windows/winpos.c: Eric Pouech Properly handling cases like calling SetWindowPos while processing WM_NCCREATE. * graphics/x11drv/dib.c: Eric Pouech Fixed a few bugs (typos from cut & paste & invalid heap block freeing). * misc/wsprintf.c: Eric Pouech Bug fix in GetLen. * loader/ne/module.c, loader/pe_image.c, memory/global.c, misc/main.c, miscemu/main.c, relay32/builtin32.c, scheduler/process.c, scheduler/thread.c, if1632/builtin.c, include/builtin32.h, include/module.h, include/pe_image.h, include/winerror.h, loader/Makefile.in, loader/elf.c, loader/main.c, loader/module.c: Bertho Stultiens Reorganization of the loader to correctly load and free libraries and implementation of load order to load different types of libraries. * documentation/wine.man: Bertho Stultiens Updated commandline changes of -dll option and wine.conf entries. * wine.ini: Bertho Stultiens Updated the example with the new configuration entries. * dlls/shell32/shell32_main.c: Bertho Stultiens Bugfix: free loaded library not before exit. * include/elfdll.h, include/loadorder.h, loader/elfdll.c, loader/loadorder.c: Bertho Stultiens New files to support load order and partial stubs for elfdlls. * graphics/metafiledrv/objects.c, graphics/x11drv/dib.c, include/bitmap.h, objects/brush.c, objects/cursoricon.c, objects/dib.c: Huw D M Davies Fixes for upside-down DIBs. * graphics/ddraw.c: Lionel Ulmer Changed 'GetDisplayMode' to return the mode previously set by 'SetDisplayMode' (and not the current monitor mode). * include/tab.h, dlls/comctl32/tab.c: Luc Tourangeau -Implemented TCS_BUTTONS, TCS_FIXEDWIDTH, TCM_GETITEMRECT, TCM_SETITEMSIZE and TCM_DELETEITEM. * objects/cursoricon.c: Pavel Roskin LookupIconIdFromDirectoryEx16() fixed: if GetSystemPaletteEntries() returns 0, it is interpreted as if it were 256. * loader/module.c, scheduler/process.c: Kevin Holbrook Fix ambiguous else warning. * windows/syscolor.c: Juergen Schmied Loading color values from the registry fixed. * graphics/ddraw.c: Brian Gerst - Removed all floating point math. - Implemented stretching in X and Y directions for 8, 16, and 32 bit color. - Implemented source and dest color-keying for 8, 16, and 32 bit color. - Implemented some trivial raster operations. - Minimized inner loops for maximum speed. - Use memcpy whenever possible. * multimedia/audio.c: Eric Pouech Reduced fragment size. Reorganized wodOpen (with support for WAVE_QUERY_FORMAT). Fixed buffer underrun recovery. Fixed bug in wodReset()/wodClose(). * ole/storage32.c: Michael Veksler Simplify propertyNameCmp() and fix a warning in the way by removing CRTDLL__wcsupr() calls. * misc/ddeml.c: Keith Matthews DdeNameService: expansion of stub to trap unused instanceids at start of run. DdeGetLastError: catch 'not initialized' situation and return correct response. DdeFreeStringHandle: complete test for error set by previous call of something and ignore it, also release handle table mutex on normal exit. DdeQueryStringA, DdeQueryStringW, DdeCreateStringHandleW: Release handle table mutex on normal exit. * include/wnet.h, misc/network.c: Uwe Bonnes Don't announce the WNetDirectoryNotify capability WNetGetConnection. Change the return value for local files. * windows/mouse.c: Michael Veksler Add "win.h" to fix implicit function declaration warnings. * console/interface.c, include/console.h: Marcus Meissner Only declare console "driver" once, use external refs elsewhere. * controls/listbox.c: Luc Tourangeau When the vertical scrollbar is removed, the background was not properly repainted. * loader/signal.c: Marcus Meissner Disable AC bit on receiving alignment exceptions. * misc/main.c: Juergen Schmied SystemParametersInfo SPI_GETNONCLIENTMETRICS: implemented menu part. * windows/x11drv/event.c: Noel Borthwick While handling the WM_DELETEWINDOW client message check if a window has been disabled and if so prevent an SC_CLOSE message from being sent. * windows/dce.c: Noel Borthwick Make access to the DCE list thread safe by ensuring we have acquired the Windows lock before using it. Fri Apr 16 15:19:14 1999 Alexandre Julliard * resources/.cvsignore: Changed for renamed files * misc/winsock_async.c, msdos/dosconf.c, windows/user.c: Michael Veksler Fixed warnings. * ole/nls/wal.nls, ole/ole2nls.c, resources/Attic/sysres_Cz.rc, resources/Attic/sysres_Po.rc, resources/Attic/sysres_Sw.rc, resources/Makefile.in, resources/sysres.c, resources/sysres_Cs.rc, resources/sysres_Pt.rc, resources/sysres_Sv.rc, resources/sysres_Wa.rc, windows/x11drv/keyboard.c, documentation/wine.man, include/options.h, include/winnls.h, misc/main.c: Pablo Saratxaga Added walon language support (I also moved Cz -> Cs, Sw -> Sv, and Po -> Pt; to conform to standard names for those languages). * configure, configure.in, relay32/Makefile.in: Marcus Meissner Add -fno-builtin when compiling with gcc in relay32/ subdir. * include/module.h, loader/ne/module.c, loader/ne/segment.c, tools/build.c, if1632/builtin.c: Andreas Mohr - Implemented proper ("real", compressed) Win16 entry tables. - Fixed MyAlloc (AKA NE_AllocateSegment). - Implemented PatchCodeHandle16. * tools/Attic/make_os2.sh, tools/make_os2.cmd, graphics/path.c, graphics/psdrv/graphics.c, include/sig_context.h: Robert Pouliot A few patches to help Wine to compile on OS/2. Thu Apr 15 16:46:51 1999 Alexandre Julliard * graphics/metafiledrv/bitblt.c, graphics/metafiledrv/graphics.c, graphics/metafiledrv/init.c, graphics/metafiledrv/mapping.c, graphics/metafiledrv/objects.c, graphics/metafiledrv/text.c, include/metafile.h, include/metafiledrv.h, objects/clipping.c, objects/dc.c, objects/dcvalues.c, objects/metafile.c: Huw D M Davies Change (32 bit) HMETAFILEs to GDI objects (HMETAFILE16s remain as global memory handles). Fixed disk-based MetaFiles. Better separation between MetaFile playback and the metafiledrv. * misc/crtdll.c: Ove Kaaven _CIpow argument order was confirmed with Starcraft v1.05. * documentation/keyboard: Ove Kaaven Clarified a few points. * msdos/int21.c: Bertho Stultiens Added IOCTL function 0x440d/0x72. * relay32/kernel32.spec, scheduler/critsection.c: Bertho Stultiens UnitializeCriticalSection partial stub implementation. * include/winbase.h: Eric Pouech Added missing proto for GetExitCodeThread. * include/driver.h, include/wine/keyboard16.h: Michael Veksler Added missing windef.h includes. * windows/input.c, include/winuser.h: Zygo Blaxell ReleaseCapture() is supposed to return a BOOL value. * configure, configure.in, include/config.h.in, loader/signal.c: Marcus Meissner FreeBSD 3 multithreading final fix. Do not use libc_r, libc is just as reentrant concerning errno. Revert unneeded FreeBSD hack to loader/signal.c from last patch. * windows/x11drv/keyboard.c: Huw D M Davies index == 3 corresponds to Alt-Gr + Shift. * misc/ddeml.c: Keith Matthews More of DdeCreateStringHandleA, DdeFreeStringHAndle, DdeQueryStringA and DdeCreateStringHandleW and tidy up of RemoveHSZNodes, and DdeCreateStringHandleA. * windows/x11drv/main.c, graphics/x11drv/bitblt.c, graphics/x11drv/palette.c, include/x11drv.h: Pavel Roskin Fixed ugly disabled controls and black background in Write and Lotus Notes. * controls/button.c, include/button.h, include/winuser.h: Pascal Lessard Implement the button with bitmaps. * include/wine/obj_storage.h, ole/stg_stream.c, ole/storage32.c: Stephane Lussier Implementation of IStorage::CopyTo and IStream::CopyTo. * loader/task.c: Ulrich Weigand Bugfix: Always release the Win16Lock in TASK_Reschedule. * windows/x11drv/event.c: Francois Boisvert Solved a deadlock between global lock and wnd lock in event.c. * dlls/shell32/iconcache.c: Marcus Meissner Typo that broke Solaris compile fixed. * controls/desktop.c: Francois Boisvert Add a WIN_ReleaseDesktop in DESKTOP_IsSingleWindow. * windows/x11drv/keyboard.c: Guy Albertelli Fix scancodes for NumLock and Num-/. Fix MapVirtualKey() (maptype=2) to return proper ascii code. Reworked GetKeyNameText() again. * graphics/psdrv/font.c: Huw D M Davies Limit lastChar to 0xff in PSDRV_GetCharWidth. * windows/user.c: Marcus Meissner Missing WINAPI for RegisterSystemThread. Sun Apr 11 18:48:17 1999 Alexandre Julliard * msdos/int10.c: Andreas Mohr Fixed "Display Combination" call. * misc/comm.c: Andreas Mohr Fixed a crash due to invalid OpenComm return value for busy comm port. Cleaned up/fixed several things. * windows/win.c: Francois Boisvert Enabled thread safeness for wnd structure code. * debugger/dbg.y: Ulrich Weigand Use CLIENT_DebuggerRequest to freeze/unfreeze threads. * server/request.c, server/thread.c, server/trace.c, include/server.h, include/server/request.h, include/server/thread.h, scheduler/client.c: Ulrich Weigand Added new CLIENT_DebuggerRequest routine, implemented support for DEBUGGER_FREEZE_ALL/DEBUGGER_UNFREEZE_ALL requests. Run wine server in the main wine process. Bugfix: never free initial thread! * scheduler/process.c, include/process.h: Ulrich Weigand Non-functional PROCESS_Suspend/ResumeOtherThreads removed. * windows/timer.c: Ove Kaaven Teached TIMER_GetNextExpiration that a timer that has already expired (but not processed yet) HAS already expired... * winedefault.reg: Ove Kaaven Default values for registry. * graphics/x11drv/dib.c: Karl Lessard Optimized code for SetImageBits_X, making bitmap creation faster. * controls/menu.c: Juergen Schmied The MEASUREITEMSTRUCT and DRAWITEMSTRUCT were filled wrong. * configure.in, include/config.h.in, include/sig_context.h, loader/signal.c, scheduler/sysdeps.c, configure: Marcus Meissner - Started multithreading for FreeBSD (incomplete, but some applications now at least start up again). - Use _thread_sys_sigaction/_thread_sys_sigaltstack. - CR2 on pagefault gets passed in sc_err (some kind of kludge in FreeBSD owns fault handling we can use) * include/selectors.h, memory/global.c, memory/selector.c: Made SELECTOR_ReallocBlock preserve the current selector access rights (problem reported by Andreas Mohr). * misc/system.c: Ulrich Weigand Use services thread instead of timer signals. * server/thread.c, scheduler/synchro.c: Ulrich Weigand Allow user APCs with NULL 'func' (just wake up the thread). * include/services.h, loader/main.c, scheduler/Makefile.in, scheduler/services.c: Ulrich Weigand Implemented 'kernel services thread'. * include/winspool.h, misc/printdrv.c, relay32/winspool.spec: Klaas van Gend Added stub for PrinterProperties. * dlls/ntdll/rtlstr.c, include/ntddk.h, relay32/ntdll.spec, dlls/ntdll/nt.c: Juergen Schmied Implemented NtTerminateProcess and NtDisplayString. * loader/module.c: Bertho Stultiens FreeLibrary partial implementation. * misc/crtdll.c, relay32/crtdll.spec: Ove Kaaven Made _ftol take argument from FPU stack. Starcraft v1.04 (*not* Brood Wars) now works perfectly with Wine's crtdll. Wrote a test implementation of _CIpow too, which those who do have Brood Wars can report on, so it can be implemented correctly. * windows/x11drv/keyboard.c: Guy Albertelli Partial implementation for GetKeyNameText for new keyboard structure. * dlls/tapi32/phone.c: Kevin Holbrook Fixed warning. * include/wine/obj_storage.h: Marcus Meissner Added missing ReadClassStg prototype. * misc/wsprintf.c: Michael Veksler - Fix comments after the big renaming (xxxx32y --> xxxxy). - Declare the WPRINTF_DATA union, and use it instead of LPCVOID and WORD. Avoid ugly type casting, and fix compilation warnings of wsprintf.c * documentation/status/dde: Keith Matthews Status document for DDE/Ddeml. * multimedia/mmsystem.c: Eric Pouech Added event callback mechanism. Introduction of MCI yield procs. Updated (prepare|unprepare)header functions (wave, midi) to allow correct callback mechanisms. Made midiStreamXXX functions working. First try at mmThreadXXX functions. * multimedia/midi.c: Eric Pouech Updated (prepare|unprepare)header functions to allow correct callback mechanisms. * multimedia/mcimidi.c: Eric Pouech Small enhancement. * multimedia/mci.c: Eric Pouech New method for structure conversion (16 <-> 32). More MCI structures correctly mapped. Introduction of MCI yield proc and break facility. * multimedia/audio.c: Eric Pouech Updated (prepare|unprepare)header functions to allow correct callback mechanisms. Implemented waveOut playback as asynchronous. * include/multimedia.h: Eric Pouech Started implementation of mmThreadXXX functions. * include/mmsystem.h: Eric Pouech Added a few missing defines (MIDI, WAVE, callbacks). Structures for midiStreamXXX functions. * if1632/mmsystem.spec: Eric Pouech Updated (prepare|unprepare)header functions (wave, midi) to allow correct callback mechanisms. Added wine specific entry for mmThreadXXX functions thread starting point. * include/wine/obj_storage.h: Michael Veksler Introduce STATSTG16 - a 16 bit variant of STATSTG. * ole/storage.c: Michael Veksler Fix IStorage16_fnStat() to use STATSTG16 (it is a 16 bit interface). * controls/menu.c: Paul Millar Fixed menu type setting in SetMenuItemInfo32_common(). * include/process.h, loader/ne/module.c, loader/task.c, scheduler/process.c, scheduler/thread.c: Ulrich Weigand Send USIG_PROCESS_CREATE signal. Bugfix: GetProcessDword offset -8 should return parent process ID. * relay32/user32.spec, windows/user.c: Bertho Stultiens Added RegisterSystemThread stub. * include/wine/obj_misc.h, ole/compobj.c, relay32/ole32.spec, include/winerror.h: Francis Beaudet Implemented the CoCreateInstanceEx method. * misc/registry.c: David Gay Fixed crash due to a value of name length 0, value length 0 at the end of the registry. * windows/winpos.c: Francois Boisvert Check if pTempActiveWindow in WINPOS_SetWindowPos is valid after the QUEUE_Lock. * multimedia/dplay.c: Francois Gouget - updated because of the splitting of interface/implementation - updated to use ICOM_THIS * include/dplay.h, include/dplobby.h, ole/guid.c: Francois Gouget - use the latest ICOM macros - moved the IDirectPlayLobby interface to dplobby.h - removed all the implementation aspects since they need to be separate * include/dsound.h, multimedia/dsound.c: Francois Gouget ICOMisation of the DirectSound API. * dlls/shell32/folders.c, dlls/shell32/iconcache.c, dlls/shell32/shell32_main.c, dlls/shell32/shell32_main.h, include/shlobj.h: Juergen Schmied - reorganised icon extracing from files - made extracting from ne and ico files working - IPersistFile interface for IExtractIcon * misc/shell.c: Juergen Schmied Fixed buffer overrun. * include/cursoricon.h, objects/cursoricon.c: Juergen Schmied Changed ressource dir structures. Adapted FindBestIccon/FindBestCursor. * windows/syscolor.c: Juergen Schmied Loading the color schema for registry. Sat Apr 10 16:58:55 1999 Alexandre Julliard * include/winsock.h, misc/Attic/winsock_dns.c, misc/Makefile.in, misc/winsock.c, misc/winsock_async.c: Marcus Meissner Reimplemented winsock asynchronous DNS services. No longer use a fork()ed process, but either a service thread or inline blocking calls for non-threading architectures. (Makes Free Agent16 work again.) * programs/cmdlgtst/Attic/cmdlgr.h, programs/cmdlgtst/cmdlgr.rc, programs/cmdlgtst/cmdlgtst.c: - color and font dialogs now actually do something interesting, and force a redraw when successful. Background color is adjustable. Text color is also adjustable, but the user has to set the CF_EFFECTS flag first. - text is output left-right centered, baseline, at the middle of the window, and moves with the window. Text font is adjustable. - Success and failure MessageBox calls for Color, Font, Open, and Save have been removed or suppressed. They annoyed me after awhile, and I suspect they annoyed others, too. Use my tool! :-) - cmdlgtst now has the full pathname in the upper left corner; which may assist in debugging certain problems -- or it may not. :-) - usage dialog added * ole/ole2nls.c: Juergen Schmied Corrected debug output. * windows/driver.c, relay32/winmm.spec: Eric Pouech Better error handling ; a few bug fixes ; now OpenDriver16 can load 32 bit drivers. Added stub for GetDriverFlags. * windows/user.c, relay32/user32.spec: Sergey Turchanov Stubs for CloseDesktop and CloseWindowStation. * loader/ne/module.c: Bertho Stultiens GetModuleFromPath now checks for loaded modules via filenames which were specified without a path. * misc/registry.c, include/winreg.h: Sylvain St.Germain Implementation of HKU key saving and loading. Add new supported data type in debug_print_value. * dlls/shell32/shlview.c, include/docobj.h, ole/guid.c: Juergen Schmied New interfaces for IOleCommandTarget, IDropTarget, IViewObject. Small change how to get icons for listview. * include/shlobj.h, relay32/shell32.spec: Juergen Schmied ILLoadFromString and SHGetSettings implemented. * dlls/shell32/shellord.c: Juergen Schmied SHGetSettings implemented. ExitWindowsDialog() simulated by Messagebox. * dlls/shell32/pidl.c: Juergen Schmied ILLoadFromString implemented. * graphics/x11drv/init.c, graphics/ttydrv/init.c, graphics/ttydrv/palette.c: Richard Mortimer Added missing *IsDark entries into PALETTE_Driver instance initialisation. * windows/x11drv/mouse.c: Brian Gerst Fixed X11DRV_MOUSE_WarpPointer initial value. * objects/bitmap.c: Luc Tourangeau Ensure that the bitmap is properly initialized when created with the LR_CREATEDIBSECTION flag. * dlls/comctl32/treeview.c: Sylvain St.Germain Fixed the messaging problem of the edit box for node label edition. Substituted WM_PAINT for InvalidateRect. Some graphical fixes. * misc/main.c: James Juran Check for drivers==NULL before trying to delete them at exit. This could happen if the emulator initialization failed for some reason and the drivers hadn't been initialized yet. * if1632/thunk.c, include/callback.h, misc/callback.c, miscemu/main.c: Ulrich Weigand Call InitApp16 (using Callout) for initial process. * miscemu/instr.c: Ulrich Weigand Clear invalid selectors also in CallTo16 relay code. * programs/notepad/Es.rc: Jose Marcos López Caravaca Revised Spanish resources. * windows/mdi.c: Gerard Patel Fixed window locking bug in CalcChildScroll. * multimedia/time.c: Ove Kaaven Fixed fake multimedia timers. Grim Fandango is now able to start up when under favorable conditions. The preview movie on the Brood Wars disc now plays, too. * misc/printdrv.c: Klaas van Gend Bugfix EnumPrintersA: lpbPrinters=NULL or cbBuf=0 would crash Wine, instead of returning the right buffersize. Tue Apr 6 07:14:09 1999 Alexandre Julliard * files/directory.c: galberte Fixed SearchPathA return value. * graphics/d3d_private.h, graphics/d3dtexture.c, graphics/ddraw.c, graphics/ddraw_private.h: Lionel Ulmer - clean-up of texture 'loading' - added SetColorKey callback for already loaded textures * include/wine/obj_storage.h: Francois Gouget Fixed a problem pointed out by Kevin Holbrook. * include/commctrl.h: Francois Gouget commctrl.h must include prsht.h. * include/wine/obj_oleaut.h: Francois Gouget Warning fix. * include/wine/obj_base.h: Francois Gouget Added a new implementation of the ICOM macros that use Microsoft style virtual methods to implement the COM interfaces in C++. * misc/ddeml.c: Keith Matthews Correction of Mutex handling in DdeInitializeW for cases other than 1st call. Addition of instance handling to DdeCreateStringHandleA, DdeCreateStringHandleW, RemoveHSZNodes, FreeAndRemoveHSZNodes. 1st cut implementation of DdeUnitialize, move of internal structure defs in from ddeml.h. Removed non-ANSI comment. * include/ddeml.h: Keith Matthews Moved internal structures to ddeml.c, also removed non-ANSI comments, and added spec for DdeQueryConfInfo and DdeQueryConvInfo16. * multimedia/mmsystem.c: Chris Morgan James Abbatiello Fixed memory leaks in mixerOpen16/mixerClose, midiOutOpen16/midiOutClose16, waveInOpen16/waveInClose16, midiInOpen16/midiInClose16. * tools/bug_report.pl: Adam Sacarny Added sanity check for whitespace in file names, various other fixups. Sun Apr 4 12:48:21 1999 Alexandre Julliard * controls/listbox.c: Luc Tourangeau WM_MOUSEMOVE implementation bug fix. * windows/x11drv/keyboard.c: José Marcos López Added Spanish keyboard layout. * misc/comm.c: Lawson Whitney Fixed the modem control part of EscapeCommFunction16. * controls/combo.c: Gerard Patel Added missing goto. * ole/ole2nls.c, relay32/kernel32.spec, include/winnls.h: Marcus Meissner EnumCalendarInfoA stub. Sat Apr 3 16:27:54 1999 Alexandre Julliard * windows/mouse.c, windows/keyboard.c: Francois Boisvert Suspend the window locks before DefKeybEventProc and DefMouseEventProc. * include/wnaspi32.h, programs/view/globals.h, include/aspi.h, include/mmsystem.h, include/winaspi.h, include/winioctl.h, include/winnt.h: Joerg Mayer More #pragma fixes (idea Ove Kaaven, mistakes are mine). * windows/win.c: Eric Pouech No longer sending atoms in ((CREATESTRUCT*)lParam)->lpszName of WM_CREATE messages. * loader/module.c: Marcus Meissner Added some SetLastError()s in GetProcAddress() and LoadLibrary(). * misc/crtdll.c, relay32/crtdll.spec: Christian Schlaile Implemented makepath, rand() returns correct range, fixed fputc. * files/file.c, include/file.h, msdos/int21.c: Mask off unsupported attributes in _lcreat (bug reported by Andreas Mohr). Moved _lcreat16_uniq to int21.c * libtest/hello3.c, libtest/hello3res.rc, libtest/hello4.c, libtest/new.c, libtest/rolex.c, libtest/vartest.c, libtest/volinfo.c: Pavel Roskin Casts to (SEGPTR) removed. They did nothing anyway. Includes added or removed where necessary. Win16 functions replaced with their Win32 counterparts. Comments added where it was impossible. CALLBACK added where necessary. Some declarations fixed. Constructs like "#if WINDOWS" corrected. Using "#ifdef __unix__" instead. DlgProc in hello3 uses EndDialog() instead of DestroyWindow(). Listbox enabled in hello3. * windows/x11drv/keyboard.c: Eric Pouech Updated French keyboard. * libtest/hello.c: Alex Korobka Fancier version of hello.c courtesy of Huw Davies. * programs/control/control.c: Pavel Roskin Fixed compilation of the Control panel. * windows/x11drv/keyboard.c: Ove Kaaven 'Realigned' the layout table a bit. Applied the non-latin-1 stuff and the dead key mapping stuff to the actual mapping code too. Prettied up the fixme message. Added a check where if the keys of two layouts match exactly, the one with the best-matching keycode order is chosen, so that the QWERTY and Dvorak layouts can be distinguished. * win32/device.c, relay32/kernel32.spec: Eric Pouech Added (empty) stub for OpenVxDHandle. * multimedia/mmio.c: Eric Pouech mmioOpen() now handles correctly MMIO_PARSE flag. * controls/edit.c: Luc Tourangeau Background color fix when disabled or read only. * windows/win.c: Francois Boisvert Transfered the window struct memory release from WIN_DestroyWindow to WIN_ReleaseWndPtr. * include/winuser.h: Thuy Nguyen DLGITEMTEMPLATE structure had one too many member. * debugger/db_disasm.c: Eric Pouech Prevent crash in debugger. Fri Apr 2 10:37:42 1999 Alexandre Julliard * controls/combo.c, controls/listbox.c, include/combo.h: Francis Beaudet Implemented the Win95 look and feel. * windows/defwnd.c: Francis Beaudet Wrote a basic implementation of the WM_PRINT message. * windows/dce.c, windows/win.c, windows/winproc.c, misc/callback.c: Francois Boisvert Suspend all windows locks before the control is passed to the application. Also fixed some bugs in dce.c * Make.rules.in, Makefile.in: Joerg Mayer - Remove some old rc make stuff - "make clean" omitted some include subdirs * relay32/ddraw.spec, graphics/ddraw.c: Lionel Ulmer Added DllClassFactory to DirectDraw. Thu Apr 1 12:05:44 1999 Alexandre Julliard * windows/x11drv/keyboard.c: Marcus Meissner Split off keysym/deadchar -> char mapping, use it in DetectLayout. * tsx11/X11_calls, tsx11/ts_xlib.c, windows/clipboard.c, windows/message.c, windows/ttydrv/clipboard.c, windows/ttydrv/init.c, windows/win.c, windows/winpos.c, windows/x11drv/clipboard.c, windows/x11drv/event.c, windows/x11drv/init.c, windows/x11drv/wnd.c, controls/menu.c, graphics/x11drv/bitmap.c, include/clipboard.h, include/ts_xlib.h, include/ttydrv.h, include/win.h, include/winpos.h, include/x11drv.h: Alex Korobka Fixes for ignored WVR_[VH]REDRAW flags, made minimization in managed mode go through window manager, small bugfixes for menu and window code, extended clipboard driver model to handle formats other than text. * controls/edit.c: Pavel Roskin EC_USEFONTINFO means es->char_width/3, not es->char_width. This is true for multiline controls too, as my tests show. * dlls/comctl32/listview.c, include/listview.h: Luc Tourangeau Added support for icon and smallicon views. * loader/dos/dosvm.c: Ove Kaaven Made DOSVM_GetTimer survive EAGAIN errors... * include/comm.h, misc/comm.c: Ove Kaaven Implemented async comm buffers (but probably not bugfree), and along with them, the functionality of async event notifications, mong them EnableCommNotification. Removed a previous hack that was faking the buffers, since we now have real buffers... * include/wine/winuser16.h: Ove Kaaven Added CN_* flags used in WM_COMMNOTIFY. * graphics/ddraw.c: Lionel Ulmer Implement the EnumAttachedSurface method. * ole/ole2.c: Noel Borthwick Implementation for OleCreateMenuDescriptor, OleSetMenuDescriptor and OleDestroyMenuDescriptor along with a bunch of internally used methods and data structures. * ole/guid.c, include/initguid.h, include/shlguid.h, include/wine/obj_olefont.h, include/wtypes.h: Adrian Thurston initguid.h should only contain the macro that defines the guids. Added olectl.h to guid.c so some needed guids get defined. Made GUID_NULL an actual guid set to 0,0,0... * if1632/gdi.spec, objects/gdiobj.c: Ulrich Weigand Added GdiSignalProc() stub. * misc/callback.c, relay32/user32.spec, windows/user.c, if1632/thunk.c, if1632/user.spec, include/callback.h, include/task.h, include/user.h, loader/main.c: Ulrich Weigand Added USER32.UserSignalProc to Callout table. Implemented built-in UserSignalProc(). Don't announce Win3.1-style USER handler any more. * win32/ordinals.c, include/process.h, loader/ne/module.c, loader/ne/segment.c, loader/task.c, scheduler/process.c, scheduler/thread.c: Ulrich Weigand Implemented PROCESS_CallUserSignalProc(). Send USER signals at various appropriate places. Moved [GS]etProcessDword() to scheduler/process.c. * dlls/shell32/Makefile.in, dlls/shell32/brsfolder.c, dlls/shell32/pidl.c, dlls/shell32/shelllink.c, dlls/shell32/shlmenu.c, include/shlobj.h, relay32/shell32.spec: Juergen Schmied All 19 FileMenu_* functions, some as stubs, some implemented. * dlls/shell32/shellole.c, dlls/shell32/shellord.c: Juergen Schmied SHCLSIDFromString, StrToOleStr implemented. RLBuildListOfPaths stub. * dlls/shell32/shell32_main.c, dlls/shell32/shell32_main.h: Juergen Schmied DllGetVersion (not yet exported). Small change to SHAppBarMessage. * relay32/winmm.spec: Eric Pouech Added DrvClose, DrvDefDriverProc, DrvOpen, DrvOpenA, DrvSendMessage. * if1632/mmsystem.spec: Eric Pouech Added StackEnter() and StackLeave() stubs * multimedia/mci.c, multimedia/mmsystem.c: Eric Pouech Starting implementation of MCI creator tasks Fixed bug in MCI_OPEN handling (thanks to Adam for reporting this one) Better implementation of mmTaskCreate16 * include/multimedia.h: Eric Pouech Added creator task to MCI struct. * dlls/commdlg/filedlg.c: Pavel Roskin Replaced 0xC000 by symbolic constants. * dlls/comctl32/imagelist.c: Francis Beaudet Fixed small ==, != mixup. * windows/defdlg.c, windows/defwnd.c: Luc Tourangeau Implemented WM_NOTIFYFORMAT. * loader/elf.c: Marcus Meissner "foo" was not translated to "foo.so" in elf loader. * include/bitmap.h, objects/bitmap.c: Ulrich Weigand LoadBitmap16()/LoadImage16() calling sequence simplified. * loader/module.c, loader/ne/resource.c, misc/callback.c, if1632/wprocs.spec: Ulrich Weigand Allow NULL NE resource handler; call the default handler directly. Removed WPROCS / Callbacks support for WineLib resource handlers. * include/process.h, relay32/utthunk.c: Ulrich Weigand Made Universal Thunk list per-process, not system global. * include/commctrl.h: Paul Quinn Additional macro definitions. * dlls/comctl32/tab.c: Francis Beaudet Implemented TCM_ADJUSTRECT. * msdos/int09.c, msdos/ioports.c: Michael Veksler Removed "implicit declaration" warnings. * graphics/d3d_private.h: Lionel Ulmer Fixed OpenGL devices implementation. * windows/queue.c: Eric Pouech In UserYield16, when current thread is a 32 bit one which hold the Win16Lock, must take care of a LockCount > 1. * */*.c: Patrik Stridvall More code moved to the X11 driver (bitmap and palette and misc). ---------------------------------------------------------------- Sun Mar 28 15:20:00 1999 Alexandre Julliard * include/winbase.h, include/wingdi.h: Huw D M Davies Move DM* defines from winbase.h -> wingdi.h. * graphics/ddraw.c: Lionel Ulmer Fixed QueryInterface functions for IDirect3D 1 and 2. * ole/nls/Attic/dnk.nls: Apparently no longer needed. * controls/menu.c, controls/uitools.c, dlls/comctl32/comboex.c, graphics/x11drv/brush.c, graphics/x11drv/graphics.c, include/debug.h, include/debugdefs.h, memory/global.c, misc/ddeml.c, windows/x11drv/event.c: Dimitrie O. Paun Changed some debug messages from one channel to another, to clean up a bit the debug channel usage. * loader/module.c: Jess Haas Fixed CreateProcessA so it can handle commandlines with arguments and no .exe. * loader/ne/module.c: Jess Haas Fixed GetModuleHandle16. * windows/x11drv/keyboard.c: Pavel Roskin Added Russian keyboard support. * include/winuser.h, relay32/user32.spec, windows/user.c: Lionel Ulmer Added stub for SetSystemCursor. * win32/file.c: Steffen Moeller SetFileAttributesA: "implemented" setting of directory flag as test of compatibility. * windows/x11drv/keyboard.c: Pavel Roskin Changes in X11DRV_KEYBOARD_DetectLayout in order to implement Russian keyboard support. * include/wine/obj_storage.h, ole/Makefile.in, ole/ole2.c, ole/ole2stubs.c, ole/storage.c, ole/variant.c, relay32/ole32.spec, relay32/oleaut32.spec, relay32/user32.spec, windows/input.c, include/ole2.h, include/oleauto.h, include/olectl.h, include/winuser.h: Paul Quinn Aaron Barnes Adrian Thurston Bundle of new stubs. * misc/crtdll.c, misc/ddeml.c, ole/ole2disp.c: Andreas Mohr Added missing WINAPIs. * relay32/kernel32.spec, win32/newfns.c: Andreas Mohr Added CreateIoCompletionPort stub. * windows/queue.c, windows/message.c: Ulrich Weigand Call EVENT_Pending() to flush X11 output queue before blocking in MsgWaitForMultipleObjects(). Don't call EVENT_WaitNetEvent in MSG_PeekHardwareMsg. Protect system queue access in hardware_event(). * windows/user.c, windows/win.c, windows/winpos.c, windows/x11drv/event.c, windows/x11drv/wnd.c, controls/menu.c, windows/dce.c, windows/dialog.c, windows/focus.c, windows/mdi.c, windows/message.c, windows/nonclient.c: Francois Boisvert Fixed some bugs in thread safeness for wnd struct. * libtest/Makefile.in, libtest/hello3.c, libtest/hello3res.rc: Pavel Roskin Made libtest/hello3 work again, now with Windows-compatible resource loading. * include/imm.h, include/mmsystem.h, include/msacm.h, include/windef.h, include/wtypes.h: Jiuming Luo Moved macro DECLARE_HANDLE() (in msacm.h and wtypes.h) to windef.h, then deleted the duplicated typedefs (in imm.h and mmsystem.h). * misc/printdrv.c: Klaas van Gend Rewrote EnumPrintersA, added CriticalSection around Registry reads and implemented PRINTER_INFO_2 request. * windows/x11drv/keyboard.c: Jonathan Naylor Added Swiss German keyboard layout. * dlls/shell32/contmenu.c, dlls/shell32/dataobject.c, dlls/shell32/folders.c, dlls/shell32/iconcache.c, dlls/shell32/pidl.c, dlls/shell32/shell32_main.h, dlls/shell32/shlview.c: Juergen Schmied - adjusted printing of refcounts to be equal - cleaning up icon cache on PROCESS_DETACH - fixed ascii/unicode use in SH/ILCreateFromPath - fixed small memory leak in shellview * loader/dos/dosvm.c: Marcus Meissner Empty DOSVM_QueueEvent for !MZ_SUPPORTED. * programs/cmdlgtst/cmdlgtst.c: Pavel Roskin Fixed warnings. * include/commdlg.h: Pavel Roskin Changed CHOOSECOLOR[AW].Flags from UINT to DWORD. * windows/painting.c, windows/scroll.c, windows/ttydrv/init.c, windows/ttydrv/wnd.c, windows/win.c, windows/winpos.c, windows/x11drv/event.c, windows/x11drv/init.c, windows/x11drv/wnd.c, controls/menu.c, include/region.h, include/ts_xf86vmode.h, include/ts_xutil.h, include/ttydrv.h, include/win.h, include/x11drv.h, objects/region.c, tools/make_X11wrappers, tsx11/X11_calls, tsx11/ts_xf86vmode.c, tsx11/ts_xutil.c, windows/dce.c, windows/nonclient.c: Alex Korobka Moved hrgnUpdate from client to window coordinates, made nonclient painting depend on the update region, reworked SetWindowPos() and RedrawWindow() to speed up update region calculation, made -desktop work properly, added WM_CANCELMODE here and there, fixed several window activation bugs that crept in since the last time. * windows/message.c: Alex Korobka Fixed occasional loss of SendMessage() return value. * graphics/ddraw.c: Lionel Ulmer Added initialisation of the pixmap_depth field in Xlib_DirectDrawCreate. * msdos/ioports.c: Jess Haas Fixed a warning. * msdos/int2f.c: Jess Haas Added stub for int2f 4b. * multimedia/mmsystem.c: Chris Morgan James Abbatiello Fixed memory leak in waveOutOpen/waveOutClose. * graphics/psdrv/escape.c: Huw D M Davies More Escapes for the PostScript driver. Sat Mar 27 16:56:13 1999 Alexandre Julliard * graphics/d3dcommon.c, graphics/d3ddevices.c, graphics/d3dexecutebuffer.c, graphics/d3dlight.c, graphics/d3dmaterial.c, graphics/d3dtexture.c, graphics/d3dviewport.c, graphics/ddraw.c: Francois Gouget Adapted to the interface/implementation separation. Now uses ICOM_THIS to access the implementation structures. Replaced 'this' with 'This' for ICOM_THIS. Direct access to the virtual table has been eliminated too. * graphics/d3d_private.h, graphics/ddraw_private.h: Francois Gouget Updated to include all the implementation aspects that were previously in the public includes. * graphics/vga.c: Francois Gouget Removed direct access to the virtual table * include/d3d.h, include/ddraw.h: Francois Gouget Removed all implementation aspects. Modified to use the latest ICOM macros. Added the macros for use in C. Added the method parameter names (when I had them). * include/module.h, include/pe_image.h, include/thread.h, loader/module.c, loader/pe_image.c, scheduler/process.c, scheduler/thread.c: Ulrich Weigand Fixed sequence of DLL_PROCESS_DETACH notification calls. Moved PE_MODREF flags to WINE_MODREF level. Better handling of LoadLibraryEx flags. PE_InitTls() changed to work only on the current thread. * include/server.h, scheduler/process.c, server/trace.c: Added cmd line in new_process request. * scheduler/thread.c: Ulrich Weigand All threads created with CreateThread are 32-bit threads. * dlls/shell32/Makefile.in, dlls/shell32/regstream.c, dlls/shell32/shellord.c: Juergen Schmied Reading of binary streams implemented (SHOpenRegStream). * msdos/int25.c, msdos/int26.c: Andreas Mohr Fixed int25 & int26 error code. * loader/task.c, windows/queue.c: Ulrich Weigand Allow UserYield16 to be called from 32-bit thread. * include/oledlg.h, include/winbase.h: Albert Den Hann Additional macro definitions. * graphics/x11drv/bitmap.c, include/bitmap.h, objects/bitmap.c: Huw D M Davies Fixed {S|G}etBitmapBits in x11drv. Removed BITMAP_GetPadding. * objects/metafile.c: Huw D M Davies Fixed metafile recording of CreatePatternBrush. Thu Mar 25 16:42:28 1999 Alexandre Julliard * dlls/comctl32/imagelist.c, dlls/comctl32/toolbar.c, include/commctrl.h, include/toolbar.h, dlls/comctl32/commctrl.c: Pascal Lessard Change the AddBitmap function. Implement flat toolbar. Change CreateToolbarEx. Implement partially the hot buttons for toolbar. * msdos/int16.c: Andreas Mohr Implemented Get Shift Flags function. * dlls/comctl32/treeview.c: Marcus Meissner Missing WINAPI. * graphics/painting.c: David Luyer Changed stdlib.h to string.h. * dlls/ntdll/time.c: David Luyer Added string.h. * misc/ddeml.c, multimedia/msvideo.c, ole/safearray.c, programs/avitools/aviinfo.c, programs/avitools/aviplay.c, programs/avitools/icinfo.c, win32/console.c: David Luyer Changed "strings.h" to "string.h". * graphics/x11drv/bitblt.c, windows/nonclient.c: Randy Weems Fixed off-by-one error if bitblt width or height is negative. * dlls/comctl32/tab.c, include/tab.h: Francis Beaudet Implemented: - showing the selected tab as highlighted - support for drawing the focus rectangle - basic keyboard support - support for a tab with horizontal scrolling. * files/profile.c: Eric Pouech Thread-safe implementation of profile functions (Windows and Wine). * include/message.h, loader/main.c, windows/timer.c: Stephane Lussier Made the timer code thread safe. * windows/dialog.c: Francis Beaudet Fixed possible endless loop. * controls/listbox.c: Francis Beaudet Fixed LB_GETCURSEL message to return LB_ERR on empty list. * dlls/shell32/shell32_main.h, dlls/shell32/shellole.c, dlls/shell32/shlfolder.c, dlls/shell32/shlview.c, include/shlguid.h, include/shlobj.h, include/wine/obj_base.h, include/wine/obj_commdlgbrowser.h, include/wine/obj_contextmenu.h, include/wine/obj_dockingwindowframe.h, include/wine/obj_extracticon.h, include/wine/obj_shellbrowser.h, include/wine/obj_shellextinit.h, include/wine/obj_shellfolder.h, include/wine/obj_shellview.h, dlls/shell32/brsfolder.c, dlls/shell32/contmenu.c, dlls/shell32/folders.c, dlls/shell32/shell32_main.c: Juergen Schmied Use the new header for COM definitions. * dlls/shell32/shellord.c, relay32/shell32.spec: Juergen Schmied New stub shell_654. * include/treeview.h, dlls/comctl32/treeview.c: Sylvain St.Germain Implementation of TVM_SORTCHILDRENCB. Implementation of TVI_SORT insertion. Fix display problem when TVIF_IMAGE|TVIF_SELECTEDIMAGE were not set. Fix problems related to TVIS_EXPANDEDONCE. * dlls/comctl32/comctl32undoc.c: Sylvain St.Germain Fix problem in DPA_QuickSort where the sort order was inverted. * include/dosexe.h, include/winbase.h, loader/dos/dosvm.c, loader/dos/module.c: Ove Kaaven Added infrastructure and definitions for general-purpose event and IRQ handling for the Wine dos box. Removed the obsolete MZ_Tick. Added event message loop, message handling, CLI/STI handling, and minimal PIC support. * loader/dos/dosmod.c: Ove Kaaven Added handling of SIGUSR2 for the new event interruption handling, bumping up the protocol revision. Made some debug messages not be output when it's not necessary. * msdos/ioports.c: Ove Kaaven Added port 0x60 for int 0x09, and port 0x20 for PIC handling. * include/miscemu.h, msdos/Makefile.in, msdos/interrupts.c: Ove Kaaven Added int 0x09 and int 0x33. * msdos/int33.c: Ove Kaaven Implemented a int 0x33 handler, with a minimal implementation of the mouse routines, including callbacks. * msdos/int09.c: Ove Kaaven Implemented a int 0x09 handler, and a scancode queue that simulates IRQ 1 in the dos box. * include/docobj.h: Paul Quinn Creation of docobj.h. * objects/dib.c: Huw D M Davies Allow depth of DIB to differ from depth of bitmap in GetDIBits. Wed Mar 24 15:07:20 1999 Alexandre Julliard * debugger/editline.c: Abort on input error. * include/oledlg.h: Adrian Thurston Population of oledlg. * windows/x11drv/event.c, windows/painting.c: Ulrich Weigand Add IsWindow() checks after SendMessage() returns. * msdos/int10.c: Jess Haas Fixed a small bug in int10. * controls/combo.c: Pascal Lessard COMBO_Size: maintain the height of the RectCombo when the window is resized. * include/hook.h, include/winuser.h: Adrian Thurston Paul Quinn Added various definitions. Moved CWPSTRUCT from hook.h to winuser.h to conform to the SDK. * include/windef.h: Jim Aston Added a few empty macros. * include/cursoricon.h, objects/cursoricon.c: Marcus Meissner CURSORICON_Destroy: missing WINAPI added. * misc/winsock.c: Marcus Meissner Added translation for SO_RCVTIMEO (as seen by IE4). Tue Mar 23 17:04:10 1999 Alexandre Julliard * server/process.c: Create startup info for the initial process. * include/server.h, scheduler/client.c, scheduler/process.c, scheduler/sysdeps.c, scheduler/thread.c, server/request.c, server/trace.c: Added server pid and tid in init_thread request, and use them in CLIENT_InitThread. * include/compobj.h, include/objbase.h, include/ole2.h, include/wine/obj_base.h, include/wine/obj_inplace.h, include/wine/obj_moniker.h, include/winerror.h, include/wtypes.h, ole/Makefile.in, ole/antimoniker.c, ole/bindctx.c, ole/compobj.c, ole/compositemoniker.c, ole/filemoniker.c, ole/itemmoniker.c, ole/moniker.c, ole/storage32.c, relay32/ole32.spec: Noomen Hamza Implemented: - IMoniker interface for FileMoniker,ItemMoniker,AntiMoniker and GenericCompositeMoniker - IRunningObjectTable interface, and - IBindCtx interface. * graphics/psdrv/bitmap.c, graphics/psdrv/ps.c, include/psdrv.h: Huw D M Davies Added StretchDIBits for the PostScript driver. * include/miscemu.h: Ove Kaaven Added missing ending pragma pack. * misc/comm.c: Rein Klazes Corrected small bug in GetCommState16. Parity check can be disabled even when a parity bit is used. SetCommState16() can override baudrate setting in wine.conf. Mon Mar 22 17:47:36 1999 Alexandre Julliard * loader/module.c: Ulrich Weigand Bugfix: cope with quoted arguments for CreateProcess(). * loader/resource.c: Ulrich Weigand Fixed typo in SizeofResource(). * memory/string.c: Andreas Mohr lstrcpyA can't use strcpy. * relay32/builtin32.c, if1632/builtin.c, include/module.h, misc/main.c, miscemu/main.c: Marcus Meissner Added -dll option for winelib programs. (Note: will not print warnings on failure currently). * relay32/ntdll.spec: Andreas Mohr Added strlwr. * loader/pe_image.c, msdos/int21.c: Andreas Mohr Cosmetics. * if1632/mmsystem.spec, relay32/winmm.spec: Eric Pouech Added new stubs (mmTaskXXX, mmThreadXXX, mciExecute). * multimedia/mmsystem.c: Eric Pouech Started calling mixer as a 32 bit low level driver (no longer 16 bit) Added support for yield proc in mci struct Added mmTaskXXX16 and mmThreadXXX16 functions Refreshed implementation of 16 bit native & asynchronous MCI driver command (through mmtask.tsk). * multimedia/mixer.c: Eric Pouech Fixed a few bugs. Started implementing mixerMessage as a 32 bit function (no longer 16 bit). * multimedia/mcistring.c: Eric Pouech Implemented mciExecute. * include/multimedia.h, multimedia/mci.c: Eric Pouech Added yield proc members to mci struct. * include/mmsystem.h: Eric Pouech Added mixer specfic error codes, fixed type in function name. * windows/driver.c: Eric Pouech Fixed return codes for default driver proc. * controls/listbox.c: Lawson Whitney Made LB_GETCURSEL return focus_item if no item has been selected. * windows/x11drv/keyboard.c: Kalevi J Hautaniemi Added Finnish keyboard layout. * misc/main.c, windows/x11drv/clipboard.c, windows/x11drv/keyboard.c, graphics/wing.c, graphics/x11drv/xfont.c, include/wine/winuser16.h, include/winuser.h, include/x11drv.h: Veksler Michael Removed winuser16.h from x11drv.h. * include/winspool.h, misc/printdrv.c: Klaas van Gend Implementation of EnumPrintersA, info level 4 and 5. * tools/bug_report.pl: Adam Sacarny Check if the build is stripped, and die if it is. Check for Bash 2.0, and if so use different STDERR->STDOUT redirctor (thanks Ryan Cumming!). * windows/mdi.c: Veksler Michael Fixed "reached end of non void..." warnings. * documentation/debugging: Marcus Meissner MessageBox32A -> MessageBoxA * loader/module.c, relay32/kernel32.spec: Sergey Turchanov Implementation for FreeLibraryAndExitThread. Made GetBinaryType = GetBinaryTypeA. * include/task.h, loader/task.c, scheduler/process.c, scheduler/thread.c: Ulrich Weigand Run Win32 processes in their own threads. Process exit sequence adapted. Sun Mar 21 19:26:26 1999 Alexandre Julliard * scheduler/sysdeps.c, scheduler/thread.c, include/thread.h, loader/module.c, scheduler/client.c, scheduler/process.c: Changed process initialisation to use the new server requests. Started to move the process init to the right context, not finished yet. * include/server/object.h, include/server/process.h, include/server/request.h, include/server/thread.h, server/main.c, server/process.c, server/request.c, server/socket.c, server/thread.c, server/trace.c, include/server.h: Added new_process and init_process request. Split out process creation from thread creation. Changed server initialisation to ensure that we always have a current thread. * windows/x11drv/keyboard.c: Robert Pouliot One small error corrected and the 102th key... * misc/comm.c, include/comm.h: Ove Kaaven Made commerror and eventmask local to each port (for win16), made the win16 routines use port indices instead of UNIX fds (this should make some Visual Basic stuff and similar garbage start working), moved some stuff around (win16 routines at top of file, win32 routines at bottom), made a couple of win32 routines use win32 handles, and added a few hints as to how to implement asynchronous buffers, based on which EnableCommNotification can eventually be implemented. * include/winuser.h: Ove Kaaven Fixed prototypes of a couple of comm routines. * loader/ne/module.c: Andreas Mohr Fixed typo. * windows/win.c: Francis Beaudet Clear update region before WM_NCDESTROY. * include/heap.h, memory/heap.c, relay32/utthunk.c, windows/queue.c: Got rid of SYSTEM_LOCK macros. Sat Mar 20 07:18:26 1999 Alexandre Julliard * misc/main.c: No longer need to delete system heap critical section. Fri Mar 19 17:04:25 1999 Alexandre Julliard * dlls/shell32/shell32_main.c: Francis Beaudet Added a check for desktop in SHGetFileInfo. * multimedia/mci.c: Eric Pouech Fixed some bugs in MCI message mapping (32A => 16). * windows/win.c: Pavel Roskin Fixed WIN_SendDestroyMsg. * include/winsock.h: Pavel Roskin Removed definitions for FIONREAD and FIONBIO. * windows/driver.c: Eric Pouech Fixes some return values for DefDriverProc. * programs/regapi/regFixer.pl: Sylvain St.Germain Removed the chop command that was there to get rid of dos ^M. The script now process only unix file format. * windows/dialog.c: Andreas Mohr Hide dialog windows created by CreateDialog* in EndDialog just as Windows does. * ole/variant.c: Stephane Lussier Set type of destination variant in VariantChangeTypeEx function. * windows/x11drv/keyboard.c: Bertho Stultiens Fixed Danish keyboard layout. Thu Mar 18 17:39:58 1999 Alexandre Julliard * ole/itemmoniker.c, ole/ole2.c, ole/olefont.c, windows/dinput.c, windows/input.c, windows/keyboard.c, windows/message.c, windows/painting.c, windows/queue.c, windows/syscolor.c, windows/sysmetrics.c, windows/user.c, dlls/shell32/iconcache.c, files/dos_fs.c, graphics/ddraw.c, graphics/fontengine.c, include/win.h, loader/main.c, loader/resource.c, misc/lzexpand.c, misc/registry.c, msdos/int10.c, multimedia/init.c, objects/enhmetafile.c: Marcus Meissner Lots of warning fixed, one missing WINAPI in ddraw.c added. * dlls/comctl32/treeview.c: Sylvain St.Germain Implements +/-, PgUp/PgDown, Home/End, Left/Right, Up/Down. * relay32/msvfw32.spec: Marcus Meissner msvfw32.spec brought up to date (forgot it in last msvfw32 patch). * relay32/kernel32.spec, misc/toolhelp.c: Marcus Meissner Added Module32* stubs. Wed Mar 17 15:54:44 1999 Alexandre Julliard * windows/x11drv/keyboard.c: Bruno Afonso Added Portuguese keytable. * windows/x11drv/keyboard.c: Robert Pouliot Added Canadian French keyboard layout. * windows/x11drv/keyboard.c: Huw D M Davies Added UK keyboard layout. * msdos/int10.c, msdos/int16.c, msdos/int21.c, msdos/int2f.c: Fixed/implemented various interrupt functions. * controls/menu.c, dlls/shell32/dataobject.c, dlls/shell32/shlfolder.c, graphics/metafiledrv/text.c, include/winioctl.h, win32/kernel32.c: Marcus Meissner Fixed some warnings. removed some unneccessary includes, removed one direct WND* access in controls/menu.c. * windows/win.c: Francis Beaudet Implemented a more defensive version of WIN_SendDestroyMsg. * include/Makefile.in: Alexander V. Lukyanov Install headers from $(SRCDIR). * include/wine/obj_base.h: Francois Gouget Removed the obsolete ICOM macros. * include/vfw.h: Francois Gouget Moved the APIs closer to the corresponding COM interface, removed two duplicates and added 2-3 macros for A/W APIs. * msdos/int15.c: Added some stubs for int15 functions. * windows/message.c, windows/queue.c: Ulrich Weigand Inter-thread SendMessage() bugfixes: - Insert new message to be received at the *end* of the SM_PENDING_LIST. - Do *not* process received messages in ReplyMessage(). - Clear the QS_SMRESULT flag only immediatedly before waiting. * ole/storage32.c: Thuy Nguyen Return error if not a valid OLE compound file. * dlls/version/install.c: Douglas Ridgway Fix crash if lpuCurDirLen or lpuDestDirLen==0. * misc/cdrom.c: Marcus Meissner Make cdrom.c compile on FreeBSD (FreeBSD does not seem to have *SEEK, strange). Tue Mar 16 16:29:26 1999 Alexandre Julliard * include/dosexe.h, include/module.h, include/pe_image.h, loader/dos/module.c, loader/module.c, loader/ne/module.c, loader/pe_image.c: Ulrich Weigand Pass CreateProcess() SECURITY_ATTRIBUTES through to PROCESS_Create(). * include/process.h, include/thread.h, scheduler/process.c, scheduler/thread.c: Ulrich Weigand Pass new arguments (suspend/inherit) to the server. * include/server.h, include/server/thread.h, scheduler/client.c, server/request.c, server/thread.c, server/trace.c: Ulrich Weigand Handle suspend/resume_thread requests in phase STARTING correctly. Set initial suspend count for threads created with CREATE_SUSPENDED. Set 'inheritable' flag for process/thread handles. * dlls/comctl32/monthcal.c, dlls/comctl32/nativefont.c, dlls/comctl32/pager.c, dlls/comctl32/progress.c, dlls/comctl32/propsheet.c, dlls/comctl32/rebar.c, dlls/comctl32/status.c, dlls/comctl32/tab.c, dlls/comctl32/toolbar.c, dlls/comctl32/tooltips.c, dlls/comctl32/trackbar.c, dlls/comctl32/treeview.c, dlls/comctl32/updown.c, dlls/comctl32/animate.c, dlls/comctl32/comboex.c, dlls/comctl32/commctrl.c, dlls/comctl32/datetime.c, dlls/comctl32/flatsb.c, dlls/comctl32/header.c, dlls/comctl32/hotkey.c, dlls/comctl32/ipaddress.c, dlls/comctl32/listview.c: Marcus Meissner Removed no longer necessary win.h include, added now necessary other includes (win.h used only by UPDOWN now). * misc/comm.c: Marcus Meissner debug.h must be last, or we get ERR() macro problems again. * dlls/comctl32/tooltips.c: Francis Beaudet Fixed a slight bug that was included in the change from WND ptr to hwnd last week. * loader/main.c, misc/callback.c: Ulrich Weigand Fix compiler warnings. * dlls/comctl32/imagelist.c, dlls/comctl32/treeview.c, include/treeview.h: Sylvain St.Germain Fixed some graphical problems of the treeview and added support LMB click on +/- sign to open and close. Fixed a bug in imagelist where the last image could not be displayed. * windows/x11drv/event.c: Ulrich Weigand Avoid unnecessary error messages. * windows/hook.c: Ulrich Weigand Ignore HIWORD of boolean return values of 16-bit hook procedures, to match buggy Windows behaviour. * graphics/ddraw.c: Lionel Ulmer Corrected bug in enumeration function. * windows/win.c: Pavel Roskin Fixed bug introduced in WIN_FindWindow. * dlls/comctl32/tab.c: Thuy Nguyen 0 is a valid index for a tab item. CreateSolidBrush takes a COLORREF as a parameter. Tab controls were always displayed in the top left corner. Mon Mar 15 16:15:17 1999 Alexandre Julliard * include/wine/obj_dragdrop.h, include/wine/obj_inplace.h: Francois Gouget Updated the interfaces to use the latest ICOM macros. * documentation/status/multimedia: Eric Pouech Updated. * if1632/mmsystem.spec, include/mmsystem.h, include/multimedia.h, multimedia/Makefile.in, multimedia/mci.c, multimedia/mcistring.c, multimedia/mmsystem.c, relay32/winmm.spec: Eric Pouech Moved all MCI internal functions/variables/macros to mci.c. Changed some interface names. * include/digitalv.h, multimedia/mciavi.c: Eric Pouech Make use of digitalv.h file. * multimedia/init.c: Eric Pouech Changed how list of loadable MCI drivers is obtained. * documentation/keyboard: Ove Kaaven Describes in newbie terms how to add new keyboard layouts. * windows/x11drv/keyboard.c: Ove Kaaven Better comments, and added ANSI codepages in table. US keyboard contributed by Uwe Bonnes. French keyboard contributed by Eric Pouech. German keyboard contributed by Ulrich Weigand. Danish keyboard contributed by Bertho Stultiens. * dlls/commdlg/colordlg.c, dlls/commdlg/filedlg.c, dlls/commdlg/finddlg.c, dlls/commdlg/fontdlg.c, dlls/commdlg/generic.c, dlls/commdlg/printdlg.c, include/commdlg.h: Klaas van Gend - Reimplementation of the CommDlg ExtendedError mechanism using TLS. - Some header inclusion cleanup. * multimedia/mcimidi.c, multimedia/mciwave.c, multimedia/mmio.c: Eric Pouech Cosmetic fixes. * multimedia/mcicda.c: Eric Pouech Makes use of new CDAUDIO_Seek() function. * msdos/int2f.c: Eric Pouech Various fixes for MSCDEX traps. * misc/cdrom.c, include/cdrom.h: Eric Pouech Added new function CDAUDIO_Seek(). * include/driver.h, windows/driver.c: Eric Pouech Better 16/32 bit driver messages mapping and handling. Better protection against bad handles. * include/peexe.h, loader/resource.c: Marcus Meissner Use MESSAGE_RESOURCE_* defines from SDK headers, updated LoadMessage* code. * include/Makefile.in: Niels Kristian Bech Jensen Fixed make install. ---------------------------------------------------------------- Sun Mar 14 17:25:33 1999 Alexandre Julliard * include/win.h, ipc/dde_proc.c, misc/spy.c, windows/class.c, windows/dce.c, windows/defdlg.c, windows/defwnd.c, windows/dialog.c, windows/dinput.c, windows/focus.c, windows/input.c, windows/mdi.c, windows/nonclient.c, windows/painting.c, windows/property.c, windows/queue.c, windows/scroll.c, windows/win.c, windows/winpos.c, windows/winproc.c, windows/x11drv/clipboard.c, windows/x11drv/event.c, windows/x11drv/mouse.c, windows/x11drv/wnd.c, controls/button.c, controls/combo.c, controls/desktop.c, controls/edit.c, controls/icontitle.c, controls/listbox.c, controls/menu.c, controls/scroll.c, controls/static.c, dlls/comctl32/updown.c, graphics/ddraw.c, if1632/thunk.c: Francois Boisvert Made access to the wnd struct thread-safe. * */*: Jim Aston Renamed wintypes.h to windef.h. * memory/heap.c: Make the system heap critical section global. * Make.rules.in: Fixed Makefile up-to-date check to avoid relinking all the object files. * windows/dinput.c: Patrik Stridvall Reimplemented some code without using X11. * graphics/ddraw.c, relay32/ddraw.spec: Patrik Stridvall Added functions DirectDrawEnumerateW and DirectDrawEnumerateExW. * include/peexe.h, loader/pe_image.c: Theodore S. Hetke Added tracing for delayed imports and removed the fixme. * files/dos_fs.c: Peter Ganten Better implementation of GetShortPathNameA/W. * misc/registry.c, wine.ini: Nathan Zorich Allow the file names and paths for the registry files (user.reg and system.reg) to be specified in a [Registry] section of wine.ini or other config file. * memory/string.c: Gerard Patel Fix OemToAnsiBuff for real Win31 behavior. * windows/x11drv/keyboard.c: Ove Kaaven First attempt at supporting different keyboard layouts with their correct scancode mapping. * configure, configure.in, programs/Makefile.in, programs/regapi/.cvsignore, programs/regapi/Makefile.in, programs/regapi/README, programs/regapi/regFixer.pl, programs/regapi/regRestorer.pl, programs/regapi/regSet.sh, programs/regapi/regapi.c: Sylvain St.Germain Added command line tool to access the registry. * rc/winerc.c: Fixed compilation. * rc/.cvsignore: Patrik Stridvall Ignore generated files. * programs/notepad/lcc.h: Fixed make depend. * ole/ole2.c, ole/olefont.c, include/ole.h, include/ole2.h, include/oleauto.h, include/olectl.h, include/wine/obj_control.h, include/wine/obj_dataobject.h, include/wine/obj_dragdrop.h, include/wine/obj_inplace.h, include/wine/obj_moniker.h, include/wine/obj_oleaut.h, include/wine/obj_olefont.h, include/wine/obj_oleobj.h, include/wine/obj_oleundo.h, include/wine/obj_oleview.h, include/wine/obj_picture.h, include/wine/obj_shelllink.h, include/wine/obj_storage.h, include/winerror.h, include/wingdi.h, include/winsock.h, include/winuser.h, include/wtypes.h: Paul Quinn Many new defines, and structs to help compile MFC. As well as a few OLE corrections from earlier. * loader/ne/module.c: Uwe Bonnes Make GetModuleHandle16 only look for module names, not path names. * msdos/int10.c: Jess Haas Added some more vga video modes. * windows/x11drv/wnd.c: Pavel Roskin Prevent X11 errors when XCreateWindow is called with zero width or height. * objects/metafile.c: Caolan McNamara Added metafile support for ExtFloodFill. * controls/button.c: Dirk Thierbach Paint gray text on gray background in checkboxes/radiobuttons by stippling. Also changed the brush used in this case to give better readability with X fonts. * include/debugdefs.h, include/tapi.h, misc/Attic/tapi32.c, misc/Makefile.in, relay32/tapi32.spec, Makefile.in, configure, configure.in, dlls/Makefile.in, dlls/tapi32/.cvsignore, dlls/tapi32/Makefile.in, dlls/tapi32/assisted.c, dlls/tapi32/line.c, dlls/tapi32/phone.c, include/debug.h: Andreas Mohr Implemented (nearly) all TAPI functions as stubs. * include/wine/winuser16.h, misc/comm.c, files/dos_fs.c, include/winbase.h: Michael McCormack Basic support for WIN32 serial communications API. Modify DOSFS_OpenDevice to allow opening of COM ports. Change Win32 comm functions to accept file handle. Add declaration of COMSTAT32 structure. * graphics/vga.c: Ove Kaaven Fixed a silly VGA-emulation palette bug. * msdos/int10.c: Ove Kaaven Fixed a couple of ugly warnings (caused by ugly errors). * msdos/dosmem.c: Andreas Mohr Bug fix. * dlls/shell32/brsfolder.c, dlls/shell32/contmenu.c, dlls/shell32/dataobject.c, dlls/shell32/enumidlist.c, dlls/shell32/shell32_main.h, dlls/shell32/shellguid.c, dlls/shell32/shlfolder.c, include/shlguid.h, include/shlobj.h, include/wine/obj_enumidlist.h, include/wine/obj_shellfolder.h, ole/guid.c: Juergen Schmied - IShellFolder and IEnumIDList are using the new COM headers - fixed sort order for folders and drives * README: Ove Kaaven Corrected location of FAQ. * msdos/int21.c: Ove Kaaven Fully implemented Direct Console Input. Sat Mar 13 18:20:27 1999 Alexandre Julliard * windows/queue.c, dlls/shell32/shlfolder.c, if1632/thunk.c, scheduler/sysdeps.c: Marcus Meissner Fixed newly introduced and some leftover warnings. * include/wingdi.h: Francois Gouget It is now possible to use the standard macros for GetTextExtentPoint and GetTextExtentPoint32. * include/prsht.h: Francois Gouget Fixed some SendMessage32A that escaped the renaming. * include/ole2.h: Francois Gouget On windows ole2.h includes oleauto.h and some programs depend on this. * include/oleauto.h, ole/ole2disp.c: Francois Gouget Fixes in the SysAllocString functions prototypes. It's mostly 'const' problems that prevent regular code from compiling. * dlls/commdlg/filedlg.c, graphics/x11drv/oembitmap.c, include/bitmaps/Attic/obm_cdrom, include/bitmaps/Attic/obm_drive, include/bitmaps/Attic/obm_folder, include/bitmaps/Attic/obm_folder2, include/bitmaps/Attic/obm_harddisk, include/bitmaps/oic_cdrom, include/bitmaps/oic_floppy, include/bitmaps/oic_folder, include/bitmaps/oic_folder2, include/bitmaps/oic_hdisk, include/bitmaps/oic_network, include/winuser.h: Pavel Roskin File open dialog now uses icons instead of bitmaps. * include/vfw.h: Marcus Meissner Updated AVI* class interface to new ICOM_ methods. * multimedia/msvideo.c: Marcus Meissner Some fixes and additions. * dlls/avifil32/.cvsignore, dlls/avifil32/Makefile.in, dlls/avifil32/avifile.c, include/debug.h, include/debugdefs.h, relay32/avifil32.spec, Makefile.in, configure, configure.in, dlls/Makefile.in: Marcus Meissner Started on avifil32 implementation (only stubs currently). * graphics/painting.c: Patrik Stridvall Reimplemented DrawFocusRect without using X11. * include/miscemu.h, msdos/dosmem.c, msdos/int10.c: Andreas Mohr Implemented mode setting things as well as VESA additions and other things. Cleaned up DOSMEM_BiosData handling. * include/wine/obj_olefont.h, ole/olefont.c: Francis Beaudet Implemented the IPersistStream interface on the OLE font object. * miscemu/emulate.c: Uwe Bonnes Make function BX=6 round ST0 to integer. * include/commctrl.h, include/wingdi.h: Paul Quinn Adrian Thurston - Changed LVM_SETITEMPOSITION -> LVM_SETITEMPOSITION32 LVM_SETITEMPOSITION16 -> LVM_SETITEMPOSITION - Added some missing structures and definitions to wingdi.h - Added proper defines for GetCharWidthsXXX - Added c++ protection to wingdi.h * dlls/shell32/iconcache.c, dlls/shell32/pidl.c, dlls/shell32/shell32_main.c, dlls/shell32/shell32_main.h, dlls/shell32/shellord.c, dlls/shell32/shellpath.c, dlls/shell32/shlview.c, include/shell.h, relay32/shell32.spec: Juergen Schmied - mostly cleanup after the renaming - implemented SHILCreateFromPath - small changed to SHGetFileInfo * include/prsht.h, include/winuser.h: Bertho Stultiens Changed the DLGTEMPLATE and DLGITEMTEMPLATE types to adhere to the AW structure for compatibility. * dlls/commdlg/printdlg.c, include/cderr.h, include/commdlg.h, dlls/commdlg/colordlg.c, dlls/commdlg/filedlg.c, dlls/commdlg/fontdlg.c: Bertho Stultiens Moved error codes to cderr.h. * loader/module.c: Peter Ganten Fix CreateProcess to handle lpCommandline better. * win32/init.c: Peter Ganten Change GetStartupInfoA/W to return the real StartupInfo. * windows/mdi.c: Guy Albertelli <> Handle null wndPtr for mdi window. * include/winbase.h: Dave Pickles Fixed a couple of missing #defines for Win32 API functions with ASCII/Unicode versions. * win32/newfns.c, if1632/kernel.spec, if1632/thunk.c, if1632/wprocs.spec, include/callback.h, misc/callback.c, relay32/Makefile.in, relay32/utthunk.c: Ulrich Weigand Implemented UTRegister and UTUnRegister. * if1632/ddeml.spec, include/ddeml.h, include/winnt.h, misc/ddeml.c, relay32/user32.spec: Added coded stubs for DdeQueryConvInfo (16 & 32 bit), DdeAddData (32 bit), DdeAbandonTransaction (32 bit), DdeImpersonateClient (32) DdeSetQualityOfService, DdeSetUserHandle. Corrected heap handling in DdeInitializeW, refined CreateMutex error handling. General tidying. * if1632/olecli.spec, include/ole.h, ole/olecli.c: Pavel Roskin Added prototypes for OleQueryLinkFromClip, OleQueryCreateFromClip, OleCreateLinkFromClip, OleCreateFromClip, OleQueryType, OleRevertClientDoc, OleEnumObjects. * relay32/olecli32.spec: Pavel Roskin Definition for OleCreateLinkFromClip was incorrect. * loader/resource.c: Marcus Meissner Mask out the upper 12 bits from the resourceid, just like win95 does. * BUGS: Ove Kaaven Updated bug list by my knowledge of them. * ole/storage32.c: Thuy Nguyen StgCreateDocfile accepts NULL as a file name. * objects/metafile.c: Caolan McNamara Added support for alternate DIBBITBLT layout. * debugger/msc.c: Sergey Turchanov Buffer size bug in LocateDebugInfoFile. * graphics/ddraw.c: Andreas Mohr Improved "error" message readability. * server/process.c: Fixed process_signaled (thanks to Uwe Bonnes). * dlls/comctl32/listview.c: Fixed make depend Fri Mar 12 17:42:50 1999 Alexandre Julliard * dlls/comctl32/animate.c, dlls/comctl32/comboex.c, dlls/comctl32/datetime.c, dlls/comctl32/flatsb.c, dlls/comctl32/header.c, dlls/comctl32/hotkey.c, dlls/comctl32/ipaddress.c, dlls/comctl32/monthcal.c, dlls/comctl32/nativefont.c, dlls/comctl32/pager.c, dlls/comctl32/rebar.c, dlls/comctl32/status.c, dlls/comctl32/toolbar.c, dlls/comctl32/tooltips.c, dlls/comctl32/trackbar.c, include/ipaddress.h, include/updown.h: Eric Kohl Replaced direct access to the WND structure by corresponding calls to Win32 functions. * dlls/comctl32/commctrl.c, dlls/comctl32/progress.c, dlls/comctl32/updown.c, include/commctrl.h: Eric Kohl Fixed some bugs introduced by the automated renaming. * resources/.cvsignore: Added sysres_Ru.s * dlls/comctl32/header.c, dlls/comctl32/listview.c, include/commctrl.h, include/listview.h: Luc Tourangeau Changed the listview control to add the report view and fix some bugs for the list view. * misc/shell.c: Marcus Meissner Removed use of WND struct. * dlls/ntdll/rtlstr.c: Marcus Meissner Added #ifdef HAVE_WCTYPE_H. * dlls/comctl32/tab.c: Thuy Nguyen Removed direct access to the WND struct. * windows/winproc.c: Juergen Schmied Message translation for WM_WININICHANGE. * windows/nonclient.c: Pavel Roskin obm_closed_95 should not be drawn inverted. * dlls/comctl32/treeview.c: Sylvain St.Germain Removed direct access to the WND struct. * ole/stg_bigblockfile.c, ole/storage32.c, ole/storage32.h: Thuy Nguyen Improved performance. * windows/dce.c: Stephane Lussier Create a new DC in GetDCEx when none are available. * ole/ole2disp.c, ole/variant.c, relay32/oleaut32.spec: Stephane Lussier Implemented DosDateTimeToVariant() and SysAllocStringByteLen() functions. * controls/combo.c: Pavel Roskin Changed the button state to "up" as soon as it is known that the selection has been cancelled, so the button is redrawn in the "up" state. * miscemu/instr.c: Marcus Meissner Emulate (well, ignore) mov cr0,eax and mov eax,cr0. Wed Mar 10 18:03:54 1999 Alexandre Julliard * include/wine/obj_inplace.h, include/wine/obj_oleaut.h, include/wine/obj_oleobj.h, include/wine/obj_oleundo.h, include/wine/obj_oleview.h, include/wine/obj_picture.h, include/wine/obj_property.h, ole/compobj.c, ole/guid.c, ole/ole2disp.c, ole/olecli.c, ole/oledlg.c, ole/oleobj.c, dlls/shell32/dataobject.c, dlls/shell32/pidl.c, dlls/shell32/shlfolder.c, include/Attic/wintypes.h, include/commdlg.h, include/imm.h, include/oaidl.h, include/objbase.h, include/ocidl.h, include/ole.h, include/ole2ver.h, include/oleauto.h, include/olectl.h, include/oleidl.h, include/shlguid.h, include/shlobj.h, include/winbase.h, include/wine/obj_base.h, include/wine/obj_control.h, include/wine/obj_dataobject.h, include/wine/obj_dragdrop.h, include/winnt.h, include/wtypes.h: Paul Quinn Added a lot of new OLE interfaces. * documentation/languages, documentation/wine.man, include/options.h, misc/main.c, ole/ole2nls.c, resources/Makefile.in, resources/sysres.c, resources/sysres_Ru.rc: Alexander Kanavin Added support for Russian language. * if1632/thunk.c: Ulrich Weigand Temporary fix: Activate 16-bit system timer callback routines, but skip calling them if timer signal occured while current thread was holding the Win16Lock (to prevent 16-bit stack corruption). * include/syslevel.h, scheduler/syslevel.c: Ulrich Weigand Implemented _ConfirmWin16Lock (KERNEL32.96). * graphics/ddraw.c, include/ddraw.h: Lionel Ulmer - some clean up in handling of depth - more depth conversion routines for X11 (15, 16 and 32 -> 8) * include/queue.h, windows/message.c, windows/queue.c: Stephane Lussier Implemented SendMessageTimeout() functions. * programs/notepad/ChangeLog, programs/notepad/Makefile.in, programs/notepad/search.c: Marcel Baur Added Boyer-Moore text search. * if1632/thunk.c, if1632/user.spec, include/callback.h, misc/callback.c: Ulrich Weigand Added USER.DestroyIcon32 to Callout struct. * include/module.h, loader/ne/convert.c: Ulrich Weigand Deleted NE_FreePEResource(). * include/user.h, loader/main.c, loader/module.c, windows/user.c: Ulrich Weigand Adapted to cursor/icon handling changes. * loader/ne/resource.c, loader/resource.c: Ulrich Weigand Allow accessing both NE and PE resources with both 16- and 32-bit API. Hook cursor/icon destruction into FreeResource (like Win95). * include/cursoricon.h, objects/cursoricon.c: Ulrich Weigand Implemented Win95-style shared cursor/icon cache. Merged NE and PE resource handling. * graphics/x11drv/oembitmap.c, include/bitmaps/Attic/obm_folder, include/bitmaps/Attic/obm_folder2: Pavel Roskin Fixed folder bitmap colors for 8bpp. * graphics/x11drv/graphics.c: Caolan McNamara Windows doesnt allow dashed and dotted lines > 1. * ole/compobj.c: Francis Beaudet Fixed a reference-counting problem in the external lock mechanism. * dlls/shell32/dataobject.c: Francis Beaudet Fixed a simple bug in the implementation of the ShellView objects. * dlls/shell32/shell32_main.c, include/shell.h: Sergey Turchanov Added some extra CSIDLs. * loader/module.c: Ulrich Weigand Bugfix: Allow lpCommandLine == NULL in CreateProcess(). * windows/x11drv/keyboard.c: Ulrich Weigand Bugfix: ToAscii should not generate ASCII code when key-up flag is set. * graphics/x11drv/bitblt.c, graphics/x11drv/bitmap.c, windows/x11drv/event.c: Ulrich Weigand Avoid unnecessary GraphicsExpose events. * ole/safearray.c: Francis Beaudet Fixed index calculations of the upper and lower bounds of a safearray. Fixed a wrong initialization of the VT sizes array. * ole/ole2.c, relay32/ole32.spec: Francis Beaudet Implementation of the ReleaseStgMedium method. Tue Mar 9 17:47:51 1999 Alexandre Julliard * dlls/ntdll/Makefile.in, dlls/ntdll/file.c, dlls/ntdll/nt.c, dlls/ntdll/om.c, dlls/ntdll/reg.c, dlls/ntdll/rtl.c, dlls/ntdll/rtlstr.c, dlls/ntdll/sec.c, dlls/ntdll/sync.c, dlls/ntdll/time.c, relay32/advapi32.spec, relay32/ntdll.spec: Juergen Schmied - sorted API by groups - new stubs: NtQueryDirectoryFile, ZwQueryDirectoryFile - impl.: RtlAllocateHeap, RtlCreateHeap, RtlDestroyHeap, RtlFreeHeap, RtlGetDaclSecurityDescriptor, RtlGetSaclSecurityDescriptor - impl. by Rex Jolliff (rex@lvcablemodem.com): RtlTimeToTimeFields, RtlTimeFieldsToTime * include/ntddk.h, include/ntdef.h, include/winnt.h: Juergen Schmied Many new prototypes. * loader/resource.c, include/module.h: Juergen Schmied Fix use of wrong prototype from ntdll.h. * dlls/advapi32/security.c: Juergen Schmied Make more functions just calling down to ntdll. New: GetSecurityDescriptorSacl. * graphics/psdrv/afm.c: Huw D M Davies Accept "Normal" as a valid AFM weight. * ole/storage32.c, ole/storage32.h: Thuy Nguyen Smarter way of searching for a free block. * windows/message.c: Ulrich Weigand Bugfix: DirectedYield() only to 16-bit tasks in ReplyMessage(). * libtest/hello5.c: Marcus Meissner Corrected cast so hello5 compiles again. * dlls/commdlg/filedlg.c: Norman Stevens Don't copy lpstrFileTitle if given NULL pointer for this. Delphi 2.0 passes NULL for lpstrFileTitle to GetOpen/SaveFileName. * misc/winsock.c, include/winsock.h: Marcus Meissner Fix broken _convert_sockopt for IPPROTO_TCP cases, added TCP_NODELAY. * msdos/dpmi.c: Marcus Meissner __asm__ fix as suggested by Daniel Serpell, removed additional "eax" from clobber list, so egcs-current likes it. * memory/virtual.c: Marcus Meissner CreateFileMapping SetLastError(0)s on newly created mappings. Sun Feb 28 20:05:12 1999 Alexandre Julliard * dlls/commdlg/.cvsignore, dlls/commdlg/Makefile.in, dlls/commdlg/colordlg.c, dlls/commdlg/filedlg.c, dlls/commdlg/finddlg.c, dlls/commdlg/fontdlg.c, dlls/commdlg/generic.c, dlls/commdlg/printdlg.c, misc/Attic/commdlg.c, misc/Makefile.in, Makefile.in, configure, configure.in, dlls/Makefile.in: Klaas van Gend Create a new subdirectory for the common dialog box DLL and move all code from /misc/commdlg.c to this directory. Also made a start in documenting the API calls. * misc/winsock.c, debugger/break.c, debugger/dbg.y, debugger/dbgmain.c, debugger/editline.c, debugger/expr.c, debugger/hash.c, debugger/info.c, debugger/memory.c, debugger/msc.c, debugger/registers.c, debugger/source.c, debugger/stack.c, debugger/types.c, include/Attic/wintypes.h: Marcus Meissner More include optimizations. * windows/driver.c, windows/winproc.c, dlls/comctl32/toolbar.c, dlls/comctl32/treeview.c, loader/pe_image.c, msdos/dpmi.c, multimedia/audio.c, multimedia/mmsystem.c, objects/dc.c, ole/storage32.c, controls/menu.c, dlls/comctl32/hotkey.c: Marcus Meissner Fixed a lot of warnings using WINE_UNUSED, casts, commenting out and additional {}. Rewrote GetCreationModeFromSTGM so we don't get "possible use of uninitialized variable". * include/mmsystem.h, include/multimedia.h: Marcus Meissner MCI_OPEN_DRIVER_PARMS - Add win32 version of structure. * files/directory.c, msdos/int21.c: Marcus Meissner Changed CreateDirectory LastError returns to match Win32 (found out by experiment). Adapted int21 CreateDirectory call to still return the correct DOS error codes according to Ralph Brown. * graphics/ddraw.c, relay32/ddraw.spec: Lionel Ulmer - added function DirectDrawEnumerateEx - added (or corrected) check for the return value of the enumeration functions * configure, configure.in: Lionel Ulmer Better detection of old (i.e. non OpenGL 1.2 compliant) version of Mesa. * multimedia/mcicda.c: Marcus Meissner Added missing . * include/winuser.h: Klaas van Gend Added the button states as returned by IsDlgButtonChecked(). * loader/module.c: Andreas Mohr Added support for quoted file names in CreateProcess(). * files/file.c, scheduler/client.c, scheduler/event.c, scheduler/mutex.c, scheduler/semaphore.c, server/file.c, win32/console.c: CLIENT_WaitReply: don't clear last error on success; fixed callers accordingly (based on a patch by Juergen Schmied). * msdos/int10.c: Jess Haas Added some support and stubs for VESA to msdos/int10.c. * ole/bindctx.c, ole/filemoniker.c, ole/ifs.c, ole/itemmoniker.c, ole/moniker.c, ole/ole2.c, ole/ole2disp.c, ole/ole2nls.c, ole/olecli.c, ole/oledlg.c, ole/olefont.c, ole/oleobj.c, ole/olesvr.c, ole/safearray.c, ole/stg_bigblockfile.c, ole/stg_stream.c, ole/storage.c, ole/storage32.c, ole/typelib.c, ole/variant.c, tools/fnt2bdf.c, windows/display.c, dlls/shell32/dataobject.c, dlls/shell32/shlfolder.c, include/oleobj.h, include/shlobj.h, include/wine/obj_channel.h, include/wine/obj_clientserver.h, include/wine/obj_control.h, include/wine/obj_dataobject.h, include/wine/obj_dragdrop.h, include/wine/obj_inplace.h, include/wine/obj_marshal.h, include/wine/obj_misc.h, include/wine/obj_moniker.h, include/wine/obj_oleaut.h, include/wine/obj_olefont.h, include/wine/obj_propertystorage.h, include/wine/obj_storage.h, include/wine/winuser16.h, library/winestub.c, memory/string.c, misc/sound.c, multimedia/mmsystem.c, controls/menu.c: Marcus Meissner More include optimisations and fixes. * server/process.c: Juergen Schmied open_object should return ERROR_FILE_NOT_FOUND when the named object is not found. * files/directory.c: Andreas Mohr Better error message. * scheduler/Attic/k32obj.c, scheduler/Makefile.in, scheduler/client.c, scheduler/critsection.c, scheduler/event.c, scheduler/handle.c, scheduler/mutex.c, scheduler/pipe.c, scheduler/process.c, scheduler/semaphore.c, scheduler/synchro.c, scheduler/sysdeps.c, scheduler/thread.c, win32/console.c, win32/device.c, files/change.c, files/dos_fs.c, files/file.c, include/Attic/k32obj.h, include/file.h, include/process.h, include/thread.h, loader/task.c, memory/virtual.c, misc/toolhelp.c: Use server handles directly for Win32 handles. Removed use of K32OBJ. * windows/defwnd.c, windows/msgbox.c, windows/x11drv/monitor.c, objects/brush.c, objects/clipping.c, objects/pen.c, objects/region.c, objects/text.c, ole/olefont.c, ole/oleobj.c, scheduler/Attic/k32obj.c, scheduler/event.c, scheduler/mutex.c, scheduler/semaphore.c, server/file.c, server/request.c, debugger/dbg.y, debugger/registers.c, graphics/d3ddevices.c, graphics/d3dexecutebuffer.c, graphics/d3dtexture.c, graphics/escape.c, graphics/win16drv/font.c, loader/ne/convert.c, misc/network.c, misc/port.c, miscemu/main.c, multimedia/audio.c, multimedia/dplay.c, multimedia/init.c, multimedia/mciwave.c, multimedia/mixer.c, multimedia/mmaux.c, console/xterm.c, controls/listbox.c: David Luyer - fixed missing stdlib.h and string.h includes everywhere - removed a couple of unneeded stdlib.h and stdio.h includes * include/process.h, include/thread.h, loader/task.c, scheduler/process.c, scheduler/sysdeps.c, scheduler/thread.c, windows/queue.c, windows/win.c, windows/winproc.c: Process and thread id now use the server-side id instead of an obfuscated pointer. * libtest/guitest.c, libtest/guitest.rc, libtest/guitest.rh: Ove Kaaven The Windows GUI behaviour tester used on the Windows computer. It was used with Borland C++ 4.52, but should be easy to adapt to Winelib by whoever feels like it; I haven't, I just released this useful test app in case it would benefit other developers. * documentation/gui: Ove Kaaven This file details the results (message traces) the GUI behaviour tester app gave under real Windows for various events. It was useful for some of my debugging at least, perhaps it could be of some use to other Wine GUI debuggers as well. * configure, configure.in, include/config.h.in, include/sig_context.h, include/winnls.h, misc/winsock.c, misc/winsock_dns.c, multimedia/dsound.c: Marcus Meissner Some Solaris fixes. needs , sig_context.h needs to define HANDLER_CONTEXT, wctype.h does not like 'wsprintf' defined, msdos/dpmi.c needs "stackframe.h" too, and multimedia/dsound.c needs "winuser.h". * win32/kernel32.c: Ulrich Weigand GetBinaryType[AW] moved to loader/module.c, modified to recognize .COM and .PIF files. * loader/dos/module.c, miscemu/main.c, msdos/dpmi.c, include/dosexe.h, include/pe_image.h, loader/main.c, loader/pe_image.c: Ulrich Weigand Adapted to CreateProcess changes. * loader/ne/module.c: Ulrich Weigand NE modules adapted to CreateProcess changes. LoadModule16/LoadLibrary16 reorganization. * include/module.h, include/task.h, loader/module.c, loader/task.c, scheduler/process.c, scheduler/thread.c: Ulrich Weigand Process creation sequence reorganized: - Removed instance data segment for all but NE modules. - Check binary type in CreateProcess before loading module. - Unix process creation moved from WinExec to CreateProcess. - Bugfix: fill in thdb->teb.htask16 member correctly. * windows/input.c: Guy Albertelli - Code to return default language code as keyboard layout. - Implemented other stubs associated with keyboard layout: GetKeyboardLayoutNameA, ActivateKeyboardLayout, LoadKeyboardLayout[AW], GetKeyboardLayoutList. * include/commdlg.h, include/resource.h, misc/Attic/commdlg.c, resources/sysres_En.rc: Klaas van Gend Preliminary implementation of the PrintDlgA stub. * ole/nls/nld.nls: Klaas van Gend Now compliant to the Dutch standards. * windows/win.c: Juergen Schmied FIND_WndPtr should not set ERROR_INVALID_WINDOW_HANDLE when hWnd=0. * msdos/dosmem.c: Ove Kaaven Fixed a couple of dosmem block resize bugs. * graphics/ddraw.c: Lionel Ulmer - no more 3D capabilities if Direct3D support is not compiled in - some debug messages clean-up (replaced fprintfs by DUMPs) * misc/main.c: Marcus Meissner We got passed a NULL Dialect ptr and accessed it unprotected. * server/file.c, server/mapping.c, include/server/object.h, memory/virtual.c: Added support for mappings with no associated file. * include/server.h, include/server/process.h, scheduler/client.c, server/process.c, server/request.c, server/trace.c: Removed dst_handle in duplicate_handle request. Added inherit flag in create_mapping request. * include/oaidl.h, include/wine/obj_oleaut.h, ole/safearray.c, ole/variant.c: Francis Beaudet Implemented support for arrays and safe arrays in VARIANT data structures. Also moved the SAFEARRAY definition (yet again) to the obj_oleaut.h file. * wine.ini: Andreas Mohr Fixed Filesystem documentation. * include/bitmaps/Attic/obm_folder, include/bitmaps/Attic/obm_folder2: Pavel Roskin Made folder icons gray-yellow instead of blue. * windows/message.c: Francis Beaudet Order of send message processing was not respected and the message stacked last finished after the message stacked first. * windows/winpos.c: Francis Beaudet Added checks to guard against NULL active window. * windows/dialog.c: Norman Stevens Don't check children of disabled or invisible controls for dialog keyboard accelerators. Fixes problems with dialogs with tab boxes. * ole/compobj.c, relay32/ole32.spec: Francis Beaudet Implemented the CoTaskMemRealloc API. Also clean-up around that API call. * ole/storage32.c: Thuy Nguyen Added a missing Release. STGM_CREATE should translate to CREATE_ALWAYS. ---------------------------------------------------------------- Fri Feb 26 12:33:21 1999 Alexandre Julliard * DEVELOPERS-HINTS: Updated for new naming conventions. * */*: Large-scale renaming of all Win32 functions and types to use the standard Windows names. ---------------------------------------------------------------- Thu Feb 25 18:11:40 1999 Alexandre Julliard * misc/main.c: Albert den Haan For various reasons some of our libwine executables must have a "." in their file names. The "." causes trouble when the file name is used as the class name for an X resource as wine does for command line parsing under X. * windows/win.c: Make GetWindowLong(GWL_HWNDPARENT) return the same thing as GetParent32; suggested by Dave Pickles . * include/gdi.h, include/heap.h, include/wintypes.h: David Luyer Added __attribute__ ((unused)) on static inline functions declared in header files. * documentation/bugreports: Adam the Jazz Guy Added "The Easy Way" and "The Hard Way", largely favoring the easy way, which uses my bug_report.pl script. Added info on a command that can be run on all shells to print debug msgs to a file and not to xterm. * msdos/dpmi.c: Marcus Meissner Needs thread.h for non-Linux. * include/win.h, windows/win.c: Francois Boisvert Adding of new functions to make the wnd struct thread safe. Adding of irefCount in wnd struct. * configure, configure.in, console/ncurses.c, include/acconfig.h, include/config.h.in: Michael Veksler Added configure check for getbkgd and define HAVE_GETBKGD. * include/ocidl.h, include/ole2.h, include/oleidl.h, include/wine/obj_cache.h, include/wine/obj_connection.h, include/wine/obj_control.h, include/wine/obj_inplace.h, include/wintypes.h, ole/olefont.c: Paul Quinn Many interface declarations that originated from oleidl.h, oaidl.h and ocidl.h separated into somewhat relevant obj_* files. * files/drive.c, ole/compobj.c, resources/sysres.c: Michael Veksler Fixed warning and compilation errors. * include/windows.h: Michael Veksler Removed includes of wine/* headers. * loader/resource.c: Pavel Roskin Made message "Resource not found" WARN. * dlls/shell32/contmenu.c, include/shlobj.h: Adrian Thurston - Use the new COM definition macros in the header. - Put the implementation of the object in the contmenu.c. - Make appropriate name changes in contmenu.c. * misc/registry.c, include/winreg.h: Paul Quinn Zygo Blaxell Modifies parameter list of a couple of functions to comply with SDK. * windows/scroll.c: Pascal Lessard ScrollDC32 modified to return rect in logical coordinate. * include/wine/obj_oleaut.h: Adrian Thurston Adds C++ nameless union support to tagVARIANT. * include/mmsystem.h, include/oaidl.h, include/oleauto.h: Adrian Thurston Moved some definitions out of oleauto.h and into oaidl.h to conform to the SDK. Removed a redundant include. Added some c++ protection. Wed Feb 24 15:58:51 1999 Alexandre Julliard * dlls/shell32/enumidlist.c, dlls/shell32/pidl.c, dlls/shell32/pidl.h, dlls/shell32/shlfolder.c, include/shlobj.h: Juergen Schmied Changed pidl structure to match the pidl's used in lnk-files. * dlls/shell32/shelllink.c: Juergen Schmied Implemented reading of *.lnk-files. * include/wine/obj_shelllink.h: Juergen Schmied new file, including the IShellLink definition. * include/module.h, include/pe_image.h, loader/elf.c, loader/main.c, loader/module.c, loader/pe_image.c, loader/pe_resource.c, loader/resource.c, loader/task.c, scheduler/thread.c: Ulrich Weigand Modified process creation sequence: call PE_CreateModule in the context of the new process (in TASK_CallToStart). Changed all PE/Module routines so as to always operate on the current process; adapted all callers. * msdos/dosconf.c, msdos/dosmem.c, msdos/dpmi.c, msdos/int16.c, msdos/int21.c, msdos/int2a.c, msdos/interrupts.c, msdos/ioports.c, msdos/vxd.c, msdos/xms.c, ole/storage.c, ole/typelib.c, programs/avitools/icinfo.c, relay32/relay386.c, tools/build.c, windows/clipboard.c, windows/input.c, dlls/shell32/contmenu.c, dlls/shell32/enumidlist.c, dlls/shell32/folders.c, dlls/shell32/shelllink.c, dlls/shell32/shellole.c, dlls/shell32/shlview.c, graphics/d3ddevices.c, graphics/d3dexecutebuffer.c, graphics/d3dlight.c, graphics/d3dmaterial.c, graphics/d3dtexture.c, graphics/d3dviewport.c, graphics/ddraw.c, loader/main.c, memory/atom.c, misc/lstr.c: Marcus Meissner Optimized away more includes, readded some #includes for necessary prototypes. * msdos/int2f.c: Added low-level Netware installation check. * include/console.h, console/interface.c, console/ncurses.c: Joseph Pranevich Added GetBackgroundColor call to the console struct. Will be used later. * msdos/int10.c: Joseph Pranevich Bugfixes for INT 10/0B (SetBackgroundColor) to work properly. (Interrupt list did not have correct.) * windows/dinput.c: Lionel Ulmer Added stubs for two missing methods of DInput. * ole/stg_bigblockfile.c: Thuy Nguyen Fixed a bug. * ole/storage32.c, ole/storage32.h: Thuy Nguyen Added support for larger files. * objects/dib.c: Huw D M Davies Fixes buffer overrun problems with GetDIBits. * windows/message.c: Stephane Lussier Fixed some SendMessage bugs. * ole/compobj.c: Sylvain St.Germain Fix COM_ExternalLockFreeList to do not fail with an empty list. Mon Feb 22 10:21:56 1999 Alexandre Julliard * misc/Makefile.in, misc/string.c: Zygo Blaxell Implemented some CRTDLL string functions. * objects/enhmetafile.c, objects/linedda.c, objects/metafile.c, objects/text.c, windows/caret.c, windows/clipboard.c, windows/dialog.c, windows/driver.c, windows/hook.c, windows/input.c, windows/keyboard.c, windows/mdi.c, windows/mouse.c, windows/multimon.c, windows/rect.c, windows/scroll.c, windows/timer.c, windows/user.c, windows/winproc.c, include/menu.h, include/mmsystem.h, include/sysmetrics.h, include/vfw.h, multimedia/audio.c, multimedia/dplay.c, multimedia/dsound.c, multimedia/init.c, multimedia/joystick.c, multimedia/mcianim.c, multimedia/mcicda.c, multimedia/mcimidi.c, multimedia/mcistring.c, multimedia/mciwave.c, multimedia/midi.c, multimedia/mixer.c, multimedia/mmaux.c, multimedia/mmio.c, multimedia/mmsystem.c, multimedia/time.c, objects/cursoricon.c: Marcus Meissner Some more recursive include fixes/optimizations. * dlls/shell32/contmenu.c, dlls/shell32/enumidlist.c, dlls/shell32/iconcache.c, dlls/shell32/pidl.h, dlls/shell32/shell32_main.c, dlls/shell32/shlview.c: Juergen Schmied - eliminated one element of the pidl struct (dwSFGAO) - changed some superflous FIXME * dlls/shell32/shlfolder.c, include/wine/obj_dragdrop.h: Juergen Schmied - header uses the last macros now - rewrote IDropTarget according to the new COM headers (was local declared not using the already written prototypes) - corrected Drop method (wrong parameter count) * windows/dinput.c: Francois Gouget Updated to use the latest COM macros, ICOM_VTABLE and ICOM_THIS. Added the interface implementation structures. I remembered from an email that even when asked for a IDirectInputDeviceA what was returned was an IDirectInputDevice2A so I considered that we would only implement the latter. The IDirectInputDeviceA_xxx methods have been renamed to IDirectInputDevice2A_xxx, and we always return our IDirectInputDevice2A implementation as before. Renamed the implementation structures to XxxImpl. * include/dinput.h: Francois Gouget Use latest COM macros Defined the IDirectInputDeviceA interface independently from IDirectInputDevice2A. Removed the 32 suffix of the interfaces. Hopefully this will not cause any problem with the renaming. Moved the implementation specific stuff to dinput.c (well, the interfaces at least). Sun Feb 21 18:35:28 1999 Alexandre Julliard * scheduler/process.c, scheduler/sysdeps.c, include/process.h, include/thread.h: Changed initial process creation to avoid memory allocations. Removed a few unused fields in PDB and THDB. * scheduler/client.c, scheduler/thread.c: Removed thread queue functions. Changed initial thread creation to avoid memory allocations. Moved server startup to THREAD_CreateInitialThread. * scheduler/synchro.c: Removed use of per-thread wait_struct, cleaned up a bit. * scheduler/k32obj.c, memory/virtual.c: Removed MEM_MAPPED_FILE_Ops. * include/winnt.h: Added a few exception codes. * windows/win.c, include/mmsystem.h, include/path.h, include/progress.h, include/queue.h, include/resource.h, include/struct32.h, include/updown.h, include/windows.h, include/winpos.h, loader/main.c, misc/commdlg.c, misc/winsock_dns.c, multimedia/mmsystem.c, include/cursoricon.h, include/dde_atom.h, include/ddraw.h, include/dispdib.h, include/dosexe.h, include/dsound.h, controls/menu.c: Michael Veksler - Fix headers to include less or smaller header files. - Fix header and source files to include missing header files to avoid warnings and errors. * loader/signal.c, memory/ldt.c, misc/port.c: Marcus Meissner Change "g" (general regs) into "r" (hardregs) in clone / modify_ldt / wine_sigaction __PIC__ cases, since "g" will not work with -fomit-frame-pointer ("g" is referenced using %esp which was invalidated before). Bug found and (other) fix suggested by Daniel Serpell. * ole/olefont.c: Marcus Meissner Added missing WINAPIs. * windows/x11drv/event.c, windows/x11drv/init.c, loader/task.c, windows/event.c, windows/ttydrv/event.c, windows/ttydrv/init.c, include/message.h, include/ttydrv.h, include/x11drv.h: Stephane Lussier Fix problem where you need mouse activity to unlock some 16 bits thread with multi-threaded apps. Sat Feb 20 16:48:54 1999 Alexandre Julliard * relay32/oleaut32.spec, include/Attic/interfaces.h, include/oaidl.h, include/ocidl.h, include/ole.h, include/oleauto.h, include/olectl.h, include/wine/obj_oleaut.h, include/wine/obj_olefont.h, include/wtypes.h, ole/Makefile.in, ole/guid.c, ole/ole2disp.c, ole/olefont.c, ole/typelib.c: Francis Beaudet Implemented the OleCreateFontIndirect method and the associated COM object. That object supports the IFont and IDispatch interfaces. * configure, configure.in, include/config.h.in, misc/port.c, misc/winsock.c, misc/winsock_dns.c: Marcus Meissner Problems reported by Donald Page, PR 105-107. * console/ncurses.c: Joseph Pranevich More commenting, better debugging of color problems, and support for the new TerminalType option in wine.ini. This allows us to select which terminal type we are really using so that we can, for example, use its color capabilities. * console/interface.c, include/console.h: Joseph Pranevich Support for the new InitialRows andf InitialColumns options in wine.ini (Generic replacement for XtermResolution option...) * msdos/int10.c: Joseph Pranevich Fix *DUH* problem causing lots and lots of unnecessary AllocColor errors. * console/xterm.c: Joseph Pranevich Removal of obsolete XtermResolution option. * documentation/console, wine.ini: Joseph Pranevich Add information about the new wine.conf options. * debugger/stack.c: Eric Pouech Fixed backtrack issue on 16bit code. * debugger/msc.c: Eric Pouech Changed LocateDebugInfoFile to reduce stack consumption (from 13k to 2k !!) * debugger/info.c: Eric Pouech Fixed comment for Wine documentation. * include/server.h, include/server/request.h, server/request.c, server/trace.c: Added get/set_handle_info request. * graphics/x11drv/dib.c: Fixed end-of-line bug in X11DRV_DIB_SetImageBits_RLE4. * tools/wrc/CHANGES, tools/wrc/genres.c, tools/wrc/newstruc.c, tools/wrc/parser.y, tools/wrc/wrc.h, tools/wrc/wrctypes.h, tools/wrc/writeres.c: Bertho Stultiens Fix a couple of 64bit platform problems and speed up compilation. See tools/wrc/CHANGES for details. * multimedia/mmio.c: Marcus Meissner mmioDescend: debugoutput enhanced, FINDLIST/FINDRIFF should Check the correct ckid (LIST/RIFF) too. (verified against mciavi32.dll) * Makefile.in: Zygo Blaxell Added a check for the existence of wine.sym before installing it. * include/ole2.h, ole/ole2.c, relay32/ole32.spec: Francis Beaudet Added some new stubs for the OLE menu descriptor methods. Fri Feb 19 16:50:24 1999 Alexandre Julliard * windows/queue.c: Martin Walker Fixed message filtering check. * relay32/advapi32.spec, dlls/advapi32/security.c, dlls/ntdll/nt.c, dlls/ntdll/rtl.c, include/ntddk.h, include/ntdef.h, include/ntdll.h, include/queue.h, include/winbase.h, include/winnt.h, include/winreg.h, ole/oleobj.c: Juergen Schmied - made the security functions consistent. advapi calls down to ntdll now - new SetSecurityDescriptorGroup, SetSecurityDescriptorOwner, SetSecurityDescriptorSacl, GetSecurityDescriptorDacl - nt-header cleanup * dlls/ntdll/rtl.c, if1632/builtin.c, misc/cpu.c, win32/kernel32.c: Huw D M Davies Fixed a few broken includes. * windows/nonclient.c: Reverted broken close button change. * dlls/comctl32/header.c, dlls/comctl32/rebar.c, dlls/comctl32/tab.c, dlls/comctl32/toolbar.c, dlls/comctl32/tooltips.c, dlls/comctl32/updown.c, dlls/shell32/contmenu.c, dlls/shell32/dataobject.c, graphics/path.c, graphics/psdrv/init.c, tools/wrc/newstruc.c, controls/button.c, controls/edit.c, controls/widgets.c, dlls/advapi32/advapi.c, dlls/advapi32/security.c: Jeff Garzik Added missing string.h include. * loader/ne/module.c: Uwe Bonnes Only append .dll if no extension yet. * windows/message.c: Francis Beaudet Temporary fix suggested by Ulrich to allow the MsgWaitForMultipleObject method to be called from 16 bit threads. * windows/winproc.c: Ove Kaaven Initialized return value of 16->32 conversion of WM_MDIGETACTIVE in case it's sent to a window that doesn't handle it (i.e. not MDI client). * include/dce.h, windows/dce.c, windows/winpos.c: Ove Kaaven Added extra child arguments to DCE_GetVisRgn() to be able to handle PARENTDC class style combined with CLIPCHILDREN window style, to prevent mis-redraws in Free Agent 16-bit. * dlls/version/info.c: Lawson A. Whitney Don't hang on the last child if it's not wanted. * win32/kernel32.c, relay32/kernel32.spec: Ian Schmidt Partial stub implementation of undocumented KERNEL routine PK16FNF, needed by Win98 EXPLORER. Thanks to Ulrich Weigand for information. * misc/commdlg.c: Ove Kaaven Fix redraw problems for ChooseColor dialog. * */*.c: Marcus Meissner Removed a lot of occurences of windows.h (and added necessary other includes). * include/objidl.h, include/wine/obj_moniker.h, ole/compobj.c, dlls/shell32/dataobject.c, dlls/shell32/enumidlist.c: Francois Gouget Small fixes. * include/dsound.h, multimedia/dsound.c: Francois Gouget Changed the first parameter from LPGUID (Windows headers) to REFGUID. This makes it a 'const GUID*' which means DirectSoundCreate must not change it. * dlls/shell32/shell32_main.h: Francois Gouget Removed redundant definitions of IsEqualIID and IsEqualCLSID (see include/wine/obj_base.h) Thu Feb 18 17:34:10 1999 Alexandre Julliard * relay32/user32.spec, windows/message.c, windows/queue.c, windows/user.c, include/queue.h: Stephane Lussier - New implementation of SendMessage, ReceiveMessage, ReplyMessage functions to support thread-safeness, and nested SendMessage. - Addition of ReplyMessage32. * windows/x11drv/wnd.c: Ulrich Weigand Bugfix: Cope with NULL pDriverData in X11DRV_WND_GetXWindow. * misc/commdlg.c, resources/sysres_En.rc: Pascal Lessard Applied the changes of the resulting color of the choose color dialog. Initialize values in the choose color dialog. * include/wine/obj_base.h, include/wine/obj_marshal.h: Francois Gouget Removed references to ICOM_INHERITS. * ole/stg_bigblockfile.c, ole/storage32.c, ole/storage32.h: Thuy Nguyen Fixed bug with read-only files. * multimedia/mciavi.c, multimedia/mcimidi.c: Marcus Meissner Removed superflous WINAPI (mismatch with prototype) in *_DriverProc32. * include/dosexe.h: Marcus Meissner dosexe.h depends on winbase.h (for LPSTARTUPINFO32A) * dlls/shell32/shelllink.c, ole/bindctx.c, ole/filemoniker.c, ole/itemmoniker.c, ole/stg_stream.c, ole/storage32.c, ole/storage32.h: Francois Gouget Modified so that they do not use the VTABLE_FUNC macros that performed casts of all methods put in the jump table. I find it too risky to use such macros because nothing guarantees that you actually put the right method at the right place or that the prototype is right. * include/wine/obj_moniker.h, include/wine/obj_storage.h, ole/storage.c: Francois Gouget Updated to use the latest COM macros. Defined more interfaces and API functions. * controls/menu.c, graphics/x11drv/oembitmap.c, include/winuser.h, windows/nonclient.c: Francois Boisvert Implementation of the pushed close button. Wed Feb 17 17:45:54 1999 Alexandre Julliard * include/mapidefs.h, include/objbase.h, include/ole.h, include/oleauto.h, include/winbase.h, include/wine/obj_moniker.h, include/wine/obj_propertystorage.h, include/winnt.h, include/wintypes.h, include/wtypes.h, ole/compobj.c: Francois Gouget Moved some definitions to their proper include file. * include/wine/obj_clientserver.h, include/wine/obj_misc.h: Francois Gouget Fixed some ICOM_INHERIT stuff and added new related API functions. * include/wine/obj_base.h: Francois Gouget Added new API. Part of it was in 'include/objbase.h' before and part of it is new. Now it also contains 'WINE_StringFromCLSID'. It's not perfect but it's better than having it in 'include/objbase.h'. * dlls/advapi32/crypt.c, dlls/ntdll/nt.c, graphics/x11drv/graphics.c, scheduler/synchro.c, controls/scroll.c: Francois Gouget Fixed a number of warnings concerning the matching of the printf format string and the associated parameters (actually it's mostly TRACE and FIXMEs). * include/mmsystem.h, multimedia/mmio.c, multimedia/mmsystem.c, relay32/winmm.spec: Marcus Meissner mmioDescend: fixed FIND_xxxx, verified with mciavi32.dll. mciLoadCommandResource32: second arg is wide string mciGetDriverData: spec has just one long argument * ole/compobj.c, ole/ifs.c, ole/ifs.h, ole/storage.c, dlls/shell32/shellole.c, include/wine/obj_base.h, include/wine/obj_dataobject.h, multimedia/dsound.c, dlls/shell32/dataobject.c, dlls/shell32/shelllink.c: Francois Gouget Changed ICOM_THIS definition. * dlls/version/info.c, include/ver.h: Bertho Stultiens Renamed VS_VERSION_INFOxx structure to VS_VERSION_INFO_STRUCTxx. The VS_VERSION_INFO is a simple define and would cause confusion. Also corrected the VS_xx_INFO defines not to use MAKEINTRESOURCE16 for win32. * configure, configure.in: Steffen Moeller "Configure finished" message suggests to call make when make depend was successful. * */*: Marcus Meissner Optimized include/*.h: (recursively) include all headers needed by this .h file, but only those. Necessary fixes to a lot of .c files, started optimizing "windows.h" away from some of them. Moved GetCurrentTask prototype to wine/winbase16.h. * include/commctrl.h, include/listview.h, dlls/comctl32/listview.c: Luc Tourangeau Preliminary listview control implementation. * controls/menu.c: Francois Boisvert Give the context menu its proper behaviour and modify TrackPopupMenu to comply with windows API. * windows/painting.c: Dave Pickles GetUpdateRect should return client coordinates unless the window was created with the CS_OWNDC style and the mapping mode is not MM_TEXT, in which case the result should be in logical coordinates. * include/wine/obj_channel.h: Francois Gouget Added the actual definitions of the interfaces. * include/servprov.h: Francois Gouget Converted to the new COM declaration 'standard' for better compatibility with C code implementating that interface. * misc/wsprintf.c: Francis Beaudet Changed WPRINTF_ExtractVAPtr to take the address of the va_list to be able to modify it. * dlls/shell32/shlfolder.c: Sylvain St.Germain Defined IDropTarget for ShellFolder. Implemented the Constructor, Destructor, AddRef, Release and QueryInterface methods. * memory/selector.c, if1632/kernel.spec: Uwe Bonnes Change type of mode argument to GETVDMPOINTER32W from DWORD to Word Mon Feb 15 15:24:20 1999 Alexandre Julliard * include/msacm.h, include/winuser.h: Douglas Ridgway c2man doesn't like extra semicolons. * windows/winpos.c: Ove Kaaven Resetting X focus should not be done with SetFocus32. Called the windowing (X11) driver's SetFocus routine directly instead. This apparently fixes a big heap of user interface problems. ---------------------------------------------------------------- Sun Feb 14 14:09:42 1999 Alexandre Julliard * graphics/painting.c, include/winuser.h, objects/cursoricon.c, windows/dialog.c, windows/painting.c, windows/rect.c, windows/win.c, windows/winpos.c: Eric Pouech Changed some functions prototypes (were returning void). * misc/main.c, include/winuser.h: Paul Quinn Fixed some Winelib names. * include/clipboard.h, include/console.h, include/desktop.h, include/keyboard.h, include/ttydrv.h, include/x11drv.h: Juergen Schmied Corrected prototypes func() ->func(void). * multimedia/init.c, multimedia/midi.c, debugger/memory.c: Brian Joseph Czapiga Fixed a few #ifdefs. * windows/scroll.c, windows/x11drv/wnd.c: Jerome Vouillon Make a correct use of clipping rectangles. * include/bitmaps/ocr_cross: Uwe Bonnes Added white border. * debugger/db_disasm.c: Juergen Schmied Implemented better output for indirect calls. * relay32/winmm.spec: Eric Pouech Fixed typo in winmm.spec. * include/wintypes.h, include/wrc_rsc.h, misc/lstr.c, misc/wsprintf.c, relay32/builtin32.c, relay32/relay386.c, relay32/snoop.c: Gavriel State A few non-x86 Winelib fixes. * miscemu/main.c: Marcus Meissner Do not print 'wine: no executeable found' if we did execute something. * programs/notepad/*: Marcel Baur - Added new IDS_NOTSAVED ressource (needs translation in *.rc) - Improved printing support (not yet complete) - Improved file drag and drop (should now work) - General code cleanup * include/multimedia.h, multimedia/mcimidi.c, multimedia/mciwave.c, multimedia/mmsystem.c: Eric Pouech Fixed bugs on MCI notification (callback info are copied before asynchronous return) - make use of it in MCI wave and midi. Implemented mci(Set|Get)DeviceID(16|32) functions. * windows/x11drv/wnd.c: Ove Kaaven Since SetParent now hides/shows, explicitly invalidating DCs in the parent change operation should no longer be necessary. * windows/dialog.c: Gerard Patel Fix if EndDialog called in WM_INITDIALOG (DIALOG_DoDialogBox). * msdos/ioports.c: Andreas Mohr Moved VGA port access check at the beginning in order to improve performance a little bit. * server/file.c: Juergen Schmied Implemented flag FILE_FLAG_DELETE_ON_CLOSE. * msdos/int10.c: Joseph Pranevich Added comments. Think I've fixed INT 10/08 (Get Character and Attribute at Cursor). * console/xterm.c: Joseph Pranevich Added configuration options XtermProgram and XtermResolution. Fixed a warning. * documentation/console, wine.ini: Joseph Pranevich New examples/documentation for console configuration options. * misc/main.c, windows/x11drv/main.c, console/generic.c, console/interface.c, console/ncurses.c, console/tty.c, include/console.h, include/options.h, loader/main.c: Joseph Pranevich Moved initialization until later. Also moved around code a bit to be consistant. * include/debugger.h: Marcus Meissner Added possibility to load .stabs/.stabstr sections from PE dlls. Unfortunately my samples use currently typedefs which wine-dbg does not understand, so no actual parsing. * dlls/msacm/msacm_main.c, dlls/msacm32/format.c, dlls/msacm32/stream.c, include/mmreg.h, include/mmsystem.h, include/msacm.h, include/msacmdrv.h, include/winbase.h: Bertho Stultiens Change a couple of names that would conflict after all 32[AW] suffixes are removed. Structures defined in both mmreg.h and mmsystem.h are protected with #ifdef:s as in MS' headers. * misc/imm.c: Patrik Stridvall Fixed wrong typecasts. * programs/progman/grpfile.c: Stefan Leichter Compilation fix. * configure.in, configure: Ove Kaaven Fix for X11 includes detection. * debugger/hash.c, debugger/msc.c, debugger/stabs.c: Marcus Meissner Added possibility to load .stabs/.stabstr sections from PE dlls. Unfortunately my samples use currently typedefs which wine-dbg does not understand, so no actual parsing. * multimedia/dplay.c, documentation/status/directdraw, graphics/d3dviewport.c, graphics/ddraw.c, include/d3d.h: Marcus Meissner Some ddraw/d3d bugfixes, updated Diablo/WC4 ddraw status. * ole/ole2nls.c, relay32/kernel32.spec, include/winnls.h: Juergen Schmied Implementation of ConvertDefaultLocale32. * windows/mdi.c: Huw D M Davies WIN31 Look still needs a close button on the left of the menu bar. * windows/winpos.c: Francois Boisvert Changed SetWindowPos32 to force the update of the non-client area. Sat Feb 13 17:56:28 1999 Alexandre Julliard * dlls/shell32/shell32_main.h, include/mmsystem.h, include/ole.h, include/wingdi.h, include/winsock.h: Bertho Stultiens Fixed a couple of faulty names used in wine and typos so that it will compile again after conversion from 32[AW] naming to [AW] naming. * if1632/Attic/signal.c, if1632/Makefile.in, include/debugger.h, include/dosexe.h, include/miscemu.h, include/sig_context.h, loader/dos/dosvm.c, loader/signal.c, miscemu/instr.c, miscemu/main.c, graphics/ddraw.c: Marcus Meissner Moved the if1632/signal.c stuff into loader/signal.c, adapted function pointers for wine_debug and INSTR_EmulateInstruction. * ole/compobj.c: Francois Gouget All guid 'REFxxx' types already have a 'const' inside them. * dlls/comctl32/draglist.c, dlls/comctl32/tooltips.c, misc/version.c, windows/winpos.c: Marcus Meissner Some warnings fixed, one useless VERSION warning removed (winelib). * misc/registry.c: Andreas Mohr RegFlushKey: wrong error code. * win32/file.c: Andreas Mohr Adds a warning message if permissions not sufficient. * multimedia/mixer.c, multimedia/mmsystem.c, relay32/winmm.spec, include/debug.h, include/debugdefs.h, include/multimedia.h, multimedia/Makefile.in, multimedia/mcianim.c, multimedia/mciavi.c, multimedia/mcimidi.c, multimedia/mciwave.c, multimedia/midi.c: Eric Pouech Added support for MCI AVI driver Added some fixes mixer functions Fixed MCI string comparison (thanks to Lionel ULMER) No longer using 16 bit USER functions (use their 32 bit counter part) Reindenting. Added function sndPlaySound32W * include/objbase.h, include/objidl.h, include/wine/obj_marshal.h: Francois Gouget Added the actual interface definitions to the obj_marshal.h skeleton file. Also defined the associated C API. * windows/queue.c: Stephane Lussier Use global synchronization objects, to be able to use it in different processes (not only the process which create the synchro object). * windows/mdi.c: Norman Stevens Set hwndActiveChild when maximizing a mdi child window because it is not set when maximizing a window other than the active child. * controls/menu.c: Pascal Lessard Change the GetMenuItemRect to comply with windows API. * Makefile.in, configure, configure.in, include/.cvsignore, include/Makefile.in: James Juran Created include/Makefile.in to separate header file installation from the top-level Makefile. * ole/stg_bigblockfile.c, ole/stg_stream.c, ole/storage32.c, ole/storage32.h: Thuy Nguyen - Fixed a small block depot bug. - Implemented converting from small blocks to big blocks. - Validated file attributes and flags. - Fixed a bug for larger files. * resources/.cvsignore: added sysres_Nl * graphics/x11drv/oembitmap.c, include/ole2.h, include/oleidl.h, include/shlguid.h, include/shlobj.h, include/windef.h, include/wine/obj_dragdrop.h, include/winerror.h, include/wintypes.h, ole/ole2.c, relay32/ole32.spec: Francis Beaudet Implemented the OLE Drag and Drop target registration mechanism and the DoDragDrop loop to perform the DnD operation. * windows/mdi.c, controls/menu.c, include/menu.h: Francois Boisvert Implemented the WIN31 Look mdi buttons and also some defines for the magic menu items. * dlls/advapi32/Makefile.in, dlls/advapi32/crypt.c, include/wincrypt.h, relay32/advapi32.spec: Ian Schmidt Added entries for most Crypt* calls. Added stub for CryptAcquireContextA. This allows Win98 EXPLORER.EXE to get farther. * controls/edit.c: Andreas Mohr An app left junk in the undo buffer of an edit control upon creation. * windows/win.c: Ove Kaaven Changed SetParent32 to adhere to Windows behaviour (mostly), which should also keep it from leaving garbage around. * ole/compobj.c: Sylvain St.Germain Implementation of a simple linked list (static) that stores and counts references to COM objects. * include/objbase.h, include/wtypes.h: Francois Gouget Make the REFxxx types const even in C. Also add FMTID. * windows/winpos.c: Ove Kaaven Don't call EVENT_DummyMotionNotify for hidden windows. * windows/message.c: Stephane Lussier Fix some thread-safeness problem when accessing the system message queue. * windows/input.c, include/winuser.h, relay32/user32.spec: Marcus Meissner Implemented MapVirtualKeyEx (ticket 21). Ignore keyboard layout for now. * include/objidl.h, include/wine/obj_clientserver.h: Francois Gouget Added the actual interface definitions to the obj_clientserver.h skeleton file. * dlls/ntdll/Makefile.in, dlls/ntdll/nt.c, dlls/ntdll/reg.c, dlls/ntdll/rtl.c, relay32/ntdll.spec: Juergen Schmied - documented most of the undocumented functions in nt.c - implemented RtlGetDaclSecurityDescriptor - stubs for NtEnumerateKey, NtOpenSymbolicLinkObject, NtQueryKey - stubs for NtRaiseException, RtlRaiseException (this both will crash) Fri Feb 12 17:47:07 1999 Alexandre Julliard * dlls/advapi32/security.c, dlls/advapi32/service.c, files/drive.c, misc/registry.c, win32/newfns.c, windows/user.c: Juergen Schmied Small fixes to compile with the headers (mostly nt-security). * include/ntddk.h, include/ntdef.h, include/ntdll.h, include/winbase.h, include/windef.h, include/winnt.h, include/winreg.h: Juergen Schmied Made nt-related types compatible, throw out wine-specific types. * windows/mouse.c: Ulrich Weigand Use MONITOR_... instead of DESKTOP_... routines to get screen dimensions; these work also with native USER. * windows/defwnd.c: Ove Kaaven WM_ACTIVATE default processing should set window focus. Should fix focus problems in non-managed mode. Thu Feb 11 16:32:17 1999 Alexandre Julliard * ole/nls/nld.nls, resources/Makefile.in, resources/TODO, resources/sysres.c, resources/sysres_Nl.rc, AUTHORS, documentation/languages, include/authors.h, include/options.h, misc/main.c, ole/ole2nls.c: Klaas van Gend Added support for the Dutch language. * dlls/comctl32/propsheet.c, include/commctrl.h, include/prsht.h, include/shlobj.h: Adrian Thurston Zygo Blaxell Move property sheets from commctrl.h into into prsht.h. * graphics/d3ddevices.c, graphics/d3dexecutebuffer.c, graphics/d3dlight.c, graphics/d3dmaterial.c, graphics/d3dtexture.c, graphics/d3dviewport.c: Lionel Ulmer Added 'objbase.h' to prevent compiler warnings. * graphics/ddraw.c: Lionel Ulmer Better detection of XShm errors (should now run on remote displays). * multimedia/mmsystem.c: Andreas Mohr Fixes mixerGetID16/32 problems/errors. * ole/oleobj.c, multimedia/dplay.c: Francois Gouget IsEqualGUID is defined in 'include/wine/obj_base.h'. All other declarations must surrender or prepare to be met with deadly force :-) * relay32/ole32.spec: Francois Gouget Added new functions (from Win98) Added comments with the parameter types for future use with dllglue * files/drive.c: Uwe Bonnes Set the flags for GetVolumeInformation32A. * windows/win.c: Juergen Schmied FindWindow failed for 32 bit windows with style != WS_CHILD. Wed Feb 10 06:52:58 1999 Alexandre Julliard * include/Attic/print.h, include/winspool.h, misc/printdrv.c, graphics/psdrv/driver.c, graphics/psdrv/escape.c, graphics/psdrv/font.c, graphics/psdrv/graphics.c, graphics/psdrv/init.c, graphics/psdrv/ppd.c, graphics/psdrv/ps.c, graphics/psdrv/text.c: Paul Quinn Albert Den Haan Moves files from print.h to winspool.h for better SDK header compliance for Winelib programs. * include/hook.h, include/objidl.h, include/ole2.h, include/tchar.h, include/winbase.h, include/wine/obj_clientserver.h, include/wine/obj_dataobject.h, include/wine/obj_storage.h, include/winerror.h, include/winuser.h, include/wtypes.h: Albert Den Haan Adrian Thurston Paul Quinn Zygo Blaxell Miscellaneous patches to header files. All of these are supposedly there to help build Winelib applications. * include/wintypes.h: Albert Den Haan Adrian Thurston Paul Quinn Zygo Blaxell More types we need for compiling Winelib/MFC applications. * include/commctrl.h: Paul Quinn Adrian Thurston More types for common controls. Needed for Winelib. * dlls/shell32/shelllink.c, dlls/shell32/shellole.c, include/wine/obj_base.h, multimedia/dsound.c, ole/compobj.c, ole/ifs.c: Francois Gouget Better set of macros for defining the COM interfaces. * dlls/advapi32/security.c, relay32/advapi32.spec: Andreas Mohr Two ADVAPI32 stubs: ImpersonateSelf32 and AccessCheck32. Spelling fixes. * graphics/ddraw.c: Lionel Ulmer Fixed debug output to follow '-debugmsg' flags. Tue Feb 9 15:49:39 1999 Alexandre Julliard * msdos/int20.c, ole/safearray.c, relay32/builtin32.c, server/device.c, server/file.c, server/pipe.c, server/thread.c, windows/winhelp.c: Michael Veksler Added missing includes to avoid warnings/errors. * include/dinput.h, include/lzexpand.h, include/ntdll.h, include/ole2.h, include/shellapi.h, include/vga.h, include/winbase.h, include/wincon.h, include/windef.h, include/windows.h, include/wine/keyboard16.h, include/wine/obj_storage.h, include/wine/shell16.h, include/wine/w32skrnl.h, include/wine/winbase16.h, include/wine/winesound.h, include/wine/winestring.h, include/wine/winuser16.h, include/winnetwk.h, include/winnls.h, include/winnt.h, include/winreg.h, include/wintypes.h, include/winuser.h, include/winver.h: Michael Veksler Moved everything out of windows.h. * graphics/wing.c, if1632/gdi.spec, include/bitmap.h, include/palette.h, include/wingdi.h, objects/palette.c, relay32/gdi32.spec: Brad Pepers WinG fixes. * controls/menu.c, include/message.h, include/queue.h, windows/dialog.c, windows/message.c, windows/nonclient.c, windows/queue.c, windows/timer.c: Stephane Lussier -Fixed MESSAGE functions that were thunking down to 16 bits implementation. So PeekMessage32, GetMessage32, PostMessage32, PostThreadMessage are fixed with this patch. Unicode version of those functions is currently only calling the ASCII version. -Fixed queue signaling using a new EVENT object in the queue for 32 bits thread. MsgWaitForMultipleObject has been fixed and is now blocking on the right EVENT. * objects/metafile.c: Huw D M Davies GetMetaFileBitsEx should work in bytes not words. * include/shlobj.h: Francois Gouget DllGetClassObject should take a REFCLSID not an LPCLSID. * objects/dib.c, include/global.h, memory/virtual.c: Ulrich Weigand Change fault handler 'addr' argument to LPCVOID. * files/file.c: Ulrich Weigand Call VIRTUAL_HandleFault if read/write returns EFAULT. * dlls/comctl32/treeview.c: Bertho Stultiens Fix typo to map GetTextExtentPoint to the correct 32A version. * documentation/debugging, include/peexe.h, include/wincon.h, programs/regtest/regtest.c, relay32/advapi32.spec, windows/x11drv/main.c, dlls/advapi32/security.c: Marcus Meissner Some small bugfixes, added more PE relocation types (for WinCE mostly), some console prototypes, -dll is useful for winelib too, regtest compile fixed. * include/wine/winuser16.h, include/winuser.h, objects/cursoricon.c: Paul Quinn GetCursorPos is actually a BOOL. * include/mmsystem.h: Paul Quinn Adrian Thurston More types, C++ protection, and a typo correction for mmsystem.h. * include/commctrl.h: Zygo Blaxell Move the #define of DUMMYUNIONNAME* to before they are used. Add a definition for DUMMYUNIONNAME (as opposed to DUN1, DUN2...). Use the correct WINELIB_NAME_AW macro for TVITEM and related names. Define "TV_ITEM" to agree with you-know-who's documentation. * dlls/version/info.c: Ulrich Weigand NULL is a valid argument as handle for GetFileVersionInfoSize32A. * include/dinput.h, windows/dinput.c: Lionel Ulmer Added buffered device access for DInput's mouse driver. * files/file.c: Juergen Schmied Wrong access on server handle was demanded (GENERIC_READ instead of GENERIC_WRITE). * dlls/shell32/shellord.c: Juergen Schmied Better implementation (takes strings or res-id's now). * dlls/version/resource.c: Ulrich Weigand Bugfix: NULL pointer check for output parameters. * dlls/shell32/brsfolder.c: Zygo Blaxell Fixed two pointer/integer mismatch warnings. * documentation/console: Zygo Blaxell Spelling fixes. * console/xterm.c, win32/console.c: Zygo Blaxell wine_openpty is not properly declared (either missing or mismatched declarations) in both places where it is used. * include/wingdi.h, objects/dib.c: Zygo Blaxell Fix types of GetDIBits functions (LPSTR should be LPVOID). * graphics/x11drv/dib.c: Huw D M Davies Fixes several problems with SetDIBitsToDevice if xSrc != 0. Thanks to Ian Schmidt for the logs. * windows/mdi.c: Francois Boisvert The systems buttons (minimize/restore/close) now appear on the menu bar of mdi application. * controls/menu.c: Francois Boisvert Implemented the magic menu items id's used by windows when inserting the minimize/maximize/close buttons in the menu bar of an application. * objects/enhmetafile.c: Jason McMullan Adds support for EMR_STRETCHDIBITS in EMFs. * programs/avitools/aviplay.c: Marcus Meissner Fixed image size and line size, added 8bit color/palette handling. * tools/bug_report.pl: Adam the Jazz Guy Fixed formatting of code Now changes to directory of program to be run before starting wine * windows/queue.c, windows/user.c, include/user.h, scheduler/thread.c: Stephane Lussier - Cleaned up the message queue when a thread exit (but not the process). - Modified QUEUE_DeleteMsgQueue to exit gracefully (without crashing Wine) if queue link list is corrupted. * multimedia/dsound.c: Ove Kaaven Sounds were cut off due to integer overflow. Fixed. * include/windowsx.h: Paul Quinn Added windowsx.h for Winelib. Fri Feb 5 17:40:47 1999 Alexandre Julliard * configure, configure.in, programs/Makefile.in, programs/cmdlgtst/.cvsignore, programs/cmdlgtst/Makefile.in, programs/cmdlgtst/cmdlgr.h, programs/cmdlgtst/cmdlgr.rc, programs/cmdlgtst/cmdlgtst.c: Added common dialogs test program. * include/message.h, include/queue.h, include/win.h, include/winpos.h, scheduler/thread.c, windows/focus.c, windows/input.c, windows/message.c, windows/queue.c, windows/win.c, windows/winpos.c: Noel Borthwick Added management and allocation of the PERQUEUEDATA structure. * graphics/ddraw.c, graphics/vga.c, include/ddraw.h: Lionel Ulmer - added a dump of the palette creation flags - changed palette creation code in vga.c to prevent useless error message * documentation/wine.man, files/drive.c, wine.ini: Andreas Mohr Use vfat/win95 as default. * include/vfw.h, multimedia/msvideo.c, programs/avitools/.cvsignore, programs/avitools/Makefile.in, programs/avitools/aviinfo.c, programs/avitools/aviplay.c, relay32/builtin32.c, relay32/msvfw32.spec: Marcus Meissner Updated msvideo / vfw.h, use builtin msvfw32.dll by default, added aviinfo and aviplay programs. * win32/console.c: Marcus Meissner Continued hack to win32/console.c, so that the IDA Pro Disassembler works again. Needs much more work however. * ole/storage32.c: Marcus Meissner Include objbase.h for CoTaskMem* prototypes (or we get WINAPI problems). * ole/storage32.h: Marcus Meissner Added missing ULONG to static const OFFSET_xx. Thu Feb 4 16:45:40 1999 Alexandre Julliard * documentation/wine.man: James Juran Various manpage updates, including the incorrect statement about glibc and clone(). * documentation/debugging: James Juran Fix pointer to the Windows Disassembler 32. Thanks to Herbert Rosmanith for suggesting this. * dlls/msacm32/driver.c: Andreas Mohr Another usage of non-portable functions... * msdos/dosmem.c: Andreas Mohr Some values of pBiosData added/fixed. * objects/palette.c, windows/clipboard.c, windows/dce.c, windows/display.c, windows/event.c, windows/keyboard.c, windows/mouse.c, windows/sysmetrics.c, windows/user.c, windows/win.c, windows/winpos.c, controls/desktop.c, controls/widgets.c, debugger/dbg.y, graphics/ddraw.c, graphics/painting.c, graphics/wing.c, include/bitmap.h, include/color.h, include/ddraw.h, include/debug.h, include/debugdefs.h, include/desktop.h, include/display.h, include/main.h, include/options.h, include/ttydrv.h, include/win.h, include/x11drv.h, misc/main.c, objects/bitmap.c, objects/color.c, objects/dc.c, objects/dib.c, objects/gdiobj.c: Patrik Stridvall Moved some more code to the X11 driver. * windows/ttydrv/Makefile.in, windows/ttydrv/clipboard.c, windows/ttydrv/desktop.c, windows/ttydrv/event.c, windows/ttydrv/init.c, windows/ttydrv/keyboard.c, windows/ttydrv/main.c, windows/ttydrv/monitor.c, windows/ttydrv/mouse.c, windows/ttydrv/wnd.c: Patrik Stridvall TTY driver changes. * windows/x11drv/Makefile.in, windows/x11drv/clipboard.c, windows/x11drv/desktop.c, windows/x11drv/event.c, windows/x11drv/init.c, windows/x11drv/keyboard.c, windows/x11drv/main.c, windows/x11drv/monitor.c, windows/x11drv/mouse.c, windows/x11drv/wnd.c, graphics/x11drv/bitblt.c, graphics/x11drv/bitmap.c, graphics/x11drv/brush.c, graphics/x11drv/clipping.c, graphics/x11drv/dib.c, graphics/x11drv/graphics.c, graphics/x11drv/init.c, graphics/x11drv/objects.c, graphics/x11drv/oembitmap.c, graphics/x11drv/pen.c, graphics/x11drv/text.c, graphics/x11drv/xfont.c: Patrik Stridvall X11 driver changes. * tsx11/ts_xf86dga.c, tsx11/ts_xf86vmode.c, tsx11/ts_xlib.c, tsx11/ts_xpm.c, tsx11/ts_xresource.c, tsx11/ts_xshm.c, tsx11/ts_xutil.c, include/ts_xf86dga.h, include/ts_xf86vmode.h, include/ts_xlib.h, include/ts_xpm.h, include/ts_xresource.h, include/ts_xshm.h, include/ts_xutil.h, tools/make_X11wrappers: Patrik Stridvall Non-X11 compile fix for generated code. * include/monitor.h, windows/multimon.c: Patrik Stridvall Implementation of the new monitor abstraction. * graphics/ttydrv/.cvsignore, graphics/ttydrv/Makefile.in, graphics/ttydrv/init.c, Makefile.in: Patrik Stridvall New TTY driver for GDI. * configure, configure.in, include/acconfig.h, include/config.h.in: Patrik Stridvall - Added the graphics/ttydrv directory. - Don't search for reentrant X when X doesn't exist. - Added config options HAVE_LIBXXPM - Added checks if the header files also exist for some libraries Tue Feb 2 16:14:23 1999 Alexandre Julliard * dlls/shell32/brsfolder.c, graphics/d3dcommon.c, graphics/d3ddevices.c, graphics/d3dexecutebuffer.c, graphics/d3dlight.c, graphics/d3dmaterial.c, graphics/d3dtexture.c, graphics/d3dviewport.c, include/interfaces.h, ole/safearray.c, ole/stg_bigblockfile.c, ole/stg_stream.c, ole/storage32.c: Francois Gouget Replaced references to interfaces.h by wine/obj_xxx.h headers instead since these headers already provide the necessary definitions. * include/msdos.h, msdos/Attic/cdrom.c, msdos/Makefile.in, msdos/int2f.c: Eric Pouech Removed references to obsolete msdos/cdrom.c file. Make use of new Wine internal CD ROM interface. * multimedia/mcicda.c: Eric Pouech Fixed tracks indexing in mcicda.c Make use of new Wine internal CD ROM interface. * include/cdrom.h, misc/Makefile.in, misc/cdrom.c: Eric Pouech New Wine internal interface for handling CD Rom (especially audio CD ROM). * include/commctrl.h, include/treeview.h, dlls/comctl32/treeview.c: Zygo Blaxell Change a few types to match you-know-who's declarations. HTREEITEM is a struct _TREEITEM FAR* GetDIBits passes a LPVOID for the bitmap data, not LPSTR. Adjustment of Wine C code to match the new types included. * misc/lzexpand.c: Uwe Bonnes Fixed GET_LZ_STATE macro. * graphics/d3d_private.h, graphics/d3dtexture.c, graphics/ddraw.c, include/d3d.h, include/ddraw.h: Lionel Ulmer Added stubs for new DirectDraw4 and DirectDrawSurface4 methods. * tools/wrc/wrc.h, tools/wrc/wrctypes.h, tools/wrc/CHANGES: Albert den Haan Fixed wrong order of res_ico and res_bmp which must be in RT_xxx order. * dlls/version/resource.c: Marcus Meissner reslen could be used uninitialised in GetFileResource32 (fixes some strange VerQueryValue crashes). * ole/nls/sve.nls: Jan D. Added definition for LOCALE_SGROUPING, LOCALE_SMONGROUPING and LOCALE_IINTLCURRDIGITS. * memory/selector.c, relay32/kernel32.spec: Ulrich Weigand Bugfix: Preserve EAX in UnMapSLFixArray(). * dlls/comctl32/comctl32undoc.c: Eric Kohl Fixes little pointer bug in DPA_DeletePtr(). * if1632/kernel.spec, memory/string.c: Ulrich Weigand Implemented KERNEL.434 (UnicodeToAnsi). * files/drive.c: Eric Pouech GetDiskFreeSpaceEx32A can get null pointers and still not crash. * graphics/psdrv/driver.c: Huw D M Davies Clear up args to PSDRV_AdvancedSetupDialog. * graphics/x11drv/xfont.c: Huw D M Davies Reduce MAX_FONT_SIZE to 1000. Sun Jan 31 19:04:31 1999 Alexandre Julliard * win32/console.c, include/server.h, include/server/object.h, include/server/request.h, loader/ne/module.c, relay32/kernel32.spec, server/console.c, server/request.c, server/trace.c: Added input queue to server-side console object, read/write_console_input requests, and use them for Read/WriteConsoleInput. * scheduler/client.c: Geoff Clare Fix to allow for recvmsg() returning less data than is needed. * include/toolhelp.h, include/windows.h: Attempt at fixing the MAX_PATH multiple definition problem. ---------------------------------------------------------------- Sun Jan 31 10:13:44 1999 Alexandre Julliard * include/module.h, loader/ne/resource.c: Ulrich Weigand Modify NE_FindTypeSection and NE_FindResourceFromType so as to be usable by the VERSION code. * include/pe_image.h, loader/pe_resource.c: Ulrich Weigand Added GetResDirEntryA for use by the VERSION code. * misc/Attic/ver.c, misc/Makefile.in: Ulrich Weigand Removed old VER.DLL code. * dlls/version/.cvsignore, dlls/version/Makefile.in, dlls/version/info.c, dlls/version/install.c, dlls/version/resource.c: Ulrich Weigand Implementation of VERSION.DLL. Based on old misc/ver.c. - Accessing PE version info resources should work correctly now. - Fixed memory leaks. - Clean separation of 16- and 32-bit parts. - Minor bugfixes. * Makefile.in, configure, configure.in, dlls/Makefile.in: Ulrich Weigand Add new subdirectories dlls/ver and dlls/version. * if1632/ver.spec, dlls/ver/.cvsignore, dlls/ver/Makefile.in, dlls/ver/ver16.c, include/ver.h: Ulrich Weigand Implementation of VER.DLL. Thunks up to VERSION.DLL. * misc/lstr.c: Pascal Cuoq IsCharAlpha32A: use look-up table from ole2nls.c. * ole/ole2nls.c: Pascal Cuoq LCMapString32A: Implemented flags NORM_IGNORENONSPACE and NORM_IGNORESYMBOLS in string mapping mode. * windows/x11drv/wnd.c: NF Stevens Create X window for child windows reparented to be top level windows. * dlls/shell32/shellpath.c, include/shell.h, relay32/shell32.spec: Juergen Schmied Stub for PathQualify32[A|W]. * graphics/d3dmaterial.c, graphics/ddraw.c: Lionel Ulmer Babrian Viktor - added support for ColorKeying during blits - miscellaneous fixes * dlls/ntdll/rtl.c, include/ntdll.h, relay32/ntdll.spec: Alex Korobka Added an implementation of MRSW locks. * msdos/int21.c: Ove Kaaven Added missing includes (the PSP handling was incorrect, as the MZ_SUPPORTED definition was missing). Added a simple handler for direct console input, which needs to be improved. * console/tty.c: Ove Kaaven Small fix. * scheduler/synchro.c: Juergen Schmied List handles WaitForMultipleObjects is waiting for when running with -debugmsg +win32. * dlls/advapi32/security.c, relay32/advapi32.spec: Juergen Schmied Stub for GetSecurityDescriptorControl. * relay32/user32.spec, windows/user.c: Juergen Schmied Stub for GetUserObjectSecurity. * misc/registry.c: Juergen Schmied Implemented handling of REG_MULTI_SZ and fixed small bug in RegSetValue. * windows/winproc.c: Juergen Schmied Every EM_GETLINE send between a 32W to a 32A window returned incomplete values before (the first 2 chars where cut away). * windows/winpos.c: Huw D M Davies Fix typo in SetWindowPos32. Sat Jan 30 15:55:28 1999 Alexandre Julliard * include/builtin32.h, misc/main.c, relay32/builtin32.c: Marcus Meissner Enable/disable relay32 debugging on the fly. Start app with -debugmsg +relay or warn+relay. Suggested by Juergen Schmied. * configure, configure.in, graphics/d3d_private.h, include/acconfig.h, include/config.h.in, include/d3d.h, include/wine_gl.h: Lionel Ulmer Added check for the presence of Mesa's header files. * multimedia/audio.c, multimedia/dsound.c: Andreas Mohr Fixed error messages. * misc/commdlg.c: Bernd Herd Use proper 16->32 message conversion in FILEDLG_CallWindowProc. * windows/x11drv/wnd.c: Bernd Herd SetParent should link the window at the start of the list. * windows/winpos.c: NF Stevens In Window SetWindowPos with SWP_HIDEWINDOW does not remove the focus from the focus window; ShowWindow with SW_HIDE does. So move the code that does this from SetWindowPos to ShowWindow. * memory/string.c: Marcus Meissner Check for NULL in lstrcpy* (Windows uses real exception handlers). * Makefile.in: James Juran Don't install include files when --disable-lib is used. * relay32/winmm.spec: Andreas Mohr Added WINMM joy* .spec entries. * msdos/xms.c: Andreas Mohr XMS fix. * msdos/dosmem.c: Andreas Mohr Spelling fix. * README: Andreas Mohr Doc update. * include/miscemu.h, msdos/int10.c, msdos/int21.c, msdos/interrupts.c: Andreas Mohr Some interrupt enhancements. * msdos/ioports.c: Andreas Mohr implemented timer latching trace message fix temporary "fix" for Linux's coarse timer resolution * if1632/compobj.spec, include/objbase.h, include/winerror.h, ole/compobj.c, ole/ole2.c, relay32/ole32.spec: Francis Beaudet Implemented the startup-shutdown mechanism for the COM subsystem. Implemented the Class object registration mechanism. * programs/clock/.cvsignore, programs/notepad/.cvsignore: Added Fi.s * include/wine/obj_storage.h, ole/Makefile.in, ole/stg_bigblockfile.c, ole/stg_stream.c, ole/storage.c, ole/storage32.c, ole/storage32.h, relay32/ole32.spec: Francis Beaudet Added an implementation of the OLE structured storage. The main features of this implementation are: - Can open storages created in Windows. - Can create new storages that the windows libraries can read. - Provides all the functionality to create/open/remove and rename streams and storages inside the main storage object. * include/miscemu.h, miscemu/main.c, graphics/ddraw.c: Ove Kaaven Defined RESTORE_SIGNALS by default and call SIGNAL_EmulatorInit through a function pointer instead. Added a few traces. Fixed the "Memory corruption !" message in DGA mode. Commented out an unnecessary TSXF86VidModeSetViewPort that caused my X server to act up, relying on TSXF86DGASetViewPort instead. * graphics/psdrv/text.c, msdos/int2f.c, programs/winhelp/hlp2sgml.c, dlls/comctl32/comctl32undoc.c, files/file.c: Marcus Meissner Some more warnings and bugs fixed. * dlls/comctl32/tab.c, include/tab.h: Alex Priem Small update. * include/commctrl.h, include/treeview.h, dlls/comctl32/treeview.c, dlls/shell32/brsfolder.c: Alex Priem - The usual bugfixes. - Better unicode support (only defines, currently) - Drag & drop implemented. - LPSTR_TEXTCALLBACK should work now. - First start at custom draw code. * windows/x11drv/event.c: Francis Beaudet Make sure that the keystate received by the WM_XBUTTONUP and WM_XBUTTONDOWN matches the message. In X, the keystate is changed after the message is processed. In Windows, it is changed before. * dlls/advapi32/security.c, dlls/advapi32/service.c: Matthew Becker Doc updates. * win32/file.c: Berend Reitsma SetFileAttributes32A changed to make file writeable when FILE_ATTRIBUTE_READONLY is not set. * console/interface.c, console/ncurses.c, include/console.h, msdos/int10.c: Joseph Pranevich Preliminary color console support. * documentation/languages, programs/clock/ChangeLog, programs/clock/Fi.rc, programs/clock/Makefile.in, programs/clock/main.c, programs/notepad/ChangeLog, programs/notepad/Fi.rc, programs/notepad/Makefile.in, programs/notepad/main.c, resources/sysres_Fi.rc: Jukka-Pekka Iivonen Updated Finnish language support. Fri Jan 29 15:12:11 1999 Alexandre Julliard * include/vfw.h, include/winerror.h, include/wintypes.h, multimedia/msvideo.c, ole/guid.c, programs/Makefile.in, programs/avitools/.cvsignore, programs/avitools/Makefile.in, programs/avitools/icinfo.c, relay32/msvfw32.spec, configure, configure.in, include/debug.h, include/debugdefs.h, include/oleauto.h: Marcus Meissner Updated msvideo. New program 'icinfo [-about] [-configure]' to query installed (win32) compressors. Started on AVIFILE support. Thu Jan 28 17:56:14 1999 Alexandre Julliard * include/wine/obj_misc.h, include/wine/obj_moniker.h, include/wine/obj_storage.h, ole/Makefile.in, ole/bindctx.c, ole/filemoniker.c, ole/itemmoniker.c, ole/moniker.c, ole/ole2.c: Noomen Hamza Added a stub implementation for FileMoniker, ItemMoniker and BindCtx classes. * debugger/dbg.y, debugger/debug.l: NF Stevens Implemented the symbolfile command (as mentioned by the help command). This reads a symbol file in the format generated by nm. * multimedia/dplay.c: Peter Hunnisett - Small bug fix. - Added direct play ascii interfaces. - Fixed up the QueryInterface for dplay and dplaylobby to handle all cases. * memory/virtual.c: Marcus Meissner Fixed FILE_VIEW struct initialisation. * include/dosexe.h: Andreas Mohr Fixed non-i386 compile. * graphics/vga.c, msdos/dpmi.c, multimedia/dplay.c, multimedia/mmio.c, dlls/comctl32/animate.c, dlls/comctl32/comboex.c, dlls/comctl32/comctl32undoc.c, dlls/comctl32/hotkey.c, dlls/comctl32/ipaddress.c, dlls/comctl32/listview.c, dlls/comctl32/pager.c, dlls/comctl32/propsheet.c, dlls/comctl32/rebar.c, dlls/comctl32/tab.c, dlls/comctl32/toolbar.c, dlls/comctl32/treeview.c: James Juran Commented out unused variables to prevent needless compiler warnings. * include/ddeml.h, misc/ddeml.c: Keith Matthews 1st cut implementation of DdeInitialize32W and supporting code. * dlls/advapi32/advapi.c, dlls/advapi32/eventlog.c, dlls/advapi32/security.c, dlls/advapi32/service.c: Matthew Becker Documentation standardizations. * include/queue.h, windows/hook.c, windows/message.c, windows/queue.c, windows/win.c, windows/winpos.c: Stephane Lussier - Made the message queue access to be thread safe. (Using two new functions to access the message queue, QUEUE_Lock(), QUEUE_Unlock() instead of GlobalLock16()). - Fixed QUEUE_DumpQueue (used by "info queue " with the wine-debugger). * multimedia/dsound.c, multimedia/mmsystem.c, objects/text.c, windows/dialog.c, windows/dinput.c, windows/mdi.c, windows/msgbox.c, windows/win.c, windows/winproc.c, dlls/shell32/shell32_main.c, dlls/shell32/shell32_main.h, graphics/d3dmaterial.c, graphics/metafiledrv/init.c, if1632/relay.c, include/wincon.h, loader/resource.c, misc/imm.c, misc/lzexpand.c, msdos/int21.c, dlls/comctl32/propsheet.c, dlls/ntdll/rtl.c: Marcus Meissner Fixed a lot of warnings for possible problems. * misc/comm.c: Herbert Rosmanith Fixed typo. * tools/bug_report.pl: Adam the Jazz Guy Fixed various bugs. Made newbie mode easier. * objects/cursoricon.c, dlls/comctl32/imagelist.c, if1632/user.spec, include/wine/winuser16.h, include/winuser.h: Marcus Meissner Fixed GetIconInfo16 (.spec,ICONINFO struct is different for Win16/Win32). * console/ncurses.c: Marcus Meissner Switch ncurses.h/curses.h include (works better for FreeBSD). * windows/driver.c: Marcus Meissner Fixed loading of win32 drivers. Tue Jan 26 17:29:49 1999 Alexandre Julliard * files/profile.c: Don't abort PROFILE_GetSection on empty keys. * dlls/msacm32/internal.c: Eric Pouech Temporary #if 0'ed part for builtin modules in MSACM to make it compile with the patch for loadable drivers. * include/driver.h, relay32/winmm.spec, windows/driver.c: Eric Pouech Added support for loading drivers in Wine. * tools/bug_report.pl: Adam the Jazz Guy A perl script to produce a bug report with little hassle. * graphics/dispdib.c: Ove Kaaven Added (dummy) Death/Resurrection calls to DisplayDib. * misc/lzexpand.c: Marcus Meissner Allocate a DOS handle if we open a normal file with LZOpenFile16. * graphics/ddraw.c, include/ddraw.h: Lionel Ulmer - added depth conversion routines (only 8bpp -> 16 bpp for now) - added support of DEPTH_FILL for Blits - added some flags in GetCaps to get some games working * if1632/user.spec, include/wine/winuser16.h, include/winuser.h, objects/cursoricon.c, relay32/user32.spec, dlls/comctl32/imagelist.c: Andreas Mohr Implemented GetIconInfo16 -> call to GetIconInfo32. * scheduler/client.c: Commented out EXEC_SERVER * dlls/comctl32/draglist.c: Marcus Meissner 3 missing WINAPI added. * dlls/shell32/enumidlist.c, dlls/shell32/iconcache.c, dlls/shell32/shell32_main.c, dlls/shell32/shell32_main.h, dlls/shell32/shellord.c, dlls/shell32/shlfolder.c, dlls/shell32/shres.rc: Juergen Schmied Small fixes. * dlls/comctl32/treeview.c, include/commctrl.h: Juergen Schmied Changed some treeview related definitions. * dlls/shell32/Makefile.in, dlls/shell32/brsfolder.c: Juergen Schmied Implemented SHBrowseForFolder() dialog. * debugger/msc.c: Eric Pouech Fixed typo in type (removed quite a few warnings). * dlls/advapi32/security.c, relay32/advapi32.spec: Marcus Meissner Added GetSecurityDescriptorOwner/Group, RevertToSelf stubs. Return NULL from OpenThreadToken. * win32/console.c: Marcus Meissner Do not endlessly loop in CONSOLE_get_input after EOF. Create xterm even if stdin is not a terminalhandle. SetConsoleCursorPosition: Only make complex console on row change, ignore interline positioning (so the cygwin cmdline tools do not create xterms unnecessary) * misc/printdrv.c: Huw D M Davies Make sure DrvGetPrinterData returns the correct data if cbData <= 1 * include/queue.h, windows/message.c, windows/queue.c, windows/win.c: Stephane Lussier - Changing MESSAGEQUEUE structure according to Ulrich proposition. - One message queue for every thread needing it. - Messages in the message queue are now stored in a linked list - Messages are allocated in the system heap. - Messages in the message queue are 32 bits (MSG32). - All read/write operations regarding messages in the message queue are thread safe. Sun Jan 24 19:14:58 1999 Alexandre Julliard * dlls/comctl32/commctrl.c, dlls/comctl32/flatsb.c, dlls/comctl32/imagelist.c, dlls/comctl32/listview.c, dlls/comctl32/propsheet.c, dlls/comctl32/status.c, include/flatsb.h: Eric Kohl Fixed several bugs and typos. * documentation/common_controls: Eric Kohl Updates and fixes. * dlls/comctl32/Makefile.in, dlls/comctl32/draglist.c, include/commctrl.h, relay32/comctl32.spec: Eric Kohl New drag list control. * dlls/comctl32/comctl32undoc.c: Eric Kohl Fixed pointer bugs in DPA_InsertPtr() and DPA_DeletePtr(). * dlls/comctl32/progress.c, include/progress.h: Eric Kohl Added WM_[G/S]ETFONT handling. * dlls/comctl32/pager.c: Eric Kohl Added WM_COMMAND and WM_NOTIFY handling. * dlls/comctl32/tooltips.c: Eric Kohl Fixed redraw bug for tracking tooltips. * dlls/comctl32/rebar.c: Eric Kohl Added some messages to the rebar control. * multimedia/mcicda.c: Geoff Clare Several internal functions won't compile when the conditional #if defined(linux) || defined(__FreeBSD__) || defined(__NetBSD__) comes out false. I moved the conditionals around so that the file would at least compile. Not sure if it does the right thing on non-linux/FreeBSD/NetBSD systems. * misc/toolhelp.c: Geoff Clare Moved process.h higher up the include list, to avoid a problem with "ERR" being redefined in sys/regset.h. * misc/comm.c: Geoff Clare The B57600 and B115200 symbols are not defined in Unixware. * controls/listbox.c: NF Stevens Change SW_??? options on list box scrolling so that they match what Windows does. * loader/dos/dosvm.c: Ove Kaaven Moved DOS handle allocation slightly, to fix potential memory leaks and lost handles. Also removed some useless init code. * graphics/psdrv/afm.c, graphics/psdrv/text.c, if1632/dummy.c, if1632/gdi.spec, misc/printdrv.c: Nick Holloway Internal PostScript printer driver improvements. * controls/edit.c: Gerard Patel Changed EDIT_EM_CharFromPos to return line number. * windows/x11drv/wnd.c: Marcus Meissner Free the private data pointer, THEN set it to NULL. * windows/message.c: Marcus Meissner Missing WINAPI. * include/oleauto.h, include/winerror.h, ole/Makefile.in, ole/safearray.c, relay32/oleaut32.spec: Sylvain St.Germain Implementation of the SafeArray family functions. * include/windows.h, relay32/kernel32.spec, scheduler/thread.c: Guy Albertelli Added stub for SetThreadLocale. * objects/text.c: Guy Albertelli Finished GetTextCharsetInfo routine. * ole/nls/enu.nls, ole/ole2nls.c: Guy Albertelli Fixed FIXME in EnumTimeFormats32W Added support for FONTSIGNATURE in GetLocaleInfo32A and updated GetLocaleInfo32W. * documentation/internal-dll, documentation/shell32, documentation/wine.man: Pascal Cuoq Fixed typos. * debugger/msc.c: Sergey Turchanov Fixed source line matching for functions in DEBUG_ProcessCoffDebug; searching for DBG and PDB files. * debugger/hash.c: Sergey Turchanov Fix for files which do not contain exports (fg, EXE) to get processed for debug information. * if1632/kernel.spec, if1632/relay.c, if1632/thunk.c, tools/build.c: Ulrich Weigand Implemented KERNEL.621 (CBClientThunkSLEx). * debugger/dbg.y, debugger/debug.l, debugger/info.c, include/main.h, misc/main.c: Marcus Meissner Allow switching off/on of debugmsgs in the debugger. * loader/main.c, miscemu/instr.c, msdos/dosmem.c, msdos/int15.c, include/miscemu.h: Andreas Mohr Implemented Int 0x15/0xc0: BIOS - GET CONFIG and some other BIOS data. Sat Jan 23 14:15:17 1999 Alexandre Julliard * graphics/painting.c, if1632/user.spec, include/wine/winuser16.h, loader/pe_image.c, misc/lstr.c, windows/hook.c, windows/message.c: Andreas Mohr Implemented WIN16_CallMsgFilter32, WIN16_DispatchMessage32, DrawAnimatedRects16 (stub), FormatMessage16, WIN16_GetMessage32, WIN16_PeekMessage32 and WIN16_TranslateMessage32. * dlls/shell32/Makefile.in, dlls/shell32/classes.c, dlls/shell32/contmenu.c, dlls/shell32/dataobject.c, dlls/shell32/enumidlist.c, dlls/shell32/folders.c, dlls/shell32/iconcache.c, dlls/shell32/shell32_main.c, dlls/shell32/shell32_main.h, dlls/shell32/shellguid.c, dlls/shell32/shelllink.c, dlls/shell32/shellole.c, dlls/shell32/shellord.c, dlls/shell32/shellpath.c, dlls/shell32/shlfolder.c, dlls/shell32/shlview.c, include/interfaces.h, include/shlguid.h, include/shlobj.h, include/windows.h, misc/shell.c: Juergen Schmied - some fixes, cleaned up includes, fixed leaks - clean DllReferenceCount, better DllMain() - dynamically linking LookupIconIdFromDirectoryEx32 and CreateIconFromResourceEx32 to USER32 - moved guid's instances to new file shellguid.c - implemented ShellExecuteEx32W * ole/Makefile.in, ole/compobj.c, ole/guid.c: Juergen Schmied Moved the instance creation of GUID's to a new file. Size of compobj.o goes down to 1/3; should prevent more sig11's. * include/initguid.h: Juergen Schmied New file to instantiate GUID's ms-like. * windows/x11drv/wnd.c: Marcus Meissner Set private data struct to NULL to expose problems in other code better. Fixes the XUnmapWindow problems reported by replacing them with NULL ptr dereferences. * documentation/debug-msgs, documentation/debugging, documentation/internal-dll, documentation/ioport-trace-hints, documentation/wine_os2: Zygo Blaxell Fixed typos. * files/file.c, include/file.h, loader/dos/dosvm.c: Marcus Meissner DOS programs use handles 0-4 without opening/closing any of those handles first. Split up Init from AllocDosHandle and call it from the DOSVM. * Makefile.in: Marcus Meissner Remove configure.in->configure rule (we might not have autoconf). * configure, configure.in: Ove Kaaven Added "user-friendly" warning for missing X. * include/ole.h: Fixed GetObject macro problem. * documentation/status/direct3D: Lionel Ulmer - updated documentation to be in sync with current code * graphics/d3dmaterial.c, graphics/d3dviewport.c: Lionel Ulmer - various warning and bug fixes * graphics/d3ddevices.c, graphics/d3dtexture.c: Lionel Ulmer - added more texture formats using OpenGL's packed pixel formats * graphics/d3dexecutebuffer.c, include/d3d.h: Lionel Ulmer - better support for ExecuteBuffers * graphics/ddraw.c: Lionel Ulmer - corrected bug in Z Buffer allocation - put VIDEOMEMORY flag for all primary surfaces - put something in a surface after a ReleaseDC * misc/printdrv.c: Morten Welinder Missing WINAPI. * controls/static.c: Niclas Karlsson Removed DT_SINGLELINE and DT_NOCLIP styles for SS_LEFTNOWORDWRAP. * objects/enhmetafile.c: Marcus Meissner Check opened enhmetafile for magic values. * include/dsound.h, multimedia/dsound.c: Rob Riggs Fixed duplicate sound buffer handling. Updated status. * misc/registry.c: Juergen Schmied New functions lmemcpynAtoW and lmemcpynWtoA for converting REG_MULTI_SZ (including \0x00) Better debug output for REG_BINARY and REG_MULTI_SZ Rewritten RegQueryValueEx32[A|W] * objects/palette.c: Juergen Schmied Implemented CreateHalftonePalette. Fixed 3 crashes (1 real, 2 potential). * dlls/shell32/iconcache.c, if1632/shell.spec, include/shell.h, misc/shell.c: Marcus Meissner Implemented ExtractIconEx16, added some consts to ExtractIconEx*. * ole/ole2.c, ole/olecli.c, relay32/ole32.spec, include/winerror.h: Sylvain St.Germain DoDragDrop and OleIsCurrentClipboard stub implementation. * ole/typelib.c: Francis Beaudet Make LoadTypeLib stub return failure instead of success. Fri Jan 22 17:09:46 1999 Alexandre Julliard * documentation/accelerators, include/winuser.h, loader/resource.c, windows/input.c: Marcus Meissner Fixed accelerator handling. ACCEL16 used internal, ACCEL32 for Win32 API, PE_ACCEL for PE Accelerators. See documentation/accelerators. Thu Jan 21 14:05:11 1999 Alexandre Julliard * include/ddeml.h, misc/ddeml.c, relay32/user32.spec: Francis Beaudet There were two copies of the DdeCmpStringHandles (A and W) and that API does not have 2 versions. Removed the extra version. Wed Jan 20 14:54:01 1999 Alexandre Julliard * graphics/x11drv/xfont.c: Pablo Saratxaga Small patch. * win32/console.c: Marcus Meissner Win32 console needs SYNCHRONIZE access. * configure, configure.in, console/ncurses.c, debugger/stabs.c, include/config.h.in, include/console.h, misc/port.c: Marcus Meissner autoconf: added checks for libio.h, elf.h, curses.h,ncurses.h and fixed includers. * ole/ole2nls.c: Marcus Meissner LCMapStringA: if dstlen is insufficient, return ERROR_INSUFFICIENT_BUFFER (verified). * objects/enhmetafile.c, relay32/gdi32.spec: Marcus Meissner Some small fixes to enhmetafiles. * controls/listbox.c: Marcus Meissner Do not call ownerdraw for invalid items (empty focusrects). Fixes Eudora 16bit empty Inbox problem. * windows/nonclient.c: Noomen Hamza Fixed the NC_DrawMaxButton95 and NC_DrawMinButton95 functions. Rewrote these functions with the same logic as the NC_DrawCloseButton function. * windows/win.c: Noel Borthwick Reparenting a window with SetParent in Windows should cause the child window being re-parented to be moved up to the topmost in the z-order, and WM_WINDOWPOSCHANGING and WM_WINDOWPOSCHANGED messages to be sent. * relay32/builtin32.c: Robert Riggs Use external DirectPlay DLLs by default. * loader/task.c: Ulrich Weigand Allow passing task handles to GetThreadQueue() and SetFastQueue(). * windows/user.c: Ulrich Weigand Handle (console) applications that never created a queue correctly in USER_AppExit(); call InitThreadInput() in InitApp(). * windows/hook.c: Ulrich Weigand - Fixed creation of message queue in hook API routines. - Some preparations for thread-local message queues. * loader/ne/module.c: Ulrich Weigand Check module name length in ModuleNext(). * windows/x11drv/event.c: Ulrich Weigand Use Callout to call RedrawWindow32. * msdos/int21.c: Ove Kaaven Clear DOS extended error only for funcs >=0x2f (thanks to Dave Pickles). * graphics/ddraw.c: Marcus Meissner Unified palette create, do allocate colorcells on init for DGA. Tue Jan 19 17:48:25 1999 Alexandre Julliard * scheduler/synchro.c, scheduler/thread.c, server/console.c, server/file.c, server/process.c, server/request.c, server/thread.c, server/trace.c, win32/console.c, win32/device.c, win32/process.c, include/file.h, include/process.h, include/server.h, include/server/object.h, include/server/request.h, include/server/thread.h, include/thread.h, include/winbase.h, include/windows.h, include/wintypes.h, memory/virtual.c, msdos/int21.c, msdos/vxd.c, relay32/kernel32.spec, scheduler/client.c, scheduler/handle.c, scheduler/k32obj.c, scheduler/process.c, files/change.c, files/dos_fs.c, files/file.c, include/device.h: Hacked server-side device support Added user APCs support. Many changes to the xterm console to make use of the server (not finished yet). Moved some other small stuff to the server. * tools/make_requests: Added long type format. * server/Makefile.in, server/device.c: Added server-side device support (only a hack for now). Sun Jan 17 17:48:48 1999 Alexandre Julliard * ChangeLog: Recovered log entries from CVS mailing list. * relay32/ntdll.spec, dlls/ntdll/rtl.c: Marcus Meissner Implemented _alloca_probe and _chkstk (mostly done by Ulrich Weigand). * files/file.c Marcus Meissner Handle ERROR_WRITE_PROTECT too in readonly fallback open. * dlls/advapi32/security.c, relay32/advapi32.spec: Marcus Meissner Added GetSecurityDescriptorLength stub for regedt32.exe. * debugger/Makefile.in, files/Makefile.in: Marcus Meissner Add "" around -D defines for paths with spaces in them. * graphics/d3dtexture.c, graphics/ddraw.c, include/ddraw.h: Lionel Ulmer Cleaned up ColorKey handling. * objects/metafile.c: Paul Quinn METARECORD member rdParam should be rdParm (in win32 sdk) lots of changes in this source file to reflect this change. * graphics/escape.c, graphics/painting.c, graphics/metafiledrv/init.c, include/commctrl.h, include/commdlg.h, include/gdi.h, include/tchar.h, include/windows.h, include/wingdi.h, include/wintypes.h, include/winuser.h, misc/spooler.c, objects/gdiobj.c, relay32/gdi32.spec: Paul Quinn Fixed bad defines, added a few types 'n defines. * windows/dinput.c: Marcus Meissner Disable broken callbacks which lead to crashes. * multimedia/mcistring.c: Eric Pouech Fixed ID usage (and rely less heavily on multimedia/mmsystem.c internal structures). * misc/toolhelp.c: Marcus Meissner debug.h needs to be included last since it #undefs ERR for Solaris. * debugger/debug.l, debugger/memory.c: Marcus Meissner Added /u format to debugger display for UNICODE strings. * loader/pe_image.c: Marcus Meissner Remove irritating FIXME line no longer needed. * msdos/int2f.c: Eric Pouech Added missing '\n' in FIXME message. * graphics/ddraw.c: Robert Riggs objbase.h needed for WINE_StringFromCLSID(), fix C function declarations, install a colormap if we are not managed, release backbuffers in DGA mode, fix video mode switching logic to avoid possible NULL pointer dereference. * msdos/dpmi.c: Andreas Mohr Small fix. * files/file.c, include/file.h, include/process.h, loader/resource.c, loader/dos/module.c, loader/ne/segment.c, misc/lzexpand.c, msdos/int21.c vxd.c, multimedia/mmio.c, win32/kernel32.c: Better DOS file handle management. * documentation/common_controls: Francis Beaudet This should help prevent duplicate work. * if1632/gdi.spec, include/wingdi.h, objects/dc.c: Andreas Mohr Implemented Death() and Resurrection(), two functions needed by some TPWin (?) command line tool. * windows/winproc.c: Juergen Schmied Added 32->16 translation for WM_ACTIVATEAPP. * dlls/shell32/pidl.c, dlls/shell32/shellord.c, dlls/shell32/shellpath.c, dlls/shell32/shlfolder.c, relay32/shell32.spec: Juergen Schmied New stubs: ShellMessageBoxW, RunDLL_CallEntry16. Implementation for SHGetSpecialFolderPath32[A|W]. Many bugfixes. * console/xterm.c, misc/port.c, win32/console.c: Joseph Pranevich Change all Wine openpty() implementations to match the "standard" and then make them both call the same code leaving the option to change that code to call the "standard" openpty() at a later date. * relay32/kernel32.spec, scheduler/process.c: Marcus Meissner Added SetProcessAffinityMask stub. * graphics/ddraw.c, include/ddraw.h: Marcus Meissner Fixed the other union misuse too (one less mem corruption) Re-added XInstallColormap (or non managed does not change palette) * if1632/kernel.spec, scheduler/synchro.c: Ulrich Weigand Added an implementation for KERNEL.495. * documentation/status, documentation/direct3D, graphics/d3d_private.h, graphics/d3dcommon.c, graphics/d3ddevices.c, graphics/d3dexecutebuffer.c, graphics/d3dtexture.c, graphics/d3dviewport.c, graphics/ddraw.c, include/d3d.h, include/ddraw.h: Lionel Ulmer - added bitmask to store which ColorKey structures are valid - handle many new rendering states, some optimizations in state changes - 8bit palettized textures now support ColorKeying - some miscellaneous bug fixes and code rewrite * controls/menu.c: Noomen Hamza Fixed the look of the menu so it would be compliant with Win95: modified the mouse tracking code so it would change the selection every time the mouse moved over a menu item. * documentation/how-to-port: Mike Castle Small fix. * dlls/comctl32/updown.c: Noel Borthwick Fixed bugs: - When an edit control buddy was used single digit values were not being displayed. - Comma values were not displayed correctly when thousands separation was requested. * win32/newfns.c: Tom Bech While the debug event messages are not implemented, WaitForDebugEvent should return FALSE. * if1632/user.spec, objects/bitmap.c: Andreas Mohr Implemented CopyImage16. * documentation/bugreports Andreas Mohr Small fix. * console/generic.c, msdos/int21.c: Marcus Meissner Changed 0x01 to use generic console, fixed 0x0b. Fixed CONSOLE_GetCharacter (two args swapped). * include/module.h, loader/main.c, loader/module.c, loader/dos/module.c: Ulrich Weigand Allow specifying module name for NE dummy module. * loader/pe_image.c Ulrich Weigand Set module name of dummy module equal to module name of PE module. * controls/scroll.c, controls/uitools.c: Marcus Meissner Missing include wine/winuser16.h added. * graphics/vga.c: Marcus Meissner Create an actual primary surface for screenbuffer. ---------------------------------------------------------------- Sun Jan 10 14:40:34 1999 Alexandre Julliard * include/miscemu.h, include/msdos.h, loader/main.c, msdos/Makefile.in, msdos/dosconf.c, msdos/int21.c: Andreas Mohr Added config.sys parser. * controls/listbox.c: Pascal Cuoq Small change in LB_SETCURSEL32 handling (the caret should be moved as well). * configure, configure.in, files/async.c, include/config.h.in, misc/winsock_dns.c, msdos/int21.c, ole/compobj.c: Marcus Meissner Use autoconf check for presence of sys/file.h. * dlls/ntdll/rtl.c, relay32/ntdll.spec: Marcus Meissner Implemented DbgPrint, added ultoa. * win32/console.c: Peter Hunnisett PeekConsoleInput & ReadConsoleInput need to return 0 records read in the case of an invalid handle. * console/ncurses.c, loader/main.c: Joseph Pranevich More verbose debugging output. Remove compilation warning. * msdos/int10.c: Joseph Pranevich Fix up some interrupt calls to return at the data that they are supposed to. Also increase comment verbosity to help debug things later. * include/options.h, misc/main.c, misc/version.c: Andreas Mohr Added switch -dosver. Cleanup for OaBuildVersion(). * libtest/.cvsignore: Added vartest and volinfo * dlls/shell32/contmenu.c, dlls/shell32/pidl.c, dlls/shell32/pidl.h, dlls/shell32/shelllink.c, dlls/shell32/shellord.c, dlls/shell32/shlfolder.c, dlls/shell32/shlview.c, include/shell.h: Juergen Schmied Many bugfixes, code cleanup. Removed a few glitches from the COM patch. * windows/dialog.c: Lawson Whitney Only destroy window once. * graphics/ddraw.c, include/ddraw.h: Marcus Meissner - moved drawable to common since it is used by both DGA and Xlib. (fixes one bad memory corruption bug in DGA (StarCraft and Diablo) - added BltFast sanity checks. * windows/queue.c, loader/task.c: Ulrich Weigand InitApp() call removed from 32-bit application startup; create task message queue in InitThreadInput() instead. * loader/ne/convert.c: Ulrich Weigand Added accelerator table PE->NE resource conversion. * debugger/editline.c: Ulrich Weigand Restart read() in case of EINTR in TTYget(). * dlls/shell32/shellole.c: Marcus Meissner Ptr ref wrong. * tools/wrc/CHANGES, tools/wrc/dumpres.c, tools/wrc/genres.c, tools/wrc/newstruc.c, tools/wrc/newstruc.h, tools/wrc/parser.l, tools/wrc/parser.y, tools/wrc/readres.c, tools/wrc/utils.c, tools/wrc/utils.h, tools/wrc/wrc.h, tools/wrc/wrctypes.h, tools/wrc/writeres.c: Bertho Stultiens Wrc version 1.0.8. Toolbar resources are now supported. A couple of other fixes are also included. See file tools/wrc/CHANGES for details. * ole/compobj.c: Marcus Meissner Missing WINAPI. * include/x11drv.h, loader/dos/module.c, objects/dc.c, relay32/builtin32.c, relay32/relay386.c, scheduler/k32obj.c, files/async.c, if1632/relay.c, include/main.h, include/multimedia.h, include/windows.h: James Juran Add missing #includes and prototypes to eliminate some implicit function declaration warnings and 'extern's in .c files. * configure, configure.in, console/ncurses.c, include/acconfig.h, include/config.h.in: Ove Kaaven Check for resizeterm in ncurses. * libtest/Makefile.in, libtest/vartest-Win32.log, libtest/vartest.c, libtest/vartest.readme: Francis Beaudet New test program for VARIANT functions. * debugger/msc.c: Eric Pouech Some debug information (PDB) was not mapped when loading a module, which caused a core in the debugger when it tried to access it. * Makefile.in: Ove Kaaven Links libwine.so.1.0 to libwine.so in Wine's main directory. Makes Wine compile with --enable-dll again. Sat Jan 9 09:12:40 1999 Alexandre Julliard * relay32/ole32.spec, windows/dinput.c, include/storage.h, include/unknwn.h, include/windows.h, include/wine/obj_base.h, include/wine/obj_channel.h, include/wine/obj_clientserver.h, include/wine/obj_dataobject.h, include/wine/obj_marshal.h, include/wine/obj_misc.h, include/wine/obj_moniker.h, include/wine/obj_propertystorage.h, include/wine/obj_storage.h, include/winerror.h, include/wtypes.h, misc/shell.c, multimedia/dplay.c, multimedia/dsound.c, objects/font.c, ole/compobj.c, ole/ifs.c, ole/moniker.c, ole/ole2.c, ole/ole2disp.c, ole/oledlg.c, ole/oleobj.c, ole/storage.c, ole/typelib.c, dlls/shell32/dataobject.c, dlls/shell32/enumidlist.c, dlls/shell32/folders.c, dlls/shell32/pidl.c, dlls/shell32/shell32_main.c, dlls/shell32/shelllink.c, dlls/shell32/shellole.c, dlls/shell32/shellord.c, dlls/shell32/shlfolder.c, dlls/shell32/shlview.c, graphics/ddraw.c, graphics/vga.c, if1632/compobj.spec, include/compobj.h, include/ddraw.h, include/dinput.h, include/dplay.h, include/dsound.h, include/interfaces.h, include/objbase.h, include/objidl.h, include/ole.h, include/ole2.h, include/oleobj.h, include/servprov.h, include/shell.h, include/shlguid.h, include/shlobj.h, dlls/comctl32/imagelist.c, dlls/shell32/contmenu.c: Francois Gouget Added a lot of COM interfaces definitions. Restructured COM header files for better compatibility and clarity. Fri Jan 8 16:37:03 1999 Alexandre Julliard * files/file.c: Set GENERIC_READ|GENERIC_WRITE access for OF_CREATE. Make GetFileType work for all handle types. * win32/device.c: Avoid crash on NULL dev->info. * include/flatsb.h, relay32/comctl32.spec, dlls/comctl32/Makefile.in, dlls/comctl32/commctrl.c, dlls/comctl32/flatsb.c, include/commctrl.h: Alex Priem Added stubs and defines for the flat scrollbar common control. * include/commctrl.h, dlls/comctl32/datetime.c: Alex Priem Added some defines needed for custom draw'ing and datetime common controls. * dlls/shell32/iconcache.c: Eddie Carpenter Fixed a small bug in function ExtractIconEx32A. * windows/winproc.c: Juergen Schmied HTASK16 -> threadID mapping of WM_ACTIVATEAPP. * files/file.c: Bertho Stultiens Make DeleteFile fail for empty path. * msdos/ioports.c: Gerald Pfeifer Fix dummy_ctr stuff to work even without DIRECT_IO_ACCESS. * loader/ne/segment.c: Marcus Meissner Fixed wrong buffer which caused fixups to fail. * graphics/d3dcommon.c, graphics/d3ddevices.c, graphics/d3dtexture.c, include/d3d.h: Lionel Ulmer - added all the Direct3D error codes - added 8bit palettized texture support * msdos/cdrom.c: Marcus Meissner ifdefs for defines not in linux 2.0. * relay32/winspool.spec, misc/printdrv.c: Uwe Bonnes Added two stubs for AddPrinterDriver. * include/dosexe.h, loader/dos/dosmod.c, loader/dos/dosmod.h, loader/dos/dosvm.c: Ove Kaaven Queue SIGALRM to reduce the "signal 14 lost" complaints. Added support for reprogramming the DOS timer, and reading back the current value. * misc/registry.c: Marcus Meissner Wine hangs when registry (corrupted) has lone \ at end of file. * dlls/shell32/shell32_main.h, dlls/shell32/shell32_main.c: Kostya Ivanov Small patch that enables Clarion for Windows not to trap while loading. * ole/variant.c: Marcus Meissner Replace troublesome assignments by memset for whole struct. * graphics/ddraw.c: Lionel Ulmer Added handling of the 'palent' field of the CreatePalette procedure. * documentation/wine.man: Uwe Bonnes Added description about including/excluding functions from relay trace. * win32/console.c: Marcus Meissner Read at least 1 input record in ReadConsoleInputA. * memory/virtual.c: Fixed CreateMapping when a mapping with the same name already exists. Wed Jan 6 10:37:29 1999 Alexandre Julliard * server/file.c: Fixed file destruction when file has no name. Tue Jan 5 18:38:59 1999 Alexandre Julliard * misc/main.c: Eric Pouech Warns user if multiple -dll switches are used on command line. * dlls/comctl32/trackbar.c: Alex Priem Fixed a leftover HeapFree in the trackbar common control. * include/commctrl.h, include/debug.h, include/debugdefs.h, include/tab.h, dlls/comctl32/tab.c: Alex Priem Fixed some problems with the tab common control (with thanks to Anders Carlsson ). * dlls/comctl32/commctrl.c, dlls/comctl32/propsheet.c, include/commctrl.h, include/propsheet.h, relay32/comctl32.spec: Alex Priem Added a missing PropertySheet32AW and CreatePropertySheetPage stub, and some missing defines. * misc/main.c, scheduler/syslevel.c, graphics/vga.c: Ulrich Weigand Use MakeCriticalSectionGlobal on all critical sections used across process boundaries. * include/winbase.h, include/windows.h: Ulrich Weigand Added prototypes for MakeCriticalSectionGlobal, ConvertToGlobalHandle. * documentation/wine.man: Uwe Bonnes Added environment variables in the man page. * loader/dos/module.c: Gerald Pfeifer Fixed args of MZ_CreateProcess. * programs/clock/language.c, programs/notepad/language.c, programs/progman/main.c: Andreas Mohr Fixed string bug in programs/. * msdos/ioports.c: Andreas Mohr Added stupid "action" emulation for hardware timers in ioports.c. * dlls/winaspi/winaspi16.c: Andreas Mohr Again a small DOSASPI patch. * documentation/bugreports, documentation/fonts, windows/sysmetrics.c, windows/win.c, windows/winpos.c: Andreas Mohr Documentation updates. * graphics/ddraw.c: Lionel Ulmer - check if palette is not null when setting a palette - check if window handle is valid before getting its 'drawable' * graphics/x11drv/xfont.c: Eric Pouech Prevent core dump with some TTF (when X11 runs with a true type server). * server/console.c: Marcus Meissner Use stdout for default console output. ---------------------------------------------------------------- Sun Jan 3 17:00:20 1999 Alexandre Julliard * graphics/d3dexecutebuffer.c, graphics/d3dlight.c, graphics/d3dmaterial.c, graphics/d3dtexture.c, graphics/d3dviewport.c, graphics/ddraw.c, include/acconfig.h, include/config.h.in, include/d3d.h, include/wine_gl.h, multimedia/dsound.c, configure, configure.in, documentation/status/direct3D, documentation/status/directdraw, graphics/Makefile.in, graphics/d3d_private.h, graphics/d3dcommon.c, graphics/d3ddevices.c: Lionel Ulmer - beginning of implementation of Direct3D2 (DX 5.0) and associated classes - some basic code for Direct3D and Direct3DExecuteBuffer (DX 3.0) - added stretching to Blt function * misc/version.c: Marcus Meissner Try to autodetect NT4. * win32/console.c: Marcus Meissner 0 means success, all else failure for WaitForSingleObject. * msdos/int10.c: Joseph Pranevich Do not advance the cursor in certain routines. This cleaned up the implementation quite a bit. * loader/main.c: Joseph Pranevich Set console video mode when loading DOS app. (Eventually, I want to mimic Windows 9x's behavior by setting the video mode only when non INT 21 calls are used to allow for arbitrary-sized consoles). * console/interface.c, console/xterm.c: Joseph Pranevich Xterm driver can now resize the terminal when a mode change is detected. * console/generic.c: Joseph Pranevich Long standing scroll bug fixed! * console/ncurses.c, include/acconfig.h, include/config.h.in, include/console.h, configure, configure.in: Joseph Pranevich Rewrite of configuration system to support "regular" curses as well as eliminating the --with-ncurses option. Now, ncurses support will be built in if a compatible library is detected. * include/wintypes.h, windows/defdlg.c: NF Stevens Fix the return type of DLGPROC type and mask out the unset highword of the return when a 16 bit dialog proc is called. * include/interfaces.h: Rein Klazes Add interface ID's for upcoming ITypeLib implementation. * files/dos_fs.c: Juergen Schmied Bugfix for trailing slashes, repetition of '/' or '\' and SetLastError() in GetFullPathname. * Makefile.in, configure, configure.in, dlls/Makefile.in, dlls/advapi32/.cvsignore, dlls/advapi32/Makefile.in, dlls/advapi32/advapi.c, dlls/advapi32/eventlog.c, dlls/advapi32/security.c, dlls/advapi32/service.c, relay32/advapi32.spec, win32/Attic/advapi.c, win32/Attic/security.c, win32/Makefile.in, win32/init.c: Juergen Schmied Moved ADVAPI32 files to dlls/advapi32. Added stubs for eventlog functions. * relay32/shell32.spec, dlls/shell32/shelllink.c, dlls/shell32/shellole.c, dlls/shell32/shellord.c, dlls/shell32/shellpath.c, dlls/shell32/shlview.c, include/shlobj.h: Juergen Schmied New stubs NTSHChangeNotifyRegister, NTSHChangeNotifyDeregister. Cleanup, some more functions UNICODE ready. * dlls/shell32/pidl.c: Juergen Schmied SHCloneSpecialIDList implemented. SHGetDataFromIDListA corrected. * dlls/shell32/iconcache.c: Juergen Schmied Shell_GetCachedImageIndex32[A|W] implemented. * msdos/int21.c, msdos/int25.c, msdos/int26.c, files/drive.c, include/drive.h: Andreas Mohr Implemented raw device access calls for ioctlGenericBlkDevReq() and therefore moved the core functionality of int2[56].c into files/drive.c. * msdos/ioports.c: Andreas Mohr Added automatic CMOS RAM checksum calculation. * dlls/winaspi/winaspi16.c, dlls/wnaspi32/winaspi32.c, documentation/aspi, relay32/wnaspi32.spec: Andreas Mohr SendASPI32Command32 has to be __cdecl. Updated documentation/aspi and reverted an ERR back to WARN. * documentation/bugreports: James Juran Of course we want the last 100 lines, not the first 100 lines. Use 'tail' instead of 'head'. Also fix text alignment from previous patch. * multimedia/joystick.c: Ove Kaaven Reading joystick 5 when we only support 4 should fail instead of hang. * multimedia/mcicda.c: Ove Kaaven Playing a non-existent CD should fail instead of crash. * Make.rules.in, Makefile.in: Marcus Meissner Check for necessary configure reruns for Makefile and Make.rules generation. * miscemu/instr.c: Ove Kaaven Emulates ins/outs correctly for DOS programs. * ole/storage.c, scheduler/process.c, server/change.c, server/console.c, server/event.c, server/file.c, server/mapping.c, server/mutex.c, server/object.c, server/pipe.c, server/process.c, server/request.c, server/semaphore.c, server/thread.c, server/trace.c, win32/device.c, win32/file.c, files/dos_fs.c, files/file.c, include/device.h, include/file.h, include/server.h, include/server/object.h, include/server/request.h, loader/ne/module.c, loader/pe_image.c, misc/crtdll.c, msdos/int21.c, msdos/vxd.c: Implemented file sharing checks in the server. Added set file time server request. Overall clean up of the file handling (DOS device handling is now broken, should be redone). Sat Jan 2 08:22:34 1999 Alexandre Julliard * memory/virtual.c: Fixed bug in CreateFileMapping when name is not NULL. * server/request.c: Fixed CHECK_STRING display. Fri Jan 1 19:51:25 1999 Alexandre Julliard * if1632/kernel.spec, memory/local.c: Richard A Lough Put return value of LocalAlloc in CX too. * include/psdrv.h: Dimitrie O. Paun Protect against multiple includes. * dlls/shell32/iconcache.c: Use proper system directory. * scheduler/process.c: Got rid of CLIENT_GetProcessInfo. * windows/class.c, windows/dce.c, windows/defdlg.c, windows/defwnd.c, windows/driver.c, windows/msgbox.c, windows/painting.c, windows/user.c, windows/winhelp.c, include/wine/winuser16.h, include/winreg.h, include/winuser.h, loader/module.c, misc/comm.c, misc/shell.c, misc/spooler.c, misc/spy.c, misc/winsock.c, multimedia/audio.c, multimedia/mcianim.c, multimedia/mcicda.c, multimedia/mcimidi.c, multimedia/mciwave.c, multimedia/midi.c, multimedia/mmsystem.c, objects/clipping.c, ole/oleobj.c, controls/button.c, controls/desktop.c, controls/icontitle.c, controls/static.c, debugger/dbg.y, dlls/shell32/iconcache.c, dlls/shell32/shell32_main.c, graphics/psdrv/escape.c, if1632/thunk.c, include/callback.h, include/display.h, include/imagelist.h, include/ole.h, include/queue.h, include/shell.h, include/storage.h, include/struct32.h, include/winbase.h, include/windows.h: Michael Veksler Moves more stuff from windows.h. - include/winuser.h - interface relevant to user32.spec - include/wine/winuser16.h - the old 16 bit interface (internal use) - include/winbase.h - some minor updates to keep things coherent. - Lot of other files made to include wine/winuser16.h, which is no longer included from windows.h * scheduler/handle.c: Fixed CloseHandle() on global handles. * README, documentation/bugreports, documentation/win95look, documentation/wine.man: James Juran Add some information to the man page and README file. Make documentation/win95look say [Tweak.Layout] instead of [Tweaks.Layout]. Fix incorrect command given in documentation/bugreports. Standard error was not being redirected, so most of the output was lost. * objects/bitmap.c: NF Stevens Delphi 2.0 needs to allocate a bitmap bigger than 4096 bits wide. * misc/printdrv.c: NF Stevens Initialize lpdwNeeded. * if1632/snoop.c: Marcus Meissner Include stuff even if not on __i386__ for debug defines. * ole/variant.c: Marcus Meissner Another // comment fixed. * server/file.c: Marcus Meissner Need for errno decl. on Solaris. * include/wingdi.h, include/x11font.h, objects/font.c: Douglas Ridgway Implement TranslateCharsetInfo, change charset type to BYTE. * controls/combo.c, controls/listbox.c, include/combo.h: Alex Korobka Better CB_SETCURSEL message handling. * include/queue.h, include/thread.h, scheduler/synchro.c, scheduler/thread.c, windows/message.c, windows/queue.c: Moved MsgWaitForMultipleObject implementation to USER routines, using a normal Win32 event. * tools/make_requests: Send debugging output to stderr. * files/change.c, files/dos_fs.c, files/file.c, include/file.h, scheduler/client.c, scheduler/event.c, scheduler/k32obj.c, scheduler/mutex.c, scheduler/pipe.c, scheduler/semaphore.c, win32/console.c: Cleaned up and removed some no longer used code. * memory/virtual.c: Use server file mapping objects. * include/server/object.h, include/server/request.h, include/server/thread.h, server/Makefile.in, server/console.c, server/file.c, server/main.c, server/mapping.c, server/object.c, server/pipe.c, server/request.c, server/thread.c, server/trace.c, include/server.h: Added server-side file mapping object support. * misc/crtdll.c: Hacked stdio functions to use Win32 file handles. Still needs a proper stdio emulation. * loader/ne/module.c, loader/ne/resource.c, loader/ne/segment.c: Use Win32 file handles instead of Unix ones. * include/module.h, include/pe_image.h, include/process.h, loader/dos/module.c, loader/module.c, loader/pe_image.c, scheduler/process.c, include/dosexe.h: Take into account handle inheritance flag. Thu Dec 31 15:55:19 1998 Alexandre Julliard * debugger/db_disasm.c: Changed db_task_printsym to always print a full address, no matter what the operand size is. * scheduler/critsection.c: Re-implemented using a real semaphore. * windows/queue.c, files/change.c, files/file.c, include/k32obj.h, include/process.h, include/thread.h, loader/signal.c, memory/virtual.c, misc/toolhelp.c, scheduler/client.c, scheduler/event.c, scheduler/handle.c, scheduler/k32obj.c, scheduler/mutex.c, scheduler/pipe.c, scheduler/process.c, scheduler/semaphore.c, scheduler/synchro.c, scheduler/thread.c, win32/console.c, win32/device.c: Removed client-side wait functions; all waiting is now done through the server. * server/Makefile.in, server/change.c, server/process.c, server/request.c, server/trace.c, include/server.h, include/server/object.h, include/server/request.h: Added change notifications. Added global handle support. Wed Dec 30 12:11:52 1998 Alexandre Julliard * include/thread.h, scheduler/synchro.c: Changed server wait logic a bit. * win32/console.c: Hacks to support server-side console. Should be redone properly some day. * files/dos_fs.c, files/file.c, include/file.h, win32/file.c, win32/newfns.c: Reimplemented Read/WriteFile to use server file descriptors. Removed file position hack as it is wrong for Win32 (should be redone for Win16 only). * scheduler/Makefile.in, scheduler/k32obj.c, scheduler/pipe.c: Added anonymous pipe support * include/server.h, include/server/object.h, include/server/request.h, server/Makefile.in, server/console.c, server/event.c, server/file.c, server/mutex.c, server/object.c, server/pipe.c, server/process.c, server/request.c, server/semaphore.c, server/thread.c, server/trace.c: Added several file server requests Added server-side pipes and consoles Sun Dec 27 15:28:55 1998 Alexandre Julliard * misc/crtdll.c, msdos/int21.c, scheduler/client.c, scheduler/k32obj.c, server/Makefile.in, server/event.c, server/file.c, server/mutex.c, server/process.c, server/request.c, server/semaphore.c, server/trace.c, tools/make_requests, files/dos_fs.c, files/file.c, include/debug.h, include/debugdefs.h, include/file.h, include/server.h, include/server/object.h, include/server/request.h, loader/main.c, memory/virtual.c: Added beginnings of server-side file handling. Added -debugmsg +server support. Better server request dumping for varargs requests. * windows/x11drv/wnd.c: Fixed SetFocus that was broken when moved to x11drv. * include/server/object.h, include/server/thread.h, scheduler/client.c, server/Makefile.in, server/event.c, server/main.c, server/mutex.c, server/process.c, server/select.c, server/semaphore.c, server/socket.c, server/thread.c: Added add_queue/remove_queue to server object operations. Moved select() loop functions to select.c. Sat Dec 26 19:47:00 1998 Alexandre Julliard * programs/regtest/regtest.c: Renamed ERR macro to avoid confusing the make_debug script. * ole/storage.c, ole/typelib.c, include/d3d.h, include/mmsystem.h, include/oleauto.h, include/storage.h, include/winversion.h, ole/compobj.c, ole/ole2.c, ole/ole2nls.c: Juergen Schmied Fixed tons of incomplete prototypes, assignment's of pointer with different signedness, superflous ',' and ';' in structures, wrong return-types, lose of digits and some small glitches. * graphics/x11drv/xfont.c, include/x11font.h: Alex Korobka Cleaned up font encoding handling. Added 'Ignore#' option to the [fonts] section. Also, file with cached metrics now has the value of $DISPLAY appended to the filename. * programs/clock/language.c, programs/clock/main.c, programs/notepad/dialog.c, programs/notepad/language.c, programs/notepad/main.c, rc/systest.c, windows/multimon.c, windows/nonclient.c, dlls/shell32/shlview.c, files/profile.c, graphics/path.c, include/commctrl.h, include/d3d.h, include/dplay.h, include/dsound.h, include/ole.h, include/oleobj.h, include/shlobj.h, include/vfw.h, include/winerror.h, include/winioctl.h, misc/main.c, multimedia/audio.c, multimedia/dsound.c, ole/ole2.c, debugger/stabs.c, dlls/comctl32/animate.c, dlls/comctl32/header.c, dlls/comctl32/hotkey.c, dlls/comctl32/listview.c, dlls/comctl32/pager.c, dlls/comctl32/rebar.c, dlls/comctl32/toolbar.c, dlls/comctl32/tooltips.c, dlls/comctl32/trackbar.c, dlls/comctl32/treeview.c, dlls/shell32/contmenu.c, dlls/shell32/enumidlist.c, dlls/shell32/pidl.c, dlls/shell32/shellord.c: Marcus Meissner Changed // comments to /* */ so WINE compiles with non-gcc compilers again. * windows/ttydrv/clipboard.c, windows/ttydrv/event.c, windows/ttydrv/init.c, windows/x11drv/clipboard.c, windows/x11drv/event.c, windows/x11drv/init.c, windows/x11drv/mouse.c, windows/x11drv/wnd.c, debugger/dbg.y, graphics/ddraw.c, graphics/x11drv/bitblt.c, graphics/x11drv/brush.c, graphics/x11drv/clipping.c, graphics/x11drv/init.c, include/clipboard.h, include/ddraw.h, include/display.h, include/ttydrv.h, include/win.h, include/x11drv.h, objects/palette.c, windows/dce.c, windows/dinput.c, windows/display.c, windows/input.c, windows/message.c, windows/scroll.c, windows/win.c, windows/winpos.c: Patrik Stridvall Moved more things to the X11 driver. * include/wingdi.h, objects/brush.c: Francois Gouget Fixed the prototype of CreateDIBPatternBrushPt * include/windows.h: Francois Gouget Removed the CN_xxx macros since they are not used, do not correspond to any Windows define and conflict with MFC defines. windows.h must provide all the definitions contained in winbase.h Some Xxx32 functions did not have the associated Xxx macro. * include/wintypes.h: Francois Gouget Added a typedef for __int64 which is a builtin Visual C++ type Added a typedef for PUINT * include/objbase.h: Francois Gouget REFIID was not defined. * configure.in, include/acconfig.h, include/config.h.in, include/winsock.h, misc/winsock.c, configure: Pavel Roskin configure first checks whether it is possible to compile IPX code with Glibc headers. If it fails, next check determines whether direct inclusion of works. * include/tchar.h: Francois Gouget Provides the mappings. MBCS and Unicode functions are not implemented. Standard (SBCS) functions may exist or not, with the same or a different semantics. * dlls/comctl32/ipaddress.c, include/commctrl.h, include/ipaddress.h: Alex Priem IPaddress common control implementation. First try; needs more work to remove boring bugs. Fri Dec 25 08:55:15 1998 Alexandre Julliard * dlls/shell32/contmenu.c, dlls/shell32/shlview.c, include/oleobj.h, include/shlobj.h: Juergen Schmied Fixed the TEXT redefined warnings. * msdos/int10.c: Joseph Pranevich Hook into the (stubbed) resize code in msdos int10. * console/interface.c, include/console.h, include/options.h, loader/main.c, misc/main.c: Joseph Pranevich Add support for selection of console mode drivers to use using the -console option. Currently "tty", "ncurses", and "xterm" are supported. Add stubs for resizing the screen on mode changes. * include/ddeml.h, misc/ddeml.c, relay32/user32.spec: Jean-Claude Cote Partial implementation for the following DDE APIs: DdeCmpStringHandles, DdeCreateStringHandle, DdeFreeStringHandle, DdeQueryString, DdeUninitialize. Thu Dec 24 16:59:17 1998 Alexandre Julliard * ole/Makefile.in, ole/parsedt.c, ole/parsedt.h, ole/variant.c: Jean-Claude Cote Added VarDateFromStr API. * dlls/comctl32/trackbar.c, include/trackbar.h: Alex Priem - Tooltip support - Vertical trackbars supported now - TBS_BOTH support (goes along with partial cleanup of drawing code) - Use COMCTL32 heap instead of system heap * graphics/ddraw.c, include/ddraw.h: Peter Hunnisett Added all clipper&3d stubs. Starting ColorKey support. Fixed trace statement in DirectDrawCreate as formatting wasn't correct. Changed "return 0;" to "return DD_OK" or "return S_OK" as appropriate. Added SurfaceEnum dwFlags. * include/dplay.h, multimedia/dplay.c: Peter Hunnisett Added macros to header file for easier function calling. Changed implementation a little bit. Added stubs for dplay3. Still need to break into A and W versions. * win32/file.c: Peter Hunnisett CreateFile32A was only allowing console opens on CONIN$/OUT$. This has been changed to have a case insensitive compare. * controls/listbox.c: Gerard Patel Don't send ODA_ENTIRE for empty listboxes (LISTBOX_Paint). * include/winbase.h, relay32/kernel32.spec, win32/kernel32.c: Jean-Claude Cote Implemented the GetBinaryType API function. * loader/dos/dosmod.c, loader/dos/dosmod.h, loader/dos/dosvm.c, loader/dos/module.c: Ove Kaaven Added some new dosmod communication possibilities, including activating a dosmod-specific setitimer(), and the capture of some common signals, which is returned to Wine (previously a SIGILL would just cause a "dosmod sync lost" without explanation, now it invokes the Wine debugger). Invokes int 08 upon receipt of dosmod SIGALRM, thus simulating the DOS timer. Made DOS interrupt calls be reported by -debugmsg +relay instead of -debugmsg +int. And fixed non-i386 compilation of dosmod. (Anything else?!) * loader/main.c, windows/win.c: Ulrich Weigand Desktop window queue handling adapted. * windows/clipboard.c, windows/hook.c, windows/timer.c, windows/winpos.c: Ulrich Weigand Queue handling adapted to new queue routines. * windows/message.c, windows/queue.c, if1632/user.spec, include/queue.h, include/task.h: Ulrich Weigand Implemented stub for InitThreadInput. Use GetThreadQueue/GetFastQueue instead of GetTaskQueue. * loader/task.c, miscemu/main.c: Ulrich Weigand Use Callout table instead of direct GetProcAddress. UserYield moved to USER. * include/callback.h, misc/callback.c, if1632/thunk.c: Ulrich Weigand Callout table (for KERNEL->USER calls) added. Callbacks->CallPostAppMessageProc removed. * misc/callback.c, windows/x11drv/event.c, include/callback.h, include/queue.h, include/task.h, loader/task.c, if1632/thunk.c: Ulrich Weigand Handle non-hardware X events correctly with native USER (removed reference to MESSAGEQUEUE from KERNEL code). Handle Expose events with native USER. * misc/crtdll.c: Andreas Mohr Better _ultoa(). * win32/time.c: Rein Klazes Fix small problem in GetTimeZoneInformation(). * windows/x11drv/keyboard.c: Rein Klazes Lowest scan code seems to be 1, not zero. * graphics/ddraw.c: Marcus Meissner Stubs for IDirect3D(2)::CreateLight and CreateDevice to avoid crashes. * dlls/ntdll/rtl.c, relay32/ntdll.spec, dlls/ntdll/nt.c: Juergen Schmied New stubs. * dlls/shell32/iconcache.c: Juergen Schmied Fixes crash when running without external shell32.dll. * windows/winproc.c: Juergen Schmied More messages [LB_*,EM_*] translated 32A from/to 32W. * relay32/user32.spec: Juergen Schmied Dest buffer was printed out as str. * misc/ver.c: Juergen Schmied Getting strings with VerQueryValue32W was broken. Complete reconstruction of the function. * misc/toolhelp.c: Huw D M Davies Fix number and type of args in debugging statements. * ole/storage.c: Marcus Meissner IStorage32 vtable was missing 3 stub entries. Fri Dec 18 17:38:39 1998 Alexandre Julliard * include/wingdi.h, objects/font.c, relay32/gdi32.spec: Douglas Ridgway Documentation for TranslateCharsetInfo. * dlls/wnaspi32/winaspi32.c, if1632/wprocs.spec, dlls/winaspi/winaspi16.c: Andreas Mohr Make the DOSASPI part use the excellent DPMI RMCB implementation done by Ove Kaaven, which makes the code _much_ cleaner. * Make.rules.in, Makefile.in, configure, configure.in: Todd Vierling Use -lwine for linking. * windows/message.c, windows/queue.c: Ulrich Weigand Bugfix: always clear QS_... from *both* changeBits and waitBits. Bugfix: queue->hSendingTask is *queue* handle, not task handle. * if1632/storage.spec, include/interfaces.h, include/objbase.h, include/storage.h, ole/ifs.c, ole/storage.c: François Gouget First step to make it possible to call COM interfaces from C++ code in Winelib. * dlls/comctl32/treeview.c, include/treeview.h: Alex Priem Preliminary tooltip support. WM_SETFONT/GETFONT added. Some bug fixes. Use COMCTL32 heap instead of system heap. * graphics/painting.c: Huw D M Davies Implemented PolylineTo. * relay32/ntdll.spec: Adrian Harvey The Zw... Functions in ntdll.dll are just alternate entry points for the same functions as the Nt... function of the same names. Changed ntdll.spec to match this. * include/module.h, include/pe_image.h, loader/module.c, loader/pe_image.c, relay32/builtin32.c: Ulrich Weigand Reorganized PE module loading to prepare for elf-dll loader. WINE_MODREF creation moved to one central location. Bugfix: correctly select native/built-in version if .DLL extension is missing in LoadLibrary call. * multimedia/mmsystem.c: Eric Pouech Changed error values MCI_INTERNAL to their correct values. * multimedia/mciwave.c: Eric Pouech Removed warning. * multimedia/mcistring.c: Eric Pouech No longer sending directly messages to DriverProc but rather go through MCI layer (required for open/close). * multimedia/mcicda.c: Eric Pouech Removed incorrect patch for MCI_OPEN anc MCI_CLOSE parameters (thanks to Robert Riggs for pointing out the bug, see the fix in mcistring.c) Fixed MCI seeking on CD audio. * include/winerror.h: Juergen Schmied Stubs for WaitNamedPipe[A|W]. * dlls/shell32/classes.c, dlls/shell32/dataobject.c, dlls/shell32/iconcache.c, dlls/shell32/shell32_main.h, dlls/shell32/shlfolder.c, include/shell.h, relay32/shell32.spec: Juergen Schmied Small fixes. * dlls/shell32/shellord.c: Juergen Schmied Stub Control_FillCache_RunDLL. * dlls/shell32/shell32_main.c: Juergen Schmied SHGetFileInfo32A: get SHGFI_SYSICONINDEX implemented. * dlls/shell32/pidl.c: Juergen Schmied ILAppend seems to work now. * relay32/kernel32.spec, win32/kernel32.c: Juergen Schmied Stubs for WaitNamedPipe[A|W]. Tue Dec 15 18:04:58 1998 Alexandre Julliard * files/directory.c: Huw D M Davies Fix GetTempPath32 if count=0. * configure, configure.in, include/config.h.in, include/multimedia.h, multimedia/audio.c, multimedia/dsound.c, multimedia/init.c, multimedia/mcicda.c, multimedia/mcimidi.c, multimedia/midi.c, multimedia/mixer.c, multimedia/mmaux.c: Todd Vierling - add -lossaudio if needed, and a check for , to configure.in (run autoconf after this). Note that the check has been altered to break out of the AC_CHECK_HEADERS after the first match - this is so , if found on NetBSD (a `real' OSS), will not conflict with the emulated ossaudio. - check for along with the other two in a mutually-exclusive manner in the various *.c files that need it; change include of "mmsystem.h" to "multimedia.h" so this logic is all in one place - change mcicda.c to allow for CD audio manipulation on NetBSD. This includes: * changing ioctl() calls to be NON-SPLIT with exactly 3 args; on NetBSD ossaudio, ioctl() is #defined to be _oss_ioctl by , and neither splitting with #-directives nor a two-arg ioctl work; * changing the #if logic to allow both FreeBSD and NetBSD to share the appropriate code blocks - block out MIDI code for NetBSD (init.c) and/or missing SNDCTL_MIDI_INFO (midi.c, mcimidi.c). NetBSD's OSS emulation does not (yet) support MIDI. Thanks go to mycroft@netbsd.org for the 99% bulk of this work. * tsx11/X11_calls, tsx11/ts_xutil.c, windows/x11drv/wnd.c, include/ts_xutil.h: Dirk Thierbach Set the class hints for managed windows. * files/dos_fs.c: Juergen Schmied Bugfix: GetFullPathName sets lpFilePart only when the last element does not end with '\'. * windows/message.c, windows/win.c, include/commctrl.h, include/commdlg.h, include/ddeml.h, include/mouse.h, include/shlobj.h, include/winbase.h, include/windows.h, include/winerror.h, include/wingdi.h, include/wintypes.h, misc/ddeml.c, objects/bitmap.c, objects/brush.c, objects/dc.c, objects/font.c, objects/gdiobj.c, relay32/gdi32.spec, relay32/user32.spec, controls/menu.c, dlls/comctl32/commctrl.c, graphics/bitblt.c, graphics/escape.c, graphics/metafiledrv/init.c, graphics/painting.c, graphics/path.c, if1632/user.spec: Paul Quinn Lots of new defines and stubs. * Make.rules.in, Makefile.in, configure, configure.in: Todd Vierling These patches add support for --enable-dll on NetBSD, and may even do so for FreeBSD a.out. Now, NetBSD can use libwine as a shared object. Thanks to mycroft@netbsd.org for doing this work! * tools/wrc/writeres.c: Todd Vierling Global constructors using `.section .ctors' are bogus for NetBSD's assembler. Use the appropriate `.stabs' when on NetBSD. * ole/variant.c: Todd Vierling Undefined CHAR_MAX and CHAR_MIN (#defined by NetBSD's system headers). Fixed some constants that are too big for a plain `int'. * ole/variant.c: Marcus Meissner Check for MAXFLOAT if FLT_MAX isn't there. * graphics/psdrv/Makefile.in: Todd Vierling graphics/psdrv forgets to pull in @DLLFLAGS@, and so is compiled non-PIC if using --enable-dll. * include/wingdi.h, include/wintypes.h, include/winuser.h, include/windows.h: Veksler Michael Move declarations from windows.h to wingdi.h and winuser.h. Mon Dec 14 18:15:11 1998 Alexandre Julliard * win32/console.c, files/Makefile.in, files/async.c, files/file.c, include/async.h, include/file.h, loader/signal.c, misc/winsock_dns.c: Marcus Meissner Made async IO (SIGIO) stuff from WINSOCK generic useable. Added async IO support to FILE and CONSOLE objects. * misc/winsock.c: Stephen Langasek Prevent segfault in setsockopt when optname is SO_LINGER and optval is null. * dlls/shell32/shell32_main.h, dlls/shell32/shellord.c, dlls/shell32/shlfolder.c, dlls/shell32/shlview.c, relay32/shell32.spec: Juergen Schmied Some cleanup. * dlls/shell32/iconcache.c: Juergen Schmied SHMapPIDLToSystemImageListIndex try's to determine and load the exact icon for files (by type) now. * dlls/shell32/classes.c: Juergen Schmied New HCR_GetDefaultIcon (internal). * include/dosexe.h, loader/dos/dosvm.c, loader/dos/module.c, msdos/dosmem.c, msdos/dpmi.c: Ove Kaaven Moved DPMI wrapper allocation code to dosmem.c to REALLY make the RMcall shortcuts independent of dosmod. SS had been left out of the REALMODECALL copy routines for some reason, fixed now. Also cleaned up a few compiler warnings. * graphics/x11drv/xfont.c: Ian Pilcher Added ability to specify X fonts used for Helv and Tms Rmn typefaces with DefaultSerif and DefaultSansSerif INI keys. * tools/wrc/parser.y, tools/wrc/wrc.h, tools/wrc/writeres.c, tools/wrc/CHANGES: Bertho Stultiens - Added a global label for elf-dll linking and a long with the resource size and a long with the directory size. - Killed an annoying warning since version 1.0.0 in parser.y about a var being used before init. * include/shlobj.h, dlls/shell32/shelllink.c, dlls/shell32/shellole.c: Juergen Schmied Adds the IPersistFile Interface to IShellLink[W] and gave both own IClassFactorys. * win32/console.c: Marcus Meissner (ReadConsole32A): small and stupid bug fixed (WriteConsoleOutput): bug fixed (attributes may change within lines) and enhanced speedwise by using buffering. (CONSOLE_string_2_IR): enhanced, now gets scancodes and virtualkeycodes * misc/crtdll.c, relay32/crtdll.spec: Marcus Meissner _ultoa implemented. * controls/static.c: Marcus Meissner Small hack to get rid of annoying err:resource: message for MessageBoxes. * relay32/dsound.spec: Ian Schmidt Fix off-by-1 error in DirectSound ordinals. Thanks to Robert Riggs for the pointer. * graphics/ddraw.c: Stephen Crowley Save the original video mode before going fullscreen and restore it when the last DirectDraw_Release is called. Also fix a problem where the viewport wasn't set to 0,0. * console/xterm.c: Joseph Pranevich Made more cross-platform by changing ->_fileno to fileno(). * windows/win.c: NF Stevens Fix the Z-order of maximized/minimized child windows. * graphics/x11drv/xfont.c: Huw D M Davies XLFDs should be well-formed (14 hyphens) to match scalable fonts. Stop slant field becoming wildcarded too early. * windows/focus.c: Marcus Meissner (FOCUS_SwitchFocus) check for pFocusTo == NULL instead of hFocusTo==0. * ole/ole2nls.c: Huw D M Davies Hack OLE_GetFormat* to return something if datelen = 0. Remove unnecessary WINAPI's. ---------------------------------------------------------------- Fri Dec 11 15:04:11 1998 Alexandre Julliard * include/process.h, include/tlhelp32.h, include/toolhelp.h, misc/toolhelp.c, scheduler/k32obj.c, scheduler/process.c: Patrick Spinler Implemented CreateToolhelp32Snapshot, including two of the routines using snapshots, Process32First and Process32Next. * relay32/oleaut32.spec, include/mapidefs.h, include/oleauto.h, include/win16drv.h, include/wintypes.h, ole/compobj.c, ole/variant.c: Justin Bradford Most of the currency variant conversion functions implemented. Minor bugfixes and header tidying. * Makefile.in, configure, configure.in, dlls/rasapi32/Makefile.in, dlls/rasapi32/rasapi.c, include/debug.h, include/debugdefs.h, include/ras.h, include/wintypes.h, relay32/rasapi32.spec: Marcus Meissner Added RasEnumConnections stub. * dlls/shell32/shell32_main.h, dlls/shell32/shellpath.c, dlls/shell32/shlview.c: Juergen Schmied Bugfix in PathCombine32[A|W]. View menu in explorer and on right mouse button is working now. * dlls/shell32/pidl.c: Juergen Schmied Implemented ILGetDisplayName. * dlls/shell32/classes.c, dlls/shell32/shellord.c: Juergen Schmied Started implementation of ShellExecuteEx32A. Small changes. * dlls/shell32/.cvsignore, dlls/shell32/Makefile.in, dlls/shell32/shres.rc: Juergen Schmied Moved menu resources to rc-file. * include/pe_image.h, ole/ole2nls.c, win32/file.c: Marcus Meissner Two debug messages clarified, one useless prototype removed. * include/oleauto.h, ole/variant.c: Marcus Meissner 294 missing WINAPI added. * tools/testrun: Marcus Meissner Kill swapped out (wine) processes too and truncate diff after some xxx lines. * ole/ole2nls.c: Juergen Schmied Fixed SetLastError with wrong value. * misc/printdrv.c, objects/enhmetafile.c, graphics/painting.c, include/windows.h: Huw D M Davies Implement AbortDoc16, move AbortDoc32 and StartDoc32W to misc/printdrv.c and fix a few compile warnings. * win32/ordinals.c, windows/driver.c, windows/msgbox.c, windows/multimon.c, windows/user.c, dlls/comctl32/animate.c, dlls/comctl32/comboex.c, dlls/ntdll/nt.c, if1632/typelib.spec, include/file.h, loader/dos/module.c, msdos/int21.c, ole/ole2nls.c, ole/typelib.c: Andreas Mohr Fixed a bunch of compiler warnings. * files/file.c: Marcus Meissner Added Win32 synchro to FILEs (useful only for terminal handles). Thu Dec 10 16:04:51 1998 Alexandre Julliard * objects/bitmap.c, objects/dc.c, objects/enhmetafile.c, objects/font.c, objects/metafile.c, relay32/comctl32.spec, relay32/gdi32.spec, relay32/kernel32.spec, relay32/mpr.spec, relay32/shell32.spec, relay32/tapi32.spec, relay32/user32.spec, relay32/winspool.spec, win32/console.c, win32/kernel32.c, win32/time.c, windows/input.c, windows/message.c, graphics/metafiledrv/init.c, if1632/ddeml.spec, include/commctrl.h, include/ddeml.h, include/shlobj.h, include/windows.h, include/wintypes.h, memory/string.c, misc/ddeml.c, misc/network.c, misc/printdrv.c, misc/tapi32.c, controls/edit.c, dlls/comctl32/Makefile.in, dlls/comctl32/comctl32undoc.c, dlls/comctl32/propsheet.c, dlls/shell32/shell32_main.c, files/file.c, graphics/painting.c: Francis Beaudet Sylvain St-Germain Thuy Nguyen Lots of new stubs. * msdos/vxd.c: Ulrich Weigand Let the System_Time_Selector clock tick. * loader/dos/module.c, miscemu/instr.c, msdos/dosmem.c, graphics/dispdib.c, graphics/vga.c, include/miscemu.h, include/vga.h: Ulrich Weigand Adapted to CreateSystemTimer interface change. * if1632/system.spec, if1632/thunk.c, include/callback.h, include/windows.h, misc/callback.c, misc/system.c: Ulrich Weigand Cleaned up CreateSystemTimer interface for use with 32-bit callbacks. (NOTE: 16-bit callbacks still don't work!) * windows/mdi.c: NF Stevens - Handle WM_MDIRESTORE by calling WM_SYSCOMMAND for the child window so that the system menu is set correctly. - In MDICascade and MDITile use WM_MDIRESTORE message to restore maximized window so that system menu is handled correctly. * include/oleauto.h, include/winerror.h, ole/Makefile.in, ole/typelib.c, ole/variant.c, relay32/oleaut32.spec: Jean-Claude Cote Added implementation of the VARIANT APIs. * files/drive.c: Uwe Bonnes Fixed DRIVE_GetFreeSpace to handle space > 4 GByte. * dlls/comctl32/treeview.c: Alex Priem handle TVIF_TEXT by TREEVIEW_SetItem according to MS documentation. better handling of LPSTR_TEXTCALLBACK32A TREEVIEW_GetNext|PrevListItem didn't descend into visible child items. * loader/pe_image.c: Marcus Meissner Warn if two .exes conflict with each other and the second does not have relocation records. * misc/commdlg.c: Uwe Bonnes Fixed GetFileTitle32A not filling up lpTitle if lpFile didn't contain '/','\\' or ':'. * graphics/ddraw.c: Stephen Crowley Fixed a potential crash if a usable video mode is not detected. * tools/make_authors: Script to generate authors files * include/dinput.h, windows/dinput.c: Robert Riggs Stubs for IDirectInputEffect and IDirectInputDevice2A methods, as well as AddRef(), GetCapabilites(), EnumObjects(), GetProperty(), GetObjectInfo(), GetDeviceInfo(), Initialize(), and RunControlPanel() for IDirectInputDevice. * graphics/ddraw.c: Robert Riggs Set window focus in _common_IDirectDraw_SetDisplayMode(). * multimedia/mcicda.c: Robert Riggs Accept MCI_OPEN and MCI_CLOSE messages in MCICDAUDIO_DriverProc32(). * include/win.h, windows/win.c, windows/x11drv/event.c, windows/x11drv/wnd.c: Ulrich Weigand Removed deferred Expose events handling. * windows/dce.c: Ulrich Weigand Don't clip VisRgn against X desktop. * loader/module.c: Ulrich Weigand LoadModule32/WinExec32 should return 16-bit hInstance/hTask. * graphics/x11drv/xfont.c: Huw D M Davies Sanity check on font size. * dlls/comctl32/treeview.c: Marcus Meissner Missing parentheses added. Wed Dec 9 16:37:05 1998 Alexandre Julliard * loader/task.c, relay32/kernel32.spec, win32/console.c, include/wincon.h: Marcus Meissner Enhanced Win32 Console (XTERM) - inputhandling enhanced (keys and mouseclicks) - win32 synchronization (partial) - lots of enhancements to drawing functions - simple/complex console (simple-stdin/stdout -> complex-xterm). * console/Makefile.in, console/generic.c, console/interface.c, console/ncurses.c, console/tty.c, console/xterm.c, include/console.h: Joseph Pranevich Add a driver to open up a new xterm window whenever console output is needed. Derived from console/win32.c but we are not yet ready to merge the code completely. * graphics/x11drv/xfont.c, include/windows.h, tools/fnt2bdf.c: Pablo Saratxaga Improved the handling of font encodings. * msdos/dpmi.c, include/miscemu.h: Ove Kaaven Implemented DPMI RMCBs using the DOS subsystem, and a few other improvements. Also, some special-cased shortcut paths will allow some common real-mode call/RMCB combinations to work even without calling the DOS subsystem, thus letting APIs like DOSASPI work without any dirty hacks even on platforms that cannot use dosmod. * multimedia/time.c, ole/compobj.c, files/change.c, loader/module.c, misc/lzexpand.c, misc/main.c, controls/menu.c, controls/scroll.c: Marcus Meissner Some unnecessary #include and messages removed. * ole/ole2nls.c: Uwe Bonnes Some small corrections to EnumSystemLocales32AW Tue Dec 8 15:06:39 1998 Alexandre Julliard * tools/make_X11wrappers, tsx11/ts_xf86vmode.c, graphics/ddraw.c: Tried another kludge for the Xmd.h problem. * tsx11/Makefile.in, tsx11/X11_calls, tsx11/ts_xf86vmode.c, configure, configure.in, graphics/ddraw.c, include/acconfig.h, include/config.h.in, include/ts_xf86vmode.h, tools/make_X11wrappers: Stephen Crowley Added fullscreen DGA support. * misc/main.c: Pablo Saratxaga Fixed dummy entries in MAIN_ParseLanguageOption(). * include/mmsystem.h, multimedia/mcicda.c: Brian Gerst Properly implement MCI_CDA_STATUS_TYPE_TRACK. Fix an off-by-one bug with MCI_STATUS_LENGTH. * windows/x11drv/event.c: Marcus Meissner Superflous WINAPI removed. * loader/pe_image.c: Marcus Meissner Warn about invalid entrypoints (created by viruses) which result in Wine crashes. * graphics/ddraw.c: Marcus Meissner Create X11 palette on DirectDrawSurface::SetPalette, not before (we might not have an X11 window yet). * loader/main.c: Marcus Meissner Move TWEAK_Init from USER to GDIInit. * graphics/painting.c, if1632/gdi.spec, include/windows.h, misc/printdrv.c, misc/spooler.c, relay32/gdi32.spec: Huw D M Davies Fix for SetAbortProc16, stub for SetAbortProc32 and tidy up some other printing functions. * windows/focus.c: Huw D M Davies Fix includes. * graphics/x11drv/text.c: Huw D M Davies Fix X11DRV_ExtTextOut for rotated text if either of lpDx, breakExtra or charExtra are non-zero. * include/Attic/graphics.h, misc/shell.c, windows/Attic/graphics.c, windows/Makefile.in, windows/nonclient.c, windows/scroll.c, controls/button.c, controls/combo.c, controls/desktop.c, controls/icontitle.c, controls/menu.c, controls/scroll.c, dlls/comctl32/updown.c, dlls/shell32/shell32_main.c, dlls/shell32/shellord.c, graphics/metafiledrv/graphics.c, graphics/x11drv/graphics.c: Huw D M Davies Replace GRAPH_ functions with Win SDK equivalents. Mon Dec 7 16:23:42 1998 Alexandre Julliard * files/dos_fs.c: Alexander Larsson Reverted previous patch. * include/dosexe.h: Ove Kaaven Don't define MZ_SUPPORTED on non-i386 platforms. * loader/dos/module.c, msdos/dpmi.c: Ove Kaaven Fixed DPMI_CallRMProc (I think). * misc/network.c, relay32/mpr.spec: Marcus Meissner Stub for NPSGetProviderHandleA. * windows/x11drv/keyboard.c: Brian Gerst The scancode Windows send for extended keys is the scancode of the unextended equivalent of the key, plus the extended flag. * dlls/winaspi/winaspi16.c: Andreas Mohr Fixed a real mode problem. * loader/ne/module.c: Andreas Mohr NE_MODULE.stack_size was set to a ridiculously small value of 5. Windows sets 0x1400 in such cases for programs. * controls/static.c: Huw D M Davies We don't yet want the static control to call DestroyIcon. * windows/class.c: NF Stevens Added case for GCW_ATOM int GetClassLong32A. * misc/network.c, relay32/mpr.spec: Gael de Chalendar Stub for WNetOpenEnum32W. * multimedia/dsound.c, relay32/dsound.spec: Robert Riggs More general code cleanup for readability. A few more parameter validation checks. Return DS_OK rather than 0 in a number of functions. Fixed primary buffer ref count bug in CreateSoundBuffer(). Handle 1-3 byte sound fragments that would cause buffer overruns. Clear primary buffer with a neutral value instead of always 0 (because 128 is neutral for 8-bit sound). Fix bug with mixing 8-bit sound into the primary buffer. Broke out the main block in DSOUND_thread() to another function for readability. Handle "no audio" and "audio busy" cases properly when initializing dsound. Rename DllCanUnloadNow() to DSOUND_DllCanUnloadNow(). * debugger/hash.c: Ove Kaaven Made variables optimized into registers accessible. * relay32/user32.spec: Uwe Bonnes The spec definition for MonitorFromWindow was wrong. * msdos/int21.c: Stefan Leichter File handle bug fix. * documentation/common_controls: Eric Kohl Added paragraph about different dll versions and structure sizes. * include/commctrl.h: Eric Kohl Added missing TOOLINFO structure. * multimedia/mmsystem.c: Andreas Mohr Fixed a heap bug. * loader/task.c, memory/local.c, memory/selector.c, misc/callback.c, msdos/dpmi.c, msdos/int41.c, msdos/vxd.c, if1632/kernel.spec, if1632/thunk.c, include/callback.h, include/ldt.h, include/windows.h: Andreas Mohr - Several kernel.spec return type mismatch fixes - [GS]etSelectorBase Win32s offset support by Ulrich Weigand (thanks v.m. !!) - Move AppToWine/WineToApp macros as W32S_APP2WINE etc. to ldt.h - LocalNotify() basic support - Fixes for local heap handling with heap handles created by Virtual*() * graphics/x11drv/xfont.c: Ulrich Weigand Bugfix: -microsoft-symbol encoding was not recognized. * windows/win.c: Ulrich Weigand Bugfix: WIN_ResetQueueWindows would skip some windows. * tools/build.c: Ulrich Weigand Allow recursively reentering CALL32_LargeStack. * include/ttydrv.h, windows/ttydrv/.cvsignore, windows/ttydrv/Makefile.in, windows/ttydrv/clipboard.c, windows/ttydrv/event.c, windows/ttydrv/init.c, windows/ttydrv/keyboard.c, windows/ttydrv/mouse.c, windows/ttydrv/wnd.c, Makefile.in, configure, configure.in: Patrik Stridvall Added the new TTY driver. * include/clipboard.h, include/keyboard.h, include/message.h, include/win.h, include/x11drv.h, windows/clipboard.c, windows/defwnd.c, windows/dinput.c, windows/display.c, windows/event.c, windows/focus.c, windows/keyboard.c, windows/message.c, windows/nonclient.c, windows/win.c, windows/winpos.c, windows/x11drv/Makefile.in, windows/x11drv/clipboard.c, windows/x11drv/event.c, windows/x11drv/init.c, windows/x11drv/keyboard.c, windows/x11drv/mouse.c, windows/x11drv/wnd.c: Patrik Stridvall Moved more code to the X11 driver. Thu Dec 3 16:29:56 1998 Alexandre Julliard * msdos/int10.c, msdos/int16.c, msdos/int21.c, msdos/int29.c: Joseph Pranevich Call the new console driver for some routines. This is not completely done yet and more for testing purposes. Wed Dec 2 19:58:09 1998 Alexandre Julliard * configure.in, console/.cvsignore, console/Makefile.in, console/generic.c, console/interface.c, console/ncurses.c, console/tty.c, include/acconfig.h, include/config.h.in, include/console.h, include/winnt.h, loader/main.c, misc/main.c, Makefile.in, configure: Joseph Pranevich Added console support. * graphics/x11drv/oembitmap.c, include/bitmap.h, include/gdi.h, include/x11drv.h, loader/main.c, objects/Attic/oembitmap.c, objects/Makefile.in, objects/bitmap.c, objects/cursoricon.c, graphics/metafiledrv/init.c, graphics/psdrv/init.c, graphics/win16drv/init.c, graphics/win16drv/pen.c, graphics/x11drv/Makefile.in, graphics/x11drv/init.c: Huw D M Davies Move OEM resources to the x11drv. * files/dos_fs.c: Alexander Larsson Opening a file in a directory which doesn't exist returns ERROR_FILE_NOT_FOUND instead of ERROR_PATH_NOT_FOUND. * memory/atom.c: Marcus Meissner Handle atoms "# non number" (oracle client). Tue Dec 1 16:23:19 1998 Alexandre Julliard * if1632/kernel.spec, misc/error.c: Ulrich Weigand Renamed KERNEL.327 to HandleParamError (as in 'Undoc. Windows'). Fixed wrong ordinals/prototype for MapProcessHandle/GetModuleFileName32. Added names for some undocumented exports. * memory/global.c, if1632/thunk.c: Ulrich Weigand Implemented GlobalChangeLockCount (KERNEL.365). * if1632/toolhelp.spec, include/toolhelp.h, memory/heap.c: Ulrich Weigand Implemented Local32Info, stubs for Local32First/Next (KERNEL.444-446). * if1632/gdi.spec, objects/gdiobj.c: Ulrich Weigand Implemented GdiFreeResources (GDI.609). * include/dsound.h, multimedia/dsound.c: Robert Riggs Fixed 8-bit WAV format handling (it is unsigned data). Fixed off-by-one checks for buffer wrap. Increment ref count for primary buffer in CreateSoundBuffer(). Added DSBPN_OFFSETSTOP support to position notification code. Lots of minor parameter validation checks. Stubs for: IDirectSound_initialize(), IDirectSound_Compact(), and IDirectSound_GetSpeakerConfig(). Fixed freq shifting with 16-bit data problem, fixed 8bit<->16bit conversion. Lots of thread locking for DirectSound buffers. Dealloc primary buffer when dsound is deallocated. * include/wintypes.h: Uwe Bonnes Added the TEXT() and MAKELRESULT() definitions. * windows/queue.c: Juergen Schmied Small change. * Makefile.in: James Juran Revert misguided change to install_lib that broke -disable-lib configure option. * misc/main.c, include/windows.h: Juergen Schmied New parameter SPI_GETDRAGFULLWINDOW. One missing break in SPI_GETDRAGFULLWINDOW. * dlls/shell32/pidl.c, relay32/shell32.spec: Juergen Schmied New functions ILGlobalClone/ILGlobalFree. * documentation/printing: Huw D M Davies Add a note about WinPrinters. * relay32/ntdll.spec, relay32/ole32.spec, relay32/user32.spec: Marcus Meissner Added some stubs, some ptr->str conversions. * graphics/ddraw.c, include/ddraw.h, relay32/ddraw.spec: Lionel Ulmer - added definition of DirectDrawCreateClipper. - more versatile support of surfaces / better surface description support. * dlls/shell32/shell32_main.c, dlls/shell32/shell32_main.h, dlls/shell32/shellord.c, dlls/shell32/shellpath.c, dlls/shell32/shlview.c, include/shell.h, relay32/shell32.spec: Juergen Schmied Fixed wrong parameter count for SHChangeNotifyDeregister, SHFreeUnusedLibraries. New functions ParseField, Get/SetInstanceExplorer(), PathIsUNC, PathIsRelative. Stubs SHWaitForFileToOpen, PathFindOnPath. * relay32/user32.spec: Juergen Schmied Small changes to print the strings in the relay-trace. * windows/class.c: NF Stevens The class name needs to be converted to a getptr. * multimedia/mcimidi.c: Eric Pouech Fixed memory/status recovery when error occured in MIDI_mciOpen. Fixed support for RMID files in MIDI_mciOpen. Fixed bug for playing MIDI files with tempo changes. Sound output is now correct, but length of tracks (and therefore of whole file) is not correct. Changed error values (INTERNAL => INVALID_FILE) when file cannot be read. * multimedia/mciwave.c: Eric Pouech Fixed memory/status recovery when error occured in WAVE_mciOpen. Changed error values (INTERNAL => INVALID_FILE) when file cannot be read. * multimedia/msvideo.c, relay32/msvfw32.spec: Juergen Schmied Stubs for MCIWndCreate[A|W]. * misc/ver.c: Juergen Schmied VerQueryValue, bugfix: we cant convert binary data with HEAP_strdupWtoA (\VarFileInfo\Translation). Mon Nov 30 17:41:17 1998 Alexandre Julliard * relay32/advapi32.spec, win32/advapi.c: Juergen Schmied Stubs for EnumServiceStatus32, small changes. * objects/cursoricon.c: Juergen Schmied Load now the first icon from the *.ani file instead of crashing. * miscemu/main.c: Marcus Meissner Fix warnings in miscemu/main.c. * include/windows.h: Uwe Bonnes - added some defines around the CommPort (PURGE_XXX and MS_XXX_ON) - added the DLGTEMPLATE and DLGITEMTEMPLATE structures - added the function definition for StartPage,EndPage,GetCommMask, GetCommModemStatus and PurgComm,WaitCommEvent. * windows/defwnd.c: Paul Quinn Fixed activation/Focus message order problem when creating a new HWND. * windows/winpos.c, if1632/user.spec, include/windows.h, relay32/user32.spec: Paul Quinn Implementation of ChildWindowFromPointEx functions. * misc/registry.c: Gavriel State Fixed registry query error value: now returns ERROR_FILE_NOT_FOUND. * objects/bitmap.c, objects/cursoricon.c, objects/dib.c, objects/palette.c: Huw D M Davies GetSystemPaletteEntries returns palette size if entries==NULL. Use this instead of COLOR_GetSystemPaletteSize. * relay32/dsound.spec, multimedia/dsound.c: Marcus Meissner Implemented class factory for dsound. * relay32/kernel32.spec, misc/comm.c: Uwe Bonnes - fixed a minimal error in GetCommMask definition. - adds stubs for GetCommModemStatus and WaitCommEvent. * include/xmalloc.h, library/winestub.c: Uwe Bonnes Fixes for C++ Winelib compilation. * ole/compobj.c: Marcus Meissner Bugfix: second RegOpenKey should use CLSIDkey instead of HKEY_CLASSES_ROOT. Fri Nov 27 16:06:08 1998 Alexandre Julliard * BUGS, documentation/bugreports, documentation/debugging, documentation/no-windows, documentation/wine.man: James Juran Documentation updates. * Makefile.in: James Juran Fixed 'make install' to really check for libwine.a before installing it. * graphics/ddraw.c, include/options.h, misc/main.c: Stephen Crowley Added a new cmdline switch to disable XF86 DGA Extensions, -nodga. * files/drive.c: Andreas Mohr Improved GetDiskFreeSpace32A(). Thu Nov 26 16:32:00 1998 Alexandre Julliard * windows/win.c: Huw D M Davies Remove included color.h. * loader/pe_image.c: Marcus Meissner Remove unnecessary check for entrypoint address (test binary was infected by a virus which uses invalid PE loading stuff). * graphics/painting.c, relay32/gdi32.spec: Uwe Bonnes Added stubs for Startpage and EndPage. * if1632/thunk.c, objects/dc.c: Ulrich Weigand Removed some unnecessary FIXME outputs. * if1632/kernel.spec, loader/task.c: Ulrich Weigand Implemented KERNEL.602 and stub for KERNEL.490. * ole/ole2nls.c: Ulrich Weigand Bugfix: Do *not* zero out output buffer in GetNumberFormat32[AW]. Wed Nov 25 18:15:53 1998 Alexandre Julliard * ole/nls/grc.nls, ole/nls/sky.nls, ole/nls/tha.nls, ole/nls/trk.nls, ole/ole2nls.c: Pablo Saratxaga Small fixes. * loader/ne/resource.c, include/module.h, loader/resource.c: Ulrich Weigand Moved ...Resource16 routines to loader/resource.c. Implemented accessing PE-file resources with 16-bit resource routines. * if1632/kernel.spec, loader/ne/Makefile.in, loader/ne/convert.c: Ulrich Weigand Implementation of PE->NE resource conversion routines (KERNEL.615-618). * include/oleauto.h, ole/ole2disp.c, relay32/oleaut32.spec: Francis Beaudet Implemented 3 methods: SysAllocStringLen(), SysReAllocStringLen() and SysStringLen(). Ensure that the BSTR objects were allocated according to the Windows documentation. * dlls/shell32/Makefile.in, dlls/shell32/pidl.c, dlls/shell32/shell32_main.c, dlls/shell32/shellord.c, dlls/shell32/shellpath.c, dlls/shell32/shlview.c, include/shell.h, relay32/shell32.spec: Juergen Schmied Moved existing path - functions to shellpatch.c. New: PathRemoveBlanks32A|W, PathMatchSpec32A|W, PathSetDlgItemPath32A|W. * dlls/shell32/folders.c, dlls/shell32/shelllink.c, dlls/shell32/shellole.c, include/shlobj.h: Juergen Schmied Moved existing IShellLink class. New stubs for IShellLinkW. * include/bitmap.h, include/color.h, include/gdi.h, include/x11drv.h, include/x11font.h, misc/main.c, objects/bitmap.c, objects/color.c, objects/dc.c, objects/gdiobj.c, windows/Attic/graphics.c, windows/dce.c, windows/display.c, windows/event.c, windows/input.c, windows/mouse.c, windows/scroll.c, windows/sysmetrics.c, windows/user.c, graphics/ddraw.c, graphics/painting.c, graphics/wing.c, graphics/x11drv/bitblt.c, graphics/x11drv/bitmap.c, graphics/x11drv/brush.c, graphics/x11drv/clipping.c, graphics/x11drv/dib.c, graphics/x11drv/graphics.c, graphics/x11drv/init.c, graphics/x11drv/pen.c, graphics/x11drv/text.c, graphics/x11drv/xfont.c: Huw D M Davies Remove X_DC_INFO from DC and make it behave like any other PDEVICE. * include/miscemu.h, msdos/dpmi.c, msdos/int21.c, msdos/int25.c, msdos/int26.c, msdos/int2f.c, msdos/xms.c: Ulrich Weigand Changed CTX_SEG_OFF_TO_LIN to allow linear addresses in 32-bit registers (used by DeviceIoControl). Adapted all users. * include/winioctl.h, win32/device.c: Ulrich Weigand Implemented (most) VWin32.VxD DeviceIoControl routines. Tue Nov 24 20:47:17 1998 Alexandre Julliard * include/thread.h, scheduler/thread.c: Ulrich Weigand Bugfix: Set the TEBF_WIN32 flag in teb.flags for 32-bit threads. * loader/task.c: Ulrich Weigand Bugfix: Call InitThreadInput in GetFastQueue with correct parameter for 32-bit queues. * win32/kernel32.c: Ulrich Weigand Bugfix: [QF]T_Thunk should clear HIWORD(EAX) on return. Bugfix: hack for stupid USER32 CallbackGlueLS routine in Common32ThkLS. * if1632/thunk.c: Ulrich Weigand Bugfix: Bad jump generated in THUNK_AllocLSThunklet. Bugfix: Forgot to convert segptr in AllocLSThunkletCallbackEx. * graphics/x11drv/xfont.c: Eric Warnke Don't match against Symbol or Nil fonts. * memory/global.c: Stephen Crowley Return the "buffers" and "cached" memory as free since it is deallocated when a program needs it anyway. * windows/dialog.c, include/windows.h: Juergen Schmied Bugfix: SetDlgItemText32 returns BOOL not void. * relay32/user32.spec, windows/user.c: Juergen Schmied New stubs GetUserObjectInformationA|W. * relay32/relay386.c: Marcus Meissner Removed left over 'show' and useless deadbeef checking which doesn't work. * loader/pe_image.c: Marcus Meissner Adjust broken entrypoint addresses. (win98 notepad.exe) * documentation/status/multimedia: Eric Pouech Updated according to development. * if1632/mmsystem.spec, relay32/winmm.spec: Eric Pouech Some new stubs (midiStreamXXX functions, some mci functions, and some mmio functions). * multimedia/midi.c: Eric Pouech Moved MCI part to mcimidi.c ; added DriverProc. * multimedia/audio.c: Eric Pouech Moved MCI part to mciwave.c ; added some error checking ; added DriverProc * include/debug.h, include/debugdefs.h, multimedia/Makefile.in: Eric Pouech Added mcimidi and mciwave. * multimedia/mcimidi.c: Eric Pouech Fixed bug in MCI_INFO command ; fixed pause/resume commands ; fixed seek command. * multimedia/mciwave.c: Eric Pouech Starting writing MCI part ; fixed bug in MCI_INFO command. * multimedia/mmio.c: Eric Pouech Added some missing stubs in 32 bit part. * multimedia/mcistring.c: Eric Pouech Made use of new 16/32 MCI message handling in mmsystem.c. * include/mmsystem.h, include/multimedia.h: Eric Pouech Added some new functions/structures definitions.(I couldn't get all the manifest constants values that MS was referring to in its specs... if someone has them...) * multimedia/mcianim.c: Eric Pouech Added some error checking ; made use of new 16/32 MCI message handling in mmsystem.c ; fixed bug in MCI_INFO command. * multimedia/mcicda.c: Eric Pouech Added some error checking ; made use of new 16/32 MCI message handling in mmsystem.c. Added Win95 command to handle cd-rom with both data and audio ; fixed bug in MCI_INFO command ; shadowing MCI status for devices that can't get current status ; fixed status not being updated on cd change. * multimedia/mmsystem.c: Eric Pouech Factorized 16/32 bit MCI function by using message mapping from 16 to 32 bits ; added some new prototypes mciSendCommand, mciSendString, mci(Set/Get)YieldProc ; started writing midiStreamXXX functions - not yet working. Fixed some issues regarding asynchronous MCI commands ; fixed MCI_SYSINFO command. * resources/sysres_Fr.rc: Eric Pouech Fixed some quirks. Sun Nov 22 18:29:50 1998 Alexandre Julliard * dlls/shell32/contmenu.c, dlls/shell32/dataobject.c, dlls/shell32/folders.c, dlls/shell32/iconcache.c, dlls/shell32/pidl.h, dlls/shell32/shell32_main.h, dlls/shell32/shlview.c: Juergen Schmied Many fixes. * dlls/shell32/pidl.c: Juergen Schmied New function: _ILGetExtension. * dlls/shell32/Makefile.in, dlls/shell32/classes.c: Juergen Schmied New file. HKEY_CLASSES_ROOT handling. * documentation/common_controls: Eric Kohl Updated. * dlls/comctl32/header.c, dlls/comctl32/status.c, dlls/comctl32/toolbar.c, include/commctrl.h, include/header.h, include/listview.h, include/ole2.h, include/rebar.h, include/status.h, include/toolbar.h, include/tooltips.h: Eric Kohl Added Unicode support (at least partially). * ole/Makefile.in, ole/compobj.c, ole/oleobj.c, include/oleobj.h, include/shlobj.h: Eric Kohl Added IOleAdviseHoler interface (still a dummy) and fixed CreateOleAdviseHolder(). * dlls/comctl32/commctrl.c, dlls/comctl32/tooltips.c: Eric Kohl Added global subclassing atom, used by tooltips and updown (not yet). * dlls/comctl32/rebar.c: Eric Kohl Improved layout code. * dlls/comctl32/imagelist.c, relay32/comctl32.spec: Eric Kohl Fixed ImageList_LoadImage(). * dlls/comctl32/comboex.c: Eric Kohl Added CMEM_SETITEM32A and message forwarding to combobox. * ole/moniker.c, relay32/ole32.spec: Eric Kohl Added stub for CreateItemMoniker(). * dlls/comctl32/comctl32undoc.c: Eric Kohl Fixed some undocumented function names and implemented DPA_Merge partially. * controls/button.c: Eric Kohl Enabled double click for buttons. * include/windows.h: Eric Kohl Added command and return constants used by WM_NOTIFYFORMAT. * objects/brush.c, objects/dc.c, objects/gdiobj.c, objects/pen.c, windows/Attic/graphics.c, graphics/painting.c, graphics/x11drv/bitblt.c, graphics/x11drv/dib.c, graphics/x11drv/graphics.c, graphics/x11drv/text.c, include/dc.h, include/x11drv.h: Huw D M Davies Moved DC_SetupGC functions to graphics/x11drv/graphics.c. * include/options.h, misc/main.c, ole/ole2nls.c: Juergen Schmied Small fixes to get the default language to a sensible value. Thanks to Pablo. * ANNOUNCE, DEVELOPERS-HINTS, README, documentation/README.documentation, documentation/how-to-port, documentation/wine.man, documentation/wine.texinfo: Douglas Ridgway Miscellaneous small fixes. * graphics/win16drv/prtdrv.c, if1632/gdi.spec, include/windows.h, objects/metafile.c, objects/region.c, relay32/gdi32.spec: Andreas Mohr Added Win16 implementation for GetRegionData(). * ole/typelib.c: Andreas Mohr Enhanced OABuildVersion() to return different version values for different winvers. * msdos/int21.c: Andreas Mohr Added INT21_ParseFileNameIntoFCB() and some other things to get COMMAND.COM working. * relay32/kernel32.spec: Juergen Schmied Added missing entry for GetNumberFormatW. * objects/palette.c: Juergen Schmied Checking for NULL-pointer. * ole/nls/fra.nls, ole/nls/frb.nls, ole/nls/frc.nls, ole/nls/frl.nls: Robert Pouliot Better OLE support in French languages. * loader/module.c: Juergen Schmied Implementation of CreateProcess32W. * windows/event.c: David Luyer Queuing of deferred Expose events. * controls/listbox.c: Marcus Meissner LB_GETTEXT: Handle passed NULL buffer. * controls/combo.c: Marcus Meissner CB_GETTEXT: Use lpBuffer instead of lpText for LB_GETTEXT32, handle 0 byte NULL buffer. * ole/nls/frs.nls, ole/nls/sky.nls, ole/ole2nls.c: Marcus Meissner Turn mega double switch into static table (reduces compile time). * AUTHORS, include/authors.h: Added Robert Riggs. * include/d3d.h: Robert Riggs include ddraw.h, questionable fix for questionable struct/union construct in MS's D3DVECTOR definition. * include/dsound.h: Robert Riggs More flags (DirectX 5.2), DirectSound3DListener and DirectSound3DBuffer structures, include some required files (windows.h, compobj.h, and d3d.h). * multimedia/dsound.c: Robert Riggs DirectSound3DListener and DirectSound3DBuffer stubs, new mixer code, primary buffer is implemented closer to what the SDK docs specify, other SDK documented behaviour enforced. Completed the devcaps list. * misc/crtdll.c, relay32/crtdll.spec: Juergen Schmied New stubs strdate, strtime. * memory/selector.c: Ulrich Weigand Bugfix: typo in SUnMapLS_IP_EBP_8 lead to stack corruption. * misc/comm.c: Cliff Wright Fixed a mask set, and other parity setting bugs for serial ports. * include/sig_context.h: Vasudev Mulchandani Added BSDI sigcontext definitions. * windows/class.c: Rein Klazes Fixed typo. * relay32/relay386.c: Marcus Meissner Remove now useless RELAY_ShowDebugmsgsRelay check. * loader/pe_image.c: Marcus Meissner Do not relocate the pointers in the IMAGE_THREAD_LOCAL_STORAGE directory, for they seem to be relocated by the standard relocating mechanism. (Explicitly checked one program using it) * dlls/shell32/shellord.c, include/shell.h: Marcus Meissner PathAddBackshlash, PathRemoveBackslash: argument is not constant. * windows/win.c: Marcus Meissner Check wndPtr for NULL. * graphics/ddraw.c: Marcus Meissner BltFast: Honor lPitch, Lock/Unlock surfaces (xlib needs unlock to draw). * misc/spooler.c, misc/Makefile.in, miscemu/main.c, Makefile.in, graphics/win16drv/init.c, loader/main.c: Huw D M Davies Takes print spooler functions out of win16drv. Allows the PostScript driver to go into libwine. * if1632/gdi.spec, objects/brush.c, objects/palette.c: Ian Schmidt Added stubs for two undocumented GDI routines, SetMagicColors and SetSolidBrush. This allows Win98 native USER to start up. * graphics/ddraw.c: Stephen Crowley Fixed the DGA detection code in ddraw. You don't need root access, having r+w access to /dev/mem is enough. * documentation/status/directdraw, graphics/ddraw.c, graphics/wing.c, include/ddraw.h: Marcus Meissner DirectDraw status updated. Use cooperative window for drawing in xlib implementation if possible. Slightly restructured IDirectDrawSurface::Blt so it doesn't crash. * windows/keyboard.c: David Faure Micro patch for AltGr key on german keyboards. * files/dos_fs.c: Juergen Schmied Fixes error handling (SetLastError() and return value). * objects/text.c, include/windows.h: Gael de Chalendar Partially complete GetTextCharsetInfo and corrects return values for this family of functions. Sun Nov 15 18:12:12 1998 Alexandre Julliard * ole/compobj.c: Juergen Schmied Bug fix. * objects/dib.c: Eric Kohl Fixed retrieval of invalid palette data in GetDIBits(). * windows/winpos.c: John Richardson Allow SWP_HIDEWINDOW to be called on windows that are already hidden without unmapping them again. * windows/scroll.c: Pim Bollen Fixed scroll bug in ScrollWindowEx32 which caused garbage on screen outside desktop window with gtwin.exe (Dutch banking program). * loader/main.c, memory/atom.c, misc/ddeml.c, windows/class.c, windows/message.c, include/Attic/atom.h, include/global.h: Small atom fixes. * objects/dib.c: Dirk Thierbach Fixed bug in StretchDIBits32 (wrong origin). * windows/winproc.c: Juergen Schmied Small fixes. * include/ddraw.h, include/ts_xshm.h, tools/make_X11wrappers, tsx11/X11_calls, tsx11/ts_xshm.c, graphics/ddraw.c: Lionel Ulmer Some corrections to the handling of off-screen buffers. Correction to the EnumDisplayModes function. Added XShm support to Xlib driver. Open a DirectX window even when using the DGA driver. * include/shell.h, include/shlobj.h, misc/shell.c, relay32/shell32.spec, dlls/shell32/Makefile.in, dlls/shell32/contmenu.c, dlls/shell32/dataobject.c, dlls/shell32/folders.c, dlls/shell32/shell32_main.c, dlls/shell32/shell32_main.h, dlls/shell32/shellole.c, dlls/shell32/shellord.c, dlls/shell32/shlfolder.c: Juergen Schmied Cleanup, small fixes, a few new stubs. * dlls/shell32/shlview.c: Juergen Schmied Handling for listviewstyles, view mode buttons in filedialogs enabled and handled. New listview columns Size, Type, Modified for reportview created and handled. * dlls/shell32/if_macros.h: Juergen Schmied New file, wrapper for IShellBrowser class. * dlls/shell32/iconcache.c: Juergen Schmied New file, some helper functions for icon cache. Implemented ExtractIconEx; moved SHMapPIDLToSystemImageListIndex, Shell_GetImageList in this file. * dlls/shell32/pidl.c, dlls/shell32/pidl.h: Juergen Schmied Implemented: ILIsEqal, ILFindChild, _ILGetFileDate, _ILGetFileSize. * loader/module.c: Juergen Schmied LoadLibraryEx: show a warning when called with unimplemented parm. * miscemu/instr.c: Cleaned up a bit. * memory/selector.c, miscemu/instr.c, tools/build.c: Marcus Meissner Clean invalid selectors on the pop %xs from the STACKFRAME itself instead of using linked list hack. * Makefile.in: Removed gets message. * ole/nls/tha.nls: David Luyer Added Thai nls-resources. * ole/nls/README, ole/nls/cze.nls, ole/nls/ese.nls, ole/nls/esg.nls, ole/nls/est.nls, ole/nls/euq.nls, ole/nls/fos.nls, ole/nls/hrv.nls, ole/nls/hun.nls, ole/nls/isl.nls, ole/nls/nor.nls, ole/nls/plk.nls, ole/nls/ptg.nls, ole/nls/rom.nls, ole/nls/slv.nls, ole/nls/sve.nls, ole/ole2nls.c, include/winnls.h: Pablo Saratxaga Display the language id for "XXX not supported for your language" messages. Added all languages and sublanguages for languages supported in resources/sysres_Xx. * ole/ole2.c, relay32/ole32.spec: Gavriel State Add stubs for GetRunningObjectTable32 and OleRegGetUserType. * ole/moniker.c: Gavriel State Ensure that CreateFileMoniker functions don't return a bogus moniker object on failure. * include/class.h, windows/class.c: Gavriel State Added code to manage Ascii and WideChar class names, and to return the names in the GetClassInfo functions. * include/winsock.h: Constantine Sapuntzakis Fix to Linux IPX so compiles on non-linux platforms. * misc/main.c: Marcus Meissner Own X11 errorhandler to locate X11 errors. Useful only with -sync. Sat Nov 14 18:59:30 1998 Alexandre Julliard * include/color.h, include/imagehlp.h, include/palette.h, memory/global.c, misc/registry.c, windows/defwnd.c: Juergen Schmied Fixed warnings, some only visible with -Wstrict-prototypes or -pedantic. * include/cursoricon.h, include/display.h, include/message.h, objects/cursoricon.c, windows/display.c, windows/mouse.c, windows/x11drv/init.c, if1632/display.spec: Ulrich Weigand Moved X11 mouse cursor handling to the DISPLAY driver. * if1632/thunk.c, include/callback.h, loader/main.c, loader/task.c, misc/callback.c, miscemu/main.c: Ulrich Weigand Some fixes to Wine startup/termination sequence with native USER. Do not call built-in USER signal handler when using native USER. * debugger/break.c, include/debugger.h, include/task.h: Ulrich Weigand Bugfix: -debug didn't work anymore after the last startup sequence patch. * ole/compobj.c: Eric Kohl Fixed list insertion bug in CoLoadLibrary(). * if1632/wprocs.spec, msdos/Makefile.in, msdos/int2f.c, msdos/int41.c, msdos/vxd.c: Ulrich Weigand Added stubs for several VxDs / interrupts. * if1632/thunk.c, include/callback.h, misc/callback.c, graphics/win16drv/init.c: Huw D M Davies Should get win16drv AbortProc working. Hopefully. * windows/input.c, windows/keyboard.c: Ulrich Weigand Moved GetKeyboardLayoutName16 to windows/input.c. * include/imagehlp.h, include/winnt.h, include/wintypes.h: Patrik Stridvall Moved some declarations from imagehlp.h to common include files. * relay32/kernel32.spec, win32/thread.c: Rein Klazes Added implementations for InterlockedExchangeAdd() and InterlockedCompareExchange(). * win32/console.c, objects/dib.c, objects/enhmetafile.c: Huw D M Davies Fixes a few of the many compiler warnings. * miscemu/instr.c: Marcus Meissner Emulate "mov cr4,eax" (tombraider 3 demo). * graphics/ddraw.c: Marcus Meissner Do not enumerate D3D devices we can't handle anyway. Return bitmasks for hi/truecolor depths in EnumDisplayModes. * if1632/snoop.c, include/snoop.h, relay32/builtin32.c, relay32/snoop.c: Marcus Meissner Speed up relay32, snoop16 and snoop32 include/excludes by doing them just once at creation time. * relay32/ole32.spec, ole/compobj.c, ole/ole2.c: Pavel Roskin Added stubs for CoRevokeClassObject and OleSetClipboard. * windows/win.c: Per Ångström EnumTaskWindows16: Basing the selection on a window's task is not only more straightforward than comparing message queues, it also works better for Win32 applications. * memory/local.c: Huw D M Davies Changed some of the message classes. * windows/keyboard.c: David Faure Special case handling of : Shift + arrow, shift + home, ... X returns a char for it, but Windows doesn't. Ignore X char. Also added some documentation. * include/winsock.h, misc/winsock.c: Stephen Langasek Bugfixes for IPX code and preliminary groundwork for other address family support. * ole/compobj.c: Marcus Meissner (CoGetClassObject) one missing CALLBACK, extremely simplified clsid lookup (Registry is case insensitive). * relay32/ntdll.spec, win32/advapi.c, dlls/ntdll/rtl.c, relay32/advapi32.spec: Juergen Schmied Stubs: SetServiceStatus, RegisterServiceCtrlHandlerA/W, StartServiceCtrlDispatcher32A/W, RtlSystemTimeToLocalTime, RtlTimeToTimeFields. * include/windows.h, ole/ole2nls.c: Juergen Schmied Stub for GetNumberFormat32W. * misc/crtdll.c: David A. Cuthbert gets() fixes. * ole/nls/rus.nls: Alexander V. Lukyanov Fix SCOUNTRY, SNATIVECTRYNAME, SABBREVDAYNAME3; change some SMONTHNAME* to be in nominative case. * windows/queue.c: Per Ångström Fixed SetMessageQueue32 to return FALSE, not TRUE, when called with an invalid size parameter. * multimedia/dsound.c: Lionel Ulmer Added correct implementation of GetCaps, changed Play and Stop handling of positions indexes, suppressed warnings. * memory/local.c: Lionel Ulmer Corrected bug in TRACE function. * AUTHORS, graphics/ddraw.c, include/authors.h, include/ddraw.h: Lionel Ulmer Corrected bug in DirectDrawSurface creation and handling for driver based upon Xlilb. * windows/dinput.c: Lionel Ulmer Wine keyboard and mouse have now their own UIDs. * objects/brush.c: Huw D M Davies Fix allocation size in CreateDIBPatternBrush*. ---------------------------------------------------------------- Sun Nov 8 16:44:41 1998 Alexandre Julliard * windows/dialog.c: NF Stevens Fixed keystroke accelerators in dialogs which have controls containing other controls as child windows. * include/winproc.h, misc/commdlg.c, windows/hook.c, windows/winproc.c: Juergen Schmied Fixes: LB_/CB_/EM_ messages for getting/setting text and a bug in 16->32 bit conversion. * objects/dib.c: Eric Pouech Prevent CreateDIBSection from seg faulting when one dimension of section is 0. * configure, configure.in, include/config.h.in, include/winsock.h, misc/winsock.c: Stephen Langasek Support for IPX networking via winsock under Linux. * relay32/gdi32.spec, graphics/painting.c: Uwe Bonnes Added a stub for StartDocA and EndDoc. * relay32/kernel32.spec, scheduler/process.c, win32/console.c: James Sutherland More complete implementation of the SetCtrlHandler() function (and the related console functions). * objects/brush.c, relay32/gdi32.spec: Jeff Johann Added CreateDIBPatternBrushPt (GDI32.35) with minor documentation updates. * graphics/vga.c, include/vga.h, msdos/ioports.c: Ove Kaaven Simulate the VGA vertical refresh. * graphics/ddraw.c: Lionel Ulmer Added support of source and destination rectangles in Blit function. * include/dinput.h, windows/dinput.c: Lionel Ulmer Added device type constants and used them in device enumeration function. * misc/registry.c: Uwe Bonnes API documentation says that RegEnumKeyEx, RegEnumValue and RegQueryInfoKey takes the size of the buffers as characters. * ole/compobj.c: Added missing #include "config.h" * AUTHORS, configure, configure.in, include/authors.h, include/config.h.in, ole/compobj.c: Justin Bradford Replaces CoCreateGuid stub with an implementation of DCE's UUID specification. Also removes some unnecessary code from StringFromCLSID. * include/commctrl.h, include/winbase.h, include/wintypes.h: Uwe Bonnes Added an extern "C" safeguard. * include/commdlg.h, include/windows.h, windows/input.c: Uwe Bonnes - adds GetExitCodeProcess - corrects the return-type of GetKeyState - corrects the winelib definition of IsDialogMessage - adds winelib definitions for PrintDlg * objects/clipping.c: Rein Klazes ExtSelectClipRgn fix: RGN_DIFF did not work. * objects/cursoricon.c, windows/event.c, windows/message.c: Ulrich Weigand Adapted to new input event handling. * if1632/thunk.c, if1632/user.spec, include/input.h, include/windows.h, relay32/user32.spec, windows/Makefile.in, windows/input.c: Ulrich Weigand USER-side part of input event handling: contains implementation of keybd_event and mouse_event, and USER-related code removed from windows/event.c and windows/keyboard.c. * windows/display.c: Ulrich Weigand Stubs for DISPLAY.DRV removed from keyboard.c. * if1632/mouse.spec, include/mouse.h, windows/mouse.c: Ulrich Weigand Implementation of MOUSE.DRV (contains some code taken from windows/event.c). * if1632/keyboard.spec, include/keyboard.h, windows/keyboard.c: Ulrich Weigand Implementation of KEYBOARD.DRV (code mostly taken from previous windows/keyboard.c). * loader/main.c, loader/task.c, miscemu/main.c: Ulrich Weigand Bugfix: really *do* switch to the initial task's stack. CallLargeStack mechanism re-enabled. * include/debug.h, include/debugdefs.h: Eric Kohl New Files. Added 'date and time picker' and 'month calendar' control dummies. They are used by Outlook Express. * ole/ole2.c, relay32/ole32.spec: Eric Kohl Added stub for CreateBindCtx() and added missing CoGetClassObject() to *.spec file. Makes Internet Explorer 4.01 happy ;-) * dlls/comctl32/pager.c: Eric Kohl Little improvement. * dlls/comctl32/listview.c: Eric Kohl Added preliminary hit testing. Makes regedit.exe happy ;-) * documentation/common_controls, dlls/comctl32/imagelist.c: Eric Kohl Improved documentation and fixed typos. * dlls/comctl32/commctrl.c, relay32/comctl32.spec: Eric Kohl Added DrawStatusText32AW() and CreateStatusWindow32AW(). * dlls/comctl32/rebar.c: Eric Kohl Improved display and layout code. * dlls/comctl32/Makefile.in, dlls/comctl32/datetime.c, dlls/comctl32/monthcal.c, include/commctrl.h, include/datetime.h, include/monthcal.h: Eric Kohl New Files. Added 'date and time picker' and 'month calendar' control dummies. They are used by Outlook Express. Sat Nov 7 12:56:32 1998 Alexandre Julliard * objects/enhmetafile.c, relay32/gdi32.spec, include/windows.h: Charles Suprin Added stubs for SetWinMetaFileBits and GetEnhMetaFilePaletteEntries. * graphics/x11drv/graphics.c: Huw D M Davies Stop X11DRV_RoundRect calling XDrawArc with -ve width/height params which it did if either ellipse dimension was zero. * graphics/painting.c: Huw D M Davies Optimize RoundRect32 to call Rectangle32 if either ellipse dimension is zero. * relay32/mpr.spec, misc/network.c: Andreas Mohr Added stub WNetEnumCachedPasswords. * msdos/int21.c, msdos/int25.c: Andreas Mohr Made this file DOSMOD friendly. * loader/ne/segment.c, loader/pe_image.c: Andreas Mohr Unified "No implementation for..." warnings. * win32/device.c: Marcus Meissner monodebg.vxd used by some Origin programs implemented. * objects/bitmap.c: Uwe Bonnes Fail if less then one entire line requested in GetBitmapBits32. * windows/winproc.c: Rein Klazes Added WM_GETDLGCODE handling in (Un)MapMsg32Ato16. * if1632/compobj.spec, include/ole.h, ole/compobj.c, relay32/ole32.spec: John Richardson Implementation of CoLoadLibrary, CoFreeAllLibraries, CoFreeUnusedLibraries, CoFreeLibrary. Fixed misspelling of CoUninitialize. * programs/clock/ChangeLog, programs/clock/main.c: Robert Pouliot Fixes for other languages. Fri Nov 6 17:36:13 1998 Alexandre Julliard * misc/registry.c: John Richardson Fix wide character functions to return character count in character quantities not byte quantities. Make RegQueryInfoKey and RegQueryInfoKey behave correctly in win95 mode. * include/dinput.h, windows/dinput.c: Lionel Ulmer Changed mouse button mapping and check size of return buffer. * objects/clipping.c: Rein Klazes ExtSelectClipRgn() with RGN_COPY copies the wrong region. * files/file.c: Uwe Bonnes Fixed an error in the implementation of FILE_ShareDeny. * scheduler/handle.c, if1632/thunk.c, include/debugtools.h, include/sig_context.h, multimedia/mmsystem.c: Marcus Meissner Solaris redefines ERR and CS, fixed occurances. Solaris has TRAPNO in its sigcontext, added to sig_context.h * include/mmsystem.h, multimedia/mmio.c, relay32/winmm.spec, if1632/mmsystem.spec: Eric Pouech Made mmioSetBuffer callable from 16 and 32 bit code. * controls/menu.c: Juergen Schmied Fixed wrong arg type. * objects/dib.c, objects/gdiobj.c, graphics/x11drv/Makefile.in, graphics/x11drv/dib.c, graphics/x11drv/init.c, include/x11drv.h: Huw D M Davies Moved X11 DIB stuff to x11drv. * win32/code_page.c: Uwe Bonnes The API for WideCharToMultiByte says that the src-string has only to be treated as NULL-terminated if srclen is -1. * include/win.h, windows/event.c, windows/win.c: Ove Kaaven Made sure ConfigureNotify is processed before Expose, deferring the Expose event if necessary, thus working around a WM flaw with virtual desktop scrolling in -managed mode. * resources/sysres_Fr.rc: Eric Pouech Translated in French (not so good anyhow) message for the mark on system menu. * misc/main.c: Juergen Schmied Changed the default from 0 to 0x409 (eng-us). * windows/mdi.c: Marcus Meissner Two missing WINAPIs. * include/interfaces.h: Juergen Schmied Fixed one wrong parameter. * configure, configure.in: Ove Kaaven Fixed --disable-lib. Thu Nov 5 10:33:18 1998 Alexandre Julliard * include/commctrl.h: Juergen Schmied Constants for controls in common dialogs. Wed Nov 4 18:08:33 1998 Alexandre Julliard * misc/crtdll.c: Juergen Schmied Fixed some compiler warnings. Sun Nov 1 19:27:24 1998 Alexandre Julliard * windows/message.c, windows/nonclient.c, windows/painting.c, windows/winhelp.c, windows/winpos.c, misc/commdlg.c, misc/shell.c, misc/winsock.c, miscemu/instr.c, multimedia/audio.c, multimedia/joystick.c, objects/bitmap.c, objects/clipping.c, objects/color.c, objects/cursoricon.c, objects/dib.c, tools/wrc/dumpres.c, tools/wrc/parser.l, windows/clipboard.c, windows/mdi.c, files/file.c, graphics/x11drv/xfont.c, memory/heap.c: Jesper Skov egcs 'ambiguous else' warnings fixes. * include/toolhelp.h, include/windows.h, scheduler/process.c: Huw D M Davies Get rid of the redefinition of MAX_PATH and move PROCESSENTRY32 definition to toolhelp.h. * windows/win.c, include/pe_image.h, library/winestub.c, loader/elf.c, loader/module.c, loader/resource.c, misc/callback.c: Ulrich Weigand Run Winelib applications as 32-bit processes in the initial task. Simplified/removed several special 'if (__winelib)' cases in Wine main code obsoleted by that change. * windows/event.c: Ulrich Weigand Call mouse driver callback also if windows are not registered with X (if using native USER.EXE). * memory/atom.c, include/atom.h: Ulrich Weigand Adapted to separation between KERNEL and USER. * if1632/builtin.c, include/main.h, loader/main.c, loader/task.c, miscemu/main.c, relay32/gdi32.spec, relay32/kernel32.spec, relay32/user32.spec, scheduler/process.c: Ulrich Weigand Implemented new Wine startup sequence, separating startup into KERNEL/USER/GDI related parts, allowing native replacement. Implemented initial 'kernel' task. * include/ole.h, include/winerror.h, ole/compobj.c: John Richardson Implementation of InprocServer32 CoGetClassObject. * include/bitmap.h, objects/bitmap.c, objects/cursoricon.c, objects/oembitmap.c, graphics/x11drv/bitmap.c: Huw D M Davies More bitmap fixes. * windows/winproc.c: Fixed crashes with WM_GETDLGCODE translation. * programs/winhelp/Makefile.in, programs/winver/Makefile.in, windows/win.c, windows/x11drv/.cvsignore, windows/x11drv/Makefile.in, windows/x11drv/init.c, include/config.h.in, include/win.h, libtest/Makefile.in, programs/clock/Makefile.in, programs/control/Makefile.in, programs/notepad/Makefile.in, programs/progman/Makefile.in, programs/regtest/Makefile.in, programs/view/Makefile.in, Make.rules.in, Makefile.in, configure, configure.in, include/acconfig.h: Patrik Stridvall Started moving some X11 window management code to windows/x11drv. * if1632/user.spec, windows/dialog.c, windows/winproc.c: Ove Kaaven Fixed IsDialogMessage16. * Makefile.in: Douglas Ridgway Tell people to ignore the 'gets' warning. Some will listen. * graphics/x11drv/bitmap.c, windows/graphics.c: Huw D M Davies A couple of small fixes to my bitmap patch. * resources/TODO, resources/sysres_De.rc, resources/sysres_En.rc, windows/nonclient.c: Uwe Bonnes Allow the user to put a mark in the debug log by adding a item in the SYSMENU. The messages needs implementation in all other languages than English and German. * files/file.c: Uwe Bonnes Give tempfile a different name even if they are created in the same second. Removed some fixmes from the ShareDeny stuff. * include/mdi.h, include/windows.h, relay32/user32.spec, windows/mdi.c, windows/win.c: Rein Klazes CreateWindowEx32[AW] now creates an MDI chils when the WM_EX_MDICHILD extended style is specified. Also implemented CreateMDIWindow32A() call - single thread only -. * dlls/comctl32/treeview.c: Marcus Meissner Erred in the bit macros in treeview.c. Shiftcounts were wrong. * loader/pe_image.c: Marcus Meissner Detection of the end of imports with Characteristics 0 fail for Borland programs (which seem to have always characteristics 0). Changed to algorithm to something a bit more intelligent. * ole/compobj.c, relay32/ole32.spec: Ove Kaaven Added CoFreeLibrary stub. * README: Updated FAQ location. * graphics/escape.c: Huw D M Davies Implement SEGPTR conversion for STARTDOC in Escape32(). * objects/dc.c: Ulrich Weigand Bugfix: SetDCState did not reset clipping region to empty. * win32/init.c: Marcus Meissner Fixed small off by one error in GetComputerName32W, always killed the last character of a hostname. * objects/dib.c: Marcus Meissner Don't HeapFree() colormap if we didn't allocate one. * win32/advapi.c, windows/message.c, windows/user.c, dlls/shell32/shellord.c, include/wintypes.h, misc/crtdll.c, misc/printdrv.c, relay32/advapi32.spec, relay32/crtdll.spec, relay32/mpr.spec, relay32/shell32.spec, relay32/user32.spec, relay32/winspool.spec: Marcus Meissner Added stubs for user32,advapi32 functions. * Makefile.in, configure, configure.in, dlls/Makefile.in, dlls/ntdll/*, include/ntdll.h, misc/Attic/ntdll.c, misc/Makefile.in, relay32/ntdll.spec: Marcus Meissner More Nt* and Rtl* function stubs, moved ntdll.c to dlls/ntdll/. * memory/local.c, memory/heap.c: Andreas Mohr Changed many WARN()s related to internal Wine memory failures to ERR()s. * if1632/kernel.spec, scheduler/process.c: Andreas Mohr Added .spec entry for KERNEL.RegisterServiceProcess. * if1632/display.spec, windows/keyboard.c: Andreas Mohr Added stub for CheckCursor(). * include/dialog.h, windows/defdlg.c: Tim Newsome Fix for non-modal dialog closing. * windows/dinput.c: David Faure Rewrote the two routines using the vkey->scancode array to use keyc2vkey for each keycode, instead. Not tested. Removed unused IDirectInputDeviceA_GetDeviceState. Fixed warning in TRACE() call. * windows/keyboard.c: David Faure Deleted the vkey->sancode array, because QWERTY specific. Back to using the X keycode instead as the scancode. Tested. * graphics/psdrv/init.c: Huw D M Davies Print a message if the PostScript driver can't find a PPD file. * msdos/int10.c: Ove Kaaven Added VGA 256-color mode 0x13 using the DisplayDib VGA emulation. (DOS apps/games using this mode comes up now, although you can't really do anything with them (yet?).) * msdos/dpmi.c: Ove Kaaven Use macro V86_FLAG. * msdos/dosmem.c: Ove Kaaven Set default video mode to 3 (80x25 color). * loader/dos/dosmod.c: Ove Kaaven Ignores a couple of signals. * graphics/Makefile.in, graphics/dispdib.c, graphics/vga.c, include/vga.h, msdos/ioports.c: Ove Kaaven Moved VGA-emulating DirectX code from dispdib.c to a separate file. Made it use a system timer and trap I/O accesses to the VGA DAC registers to accommodate DisplayDib-using programs that try to access the VGA hardware directly. * miscemu/instr.c, if1632/signal.c, include/dosexe.h, loader/dos/dosvm.c, loader/dos/module.c, misc/system.c: Ove Kaaven Indirection for INSTR_EmulateInstruction for use by DOS code. Added support for a 55Hz system timer, letting DOS apps calibrate their delay loops and such. Calls INSTR_EmulateInstruction for instruction emulation (principally I/O port access). Added macro V86_FLAG. Sat Oct 31 12:20:56 1998 Alexandre Julliard * windows/dinput.c, multimedia/dsound.c: Marcus Meissner Small fixes. * memory/virtual.c: Marcus Meissner Removed the FIXME() and moved SetLastError(0) to the end (so that GetTempFileName et.al. can't overwrite it). * misc/Attic/ntdll.c, relay32/ntdll.spec, relay32/relay386.c, relay32/user32.spec, windows/user.c: Marcus Meissner Lots of stubs to get winlogon.exe from nt3.51 and other NT3.51 applets a bit further. * windows/mdi.c: Rein Klazes MDIchild created when the MDI client has the MDIS_ALLCHILDSTYLES style, should not be shown at creation nor activated unless the WS_VISIBLE flag is set. * loader/pe_image.c: Stephen Langasek Bugfix for fixup_imports: Enable checking for terminating import struct with Characteristics bitfield set to 0. * windows/win.c: Rein Klazes Delay linking newly created window in linked list until after the WM_NCCREATE message. * files/file.c: Rein Klazes Small bug in FILE_InUse does not do a release on every acquired file pointer. * controls/static.c: Marcus Meissner lpszName of NULL is handled (removes some warnings). * tools/testrun: Marcus Meissner Now allows specification of a start directory on the cmdline. * dlls/comctl32/treeview.c: Marcus Meissner Gets rid of the arch-dependent bit operations (tested on Linux and Solaris/x86). Wed Oct 28 14:58:02 1998 Alexandre Julliard * windows/win.c: Juergen Schmied A dest buffer was printed out as string. * include/shlobj.h: Juergen Schmied Corrected 2 wrong definitions. * include/windows.h, relay32/kernel32.spec, scheduler/process.c: Patrick Spinler Added stubs for Process32First/Process32Next. * include/x11drv.h, objects/clipping.c, objects/dc.c, objects/dcvalues.c, objects/palette.c, objects/region.c, graphics/escape.c, graphics/metafiledrv/graphics.c, graphics/painting.c, graphics/path.c, graphics/psdrv/graphics.c, graphics/win16drv/graphics.c, graphics/x11drv/graphics.c, include/debugger.h, include/gdi.h, include/metafiledrv.h, include/psdrv.h, include/win16drv.h, include/windows.h, include/wintypes.h, debugger/dbg.y, debugger/msc.c, debugger/stabs.c, debugger/types.c: François Gouget Fixed some LPPOINT/LPSIZE mismatches and some missing "const" in the headers prototypes. * graphics/psdrv/init.c, graphics/win16drv/init.c, graphics/x11drv/bitmap.c, graphics/x11drv/brush.c, graphics/x11drv/init.c, graphics/x11drv/objects.c, include/bitmap.h, include/gdi.h, include/x11drv.h, objects/bitmap.c, objects/brush.c, objects/dib.c, objects/oembitmap.c, windows/graphics.c, graphics/metafiledrv/init.c: Huw D M Davies Added pBitmapBits and pCreateBitmap to the GDI function table and moved the X11 dependent stuff out of objects/bitmap.c into x11drv. * relay32/shell32.spec, dlls/shell32/shellole.c, dlls/shell32/shellord.c, include/shell.h, dlls/shell32/pidl.c: Juergen Schmied New SHGetSimpleIDListFromPath32AW. Unicode-safe: PathFindFilename32AW. * include/shlobj.h: Justin Bradford IExtractIcon had an extra c in a struct definition. * relay32/dplay.spec: John Richardson Added entry for DirectPlayEnumerate. * ole/nls/sky.nls, ole/ole2nls.c: Juergen Schmied Added Slovak nls-resources. * objects/region.c: Huw D M Davies Fixed differences between SetRectRgn16 and SetRectRgn32. Also a bug fix for CreateRoundRectRgn. Tue Oct 27 15:41:54 1998 Alexandre Julliard * windows/user.c: Marcus Meissner EnumDisplayModes* returns a static list of modes with all depths (helps hexen2demo), ChangeDisplaySettings returns true all the time. * include/wintypes.h, multimedia/mmsystem.c, relay32/winmm.spec: Marcus Meissner Stub for midiOpenStream (helps hexen2demo). * ole/nls/enc.nls, ole/nls/frc.nls, resources/sysres_Fr.rc: Robert Pouliot Small patch for better French support. * loader/elf.c: Ulrich Weigand Bugfix: memory overwrite bug. Mon Oct 26 11:04:13 1998 Alexandre Julliard * controls/edit.c, windows/clipboard.c: Pascal Cuoq 32-bit clipboard support. * windows/queue.c: Ulrich Weigand Bugfix for QUEUE_Signal: Always use PostEvent if no thread is waiting on the queue. * windows/mdi.c: NF Stevens Fixed a minor problem with the menus for mdi child windows. * graphics/ddraw.c: Marcus Meissner Removed no longer necessary commented out code, destroy old window when SetDisplayMode is called again, EnumDisplayModes now returns all possible modes (using a static list). * memory/virtual.c: Marcus Meissner Anon shared mapping fixed for file sharing. ---------------------------------------------------------------- Sun Oct 25 10:32:23 1998 Alexandre Julliard * ole/ole2nls.c, include/winnls.h: Andreas Mohr <100.30936@germany.net> Fixes for LANG_NEUTRAL. * include/task.h: Added some padding to the PDB for ill-behaving apps (problem reported by Andreas Mohr). * documentation/ioport-trace-hints, include/debug.h, include/debugdefs.h, miscemu/instr.c: Jonathan Buzzard Added a new debugging channel io to allow read/writes on a port to be logged to a file. * windows/keyboard.c: David Faure Replaced 0x00 with 0x01 in the vkey->sancode array, so that no key is ignored. 0x00 is used for generated key events only. * windows/message.c, windows/queue.c: Douglas Ridgway API Documentation for SendMessage, GetTickCount, PostQuitMessage, GetMessagePos, GetMessageTime. * memory/virtual.c: Marcus Meissner Delete the filename for the mapping instantly. * dlls/shell32/shellord.c, relay32/shell32.spec: Michael Poole Stub for SHSimpleIDListFromPath. * loader/task.c: Fixed bug in SwitchStackTo. Sat Oct 24 13:06:16 1998 Alexandre Julliard * controls/scroll.c: Patrik Stridvall Check if scrollbar and parent are visible before redraw. * if1632/shell.spec, include/shell.h, misc/shell.c, programs/notepad/main.c, relay32/shell32.spec: Kai Morich Added Drag*32 functions. * windows/event.c: Kai Morich Added Drag&Drop from KDE app to 16/32 bit Windoze app. * windows/message.c: Kai Morich Added FIXME message in PostMessage32x if parameters are truncated when calling PostMessage16. * include/process.h, scheduler/event.c, scheduler/handle.c, scheduler/process.c, scheduler/thread.c: Ulrich Weigand Added support for global handles, implemented ConvertToGlobalHandle. Allocate startup data and 16-bit stack for initial process. * documentation/wine.texinfo: Leigh Wedding Small fix. * programs/progman/.cvsignore, programs/progman/Es.rc, programs/progman/Makefile.in, programs/winhelp/.cvsignore, programs/winhelp/Es.rc, programs/winhelp/Makefile.in, programs/clock/.cvsignore, programs/clock/Es.rc, programs/clock/Makefile.in, programs/notepad/.cvsignore, programs/notepad/Es.rc, programs/notepad/Makefile.in: Pablo Saratxaga Added Spanish resources. * ole/nls/euq.nls, resources/sysres_Es.rc: Pablo Saratxaga Small corrections. * relay32/kernel32.spec, scheduler/process.c: Marcus Meissner LoadLibraryExW spec added (function was there). SetProcessPriorityBoost stub added. * msdos/dpmi.c: Patrik Stridvall Compile fix for Solaris. * if1632/.cvsignore, if1632/Makefile.in, if1632/builtin.c, if1632/dispdib.spec, include/dispdib.h, graphics/Makefile.in, graphics/dispdib.c: Ove Kaaven Implemented DisplayDib. * controls/static.c: Marcus Meissner Hack to support integer ids in all static controls. * include/dinput.h, windows/dinput.c: Lionel Ulmer Beginning of mouse support in DirectInput (only "standard" mouse configuration supported for now). * include/*.h, dlls/comctl32/*.c: Eric Kohl Added xxx_Unregister() functions to all common controls. * dlls/comctl32/comctl32undoc.c, dlls/comctl32/pager.c, dlls/comctl32/toolbar.c, documentation/common_controls, relay32/comctl32.spec: Eric Kohl Some minor improvements and fixes. * dlls/comctl32/rebar.c, include/rebar.h: Eric Kohl Improved the rebar control. * dlls/comctl32/tooltips.c: Eric Kohl Added support for transparent and tracking tooltips. * controls/menu.c: Eric Kohl Fixed a popup menu selection bug. * windows/nonclient.c: Eric Kohl Fixed DrawCaption16() and DrawCaptionTemp16(). * windows/keyboard.c: David Faure Fixed warning. * graphics/psdrv/Makefile.in, graphics/psdrv/bitmap.c, graphics/psdrv/brush.c, graphics/psdrv/font.c, graphics/psdrv/graphics.c, graphics/psdrv/init.c, graphics/psdrv/ps.c, include/gdi.h, include/psdrv.h, objects/dib.c: Huw D M Davies Adds Arc, Chord, GetCharWidth, Pie, PolyPolygon, PolyPolyline, RoundRect, SetPixel, hatched brushes and a stub for StretchDIBits to the PostScript driver. * include/debug.h, include/debugdefs.h, include/miscemu.h, msdos/Makefile.in, msdos/interrupts.c: Joseph Pranevich Added support for int17 and int19. * msdos/int19.c: Carl van Schaik Stubs for dos mode reboot interrupt. * msdos/int17.c: Carl van Schaik Some printer stubs for DOS added. * msdos/int13.c: Joseph Pranevich More stubs added. These changes are only partially mine, I just made them compile. * msdos/int10.c: Joseph Pranevich Added some traces and cleaned up a couple of things. * dlls/shell32/shell32_main.h, dlls/shell32/shellord.c, dlls/shell32/shlfolder.c, dlls/shell32/shlview.c, include/shell.h, include/shlobj.h, memory/string.c, ole/ole2nls.c, relay32/shell32.spec, dlls/shell32/dataobject.c, dlls/shell32/enumidlist.c, dlls/shell32/pidl.c, dlls/shell32/shell32_main.c: Juergen Schmied Changed some string-shell32 functions to 32AW, parameter are os depending 32A or 32W (-winver nt351 or nt40), some new functions. Some fixes in ole2nls. New OLE2NLS_CheckLocale() to handle Locale_User_Default and Locale_System_Default. Shell32 now dynamicly links to DPA_*(), comdlg32 works again (comctl32 heap alloc patch broke it). * include/winversion.h, misc/version.c: Juergen Schmied Added VERSION_IsOsUnicode(). * scheduler/handle.c: Uwe Bonnes More off-by-one errors fixed. * include/file.h, misc/crtdll.c, msdos/vxd.c, win32/file.c, files/file.c: Uwe Bonnes File sharing fixes. Fri Oct 23 17:26:44 1998 Alexandre Julliard * misc/commdlg.c: Nick Holloway Bug fix. * loader/dos/module.c: Ove Kaaven Fixed DOS environment passing. * misc/main.c: Juergen Schmied Sysmetrics32W for SPI_GETICONTITLELOGFONT returns correct fontname. * include/font.h, objects/font.c, objects/gdiobj.c: Juergen Schmied New FONT_GetObject32W(), GetObject32W(). * relay32/user32.spec, win32/ordinals.c, windows/user.c: Juergen Schmied New stub RegisterTaskList. New function EnumDisplaySettings32W(). * misc/ntdll.c: Juergen Schmied More parameter checking in RltCopySid. * windows/winproc.c: Juergen Schmied More message mapping 32A<-->32W for EM_, CB_, LB_ for Unicode. * relay32/.cvsignore, relay32/Makefile.in, relay32/avifil32.spec, relay32/builtin32.c: Ove Kaaven Added new dll avifil32.dll. * loader/dos/dosvm.c, loader/dos/module.c, msdos/dpmi.c, include/dosexe.h: Ove Kaaven First shot at DPMI realmode calls. * loader/module.c: Ulrich Weigand Fixed several bugs with DLL initialization. Thu Oct 22 17:02:25 1998 Alexandre Julliard * scheduler/syslevel.c: Marcus Meissner Added ordinal for two syslevel functions. * multimedia/midi.c: Marcus Meissner Another missing WINAPI. * include/mmsystem.h: Marcus Meissner Small corrections in mmio declarations. * loader/pe_image.c: Marcus Meissner Take virtual sizes in account for the total vma size. * ole/nls/rom.nls: Dimitrie O. Paun Add some more NLS definitions for the Romanian language. * multimedia/dsound.c: Marcus Meissner Some programs (quake2 et al) do check for DSCAPS_EMULDRIVER and stop to work. 'Adjust' caps flags accordingly. * ole/compobj.c, relay32/ole32.spec: Pete Ratzlaff Stub for CoCreateGuid(). * dlls/comctl32/treeview.c, multimedia/mcicda.c: Brian Litzinger Fixes for FreeBSD. * libtest/.cvsignore, libtest/Makefile.in: Petter Reinholdtsen Make sure hello3res.h is generated even if 'make depend' never has been run. * windows/nonclient.c: NF Stevens Fixed moving and sizing of child windows. * include/ts_xlib.h, tools/make_X11wrappers, tsx11/X11_calls, tsx11/ts_xlib.c, windows/keyboard.c: Marcus Meissner XQueryKeymap -> TSXQueryKeymap (fixes the XIO errors reported). Wed Oct 21 17:20:48 1998 Alexandre Julliard * include/dosexe.h, loader/dos/dosvm.c, miscemu/main.c: Ove Kaaven Added indirection for ctx_debug to the DOS loader, so Winelib works again. * memory/virtual.c: Marcus Meissner Support anon shared mappings using temporary files (wont be deleted yet). * misc/main.c: Marcus Meissner Was freeing the incorrect pointers -> crash in mallocs/frees. * files/dos_fs.c, relay32/kernel32.spec: Marcus Meissner DefineDosDevice stub added. * miscemu/main.c, wine.ini: Chad Powell (pxpx@usa.net) Added a default program option in wine.conf in section [programs] key Default. * include/wintypes.h: David Cuthbert Better fix for this_is_a_syntax_error. * ole/nls/*.nls: Pablo Saratxaga Added the entries for LOCALE_SISO639LANGNAME and LOCALE_SISO3166CTRYNAME. * documentation/wine.man: James Juran Updated manpage. * relay32/msacm32.spec: Patrik Stridvall Fixed wrong ordinals. * objects/region.c: NF Stevens Fixed a bug in RectInRegion. Tue Oct 20 15:26:26 1998 Alexandre Julliard * msdos/interrupts.c: NF Stevens Removed an incorrect error message. * files/drive.c: Petter Reinholdtsen Make sure the access functions are always used to get label and serial number. Mon Oct 19 08:48:24 1998 Alexandre Julliard * ole/ole2nls.c: Eric Pouech Fixed bug on platforms were buffers returned by getenv() shall not be free()'ed. Added French (default) in locale handling. * include/wintypes.h: Dave Cuthbert Changed "this is a syntax error" to "this_is_a_syntax_error" to make a compile-time error message make more sense. * scheduler/handle.c: Uwe Bonnes Fixed off by one error in HANDLE_GetObjPtr. ---------------------------------------------------------------- Sun Oct 18 14:48:31 1998 Alexandre Julliard * files/file.c: Uwe Bonnes Try to implement the OF_SHARE_XXX options. Move the mode translations to functions. * include/main.h, ole/compobj.c, ole/ifs.c, ole/ole2disp.c, ole/ole2nls.c, ole/olesvr.c, ole/storage.c: Matthew Becker Documentation updates. * ole/compobj.c, relay32/ole32.spec: Uwe Bonnes Added stub for CoSetState32. * miscemu/main.c: Chad Powell Added ability to read a startup program from wine.ini file. Put it in section [programs] key Startup. * include/trackbar.h, include/treeview.h, dlls/comctl32/trackbar.c, dlls/comctl32/treeview.c: Alex Priem Further improvements. * include/cursoricon.h, objects/cursoricon.c: Turchanov Sergey Implemented LoadCursorFromFile, fixed DrawIconEx to support offscreen drawing, fixed CURSORICON_CreateFromResource to support LR_ semantics. * include/bitmap.h, objects/bitmap.c: Turchanov Sergey Fixed LoadImage to support almost all LR_ flags. * objects/dib.c: Turchanov Sergey Fixed bug in DIB_SetImageBits_RLE8 (because 'color' var was WORD, all COLOREFs had red part zeroed) that made plenty of cyan colors, minor bug fixes, changes to support LR_ flags. * include/global.h, memory/virtual.c: Turchanov Sergey Added VIRTUAL_MapFileW to map file to memory in one function call. * include/ddraw.h, include/windows.h, include/wintypes.h, windows/multimon.c: Turchanov Sergey Moved Multimonitor API declarations to windows.h. * if1632/user.spec, include/driver.h, multimedia/audio.c, multimedia/mcianim.c, multimedia/mcicda.c, multimedia/midi.c, multimedia/mmsystem.c, relay32/winmm.spec, windows/driver.c: Turchanov Sergey Implemented DefDriverProc32 from winmm.dll. * controls/scroll.c, include/scroll.h, windows/mdi.c, windows/nonclient.c: Alex Korobka Got rid of flickering scrollbar arrows. MDI scrolling speeded up a bit. * include/winnls.h, ole/nls/deu.nls, ole/ole2nls.c: Juergen Schmied GetLocaleInfo32A can handle len=0 now, sets LastError and touches buffer only when necessary. Updated deu.nls and some LCTYPES in winnls.h. * if1632/relay.c: Rein Klazes CallProc[Ex]32W called with lpProcAddress==NULL should return zero and not crash. Sat Oct 17 13:07:48 1998 Alexandre Julliard * dlls/comctl32/commctrl.c: Ove Kaaven Reduced huge (1GB) heap creation that caused Starcraft to fail. * include/dosexe.h, include/module.h, loader/dos/dosvm.c, multimedia/dplay.c, windows/dialog.c: Patrik Stridvall Compile fix for Solaris. * multimedia/midi.c: Patrik Stridvall Compile fix for non OSS systems. * graphics/ddraw.c: Patrik Stridvall Compile fix for non XF86-DGA systems. * libtest/Makefile.in, libtest/volinfo.c: Petter Reinholdtsen New file to test DRIVE_GetLabel. * multimedia/mcicda.c: Peter Hunnisett Small, suboptimal, fix for 32 bit cdaudio open routines. Needs proper 32bit cdaudio bit support before it can be removed... * graphics/ddraw.c: Peter Hunnisett Added a bunch of stubs for ddraw suface routines. All stubs for surface present now. Commented out message pump calls. I don't see a reason for them being there. Everything works fine with -desktop and -managed still has problems. Disagreements? * ole/ole2nls.c: Juergen Schmied Fixed GetLocaleInfo32A for other languages than en_uk. Made it recognise LOCALE_SYSTEM_DEFAULT, LOCALE_SYSTEM_DEFAULT and last but not least the first argument lcid where is all about... * include/syslevel.h, misc/registry.c, multimedia/dplay.c, multimedia/dsound.c, multimedia/mmsystem.c, multimedia/time.c, windows/caret.c, dlls/msacm32/builtin.c: Marcus Meissner Fixed some more missing WINAPIs (hopefully correct). * ole/ole2nls.c: Marcus Meissner Fixed the = -> == bug. * msdos/int2f.c: Joseph Pranevich Shell parameters (config.sys) and ANSI support stubs. * msdos/Makefile.in: Joseph Pranevich Added int16.c and int29.c. * include/miscemu.h, msdos/interrupts.c: Joseph Pranevich More interrupts that can be done from DOS mode. * msdos/int29.c: Joseph Pranevich Added int29 (Fast Write to Screen) support. * msdos/int16.c, include/debug.h, include/debugdefs.h: Joseph Pranevich Added int16 (Keyboard) support, mostly stubs. Fri Oct 16 15:40:21 1998 Alexandre Julliard * relay32/shell32.spec, dlls/shell32/pidl.c, dlls/shell32/shell32_main.c, dlls/shell32/shellord.c, dlls/shell32/shlfolder.c, dlls/shell32/shlview.c, include/shlobj.h: Juergen Schmied Many bugfixes, new stubs SHGetRealIDL, SHRegQueryValue32W, SHRegQueryValueEx32W, StrRetToStrN, StrChrW, SHAllocShared, SHLockShared, SHUnlockShared, SHFreeShared, SetAppStartingCursor32, SHLoadOLE32, Shell_MergeMenus32, PathGetDriveNumber32, DriveType32, SHAbortInvokeCommand, SHOutOfMemoryMessageBox, SHFlushClipboard. * misc/ntdll.c, relay32/ntdll.spec: Dietmar Kling Added undocumented function RtlOpenCurrentUser. * objects/cursoricon.c, misc/shell.c, misc/ver.c, misc/version.c, loader/elf.c, loader/module.c, loader/pe_image.c, loader/pe_resource.c, include/neexe.h, include/pe_image.h, include/peexe.h, debugger/dbgmain.c, debugger/msc.c: Uwe Bonnes Renamed all LPIMAGE_* types to PIMAGE_*. Thu Oct 15 13:03:10 1998 Alexandre Julliard * windows/winpos.c: Rein Klazes Fixed an error when an owned window activates its owner during creation. * windows/defdlg.c: Rein Klazes Closing a dialog using the menu bar ("x" or "-" button or windows menu) must generate a WM_COMMAND+IDCANCEL message, unlike closing normal windows when DestroyWindow() is called. * dlls/shell32/pidl.c: Marcus Meissner Added missing WINAPIs. * windows/winpos.c, win32/ordinals.c, relay32/user32.spec: Juergen Schmied New stubs PrivateExtractIconEx[AW], PrivateExtractIconsW, RegisterShellHookWindow, DeregisterShellHookWindow, GetProgmanWindow, GetTaskmanWindow, SetProgmanWindow, SetShellWindowEx, SetTaskmanWindow. * relay32/ntdll.spec, misc/ntdll.c: Juergen Schmied New stubs NtQueryInformationThread, NtQueryInformationToken, RtlAllocateAndInitializeSid, RtlEqualSid, RtlFreeSid. * multimedia/mmsystem.c: Turchanov Sergey Fixed PlaySound to start its thread the right way. Wed Oct 14 18:40:35 1998 Alexandre Julliard * controls/combo.c, controls/listbox.c: Alex Korobka CB_SETCURSEL and some other fixes. * windows/queue.c: Alex Korobka Better QUEUE_FlushMessages(). * relay32/gdi32.spec, objects/font.c, include/windows.h, if1632/gdi.spec: Moshe Vainer Partial implementation of GetOutlineTextMetrics32A. Added structures for OUTLINETEXTMETRICS. * objects/dc.c, include/gdi.h, graphics/x11drv/bitblt.c, graphics/x11drv/bitmap.c, graphics/x11drv/init.c: Ulrich Weigand Do not clip source rectangle even by visible region for bitblts. Added field 'totalExtent' to WIN_DC_INFO. * msdos/vxd.c: Ulrich Weigand Added stub for VMM PM API AH=026[de] (never say 'safe mode'). * memory/heap.c: Ulrich Weigand Bugfix: Local32Free caused free handles list corruption. * include/debugtools.h: Marcus Meissner Fixed --disable-debug config option. Tue Oct 13 12:50:04 1998 Alexandre Julliard * relay32/shell32.spec, dlls/shell32/shellord.c: Petter Reinholdtsen Added stubs SHRegCloseKey(), SHRegOpenKey[AW](), SHRegQueryValueExA() and FileIconInit() needed by Win95 explorer. Mon Oct 12 07:25:54 1998 Alexandre Julliard * windows/dialog.c, controls/button.c, controls/menu.c: Norman Stevens Improving keyboard handling, including accelerator keys in dialog boxes. Also fixes enter key in Agent32 edit box. Sun Oct 11 19:37:23 1998 Alexandre Julliard * misc/commdlg.c: Eric Pouech Added support in file dialog boxes handling for filters like "*.txt;*.bat". * win32/kernel32.c, scheduler/thread.c, loader/module.c, loader/pe_image.c, loader/task.c, include/module.h, include/pe_image.h: Ulrich Weigand Implemented new PE DLL initalization code, trying to call the DllEntryPoint routines always in correct order :-) Bypass snooping when getting data buffer addresses (thunk buffers, __GP handlers) and for 32-bit routines directly called from 16-bit (due to stack address size problems). * win32/ordinals.c, relay32/kernel32.spec, loader/ne/module.c: Ulrich Weigand Implemented CommonUnimpStub, MapHInst(LS|SL)_PN, W32S_BackTo32. Stub for HouseCleanLogicallyDeadHandles, fixed k32wvsprintfA. * tools/build.c, if1632/kernel.spec, if1632/relay.c, if1632/thunk.c: Ulrich Weigand Implemented (partially) the KERNEL Thunklet API and Callback Client API (KERNEL.560-568,604-612,619-622). Added stubs for K228, K237, KERNEL.365, KERNEL.447. * objects/bitmap.c, if1632/gdi.spec: Ulrich Weigand Stubs for CreateUser(Discardable)Bitmap16. * memory/heap.c, include/winnt.h: Ulrich Weigand Implemented HEAP_WINE_CODE16SEG SEGPTR heaps with 16-bit code segments. * memory/global.c, include/windows.h: Ulrich Weigand GlobalFix16 is supposed to return selector to the memory area. * msdos/vxd.c, if1632/Makefile.in, if1632/builtin.c, if1632/comm.spec, if1632/wprocs.spec: Ulrich Weigand Stubs for COMM.DRV, REBOOT.VXD, VDD.VXD. * scheduler/process.c, scheduler/syslevel.c, include/sig_context.h, include/syslevel.h: Ulrich Weigand Use emergency TEB selector to avoid debugger crashes when stepping through relay stubs (or when FS is invalid otherwise). * windows/event.c, windows/keyboard.c: Ulrich Weigand MOUSE.DRV routines moved to event.c. Call mouse event procedure. * windows/dce.c, windows/painting.c, windows/scroll.c, objects/clipping.c, objects/dc.c, objects/dcvalues.c, include/dc.h, include/windows.h, if1632/gdi.spec, graphics/x11drv/bitblt.c, graphics/x11drv/clipping.c, graphics/x11drv/graphics.c, graphics/x11drv/text.c, graphics/path.c: Ulrich Weigand Changed DC members w.hVisRgn, w.hClipRgn, amd w.hGCClipRgn to coordinates relative to the device, not the DC origin. This is necessary to correctly implement GetClipRgn16 and InquireVisRgn. SelectVisRgn also expects region in device-relative coordinates. Adapted the rest of Wine to this coordinate change. Implemented ExtSelectClipRgn. * tools/winapi-check, scheduler/syslevel.c, files/dos_fs.c: Andreas Mohr <100.30936@germany.net> Small fix. * loader/ne/segment.c, include/module.h, include/neexe.h, if1632/kernel.spec: Andreas Mohr <100.30936@germany.net> Yet another small self-loader fix. * files/drive.c: Andreas Mohr <100.30936@germany.net> Fixed severe bug: SetCurrentDirectory32A didn't set pTask->curdir correctly due to current drive being set too late. * Make.rules.in: Patrik Stridvall Use $(AS) instead of $(CC) to compile .s files. * relay32/.cvsignore, relay32/Makefile.in, relay32/builtin32.c, include/debug.h, include/debugdefs.h, include/mmreg.h, if1632/.cvsignore, if1632/Makefile.in, if1632/builtin.c, dlls/Makefile.in, Makefile.in, configure, configure.in: Patrik Stridvall Started the implementation of MSACM.DLL, MSACM32.DLL and IMAGEHLP.DLL. * include/imagehlp.h, relay32/imagehlp.spec, dlls/imagehlp/.cvsignore, dlls/imagehlp/Makefile.in, dlls/imagehlp/access.c, dlls/imagehlp/debug.c, dlls/imagehlp/imagehlp_main.c, dlls/imagehlp/integrity.c, dlls/imagehlp/internal.c, dlls/imagehlp/modify.c, dlls/imagehlp/symbol.c: Patrik Stridvall Started the implementation of IMAGEHLP.DLL. * include/msacm.h, include/msacmdrv.h, relay32/msacm32.spec, if1632/msacm.spec, dlls/msacm32/.cvsignore, dlls/msacm32/Makefile.in, dlls/msacm32/builtin.c, dlls/msacm32/driver.c, dlls/msacm32/filter.c, dlls/msacm32/format.c, dlls/msacm32/internal.c, dlls/msacm32/msacm32_main.c, dlls/msacm32/stream.c, dlls/msacm/.cvsignore, dlls/msacm/Makefile.in, dlls/msacm/msacm_main.c: Patrik Stridvall Started the implementation of MSACM.DLL and MSACM32.DLL. * win32/device.c: Patrik Stridvall Removed things that were earlier added by mistake. * relay32/winmm.spec: Patrik Stridvall The implementation of mmioWrite is now called instead of the stub. * include/shell.h, dlls/shell32/shellole.c, dlls/shell32/shellord.c, dlls/shell32/shlfolder.c, dlls/shell32/shlview.c: Juergen Schmied Bugfixes, shellview uses DPA's now, IShellView_GetItemObject implemented. * relay32/shell32.spec, dlls/shell32/shell32_main.c: Juergen Schmied New stubs: SHGetFileInfo32W, ReadCabinetState, WriteCabinetState, IsUserAdmin. Implemented: SHGetPathFromIDList32W. Changed PathCombine. * include/shlobj.h: Juergen Schmied New structures DVASPECT, TYMED, IDLList. Shell specific clipboard formats. * relay32/winspool.spec, misc/printdrv.c: Juergen Schmied Stub EnumPrintersW. * dlls/shell32/dataobject.c: Juergen Schmied Implemented first functions. * dlls/shell32/pidl.c, dlls/shell32/pidl.h: Juergen Schmied New class IDLList "Item ID List List" (internal). * misc/ver.c: Juergen Schmied Small changes (uses HIWORD/LOWORD). * windows/dialog.c, relay32/user32.spec: Sat Oct 10 12:00:00 1998 Juergen Schmied Stub CreateDialogIndirectParamAorW. * Makefile.in, configure, configure.in: Uwe Bonnes Don't install object files when --disable-lib is selected. * debugger/hash.c, debugger/msc.c: Uwe Bonnes Don't print name for 32 bit lib multiple times. Clean up printing in DEBUG_ProcessDeferredDebug. * memory/heap.c, dlls/comctl32/tab.c, controls/combo.c: David Luyer Small fixes. * files/drive.c: Petter Reinholdtsen Bugfix: Changed GetDriveType32A(NULL) to use cwd's root. * ole/typelib.c, ole/compobj.c, ole/ifs.c, ole/moniker.c, ole/ole2.c, ole/ole2disp.c, ole/ole2nls.c, ole/olecli.c, ole/olesvr.c, ole/storage.c, misc/ntdll.c, misc/registry.c: Matthew Becker Documentation corrections/standardizations. * multimedia/audio.c, multimedia/init.c, multimedia/mcianim.c, multimedia/mcicda.c, multimedia/mcistring.c, multimedia/midi.c, multimedia/mmsystem.c, include/mmsystem.h, include/multimedia.h: Eric Pouech Started coding 32 bit MCI handling. Added Open/Close to low-level MCI drivers (audio, midi, anim, cda). Wrote MCI MIDI support. * graphics/x11drv/graphics.c: Rein Klazes Yet another improvement to the bezier code. * windows/message.c: Rein Klazes GetTickCounts() has a granularity in windows of 25 msec's. Girotel's serial communication appears to depend on it, so I guess it's a feature... * misc/comm.c: Rein Klazes Update the modemn status bit that indicates whether the RLSD line is active in every call to GetCommError(). This is not the proper place, but since wine doesn't do any event-stuff... Fixed some TRACE call's faced with non zero terminated strings. Restore the terminal state at CloseCommt to the state it was at OpenComm(), so the modem will go off-hook. * loader/module.c: Alexander Larsson GetModuleFileName32A() returns long filename if app sets osversion >= 4.0. Also moved the long filename hackery to GetLongPathName32A() so it can be used by win32 programs. * files/dos_fs.c: Alexander Larsson GetLongPathName32A() returns dos format long filename instead of unix format. * dlls/comctl32/listview.c: Eric Kohl Small fixes. * relay32/shell32.spec, dlls/shell32/shellord.c: Eric Kohl Added SHFlushClipboard. * relay32/comctl32.spec, include/commctrl.h, dlls/comctl32/comctl32undoc.c: Eric Kohl Fixed some undocumented functions. Changed algorithm in DPA_QuickSort(). Fixed heap creation/destruction and control [un]registration in ComCtl32LibMain(). * dlls/comctl32/header.c: Eric Kohl Fixed a bug. * include/tooltips.h, dlls/comctl32/tooltips.c: Eric Kohl Added tracking support and fixed loading of resource strings. Added unregister code. * include/debug.h, include/debugdefs.h, include/ipaddress.h, include/nativefont.h, dlls/comctl32/Makefile.in, dlls/comctl32/commctrl.c, dlls/comctl32/ipaddress.c, dlls/comctl32/nativefont.c: Eric Kohl Added IPAddress and NativeFont controls. * include/imagelist.h, dlls/comctl32/imagelist.c: Eric Kohl Some minor improvements. * include/toolbar.h, dlls/comctl32/toolbar.c: Eric Kohl Improved drawing and placement code. Explorer style common dialogs are looking good now. * objects/cursoricon.c: Eric Kohl Fixed bug in DrawIconEx32(). * misc/main.c: Eric Kohl Improved GetSystemInformation32[A/W]. * windows/nonclient.c, relay32/user32.spec, include/windows.h, if1632/user.spec: Eric Kohl Added DrawCaption[16/32] and DrawCaptionTemp[16/32A/32W]. Fixed handling of WS_EX_TOOLWINDOW. * documentation/common_controls: Eric Kohl Updated. * windows/event.c, windows/keyboard.c, include/keyboard.h: David Faure Added KEYBOARD_UpdateState, to read the modifiers when the wine app is activated. Uses the new KEYBOARD_UpdateOneState. Fixed a problem with menu accelerators (Alt-letter generates a down arrow event which beeps if not filtered). Speeded up ToAscii16/32() a little bit. * debugger/break.c, debugger/db_disasm.c, debugger/dbg.y, debugger/expr.c, debugger/source.c, debugger/types.c: Ove Kaaven Made Wine's debugger work satisfactorily with DOS apps. Perhaps dereferencing work better for Win16 apps too now, but it appears the debugger core wasn't designed for segmentation. * msdos/dpmi.c: Ove Kaaven Simulates DPMI memory map by converting lower-MB segment base addresses as necessary. Implemented allocating/freeing DOS memory blocks. Added XMS hook. (DPMI remains disabled by default until someone implements the raw mode switch entry points pkunzip needs.) * msdos/int21.c: Ove Kaaven I think it's time to rethink the HFILE16_TO_HFILE32 strategy, can't keep working around flaws in it like this (now stdio was getting closed when programs close handles >=5) * msdos/xms.c, msdos/Makefile.in, msdos/int2f.c: Ove Kaaven Implemented basic XMS functions. wcb.exe (Win16 disassembler) now seems to work fine under Wine. * loader/dos/dosvm.c, loader/dos/module.c, include/dosexe.h, include/miscemu.h: Ove Kaaven Moved some system dependencies to loader/dos/dosvm.c. Implemented environmental argv[0] passing to DOS apps. Added XMS hooks. * debugger/stabs.c: Ove Kaaven Added a memset() to prevent a debugger segfault caused by uninitialized pointers in the stabs lookup tables. * graphics/ddraw.c: Marcus Meissner A few fixes. * relay32/ntdll.spec: Marcus Meissner Added RtlAllocateAndInitializeSid entry. * loader/Makefile.in, loader/elf.c, loader/module.c, loader/pe_image.c, include/config.h.in, include/module.h, include/pe_image.h, include/peexe.h, configure, configure.in: Marcus Meissner Generic dynamic dll loader using dl*() API. Includes: stdcall->cdecl mapping ability, snooping. (Tested only with glide2x.dll -> libglide2x.so) * multimedia/init.c, multimedia/time.c, include/mmsystem.h, include/multimedia.h: Marcus Meissner Added win32 enhanced functionality to timer callbacks. * win32/console.c: Marcus Meissner Added bad hacks so WriteConsoleOutput works on vt100 and PeekMessage does at least a bit of keyboard input. * relay32/snoop.c: Marcus Meissner Should display again. Sat Oct 10 15:52:46 1998 Alexandre Julliard * windows/dialog.c: Dave Pickles Implemented DS_CENTER dialog style. * misc/main.c: Pablo Saratxaga Added function to build the Windows numeric language ID from language, code, charset and dialect strings, like used by Unix LANG variable. * ole/ole2nls.c, ole/nls/README, include/winnls.h, ole/nls/*.nls: Pablo Saratxaga More NLS data. * graphics/ddraw.c: Peter Schlaile Fixed a lot of bugs in ddraw.c to make xlib support work. Runs successfully TR2Demo and Jazz Jackrabbit II Demo! * objects/gdiobj.c: Cliff Wright Added DC object type to the list of valid objects that can be deleted by DeleteObject32. Sun Oct 4 18:20:29 1998 Alexandre Julliard * ChangeLog: Starting new format changelog (older changes moved to documentation/ChangeLog.OLD).